2 # From configure.ac Revision: 43997 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.60a.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be Bourne compatible
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
27 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
28 DUALCASE
=1; export DUALCASE
# for MKS sh
32 # Avoid depending upon Character Ranges.
33 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
35 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
36 as_cr_digits
='0123456789'
37 as_cr_alnum
=$as_cr_Letters$as_cr_digits
39 # The user is always right.
40 if test "${PATH_SEPARATOR+set}" != set; then
41 echo "#! /bin/sh" >conf$$.sh
42 echo "exit 0" >>conf$$.sh
44 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
52 # Support unset when possible.
53 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
61 # We need space, tab and new line, in precisely that order. Quoting is
62 # there to prevent editors from complaining about space-tab.
63 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
64 # splitting by setting IFS to empty value.)
69 # Find who we are. Look in the path if we contain no directory separator.
71 *[\\/]* ) as_myself
=$0 ;;
72 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
76 test -z "$as_dir" && as_dir
=.
77 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
83 # We did not find ourselves, most probably we were run as `sh COMMAND'
84 # in which case we are not to be found in the path.
85 if test "x$as_myself" = x
; then
88 if test ! -f "$as_myself"; then
89 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 # Work around bugs in pre-3.0 UWIN ksh.
94 for as_var
in ENV MAIL MAILPATH
95 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
103 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
104 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
107 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
108 eval $as_var=C
; export $as_var
110 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
114 # Required to use basename.
115 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
116 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
122 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
129 # Name of the executable.
130 as_me
=`$as_basename -- "$0" ||
131 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
132 X"$0" : 'X\(//\)$' \| \
133 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135 sed '/^.*\/\([^/][^/]*\)\/*$/{
153 if test "x$CONFIG_SHELL" = x
; then
154 if (eval ":") 2>/dev
/null
; then
160 if test $as_have_required = yes && (eval ":
170 as_func_ret_success () {
173 as_func_ret_failure () {
178 if as_func_success; then
182 echo as_func_success failed.
185 if as_func_failure; then
187 echo as_func_failure succeeded.
190 if as_func_ret_success; then
194 echo as_func_ret_success failed.
197 if as_func_ret_failure; then
199 echo as_func_ret_failure succeeded.
202 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206 echo positional parameters were not saved.
209 test \$exitcode = 0) || { (exit 1); exit 1; }
214 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
215 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
216 ") 2> /dev
/null
; then
220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
227 for as_base
in sh bash ksh sh5
; do
228 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
235 for as_shell
in $as_candidate_shells $SHELL; do
236 # Try only shells that exist, to save several forks.
237 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
238 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
239 # Be Bourne compatible
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
250 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
251 DUALCASE
=1; export DUALCASE
# for MKS sh
256 CONFIG_SHELL
=$as_shell
258 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
259 # Be Bourne compatible
260 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
263 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
268 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
270 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
271 DUALCASE
=1; export DUALCASE
# for MKS sh
283 as_func_ret_success
() {
286 as_func_ret_failure
() {
291 if as_func_success
; then
295 echo as_func_success failed.
298 if as_func_failure
; then
300 echo as_func_failure succeeded.
303 if as_func_ret_success
; then
307 echo as_func_ret_success failed.
310 if as_func_ret_failure
; then
312 echo as_func_ret_failure succeeded.
315 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
319 echo positional parameters were not saved.
322 test $exitcode = 0) ||
{ (exit 1); exit 1; }
327 test "x$as_lineno_1" != "x$as_lineno_2" &&
328 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
339 if test "x$CONFIG_SHELL" != x
; then
340 for as_var
in BASH_ENV ENV
341 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
344 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348 if test $as_have_required = no
; then
349 echo This
script requires a shell
more modern than all the
350 echo shells that I found on your system. Please
install a
351 echo modern shell
, or manually run the
script under such a
352 echo shell
if you
do have one.
353 { (exit 1); exit 1; }
363 (eval "as_func_return () {
372 as_func_ret_success () {
375 as_func_ret_failure () {
380 if as_func_success; then
384 echo as_func_success failed.
387 if as_func_failure; then
389 echo as_func_failure succeeded.
392 if as_func_ret_success; then
396 echo as_func_ret_success failed.
399 if as_func_ret_failure; then
401 echo as_func_ret_failure succeeded.
404 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408 echo positional parameters were not saved.
411 test \$exitcode = 0") ||
{
412 echo No shell found that supports shell functions.
413 echo Please tell autoconf@gnu.org about your system
,
414 echo including any error possibly output before this
422 test "x$as_lineno_1" != "x$as_lineno_2" &&
423 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
425 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
426 # uniformly replaced by the line number. The first 'sed' inserts a
427 # line-number line after each line using $LINENO; the second 'sed'
428 # does the real work. The second script uses 'N' to pair each
429 # line-number line with the line containing $LINENO, and appends
430 # trailing '-' during substitution so that $LINENO is not a special
432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
433 # scripts with optimization help from Paolo Bonzini. Blame Lee
434 # E. McMahon (1931-1989) for sed's syntax. :-)
446 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 chmod +x
"$as_me.lineno" ||
451 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
452 { (exit 1); exit 1; }; }
454 # Don't try to exec as it changes $[0], causing all sort of problems
455 # (the dirname of $[0] is not the place where we might find the
456 # original and so on. Autoconf is especially sensitive to this).
458 # Exit status is that of the last command.
463 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
469 ECHO_C
= ECHO_N
= ECHO_T
=
473 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
480 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
481 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
487 rm -f conf$$ conf$$.exe conf$$.
file
488 if test -d conf$$.dir
; then
489 rm -f conf$$.dir
/conf$$.
file
495 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
497 # ... but there are two gotchas:
498 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500 # In both cases, we have to default to `cp -p'.
501 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
503 elif ln conf$$.
file conf$$
2>/dev
/null
; then
508 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
509 rmdir conf$$.dir
2>/dev
/null
511 if mkdir
-p .
2>/dev
/null
; then
514 test -d .
/-p && rmdir .
/-p
518 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
519 # systems may use methods other than mode bits to determine executability.
520 cat >conf$$.
file <<_ASEOF
525 if test -x conf$$.
file >/dev
/null
2>&1; then
526 as_executable_p
="test -x"
532 # Sed expression to map a string onto a valid CPP name.
533 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
535 # Sed expression to map a string onto a valid variable name.
536 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 exec 7<&0 </dev
/null
6>&1
543 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
544 # so uname gets run too.
545 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
550 ac_default_prefix
=/usr
/local
552 ac_config_libobj_dir
=.
558 SHELL
=${CONFIG_SHELL-/bin/sh}
560 # Identity of this package.
567 ac_unique_file
="asterisk"
568 ac_unique_file
="main/asterisk.c"
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
614 program_transform_name
834 ac_precious_vars
='build_alias
848 # Initialize some variables set by options.
850 ac_init_version
=false
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
952 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
953 { (exit 1); exit 1; }; }
954 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
955 eval enable_
$ac_feature=no
;;
957 -docdir |
--docdir |
--docdi |
--doc |
--do)
959 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
962 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
964 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
967 -enable-* |
--enable-*)
968 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
971 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
972 { (exit 1); exit 1; }; }
973 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
974 eval enable_
$ac_feature=\
$ac_optarg ;;
976 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
977 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
978 |
--exec |
--exe |
--ex)
979 ac_prev
=exec_prefix
;;
980 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
981 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
982 |
--exec=* |
--exe=* |
--ex=*)
983 exec_prefix
=$ac_optarg ;;
985 -gas |
--gas |
--ga |
--g)
986 # Obsolete; use --with-gas.
989 -help |
--help |
--hel |
--he |
-h)
991 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
992 ac_init_help
=recursive
;;
993 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
994 ac_init_help
=short
;;
996 -host |
--host |
--hos |
--ho)
997 ac_prev
=host_alias
;;
998 -host=* |
--host=* |
--hos=* |
--ho=*)
999 host_alias
=$ac_optarg ;;
1001 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1003 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1005 htmldir
=$ac_optarg ;;
1007 -includedir |
--includedir |
--includedi |
--included |
--include \
1008 |
--includ |
--inclu |
--incl |
--inc)
1009 ac_prev
=includedir
;;
1010 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1011 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1012 includedir
=$ac_optarg ;;
1014 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1016 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1017 infodir
=$ac_optarg ;;
1019 -libdir |
--libdir |
--libdi |
--libd)
1021 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1022 libdir
=$ac_optarg ;;
1024 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1025 |
--libexe |
--libex |
--libe)
1026 ac_prev
=libexecdir
;;
1027 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1028 |
--libexe=* |
--libex=* |
--libe=*)
1029 libexecdir
=$ac_optarg ;;
1031 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1032 ac_prev
=localedir
;;
1033 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1034 localedir
=$ac_optarg ;;
1036 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1037 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1038 ac_prev
=localstatedir
;;
1039 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1040 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1041 localstatedir
=$ac_optarg ;;
1043 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1045 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1046 mandir
=$ac_optarg ;;
1048 -nfp |
--nfp |
--nf)
1049 # Obsolete; use --without-fp.
1052 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1053 |
--no-cr |
--no-c |
-n)
1056 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1057 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1060 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1061 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1062 |
--oldin |
--oldi |
--old |
--ol |
--o)
1063 ac_prev
=oldincludedir
;;
1064 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1065 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1066 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1067 oldincludedir
=$ac_optarg ;;
1069 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1071 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1072 prefix
=$ac_optarg ;;
1074 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1075 |
--program-pre |
--program-pr |
--program-p)
1076 ac_prev
=program_prefix
;;
1077 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1078 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1079 program_prefix
=$ac_optarg ;;
1081 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1082 |
--program-suf |
--program-su |
--program-s)
1083 ac_prev
=program_suffix
;;
1084 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1085 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1086 program_suffix
=$ac_optarg ;;
1088 -program-transform-name |
--program-transform-name \
1089 |
--program-transform-nam |
--program-transform-na \
1090 |
--program-transform-n |
--program-transform- \
1091 |
--program-transform |
--program-transfor \
1092 |
--program-transfo |
--program-transf \
1093 |
--program-trans |
--program-tran \
1094 |
--progr-tra |
--program-tr |
--program-t)
1095 ac_prev
=program_transform_name
;;
1096 -program-transform-name=* |
--program-transform-name=* \
1097 |
--program-transform-nam=* |
--program-transform-na=* \
1098 |
--program-transform-n=* |
--program-transform-=* \
1099 |
--program-transform=* |
--program-transfor=* \
1100 |
--program-transfo=* |
--program-transf=* \
1101 |
--program-trans=* |
--program-tran=* \
1102 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1103 program_transform_name
=$ac_optarg ;;
1105 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1107 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1108 pdfdir
=$ac_optarg ;;
1110 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1112 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1115 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1116 |
-silent |
--silent |
--silen |
--sile |
--sil)
1119 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1121 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1123 sbindir
=$ac_optarg ;;
1125 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1126 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1127 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1129 ac_prev
=sharedstatedir
;;
1130 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1131 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1132 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1134 sharedstatedir
=$ac_optarg ;;
1136 -site |
--site |
--sit)
1138 -site=* |
--site=* |
--sit=*)
1141 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1143 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1144 srcdir
=$ac_optarg ;;
1146 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1147 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1148 ac_prev
=sysconfdir
;;
1149 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1150 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1151 sysconfdir
=$ac_optarg ;;
1153 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1154 ac_prev
=target_alias
;;
1155 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1156 target_alias
=$ac_optarg ;;
1158 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1161 -version |
--version |
--versio |
--versi |
--vers |
-V)
1162 ac_init_version
=: ;;
1165 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1168 { echo "$as_me: error: invalid package name: $ac_package" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1171 eval with_
$ac_package=\
$ac_optarg ;;
1173 -without-* |
--without-*)
1174 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1177 { echo "$as_me: error: invalid package name: $ac_package" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1180 eval with_
$ac_package=no
;;
1183 # Obsolete; use --with-x.
1186 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1187 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1188 ac_prev
=x_includes
;;
1189 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1190 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1191 x_includes
=$ac_optarg ;;
1193 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1194 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1195 ac_prev
=x_libraries
;;
1196 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1197 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1198 x_libraries
=$ac_optarg ;;
1200 -*) { echo "$as_me: error: unrecognized option: $ac_option
1201 Try \`$0 --help' for more information." >&2
1202 { (exit 1); exit 1; }; }
1206 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1209 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1210 { (exit 1); exit 1; }; }
1211 eval $ac_envvar=\
$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1225 if test -n "$ac_prev"; then
1226 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1227 { echo "$as_me: error: missing argument to $ac_option" >&2
1228 { (exit 1); exit 1; }; }
1231 # Be sure to have absolute directory names.
1232 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val
=\$
$ac_var
1239 [\\/$
]* | ?
:[\\/]* ) continue;;
1240 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1242 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1243 { (exit 1); exit 1; }; }
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1251 target
=$target_alias
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x
; then
1255 if test "x$build_alias" = x
; then
1256 cross_compiling
=maybe
1257 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1258 If a cross compiler is detected then cross compile mode will be used." >&2
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1267 test "$silent" = yes && exec 6>/dev
/null
1270 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di
=`ls -di .` &&
1272 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1273 { echo "$as_me: error: Working directory cannot be determined" >&2
1274 { (exit 1); exit 1; }; }
1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276 { echo "$as_me: error: pwd does not report name of working directory" >&2
1277 { (exit 1); exit 1; }; }
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282 ac_srcdir_defaulted
=yes
1283 # Try the directory containing this script, then the parent directory.
1284 ac_confdir
=`$as_dirname -- "$0" ||
1285 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286 X"$0" : 'X\(//\)[^/]' \| \
1287 X"$0" : 'X\(//\)$' \| \
1288 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1312 ac_srcdir_defaulted
=no
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1316 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1317 { (exit 1); exit 1; }; }
1319 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1322 { (exit 1); exit 1; }; }
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var
in $ac_precious_vars; do
1335 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1337 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures this package to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1397 --htmldir=DIR html documentation [DOCDIR]
1398 --dvidir=DIR dvi documentation [DOCDIR]
1399 --pdfdir=DIR pdf documentation [DOCDIR]
1400 --psdir=DIR ps documentation [DOCDIR]
1406 --build=BUILD configure
for building on BUILD
[guessed
]
1407 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1411 if test -n "$ac_init_help"; then
1416 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1417 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1418 --enable-dev-mode Turn on developer mode
1419 --disable-largefile omit support
for large files
1422 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1423 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1424 --with-asound=PATH use Advanced Linux Sound Architecture files
in PATH
1425 --with-curl=PATH use cURL files
in PATH
1426 --with-curses=PATH use curses files
in PATH
1427 --with-gnutls=PATH use GNU TLS support
(used
for iksemel only
) files
in
1429 --with-gsm=PATH use GSM files
in PATH
, or
'internal'
1430 --with-iksemel=PATH use Iksemel Jabber Library files
in PATH
1431 --with-imap=PATH use UW IMAP Toolkit files
in PATH
1432 --with-isdnnet=PATH use ISDN4Linux Library files
in PATH
1433 --with-kde=PATH use KDE files
in PATH
1434 --with-misdn=PATH use mISDN User Library files
in PATH
1435 --with-nbs=PATH use Network Broadcast Sound files
in PATH
1436 --with-ncurses=PATH use ncurses files
in PATH
1437 --with-netsnmp=PATH use Net-SNMP files
in PATH
1438 --with-newt=PATH use newt files
in PATH
1439 --with-odbc=PATH use unixODBC files
in PATH
1440 --with-ogg=PATH use OGG files
in PATH
1441 --with-osptk=PATH use OSP Toolkit files
in PATH
1442 --with-oss=PATH use Open Sound System files
in PATH
1443 --with-popt=PATH use popt files
in PATH
1444 --with-postgres=PATH use PostgreSQL files
in PATH
1445 --with-pri=PATH use ISDN PRI files
in PATH
1446 --with-pwlib=PATH use PWlib files
in PATH
1447 --with-h323=PATH use OpenH323 files
in PATH
1448 --with-qt=PATH use Qt files
in PATH
1449 --with-radius=PATH use Radius Client files
in PATH
1450 --with-speex=PATH use Speex files
in PATH
1451 --with-sqlite=PATH use SQLite files
in PATH
1452 --with-suppserv=PATH use mISDN Supplemental Services files
in PATH
1453 --with-ssl=PATH use OpenSSL files
in PATH
1454 --with-tds=PATH use FreeTDS files
in PATH
1455 --with-termcap=PATH use Termcap files
in PATH
1456 --with-tinfo=PATH use Term Info files
in PATH
1457 --with-tonezone=PATH use tonezone files
in PATH
1458 --with-vorbis=PATH use Vorbis files
in PATH
1459 --with-vpb=PATH use Voicetronix API files
in PATH
1460 --with-z=PATH use zlib files
in PATH
1461 --with-zaptel=PATH use Zaptel files
in PATH
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1469 you have headers
in a nonstandard directory
<include dir
>
1470 CXX C
++ compiler
command
1471 CXXFLAGS C
++ compiler flags
1473 CXXCPP C
++ preprocessor
1475 Use these variables to override the choices made by
`configure' or to help
1476 it to find libraries and programs with nonstandard names/locations.
1482 if test "$ac_init_help" = "recursive"; then
1483 # If there are subdirs, report their specific --help.
1484 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1485 test -d "$ac_dir" || continue
1489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1499 ac_abs_top_builddir=$ac_pwd
1500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir=$ac_top_build_prefix
1505 .) # We are building in place.
1507 ac_top_srcdir=$ac_top_builddir_sub
1508 ac_abs_top_srcdir=$ac_pwd ;;
1509 [\\/]* | ?:[\\/]* ) # Absolute name.
1510 ac_srcdir=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir=$srcdir
1512 ac_abs_top_srcdir=$srcdir ;;
1514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1520 cd "$ac_dir" || { ac_status=$?; continue; }
1521 # Check for guested configure.
1522 if test -f "$ac_srcdir/configure.gnu"; then
1524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 elif test -f "$ac_srcdir/configure"; then
1527 $SHELL "$ac_srcdir/configure" --help=recursive
1529 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 cd "$ac_pwd" || { ac_status=$?; break; }
1535 test -n "$ac_init_help" && exit $ac_status
1536 if $ac_init_version; then
1539 generated by GNU Autoconf 2.60a
1541 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1542 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1543 This configure script is free software; the Free Software Foundation
1544 gives unlimited permission to copy, distribute and modify it.
1550 cat >config.log <<_ACEOF
1551 This file contains any messages produced by compilers while
1552 running configure, to aid debugging if configure makes a mistake.
1554 It was created by $as_me, which was
1555 generated by GNU Autoconf 2.60a. Invocation command line was
1567 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1568 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1569 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1570 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1571 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1573 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1574 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1576 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1577 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1578 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1579 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1580 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1581 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1582 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 echo "PATH: $as_dir"
1607 # Keep a trace of the command line.
1608 # Strip out --no-create and --no-recursion so they do not pile up.
1609 # Strip out --silent because we don't want to record it for future runs.
1610 # Also quote any args containing shell meta-characters.
1611 # Make two passes to allow for proper duplicate-argument suppression.
1615 ac_must_keep_next=false
1621 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1622 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1623 | -silent | --silent | --silen | --sile | --sil)
1626 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1629 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1631 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1632 if test $ac_must_keep_next = true; then
1633 ac_must_keep_next=false # Got value, back to normal.
1636 *=* | --config-cache | -C | -disable-* | --disable-* \
1637 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1638 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1639 | -with-* | --with-* | -without-* | --without-* | --x)
1640 case "$ac_configure_args0 " in
1641 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1644 -* ) ac_must_keep_next=true ;;
1647 ac_configure_args="$ac_configure_args '$ac_arg'"
1652 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1653 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1655 # When interrupted or exit'd, cleanup temporary files, and complete
1656 # config.log. We remove comments because anyway the quotes in there
1657 # would cause problems or look ugly.
1658 # WARNING: Use '\'' to represent an apostrophe within the trap.
1659 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1660 trap 'exit_status=$?
1661 # Save into config.log some information that might help in debugging.
1666 ## ---------------- ##
1667 ## Cache variables. ##
1668 ## ---------------- ##
1671 # The following way of writing the cache mishandles newlines in values,
1673 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1674 eval ac_val=\$$ac_var
1678 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1679 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1682 _ | IFS | as_nl) ;; #(
1683 *) $as_unset $ac_var ;;
1688 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1689 *${as_nl}ac_space=\ *)
1691 "s/'\''/'\''\\\\'\'''\''/g;
1692 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1695 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1703 ## ----------------- ##
1704 ## Output variables. ##
1705 ## ----------------- ##
1708 for ac_var in $ac_subst_vars
1710 eval ac_val=\$$ac_var
1712 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1714 echo "$ac_var='\''$ac_val'\''"
1718 if test -n "$ac_subst_files"; then
1720 ## ------------------- ##
1721 ## File substitutions. ##
1722 ## ------------------- ##
1725 for ac_var in $ac_subst_files
1727 eval ac_val=\$$ac_var
1729 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1731 echo "$ac_var='\''$ac_val'\''"
1736 if test -s confdefs.h; then
1746 test "$ac_signal" != 0 &&
1747 echo "$as_me: caught signal $ac_signal"
1748 echo "$as_me: exit $exit_status"
1750 rm -f core *.core core.conftest.* &&
1751 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1754 for ac_signal in 1 2 13 15; do
1755 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1759 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1760 rm -f -r conftest* confdefs.h
1762 # Predefined preprocessor variables.
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_NAME "$PACKAGE_NAME"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1779 cat >>confdefs.h <<_ACEOF
1780 #define PACKAGE_STRING "$PACKAGE_STRING"
1784 cat >>confdefs.h <<_ACEOF
1785 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1789 # Let the site file select an alternate cache file if it wants to.
1790 # Prefer explicitly selected file to automatically selected ones.
1791 if test -n "$CONFIG_SITE"; then
1792 set x "$CONFIG_SITE"
1793 elif test "x$prefix" != xNONE; then
1794 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1796 set x "$ac_default_prefix/share/config.site" \
1797 "$ac_default_prefix/etc/config.site"
1802 if test -r "$ac_site_file"; then
1803 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1804 echo "$as_me: loading site script $ac_site_file" >&6;}
1805 sed 's/^/| /' "$ac_site_file" >&5
1810 if test -r "$cache_file"; then
1811 # Some versions of bash will fail to source /dev/null (special
1812 # files actually), so we avoid doing that.
1813 if test -f "$cache_file"; then
1814 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1815 echo "$as_me: loading cache $cache_file" >&6;}
1817 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1818 *) . "./$cache_file";;
1822 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1823 echo "$as_me: creating cache $cache_file" >&6;}
1827 # Check that the precious variables saved in the cache have kept the same
1829 ac_cache_corrupted=false
1830 for ac_var in $ac_precious_vars; do
1831 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1832 eval ac_new_set=\$ac_env_${ac_var}_set
1833 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1834 eval ac_new_val=\$ac_env_${ac_var}_value
1835 case $ac_old_set,$ac_new_set in
1837 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1838 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1839 ac_cache_corrupted=: ;;
1841 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1842 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1843 ac_cache_corrupted=: ;;
1846 if test "x$ac_old_val" != "x$ac_new_val"; then
1847 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1848 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1849 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1850 echo "$as_me: former value
: $ac_old_val" >&2;}
1851 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1852 echo "$as_me: current value
: $ac_new_val" >&2;}
1853 ac_cache_corrupted=:
1856 # Pass precious variables to config.status.
1857 if test "$ac_new_set" = set; then
1859 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1860 *) ac_arg=$ac_var=$ac_new_val ;;
1862 case " $ac_configure_args " in
1863 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1864 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1868 if $ac_cache_corrupted; then
1869 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1870 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1871 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1872 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1873 { (exit 1); exit 1; }; }
1893 ac_cpp='$CPP $CPPFLAGS'
1894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1900 # cross-compile macros
1902 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1903 if test -f "$ac_dir/install-sh"; then
1905 ac_install_sh="$ac_aux_dir/install-sh -c"
1907 elif test -f "$ac_dir/install.sh"; then
1909 ac_install_sh="$ac_aux_dir/install.sh -c"
1911 elif test -f "$ac_dir/shtool"; then
1913 ac_install_sh="$ac_aux_dir/shtool install -c"
1917 if test -z "$ac_aux_dir"; then
1918 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1919 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1920 { (exit 1); exit 1; }; }
1923 # These three variables are undocumented and unsupported,
1924 # and are intended to be withdrawn in a future Autoconf release.
1925 # They can cause serious problems if a builder's source tree is in a directory
1926 # whose full name contains unusual characters.
1927 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1928 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1929 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1932 # Make sure we can run config.sub.
1933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1934 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1935 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1936 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: checking build system type" >&5
1939 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1940 if test "${ac_cv_build+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 ac_build_alias=$build_alias
1944 test "x$ac_build_alias" = x &&
1945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1946 test "x$ac_build_alias" = x &&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1951 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1952 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1953 { (exit 1); exit 1; }; }
1956 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1957 echo "${ECHO_T}$ac_cv_build" >&6; }
1958 case $ac_cv_build in
1960 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1961 echo "$as_me: error: invalid value of canonical build" >&2;}
1962 { (exit 1); exit 1; }; };;
1965 ac_save_IFS=$IFS; IFS='-'
1971 # Remember, the first character of IFS is used to create $*,
1972 # except with old shells:
1975 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1978 { echo "$as_me:$LINENO: checking host system type" >&5
1979 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_host+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test "x$host_alias" = x; then
1984 ac_cv_host=$ac_cv_build
1986 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1987 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1988 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1989 { (exit 1); exit 1; }; }
1993 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1994 echo "${ECHO_T}$ac_cv_host" >&6; }
1997 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1998 echo "$as_me: error: invalid value of canonical host" >&2;}
1999 { (exit 1); exit 1; }; };;
2002 ac_save_IFS=$IFS; IFS='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2016 # check existence of the package
2019 # specify output header file
2020 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2026 case "${host_os}" in
2028 ac_default_prefix=/usr/local
2031 ac_default_prefix=/usr
2032 if test ${sysconfdir} = '${prefix}/etc'; then
2035 if test ${mandir} = '${prefix}/man'; then
2036 mandir=/usr/share/man
2041 if test ${localstatedir} = '${prefix}/var'; then
2045 BUILD_PLATFORM=${build}
2046 BUILD_CPU=${build_cpu}
2047 BUILD_VENDOR=${build_vendor}
2048 BUILD_OS=${build_os}
2055 HOST_PLATFORM=${host}
2056 HOST_CPU=${host_cpu}
2057 HOST_VENDOR=${host_vendor}
2065 case "${host_os}" in
2086 if test -n "$ac_tool_prefix"; then
2087 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
2088 set dummy ${ac_tool_prefix}uname; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_path_UNAME+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2106 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 UNAME=$ac_cv_path_UNAME
2118 if test -n "$UNAME"; then
2119 { echo "$as_me:$LINENO: result: $UNAME" >&5
2120 echo "${ECHO_T}$UNAME" >&6; }
2122 { echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6; }
2128 if test -z "$ac_cv_path_UNAME"; then
2130 # Extract the first word of "uname", so it can be a program name with args.
2131 set dummy uname; ac_word=$2
2132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2134 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 case $ac_pt_UNAME in
2139 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2149 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
2161 if test -n "$ac_pt_UNAME"; then
2162 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
2163 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
2165 { echo "$as_me:$LINENO: result: no" >&5
2166 echo "${ECHO_T}no" >&6; }
2169 if test "x$ac_pt_UNAME" = x; then
2172 case $cross_compiling:$ac_tool_warned in
2174 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2175 whose name does not start with the host triplet. If you think this
2176 configuration is useful to you, please write to autoconf@gnu.org." >&5
2177 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2178 whose name does not start with the host triplet. If you think this
2179 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2180 ac_tool_warned=yes ;;
2185 UNAME="$ac_cv_path_UNAME"
2188 if test ! x"${UNAME}" = xNo; then
2189 PBX_OSREV=$(${UNAME} -r)
2193 # This needs to be before any macros that use the C compiler
2195 cat >>confdefs.h <<\_ACEOF
2196 #define _GNU_SOURCE 1
2207 # cross-compile checks
2208 if test "${cross_compiling}" = "yes";
2210 if test -n "$ac_tool_prefix"; then
2211 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2212 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2215 if test "${ac_cv_prog_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$CC"; then
2219 ac_cv_prog_CC="$CC" # Let the user override the test.
2221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir=.
2226 for ac_exec_ext in '' $ac_executable_extensions; do
2227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2228 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2239 if test -n "$CC"; then
2240 { echo "$as_me:$LINENO: result: $CC" >&5
2241 echo "${ECHO_T}$CC" >&6; }
2243 { echo "$as_me:$LINENO: result: no" >&5
2244 echo "${ECHO_T}no" >&6; }
2249 if test -z "$ac_cv_prog_CC"; then
2251 # Extract the first word of "gcc", so it can be a program name with args.
2252 set dummy gcc; ac_word=$2
2253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2255 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$ac_ct_CC"; then
2259 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2268 ac_cv_prog_ac_ct_CC="gcc"
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2279 if test -n "$ac_ct_CC"; then
2280 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2281 echo "${ECHO_T}$ac_ct_CC" >&6; }
2283 { echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6; }
2287 if test "x$ac_ct_CC" = x; then
2290 case $cross_compiling:$ac_tool_warned in
2292 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2293 whose name does not start with the host triplet. If you think this
2294 configuration is useful to you, please write to autoconf@gnu.org." >&5
2295 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2296 whose name does not start with the host triplet. If you think this
2297 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2298 ac_tool_warned=yes ;;
2306 if test -n "$ac_tool_prefix"; then
2307 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
2308 set dummy ${ac_tool_prefix}g++; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_CXX+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$CXX"; then
2315 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_CXX="${ac_tool_prefix}g++"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 if test -n "$CXX"; then
2336 { echo "$as_me:$LINENO: result: $CXX" >&5
2337 echo "${ECHO_T}$CXX" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2345 if test -z "$ac_cv_prog_CXX"; then
2347 # Extract the first word of "g++", so it can be a program name with args.
2348 set dummy g++; ac_word=$2
2349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2351 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 if test -n "$ac_ct_CXX"; then
2355 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2361 test -z "$as_dir" && as_dir=.
2362 for ac_exec_ext in '' $ac_executable_extensions; do
2363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2364 ac_cv_prog_ac_ct_CXX="g++"
2365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2374 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2375 if test -n "$ac_ct_CXX"; then
2376 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2377 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2379 { echo "$as_me:$LINENO: result: no" >&5
2380 echo "${ECHO_T}no" >&6; }
2383 if test "x$ac_ct_CXX" = x; then
2386 case $cross_compiling:$ac_tool_warned in
2388 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&5
2391 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2392 whose name does not start with the host triplet. If you think this
2393 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2394 ac_tool_warned=yes ;;
2399 CXX="$ac_cv_prog_CXX"
2402 if test -n "$ac_tool_prefix"; then
2403 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2404 set dummy ${ac_tool_prefix}ld; ac_word=$2
2405 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2407 if test "${ac_cv_prog_LD+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 if test -n "$LD"; then
2411 ac_cv_prog_LD="$LD" # Let the user override the test.
2413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 test -z "$as_dir" && as_dir=.
2418 for ac_exec_ext in '' $ac_executable_extensions; do
2419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2420 ac_cv_prog_LD="${ac_tool_prefix}ld"
2421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 if test -n "$LD"; then
2432 { echo "$as_me:$LINENO: result: $LD" >&5
2433 echo "${ECHO_T}$LD" >&6; }
2435 { echo "$as_me:$LINENO: result: no" >&5
2436 echo "${ECHO_T}no" >&6; }
2441 if test -z "$ac_cv_prog_LD"; then
2443 # Extract the first word of "ld", so it can be a program name with args.
2444 set dummy ld; ac_word=$2
2445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2447 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2448 echo $ECHO_N "(cached) $ECHO_C" >&6
2450 if test -n "$ac_ct_LD"; then
2451 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2460 ac_cv_prog_ac_ct_LD="ld"
2461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2470 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2471 if test -n "$ac_ct_LD"; then
2472 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2473 echo "${ECHO_T}$ac_ct_LD" >&6; }
2475 { echo "$as_me:$LINENO: result: no" >&5
2476 echo "${ECHO_T}no" >&6; }
2479 if test "x$ac_ct_LD" = x; then
2482 case $cross_compiling:$ac_tool_warned in
2484 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2485 whose name does not start with the host triplet. If you think this
2486 configuration is useful to you, please write to autoconf@gnu.org." >&5
2487 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2488 whose name does not start with the host triplet. If you think this
2489 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2490 ac_tool_warned=yes ;;
2498 if test -n "$ac_tool_prefix"; then
2499 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2500 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2503 if test "${ac_cv_prog_RANLIB+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 if test -n "$RANLIB"; then
2507 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 RANLIB=$ac_cv_prog_RANLIB
2527 if test -n "$RANLIB"; then
2528 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2529 echo "${ECHO_T}$RANLIB" >&6; }
2531 { echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6; }
2537 if test -z "$ac_cv_prog_RANLIB"; then
2538 ac_ct_RANLIB=$RANLIB
2539 # Extract the first word of "ranlib", so it can be a program name with args.
2540 set dummy ranlib; ac_word=$2
2541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 if test -n "$ac_ct_RANLIB"; then
2547 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_ac_ct_RANLIB="ranlib"
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2567 if test -n "$ac_ct_RANLIB"; then
2568 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2569 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2571 { echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6; }
2575 if test "x$ac_ct_RANLIB" = x; then
2578 case $cross_compiling:$ac_tool_warned in
2580 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2581 whose name does not start with the host triplet. If you think this
2582 configuration is useful to you, please write to autoconf@gnu.org." >&5
2583 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2584 whose name does not start with the host triplet. If you think this
2585 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2586 ac_tool_warned=yes ;;
2588 RANLIB=$ac_ct_RANLIB
2591 RANLIB="$ac_cv_prog_RANLIB"
2594 if test -n "$ac_tool_prefix"; then
2595 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2596 set dummy ${ac_tool_prefix}ar; ac_word=$2
2597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2599 if test "${ac_cv_prog_AR+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$AR"; then
2603 ac_cv_prog_AR="$AR" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_AR="${ac_tool_prefix}ar"
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2623 if test -n "$AR"; then
2624 { echo "$as_me:$LINENO: result: $AR" >&5
2625 echo "${ECHO_T}$AR" >&6; }
2627 { echo "$as_me:$LINENO: result: no" >&5
2628 echo "${ECHO_T}no" >&6; }
2633 if test -z "$ac_cv_prog_AR"; then
2635 # Extract the first word of "ar", so it can be a program name with args.
2636 set dummy ar; ac_word=$2
2637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2639 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2640 echo $ECHO_N "(cached) $ECHO_C" >&6
2642 if test -n "$ac_ct_AR"; then
2643 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 for ac_exec_ext in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_ac_ct_AR="ar"
2653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2663 if test -n "$ac_ct_AR"; then
2664 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2665 echo "${ECHO_T}$ac_ct_AR" >&6; }
2667 { echo "$as_me:$LINENO: result: no" >&5
2668 echo "${ECHO_T}no" >&6; }
2671 if test "x$ac_ct_AR" = x; then
2674 case $cross_compiling:$ac_tool_warned in
2676 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2677 whose name does not start with the host triplet. If you think this
2678 configuration is useful to you, please write to autoconf@gnu.org." >&5
2679 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2680 whose name does not start with the host triplet. If you think this
2681 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2682 ac_tool_warned=yes ;;
2692 # Checks for programs.
2694 ac_cpp='$CPP $CPPFLAGS'
2695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2698 if test -n "$ac_tool_prefix"; then
2699 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2700 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2703 if test "${ac_cv_prog_CC+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 if test -n "$CC"; then
2707 ac_cv_prog_CC="$CC" # Let the user override the test.
2709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713 test -z "$as_dir" && as_dir=.
2714 for ac_exec_ext in '' $ac_executable_extensions; do
2715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2716 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 if test -n "$CC"; then
2728 { echo "$as_me:$LINENO: result: $CC" >&5
2729 echo "${ECHO_T}$CC" >&6; }
2731 { echo "$as_me:$LINENO: result: no" >&5
2732 echo "${ECHO_T}no" >&6; }
2737 if test -z "$ac_cv_prog_CC"; then
2739 # Extract the first word of "gcc", so it can be a program name with args.
2740 set dummy gcc; ac_word=$2
2741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2743 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2746 if test -n "$ac_ct_CC"; then
2747 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_ac_ct_CC="gcc"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2767 if test -n "$ac_ct_CC"; then
2768 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2769 echo "${ECHO_T}$ac_ct_CC" >&6; }
2771 { echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6; }
2775 if test "x$ac_ct_CC" = x; then
2778 case $cross_compiling:$ac_tool_warned in
2780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2781 whose name does not start with the host triplet. If you think this
2782 configuration is useful to you, please write to autoconf@gnu.org." >&5
2783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2784 whose name does not start with the host triplet. If you think this
2785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2786 ac_tool_warned=yes ;;
2794 if test -z "$CC"; then
2795 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2797 set dummy ${ac_tool_prefix}cc; ac_word=$2
2798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2800 if test "${ac_cv_prog_CC+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 if test -n "$CC"; then
2804 ac_cv_prog_CC="$CC" # Let the user override the test.
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2813 ac_cv_prog_CC="${ac_tool_prefix}cc"
2814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2824 if test -n "$CC"; then
2825 { echo "$as_me:$LINENO: result: $CC" >&5
2826 echo "${ECHO_T}$CC" >&6; }
2828 { echo "$as_me:$LINENO: result: no" >&5
2829 echo "${ECHO_T}no" >&6; }
2835 if test -z "$CC"; then
2836 # Extract the first word of "cc", so it can be a program name with args.
2837 set dummy cc; ac_word=$2
2838 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2840 if test "${ac_cv_prog_CC+set}" = set; then
2841 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 if test -n "$CC"; then
2844 ac_cv_prog_CC="$CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2854 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2855 ac_prog_rejected=yes
2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 if test $ac_prog_rejected = yes; then
2867 # We found a bogon in the path, so make sure we never use it.
2868 set dummy $ac_cv_prog_CC
2870 if test $# != 0; then
2871 # We chose a different compiler from the bogus one.
2872 # However, it has the same basename, so the bogon will be chosen
2873 # first if we set CC to just the basename; use the full file name.
2875 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2881 if test -n "$CC"; then
2882 { echo "$as_me:$LINENO: result: $CC" >&5
2883 echo "${ECHO_T}$CC" >&6; }
2885 { echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6; }
2891 if test -z "$CC"; then
2892 if test -n "$ac_tool_prefix"; then
2893 for ac_prog in cl.exe
2895 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2896 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2899 if test "${ac_cv_prog_CC+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -n "$CC"; then
2903 ac_cv_prog_CC="$CC" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2912 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 if test -n "$CC"; then
2924 { echo "$as_me:$LINENO: result: $CC" >&5
2925 echo "${ECHO_T}$CC" >&6; }
2927 { echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6; }
2932 test -n "$CC" && break
2935 if test -z "$CC"; then
2937 for ac_prog in cl.exe
2939 # Extract the first word of "$ac_prog", so it can be a program name with args.
2940 set dummy $ac_prog; ac_word=$2
2941 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2942 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2943 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 if test -n "$ac_ct_CC"; then
2947 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2953 test -z "$as_dir" && as_dir=.
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2956 ac_cv_prog_ac_ct_CC="$ac_prog"
2957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2967 if test -n "$ac_ct_CC"; then
2968 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2969 echo "${ECHO_T}$ac_ct_CC" >&6; }
2971 { echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6; }
2976 test -n "$ac_ct_CC" && break
2979 if test "x$ac_ct_CC" = x; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2985 whose name does not start with the host triplet. If you think this
2986 configuration is useful to you, please write to autoconf@gnu.org." >&5
2987 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2988 whose name does not start with the host triplet. If you think this
2989 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2990 ac_tool_warned=yes ;;
2999 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3000 See \`config.log
' for more details." >&5
3001 echo "$as_me: error: no acceptable C compiler found in \$PATH
3002 See \`config.log' for more details.
" >&2;}
3003 { (exit 1); exit 1; }; }
3005 # Provide some information about the compiler.
3006 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
3007 ac_compiler=`set X $ac_compile; echo $2`
3008 { (ac_try="$ac_compiler --version >&5"
3010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011 *) ac_try_echo=$ac_try;;
3013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3014 (eval "$ac_compiler --version >&5") 2>&5
3016 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3017 (exit $ac_status); }
3018 { (ac_try="$ac_compiler -v >&5"
3020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3021 *) ac_try_echo=$ac_try;;
3023 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3024 (eval "$ac_compiler -v >&5") 2>&5
3026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3027 (exit $ac_status); }
3028 { (ac_try="$ac_compiler -V >&5"
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3034 (eval "$ac_compiler -V >&5") 2>&5
3036 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3037 (exit $ac_status); }
3039 cat >conftest.$ac_ext <<_ACEOF
3042 cat confdefs.h >>conftest.$ac_ext
3043 cat >>conftest.$ac_ext <<_ACEOF
3044 /* end confdefs.h. */
3054 ac_clean_files_save=$ac_clean_files
3055 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
3056 # Try to create an executable without -o first, disregard a.out.
3057 # It will help us diagnose broken compilers, and finding out an intuition
3059 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
3060 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
3061 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3063 # List of possible output files, starting from the most likely.
3064 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3065 # only as a last resort. b.out is created by i960 compilers.
3066 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3068 # The IRIX 6 linker writes into existing files which may not be
3069 # executable, retaining their permissions. Remove them first so a
3070 # subsequent execution test works.
3072 for ac_file in $ac_files
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3081 if { (ac_try="$ac_link_default"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3087 (eval "$ac_link_default") 2>&5
3089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3090 (exit $ac_status); }; then
3091 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3092 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3093 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3094 # so that the user can short-circuit this test for compilers unknown to
3096 for ac_file in $ac_files ''
3098 test -f "$ac_file" || continue
3100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3103 # We found the default executable, but exeext='' is most
3107 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3109 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3111 # We set ac_cv_exeext here because the later test for it is not
3112 # safe: cross compilers may not add the suffix if given an `-o'
3113 # argument, so we may need to know it at that point already.
3114 # Even if this section looks crufty: it has the advantage of
3121 test "$ac_cv_exeext" = no && ac_cv_exeext=
3127 { echo "$as_me:$LINENO: result
: $ac_file" >&5
3128 echo "${ECHO_T}$ac_file" >&6; }
3129 if test -z "$ac_file"; then
3130 echo "$as_me: failed program was
:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
3134 See \
`config.log' for more details." >&5
3135 echo "$as_me: error: C compiler cannot create executables
3136 See \`config.log
' for more details." >&2;}
3137 { (exit 77); exit 77; }; }
3140 ac_exeext=$ac_cv_exeext
3142 # Check that the compiler produces executables we can run. If not, either
3143 # the compiler is broken, or we cross compile.
3144 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3145 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3146 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3147 # If not cross compiling, check that we can run a simple program.
3148 if test "$cross_compiling" != yes; then
3149 if { ac_try='.
/$ac_file'
3150 { (case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3155 (eval "$ac_try") 2>&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3161 if test "$cross_compiling" = maybe; then
3164 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3165 If you meant to cross compile, use \`--host'.
3166 See \
`config.log' for more details." >&5
3167 echo "$as_me: error: cannot run C compiled programs.
3168 If you meant to cross compile, use \`--host'.
3169 See \`config.log' for more details.
" >&2;}
3170 { (exit 1); exit 1; }; }
3174 { echo "$as_me:$LINENO: result
: yes" >&5
3175 echo "${ECHO_T}yes" >&6; }
3177 rm -f a.out a.exe conftest$ac_cv_exeext b.out
3178 ac_clean_files=$ac_clean_files_save
3179 # Check that the compiler produces executables we can run. If not, either
3180 # the compiler is broken, or we cross compile.
3181 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
3182 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
3183 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
3184 echo "${ECHO_T}$cross_compiling" >&6; }
3186 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
3187 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
3188 if { (ac_try="$ac_link"
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_link") 2>&5
3196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3197 (exit $ac_status); }; then
3198 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3199 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3200 # work properly (i.e., refer to `conftest.exe'), while it won't with
3202 for ac_file in conftest.exe conftest conftest.*; do
3203 test -f "$ac_file" || continue
3205 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3206 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3212 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
3213 See \
`config.log' for more details." >&5
3214 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3215 See \`config.log
' for more details." >&2;}
3216 { (exit 1); exit 1; }; }
3219 rm -f conftest$ac_cv_exeext
3220 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3221 echo "${ECHO_T}$ac_cv_exeext" >&6; }
3223 rm -f conftest.$ac_ext
3224 EXEEXT=$ac_cv_exeext
3226 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
3227 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3228 if test "${ac_cv_objext+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.o conftest.obj
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_compile") 2>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; then
3257 for ac_file in conftest.o conftest.obj conftest.*; do
3258 test -f "$ac_file" || continue;
3260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3261 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
3266 echo "$as_me: failed program was:" >&5
3267 sed 's
/^
/|
/' conftest.$ac_ext >&5
3269 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3270 See \`config.log' for more details.
" >&5
3271 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
3272 See \
`config.log' for more details." >&2;}
3273 { (exit 1); exit 1; }; }
3276 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3278 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3279 echo "${ECHO_T}$ac_cv_objext" >&6; }
3280 OBJEXT=$ac_cv_objext
3282 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3283 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3284 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 cat >conftest.$ac_ext <<_ACEOF
3290 cat confdefs.h >>conftest.$ac_ext
3291 cat >>conftest.$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3305 rm -f conftest.$ac_objext
3306 if { (ac_try="$ac_compile"
3308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3309 *) ac_try_echo
=$ac_try;;
3311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3312 (eval "$ac_compile") 2>conftest.er1
3314 grep -v '^ *+' conftest.er1
>conftest.err
3316 cat conftest.err
>&5
3317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3318 (exit $ac_status); } &&
3319 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3320 { (case "(($ac_try" in
3321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3322 *) ac_try_echo=$ac_try;;
3324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3325 (eval "$ac_try") 2>&5
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try='test -s conftest.$ac_objext'
3330 { (case "(($ac_try" in
3331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3332 *) ac_try_echo
=$ac_try;;
3334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3335 (eval "$ac_try") 2>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); }; }; then
3341 echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.
$ac_ext >&5
3347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3348 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3351 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3352 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3353 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3354 ac_test_CFLAGS
=${CFLAGS+set}
3355 ac_save_CFLAGS
=$CFLAGS
3356 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3357 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3358 if test "${ac_cv_prog_cc_g+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 ac_save_c_werror_flag
=$ac_c_werror_flag
3362 ac_c_werror_flag
=yes
3365 cat >conftest.
$ac_ext <<_ACEOF
3368 cat confdefs.h
>>conftest.
$ac_ext
3369 cat >>conftest.
$ac_ext <<_ACEOF
3370 /* end confdefs.h. */
3380 rm -f conftest.
$ac_objext
3381 if { (ac_try
="$ac_compile"
3383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3384 *) ac_try_echo=$ac_try;;
3386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3387 (eval "$ac_compile") 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } &&
3394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3395 { (case "(($ac_try" in
3396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3397 *) ac_try_echo
=$ac_try;;
3399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3400 (eval "$ac_try") 2>&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); }; } &&
3404 { ac_try
='test -s conftest.$ac_objext'
3405 { (case "(($ac_try" in
3406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3410 (eval "$ac_try") 2>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); }; }; then
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3435 rm -f conftest.$ac_objext
3436 if { (ac_try="$ac_compile"
3438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3439 *) ac_try_echo
=$ac_try;;
3441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3442 (eval "$ac_compile") 2>conftest.er1
3444 grep -v '^ *+' conftest.er1
>conftest.err
3446 cat conftest.err
>&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } &&
3449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3450 { (case "(($ac_try" in
3451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3452 *) ac_try_echo=$ac_try;;
3454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3455 (eval "$ac_try") 2>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; } &&
3459 { ac_try='test -s conftest.$ac_objext'
3460 { (case "(($ac_try" in
3461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3462 *) ac_try_echo
=$ac_try;;
3464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3465 (eval "$ac_try") 2>&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; }; then
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.
$ac_ext >&5
3474 ac_c_werror_flag
=$ac_save_c_werror_flag
3476 cat >conftest.
$ac_ext <<_ACEOF
3479 cat confdefs.h
>>conftest.
$ac_ext
3480 cat >>conftest.
$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3491 rm -f conftest.
$ac_objext
3492 if { (ac_try
="$ac_compile"
3494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_compile") 2>conftest.er1
3500 grep -v '^ *+' conftest.er1 >conftest.err
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } &&
3505 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3506 { (case "(($ac_try" in
3507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3508 *) ac_try_echo
=$ac_try;;
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_try") 2>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); }; } &&
3515 { ac_try
='test -s conftest.$ac_objext'
3516 { (case "(($ac_try" in
3517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3518 *) ac_try_echo=$ac_try;;
3520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3521 (eval "$ac_try") 2>&5
3523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3524 (exit $ac_status); }; }; then
3527 echo "$as_me: failed program was:" >&5
3528 sed 's/^/| /' conftest.$ac_ext >&5
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3543 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3544 if test "$ac_test_CFLAGS" = set; then
3545 CFLAGS=$ac_save_CFLAGS
3546 elif test $ac_cv_prog_cc_g = yes; then
3547 if test "$GCC" = yes; then
3553 if test "$GCC" = yes; then
3559 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3560 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3561 if test "${ac_cv_prog_cc_c89+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 ac_cv_prog_cc_c89=no
3566 cat >conftest.$ac_ext <<_ACEOF
3569 cat confdefs.h >>conftest.$ac_ext
3570 cat >>conftest.$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3574 #include <sys/types.h>
3575 #include <sys/stat.h>
3576 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3577 struct buf { int x; };
3578 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3579 static char *e (p, i)
3585 static char *f (char * (*g) (char **, int), char **p, ...)
3590 s = g (p, va_arg (v,int));
3595 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3596 function prototypes and stuff, but not '\xHH' hex character constants.
3597 These don't provoke an error unfortunately, instead are silently treated
3598 as 'x'. The following induces an error, until -std is added to get
3599 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3600 array size at least. It's necessary to write '\x00'==0 to get something
3601 that's true only with -std. */
3602 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3604 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3605 inside strings and character constants. */
3607 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3609 int test (int i, double x);
3610 struct s1 {int (*f) (int a);};
3611 struct s2 {int (*f) (double a);};
3612 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3618 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3623 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3624 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3626 CC="$ac_save_CC $ac_arg"
3627 rm -f conftest.$ac_objext
3628 if { (ac_try="$ac_compile"
3630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3631 *) ac_try_echo
=$ac_try;;
3633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3634 (eval "$ac_compile") 2>conftest.er1
3636 grep -v '^ *+' conftest.er1
>conftest.err
3638 cat conftest.err
>&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3642 { (case "(($ac_try" in
3643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3644 *) ac_try_echo=$ac_try;;
3646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3647 (eval "$ac_try") 2>&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; } &&
3651 { ac_try='test -s conftest.$ac_objext'
3652 { (case "(($ac_try" in
3653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3654 *) ac_try_echo
=$ac_try;;
3656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3657 (eval "$ac_try") 2>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; }; then
3661 ac_cv_prog_cc_c89
=$ac_arg
3663 echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.
$ac_ext >&5
3669 rm -f core conftest.err conftest.
$ac_objext
3670 test "x$ac_cv_prog_cc_c89" != "xno" && break
3672 rm -f conftest.
$ac_ext
3677 case "x$ac_cv_prog_cc_c89" in
3679 { echo "$as_me:$LINENO: result: none needed" >&5
3680 echo "${ECHO_T}none needed" >&6; } ;;
3682 { echo "$as_me:$LINENO: result: unsupported" >&5
3683 echo "${ECHO_T}unsupported" >&6; } ;;
3685 CC
="$CC $ac_cv_prog_cc_c89"
3686 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3687 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3692 ac_cpp
='$CPP $CPPFLAGS'
3693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3698 ac_cpp
='$CXXCPP $CPPFLAGS'
3699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3702 if test -z "$CXX"; then
3703 if test -n "$CCC"; then
3706 if test -n "$ac_tool_prefix"; then
3707 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3710 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3713 if test "${ac_cv_prog_CXX+set}" = set; then
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 if test -n "$CXX"; then
3717 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3723 test -z "$as_dir" && as_dir
=.
3724 for ac_exec_ext
in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 if test -n "$CXX"; then
3738 { echo "$as_me:$LINENO: result: $CXX" >&5
3739 echo "${ECHO_T}$CXX" >&6; }
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3746 test -n "$CXX" && break
3749 if test -z "$CXX"; then
3751 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3753 # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy
$ac_prog; ac_word
=$2
3755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3757 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 if test -n "$ac_ct_CXX"; then
3761 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3781 if test -n "$ac_ct_CXX"; then
3782 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3783 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3790 test -n "$ac_ct_CXX" && break
3793 if test "x$ac_ct_CXX" = x
; then
3796 case $cross_compiling:$ac_tool_warned in
3798 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3799 whose name does not start with the host triplet. If you think this
3800 configuration is useful to you, please write to autoconf@gnu.org." >&5
3801 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3802 whose name does not start with the host triplet. If you think this
3803 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3804 ac_tool_warned
=yes ;;
3812 # Provide some information about the compiler.
3813 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3814 ac_compiler
=`set X $ac_compile; echo $2`
3815 { (ac_try
="$ac_compiler --version >&5"
3817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3818 *) ac_try_echo=$ac_try;;
3820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3821 (eval "$ac_compiler --version >&5") 2>&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }
3825 { (ac_try="$ac_compiler -v >&5"
3827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3828 *) ac_try_echo
=$ac_try;;
3830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3831 (eval "$ac_compiler -v >&5") 2>&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }
3835 { (ac_try
="$ac_compiler -V >&5"
3837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3838 *) ac_try_echo=$ac_try;;
3840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3841 (eval "$ac_compiler -V >&5") 2>&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }
3846 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3847 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3848 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 cat >conftest.$ac_ext <<_ACEOF
3854 cat confdefs.h >>conftest.$ac_ext
3855 cat >>conftest.$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3869 rm -f conftest.$ac_objext
3870 if { (ac_try="$ac_compile"
3872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3873 *) ac_try_echo
=$ac_try;;
3875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3876 (eval "$ac_compile") 2>conftest.er1
3878 grep -v '^ *+' conftest.er1
>conftest.err
3880 cat conftest.err
>&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); } &&
3883 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3884 { (case "(($ac_try" in
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_try") 2>&5
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; } &&
3893 { ac_try='test -s conftest.$ac_objext'
3894 { (case "(($ac_try" in
3895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3896 *) ac_try_echo
=$ac_try;;
3898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3899 (eval "$ac_try") 2>&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; }; then
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.
$ac_ext >&5
3911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3912 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3915 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3916 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3917 GXX
=`test $ac_compiler_gnu = yes && echo yes`
3918 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3919 ac_save_CXXFLAGS
=$CXXFLAGS
3920 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3921 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3922 if test "${ac_cv_prog_cxx_g+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3926 ac_cxx_werror_flag
=yes
3929 cat >conftest.
$ac_ext <<_ACEOF
3932 cat confdefs.h
>>conftest.
$ac_ext
3933 cat >>conftest.
$ac_ext <<_ACEOF
3934 /* end confdefs.h. */
3944 rm -f conftest.
$ac_objext
3945 if { (ac_try
="$ac_compile"
3947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3951 (eval "$ac_compile") 2>conftest.er1
3953 grep -v '^ *+' conftest.er1 >conftest.err
3955 cat conftest.err >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); } &&
3958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3959 { (case "(($ac_try" in
3960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3961 *) ac_try_echo
=$ac_try;;
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_try") 2>&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); }; } &&
3968 { ac_try
='test -s conftest.$ac_objext'
3969 { (case "(($ac_try" in
3970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3974 (eval "$ac_try") 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; }; then
3978 ac_cv_prog_cxx_g=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3984 cat >conftest.$ac_ext <<_ACEOF
3987 cat confdefs.h >>conftest.$ac_ext
3988 cat >>conftest.$ac_ext <<_ACEOF
3989 /* end confdefs.h. */
3999 rm -f conftest.$ac_objext
4000 if { (ac_try="$ac_compile"
4002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4003 *) ac_try_echo
=$ac_try;;
4005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4006 (eval "$ac_compile") 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4014 { (case "(($ac_try" in
4015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4019 (eval "$ac_try") 2>&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; } &&
4023 { ac_try='test -s conftest.$ac_objext'
4024 { (case "(($ac_try" in
4025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4026 *) ac_try_echo
=$ac_try;;
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_try") 2>&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; }; then
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.
$ac_ext >&5
4038 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4040 cat >conftest.
$ac_ext <<_ACEOF
4043 cat confdefs.h
>>conftest.
$ac_ext
4044 cat >>conftest.
$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4055 rm -f conftest.
$ac_objext
4056 if { (ac_try
="$ac_compile"
4058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4062 (eval "$ac_compile") 2>conftest.er1
4064 grep -v '^ *+' conftest.er1 >conftest.err
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
4069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4070 { (case "(($ac_try" in
4071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4072 *) ac_try_echo
=$ac_try;;
4074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4075 (eval "$ac_try") 2>&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; } &&
4079 { ac_try
='test -s conftest.$ac_objext'
4080 { (case "(($ac_try" in
4081 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4082 *) ac_try_echo=$ac_try;;
4084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4085 (eval "$ac_try") 2>&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_prog_cxx_g=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4106 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4107 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4108 if test "$ac_test_CXXFLAGS" = set; then
4109 CXXFLAGS=$ac_save_CXXFLAGS
4110 elif test $ac_cv_prog_cxx_g = yes; then
4111 if test "$GXX" = yes; then
4117 if test "$GXX" = yes; then
4124 ac_cpp='$CPP $CPPFLAGS'
4125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4130 ac_cpp='$CPP $CPPFLAGS'
4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4134 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4135 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4136 # On Suns, sometimes $CPP names a directory.
4137 if test -n "$CPP" && test -d "$CPP"; then
4140 if test -z "$CPP"; then
4141 if test "${ac_cv_prog_CPP+set}" = set; then
4142 echo $ECHO_N "(cached) $ECHO_C" >&6
4144 # Double quotes because CPP needs to be expanded
4145 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4148 for ac_c_preproc_warn_flag in '' yes
4150 # Use a header file that comes with gcc, so configuring glibc
4151 # with a fresh cross-compiler works.
4152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4153 # <limits.h> exists even on freestanding compilers.
4154 # On the NeXT, cc -E runs the code through the compiler's parser,
4155 # not just through cpp. "Syntax error" is here to catch this case.
4156 cat >conftest.$ac_ext <<_ACEOF
4159 cat confdefs.h >>conftest.$ac_ext
4160 cat >>conftest.$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4163 # include <limits.h>
4165 # include <assert.h>
4169 if { (ac_try="$ac_cpp conftest.$ac_ext"
4171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4172 *) ac_try_echo
=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4177 grep -v '^ *+' conftest.er1
>conftest.err
4179 cat conftest.err
>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } >/dev
/null
; then
4182 if test -s conftest.err
; then
4183 ac_cpp_err
=$ac_c_preproc_warn_flag
4184 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4191 if test -z "$ac_cpp_err"; then
4194 echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.
$ac_ext >&5
4197 # Broken: fails on valid input.
4201 rm -f conftest.err conftest.
$ac_ext
4203 # OK, works on sane cases. Now check whether nonexistent headers
4204 # can be detected and how.
4205 cat >conftest.
$ac_ext <<_ACEOF
4208 cat confdefs.h
>>conftest.
$ac_ext
4209 cat >>conftest.
$ac_ext <<_ACEOF
4210 /* end confdefs.h. */
4211 #include <ac_nonexistent.h>
4213 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4216 *) ac_try_echo=$ac_try;;
4218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4221 grep -v '^ *+' conftest.er1 >conftest.err
4223 cat conftest.err >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); } >/dev/null; then
4226 if test -s conftest.err; then
4227 ac_cpp_err=$ac_c_preproc_warn_flag
4228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4235 if test -z "$ac_cpp_err"; then
4236 # Broken: success on invalid input.
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 # Passes both tests.
4247 rm -f conftest.err conftest.$ac_ext
4250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4251 rm -f conftest.err conftest.
$ac_ext
4252 if $ac_preproc_ok; then
4264 { echo "$as_me:$LINENO: result: $CPP" >&5
4265 echo "${ECHO_T}$CPP" >&6; }
4267 for ac_c_preproc_warn_flag
in '' yes
4269 # Use a header file that comes with gcc, so configuring glibc
4270 # with a fresh cross-compiler works.
4271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4272 # <limits.h> exists even on freestanding compilers.
4273 # On the NeXT, cc -E runs the code through the compiler's parser,
4274 # not just through cpp. "Syntax error" is here to catch this case.
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4282 # include <limits.h>
4284 # include <assert.h>
4288 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4291 *) ac_try_echo=$ac_try;;
4293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4294 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4296 grep -v '^ *+' conftest.er1 >conftest.err
4298 cat conftest.err >&5
4299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300 (exit $ac_status); } >/dev/null; then
4301 if test -s conftest.err; then
4302 ac_cpp_err=$ac_c_preproc_warn_flag
4303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4310 if test -z "$ac_cpp_err"; then
4313 echo "$as_me: failed program was:" >&5
4314 sed 's/^/| /' conftest.$ac_ext >&5
4316 # Broken: fails on valid input.
4320 rm -f conftest.err conftest.$ac_ext
4322 # OK, works on sane cases. Now check whether nonexistent headers
4323 # can be detected and how.
4324 cat >conftest.$ac_ext <<_ACEOF
4327 cat confdefs.h >>conftest.$ac_ext
4328 cat >>conftest.$ac_ext <<_ACEOF
4329 /* end confdefs.h. */
4330 #include <ac_nonexistent.h>
4332 if { (ac_try="$ac_cpp conftest.$ac_ext"
4334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4335 *) ac_try_echo
=$ac_try;;
4337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4340 grep -v '^ *+' conftest.er1
>conftest.err
4342 cat conftest.err
>&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } >/dev
/null
; then
4345 if test -s conftest.err
; then
4346 ac_cpp_err
=$ac_c_preproc_warn_flag
4347 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4354 if test -z "$ac_cpp_err"; then
4355 # Broken: success on invalid input.
4358 echo "$as_me: failed program was:" >&5
4359 sed 's/^/| /' conftest.
$ac_ext >&5
4361 # Passes both tests.
4366 rm -f conftest.err conftest.
$ac_ext
4369 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4370 rm -f conftest.err conftest.
$ac_ext
4371 if $ac_preproc_ok; then
4374 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4375 See \`config.log' for more details." >&5
4376 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4377 See \`config.log' for more details." >&2;}
4378 { (exit 1); exit 1; }; }
4382 ac_cpp
='$CPP $CPPFLAGS'
4383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4388 ac_cpp
='$CXXCPP $CPPFLAGS'
4389 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4390 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4391 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4392 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4393 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4394 if test -z "$CXXCPP"; then
4395 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 # Double quotes because CXXCPP needs to be expanded
4399 for CXXCPP
in "$CXX -E" "/lib/cpp"
4402 for ac_cxx_preproc_warn_flag
in '' yes
4404 # Use a header file that comes with gcc, so configuring glibc
4405 # with a fresh cross-compiler works.
4406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4407 # <limits.h> exists even on freestanding compilers.
4408 # On the NeXT, cc -E runs the code through the compiler's parser,
4409 # not just through cpp. "Syntax error" is here to catch this case.
4410 cat >conftest.
$ac_ext <<_ACEOF
4413 cat confdefs.h
>>conftest.
$ac_ext
4414 cat >>conftest.
$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 # include <limits.h>
4419 # include <assert.h>
4423 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4426 *) ac_try_echo=$ac_try;;
4428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4431 grep -v '^ *+' conftest.er1 >conftest.err
4433 cat conftest.err >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); } >/dev/null; then
4436 if test -s conftest.err; then
4437 ac_cpp_err=$ac_cxx_preproc_warn_flag
4438 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4445 if test -z "$ac_cpp_err"; then
4448 echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 # Broken: fails on valid input.
4455 rm -f conftest.err conftest.$ac_ext
4457 # OK, works on sane cases. Now check whether nonexistent headers
4458 # can be detected and how.
4459 cat >conftest.$ac_ext <<_ACEOF
4462 cat confdefs.h >>conftest.$ac_ext
4463 cat >>conftest.$ac_ext <<_ACEOF
4464 /* end confdefs.h. */
4465 #include <ac_nonexistent.h>
4467 if { (ac_try="$ac_cpp conftest.$ac_ext"
4469 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4470 *) ac_try_echo
=$ac_try;;
4472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4475 grep -v '^ *+' conftest.er1
>conftest.err
4477 cat conftest.err
>&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } >/dev
/null
; then
4480 if test -s conftest.err
; then
4481 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4482 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4489 if test -z "$ac_cpp_err"; then
4490 # Broken: success on invalid input.
4493 echo "$as_me: failed program was:" >&5
4494 sed 's/^/| /' conftest.
$ac_ext >&5
4496 # Passes both tests.
4501 rm -f conftest.err conftest.
$ac_ext
4504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4505 rm -f conftest.err conftest.
$ac_ext
4506 if $ac_preproc_ok; then
4511 ac_cv_prog_CXXCPP
=$CXXCPP
4514 CXXCPP
=$ac_cv_prog_CXXCPP
4516 ac_cv_prog_CXXCPP
=$CXXCPP
4518 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4519 echo "${ECHO_T}$CXXCPP" >&6; }
4521 for ac_cxx_preproc_warn_flag
in '' yes
4523 # Use a header file that comes with gcc, so configuring glibc
4524 # with a fresh cross-compiler works.
4525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4526 # <limits.h> exists even on freestanding compilers.
4527 # On the NeXT, cc -E runs the code through the compiler's parser,
4528 # not just through cpp. "Syntax error" is here to catch this case.
4529 cat >conftest.
$ac_ext <<_ACEOF
4532 cat confdefs.h
>>conftest.
$ac_ext
4533 cat >>conftest.
$ac_ext <<_ACEOF
4534 /* end confdefs.h. */
4536 # include <limits.h>
4538 # include <assert.h>
4542 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4545 *) ac_try_echo=$ac_try;;
4547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4550 grep -v '^ *+' conftest.er1 >conftest.err
4552 cat conftest.err >&5
4553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554 (exit $ac_status); } >/dev/null; then
4555 if test -s conftest.err; then
4556 ac_cpp_err=$ac_cxx_preproc_warn_flag
4557 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4564 if test -z "$ac_cpp_err"; then
4567 echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.$ac_ext >&5
4570 # Broken: fails on valid input.
4574 rm -f conftest.err conftest.$ac_ext
4576 # OK, works on sane cases. Now check whether nonexistent headers
4577 # can be detected and how.
4578 cat >conftest.$ac_ext <<_ACEOF
4581 cat confdefs.h >>conftest.$ac_ext
4582 cat >>conftest.$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 #include <ac_nonexistent.h>
4586 if { (ac_try="$ac_cpp conftest.$ac_ext"
4588 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4589 *) ac_try_echo
=$ac_try;;
4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } >/dev
/null
; then
4599 if test -s conftest.err
; then
4600 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4601 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4608 if test -z "$ac_cpp_err"; then
4609 # Broken: success on invalid input.
4612 echo "$as_me: failed program was:" >&5
4613 sed 's/^/| /' conftest.
$ac_ext >&5
4615 # Passes both tests.
4620 rm -f conftest.err conftest.
$ac_ext
4623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4624 rm -f conftest.err conftest.
$ac_ext
4625 if $ac_preproc_ok; then
4628 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4629 See \`config.log' for more details." >&5
4630 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4631 See \`config.log' for more details." >&2;}
4632 { (exit 1); exit 1; }; }
4636 ac_cpp
='$CPP $CPPFLAGS'
4637 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4638 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4639 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4641 for ac_prog
in gawk mawk nawk
awk
4643 # Extract the first word of "$ac_prog", so it can be a program name with args.
4644 set dummy
$ac_prog; ac_word
=$2
4645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4647 if test "${ac_cv_prog_AWK+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 if test -n "$AWK"; then
4651 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4657 test -z "$as_dir" && as_dir
=.
4658 for ac_exec_ext
in '' $ac_executable_extensions; do
4659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4660 ac_cv_prog_AWK
="$ac_prog"
4661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4671 if test -n "$AWK"; then
4672 { echo "$as_me:$LINENO: result: $AWK" >&5
4673 echo "${ECHO_T}$AWK" >&6; }
4675 { echo "$as_me:$LINENO: result: no" >&5
4676 echo "${ECHO_T}no" >&6; }
4680 test -n "$AWK" && break
4683 # Find a good install program. We prefer a C program (faster),
4684 # so one script is as good as another. But avoid the broken or
4685 # incompatible versions:
4686 # SysV /etc/install, /usr/sbin/install
4687 # SunOS /usr/etc/install
4688 # IRIX /sbin/install
4690 # AmigaOS /C/install, which installs bootblocks on floppy discs
4691 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4692 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4693 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4694 # OS/2's system install, which has a completely different semantic
4695 # ./install, which can be erroneously created by make from ./install.sh.
4696 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4697 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4698 if test -z "$INSTALL"; then
4699 if test "${ac_cv_path_install+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 # Account for people who put trailing slashes in PATH elements.
4709 .
/ | .
// |
/cC
/* | \
4710 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4711 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4714 # OSF1 and SCO ODT 3.0 have their own names for install.
4715 # Don't use installbsd from OSF since it installs stuff as root
4717 for ac_prog
in ginstall scoinst
install; do
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4720 if test $ac_prog = install &&
4721 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4722 # AIX install. It has an incompatible calling convention.
4724 elif test $ac_prog = install &&
4725 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4726 # program-specific install script used by HP pwplus--don't use.
4729 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4742 if test "${ac_cv_path_install+set}" = set; then
4743 INSTALL
=$ac_cv_path_install
4745 # As a last resort, use the slow shell script. Don't cache a
4746 # value for INSTALL within a source directory, because that will
4747 # break other packages using the cache if that directory is
4748 # removed, or if the value is a relative name.
4749 INSTALL
=$ac_install_sh
4752 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4753 echo "${ECHO_T}$INSTALL" >&6; }
4755 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4756 # It thinks the first close brace ends the variable substitution.
4757 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4759 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4761 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4763 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
4764 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4766 if test "$LN_S" = "ln -s"; then
4767 { echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6; }
4770 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4771 echo "${ECHO_T}no, using $LN_S" >&6; }
4774 if test -n "$ac_tool_prefix"; then
4775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4776 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4779 if test "${ac_cv_prog_RANLIB+set}" = set; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 if test -n "$RANLIB"; then
4783 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4792 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 RANLIB
=$ac_cv_prog_RANLIB
4803 if test -n "$RANLIB"; then
4804 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4805 echo "${ECHO_T}$RANLIB" >&6; }
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4813 if test -z "$ac_cv_prog_RANLIB"; then
4814 ac_ct_RANLIB
=$RANLIB
4815 # Extract the first word of "ranlib", so it can be a program name with args.
4816 set dummy ranlib
; ac_word
=$2
4817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4819 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$ac_ct_RANLIB"; then
4823 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir
=.
4830 for ac_exec_ext
in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4843 if test -n "$ac_ct_RANLIB"; then
4844 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4845 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4847 { echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6; }
4851 if test "x$ac_ct_RANLIB" = x
; then
4854 case $cross_compiling:$ac_tool_warned in
4856 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4857 whose name does not start with the host triplet. If you think this
4858 configuration is useful to you, please write to autoconf@gnu.org." >&5
4859 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4860 whose name does not start with the host triplet. If you think this
4861 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4862 ac_tool_warned
=yes ;;
4864 RANLIB
=$ac_ct_RANLIB
4867 RANLIB
="$ac_cv_prog_RANLIB"
4870 { echo "$as_me:$LINENO: checking for GNU make" >&5
4871 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
4872 if test "${GNU_MAKE+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 GNU_MAKE
='Not Found' ;
4876 GNU_MAKE_VERSION_MAJOR
=0 ;
4877 GNU_MAKE_VERSION_MINOR
=0 ;
4878 for a
in make gmake gnumake
; do
4879 if test -z "$a" ; then continue ; fi ;
4880 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
4882 GNU_MAKE_VERSION_MAJOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
4883 GNU_MAKE_VERSION_MINOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
4889 { echo "$as_me:$LINENO: result: $GNU_MAKE" >&5
4890 echo "${ECHO_T}$GNU_MAKE" >&6; } ;
4891 if test "x$GNU_MAKE" = "xNot Found" ; then
4892 { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5
4893 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;}
4894 { (exit 1); exit 1; }; }
4900 # Extract the first word of "grep", so it can be a program name with args.
4901 set dummy
grep; ac_word
=$2
4902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4904 if test "${ac_cv_path_GREP+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
4920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
=":"
4931 GREP
=$ac_cv_path_GREP
4932 if test -n "$GREP"; then
4933 { echo "$as_me:$LINENO: result: $GREP" >&5
4934 echo "${ECHO_T}$GREP" >&6; }
4936 { echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6; }
4941 # Extract the first word of "ar", so it can be a program name with args.
4942 set dummy
ar; ac_word
=$2
4943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4945 if test "${ac_cv_path_AR+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
4961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 test -z "$ac_cv_path_AR" && ac_cv_path_AR
=":"
4973 if test -n "$AR"; then
4974 { echo "$as_me:$LINENO: result: $AR" >&5
4975 echo "${ECHO_T}$AR" >&6; }
4977 { echo "$as_me:$LINENO: result: no" >&5
4978 echo "${ECHO_T}no" >&6; }
4982 # Extract the first word of "find", so it can be a program name with args.
4983 set dummy
find; ac_word
=$2
4984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4986 if test "${ac_cv_path_FIND+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
4991 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
4994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4998 test -z "$as_dir" && as_dir
=.
4999 for ac_exec_ext
in '' $ac_executable_extensions; do
5000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5001 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
5002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
=":"
5013 FIND
=$ac_cv_path_FIND
5014 if test -n "$FIND"; then
5015 { echo "$as_me:$LINENO: result: $FIND" >&5
5016 echo "${ECHO_T}$FIND" >&6; }
5018 { echo "$as_me:$LINENO: result: no" >&5
5019 echo "${ECHO_T}no" >&6; }
5023 # Extract the first word of "compress", so it can be a program name with args.
5024 set dummy
compress; ac_word
=$2
5025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5027 if test "${ac_cv_path_COMPRESS+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 ac_cv_path_COMPRESS
="$COMPRESS" # Let the user override the test with a path.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_path_COMPRESS
="$as_dir/$ac_word$ac_exec_ext"
5043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 test -z "$ac_cv_path_COMPRESS" && ac_cv_path_COMPRESS
=":"
5054 COMPRESS
=$ac_cv_path_COMPRESS
5055 if test -n "$COMPRESS"; then
5056 { echo "$as_me:$LINENO: result: $COMPRESS" >&5
5057 echo "${ECHO_T}$COMPRESS" >&6; }
5059 { echo "$as_me:$LINENO: result: no" >&5
5060 echo "${ECHO_T}no" >&6; }
5064 # Extract the first word of "basename", so it can be a program name with args.
5065 set dummy
basename; ac_word
=$2
5066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5068 if test "${ac_cv_path_BASENAME+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 ac_cv_path_BASENAME
="$BASENAME" # Let the user override the test with a path.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_path_BASENAME
="$as_dir/$ac_word$ac_exec_ext"
5084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 test -z "$ac_cv_path_BASENAME" && ac_cv_path_BASENAME
=":"
5095 BASENAME
=$ac_cv_path_BASENAME
5096 if test -n "$BASENAME"; then
5097 { echo "$as_me:$LINENO: result: $BASENAME" >&5
5098 echo "${ECHO_T}$BASENAME" >&6; }
5100 { echo "$as_me:$LINENO: result: no" >&5
5101 echo "${ECHO_T}no" >&6; }
5105 # Extract the first word of "id", so it can be a program name with args.
5106 set dummy id
; ac_word
=$2
5107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5109 if test "${ac_cv_path_ID+set}" = set; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
5117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5121 test -z "$as_dir" && as_dir
=.
5122 for ac_exec_ext
in '' $ac_executable_extensions; do
5123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5124 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
5125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=":"
5137 if test -n "$ID"; then
5138 { echo "$as_me:$LINENO: result: $ID" >&5
5139 echo "${ECHO_T}$ID" >&6; }
5141 { echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6; }
5146 # Extract the first word of "dirname", so it can be a program name with args.
5147 set dummy
dirname; ac_word
=$2
5148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5150 if test "${ac_cv_path_DIRNAME+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 ac_cv_path_DIRNAME
="$DIRNAME" # Let the user override the test with a path.
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5165 ac_cv_path_DIRNAME
="$as_dir/$ac_word$ac_exec_ext"
5166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5173 test -z "$ac_cv_path_DIRNAME" && ac_cv_path_DIRNAME
=":"
5177 DIRNAME
=$ac_cv_path_DIRNAME
5178 if test -n "$DIRNAME"; then
5179 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
5180 echo "${ECHO_T}$DIRNAME" >&6; }
5182 { echo "$as_me:$LINENO: result: no" >&5
5183 echo "${ECHO_T}no" >&6; }
5187 # Extract the first word of "sh", so it can be a program name with args.
5188 set dummy sh
; ac_word
=$2
5189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5191 if test "${ac_cv_path_SHELL+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5196 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
5199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 test -z "$as_dir" && as_dir
=.
5204 for ac_exec_ext
in '' $ac_executable_extensions; do
5205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5206 ac_cv_path_SHELL
="$as_dir/$ac_word$ac_exec_ext"
5207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
=":"
5218 SHELL
=$ac_cv_path_SHELL
5219 if test -n "$SHELL"; then
5220 { echo "$as_me:$LINENO: result: $SHELL" >&5
5221 echo "${ECHO_T}$SHELL" >&6; }
5223 { echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6; }
5228 # Extract the first word of "ln", so it can be a program name with args.
5229 set dummy
ln; ac_word
=$2
5230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5232 if test "${ac_cv_path_LN+set}" = set; then
5233 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5247 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5255 test -z "$ac_cv_path_LN" && ac_cv_path_LN
=":"
5260 if test -n "$LN"; then
5261 { echo "$as_me:$LINENO: result: $LN" >&5
5262 echo "${ECHO_T}$LN" >&6; }
5264 { echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6; }
5269 # Extract the first word of "dot", so it can be a program name with args.
5270 set dummy dot
; ac_word
=$2
5271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5273 if test "${ac_cv_path_DOT+set}" = set; then
5274 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
5281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 test -z "$as_dir" && as_dir
=.
5286 for ac_exec_ext
in '' $ac_executable_extensions; do
5287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5288 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
5289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5296 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
=":"
5301 if test -n "$DOT"; then
5302 { echo "$as_me:$LINENO: result: $DOT" >&5
5303 echo "${ECHO_T}$DOT" >&6; }
5305 { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5312 ac_cpp
='$CPP $CPPFLAGS'
5313 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5314 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5315 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5318 # Check whether --enable-dev-mode was given.
5319 if test "${enable_dev_mode+set}" = set; then
5320 enableval
=$enable_dev_mode; case "${enableval}" in
5321 y|ye|
yes) AST_DEVMODE
=yes ;;
5322 n|no
) AST_DEVMODE
=no
;;
5323 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dev-mode" >&5
5324 echo "$as_me: error: bad value ${enableval} for --enable-dev-mode" >&2;}
5325 { (exit 1); exit 1; }; } ;;
5331 # package option names should be in alphabetical order
5332 # by the --with option name, to make things easier for the users :-)
5335 ALSA_DESCRIP
="Advanced Linux Sound Architecture"
5336 ALSA_OPTION
="asound"
5338 # Check whether --with-asound was given.
5339 if test "${with_asound+set}" = set; then
5340 withval
=$with_asound;
5346 ALSA_MANDATORY
="yes"
5349 ALSA_DIR
="${withval}"
5350 ALSA_MANDATORY
="yes"
5365 # Check whether --with-curl was given.
5366 if test "${with_curl+set}" = set; then
5373 CURL_MANDATORY
="yes"
5376 CURL_DIR
="${withval}"
5377 CURL_MANDATORY
="yes"
5389 CURSES_DESCRIP
="curses"
5390 CURSES_OPTION
="curses"
5392 # Check whether --with-curses was given.
5393 if test "${with_curses+set}" = set; then
5394 withval
=$with_curses;
5400 CURSES_MANDATORY
="yes"
5403 CURSES_DIR
="${withval}"
5404 CURSES_MANDATORY
="yes"
5416 GNUTLS_DESCRIP
="GNU TLS support (used for iksemel only)"
5417 GNUTLS_OPTION
="gnutls"
5419 # Check whether --with-gnutls was given.
5420 if test "${with_gnutls+set}" = set; then
5421 withval
=$with_gnutls;
5427 GNUTLS_MANDATORY
="yes"
5430 GNUTLS_DIR
="${withval}"
5431 GNUTLS_MANDATORY
="yes"
5446 # Check whether --with-gsm was given.
5447 if test "${with_gsm+set}" = set; then
5457 GSM_DIR
="${withval}"
5470 IKSEMEL_DESCRIP
="Iksemel Jabber Library"
5471 IKSEMEL_OPTION
="iksemel"
5473 # Check whether --with-iksemel was given.
5474 if test "${with_iksemel+set}" = set; then
5475 withval
=$with_iksemel;
5481 IKSEMEL_MANDATORY
="yes"
5484 IKSEMEL_DIR
="${withval}"
5485 IKSEMEL_MANDATORY
="yes"
5497 IMAP_TK_DESCRIP
="UW IMAP Toolkit"
5498 IMAP_TK_OPTION
="imap"
5500 # Check whether --with-imap was given.
5501 if test "${with_imap+set}" = set; then
5508 IMAP_TK_MANDATORY
="yes"
5511 IMAP_TK_DIR
="${withval}"
5512 IMAP_TK_MANDATORY
="yes"
5524 ISDNNET_DESCRIP
="ISDN4Linux Library"
5525 ISDNNET_OPTION
="isdnnet"
5527 # Check whether --with-isdnnet was given.
5528 if test "${with_isdnnet+set}" = set; then
5529 withval
=$with_isdnnet;
5535 ISDNNET_MANDATORY
="yes"
5538 ISDNNET_DIR
="${withval}"
5539 ISDNNET_MANDATORY
="yes"
5554 # Check whether --with-kde was given.
5555 if test "${with_kde+set}" = set; then
5565 KDE_DIR
="${withval}"
5578 MISDN_DESCRIP
="mISDN User Library"
5579 MISDN_OPTION
="misdn"
5581 # Check whether --with-misdn was given.
5582 if test "${with_misdn+set}" = set; then
5583 withval
=$with_misdn;
5589 MISDN_MANDATORY
="yes"
5592 MISDN_DIR
="${withval}"
5593 MISDN_MANDATORY
="yes"
5605 NBS_DESCRIP
="Network Broadcast Sound"
5608 # Check whether --with-nbs was given.
5609 if test "${with_nbs+set}" = set; then
5619 NBS_DIR
="${withval}"
5632 NCURSES_DESCRIP
="ncurses"
5633 NCURSES_OPTION
="ncurses"
5635 # Check whether --with-ncurses was given.
5636 if test "${with_ncurses+set}" = set; then
5637 withval
=$with_ncurses;
5643 NCURSES_MANDATORY
="yes"
5646 NCURSES_DIR
="${withval}"
5647 NCURSES_MANDATORY
="yes"
5659 NETSNMP_DESCRIP
="Net-SNMP"
5660 NETSNMP_OPTION
="netsnmp"
5662 # Check whether --with-netsnmp was given.
5663 if test "${with_netsnmp+set}" = set; then
5664 withval
=$with_netsnmp;
5670 NETSNMP_MANDATORY
="yes"
5673 NETSNMP_DIR
="${withval}"
5674 NETSNMP_MANDATORY
="yes"
5689 # Check whether --with-newt was given.
5690 if test "${with_newt+set}" = set; then
5697 NEWT_MANDATORY
="yes"
5700 NEWT_DIR
="${withval}"
5701 NEWT_MANDATORY
="yes"
5713 UNIXODBC_DESCRIP
="unixODBC"
5714 UNIXODBC_OPTION
="odbc"
5716 # Check whether --with-odbc was given.
5717 if test "${with_odbc+set}" = set; then
5724 UNIXODBC_MANDATORY
="yes"
5727 UNIXODBC_DIR
="${withval}"
5728 UNIXODBC_MANDATORY
="yes"
5743 # Check whether --with-ogg was given.
5744 if test "${with_ogg+set}" = set; then
5754 OGG_DIR
="${withval}"
5767 OSPTK_DESCRIP
="OSP Toolkit"
5768 OSPTK_OPTION
="osptk"
5770 # Check whether --with-osptk was given.
5771 if test "${with_osptk+set}" = set; then
5772 withval
=$with_osptk;
5778 OSPTK_MANDATORY
="yes"
5781 OSPTK_DIR
="${withval}"
5782 OSPTK_MANDATORY
="yes"
5794 OSS_DESCRIP
="Open Sound System"
5797 # Check whether --with-oss was given.
5798 if test "${with_oss+set}" = set; then
5808 OSS_DIR
="${withval}"
5824 # Check whether --with-popt was given.
5825 if test "${with_popt+set}" = set; then
5832 POPT_MANDATORY
="yes"
5835 POPT_DIR
="${withval}"
5836 POPT_MANDATORY
="yes"
5848 PGSQL_DESCRIP
="PostgreSQL"
5849 PGSQL_OPTION
="postgres"
5851 # Check whether --with-postgres was given.
5852 if test "${with_postgres+set}" = set; then
5853 withval
=$with_postgres;
5859 PGSQL_MANDATORY
="yes"
5862 PGSQL_DIR
="${withval}"
5863 PGSQL_MANDATORY
="yes"
5875 PRI_DESCRIP
="ISDN PRI"
5878 # Check whether --with-pri was given.
5879 if test "${with_pri+set}" = set; then
5889 PRI_DIR
="${withval}"
5902 PWLIB_DESCRIP
="PWlib"
5903 PWLIB_OPTION
="pwlib"
5905 # Check whether --with-pwlib was given.
5906 if test "${with_pwlib+set}" = set; then
5907 withval
=$with_pwlib;
5913 PWLIB_MANDATORY
="yes"
5916 PWLIB_DIR
="${withval}"
5917 PWLIB_MANDATORY
="yes"
5929 OPENH323_DESCRIP
="OpenH323"
5930 OPENH323_OPTION
="h323"
5932 # Check whether --with-h323 was given.
5933 if test "${with_h323+set}" = set; then
5940 OPENH323_MANDATORY
="yes"
5943 OPENH323_DIR
="${withval}"
5944 OPENH323_MANDATORY
="yes"
5959 # Check whether --with-qt was given.
5960 if test "${with_qt+set}" = set; then
5983 RADIUS_DESCRIP
="Radius Client"
5984 RADIUS_OPTION
="radius"
5986 # Check whether --with-radius was given.
5987 if test "${with_radius+set}" = set; then
5988 withval
=$with_radius;
5994 RADIUS_MANDATORY
="yes"
5997 RADIUS_DIR
="${withval}"
5998 RADIUS_MANDATORY
="yes"
6010 SPEEX_DESCRIP
="Speex"
6011 SPEEX_OPTION
="speex"
6013 # Check whether --with-speex was given.
6014 if test "${with_speex+set}" = set; then
6015 withval
=$with_speex;
6021 SPEEX_MANDATORY
="yes"
6024 SPEEX_DIR
="${withval}"
6025 SPEEX_MANDATORY
="yes"
6037 SQLITE_DESCRIP
="SQLite"
6038 SQLITE_OPTION
="sqlite"
6040 # Check whether --with-sqlite was given.
6041 if test "${with_sqlite+set}" = set; then
6042 withval
=$with_sqlite;
6048 SQLITE_MANDATORY
="yes"
6051 SQLITE_DIR
="${withval}"
6052 SQLITE_MANDATORY
="yes"
6064 SUPPSERV_DESCRIP
="mISDN Supplemental Services"
6065 SUPPSERV_OPTION
="suppserv"
6067 # Check whether --with-suppserv was given.
6068 if test "${with_suppserv+set}" = set; then
6069 withval
=$with_suppserv;
6075 SUPPSERV_MANDATORY
="yes"
6078 SUPPSERV_DIR
="${withval}"
6079 SUPPSERV_MANDATORY
="yes"
6091 OPENSSL_DESCRIP
="OpenSSL"
6092 OPENSSL_OPTION
="ssl"
6094 # Check whether --with-ssl was given.
6095 if test "${with_ssl+set}" = set; then
6102 OPENSSL_MANDATORY
="yes"
6105 OPENSSL_DIR
="${withval}"
6106 OPENSSL_MANDATORY
="yes"
6118 FREETDS_DESCRIP
="FreeTDS"
6119 FREETDS_OPTION
="tds"
6121 # Check whether --with-tds was given.
6122 if test "${with_tds+set}" = set; then
6129 FREETDS_MANDATORY
="yes"
6132 FREETDS_DIR
="${withval}"
6133 FREETDS_MANDATORY
="yes"
6145 TERMCAP_DESCRIP
="Termcap"
6146 TERMCAP_OPTION
="termcap"
6148 # Check whether --with-termcap was given.
6149 if test "${with_termcap+set}" = set; then
6150 withval
=$with_termcap;
6156 TERMCAP_MANDATORY
="yes"
6159 TERMCAP_DIR
="${withval}"
6160 TERMCAP_MANDATORY
="yes"
6172 TINFO_DESCRIP
="Term Info"
6173 TINFO_OPTION
="tinfo"
6175 # Check whether --with-tinfo was given.
6176 if test "${with_tinfo+set}" = set; then
6177 withval
=$with_tinfo;
6183 TINFO_MANDATORY
="yes"
6186 TINFO_DIR
="${withval}"
6187 TINFO_MANDATORY
="yes"
6199 TONEZONE_DESCRIP
="tonezone"
6200 TONEZONE_OPTION
="tonezone"
6202 # Check whether --with-tonezone was given.
6203 if test "${with_tonezone+set}" = set; then
6204 withval
=$with_tonezone;
6210 TONEZONE_MANDATORY
="yes"
6213 TONEZONE_DIR
="${withval}"
6214 TONEZONE_MANDATORY
="yes"
6226 VORBIS_DESCRIP
="Vorbis"
6227 VORBIS_OPTION
="vorbis"
6229 # Check whether --with-vorbis was given.
6230 if test "${with_vorbis+set}" = set; then
6231 withval
=$with_vorbis;
6237 VORBIS_MANDATORY
="yes"
6240 VORBIS_DIR
="${withval}"
6241 VORBIS_MANDATORY
="yes"
6253 VPB_DESCRIP
="Voicetronix API"
6256 # Check whether --with-vpb was given.
6257 if test "${with_vpb+set}" = set; then
6267 VPB_DIR
="${withval}"
6283 # Check whether --with-z was given.
6284 if test "${with_z+set}" = set; then
6291 ZLIB_MANDATORY
="yes"
6294 ZLIB_DIR
="${withval}"
6295 ZLIB_MANDATORY
="yes"
6307 ZAPTEL_DESCRIP
="Zaptel"
6308 ZAPTEL_OPTION
="zaptel"
6310 # Check whether --with-zaptel was given.
6311 if test "${with_zaptel+set}" = set; then
6312 withval
=$with_zaptel;
6318 ZAPTEL_MANDATORY
="yes"
6321 ZAPTEL_DIR
="${withval}"
6322 ZAPTEL_MANDATORY
="yes"
6334 # check for basic system features and functionality before
6335 # checking for package libraries
6339 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6340 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6341 if test "${ac_cv_path_GREP+set}" = set; then
6342 echo $ECHO_N "(cached) $ECHO_C" >&6
6344 # Extract the first word of "grep ggrep" to use in msg output
6345 if test -z "$GREP"; then
6346 set dummy
grep ggrep
; ac_prog_name
=$2
6347 if test "${ac_cv_path_GREP+set}" = set; then
6348 echo $ECHO_N "(cached) $ECHO_C" >&6
6350 ac_path_GREP_found
=false
6351 # Loop through the user's path and test for each of PROGNAME-LIST
6352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6353 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6356 test -z "$as_dir" && as_dir
=.
6357 for ac_prog
in grep ggrep
; do
6358 for ac_exec_ext
in '' $ac_executable_extensions; do
6359 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6360 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
6361 # Check for GNU ac_path_GREP and select it if it is found.
6362 # Check for GNU $ac_path_GREP
6363 case `"$ac_path_GREP" --version 2>&1` in
6365 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6368 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6371 cat "conftest.in" "conftest.in" >"conftest.tmp"
6372 mv "conftest.tmp" "conftest.in"
6373 cp "conftest.in" "conftest.nl"
6374 echo 'GREP' >> "conftest.nl"
6375 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6376 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6377 ac_count
=`expr $ac_count + 1`
6378 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6379 # Best one so far, save it but keep looking for a better one
6380 ac_cv_path_GREP
="$ac_path_GREP"
6381 ac_path_GREP_max
=$ac_count
6383 # 10*(2^10) chars as input seems more than enough
6384 test $ac_count -gt 10 && break
6386 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6390 $ac_path_GREP_found && break 3
6400 GREP
="$ac_cv_path_GREP"
6401 if test -z "$GREP"; then
6402 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6403 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6404 { (exit 1); exit 1; }; }
6408 ac_cv_path_GREP
=$GREP
6413 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6414 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6415 GREP
="$ac_cv_path_GREP"
6418 { echo "$as_me:$LINENO: checking for egrep" >&5
6419 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6420 if test "${ac_cv_path_EGREP+set}" = set; then
6421 echo $ECHO_N "(cached) $ECHO_C" >&6
6423 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6424 then ac_cv_path_EGREP
="$GREP -E"
6426 # Extract the first word of "egrep" to use in msg output
6427 if test -z "$EGREP"; then
6428 set dummy
egrep; ac_prog_name
=$2
6429 if test "${ac_cv_path_EGREP+set}" = set; then
6430 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 ac_path_EGREP_found
=false
6433 # Loop through the user's path and test for each of PROGNAME-LIST
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6435 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6438 test -z "$as_dir" && as_dir
=.
6439 for ac_prog
in egrep; do
6440 for ac_exec_ext
in '' $ac_executable_extensions; do
6441 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6442 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
6443 # Check for GNU ac_path_EGREP and select it if it is found.
6444 # Check for GNU $ac_path_EGREP
6445 case `"$ac_path_EGREP" --version 2>&1` in
6447 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6450 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6453 cat "conftest.in" "conftest.in" >"conftest.tmp"
6454 mv "conftest.tmp" "conftest.in"
6455 cp "conftest.in" "conftest.nl"
6456 echo 'EGREP' >> "conftest.nl"
6457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6458 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6459 ac_count
=`expr $ac_count + 1`
6460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6461 # Best one so far, save it but keep looking for a better one
6462 ac_cv_path_EGREP
="$ac_path_EGREP"
6463 ac_path_EGREP_max
=$ac_count
6465 # 10*(2^10) chars as input seems more than enough
6466 test $ac_count -gt 10 && break
6468 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6472 $ac_path_EGREP_found && break 3
6482 EGREP
="$ac_cv_path_EGREP"
6483 if test -z "$EGREP"; then
6484 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6485 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6486 { (exit 1); exit 1; }; }
6490 ac_cv_path_EGREP
=$EGREP
6496 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6497 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6498 EGREP
="$ac_cv_path_EGREP"
6501 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6503 if test "${ac_cv_header_stdc+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6506 cat >conftest.
$ac_ext <<_ACEOF
6509 cat confdefs.h
>>conftest.
$ac_ext
6510 cat >>conftest.
$ac_ext <<_ACEOF
6511 /* end confdefs.h. */
6525 rm -f conftest.
$ac_objext
6526 if { (ac_try
="$ac_compile"
6528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6529 *) ac_try_echo=$ac_try;;
6531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6532 (eval "$ac_compile") 2>conftest.er1
6534 grep -v '^ *+' conftest.er1 >conftest.err
6536 cat conftest.err >&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6540 { (case "(($ac_try" in
6541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6542 *) ac_try_echo
=$ac_try;;
6544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6545 (eval "$ac_try") 2>&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); }; } &&
6549 { ac_try
='test -s conftest.$ac_objext'
6550 { (case "(($ac_try" in
6551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6552 *) ac_try_echo=$ac_try;;
6554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6555 (eval "$ac_try") 2>&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; }; then
6559 ac_cv_header_stdc=yes
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6564 ac_cv_header_stdc=no
6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 if test $ac_cv_header_stdc = yes; then
6570 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6571 cat >conftest.$ac_ext <<_ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6581 $EGREP "memchr" >/dev/null 2>&1; then
6584 ac_cv_header_stdc=no
6590 if test $ac_cv_header_stdc = yes; then
6591 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6592 cat >conftest.$ac_ext <<_ACEOF
6595 cat confdefs.h >>conftest.$ac_ext
6596 cat >>conftest.$ac_ext <<_ACEOF
6597 /* end confdefs.h. */
6601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6602 $EGREP "free" >/dev/null 2>&1; then
6605 ac_cv_header_stdc=no
6611 if test $ac_cv_header_stdc = yes; then
6612 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6613 if test "$cross_compiling" = yes; then
6616 cat >conftest.$ac_ext <<_ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h. */
6624 #if ((' ' & 0x0FF) == 0x020)
6625 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6626 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6628 # define ISLOWER(c) \
6629 (('a' <= (c) && (c) <= 'i') \
6630 || ('j' <= (c) && (c) <= 'r') \
6631 || ('s' <= (c) && (c) <= 'z'))
6632 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6640 for (i = 0; i < 256; i++)
6641 if (XOR (islower (i), ISLOWER (i))
6642 || toupper (i) != TOUPPER (i))
6647 rm -f conftest$ac_exeext
6648 if { (ac_try="$ac_link"
6650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6651 *) ac_try_echo
=$ac_try;;
6653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6654 (eval "$ac_link") 2>&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6658 { (case "(($ac_try" in
6659 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6660 *) ac_try_echo=$ac_try;;
6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6663 (eval "$ac_try") 2>&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); }; }; then
6669 echo "$as_me: program exited with status $ac_status" >&5
6670 echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6674 ac_cv_header_stdc=no
6676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6682 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6683 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6684 if test $ac_cv_header_stdc = yes; then
6686 cat >>confdefs.h <<\_ACEOF
6687 #define STDC_HEADERS 1
6692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6703 inttypes.h stdint.h unistd.h
6705 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 cat >conftest.$ac_ext <<_ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 $ac_includes_default
6719 #include <$ac_header>
6721 rm -f conftest.$ac_objext
6722 if { (ac_try="$ac_compile"
6724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6725 *) ac_try_echo
=$ac_try;;
6727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6728 (eval "$ac_compile") 2>conftest.er1
6730 grep -v '^ *+' conftest.er1
>conftest.err
6732 cat conftest.err
>&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); } &&
6735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6736 { (case "(($ac_try" in
6737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6738 *) ac_try_echo=$ac_try;;
6740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6741 (eval "$ac_try") 2>&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; } &&
6745 { ac_try='test -s conftest.$ac_objext'
6746 { (case "(($ac_try" in
6747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6748 *) ac_try_echo
=$ac_try;;
6750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6751 (eval "$ac_try") 2>&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); }; }; then
6755 eval "$as_ac_Header=yes"
6757 echo "$as_me: failed program was:" >&5
6758 sed 's/^/| /' conftest.
$ac_ext >&5
6760 eval "$as_ac_Header=no"
6763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6765 ac_res
=`eval echo '${'$as_ac_Header'}'`
6766 { echo "$as_me:$LINENO: result: $ac_res" >&5
6767 echo "${ECHO_T}$ac_res" >&6; }
6768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6769 cat >>confdefs.h
<<_ACEOF
6770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6778 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6779 # for constant arguments. Useless!
6780 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
6781 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
6782 if test "${ac_cv_working_alloca_h+set}" = set; then
6783 echo $ECHO_N "(cached) $ECHO_C" >&6
6785 cat >conftest.
$ac_ext <<_ACEOF
6788 cat confdefs.h
>>conftest.
$ac_ext
6789 cat >>conftest.
$ac_ext <<_ACEOF
6790 /* end confdefs.h. */
6795 char *p = (char *) alloca (2 * sizeof (int));
6801 rm -f conftest.
$ac_objext conftest
$ac_exeext
6802 if { (ac_try
="$ac_link"
6804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6805 *) ac_try_echo=$ac_try;;
6807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6808 (eval "$ac_link") 2>conftest.er1
6810 grep -v '^ *+' conftest.er1 >conftest.err
6812 cat conftest.err >&5
6813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6814 (exit $ac_status); } &&
6815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6816 { (case "(($ac_try" in
6817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6818 *) ac_try_echo
=$ac_try;;
6820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6821 (eval "$ac_try") 2>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); }; } &&
6825 { ac_try
='test -s conftest$ac_exeext'
6826 { (case "(($ac_try" in
6827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6828 *) ac_try_echo=$ac_try;;
6830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6831 (eval "$ac_try") 2>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 ac_cv_working_alloca_h=yes
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6840 ac_cv_working_alloca_h=no
6843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6844 conftest$ac_exeext conftest.$ac_ext
6846 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
6847 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
6848 if test $ac_cv_working_alloca_h = yes; then
6850 cat >>confdefs.h <<\_ACEOF
6851 #define HAVE_ALLOCA_H 1
6856 { echo "$as_me:$LINENO: checking for alloca" >&5
6857 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
6858 if test "${ac_cv_func_alloca_works+set}" = set; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6861 cat >conftest.$ac_ext <<_ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6868 # define alloca __builtin_alloca
6871 # include <malloc.h>
6872 # define alloca _alloca
6874 # ifdef HAVE_ALLOCA_H
6875 # include <alloca.h>
6880 # ifndef alloca /* predefined by HP cc +Olibcalls */
6891 char *p = (char *) alloca (1);
6897 rm -f conftest.$ac_objext conftest$ac_exeext
6898 if { (ac_try="$ac_link"
6900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6901 *) ac_try_echo
=$ac_try;;
6903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6904 (eval "$ac_link") 2>conftest.er1
6906 grep -v '^ *+' conftest.er1
>conftest.err
6908 cat conftest.err
>&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } &&
6911 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6912 { (case "(($ac_try" in
6913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6914 *) ac_try_echo=$ac_try;;
6916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6917 (eval "$ac_try") 2>&5
6919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6920 (exit $ac_status); }; } &&
6921 { ac_try='test -s conftest$ac_exeext'
6922 { (case "(($ac_try" in
6923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6924 *) ac_try_echo
=$ac_try;;
6926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6927 (eval "$ac_try") 2>&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); }; }; then
6931 ac_cv_func_alloca_works
=yes
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.
$ac_ext >&5
6936 ac_cv_func_alloca_works
=no
6939 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6940 conftest
$ac_exeext conftest.
$ac_ext
6942 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
6943 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
6945 if test $ac_cv_func_alloca_works = yes; then
6947 cat >>confdefs.h
<<\_ACEOF
6948 #define HAVE_ALLOCA 1
6952 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6953 # that cause trouble. Some versions do not even contain alloca or
6954 # contain a buggy version. If you still want to use their alloca,
6955 # use ar to extract alloca.o from them instead of compiling alloca.c.
6957 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
6959 cat >>confdefs.h
<<\_ACEOF
6964 { echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
6965 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
6966 if test "${ac_cv_os_cray+set}" = set; then
6967 echo $ECHO_N "(cached) $ECHO_C" >&6
6969 cat >conftest.
$ac_ext <<_ACEOF
6972 cat confdefs.h
>>conftest.
$ac_ext
6973 cat >>conftest.
$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6975 #if defined CRAY && ! defined CRAY2
6982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6983 $EGREP "webecray" >/dev
/null
2>&1; then
6991 { echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
6992 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
6993 if test $ac_cv_os_cray = yes; then
6994 for ac_func
in _getb67 GETB67 getb67
; do
6995 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6996 { echo "$as_me:$LINENO: checking for $ac_func" >&5
6997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
6998 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6999 echo $ECHO_N "(cached) $ECHO_C" >&6
7001 cat >conftest.
$ac_ext <<_ACEOF
7004 cat confdefs.h
>>conftest.
$ac_ext
7005 cat >>conftest.
$ac_ext <<_ACEOF
7006 /* end confdefs.h. */
7007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7009 #define $ac_func innocuous_$ac_func
7011 /* System header to define __stub macros and hopefully few prototypes,
7012 which can conflict with char $ac_func (); below.
7013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7014 <limits.h> exists even on freestanding compilers. */
7017 # include <limits.h>
7019 # include <assert.h>
7024 /* Override any GCC internal prototype to avoid an error.
7025 Use char because int might match the return type of a GCC
7026 builtin and then its argument prototype would still apply. */
7031 /* The GNU C library defines this for functions which it implements
7032 to always fail with ENOSYS. Some functions are actually named
7033 something starting with __ and the normal name is an alias. */
7034 #if defined __stub_$ac_func || defined __stub___$ac_func
7046 rm -f conftest.
$ac_objext conftest
$ac_exeext
7047 if { (ac_try
="$ac_link"
7049 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7050 *) ac_try_echo=$ac_try;;
7052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7053 (eval "$ac_link") 2>conftest.er1
7055 grep -v '^ *+' conftest.er1 >conftest.err
7057 cat conftest.err >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); } &&
7060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7061 { (case "(($ac_try" in
7062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7063 *) ac_try_echo
=$ac_try;;
7065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7066 (eval "$ac_try") 2>&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try
='test -s conftest$ac_exeext'
7071 { (case "(($ac_try" in
7072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7073 *) ac_try_echo=$ac_try;;
7075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7076 (eval "$ac_try") 2>&5
7078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7079 (exit $ac_status); }; }; then
7080 eval "$as_ac_var=yes"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7085 eval "$as_ac_var=no"
7088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7089 conftest$ac_exeext conftest.$ac_ext
7091 ac_res=`eval echo '${'$as_ac_var'}'`
7092 { echo "$as_me:$LINENO: result: $ac_res" >&5
7093 echo "${ECHO_T}$ac_res" >&6; }
7094 if test `eval echo '${'$as_ac_var'}'` = yes; then
7096 cat >>confdefs.h <<_ACEOF
7097 #define CRAY_STACKSEG_END $ac_func
7106 { echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
7107 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
7108 if test "${ac_cv_c_stack_direction+set}" = set; then
7109 echo $ECHO_N "(cached) $ECHO_C" >&6
7111 if test "$cross_compiling" = yes; then
7112 ac_cv_c_stack_direction=0
7114 cat >conftest.$ac_ext <<_ACEOF
7117 cat confdefs.h >>conftest.$ac_ext
7118 cat >>conftest.$ac_ext <<_ACEOF
7119 /* end confdefs.h. */
7120 $ac_includes_default
7122 find_stack_direction ()
7124 static char *addr = 0;
7129 return find_stack_direction ();
7132 return (&dummy > addr) ? 1 : -1;
7138 return find_stack_direction () < 0;
7141 rm -f conftest$ac_exeext
7142 if { (ac_try="$ac_link"
7144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7145 *) ac_try_echo
=$ac_try;;
7147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7148 (eval "$ac_link") 2>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7152 { (case "(($ac_try" in
7153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7154 *) ac_try_echo=$ac_try;;
7156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7157 (eval "$ac_try") 2>&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7161 ac_cv_c_stack_direction=1
7163 echo "$as_me: program exited with status $ac_status" >&5
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7168 ac_cv_c_stack_direction=-1
7170 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7175 { echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
7176 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
7178 cat >>confdefs.h <<_ACEOF
7179 #define STACK_DIRECTION $ac_cv_c_stack_direction
7191 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
7192 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
7193 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
7194 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
7195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7196 echo $ECHO_N "(cached) $ECHO_C" >&6
7198 cat >conftest.$ac_ext <<_ACEOF
7201 cat confdefs.h >>conftest.$ac_ext
7202 cat >>conftest.$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7204 #include <sys/types.h>
7216 rm -f conftest.$ac_objext
7217 if { (ac_try="$ac_compile"
7219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7220 *) ac_try_echo
=$ac_try;;
7222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7223 (eval "$ac_compile") 2>conftest.er1
7225 grep -v '^ *+' conftest.er1
>conftest.err
7227 cat conftest.err
>&5
7228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229 (exit $ac_status); } &&
7230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7231 { (case "(($ac_try" in
7232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7236 (eval "$ac_try") 2>&5
7238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239 (exit $ac_status); }; } &&
7240 { ac_try='test -s conftest.$ac_objext'
7241 { (case "(($ac_try" in
7242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7243 *) ac_try_echo
=$ac_try;;
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246 (eval "$ac_try") 2>&5
7248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7249 (exit $ac_status); }; }; then
7250 eval "$as_ac_Header=yes"
7252 echo "$as_me: failed program was:" >&5
7253 sed 's/^/| /' conftest.
$ac_ext >&5
7255 eval "$as_ac_Header=no"
7258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7260 ac_res
=`eval echo '${'$as_ac_Header'}'`
7261 { echo "$as_me:$LINENO: result: $ac_res" >&5
7262 echo "${ECHO_T}$ac_res" >&6; }
7263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7264 cat >>confdefs.h
<<_ACEOF
7265 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
7268 ac_header_dirent
=$ac_hdr; break
7272 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
7273 if test $ac_header_dirent = dirent.h
; then
7274 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
7275 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
7276 if test "${ac_cv_search_opendir+set}" = set; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 ac_func_search_save_LIBS
=$LIBS
7280 cat >conftest.
$ac_ext <<_ACEOF
7283 cat confdefs.h
>>conftest.
$ac_ext
7284 cat >>conftest.
$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7287 /* Override any GCC internal prototype to avoid an error.
7288 Use char because int might match the return type of a GCC
7289 builtin and then its argument prototype would still apply. */
7302 for ac_lib
in '' dir
; do
7303 if test -z "$ac_lib"; then
7304 ac_res
="none required"
7307 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
7309 rm -f conftest.
$ac_objext conftest
$ac_exeext
7310 if { (ac_try
="$ac_link"
7312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7313 *) ac_try_echo=$ac_try;;
7315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7316 (eval "$ac_link") 2>conftest.er1
7318 grep -v '^ *+' conftest.er1 >conftest.err
7320 cat conftest.err >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } &&
7323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7324 { (case "(($ac_try" in
7325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7326 *) ac_try_echo
=$ac_try;;
7328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7329 (eval "$ac_try") 2>&5
7331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7332 (exit $ac_status); }; } &&
7333 { ac_try
='test -s conftest$ac_exeext'
7334 { (case "(($ac_try" in
7335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7336 *) ac_try_echo=$ac_try;;
7338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7339 (eval "$ac_try") 2>&5
7341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); }; }; then
7343 ac_cv_search_opendir=$ac_res
7345 echo "$as_me: failed program was:" >&5
7346 sed 's/^/| /' conftest.$ac_ext >&5
7351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7353 if test "${ac_cv_search_opendir+set}" = set; then
7357 if test "${ac_cv_search_opendir+set}" = set; then
7360 ac_cv_search_opendir=no
7363 LIBS=$ac_func_search_save_LIBS
7365 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7366 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
7367 ac_res=$ac_cv_search_opendir
7368 if test "$ac_res" != no; then
7369 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7374 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
7375 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
7376 if test "${ac_cv_search_opendir+set}" = set; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 ac_func_search_save_LIBS=$LIBS
7380 cat >conftest.$ac_ext <<_ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7387 /* Override any GCC internal prototype to avoid an error.
7388 Use char because int might match the return type of a GCC
7389 builtin and then its argument prototype would still apply. */
7402 for ac_lib in '' x; do
7403 if test -z "$ac_lib"; then
7404 ac_res="none required"
7407 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7409 rm -f conftest.$ac_objext conftest$ac_exeext
7410 if { (ac_try="$ac_link"
7412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7413 *) ac_try_echo
=$ac_try;;
7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7416 (eval "$ac_link") 2>conftest.er1
7418 grep -v '^ *+' conftest.er1
>conftest.err
7420 cat conftest.err
>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } &&
7423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7424 { (case "(($ac_try" in
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_try") 2>&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }; } &&
7433 { ac_try='test -s conftest$ac_exeext'
7434 { (case "(($ac_try" in
7435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7436 *) ac_try_echo
=$ac_try;;
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_try") 2>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; }; then
7443 ac_cv_search_opendir
=$ac_res
7445 echo "$as_me: failed program was:" >&5
7446 sed 's/^/| /' conftest.
$ac_ext >&5
7451 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7453 if test "${ac_cv_search_opendir+set}" = set; then
7457 if test "${ac_cv_search_opendir+set}" = set; then
7460 ac_cv_search_opendir
=no
7463 LIBS
=$ac_func_search_save_LIBS
7465 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7466 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
7467 ac_res
=$ac_cv_search_opendir
7468 if test "$ac_res" != no
; then
7469 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
7475 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7476 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7477 if test "${ac_cv_header_stdc+set}" = set; then
7478 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 cat >conftest.
$ac_ext <<_ACEOF
7483 cat confdefs.h
>>conftest.
$ac_ext
7484 cat >>conftest.
$ac_ext <<_ACEOF
7485 /* end confdefs.h. */
7499 rm -f conftest.
$ac_objext
7500 if { (ac_try
="$ac_compile"
7502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1 >conftest.err
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } &&
7513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7514 { (case "(($ac_try" in
7515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7516 *) ac_try_echo
=$ac_try;;
7518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7519 (eval "$ac_try") 2>&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); }; } &&
7523 { ac_try
='test -s conftest.$ac_objext'
7524 { (case "(($ac_try" in
7525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7526 *) ac_try_echo=$ac_try;;
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_try") 2>&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_header_stdc=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_cv_header_stdc=no
7541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7543 if test $ac_cv_header_stdc = yes; then
7544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7545 cat >conftest.$ac_ext <<_ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7555 $EGREP "memchr" >/dev/null 2>&1; then
7558 ac_cv_header_stdc=no
7564 if test $ac_cv_header_stdc = yes; then
7565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7566 cat >conftest.$ac_ext <<_ACEOF
7569 cat confdefs.h >>conftest.$ac_ext
7570 cat >>conftest.$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7576 $EGREP "free" >/dev/null 2>&1; then
7579 ac_cv_header_stdc=no
7585 if test $ac_cv_header_stdc = yes; then
7586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7587 if test "$cross_compiling" = yes; then
7590 cat >conftest.$ac_ext <<_ACEOF
7593 cat confdefs.h >>conftest.$ac_ext
7594 cat >>conftest.$ac_ext <<_ACEOF
7595 /* end confdefs.h. */
7598 #if ((' ' & 0x0FF) == 0x020)
7599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7602 # define ISLOWER(c) \
7603 (('a' <= (c) && (c) <= 'i') \
7604 || ('j' <= (c) && (c) <= 'r') \
7605 || ('s' <= (c) && (c) <= 'z'))
7606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7614 for (i = 0; i < 256; i++)
7615 if (XOR (islower (i), ISLOWER (i))
7616 || toupper (i) != TOUPPER (i))
7621 rm -f conftest$ac_exeext
7622 if { (ac_try="$ac_link"
7624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7625 *) ac_try_echo
=$ac_try;;
7627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7628 (eval "$ac_link") 2>&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7632 { (case "(($ac_try" in
7633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7634 *) ac_try_echo=$ac_try;;
7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7637 (eval "$ac_try") 2>&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; }; then
7643 echo "$as_me: program exited with status $ac_status" >&5
7644 echo "$as_me: failed program was:" >&5
7645 sed 's/^/| /' conftest.$ac_ext >&5
7648 ac_cv_header_stdc=no
7650 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7656 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7657 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7658 if test $ac_cv_header_stdc = yes; then
7660 cat >>confdefs.h <<\_ACEOF
7661 #define STDC_HEADERS 1
7666 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7667 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7668 if test "${ac_cv_header_sys_wait_h+set}" = set; then
7669 echo $ECHO_N "(cached) $ECHO_C" >&6
7671 cat >conftest.$ac_ext <<_ACEOF
7674 cat confdefs.h >>conftest.$ac_ext
7675 cat >>conftest.$ac_ext <<_ACEOF
7676 /* end confdefs.h. */
7677 #include <sys/types.h>
7678 #include <sys/wait.h>
7680 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7683 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7691 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7696 rm -f conftest.$ac_objext
7697 if { (ac_try="$ac_compile"
7699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7700 *) ac_try_echo
=$ac_try;;
7702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7703 (eval "$ac_compile") 2>conftest.er1
7705 grep -v '^ *+' conftest.er1
>conftest.err
7707 cat conftest.err
>&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); } &&
7710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7711 { (case "(($ac_try" in
7712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7713 *) ac_try_echo=$ac_try;;
7715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7716 (eval "$ac_try") 2>&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); }; } &&
7720 { ac_try='test -s conftest.$ac_objext'
7721 { (case "(($ac_try" in
7722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7723 *) ac_try_echo
=$ac_try;;
7725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7726 (eval "$ac_try") 2>&5
7728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7729 (exit $ac_status); }; }; then
7730 ac_cv_header_sys_wait_h
=yes
7732 echo "$as_me: failed program was:" >&5
7733 sed 's/^/| /' conftest.
$ac_ext >&5
7735 ac_cv_header_sys_wait_h
=no
7738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7740 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7741 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7742 if test $ac_cv_header_sys_wait_h = yes; then
7744 cat >>confdefs.h
<<\_ACEOF
7745 #define HAVE_SYS_WAIT_H 1
7773 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
7775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7776 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7777 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7779 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780 echo $ECHO_N "(cached) $ECHO_C" >&6
7782 ac_res
=`eval echo '${'$as_ac_Header'}'`
7783 { echo "$as_me:$LINENO: result: $ac_res" >&5
7784 echo "${ECHO_T}$ac_res" >&6; }
7786 # Is the header compilable?
7787 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7789 cat >conftest.
$ac_ext <<_ACEOF
7792 cat confdefs.h
>>conftest.
$ac_ext
7793 cat >>conftest.
$ac_ext <<_ACEOF
7794 /* end confdefs.h. */
7795 $ac_includes_default
7796 #include <$ac_header>
7798 rm -f conftest.
$ac_objext
7799 if { (ac_try
="$ac_compile"
7801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7802 *) ac_try_echo=$ac_try;;
7804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7805 (eval "$ac_compile") 2>conftest.er1
7807 grep -v '^ *+' conftest.er1 >conftest.err
7809 cat conftest.err >&5
7810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7811 (exit $ac_status); } &&
7812 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7813 { (case "(($ac_try" in
7814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7815 *) ac_try_echo
=$ac_try;;
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_try") 2>&5
7820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7821 (exit $ac_status); }; } &&
7822 { ac_try
='test -s conftest.$ac_objext'
7823 { (case "(($ac_try" in
7824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7825 *) ac_try_echo=$ac_try;;
7827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7828 (eval "$ac_try") 2>&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; }; then
7832 ac_header_compiler=yes
7834 echo "$as_me: failed program was:" >&5
7835 sed 's/^/| /' conftest.$ac_ext >&5
7837 ac_header_compiler=no
7840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7841 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7842 echo "${ECHO_T}$ac_header_compiler" >&6; }
7844 # Is the header present?
7845 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7846 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7847 cat >conftest.$ac_ext <<_ACEOF
7850 cat confdefs.h >>conftest.$ac_ext
7851 cat >>conftest.$ac_ext <<_ACEOF
7852 /* end confdefs.h. */
7853 #include <$ac_header>
7855 if { (ac_try="$ac_cpp conftest.$ac_ext"
7857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7858 *) ac_try_echo
=$ac_try;;
7860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7863 grep -v '^ *+' conftest.er1
>conftest.err
7865 cat conftest.err
>&5
7866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7867 (exit $ac_status); } >/dev
/null
; then
7868 if test -s conftest.err
; then
7869 ac_cpp_err
=$ac_c_preproc_warn_flag
7870 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7877 if test -z "$ac_cpp_err"; then
7878 ac_header_preproc
=yes
7880 echo "$as_me: failed program was:" >&5
7881 sed 's/^/| /' conftest.
$ac_ext >&5
7883 ac_header_preproc
=no
7886 rm -f conftest.err conftest.
$ac_ext
7887 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7888 echo "${ECHO_T}$ac_header_preproc" >&6; }
7890 # So? What about this header?
7891 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7896 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7897 ac_header_preproc
=yes
7900 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7901 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7902 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7903 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7904 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7905 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7906 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7907 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7910 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7911 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7915 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7917 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7920 eval "$as_ac_Header=\$ac_header_preproc"
7922 ac_res
=`eval echo '${'$as_ac_Header'}'`
7923 { echo "$as_me:$LINENO: result: $ac_res" >&5
7924 echo "${ECHO_T}$ac_res" >&6; }
7927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7928 cat >>confdefs.h
<<_ACEOF
7929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7937 # Check whether --enable-largefile was given.
7938 if test "${enable_largefile+set}" = set; then
7939 enableval
=$enable_largefile;
7942 if test "$enable_largefile" != no
; then
7944 { echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
7945 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6; }
7946 if test "${ac_cv_sys_largefile_CC+set}" = set; then
7947 echo $ECHO_N "(cached) $ECHO_C" >&6
7949 ac_cv_sys_largefile_CC
=no
7950 if test "$GCC" != yes; then
7953 # IRIX 6.2 and later do not support large files by default,
7954 # so use the C compiler's -n32 option if that helps.
7955 cat >conftest.
$ac_ext <<_ACEOF
7958 cat confdefs.h
>>conftest.
$ac_ext
7959 cat >>conftest.
$ac_ext <<_ACEOF
7960 /* end confdefs.h. */
7961 #include <sys/types.h>
7962 /* Check that off_t can represent 2**63 - 1 correctly.
7963 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7964 since some C++ compilers masquerading as C compilers
7965 incorrectly reject 9223372036854775807. */
7966 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7967 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7968 && LARGE_OFF_T % 2147483647 == 1)
7978 rm -f conftest.
$ac_objext
7979 if { (ac_try
="$ac_compile"
7981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7982 *) ac_try_echo=$ac_try;;
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_compile") 2>conftest.er1
7987 grep -v '^ *+' conftest.er1 >conftest.err
7989 cat conftest.err >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } &&
7992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7993 { (case "(($ac_try" in
7994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7995 *) ac_try_echo
=$ac_try;;
7997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7998 (eval "$ac_try") 2>&5
8000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8001 (exit $ac_status); }; } &&
8002 { ac_try
='test -s conftest.$ac_objext'
8003 { (case "(($ac_try" in
8004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8005 *) ac_try_echo=$ac_try;;
8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8008 (eval "$ac_try") 2>&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); }; }; then
8014 echo "$as_me: failed program was:" >&5
8015 sed 's/^/| /' conftest.$ac_ext >&5
8020 rm -f core conftest.err conftest.$ac_objext
8022 rm -f conftest.$ac_objext
8023 if { (ac_try="$ac_compile"
8025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8026 *) ac_try_echo
=$ac_try;;
8028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8029 (eval "$ac_compile") 2>conftest.er1
8031 grep -v '^ *+' conftest.er1
>conftest.err
8033 cat conftest.err
>&5
8034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8035 (exit $ac_status); } &&
8036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8037 { (case "(($ac_try" in
8038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8039 *) ac_try_echo=$ac_try;;
8041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8042 (eval "$ac_try") 2>&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; } &&
8046 { ac_try='test -s conftest.$ac_objext'
8047 { (case "(($ac_try" in
8048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8049 *) ac_try_echo
=$ac_try;;
8051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8052 (eval "$ac_try") 2>&5
8054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8055 (exit $ac_status); }; }; then
8056 ac_cv_sys_largefile_CC
=' -n32'; break
8058 echo "$as_me: failed program was:" >&5
8059 sed 's/^/| /' conftest.
$ac_ext >&5
8064 rm -f core conftest.err conftest.
$ac_objext
8068 rm -f conftest.
$ac_ext
8071 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
8072 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
8073 if test "$ac_cv_sys_largefile_CC" != no
; then
8074 CC
=$CC$ac_cv_sys_largefile_CC
8077 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
8078 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
8079 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
8080 echo $ECHO_N "(cached) $ECHO_C" >&6
8083 ac_cv_sys_file_offset_bits
=no
8084 cat >conftest.
$ac_ext <<_ACEOF
8087 cat confdefs.h
>>conftest.
$ac_ext
8088 cat >>conftest.
$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8090 #include <sys/types.h>
8091 /* Check that off_t can represent 2**63 - 1 correctly.
8092 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8093 since some C++ compilers masquerading as C compilers
8094 incorrectly reject 9223372036854775807. */
8095 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8096 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8097 && LARGE_OFF_T % 2147483647 == 1)
8107 rm -f conftest.
$ac_objext
8108 if { (ac_try
="$ac_compile"
8110 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8111 *) ac_try_echo=$ac_try;;
8113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8114 (eval "$ac_compile") 2>conftest.er1
8116 grep -v '^ *+' conftest.er1 >conftest.err
8118 cat conftest.err >&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8122 { (case "(($ac_try" in
8123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8124 *) ac_try_echo
=$ac_try;;
8126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8127 (eval "$ac_try") 2>&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); }; } &&
8131 { ac_try
='test -s conftest.$ac_objext'
8132 { (case "(($ac_try" in
8133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8134 *) ac_try_echo=$ac_try;;
8136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8137 (eval "$ac_try") 2>&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); }; }; then
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8150 cat >conftest.$ac_ext <<_ACEOF
8153 cat confdefs.h >>conftest.$ac_ext
8154 cat >>conftest.$ac_ext <<_ACEOF
8155 /* end confdefs.h. */
8156 #define _FILE_OFFSET_BITS 64
8157 #include <sys/types.h>
8158 /* Check that off_t can represent 2**63 - 1 correctly.
8159 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8160 since some C++ compilers masquerading as C compilers
8161 incorrectly reject 9223372036854775807. */
8162 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8163 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8164 && LARGE_OFF_T % 2147483647 == 1)
8174 rm -f conftest.$ac_objext
8175 if { (ac_try="$ac_compile"
8177 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8178 *) ac_try_echo
=$ac_try;;
8180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8181 (eval "$ac_compile") 2>conftest.er1
8183 grep -v '^ *+' conftest.er1
>conftest.err
8185 cat conftest.err
>&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } &&
8188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8189 { (case "(($ac_try" in
8190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8191 *) ac_try_echo=$ac_try;;
8193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8194 (eval "$ac_try") 2>&5
8196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }; } &&
8198 { ac_try='test -s conftest.$ac_objext'
8199 { (case "(($ac_try" in
8200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8201 *) ac_try_echo
=$ac_try;;
8203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8204 (eval "$ac_try") 2>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 ac_cv_sys_file_offset_bits
=64; break
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.
$ac_ext >&5
8216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8220 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
8221 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
8222 if test "$ac_cv_sys_file_offset_bits" != no
; then
8224 cat >>confdefs.h
<<_ACEOF
8225 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
8230 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
8231 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
8232 if test "${ac_cv_sys_large_files+set}" = set; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8236 ac_cv_sys_large_files
=no
8237 cat >conftest.
$ac_ext <<_ACEOF
8240 cat confdefs.h
>>conftest.
$ac_ext
8241 cat >>conftest.
$ac_ext <<_ACEOF
8242 /* end confdefs.h. */
8243 #include <sys/types.h>
8244 /* Check that off_t can represent 2**63 - 1 correctly.
8245 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8246 since some C++ compilers masquerading as C compilers
8247 incorrectly reject 9223372036854775807. */
8248 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8249 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8250 && LARGE_OFF_T % 2147483647 == 1)
8260 rm -f conftest.
$ac_objext
8261 if { (ac_try
="$ac_compile"
8263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8264 *) ac_try_echo=$ac_try;;
8266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 (eval "$ac_compile") 2>conftest.er1
8269 grep -v '^ *+' conftest.er1 >conftest.err
8271 cat conftest.err >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); } &&
8274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8275 { (case "(($ac_try" in
8276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8277 *) ac_try_echo
=$ac_try;;
8279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8280 (eval "$ac_try") 2>&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; } &&
8284 { ac_try
='test -s conftest.$ac_objext'
8285 { (case "(($ac_try" in
8286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8287 *) ac_try_echo=$ac_try;;
8289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8290 (eval "$ac_try") 2>&5
8292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8293 (exit $ac_status); }; }; then
8296 echo "$as_me: failed program was:" >&5
8297 sed 's/^/| /' conftest.$ac_ext >&5
8302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8303 cat >conftest.$ac_ext <<_ACEOF
8306 cat confdefs.h >>conftest.$ac_ext
8307 cat >>conftest.$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8309 #define _LARGE_FILES 1
8310 #include <sys/types.h>
8311 /* Check that off_t can represent 2**63 - 1 correctly.
8312 We can't simply define LARGE_OFF_T to be 9223372036854775807,
8313 since some C++ compilers masquerading as C compilers
8314 incorrectly reject 9223372036854775807. */
8315 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
8316 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
8317 && LARGE_OFF_T % 2147483647 == 1)
8327 rm -f conftest.$ac_objext
8328 if { (ac_try="$ac_compile"
8330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8331 *) ac_try_echo
=$ac_try;;
8333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8334 (eval "$ac_compile") 2>conftest.er1
8336 grep -v '^ *+' conftest.er1
>conftest.err
8338 cat conftest.err
>&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } &&
8341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8342 { (case "(($ac_try" in
8343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8344 *) ac_try_echo=$ac_try;;
8346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8347 (eval "$ac_try") 2>&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; } &&
8351 { ac_try='test -s conftest.$ac_objext'
8352 { (case "(($ac_try" in
8353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8354 *) ac_try_echo
=$ac_try;;
8356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8357 (eval "$ac_try") 2>&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); }; }; then
8361 ac_cv_sys_large_files
=1; break
8363 echo "$as_me: failed program was:" >&5
8364 sed 's/^/| /' conftest.
$ac_ext >&5
8369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8373 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
8374 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
8375 if test "$ac_cv_sys_large_files" != no
; then
8377 cat >>confdefs.h
<<_ACEOF
8378 #define _LARGE_FILES $ac_cv_sys_large_files
8386 # Checks for typedefs, structures, and compiler characteristics.
8387 { echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
8388 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6; }
8389 if test "${ac_cv_header_stdbool_h+set}" = set; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8392 cat >conftest.
$ac_ext <<_ACEOF
8395 cat confdefs.h
>>conftest.
$ac_ext
8396 cat >>conftest.
$ac_ext <<_ACEOF
8397 /* end confdefs.h. */
8399 #include <stdbool.h>
8401 "error: bool is not defined"
8404 "error: false is not defined"
8407 "error: false is not 0"
8410 "error: true is not defined"
8413 "error: true is not 1"
8415 #ifndef __bool_true_false_are_defined
8416 "error: __bool_true_false_are_defined is not defined"
8419 struct s { _Bool s: 1; _Bool t; } s;
8421 char a[true == 1 ? 1 : -1];
8422 char b[false == 0 ? 1 : -1];
8423 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
8424 char d[(bool) 0.5 == true ? 1 : -1];
8426 char f[(_Bool) 0.0 == false ? 1 : -1];
8428 char h[sizeof (_Bool)];
8430 enum { j = false, k = true, l = false * true, m = true * 256 };
8432 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
8433 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
8434 # if defined __xlc__ || defined __GNUC__
8435 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
8436 reported by James Lemley on 2005-10-05; see
8437 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
8438 This test is not quite right, since xlc is allowed to
8439 reject this program, as the initializer for xlcbug is
8440 not one of the forms that C requires support for.
8441 However, doing the test right would require a runtime
8442 test, and that would make cross-compilation harder.
8443 Let us hope that IBM fixes the xlc bug, and also adds
8444 support for this kind of constant expression. In the
8445 meantime, this test will reject xlc, which is OK, since
8446 our stdbool.h substitute should suffice. We also test
8447 this with GCC, where it should work, to detect more
8448 quickly whether someone messes up the test in the
8450 char digs[] = "0123456789";
8451 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
8453 /* Catch a bug in an HP-UX C compiler. See
8454 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
8455 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
8466 /* Refer to every declared value, to avoid compiler optimizations. */
8467 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
8468 + !m + !n + !o + !p + !q + !pq);
8474 rm -f conftest.
$ac_objext
8475 if { (ac_try
="$ac_compile"
8477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8478 *) ac_try_echo=$ac_try;;
8480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8481 (eval "$ac_compile") 2>conftest.er1
8483 grep -v '^ *+' conftest.er1 >conftest.err
8485 cat conftest.err >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } &&
8488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8489 { (case "(($ac_try" in
8490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8491 *) ac_try_echo
=$ac_try;;
8493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8494 (eval "$ac_try") 2>&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; } &&
8498 { ac_try
='test -s conftest.$ac_objext'
8499 { (case "(($ac_try" in
8500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8501 *) ac_try_echo=$ac_try;;
8503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8504 (eval "$ac_try") 2>&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); }; }; then
8508 ac_cv_header_stdbool_h=yes
8510 echo "$as_me: failed program was:" >&5
8511 sed 's/^/| /' conftest.$ac_ext >&5
8513 ac_cv_header_stdbool_h=no
8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518 { echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
8519 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
8520 { echo "$as_me:$LINENO: checking for _Bool" >&5
8521 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6; }
8522 if test "${ac_cv_type__Bool+set}" = set; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8525 cat >conftest.$ac_ext <<_ACEOF
8528 cat confdefs.h >>conftest.$ac_ext
8529 cat >>conftest.$ac_ext <<_ACEOF
8530 /* end confdefs.h. */
8531 $ac_includes_default
8532 typedef _Bool ac__type_new_;
8536 if ((ac__type_new_ *) 0)
8538 if (sizeof (ac__type_new_))
8544 rm -f conftest.$ac_objext
8545 if { (ac_try="$ac_compile"
8547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8548 *) ac_try_echo
=$ac_try;;
8550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8551 (eval "$ac_compile") 2>conftest.er1
8553 grep -v '^ *+' conftest.er1
>conftest.err
8555 cat conftest.err
>&5
8556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8557 (exit $ac_status); } &&
8558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8559 { (case "(($ac_try" in
8560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8561 *) ac_try_echo=$ac_try;;
8563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8564 (eval "$ac_try") 2>&5
8566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8567 (exit $ac_status); }; } &&
8568 { ac_try='test -s conftest.$ac_objext'
8569 { (case "(($ac_try" in
8570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8571 *) ac_try_echo
=$ac_try;;
8573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8574 (eval "$ac_try") 2>&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 (exit $ac_status); }; }; then
8578 ac_cv_type__Bool
=yes
8580 echo "$as_me: failed program was:" >&5
8581 sed 's/^/| /' conftest.
$ac_ext >&5
8586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8588 { echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
8589 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
8590 if test $ac_cv_type__Bool = yes; then
8592 cat >>confdefs.h
<<_ACEOF
8593 #define HAVE__BOOL 1
8599 if test $ac_cv_header_stdbool_h = yes; then
8601 cat >>confdefs.h
<<\_ACEOF
8602 #define HAVE_STDBOOL_H 1
8607 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
8608 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
8609 if test "${ac_cv_c_const+set}" = set; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 cat >conftest.
$ac_ext <<_ACEOF
8615 cat confdefs.h
>>conftest.
$ac_ext
8616 cat >>conftest.
$ac_ext <<_ACEOF
8617 /* end confdefs.h. */
8622 /* FIXME: Include the comments suggested by Paul. */
8624 /* Ultrix mips cc rejects this. */
8625 typedef int charset[2];
8627 /* SunOS 4.1.1 cc rejects this. */
8628 char const *const *pcpcc;
8630 /* NEC SVR4.0.2 mips cc rejects this. */
8631 struct point {int x, y;};
8632 static struct point const zero = {0,0};
8633 /* AIX XL C 1.02.0.0 rejects this.
8634 It does not let you subtract one const X* pointer from another in
8635 an arm of an if-expression whose if-part is not a constant
8637 const char *g = "string";
8638 pcpcc = &g + (g ? g-g : 0);
8639 /* HPUX 7.0 cc rejects these. */
8641 ppc = (char**) pcpcc;
8642 pcpcc = (char const *const *) ppc;
8643 { /* SCO 3.2v4 cc rejects this. */
8645 char const *s = 0 ? (char *) 0 : (char const *) 0;
8650 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8652 const int *foo = &x[0];
8655 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8656 typedef const int *iptr;
8660 { /* AIX XL C 1.02.0.0 rejects this saying
8661 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8662 struct s { int j; const int *ap[3]; };
8663 struct s *b; b->j = 5;
8665 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8669 return !cs[0] && !zero.x;
8676 rm -f conftest.
$ac_objext
8677 if { (ac_try
="$ac_compile"
8679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8680 *) ac_try_echo=$ac_try;;
8682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8683 (eval "$ac_compile") 2>conftest.er1
8685 grep -v '^ *+' conftest.er1 >conftest.err
8687 cat conftest.err >&5
8688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689 (exit $ac_status); } &&
8690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8691 { (case "(($ac_try" in
8692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8693 *) ac_try_echo
=$ac_try;;
8695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8696 (eval "$ac_try") 2>&5
8698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8699 (exit $ac_status); }; } &&
8700 { ac_try
='test -s conftest.$ac_objext'
8701 { (case "(($ac_try" in
8702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8703 *) ac_try_echo=$ac_try;;
8705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8706 (eval "$ac_try") 2>&5
8708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709 (exit $ac_status); }; }; then
8712 echo "$as_me: failed program was:" >&5
8713 sed 's/^/| /' conftest.$ac_ext >&5
8718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8720 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
8721 echo "${ECHO_T}$ac_cv_c_const" >&6; }
8722 if test $ac_cv_c_const = no; then
8724 cat >>confdefs.h <<\_ACEOF
8730 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
8731 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
8732 if test "${ac_cv_type_uid_t+set}" = set; then
8733 echo $ECHO_N "(cached) $ECHO_C" >&6
8735 cat >conftest.$ac_ext <<_ACEOF
8738 cat confdefs.h >>conftest.$ac_ext
8739 cat >>conftest.$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8741 #include <sys/types.h>
8744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8745 $EGREP "uid_t" >/dev/null 2>&1; then
8746 ac_cv_type_uid_t=yes
8753 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
8754 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
8755 if test $ac_cv_type_uid_t = no; then
8757 cat >>confdefs.h <<\_ACEOF
8762 cat >>confdefs.h <<\_ACEOF
8768 { echo "$as_me:$LINENO: checking for inline" >&5
8769 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
8770 if test "${ac_cv_c_inline+set}" = set; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8774 for ac_kw in inline __inline__ __inline; do
8775 cat >conftest.$ac_ext <<_ACEOF
8778 cat confdefs.h >>conftest.$ac_ext
8779 cat >>conftest.$ac_ext <<_ACEOF
8780 /* end confdefs.h. */
8783 static $ac_kw foo_t static_foo () {return 0; }
8784 $ac_kw foo_t foo () {return 0; }
8788 rm -f conftest.$ac_objext
8789 if { (ac_try="$ac_compile"
8791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8792 *) ac_try_echo
=$ac_try;;
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795 (eval "$ac_compile") 2>conftest.er1
8797 grep -v '^ *+' conftest.er1
>conftest.err
8799 cat conftest.err
>&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); } &&
8802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8803 { (case "(($ac_try" in
8804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8805 *) ac_try_echo=$ac_try;;
8807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8808 (eval "$ac_try") 2>&5
8810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8811 (exit $ac_status); }; } &&
8812 { ac_try='test -s conftest.$ac_objext'
8813 { (case "(($ac_try" in
8814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8815 *) ac_try_echo
=$ac_try;;
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_try") 2>&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; }; then
8822 ac_cv_c_inline
=$ac_kw
8824 echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.
$ac_ext >&5
8830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8831 test "$ac_cv_c_inline" != no
&& break
8835 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8836 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8839 case $ac_cv_c_inline in
8842 case $ac_cv_c_inline in
8844 *) ac_val
=$ac_cv_c_inline;;
8846 cat >>confdefs.h
<<_ACEOF
8848 #define inline $ac_val
8854 { echo "$as_me:$LINENO: checking for mode_t" >&5
8855 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8856 if test "${ac_cv_type_mode_t+set}" = set; then
8857 echo $ECHO_N "(cached) $ECHO_C" >&6
8859 cat >conftest.
$ac_ext <<_ACEOF
8862 cat confdefs.h
>>conftest.
$ac_ext
8863 cat >>conftest.
$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8865 $ac_includes_default
8866 typedef mode_t ac__type_new_;
8870 if ((ac__type_new_ *) 0)
8872 if (sizeof (ac__type_new_))
8878 rm -f conftest.
$ac_objext
8879 if { (ac_try
="$ac_compile"
8881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8882 *) ac_try_echo=$ac_try;;
8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8885 (eval "$ac_compile") 2>conftest.er1
8887 grep -v '^ *+' conftest.er1 >conftest.err
8889 cat conftest.err >&5
8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891 (exit $ac_status); } &&
8892 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8893 { (case "(($ac_try" in
8894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8895 *) ac_try_echo
=$ac_try;;
8897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8898 (eval "$ac_try") 2>&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; } &&
8902 { ac_try
='test -s conftest.$ac_objext'
8903 { (case "(($ac_try" in
8904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8905 *) ac_try_echo=$ac_try;;
8907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8908 (eval "$ac_try") 2>&5
8910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8911 (exit $ac_status); }; }; then
8912 ac_cv_type_mode_t=yes
8914 echo "$as_me: failed program was:" >&5
8915 sed 's/^/| /' conftest.$ac_ext >&5
8917 ac_cv_type_mode_t=no
8920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8922 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
8923 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
8924 if test $ac_cv_type_mode_t = yes; then
8928 cat >>confdefs.h <<_ACEOF
8934 { echo "$as_me:$LINENO: checking for off_t" >&5
8935 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
8936 if test "${ac_cv_type_off_t+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 cat >conftest.$ac_ext <<_ACEOF
8942 cat confdefs.h >>conftest.$ac_ext
8943 cat >>conftest.$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8945 $ac_includes_default
8946 typedef off_t ac__type_new_;
8950 if ((ac__type_new_ *) 0)
8952 if (sizeof (ac__type_new_))
8958 rm -f conftest.$ac_objext
8959 if { (ac_try="$ac_compile"
8961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8962 *) ac_try_echo
=$ac_try;;
8964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8965 (eval "$ac_compile") 2>conftest.er1
8967 grep -v '^ *+' conftest.er1
>conftest.err
8969 cat conftest.err
>&5
8970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8971 (exit $ac_status); } &&
8972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8973 { (case "(($ac_try" in
8974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8975 *) ac_try_echo=$ac_try;;
8977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8978 (eval "$ac_try") 2>&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); }; } &&
8982 { ac_try='test -s conftest.$ac_objext'
8983 { (case "(($ac_try" in
8984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8985 *) ac_try_echo
=$ac_try;;
8987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8988 (eval "$ac_try") 2>&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); }; }; then
8992 ac_cv_type_off_t
=yes
8994 echo "$as_me: failed program was:" >&5
8995 sed 's/^/| /' conftest.
$ac_ext >&5
9000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9002 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
9003 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
9004 if test $ac_cv_type_off_t = yes; then
9008 cat >>confdefs.h
<<_ACEOF
9009 #define off_t long int
9014 { echo "$as_me:$LINENO: checking for pid_t" >&5
9015 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
9016 if test "${ac_cv_type_pid_t+set}" = set; then
9017 echo $ECHO_N "(cached) $ECHO_C" >&6
9019 cat >conftest.
$ac_ext <<_ACEOF
9022 cat confdefs.h
>>conftest.
$ac_ext
9023 cat >>conftest.
$ac_ext <<_ACEOF
9024 /* end confdefs.h. */
9025 $ac_includes_default
9026 typedef pid_t ac__type_new_;
9030 if ((ac__type_new_ *) 0)
9032 if (sizeof (ac__type_new_))
9038 rm -f conftest.
$ac_objext
9039 if { (ac_try
="$ac_compile"
9041 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_compile") 2>conftest.er1
9047 grep -v '^ *+' conftest.er1 >conftest.err
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } &&
9052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9053 { (case "(($ac_try" in
9054 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9055 *) ac_try_echo
=$ac_try;;
9057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9058 (eval "$ac_try") 2>&5
9060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061 (exit $ac_status); }; } &&
9062 { ac_try
='test -s conftest.$ac_objext'
9063 { (case "(($ac_try" in
9064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9065 *) ac_try_echo=$ac_try;;
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_try") 2>&5
9070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); }; }; then
9072 ac_cv_type_pid_t=yes
9074 echo "$as_me: failed program was:" >&5
9075 sed 's/^/| /' conftest.$ac_ext >&5
9080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9082 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
9083 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
9084 if test $ac_cv_type_pid_t = yes; then
9088 cat >>confdefs.h <<_ACEOF
9094 { echo "$as_me:$LINENO: checking for size_t" >&5
9095 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9096 if test "${ac_cv_type_size_t+set}" = set; then
9097 echo $ECHO_N "(cached) $ECHO_C" >&6
9099 cat >conftest.$ac_ext <<_ACEOF
9102 cat confdefs.h >>conftest.$ac_ext
9103 cat >>conftest.$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9105 $ac_includes_default
9106 typedef size_t ac__type_new_;
9110 if ((ac__type_new_ *) 0)
9112 if (sizeof (ac__type_new_))
9118 rm -f conftest.$ac_objext
9119 if { (ac_try="$ac_compile"
9121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9122 *) ac_try_echo
=$ac_try;;
9124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9125 (eval "$ac_compile") 2>conftest.er1
9127 grep -v '^ *+' conftest.er1
>conftest.err
9129 cat conftest.err
>&5
9130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9131 (exit $ac_status); } &&
9132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9133 { (case "(($ac_try" in
9134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9135 *) ac_try_echo=$ac_try;;
9137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9138 (eval "$ac_try") 2>&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); }; } &&
9142 { ac_try='test -s conftest.$ac_objext'
9143 { (case "(($ac_try" in
9144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9145 *) ac_try_echo
=$ac_try;;
9147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9148 (eval "$ac_try") 2>&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 ac_cv_type_size_t
=yes
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.
$ac_ext >&5
9157 ac_cv_type_size_t
=no
9160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9162 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9163 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9164 if test $ac_cv_type_size_t = yes; then
9168 cat >>confdefs.h
<<_ACEOF
9169 #define size_t unsigned int
9174 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9175 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
9176 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9177 echo $ECHO_N "(cached) $ECHO_C" >&6
9179 cat >conftest.
$ac_ext <<_ACEOF
9182 cat confdefs.h
>>conftest.
$ac_ext
9183 cat >>conftest.
$ac_ext <<_ACEOF
9184 /* end confdefs.h. */
9185 $ac_includes_default
9189 static struct stat ac_aggr;
9190 if (ac_aggr.st_blksize)
9196 rm -f conftest.
$ac_objext
9197 if { (ac_try
="$ac_compile"
9199 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9200 *) ac_try_echo=$ac_try;;
9202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9203 (eval "$ac_compile") 2>conftest.er1
9205 grep -v '^ *+' conftest.er1 >conftest.err
9207 cat conftest.err >&5
9208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9209 (exit $ac_status); } &&
9210 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9211 { (case "(($ac_try" in
9212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9213 *) ac_try_echo
=$ac_try;;
9215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9216 (eval "$ac_try") 2>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); }; } &&
9220 { ac_try
='test -s conftest.$ac_objext'
9221 { (case "(($ac_try" in
9222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9223 *) ac_try_echo=$ac_try;;
9225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9226 (eval "$ac_try") 2>&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; }; then
9230 ac_cv_member_struct_stat_st_blksize=yes
9232 echo "$as_me: failed program was:" >&5
9233 sed 's/^/| /' conftest.$ac_ext >&5
9235 cat >conftest.$ac_ext <<_ACEOF
9238 cat confdefs.h >>conftest.$ac_ext
9239 cat >>conftest.$ac_ext <<_ACEOF
9240 /* end confdefs.h. */
9241 $ac_includes_default
9245 static struct stat ac_aggr;
9246 if (sizeof ac_aggr.st_blksize)
9252 rm -f conftest.$ac_objext
9253 if { (ac_try="$ac_compile"
9255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9256 *) ac_try_echo
=$ac_try;;
9258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9259 (eval "$ac_compile") 2>conftest.er1
9261 grep -v '^ *+' conftest.er1
>conftest.err
9263 cat conftest.err
>&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); } &&
9266 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9267 { (case "(($ac_try" in
9268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9269 *) ac_try_echo=$ac_try;;
9271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9272 (eval "$ac_try") 2>&5
9274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9275 (exit $ac_status); }; } &&
9276 { ac_try='test -s conftest.$ac_objext'
9277 { (case "(($ac_try" in
9278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9279 *) ac_try_echo
=$ac_try;;
9281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9282 (eval "$ac_try") 2>&5
9284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9285 (exit $ac_status); }; }; then
9286 ac_cv_member_struct_stat_st_blksize
=yes
9288 echo "$as_me: failed program was:" >&5
9289 sed 's/^/| /' conftest.
$ac_ext >&5
9291 ac_cv_member_struct_stat_st_blksize
=no
9294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9299 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9300 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
9301 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9303 cat >>confdefs.h
<<_ACEOF
9304 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9310 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9311 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
9312 if test "${ac_cv_header_time+set}" = set; then
9313 echo $ECHO_N "(cached) $ECHO_C" >&6
9315 cat >conftest.
$ac_ext <<_ACEOF
9318 cat confdefs.h
>>conftest.
$ac_ext
9319 cat >>conftest.
$ac_ext <<_ACEOF
9320 /* end confdefs.h. */
9321 #include <sys/types.h>
9322 #include <sys/time.h>
9328 if ((struct tm *) 0)
9334 rm -f conftest.
$ac_objext
9335 if { (ac_try
="$ac_compile"
9337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9338 *) ac_try_echo=$ac_try;;
9340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9341 (eval "$ac_compile") 2>conftest.er1
9343 grep -v '^ *+' conftest.er1 >conftest.err
9345 cat conftest.err >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); } &&
9348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9349 { (case "(($ac_try" in
9350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9351 *) ac_try_echo
=$ac_try;;
9353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9354 (eval "$ac_try") 2>&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; } &&
9358 { ac_try
='test -s conftest.$ac_objext'
9359 { (case "(($ac_try" in
9360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9361 *) ac_try_echo=$ac_try;;
9363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9364 (eval "$ac_try") 2>&5
9366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367 (exit $ac_status); }; }; then
9368 ac_cv_header_time=yes
9370 echo "$as_me: failed program was:" >&5
9371 sed 's/^/| /' conftest.$ac_ext >&5
9373 ac_cv_header_time=no
9376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9378 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9379 echo "${ECHO_T}$ac_cv_header_time" >&6; }
9380 if test $ac_cv_header_time = yes; then
9382 cat >>confdefs.h <<\_ACEOF
9383 #define TIME_WITH_SYS_TIME 1
9388 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9389 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
9390 if test "${ac_cv_struct_tm+set}" = set; then
9391 echo $ECHO_N "(cached) $ECHO_C" >&6
9393 cat >conftest.$ac_ext <<_ACEOF
9396 cat confdefs.h >>conftest.$ac_ext
9397 cat >>conftest.$ac_ext <<_ACEOF
9398 /* end confdefs.h. */
9399 #include <sys/types.h>
9405 struct tm *tp; tp->tm_sec;
9410 rm -f conftest.$ac_objext
9411 if { (ac_try="$ac_compile"
9413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9414 *) ac_try_echo
=$ac_try;;
9416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9417 (eval "$ac_compile") 2>conftest.er1
9419 grep -v '^ *+' conftest.er1
>conftest.err
9421 cat conftest.err
>&5
9422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9423 (exit $ac_status); } &&
9424 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9425 { (case "(($ac_try" in
9426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9427 *) ac_try_echo=$ac_try;;
9429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9430 (eval "$ac_try") 2>&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); }; } &&
9434 { ac_try='test -s conftest.$ac_objext'
9435 { (case "(($ac_try" in
9436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9437 *) ac_try_echo
=$ac_try;;
9439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9440 (eval "$ac_try") 2>&5
9442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443 (exit $ac_status); }; }; then
9444 ac_cv_struct_tm
=time.h
9446 echo "$as_me: failed program was:" >&5
9447 sed 's/^/| /' conftest.
$ac_ext >&5
9449 ac_cv_struct_tm
=sys
/time.h
9452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9454 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
9455 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
9456 if test $ac_cv_struct_tm = sys
/time.h
; then
9458 cat >>confdefs.h
<<\_ACEOF
9459 #define TM_IN_SYS_TIME 1
9464 { echo "$as_me:$LINENO: checking for working volatile" >&5
9465 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6; }
9466 if test "${ac_cv_c_volatile+set}" = set; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 cat >conftest.
$ac_ext <<_ACEOF
9472 cat confdefs.h
>>conftest.
$ac_ext
9473 cat >>conftest.
$ac_ext <<_ACEOF
9474 /* end confdefs.h. */
9481 int * volatile y = (int *) 0;
9487 rm -f conftest.
$ac_objext
9488 if { (ac_try
="$ac_compile"
9490 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9491 *) ac_try_echo=$ac_try;;
9493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9494 (eval "$ac_compile") 2>conftest.er1
9496 grep -v '^ *+' conftest.er1 >conftest.err
9498 cat conftest.err >&5
9499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9500 (exit $ac_status); } &&
9501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9502 { (case "(($ac_try" in
9503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9504 *) ac_try_echo
=$ac_try;;
9506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9507 (eval "$ac_try") 2>&5
9509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9510 (exit $ac_status); }; } &&
9511 { ac_try
='test -s conftest.$ac_objext'
9512 { (case "(($ac_try" in
9513 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9514 *) ac_try_echo=$ac_try;;
9516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9517 (eval "$ac_try") 2>&5
9519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9520 (exit $ac_status); }; }; then
9521 ac_cv_c_volatile=yes
9523 echo "$as_me: failed program was:" >&5
9524 sed 's/^/| /' conftest.$ac_ext >&5
9529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9531 { echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
9532 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
9533 if test $ac_cv_c_volatile = no; then
9535 cat >>confdefs.h <<\_ACEOF
9541 { echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
9542 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
9543 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 cat >conftest.$ac_ext <<_ACEOF
9549 cat confdefs.h >>conftest.$ac_ext
9550 cat >>conftest.$ac_ext <<_ACEOF
9551 /* end confdefs.h. */
9552 $ac_includes_default
9553 typedef ptrdiff_t ac__type_new_;
9557 if ((ac__type_new_ *) 0)
9559 if (sizeof (ac__type_new_))
9565 rm -f conftest.$ac_objext
9566 if { (ac_try="$ac_compile"
9568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9569 *) ac_try_echo
=$ac_try;;
9571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9572 (eval "$ac_compile") 2>conftest.er1
9574 grep -v '^ *+' conftest.er1
>conftest.err
9576 cat conftest.err
>&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); } &&
9579 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9580 { (case "(($ac_try" in
9581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_try") 2>&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }; } &&
9589 { ac_try='test -s conftest.$ac_objext'
9590 { (case "(($ac_try" in
9591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9592 *) ac_try_echo
=$ac_try;;
9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9595 (eval "$ac_try") 2>&5
9597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598 (exit $ac_status); }; }; then
9599 ac_cv_type_ptrdiff_t
=yes
9601 echo "$as_me: failed program was:" >&5
9602 sed 's/^/| /' conftest.
$ac_ext >&5
9604 ac_cv_type_ptrdiff_t
=no
9607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 { echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
9610 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
9611 if test $ac_cv_type_ptrdiff_t = yes; then
9613 cat >>confdefs.h
<<_ACEOF
9614 #define HAVE_PTRDIFF_T 1
9621 # Checks for library functions.
9623 for ac_header
in unistd.h
9625 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9629 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9630 echo $ECHO_N "(cached) $ECHO_C" >&6
9632 ac_res
=`eval echo '${'$as_ac_Header'}'`
9633 { echo "$as_me:$LINENO: result: $ac_res" >&5
9634 echo "${ECHO_T}$ac_res" >&6; }
9636 # Is the header compilable?
9637 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9639 cat >conftest.
$ac_ext <<_ACEOF
9642 cat confdefs.h
>>conftest.
$ac_ext
9643 cat >>conftest.
$ac_ext <<_ACEOF
9644 /* end confdefs.h. */
9645 $ac_includes_default
9646 #include <$ac_header>
9648 rm -f conftest.
$ac_objext
9649 if { (ac_try
="$ac_compile"
9651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9652 *) ac_try_echo=$ac_try;;
9654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9655 (eval "$ac_compile") 2>conftest.er1
9657 grep -v '^ *+' conftest.er1 >conftest.err
9659 cat conftest.err >&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } &&
9662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9663 { (case "(($ac_try" in
9664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9665 *) ac_try_echo
=$ac_try;;
9667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9668 (eval "$ac_try") 2>&5
9670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9671 (exit $ac_status); }; } &&
9672 { ac_try
='test -s conftest.$ac_objext'
9673 { (case "(($ac_try" in
9674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9675 *) ac_try_echo=$ac_try;;
9677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9678 (eval "$ac_try") 2>&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); }; }; then
9682 ac_header_compiler=yes
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9687 ac_header_compiler=no
9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9691 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9692 echo "${ECHO_T}$ac_header_compiler" >&6; }
9694 # Is the header present?
9695 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9696 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9697 cat >conftest.$ac_ext <<_ACEOF
9700 cat confdefs.h >>conftest.$ac_ext
9701 cat >>conftest.$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9703 #include <$ac_header>
9705 if { (ac_try="$ac_cpp conftest.$ac_ext"
9707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9708 *) ac_try_echo
=$ac_try;;
9710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9711 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9713 grep -v '^ *+' conftest.er1
>conftest.err
9715 cat conftest.err
>&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); } >/dev
/null
; then
9718 if test -s conftest.err
; then
9719 ac_cpp_err
=$ac_c_preproc_warn_flag
9720 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9727 if test -z "$ac_cpp_err"; then
9728 ac_header_preproc
=yes
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.
$ac_ext >&5
9733 ac_header_preproc
=no
9736 rm -f conftest.err conftest.
$ac_ext
9737 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9738 echo "${ECHO_T}$ac_header_preproc" >&6; }
9740 # So? What about this header?
9741 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9743 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9744 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9746 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9747 ac_header_preproc
=yes
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9755 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9756 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9757 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9759 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9760 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9761 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9767 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9768 echo $ECHO_N "(cached) $ECHO_C" >&6
9770 eval "$as_ac_Header=\$ac_header_preproc"
9772 ac_res
=`eval echo '${'$as_ac_Header'}'`
9773 { echo "$as_me:$LINENO: result: $ac_res" >&5
9774 echo "${ECHO_T}$ac_res" >&6; }
9777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9778 cat >>confdefs.h
<<_ACEOF
9779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9786 { echo "$as_me:$LINENO: checking for working chown" >&5
9787 echo $ECHO_N "checking for working chown... $ECHO_C" >&6; }
9788 if test "${ac_cv_func_chown_works+set}" = set; then
9789 echo $ECHO_N "(cached) $ECHO_C" >&6
9791 if test "$cross_compiling" = yes; then
9792 ac_cv_func_chown_works
=no
9794 cat >conftest.
$ac_ext <<_ACEOF
9797 cat confdefs.h
>>conftest.
$ac_ext
9798 cat >>conftest.
$ac_ext <<_ACEOF
9799 /* end confdefs.h. */
9800 $ac_includes_default
9806 char *f = "conftest.chown";
9807 struct stat before, after;
9809 if (creat (f, 0600) < 0)
9811 if (stat (f, &before) < 0)
9813 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
9815 if (stat (f, &after) < 0)
9817 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
9823 rm -f conftest
$ac_exeext
9824 if { (ac_try
="$ac_link"
9826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9827 *) ac_try_echo=$ac_try;;
9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9830 (eval "$ac_link") 2>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9834 { (case "(($ac_try" in
9835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9836 *) ac_try_echo
=$ac_try;;
9838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9839 (eval "$ac_try") 2>&5
9841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9842 (exit $ac_status); }; }; then
9843 ac_cv_func_chown_works
=yes
9845 echo "$as_me: program exited with status $ac_status" >&5
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.
$ac_ext >&5
9850 ac_cv_func_chown_works
=no
9852 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9856 rm -f conftest.chown
9859 { echo "$as_me:$LINENO: result: $ac_cv_func_chown_works" >&5
9860 echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
9861 if test $ac_cv_func_chown_works = yes; then
9863 cat >>confdefs.h
<<\_ACEOF
9864 #define HAVE_CHOWN 1
9869 { echo "$as_me:$LINENO: checking whether closedir returns void" >&5
9870 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6; }
9871 if test "${ac_cv_func_closedir_void+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 if test "$cross_compiling" = yes; then
9875 ac_cv_func_closedir_void
=yes
9877 cat >conftest.
$ac_ext <<_ACEOF
9880 cat confdefs.h
>>conftest.
$ac_ext
9881 cat >>conftest.
$ac_ext <<_ACEOF
9882 /* end confdefs.h. */
9883 $ac_includes_default
9884 #include <$ac_header_dirent>
9892 return closedir (opendir (".")) != 0;
9897 rm -f conftest
$ac_exeext
9898 if { (ac_try
="$ac_link"
9900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_link") 2>&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9908 { (case "(($ac_try" in
9909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9910 *) ac_try_echo
=$ac_try;;
9912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_try") 2>&5
9915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9916 (exit $ac_status); }; }; then
9917 ac_cv_func_closedir_void
=no
9919 echo "$as_me: program exited with status $ac_status" >&5
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.
$ac_ext >&5
9924 ac_cv_func_closedir_void
=yes
9926 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9931 { echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
9932 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
9933 if test $ac_cv_func_closedir_void = yes; then
9935 cat >>confdefs.h
<<\_ACEOF
9936 #define CLOSEDIR_VOID 1
9941 { echo "$as_me:$LINENO: checking for error_at_line" >&5
9942 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6; }
9943 if test "${ac_cv_lib_error_at_line+set}" = set; then
9944 echo $ECHO_N "(cached) $ECHO_C" >&6
9946 cat >conftest.
$ac_ext <<_ACEOF
9949 cat confdefs.h
>>conftest.
$ac_ext
9950 cat >>conftest.
$ac_ext <<_ACEOF
9951 /* end confdefs.h. */
9952 $ac_includes_default
9956 error_at_line (0, 0, "", 0, "");
9961 rm -f conftest.
$ac_objext conftest
$ac_exeext
9962 if { (ac_try
="$ac_link"
9964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9965 *) ac_try_echo=$ac_try;;
9967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9968 (eval "$ac_link") 2>conftest.er1
9970 grep -v '^ *+' conftest.er1 >conftest.err
9972 cat conftest.err >&5
9973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9974 (exit $ac_status); } &&
9975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9976 { (case "(($ac_try" in
9977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9978 *) ac_try_echo
=$ac_try;;
9980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9981 (eval "$ac_try") 2>&5
9983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); }; } &&
9985 { ac_try
='test -s conftest$ac_exeext'
9986 { (case "(($ac_try" in
9987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9988 *) ac_try_echo=$ac_try;;
9990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9991 (eval "$ac_try") 2>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 ac_cv_lib_error_at_line=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.$ac_ext >&5
10000 ac_cv_lib_error_at_line=no
10003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10004 conftest$ac_exeext conftest.$ac_ext
10006 { echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
10007 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
10008 if test $ac_cv_lib_error_at_line = no; then
10009 case " $LIBOBJS " in
10010 *" error.$ac_objext "* ) ;;
10011 *) LIBOBJS="$LIBOBJS error.$ac_objext"
10018 for ac_header in vfork.h
10020 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10025 echo $ECHO_N "(cached) $ECHO_C" >&6
10027 ac_res=`eval echo '${'$as_ac_Header'}'`
10028 { echo "$as_me:$LINENO: result: $ac_res" >&5
10029 echo "${ECHO_T}$ac_res" >&6; }
10031 # Is the header compilable?
10032 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10033 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10034 cat >conftest.$ac_ext <<_ACEOF
10037 cat confdefs.h >>conftest.$ac_ext
10038 cat >>conftest.$ac_ext <<_ACEOF
10039 /* end confdefs.h. */
10040 $ac_includes_default
10041 #include <$ac_header>
10043 rm -f conftest.$ac_objext
10044 if { (ac_try="$ac_compile"
10045 case "(($ac_try" in
10046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10047 *) ac_try_echo
=$ac_try;;
10049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10050 (eval "$ac_compile") 2>conftest.er1
10052 grep -v '^ *+' conftest.er1
>conftest.err
10054 cat conftest.err
>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); } &&
10057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10058 { (case "(($ac_try" in
10059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10060 *) ac_try_echo=$ac_try;;
10062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10063 (eval "$ac_try") 2>&5
10065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10066 (exit $ac_status); }; } &&
10067 { ac_try='test -s conftest.$ac_objext'
10068 { (case "(($ac_try" in
10069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10070 *) ac_try_echo
=$ac_try;;
10072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10073 (eval "$ac_try") 2>&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); }; }; then
10077 ac_header_compiler
=yes
10079 echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.
$ac_ext >&5
10082 ac_header_compiler
=no
10085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10086 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10087 echo "${ECHO_T}$ac_header_compiler" >&6; }
10089 # Is the header present?
10090 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 #include <$ac_header>
10100 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10101 case "(($ac_try" in
10102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10108 grep -v '^ *+' conftest.er1 >conftest.err
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } >/dev/null; then
10113 if test -s conftest.err; then
10114 ac_cpp_err=$ac_c_preproc_warn_flag
10115 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10122 if test -z "$ac_cpp_err"; then
10123 ac_header_preproc=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_header_preproc=no
10131 rm -f conftest.err conftest.$ac_ext
10132 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10133 echo "${ECHO_T}$ac_header_preproc" >&6; }
10135 # So? What about this header?
10136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10142 ac_header_preproc=yes
10145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 eval "$as_ac_Header=\$ac_header_preproc"
10167 ac_res=`eval echo '${'$as_ac_Header'}'`
10168 { echo "$as_me:$LINENO: result: $ac_res" >&5
10169 echo "${ECHO_T}$ac_res" >&6; }
10172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10173 cat >>confdefs.h <<_ACEOF
10174 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10183 for ac_func in fork vfork
10185 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
10186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10188 if { as_var=$as_ac_var; eval "test \"\${$as_var+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. */
10197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10199 #define $ac_func innocuous_$ac_func
10201 /* System header to define __stub macros and hopefully few prototypes,
10202 which can conflict with char $ac_func (); below.
10203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10204 <limits.h> exists even on freestanding compilers. */
10207 # include <limits.h>
10209 # include <assert.h>
10214 /* Override any GCC internal prototype to avoid an error.
10215 Use char because int might match the return type of a GCC
10216 builtin and then its argument prototype would still apply. */
10221 /* The GNU C library defines this for functions which it implements
10222 to always fail with ENOSYS. Some functions are actually named
10223 something starting with __ and the normal name is an alias. */
10224 #if defined __stub_$ac_func || defined __stub___$ac_func
10231 return $ac_func ();
10236 rm -f conftest.$ac_objext conftest$ac_exeext
10237 if { (ac_try="$ac_link"
10238 case "(($ac_try" in
10239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10240 *) ac_try_echo
=$ac_try;;
10242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10243 (eval "$ac_link") 2>conftest.er1
10245 grep -v '^ *+' conftest.er1
>conftest.err
10247 cat conftest.err
>&5
10248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10249 (exit $ac_status); } &&
10250 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10251 { (case "(($ac_try" in
10252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10253 *) ac_try_echo=$ac_try;;
10255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10256 (eval "$ac_try") 2>&5
10258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10259 (exit $ac_status); }; } &&
10260 { ac_try='test -s conftest$ac_exeext'
10261 { (case "(($ac_try" in
10262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10263 *) ac_try_echo
=$ac_try;;
10265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10266 (eval "$ac_try") 2>&5
10268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10269 (exit $ac_status); }; }; then
10270 eval "$as_ac_var=yes"
10272 echo "$as_me: failed program was:" >&5
10273 sed 's/^/| /' conftest.
$ac_ext >&5
10275 eval "$as_ac_var=no"
10278 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10279 conftest
$ac_exeext conftest.
$ac_ext
10281 ac_res
=`eval echo '${'$as_ac_var'}'`
10282 { echo "$as_me:$LINENO: result: $ac_res" >&5
10283 echo "${ECHO_T}$ac_res" >&6; }
10284 if test `eval echo '${'$as_ac_var'}'` = yes; then
10285 cat >>confdefs.h
<<_ACEOF
10286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10292 if test "x$ac_cv_func_fork" = xyes
; then
10293 { echo "$as_me:$LINENO: checking for working fork" >&5
10294 echo $ECHO_N "checking for working fork... $ECHO_C" >&6; }
10295 if test "${ac_cv_func_fork_works+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 if test "$cross_compiling" = yes; then
10299 ac_cv_func_fork_works
=cross
10301 cat >conftest.
$ac_ext <<_ACEOF
10304 cat confdefs.h
>>conftest.
$ac_ext
10305 cat >>conftest.
$ac_ext <<_ACEOF
10306 /* end confdefs.h. */
10307 $ac_includes_default
10312 /* By Ruediger Kuhlmann. */
10313 return fork () < 0;
10319 rm -f conftest
$ac_exeext
10320 if { (ac_try
="$ac_link"
10321 case "(($ac_try" in
10322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10323 *) ac_try_echo=$ac_try;;
10325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10326 (eval "$ac_link") 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10330 { (case "(($ac_try" in
10331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10332 *) ac_try_echo
=$ac_try;;
10334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10335 (eval "$ac_try") 2>&5
10337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10338 (exit $ac_status); }; }; then
10339 ac_cv_func_fork_works
=yes
10341 echo "$as_me: program exited with status $ac_status" >&5
10342 echo "$as_me: failed program was:" >&5
10343 sed 's/^/| /' conftest.
$ac_ext >&5
10345 ( exit $ac_status )
10346 ac_cv_func_fork_works
=no
10348 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10353 { echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
10354 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
10357 ac_cv_func_fork_works
=$ac_cv_func_fork
10359 if test "x$ac_cv_func_fork_works" = xcross
; then
10361 *-*-amigaos* |
*-*-msdosdjgpp* |
*-*-uclinux* )
10362 # Override, as these systems have only a dummy fork() stub
10363 ac_cv_func_fork_works
=no
10366 ac_cv_func_fork_works
=yes
10369 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
10370 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
10372 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10373 if test "x$ac_cv_func_vfork" = xyes
; then
10374 { echo "$as_me:$LINENO: checking for working vfork" >&5
10375 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6; }
10376 if test "${ac_cv_func_vfork_works+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 if test "$cross_compiling" = yes; then
10380 ac_cv_func_vfork_works
=cross
10382 cat >conftest.
$ac_ext <<_ACEOF
10385 cat confdefs.h
>>conftest.
$ac_ext
10386 cat >>conftest.
$ac_ext <<_ACEOF
10387 /* end confdefs.h. */
10388 /* Thanks to Paul Eggert for this test. */
10389 $ac_includes_default
10390 #include <sys/wait.h>
10391 #ifdef HAVE_VFORK_H
10392 # include <vfork.h>
10394 /* On some sparc systems, changes by the child to local and incoming
10395 argument registers are propagated back to the parent. The compiler
10396 is told about this with #include <vfork.h>, but some compilers
10397 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
10398 static variable whose address is put into a register that is
10399 clobbered by the vfork. */
10402 sparc_address_test (int arg)
10404 sparc_address_test (arg) int arg;
10407 static pid_t child;
10425 pid_t parent = getpid ();
10428 sparc_address_test (0);
10433 /* Here is another test for sparc vfork register problems. This
10434 test uses lots of local variables, at least as many local
10435 variables as main has allocated so far including compiler
10436 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
10437 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
10438 reuse the register of parent for one of the local variables,
10439 since it will think that parent can't possibly be used any more
10440 in this routine. Assigning to the local variable will thus
10441 munge parent in the parent process. */
10443 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
10444 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
10445 /* Convince the compiler that p..p7 are live; otherwise, it might
10446 use the same hardware register for all 8 local variables. */
10447 if (p != p1 || p != p2 || p != p3 || p != p4
10448 || p != p5 || p != p6 || p != p7)
10451 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
10452 from child file descriptors. If the child closes a descriptor
10453 before it execs or exits, this munges the parent's descriptor
10454 as well. Test for this by closing stdout in the child. */
10455 _exit(close(fileno(stdout)) != 0);
10460 while (wait(&status) != child)
10463 /* Was there some problem with vforking? */
10466 /* Did the child fail? (This shouldn't happen.) */
10469 /* Did the vfork/compiler bug occur? */
10470 || parent != getpid()
10472 /* Did the file descriptor bug occur? */
10473 || fstat(fileno(stdout), &st) != 0
10478 rm -f conftest
$ac_exeext
10479 if { (ac_try
="$ac_link"
10480 case "(($ac_try" in
10481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10482 *) ac_try_echo=$ac_try;;
10484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10485 (eval "$ac_link") 2>&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10489 { (case "(($ac_try" in
10490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10491 *) ac_try_echo
=$ac_try;;
10493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10494 (eval "$ac_try") 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; }; then
10498 ac_cv_func_vfork_works
=yes
10500 echo "$as_me: program exited with status $ac_status" >&5
10501 echo "$as_me: failed program was:" >&5
10502 sed 's/^/| /' conftest.
$ac_ext >&5
10504 ( exit $ac_status )
10505 ac_cv_func_vfork_works
=no
10507 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10512 { echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
10513 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
10516 if test "x$ac_cv_func_fork_works" = xcross
; then
10517 ac_cv_func_vfork_works
=$ac_cv_func_vfork
10518 { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
10519 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
10522 if test "x$ac_cv_func_vfork_works" = xyes
; then
10524 cat >>confdefs.h
<<\_ACEOF
10525 #define HAVE_WORKING_VFORK 1
10530 cat >>confdefs.h
<<\_ACEOF
10535 if test "x$ac_cv_func_fork_works" = xyes
; then
10537 cat >>confdefs.h
<<\_ACEOF
10538 #define HAVE_WORKING_FORK 1
10543 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
10544 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
10545 if test "${ac_cv_sys_largefile_source+set}" = set; then
10546 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 ac_cv_sys_largefile_source
=no
10550 cat >conftest.
$ac_ext <<_ACEOF
10553 cat confdefs.h
>>conftest.
$ac_ext
10554 cat >>conftest.
$ac_ext <<_ACEOF
10555 /* end confdefs.h. */
10565 rm -f conftest.
$ac_objext
10566 if { (ac_try
="$ac_compile"
10567 case "(($ac_try" in
10568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10569 *) ac_try_echo=$ac_try;;
10571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10572 (eval "$ac_compile") 2>conftest.er1
10574 grep -v '^ *+' conftest.er1 >conftest.err
10576 cat conftest.err >&5
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); } &&
10579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10580 { (case "(($ac_try" in
10581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10582 *) ac_try_echo
=$ac_try;;
10584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10585 (eval "$ac_try") 2>&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); }; } &&
10589 { ac_try
='test -s conftest.$ac_objext'
10590 { (case "(($ac_try" in
10591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10592 *) ac_try_echo=$ac_try;;
10594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10595 (eval "$ac_try") 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10608 cat >conftest.$ac_ext <<_ACEOF
10611 cat confdefs.h >>conftest.$ac_ext
10612 cat >>conftest.$ac_ext <<_ACEOF
10613 /* end confdefs.h. */
10614 #define _LARGEFILE_SOURCE 1
10624 rm -f conftest.$ac_objext
10625 if { (ac_try="$ac_compile"
10626 case "(($ac_try" in
10627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10628 *) ac_try_echo
=$ac_try;;
10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_compile") 2>conftest.er1
10633 grep -v '^ *+' conftest.er1
>conftest.err
10635 cat conftest.err
>&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } &&
10638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10639 { (case "(($ac_try" in
10640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10641 *) ac_try_echo=$ac_try;;
10643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10644 (eval "$ac_try") 2>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try='test -s conftest.$ac_objext'
10649 { (case "(($ac_try" in
10650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10651 *) ac_try_echo
=$ac_try;;
10653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10654 (eval "$ac_try") 2>&5
10656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10657 (exit $ac_status); }; }; then
10658 ac_cv_sys_largefile_source
=1; break
10660 echo "$as_me: failed program was:" >&5
10661 sed 's/^/| /' conftest.
$ac_ext >&5
10666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10670 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
10671 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
10672 if test "$ac_cv_sys_largefile_source" != no
; then
10674 cat >>confdefs.h
<<_ACEOF
10675 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
10681 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
10682 # in glibc 2.1.3, but that breaks too many other things.
10683 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
10684 { echo "$as_me:$LINENO: checking for fseeko" >&5
10685 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6; }
10686 if test "${ac_cv_func_fseeko+set}" = set; then
10687 echo $ECHO_N "(cached) $ECHO_C" >&6
10689 cat >conftest.
$ac_ext <<_ACEOF
10692 cat confdefs.h
>>conftest.
$ac_ext
10693 cat >>conftest.
$ac_ext <<_ACEOF
10694 /* end confdefs.h. */
10699 return fseeko && fseeko (stdin, 0, 0);
10704 rm -f conftest.
$ac_objext conftest
$ac_exeext
10705 if { (ac_try
="$ac_link"
10706 case "(($ac_try" in
10707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10708 *) ac_try_echo=$ac_try;;
10710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10711 (eval "$ac_link") 2>conftest.er1
10713 grep -v '^ *+' conftest.er1 >conftest.err
10715 cat conftest.err >&5
10716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10717 (exit $ac_status); } &&
10718 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10719 { (case "(($ac_try" in
10720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10721 *) ac_try_echo
=$ac_try;;
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_try") 2>&5
10726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727 (exit $ac_status); }; } &&
10728 { ac_try
='test -s conftest$ac_exeext'
10729 { (case "(($ac_try" in
10730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10731 *) ac_try_echo=$ac_try;;
10733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10734 (eval "$ac_try") 2>&5
10736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10737 (exit $ac_status); }; }; then
10738 ac_cv_func_fseeko=yes
10740 echo "$as_me: failed program was:" >&5
10741 sed 's/^/| /' conftest.$ac_ext >&5
10743 ac_cv_func_fseeko=no
10746 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10747 conftest$ac_exeext conftest.$ac_ext
10749 { echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
10750 echo "${ECHO_T}$ac_cv_func_fseeko" >&6; }
10751 if test $ac_cv_func_fseeko = yes; then
10753 cat >>confdefs.h <<\_ACEOF
10754 #define HAVE_FSEEKO 1
10759 if test $ac_cv_c_compiler_gnu = yes; then
10760 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10761 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
10762 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 ac_pattern="Autoconf.*'x'"
10766 cat >conftest.$ac_ext <<_ACEOF
10769 cat confdefs.h >>conftest.$ac_ext
10770 cat >>conftest.$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10776 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10777 ac_cv_prog_gcc_traditional=yes
10779 ac_cv_prog_gcc_traditional=no
10784 if test $ac_cv_prog_gcc_traditional = no; then
10785 cat >conftest.$ac_ext <<_ACEOF
10788 cat confdefs.h >>conftest.$ac_ext
10789 cat >>conftest.$ac_ext <<_ACEOF
10790 /* end confdefs.h. */
10791 #include <termio.h>
10794 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10795 $EGREP "$ac_pattern" >/dev/null 2>&1; then
10796 ac_cv_prog_gcc_traditional=yes
10802 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10803 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
10804 if test $ac_cv_prog_gcc_traditional = yes; then
10805 CC="$CC -traditional"
10809 # XXX: these are commented out until we determine whether it matters if our malloc()
10810 # acts exactly like glibc's or not
10813 { echo "$as_me:$LINENO: checking for working memcmp" >&5
10814 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
10815 if test "${ac_cv_func_memcmp_working+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 if test "$cross_compiling" = yes; then
10819 ac_cv_func_memcmp_working=no
10821 cat >conftest.$ac_ext <<_ACEOF
10824 cat confdefs.h >>conftest.$ac_ext
10825 cat >>conftest.$ac_ext <<_ACEOF
10826 /* end confdefs.h. */
10827 $ac_includes_default
10832 /* Some versions of memcmp are not 8-bit clean. */
10833 char c0 = '\100', c1 = '\200', c2 = '\201';
10834 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
10837 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
10838 or more and with at least one buffer not starting on a 4-byte boundary.
10839 William Lewis provided this test program. */
10844 for (i = 0; i < 4; i++)
10848 strcpy (a, "--------01111111");
10849 strcpy (b, "--------10000000");
10850 if (memcmp (a, b, 16) >= 0)
10860 rm -f conftest$ac_exeext
10861 if { (ac_try="$ac_link"
10862 case "(($ac_try" in
10863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10864 *) ac_try_echo
=$ac_try;;
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867 (eval "$ac_link") 2>&5
10869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10870 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10871 { (case "(($ac_try" in
10872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10873 *) ac_try_echo=$ac_try;;
10875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10876 (eval "$ac_try") 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 ac_cv_func_memcmp_working=yes
10882 echo "$as_me: program exited with status $ac_status" >&5
10883 echo "$as_me: failed program was:" >&5
10884 sed 's/^/| /' conftest.$ac_ext >&5
10886 ( exit $ac_status )
10887 ac_cv_func_memcmp_working=no
10889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10894 { echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
10895 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
10896 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
10897 *" memcmp.$ac_objext "* ) ;;
10898 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
10906 for ac_header in stdlib.h sys/time.h unistd.h
10908 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10910 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10913 echo $ECHO_N "(cached) $ECHO_C" >&6
10915 ac_res=`eval echo '${'$as_ac_Header'}'`
10916 { echo "$as_me:$LINENO: result: $ac_res" >&5
10917 echo "${ECHO_T}$ac_res" >&6; }
10919 # Is the header compilable?
10920 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10921 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10922 cat >conftest.$ac_ext <<_ACEOF
10925 cat confdefs.h >>conftest.$ac_ext
10926 cat >>conftest.$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 $ac_includes_default
10929 #include <$ac_header>
10931 rm -f conftest.$ac_objext
10932 if { (ac_try="$ac_compile"
10933 case "(($ac_try" in
10934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10935 *) ac_try_echo
=$ac_try;;
10937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10938 (eval "$ac_compile") 2>conftest.er1
10940 grep -v '^ *+' conftest.er1
>conftest.err
10942 cat conftest.err
>&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } &&
10945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10946 { (case "(($ac_try" in
10947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10948 *) ac_try_echo=$ac_try;;
10950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10951 (eval "$ac_try") 2>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); }; } &&
10955 { ac_try='test -s conftest.$ac_objext'
10956 { (case "(($ac_try" in
10957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10958 *) ac_try_echo
=$ac_try;;
10960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10961 (eval "$ac_try") 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; }; then
10965 ac_header_compiler
=yes
10967 echo "$as_me: failed program was:" >&5
10968 sed 's/^/| /' conftest.
$ac_ext >&5
10970 ac_header_compiler
=no
10973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10974 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10975 echo "${ECHO_T}$ac_header_compiler" >&6; }
10977 # Is the header present?
10978 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10980 cat >conftest.
$ac_ext <<_ACEOF
10983 cat confdefs.h
>>conftest.
$ac_ext
10984 cat >>conftest.
$ac_ext <<_ACEOF
10985 /* end confdefs.h. */
10986 #include <$ac_header>
10988 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10989 case "(($ac_try" in
10990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10991 *) ac_try_echo=$ac_try;;
10993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10996 grep -v '^ *+' conftest.er1 >conftest.err
10998 cat conftest.err >&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); } >/dev/null; then
11001 if test -s conftest.err; then
11002 ac_cpp_err=$ac_c_preproc_warn_flag
11003 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11010 if test -z "$ac_cpp_err"; then
11011 ac_header_preproc=yes
11013 echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.$ac_ext >&5
11016 ac_header_preproc=no
11019 rm -f conftest.err conftest.$ac_ext
11020 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11021 echo "${ECHO_T}$ac_header_preproc" >&6; }
11023 # So? What about this header?
11024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11026 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11027 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11029 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11030 ac_header_preproc=yes
11033 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11034 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11035 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11036 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11037 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11038 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11039 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11040 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11043 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11044 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11048 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 eval "$as_ac_Header=\$ac_header_preproc"
11055 ac_res=`eval echo '${'$as_ac_Header'}'`
11056 { echo "$as_me:$LINENO: result: $ac_res" >&5
11057 echo "${ECHO_T}$ac_res" >&6; }
11060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11061 cat >>confdefs.h <<_ACEOF
11062 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11070 for ac_func in alarm
11072 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11086 #define $ac_func innocuous_$ac_func
11088 /* System header to define __stub macros and hopefully few prototypes,
11089 which can conflict with char $ac_func (); below.
11090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11091 <limits.h> exists even on freestanding compilers. */
11094 # include <limits.h>
11096 # include <assert.h>
11101 /* Override any GCC internal prototype to avoid an error.
11102 Use char because int might match the return type of a GCC
11103 builtin and then its argument prototype would still apply. */
11108 /* The GNU C library defines this for functions which it implements
11109 to always fail with ENOSYS. Some functions are actually named
11110 something starting with __ and the normal name is an alias. */
11111 #if defined __stub_$ac_func || defined __stub___$ac_func
11118 return $ac_func ();
11123 rm -f conftest.$ac_objext conftest$ac_exeext
11124 if { (ac_try="$ac_link"
11125 case "(($ac_try" in
11126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11127 *) ac_try_echo
=$ac_try;;
11129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11130 (eval "$ac_link") 2>conftest.er1
11132 grep -v '^ *+' conftest.er1
>conftest.err
11134 cat conftest.err
>&5
11135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11136 (exit $ac_status); } &&
11137 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11138 { (case "(($ac_try" in
11139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11140 *) ac_try_echo=$ac_try;;
11142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11143 (eval "$ac_try") 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; } &&
11147 { ac_try='test -s conftest$ac_exeext'
11148 { (case "(($ac_try" in
11149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11150 *) ac_try_echo
=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_try") 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 eval "$as_ac_var=yes"
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.
$ac_ext >&5
11162 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11166 conftest
$ac_exeext conftest.
$ac_ext
11168 ac_res
=`eval echo '${'$as_ac_var'}'`
11169 { echo "$as_me:$LINENO: result: $ac_res" >&5
11170 echo "${ECHO_T}$ac_res" >&6; }
11171 if test `eval echo '${'$as_ac_var'}'` = yes; then
11172 cat >>confdefs.h
<<_ACEOF
11173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11179 { echo "$as_me:$LINENO: checking for working mktime" >&5
11180 echo $ECHO_N "checking for working mktime... $ECHO_C" >&6; }
11181 if test "${ac_cv_func_working_mktime+set}" = set; then
11182 echo $ECHO_N "(cached) $ECHO_C" >&6
11184 if test "$cross_compiling" = yes; then
11185 ac_cv_func_working_mktime
=no
11187 cat >conftest.
$ac_ext <<_ACEOF
11190 cat confdefs.h
>>conftest.
$ac_ext
11191 cat >>conftest.
$ac_ext <<_ACEOF
11192 /* end confdefs.h. */
11193 /* Test program from Paul Eggert and Tony Leneis. */
11194 #ifdef TIME_WITH_SYS_TIME
11195 # include <sys/time.h>
11198 # ifdef HAVE_SYS_TIME_H
11199 # include <sys/time.h>
11205 #ifdef HAVE_STDLIB_H
11206 # include <stdlib.h>
11209 #ifdef HAVE_UNISTD_H
11210 # include <unistd.h>
11214 # define alarm(X) /* empty */
11217 /* Work around redefinition to rpl_putenv by other config tests. */
11220 static time_t time_t_max;
11221 static time_t time_t_min;
11223 /* Values we'll use to set the TZ environment variable. */
11224 static char *tz_strings[] = {
11225 (char *) 0, "TZ=GMT0", "TZ=JST-9",
11226 "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
11228 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
11230 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
11231 Based on a problem report from Andreas Jaeger. */
11233 spring_forward_gap ()
11235 /* glibc (up to about 1998-10-07) failed this test. */
11238 /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
11239 instead of "TZ=America/Vancouver" in order to detect the bug even
11240 on systems that don't support the Olson extension, or don't have the
11241 full zoneinfo tables installed. */
11242 putenv ("TZ=PST8PDT,M4.1.0,M10.5.0");
11251 return mktime (&tm) != (time_t) -1;
11259 return ! (lt = localtime (&now)) || mktime (lt) == now;
11266 return (mktime_test1 (now)
11267 && mktime_test1 ((time_t) (time_t_max - now))
11268 && mktime_test1 ((time_t) (time_t_min + now)));
11274 /* Based on code from Ariel Faigon. */
11284 return tm.tm_mon == 2 && tm.tm_mday == 31;
11293 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
11294 now = mktime (&tm);
11295 if (now != (time_t) -1)
11297 struct tm *lt = localtime (&now);
11299 && lt->tm_year == tm.tm_year
11300 && lt->tm_mon == tm.tm_mon
11301 && lt->tm_mday == tm.tm_mday
11302 && lt->tm_hour == tm.tm_hour
11303 && lt->tm_min == tm.tm_min
11304 && lt->tm_sec == tm.tm_sec
11305 && lt->tm_yday == tm.tm_yday
11306 && lt->tm_wday == tm.tm_wday
11307 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
11308 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
11320 /* This test makes some buggy mktime implementations loop.
11321 Give up after 60 seconds; a mktime slower than that
11322 isn't worth using anyway. */
11325 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
11328 if ((time_t) -1 < 0)
11329 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
11331 delta = time_t_max / 997; /* a suitable prime number */
11332 for (i = 0; i < N_STRINGS; i++)
11335 putenv (tz_strings[i]);
11337 for (t = 0; t <= time_t_max - delta; t += delta)
11338 if (! mktime_test (t))
11340 if (! (mktime_test ((time_t) 1)
11341 && mktime_test ((time_t) (60 * 60))
11342 && mktime_test ((time_t) (60 * 60 * 24))))
11345 for (j = 1; 0 < j; j *= 2)
11346 if (! bigtime_test (j))
11348 if (! bigtime_test (j - 1))
11351 return ! (irix_6_4_bug () && spring_forward_gap ());
11354 rm -f conftest
$ac_exeext
11355 if { (ac_try
="$ac_link"
11356 case "(($ac_try" in
11357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11358 *) ac_try_echo=$ac_try;;
11360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11361 (eval "$ac_link") 2>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11365 { (case "(($ac_try" in
11366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11367 *) ac_try_echo
=$ac_try;;
11369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11370 (eval "$ac_try") 2>&5
11372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373 (exit $ac_status); }; }; then
11374 ac_cv_func_working_mktime
=yes
11376 echo "$as_me: program exited with status $ac_status" >&5
11377 echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.
$ac_ext >&5
11380 ( exit $ac_status )
11381 ac_cv_func_working_mktime
=no
11383 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11388 { echo "$as_me:$LINENO: result: $ac_cv_func_working_mktime" >&5
11389 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
11390 if test $ac_cv_func_working_mktime = no
; then
11391 case " $LIBOBJS " in
11392 *" mktime.$ac_objext "* ) ;;
11393 *) LIBOBJS
="$LIBOBJS mktime.$ac_objext"
11401 for ac_header
in stdlib.h unistd.h
11403 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11404 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11405 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11407 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11408 echo $ECHO_N "(cached) $ECHO_C" >&6
11410 ac_res
=`eval echo '${'$as_ac_Header'}'`
11411 { echo "$as_me:$LINENO: result: $ac_res" >&5
11412 echo "${ECHO_T}$ac_res" >&6; }
11414 # Is the header compilable?
11415 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11417 cat >conftest.
$ac_ext <<_ACEOF
11420 cat confdefs.h
>>conftest.
$ac_ext
11421 cat >>conftest.
$ac_ext <<_ACEOF
11422 /* end confdefs.h. */
11423 $ac_includes_default
11424 #include <$ac_header>
11426 rm -f conftest.
$ac_objext
11427 if { (ac_try
="$ac_compile"
11428 case "(($ac_try" in
11429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11430 *) ac_try_echo=$ac_try;;
11432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11433 (eval "$ac_compile") 2>conftest.er1
11435 grep -v '^ *+' conftest.er1 >conftest.err
11437 cat conftest.err >&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); } &&
11440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11441 { (case "(($ac_try" in
11442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11443 *) ac_try_echo
=$ac_try;;
11445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11446 (eval "$ac_try") 2>&5
11448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11449 (exit $ac_status); }; } &&
11450 { ac_try
='test -s conftest.$ac_objext'
11451 { (case "(($ac_try" in
11452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_try") 2>&5
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; }; then
11460 ac_header_compiler=yes
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_header_compiler=no
11468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11469 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11470 echo "${ECHO_T}$ac_header_compiler" >&6; }
11472 # Is the header present?
11473 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11474 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11475 cat >conftest.$ac_ext <<_ACEOF
11478 cat confdefs.h >>conftest.$ac_ext
11479 cat >>conftest.$ac_ext <<_ACEOF
11480 /* end confdefs.h. */
11481 #include <$ac_header>
11483 if { (ac_try="$ac_cpp conftest.$ac_ext"
11484 case "(($ac_try" in
11485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11486 *) ac_try_echo
=$ac_try;;
11488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11491 grep -v '^ *+' conftest.er1
>conftest.err
11493 cat conftest.err
>&5
11494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11495 (exit $ac_status); } >/dev
/null
; then
11496 if test -s conftest.err
; then
11497 ac_cpp_err
=$ac_c_preproc_warn_flag
11498 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11505 if test -z "$ac_cpp_err"; then
11506 ac_header_preproc
=yes
11508 echo "$as_me: failed program was:" >&5
11509 sed 's/^/| /' conftest.
$ac_ext >&5
11511 ac_header_preproc
=no
11514 rm -f conftest.err conftest.
$ac_ext
11515 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11516 echo "${ECHO_T}$ac_header_preproc" >&6; }
11518 # So? What about this header?
11519 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11521 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11522 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11523 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11524 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11525 ac_header_preproc
=yes
11528 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11529 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11530 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11531 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11532 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11533 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11534 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11535 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11536 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11537 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11538 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11539 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11545 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11546 echo $ECHO_N "(cached) $ECHO_C" >&6
11548 eval "$as_ac_Header=\$ac_header_preproc"
11550 ac_res
=`eval echo '${'$as_ac_Header'}'`
11551 { echo "$as_me:$LINENO: result: $ac_res" >&5
11552 echo "${ECHO_T}$ac_res" >&6; }
11555 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11556 cat >>confdefs.h
<<_ACEOF
11557 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11565 for ac_func
in getpagesize
11567 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11568 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11570 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11581 #define $ac_func innocuous_$ac_func
11583 /* System header to define __stub macros and hopefully few prototypes,
11584 which can conflict with char $ac_func (); below.
11585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11586 <limits.h> exists even on freestanding compilers. */
11589 # include <limits.h>
11591 # include <assert.h>
11596 /* Override any GCC internal prototype to avoid an error.
11597 Use char because int might match the return type of a GCC
11598 builtin and then its argument prototype would still apply. */
11603 /* The GNU C library defines this for functions which it implements
11604 to always fail with ENOSYS. Some functions are actually named
11605 something starting with __ and the normal name is an alias. */
11606 #if defined __stub_$ac_func || defined __stub___$ac_func
11613 return $ac_func ();
11618 rm -f conftest.
$ac_objext conftest
$ac_exeext
11619 if { (ac_try
="$ac_link"
11620 case "(($ac_try" in
11621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11622 *) ac_try_echo=$ac_try;;
11624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11625 (eval "$ac_link") 2>conftest.er1
11627 grep -v '^ *+' conftest.er1 >conftest.err
11629 cat conftest.err >&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); } &&
11632 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11633 { (case "(($ac_try" in
11634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11635 *) ac_try_echo
=$ac_try;;
11637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11638 (eval "$ac_try") 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); }; } &&
11642 { ac_try
='test -s conftest$ac_exeext'
11643 { (case "(($ac_try" in
11644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11645 *) ac_try_echo=$ac_try;;
11647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11648 (eval "$ac_try") 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; }; then
11652 eval "$as_ac_var=yes"
11654 echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.$ac_ext >&5
11657 eval "$as_ac_var=no"
11660 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11661 conftest$ac_exeext conftest.$ac_ext
11663 ac_res=`eval echo '${'$as_ac_var'}'`
11664 { echo "$as_me:$LINENO: result: $ac_res" >&5
11665 echo "${ECHO_T}$ac_res" >&6; }
11666 if test `eval echo '${'$as_ac_var'}'` = yes; then
11667 cat >>confdefs.h <<_ACEOF
11668 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
11674 { echo "$as_me:$LINENO: checking for working mmap" >&5
11675 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
11676 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 if test "$cross_compiling" = yes; then
11680 ac_cv_func_mmap_fixed_mapped=no
11682 cat >conftest.$ac_ext <<_ACEOF
11685 cat confdefs.h >>conftest.$ac_ext
11686 cat >>conftest.$ac_ext <<_ACEOF
11687 /* end confdefs.h. */
11688 $ac_includes_default
11689 /* malloc might have been renamed as rpl_malloc. */
11692 /* Thanks to Mike Haertel and Jim Avera for this test.
11693 Here is a matrix of mmap possibilities:
11694 mmap private not fixed
11695 mmap private fixed at somewhere currently unmapped
11696 mmap private fixed at somewhere already mapped
11697 mmap shared not fixed
11698 mmap shared fixed at somewhere currently unmapped
11699 mmap shared fixed at somewhere already mapped
11700 For private mappings, we should verify that changes cannot be read()
11701 back from the file, nor mmap's back from the file at a different
11702 address. (There have been systems where private was not correctly
11703 implemented like the infamous i386 svr4.0, and systems where the
11704 VM page cache was not coherent with the file system buffer cache
11705 like early versions of FreeBSD and possibly contemporary NetBSD.)
11706 For shared mappings, we should conversely verify that changes get
11707 propagated back to all the places they're supposed to be.
11709 Grep wants private fixed already mapped.
11710 The main things grep needs to know about mmap are:
11711 * does it exist and is it safe to write into the mmap'd area
11712 * how to use it (BSD variants) */
11715 #include <sys/mman.h>
11717 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
11721 /* This mess was copied from the GNU getpagesize.h. */
11722 #ifndef HAVE_GETPAGESIZE
11723 /* Assume that all systems that can run configure have sys/param.h. */
11724 # ifndef HAVE_SYS_PARAM_H
11725 # define HAVE_SYS_PARAM_H 1
11728 # ifdef _SC_PAGESIZE
11729 # define getpagesize() sysconf(_SC_PAGESIZE)
11730 # else /* no _SC_PAGESIZE */
11731 # ifdef HAVE_SYS_PARAM_H
11732 # include <sys/param.h>
11733 # ifdef EXEC_PAGESIZE
11734 # define getpagesize() EXEC_PAGESIZE
11735 # else /* no EXEC_PAGESIZE */
11737 # define getpagesize() NBPG * CLSIZE
11740 # endif /* no CLSIZE */
11741 # else /* no NBPG */
11743 # define getpagesize() NBPC
11744 # else /* no NBPC */
11746 # define getpagesize() PAGESIZE
11747 # endif /* PAGESIZE */
11748 # endif /* no NBPC */
11749 # endif /* no NBPG */
11750 # endif /* no EXEC_PAGESIZE */
11751 # else /* no HAVE_SYS_PARAM_H */
11752 # define getpagesize() 8192 /* punt totally */
11753 # endif /* no HAVE_SYS_PARAM_H */
11754 # endif /* no _SC_PAGESIZE */
11756 #endif /* no HAVE_GETPAGESIZE */
11761 char *data, *data2, *data3;
11765 pagesize = getpagesize ();
11767 /* First, make a file with some known garbage in it. */
11768 data = (char *) malloc (pagesize);
11771 for (i = 0; i < pagesize; ++i)
11772 *(data + i) = rand ();
11774 fd = creat ("conftest.mmap", 0600);
11777 if (write (fd, data, pagesize) != pagesize)
11781 /* Next, try to mmap the file at a fixed address which already has
11782 something else allocated at it. If we can, also make sure that
11783 we see the same garbage. */
11784 fd = open ("conftest.mmap", O_RDWR);
11787 data2 = (char *) malloc (2 * pagesize);
11790 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
11791 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
11792 MAP_PRIVATE | MAP_FIXED, fd, 0L))
11794 for (i = 0; i < pagesize; ++i)
11795 if (*(data + i) != *(data2 + i))
11798 /* Finally, make sure that changes to the mapped area do not
11799 percolate back to the file as seen by read(). (This is a bug on
11800 some variants of i386 svr4.0.) */
11801 for (i = 0; i < pagesize; ++i)
11802 *(data2 + i) = *(data2 + i) + 1;
11803 data3 = (char *) malloc (pagesize);
11806 if (read (fd, data3, pagesize) != pagesize)
11808 for (i = 0; i < pagesize; ++i)
11809 if (*(data + i) != *(data3 + i))
11815 rm -f conftest$ac_exeext
11816 if { (ac_try="$ac_link"
11817 case "(($ac_try" in
11818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11819 *) ac_try_echo
=$ac_try;;
11821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11822 (eval "$ac_link") 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11826 { (case "(($ac_try" in
11827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11828 *) ac_try_echo=$ac_try;;
11830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11831 (eval "$ac_try") 2>&5
11833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11834 (exit $ac_status); }; }; then
11835 ac_cv_func_mmap_fixed_mapped=yes
11837 echo "$as_me: program exited with status $ac_status" >&5
11838 echo "$as_me: failed program was:" >&5
11839 sed 's/^/| /' conftest.$ac_ext >&5
11841 ( exit $ac_status )
11842 ac_cv_func_mmap_fixed_mapped=no
11844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11849 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
11850 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
11851 if test $ac_cv_func_mmap_fixed_mapped = yes; then
11853 cat >>confdefs.h <<\_ACEOF
11854 #define HAVE_MMAP 1
11858 rm -f conftest.mmap
11862 for ac_header in sys/select.h sys/socket.h
11864 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11865 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11866 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11869 echo $ECHO_N "(cached) $ECHO_C" >&6
11871 ac_res=`eval echo '${'$as_ac_Header'}'`
11872 { echo "$as_me:$LINENO: result: $ac_res" >&5
11873 echo "${ECHO_T}$ac_res" >&6; }
11875 # Is the header compilable?
11876 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11878 cat >conftest.$ac_ext <<_ACEOF
11881 cat confdefs.h >>conftest.$ac_ext
11882 cat >>conftest.$ac_ext <<_ACEOF
11883 /* end confdefs.h. */
11884 $ac_includes_default
11885 #include <$ac_header>
11887 rm -f conftest.$ac_objext
11888 if { (ac_try="$ac_compile"
11889 case "(($ac_try" in
11890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11891 *) ac_try_echo
=$ac_try;;
11893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11894 (eval "$ac_compile") 2>conftest.er1
11896 grep -v '^ *+' conftest.er1
>conftest.err
11898 cat conftest.err
>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); } &&
11901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11902 { (case "(($ac_try" in
11903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11904 *) ac_try_echo=$ac_try;;
11906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11907 (eval "$ac_try") 2>&5
11909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); }; } &&
11911 { ac_try='test -s conftest.$ac_objext'
11912 { (case "(($ac_try" in
11913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11914 *) ac_try_echo
=$ac_try;;
11916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11917 (eval "$ac_try") 2>&5
11919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920 (exit $ac_status); }; }; then
11921 ac_header_compiler
=yes
11923 echo "$as_me: failed program was:" >&5
11924 sed 's/^/| /' conftest.
$ac_ext >&5
11926 ac_header_compiler
=no
11929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11930 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11931 echo "${ECHO_T}$ac_header_compiler" >&6; }
11933 # Is the header present?
11934 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11936 cat >conftest.
$ac_ext <<_ACEOF
11939 cat confdefs.h
>>conftest.
$ac_ext
11940 cat >>conftest.
$ac_ext <<_ACEOF
11941 /* end confdefs.h. */
11942 #include <$ac_header>
11944 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11945 case "(($ac_try" in
11946 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11947 *) ac_try_echo=$ac_try;;
11949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11952 grep -v '^ *+' conftest.er1 >conftest.err
11954 cat conftest.err >&5
11955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956 (exit $ac_status); } >/dev/null; then
11957 if test -s conftest.err; then
11958 ac_cpp_err=$ac_c_preproc_warn_flag
11959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11966 if test -z "$ac_cpp_err"; then
11967 ac_header_preproc=yes
11969 echo "$as_me: failed program was:" >&5
11970 sed 's/^/| /' conftest.$ac_ext >&5
11972 ac_header_preproc=no
11975 rm -f conftest.err conftest.$ac_ext
11976 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11977 echo "${ECHO_T}$ac_header_preproc" >&6; }
11979 # So? What about this header?
11980 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11986 ac_header_preproc=yes
11989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12007 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 eval "$as_ac_Header=\$ac_header_preproc"
12011 ac_res=`eval echo '${'$as_ac_Header'}'`
12012 { echo "$as_me:$LINENO: result: $ac_res" >&5
12013 echo "${ECHO_T}$ac_res" >&6; }
12016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12017 cat >>confdefs.h <<_ACEOF
12018 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12025 { echo "$as_me:$LINENO: checking types of arguments for select" >&5
12026 echo $ECHO_N "checking types of arguments for select... $ECHO_C" >&6; }
12027 if test "${ac_cv_func_select_args+set}" = set; then
12028 echo $ECHO_N "(cached) $ECHO_C" >&6
12030 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
12031 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
12032 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
12033 cat >conftest.$ac_ext <<_ACEOF
12036 cat confdefs.h >>conftest.$ac_ext
12037 cat >>conftest.$ac_ext <<_ACEOF
12038 /* end confdefs.h. */
12039 $ac_includes_default
12040 #ifdef HAVE_SYS_SELECT_H
12041 # include <sys/select.h>
12043 #ifdef HAVE_SYS_SOCKET_H
12044 # include <sys/socket.h>
12050 extern int select ($ac_arg1,
12051 $ac_arg234, $ac_arg234, $ac_arg234,
12057 rm -f conftest.$ac_objext
12058 if { (ac_try="$ac_compile"
12059 case "(($ac_try" in
12060 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12061 *) ac_try_echo
=$ac_try;;
12063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12064 (eval "$ac_compile") 2>conftest.er1
12066 grep -v '^ *+' conftest.er1
>conftest.err
12068 cat conftest.err
>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); } &&
12071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12072 { (case "(($ac_try" in
12073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12074 *) ac_try_echo=$ac_try;;
12076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12077 (eval "$ac_try") 2>&5
12079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12080 (exit $ac_status); }; } &&
12081 { ac_try='test -s conftest.$ac_objext'
12082 { (case "(($ac_try" in
12083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12084 *) ac_try_echo
=$ac_try;;
12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12087 (eval "$ac_try") 2>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); }; }; then
12091 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12093 echo "$as_me: failed program was:" >&5
12094 sed 's/^/| /' conftest.
$ac_ext >&5
12099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12103 # Provide a safe default value.
12104 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
12107 { echo "$as_me:$LINENO: result: $ac_cv_func_select_args" >&5
12108 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
12109 ac_save_IFS
=$IFS; IFS
=','
12110 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12114 cat >>confdefs.h
<<_ACEOF
12115 #define SELECT_TYPE_ARG1 $1
12119 cat >>confdefs.h
<<_ACEOF
12120 #define SELECT_TYPE_ARG234 ($2)
12124 cat >>confdefs.h
<<_ACEOF
12125 #define SELECT_TYPE_ARG5 ($3)
12130 { echo "$as_me:$LINENO: checking for function prototypes" >&5
12131 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6; }
12132 if test "$ac_cv_prog_cc_c89" != no
; then
12133 { echo "$as_me:$LINENO: result: yes" >&5
12134 echo "${ECHO_T}yes" >&6; }
12136 cat >>confdefs.h
<<\_ACEOF
12137 #define PROTOTYPES 1
12141 cat >>confdefs.h
<<\_ACEOF
12142 #define __PROTOTYPES 1
12146 { echo "$as_me:$LINENO: result: no" >&5
12147 echo "${ECHO_T}no" >&6; }
12150 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed" >&5
12151 echo $ECHO_N "checking whether setvbuf arguments are reversed... $ECHO_C" >&6; }
12152 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 ac_cv_func_setvbuf_reversed
=no
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12164 int (setvbuf) (FILE *, int, char *, size_t);
12169 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
12174 rm -f conftest.
$ac_objext conftest
$ac_exeext
12175 if { (ac_try
="$ac_link"
12176 case "(($ac_try" in
12177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_link") 2>conftest.er1
12183 grep -v '^ *+' conftest.er1 >conftest.err
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12189 { (case "(($ac_try" in
12190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12191 *) ac_try_echo
=$ac_try;;
12193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12194 (eval "$ac_try") 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; } &&
12198 { ac_try
='test -s conftest$ac_exeext'
12199 { (case "(($ac_try" in
12200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12201 *) ac_try_echo=$ac_try;;
12203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12204 (eval "$ac_try") 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 cat >conftest.$ac_ext <<_ACEOF
12211 cat confdefs.h >>conftest.$ac_ext
12212 cat >>conftest.$ac_ext <<_ACEOF
12213 /* end confdefs.h. */
12216 int (setvbuf) (FILE *, int, char *, size_t);
12221 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
12226 rm -f conftest.$ac_objext conftest$ac_exeext
12227 if { (ac_try="$ac_link"
12228 case "(($ac_try" in
12229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12230 *) ac_try_echo
=$ac_try;;
12232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12233 (eval "$ac_link") 2>conftest.er1
12235 grep -v '^ *+' conftest.er1
>conftest.err
12237 cat conftest.err
>&5
12238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239 (exit $ac_status); } &&
12240 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12241 { (case "(($ac_try" in
12242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12243 *) ac_try_echo=$ac_try;;
12245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12246 (eval "$ac_try") 2>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); }; } &&
12250 { ac_try='test -s conftest$ac_exeext'
12251 { (case "(($ac_try" in
12252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12253 *) ac_try_echo
=$ac_try;;
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_try") 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12260 # It compiles and links either way, so it must not be declared
12261 # with a prototype and most likely this is a K&R C compiler.
12263 if test "$cross_compiling" = yes; then
12264 : # Assume setvbuf is not reversed when cross-compiling.
12266 cat >conftest.
$ac_ext <<_ACEOF
12269 cat confdefs.h
>>conftest.
$ac_ext
12270 cat >>conftest.
$ac_ext <<_ACEOF
12271 /* end confdefs.h. */
12272 $ac_includes_default
12276 /* This call has the arguments reversed.
12277 A reversed system may check and see that the address of buf
12278 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
12280 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
12283 return 0; /* Non-reversed systems SEGV here. */
12288 rm -f conftest
$ac_exeext
12289 if { (ac_try
="$ac_link"
12290 case "(($ac_try" in
12291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12292 *) ac_try_echo=$ac_try;;
12294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12295 (eval "$ac_link") 2>&5
12297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12298 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12299 { (case "(($ac_try" in
12300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12301 *) ac_try_echo
=$ac_try;;
12303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12304 (eval "$ac_try") 2>&5
12306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12307 (exit $ac_status); }; }; then
12308 ac_cv_func_setvbuf_reversed
=yes
12310 echo "$as_me: program exited with status $ac_status" >&5
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.
$ac_ext >&5
12315 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12319 ac_cv_func_setvbuf_reversed
=yes
12321 echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.
$ac_ext >&5
12327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12328 conftest
$ac_exeext conftest.
$ac_ext
12330 echo "$as_me: failed program was:" >&5
12331 sed 's/^/| /' conftest.
$ac_ext >&5
12336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12337 conftest
$ac_exeext conftest.
$ac_ext
12339 { echo "$as_me:$LINENO: result: $ac_cv_func_setvbuf_reversed" >&5
12340 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
12341 if test $ac_cv_func_setvbuf_reversed = yes; then
12343 cat >>confdefs.h
<<\_ACEOF
12344 #define SETVBUF_REVERSED 1
12349 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12350 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
12351 if test "${ac_cv_type_signal+set}" = set; then
12352 echo $ECHO_N "(cached) $ECHO_C" >&6
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12360 #include <sys/types.h>
12361 #include <signal.h>
12366 return *(signal (0, 0)) (0) == 1;
12371 rm -f conftest.
$ac_objext
12372 if { (ac_try
="$ac_compile"
12373 case "(($ac_try" in
12374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12375 *) ac_try_echo=$ac_try;;
12377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12378 (eval "$ac_compile") 2>conftest.er1
12380 grep -v '^ *+' conftest.er1 >conftest.err
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12386 { (case "(($ac_try" in
12387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12388 *) ac_try_echo
=$ac_try;;
12390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12391 (eval "$ac_try") 2>&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); }; } &&
12395 { ac_try
='test -s conftest.$ac_objext'
12396 { (case "(($ac_try" in
12397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_try") 2>&5
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; }; then
12405 ac_cv_type_signal=int
12407 echo "$as_me: failed program was:" >&5
12408 sed 's/^/| /' conftest.$ac_ext >&5
12410 ac_cv_type_signal=void
12413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12415 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12416 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
12418 cat >>confdefs.h <<_ACEOF
12419 #define RETSIGTYPE $ac_cv_type_signal
12423 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5
12424 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6; }
12425 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 rm -f conftest.sym conftest.file
12429 echo >conftest.file
12430 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
12431 if test "$cross_compiling" = yes; then
12432 ac_cv_func_lstat_dereferences_slashed_symlink=no
12434 cat >conftest.$ac_ext <<_ACEOF
12437 cat confdefs.h >>conftest.$ac_ext
12438 cat >>conftest.$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12440 $ac_includes_default
12445 /* Linux will dereference the symlink and fail.
12446 That is better in the sense that it means we will not
12447 have to compile and use the lstat wrapper. */
12448 return lstat ("conftest.sym/", &sbuf) == 0;
12453 rm -f conftest$ac_exeext
12454 if { (ac_try="$ac_link"
12455 case "(($ac_try" in
12456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12457 *) ac_try_echo
=$ac_try;;
12459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12460 (eval "$ac_link") 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12464 { (case "(($ac_try" in
12465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12466 *) ac_try_echo=$ac_try;;
12468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12469 (eval "$ac_try") 2>&5
12471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12472 (exit $ac_status); }; }; then
12473 ac_cv_func_lstat_dereferences_slashed_symlink=yes
12475 echo "$as_me: program exited with status $ac_status" >&5
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 ( exit $ac_status )
12480 ac_cv_func_lstat_dereferences_slashed_symlink=no
12482 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12487 # If the `ln -s' command failed, then we probably don't even
12488 # have an lstat function.
12489 ac_cv_func_lstat_dereferences_slashed_symlink
=no
12491 rm -f conftest.sym conftest.
file
12494 { echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
12495 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
12497 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
12499 cat >>confdefs.h
<<_ACEOF
12500 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
12504 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no
; then
12505 case " $LIBOBJS " in
12506 *" lstat.$ac_objext "* ) ;;
12507 *) LIBOBJS
="$LIBOBJS lstat.$ac_objext"
12513 { echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5
12514 echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6; }
12515 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
12516 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 if test "$cross_compiling" = yes; then
12519 ac_cv_func_stat_empty_string_bug
=yes
12521 cat >conftest.
$ac_ext <<_ACEOF
12524 cat confdefs.h
>>conftest.
$ac_ext
12525 cat >>conftest.
$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527 $ac_includes_default
12532 return stat ("", &sbuf) == 0;
12537 rm -f conftest
$ac_exeext
12538 if { (ac_try
="$ac_link"
12539 case "(($ac_try" in
12540 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12541 *) ac_try_echo=$ac_try;;
12543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12544 (eval "$ac_link") 2>&5
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12548 { (case "(($ac_try" in
12549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12550 *) ac_try_echo
=$ac_try;;
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_try") 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 ac_cv_func_stat_empty_string_bug
=no
12559 echo "$as_me: program exited with status $ac_status" >&5
12560 echo "$as_me: failed program was:" >&5
12561 sed 's/^/| /' conftest.
$ac_ext >&5
12563 ( exit $ac_status )
12564 ac_cv_func_stat_empty_string_bug
=yes
12566 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12571 { echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5
12572 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
12573 if test $ac_cv_func_stat_empty_string_bug = yes; then
12574 case " $LIBOBJS " in
12575 *" stat.$ac_objext "* ) ;;
12576 *) LIBOBJS
="$LIBOBJS stat.$ac_objext"
12581 cat >>confdefs.h
<<_ACEOF
12582 #define HAVE_STAT_EMPTY_STRING_BUG 1
12587 { echo "$as_me:$LINENO: checking for working strcoll" >&5
12588 echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6; }
12589 if test "${ac_cv_func_strcoll_works+set}" = set; then
12590 echo $ECHO_N "(cached) $ECHO_C" >&6
12592 if test "$cross_compiling" = yes; then
12593 ac_cv_func_strcoll_works
=no
12595 cat >conftest.
$ac_ext <<_ACEOF
12598 cat confdefs.h
>>conftest.
$ac_ext
12599 cat >>conftest.
$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 $ac_includes_default
12605 return (strcoll ("abc", "def") >= 0 ||
12606 strcoll ("ABC", "DEF") >= 0 ||
12607 strcoll ("123", "456") >= 0)
12612 rm -f conftest
$ac_exeext
12613 if { (ac_try
="$ac_link"
12614 case "(($ac_try" in
12615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12616 *) ac_try_echo=$ac_try;;
12618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12619 (eval "$ac_link") 2>&5
12621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12623 { (case "(($ac_try" in
12624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12625 *) ac_try_echo
=$ac_try;;
12627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12628 (eval "$ac_try") 2>&5
12630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12631 (exit $ac_status); }; }; then
12632 ac_cv_func_strcoll_works
=yes
12634 echo "$as_me: program exited with status $ac_status" >&5
12635 echo "$as_me: failed program was:" >&5
12636 sed 's/^/| /' conftest.
$ac_ext >&5
12638 ( exit $ac_status )
12639 ac_cv_func_strcoll_works
=no
12641 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12646 { echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
12647 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
12648 if test $ac_cv_func_strcoll_works = yes; then
12650 cat >>confdefs.h
<<\_ACEOF
12651 #define HAVE_STRCOLL 1
12657 for ac_func
in strftime
12659 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12662 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12663 echo $ECHO_N "(cached) $ECHO_C" >&6
12665 cat >conftest.
$ac_ext <<_ACEOF
12668 cat confdefs.h
>>conftest.
$ac_ext
12669 cat >>conftest.
$ac_ext <<_ACEOF
12670 /* end confdefs.h. */
12671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12673 #define $ac_func innocuous_$ac_func
12675 /* System header to define __stub macros and hopefully few prototypes,
12676 which can conflict with char $ac_func (); below.
12677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12678 <limits.h> exists even on freestanding compilers. */
12681 # include <limits.h>
12683 # include <assert.h>
12688 /* Override any GCC internal prototype to avoid an error.
12689 Use char because int might match the return type of a GCC
12690 builtin and then its argument prototype would still apply. */
12695 /* The GNU C library defines this for functions which it implements
12696 to always fail with ENOSYS. Some functions are actually named
12697 something starting with __ and the normal name is an alias. */
12698 #if defined __stub_$ac_func || defined __stub___$ac_func
12705 return $ac_func ();
12710 rm -f conftest.
$ac_objext conftest
$ac_exeext
12711 if { (ac_try
="$ac_link"
12712 case "(($ac_try" in
12713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12714 *) ac_try_echo=$ac_try;;
12716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12717 (eval "$ac_link") 2>conftest.er1
12719 grep -v '^ *+' conftest.er1 >conftest.err
12721 cat conftest.err >&5
12722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12723 (exit $ac_status); } &&
12724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12725 { (case "(($ac_try" in
12726 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12727 *) ac_try_echo
=$ac_try;;
12729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12730 (eval "$ac_try") 2>&5
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try
='test -s conftest$ac_exeext'
12735 { (case "(($ac_try" in
12736 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12737 *) ac_try_echo=$ac_try;;
12739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12740 (eval "$ac_try") 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 eval "$as_ac_var=yes"
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.$ac_ext >&5
12749 eval "$as_ac_var=no"
12752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12753 conftest$ac_exeext conftest.$ac_ext
12755 ac_res=`eval echo '${'$as_ac_var'}'`
12756 { echo "$as_me:$LINENO: result: $ac_res" >&5
12757 echo "${ECHO_T}$ac_res" >&6; }
12758 if test `eval echo '${'$as_ac_var'}'` = yes; then
12759 cat >>confdefs.h <<_ACEOF
12760 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12764 # strftime is in -lintl on SCO UNIX.
12765 { echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12766 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6; }
12767 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12770 ac_check_lib_save_LIBS=$LIBS
12771 LIBS="-lintl $LIBS"
12772 cat >conftest.$ac_ext <<_ACEOF
12775 cat confdefs.h >>conftest.$ac_ext
12776 cat >>conftest.$ac_ext <<_ACEOF
12777 /* end confdefs.h. */
12779 /* Override any GCC internal prototype to avoid an error.
12780 Use char because int might match the return type of a GCC
12781 builtin and then its argument prototype would still apply. */
12789 return strftime ();
12794 rm -f conftest.$ac_objext conftest$ac_exeext
12795 if { (ac_try="$ac_link"
12796 case "(($ac_try" in
12797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12798 *) ac_try_echo
=$ac_try;;
12800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12801 (eval "$ac_link") 2>conftest.er1
12803 grep -v '^ *+' conftest.er1
>conftest.err
12805 cat conftest.err
>&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (case "(($ac_try" in
12810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12811 *) ac_try_echo=$ac_try;;
12813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12814 (eval "$ac_try") 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; } &&
12818 { ac_try='test -s conftest$ac_exeext'
12819 { (case "(($ac_try" in
12820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12821 *) ac_try_echo
=$ac_try;;
12823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12824 (eval "$ac_try") 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; }; then
12828 ac_cv_lib_intl_strftime
=yes
12830 echo "$as_me: failed program was:" >&5
12831 sed 's/^/| /' conftest.
$ac_ext >&5
12833 ac_cv_lib_intl_strftime
=no
12836 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12837 conftest
$ac_exeext conftest.
$ac_ext
12838 LIBS
=$ac_check_lib_save_LIBS
12840 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12841 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
12842 if test $ac_cv_lib_intl_strftime = yes; then
12843 cat >>confdefs.h
<<\_ACEOF
12844 #define HAVE_STRFTIME 1
12847 LIBS
="-lintl $LIBS"
12853 { echo "$as_me:$LINENO: checking for working strnlen" >&5
12854 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6; }
12855 if test "${ac_cv_func_strnlen_working+set}" = set; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 if test "$cross_compiling" = yes; then
12859 ac_cv_func_strnlen_working
=no
12861 cat >conftest.
$ac_ext <<_ACEOF
12864 cat confdefs.h
>>conftest.
$ac_ext
12865 cat >>conftest.
$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12867 $ac_includes_default
12873 #define S_LEN (sizeof S - 1)
12875 /* At least one implementation is buggy: that of AIX 4.3 would
12876 give strnlen (S, 1) == 3. */
12879 for (i = 0; i < S_LEN + 1; ++i)
12881 int expected = i <= S_LEN ? i : S_LEN;
12882 if (strnlen (S, i) != expected)
12891 rm -f conftest
$ac_exeext
12892 if { (ac_try
="$ac_link"
12893 case "(($ac_try" in
12894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12895 *) ac_try_echo=$ac_try;;
12897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12898 (eval "$ac_link") 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12902 { (case "(($ac_try" in
12903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12904 *) ac_try_echo
=$ac_try;;
12906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12907 (eval "$ac_try") 2>&5
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; }; then
12911 ac_cv_func_strnlen_working
=yes
12913 echo "$as_me: program exited with status $ac_status" >&5
12914 echo "$as_me: failed program was:" >&5
12915 sed 's/^/| /' conftest.
$ac_ext >&5
12917 ( exit $ac_status )
12918 ac_cv_func_strnlen_working
=no
12920 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12925 { echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
12926 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
12927 test $ac_cv_func_strnlen_working = no
&& case " $LIBOBJS " in
12928 *" strnlen.$ac_objext "* ) ;;
12929 *) LIBOBJS
="$LIBOBJS strnlen.$ac_objext"
12934 { echo "$as_me:$LINENO: checking for working strtod" >&5
12935 echo $ECHO_N "checking for working strtod... $ECHO_C" >&6; }
12936 if test "${ac_cv_func_strtod+set}" = set; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 if test "$cross_compiling" = yes; then
12940 ac_cv_func_strtod
=no
12942 cat >conftest.
$ac_ext <<_ACEOF
12945 cat confdefs.h
>>conftest.
$ac_ext
12946 cat >>conftest.
$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12949 $ac_includes_default
12957 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
12958 char *string = " +69";
12961 value = strtod (string, &term);
12962 if (value != 69 || term != (string + 4))
12967 /* Under Solaris 2.4, strtod returns the wrong value for the
12968 terminating character under some conditions. */
12969 char *string = "NaN";
12971 strtod (string, &term);
12972 if (term != string && *(term - 1) == 0)
12979 rm -f conftest
$ac_exeext
12980 if { (ac_try
="$ac_link"
12981 case "(($ac_try" in
12982 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12983 *) ac_try_echo=$ac_try;;
12985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12986 (eval "$ac_link") 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12990 { (case "(($ac_try" in
12991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12992 *) ac_try_echo
=$ac_try;;
12994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12995 (eval "$ac_try") 2>&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; }; then
12999 ac_cv_func_strtod
=yes
13001 echo "$as_me: program exited with status $ac_status" >&5
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.
$ac_ext >&5
13005 ( exit $ac_status )
13006 ac_cv_func_strtod
=no
13008 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13013 { echo "$as_me:$LINENO: result: $ac_cv_func_strtod" >&5
13014 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
13015 if test $ac_cv_func_strtod = no
; then
13016 case " $LIBOBJS " in
13017 *" strtod.$ac_objext "* ) ;;
13018 *) LIBOBJS
="$LIBOBJS strtod.$ac_objext"
13022 { echo "$as_me:$LINENO: checking for pow" >&5
13023 echo $ECHO_N "checking for pow... $ECHO_C" >&6; }
13024 if test "${ac_cv_func_pow+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13027 cat >conftest.
$ac_ext <<_ACEOF
13030 cat confdefs.h
>>conftest.
$ac_ext
13031 cat >>conftest.
$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
13034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13035 #define pow innocuous_pow
13037 /* System header to define __stub macros and hopefully few prototypes,
13038 which can conflict with char pow (); below.
13039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13040 <limits.h> exists even on freestanding compilers. */
13043 # include <limits.h>
13045 # include <assert.h>
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13057 /* The GNU C library defines this for functions which it implements
13058 to always fail with ENOSYS. Some functions are actually named
13059 something starting with __ and the normal name is an alias. */
13060 #if defined __stub_pow || defined __stub___pow
13072 rm -f conftest.
$ac_objext conftest
$ac_exeext
13073 if { (ac_try
="$ac_link"
13074 case "(($ac_try" in
13075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13076 *) ac_try_echo=$ac_try;;
13078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13079 (eval "$ac_link") 2>conftest.er1
13081 grep -v '^ *+' conftest.er1 >conftest.err
13083 cat conftest.err >&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); } &&
13086 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13087 { (case "(($ac_try" in
13088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13089 *) ac_try_echo
=$ac_try;;
13091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13092 (eval "$ac_try") 2>&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); }; } &&
13096 { ac_try
='test -s conftest$ac_exeext'
13097 { (case "(($ac_try" in
13098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13099 *) ac_try_echo=$ac_try;;
13101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13102 (eval "$ac_try") 2>&5
13104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }; }; then
13108 echo "$as_me: failed program was:" >&5
13109 sed 's/^/| /' conftest.$ac_ext >&5
13114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13115 conftest$ac_exeext conftest.$ac_ext
13117 { echo "$as_me:$LINENO: result: $ac_cv_func_pow" >&5
13118 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
13120 if test $ac_cv_func_pow = no; then
13121 { echo "$as_me:$LINENO: checking for pow in -lm" >&5
13122 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6; }
13123 if test "${ac_cv_lib_m_pow+set}" = set; then
13124 echo $ECHO_N "(cached) $ECHO_C" >&6
13126 ac_check_lib_save_LIBS=$LIBS
13128 cat >conftest.$ac_ext <<_ACEOF
13131 cat confdefs.h >>conftest.$ac_ext
13132 cat >>conftest.$ac_ext <<_ACEOF
13133 /* end confdefs.h. */
13135 /* Override any GCC internal prototype to avoid an error.
13136 Use char because int might match the return type of a GCC
13137 builtin and then its argument prototype would still apply. */
13150 rm -f conftest.$ac_objext conftest$ac_exeext
13151 if { (ac_try="$ac_link"
13152 case "(($ac_try" in
13153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13154 *) ac_try_echo
=$ac_try;;
13156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13157 (eval "$ac_link") 2>conftest.er1
13159 grep -v '^ *+' conftest.er1
>conftest.err
13161 cat conftest.err
>&5
13162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13163 (exit $ac_status); } &&
13164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13165 { (case "(($ac_try" in
13166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13167 *) ac_try_echo=$ac_try;;
13169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13170 (eval "$ac_try") 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; } &&
13174 { ac_try='test -s conftest$ac_exeext'
13175 { (case "(($ac_try" in
13176 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13177 *) ac_try_echo
=$ac_try;;
13179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13180 (eval "$ac_try") 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; }; then
13184 ac_cv_lib_m_pow
=yes
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.
$ac_ext >&5
13192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13193 conftest
$ac_exeext conftest.
$ac_ext
13194 LIBS
=$ac_check_lib_save_LIBS
13196 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
13197 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
13198 if test $ac_cv_lib_m_pow = yes; then
13201 { echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
13202 echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
13209 { echo "$as_me:$LINENO: checking whether utime accepts a null argument" >&5
13210 echo $ECHO_N "checking whether utime accepts a null argument... $ECHO_C" >&6; }
13211 if test "${ac_cv_func_utime_null+set}" = set; then
13212 echo $ECHO_N "(cached) $ECHO_C" >&6
13214 rm -f conftest.data
; >conftest.data
13215 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
13216 if test "$cross_compiling" = yes; then
13217 ac_cv_func_utime_null
=no
13219 cat >conftest.
$ac_ext <<_ACEOF
13222 cat confdefs.h
>>conftest.
$ac_ext
13223 cat >>conftest.
$ac_ext <<_ACEOF
13224 /* end confdefs.h. */
13225 $ac_includes_default
13230 return ! (stat ("conftest.data", &s) == 0
13231 && utime ("conftest.data", 0) == 0
13232 && stat ("conftest.data", &t) == 0
13233 && t.st_mtime >= s.st_mtime
13234 && t.st_mtime - s.st_mtime < 120);
13239 rm -f conftest
$ac_exeext
13240 if { (ac_try
="$ac_link"
13241 case "(($ac_try" in
13242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13243 *) ac_try_echo=$ac_try;;
13245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13246 (eval "$ac_link") 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13250 { (case "(($ac_try" in
13251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13252 *) ac_try_echo
=$ac_try;;
13254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13255 (eval "$ac_try") 2>&5
13257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13258 (exit $ac_status); }; }; then
13259 ac_cv_func_utime_null
=yes
13261 echo "$as_me: program exited with status $ac_status" >&5
13262 echo "$as_me: failed program was:" >&5
13263 sed 's/^/| /' conftest.
$ac_ext >&5
13265 ( exit $ac_status )
13266 ac_cv_func_utime_null
=no
13268 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13273 { echo "$as_me:$LINENO: result: $ac_cv_func_utime_null" >&5
13274 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
13275 if test $ac_cv_func_utime_null = yes; then
13277 cat >>confdefs.h
<<\_ACEOF
13278 #define HAVE_UTIME_NULL 1
13282 rm -f conftest.data
13285 for ac_func
in vprintf
13287 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13288 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13290 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13291 echo $ECHO_N "(cached) $ECHO_C" >&6
13293 cat >conftest.
$ac_ext <<_ACEOF
13296 cat confdefs.h
>>conftest.
$ac_ext
13297 cat >>conftest.
$ac_ext <<_ACEOF
13298 /* end confdefs.h. */
13299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13301 #define $ac_func innocuous_$ac_func
13303 /* System header to define __stub macros and hopefully few prototypes,
13304 which can conflict with char $ac_func (); below.
13305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13306 <limits.h> exists even on freestanding compilers. */
13309 # include <limits.h>
13311 # include <assert.h>
13316 /* Override any GCC internal prototype to avoid an error.
13317 Use char because int might match the return type of a GCC
13318 builtin and then its argument prototype would still apply. */
13323 /* The GNU C library defines this for functions which it implements
13324 to always fail with ENOSYS. Some functions are actually named
13325 something starting with __ and the normal name is an alias. */
13326 #if defined __stub_$ac_func || defined __stub___$ac_func
13333 return $ac_func ();
13338 rm -f conftest.
$ac_objext conftest
$ac_exeext
13339 if { (ac_try
="$ac_link"
13340 case "(($ac_try" in
13341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13342 *) ac_try_echo=$ac_try;;
13344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13345 (eval "$ac_link") 2>conftest.er1
13347 grep -v '^ *+' conftest.er1 >conftest.err
13349 cat conftest.err >&5
13350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13351 (exit $ac_status); } &&
13352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13353 { (case "(($ac_try" in
13354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13355 *) ac_try_echo
=$ac_try;;
13357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13358 (eval "$ac_try") 2>&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); }; } &&
13362 { ac_try
='test -s conftest$ac_exeext'
13363 { (case "(($ac_try" in
13364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13365 *) ac_try_echo=$ac_try;;
13367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13368 (eval "$ac_try") 2>&5
13370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13371 (exit $ac_status); }; }; then
13372 eval "$as_ac_var=yes"
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13377 eval "$as_ac_var=no"
13380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13381 conftest$ac_exeext conftest.$ac_ext
13383 ac_res=`eval echo '${'$as_ac_var'}'`
13384 { echo "$as_me:$LINENO: result: $ac_res" >&5
13385 echo "${ECHO_T}$ac_res" >&6; }
13386 if test `eval echo '${'$as_ac_var'}'` = yes; then
13387 cat >>confdefs.h <<_ACEOF
13388 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13391 { echo "$as_me:$LINENO: checking for _doprnt" >&5
13392 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6; }
13393 if test "${ac_cv_func__doprnt+set}" = set; then
13394 echo $ECHO_N "(cached) $ECHO_C" >&6
13396 cat >conftest.$ac_ext <<_ACEOF
13399 cat confdefs.h >>conftest.$ac_ext
13400 cat >>conftest.$ac_ext <<_ACEOF
13401 /* end confdefs.h. */
13402 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
13403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13404 #define _doprnt innocuous__doprnt
13406 /* System header to define __stub macros and hopefully few prototypes,
13407 which can conflict with char _doprnt (); below.
13408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13409 <limits.h> exists even on freestanding compilers. */
13412 # include <limits.h>
13414 # include <assert.h>
13419 /* Override any GCC internal prototype to avoid an error.
13420 Use char because int might match the return type of a GCC
13421 builtin and then its argument prototype would still apply. */
13426 /* The GNU C library defines this for functions which it implements
13427 to always fail with ENOSYS. Some functions are actually named
13428 something starting with __ and the normal name is an alias. */
13429 #if defined __stub__doprnt || defined __stub____doprnt
13441 rm -f conftest.$ac_objext conftest$ac_exeext
13442 if { (ac_try="$ac_link"
13443 case "(($ac_try" in
13444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13445 *) ac_try_echo
=$ac_try;;
13447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13448 (eval "$ac_link") 2>conftest.er1
13450 grep -v '^ *+' conftest.er1
>conftest.err
13452 cat conftest.err
>&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); } &&
13455 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13456 { (case "(($ac_try" in
13457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13458 *) ac_try_echo=$ac_try;;
13460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13461 (eval "$ac_try") 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; } &&
13465 { ac_try='test -s conftest$ac_exeext'
13466 { (case "(($ac_try" in
13467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13468 *) ac_try_echo
=$ac_try;;
13470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13471 (eval "$ac_try") 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 ac_cv_func__doprnt
=yes
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.
$ac_ext >&5
13480 ac_cv_func__doprnt
=no
13483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13484 conftest
$ac_exeext conftest.
$ac_ext
13486 { echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
13487 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
13488 if test $ac_cv_func__doprnt = yes; then
13490 cat >>confdefs.h
<<\_ACEOF
13491 #define HAVE_DOPRNT 1
13547 for ac_func
in asprintf atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint
select setenv socket sqrt strcasecmp strcasestr strchr strcspn strdup strerror strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf
13549 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13550 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13552 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13555 cat >conftest.
$ac_ext <<_ACEOF
13558 cat confdefs.h
>>conftest.
$ac_ext
13559 cat >>conftest.
$ac_ext <<_ACEOF
13560 /* end confdefs.h. */
13561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13563 #define $ac_func innocuous_$ac_func
13565 /* System header to define __stub macros and hopefully few prototypes,
13566 which can conflict with char $ac_func (); below.
13567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13568 <limits.h> exists even on freestanding compilers. */
13571 # include <limits.h>
13573 # include <assert.h>
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13585 /* The GNU C library defines this for functions which it implements
13586 to always fail with ENOSYS. Some functions are actually named
13587 something starting with __ and the normal name is an alias. */
13588 #if defined __stub_$ac_func || defined __stub___$ac_func
13595 return $ac_func ();
13600 rm -f conftest.
$ac_objext conftest
$ac_exeext
13601 if { (ac_try
="$ac_link"
13602 case "(($ac_try" in
13603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13604 *) ac_try_echo=$ac_try;;
13606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13607 (eval "$ac_link") 2>conftest.er1
13609 grep -v '^ *+' conftest.er1 >conftest.err
13611 cat conftest.err >&5
13612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13613 (exit $ac_status); } &&
13614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13615 { (case "(($ac_try" in
13616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13617 *) ac_try_echo
=$ac_try;;
13619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13620 (eval "$ac_try") 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; } &&
13624 { ac_try
='test -s conftest$ac_exeext'
13625 { (case "(($ac_try" in
13626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13627 *) ac_try_echo=$ac_try;;
13629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13630 (eval "$ac_try") 2>&5
13632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13633 (exit $ac_status); }; }; then
13634 eval "$as_ac_var=yes"
13636 echo "$as_me: failed program was:" >&5
13637 sed 's/^/| /' conftest.$ac_ext >&5
13639 eval "$as_ac_var=no"
13642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13643 conftest$ac_exeext conftest.$ac_ext
13645 ac_res=`eval echo '${'$as_ac_var'}'`
13646 { echo "$as_me:$LINENO: result: $ac_res" >&5
13647 echo "${ECHO_T}$ac_res" >&6; }
13648 if test `eval echo '${'$as_ac_var'}'` = yes; then
13649 cat >>confdefs.h <<_ACEOF
13650 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
13657 { echo "$as_me:$LINENO: checking for compiler atomic operations" >&5
13658 echo $ECHO_N "checking for compiler atomic operations... $ECHO_C" >&6; }
13659 cat >conftest.$ac_ext <<_ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13669 int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (ac_try="$ac_link"
13676 case "(($ac_try" in
13677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13678 *) ac_try_echo
=$ac_try;;
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_link") 2>conftest.er1
13683 grep -v '^ *+' conftest.er1
>conftest.err
13685 cat conftest.err
>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } &&
13688 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13689 { (case "(($ac_try" in
13690 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13691 *) ac_try_echo=$ac_try;;
13693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13694 (eval "$ac_try") 2>&5
13696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697 (exit $ac_status); }; } &&
13698 { ac_try='test -s conftest$ac_exeext'
13699 { (case "(($ac_try" in
13700 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13701 *) ac_try_echo
=$ac_try;;
13703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13704 (eval "$ac_try") 2>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); }; }; then
13708 { echo "$as_me:$LINENO: result: yes" >&5
13709 echo "${ECHO_T}yes" >&6; }
13711 cat >>confdefs.h
<<\_ACEOF
13712 #define HAVE_GCC_ATOMICS 1
13716 echo "$as_me: failed program was:" >&5
13717 sed 's/^/| /' conftest.
$ac_ext >&5
13719 { echo "$as_me:$LINENO: result: no" >&5
13720 echo "${ECHO_T}no" >&6; }
13724 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13725 conftest
$ac_exeext conftest.
$ac_ext
13728 { echo "$as_me:$LINENO: checking for compiler 'attribute pure' support" >&5
13729 echo $ECHO_N "checking for compiler 'attribute pure' support... $ECHO_C" >&6; }
13730 cat >conftest.
$ac_ext <<_ACEOF
13733 cat confdefs.h
>>conftest.
$ac_ext
13734 cat >>conftest.
$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13736 static int __attribute__((pure)) test(void) {}
13745 rm -f conftest.
$ac_objext
13746 if { (ac_try
="$ac_compile"
13747 case "(($ac_try" in
13748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13749 *) ac_try_echo=$ac_try;;
13751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13752 (eval "$ac_compile") 2>conftest.er1
13754 grep -v '^ *+' conftest.er1 >conftest.err
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } &&
13759 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13760 { (case "(($ac_try" in
13761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13762 *) ac_try_echo
=$ac_try;;
13764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13765 (eval "$ac_try") 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } &&
13769 { ac_try
='test -s conftest.$ac_objext'
13770 { (case "(($ac_try" in
13771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13772 *) ac_try_echo=$ac_try;;
13774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13775 (eval "$ac_try") 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 { echo "$as_me:$LINENO: result: yes" >&5
13780 echo "${ECHO_T}yes" >&6; }
13782 cat >>confdefs.h <<_ACEOF
13783 #define HAVE_ATTRIBUTE_pure 1
13787 echo "$as_me: failed program was:" >&5
13788 sed 's/^/| /' conftest.$ac_ext >&5
13790 { echo "$as_me:$LINENO: result: no" >&5
13791 echo "${ECHO_T}no" >&6; }
13794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13797 { echo "$as_me:$LINENO: checking for compiler 'attribute malloc' support" >&5
13798 echo $ECHO_N "checking for compiler 'attribute malloc' support... $ECHO_C" >&6; }
13799 cat >conftest.$ac_ext <<_ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 static int __attribute__((malloc)) test(void) {}
13814 rm -f conftest.$ac_objext
13815 if { (ac_try="$ac_compile"
13816 case "(($ac_try" in
13817 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13818 *) ac_try_echo
=$ac_try;;
13820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13821 (eval "$ac_compile") 2>conftest.er1
13823 grep -v '^ *+' conftest.er1
>conftest.err
13825 cat conftest.err
>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13829 { (case "(($ac_try" in
13830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13831 *) ac_try_echo=$ac_try;;
13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13834 (eval "$ac_try") 2>&5
13836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837 (exit $ac_status); }; } &&
13838 { ac_try='test -s conftest.$ac_objext'
13839 { (case "(($ac_try" in
13840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13841 *) ac_try_echo
=$ac_try;;
13843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13844 (eval "$ac_try") 2>&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 (exit $ac_status); }; }; then
13848 { echo "$as_me:$LINENO: result: yes" >&5
13849 echo "${ECHO_T}yes" >&6; }
13851 cat >>confdefs.h
<<_ACEOF
13852 #define HAVE_ATTRIBUTE_malloc 1
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.
$ac_ext >&5
13859 { echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6; }
13863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13866 { echo "$as_me:$LINENO: checking for compiler 'attribute const' support" >&5
13867 echo $ECHO_N "checking for compiler 'attribute const' support... $ECHO_C" >&6; }
13868 cat >conftest.
$ac_ext <<_ACEOF
13871 cat confdefs.h
>>conftest.
$ac_ext
13872 cat >>conftest.
$ac_ext <<_ACEOF
13873 /* end confdefs.h. */
13874 static int __attribute__((const)) test(void) {}
13883 rm -f conftest.
$ac_objext
13884 if { (ac_try
="$ac_compile"
13885 case "(($ac_try" in
13886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13887 *) ac_try_echo=$ac_try;;
13889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13890 (eval "$ac_compile") 2>conftest.er1
13892 grep -v '^ *+' conftest.er1 >conftest.err
13894 cat conftest.err >&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); } &&
13897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13898 { (case "(($ac_try" in
13899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13900 *) ac_try_echo
=$ac_try;;
13902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13903 (eval "$ac_try") 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; } &&
13907 { ac_try
='test -s conftest.$ac_objext'
13908 { (case "(($ac_try" in
13909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13910 *) ac_try_echo=$ac_try;;
13912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13913 (eval "$ac_try") 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; }; then
13917 { echo "$as_me:$LINENO: result: yes" >&5
13918 echo "${ECHO_T}yes" >&6; }
13920 cat >>confdefs.h <<_ACEOF
13921 #define HAVE_ATTRIBUTE_const 1
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13928 { echo "$as_me:$LINENO: result: no" >&5
13929 echo "${ECHO_T}no" >&6; }
13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13935 { echo "$as_me:$LINENO: checking for compiler 'attribute unused' support" >&5
13936 echo $ECHO_N "checking for compiler 'attribute unused' support... $ECHO_C" >&6; }
13937 cat >conftest.$ac_ext <<_ACEOF
13940 cat confdefs.h >>conftest.$ac_ext
13941 cat >>conftest.$ac_ext <<_ACEOF
13942 /* end confdefs.h. */
13943 static int __attribute__((unused)) test(void) {}
13952 rm -f conftest.$ac_objext
13953 if { (ac_try="$ac_compile"
13954 case "(($ac_try" in
13955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13956 *) ac_try_echo
=$ac_try;;
13958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959 (eval "$ac_compile") 2>conftest.er1
13961 grep -v '^ *+' conftest.er1
>conftest.err
13963 cat conftest.err
>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } &&
13966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13967 { (case "(($ac_try" in
13968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13969 *) ac_try_echo=$ac_try;;
13971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13972 (eval "$ac_try") 2>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); }; } &&
13976 { ac_try='test -s conftest.$ac_objext'
13977 { (case "(($ac_try" in
13978 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13979 *) ac_try_echo
=$ac_try;;
13981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13982 (eval "$ac_try") 2>&5
13984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13985 (exit $ac_status); }; }; then
13986 { echo "$as_me:$LINENO: result: yes" >&5
13987 echo "${ECHO_T}yes" >&6; }
13989 cat >>confdefs.h
<<_ACEOF
13990 #define HAVE_ATTRIBUTE_unused 1
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.
$ac_ext >&5
13997 { echo "$as_me:$LINENO: result: no" >&5
13998 echo "${ECHO_T}no" >&6; }
14001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14004 { echo "$as_me:$LINENO: checking for compiler 'attribute always_inline' support" >&5
14005 echo $ECHO_N "checking for compiler 'attribute always_inline' support... $ECHO_C" >&6; }
14006 cat >conftest.
$ac_ext <<_ACEOF
14009 cat confdefs.h
>>conftest.
$ac_ext
14010 cat >>conftest.
$ac_ext <<_ACEOF
14011 /* end confdefs.h. */
14012 static int __attribute__((always_inline)) test(void) {}
14021 rm -f conftest.
$ac_objext
14022 if { (ac_try
="$ac_compile"
14023 case "(($ac_try" in
14024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14025 *) ac_try_echo=$ac_try;;
14027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14028 (eval "$ac_compile") 2>conftest.er1
14030 grep -v '^ *+' conftest.er1 >conftest.err
14032 cat conftest.err >&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); } &&
14035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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_try") 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; } &&
14045 { ac_try
='test -s conftest.$ac_objext'
14046 { (case "(($ac_try" in
14047 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14048 *) ac_try_echo=$ac_try;;
14050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14051 (eval "$ac_try") 2>&5
14053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14054 (exit $ac_status); }; }; then
14055 { echo "$as_me:$LINENO: result: yes" >&5
14056 echo "${ECHO_T}yes" >&6; }
14058 cat >>confdefs.h <<_ACEOF
14059 #define HAVE_ATTRIBUTE_always_inline 1
14063 echo "$as_me: failed program was:" >&5
14064 sed 's/^/| /' conftest.$ac_ext >&5
14066 { echo "$as_me:$LINENO: result: no" >&5
14067 echo "${ECHO_T}no" >&6; }
14070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14073 { echo "$as_me:$LINENO: checking for -ffunction-sections support" >&5
14074 echo $ECHO_N "checking for -ffunction-sections support... $ECHO_C" >&6; }
14075 saved_CFLAGS="${CFLAGS}"
14076 CFLAGS="${CFLAGS} -ffunction-sections"
14077 cat >conftest.$ac_ext <<_ACEOF
14080 cat confdefs.h >>conftest.$ac_ext
14081 cat >>conftest.$ac_ext <<_ACEOF
14082 /* end confdefs.h. */
14092 rm -f conftest.$ac_objext
14093 if { (ac_try="$ac_compile"
14094 case "(($ac_try" in
14095 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14096 *) ac_try_echo
=$ac_try;;
14098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14099 (eval "$ac_compile") 2>conftest.er1
14101 grep -v '^ *+' conftest.er1
>conftest.err
14103 cat conftest.err
>&5
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); } &&
14106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14107 { (case "(($ac_try" in
14108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14109 *) ac_try_echo=$ac_try;;
14111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14112 (eval "$ac_try") 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; } &&
14116 { ac_try='test -s conftest.$ac_objext'
14117 { (case "(($ac_try" in
14118 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14119 *) ac_try_echo
=$ac_try;;
14121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14122 (eval "$ac_try") 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14126 { echo "$as_me:$LINENO: result: yes" >&5
14127 echo "${ECHO_T}yes" >&6; }
14128 saved_LDFLAGS
="${LDFLAGS}"
14129 LDFLAGS
="${LDFLAGS} -Wl,--gc-sections"
14130 { echo "$as_me:$LINENO: checking for --gc-sections support" >&5
14131 echo $ECHO_N "checking for --gc-sections support... $ECHO_C" >&6; }
14132 cat >conftest.
$ac_ext <<_ACEOF
14135 cat confdefs.h
>>conftest.
$ac_ext
14136 cat >>conftest.
$ac_ext <<_ACEOF
14137 /* end confdefs.h. */
14147 rm -f conftest.
$ac_objext conftest
$ac_exeext
14148 if { (ac_try
="$ac_link"
14149 case "(($ac_try" in
14150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14151 *) ac_try_echo=$ac_try;;
14153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14154 (eval "$ac_link") 2>conftest.er1
14156 grep -v '^ *+' conftest.er1 >conftest.err
14158 cat conftest.err >&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14162 { (case "(($ac_try" in
14163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14164 *) ac_try_echo
=$ac_try;;
14166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14167 (eval "$ac_try") 2>&5
14169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14170 (exit $ac_status); }; } &&
14171 { ac_try
='test -s conftest$ac_exeext'
14172 { (case "(($ac_try" in
14173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_try") 2>&5
14179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14180 (exit $ac_status); }; }; then
14181 { echo "$as_me:$LINENO: result: yes" >&5
14182 echo "${ECHO_T}yes" >&6; }
14183 GC_CFLAGS="-ffunction-sections"
14184 GC_LDFLAGS="-Wl,--gc-sections"
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14189 { echo "$as_me:$LINENO: result: no" >&5
14190 echo "${ECHO_T}no" >&6; }
14194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14195 conftest$ac_exeext conftest.$ac_ext
14196 LDFLAGS="${saved_LDFLAGS}"
14198 echo "$as_me: failed program was:" >&5
14199 sed 's/^/| /' conftest.$ac_ext >&5
14201 { echo "$as_me:$LINENO: result: no" >&5
14202 echo "${ECHO_T}no" >&6; }
14206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 CFLAGS="${saved_CFLAGS}"
14211 { echo "$as_me:$LINENO: checking for res_ninit" >&5
14212 echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6; }
14213 cat >conftest.$ac_ext <<_ACEOF
14216 cat confdefs.h >>conftest.$ac_ext
14217 cat >>conftest.$ac_ext <<_ACEOF
14218 /* end confdefs.h. */
14219 #include <resolv.h>
14223 int foo = res_ninit(NULL);
14228 rm -f conftest.$ac_objext conftest$ac_exeext
14229 if { (ac_try="$ac_link"
14230 case "(($ac_try" in
14231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14232 *) ac_try_echo
=$ac_try;;
14234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14235 (eval "$ac_link") 2>conftest.er1
14237 grep -v '^ *+' conftest.er1
>conftest.err
14239 cat conftest.err
>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 (exit $ac_status); } &&
14242 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14243 { (case "(($ac_try" in
14244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14245 *) ac_try_echo=$ac_try;;
14247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14248 (eval "$ac_try") 2>&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); }; } &&
14252 { ac_try='test -s conftest$ac_exeext'
14253 { (case "(($ac_try" in
14254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14255 *) ac_try_echo
=$ac_try;;
14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14258 (eval "$ac_try") 2>&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); }; }; then
14262 { echo "$as_me:$LINENO: result: yes" >&5
14263 echo "${ECHO_T}yes" >&6; }
14265 cat >>confdefs.h
<<\_ACEOF
14266 #define HAVE_RES_NINIT 1
14270 echo "$as_me: failed program was:" >&5
14271 sed 's/^/| /' conftest.
$ac_ext >&5
14273 { echo "$as_me:$LINENO: result: no" >&5
14274 echo "${ECHO_T}no" >&6; }
14278 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14279 conftest
$ac_exeext conftest.
$ac_ext
14281 { echo "$as_me:$LINENO: checking for RTLD_NOLOAD" >&5
14282 echo $ECHO_N "checking for RTLD_NOLOAD... $ECHO_C" >&6; }
14283 cat >conftest.
$ac_ext <<_ACEOF
14286 cat confdefs.h
>>conftest.
$ac_ext
14287 cat >>conftest.
$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14293 int foo = RTLD_NOLOAD;
14298 rm -f conftest.
$ac_objext conftest
$ac_exeext
14299 if { (ac_try
="$ac_link"
14300 case "(($ac_try" in
14301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14302 *) ac_try_echo=$ac_try;;
14304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14305 (eval "$ac_link") 2>conftest.er1
14307 grep -v '^ *+' conftest.er1 >conftest.err
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } &&
14312 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14313 { (case "(($ac_try" in
14314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14315 *) ac_try_echo
=$ac_try;;
14317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14318 (eval "$ac_try") 2>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; } &&
14322 { ac_try
='test -s conftest$ac_exeext'
14323 { (case "(($ac_try" in
14324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14325 *) ac_try_echo=$ac_try;;
14327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14328 (eval "$ac_try") 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); }; }; then
14332 { echo "$as_me:$LINENO: result: yes" >&5
14333 echo "${ECHO_T}yes" >&6; }
14335 cat >>confdefs.h <<\_ACEOF
14336 #define HAVE_RTLD_NOLOAD 1
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.$ac_ext >&5
14343 { echo "$as_me:$LINENO: result: no" >&5
14344 echo "${ECHO_T}no" >&6; }
14348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14349 conftest$ac_exeext conftest.$ac_ext
14351 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
14352 { echo "$as_me:$LINENO: checking for libkern/OSAtomic.h" >&5
14353 echo $ECHO_N "checking for libkern/OSAtomic.h... $ECHO_C" >&6; }
14354 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 { echo "$as_me:$LINENO: result: $ac_cv_header_libkern_OSAtomic_h" >&5
14358 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
14360 # Is the header compilable?
14361 { echo "$as_me:$LINENO: checking libkern/OSAtomic.h usability" >&5
14362 echo $ECHO_N "checking libkern/OSAtomic.h usability... $ECHO_C" >&6; }
14363 cat >conftest.$ac_ext <<_ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369 $ac_includes_default
14370 #include <libkern/OSAtomic.h>
14372 rm -f conftest.$ac_objext
14373 if { (ac_try="$ac_compile"
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_compile") 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 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14387 { (case "(($ac_try" in
14388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_try") 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); }; } &&
14396 { ac_try='test -s conftest.$ac_objext'
14397 { (case "(($ac_try" in
14398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14399 *) ac_try_echo
=$ac_try;;
14401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14402 (eval "$ac_try") 2>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); }; }; then
14406 ac_header_compiler
=yes
14408 echo "$as_me: failed program was:" >&5
14409 sed 's/^/| /' conftest.
$ac_ext >&5
14411 ac_header_compiler
=no
14414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14415 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14416 echo "${ECHO_T}$ac_header_compiler" >&6; }
14418 # Is the header present?
14419 { echo "$as_me:$LINENO: checking libkern/OSAtomic.h presence" >&5
14420 echo $ECHO_N "checking libkern/OSAtomic.h presence... $ECHO_C" >&6; }
14421 cat >conftest.
$ac_ext <<_ACEOF
14424 cat confdefs.h
>>conftest.
$ac_ext
14425 cat >>conftest.
$ac_ext <<_ACEOF
14426 /* end confdefs.h. */
14427 #include <libkern/OSAtomic.h>
14429 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14430 case "(($ac_try" in
14431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14432 *) ac_try_echo=$ac_try;;
14434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14435 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14437 grep -v '^ *+' conftest.er1 >conftest.err
14439 cat conftest.err >&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } >/dev/null; then
14442 if test -s conftest.err; then
14443 ac_cpp_err=$ac_c_preproc_warn_flag
14444 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14451 if test -z "$ac_cpp_err"; then
14452 ac_header_preproc=yes
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.$ac_ext >&5
14457 ac_header_preproc=no
14460 rm -f conftest.err conftest.$ac_ext
14461 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14462 echo "${ECHO_T}$ac_header_preproc" >&6; }
14464 # So? What about this header?
14465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14467 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: accepted by the compiler, rejected by the preprocessor!" >&5
14468 echo "$as_me: WARNING: libkern/OSAtomic.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14469 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result" >&5
14470 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result" >&2;}
14471 ac_header_preproc=yes
14474 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: present but cannot be compiled" >&5
14475 echo "$as_me: WARNING: libkern/OSAtomic.h: present but cannot be compiled" >&2;}
14476 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: check for missing prerequisite headers?" >&5
14477 echo "$as_me: WARNING: libkern/OSAtomic.h: check for missing prerequisite headers?" >&2;}
14478 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: see the Autoconf documentation" >&5
14479 echo "$as_me: WARNING: libkern/OSAtomic.h: see the Autoconf documentation" >&2;}
14480 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: section \"Present But Cannot Be Compiled\"" >&5
14481 echo "$as_me: WARNING: libkern/OSAtomic.h: section \"Present But Cannot Be Compiled\"" >&2;}
14482 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result" >&5
14483 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result" >&2;}
14484 { echo "$as_me:$LINENO: WARNING: libkern/OSAtomic.h: in the future, the compiler will take precedence" >&5
14485 echo "$as_me: WARNING: libkern/OSAtomic.h: in the future, the compiler will take precedence" >&2;}
14489 { echo "$as_me:$LINENO: checking for libkern/OSAtomic.h" >&5
14490 echo $ECHO_N "checking for libkern/OSAtomic.h... $ECHO_C" >&6; }
14491 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
14492 echo $ECHO_N "(cached) $ECHO_C" >&6
14494 ac_cv_header_libkern_OSAtomic_h=$ac_header_preproc
14496 { echo "$as_me:$LINENO: result: $ac_cv_header_libkern_OSAtomic_h" >&5
14497 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
14500 if test $ac_cv_header_libkern_OSAtomic_h = yes; then
14502 cat >>confdefs.h <<_ACEOF
14503 #define HAVE_OSX_ATOMICS 1
14510 { echo "$as_me:$LINENO: checking for int" >&5
14511 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
14512 if test "${ac_cv_type_int+set}" = set; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 cat >conftest.$ac_ext <<_ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14521 $ac_includes_default
14522 typedef int ac__type_new_;
14526 if ((ac__type_new_ *) 0)
14528 if (sizeof (ac__type_new_))
14534 rm -f conftest.$ac_objext
14535 if { (ac_try="$ac_compile"
14536 case "(($ac_try" in
14537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14538 *) ac_try_echo
=$ac_try;;
14540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14541 (eval "$ac_compile") 2>conftest.er1
14543 grep -v '^ *+' conftest.er1
>conftest.err
14545 cat conftest.err
>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); } &&
14548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14549 { (case "(($ac_try" in
14550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14551 *) ac_try_echo=$ac_try;;
14553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14554 (eval "$ac_try") 2>&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); }; } &&
14558 { ac_try='test -s conftest.$ac_objext'
14559 { (case "(($ac_try" in
14560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14561 *) ac_try_echo
=$ac_try;;
14563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14564 (eval "$ac_try") 2>&5
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.
$ac_ext >&5
14576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14578 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
14579 echo "${ECHO_T}$ac_cv_type_int" >&6; }
14581 # The cast to long int works around a bug in the HP C Compiler
14582 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14583 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14584 # This bug is HP SR number 8606223364.
14585 { echo "$as_me:$LINENO: checking size of int" >&5
14586 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
14587 if test "${ac_cv_sizeof_int+set}" = set; then
14588 echo $ECHO_N "(cached) $ECHO_C" >&6
14590 if test "$cross_compiling" = yes; then
14591 # Depending upon the size, compute the lo and hi bounds.
14592 cat >conftest.
$ac_ext <<_ACEOF
14595 cat confdefs.h
>>conftest.
$ac_ext
14596 cat >>conftest.
$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 $ac_includes_default
14599 typedef int ac__type_sizeof_;
14604 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
14611 rm -f conftest.
$ac_objext
14612 if { (ac_try
="$ac_compile"
14613 case "(($ac_try" in
14614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14615 *) ac_try_echo=$ac_try;;
14617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14618 (eval "$ac_compile") 2>conftest.er1
14620 grep -v '^ *+' conftest.er1 >conftest.err
14622 cat conftest.err >&5
14623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } &&
14625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14626 { (case "(($ac_try" in
14627 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14628 *) ac_try_echo
=$ac_try;;
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_try") 2>&5
14633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14634 (exit $ac_status); }; } &&
14635 { ac_try
='test -s conftest.$ac_objext'
14636 { (case "(($ac_try" in
14637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14638 *) ac_try_echo=$ac_try;;
14640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14641 (eval "$ac_try") 2>&5
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14647 cat >conftest.$ac_ext <<_ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653 $ac_includes_default
14654 typedef int ac__type_sizeof_;
14659 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14666 rm -f conftest.$ac_objext
14667 if { (ac_try="$ac_compile"
14668 case "(($ac_try" in
14669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14670 *) ac_try_echo
=$ac_try;;
14672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14673 (eval "$ac_compile") 2>conftest.er1
14675 grep -v '^ *+' conftest.er1
>conftest.err
14677 cat conftest.err
>&5
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); } &&
14680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14681 { (case "(($ac_try" in
14682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14683 *) ac_try_echo=$ac_try;;
14685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14686 (eval "$ac_try") 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); }; } &&
14690 { ac_try='test -s conftest.$ac_objext'
14691 { (case "(($ac_try" in
14692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14693 *) ac_try_echo
=$ac_try;;
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_try") 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; }; then
14700 ac_hi
=$ac_mid; break
14702 echo "$as_me: failed program was:" >&5
14703 sed 's/^/| /' conftest.
$ac_ext >&5
14705 ac_lo
=`expr $ac_mid + 1`
14706 if test $ac_lo -le $ac_mid; then
14710 ac_mid
=`expr 2 '*' $ac_mid + 1`
14713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.
$ac_ext >&5
14719 cat >conftest.
$ac_ext <<_ACEOF
14722 cat confdefs.h
>>conftest.
$ac_ext
14723 cat >>conftest.
$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725 $ac_includes_default
14726 typedef int ac__type_sizeof_;
14731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
14738 rm -f conftest.
$ac_objext
14739 if { (ac_try
="$ac_compile"
14740 case "(($ac_try" in
14741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14742 *) ac_try_echo=$ac_try;;
14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14745 (eval "$ac_compile") 2>conftest.er1
14747 grep -v '^ *+' conftest.er1 >conftest.err
14749 cat conftest.err >&5
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); } &&
14752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14753 { (case "(($ac_try" in
14754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14755 *) ac_try_echo
=$ac_try;;
14757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14758 (eval "$ac_try") 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; } &&
14762 { ac_try
='test -s conftest.$ac_objext'
14763 { (case "(($ac_try" in
14764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14765 *) ac_try_echo=$ac_try;;
14767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14768 (eval "$ac_try") 2>&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 (exit $ac_status); }; }; then
14774 cat >conftest.$ac_ext <<_ACEOF
14777 cat confdefs.h >>conftest.$ac_ext
14778 cat >>conftest.$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14780 $ac_includes_default
14781 typedef int ac__type_sizeof_;
14786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
14793 rm -f conftest.$ac_objext
14794 if { (ac_try="$ac_compile"
14795 case "(($ac_try" in
14796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14797 *) ac_try_echo
=$ac_try;;
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_compile") 2>conftest.er1
14802 grep -v '^ *+' conftest.er1
>conftest.err
14804 cat conftest.err
>&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14808 { (case "(($ac_try" in
14809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14810 *) ac_try_echo=$ac_try;;
14812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14813 (eval "$ac_try") 2>&5
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest.$ac_objext'
14818 { (case "(($ac_try" in
14819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14820 *) ac_try_echo
=$ac_try;;
14822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14823 (eval "$ac_try") 2>&5
14825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14826 (exit $ac_status); }; }; then
14827 ac_lo
=$ac_mid; break
14829 echo "$as_me: failed program was:" >&5
14830 sed 's/^/| /' conftest.
$ac_ext >&5
14832 ac_hi
=`expr '(' $ac_mid ')' - 1`
14833 if test $ac_mid -le $ac_hi; then
14837 ac_mid
=`expr 2 '*' $ac_mid`
14840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14853 # Binary search between lo and hi bounds.
14854 while test "x$ac_lo" != "x$ac_hi"; do
14855 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14856 cat >conftest.
$ac_ext <<_ACEOF
14859 cat confdefs.h
>>conftest.
$ac_ext
14860 cat >>conftest.
$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14862 $ac_includes_default
14863 typedef int ac__type_sizeof_;
14868 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
14875 rm -f conftest.
$ac_objext
14876 if { (ac_try
="$ac_compile"
14877 case "(($ac_try" in
14878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14879 *) ac_try_echo=$ac_try;;
14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14882 (eval "$ac_compile") 2>conftest.er1
14884 grep -v '^ *+' conftest.er1 >conftest.err
14886 cat conftest.err >&5
14887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888 (exit $ac_status); } &&
14889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14890 { (case "(($ac_try" in
14891 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14892 *) ac_try_echo
=$ac_try;;
14894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14895 (eval "$ac_try") 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; } &&
14899 { ac_try
='test -s conftest.$ac_objext'
14900 { (case "(($ac_try" in
14901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14902 *) ac_try_echo=$ac_try;;
14904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14905 (eval "$ac_try") 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; }; then
14911 echo "$as_me: failed program was:" >&5
14912 sed 's/^/| /' conftest.$ac_ext >&5
14914 ac_lo=`expr '(' $ac_mid ')' + 1`
14917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14920 ?*) ac_cv_sizeof_int=$ac_lo;;
14921 '') if test "$ac_cv_type_int" = yes; then
14922 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
14923 See \`config.log
' for more details." >&5
14924 echo "$as_me: error: cannot compute sizeof (int)
14925 See \`config.log' for more details.
" >&2;}
14926 { (exit 77); exit 77; }; }
14932 cat >conftest.$ac_ext <<_ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h. */
14938 $ac_includes_default
14939 typedef int ac__type_sizeof_;
14941 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
14942 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
14944 #include <stdlib.h>
14949 FILE *f = fopen ("conftest.val
", "w
");
14952 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
14954 long int i = longval ();
14955 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14957 fprintf (f, "%ld
\n", i);
14961 unsigned long int i = ulongval ();
14962 if (i != ((long int) (sizeof (ac__type_sizeof_))))
14964 fprintf (f, "%lu
\n", i);
14966 return ferror (f) || fclose (f) != 0;
14972 rm -f conftest$ac_exeext
14973 if { (ac_try="$ac_link"
14974 case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14979 (eval "$ac_link") 2>&5
14981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14983 { (case "(($ac_try" in
14984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14985 *) ac_try_echo=$ac_try;;
14987 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14988 (eval "$ac_try") 2>&5
14990 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14991 (exit $ac_status); }; }; then
14992 ac_cv_sizeof_int=`cat conftest.val`
14994 echo "$as_me: program exited with status
$ac_status" >&5
14995 echo "$as_me: failed program was
:" >&5
14996 sed 's/^/| /' conftest.$ac_ext >&5
14998 ( exit $ac_status )
14999 if test "$ac_cv_type_int" = yes; then
15000 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
15001 See \
`config.log' for more details." >&5
15002 echo "$as_me: error: cannot compute sizeof (int)
15003 See \`config.log
' for more details." >&2;}
15004 { (exit 77); exit 77; }; }
15009 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15013 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15014 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
15018 cat >>confdefs.h <<_ACEOF
15019 #define SIZEOF_INT $ac_cv_sizeof_int
15024 # do the package library checks now
15027 if test "${USE_ALSA}" != "no"; then
15029 if test "x${ALSA_DIR}" != "x"; then
15030 if test -d ${ALSA_DIR}/lib; then
15031 pbxlibdir="-L${ALSA_DIR}/lib"
15033 pbxlibdir="-L${ALSA_DIR}"
15036 { echo "$as_me:$LINENO: checking for snd_spcm_init in -lasound" >&5
15037 echo $ECHO_N "checking for snd_spcm_init in -lasound... $ECHO_C" >&6; }
15038 if test "${ac_cv_lib_asound_snd_spcm_init+set}" = set; then
15039 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 ac_check_lib_save_LIBS=$LIBS
15042 LIBS="-lasound ${pbxlibdir} -lm -ldl $LIBS"
15043 cat >conftest.$ac_ext <<_ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15050 /* Override any GCC internal prototype to avoid an error.
15051 Use char because int might match the return type of a GCC
15052 builtin and then its argument prototype would still apply. */
15056 char snd_spcm_init ();
15060 return snd_spcm_init ();
15065 rm -f conftest.$ac_objext conftest$ac_exeext
15066 if { (ac_try="$ac_link"
15067 case "(($ac_try" in
15068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15069 *) ac_try_echo=$ac_try;;
15071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15072 (eval "$ac_link") 2>conftest.er1
15074 grep -v '^
*+' conftest.er1 >conftest.err
15076 cat conftest.err >&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); } &&
15079 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15080 { (case "(($ac_try" in
15081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15082 *) ac_try_echo=$ac_try;;
15084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15085 (eval "$ac_try") 2>&5
15087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15088 (exit $ac_status); }; } &&
15089 { ac_try='test -s conftest
$ac_exeext'
15090 { (case "(($ac_try" in
15091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15092 *) ac_try_echo=$ac_try;;
15094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15095 (eval "$ac_try") 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; }; then
15099 ac_cv_lib_asound_snd_spcm_init=yes
15101 echo "$as_me: failed program was:" >&5
15102 sed 's
/^
/|
/' conftest.$ac_ext >&5
15104 ac_cv_lib_asound_snd_spcm_init=no
15107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15108 conftest$ac_exeext conftest.$ac_ext
15109 LIBS=$ac_check_lib_save_LIBS
15111 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_spcm_init" >&5
15112 echo "${ECHO_T}$ac_cv_lib_asound_snd_spcm_init" >&6; }
15113 if test $ac_cv_lib_asound_snd_spcm_init = yes; then
15120 if test "${AST_ALSA_FOUND}" = "yes"; then
15121 ALSA_LIB="-lasound -lm -ldl"
15122 ALSA_HEADER_FOUND="1"
15123 if test "x${ALSA_DIR}" != "x"; then
15124 ALSA_LIB="${pbxlibdir} ${ALSA_LIB}"
15125 ALSA_INCLUDE="-I${ALSA_DIR}/include"
15126 if test "xalsa/asoundlib.h" != "x" ; then
15127 as_ac_Header=`echo "ac_cv_header_${ALSA_DIR}/include/alsa/asoundlib.h" | $as_tr_sh`
15128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15129 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
15130 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
15131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15132 echo $ECHO_N "(cached) $ECHO_C" >&6
15134 ac_res=`eval echo '${'$as_ac_Header'}'`
15135 { echo "$as_me:$LINENO: result: $ac_res" >&5
15136 echo "${ECHO_T}$ac_res" >&6; }
15138 # Is the header compilable?
15139 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h usability" >&5
15140 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h usability... $ECHO_C" >&6; }
15141 cat >conftest.$ac_ext <<_ACEOF
15144 cat confdefs.h >>conftest.$ac_ext
15145 cat >>conftest.$ac_ext <<_ACEOF
15146 /* end confdefs.h. */
15147 $ac_includes_default
15148 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
15150 rm -f conftest.$ac_objext
15151 if { (ac_try="$ac_compile"
15152 case "(($ac_try" in
15153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154 *) ac_try_echo=$ac_try;;
15156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15157 (eval "$ac_compile") 2>conftest.er1
15159 grep -v '^
*+' conftest.er1 >conftest.err
15161 cat conftest.err >&5
15162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163 (exit $ac_status); } &&
15164 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15165 { (case "(($ac_try" in
15166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15167 *) ac_try_echo=$ac_try;;
15169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15170 (eval "$ac_try") 2>&5
15172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173 (exit $ac_status); }; } &&
15174 { ac_try='test -s conftest.
$ac_objext'
15175 { (case "(($ac_try" in
15176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15177 *) ac_try_echo=$ac_try;;
15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15180 (eval "$ac_try") 2>&5
15182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15183 (exit $ac_status); }; }; then
15184 ac_header_compiler=yes
15186 echo "$as_me: failed program was:" >&5
15187 sed 's
/^
/|
/' conftest.$ac_ext >&5
15189 ac_header_compiler=no
15192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15193 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15194 echo "${ECHO_T}$ac_header_compiler" >&6; }
15196 # Is the header present?
15197 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h presence" >&5
15198 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h presence... $ECHO_C" >&6; }
15199 cat >conftest.$ac_ext <<_ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15205 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
15207 if { (ac_try="$ac_cpp conftest.$ac_ext"
15208 case "(($ac_try" in
15209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15210 *) ac_try_echo=$ac_try;;
15212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15213 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15215 grep -v '^
*+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } >/dev/null; then
15220 if test -s conftest.err; then
15221 ac_cpp_err=$ac_c_preproc_warn_flag
15222 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15229 if test -z "$ac_cpp_err"; then
15230 ac_header_preproc=yes
15232 echo "$as_me: failed program was:" >&5
15233 sed 's
/^
/|
/' conftest.$ac_ext >&5
15235 ac_header_preproc=no
15238 rm -f conftest.err conftest.$ac_ext
15239 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15240 echo "${ECHO_T}$ac_header_preproc" >&6; }
15242 # So? What about this header?
15243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15245 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15246 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15247 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result
" >&5
15248 echo "$as_me: WARNING
: ${ALSA_DIR}/include
/alsa
/asoundlib.h
: proceeding with the compiler
's result" >&2;}
15249 ac_header_preproc=yes
15252 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&5
15253 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&2;}
15254 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&5
15255 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
15256 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&5
15257 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&2;}
15258 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
15259 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15260 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result
" >&5
15261 echo "$as_me: WARNING
: ${ALSA_DIR}/include
/alsa
/asoundlib.h
: proceeding with the preprocessor
's result" >&2;}
15262 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
15263 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
15267 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
15268 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
15269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 eval "$as_ac_Header=\$ac_header_preproc"
15274 ac_res=`eval echo '${'$as_ac_Header'}'`
15275 { echo "$as_me:$LINENO: result: $ac_res" >&5
15276 echo "${ECHO_T}$ac_res" >&6; }
15279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15280 ALSA_HEADER_FOUND=1
15282 ALSA_HEADER_FOUND=0
15288 if test "xalsa/asoundlib.h" != "x" ; then
15289 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
15290 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
15291 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
15292 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
15293 echo $ECHO_N "(cached) $ECHO_C" >&6
15295 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
15296 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
15298 # Is the header compilable?
15299 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
15300 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
15301 cat >conftest.$ac_ext <<_ACEOF
15304 cat confdefs.h >>conftest.$ac_ext
15305 cat >>conftest.$ac_ext <<_ACEOF
15306 /* end confdefs.h. */
15307 $ac_includes_default
15308 #include <alsa/asoundlib.h>
15310 rm -f conftest.$ac_objext
15311 if { (ac_try="$ac_compile"
15312 case "(($ac_try" in
15313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15314 *) ac_try_echo=$ac_try;;
15316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15317 (eval "$ac_compile") 2>conftest.er1
15319 grep -v '^
*+' conftest.er1 >conftest.err
15321 cat conftest.err >&5
15322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15323 (exit $ac_status); } &&
15324 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15325 { (case "(($ac_try" in
15326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15327 *) ac_try_echo=$ac_try;;
15329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15330 (eval "$ac_try") 2>&5
15332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333 (exit $ac_status); }; } &&
15334 { ac_try='test -s conftest.
$ac_objext'
15335 { (case "(($ac_try" in
15336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15337 *) ac_try_echo=$ac_try;;
15339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15340 (eval "$ac_try") 2>&5
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_header_compiler=yes
15346 echo "$as_me: failed program was:" >&5
15347 sed 's
/^
/|
/' conftest.$ac_ext >&5
15349 ac_header_compiler=no
15352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15353 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15354 echo "${ECHO_T}$ac_header_compiler" >&6; }
15356 # Is the header present?
15357 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
15358 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
15359 cat >conftest.$ac_ext <<_ACEOF
15362 cat confdefs.h >>conftest.$ac_ext
15363 cat >>conftest.$ac_ext <<_ACEOF
15364 /* end confdefs.h. */
15365 #include <alsa/asoundlib.h>
15367 if { (ac_try="$ac_cpp conftest.$ac_ext"
15368 case "(($ac_try" in
15369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15370 *) ac_try_echo=$ac_try;;
15372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15375 grep -v '^
*+' conftest.er1 >conftest.err
15377 cat conftest.err >&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } >/dev/null; then
15380 if test -s conftest.err; then
15381 ac_cpp_err=$ac_c_preproc_warn_flag
15382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15389 if test -z "$ac_cpp_err"; then
15390 ac_header_preproc=yes
15392 echo "$as_me: failed program was:" >&5
15393 sed 's
/^
/|
/' conftest.$ac_ext >&5
15395 ac_header_preproc=no
15398 rm -f conftest.err conftest.$ac_ext
15399 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15400 echo "${ECHO_T}$ac_header_preproc" >&6; }
15402 # So? What about this header?
15403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15405 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
15406 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15407 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result
" >&5
15408 echo "$as_me: WARNING
: alsa
/asoundlib.h
: proceeding with the compiler
's result" >&2;}
15409 ac_header_preproc=yes
15412 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
15413 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
15414 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
15415 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
15416 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
15417 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
15418 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
15419 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
15420 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result
" >&5
15421 echo "$as_me: WARNING
: alsa
/asoundlib.h
: proceeding with the preprocessor
's result" >&2;}
15422 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
15423 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
15427 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
15428 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
15429 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
15430 echo $ECHO_N "(cached) $ECHO_C" >&6
15432 ac_cv_header_alsa_asoundlib_h=$ac_header_preproc
15434 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
15435 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
15438 if test $ac_cv_header_alsa_asoundlib_h = yes; then
15439 ALSA_HEADER_FOUND=1
15441 ALSA_HEADER_FOUND=0
15447 if test "x${ALSA_HEADER_FOUND}" = "x0" ; then
15448 if test ! -z "${ALSA_MANDATORY}" ;
15450 { echo "$as_me:$LINENO: ***" >&5
15451 echo "$as_me: ***" >&6;}
15452 { echo "$as_me:$LINENO: *** It appears that you do not have the asound development package installed." >&5
15453 echo "$as_me: *** It appears that you do not have the asound development package installed." >&6;}
15454 { echo "$as_me:$LINENO: *** Please install it to include ${ALSA_DESCRIP} support" >&5
15455 echo "$as_me: *** Please install it to include ${ALSA_DESCRIP} support" >&or re-run configure;}
15456 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
15457 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
15466 cat >>confdefs.h <<_ACEOF
15467 #define HAVE_ALSA 1
15471 elif test ! -z "${ALSA_MANDATORY}";
15473 { echo "$as_me:$LINENO: ***" >&5
15474 echo "$as_me: ***" >&6;}
15475 { echo "$as_me:$LINENO: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&5
15476 echo "$as_me: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&6;}
15477 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
15478 echo "$as_me: *** Either correct the installation" >&or run configure;}
15479 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
15480 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
15487 if test "${USE_CURSES}" != "no"; then
15489 if test "x${CURSES_DIR}" != "x"; then
15490 if test -d ${CURSES_DIR}/lib; then
15491 pbxlibdir="-L${CURSES_DIR}/lib"
15493 pbxlibdir="-L${CURSES_DIR}"
15496 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
15497 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
15498 if test "${ac_cv_lib_curses_initscr+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 ac_check_lib_save_LIBS=$LIBS
15502 LIBS="-lcurses ${pbxlibdir} $LIBS"
15503 cat >conftest.$ac_ext <<_ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15525 rm -f conftest.$ac_objext conftest$ac_exeext
15526 if { (ac_try="$ac_link"
15527 case "(($ac_try" in
15528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529 *) ac_try_echo=$ac_try;;
15531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15532 (eval "$ac_link") 2>conftest.er1
15534 grep -v '^
*+' conftest.er1 >conftest.err
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15540 { (case "(($ac_try" in
15541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15542 *) ac_try_echo=$ac_try;;
15544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15545 (eval "$ac_try") 2>&5
15547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15548 (exit $ac_status); }; } &&
15549 { ac_try='test -s conftest
$ac_exeext'
15550 { (case "(($ac_try" in
15551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15552 *) ac_try_echo=$ac_try;;
15554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15555 (eval "$ac_try") 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; }; then
15559 ac_cv_lib_curses_initscr=yes
15561 echo "$as_me: failed program was:" >&5
15562 sed 's
/^
/|
/' conftest.$ac_ext >&5
15564 ac_cv_lib_curses_initscr=no
15567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15568 conftest$ac_exeext conftest.$ac_ext
15569 LIBS=$ac_check_lib_save_LIBS
15571 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
15572 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
15573 if test $ac_cv_lib_curses_initscr = yes; then
15574 AST_CURSES_FOUND=yes
15576 AST_CURSES_FOUND=no
15580 if test "${AST_CURSES_FOUND}" = "yes"; then
15581 CURSES_LIB="-lcurses "
15582 CURSES_HEADER_FOUND="1"
15583 if test "x${CURSES_DIR}" != "x"; then
15584 CURSES_LIB="${pbxlibdir} ${CURSES_LIB}"
15585 CURSES_INCLUDE="-I${CURSES_DIR}/include"
15586 if test "xcurses.h" != "x" ; then
15587 as_ac_Header=`echo "ac_cv_header_${CURSES_DIR}/include/curses.h" | $as_tr_sh`
15588 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15589 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
15590 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
15591 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15592 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 ac_res=`eval echo '${'$as_ac_Header'}'`
15595 { echo "$as_me:$LINENO: result: $ac_res" >&5
15596 echo "${ECHO_T}$ac_res" >&6; }
15598 # Is the header compilable?
15599 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h usability" >&5
15600 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
15601 cat >conftest.$ac_ext <<_ACEOF
15604 cat confdefs.h >>conftest.$ac_ext
15605 cat >>conftest.$ac_ext <<_ACEOF
15606 /* end confdefs.h. */
15607 $ac_includes_default
15608 #include <${CURSES_DIR}/include/curses.h>
15610 rm -f conftest.$ac_objext
15611 if { (ac_try="$ac_compile"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_compile") 2>conftest.er1
15619 grep -v '^
*+' conftest.er1 >conftest.err
15621 cat conftest.err >&5
15622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15623 (exit $ac_status); } &&
15624 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15625 { (case "(($ac_try" in
15626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627 *) ac_try_echo=$ac_try;;
15629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630 (eval "$ac_try") 2>&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); }; } &&
15634 { ac_try='test -s conftest.
$ac_objext'
15635 { (case "(($ac_try" in
15636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_try") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; }; then
15644 ac_header_compiler=yes
15646 echo "$as_me: failed program was:" >&5
15647 sed 's
/^
/|
/' conftest.$ac_ext >&5
15649 ac_header_compiler=no
15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15654 echo "${ECHO_T}$ac_header_compiler" >&6; }
15656 # Is the header present?
15657 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h presence" >&5
15658 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
15659 cat >conftest.$ac_ext <<_ACEOF
15662 cat confdefs.h >>conftest.$ac_ext
15663 cat >>conftest.$ac_ext <<_ACEOF
15664 /* end confdefs.h. */
15665 #include <${CURSES_DIR}/include/curses.h>
15667 if { (ac_try="$ac_cpp conftest.$ac_ext"
15668 case "(($ac_try" in
15669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15670 *) ac_try_echo=$ac_try;;
15672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15675 grep -v '^
*+' conftest.er1 >conftest.err
15677 cat conftest.err >&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } >/dev/null; then
15680 if test -s conftest.err; then
15681 ac_cpp_err=$ac_c_preproc_warn_flag
15682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15689 if test -z "$ac_cpp_err"; then
15690 ac_header_preproc=yes
15692 echo "$as_me: failed program was:" >&5
15693 sed 's
/^
/|
/' conftest.$ac_ext >&5
15695 ac_header_preproc=no
15698 rm -f conftest.err conftest.$ac_ext
15699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15700 echo "${ECHO_T}$ac_header_preproc" >&6; }
15702 # So? What about this header?
15703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15705 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
15706 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15707 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&5
15708 echo "$as_me: WARNING
: ${CURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&2;}
15709 ac_header_preproc=yes
15712 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
15713 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
15714 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
15715 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
15716 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
15717 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
15718 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
15719 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
15720 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&5
15721 echo "$as_me: WARNING
: ${CURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&2;}
15722 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
15723 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
15727 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
15728 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
15729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15730 echo $ECHO_N "(cached) $ECHO_C" >&6
15732 eval "$as_ac_Header=\$ac_header_preproc"
15734 ac_res=`eval echo '${'$as_ac_Header'}'`
15735 { echo "$as_me:$LINENO: result: $ac_res" >&5
15736 echo "${ECHO_T}$ac_res" >&6; }
15739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15740 CURSES_HEADER_FOUND=1
15742 CURSES_HEADER_FOUND=0
15748 if test "xcurses.h" != "x" ; then
15749 if test "${ac_cv_header_curses_h+set}" = set; then
15750 { echo "$as_me:$LINENO: checking for curses.h" >&5
15751 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
15752 if test "${ac_cv_header_curses_h+set}" = set; then
15753 echo $ECHO_N "(cached) $ECHO_C" >&6
15755 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
15756 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
15758 # Is the header compilable?
15759 { echo "$as_me:$LINENO: checking curses.h usability" >&5
15760 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
15761 cat >conftest.$ac_ext <<_ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767 $ac_includes_default
15768 #include <curses.h>
15770 rm -f conftest.$ac_objext
15771 if { (ac_try="$ac_compile"
15772 case "(($ac_try" in
15773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15774 *) ac_try_echo=$ac_try;;
15776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15777 (eval "$ac_compile") 2>conftest.er1
15779 grep -v '^
*+' conftest.er1 >conftest.err
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
15785 { (case "(($ac_try" in
15786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15787 *) ac_try_echo=$ac_try;;
15789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15790 (eval "$ac_try") 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); }; } &&
15794 { ac_try='test -s conftest.
$ac_objext'
15795 { (case "(($ac_try" in
15796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15797 *) ac_try_echo=$ac_try;;
15799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15800 (eval "$ac_try") 2>&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 ac_header_compiler=yes
15806 echo "$as_me: failed program was:" >&5
15807 sed 's
/^
/|
/' conftest.$ac_ext >&5
15809 ac_header_compiler=no
15812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15813 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15814 echo "${ECHO_T}$ac_header_compiler" >&6; }
15816 # Is the header present?
15817 { echo "$as_me:$LINENO: checking curses.h presence" >&5
15818 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
15819 cat >conftest.$ac_ext <<_ACEOF
15822 cat confdefs.h >>conftest.$ac_ext
15823 cat >>conftest.$ac_ext <<_ACEOF
15824 /* end confdefs.h. */
15825 #include <curses.h>
15827 if { (ac_try="$ac_cpp conftest.$ac_ext"
15828 case "(($ac_try" in
15829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15830 *) ac_try_echo=$ac_try;;
15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15835 grep -v '^
*+' conftest.er1 >conftest.err
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } >/dev/null; then
15840 if test -s conftest.err; then
15841 ac_cpp_err=$ac_c_preproc_warn_flag
15842 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15849 if test -z "$ac_cpp_err"; then
15850 ac_header_preproc=yes
15852 echo "$as_me: failed program was:" >&5
15853 sed 's
/^
/|
/' conftest.$ac_ext >&5
15855 ac_header_preproc=no
15858 rm -f conftest.err conftest.$ac_ext
15859 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15860 echo "${ECHO_T}$ac_header_preproc" >&6; }
15862 # So? What about this header?
15863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15865 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
15866 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15867 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result
" >&5
15868 echo "$as_me: WARNING
: curses.h
: proceeding with the compiler
's result" >&2;}
15869 ac_header_preproc=yes
15872 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
15873 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
15874 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
15875 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
15876 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
15877 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
15878 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
15879 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
15880 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result
" >&5
15881 echo "$as_me: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&2;}
15882 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
15883 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
15887 { echo "$as_me:$LINENO: checking for curses.h" >&5
15888 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
15889 if test "${ac_cv_header_curses_h+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15892 ac_cv_header_curses_h=$ac_header_preproc
15894 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
15895 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
15898 if test $ac_cv_header_curses_h = yes; then
15899 CURSES_HEADER_FOUND=1
15901 CURSES_HEADER_FOUND=0
15907 if test "x${CURSES_HEADER_FOUND}" = "x0" ; then
15908 if test ! -z "${CURSES_MANDATORY}" ;
15910 { echo "$as_me:$LINENO: ***" >&5
15911 echo "$as_me: ***" >&6;}
15912 { echo "$as_me:$LINENO: *** It appears that you do not have the curses development package installed." >&5
15913 echo "$as_me: *** It appears that you do not have the curses development package installed." >&6;}
15914 { echo "$as_me:$LINENO: *** Please install it to include ${CURSES_DESCRIP} support" >&5
15915 echo "$as_me: *** Please install it to include ${CURSES_DESCRIP} support" >&or re-run configure;}
15916 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
15917 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
15926 cat >>confdefs.h <<_ACEOF
15927 #define HAVE_CURSES 1
15931 elif test ! -z "${CURSES_MANDATORY}";
15933 { echo "$as_me:$LINENO: ***" >&5
15934 echo "$as_me: ***" >&6;}
15935 { echo "$as_me:$LINENO: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&5
15936 echo "$as_me: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&6;}
15937 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
15938 echo "$as_me: *** Either correct the installation" >&or run configure;}
15939 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
15940 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
15949 if test "${USE_GSM}" != "no"; then
15950 if test "${GSM_DIR}" = "internal"; then
15952 elif test "${GSM_DIR}" != ""; then
15955 if test "${GSM_SYSTEM}" = "yes"; then
15957 if test "x${GSM_DIR}" != "x"; then
15958 if test -d ${GSM_DIR}/lib; then
15959 gsmlibdir="-L${GSM_DIR}/lib"
15961 gsmlibdir="-L${GSM_DIR}"
15964 { echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
15965 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6; }
15966 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
15967 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 ac_check_lib_save_LIBS=$LIBS
15970 LIBS="-lgsm ${gsmlibdir} $LIBS"
15971 cat >conftest.$ac_ext <<_ACEOF
15974 cat confdefs.h >>conftest.$ac_ext
15975 cat >>conftest.$ac_ext <<_ACEOF
15976 /* end confdefs.h. */
15978 /* Override any GCC internal prototype to avoid an error.
15979 Use char because int might match the return type of a GCC
15980 builtin and then its argument prototype would still apply. */
15984 char gsm_create ();
15988 return gsm_create ();
15993 rm -f conftest.$ac_objext conftest$ac_exeext
15994 if { (ac_try="$ac_link"
15995 case "(($ac_try" in
15996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15997 *) ac_try_echo=$ac_try;;
15999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16000 (eval "$ac_link") 2>conftest.er1
16002 grep -v '^
*+' conftest.er1 >conftest.err
16004 cat conftest.err >&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } &&
16007 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16008 { (case "(($ac_try" in
16009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16010 *) ac_try_echo=$ac_try;;
16012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16013 (eval "$ac_try") 2>&5
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; } &&
16017 { ac_try='test -s conftest
$ac_exeext'
16018 { (case "(($ac_try" in
16019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16020 *) ac_try_echo=$ac_try;;
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023 (eval "$ac_try") 2>&5
16025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026 (exit $ac_status); }; }; then
16027 ac_cv_lib_gsm_gsm_create=yes
16029 echo "$as_me: failed program was:" >&5
16030 sed 's
/^
/|
/' conftest.$ac_ext >&5
16032 ac_cv_lib_gsm_gsm_create=no
16035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16036 conftest$ac_exeext conftest.$ac_ext
16037 LIBS=$ac_check_lib_save_LIBS
16039 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
16040 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6; }
16041 if test $ac_cv_lib_gsm_gsm_create = yes; then
16043 cat >>confdefs.h <<_ACEOF
16049 if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
16051 if test "x${GSM_DIR}" != "x"; then
16052 GSM_LIB="${gsmlibdir} ${GSM_LIB}"
16053 GSM_INCLUDE="-I${GSM_DIR}/include"
16059 if test "${GSM_INTERNAL}" = "yes"; then
16065 if test "${USE_IKSEMEL}" != "no"; then
16067 if test "x${IKSEMEL_DIR}" != "x"; then
16068 if test -d ${IKSEMEL_DIR}/lib; then
16069 pbxlibdir="-L${IKSEMEL_DIR}/lib"
16071 pbxlibdir="-L${IKSEMEL_DIR}"
16074 { echo "$as_me:$LINENO: checking for iks_start_sasl in -liksemel" >&5
16075 echo $ECHO_N "checking for iks_start_sasl in -liksemel... $ECHO_C" >&6; }
16076 if test "${ac_cv_lib_iksemel_iks_start_sasl+set}" = set; then
16077 echo $ECHO_N "(cached) $ECHO_C" >&6
16079 ac_check_lib_save_LIBS=$LIBS
16080 LIBS="-liksemel ${pbxlibdir} $LIBS"
16081 cat >conftest.$ac_ext <<_ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16088 /* Override any GCC internal prototype to avoid an error.
16089 Use char because int might match the return type of a GCC
16090 builtin and then its argument prototype would still apply. */
16094 char iks_start_sasl ();
16098 return iks_start_sasl ();
16103 rm -f conftest.$ac_objext conftest$ac_exeext
16104 if { (ac_try="$ac_link"
16105 case "(($ac_try" in
16106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16107 *) ac_try_echo=$ac_try;;
16109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16110 (eval "$ac_link") 2>conftest.er1
16112 grep -v '^
*+' conftest.er1 >conftest.err
16114 cat conftest.err >&5
16115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16116 (exit $ac_status); } &&
16117 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16118 { (case "(($ac_try" in
16119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120 *) ac_try_echo=$ac_try;;
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123 (eval "$ac_try") 2>&5
16125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126 (exit $ac_status); }; } &&
16127 { ac_try='test -s conftest
$ac_exeext'
16128 { (case "(($ac_try" in
16129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16130 *) ac_try_echo=$ac_try;;
16132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16133 (eval "$ac_try") 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_lib_iksemel_iks_start_sasl=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's
/^
/|
/' conftest.$ac_ext >&5
16142 ac_cv_lib_iksemel_iks_start_sasl=no
16145 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16146 conftest$ac_exeext conftest.$ac_ext
16147 LIBS=$ac_check_lib_save_LIBS
16149 { echo "$as_me:$LINENO: result: $ac_cv_lib_iksemel_iks_start_sasl" >&5
16150 echo "${ECHO_T}$ac_cv_lib_iksemel_iks_start_sasl" >&6; }
16151 if test $ac_cv_lib_iksemel_iks_start_sasl = yes; then
16152 AST_IKSEMEL_FOUND=yes
16154 AST_IKSEMEL_FOUND=no
16158 if test "${AST_IKSEMEL_FOUND}" = "yes"; then
16159 IKSEMEL_LIB="-liksemel "
16160 IKSEMEL_HEADER_FOUND="1"
16161 if test "x${IKSEMEL_DIR}" != "x"; then
16162 IKSEMEL_LIB="${pbxlibdir} ${IKSEMEL_LIB}"
16163 IKSEMEL_INCLUDE="-I${IKSEMEL_DIR}/include"
16164 if test "xiksemel.h" != "x" ; then
16165 as_ac_Header=`echo "ac_cv_header_${IKSEMEL_DIR}/include/iksemel.h" | $as_tr_sh`
16166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16167 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
16168 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
16169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16170 echo $ECHO_N "(cached) $ECHO_C" >&6
16172 ac_res=`eval echo '${'$as_ac_Header'}'`
16173 { echo "$as_me:$LINENO: result: $ac_res" >&5
16174 echo "${ECHO_T}$ac_res" >&6; }
16176 # Is the header compilable?
16177 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h usability" >&5
16178 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h usability... $ECHO_C" >&6; }
16179 cat >conftest.$ac_ext <<_ACEOF
16182 cat confdefs.h >>conftest.$ac_ext
16183 cat >>conftest.$ac_ext <<_ACEOF
16184 /* end confdefs.h. */
16185 $ac_includes_default
16186 #include <${IKSEMEL_DIR}/include/iksemel.h>
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16197 grep -v '^
*+' conftest.er1 >conftest.err
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } &&
16202 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16203 { (case "(($ac_try" in
16204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16205 *) ac_try_echo=$ac_try;;
16207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16208 (eval "$ac_try") 2>&5
16210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16211 (exit $ac_status); }; } &&
16212 { ac_try='test -s conftest.
$ac_objext'
16213 { (case "(($ac_try" in
16214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16215 *) ac_try_echo=$ac_try;;
16217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16218 (eval "$ac_try") 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 ac_header_compiler=yes
16224 echo "$as_me: failed program was:" >&5
16225 sed 's
/^
/|
/' conftest.$ac_ext >&5
16227 ac_header_compiler=no
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16232 echo "${ECHO_T}$ac_header_compiler" >&6; }
16234 # Is the header present?
16235 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h presence" >&5
16236 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h presence... $ECHO_C" >&6; }
16237 cat >conftest.$ac_ext <<_ACEOF
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 #include <${IKSEMEL_DIR}/include/iksemel.h>
16245 if { (ac_try="$ac_cpp conftest.$ac_ext"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16253 grep -v '^
*+' conftest.er1 >conftest.err
16255 cat conftest.err >&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); } >/dev/null; then
16258 if test -s conftest.err; then
16259 ac_cpp_err=$ac_c_preproc_warn_flag
16260 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16267 if test -z "$ac_cpp_err"; then
16268 ac_header_preproc=yes
16270 echo "$as_me: failed program was:" >&5
16271 sed 's
/^
/|
/' conftest.$ac_ext >&5
16273 ac_header_preproc=no
16276 rm -f conftest.err conftest.$ac_ext
16277 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16278 echo "${ECHO_T}$ac_header_preproc" >&6; }
16280 # So? What about this header?
16281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16283 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
16284 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16285 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result
" >&5
16286 echo "$as_me: WARNING
: ${IKSEMEL_DIR}/include
/iksemel.h
: proceeding with the compiler
's result" >&2;}
16287 ac_header_preproc=yes
16290 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&5
16291 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&2;}
16292 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&5
16293 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&2;}
16294 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&5
16295 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&2;}
16296 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
16297 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
16298 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result
" >&5
16299 echo "$as_me: WARNING
: ${IKSEMEL_DIR}/include
/iksemel.h
: proceeding with the preprocessor
's result" >&2;}
16300 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&5
16301 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&2;}
16305 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
16306 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
16307 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 eval "$as_ac_Header=\$ac_header_preproc"
16312 ac_res=`eval echo '${'$as_ac_Header'}'`
16313 { echo "$as_me:$LINENO: result: $ac_res" >&5
16314 echo "${ECHO_T}$ac_res" >&6; }
16317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16318 IKSEMEL_HEADER_FOUND=1
16320 IKSEMEL_HEADER_FOUND=0
16326 if test "xiksemel.h" != "x" ; then
16327 if test "${ac_cv_header_iksemel_h+set}" = set; then
16328 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
16329 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
16330 if test "${ac_cv_header_iksemel_h+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16333 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
16334 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
16336 # Is the header compilable?
16337 { echo "$as_me:$LINENO: checking iksemel.h usability" >&5
16338 echo $ECHO_N "checking iksemel.h usability... $ECHO_C" >&6; }
16339 cat >conftest.$ac_ext <<_ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 $ac_includes_default
16346 #include <iksemel.h>
16348 rm -f conftest.$ac_objext
16349 if { (ac_try="$ac_compile"
16350 case "(($ac_try" in
16351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16352 *) ac_try_echo=$ac_try;;
16354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16355 (eval "$ac_compile") 2>conftest.er1
16357 grep -v '^
*+' conftest.er1 >conftest.err
16359 cat conftest.err >&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); } &&
16362 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16363 { (case "(($ac_try" in
16364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16365 *) ac_try_echo=$ac_try;;
16367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16368 (eval "$ac_try") 2>&5
16370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371 (exit $ac_status); }; } &&
16372 { ac_try='test -s conftest.
$ac_objext'
16373 { (case "(($ac_try" in
16374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16375 *) ac_try_echo=$ac_try;;
16377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16378 (eval "$ac_try") 2>&5
16380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16381 (exit $ac_status); }; }; then
16382 ac_header_compiler=yes
16384 echo "$as_me: failed program was:" >&5
16385 sed 's
/^
/|
/' conftest.$ac_ext >&5
16387 ac_header_compiler=no
16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16391 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16392 echo "${ECHO_T}$ac_header_compiler" >&6; }
16394 # Is the header present?
16395 { echo "$as_me:$LINENO: checking iksemel.h presence" >&5
16396 echo $ECHO_N "checking iksemel.h presence... $ECHO_C" >&6; }
16397 cat >conftest.$ac_ext <<_ACEOF
16400 cat confdefs.h >>conftest.$ac_ext
16401 cat >>conftest.$ac_ext <<_ACEOF
16402 /* end confdefs.h. */
16403 #include <iksemel.h>
16405 if { (ac_try="$ac_cpp conftest.$ac_ext"
16406 case "(($ac_try" in
16407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16413 grep -v '^
*+' conftest.er1 >conftest.err
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } >/dev/null; then
16418 if test -s conftest.err; then
16419 ac_cpp_err=$ac_c_preproc_warn_flag
16420 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16427 if test -z "$ac_cpp_err"; then
16428 ac_header_preproc=yes
16430 echo "$as_me: failed program was:" >&5
16431 sed 's
/^
/|
/' conftest.$ac_ext >&5
16433 ac_header_preproc=no
16436 rm -f conftest.err conftest.$ac_ext
16437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16438 echo "${ECHO_T}$ac_header_preproc" >&6; }
16440 # So? What about this header?
16441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16443 { echo "$as_me:$LINENO: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
16444 echo "$as_me: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16445 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the compiler's result
" >&5
16446 echo "$as_me: WARNING
: iksemel.h
: proceeding with the compiler
's result" >&2;}
16447 ac_header_preproc=yes
16450 { echo "$as_me:$LINENO: WARNING: iksemel.h: present but cannot be compiled" >&5
16451 echo "$as_me: WARNING: iksemel.h: present but cannot be compiled" >&2;}
16452 { echo "$as_me:$LINENO: WARNING: iksemel.h: check for missing prerequisite headers?" >&5
16453 echo "$as_me: WARNING: iksemel.h: check for missing prerequisite headers?" >&2;}
16454 { echo "$as_me:$LINENO: WARNING: iksemel.h: see the Autoconf documentation" >&5
16455 echo "$as_me: WARNING: iksemel.h: see the Autoconf documentation" >&2;}
16456 { echo "$as_me:$LINENO: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
16457 echo "$as_me: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
16458 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the preprocessor's result
" >&5
16459 echo "$as_me: WARNING
: iksemel.h
: proceeding with the preprocessor
's result" >&2;}
16460 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5
16461 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;}
16465 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
16466 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
16467 if test "${ac_cv_header_iksemel_h+set}" = set; then
16468 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 ac_cv_header_iksemel_h=$ac_header_preproc
16472 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
16473 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
16476 if test $ac_cv_header_iksemel_h = yes; then
16477 IKSEMEL_HEADER_FOUND=1
16479 IKSEMEL_HEADER_FOUND=0
16485 if test "x${IKSEMEL_HEADER_FOUND}" = "x0" ; then
16486 if test ! -z "${IKSEMEL_MANDATORY}" ;
16488 { echo "$as_me:$LINENO: ***" >&5
16489 echo "$as_me: ***" >&6;}
16490 { echo "$as_me:$LINENO: *** It appears that you do not have the iksemel development package installed." >&5
16491 echo "$as_me: *** It appears that you do not have the iksemel development package installed." >&6;}
16492 { echo "$as_me:$LINENO: *** Please install it to include ${IKSEMEL_DESCRIP} support" >&5
16493 echo "$as_me: *** Please install it to include ${IKSEMEL_DESCRIP} support" >&or re-run configure;}
16494 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
16495 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
16504 cat >>confdefs.h <<_ACEOF
16505 #define HAVE_IKSEMEL 1
16509 elif test ! -z "${IKSEMEL_MANDATORY}";
16511 { echo "$as_me:$LINENO: ***" >&5
16512 echo "$as_me: ***" >&6;}
16513 { echo "$as_me:$LINENO: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&5
16514 echo "$as_me: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&6;}
16515 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
16516 echo "$as_me: *** Either correct the installation" >&or run configure;}
16517 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
16518 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
16524 if test "${PBX_IKSEMEL}" = 1; then
16526 if test "${USE_GNUTLS}" != "no"; then
16528 if test "x${GNUTLS_DIR}" != "x"; then
16529 if test -d ${GNUTLS_DIR}/lib; then
16530 pbxlibdir="-L${GNUTLS_DIR}/lib"
16532 pbxlibdir="-L${GNUTLS_DIR}"
16535 { echo "$as_me:$LINENO: checking for gnutls_bye in -lgnutls" >&5
16536 echo $ECHO_N "checking for gnutls_bye in -lgnutls... $ECHO_C" >&6; }
16537 if test "${ac_cv_lib_gnutls_gnutls_bye+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16540 ac_check_lib_save_LIBS=$LIBS
16541 LIBS="-lgnutls ${pbxlibdir} $LIBS"
16542 cat >conftest.$ac_ext <<_ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16549 /* Override any GCC internal prototype to avoid an error.
16550 Use char because int might match the return type of a GCC
16551 builtin and then its argument prototype would still apply. */
16555 char gnutls_bye ();
16559 return gnutls_bye ();
16564 rm -f conftest.$ac_objext conftest$ac_exeext
16565 if { (ac_try="$ac_link"
16566 case "(($ac_try" in
16567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16568 *) ac_try_echo=$ac_try;;
16570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16571 (eval "$ac_link") 2>conftest.er1
16573 grep -v '^
*+' conftest.er1 >conftest.err
16575 cat conftest.err >&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); } &&
16578 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16579 { (case "(($ac_try" in
16580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16581 *) ac_try_echo=$ac_try;;
16583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16584 (eval "$ac_try") 2>&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; } &&
16588 { ac_try='test -s conftest
$ac_exeext'
16589 { (case "(($ac_try" in
16590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16591 *) ac_try_echo=$ac_try;;
16593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16594 (eval "$ac_try") 2>&5
16596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16597 (exit $ac_status); }; }; then
16598 ac_cv_lib_gnutls_gnutls_bye=yes
16600 echo "$as_me: failed program was:" >&5
16601 sed 's
/^
/|
/' conftest.$ac_ext >&5
16603 ac_cv_lib_gnutls_gnutls_bye=no
16606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16607 conftest$ac_exeext conftest.$ac_ext
16608 LIBS=$ac_check_lib_save_LIBS
16610 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_bye" >&5
16611 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_bye" >&6; }
16612 if test $ac_cv_lib_gnutls_gnutls_bye = yes; then
16613 AST_GNUTLS_FOUND=yes
16615 AST_GNUTLS_FOUND=no
16619 if test "${AST_GNUTLS_FOUND}" = "yes"; then
16620 GNUTLS_LIB="-lgnutls "
16621 GNUTLS_HEADER_FOUND="1"
16622 if test "x${GNUTLS_DIR}" != "x"; then
16623 GNUTLS_LIB="${pbxlibdir} ${GNUTLS_LIB}"
16624 GNUTLS_INCLUDE="-I${GNUTLS_DIR}/include"
16625 if test "x" != "x" ; then
16626 as_ac_Header=`echo "ac_cv_header_${GNUTLS_DIR}/include/" | $as_tr_sh`
16627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16628 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/" >&5
16629 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/... $ECHO_C" >&6; }
16630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16631 echo $ECHO_N "(cached) $ECHO_C" >&6
16633 ac_res=`eval echo '${'$as_ac_Header'}'`
16634 { echo "$as_me:$LINENO: result: $ac_res" >&5
16635 echo "${ECHO_T}$ac_res" >&6; }
16637 # Is the header compilable?
16638 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/ usability" >&5
16639 echo $ECHO_N "checking ${GNUTLS_DIR}/include/ usability... $ECHO_C" >&6; }
16640 cat >conftest.$ac_ext <<_ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 $ac_includes_default
16647 #include <${GNUTLS_DIR}/include/>
16649 rm -f conftest.$ac_objext
16650 if { (ac_try="$ac_compile"
16651 case "(($ac_try" in
16652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16653 *) ac_try_echo=$ac_try;;
16655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16656 (eval "$ac_compile") 2>conftest.er1
16658 grep -v '^
*+' conftest.er1 >conftest.err
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } &&
16663 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16664 { (case "(($ac_try" in
16665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16666 *) ac_try_echo=$ac_try;;
16668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16669 (eval "$ac_try") 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; } &&
16673 { ac_try='test -s conftest.
$ac_objext'
16674 { (case "(($ac_try" in
16675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16676 *) ac_try_echo=$ac_try;;
16678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16679 (eval "$ac_try") 2>&5
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 ac_header_compiler=yes
16685 echo "$as_me: failed program was:" >&5
16686 sed 's
/^
/|
/' conftest.$ac_ext >&5
16688 ac_header_compiler=no
16691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16693 echo "${ECHO_T}$ac_header_compiler" >&6; }
16695 # Is the header present?
16696 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/ presence" >&5
16697 echo $ECHO_N "checking ${GNUTLS_DIR}/include/ presence... $ECHO_C" >&6; }
16698 cat >conftest.$ac_ext <<_ACEOF
16701 cat confdefs.h >>conftest.$ac_ext
16702 cat >>conftest.$ac_ext <<_ACEOF
16703 /* end confdefs.h. */
16704 #include <${GNUTLS_DIR}/include/>
16706 if { (ac_try="$ac_cpp conftest.$ac_ext"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16714 grep -v '^
*+' conftest.er1 >conftest.err
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } >/dev/null; then
16719 if test -s conftest.err; then
16720 ac_cpp_err=$ac_c_preproc_warn_flag
16721 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16728 if test -z "$ac_cpp_err"; then
16729 ac_header_preproc=yes
16731 echo "$as_me: failed program was:" >&5
16732 sed 's
/^
/|
/' conftest.$ac_ext >&5
16734 ac_header_preproc=no
16737 rm -f conftest.err conftest.$ac_ext
16738 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16739 echo "${ECHO_T}$ac_header_preproc" >&6; }
16741 # So? What about this header?
16742 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16744 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
16745 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
16746 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: proceeding with the compiler's result
" >&5
16747 echo "$as_me: WARNING
: ${GNUTLS_DIR}/include
/: proceeding with the compiler
's result" >&2;}
16748 ac_header_preproc=yes
16751 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: present but cannot be compiled" >&5
16752 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: present but cannot be compiled" >&2;}
16753 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: check for missing prerequisite headers?" >&5
16754 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: check for missing prerequisite headers?" >&2;}
16755 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: see the Autoconf documentation" >&5
16756 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: see the Autoconf documentation" >&2;}
16757 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
16758 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
16759 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: proceeding with the preprocessor's result
" >&5
16760 echo "$as_me: WARNING
: ${GNUTLS_DIR}/include
/: proceeding with the preprocessor
's result" >&2;}
16761 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/: in the future, the compiler will take precedence" >&5
16762 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/: in the future, the compiler will take precedence" >&2;}
16766 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/" >&5
16767 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/... $ECHO_C" >&6; }
16768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16771 eval "$as_ac_Header=\$ac_header_preproc"
16773 ac_res=`eval echo '${'$as_ac_Header'}'`
16774 { echo "$as_me:$LINENO: result: $ac_res" >&5
16775 echo "${ECHO_T}$ac_res" >&6; }
16778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16779 GNUTLS_HEADER_FOUND=1
16781 GNUTLS_HEADER_FOUND=0
16787 if test "x" != "x" ; then
16788 if test "${ac_cv_header_+set}" = set; then
16789 { echo "$as_me:$LINENO: checking for " >&5
16790 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
16791 if test "${ac_cv_header_+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
16795 echo "${ECHO_T}$ac_cv_header_" >&6; }
16797 # Is the header compilable?
16798 { echo "$as_me:$LINENO: checking usability" >&5
16799 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
16800 cat >conftest.$ac_ext <<_ACEOF
16803 cat confdefs.h >>conftest.$ac_ext
16804 cat >>conftest.$ac_ext <<_ACEOF
16805 /* end confdefs.h. */
16806 $ac_includes_default
16809 rm -f conftest.$ac_objext
16810 if { (ac_try="$ac_compile"
16811 case "(($ac_try" in
16812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16813 *) ac_try_echo=$ac_try;;
16815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16816 (eval "$ac_compile") 2>conftest.er1
16818 grep -v '^
*+' conftest.er1 >conftest.err
16820 cat conftest.err >&5
16821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16822 (exit $ac_status); } &&
16823 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
16824 { (case "(($ac_try" in
16825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16826 *) ac_try_echo=$ac_try;;
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16829 (eval "$ac_try") 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; } &&
16833 { ac_try='test -s conftest.
$ac_objext'
16834 { (case "(($ac_try" in
16835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16836 *) ac_try_echo=$ac_try;;
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_try") 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 ac_header_compiler=yes
16845 echo "$as_me: failed program was:" >&5
16846 sed 's
/^
/|
/' conftest.$ac_ext >&5
16848 ac_header_compiler=no
16851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16852 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16853 echo "${ECHO_T}$ac_header_compiler" >&6; }
16855 # Is the header present?
16856 { echo "$as_me:$LINENO: checking presence" >&5
16857 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
16858 cat >conftest.$ac_ext <<_ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16866 if { (ac_try="$ac_cpp conftest.$ac_ext"
16867 case "(($ac_try" in
16868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16869 *) ac_try_echo=$ac_try;;
16871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16872 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16874 grep -v '^
*+' conftest.er1 >conftest.err
16876 cat conftest.err >&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } >/dev/null; then
16879 if test -s conftest.err; then
16880 ac_cpp_err=$ac_c_preproc_warn_flag
16881 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16888 if test -z "$ac_cpp_err"; then
16889 ac_header_preproc=yes
16891 echo "$as_me: failed program was:" >&5
16892 sed 's
/^
/|
/' conftest.$ac_ext >&5
16894 ac_header_preproc=no
16897 rm -f conftest.err conftest.$ac_ext
16898 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16899 echo "${ECHO_T}$ac_header_preproc" >&6; }
16901 # So? What about this header?
16902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16904 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
16905 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
16906 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result
" >&5
16907 echo "$as_me: WARNING
: : proceeding with the compiler
's result" >&2;}
16908 ac_header_preproc=yes
16911 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
16912 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
16913 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
16914 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
16915 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
16916 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
16917 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
16918 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
16919 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result
" >&5
16920 echo "$as_me: WARNING
: : proceeding with the preprocessor
's result" >&2;}
16921 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
16922 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
16926 { echo "$as_me:$LINENO: checking for " >&5
16927 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
16928 if test "${ac_cv_header_+set}" = set; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 ac_cv_header_=$ac_header_preproc
16933 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
16934 echo "${ECHO_T}$ac_cv_header_" >&6; }
16937 if test $ac_cv_header_ = yes; then
16938 GNUTLS_HEADER_FOUND=1
16940 GNUTLS_HEADER_FOUND=0
16946 if test "x${GNUTLS_HEADER_FOUND}" = "x0" ; then
16947 if test ! -z "${GNUTLS_MANDATORY}" ;
16949 { echo "$as_me:$LINENO: ***" >&5
16950 echo "$as_me: ***" >&6;}
16951 { echo "$as_me:$LINENO: *** It appears that you do not have the gnutls development package installed." >&5
16952 echo "$as_me: *** It appears that you do not have the gnutls development package installed." >&6;}
16953 { echo "$as_me:$LINENO: *** Please install it to include ${GNUTLS_DESCRIP} support" >&5
16954 echo "$as_me: *** Please install it to include ${GNUTLS_DESCRIP} support" >&or re-run configure;}
16955 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
16956 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
16965 cat >>confdefs.h <<_ACEOF
16966 #define HAVE_GNUTLS 1
16970 elif test ! -z "${GNUTLS_MANDATORY}";
16972 { echo "$as_me:$LINENO: ***" >&5
16973 echo "$as_me: ***" >&6;}
16974 { echo "$as_me:$LINENO: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&5
16975 echo "$as_me: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&6;}
16976 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
16977 echo "$as_me: *** Either correct the installation" >&or run configure;}
16978 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
16979 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
16984 if test "${PBX_GNUTLS}" = 1; then
16985 IKSEMEL_LIB="${IKSEMEL_LIB} -lgnutls -lz -lgcrypt -lnsl -lgpg-error"
16989 if test "${USE_IMAP_TK}" != "no"; then
16990 if test "${IMAP_TK_DIR}" = ""; then
16991 IMAP_TK_DIR=`pwd`"/../imap-2004g"
16993 { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
16994 echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
16995 saved_cppflags="${CPPFLAGS}"
16996 saved_libs="${LIBS}"
16997 if test -f ${IMAP_TK_DIR}/c-client/LDFLAGS ; then
16998 imap_ldflags=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
17000 CPPFLAGS="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
17001 LIBS="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
17002 cat >conftest.$ac_ext <<_ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 #include "c-client.h"
17009 void mm_searched (MAILSTREAM *stream,unsigned long number)
17012 void mm_exists (MAILSTREAM *stream,unsigned long number)
17015 void mm_expunged (MAILSTREAM *stream,unsigned long number)
17018 void mm_flags (MAILSTREAM *stream,unsigned long number)
17021 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
17024 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17027 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17030 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
17033 void mm_log (char *string,long errflg)
17036 void mm_dlog (char *string)
17039 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
17042 void mm_critical (MAILSTREAM *stream)
17045 void mm_nocritical (MAILSTREAM *stream)
17048 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
17051 void mm_fatal (char *string)
17058 MAILSTREAM *foo = mail_open(NULL, "", 0);
17065 rm -f conftest.$ac_objext conftest$ac_exeext
17066 if { (ac_try="$ac_link"
17067 case "(($ac_try" in
17068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17069 *) ac_try_echo=$ac_try;;
17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17072 (eval "$ac_link") 2>conftest.er1
17074 grep -v '^
*+' conftest.er1 >conftest.err
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } &&
17079 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17080 { (case "(($ac_try" in
17081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17082 *) ac_try_echo=$ac_try;;
17084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17085 (eval "$ac_try") 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; } &&
17089 { ac_try='test -s conftest
$ac_exeext'
17090 { (case "(($ac_try" in
17091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092 *) ac_try_echo=$ac_try;;
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095 (eval "$ac_try") 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; }; then
17099 ac_cv_imap_tk="yes"
17101 echo "$as_me: failed program was:" >&5
17102 sed 's
/^
/|
/' conftest.$ac_ext >&5
17108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17109 conftest$ac_exeext conftest.$ac_ext
17110 if test "${ac_cv_imap_tk}" = "yes"; then
17111 cat >conftest.$ac_ext <<_ACEOF
17114 cat confdefs.h >>conftest.$ac_ext
17115 cat >>conftest.$ac_ext <<_ACEOF
17116 /* end confdefs.h. */
17117 #include "c-client.h"
17118 void mm_searched (MAILSTREAM *stream,unsigned long number)
17121 void mm_exists (MAILSTREAM *stream,unsigned long number)
17124 void mm_expunged (MAILSTREAM *stream,unsigned long number)
17127 void mm_flags (MAILSTREAM *stream,unsigned long number)
17130 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
17133 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17136 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
17139 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
17142 void mm_log (char *string,long errflg)
17145 void mm_dlog (char *string)
17148 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
17151 void mm_critical (MAILSTREAM *stream)
17154 void mm_nocritical (MAILSTREAM *stream)
17157 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
17160 void mm_fatal (char *string)
17167 long check = mail_expunge_full(NULL, "", 0);
17174 rm -f conftest.$ac_objext conftest$ac_exeext
17175 if { (ac_try="$ac_link"
17176 case "(($ac_try" in
17177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17178 *) ac_try_echo=$ac_try;;
17180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17181 (eval "$ac_link") 2>conftest.er1
17183 grep -v '^
*+' conftest.er1 >conftest.err
17185 cat conftest.err >&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); } &&
17188 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17189 { (case "(($ac_try" in
17190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17191 *) ac_try_echo=$ac_try;;
17193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17194 (eval "$ac_try") 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; } &&
17198 { ac_try='test -s conftest
$ac_exeext'
17199 { (case "(($ac_try" in
17200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17201 *) ac_try_echo=$ac_try;;
17203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17204 (eval "$ac_try") 2>&5
17206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17207 (exit $ac_status); }; }; then
17208 ac_cv_imap_tk2006="yes"
17210 echo "$as_me: failed program was:" >&5
17211 sed 's
/^
/|
/' conftest.$ac_ext >&5
17213 ac_cv_imap_tk2006="no"
17217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17218 conftest$ac_exeext conftest.$ac_ext
17220 CPPFLAGS="${saved_cppflags}"
17221 LIBS="${saved_libs}"
17222 if test "${ac_cv_imap_tk}" = "yes"; then
17223 { echo "$as_me:$LINENO: result: yes" >&5
17224 echo "${ECHO_T}yes" >&6; }
17225 IMAP_TK_LIB="${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
17226 IMAP_TK_INCLUDE="-I${IMAP_TK_DIR}/c-client"
17229 cat >>confdefs.h <<\_ACEOF
17230 #define HAVE_IMAP_TK 1
17233 if test "${ac_cv_imap_tk2006}" = "yes"; then
17235 cat >>confdefs.h <<\_ACEOF
17236 #define HAVE_IMAP_TK2006 1
17240 elif test ! -z "${IMAP_TK_MANDATORY}"; then
17241 { echo "$as_me:$LINENO: result: no" >&5
17242 echo "${ECHO_T}no" >&6; }
17243 { echo "$as_me:$LINENO: ***" >&5
17244 echo "$as_me: ***" >&6;}
17245 { echo "$as_me:$LINENO: *** The UW IMAP Toolkit installation on this system appears to be broken." >&5
17246 echo "$as_me: *** The UW IMAP Toolkit installation on this system appears to be broken." >&6;}
17247 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
17248 echo "$as_me: *** Either correct the installation" >&or run configure;}
17249 { echo "$as_me:$LINENO: *** including --without-imap." >&5
17250 echo "$as_me: *** including --without-imap." >&6;}
17253 { echo "$as_me:$LINENO: result: no" >&5
17254 echo "${ECHO_T}no" >&6; }
17259 ac_cpp='$CXXCPP $CPPFLAGS'
17260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17261 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17265 if test "${USE_KDE}" != "no"; then
17266 { echo "$as_me:$LINENO: checking for crashHandler in -lkdecore" >&5
17267 echo $ECHO_N "checking for crashHandler in -lkdecore... $ECHO_C" >&6; }
17268 saved_libs="${LIBS}"
17269 saved_cppflags="${CPPFLAGS}"
17270 CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include"
17271 if test -d ${KDE_DIR}/lib; then
17272 kdelibdir="${KDE_DIR}/lib"
17274 kdelibdir="${KDE_DIR}"
17276 LIBS="${LIBS} -L${kdelibdir} -lkdecore"
17279 cat >conftest.$ac_ext <<_ACEOF
17282 cat confdefs.h >>conftest.$ac_ext
17283 cat >>conftest.$ac_ext <<_ACEOF
17284 /* end confdefs.h. */
17285 #include "kcrash.h"
17289 KCrash::defaultCrashHandler(1);
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (ac_try="$ac_link"
17297 case "(($ac_try" in
17298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17299 *) ac_try_echo=$ac_try;;
17301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17302 (eval "$ac_link") 2>conftest.er1
17304 grep -v '^
*+' conftest.er1 >conftest.err
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } &&
17309 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
17310 { (case "(($ac_try" in
17311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17312 *) ac_try_echo=$ac_try;;
17314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17315 (eval "$ac_try") 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; } &&
17319 { ac_try='test -s conftest
$ac_exeext'
17320 { (case "(($ac_try" in
17321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17322 *) ac_try_echo=$ac_try;;
17324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17325 (eval "$ac_try") 2>&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 (exit $ac_status); }; }; then
17329 ac_cv_lib_kde_crash="yes"
17331 echo "$as_me: failed program was:" >&5
17332 sed 's
/^
/|
/' conftest.$ac_ext >&5
17334 ac_cv_lib_kde_crash="no"
17337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17338 conftest$ac_exeext conftest.$ac_ext
17340 LIBS="${saved_libs}"
17341 CPPFLAGS="${saved_cppflags}"
17343 if test "${ac_cv_lib_kde_crash}" = "yes"; then
17344 { echo "$as_me:$LINENO: result: yes" >&5
17345 echo "${ECHO_T}yes" >&6; }
17346 KDE_LIB="-lkdecore -lkdeui"
17347 if test "${KDE_DIR}" != ""; then
17348 KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
17349 KDE_INCLUDE="-I${KDE_DIR}/include"
17353 cat >>confdefs.h <<\_ACEOF
17354 #define HAVE_LIBKDE 1
17357 elif test ! -z "${KDE_MANDATORY}"; then
17358 { echo "$as_me:$LINENO: result: no" >&5
17359 echo "${ECHO_T}no" >&6; }
17360 { echo "$as_me:$LINENO: ***" >&5
17361 echo "$as_me: ***" >&6;}
17362 { echo "$as_me:$LINENO: *** The KDE installation on this system appears to be broken." >&5
17363 echo "$as_me: *** The KDE installation on this system appears to be broken." >&6;}
17364 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
17365 echo "$as_me: *** Either correct the installation" >&or run configure;}
17366 { echo "$as_me:$LINENO: *** including --without-kde." >&5
17367 echo "$as_me: *** including --without-kde." >&6;}
17370 { echo "$as_me:$LINENO: result: no" >&5
17371 echo "${ECHO_T}no" >&6; }
17374 if test "${PBX_KDE}" = 1; then
17375 if test -n "$ac_tool_prefix"; then
17376 # Extract the first word of "${ac_tool_prefix}kdeinit", so it can be a program name with args.
17377 set dummy ${ac_tool_prefix}kdeinit; ac_word=$2
17378 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17380 if test "${ac_cv_path_KDEINIT+set}" = set; then
17381 echo $ECHO_N "(cached) $ECHO_C" >&6
17385 ac_cv_path_KDEINIT="$KDEINIT" # Let the user override the test with a path.
17388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17389 for as_dir in $PATH
17392 test -z "$as_dir" && as_dir=.
17393 for ac_exec_ext in '' $ac_executable_extensions; do
17394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17395 ac_cv_path_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
17396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17406 KDEINIT=$ac_cv_path_KDEINIT
17407 if test -n "$KDEINIT"; then
17408 { echo "$as_me:$LINENO: result: $KDEINIT" >&5
17409 echo "${ECHO_T}$KDEINIT" >&6; }
17411 { echo "$as_me:$LINENO: result: no" >&5
17412 echo "${ECHO_T}no" >&6; }
17417 if test -z "$ac_cv_path_KDEINIT"; then
17418 ac_pt_KDEINIT=$KDEINIT
17419 # Extract the first word of "kdeinit", so it can be a program name with args.
17420 set dummy kdeinit; ac_word=$2
17421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17423 if test "${ac_cv_path_ac_pt_KDEINIT+set}" = set; then
17424 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 case $ac_pt_KDEINIT in
17428 ac_cv_path_ac_pt_KDEINIT="$ac_pt_KDEINIT" # Let the user override the test with a path.
17431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17432 for as_dir in $PATH
17435 test -z "$as_dir" && as_dir=.
17436 for ac_exec_ext in '' $ac_executable_extensions; do
17437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
17438 ac_cv_path_ac_pt_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
17439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17449 ac_pt_KDEINIT=$ac_cv_path_ac_pt_KDEINIT
17450 if test -n "$ac_pt_KDEINIT"; then
17451 { echo "$as_me:$LINENO: result: $ac_pt_KDEINIT" >&5
17452 echo "${ECHO_T}$ac_pt_KDEINIT" >&6; }
17454 { echo "$as_me:$LINENO: result: no" >&5
17455 echo "${ECHO_T}no" >&6; }
17458 if test "x$ac_pt_KDEINIT" = x; then
17461 case $cross_compiling:$ac_tool_warned in
17463 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17464 whose name does not start with the host triplet. If you think this
17465 configuration is useful to you, please write to autoconf@gnu.org." >&5
17466 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17467 whose name does not start with the host triplet. If you think this
17468 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17469 ac_tool_warned=yes ;;
17471 KDEINIT=$ac_pt_KDEINIT
17474 KDEINIT="$ac_cv_path_KDEINIT"
17477 if test ! x"${KDEINIT}" = xNo; then
17478 KDEDIR=$(${DIRNAME} ${KDEINIT})
17479 KDEDIR=$(${DIRNAME} ${KDEDIR})
17485 ac_cpp='$CPP $CPPFLAGS'
17486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17487 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 if test "${USE_MISDN}" != "no"; then
17494 if test "x${MISDN_DIR}" != "x"; then
17495 if test -d ${MISDN_DIR}/lib; then
17496 pbxlibdir="-L${MISDN_DIR}/lib"
17498 pbxlibdir="-L${MISDN_DIR}"
17501 { echo "$as_me:$LINENO: checking for mISDN_open in -lmISDN" >&5
17502 echo $ECHO_N "checking for mISDN_open in -lmISDN... $ECHO_C" >&6; }
17503 if test "${ac_cv_lib_mISDN_mISDN_open+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 ac_check_lib_save_LIBS=$LIBS
17507 LIBS="-lmISDN ${pbxlibdir} $LIBS"
17508 cat >conftest.$ac_ext <<_ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17515 /* Override any GCC internal prototype to avoid an error.
17516 Use char because int might match the return type of a GCC
17517 builtin and then its argument prototype would still apply. */
17521 char mISDN_open ();
17525 return mISDN_open ();
17530 rm -f conftest.$ac_objext conftest$ac_exeext
17531 if { (ac_try="$ac_link"
17532 case "(($ac_try" in
17533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17534 *) ac_try_echo=$ac_try;;
17536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17537 (eval "$ac_link") 2>conftest.er1
17539 grep -v '^
*+' conftest.er1 >conftest.err
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } &&
17544 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17545 { (case "(($ac_try" in
17546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17547 *) ac_try_echo=$ac_try;;
17549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17550 (eval "$ac_try") 2>&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); }; } &&
17554 { ac_try='test -s conftest
$ac_exeext'
17555 { (case "(($ac_try" in
17556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17557 *) ac_try_echo=$ac_try;;
17559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17560 (eval "$ac_try") 2>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); }; }; then
17564 ac_cv_lib_mISDN_mISDN_open=yes
17566 echo "$as_me: failed program was:" >&5
17567 sed 's
/^
/|
/' conftest.$ac_ext >&5
17569 ac_cv_lib_mISDN_mISDN_open=no
17572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17573 conftest$ac_exeext conftest.$ac_ext
17574 LIBS=$ac_check_lib_save_LIBS
17576 { echo "$as_me:$LINENO: result: $ac_cv_lib_mISDN_mISDN_open" >&5
17577 echo "${ECHO_T}$ac_cv_lib_mISDN_mISDN_open" >&6; }
17578 if test $ac_cv_lib_mISDN_mISDN_open = yes; then
17579 AST_MISDN_FOUND=yes
17585 if test "${AST_MISDN_FOUND}" = "yes"; then
17586 MISDN_LIB="-lmISDN "
17587 MISDN_HEADER_FOUND="1"
17588 if test "x${MISDN_DIR}" != "x"; then
17589 MISDN_LIB="${pbxlibdir} ${MISDN_LIB}"
17590 MISDN_INCLUDE="-I${MISDN_DIR}/include"
17591 if test "xmISDNuser/mISDNlib.h" != "x" ; then
17592 as_ac_Header=`echo "ac_cv_header_${MISDN_DIR}/include/mISDNuser/mISDNlib.h" | $as_tr_sh`
17593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17594 { echo "$as_me:$LINENO: checking for ${MISDN_DIR}/include/mISDNuser/mISDNlib.h" >&5
17595 echo $ECHO_N "checking for ${MISDN_DIR}/include/mISDNuser/mISDNlib.h... $ECHO_C" >&6; }
17596 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17597 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 ac_res=`eval echo '${'$as_ac_Header'}'`
17600 { echo "$as_me:$LINENO: result: $ac_res" >&5
17601 echo "${ECHO_T}$ac_res" >&6; }
17603 # Is the header compilable?
17604 { echo "$as_me:$LINENO: checking ${MISDN_DIR}/include/mISDNuser/mISDNlib.h usability" >&5
17605 echo $ECHO_N "checking ${MISDN_DIR}/include/mISDNuser/mISDNlib.h usability... $ECHO_C" >&6; }
17606 cat >conftest.$ac_ext <<_ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
17615 rm -f conftest.$ac_objext
17616 if { (ac_try="$ac_compile"
17617 case "(($ac_try" in
17618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17619 *) ac_try_echo=$ac_try;;
17621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17622 (eval "$ac_compile") 2>conftest.er1
17624 grep -v '^
*+' conftest.er1 >conftest.err
17626 cat conftest.err >&5
17627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17628 (exit $ac_status); } &&
17629 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17630 { (case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_try") 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try='test -s conftest.
$ac_objext'
17640 { (case "(($ac_try" in
17641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17642 *) ac_try_echo=$ac_try;;
17644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17645 (eval "$ac_try") 2>&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_header_compiler=yes
17651 echo "$as_me: failed program was:" >&5
17652 sed 's
/^
/|
/' conftest.$ac_ext >&5
17654 ac_header_compiler=no
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17659 echo "${ECHO_T}$ac_header_compiler" >&6; }
17661 # Is the header present?
17662 { echo "$as_me:$LINENO: checking ${MISDN_DIR}/include/mISDNuser/mISDNlib.h presence" >&5
17663 echo $ECHO_N "checking ${MISDN_DIR}/include/mISDNuser/mISDNlib.h presence... $ECHO_C" >&6; }
17664 cat >conftest.$ac_ext <<_ACEOF
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17670 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
17672 if { (ac_try="$ac_cpp conftest.$ac_ext"
17673 case "(($ac_try" in
17674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17675 *) ac_try_echo=$ac_try;;
17677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17678 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17680 grep -v '^
*+' conftest.er1 >conftest.err
17682 cat conftest.err >&5
17683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17684 (exit $ac_status); } >/dev/null; then
17685 if test -s conftest.err; then
17686 ac_cpp_err=$ac_c_preproc_warn_flag
17687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17694 if test -z "$ac_cpp_err"; then
17695 ac_header_preproc=yes
17697 echo "$as_me: failed program was:" >&5
17698 sed 's
/^
/|
/' conftest.$ac_ext >&5
17700 ac_header_preproc=no
17703 rm -f conftest.err conftest.$ac_ext
17704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17705 echo "${ECHO_T}$ac_header_preproc" >&6; }
17707 # So? What about this header?
17708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17710 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
17711 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17712 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&5
17713 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&2;}
17714 ac_header_preproc=yes
17717 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: present but cannot be compiled" >&5
17718 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: present but cannot be compiled" >&2;}
17719 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: check for missing prerequisite headers?" >&5
17720 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: check for missing prerequisite headers?" >&2;}
17721 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: see the Autoconf documentation" >&5
17722 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: see the Autoconf documentation" >&2;}
17723 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: section \"Present But Cannot Be Compiled\"" >&5
17724 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
17725 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&5
17726 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&2;}
17727 { echo "$as_me:$LINENO: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&5
17728 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&2;}
17732 { echo "$as_me:$LINENO: checking for ${MISDN_DIR}/include/mISDNuser/mISDNlib.h" >&5
17733 echo $ECHO_N "checking for ${MISDN_DIR}/include/mISDNuser/mISDNlib.h... $ECHO_C" >&6; }
17734 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 eval "$as_ac_Header=\$ac_header_preproc"
17739 ac_res=`eval echo '${'$as_ac_Header'}'`
17740 { echo "$as_me:$LINENO: result: $ac_res" >&5
17741 echo "${ECHO_T}$ac_res" >&6; }
17744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17745 MISDN_HEADER_FOUND=1
17747 MISDN_HEADER_FOUND=0
17753 if test "xmISDNuser/mISDNlib.h" != "x" ; then
17754 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
17755 { echo "$as_me:$LINENO: checking for mISDNuser/mISDNlib.h" >&5
17756 echo $ECHO_N "checking for mISDNuser/mISDNlib.h... $ECHO_C" >&6; }
17757 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
17761 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
17763 # Is the header compilable?
17764 { echo "$as_me:$LINENO: checking mISDNuser/mISDNlib.h usability" >&5
17765 echo $ECHO_N "checking mISDNuser/mISDNlib.h usability... $ECHO_C" >&6; }
17766 cat >conftest.$ac_ext <<_ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17772 $ac_includes_default
17773 #include <mISDNuser/mISDNlib.h>
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_compile") 2>conftest.er1
17784 grep -v '^
*+' conftest.er1 >conftest.err
17786 cat conftest.err >&5
17787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17788 (exit $ac_status); } &&
17789 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
17790 { (case "(($ac_try" in
17791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17792 *) ac_try_echo=$ac_try;;
17794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17795 (eval "$ac_try") 2>&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); }; } &&
17799 { ac_try='test -s conftest.
$ac_objext'
17800 { (case "(($ac_try" in
17801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17802 *) ac_try_echo=$ac_try;;
17804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17805 (eval "$ac_try") 2>&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); }; }; then
17809 ac_header_compiler=yes
17811 echo "$as_me: failed program was:" >&5
17812 sed 's
/^
/|
/' conftest.$ac_ext >&5
17814 ac_header_compiler=no
17817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17818 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17819 echo "${ECHO_T}$ac_header_compiler" >&6; }
17821 # Is the header present?
17822 { echo "$as_me:$LINENO: checking mISDNuser/mISDNlib.h presence" >&5
17823 echo $ECHO_N "checking mISDNuser/mISDNlib.h presence... $ECHO_C" >&6; }
17824 cat >conftest.$ac_ext <<_ACEOF
17827 cat confdefs.h >>conftest.$ac_ext
17828 cat >>conftest.$ac_ext <<_ACEOF
17829 /* end confdefs.h. */
17830 #include <mISDNuser/mISDNlib.h>
17832 if { (ac_try="$ac_cpp conftest.$ac_ext"
17833 case "(($ac_try" in
17834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17840 grep -v '^
*+' conftest.er1 >conftest.err
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } >/dev/null; then
17845 if test -s conftest.err; then
17846 ac_cpp_err=$ac_c_preproc_warn_flag
17847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17854 if test -z "$ac_cpp_err"; then
17855 ac_header_preproc=yes
17857 echo "$as_me: failed program was:" >&5
17858 sed 's
/^
/|
/' conftest.$ac_ext >&5
17860 ac_header_preproc=no
17863 rm -f conftest.err conftest.$ac_ext
17864 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17865 echo "${ECHO_T}$ac_header_preproc" >&6; }
17867 # So? What about this header?
17868 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17870 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
17871 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17872 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&5
17873 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&2;}
17874 ac_header_preproc=yes
17877 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: present but cannot be compiled" >&5
17878 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: present but cannot be compiled" >&2;}
17879 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: check for missing prerequisite headers?" >&5
17880 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: check for missing prerequisite headers?" >&2;}
17881 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: see the Autoconf documentation" >&5
17882 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: see the Autoconf documentation" >&2;}
17883 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: section \"Present But Cannot Be Compiled\"" >&5
17884 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
17885 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&5
17886 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&2;}
17887 { echo "$as_me:$LINENO: WARNING: mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&5
17888 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: in the future, the compiler will take precedence" >&2;}
17892 { echo "$as_me:$LINENO: checking for mISDNuser/mISDNlib.h" >&5
17893 echo $ECHO_N "checking for mISDNuser/mISDNlib.h... $ECHO_C" >&6; }
17894 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
17895 echo $ECHO_N "(cached) $ECHO_C" >&6
17897 ac_cv_header_mISDNuser_mISDNlib_h=$ac_header_preproc
17899 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
17900 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
17903 if test $ac_cv_header_mISDNuser_mISDNlib_h = yes; then
17904 MISDN_HEADER_FOUND=1
17906 MISDN_HEADER_FOUND=0
17912 if test "x${MISDN_HEADER_FOUND}" = "x0" ; then
17913 if test ! -z "${MISDN_MANDATORY}" ;
17915 { echo "$as_me:$LINENO: ***" >&5
17916 echo "$as_me: ***" >&6;}
17917 { echo "$as_me:$LINENO: *** It appears that you do not have the mISDN development package installed." >&5
17918 echo "$as_me: *** It appears that you do not have the mISDN development package installed." >&6;}
17919 { echo "$as_me:$LINENO: *** Please install it to include ${MISDN_DESCRIP} support" >&5
17920 echo "$as_me: *** Please install it to include ${MISDN_DESCRIP} support" >&or re-run configure;}
17921 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${MISDN_OPTION}" >&5
17922 echo "$as_me: *** without explicitly specifying --with-${MISDN_OPTION}" >&6;}
17931 cat >>confdefs.h <<_ACEOF
17932 #define HAVE_MISDN 1
17936 elif test ! -z "${MISDN_MANDATORY}";
17938 { echo "$as_me:$LINENO: ***" >&5
17939 echo "$as_me: ***" >&6;}
17940 { echo "$as_me:$LINENO: *** The ${MISDN_DESCRIP} installation on this system appears to be broken." >&5
17941 echo "$as_me: *** The ${MISDN_DESCRIP} installation on this system appears to be broken." >&6;}
17942 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
17943 echo "$as_me: *** Either correct the installation" >&or run configure;}
17944 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${MISDN_OPTION}" >&5
17945 echo "$as_me: *** without explicitly specifying --with-${MISDN_OPTION}" >&6;}
17951 if test "${PBX_MISDN}" = 1; then
17953 if test "${USE_ISDNNET}" != "no"; then
17955 if test "x${ISDNNET_DIR}" != "x"; then
17956 if test -d ${ISDNNET_DIR}/lib; then
17957 pbxlibdir="-L${ISDNNET_DIR}/lib"
17959 pbxlibdir="-L${ISDNNET_DIR}"
17962 { echo "$as_me:$LINENO: checking for init_manager in -lisdnnet" >&5
17963 echo $ECHO_N "checking for init_manager in -lisdnnet... $ECHO_C" >&6; }
17964 if test "${ac_cv_lib_isdnnet_init_manager+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17967 ac_check_lib_save_LIBS=$LIBS
17968 LIBS="-lisdnnet ${pbxlibdir} -lmISDN -lpthread $LIBS"
17969 cat >conftest.$ac_ext <<_ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17976 /* Override any GCC internal prototype to avoid an error.
17977 Use char because int might match the return type of a GCC
17978 builtin and then its argument prototype would still apply. */
17982 char init_manager ();
17986 return init_manager ();
17991 rm -f conftest.$ac_objext conftest$ac_exeext
17992 if { (ac_try="$ac_link"
17993 case "(($ac_try" in
17994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17995 *) ac_try_echo=$ac_try;;
17997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17998 (eval "$ac_link") 2>conftest.er1
18000 grep -v '^
*+' conftest.er1 >conftest.err
18002 cat conftest.err >&5
18003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004 (exit $ac_status); } &&
18005 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18006 { (case "(($ac_try" in
18007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18008 *) ac_try_echo=$ac_try;;
18010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18011 (eval "$ac_try") 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; } &&
18015 { ac_try='test -s conftest
$ac_exeext'
18016 { (case "(($ac_try" in
18017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18018 *) ac_try_echo=$ac_try;;
18020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18021 (eval "$ac_try") 2>&5
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_cv_lib_isdnnet_init_manager=yes
18027 echo "$as_me: failed program was:" >&5
18028 sed 's
/^
/|
/' conftest.$ac_ext >&5
18030 ac_cv_lib_isdnnet_init_manager=no
18033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18034 conftest$ac_exeext conftest.$ac_ext
18035 LIBS=$ac_check_lib_save_LIBS
18037 { echo "$as_me:$LINENO: result: $ac_cv_lib_isdnnet_init_manager" >&5
18038 echo "${ECHO_T}$ac_cv_lib_isdnnet_init_manager" >&6; }
18039 if test $ac_cv_lib_isdnnet_init_manager = yes; then
18040 AST_ISDNNET_FOUND=yes
18042 AST_ISDNNET_FOUND=no
18046 if test "${AST_ISDNNET_FOUND}" = "yes"; then
18047 ISDNNET_LIB="-lisdnnet -lmISDN -lpthread"
18048 ISDNNET_HEADER_FOUND="1"
18049 if test "x${ISDNNET_DIR}" != "x"; then
18050 ISDNNET_LIB="${pbxlibdir} ${ISDNNET_LIB}"
18051 ISDNNET_INCLUDE="-I${ISDNNET_DIR}/include"
18052 if test "xmISDNuser/isdn_net.h" != "x" ; then
18053 as_ac_Header=`echo "ac_cv_header_${ISDNNET_DIR}/include/mISDNuser/isdn_net.h" | $as_tr_sh`
18054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18055 { echo "$as_me:$LINENO: checking for ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h" >&5
18056 echo $ECHO_N "checking for ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h... $ECHO_C" >&6; }
18057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18058 echo $ECHO_N "(cached) $ECHO_C" >&6
18060 ac_res=`eval echo '${'$as_ac_Header'}'`
18061 { echo "$as_me:$LINENO: result: $ac_res" >&5
18062 echo "${ECHO_T}$ac_res" >&6; }
18064 # Is the header compilable?
18065 { echo "$as_me:$LINENO: checking ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h usability" >&5
18066 echo $ECHO_N "checking ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h usability... $ECHO_C" >&6; }
18067 cat >conftest.$ac_ext <<_ACEOF
18070 cat confdefs.h >>conftest.$ac_ext
18071 cat >>conftest.$ac_ext <<_ACEOF
18072 /* end confdefs.h. */
18073 $ac_includes_default
18074 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
18076 rm -f conftest.$ac_objext
18077 if { (ac_try="$ac_compile"
18078 case "(($ac_try" in
18079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18080 *) ac_try_echo=$ac_try;;
18082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18083 (eval "$ac_compile") 2>conftest.er1
18085 grep -v '^
*+' conftest.er1 >conftest.err
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18091 { (case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_try") 2>&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); }; } &&
18100 { ac_try='test -s conftest.
$ac_objext'
18101 { (case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_try") 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 ac_header_compiler=yes
18112 echo "$as_me: failed program was:" >&5
18113 sed 's
/^
/|
/' conftest.$ac_ext >&5
18115 ac_header_compiler=no
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18120 echo "${ECHO_T}$ac_header_compiler" >&6; }
18122 # Is the header present?
18123 { echo "$as_me:$LINENO: checking ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h presence" >&5
18124 echo $ECHO_N "checking ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h presence... $ECHO_C" >&6; }
18125 cat >conftest.$ac_ext <<_ACEOF
18128 cat confdefs.h >>conftest.$ac_ext
18129 cat >>conftest.$ac_ext <<_ACEOF
18130 /* end confdefs.h. */
18131 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
18133 if { (ac_try="$ac_cpp conftest.$ac_ext"
18134 case "(($ac_try" in
18135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18136 *) ac_try_echo=$ac_try;;
18138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18141 grep -v '^
*+' conftest.er1 >conftest.err
18143 cat conftest.err >&5
18144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18145 (exit $ac_status); } >/dev/null; then
18146 if test -s conftest.err; then
18147 ac_cpp_err=$ac_c_preproc_warn_flag
18148 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18155 if test -z "$ac_cpp_err"; then
18156 ac_header_preproc=yes
18158 echo "$as_me: failed program was:" >&5
18159 sed 's
/^
/|
/' conftest.$ac_ext >&5
18161 ac_header_preproc=no
18164 rm -f conftest.err conftest.$ac_ext
18165 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18166 echo "${ECHO_T}$ac_header_preproc" >&6; }
18168 # So? What about this header?
18169 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18171 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: accepted by the compiler, rejected by the preprocessor!" >&5
18172 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18173 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&5
18174 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&2;}
18175 ac_header_preproc=yes
18178 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: present but cannot be compiled" >&5
18179 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: present but cannot be compiled" >&2;}
18180 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: check for missing prerequisite headers?" >&5
18181 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: check for missing prerequisite headers?" >&2;}
18182 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: see the Autoconf documentation" >&5
18183 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: see the Autoconf documentation" >&2;}
18184 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: section \"Present But Cannot Be Compiled\"" >&5
18185 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: section \"Present But Cannot Be Compiled\"" >&2;}
18186 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&5
18187 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&2;}
18188 { echo "$as_me:$LINENO: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&5
18189 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&2;}
18193 { echo "$as_me:$LINENO: checking for ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h" >&5
18194 echo $ECHO_N "checking for ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h... $ECHO_C" >&6; }
18195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18198 eval "$as_ac_Header=\$ac_header_preproc"
18200 ac_res=`eval echo '${'$as_ac_Header'}'`
18201 { echo "$as_me:$LINENO: result: $ac_res" >&5
18202 echo "${ECHO_T}$ac_res" >&6; }
18205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18206 ISDNNET_HEADER_FOUND=1
18208 ISDNNET_HEADER_FOUND=0
18214 if test "xmISDNuser/isdn_net.h" != "x" ; then
18215 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18216 { echo "$as_me:$LINENO: checking for mISDNuser/isdn_net.h" >&5
18217 echo $ECHO_N "checking for mISDNuser/isdn_net.h... $ECHO_C" >&6; }
18218 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18219 echo $ECHO_N "(cached) $ECHO_C" >&6
18221 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_isdn_net_h" >&5
18222 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
18224 # Is the header compilable?
18225 { echo "$as_me:$LINENO: checking mISDNuser/isdn_net.h usability" >&5
18226 echo $ECHO_N "checking mISDNuser/isdn_net.h usability... $ECHO_C" >&6; }
18227 cat >conftest.$ac_ext <<_ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 $ac_includes_default
18234 #include <mISDNuser/isdn_net.h>
18236 rm -f conftest.$ac_objext
18237 if { (ac_try="$ac_compile"
18238 case "(($ac_try" in
18239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18240 *) ac_try_echo=$ac_try;;
18242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18243 (eval "$ac_compile") 2>conftest.er1
18245 grep -v '^
*+' conftest.er1 >conftest.err
18247 cat conftest.err >&5
18248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18249 (exit $ac_status); } &&
18250 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18251 { (case "(($ac_try" in
18252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18253 *) ac_try_echo=$ac_try;;
18255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18256 (eval "$ac_try") 2>&5
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; } &&
18260 { ac_try='test -s conftest.
$ac_objext'
18261 { (case "(($ac_try" in
18262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18263 *) ac_try_echo=$ac_try;;
18265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18266 (eval "$ac_try") 2>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); }; }; then
18270 ac_header_compiler=yes
18272 echo "$as_me: failed program was:" >&5
18273 sed 's
/^
/|
/' conftest.$ac_ext >&5
18275 ac_header_compiler=no
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18280 echo "${ECHO_T}$ac_header_compiler" >&6; }
18282 # Is the header present?
18283 { echo "$as_me:$LINENO: checking mISDNuser/isdn_net.h presence" >&5
18284 echo $ECHO_N "checking mISDNuser/isdn_net.h presence... $ECHO_C" >&6; }
18285 cat >conftest.$ac_ext <<_ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 #include <mISDNuser/isdn_net.h>
18293 if { (ac_try="$ac_cpp conftest.$ac_ext"
18294 case "(($ac_try" in
18295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18296 *) ac_try_echo=$ac_try;;
18298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18299 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18301 grep -v '^
*+' conftest.er1 >conftest.err
18303 cat conftest.err >&5
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } >/dev/null; then
18306 if test -s conftest.err; then
18307 ac_cpp_err=$ac_c_preproc_warn_flag
18308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18315 if test -z "$ac_cpp_err"; then
18316 ac_header_preproc=yes
18318 echo "$as_me: failed program was:" >&5
18319 sed 's
/^
/|
/' conftest.$ac_ext >&5
18321 ac_header_preproc=no
18324 rm -f conftest.err conftest.$ac_ext
18325 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18326 echo "${ECHO_T}$ac_header_preproc" >&6; }
18328 # So? What about this header?
18329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18331 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: accepted by the compiler, rejected by the preprocessor!" >&5
18332 echo "$as_me: WARNING: mISDNuser/isdn_net.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18333 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&5
18334 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&2;}
18335 ac_header_preproc=yes
18338 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: present but cannot be compiled" >&5
18339 echo "$as_me: WARNING: mISDNuser/isdn_net.h: present but cannot be compiled" >&2;}
18340 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: check for missing prerequisite headers?" >&5
18341 echo "$as_me: WARNING: mISDNuser/isdn_net.h: check for missing prerequisite headers?" >&2;}
18342 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: see the Autoconf documentation" >&5
18343 echo "$as_me: WARNING: mISDNuser/isdn_net.h: see the Autoconf documentation" >&2;}
18344 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: section \"Present But Cannot Be Compiled\"" >&5
18345 echo "$as_me: WARNING: mISDNuser/isdn_net.h: section \"Present But Cannot Be Compiled\"" >&2;}
18346 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&5
18347 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&2;}
18348 { echo "$as_me:$LINENO: WARNING: mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&5
18349 echo "$as_me: WARNING: mISDNuser/isdn_net.h: in the future, the compiler will take precedence" >&2;}
18353 { echo "$as_me:$LINENO: checking for mISDNuser/isdn_net.h" >&5
18354 echo $ECHO_N "checking for mISDNuser/isdn_net.h... $ECHO_C" >&6; }
18355 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
18356 echo $ECHO_N "(cached) $ECHO_C" >&6
18358 ac_cv_header_mISDNuser_isdn_net_h=$ac_header_preproc
18360 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_isdn_net_h" >&5
18361 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
18364 if test $ac_cv_header_mISDNuser_isdn_net_h = yes; then
18365 ISDNNET_HEADER_FOUND=1
18367 ISDNNET_HEADER_FOUND=0
18373 if test "x${ISDNNET_HEADER_FOUND}" = "x0" ; then
18374 if test ! -z "${ISDNNET_MANDATORY}" ;
18376 { echo "$as_me:$LINENO: ***" >&5
18377 echo "$as_me: ***" >&6;}
18378 { echo "$as_me:$LINENO: *** It appears that you do not have the isdnnet development package installed." >&5
18379 echo "$as_me: *** It appears that you do not have the isdnnet development package installed." >&6;}
18380 { echo "$as_me:$LINENO: *** Please install it to include ${ISDNNET_DESCRIP} support" >&5
18381 echo "$as_me: *** Please install it to include ${ISDNNET_DESCRIP} support" >&or re-run configure;}
18382 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ISDNNET_OPTION}" >&5
18383 echo "$as_me: *** without explicitly specifying --with-${ISDNNET_OPTION}" >&6;}
18392 cat >>confdefs.h <<_ACEOF
18393 #define HAVE_ISDNNET 1
18397 elif test ! -z "${ISDNNET_MANDATORY}";
18399 { echo "$as_me:$LINENO: ***" >&5
18400 echo "$as_me: ***" >&6;}
18401 { echo "$as_me:$LINENO: *** The ${ISDNNET_DESCRIP} installation on this system appears to be broken." >&5
18402 echo "$as_me: *** The ${ISDNNET_DESCRIP} installation on this system appears to be broken." >&6;}
18403 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
18404 echo "$as_me: *** Either correct the installation" >&or run configure;}
18405 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ISDNNET_OPTION}" >&5
18406 echo "$as_me: *** without explicitly specifying --with-${ISDNNET_OPTION}" >&6;}
18412 if test "${USE_SUPPSERV}" != "no"; then
18414 if test "x${SUPPSERV_DIR}" != "x"; then
18415 if test -d ${SUPPSERV_DIR}/lib; then
18416 pbxlibdir="-L${SUPPSERV_DIR}/lib"
18418 pbxlibdir="-L${SUPPSERV_DIR}"
18421 { echo "$as_me:$LINENO: checking for encodeFac in -lsuppserv" >&5
18422 echo $ECHO_N "checking for encodeFac in -lsuppserv... $ECHO_C" >&6; }
18423 if test "${ac_cv_lib_suppserv_encodeFac+set}" = set; then
18424 echo $ECHO_N "(cached) $ECHO_C" >&6
18426 ac_check_lib_save_LIBS=$LIBS
18427 LIBS="-lsuppserv ${pbxlibdir} $LIBS"
18428 cat >conftest.$ac_ext <<_ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18435 /* Override any GCC internal prototype to avoid an error.
18436 Use char because int might match the return type of a GCC
18437 builtin and then its argument prototype would still apply. */
18445 return encodeFac ();
18450 rm -f conftest.$ac_objext conftest$ac_exeext
18451 if { (ac_try="$ac_link"
18452 case "(($ac_try" in
18453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18454 *) ac_try_echo=$ac_try;;
18456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18457 (eval "$ac_link") 2>conftest.er1
18459 grep -v '^
*+' conftest.er1 >conftest.err
18461 cat conftest.err >&5
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); } &&
18464 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18465 { (case "(($ac_try" in
18466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18467 *) ac_try_echo=$ac_try;;
18469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18470 (eval "$ac_try") 2>&5
18472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18473 (exit $ac_status); }; } &&
18474 { ac_try='test -s conftest
$ac_exeext'
18475 { (case "(($ac_try" in
18476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18477 *) ac_try_echo=$ac_try;;
18479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18480 (eval "$ac_try") 2>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); }; }; then
18484 ac_cv_lib_suppserv_encodeFac=yes
18486 echo "$as_me: failed program was:" >&5
18487 sed 's
/^
/|
/' conftest.$ac_ext >&5
18489 ac_cv_lib_suppserv_encodeFac=no
18492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18493 conftest$ac_exeext conftest.$ac_ext
18494 LIBS=$ac_check_lib_save_LIBS
18496 { echo "$as_me:$LINENO: result: $ac_cv_lib_suppserv_encodeFac" >&5
18497 echo "${ECHO_T}$ac_cv_lib_suppserv_encodeFac" >&6; }
18498 if test $ac_cv_lib_suppserv_encodeFac = yes; then
18499 AST_SUPPSERV_FOUND=yes
18501 AST_SUPPSERV_FOUND=no
18505 if test "${AST_SUPPSERV_FOUND}" = "yes"; then
18506 SUPPSERV_LIB="-lsuppserv "
18507 SUPPSERV_HEADER_FOUND="1"
18508 if test "x${SUPPSERV_DIR}" != "x"; then
18509 SUPPSERV_LIB="${pbxlibdir} ${SUPPSERV_LIB}"
18510 SUPPSERV_INCLUDE="-I${SUPPSERV_DIR}/include"
18511 if test "xmISDNuser/suppserv.h" != "x" ; then
18512 as_ac_Header=`echo "ac_cv_header_${SUPPSERV_DIR}/include/mISDNuser/suppserv.h" | $as_tr_sh`
18513 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18514 { echo "$as_me:$LINENO: checking for ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h" >&5
18515 echo $ECHO_N "checking for ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h... $ECHO_C" >&6; }
18516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 ac_res=`eval echo '${'$as_ac_Header'}'`
18520 { echo "$as_me:$LINENO: result: $ac_res" >&5
18521 echo "${ECHO_T}$ac_res" >&6; }
18523 # Is the header compilable?
18524 { echo "$as_me:$LINENO: checking ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h usability" >&5
18525 echo $ECHO_N "checking ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h usability... $ECHO_C" >&6; }
18526 cat >conftest.$ac_ext <<_ACEOF
18529 cat confdefs.h >>conftest.$ac_ext
18530 cat >>conftest.$ac_ext <<_ACEOF
18531 /* end confdefs.h. */
18532 $ac_includes_default
18533 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
18535 rm -f conftest.$ac_objext
18536 if { (ac_try="$ac_compile"
18537 case "(($ac_try" in
18538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18539 *) ac_try_echo=$ac_try;;
18541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18542 (eval "$ac_compile") 2>conftest.er1
18544 grep -v '^
*+' conftest.er1 >conftest.err
18546 cat conftest.err >&5
18547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18548 (exit $ac_status); } &&
18549 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18550 { (case "(($ac_try" in
18551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18552 *) ac_try_echo=$ac_try;;
18554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18555 (eval "$ac_try") 2>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; } &&
18559 { ac_try='test -s conftest.
$ac_objext'
18560 { (case "(($ac_try" in
18561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18562 *) ac_try_echo=$ac_try;;
18564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18565 (eval "$ac_try") 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; }; then
18569 ac_header_compiler=yes
18571 echo "$as_me: failed program was:" >&5
18572 sed 's
/^
/|
/' conftest.$ac_ext >&5
18574 ac_header_compiler=no
18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18579 echo "${ECHO_T}$ac_header_compiler" >&6; }
18581 # Is the header present?
18582 { echo "$as_me:$LINENO: checking ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h presence" >&5
18583 echo $ECHO_N "checking ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h presence... $ECHO_C" >&6; }
18584 cat >conftest.$ac_ext <<_ACEOF
18587 cat confdefs.h >>conftest.$ac_ext
18588 cat >>conftest.$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
18592 if { (ac_try="$ac_cpp conftest.$ac_ext"
18593 case "(($ac_try" in
18594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18595 *) ac_try_echo=$ac_try;;
18597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18600 grep -v '^
*+' conftest.er1 >conftest.err
18602 cat conftest.err >&5
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); } >/dev/null; then
18605 if test -s conftest.err; then
18606 ac_cpp_err=$ac_c_preproc_warn_flag
18607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18614 if test -z "$ac_cpp_err"; then
18615 ac_header_preproc=yes
18617 echo "$as_me: failed program was:" >&5
18618 sed 's
/^
/|
/' conftest.$ac_ext >&5
18620 ac_header_preproc=no
18623 rm -f conftest.err conftest.$ac_ext
18624 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18625 echo "${ECHO_T}$ac_header_preproc" >&6; }
18627 # So? What about this header?
18628 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18630 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: accepted by the compiler, rejected by the preprocessor!" >&5
18631 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18632 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the compiler's result
" >&5
18633 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&2;}
18634 ac_header_preproc=yes
18637 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: present but cannot be compiled" >&5
18638 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: present but cannot be compiled" >&2;}
18639 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: check for missing prerequisite headers?" >&5
18640 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: check for missing prerequisite headers?" >&2;}
18641 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: see the Autoconf documentation" >&5
18642 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: see the Autoconf documentation" >&2;}
18643 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: section \"Present But Cannot Be Compiled\"" >&5
18644 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: section \"Present But Cannot Be Compiled\"" >&2;}
18645 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&5
18646 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&2;}
18647 { echo "$as_me:$LINENO: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&5
18648 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&2;}
18652 { echo "$as_me:$LINENO: checking for ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h" >&5
18653 echo $ECHO_N "checking for ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h... $ECHO_C" >&6; }
18654 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18655 echo $ECHO_N "(cached) $ECHO_C" >&6
18657 eval "$as_ac_Header=\$ac_header_preproc"
18659 ac_res=`eval echo '${'$as_ac_Header'}'`
18660 { echo "$as_me:$LINENO: result: $ac_res" >&5
18661 echo "${ECHO_T}$ac_res" >&6; }
18664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18665 SUPPSERV_HEADER_FOUND=1
18667 SUPPSERV_HEADER_FOUND=0
18673 if test "xmISDNuser/suppserv.h" != "x" ; then
18674 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
18675 { echo "$as_me:$LINENO: checking for mISDNuser/suppserv.h" >&5
18676 echo $ECHO_N "checking for mISDNuser/suppserv.h... $ECHO_C" >&6; }
18677 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
18678 echo $ECHO_N "(cached) $ECHO_C" >&6
18680 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_suppserv_h" >&5
18681 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
18683 # Is the header compilable?
18684 { echo "$as_me:$LINENO: checking mISDNuser/suppserv.h usability" >&5
18685 echo $ECHO_N "checking mISDNuser/suppserv.h usability... $ECHO_C" >&6; }
18686 cat >conftest.$ac_ext <<_ACEOF
18689 cat confdefs.h >>conftest.$ac_ext
18690 cat >>conftest.$ac_ext <<_ACEOF
18691 /* end confdefs.h. */
18692 $ac_includes_default
18693 #include <mISDNuser/suppserv.h>
18695 rm -f conftest.$ac_objext
18696 if { (ac_try="$ac_compile"
18697 case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_compile") 2>conftest.er1
18704 grep -v '^
*+' conftest.er1 >conftest.err
18706 cat conftest.err >&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } &&
18709 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18710 { (case "(($ac_try" in
18711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712 *) ac_try_echo=$ac_try;;
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715 (eval "$ac_try") 2>&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); }; } &&
18719 { ac_try='test -s conftest.
$ac_objext'
18720 { (case "(($ac_try" in
18721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18722 *) ac_try_echo=$ac_try;;
18724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18725 (eval "$ac_try") 2>&5
18727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18728 (exit $ac_status); }; }; then
18729 ac_header_compiler=yes
18731 echo "$as_me: failed program was:" >&5
18732 sed 's
/^
/|
/' conftest.$ac_ext >&5
18734 ac_header_compiler=no
18737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18739 echo "${ECHO_T}$ac_header_compiler" >&6; }
18741 # Is the header present?
18742 { echo "$as_me:$LINENO: checking mISDNuser/suppserv.h presence" >&5
18743 echo $ECHO_N "checking mISDNuser/suppserv.h presence... $ECHO_C" >&6; }
18744 cat >conftest.$ac_ext <<_ACEOF
18747 cat confdefs.h >>conftest.$ac_ext
18748 cat >>conftest.$ac_ext <<_ACEOF
18749 /* end confdefs.h. */
18750 #include <mISDNuser/suppserv.h>
18752 if { (ac_try="$ac_cpp conftest.$ac_ext"
18753 case "(($ac_try" in
18754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18755 *) ac_try_echo=$ac_try;;
18757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18758 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18760 grep -v '^
*+' conftest.er1 >conftest.err
18762 cat conftest.err >&5
18763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764 (exit $ac_status); } >/dev/null; then
18765 if test -s conftest.err; then
18766 ac_cpp_err=$ac_c_preproc_warn_flag
18767 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18774 if test -z "$ac_cpp_err"; then
18775 ac_header_preproc=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's
/^
/|
/' conftest.$ac_ext >&5
18780 ac_header_preproc=no
18783 rm -f conftest.err conftest.$ac_ext
18784 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18785 echo "${ECHO_T}$ac_header_preproc" >&6; }
18787 # So? What about this header?
18788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18790 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: accepted by the compiler, rejected by the preprocessor!" >&5
18791 echo "$as_me: WARNING: mISDNuser/suppserv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18792 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: proceeding with the compiler's result
" >&5
18793 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&2;}
18794 ac_header_preproc=yes
18797 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: present but cannot be compiled" >&5
18798 echo "$as_me: WARNING: mISDNuser/suppserv.h: present but cannot be compiled" >&2;}
18799 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: check for missing prerequisite headers?" >&5
18800 echo "$as_me: WARNING: mISDNuser/suppserv.h: check for missing prerequisite headers?" >&2;}
18801 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: see the Autoconf documentation" >&5
18802 echo "$as_me: WARNING: mISDNuser/suppserv.h: see the Autoconf documentation" >&2;}
18803 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: section \"Present But Cannot Be Compiled\"" >&5
18804 echo "$as_me: WARNING: mISDNuser/suppserv.h: section \"Present But Cannot Be Compiled\"" >&2;}
18805 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&5
18806 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&2;}
18807 { echo "$as_me:$LINENO: WARNING: mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&5
18808 echo "$as_me: WARNING: mISDNuser/suppserv.h: in the future, the compiler will take precedence" >&2;}
18812 { echo "$as_me:$LINENO: checking for mISDNuser/suppserv.h" >&5
18813 echo $ECHO_N "checking for mISDNuser/suppserv.h... $ECHO_C" >&6; }
18814 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 ac_cv_header_mISDNuser_suppserv_h=$ac_header_preproc
18819 { echo "$as_me:$LINENO: result: $ac_cv_header_mISDNuser_suppserv_h" >&5
18820 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
18823 if test $ac_cv_header_mISDNuser_suppserv_h = yes; then
18824 SUPPSERV_HEADER_FOUND=1
18826 SUPPSERV_HEADER_FOUND=0
18832 if test "x${SUPPSERV_HEADER_FOUND}" = "x0" ; then
18833 if test ! -z "${SUPPSERV_MANDATORY}" ;
18835 { echo "$as_me:$LINENO: ***" >&5
18836 echo "$as_me: ***" >&6;}
18837 { echo "$as_me:$LINENO: *** It appears that you do not have the suppserv development package installed." >&5
18838 echo "$as_me: *** It appears that you do not have the suppserv development package installed." >&6;}
18839 { echo "$as_me:$LINENO: *** Please install it to include ${SUPPSERV_DESCRIP} support" >&5
18840 echo "$as_me: *** Please install it to include ${SUPPSERV_DESCRIP} support" >&or re-run configure;}
18841 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SUPPSERV_OPTION}" >&5
18842 echo "$as_me: *** without explicitly specifying --with-${SUPPSERV_OPTION}" >&6;}
18846 SUPPSERV_INCLUDE=""
18851 cat >>confdefs.h <<_ACEOF
18852 #define HAVE_SUPPSERV 1
18856 elif test ! -z "${SUPPSERV_MANDATORY}";
18858 { echo "$as_me:$LINENO: ***" >&5
18859 echo "$as_me: ***" >&6;}
18860 { echo "$as_me:$LINENO: *** The ${SUPPSERV_DESCRIP} installation on this system appears to be broken." >&5
18861 echo "$as_me: *** The ${SUPPSERV_DESCRIP} installation on this system appears to be broken." >&6;}
18862 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
18863 echo "$as_me: *** Either correct the installation" >&or run configure;}
18864 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SUPPSERV_OPTION}" >&5
18865 echo "$as_me: *** without explicitly specifying --with-${SUPPSERV_OPTION}" >&6;}
18873 if test "${USE_NBS}" != "no"; then
18875 if test "x${NBS_DIR}" != "x"; then
18876 if test -d ${NBS_DIR}/lib; then
18877 pbxlibdir="-L${NBS_DIR}/lib"
18879 pbxlibdir="-L${NBS_DIR}"
18882 { echo "$as_me:$LINENO: checking for nbs_connect in -lnbs" >&5
18883 echo $ECHO_N "checking for nbs_connect in -lnbs... $ECHO_C" >&6; }
18884 if test "${ac_cv_lib_nbs_nbs_connect+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18887 ac_check_lib_save_LIBS=$LIBS
18888 LIBS="-lnbs ${pbxlibdir} $LIBS"
18889 cat >conftest.$ac_ext <<_ACEOF
18892 cat confdefs.h >>conftest.$ac_ext
18893 cat >>conftest.$ac_ext <<_ACEOF
18894 /* end confdefs.h. */
18896 /* Override any GCC internal prototype to avoid an error.
18897 Use char because int might match the return type of a GCC
18898 builtin and then its argument prototype would still apply. */
18902 char nbs_connect ();
18906 return nbs_connect ();
18911 rm -f conftest.$ac_objext conftest$ac_exeext
18912 if { (ac_try="$ac_link"
18913 case "(($ac_try" in
18914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18915 *) ac_try_echo=$ac_try;;
18917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18918 (eval "$ac_link") 2>conftest.er1
18920 grep -v '^
*+' conftest.er1 >conftest.err
18922 cat conftest.err >&5
18923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18924 (exit $ac_status); } &&
18925 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
18926 { (case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_try") 2>&5
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; } &&
18935 { ac_try='test -s conftest
$ac_exeext'
18936 { (case "(($ac_try" in
18937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18938 *) ac_try_echo=$ac_try;;
18940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18941 (eval "$ac_try") 2>&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); }; }; then
18945 ac_cv_lib_nbs_nbs_connect=yes
18947 echo "$as_me: failed program was:" >&5
18948 sed 's
/^
/|
/' conftest.$ac_ext >&5
18950 ac_cv_lib_nbs_nbs_connect=no
18953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18954 conftest$ac_exeext conftest.$ac_ext
18955 LIBS=$ac_check_lib_save_LIBS
18957 { echo "$as_me:$LINENO: result: $ac_cv_lib_nbs_nbs_connect" >&5
18958 echo "${ECHO_T}$ac_cv_lib_nbs_nbs_connect" >&6; }
18959 if test $ac_cv_lib_nbs_nbs_connect = yes; then
18966 if test "${AST_NBS_FOUND}" = "yes"; then
18968 NBS_HEADER_FOUND="1"
18969 if test "x${NBS_DIR}" != "x"; then
18970 NBS_LIB="${pbxlibdir} ${NBS_LIB}"
18971 NBS_INCLUDE="-I${NBS_DIR}/include"
18972 if test "xnbs.h" != "x" ; then
18973 as_ac_Header=`echo "ac_cv_header_${NBS_DIR}/include/nbs.h" | $as_tr_sh`
18974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18975 { echo "$as_me:$LINENO: checking for ${NBS_DIR}/include/nbs.h" >&5
18976 echo $ECHO_N "checking for ${NBS_DIR}/include/nbs.h... $ECHO_C" >&6; }
18977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18978 echo $ECHO_N "(cached) $ECHO_C" >&6
18980 ac_res=`eval echo '${'$as_ac_Header'}'`
18981 { echo "$as_me:$LINENO: result: $ac_res" >&5
18982 echo "${ECHO_T}$ac_res" >&6; }
18984 # Is the header compilable?
18985 { echo "$as_me:$LINENO: checking ${NBS_DIR}/include/nbs.h usability" >&5
18986 echo $ECHO_N "checking ${NBS_DIR}/include/nbs.h usability... $ECHO_C" >&6; }
18987 cat >conftest.$ac_ext <<_ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 $ac_includes_default
18994 #include <${NBS_DIR}/include/nbs.h>
18996 rm -f conftest.$ac_objext
18997 if { (ac_try="$ac_compile"
18998 case "(($ac_try" in
18999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19000 *) ac_try_echo=$ac_try;;
19002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19003 (eval "$ac_compile") 2>conftest.er1
19005 grep -v '^
*+' conftest.er1 >conftest.err
19007 cat conftest.err >&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
19011 { (case "(($ac_try" in
19012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19013 *) ac_try_echo=$ac_try;;
19015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19016 (eval "$ac_try") 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest.
$ac_objext'
19021 { (case "(($ac_try" in
19022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19023 *) ac_try_echo=$ac_try;;
19025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19026 (eval "$ac_try") 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 ac_header_compiler=yes
19032 echo "$as_me: failed program was:" >&5
19033 sed 's
/^
/|
/' conftest.$ac_ext >&5
19035 ac_header_compiler=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19040 echo "${ECHO_T}$ac_header_compiler" >&6; }
19042 # Is the header present?
19043 { echo "$as_me:$LINENO: checking ${NBS_DIR}/include/nbs.h presence" >&5
19044 echo $ECHO_N "checking ${NBS_DIR}/include/nbs.h presence... $ECHO_C" >&6; }
19045 cat >conftest.$ac_ext <<_ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 #include <${NBS_DIR}/include/nbs.h>
19053 if { (ac_try="$ac_cpp conftest.$ac_ext"
19054 case "(($ac_try" in
19055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19056 *) ac_try_echo=$ac_try;;
19058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19059 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19061 grep -v '^
*+' conftest.er1 >conftest.err
19063 cat conftest.err >&5
19064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19065 (exit $ac_status); } >/dev/null; then
19066 if test -s conftest.err; then
19067 ac_cpp_err=$ac_c_preproc_warn_flag
19068 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19075 if test -z "$ac_cpp_err"; then
19076 ac_header_preproc=yes
19078 echo "$as_me: failed program was:" >&5
19079 sed 's
/^
/|
/' conftest.$ac_ext >&5
19081 ac_header_preproc=no
19084 rm -f conftest.err conftest.$ac_ext
19085 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19086 echo "${ECHO_T}$ac_header_preproc" >&6; }
19088 # So? What about this header?
19089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19091 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: accepted by the compiler, rejected by the preprocessor!" >&5
19092 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19093 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the compiler's result
" >&5
19094 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the compiler
's result" >&2;}
19095 ac_header_preproc=yes
19098 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: present but cannot be compiled" >&5
19099 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: present but cannot be compiled" >&2;}
19100 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: check for missing prerequisite headers?" >&5
19101 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: check for missing prerequisite headers?" >&2;}
19102 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: see the Autoconf documentation" >&5
19103 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: see the Autoconf documentation" >&2;}
19104 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: section \"Present But Cannot Be Compiled\"" >&5
19105 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: section \"Present But Cannot Be Compiled\"" >&2;}
19106 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the preprocessor's result
" >&5
19107 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the preprocessor
's result" >&2;}
19108 { echo "$as_me:$LINENO: WARNING: ${NBS_DIR}/include/nbs.h: in the future, the compiler will take precedence" >&5
19109 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: in the future, the compiler will take precedence" >&2;}
19113 { echo "$as_me:$LINENO: checking for ${NBS_DIR}/include/nbs.h" >&5
19114 echo $ECHO_N "checking for ${NBS_DIR}/include/nbs.h... $ECHO_C" >&6; }
19115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19116 echo $ECHO_N "(cached) $ECHO_C" >&6
19118 eval "$as_ac_Header=\$ac_header_preproc"
19120 ac_res=`eval echo '${'$as_ac_Header'}'`
19121 { echo "$as_me:$LINENO: result: $ac_res" >&5
19122 echo "${ECHO_T}$ac_res" >&6; }
19125 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19134 if test "xnbs.h" != "x" ; then
19135 if test "${ac_cv_header_nbs_h+set}" = set; then
19136 { echo "$as_me:$LINENO: checking for nbs.h" >&5
19137 echo $ECHO_N "checking for nbs.h... $ECHO_C" >&6; }
19138 if test "${ac_cv_header_nbs_h+set}" = set; then
19139 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 { echo "$as_me:$LINENO: result: $ac_cv_header_nbs_h" >&5
19142 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
19144 # Is the header compilable?
19145 { echo "$as_me:$LINENO: checking nbs.h usability" >&5
19146 echo $ECHO_N "checking nbs.h usability... $ECHO_C" >&6; }
19147 cat >conftest.$ac_ext <<_ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19165 grep -v '^
*+' conftest.er1 >conftest.err
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
19171 { (case "(($ac_try" in
19172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19173 *) ac_try_echo=$ac_try;;
19175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19176 (eval "$ac_try") 2>&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try='test -s conftest.
$ac_objext'
19181 { (case "(($ac_try" in
19182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19183 *) ac_try_echo=$ac_try;;
19185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19186 (eval "$ac_try") 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; }; then
19190 ac_header_compiler=yes
19192 echo "$as_me: failed program was:" >&5
19193 sed 's
/^
/|
/' conftest.$ac_ext >&5
19195 ac_header_compiler=no
19198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19200 echo "${ECHO_T}$ac_header_compiler" >&6; }
19202 # Is the header present?
19203 { echo "$as_me:$LINENO: checking nbs.h presence" >&5
19204 echo $ECHO_N "checking nbs.h presence... $ECHO_C" >&6; }
19205 cat >conftest.$ac_ext <<_ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19213 if { (ac_try="$ac_cpp conftest.$ac_ext"
19214 case "(($ac_try" in
19215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19216 *) ac_try_echo=$ac_try;;
19218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19221 grep -v '^
*+' conftest.er1 >conftest.err
19223 cat conftest.err >&5
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); } >/dev/null; then
19226 if test -s conftest.err; then
19227 ac_cpp_err=$ac_c_preproc_warn_flag
19228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19235 if test -z "$ac_cpp_err"; then
19236 ac_header_preproc=yes
19238 echo "$as_me: failed program was:" >&5
19239 sed 's
/^
/|
/' conftest.$ac_ext >&5
19241 ac_header_preproc=no
19244 rm -f conftest.err conftest.$ac_ext
19245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19246 echo "${ECHO_T}$ac_header_preproc" >&6; }
19248 # So? What about this header?
19249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19251 { echo "$as_me:$LINENO: WARNING: nbs.h: accepted by the compiler, rejected by the preprocessor!" >&5
19252 echo "$as_me: WARNING: nbs.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19253 { echo "$as_me:$LINENO: WARNING: nbs.h: proceeding with the compiler's result
" >&5
19254 echo "$as_me: WARNING
: nbs.h
: proceeding with the compiler
's result" >&2;}
19255 ac_header_preproc=yes
19258 { echo "$as_me:$LINENO: WARNING: nbs.h: present but cannot be compiled" >&5
19259 echo "$as_me: WARNING: nbs.h: present but cannot be compiled" >&2;}
19260 { echo "$as_me:$LINENO: WARNING: nbs.h: check for missing prerequisite headers?" >&5
19261 echo "$as_me: WARNING: nbs.h: check for missing prerequisite headers?" >&2;}
19262 { echo "$as_me:$LINENO: WARNING: nbs.h: see the Autoconf documentation" >&5
19263 echo "$as_me: WARNING: nbs.h: see the Autoconf documentation" >&2;}
19264 { echo "$as_me:$LINENO: WARNING: nbs.h: section \"Present But Cannot Be Compiled\"" >&5
19265 echo "$as_me: WARNING: nbs.h: section \"Present But Cannot Be Compiled\"" >&2;}
19266 { echo "$as_me:$LINENO: WARNING: nbs.h: proceeding with the preprocessor's result
" >&5
19267 echo "$as_me: WARNING
: nbs.h
: proceeding with the preprocessor
's result" >&2;}
19268 { echo "$as_me:$LINENO: WARNING: nbs.h: in the future, the compiler will take precedence" >&5
19269 echo "$as_me: WARNING: nbs.h: in the future, the compiler will take precedence" >&2;}
19273 { echo "$as_me:$LINENO: checking for nbs.h" >&5
19274 echo $ECHO_N "checking for nbs.h... $ECHO_C" >&6; }
19275 if test "${ac_cv_header_nbs_h+set}" = set; then
19276 echo $ECHO_N "(cached) $ECHO_C" >&6
19278 ac_cv_header_nbs_h=$ac_header_preproc
19280 { echo "$as_me:$LINENO: result: $ac_cv_header_nbs_h" >&5
19281 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
19284 if test $ac_cv_header_nbs_h = yes; then
19293 if test "x${NBS_HEADER_FOUND}" = "x0" ; then
19294 if test ! -z "${NBS_MANDATORY}" ;
19296 { echo "$as_me:$LINENO: ***" >&5
19297 echo "$as_me: ***" >&6;}
19298 { echo "$as_me:$LINENO: *** It appears that you do not have the nbs development package installed." >&5
19299 echo "$as_me: *** It appears that you do not have the nbs development package installed." >&6;}
19300 { echo "$as_me:$LINENO: *** Please install it to include ${NBS_DESCRIP} support" >&5
19301 echo "$as_me: *** Please install it to include ${NBS_DESCRIP} support" >&or re-run configure;}
19302 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NBS_OPTION}" >&5
19303 echo "$as_me: *** without explicitly specifying --with-${NBS_OPTION}" >&6;}
19312 cat >>confdefs.h <<_ACEOF
19317 elif test ! -z "${NBS_MANDATORY}";
19319 { echo "$as_me:$LINENO: ***" >&5
19320 echo "$as_me: ***" >&6;}
19321 { echo "$as_me:$LINENO: *** The ${NBS_DESCRIP} installation on this system appears to be broken." >&5
19322 echo "$as_me: *** The ${NBS_DESCRIP} installation on this system appears to be broken." >&6;}
19323 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
19324 echo "$as_me: *** Either correct the installation" >&or run configure;}
19325 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NBS_OPTION}" >&5
19326 echo "$as_me: *** without explicitly specifying --with-${NBS_OPTION}" >&6;}
19333 if test "${USE_NCURSES}" != "no"; then
19335 if test "x${NCURSES_DIR}" != "x"; then
19336 if test -d ${NCURSES_DIR}/lib; then
19337 pbxlibdir="-L${NCURSES_DIR}/lib"
19339 pbxlibdir="-L${NCURSES_DIR}"
19342 { echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
19343 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
19344 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
19345 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 ac_check_lib_save_LIBS=$LIBS
19348 LIBS="-lncurses ${pbxlibdir} $LIBS"
19349 cat >conftest.$ac_ext <<_ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19356 /* Override any GCC internal prototype to avoid an error.
19357 Use char because int might match the return type of a GCC
19358 builtin and then its argument prototype would still apply. */
19371 rm -f conftest.$ac_objext conftest$ac_exeext
19372 if { (ac_try="$ac_link"
19373 case "(($ac_try" in
19374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19375 *) ac_try_echo=$ac_try;;
19377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19378 (eval "$ac_link") 2>conftest.er1
19380 grep -v '^
*+' conftest.er1 >conftest.err
19382 cat conftest.err >&5
19383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384 (exit $ac_status); } &&
19385 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
19386 { (case "(($ac_try" in
19387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19388 *) ac_try_echo=$ac_try;;
19390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19391 (eval "$ac_try") 2>&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); }; } &&
19395 { ac_try='test -s conftest
$ac_exeext'
19396 { (case "(($ac_try" in
19397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19398 *) ac_try_echo=$ac_try;;
19400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19401 (eval "$ac_try") 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; }; then
19405 ac_cv_lib_ncurses_initscr=yes
19407 echo "$as_me: failed program was:" >&5
19408 sed 's
/^
/|
/' conftest.$ac_ext >&5
19410 ac_cv_lib_ncurses_initscr=no
19413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19414 conftest$ac_exeext conftest.$ac_ext
19415 LIBS=$ac_check_lib_save_LIBS
19417 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
19418 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
19419 if test $ac_cv_lib_ncurses_initscr = yes; then
19420 AST_NCURSES_FOUND=yes
19422 AST_NCURSES_FOUND=no
19426 if test "${AST_NCURSES_FOUND}" = "yes"; then
19427 NCURSES_LIB="-lncurses "
19428 NCURSES_HEADER_FOUND="1"
19429 if test "x${NCURSES_DIR}" != "x"; then
19430 NCURSES_LIB="${pbxlibdir} ${NCURSES_LIB}"
19431 NCURSES_INCLUDE="-I${NCURSES_DIR}/include"
19432 if test "xcurses.h" != "x" ; then
19433 as_ac_Header=`echo "ac_cv_header_${NCURSES_DIR}/include/curses.h" | $as_tr_sh`
19434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19435 { echo "$as_me:$LINENO: checking for ${NCURSES_DIR}/include/curses.h" >&5
19436 echo $ECHO_N "checking for ${NCURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
19437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19438 echo $ECHO_N "(cached) $ECHO_C" >&6
19440 ac_res=`eval echo '${'$as_ac_Header'}'`
19441 { echo "$as_me:$LINENO: result: $ac_res" >&5
19442 echo "${ECHO_T}$ac_res" >&6; }
19444 # Is the header compilable?
19445 { echo "$as_me:$LINENO: checking ${NCURSES_DIR}/include/curses.h usability" >&5
19446 echo $ECHO_N "checking ${NCURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
19447 cat >conftest.$ac_ext <<_ACEOF
19450 cat confdefs.h >>conftest.$ac_ext
19451 cat >>conftest.$ac_ext <<_ACEOF
19452 /* end confdefs.h. */
19453 $ac_includes_default
19454 #include <${NCURSES_DIR}/include/curses.h>
19456 rm -f conftest.$ac_objext
19457 if { (ac_try="$ac_compile"
19458 case "(($ac_try" in
19459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19460 *) ac_try_echo=$ac_try;;
19462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19463 (eval "$ac_compile") 2>conftest.er1
19465 grep -v '^
*+' conftest.er1 >conftest.err
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
19471 { (case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_try") 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try='test -s conftest.
$ac_objext'
19481 { (case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_header_compiler=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's
/^
/|
/' conftest.$ac_ext >&5
19495 ac_header_compiler=no
19498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19500 echo "${ECHO_T}$ac_header_compiler" >&6; }
19502 # Is the header present?
19503 { echo "$as_me:$LINENO: checking ${NCURSES_DIR}/include/curses.h presence" >&5
19504 echo $ECHO_N "checking ${NCURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
19505 cat >conftest.$ac_ext <<_ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h. */
19511 #include <${NCURSES_DIR}/include/curses.h>
19513 if { (ac_try="$ac_cpp conftest.$ac_ext"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19521 grep -v '^
*+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } >/dev/null; then
19526 if test -s conftest.err; then
19527 ac_cpp_err=$ac_c_preproc_warn_flag
19528 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19535 if test -z "$ac_cpp_err"; then
19536 ac_header_preproc=yes
19538 echo "$as_me: failed program was:" >&5
19539 sed 's
/^
/|
/' conftest.$ac_ext >&5
19541 ac_header_preproc=no
19544 rm -f conftest.err conftest.$ac_ext
19545 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19546 echo "${ECHO_T}$ac_header_preproc" >&6; }
19548 # So? What about this header?
19549 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19551 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
19552 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19553 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&5
19554 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&2;}
19555 ac_header_preproc=yes
19558 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
19559 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
19560 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
19561 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
19562 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
19563 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
19564 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
19565 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
19566 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&5
19567 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&2;}
19568 { echo "$as_me:$LINENO: WARNING: ${NCURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
19569 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
19573 { echo "$as_me:$LINENO: checking for ${NCURSES_DIR}/include/curses.h" >&5
19574 echo $ECHO_N "checking for ${NCURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
19575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19576 echo $ECHO_N "(cached) $ECHO_C" >&6
19578 eval "$as_ac_Header=\$ac_header_preproc"
19580 ac_res=`eval echo '${'$as_ac_Header'}'`
19581 { echo "$as_me:$LINENO: result: $ac_res" >&5
19582 echo "${ECHO_T}$ac_res" >&6; }
19585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19586 NCURSES_HEADER_FOUND=1
19588 NCURSES_HEADER_FOUND=0
19594 if test "xcurses.h" != "x" ; then
19595 if test "${ac_cv_header_curses_h+set}" = set; then
19596 { echo "$as_me:$LINENO: checking for curses.h" >&5
19597 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
19598 if test "${ac_cv_header_curses_h+set}" = set; then
19599 echo $ECHO_N "(cached) $ECHO_C" >&6
19601 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
19602 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
19604 # Is the header compilable?
19605 { echo "$as_me:$LINENO: checking curses.h usability" >&5
19606 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
19607 cat >conftest.$ac_ext <<_ACEOF
19610 cat confdefs.h >>conftest.$ac_ext
19611 cat >>conftest.$ac_ext <<_ACEOF
19612 /* end confdefs.h. */
19613 $ac_includes_default
19614 #include <curses.h>
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19625 grep -v '^
*+' conftest.er1 >conftest.err
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
19631 { (case "(($ac_try" in
19632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19633 *) ac_try_echo=$ac_try;;
19635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19636 (eval "$ac_try") 2>&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); }; } &&
19640 { ac_try='test -s conftest.
$ac_objext'
19641 { (case "(($ac_try" in
19642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19643 *) ac_try_echo=$ac_try;;
19645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19646 (eval "$ac_try") 2>&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); }; }; then
19650 ac_header_compiler=yes
19652 echo "$as_me: failed program was:" >&5
19653 sed 's
/^
/|
/' conftest.$ac_ext >&5
19655 ac_header_compiler=no
19658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19659 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19660 echo "${ECHO_T}$ac_header_compiler" >&6; }
19662 # Is the header present?
19663 { echo "$as_me:$LINENO: checking curses.h presence" >&5
19664 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
19665 cat >conftest.$ac_ext <<_ACEOF
19668 cat confdefs.h >>conftest.$ac_ext
19669 cat >>conftest.$ac_ext <<_ACEOF
19670 /* end confdefs.h. */
19671 #include <curses.h>
19673 if { (ac_try="$ac_cpp conftest.$ac_ext"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
19681 grep -v '^
*+' conftest.er1 >conftest.err
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } >/dev/null; then
19686 if test -s conftest.err; then
19687 ac_cpp_err=$ac_c_preproc_warn_flag
19688 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19695 if test -z "$ac_cpp_err"; then
19696 ac_header_preproc=yes
19698 echo "$as_me: failed program was:" >&5
19699 sed 's
/^
/|
/' conftest.$ac_ext >&5
19701 ac_header_preproc=no
19704 rm -f conftest.err conftest.$ac_ext
19705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19706 echo "${ECHO_T}$ac_header_preproc" >&6; }
19708 # So? What about this header?
19709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19711 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result
" >&5
19714 echo "$as_me: WARNING
: curses.h
: proceeding with the compiler
's result" >&2;}
19715 ac_header_preproc=yes
19718 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
19719 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
19720 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
19721 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
19722 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
19723 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
19724 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
19725 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
19726 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result
" >&5
19727 echo "$as_me: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&2;}
19728 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
19729 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
19733 { echo "$as_me:$LINENO: checking for curses.h" >&5
19734 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
19735 if test "${ac_cv_header_curses_h+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19738 ac_cv_header_curses_h=$ac_header_preproc
19740 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
19741 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
19744 if test $ac_cv_header_curses_h = yes; then
19745 NCURSES_HEADER_FOUND=1
19747 NCURSES_HEADER_FOUND=0
19753 if test "x${NCURSES_HEADER_FOUND}" = "x0" ; then
19754 if test ! -z "${NCURSES_MANDATORY}" ;
19756 { echo "$as_me:$LINENO: ***" >&5
19757 echo "$as_me: ***" >&6;}
19758 { echo "$as_me:$LINENO: *** It appears that you do not have the ncurses development package installed." >&5
19759 echo "$as_me: *** It appears that you do not have the ncurses development package installed." >&6;}
19760 { echo "$as_me:$LINENO: *** Please install it to include ${NCURSES_DESCRIP} support" >&5
19761 echo "$as_me: *** Please install it to include ${NCURSES_DESCRIP} support" >&or re-run configure;}
19762 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NCURSES_OPTION}" >&5
19763 echo "$as_me: *** without explicitly specifying --with-${NCURSES_OPTION}" >&6;}
19772 cat >>confdefs.h <<_ACEOF
19773 #define HAVE_NCURSES 1
19777 elif test ! -z "${NCURSES_MANDATORY}";
19779 { echo "$as_me:$LINENO: ***" >&5
19780 echo "$as_me: ***" >&6;}
19781 { echo "$as_me:$LINENO: *** The ${NCURSES_DESCRIP} installation on this system appears to be broken." >&5
19782 echo "$as_me: *** The ${NCURSES_DESCRIP} installation on this system appears to be broken." >&6;}
19783 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
19784 echo "$as_me: *** Either correct the installation" >&or run configure;}
19785 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NCURSES_OPTION}" >&5
19786 echo "$as_me: *** without explicitly specifying --with-${NCURSES_OPTION}" >&6;}
19793 if test "${USE_NETSNMP}" != "no"; then
19794 if test "x${NETSNMP_DIR}" != "x"; then
19795 if test -n "$ac_tool_prefix"; then
19796 # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
19797 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
19798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19800 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
19801 echo $ECHO_N "(cached) $ECHO_C" >&6
19803 case $NETSNMP_CONFIG in
19805 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
19808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19809 for as_dir in ${NETSNMP_DIR}/bin
19812 test -z "$as_dir" && as_dir=.
19813 for ac_exec_ext in '' $ac_executable_extensions; do
19814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19815 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19826 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
19827 if test -n "$NETSNMP_CONFIG"; then
19828 { echo "$as_me:$LINENO: result: $NETSNMP_CONFIG" >&5
19829 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
19831 { echo "$as_me:$LINENO: result: no" >&5
19832 echo "${ECHO_T}no" >&6; }
19837 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
19838 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
19839 # Extract the first word of "net-snmp-config", so it can be a program name with args.
19840 set dummy net-snmp-config; ac_word=$2
19841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19843 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
19844 echo $ECHO_N "(cached) $ECHO_C" >&6
19846 case $ac_pt_NETSNMP_CONFIG in
19848 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
19851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19852 for as_dir in ${NETSNMP_DIR}/bin
19855 test -z "$as_dir" && as_dir=.
19856 for ac_exec_ext in '' $ac_executable_extensions; do
19857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19858 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19869 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
19870 if test -n "$ac_pt_NETSNMP_CONFIG"; then
19871 { echo "$as_me:$LINENO: result: $ac_pt_NETSNMP_CONFIG" >&5
19872 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
19874 { echo "$as_me:$LINENO: result: no" >&5
19875 echo "${ECHO_T}no" >&6; }
19878 if test "x$ac_pt_NETSNMP_CONFIG" = x; then
19879 NETSNMP_CONFIG="No"
19881 case $cross_compiling:$ac_tool_warned in
19883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19884 whose name does not start with the host triplet. If you think this
19885 configuration is useful to you, please write to autoconf@gnu.org." >&5
19886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19887 whose name does not start with the host triplet. If you think this
19888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19889 ac_tool_warned=yes ;;
19891 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
19894 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
19897 if test x"${NETSNMP_CONFIG}" = xNo; then
19898 { echo "$as_me:$LINENO: ***" >&5
19899 echo "$as_me: ***" >&6;}
19900 { echo "$as_me:$LINENO: *** net-snmp-config was not found in the path you specified:" >&5
19901 echo "$as_me: *** net-snmp-config was not found in the path you specified:" >&6;}
19902 { echo "$as_me:$LINENO: *** ${NETSNMP_DIR}/bin" >&5
19903 echo "$as_me: *** ${NETSNMP_DIR}/bin" >&6;}
19904 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
19905 echo "$as_me: *** Either correct the installation" >&or run configure;}
19906 { echo "$as_me:$LINENO: *** including --without-netsnmp" >&5
19907 echo "$as_me: *** including --without-netsnmp" >&6;}
19911 if test -n "$ac_tool_prefix"; then
19912 # Extract the first word of "${ac_tool_prefix}net-snmp-config", so it can be a program name with args.
19913 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
19914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19916 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19919 case $NETSNMP_CONFIG in
19921 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
19924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19925 for as_dir in $PATH
19928 test -z "$as_dir" && as_dir=.
19929 for ac_exec_ext in '' $ac_executable_extensions; do
19930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19931 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19942 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
19943 if test -n "$NETSNMP_CONFIG"; then
19944 { echo "$as_me:$LINENO: result: $NETSNMP_CONFIG" >&5
19945 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
19947 { echo "$as_me:$LINENO: result: no" >&5
19948 echo "${ECHO_T}no" >&6; }
19953 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
19954 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
19955 # Extract the first word of "net-snmp-config", so it can be a program name with args.
19956 set dummy net-snmp-config; ac_word=$2
19957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19959 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
19960 echo $ECHO_N "(cached) $ECHO_C" >&6
19962 case $ac_pt_NETSNMP_CONFIG in
19964 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
19967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19968 for as_dir in $PATH
19971 test -z "$as_dir" && as_dir=.
19972 for ac_exec_ext in '' $ac_executable_extensions; do
19973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
19974 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19985 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
19986 if test -n "$ac_pt_NETSNMP_CONFIG"; then
19987 { echo "$as_me:$LINENO: result: $ac_pt_NETSNMP_CONFIG" >&5
19988 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
19990 { echo "$as_me:$LINENO: result: no" >&5
19991 echo "${ECHO_T}no" >&6; }
19994 if test "x$ac_pt_NETSNMP_CONFIG" = x; then
19995 NETSNMP_CONFIG="No"
19997 case $cross_compiling:$ac_tool_warned in
19999 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20000 whose name does not start with the host triplet. If you think this
20001 configuration is useful to you, please write to autoconf@gnu.org." >&5
20002 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20003 whose name does not start with the host triplet. If you think this
20004 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20005 ac_tool_warned=yes ;;
20007 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
20010 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
20015 if test x"${NETSNMP_CONFIG}" != xNo; then
20016 NETSNMP_libs=`net-snmp-config --agent-libs`
20018 { echo "$as_me:$LINENO: checking for snmp_register_callback in -lnetsnmp" >&5
20019 echo $ECHO_N "checking for snmp_register_callback in -lnetsnmp... $ECHO_C" >&6; }
20020 if test "${ac_cv_lib_netsnmp_snmp_register_callback+set}" = set; then
20021 echo $ECHO_N "(cached) $ECHO_C" >&6
20023 ac_check_lib_save_LIBS=$LIBS
20024 LIBS="-lnetsnmp ${NETSNMP_libs} $LIBS"
20025 cat >conftest.$ac_ext <<_ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20032 /* Override any GCC internal prototype to avoid an error.
20033 Use char because int might match the return type of a GCC
20034 builtin and then its argument prototype would still apply. */
20038 char snmp_register_callback ();
20042 return snmp_register_callback ();
20047 rm -f conftest.$ac_objext conftest$ac_exeext
20048 if { (ac_try="$ac_link"
20049 case "(($ac_try" in
20050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20051 *) ac_try_echo=$ac_try;;
20053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20054 (eval "$ac_link") 2>conftest.er1
20056 grep -v '^
*+' conftest.er1 >conftest.err
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20062 { (case "(($ac_try" in
20063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20064 *) ac_try_echo=$ac_try;;
20066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20067 (eval "$ac_try") 2>&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); }; } &&
20071 { ac_try='test -s conftest
$ac_exeext'
20072 { (case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_try") 2>&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); }; }; then
20081 ac_cv_lib_netsnmp_snmp_register_callback=yes
20083 echo "$as_me: failed program was:" >&5
20084 sed 's
/^
/|
/' conftest.$ac_ext >&5
20086 ac_cv_lib_netsnmp_snmp_register_callback=no
20089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20090 conftest$ac_exeext conftest.$ac_ext
20091 LIBS=$ac_check_lib_save_LIBS
20093 { echo "$as_me:$LINENO: result: $ac_cv_lib_netsnmp_snmp_register_callback" >&5
20094 echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_register_callback" >&6; }
20095 if test $ac_cv_lib_netsnmp_snmp_register_callback = yes; then
20097 cat >>confdefs.h <<_ACEOF
20098 #define HAVE_NETSNMP 1
20104 if test "${ac_cv_lib_netsnmp_snmp_register_callback}" = "yes"; then
20105 NETSNMP_LIB="${NETSNMP_libs}"
20107 elif test ! -z "${NETSNMP_MANDATORY}";
20109 { echo "$as_me:$LINENO: ***" >&5
20110 echo "$as_me: ***" >&6;}
20111 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken." >&5
20112 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken." >&6;}
20113 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
20114 echo "$as_me: *** Either correct the installation" >&or run configure;}
20115 { echo "$as_me:$LINENO: *** including --without-netsnmp" >&5
20116 echo "$as_me: *** including --without-netsnmp" >&6;}
20119 elif test ! -z "${NETSNMP_MANDATORY}";
20121 { echo "$as_me:$LINENO: ***" >&5
20122 echo "$as_me: ***" >&6;}
20123 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken." >&5
20124 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken." >&6;}
20125 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
20126 echo "$as_me: *** Either correct the installation" >&or run configure;}
20127 { echo "$as_me:$LINENO: *** including --without-netsnmp" >&5
20128 echo "$as_me: *** including --without-netsnmp" >&6;}
20133 if test "${USE_NEWT}" != "no"; then
20135 if test "x${NEWT_DIR}" != "x"; then
20136 if test -d ${NEWT_DIR}/lib; then
20137 pbxlibdir="-L${NEWT_DIR}/lib"
20139 pbxlibdir="-L${NEWT_DIR}"
20142 { echo "$as_me:$LINENO: checking for newtBell in -lnewt" >&5
20143 echo $ECHO_N "checking for newtBell in -lnewt... $ECHO_C" >&6; }
20144 if test "${ac_cv_lib_newt_newtBell+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 ac_check_lib_save_LIBS=$LIBS
20148 LIBS="-lnewt ${pbxlibdir} $LIBS"
20149 cat >conftest.$ac_ext <<_ACEOF
20152 cat confdefs.h >>conftest.$ac_ext
20153 cat >>conftest.$ac_ext <<_ACEOF
20154 /* end confdefs.h. */
20156 /* Override any GCC internal prototype to avoid an error.
20157 Use char because int might match the return type of a GCC
20158 builtin and then its argument prototype would still apply. */
20166 return newtBell ();
20171 rm -f conftest.$ac_objext conftest$ac_exeext
20172 if { (ac_try="$ac_link"
20173 case "(($ac_try" in
20174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20175 *) ac_try_echo=$ac_try;;
20177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20178 (eval "$ac_link") 2>conftest.er1
20180 grep -v '^
*+' conftest.er1 >conftest.err
20182 cat conftest.err >&5
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); } &&
20185 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20186 { (case "(($ac_try" in
20187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20188 *) ac_try_echo=$ac_try;;
20190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20191 (eval "$ac_try") 2>&5
20193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20194 (exit $ac_status); }; } &&
20195 { ac_try='test -s conftest
$ac_exeext'
20196 { (case "(($ac_try" in
20197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20198 *) ac_try_echo=$ac_try;;
20200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20201 (eval "$ac_try") 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); }; }; then
20205 ac_cv_lib_newt_newtBell=yes
20207 echo "$as_me: failed program was:" >&5
20208 sed 's
/^
/|
/' conftest.$ac_ext >&5
20210 ac_cv_lib_newt_newtBell=no
20213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20214 conftest$ac_exeext conftest.$ac_ext
20215 LIBS=$ac_check_lib_save_LIBS
20217 { echo "$as_me:$LINENO: result: $ac_cv_lib_newt_newtBell" >&5
20218 echo "${ECHO_T}$ac_cv_lib_newt_newtBell" >&6; }
20219 if test $ac_cv_lib_newt_newtBell = yes; then
20226 if test "${AST_NEWT_FOUND}" = "yes"; then
20228 NEWT_HEADER_FOUND="1"
20229 if test "x${NEWT_DIR}" != "x"; then
20230 NEWT_LIB="${pbxlibdir} ${NEWT_LIB}"
20231 NEWT_INCLUDE="-I${NEWT_DIR}/include"
20232 if test "xnewt.h" != "x" ; then
20233 as_ac_Header=`echo "ac_cv_header_${NEWT_DIR}/include/newt.h" | $as_tr_sh`
20234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20235 { echo "$as_me:$LINENO: checking for ${NEWT_DIR}/include/newt.h" >&5
20236 echo $ECHO_N "checking for ${NEWT_DIR}/include/newt.h... $ECHO_C" >&6; }
20237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 ac_res=`eval echo '${'$as_ac_Header'}'`
20241 { echo "$as_me:$LINENO: result: $ac_res" >&5
20242 echo "${ECHO_T}$ac_res" >&6; }
20244 # Is the header compilable?
20245 { echo "$as_me:$LINENO: checking ${NEWT_DIR}/include/newt.h usability" >&5
20246 echo $ECHO_N "checking ${NEWT_DIR}/include/newt.h usability... $ECHO_C" >&6; }
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 #include <${NEWT_DIR}/include/newt.h>
20256 rm -f conftest.$ac_objext
20257 if { (ac_try="$ac_compile"
20258 case "(($ac_try" in
20259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20260 *) ac_try_echo=$ac_try;;
20262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20263 (eval "$ac_compile") 2>conftest.er1
20265 grep -v '^
*+' conftest.er1 >conftest.err
20267 cat conftest.err >&5
20268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20269 (exit $ac_status); } &&
20270 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20271 { (case "(($ac_try" in
20272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20273 *) ac_try_echo=$ac_try;;
20275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20276 (eval "$ac_try") 2>&5
20278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20279 (exit $ac_status); }; } &&
20280 { ac_try='test -s conftest.
$ac_objext'
20281 { (case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_try") 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; }; then
20290 ac_header_compiler=yes
20292 echo "$as_me: failed program was:" >&5
20293 sed 's
/^
/|
/' conftest.$ac_ext >&5
20295 ac_header_compiler=no
20298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20299 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20300 echo "${ECHO_T}$ac_header_compiler" >&6; }
20302 # Is the header present?
20303 { echo "$as_me:$LINENO: checking ${NEWT_DIR}/include/newt.h presence" >&5
20304 echo $ECHO_N "checking ${NEWT_DIR}/include/newt.h presence... $ECHO_C" >&6; }
20305 cat >conftest.$ac_ext <<_ACEOF
20308 cat confdefs.h >>conftest.$ac_ext
20309 cat >>conftest.$ac_ext <<_ACEOF
20310 /* end confdefs.h. */
20311 #include <${NEWT_DIR}/include/newt.h>
20313 if { (ac_try="$ac_cpp conftest.$ac_ext"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20321 grep -v '^
*+' conftest.er1 >conftest.err
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } >/dev/null; then
20326 if test -s conftest.err; then
20327 ac_cpp_err=$ac_c_preproc_warn_flag
20328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20335 if test -z "$ac_cpp_err"; then
20336 ac_header_preproc=yes
20338 echo "$as_me: failed program was:" >&5
20339 sed 's
/^
/|
/' conftest.$ac_ext >&5
20341 ac_header_preproc=no
20344 rm -f conftest.err conftest.$ac_ext
20345 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20346 echo "${ECHO_T}$ac_header_preproc" >&6; }
20348 # So? What about this header?
20349 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20351 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20352 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20353 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the compiler's result
" >&5
20354 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the compiler
's result" >&2;}
20355 ac_header_preproc=yes
20358 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: present but cannot be compiled" >&5
20359 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: present but cannot be compiled" >&2;}
20360 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: check for missing prerequisite headers?" >&5
20361 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: check for missing prerequisite headers?" >&2;}
20362 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: see the Autoconf documentation" >&5
20363 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: see the Autoconf documentation" >&2;}
20364 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: section \"Present But Cannot Be Compiled\"" >&5
20365 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20366 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the preprocessor's result
" >&5
20367 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the preprocessor
's result" >&2;}
20368 { echo "$as_me:$LINENO: WARNING: ${NEWT_DIR}/include/newt.h: in the future, the compiler will take precedence" >&5
20369 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: in the future, the compiler will take precedence" >&2;}
20373 { echo "$as_me:$LINENO: checking for ${NEWT_DIR}/include/newt.h" >&5
20374 echo $ECHO_N "checking for ${NEWT_DIR}/include/newt.h... $ECHO_C" >&6; }
20375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20378 eval "$as_ac_Header=\$ac_header_preproc"
20380 ac_res=`eval echo '${'$as_ac_Header'}'`
20381 { echo "$as_me:$LINENO: result: $ac_res" >&5
20382 echo "${ECHO_T}$ac_res" >&6; }
20385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20386 NEWT_HEADER_FOUND=1
20388 NEWT_HEADER_FOUND=0
20394 if test "xnewt.h" != "x" ; then
20395 if test "${ac_cv_header_newt_h+set}" = set; then
20396 { echo "$as_me:$LINENO: checking for newt.h" >&5
20397 echo $ECHO_N "checking for newt.h... $ECHO_C" >&6; }
20398 if test "${ac_cv_header_newt_h+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 { echo "$as_me:$LINENO: result: $ac_cv_header_newt_h" >&5
20402 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
20404 # Is the header compilable?
20405 { echo "$as_me:$LINENO: checking newt.h usability" >&5
20406 echo $ECHO_N "checking newt.h usability... $ECHO_C" >&6; }
20407 cat >conftest.$ac_ext <<_ACEOF
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20416 rm -f conftest.$ac_objext
20417 if { (ac_try="$ac_compile"
20418 case "(($ac_try" in
20419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420 *) ac_try_echo=$ac_try;;
20422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423 (eval "$ac_compile") 2>conftest.er1
20425 grep -v '^
*+' conftest.er1 >conftest.err
20427 cat conftest.err >&5
20428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20429 (exit $ac_status); } &&
20430 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20431 { (case "(($ac_try" in
20432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20433 *) ac_try_echo=$ac_try;;
20435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20436 (eval "$ac_try") 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try='test -s conftest.
$ac_objext'
20441 { (case "(($ac_try" in
20442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20443 *) ac_try_echo=$ac_try;;
20445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20446 (eval "$ac_try") 2>&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); }; }; then
20450 ac_header_compiler=yes
20452 echo "$as_me: failed program was:" >&5
20453 sed 's
/^
/|
/' conftest.$ac_ext >&5
20455 ac_header_compiler=no
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20460 echo "${ECHO_T}$ac_header_compiler" >&6; }
20462 # Is the header present?
20463 { echo "$as_me:$LINENO: checking newt.h presence" >&5
20464 echo $ECHO_N "checking newt.h presence... $ECHO_C" >&6; }
20465 cat >conftest.$ac_ext <<_ACEOF
20468 cat confdefs.h >>conftest.$ac_ext
20469 cat >>conftest.$ac_ext <<_ACEOF
20470 /* end confdefs.h. */
20473 if { (ac_try="$ac_cpp conftest.$ac_ext"
20474 case "(($ac_try" in
20475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20476 *) ac_try_echo=$ac_try;;
20478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20481 grep -v '^
*+' conftest.er1 >conftest.err
20483 cat conftest.err >&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } >/dev/null; then
20486 if test -s conftest.err; then
20487 ac_cpp_err=$ac_c_preproc_warn_flag
20488 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20495 if test -z "$ac_cpp_err"; then
20496 ac_header_preproc=yes
20498 echo "$as_me: failed program was:" >&5
20499 sed 's
/^
/|
/' conftest.$ac_ext >&5
20501 ac_header_preproc=no
20504 rm -f conftest.err conftest.$ac_ext
20505 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20506 echo "${ECHO_T}$ac_header_preproc" >&6; }
20508 # So? What about this header?
20509 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20511 { echo "$as_me:$LINENO: WARNING: newt.h: accepted by the compiler, rejected by the preprocessor!" >&5
20512 echo "$as_me: WARNING: newt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20513 { echo "$as_me:$LINENO: WARNING: newt.h: proceeding with the compiler's result
" >&5
20514 echo "$as_me: WARNING
: newt.h
: proceeding with the compiler
's result" >&2;}
20515 ac_header_preproc=yes
20518 { echo "$as_me:$LINENO: WARNING: newt.h: present but cannot be compiled" >&5
20519 echo "$as_me: WARNING: newt.h: present but cannot be compiled" >&2;}
20520 { echo "$as_me:$LINENO: WARNING: newt.h: check for missing prerequisite headers?" >&5
20521 echo "$as_me: WARNING: newt.h: check for missing prerequisite headers?" >&2;}
20522 { echo "$as_me:$LINENO: WARNING: newt.h: see the Autoconf documentation" >&5
20523 echo "$as_me: WARNING: newt.h: see the Autoconf documentation" >&2;}
20524 { echo "$as_me:$LINENO: WARNING: newt.h: section \"Present But Cannot Be Compiled\"" >&5
20525 echo "$as_me: WARNING: newt.h: section \"Present But Cannot Be Compiled\"" >&2;}
20526 { echo "$as_me:$LINENO: WARNING: newt.h: proceeding with the preprocessor's result
" >&5
20527 echo "$as_me: WARNING
: newt.h
: proceeding with the preprocessor
's result" >&2;}
20528 { echo "$as_me:$LINENO: WARNING: newt.h: in the future, the compiler will take precedence" >&5
20529 echo "$as_me: WARNING: newt.h: in the future, the compiler will take precedence" >&2;}
20533 { echo "$as_me:$LINENO: checking for newt.h" >&5
20534 echo $ECHO_N "checking for newt.h... $ECHO_C" >&6; }
20535 if test "${ac_cv_header_newt_h+set}" = set; then
20536 echo $ECHO_N "(cached) $ECHO_C" >&6
20538 ac_cv_header_newt_h=$ac_header_preproc
20540 { echo "$as_me:$LINENO: result: $ac_cv_header_newt_h" >&5
20541 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
20544 if test $ac_cv_header_newt_h = yes; then
20545 NEWT_HEADER_FOUND=1
20547 NEWT_HEADER_FOUND=0
20553 if test "x${NEWT_HEADER_FOUND}" = "x0" ; then
20554 if test ! -z "${NEWT_MANDATORY}" ;
20556 { echo "$as_me:$LINENO: ***" >&5
20557 echo "$as_me: ***" >&6;}
20558 { echo "$as_me:$LINENO: *** It appears that you do not have the newt development package installed." >&5
20559 echo "$as_me: *** It appears that you do not have the newt development package installed." >&6;}
20560 { echo "$as_me:$LINENO: *** Please install it to include ${NEWT_DESCRIP} support" >&5
20561 echo "$as_me: *** Please install it to include ${NEWT_DESCRIP} support" >&or re-run configure;}
20562 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NEWT_OPTION}" >&5
20563 echo "$as_me: *** without explicitly specifying --with-${NEWT_OPTION}" >&6;}
20572 cat >>confdefs.h <<_ACEOF
20573 #define HAVE_NEWT 1
20577 elif test ! -z "${NEWT_MANDATORY}";
20579 { echo "$as_me:$LINENO: ***" >&5
20580 echo "$as_me: ***" >&6;}
20581 { echo "$as_me:$LINENO: *** The ${NEWT_DESCRIP} installation on this system appears to be broken." >&5
20582 echo "$as_me: *** The ${NEWT_DESCRIP} installation on this system appears to be broken." >&6;}
20583 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
20584 echo "$as_me: *** Either correct the installation" >&or run configure;}
20585 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${NEWT_OPTION}" >&5
20586 echo "$as_me: *** without explicitly specifying --with-${NEWT_OPTION}" >&6;}
20593 if test "${USE_UNIXODBC}" != "no"; then
20595 if test "x${UNIXODBC_DIR}" != "x"; then
20596 if test -d ${UNIXODBC_DIR}/lib; then
20597 pbxlibdir="-L${UNIXODBC_DIR}/lib"
20599 pbxlibdir="-L${UNIXODBC_DIR}"
20602 { echo "$as_me:$LINENO: checking for SQLConnect in -lodbc" >&5
20603 echo $ECHO_N "checking for SQLConnect in -lodbc... $ECHO_C" >&6; }
20604 if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then
20605 echo $ECHO_N "(cached) $ECHO_C" >&6
20607 ac_check_lib_save_LIBS=$LIBS
20608 LIBS="-lodbc ${pbxlibdir} -lltdl $LIBS"
20609 cat >conftest.$ac_ext <<_ACEOF
20612 cat confdefs.h >>conftest.$ac_ext
20613 cat >>conftest.$ac_ext <<_ACEOF
20614 /* end confdefs.h. */
20616 /* Override any GCC internal prototype to avoid an error.
20617 Use char because int might match the return type of a GCC
20618 builtin and then its argument prototype would still apply. */
20622 char SQLConnect ();
20626 return SQLConnect ();
20631 rm -f conftest.$ac_objext conftest$ac_exeext
20632 if { (ac_try="$ac_link"
20633 case "(($ac_try" in
20634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20635 *) ac_try_echo=$ac_try;;
20637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20638 (eval "$ac_link") 2>conftest.er1
20640 grep -v '^
*+' conftest.er1 >conftest.err
20642 cat conftest.err >&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); } &&
20645 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20646 { (case "(($ac_try" in
20647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20648 *) ac_try_echo=$ac_try;;
20650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20651 (eval "$ac_try") 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; } &&
20655 { ac_try='test -s conftest
$ac_exeext'
20656 { (case "(($ac_try" in
20657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20658 *) ac_try_echo=$ac_try;;
20660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20661 (eval "$ac_try") 2>&5
20663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20664 (exit $ac_status); }; }; then
20665 ac_cv_lib_odbc_SQLConnect=yes
20667 echo "$as_me: failed program was:" >&5
20668 sed 's
/^
/|
/' conftest.$ac_ext >&5
20670 ac_cv_lib_odbc_SQLConnect=no
20673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20674 conftest$ac_exeext conftest.$ac_ext
20675 LIBS=$ac_check_lib_save_LIBS
20677 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLConnect" >&5
20678 echo "${ECHO_T}$ac_cv_lib_odbc_SQLConnect" >&6; }
20679 if test $ac_cv_lib_odbc_SQLConnect = yes; then
20680 AST_UNIXODBC_FOUND=yes
20682 AST_UNIXODBC_FOUND=no
20686 if test "${AST_UNIXODBC_FOUND}" = "yes"; then
20687 UNIXODBC_LIB="-lodbc -lltdl"
20688 UNIXODBC_HEADER_FOUND="1"
20689 if test "x${UNIXODBC_DIR}" != "x"; then
20690 UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}"
20691 UNIXODBC_INCLUDE="-I${UNIXODBC_DIR}/include"
20692 if test "xsql.h" != "x" ; then
20693 as_ac_Header=`echo "ac_cv_header_${UNIXODBC_DIR}/include/sql.h" | $as_tr_sh`
20694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20695 { echo "$as_me:$LINENO: checking for ${UNIXODBC_DIR}/include/sql.h" >&5
20696 echo $ECHO_N "checking for ${UNIXODBC_DIR}/include/sql.h... $ECHO_C" >&6; }
20697 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20698 echo $ECHO_N "(cached) $ECHO_C" >&6
20700 ac_res=`eval echo '${'$as_ac_Header'}'`
20701 { echo "$as_me:$LINENO: result: $ac_res" >&5
20702 echo "${ECHO_T}$ac_res" >&6; }
20704 # Is the header compilable?
20705 { echo "$as_me:$LINENO: checking ${UNIXODBC_DIR}/include/sql.h usability" >&5
20706 echo $ECHO_N "checking ${UNIXODBC_DIR}/include/sql.h usability... $ECHO_C" >&6; }
20707 cat >conftest.$ac_ext <<_ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 #include <${UNIXODBC_DIR}/include/sql.h>
20716 rm -f conftest.$ac_objext
20717 if { (ac_try="$ac_compile"
20718 case "(($ac_try" in
20719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20720 *) ac_try_echo=$ac_try;;
20722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20723 (eval "$ac_compile") 2>conftest.er1
20725 grep -v '^
*+' conftest.er1 >conftest.err
20727 cat conftest.err >&5
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); } &&
20730 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20731 { (case "(($ac_try" in
20732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20733 *) ac_try_echo=$ac_try;;
20735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20736 (eval "$ac_try") 2>&5
20738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739 (exit $ac_status); }; } &&
20740 { ac_try='test -s conftest.
$ac_objext'
20741 { (case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_try") 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_header_compiler=yes
20752 echo "$as_me: failed program was:" >&5
20753 sed 's
/^
/|
/' conftest.$ac_ext >&5
20755 ac_header_compiler=no
20758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20759 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20760 echo "${ECHO_T}$ac_header_compiler" >&6; }
20762 # Is the header present?
20763 { echo "$as_me:$LINENO: checking ${UNIXODBC_DIR}/include/sql.h presence" >&5
20764 echo $ECHO_N "checking ${UNIXODBC_DIR}/include/sql.h presence... $ECHO_C" >&6; }
20765 cat >conftest.$ac_ext <<_ACEOF
20768 cat confdefs.h >>conftest.$ac_ext
20769 cat >>conftest.$ac_ext <<_ACEOF
20770 /* end confdefs.h. */
20771 #include <${UNIXODBC_DIR}/include/sql.h>
20773 if { (ac_try="$ac_cpp conftest.$ac_ext"
20774 case "(($ac_try" in
20775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20776 *) ac_try_echo=$ac_try;;
20778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20781 grep -v '^
*+' conftest.er1 >conftest.err
20783 cat conftest.err >&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } >/dev/null; then
20786 if test -s conftest.err; then
20787 ac_cpp_err=$ac_c_preproc_warn_flag
20788 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20795 if test -z "$ac_cpp_err"; then
20796 ac_header_preproc=yes
20798 echo "$as_me: failed program was:" >&5
20799 sed 's
/^
/|
/' conftest.$ac_ext >&5
20801 ac_header_preproc=no
20804 rm -f conftest.err conftest.$ac_ext
20805 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20806 echo "${ECHO_T}$ac_header_preproc" >&6; }
20808 # So? What about this header?
20809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20811 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
20812 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20813 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the compiler's result
" >&5
20814 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the compiler
's result" >&2;}
20815 ac_header_preproc=yes
20818 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: present but cannot be compiled" >&5
20819 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: present but cannot be compiled" >&2;}
20820 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: check for missing prerequisite headers?" >&5
20821 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: check for missing prerequisite headers?" >&2;}
20822 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: see the Autoconf documentation" >&5
20823 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: see the Autoconf documentation" >&2;}
20824 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: section \"Present But Cannot Be Compiled\"" >&5
20825 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
20826 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the preprocessor's result
" >&5
20827 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the preprocessor
's result" >&2;}
20828 { echo "$as_me:$LINENO: WARNING: ${UNIXODBC_DIR}/include/sql.h: in the future, the compiler will take precedence" >&5
20829 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: in the future, the compiler will take precedence" >&2;}
20833 { echo "$as_me:$LINENO: checking for ${UNIXODBC_DIR}/include/sql.h" >&5
20834 echo $ECHO_N "checking for ${UNIXODBC_DIR}/include/sql.h... $ECHO_C" >&6; }
20835 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20836 echo $ECHO_N "(cached) $ECHO_C" >&6
20838 eval "$as_ac_Header=\$ac_header_preproc"
20840 ac_res=`eval echo '${'$as_ac_Header'}'`
20841 { echo "$as_me:$LINENO: result: $ac_res" >&5
20842 echo "${ECHO_T}$ac_res" >&6; }
20845 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20846 UNIXODBC_HEADER_FOUND=1
20848 UNIXODBC_HEADER_FOUND=0
20854 if test "xsql.h" != "x" ; then
20855 if test "${ac_cv_header_sql_h+set}" = set; then
20856 { echo "$as_me:$LINENO: checking for sql.h" >&5
20857 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
20858 if test "${ac_cv_header_sql_h+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20861 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
20862 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
20864 # Is the header compilable?
20865 { echo "$as_me:$LINENO: checking sql.h usability" >&5
20866 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6; }
20867 cat >conftest.$ac_ext <<_ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 $ac_includes_default
20876 rm -f conftest.$ac_objext
20877 if { (ac_try="$ac_compile"
20878 case "(($ac_try" in
20879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20880 *) ac_try_echo=$ac_try;;
20882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20883 (eval "$ac_compile") 2>conftest.er1
20885 grep -v '^
*+' conftest.er1 >conftest.err
20887 cat conftest.err >&5
20888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20889 (exit $ac_status); } &&
20890 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
20891 { (case "(($ac_try" in
20892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20893 *) ac_try_echo=$ac_try;;
20895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20896 (eval "$ac_try") 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; } &&
20900 { ac_try='test -s conftest.
$ac_objext'
20901 { (case "(($ac_try" in
20902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20903 *) ac_try_echo=$ac_try;;
20905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20906 (eval "$ac_try") 2>&5
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20910 ac_header_compiler=yes
20912 echo "$as_me: failed program was:" >&5
20913 sed 's
/^
/|
/' conftest.$ac_ext >&5
20915 ac_header_compiler=no
20918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20919 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20920 echo "${ECHO_T}$ac_header_compiler" >&6; }
20922 # Is the header present?
20923 { echo "$as_me:$LINENO: checking sql.h presence" >&5
20924 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6; }
20925 cat >conftest.$ac_ext <<_ACEOF
20928 cat confdefs.h >>conftest.$ac_ext
20929 cat >>conftest.$ac_ext <<_ACEOF
20930 /* end confdefs.h. */
20933 if { (ac_try="$ac_cpp conftest.$ac_ext"
20934 case "(($ac_try" in
20935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20936 *) ac_try_echo=$ac_try;;
20938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20941 grep -v '^
*+' conftest.er1 >conftest.err
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } >/dev/null; then
20946 if test -s conftest.err; then
20947 ac_cpp_err=$ac_c_preproc_warn_flag
20948 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20955 if test -z "$ac_cpp_err"; then
20956 ac_header_preproc=yes
20958 echo "$as_me: failed program was:" >&5
20959 sed 's
/^
/|
/' conftest.$ac_ext >&5
20961 ac_header_preproc=no
20964 rm -f conftest.err conftest.$ac_ext
20965 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20966 echo "${ECHO_T}$ac_header_preproc" >&6; }
20968 # So? What about this header?
20969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20971 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
20972 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20973 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result
" >&5
20974 echo "$as_me: WARNING
: sql.h
: proceeding with the compiler
's result" >&2;}
20975 ac_header_preproc=yes
20978 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
20979 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
20980 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
20981 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
20982 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
20983 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
20984 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
20985 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
20986 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result
" >&5
20987 echo "$as_me: WARNING
: sql.h
: proceeding with the preprocessor
's result" >&2;}
20988 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
20989 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
20993 { echo "$as_me:$LINENO: checking for sql.h" >&5
20994 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
20995 if test "${ac_cv_header_sql_h+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20998 ac_cv_header_sql_h=$ac_header_preproc
21000 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
21001 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
21004 if test $ac_cv_header_sql_h = yes; then
21005 UNIXODBC_HEADER_FOUND=1
21007 UNIXODBC_HEADER_FOUND=0
21013 if test "x${UNIXODBC_HEADER_FOUND}" = "x0" ; then
21014 if test ! -z "${UNIXODBC_MANDATORY}" ;
21016 { echo "$as_me:$LINENO: ***" >&5
21017 echo "$as_me: ***" >&6;}
21018 { echo "$as_me:$LINENO: *** It appears that you do not have the odbc development package installed." >&5
21019 echo "$as_me: *** It appears that you do not have the odbc development package installed." >&6;}
21020 { echo "$as_me:$LINENO: *** Please install it to include ${UNIXODBC_DESCRIP} support" >&5
21021 echo "$as_me: *** Please install it to include ${UNIXODBC_DESCRIP} support" >&or re-run configure;}
21022 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${UNIXODBC_OPTION}" >&5
21023 echo "$as_me: *** without explicitly specifying --with-${UNIXODBC_OPTION}" >&6;}
21027 UNIXODBC_INCLUDE=""
21032 cat >>confdefs.h <<_ACEOF
21033 #define HAVE_UNIXODBC 1
21037 elif test ! -z "${UNIXODBC_MANDATORY}";
21039 { echo "$as_me:$LINENO: ***" >&5
21040 echo "$as_me: ***" >&6;}
21041 { echo "$as_me:$LINENO: *** The ${UNIXODBC_DESCRIP} installation on this system appears to be broken." >&5
21042 echo "$as_me: *** The ${UNIXODBC_DESCRIP} installation on this system appears to be broken." >&6;}
21043 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
21044 echo "$as_me: *** Either correct the installation" >&or run configure;}
21045 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${UNIXODBC_OPTION}" >&5
21046 echo "$as_me: *** without explicitly specifying --with-${UNIXODBC_OPTION}" >&6;}
21053 if test "${USE_OGG}" != "no"; then
21055 if test "x${OGG_DIR}" != "x"; then
21056 if test -d ${OGG_DIR}/lib; then
21057 pbxlibdir="-L${OGG_DIR}/lib"
21059 pbxlibdir="-L${OGG_DIR}"
21062 { echo "$as_me:$LINENO: checking for ogg_sync_init in -logg" >&5
21063 echo $ECHO_N "checking for ogg_sync_init in -logg... $ECHO_C" >&6; }
21064 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 ac_check_lib_save_LIBS=$LIBS
21068 LIBS="-logg ${pbxlibdir} $LIBS"
21069 cat >conftest.$ac_ext <<_ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21076 /* Override any GCC internal prototype to avoid an error.
21077 Use char because int might match the return type of a GCC
21078 builtin and then its argument prototype would still apply. */
21082 char ogg_sync_init ();
21086 return ogg_sync_init ();
21091 rm -f conftest.$ac_objext conftest$ac_exeext
21092 if { (ac_try="$ac_link"
21093 case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_link") 2>conftest.er1
21100 grep -v '^
*+' conftest.er1 >conftest.err
21102 cat conftest.err >&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); } &&
21105 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21106 { (case "(($ac_try" in
21107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21108 *) ac_try_echo=$ac_try;;
21110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21111 (eval "$ac_try") 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; } &&
21115 { ac_try='test -s conftest
$ac_exeext'
21116 { (case "(($ac_try" in
21117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21118 *) ac_try_echo=$ac_try;;
21120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21121 (eval "$ac_try") 2>&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); }; }; then
21125 ac_cv_lib_ogg_ogg_sync_init=yes
21127 echo "$as_me: failed program was:" >&5
21128 sed 's
/^
/|
/' conftest.$ac_ext >&5
21130 ac_cv_lib_ogg_ogg_sync_init=no
21133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21134 conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS
21137 { echo "$as_me:$LINENO: result: $ac_cv_lib_ogg_ogg_sync_init" >&5
21138 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
21139 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
21146 if test "${AST_OGG_FOUND}" = "yes"; then
21148 OGG_HEADER_FOUND="1"
21149 if test "x${OGG_DIR}" != "x"; then
21150 OGG_LIB="${pbxlibdir} ${OGG_LIB}"
21151 OGG_INCLUDE="-I${OGG_DIR}/include"
21152 if test "x" != "x" ; then
21153 as_ac_Header=`echo "ac_cv_header_${OGG_DIR}/include/" | $as_tr_sh`
21154 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21155 { echo "$as_me:$LINENO: checking for ${OGG_DIR}/include/" >&5
21156 echo $ECHO_N "checking for ${OGG_DIR}/include/... $ECHO_C" >&6; }
21157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21158 echo $ECHO_N "(cached) $ECHO_C" >&6
21160 ac_res=`eval echo '${'$as_ac_Header'}'`
21161 { echo "$as_me:$LINENO: result: $ac_res" >&5
21162 echo "${ECHO_T}$ac_res" >&6; }
21164 # Is the header compilable?
21165 { echo "$as_me:$LINENO: checking ${OGG_DIR}/include/ usability" >&5
21166 echo $ECHO_N "checking ${OGG_DIR}/include/ usability... $ECHO_C" >&6; }
21167 cat >conftest.$ac_ext <<_ACEOF
21170 cat confdefs.h >>conftest.$ac_ext
21171 cat >>conftest.$ac_ext <<_ACEOF
21172 /* end confdefs.h. */
21173 $ac_includes_default
21174 #include <${OGG_DIR}/include/>
21176 rm -f conftest.$ac_objext
21177 if { (ac_try="$ac_compile"
21178 case "(($ac_try" in
21179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21180 *) ac_try_echo=$ac_try;;
21182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21183 (eval "$ac_compile") 2>conftest.er1
21185 grep -v '^
*+' conftest.er1 >conftest.err
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21191 { (case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_try") 2>&5
21198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21199 (exit $ac_status); }; } &&
21200 { ac_try='test -s conftest.
$ac_objext'
21201 { (case "(($ac_try" in
21202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21203 *) ac_try_echo=$ac_try;;
21205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21206 (eval "$ac_try") 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; }; then
21210 ac_header_compiler=yes
21212 echo "$as_me: failed program was:" >&5
21213 sed 's
/^
/|
/' conftest.$ac_ext >&5
21215 ac_header_compiler=no
21218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21219 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21220 echo "${ECHO_T}$ac_header_compiler" >&6; }
21222 # Is the header present?
21223 { echo "$as_me:$LINENO: checking ${OGG_DIR}/include/ presence" >&5
21224 echo $ECHO_N "checking ${OGG_DIR}/include/ presence... $ECHO_C" >&6; }
21225 cat >conftest.$ac_ext <<_ACEOF
21228 cat confdefs.h >>conftest.$ac_ext
21229 cat >>conftest.$ac_ext <<_ACEOF
21230 /* end confdefs.h. */
21231 #include <${OGG_DIR}/include/>
21233 if { (ac_try="$ac_cpp conftest.$ac_ext"
21234 case "(($ac_try" in
21235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21236 *) ac_try_echo=$ac_try;;
21238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21239 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21241 grep -v '^
*+' conftest.er1 >conftest.err
21243 cat conftest.err >&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } >/dev/null; then
21246 if test -s conftest.err; then
21247 ac_cpp_err=$ac_c_preproc_warn_flag
21248 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21255 if test -z "$ac_cpp_err"; then
21256 ac_header_preproc=yes
21258 echo "$as_me: failed program was:" >&5
21259 sed 's
/^
/|
/' conftest.$ac_ext >&5
21261 ac_header_preproc=no
21264 rm -f conftest.err conftest.$ac_ext
21265 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21266 echo "${ECHO_T}$ac_header_preproc" >&6; }
21268 # So? What about this header?
21269 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21271 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
21272 echo "$as_me: WARNING: ${OGG_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
21273 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: proceeding with the compiler's result
" >&5
21274 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: proceeding with the compiler
's result" >&2;}
21275 ac_header_preproc=yes
21278 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: present but cannot be compiled" >&5
21279 echo "$as_me: WARNING: ${OGG_DIR}/include/: present but cannot be compiled" >&2;}
21280 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: check for missing prerequisite headers?" >&5
21281 echo "$as_me: WARNING: ${OGG_DIR}/include/: check for missing prerequisite headers?" >&2;}
21282 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: see the Autoconf documentation" >&5
21283 echo "$as_me: WARNING: ${OGG_DIR}/include/: see the Autoconf documentation" >&2;}
21284 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
21285 echo "$as_me: WARNING: ${OGG_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
21286 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: proceeding with the preprocessor's result
" >&5
21287 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: proceeding with the preprocessor
's result" >&2;}
21288 { echo "$as_me:$LINENO: WARNING: ${OGG_DIR}/include/: in the future, the compiler will take precedence" >&5
21289 echo "$as_me: WARNING: ${OGG_DIR}/include/: in the future, the compiler will take precedence" >&2;}
21293 { echo "$as_me:$LINENO: checking for ${OGG_DIR}/include/" >&5
21294 echo $ECHO_N "checking for ${OGG_DIR}/include/... $ECHO_C" >&6; }
21295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21298 eval "$as_ac_Header=\$ac_header_preproc"
21300 ac_res=`eval echo '${'$as_ac_Header'}'`
21301 { echo "$as_me:$LINENO: result: $ac_res" >&5
21302 echo "${ECHO_T}$ac_res" >&6; }
21305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21314 if test "x" != "x" ; then
21315 if test "${ac_cv_header_+set}" = set; then
21316 { echo "$as_me:$LINENO: checking for " >&5
21317 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
21318 if test "${ac_cv_header_+set}" = set; then
21319 echo $ECHO_N "(cached) $ECHO_C" >&6
21321 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
21322 echo "${ECHO_T}$ac_cv_header_" >&6; }
21324 # Is the header compilable?
21325 { echo "$as_me:$LINENO: checking usability" >&5
21326 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
21327 cat >conftest.$ac_ext <<_ACEOF
21330 cat confdefs.h >>conftest.$ac_ext
21331 cat >>conftest.$ac_ext <<_ACEOF
21332 /* end confdefs.h. */
21333 $ac_includes_default
21336 rm -f conftest.$ac_objext
21337 if { (ac_try="$ac_compile"
21338 case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_compile") 2>conftest.er1
21345 grep -v '^
*+' conftest.er1 >conftest.err
21347 cat conftest.err >&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); } &&
21350 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21351 { (case "(($ac_try" in
21352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21353 *) ac_try_echo=$ac_try;;
21355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21356 (eval "$ac_try") 2>&5
21358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21359 (exit $ac_status); }; } &&
21360 { ac_try='test -s conftest.
$ac_objext'
21361 { (case "(($ac_try" in
21362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21363 *) ac_try_echo=$ac_try;;
21365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21366 (eval "$ac_try") 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_header_compiler=yes
21372 echo "$as_me: failed program was:" >&5
21373 sed 's
/^
/|
/' conftest.$ac_ext >&5
21375 ac_header_compiler=no
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21379 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21380 echo "${ECHO_T}$ac_header_compiler" >&6; }
21382 # Is the header present?
21383 { echo "$as_me:$LINENO: checking presence" >&5
21384 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
21385 cat >conftest.$ac_ext <<_ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21393 if { (ac_try="$ac_cpp conftest.$ac_ext"
21394 case "(($ac_try" in
21395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21396 *) ac_try_echo=$ac_try;;
21398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21399 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21401 grep -v '^
*+' conftest.er1 >conftest.err
21403 cat conftest.err >&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); } >/dev/null; then
21406 if test -s conftest.err; then
21407 ac_cpp_err=$ac_c_preproc_warn_flag
21408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21415 if test -z "$ac_cpp_err"; then
21416 ac_header_preproc=yes
21418 echo "$as_me: failed program was:" >&5
21419 sed 's
/^
/|
/' conftest.$ac_ext >&5
21421 ac_header_preproc=no
21424 rm -f conftest.err conftest.$ac_ext
21425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21426 echo "${ECHO_T}$ac_header_preproc" >&6; }
21428 # So? What about this header?
21429 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21431 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
21432 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
21433 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result
" >&5
21434 echo "$as_me: WARNING
: : proceeding with the compiler
's result" >&2;}
21435 ac_header_preproc=yes
21438 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
21439 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
21440 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
21441 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
21442 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
21443 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
21444 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
21445 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
21446 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result
" >&5
21447 echo "$as_me: WARNING
: : proceeding with the preprocessor
's result" >&2;}
21448 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
21449 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
21453 { echo "$as_me:$LINENO: checking for " >&5
21454 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
21455 if test "${ac_cv_header_+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21458 ac_cv_header_=$ac_header_preproc
21460 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
21461 echo "${ECHO_T}$ac_cv_header_" >&6; }
21464 if test $ac_cv_header_ = yes; then
21473 if test "x${OGG_HEADER_FOUND}" = "x0" ; then
21474 if test ! -z "${OGG_MANDATORY}" ;
21476 { echo "$as_me:$LINENO: ***" >&5
21477 echo "$as_me: ***" >&6;}
21478 { echo "$as_me:$LINENO: *** It appears that you do not have the ogg development package installed." >&5
21479 echo "$as_me: *** It appears that you do not have the ogg development package installed." >&6;}
21480 { echo "$as_me:$LINENO: *** Please install it to include ${OGG_DESCRIP} support" >&5
21481 echo "$as_me: *** Please install it to include ${OGG_DESCRIP} support" >&or re-run configure;}
21482 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OGG_OPTION}" >&5
21483 echo "$as_me: *** without explicitly specifying --with-${OGG_OPTION}" >&6;}
21492 cat >>confdefs.h <<_ACEOF
21497 elif test ! -z "${OGG_MANDATORY}";
21499 { echo "$as_me:$LINENO: ***" >&5
21500 echo "$as_me: ***" >&6;}
21501 { echo "$as_me:$LINENO: *** The ${OGG_DESCRIP} installation on this system appears to be broken." >&5
21502 echo "$as_me: *** The ${OGG_DESCRIP} installation on this system appears to be broken." >&6;}
21503 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
21504 echo "$as_me: *** Either correct the installation" >&or run configure;}
21505 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OGG_OPTION}" >&5
21506 echo "$as_me: *** without explicitly specifying --with-${OGG_OPTION}" >&6;}
21513 if test "${USE_OSPTK}" != "no"; then
21515 if test "x${OSPTK_DIR}" != "x"; then
21516 if test -d ${OSPTK_DIR}/lib; then
21517 pbxlibdir="-L${OSPTK_DIR}/lib"
21519 pbxlibdir="-L${OSPTK_DIR}"
21522 { echo "$as_me:$LINENO: checking for OSPPCryptoDecrypt in -losptk" >&5
21523 echo $ECHO_N "checking for OSPPCryptoDecrypt in -losptk... $ECHO_C" >&6; }
21524 if test "${ac_cv_lib_osptk_OSPPCryptoDecrypt+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 ac_check_lib_save_LIBS=$LIBS
21528 LIBS="-losptk ${pbxlibdir} -lcrypto -lssl $LIBS"
21529 cat >conftest.$ac_ext <<_ACEOF
21532 cat confdefs.h >>conftest.$ac_ext
21533 cat >>conftest.$ac_ext <<_ACEOF
21534 /* end confdefs.h. */
21536 /* Override any GCC internal prototype to avoid an error.
21537 Use char because int might match the return type of a GCC
21538 builtin and then its argument prototype would still apply. */
21542 char OSPPCryptoDecrypt ();
21546 return OSPPCryptoDecrypt ();
21551 rm -f conftest.$ac_objext conftest$ac_exeext
21552 if { (ac_try="$ac_link"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_link") 2>conftest.er1
21560 grep -v '^
*+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } &&
21565 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; } &&
21575 { ac_try='test -s conftest
$ac_exeext'
21576 { (case "(($ac_try" in
21577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21578 *) ac_try_echo=$ac_try;;
21580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21581 (eval "$ac_try") 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21585 ac_cv_lib_osptk_OSPPCryptoDecrypt=yes
21587 echo "$as_me: failed program was:" >&5
21588 sed 's
/^
/|
/' conftest.$ac_ext >&5
21590 ac_cv_lib_osptk_OSPPCryptoDecrypt=no
21593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21594 conftest$ac_exeext conftest.$ac_ext
21595 LIBS=$ac_check_lib_save_LIBS
21597 { echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPCryptoDecrypt" >&5
21598 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPCryptoDecrypt" >&6; }
21599 if test $ac_cv_lib_osptk_OSPPCryptoDecrypt = yes; then
21600 AST_OSPTK_FOUND=yes
21606 if test "${AST_OSPTK_FOUND}" = "yes"; then
21607 OSPTK_LIB="-losptk -lcrypto -lssl"
21608 OSPTK_HEADER_FOUND="1"
21609 if test "x${OSPTK_DIR}" != "x"; then
21610 OSPTK_LIB="${pbxlibdir} ${OSPTK_LIB}"
21611 OSPTK_INCLUDE="-I${OSPTK_DIR}/include"
21612 if test "xosp/osp.h" != "x" ; then
21613 as_ac_Header=`echo "ac_cv_header_${OSPTK_DIR}/include/osp/osp.h" | $as_tr_sh`
21614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21615 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
21616 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
21617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21618 echo $ECHO_N "(cached) $ECHO_C" >&6
21620 ac_res=`eval echo '${'$as_ac_Header'}'`
21621 { echo "$as_me:$LINENO: result: $ac_res" >&5
21622 echo "${ECHO_T}$ac_res" >&6; }
21624 # Is the header compilable?
21625 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h usability" >&5
21626 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h usability... $ECHO_C" >&6; }
21627 cat >conftest.$ac_ext <<_ACEOF
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 $ac_includes_default
21634 #include <${OSPTK_DIR}/include/osp/osp.h>
21636 rm -f conftest.$ac_objext
21637 if { (ac_try="$ac_compile"
21638 case "(($ac_try" in
21639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21640 *) ac_try_echo=$ac_try;;
21642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21643 (eval "$ac_compile") 2>conftest.er1
21645 grep -v '^
*+' conftest.er1 >conftest.err
21647 cat conftest.err >&5
21648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21649 (exit $ac_status); } &&
21650 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21651 { (case "(($ac_try" in
21652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21653 *) ac_try_echo=$ac_try;;
21655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21656 (eval "$ac_try") 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; } &&
21660 { ac_try='test -s conftest.
$ac_objext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_header_compiler=yes
21672 echo "$as_me: failed program was:" >&5
21673 sed 's
/^
/|
/' conftest.$ac_ext >&5
21675 ac_header_compiler=no
21678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21679 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21680 echo "${ECHO_T}$ac_header_compiler" >&6; }
21682 # Is the header present?
21683 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h presence" >&5
21684 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h presence... $ECHO_C" >&6; }
21685 cat >conftest.$ac_ext <<_ACEOF
21688 cat confdefs.h >>conftest.$ac_ext
21689 cat >>conftest.$ac_ext <<_ACEOF
21690 /* end confdefs.h. */
21691 #include <${OSPTK_DIR}/include/osp/osp.h>
21693 if { (ac_try="$ac_cpp conftest.$ac_ext"
21694 case "(($ac_try" in
21695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21696 *) ac_try_echo=$ac_try;;
21698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21699 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21701 grep -v '^
*+' conftest.er1 >conftest.err
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } >/dev/null; then
21706 if test -s conftest.err; then
21707 ac_cpp_err=$ac_c_preproc_warn_flag
21708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21715 if test -z "$ac_cpp_err"; then
21716 ac_header_preproc=yes
21718 echo "$as_me: failed program was:" >&5
21719 sed 's
/^
/|
/' conftest.$ac_ext >&5
21721 ac_header_preproc=no
21724 rm -f conftest.err conftest.$ac_ext
21725 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21726 echo "${ECHO_T}$ac_header_preproc" >&6; }
21728 # So? What about this header?
21729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21731 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
21732 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21733 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result
" >&5
21734 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: proceeding with the compiler
's result" >&2;}
21735 ac_header_preproc=yes
21738 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&5
21739 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&2;}
21740 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&5
21741 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&2;}
21742 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&5
21743 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&2;}
21744 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
21745 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
21746 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result
" >&5
21747 echo "$as_me: WARNING
: ${OSPTK_DIR}/include
/osp
/osp.h
: proceeding with the preprocessor
's result" >&2;}
21748 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&5
21749 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&2;}
21753 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
21754 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
21755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 eval "$as_ac_Header=\$ac_header_preproc"
21760 ac_res=`eval echo '${'$as_ac_Header'}'`
21761 { echo "$as_me:$LINENO: result: $ac_res" >&5
21762 echo "${ECHO_T}$ac_res" >&6; }
21765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21766 OSPTK_HEADER_FOUND=1
21768 OSPTK_HEADER_FOUND=0
21774 if test "xosp/osp.h" != "x" ; then
21775 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21776 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
21777 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
21778 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
21782 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
21784 # Is the header compilable?
21785 { echo "$as_me:$LINENO: checking osp/osp.h usability" >&5
21786 echo $ECHO_N "checking osp/osp.h usability... $ECHO_C" >&6; }
21787 cat >conftest.$ac_ext <<_ACEOF
21790 cat confdefs.h >>conftest.$ac_ext
21791 cat >>conftest.$ac_ext <<_ACEOF
21792 /* end confdefs.h. */
21793 $ac_includes_default
21794 #include <osp/osp.h>
21796 rm -f conftest.$ac_objext
21797 if { (ac_try="$ac_compile"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21803 (eval "$ac_compile") 2>conftest.er1
21805 grep -v '^
*+' conftest.er1 >conftest.err
21807 cat conftest.err >&5
21808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21809 (exit $ac_status); } &&
21810 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
21811 { (case "(($ac_try" in
21812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21813 *) ac_try_echo=$ac_try;;
21815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21816 (eval "$ac_try") 2>&5
21818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21819 (exit $ac_status); }; } &&
21820 { ac_try='test -s conftest.
$ac_objext'
21821 { (case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_try") 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_header_compiler=yes
21832 echo "$as_me: failed program was:" >&5
21833 sed 's
/^
/|
/' conftest.$ac_ext >&5
21835 ac_header_compiler=no
21838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21839 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21840 echo "${ECHO_T}$ac_header_compiler" >&6; }
21842 # Is the header present?
21843 { echo "$as_me:$LINENO: checking osp/osp.h presence" >&5
21844 echo $ECHO_N "checking osp/osp.h presence... $ECHO_C" >&6; }
21845 cat >conftest.$ac_ext <<_ACEOF
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851 #include <osp/osp.h>
21853 if { (ac_try="$ac_cpp conftest.$ac_ext"
21854 case "(($ac_try" in
21855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21861 grep -v '^
*+' conftest.er1 >conftest.err
21863 cat conftest.err >&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); } >/dev/null; then
21866 if test -s conftest.err; then
21867 ac_cpp_err=$ac_c_preproc_warn_flag
21868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
21875 if test -z "$ac_cpp_err"; then
21876 ac_header_preproc=yes
21878 echo "$as_me: failed program was:" >&5
21879 sed 's
/^
/|
/' conftest.$ac_ext >&5
21881 ac_header_preproc=no
21884 rm -f conftest.err conftest.$ac_ext
21885 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21886 echo "${ECHO_T}$ac_header_preproc" >&6; }
21888 # So? What about this header?
21889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21891 { echo "$as_me:$LINENO: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
21892 echo "$as_me: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21893 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the compiler's result
" >&5
21894 echo "$as_me: WARNING
: osp
/osp.h
: proceeding with the compiler
's result" >&2;}
21895 ac_header_preproc=yes
21898 { echo "$as_me:$LINENO: WARNING: osp/osp.h: present but cannot be compiled" >&5
21899 echo "$as_me: WARNING: osp/osp.h: present but cannot be compiled" >&2;}
21900 { echo "$as_me:$LINENO: WARNING: osp/osp.h: check for missing prerequisite headers?" >&5
21901 echo "$as_me: WARNING: osp/osp.h: check for missing prerequisite headers?" >&2;}
21902 { echo "$as_me:$LINENO: WARNING: osp/osp.h: see the Autoconf documentation" >&5
21903 echo "$as_me: WARNING: osp/osp.h: see the Autoconf documentation" >&2;}
21904 { echo "$as_me:$LINENO: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
21905 echo "$as_me: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
21906 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the preprocessor's result
" >&5
21907 echo "$as_me: WARNING
: osp
/osp.h
: proceeding with the preprocessor
's result" >&2;}
21908 { echo "$as_me:$LINENO: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&5
21909 echo "$as_me: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&2;}
21913 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
21914 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
21915 if test "${ac_cv_header_osp_osp_h+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21918 ac_cv_header_osp_osp_h=$ac_header_preproc
21920 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
21921 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
21924 if test $ac_cv_header_osp_osp_h = yes; then
21925 OSPTK_HEADER_FOUND=1
21927 OSPTK_HEADER_FOUND=0
21933 if test "x${OSPTK_HEADER_FOUND}" = "x0" ; then
21934 if test ! -z "${OSPTK_MANDATORY}" ;
21936 { echo "$as_me:$LINENO: ***" >&5
21937 echo "$as_me: ***" >&6;}
21938 { echo "$as_me:$LINENO: *** It appears that you do not have the osptk development package installed." >&5
21939 echo "$as_me: *** It appears that you do not have the osptk development package installed." >&6;}
21940 { echo "$as_me:$LINENO: *** Please install it to include ${OSPTK_DESCRIP} support" >&5
21941 echo "$as_me: *** Please install it to include ${OSPTK_DESCRIP} support" >&or re-run configure;}
21942 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
21943 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
21952 cat >>confdefs.h <<_ACEOF
21953 #define HAVE_OSPTK 1
21957 elif test ! -z "${OSPTK_MANDATORY}";
21959 { echo "$as_me:$LINENO: ***" >&5
21960 echo "$as_me: ***" >&6;}
21961 { echo "$as_me:$LINENO: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&5
21962 echo "$as_me: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&6;}
21963 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
21964 echo "$as_me: *** Either correct the installation" >&or run configure;}
21965 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
21966 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
21973 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
21974 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5
21975 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; }
21976 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5
21980 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
21982 # Is the header compilable?
21983 { echo "$as_me:$LINENO: checking linux/soundcard.h usability" >&5
21984 echo $ECHO_N "checking linux/soundcard.h usability... $ECHO_C" >&6; }
21985 cat >conftest.$ac_ext <<_ACEOF
21988 cat confdefs.h >>conftest.$ac_ext
21989 cat >>conftest.$ac_ext <<_ACEOF
21990 /* end confdefs.h. */
21991 $ac_includes_default
21992 #include <linux/soundcard.h>
21994 rm -f conftest.$ac_objext
21995 if { (ac_try="$ac_compile"
21996 case "(($ac_try" in
21997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21998 *) ac_try_echo=$ac_try;;
22000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001 (eval "$ac_compile") 2>conftest.er1
22003 grep -v '^
*+' conftest.er1 >conftest.err
22005 cat conftest.err >&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); } &&
22008 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
22009 { (case "(($ac_try" in
22010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22011 *) ac_try_echo=$ac_try;;
22013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22014 (eval "$ac_try") 2>&5
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; } &&
22018 { ac_try='test -s conftest.
$ac_objext'
22019 { (case "(($ac_try" in
22020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22021 *) ac_try_echo=$ac_try;;
22023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22024 (eval "$ac_try") 2>&5
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; }; then
22028 ac_header_compiler=yes
22030 echo "$as_me: failed program was:" >&5
22031 sed 's
/^
/|
/' conftest.$ac_ext >&5
22033 ac_header_compiler=no
22036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22037 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22038 echo "${ECHO_T}$ac_header_compiler" >&6; }
22040 # Is the header present?
22041 { echo "$as_me:$LINENO: checking linux/soundcard.h presence" >&5
22042 echo $ECHO_N "checking linux/soundcard.h presence... $ECHO_C" >&6; }
22043 cat >conftest.$ac_ext <<_ACEOF
22046 cat confdefs.h >>conftest.$ac_ext
22047 cat >>conftest.$ac_ext <<_ACEOF
22048 /* end confdefs.h. */
22049 #include <linux/soundcard.h>
22051 if { (ac_try="$ac_cpp conftest.$ac_ext"
22052 case "(($ac_try" in
22053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22054 *) ac_try_echo=$ac_try;;
22056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22057 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22059 grep -v '^
*+' conftest.er1 >conftest.err
22061 cat conftest.err >&5
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); } >/dev/null; then
22064 if test -s conftest.err; then
22065 ac_cpp_err=$ac_c_preproc_warn_flag
22066 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22073 if test -z "$ac_cpp_err"; then
22074 ac_header_preproc=yes
22076 echo "$as_me: failed program was:" >&5
22077 sed 's
/^
/|
/' conftest.$ac_ext >&5
22079 ac_header_preproc=no
22082 rm -f conftest.err conftest.$ac_ext
22083 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22084 echo "${ECHO_T}$ac_header_preproc" >&6; }
22086 # So? What about this header?
22087 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22089 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
22090 echo "$as_me: WARNING: linux/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22091 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the compiler's result
" >&5
22092 echo "$as_me: WARNING
: linux
/soundcard.h
: proceeding with the compiler
's result" >&2;}
22093 ac_header_preproc=yes
22096 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: present but cannot be compiled" >&5
22097 echo "$as_me: WARNING: linux/soundcard.h: present but cannot be compiled" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&5
22099 echo "$as_me: WARNING: linux/soundcard.h: check for missing prerequisite headers?" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: see the Autoconf documentation" >&5
22101 echo "$as_me: WARNING: linux/soundcard.h: see the Autoconf documentation" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
22103 echo "$as_me: WARNING: linux/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
22104 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: proceeding with the preprocessor's result
" >&5
22105 echo "$as_me: WARNING
: linux
/soundcard.h
: proceeding with the preprocessor
's result" >&2;}
22106 { echo "$as_me:$LINENO: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&5
22107 echo "$as_me: WARNING: linux/soundcard.h: in the future, the compiler will take precedence" >&2;}
22111 { echo "$as_me:$LINENO: checking for linux/soundcard.h" >&5
22112 echo $ECHO_N "checking for linux/soundcard.h... $ECHO_C" >&6; }
22113 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22114 echo $ECHO_N "(cached) $ECHO_C" >&6
22116 ac_cv_header_linux_soundcard_h=$ac_header_preproc
22118 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_soundcard_h" >&5
22119 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22122 if test $ac_cv_header_linux_soundcard_h = yes; then
22126 cat >>confdefs.h <<_ACEOF
22134 if test "$PBX_OSS" = "0"; then
22135 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22136 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
22137 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
22138 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22139 echo $ECHO_N "(cached) $ECHO_C" >&6
22141 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
22142 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22144 # Is the header compilable?
22145 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
22146 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
22147 cat >conftest.$ac_ext <<_ACEOF
22150 cat confdefs.h >>conftest.$ac_ext
22151 cat >>conftest.$ac_ext <<_ACEOF
22152 /* end confdefs.h. */
22153 $ac_includes_default
22154 #include <sys/soundcard.h>
22156 rm -f conftest.$ac_objext
22157 if { (ac_try="$ac_compile"
22158 case "(($ac_try" in
22159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22160 *) ac_try_echo=$ac_try;;
22162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22163 (eval "$ac_compile") 2>conftest.er1
22165 grep -v '^
*+' conftest.er1 >conftest.err
22167 cat conftest.err >&5
22168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22169 (exit $ac_status); } &&
22170 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
22171 { (case "(($ac_try" in
22172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22173 *) ac_try_echo=$ac_try;;
22175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22176 (eval "$ac_try") 2>&5
22178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22179 (exit $ac_status); }; } &&
22180 { ac_try='test -s conftest.
$ac_objext'
22181 { (case "(($ac_try" in
22182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22183 *) ac_try_echo=$ac_try;;
22185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22186 (eval "$ac_try") 2>&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); }; }; then
22190 ac_header_compiler=yes
22192 echo "$as_me: failed program was:" >&5
22193 sed 's
/^
/|
/' conftest.$ac_ext >&5
22195 ac_header_compiler=no
22198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22200 echo "${ECHO_T}$ac_header_compiler" >&6; }
22202 # Is the header present?
22203 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
22204 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
22205 cat >conftest.$ac_ext <<_ACEOF
22208 cat confdefs.h >>conftest.$ac_ext
22209 cat >>conftest.$ac_ext <<_ACEOF
22210 /* end confdefs.h. */
22211 #include <sys/soundcard.h>
22213 if { (ac_try="$ac_cpp conftest.$ac_ext"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22221 grep -v '^
*+' conftest.er1 >conftest.err
22223 cat conftest.err >&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); } >/dev/null; then
22226 if test -s conftest.err; then
22227 ac_cpp_err=$ac_c_preproc_warn_flag
22228 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22235 if test -z "$ac_cpp_err"; then
22236 ac_header_preproc=yes
22238 echo "$as_me: failed program was:" >&5
22239 sed 's
/^
/|
/' conftest.$ac_ext >&5
22241 ac_header_preproc=no
22244 rm -f conftest.err conftest.$ac_ext
22245 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22246 echo "${ECHO_T}$ac_header_preproc" >&6; }
22248 # So? What about this header?
22249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22251 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
22252 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22253 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result
" >&5
22254 echo "$as_me: WARNING
: sys
/soundcard.h
: proceeding with the compiler
's result" >&2;}
22255 ac_header_preproc=yes
22258 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
22259 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
22260 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
22261 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
22262 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
22263 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
22264 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
22265 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
22266 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result
" >&5
22267 echo "$as_me: WARNING
: sys
/soundcard.h
: proceeding with the preprocessor
's result" >&2;}
22268 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
22269 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
22273 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
22274 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
22275 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
22276 echo $ECHO_N "(cached) $ECHO_C" >&6
22278 ac_cv_header_sys_soundcard_h=$ac_header_preproc
22280 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
22281 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
22284 if test $ac_cv_header_sys_soundcard_h = yes; then
22288 cat >>confdefs.h <<_ACEOF
22297 if test "$PBX_OSS" = "0"; then
22299 if test "${USE_OSS}" != "no"; then
22301 if test "x${OSS_DIR}" != "x"; then
22302 if test -d ${OSS_DIR}/lib; then
22303 pbxlibdir="-L${OSS_DIR}/lib"
22305 pbxlibdir="-L${OSS_DIR}"
22308 { echo "$as_me:$LINENO: checking for oss_ioctl_mixer in -lossaudio" >&5
22309 echo $ECHO_N "checking for oss_ioctl_mixer in -lossaudio... $ECHO_C" >&6; }
22310 if test "${ac_cv_lib_ossaudio_oss_ioctl_mixer+set}" = set; then
22311 echo $ECHO_N "(cached) $ECHO_C" >&6
22313 ac_check_lib_save_LIBS=$LIBS
22314 LIBS="-lossaudio ${pbxlibdir} $LIBS"
22315 cat >conftest.$ac_ext <<_ACEOF
22318 cat confdefs.h >>conftest.$ac_ext
22319 cat >>conftest.$ac_ext <<_ACEOF
22320 /* end confdefs.h. */
22322 /* Override any GCC internal prototype to avoid an error.
22323 Use char because int might match the return type of a GCC
22324 builtin and then its argument prototype would still apply. */
22328 char oss_ioctl_mixer ();
22332 return oss_ioctl_mixer ();
22337 rm -f conftest.$ac_objext conftest$ac_exeext
22338 if { (ac_try="$ac_link"
22339 case "(($ac_try" in
22340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22341 *) ac_try_echo=$ac_try;;
22343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22344 (eval "$ac_link") 2>conftest.er1
22346 grep -v '^
*+' conftest.er1 >conftest.err
22348 cat conftest.err >&5
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); } &&
22351 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
22352 { (case "(($ac_try" in
22353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22354 *) ac_try_echo=$ac_try;;
22356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22357 (eval "$ac_try") 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; } &&
22361 { ac_try='test -s conftest
$ac_exeext'
22362 { (case "(($ac_try" in
22363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22364 *) ac_try_echo=$ac_try;;
22366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22367 (eval "$ac_try") 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_lib_ossaudio_oss_ioctl_mixer=yes
22373 echo "$as_me: failed program was:" >&5
22374 sed 's
/^
/|
/' conftest.$ac_ext >&5
22376 ac_cv_lib_ossaudio_oss_ioctl_mixer=no
22379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22380 conftest$ac_exeext conftest.$ac_ext
22381 LIBS=$ac_check_lib_save_LIBS
22383 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio_oss_ioctl_mixer" >&5
22384 echo "${ECHO_T}$ac_cv_lib_ossaudio_oss_ioctl_mixer" >&6; }
22385 if test $ac_cv_lib_ossaudio_oss_ioctl_mixer = yes; then
22392 if test "${AST_OSS_FOUND}" = "yes"; then
22393 OSS_LIB="-lossaudio "
22394 OSS_HEADER_FOUND="1"
22395 if test "x${OSS_DIR}" != "x"; then
22396 OSS_LIB="${pbxlibdir} ${OSS_LIB}"
22397 OSS_INCLUDE="-I${OSS_DIR}/include"
22398 if test "xsoundcard.h" != "x" ; then
22399 as_ac_Header=`echo "ac_cv_header_${OSS_DIR}/include/soundcard.h" | $as_tr_sh`
22400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22401 { echo "$as_me:$LINENO: checking for ${OSS_DIR}/include/soundcard.h" >&5
22402 echo $ECHO_N "checking for ${OSS_DIR}/include/soundcard.h... $ECHO_C" >&6; }
22403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22404 echo $ECHO_N "(cached) $ECHO_C" >&6
22406 ac_res=`eval echo '${'$as_ac_Header'}'`
22407 { echo "$as_me:$LINENO: result: $ac_res" >&5
22408 echo "${ECHO_T}$ac_res" >&6; }
22410 # Is the header compilable?
22411 { echo "$as_me:$LINENO: checking ${OSS_DIR}/include/soundcard.h usability" >&5
22412 echo $ECHO_N "checking ${OSS_DIR}/include/soundcard.h usability... $ECHO_C" >&6; }
22413 cat >conftest.$ac_ext <<_ACEOF
22416 cat confdefs.h >>conftest.$ac_ext
22417 cat >>conftest.$ac_ext <<_ACEOF
22418 /* end confdefs.h. */
22419 $ac_includes_default
22420 #include <${OSS_DIR}/include/soundcard.h>
22422 rm -f conftest.$ac_objext
22423 if { (ac_try="$ac_compile"
22424 case "(($ac_try" in
22425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22426 *) ac_try_echo=$ac_try;;
22428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22429 (eval "$ac_compile") 2>conftest.er1
22431 grep -v '^
*+' conftest.er1 >conftest.err
22433 cat conftest.err >&5
22434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22435 (exit $ac_status); } &&
22436 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
22437 { (case "(($ac_try" in
22438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22439 *) ac_try_echo=$ac_try;;
22441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22442 (eval "$ac_try") 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; } &&
22446 { ac_try='test -s conftest.
$ac_objext'
22447 { (case "(($ac_try" in
22448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22449 *) ac_try_echo=$ac_try;;
22451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22452 (eval "$ac_try") 2>&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 ac_header_compiler=yes
22458 echo "$as_me: failed program was:" >&5
22459 sed 's
/^
/|
/' conftest.$ac_ext >&5
22461 ac_header_compiler=no
22464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22466 echo "${ECHO_T}$ac_header_compiler" >&6; }
22468 # Is the header present?
22469 { echo "$as_me:$LINENO: checking ${OSS_DIR}/include/soundcard.h presence" >&5
22470 echo $ECHO_N "checking ${OSS_DIR}/include/soundcard.h presence... $ECHO_C" >&6; }
22471 cat >conftest.$ac_ext <<_ACEOF
22474 cat confdefs.h >>conftest.$ac_ext
22475 cat >>conftest.$ac_ext <<_ACEOF
22476 /* end confdefs.h. */
22477 #include <${OSS_DIR}/include/soundcard.h>
22479 if { (ac_try="$ac_cpp conftest.$ac_ext"
22480 case "(($ac_try" in
22481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22482 *) ac_try_echo=$ac_try;;
22484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22487 grep -v '^
*+' conftest.er1 >conftest.err
22489 cat conftest.err >&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } >/dev/null; then
22492 if test -s conftest.err; then
22493 ac_cpp_err=$ac_c_preproc_warn_flag
22494 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22501 if test -z "$ac_cpp_err"; then
22502 ac_header_preproc=yes
22504 echo "$as_me: failed program was:" >&5
22505 sed 's
/^
/|
/' conftest.$ac_ext >&5
22507 ac_header_preproc=no
22510 rm -f conftest.err conftest.$ac_ext
22511 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22512 echo "${ECHO_T}$ac_header_preproc" >&6; }
22514 # So? What about this header?
22515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22517 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
22518 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22519 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the compiler's result
" >&5
22520 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the compiler
's result" >&2;}
22521 ac_header_preproc=yes
22524 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: present but cannot be compiled" >&5
22525 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: present but cannot be compiled" >&2;}
22526 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: check for missing prerequisite headers?" >&5
22527 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: check for missing prerequisite headers?" >&2;}
22528 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: see the Autoconf documentation" >&5
22529 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: see the Autoconf documentation" >&2;}
22530 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
22531 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
22532 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the preprocessor's result
" >&5
22533 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the preprocessor
's result" >&2;}
22534 { echo "$as_me:$LINENO: WARNING: ${OSS_DIR}/include/soundcard.h: in the future, the compiler will take precedence" >&5
22535 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: in the future, the compiler will take precedence" >&2;}
22539 { echo "$as_me:$LINENO: checking for ${OSS_DIR}/include/soundcard.h" >&5
22540 echo $ECHO_N "checking for ${OSS_DIR}/include/soundcard.h... $ECHO_C" >&6; }
22541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 eval "$as_ac_Header=\$ac_header_preproc"
22546 ac_res=`eval echo '${'$as_ac_Header'}'`
22547 { echo "$as_me:$LINENO: result: $ac_res" >&5
22548 echo "${ECHO_T}$ac_res" >&6; }
22551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22560 if test "xsoundcard.h" != "x" ; then
22561 if test "${ac_cv_header_soundcard_h+set}" = set; then
22562 { echo "$as_me:$LINENO: checking for soundcard.h" >&5
22563 echo $ECHO_N "checking for soundcard.h... $ECHO_C" >&6; }
22564 if test "${ac_cv_header_soundcard_h+set}" = set; then
22565 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 { echo "$as_me:$LINENO: result: $ac_cv_header_soundcard_h" >&5
22568 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
22570 # Is the header compilable?
22571 { echo "$as_me:$LINENO: checking soundcard.h usability" >&5
22572 echo $ECHO_N "checking soundcard.h usability... $ECHO_C" >&6; }
22573 cat >conftest.$ac_ext <<_ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22579 $ac_includes_default
22580 #include <soundcard.h>
22582 rm -f conftest.$ac_objext
22583 if { (ac_try="$ac_compile"
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_compile") 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); } &&
22596 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
22597 { (case "(($ac_try" in
22598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22599 *) ac_try_echo=$ac_try;;
22601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22602 (eval "$ac_try") 2>&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); }; } &&
22606 { ac_try='test -s conftest.
$ac_objext'
22607 { (case "(($ac_try" in
22608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22609 *) ac_try_echo=$ac_try;;
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_try") 2>&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 ac_header_compiler=yes
22618 echo "$as_me: failed program was:" >&5
22619 sed 's
/^
/|
/' conftest.$ac_ext >&5
22621 ac_header_compiler=no
22624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22625 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22626 echo "${ECHO_T}$ac_header_compiler" >&6; }
22628 # Is the header present?
22629 { echo "$as_me:$LINENO: checking soundcard.h presence" >&5
22630 echo $ECHO_N "checking soundcard.h presence... $ECHO_C" >&6; }
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22637 #include <soundcard.h>
22639 if { (ac_try="$ac_cpp conftest.$ac_ext"
22640 case "(($ac_try" in
22641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22642 *) ac_try_echo=$ac_try;;
22644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22645 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
22647 grep -v '^
*+' conftest.er1 >conftest.err
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } >/dev/null; then
22652 if test -s conftest.err; then
22653 ac_cpp_err=$ac_c_preproc_warn_flag
22654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
22661 if test -z "$ac_cpp_err"; then
22662 ac_header_preproc=yes
22664 echo "$as_me: failed program was:" >&5
22665 sed 's
/^
/|
/' conftest.$ac_ext >&5
22667 ac_header_preproc=no
22670 rm -f conftest.err conftest.$ac_ext
22671 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22672 echo "${ECHO_T}$ac_header_preproc" >&6; }
22674 # So? What about this header?
22675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22677 { echo "$as_me:$LINENO: WARNING: soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
22678 echo "$as_me: WARNING: soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: soundcard.h: proceeding with the compiler's result
" >&5
22680 echo "$as_me: WARNING
: soundcard.h
: proceeding with the compiler
's result" >&2;}
22681 ac_header_preproc=yes
22684 { echo "$as_me:$LINENO: WARNING: soundcard.h: present but cannot be compiled" >&5
22685 echo "$as_me: WARNING: soundcard.h: present but cannot be compiled" >&2;}
22686 { echo "$as_me:$LINENO: WARNING: soundcard.h: check for missing prerequisite headers?" >&5
22687 echo "$as_me: WARNING: soundcard.h: check for missing prerequisite headers?" >&2;}
22688 { echo "$as_me:$LINENO: WARNING: soundcard.h: see the Autoconf documentation" >&5
22689 echo "$as_me: WARNING: soundcard.h: see the Autoconf documentation" >&2;}
22690 { echo "$as_me:$LINENO: WARNING: soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
22691 echo "$as_me: WARNING: soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
22692 { echo "$as_me:$LINENO: WARNING: soundcard.h: proceeding with the preprocessor's result
" >&5
22693 echo "$as_me: WARNING
: soundcard.h
: proceeding with the preprocessor
's result" >&2;}
22694 { echo "$as_me:$LINENO: WARNING: soundcard.h: in the future, the compiler will take precedence" >&5
22695 echo "$as_me: WARNING: soundcard.h: in the future, the compiler will take precedence" >&2;}
22699 { echo "$as_me:$LINENO: checking for soundcard.h" >&5
22700 echo $ECHO_N "checking for soundcard.h... $ECHO_C" >&6; }
22701 if test "${ac_cv_header_soundcard_h+set}" = set; then
22702 echo $ECHO_N "(cached) $ECHO_C" >&6
22704 ac_cv_header_soundcard_h=$ac_header_preproc
22706 { echo "$as_me:$LINENO: result: $ac_cv_header_soundcard_h" >&5
22707 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
22710 if test $ac_cv_header_soundcard_h = yes; then
22719 if test "x${OSS_HEADER_FOUND}" = "x0" ; then
22720 if test ! -z "${OSS_MANDATORY}" ;
22722 { echo "$as_me:$LINENO: ***" >&5
22723 echo "$as_me: ***" >&6;}
22724 { echo "$as_me:$LINENO: *** It appears that you do not have the ossaudio development package installed." >&5
22725 echo "$as_me: *** It appears that you do not have the ossaudio development package installed." >&6;}
22726 { echo "$as_me:$LINENO: *** Please install it to include ${OSS_DESCRIP} support" >&5
22727 echo "$as_me: *** Please install it to include ${OSS_DESCRIP} support" >&or re-run configure;}
22728 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSS_OPTION}" >&5
22729 echo "$as_me: *** without explicitly specifying --with-${OSS_OPTION}" >&6;}
22738 cat >>confdefs.h <<_ACEOF
22743 elif test ! -z "${OSS_MANDATORY}";
22745 { echo "$as_me:$LINENO: ***" >&5
22746 echo "$as_me: ***" >&6;}
22747 { echo "$as_me:$LINENO: *** The ${OSS_DESCRIP} installation on this system appears to be broken." >&5
22748 echo "$as_me: *** The ${OSS_DESCRIP} installation on this system appears to be broken." >&6;}
22749 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
22750 echo "$as_me: *** Either correct the installation" >&or run configure;}
22751 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSS_OPTION}" >&5
22752 echo "$as_me: *** without explicitly specifying --with-${OSS_OPTION}" >&6;}
22760 if test "${USE_PGSQL}" != "no"; then
22761 if test "x${PGSQL_DIR}" != "x"; then
22762 if test -n "$ac_tool_prefix"; then
22763 # Extract the first word of "${ac_tool_prefix}pg_config", so it can be a program name with args.
22764 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
22765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22767 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
22768 echo $ECHO_N "(cached) $ECHO_C" >&6
22772 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
22775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22776 for as_dir in ${PGSQL_DIR}/bin
22779 test -z "$as_dir" && as_dir=.
22780 for ac_exec_ext in '' $ac_executable_extensions; do
22781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22782 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22793 PG_CONFIG=$ac_cv_path_PG_CONFIG
22794 if test -n "$PG_CONFIG"; then
22795 { echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
22796 echo "${ECHO_T}$PG_CONFIG" >&6; }
22798 { echo "$as_me:$LINENO: result: no" >&5
22799 echo "${ECHO_T}no" >&6; }
22804 if test -z "$ac_cv_path_PG_CONFIG"; then
22805 ac_pt_PG_CONFIG=$PG_CONFIG
22806 # Extract the first word of "pg_config", so it can be a program name with args.
22807 set dummy pg_config; ac_word=$2
22808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22810 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
22811 echo $ECHO_N "(cached) $ECHO_C" >&6
22813 case $ac_pt_PG_CONFIG in
22815 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
22818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22819 for as_dir in ${PGSQL_DIR}/bin
22822 test -z "$as_dir" && as_dir=.
22823 for ac_exec_ext in '' $ac_executable_extensions; do
22824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22825 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22836 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
22837 if test -n "$ac_pt_PG_CONFIG"; then
22838 { echo "$as_me:$LINENO: result: $ac_pt_PG_CONFIG" >&5
22839 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
22841 { echo "$as_me:$LINENO: result: no" >&5
22842 echo "${ECHO_T}no" >&6; }
22845 if test "x$ac_pt_PG_CONFIG" = x; then
22848 case $cross_compiling:$ac_tool_warned in
22850 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22851 whose name does not start with the host triplet. If you think this
22852 configuration is useful to you, please write to autoconf@gnu.org." >&5
22853 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22854 whose name does not start with the host triplet. If you think this
22855 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22856 ac_tool_warned=yes ;;
22858 PG_CONFIG=$ac_pt_PG_CONFIG
22861 PG_CONFIG="$ac_cv_path_PG_CONFIG"
22864 if test x"${PG_CONFIG}" = xNo; then
22865 { echo "$as_me:$LINENO: ***" >&5
22866 echo "$as_me: ***" >&6;}
22867 { echo "$as_me:$LINENO: *** pg_config was not found in the path you specified:" >&5
22868 echo "$as_me: *** pg_config was not found in the path you specified:" >&6;}
22869 { echo "$as_me:$LINENO: *** ${PGSQL_DIR}/bin" >&5
22870 echo "$as_me: *** ${PGSQL_DIR}/bin" >&6;}
22871 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
22872 echo "$as_me: *** Either correct the installation" >&or run configure;}
22873 { echo "$as_me:$LINENO: *** including --without-postgres" >&5
22874 echo "$as_me: *** including --without-postgres" >&6;}
22878 if test -n "$ac_tool_prefix"; then
22879 # Extract the first word of "${ac_tool_prefix}pg_config", so it can be a program name with args.
22880 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
22881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22883 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
22884 echo $ECHO_N "(cached) $ECHO_C" >&6
22888 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
22891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22892 for as_dir in $PATH
22895 test -z "$as_dir" && as_dir=.
22896 for ac_exec_ext in '' $ac_executable_extensions; do
22897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22898 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22909 PG_CONFIG=$ac_cv_path_PG_CONFIG
22910 if test -n "$PG_CONFIG"; then
22911 { echo "$as_me:$LINENO: result: $PG_CONFIG" >&5
22912 echo "${ECHO_T}$PG_CONFIG" >&6; }
22914 { echo "$as_me:$LINENO: result: no" >&5
22915 echo "${ECHO_T}no" >&6; }
22920 if test -z "$ac_cv_path_PG_CONFIG"; then
22921 ac_pt_PG_CONFIG=$PG_CONFIG
22922 # Extract the first word of "pg_config", so it can be a program name with args.
22923 set dummy pg_config; ac_word=$2
22924 { echo "$as_me:$LINENO: checking for $ac_word" >&5
22925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22926 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
22927 echo $ECHO_N "(cached) $ECHO_C" >&6
22929 case $ac_pt_PG_CONFIG in
22931 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
22934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22935 for as_dir in $PATH
22938 test -z "$as_dir" && as_dir=.
22939 for ac_exec_ext in '' $ac_executable_extensions; do
22940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22941 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22952 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
22953 if test -n "$ac_pt_PG_CONFIG"; then
22954 { echo "$as_me:$LINENO: result: $ac_pt_PG_CONFIG" >&5
22955 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
22957 { echo "$as_me:$LINENO: result: no" >&5
22958 echo "${ECHO_T}no" >&6; }
22961 if test "x$ac_pt_PG_CONFIG" = x; then
22964 case $cross_compiling:$ac_tool_warned in
22966 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22967 whose name does not start with the host triplet. If you think this
22968 configuration is useful to you, please write to autoconf@gnu.org." >&5
22969 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22970 whose name does not start with the host triplet. If you think this
22971 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22972 ac_tool_warned=yes ;;
22974 PG_CONFIG=$ac_pt_PG_CONFIG
22977 PG_CONFIG="$ac_cv_path_PG_CONFIG"
22982 if test "${PG_CONFIG}" != No; then
22983 PGSQL_libdir=`pg_config --libdir`
22984 PGSQL_includedir=`pg_config --includedir`
22986 { echo "$as_me:$LINENO: checking for PQexec in -lpq" >&5
22987 echo $ECHO_N "checking for PQexec in -lpq... $ECHO_C" >&6; }
22988 if test "${ac_cv_lib_pq_PQexec+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22991 ac_check_lib_save_LIBS=$LIBS
22992 LIBS="-lpq -L${PGSQL_libdir} -lz $LIBS"
22993 cat >conftest.$ac_ext <<_ACEOF
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
23000 /* Override any GCC internal prototype to avoid an error.
23001 Use char because int might match the return type of a GCC
23002 builtin and then its argument prototype would still apply. */
23015 rm -f conftest.$ac_objext conftest$ac_exeext
23016 if { (ac_try="$ac_link"
23017 case "(($ac_try" in
23018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23019 *) ac_try_echo=$ac_try;;
23021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23022 (eval "$ac_link") 2>conftest.er1
23024 grep -v '^
*+' conftest.er1 >conftest.err
23026 cat conftest.err >&5
23027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23028 (exit $ac_status); } &&
23029 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23030 { (case "(($ac_try" in
23031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23032 *) ac_try_echo=$ac_try;;
23034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23035 (eval "$ac_try") 2>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); }; } &&
23039 { ac_try='test -s conftest
$ac_exeext'
23040 { (case "(($ac_try" in
23041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23042 *) ac_try_echo=$ac_try;;
23044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23045 (eval "$ac_try") 2>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_lib_pq_PQexec=yes
23051 echo "$as_me: failed program was:" >&5
23052 sed 's
/^
/|
/' conftest.$ac_ext >&5
23054 ac_cv_lib_pq_PQexec=no
23057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23058 conftest$ac_exeext conftest.$ac_ext
23059 LIBS=$ac_check_lib_save_LIBS
23061 { echo "$as_me:$LINENO: result: $ac_cv_lib_pq_PQexec" >&5
23062 echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
23063 if test $ac_cv_lib_pq_PQexec = yes; then
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE_PGSQL 1
23072 if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
23073 PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz -lcrypt"
23074 PGSQL_INCLUDE="-I${PGSQL_includedir}"
23076 elif test ! -z "${PGSQL_MANDATORY}";
23078 { echo "$as_me:$LINENO: ***" >&5
23079 echo "$as_me: ***" >&6;}
23080 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken." >&5
23081 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken." >&6;}
23082 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
23083 echo "$as_me: *** Either correct the installation" >&or run configure;}
23084 { echo "$as_me:$LINENO: *** including --without-postgres" >&5
23085 echo "$as_me: *** including --without-postgres" >&6;}
23088 elif test ! -z "${PGSQL_MANDATORY}";
23090 { echo "$as_me:$LINENO: ***" >&5
23091 echo "$as_me: ***" >&6;}
23092 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken." >&5
23093 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken." >&6;}
23094 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
23095 echo "$as_me: *** Either correct the installation" >&or run configure;}
23096 { echo "$as_me:$LINENO: *** including --without-postgres" >&5
23097 echo "$as_me: *** including --without-postgres" >&6;}
23102 if test "${USE_POPT}" != "no"; then
23104 if test "x${POPT_DIR}" != "x"; then
23105 if test -d ${POPT_DIR}/lib; then
23106 pbxlibdir="-L${POPT_DIR}/lib"
23108 pbxlibdir="-L${POPT_DIR}"
23111 { echo "$as_me:$LINENO: checking for poptStrerror in -lpopt" >&5
23112 echo $ECHO_N "checking for poptStrerror in -lpopt... $ECHO_C" >&6; }
23113 if test "${ac_cv_lib_popt_poptStrerror+set}" = set; then
23114 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 ac_check_lib_save_LIBS=$LIBS
23117 LIBS="-lpopt ${pbxlibdir} $LIBS"
23118 cat >conftest.$ac_ext <<_ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23125 /* Override any GCC internal prototype to avoid an error.
23126 Use char because int might match the return type of a GCC
23127 builtin and then its argument prototype would still apply. */
23131 char poptStrerror ();
23135 return poptStrerror ();
23140 rm -f conftest.$ac_objext conftest$ac_exeext
23141 if { (ac_try="$ac_link"
23142 case "(($ac_try" in
23143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23144 *) ac_try_echo=$ac_try;;
23146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23147 (eval "$ac_link") 2>conftest.er1
23149 grep -v '^
*+' conftest.er1 >conftest.err
23151 cat conftest.err >&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); } &&
23154 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23155 { (case "(($ac_try" in
23156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23157 *) ac_try_echo=$ac_try;;
23159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23160 (eval "$ac_try") 2>&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); }; } &&
23164 { ac_try='test -s conftest
$ac_exeext'
23165 { (case "(($ac_try" in
23166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23167 *) ac_try_echo=$ac_try;;
23169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23170 (eval "$ac_try") 2>&5
23172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173 (exit $ac_status); }; }; then
23174 ac_cv_lib_popt_poptStrerror=yes
23176 echo "$as_me: failed program was:" >&5
23177 sed 's
/^
/|
/' conftest.$ac_ext >&5
23179 ac_cv_lib_popt_poptStrerror=no
23182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23183 conftest$ac_exeext conftest.$ac_ext
23184 LIBS=$ac_check_lib_save_LIBS
23186 { echo "$as_me:$LINENO: result: $ac_cv_lib_popt_poptStrerror" >&5
23187 echo "${ECHO_T}$ac_cv_lib_popt_poptStrerror" >&6; }
23188 if test $ac_cv_lib_popt_poptStrerror = yes; then
23195 if test "${AST_POPT_FOUND}" = "yes"; then
23197 POPT_HEADER_FOUND="1"
23198 if test "x${POPT_DIR}" != "x"; then
23199 POPT_LIB="${pbxlibdir} ${POPT_LIB}"
23200 POPT_INCLUDE="-I${POPT_DIR}/include"
23201 if test "xpopt.h" != "x" ; then
23202 as_ac_Header=`echo "ac_cv_header_${POPT_DIR}/include/popt.h" | $as_tr_sh`
23203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23204 { echo "$as_me:$LINENO: checking for ${POPT_DIR}/include/popt.h" >&5
23205 echo $ECHO_N "checking for ${POPT_DIR}/include/popt.h... $ECHO_C" >&6; }
23206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23207 echo $ECHO_N "(cached) $ECHO_C" >&6
23209 ac_res=`eval echo '${'$as_ac_Header'}'`
23210 { echo "$as_me:$LINENO: result: $ac_res" >&5
23211 echo "${ECHO_T}$ac_res" >&6; }
23213 # Is the header compilable?
23214 { echo "$as_me:$LINENO: checking ${POPT_DIR}/include/popt.h usability" >&5
23215 echo $ECHO_N "checking ${POPT_DIR}/include/popt.h usability... $ECHO_C" >&6; }
23216 cat >conftest.$ac_ext <<_ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h. */
23222 $ac_includes_default
23223 #include <${POPT_DIR}/include/popt.h>
23225 rm -f conftest.$ac_objext
23226 if { (ac_try="$ac_compile"
23227 case "(($ac_try" in
23228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_compile") 2>conftest.er1
23234 grep -v '^
*+' conftest.er1 >conftest.err
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } &&
23239 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23240 { (case "(($ac_try" in
23241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23242 *) ac_try_echo=$ac_try;;
23244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23245 (eval "$ac_try") 2>&5
23247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248 (exit $ac_status); }; } &&
23249 { ac_try='test -s conftest.
$ac_objext'
23250 { (case "(($ac_try" in
23251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23252 *) ac_try_echo=$ac_try;;
23254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23255 (eval "$ac_try") 2>&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); }; }; then
23259 ac_header_compiler=yes
23261 echo "$as_me: failed program was:" >&5
23262 sed 's
/^
/|
/' conftest.$ac_ext >&5
23264 ac_header_compiler=no
23267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23268 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23269 echo "${ECHO_T}$ac_header_compiler" >&6; }
23271 # Is the header present?
23272 { echo "$as_me:$LINENO: checking ${POPT_DIR}/include/popt.h presence" >&5
23273 echo $ECHO_N "checking ${POPT_DIR}/include/popt.h presence... $ECHO_C" >&6; }
23274 cat >conftest.$ac_ext <<_ACEOF
23277 cat confdefs.h >>conftest.$ac_ext
23278 cat >>conftest.$ac_ext <<_ACEOF
23279 /* end confdefs.h. */
23280 #include <${POPT_DIR}/include/popt.h>
23282 if { (ac_try="$ac_cpp conftest.$ac_ext"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23290 grep -v '^
*+' conftest.er1 >conftest.err
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } >/dev/null; then
23295 if test -s conftest.err; then
23296 ac_cpp_err=$ac_c_preproc_warn_flag
23297 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23304 if test -z "$ac_cpp_err"; then
23305 ac_header_preproc=yes
23307 echo "$as_me: failed program was:" >&5
23308 sed 's
/^
/|
/' conftest.$ac_ext >&5
23310 ac_header_preproc=no
23313 rm -f conftest.err conftest.$ac_ext
23314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23315 echo "${ECHO_T}$ac_header_preproc" >&6; }
23317 # So? What about this header?
23318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23320 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: accepted by the compiler, rejected by the preprocessor!" >&5
23321 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23322 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the compiler's result
" >&5
23323 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the compiler
's result" >&2;}
23324 ac_header_preproc=yes
23327 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: present but cannot be compiled" >&5
23328 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: present but cannot be compiled" >&2;}
23329 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: check for missing prerequisite headers?" >&5
23330 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: check for missing prerequisite headers?" >&2;}
23331 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: see the Autoconf documentation" >&5
23332 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: see the Autoconf documentation" >&2;}
23333 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: section \"Present But Cannot Be Compiled\"" >&5
23334 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: section \"Present But Cannot Be Compiled\"" >&2;}
23335 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the preprocessor's result
" >&5
23336 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the preprocessor
's result" >&2;}
23337 { echo "$as_me:$LINENO: WARNING: ${POPT_DIR}/include/popt.h: in the future, the compiler will take precedence" >&5
23338 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: in the future, the compiler will take precedence" >&2;}
23342 { echo "$as_me:$LINENO: checking for ${POPT_DIR}/include/popt.h" >&5
23343 echo $ECHO_N "checking for ${POPT_DIR}/include/popt.h... $ECHO_C" >&6; }
23344 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23345 echo $ECHO_N "(cached) $ECHO_C" >&6
23347 eval "$as_ac_Header=\$ac_header_preproc"
23349 ac_res=`eval echo '${'$as_ac_Header'}'`
23350 { echo "$as_me:$LINENO: result: $ac_res" >&5
23351 echo "${ECHO_T}$ac_res" >&6; }
23354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23355 POPT_HEADER_FOUND=1
23357 POPT_HEADER_FOUND=0
23363 if test "xpopt.h" != "x" ; then
23364 if test "${ac_cv_header_popt_h+set}" = set; then
23365 { echo "$as_me:$LINENO: checking for popt.h" >&5
23366 echo $ECHO_N "checking for popt.h... $ECHO_C" >&6; }
23367 if test "${ac_cv_header_popt_h+set}" = set; then
23368 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 { echo "$as_me:$LINENO: result: $ac_cv_header_popt_h" >&5
23371 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
23373 # Is the header compilable?
23374 { echo "$as_me:$LINENO: checking popt.h usability" >&5
23375 echo $ECHO_N "checking popt.h usability... $ECHO_C" >&6; }
23376 cat >conftest.$ac_ext <<_ACEOF
23379 cat confdefs.h >>conftest.$ac_ext
23380 cat >>conftest.$ac_ext <<_ACEOF
23381 /* end confdefs.h. */
23382 $ac_includes_default
23385 rm -f conftest.$ac_objext
23386 if { (ac_try="$ac_compile"
23387 case "(($ac_try" in
23388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23389 *) ac_try_echo=$ac_try;;
23391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23392 (eval "$ac_compile") 2>conftest.er1
23394 grep -v '^
*+' conftest.er1 >conftest.err
23396 cat conftest.err >&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } &&
23399 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23400 { (case "(($ac_try" in
23401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23402 *) ac_try_echo=$ac_try;;
23404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23405 (eval "$ac_try") 2>&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); }; } &&
23409 { ac_try='test -s conftest.
$ac_objext'
23410 { (case "(($ac_try" in
23411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23412 *) ac_try_echo=$ac_try;;
23414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23415 (eval "$ac_try") 2>&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); }; }; then
23419 ac_header_compiler=yes
23421 echo "$as_me: failed program was:" >&5
23422 sed 's
/^
/|
/' conftest.$ac_ext >&5
23424 ac_header_compiler=no
23427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23428 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23429 echo "${ECHO_T}$ac_header_compiler" >&6; }
23431 # Is the header present?
23432 { echo "$as_me:$LINENO: checking popt.h presence" >&5
23433 echo $ECHO_N "checking popt.h presence... $ECHO_C" >&6; }
23434 cat >conftest.$ac_ext <<_ACEOF
23437 cat confdefs.h >>conftest.$ac_ext
23438 cat >>conftest.$ac_ext <<_ACEOF
23439 /* end confdefs.h. */
23442 if { (ac_try="$ac_cpp conftest.$ac_ext"
23443 case "(($ac_try" in
23444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23445 *) ac_try_echo=$ac_try;;
23447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23450 grep -v '^
*+' conftest.er1 >conftest.err
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } >/dev/null; then
23455 if test -s conftest.err; then
23456 ac_cpp_err=$ac_c_preproc_warn_flag
23457 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23464 if test -z "$ac_cpp_err"; then
23465 ac_header_preproc=yes
23467 echo "$as_me: failed program was:" >&5
23468 sed 's
/^
/|
/' conftest.$ac_ext >&5
23470 ac_header_preproc=no
23473 rm -f conftest.err conftest.$ac_ext
23474 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23475 echo "${ECHO_T}$ac_header_preproc" >&6; }
23477 # So? What about this header?
23478 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23480 { echo "$as_me:$LINENO: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&5
23481 echo "$as_me: WARNING: popt.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23482 { echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the compiler's result
" >&5
23483 echo "$as_me: WARNING
: popt.h
: proceeding with the compiler
's result" >&2;}
23484 ac_header_preproc=yes
23487 { echo "$as_me:$LINENO: WARNING: popt.h: present but cannot be compiled" >&5
23488 echo "$as_me: WARNING: popt.h: present but cannot be compiled" >&2;}
23489 { echo "$as_me:$LINENO: WARNING: popt.h: check for missing prerequisite headers?" >&5
23490 echo "$as_me: WARNING: popt.h: check for missing prerequisite headers?" >&2;}
23491 { echo "$as_me:$LINENO: WARNING: popt.h: see the Autoconf documentation" >&5
23492 echo "$as_me: WARNING: popt.h: see the Autoconf documentation" >&2;}
23493 { echo "$as_me:$LINENO: WARNING: popt.h: section \"Present But Cannot Be Compiled\"" >&5
23494 echo "$as_me: WARNING: popt.h: section \"Present But Cannot Be Compiled\"" >&2;}
23495 { echo "$as_me:$LINENO: WARNING: popt.h: proceeding with the preprocessor's result
" >&5
23496 echo "$as_me: WARNING
: popt.h
: proceeding with the preprocessor
's result" >&2;}
23497 { echo "$as_me:$LINENO: WARNING: popt.h: in the future, the compiler will take precedence" >&5
23498 echo "$as_me: WARNING: popt.h: in the future, the compiler will take precedence" >&2;}
23502 { echo "$as_me:$LINENO: checking for popt.h" >&5
23503 echo $ECHO_N "checking for popt.h... $ECHO_C" >&6; }
23504 if test "${ac_cv_header_popt_h+set}" = set; then
23505 echo $ECHO_N "(cached) $ECHO_C" >&6
23507 ac_cv_header_popt_h=$ac_header_preproc
23509 { echo "$as_me:$LINENO: result: $ac_cv_header_popt_h" >&5
23510 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
23513 if test $ac_cv_header_popt_h = yes; then
23514 POPT_HEADER_FOUND=1
23516 POPT_HEADER_FOUND=0
23522 if test "x${POPT_HEADER_FOUND}" = "x0" ; then
23523 if test ! -z "${POPT_MANDATORY}" ;
23525 { echo "$as_me:$LINENO: ***" >&5
23526 echo "$as_me: ***" >&6;}
23527 { echo "$as_me:$LINENO: *** It appears that you do not have the popt development package installed." >&5
23528 echo "$as_me: *** It appears that you do not have the popt development package installed." >&6;}
23529 { echo "$as_me:$LINENO: *** Please install it to include ${POPT_DESCRIP} support" >&5
23530 echo "$as_me: *** Please install it to include ${POPT_DESCRIP} support" >&or re-run configure;}
23531 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${POPT_OPTION}" >&5
23532 echo "$as_me: *** without explicitly specifying --with-${POPT_OPTION}" >&6;}
23541 cat >>confdefs.h <<_ACEOF
23542 #define HAVE_POPT 1
23546 elif test ! -z "${POPT_MANDATORY}";
23548 { echo "$as_me:$LINENO: ***" >&5
23549 echo "$as_me: ***" >&6;}
23550 { echo "$as_me:$LINENO: *** The ${POPT_DESCRIP} installation on this system appears to be broken." >&5
23551 echo "$as_me: *** The ${POPT_DESCRIP} installation on this system appears to be broken." >&6;}
23552 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
23553 echo "$as_me: *** Either correct the installation" >&or run configure;}
23554 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${POPT_OPTION}" >&5
23555 echo "$as_me: *** without explicitly specifying --with-${POPT_OPTION}" >&6;}
23562 if test "${USE_PRI}" != "no"; then
23564 if test "x${PRI_DIR}" != "x"; then
23565 if test -d ${PRI_DIR}/lib; then
23566 pbxlibdir="-L${PRI_DIR}/lib"
23568 pbxlibdir="-L${PRI_DIR}"
23571 { echo "$as_me:$LINENO: checking for pri_call in -lpri" >&5
23572 echo $ECHO_N "checking for pri_call in -lpri... $ECHO_C" >&6; }
23573 if test "${ac_cv_lib_pri_pri_call+set}" = set; then
23574 echo $ECHO_N "(cached) $ECHO_C" >&6
23576 ac_check_lib_save_LIBS=$LIBS
23577 LIBS="-lpri ${pbxlibdir} $LIBS"
23578 cat >conftest.$ac_ext <<_ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23585 /* Override any GCC internal prototype to avoid an error.
23586 Use char because int might match the return type of a GCC
23587 builtin and then its argument prototype would still apply. */
23595 return pri_call ();
23600 rm -f conftest.$ac_objext conftest$ac_exeext
23601 if { (ac_try="$ac_link"
23602 case "(($ac_try" in
23603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23604 *) ac_try_echo=$ac_try;;
23606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23607 (eval "$ac_link") 2>conftest.er1
23609 grep -v '^
*+' conftest.er1 >conftest.err
23611 cat conftest.err >&5
23612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23613 (exit $ac_status); } &&
23614 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23615 { (case "(($ac_try" in
23616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23617 *) ac_try_echo=$ac_try;;
23619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23620 (eval "$ac_try") 2>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); }; } &&
23624 { ac_try='test -s conftest
$ac_exeext'
23625 { (case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_try") 2>&5
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; }; then
23634 ac_cv_lib_pri_pri_call=yes
23636 echo "$as_me: failed program was:" >&5
23637 sed 's
/^
/|
/' conftest.$ac_ext >&5
23639 ac_cv_lib_pri_pri_call=no
23642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23643 conftest$ac_exeext conftest.$ac_ext
23644 LIBS=$ac_check_lib_save_LIBS
23646 { echo "$as_me:$LINENO: result: $ac_cv_lib_pri_pri_call" >&5
23647 echo "${ECHO_T}$ac_cv_lib_pri_pri_call" >&6; }
23648 if test $ac_cv_lib_pri_pri_call = yes; then
23655 if test "${AST_PRI_FOUND}" = "yes"; then
23657 PRI_HEADER_FOUND="1"
23658 if test "x${PRI_DIR}" != "x"; then
23659 PRI_LIB="${pbxlibdir} ${PRI_LIB}"
23660 PRI_INCLUDE="-I${PRI_DIR}/include"
23661 if test "xlibpri.h" != "x" ; then
23662 as_ac_Header=`echo "ac_cv_header_${PRI_DIR}/include/libpri.h" | $as_tr_sh`
23663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23664 { echo "$as_me:$LINENO: checking for ${PRI_DIR}/include/libpri.h" >&5
23665 echo $ECHO_N "checking for ${PRI_DIR}/include/libpri.h... $ECHO_C" >&6; }
23666 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23667 echo $ECHO_N "(cached) $ECHO_C" >&6
23669 ac_res=`eval echo '${'$as_ac_Header'}'`
23670 { echo "$as_me:$LINENO: result: $ac_res" >&5
23671 echo "${ECHO_T}$ac_res" >&6; }
23673 # Is the header compilable?
23674 { echo "$as_me:$LINENO: checking ${PRI_DIR}/include/libpri.h usability" >&5
23675 echo $ECHO_N "checking ${PRI_DIR}/include/libpri.h usability... $ECHO_C" >&6; }
23676 cat >conftest.$ac_ext <<_ACEOF
23679 cat confdefs.h >>conftest.$ac_ext
23680 cat >>conftest.$ac_ext <<_ACEOF
23681 /* end confdefs.h. */
23682 $ac_includes_default
23683 #include <${PRI_DIR}/include/libpri.h>
23685 rm -f conftest.$ac_objext
23686 if { (ac_try="$ac_compile"
23687 case "(($ac_try" in
23688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23689 *) ac_try_echo=$ac_try;;
23691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23692 (eval "$ac_compile") 2>conftest.er1
23694 grep -v '^
*+' conftest.er1 >conftest.err
23696 cat conftest.err >&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); } &&
23699 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23700 { (case "(($ac_try" in
23701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23702 *) ac_try_echo=$ac_try;;
23704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23705 (eval "$ac_try") 2>&5
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; } &&
23709 { ac_try='test -s conftest.
$ac_objext'
23710 { (case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_try") 2>&5
23717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23718 (exit $ac_status); }; }; then
23719 ac_header_compiler=yes
23721 echo "$as_me: failed program was:" >&5
23722 sed 's
/^
/|
/' conftest.$ac_ext >&5
23724 ac_header_compiler=no
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23729 echo "${ECHO_T}$ac_header_compiler" >&6; }
23731 # Is the header present?
23732 { echo "$as_me:$LINENO: checking ${PRI_DIR}/include/libpri.h presence" >&5
23733 echo $ECHO_N "checking ${PRI_DIR}/include/libpri.h presence... $ECHO_C" >&6; }
23734 cat >conftest.$ac_ext <<_ACEOF
23737 cat confdefs.h >>conftest.$ac_ext
23738 cat >>conftest.$ac_ext <<_ACEOF
23739 /* end confdefs.h. */
23740 #include <${PRI_DIR}/include/libpri.h>
23742 if { (ac_try="$ac_cpp conftest.$ac_ext"
23743 case "(($ac_try" in
23744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23745 *) ac_try_echo=$ac_try;;
23747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23750 grep -v '^
*+' conftest.er1 >conftest.err
23752 cat conftest.err >&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); } >/dev/null; then
23755 if test -s conftest.err; then
23756 ac_cpp_err=$ac_c_preproc_warn_flag
23757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23764 if test -z "$ac_cpp_err"; then
23765 ac_header_preproc=yes
23767 echo "$as_me: failed program was:" >&5
23768 sed 's
/^
/|
/' conftest.$ac_ext >&5
23770 ac_header_preproc=no
23773 rm -f conftest.err conftest.$ac_ext
23774 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23775 echo "${ECHO_T}$ac_header_preproc" >&6; }
23777 # So? What about this header?
23778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23780 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: accepted by the compiler, rejected by the preprocessor!" >&5
23781 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23782 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the compiler's result
" >&5
23783 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the compiler
's result" >&2;}
23784 ac_header_preproc=yes
23787 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: present but cannot be compiled" >&5
23788 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: present but cannot be compiled" >&2;}
23789 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: check for missing prerequisite headers?" >&5
23790 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: check for missing prerequisite headers?" >&2;}
23791 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: see the Autoconf documentation" >&5
23792 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: see the Autoconf documentation" >&2;}
23793 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: section \"Present But Cannot Be Compiled\"" >&5
23794 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: section \"Present But Cannot Be Compiled\"" >&2;}
23795 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the preprocessor's result
" >&5
23796 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the preprocessor
's result" >&2;}
23797 { echo "$as_me:$LINENO: WARNING: ${PRI_DIR}/include/libpri.h: in the future, the compiler will take precedence" >&5
23798 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: in the future, the compiler will take precedence" >&2;}
23802 { echo "$as_me:$LINENO: checking for ${PRI_DIR}/include/libpri.h" >&5
23803 echo $ECHO_N "checking for ${PRI_DIR}/include/libpri.h... $ECHO_C" >&6; }
23804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23805 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 eval "$as_ac_Header=\$ac_header_preproc"
23809 ac_res=`eval echo '${'$as_ac_Header'}'`
23810 { echo "$as_me:$LINENO: result: $ac_res" >&5
23811 echo "${ECHO_T}$ac_res" >&6; }
23814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23823 if test "xlibpri.h" != "x" ; then
23824 if test "${ac_cv_header_libpri_h+set}" = set; then
23825 { echo "$as_me:$LINENO: checking for libpri.h" >&5
23826 echo $ECHO_N "checking for libpri.h... $ECHO_C" >&6; }
23827 if test "${ac_cv_header_libpri_h+set}" = set; then
23828 echo $ECHO_N "(cached) $ECHO_C" >&6
23830 { echo "$as_me:$LINENO: result: $ac_cv_header_libpri_h" >&5
23831 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
23833 # Is the header compilable?
23834 { echo "$as_me:$LINENO: checking libpri.h usability" >&5
23835 echo $ECHO_N "checking libpri.h usability... $ECHO_C" >&6; }
23836 cat >conftest.$ac_ext <<_ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 #include <libpri.h>
23845 rm -f conftest.$ac_objext
23846 if { (ac_try="$ac_compile"
23847 case "(($ac_try" in
23848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23849 *) ac_try_echo=$ac_try;;
23851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23852 (eval "$ac_compile") 2>conftest.er1
23854 grep -v '^
*+' conftest.er1 >conftest.err
23856 cat conftest.err >&5
23857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23858 (exit $ac_status); } &&
23859 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
23860 { (case "(($ac_try" in
23861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23862 *) ac_try_echo=$ac_try;;
23864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23865 (eval "$ac_try") 2>&5
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest.
$ac_objext'
23870 { (case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_try") 2>&5
23877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23878 (exit $ac_status); }; }; then
23879 ac_header_compiler=yes
23881 echo "$as_me: failed program was:" >&5
23882 sed 's
/^
/|
/' conftest.$ac_ext >&5
23884 ac_header_compiler=no
23887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23888 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23889 echo "${ECHO_T}$ac_header_compiler" >&6; }
23891 # Is the header present?
23892 { echo "$as_me:$LINENO: checking libpri.h presence" >&5
23893 echo $ECHO_N "checking libpri.h presence... $ECHO_C" >&6; }
23894 cat >conftest.$ac_ext <<_ACEOF
23897 cat confdefs.h >>conftest.$ac_ext
23898 cat >>conftest.$ac_ext <<_ACEOF
23899 /* end confdefs.h. */
23900 #include <libpri.h>
23902 if { (ac_try="$ac_cpp conftest.$ac_ext"
23903 case "(($ac_try" in
23904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23905 *) ac_try_echo=$ac_try;;
23907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23908 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
23910 grep -v '^
*+' conftest.er1 >conftest.err
23912 cat conftest.err >&5
23913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23914 (exit $ac_status); } >/dev/null; then
23915 if test -s conftest.err; then
23916 ac_cpp_err=$ac_c_preproc_warn_flag
23917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23924 if test -z "$ac_cpp_err"; then
23925 ac_header_preproc=yes
23927 echo "$as_me: failed program was:" >&5
23928 sed 's
/^
/|
/' conftest.$ac_ext >&5
23930 ac_header_preproc=no
23933 rm -f conftest.err conftest.$ac_ext
23934 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23935 echo "${ECHO_T}$ac_header_preproc" >&6; }
23937 # So? What about this header?
23938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23940 { echo "$as_me:$LINENO: WARNING: libpri.h: accepted by the compiler, rejected by the preprocessor!" >&5
23941 echo "$as_me: WARNING: libpri.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23942 { echo "$as_me:$LINENO: WARNING: libpri.h: proceeding with the compiler's result
" >&5
23943 echo "$as_me: WARNING
: libpri.h
: proceeding with the compiler
's result" >&2;}
23944 ac_header_preproc=yes
23947 { echo "$as_me:$LINENO: WARNING: libpri.h: present but cannot be compiled" >&5
23948 echo "$as_me: WARNING: libpri.h: present but cannot be compiled" >&2;}
23949 { echo "$as_me:$LINENO: WARNING: libpri.h: check for missing prerequisite headers?" >&5
23950 echo "$as_me: WARNING: libpri.h: check for missing prerequisite headers?" >&2;}
23951 { echo "$as_me:$LINENO: WARNING: libpri.h: see the Autoconf documentation" >&5
23952 echo "$as_me: WARNING: libpri.h: see the Autoconf documentation" >&2;}
23953 { echo "$as_me:$LINENO: WARNING: libpri.h: section \"Present But Cannot Be Compiled\"" >&5
23954 echo "$as_me: WARNING: libpri.h: section \"Present But Cannot Be Compiled\"" >&2;}
23955 { echo "$as_me:$LINENO: WARNING: libpri.h: proceeding with the preprocessor's result
" >&5
23956 echo "$as_me: WARNING
: libpri.h
: proceeding with the preprocessor
's result" >&2;}
23957 { echo "$as_me:$LINENO: WARNING: libpri.h: in the future, the compiler will take precedence" >&5
23958 echo "$as_me: WARNING: libpri.h: in the future, the compiler will take precedence" >&2;}
23962 { echo "$as_me:$LINENO: checking for libpri.h" >&5
23963 echo $ECHO_N "checking for libpri.h... $ECHO_C" >&6; }
23964 if test "${ac_cv_header_libpri_h+set}" = set; then
23965 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 ac_cv_header_libpri_h=$ac_header_preproc
23969 { echo "$as_me:$LINENO: result: $ac_cv_header_libpri_h" >&5
23970 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
23973 if test $ac_cv_header_libpri_h = yes; then
23982 if test "x${PRI_HEADER_FOUND}" = "x0" ; then
23983 if test ! -z "${PRI_MANDATORY}" ;
23985 { echo "$as_me:$LINENO: ***" >&5
23986 echo "$as_me: ***" >&6;}
23987 { echo "$as_me:$LINENO: *** It appears that you do not have the pri development package installed." >&5
23988 echo "$as_me: *** It appears that you do not have the pri development package installed." >&6;}
23989 { echo "$as_me:$LINENO: *** Please install it to include ${PRI_DESCRIP} support" >&5
23990 echo "$as_me: *** Please install it to include ${PRI_DESCRIP} support" >&or re-run configure;}
23991 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${PRI_OPTION}" >&5
23992 echo "$as_me: *** without explicitly specifying --with-${PRI_OPTION}" >&6;}
24001 cat >>confdefs.h <<_ACEOF
24006 elif test ! -z "${PRI_MANDATORY}";
24008 { echo "$as_me:$LINENO: ***" >&5
24009 echo "$as_me: ***" >&6;}
24010 { echo "$as_me:$LINENO: *** The ${PRI_DESCRIP} installation on this system appears to be broken." >&5
24011 echo "$as_me: *** The ${PRI_DESCRIP} installation on this system appears to be broken." >&6;}
24012 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
24013 echo "$as_me: *** Either correct the installation" >&or run configure;}
24014 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${PRI_OPTION}" >&5
24015 echo "$as_me: *** without explicitly specifying --with-${PRI_OPTION}" >&6;}
24021 if test "${USE_PWLIB}" != "no"; then
24022 if test ! -z "${PWLIB_DIR}"; then
24023 PWLIBDIR="${PWLIB_DIR}"
24028 if test "${PWLIBDIR:-unset}" != "unset" ; then
24029 as_ac_File=`echo "ac_cv_file_${PWLIBDIR}/version.h" | $as_tr_sh`
24030 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/version.h" >&5
24031 echo $ECHO_N "checking for ${PWLIBDIR}/version.h... $ECHO_C" >&6; }
24032 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24033 echo $ECHO_N "(cached) $ECHO_C" >&6
24035 test "$cross_compiling" = yes &&
24036 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24037 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24038 { (exit 1); exit 1; }; }
24039 if test -r "${PWLIBDIR}/version.h"; then
24040 eval "$as_ac_File=yes"
24042 eval "$as_ac_File=no"
24045 ac_res=`eval echo '${'$as_ac_File'}'`
24046 { echo "$as_me:$LINENO: result: $ac_res" >&5
24047 echo "${ECHO_T}$ac_res" >&6; }
24048 if test `eval echo '${'$as_ac_File'}'` = yes; then
24053 if test "${HAS_PWLIB:-unset}" = "unset" ; then
24054 if test "${OPENH323DIR:-unset}" != "unset"; then
24055 as_ac_File=`echo "ac_cv_file_${OPENH323DIR}/../pwlib/version.h" | $as_tr_sh`
24056 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/../pwlib/version.h" >&5
24057 echo $ECHO_N "checking for ${OPENH323DIR}/../pwlib/version.h... $ECHO_C" >&6; }
24058 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24059 echo $ECHO_N "(cached) $ECHO_C" >&6
24061 test "$cross_compiling" = yes &&
24062 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24063 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24064 { (exit 1); exit 1; }; }
24065 if test -r "${OPENH323DIR}/../pwlib/version.h"; then
24066 eval "$as_ac_File=yes"
24068 eval "$as_ac_File=no"
24071 ac_res=`eval echo '${'$as_ac_File'}'`
24072 { echo "$as_me:$LINENO: result: $ac_res" >&5
24073 echo "${ECHO_T}$ac_res" >&6; }
24074 if test `eval echo '${'$as_ac_File'}'` = yes; then
24079 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24080 PWLIBDIR="${OPENH323DIR}/../pwlib"
24082 as_ac_File=`echo "ac_cv_file_${HOME}/pwlib/include/ptlib.h" | $as_tr_sh`
24083 { echo "$as_me:$LINENO: checking for ${HOME}/pwlib/include/ptlib.h" >&5
24084 echo $ECHO_N "checking for ${HOME}/pwlib/include/ptlib.h... $ECHO_C" >&6; }
24085 if { as_var=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
24086 echo $ECHO_N "(cached) $ECHO_C" >&6
24088 test "$cross_compiling" = yes &&
24089 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24090 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24091 { (exit 1); exit 1; }; }
24092 if test -r "${HOME}/pwlib/include/ptlib.h"; then
24093 eval "$as_ac_File=yes"
24095 eval "$as_ac_File=no"
24098 ac_res=`eval echo '${'$as_ac_File'}'`
24099 { echo "$as_me:$LINENO: result: $ac_res" >&5
24100 echo "${ECHO_T}$ac_res" >&6; }
24101 if test `eval echo '${'$as_ac_File'}'` = yes; then
24105 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24106 PWLIBDIR="${HOME}/pwlib"
24108 { echo "$as_me:$LINENO: checking for /usr/local/include/ptlib.h" >&5
24109 echo $ECHO_N "checking for /usr/local/include/ptlib.h... $ECHO_C" >&6; }
24110 if test "${ac_cv_file__usr_local_include_ptlib_h+set}" = set; then
24111 echo $ECHO_N "(cached) $ECHO_C" >&6
24113 test "$cross_compiling" = yes &&
24114 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24115 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24116 { (exit 1); exit 1; }; }
24117 if test -r "/usr/local/include/ptlib.h"; then
24118 ac_cv_file__usr_local_include_ptlib_h=yes
24120 ac_cv_file__usr_local_include_ptlib_h=no
24123 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ptlib_h" >&5
24124 echo "${ECHO_T}$ac_cv_file__usr_local_include_ptlib_h" >&6; }
24125 if test $ac_cv_file__usr_local_include_ptlib_h = yes; then
24129 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24130 # Extract the first word of "ptlib-config", so it can be a program name with args.
24131 set dummy ptlib-config; ac_word=$2
24132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24134 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24135 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 case $PTLIB_CONFIG in
24139 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24143 for as_dir in /usr/local/bin
24146 test -z "$as_dir" && as_dir=.
24147 for ac_exec_ext in '' $ac_executable_extensions; do
24148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24149 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24160 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24161 if test -n "$PTLIB_CONFIG"; then
24162 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
24163 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24165 { echo "$as_me:$LINENO: result: no" >&5
24166 echo "${ECHO_T}no" >&6; }
24170 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
24171 # Extract the first word of "ptlib-config", so it can be a program name with args.
24172 set dummy ptlib-config; ac_word=$2
24173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24175 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24176 echo $ECHO_N "(cached) $ECHO_C" >&6
24178 case $PTLIB_CONFIG in
24180 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24184 for as_dir in /usr/local/share/pwlib/make
24187 test -z "$as_dir" && as_dir=.
24188 for ac_exec_ext in '' $ac_executable_extensions; do
24189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24190 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24201 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24202 if test -n "$PTLIB_CONFIG"; then
24203 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
24204 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24206 { echo "$as_me:$LINENO: result: no" >&5
24207 echo "${ECHO_T}no" >&6; }
24212 PWLIB_INCDIR="/usr/local/include"
24213 PWLIB_LIBDIR="/usr/local/lib"
24215 { echo "$as_me:$LINENO: checking for /usr/include/ptlib.h" >&5
24216 echo $ECHO_N "checking for /usr/include/ptlib.h... $ECHO_C" >&6; }
24217 if test "${ac_cv_file__usr_include_ptlib_h+set}" = set; then
24218 echo $ECHO_N "(cached) $ECHO_C" >&6
24220 test "$cross_compiling" = yes &&
24221 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
24222 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
24223 { (exit 1); exit 1; }; }
24224 if test -r "/usr/include/ptlib.h"; then
24225 ac_cv_file__usr_include_ptlib_h=yes
24227 ac_cv_file__usr_include_ptlib_h=no
24230 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_include_ptlib_h" >&5
24231 echo "${ECHO_T}$ac_cv_file__usr_include_ptlib_h" >&6; }
24232 if test $ac_cv_file__usr_include_ptlib_h = yes; then
24236 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24237 # Extract the first word of "ptlib-config", so it can be a program name with args.
24238 set dummy ptlib-config; ac_word=$2
24239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
24240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
24241 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
24242 echo $ECHO_N "(cached) $ECHO_C" >&6
24244 case $PTLIB_CONFIG in
24246 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
24249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24250 for as_dir in /usr/share/pwlib/make
24253 test -z "$as_dir" && as_dir=.
24254 for ac_exec_ext in '' $ac_executable_extensions; do
24255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
24256 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
24257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
24267 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
24268 if test -n "$PTLIB_CONFIG"; then
24269 { echo "$as_me:$LINENO: result: $PTLIB_CONFIG" >&5
24270 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
24272 { echo "$as_me:$LINENO: result: no" >&5
24273 echo "${ECHO_T}no" >&6; }
24277 PWLIB_INCDIR="/usr/include"
24278 PWLIB_LIBDIR="/usr/lib"
24285 #if test "${HAS_PWLIB:-unset}" = "unset" ; then
24286 # echo "Cannot find pwlib - please install or set PWLIBDIR and try again"
24290 if test "${HAS_PWLIB:-unset}" != "unset" ; then
24291 if test "${PWLIBDIR:-unset}" = "unset" ; then
24292 if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
24293 PWLIBDIR=`$PTLIB_CONFIG --prefix`
24295 echo "Cannot find ptlib-config - please install and try again"
24300 if test "x$PWLIBDIR" = "x/usr" -o "x$PWLIBDIR" = "x/usr/"; then
24301 PWLIBDIR="/usr/share/pwlib"
24302 PWLIB_INCDIR="/usr/include"
24303 PWLIB_LIBDIR="/usr/lib"
24305 if test "x$PWLIBDIR" = "x/usr/local" -o "x$PWLIBDIR" = "x/usr/"; then
24306 PWLIBDIR="/usr/local/share/pwlib"
24307 PWLIB_INCDIR="/usr/local/include"
24308 PWLIB_LIBDIR="/usr/local/lib"
24311 if test "${PWLIB_INCDIR:-unset}" = "unset"; then
24312 PWLIB_INCDIR="${PWLIBDIR}/include"
24314 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
24315 PWLIB_LIBDIR="${PWLIBDIR}/lib"
24324 if test "${HAS_PWLIB:-unset}" != "unset"; then
24325 PWLIB_VERSION=`grep "PWLIB_VERSION" ${PWLIB_INCDIR}/ptbuildopts.h | cut -f2 -d ' ' | sed -e 's
/"//g'`
24326 PWLIB_MAJOR_VERSION=`echo ${PWLIB_VERSION} | cut -f1 -d.`
24327 PWLIB_MINOR_VERSION=`echo ${PWLIB_VERSION} | cut -f2 -d.`
24328 PWLIB_BUILD_NUMBER=`echo ${PWLIB_VERSION} | cut -f3 -d.`
24329 let PWLIB_VER=${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}
24330 let PWLIB_REQ=1*10000+9*100+2
24332 { echo "$as_me:$LINENO: checking
if PWLib version
${PWLIB_VERSION} is compatible with chan_h323
" >&5
24333 echo $ECHO_N "checking
if PWLib version
${PWLIB_VERSION} is compatible with chan_h323...
$ECHO_C" >&6; }
24334 if test ${PWLIB_VER} -lt ${PWLIB_REQ}; then
24335 { echo "$as_me:$LINENO: result
: no
" >&5
24336 echo "${ECHO_T}no
" >&6; }
24339 { echo "$as_me:$LINENO: result
: yes" >&5
24340 echo "${ECHO_T}yes" >&6; }
24345 if test "${HAS_PWLIB:-unset}" != "unset"; then
24349 linux*) PWLIB_OSTYPE=linux ;
24351 freebsd* ) PWLIB_OSTYPE=FreeBSD ;
24353 openbsd* ) PWLIB_OSTYPE=OpenBSD ;
24354 ENDLDLIBS="-lossaudio" ;
24356 netbsd* ) PWLIB_OSTYPE=NetBSD ;
24357 ENDLDLIBS="-lossaudio" ;
24359 solaris* | sunos* ) PWLIB_OSTYPE=solaris ;
24361 darwin* ) PWLIB_OSTYPE=Darwin ;
24363 beos*) PWLIB_OSTYPE=beos ;
24364 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
24366 cygwin*) PWLIB_OSTYPE=cygwin ;
24368 mingw*) PWLIB_OSTYPE=mingw ;
24369 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
24370 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
24372 * ) PWLIB_OSTYPE="$host_os" ;
24373 { echo "$as_me:$LINENO: WARNING
: \"OS
$PWLIB_OSTYPE not recognized
- proceed with caution
!\"" >&5
24374 echo "$as_me: WARNING
: \"OS
$PWLIB_OSTYPE not recognized
- proceed with caution
!\"" >&2;} ;
24379 case "$host_cpu" in
24380 x86 | i686 | i586 | i486 | i386 ) PWLIB_MACHTYPE=x86
24383 x86_64) PWLIB_MACHTYPE=x86_64 ;
24388 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) PWLIB_MACHTYPE=alpha ;
24392 sparc ) PWLIB_MACHTYPE=sparc ;
24395 powerpc ) PWLIB_MACHTYPE=ppc ;
24398 ppc ) PWLIB_MACHTYPE=ppc ;
24401 powerpc64 ) PWLIB_MACHTYPE=ppc64 ;
24406 ppc64 ) PWLIB_MACHTYPE=ppc64 ;
24411 ia64) PWLIB_MACHTYPE=ia64 ;
24415 s390x) PWLIB_MACHTYPE=s390x ;
24420 s390) PWLIB_MACHTYPE=s390 ;
24423 * ) PWLIB_MACHTYPE="$host_cpu";
24424 { echo "$as_me:$LINENO: WARNING
: \"CPU
$PWLIB_MACHTYPE not recognized
- proceed with caution
!\"" >&5
24425 echo "$as_me: WARNING
: \"CPU
$PWLIB_MACHTYPE not recognized
- proceed with caution
!\"" >&2;} ;;
24428 PWLIB_PLATFORM="${PWLIB_OSTYPE}_
${PWLIB_MACHTYPE}"
24433 PLATFORM_PWLIB="pt_
${PWLIB_PLATFORM}_r
"
24436 if test "${HAS_PWLIB:-unset}" != "unset"; then
24437 { echo "$as_me:$LINENO: checking PWLib installation validity
" >&5
24438 echo $ECHO_N "checking PWLib installation validity...
$ECHO_C" >&6; }
24440 saved_cppflags="${CPPFLAGS}"
24441 saved_libs="${LIBS}"
24442 LIBS="${LIBS} -L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB} "
24443 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR} "
24446 ac_cpp='$CXXCPP $CPPFLAGS'
24447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452 cat >conftest.$ac_ext <<_ACEOF
24455 cat confdefs.h >>conftest.$ac_ext
24456 cat >>conftest.$ac_ext <<_ACEOF
24457 /* end confdefs.h. */
24462 BOOL q = PTime::IsDaylightSavings();
24467 rm -f conftest.$ac_objext conftest$ac_exeext
24468 if { (ac_try="$ac_link"
24469 case "(($ac_try" in
24470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24471 *) ac_try_echo=$ac_try;;
24473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24474 (eval "$ac_link") 2>conftest.er1
24476 grep -v '^ *+' conftest.er1 >conftest.err
24478 cat conftest.err >&5
24479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24480 (exit $ac_status); } &&
24481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24482 { (case "(($ac_try" in
24483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24484 *) ac_try_echo=$ac_try;;
24486 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24487 (eval "$ac_try") 2>&5
24489 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24490 (exit $ac_status); }; } &&
24491 { ac_try='test -s conftest$ac_exeext'
24492 { (case "(($ac_try" in
24493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24494 *) ac_try_echo=$ac_try;;
24496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24497 (eval "$ac_try") 2>&5
24499 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24500 (exit $ac_status); }; }; then
24501 { echo "$as_me:$LINENO: result
: yes" >&5
24502 echo "${ECHO_T}yes" >&6; }
24503 ac_cv_lib_PWLIB="yes"
24506 echo "$as_me: failed program was
:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24509 { echo "$as_me:$LINENO: result
: no
" >&5
24510 echo "${ECHO_T}no
" >&6; }
24511 ac_cv_lib_PWLIB="no
"
24516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24517 conftest$ac_exeext conftest.$ac_ext
24520 ac_cpp='$CPP $CPPFLAGS'
24521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24526 LIBS="${saved_libs}"
24527 CPPFLAGS="${saved_cppflags}"
24529 if test "${ac_cv_lib_PWLIB}" = "yes"; then
24530 if test "${PWLIB_LIBDIR}" != "" -a "${PWLIB_LIBDIR}" != "/usr
/lib
"; then
24531 PWLIB_LIB="-L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB}"
24533 PWLIB_LIB="-l${PLATFORM_PWLIB}"
24535 if test "${PWLIB_INCDIR}" != "" -a "${PWLIB_INCDIR}" != "/usr
/include
"; then
24536 PWLIB_INCLUDE="-I${PWLIB_INCDIR}"
24540 cat >>confdefs.h <<\_ACEOF
24541 #define HAVE_PWLIB 1
24550 if test "${USE_PWLIB}" != "no" -a "x${ac_cv_lib_PWLIB}" != "xyes" -a ! -z "${PWLIB_MANDATORY}"; then
24551 { echo "$as_me:$LINENO: ***" >&5
24552 echo "$as_me: ***" >&6;}
24553 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken.
" >&5
24554 echo "$as_me: *** The PWLIB installation on this system appears to be broken.
" >&6;}
24555 { echo "$as_me:$LINENO: *** Either correct the installation
" >&5
24556 echo "$as_me: *** Either correct the installation
" >&or run configure;}
24557 { echo "$as_me:$LINENO: *** including
--without-pwlib" >&5
24558 echo "$as_me: *** including
--without-pwlib" >&6;}
24562 if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no
" ; then
24563 if test ! -z "${OPENH323_DIR}"; then
24564 OPENH323DIR="${OPENH323_DIR}"
24569 if test "${OPENH323DIR:-unset}" != "unset" ; then
24570 as_ac_File=`echo "ac_cv_file_
${OPENH323DIR}/version.h
" | $as_tr_sh`
24571 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/version.h
" >&5
24572 echo $ECHO_N "checking
for ${OPENH323DIR}/version.h...
$ECHO_C" >&6; }
24573 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24574 echo $ECHO_N "(cached
) $ECHO_C" >&6
24576 test "$cross_compiling" = yes &&
24577 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24578 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24579 { (exit 1); exit 1; }; }
24580 if test -r "${OPENH323DIR}/version.h
"; then
24581 eval "$as_ac_File=yes"
24583 eval "$as_ac_File=no
"
24586 ac_res=`eval echo '${'$as_ac_File'}'`
24587 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24588 echo "${ECHO_T}$ac_res" >&6; }
24589 if test `eval echo '${'$as_ac_File'}'` = yes; then
24594 if test "${HAS_OPENH323:-unset}" = "unset" ; then
24595 as_ac_File=`echo "ac_cv_file_
${PWLIBDIR}/..
/openh323
/version.h
" | $as_tr_sh`
24596 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/..
/openh323
/version.h
" >&5
24597 echo $ECHO_N "checking
for ${PWLIBDIR}/..
/openh323
/version.h...
$ECHO_C" >&6; }
24598 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24599 echo $ECHO_N "(cached
) $ECHO_C" >&6
24601 test "$cross_compiling" = yes &&
24602 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24603 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24604 { (exit 1); exit 1; }; }
24605 if test -r "${PWLIBDIR}/..
/openh323
/version.h
"; then
24606 eval "$as_ac_File=yes"
24608 eval "$as_ac_File=no
"
24611 ac_res=`eval echo '${'$as_ac_File'}'`
24612 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24613 echo "${ECHO_T}$ac_res" >&6; }
24614 if test `eval echo '${'$as_ac_File'}'` = yes; then
24615 OPENH323DIR="${PWLIBDIR}/..
/openh323
"; HAS_OPENH323=1
24618 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24619 OPENH323DIR="${PWLIBDIR}/..
/openh323
"
24620 as_ac_File=`echo "ac_cv_file_
${OPENH323DIR}/include
/h323.h
" | $as_tr_sh`
24621 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/include
/h323.h
" >&5
24622 echo $ECHO_N "checking
for ${OPENH323DIR}/include
/h323.h...
$ECHO_C" >&6; }
24623 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24624 echo $ECHO_N "(cached
) $ECHO_C" >&6
24626 test "$cross_compiling" = yes &&
24627 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24628 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24629 { (exit 1); exit 1; }; }
24630 if test -r "${OPENH323DIR}/include
/h323.h
"; then
24631 eval "$as_ac_File=yes"
24633 eval "$as_ac_File=no
"
24636 ac_res=`eval echo '${'$as_ac_File'}'`
24637 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24638 echo "${ECHO_T}$ac_res" >&6; }
24639 if test `eval echo '${'$as_ac_File'}'` = yes; then
24642 OPENH323_INCDIR="${PWLIB_INCDIR}/openh323
"; OPENH323_LIBDIR="${PWLIB_LIBDIR}"
24646 as_ac_File=`echo "ac_cv_file_
${HOME}/openh323
/include
/h323.h
" | $as_tr_sh`
24647 { echo "$as_me:$LINENO: checking
for ${HOME}/openh323
/include
/h323.h
" >&5
24648 echo $ECHO_N "checking
for ${HOME}/openh323
/include
/h323.h...
$ECHO_C" >&6; }
24649 if { as_var=$as_ac_File; eval "test \"\
${$as_var+set}\" = set"; }; then
24650 echo $ECHO_N "(cached
) $ECHO_C" >&6
24652 test "$cross_compiling" = yes &&
24653 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24654 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24655 { (exit 1); exit 1; }; }
24656 if test -r "${HOME}/openh323
/include
/h323.h
"; then
24657 eval "$as_ac_File=yes"
24659 eval "$as_ac_File=no
"
24662 ac_res=`eval echo '${'$as_ac_File'}'`
24663 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24664 echo "${ECHO_T}$ac_res" >&6; }
24665 if test `eval echo '${'$as_ac_File'}'` = yes; then
24669 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24670 OPENH323DIR="${HOME}/openh323
"
24672 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/openh323
/h323.h
" >&5
24673 echo $ECHO_N "checking
for /usr
/local
/include
/openh323
/h323.h...
$ECHO_C" >&6; }
24674 if test "${ac_cv_file__usr_local_include_openh323_h323_h+set}" = set; then
24675 echo $ECHO_N "(cached
) $ECHO_C" >&6
24677 test "$cross_compiling" = yes &&
24678 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24679 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24680 { (exit 1); exit 1; }; }
24681 if test -r "/usr
/local
/include
/openh323
/h323.h
"; then
24682 ac_cv_file__usr_local_include_openh323_h323_h=yes
24684 ac_cv_file__usr_local_include_openh323_h323_h=no
24687 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_local_include_openh323_h323_h" >&5
24688 echo "${ECHO_T}$ac_cv_file__usr_local_include_openh323_h323_h" >&6; }
24689 if test $ac_cv_file__usr_local_include_openh323_h323_h = yes; then
24693 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24694 OPENH323DIR="/usr
/local
/share
/openh323
"
24695 OPENH323_INCDIR="/usr
/local
/include
/openh323
"
24696 OPENH323_LIBDIR="/usr
/local
/lib
"
24698 { echo "$as_me:$LINENO: checking
for /usr
/include
/openh323
/h323.h
" >&5
24699 echo $ECHO_N "checking
for /usr
/include
/openh323
/h323.h...
$ECHO_C" >&6; }
24700 if test "${ac_cv_file__usr_include_openh323_h323_h+set}" = set; then
24701 echo $ECHO_N "(cached
) $ECHO_C" >&6
24703 test "$cross_compiling" = yes &&
24704 { { echo "$as_me:$LINENO: error
: cannot check
for file existence when cross compiling
" >&5
24705 echo "$as_me: error
: cannot check
for file existence when cross compiling
" >&2;}
24706 { (exit 1); exit 1; }; }
24707 if test -r "/usr
/include
/openh323
/h323.h
"; then
24708 ac_cv_file__usr_include_openh323_h323_h=yes
24710 ac_cv_file__usr_include_openh323_h323_h=no
24713 { echo "$as_me:$LINENO: result
: $ac_cv_file__usr_include_openh323_h323_h" >&5
24714 echo "${ECHO_T}$ac_cv_file__usr_include_openh323_h323_h" >&6; }
24715 if test $ac_cv_file__usr_include_openh323_h323_h = yes; then
24719 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24720 OPENH323DIR="/usr
/share
/openh323
"
24721 OPENH323_INCDIR="/usr
/include
/openh323
"
24722 OPENH323_LIBDIR="/usr
/lib
"
24729 if test "${HAS_OPENH323:-unset}" != "unset" ; then
24730 if test "${OPENH323_INCDIR:-unset}" = "unset"; then
24731 OPENH323_INCDIR="${OPENH323DIR}/include
"
24733 if test "${OPENH323_LIBDIR:-unset}" = "unset"; then
24734 OPENH323_LIBDIR="${OPENH323DIR}/lib
"
24743 if test "${HAS_OPENH323:-unset}" != "unset"; then
24744 OPENH323_VERSION=`grep "OPENH323_VERSION
" ${OPENH323_INCDIR}/openh323buildopts.h | cut -f2 -d ' ' | sed -e 's/"//g
'`
24745 OPENH323_MAJOR_VERSION=`echo ${OPENH323_VERSION} | cut -f1 -d.`
24746 OPENH323_MINOR_VERSION=`echo ${OPENH323_VERSION} | cut -f2 -d.`
24747 OPENH323_BUILD_NUMBER=`echo ${OPENH323_VERSION} | cut -f3 -d.`
24748 let OPENH323_VER=${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}
24749 let OPENH323_REQ=1*10000+17*100+3
24751 { echo "$as_me:$LINENO: checking if OpenH323 version ${OPENH323_VERSION} is compatible with chan_h323" >&5
24752 echo $ECHO_N "checking if OpenH323 version ${OPENH323_VERSION} is compatible with chan_h323... $ECHO_C" >&6; }
24753 if test ${OPENH323_VER} -lt ${OPENH323_REQ}; then
24754 { echo "$as_me:$LINENO: result: no" >&5
24755 echo "${ECHO_T}no" >&6; }
24758 { echo "$as_me:$LINENO: result: yes" >&5
24759 echo "${ECHO_T}yes" >&6; }
24764 if test "${HAS_OPENH323:-unset}" != "unset"; then
24765 { echo "$as_me:$LINENO: checking OpenH323 build option" >&5
24766 echo $ECHO_N "checking OpenH323 build option... $ECHO_C" >&6; }
24768 files=`ls -l ${OPENH323_LIBDIR}/libh323_${PWLIB_PLATFORM}_*.so*`
24770 if test -n "$files"; then
24771 for f in $files; do
24772 if test -f $f -a ! -L $f; then
24773 libfile=`basename $f`
24778 if test "${libfile:-unset}" != "unset"; then
24779 OPENH323_SUFFIX=`eval "echo ${libfile} | sed -e 's
/libh323_
${PWLIB_PLATFORM}_\
([^.
]*\
)\..
*/\
1/'"`
24781 case "${OPENH323_SUFFIX}" in
24783 OPENH323_BUILD="notrace";;
24785 OPENH323_BUILD="opt";;
24787 OPENH323_BUILD="debug";;
24789 OPENH323_BUILD="notrace";;
24791 { echo "$as_me:$LINENO: result: ${OPENH323_BUILD}" >&5
24792 echo "${ECHO_T}${OPENH323_BUILD}" >&6; }
24798 PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
24800 if test "${HAS_OPENH323:-unset}" != "unset"; then
24801 { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
24802 echo $ECHO_N "checking OpenH323 installation validity... $ECHO_C" >&6; }
24804 saved_cppflags="${CPPFLAGS}"
24805 saved_libs="${LIBS}"
24806 LIBS="${LIBS} -L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323} ${PWLIB_LIB}"
24807 CPPFLAGS="${CPPFLAGS} -I${OPENH323_INCDIR} ${PWLIB_INCLUDE}"
24810 ac_cpp='$CXXCPP $CPPFLAGS'
24811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24812 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24816 cat >conftest.$ac_ext <<_ACEOF
24819 cat confdefs.h >>conftest.$ac_ext
24820 cat >>conftest.$ac_ext <<_ACEOF
24821 /* end confdefs.h. */
24824 #include "h323ep.h"
24828 H323EndPoint ep = H323EndPoint();
24833 rm -f conftest.$ac_objext conftest$ac_exeext
24834 if { (ac_try="$ac_link"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_link") 2>conftest.er1
24842 grep -v '^
*+' conftest.er1 >conftest.err
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } &&
24847 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
24848 { (case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_try") 2>&5
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; } &&
24857 { ac_try='test -s conftest
$ac_exeext'
24858 { (case "(($ac_try" in
24859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24860 *) ac_try_echo=$ac_try;;
24862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24863 (eval "$ac_try") 2>&5
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; }; then
24867 { echo "$as_me:$LINENO: result: yes" >&5
24868 echo "${ECHO_T}yes" >&6; }
24869 ac_cv_lib_OPENH323="yes"
24872 echo "$as_me: failed program was:" >&5
24873 sed 's
/^
/|
/' conftest.$ac_ext >&5
24875 { echo "$as_me:$LINENO: result: no" >&5
24876 echo "${ECHO_T}no" >&6; }
24877 ac_cv_lib_OPENH323="no"
24882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24883 conftest$ac_exeext conftest.$ac_ext
24886 ac_cpp='$CPP $CPPFLAGS'
24887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24888 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24892 LIBS="${saved_libs}"
24893 CPPFLAGS="${saved_cppflags}"
24895 if test "${ac_cv_lib_OPENH323}" = "yes"; then
24896 if test "${OPENH323_LIBDIR}" != "" -a "${OPENH323_LIBDIR}" != "/usr/lib"; then
24897 OPENH323_LIB="-L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323}"
24899 OPENH323_LIB="-l${PLATFORM_OPENH323}"
24901 if test "${OPENH323_INCDIR}" != "" -a "${OPENH323_INCDIR}" != "/usr/include"; then
24902 OPENH323_INCLUDE="-I${OPENH323_INCDIR}"
24906 cat >>confdefs.h <<\_ACEOF
24907 #define HAVE_OPENH323 1
24914 if test "${USE_OPENH323}" != "no" -a "x${ac_cv_lib_OPENH323}" != "xyes" -a ! -z "${OPENH323_MANDATORY}"; then
24915 { echo "$as_me:$LINENO: ***" >&5
24916 echo "$as_me: ***" >&6;}
24917 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken." >&5
24918 echo "$as_me: *** The PWLIB installation on this system appears to be broken." >&6;}
24919 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
24920 echo "$as_me: *** Either correct the installation" >&or run configure;}
24921 { echo "$as_me:$LINENO: *** including --without-pwlib" >&5
24922 echo "$as_me: *** including --without-pwlib" >&6;}
24928 ac_cpp='$CXXCPP $CPPFLAGS'
24929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24930 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24934 if test "${USE_QT}" != "no"; then
24935 { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
24936 echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
24937 saved_libs="${LIBS}"
24938 saved_cppflags="${CPPFLAGS}"
24939 if test "x${QT_DIR}" != "x"; then
24940 LIBS="${LIBS} -L${QT_DIR}/lib"
24941 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
24943 LIBS="${LIBS} -lqt"
24945 cat >conftest.$ac_ext <<_ACEOF
24949 cat confdefs.h >>conftest.$ac_ext
24950 cat >>conftest.$ac_ext <<_ACEOF
24951 /* end confdefs.h. */
24952 #include <qt3/qdatetime.h>
24962 rm -f conftest.$ac_objext conftest$ac_exeext
24963 if { (ac_try="$ac_link"
24964 case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 *) ac_try_echo=$ac_try;;
24968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_link") 2>conftest.er1
24971 grep -v '^
*+' conftest.er1 >conftest.err
24973 cat conftest.err >&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } &&
24976 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
24977 { (case "(($ac_try" in
24978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24979 *) ac_try_echo=$ac_try;;
24981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24982 (eval "$ac_try") 2>&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); }; } &&
24986 { ac_try='test -s conftest
$ac_exeext'
24987 { (case "(($ac_try" in
24988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24989 *) ac_try_echo=$ac_try;;
24991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24992 (eval "$ac_try") 2>&5
24994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24995 (exit $ac_status); }; }; then
24996 ac_cv_lib_qt_qt_date="yes"
24998 echo "$as_me: failed program was:" >&5
24999 sed 's
/^
/|
/' conftest.$ac_ext >&5
25001 ac_cv_lib_qt_qt_date="no"
25004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25005 conftest$ac_exeext conftest.$ac_ext
25006 LIBS="${saved_libs}"
25007 CPPFLAGS="${saved_cppflags}"
25009 if test "${ac_cv_lib_qt_qt_date}" = "no"; then
25010 saved_libs="${LIBS}"
25011 saved_cppflags="${CPPFLAGS}"
25012 if test "x${QT_DIR}" != "x"; then
25013 LIBS="${LIBS} -L${QT_DIR}/lib"
25014 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
25016 LIBS="${LIBS} -lqt-mt"
25018 cat >conftest.$ac_ext <<_ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 #include <qt3/qdatetime.h>
25035 rm -f conftest.$ac_objext conftest$ac_exeext
25036 if { (ac_try="$ac_link"
25037 case "(($ac_try" in
25038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25039 *) ac_try_echo=$ac_try;;
25041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25042 (eval "$ac_link") 2>conftest.er1
25044 grep -v '^
*+' conftest.er1 >conftest.err
25046 cat conftest.err >&5
25047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25048 (exit $ac_status); } &&
25049 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
25050 { (case "(($ac_try" in
25051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;;
25054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25055 (eval "$ac_try") 2>&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; } &&
25059 { ac_try='test -s conftest
$ac_exeext'
25060 { (case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_try") 2>&5
25067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25068 (exit $ac_status); }; }; then
25069 ac_cv_lib_qt_qt_date="yes"
25071 echo "$as_me: failed program was:" >&5
25072 sed 's
/^
/|
/' conftest.$ac_ext >&5
25074 ac_cv_lib_qt_qt_date="no"
25077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25078 conftest$ac_exeext conftest.$ac_ext
25079 LIBS="${saved_libs}"
25080 CPPFLAGS="${saved_cppflags}"
25083 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
25084 { echo "$as_me:$LINENO: result: yes" >&5
25085 echo "${ECHO_T}yes" >&6; }
25087 { echo "$as_me:$LINENO: result: no" >&5
25088 echo "${ECHO_T}no" >&6; }
25091 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
25092 QT_LIB="-l${qtlib}"
25093 if test "${QT_DIR}" != ""; then
25094 QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
25095 QT_INCLUDE="-I${QT_DIR}/include"
25099 cat >>confdefs.h <<\_ACEOF
25103 if test -n "$ac_tool_prefix"; then
25104 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
25105 set dummy ${ac_tool_prefix}moc; ac_word=$2
25106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25108 if test "${ac_cv_path_QTMOC+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25113 ac_cv_path_QTMOC="$QTMOC" # Let the user override the test with a path.
25116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25117 for as_dir in $PATH
25120 test -z "$as_dir" && as_dir=.
25121 for ac_exec_ext in '' $ac_executable_extensions; do
25122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25123 ac_cv_path_QTMOC="$as_dir/$ac_word$ac_exec_ext"
25124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25134 QTMOC=$ac_cv_path_QTMOC
25135 if test -n "$QTMOC"; then
25136 { echo "$as_me:$LINENO: result: $QTMOC" >&5
25137 echo "${ECHO_T}$QTMOC" >&6; }
25139 { echo "$as_me:$LINENO: result: no" >&5
25140 echo "${ECHO_T}no" >&6; }
25145 if test -z "$ac_cv_path_QTMOC"; then
25147 # Extract the first word of "moc", so it can be a program name with args.
25148 set dummy moc; ac_word=$2
25149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
25150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
25151 if test "${ac_cv_path_ac_pt_QTMOC+set}" = set; then
25152 echo $ECHO_N "(cached) $ECHO_C" >&6
25154 case $ac_pt_QTMOC in
25156 ac_cv_path_ac_pt_QTMOC="$ac_pt_QTMOC" # Let the user override the test with a path.
25159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25160 for as_dir in $PATH
25163 test -z "$as_dir" && as_dir=.
25164 for ac_exec_ext in '' $ac_executable_extensions; do
25165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
25166 ac_cv_path_ac_pt_QTMOC="$as_dir/$ac_word$ac_exec_ext"
25167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
25177 ac_pt_QTMOC=$ac_cv_path_ac_pt_QTMOC
25178 if test -n "$ac_pt_QTMOC"; then
25179 { echo "$as_me:$LINENO: result: $ac_pt_QTMOC" >&5
25180 echo "${ECHO_T}$ac_pt_QTMOC" >&6; }
25182 { echo "$as_me:$LINENO: result: no" >&5
25183 echo "${ECHO_T}no" >&6; }
25186 if test "x$ac_pt_QTMOC" = x; then
25189 case $cross_compiling:$ac_tool_warned in
25191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
25192 whose name does not start with the host triplet. If you think this
25193 configuration is useful to you, please write to autoconf@gnu.org." >&5
25194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
25195 whose name does not start with the host triplet. If you think this
25196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
25197 ac_tool_warned=yes ;;
25202 QTMOC="$ac_cv_path_QTMOC"
25205 elif test ! -z "${QT_MANDATORY}";
25207 { echo "$as_me:$LINENO: ***" >&5
25208 echo "$as_me: ***" >&6;}
25209 { echo "$as_me:$LINENO: *** The Qt installation on this system appears to be broken." >&5
25210 echo "$as_me: *** The Qt installation on this system appears to be broken." >&6;}
25211 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
25212 echo "$as_me: *** Either correct the installation" >&or run configure;}
25213 { echo "$as_me:$LINENO: *** including --without-qt." >&5
25214 echo "$as_me: *** including --without-qt." >&6;}
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25222 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 if test "${USE_RADIUS}" != "no"; then
25229 if test "x${RADIUS_DIR}" != "x"; then
25230 if test -d ${RADIUS_DIR}/lib; then
25231 pbxlibdir="-L${RADIUS_DIR}/lib"
25233 pbxlibdir="-L${RADIUS_DIR}"
25236 { echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient-ng" >&5
25237 echo $ECHO_N "checking for rc_read_config in -lradiusclient-ng... $ECHO_C" >&6; }
25238 if test "${ac_cv_lib_radiusclient_ng_rc_read_config+set}" = set; then
25239 echo $ECHO_N "(cached) $ECHO_C" >&6
25241 ac_check_lib_save_LIBS=$LIBS
25242 LIBS="-lradiusclient-ng ${pbxlibdir} $LIBS"
25243 cat >conftest.$ac_ext <<_ACEOF
25246 cat confdefs.h >>conftest.$ac_ext
25247 cat >>conftest.$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25250 /* Override any GCC internal prototype to avoid an error.
25251 Use char because int might match the return type of a GCC
25252 builtin and then its argument prototype would still apply. */
25256 char rc_read_config ();
25260 return rc_read_config ();
25265 rm -f conftest.$ac_objext conftest$ac_exeext
25266 if { (ac_try="$ac_link"
25267 case "(($ac_try" in
25268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25269 *) ac_try_echo=$ac_try;;
25271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25272 (eval "$ac_link") 2>conftest.er1
25274 grep -v '^
*+' conftest.er1 >conftest.err
25276 cat conftest.err >&5
25277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25278 (exit $ac_status); } &&
25279 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25280 { (case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_try") 2>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; } &&
25289 { ac_try='test -s conftest
$ac_exeext'
25290 { (case "(($ac_try" in
25291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25292 *) ac_try_echo=$ac_try;;
25294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25295 (eval "$ac_try") 2>&5
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; }; then
25299 ac_cv_lib_radiusclient_ng_rc_read_config=yes
25301 echo "$as_me: failed program was:" >&5
25302 sed 's
/^
/|
/' conftest.$ac_ext >&5
25304 ac_cv_lib_radiusclient_ng_rc_read_config=no
25307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25308 conftest$ac_exeext conftest.$ac_ext
25309 LIBS=$ac_check_lib_save_LIBS
25311 { echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5
25312 echo "${ECHO_T}$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; }
25313 if test $ac_cv_lib_radiusclient_ng_rc_read_config = yes; then
25314 AST_RADIUS_FOUND=yes
25316 AST_RADIUS_FOUND=no
25320 if test "${AST_RADIUS_FOUND}" = "yes"; then
25321 RADIUS_LIB="-lradiusclient-ng "
25322 RADIUS_HEADER_FOUND="1"
25323 if test "x${RADIUS_DIR}" != "x"; then
25324 RADIUS_LIB="${pbxlibdir} ${RADIUS_LIB}"
25325 RADIUS_INCLUDE="-I${RADIUS_DIR}/include"
25326 if test "xradiusclient-ng.h" != "x" ; then
25327 as_ac_Header=`echo "ac_cv_header_${RADIUS_DIR}/include/radiusclient-ng.h" | $as_tr_sh`
25328 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25329 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
25330 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
25331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25332 echo $ECHO_N "(cached) $ECHO_C" >&6
25334 ac_res=`eval echo '${'$as_ac_Header'}'`
25335 { echo "$as_me:$LINENO: result: $ac_res" >&5
25336 echo "${ECHO_T}$ac_res" >&6; }
25338 # Is the header compilable?
25339 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h usability" >&5
25340 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h usability... $ECHO_C" >&6; }
25341 cat >conftest.$ac_ext <<_ACEOF
25344 cat confdefs.h >>conftest.$ac_ext
25345 cat >>conftest.$ac_ext <<_ACEOF
25346 /* end confdefs.h. */
25347 $ac_includes_default
25348 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
25350 rm -f conftest.$ac_objext
25351 if { (ac_try="$ac_compile"
25352 case "(($ac_try" in
25353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25354 *) ac_try_echo=$ac_try;;
25356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25357 (eval "$ac_compile") 2>conftest.er1
25359 grep -v '^
*+' conftest.er1 >conftest.err
25361 cat conftest.err >&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25365 { (case "(($ac_try" in
25366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25367 *) ac_try_echo=$ac_try;;
25369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25370 (eval "$ac_try") 2>&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); }; } &&
25374 { ac_try='test -s conftest.
$ac_objext'
25375 { (case "(($ac_try" in
25376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25377 *) ac_try_echo=$ac_try;;
25379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25380 (eval "$ac_try") 2>&5
25382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25383 (exit $ac_status); }; }; then
25384 ac_header_compiler=yes
25386 echo "$as_me: failed program was:" >&5
25387 sed 's
/^
/|
/' conftest.$ac_ext >&5
25389 ac_header_compiler=no
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25393 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25394 echo "${ECHO_T}$ac_header_compiler" >&6; }
25396 # Is the header present?
25397 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h presence" >&5
25398 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h presence... $ECHO_C" >&6; }
25399 cat >conftest.$ac_ext <<_ACEOF
25402 cat confdefs.h >>conftest.$ac_ext
25403 cat >>conftest.$ac_ext <<_ACEOF
25404 /* end confdefs.h. */
25405 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
25407 if { (ac_try="$ac_cpp conftest.$ac_ext"
25408 case "(($ac_try" in
25409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25410 *) ac_try_echo=$ac_try;;
25412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25415 grep -v '^
*+' conftest.er1 >conftest.err
25417 cat conftest.err >&5
25418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25419 (exit $ac_status); } >/dev/null; then
25420 if test -s conftest.err; then
25421 ac_cpp_err=$ac_c_preproc_warn_flag
25422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25429 if test -z "$ac_cpp_err"; then
25430 ac_header_preproc=yes
25432 echo "$as_me: failed program was:" >&5
25433 sed 's
/^
/|
/' conftest.$ac_ext >&5
25435 ac_header_preproc=no
25438 rm -f conftest.err conftest.$ac_ext
25439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25440 echo "${ECHO_T}$ac_header_preproc" >&6; }
25442 # So? What about this header?
25443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25445 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
25446 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25447 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result
" >&5
25448 echo "$as_me: WARNING
: ${RADIUS_DIR}/include
/radiusclient-ng.h
: proceeding with the compiler
's result" >&2;}
25449 ac_header_preproc=yes
25452 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&5
25453 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&2;}
25454 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&5
25455 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
25456 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&5
25457 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&2;}
25458 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
25459 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
25460 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result
" >&5
25461 echo "$as_me: WARNING
: ${RADIUS_DIR}/include
/radiusclient-ng.h
: proceeding with the preprocessor
's result" >&2;}
25462 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&5
25463 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
25467 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
25468 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
25469 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25470 echo $ECHO_N "(cached) $ECHO_C" >&6
25472 eval "$as_ac_Header=\$ac_header_preproc"
25474 ac_res=`eval echo '${'$as_ac_Header'}'`
25475 { echo "$as_me:$LINENO: result: $ac_res" >&5
25476 echo "${ECHO_T}$ac_res" >&6; }
25479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25480 RADIUS_HEADER_FOUND=1
25482 RADIUS_HEADER_FOUND=0
25488 if test "xradiusclient-ng.h" != "x" ; then
25489 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25490 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
25491 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
25492 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25493 echo $ECHO_N "(cached) $ECHO_C" >&6
25495 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
25496 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
25498 # Is the header compilable?
25499 { echo "$as_me:$LINENO: checking radiusclient-ng.h usability" >&5
25500 echo $ECHO_N "checking radiusclient-ng.h usability... $ECHO_C" >&6; }
25501 cat >conftest.$ac_ext <<_ACEOF
25504 cat confdefs.h >>conftest.$ac_ext
25505 cat >>conftest.$ac_ext <<_ACEOF
25506 /* end confdefs.h. */
25507 $ac_includes_default
25508 #include <radiusclient-ng.h>
25510 rm -f conftest.$ac_objext
25511 if { (ac_try="$ac_compile"
25512 case "(($ac_try" in
25513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25514 *) ac_try_echo=$ac_try;;
25516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25517 (eval "$ac_compile") 2>conftest.er1
25519 grep -v '^
*+' conftest.er1 >conftest.err
25521 cat conftest.err >&5
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); } &&
25524 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25525 { (case "(($ac_try" in
25526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25527 *) ac_try_echo=$ac_try;;
25529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25530 (eval "$ac_try") 2>&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; } &&
25534 { ac_try='test -s conftest.
$ac_objext'
25535 { (case "(($ac_try" in
25536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25537 *) ac_try_echo=$ac_try;;
25539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25540 (eval "$ac_try") 2>&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; }; then
25544 ac_header_compiler=yes
25546 echo "$as_me: failed program was:" >&5
25547 sed 's
/^
/|
/' conftest.$ac_ext >&5
25549 ac_header_compiler=no
25552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25554 echo "${ECHO_T}$ac_header_compiler" >&6; }
25556 # Is the header present?
25557 { echo "$as_me:$LINENO: checking radiusclient-ng.h presence" >&5
25558 echo $ECHO_N "checking radiusclient-ng.h presence... $ECHO_C" >&6; }
25559 cat >conftest.$ac_ext <<_ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25565 #include <radiusclient-ng.h>
25567 if { (ac_try="$ac_cpp conftest.$ac_ext"
25568 case "(($ac_try" in
25569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25570 *) ac_try_echo=$ac_try;;
25572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25573 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25575 grep -v '^
*+' conftest.er1 >conftest.err
25577 cat conftest.err >&5
25578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25579 (exit $ac_status); } >/dev/null; then
25580 if test -s conftest.err; then
25581 ac_cpp_err=$ac_c_preproc_warn_flag
25582 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25589 if test -z "$ac_cpp_err"; then
25590 ac_header_preproc=yes
25592 echo "$as_me: failed program was:" >&5
25593 sed 's
/^
/|
/' conftest.$ac_ext >&5
25595 ac_header_preproc=no
25598 rm -f conftest.err conftest.$ac_ext
25599 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25600 echo "${ECHO_T}$ac_header_preproc" >&6; }
25602 # So? What about this header?
25603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25605 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
25606 echo "$as_me: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25607 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the compiler's result
" >&5
25608 echo "$as_me: WARNING
: radiusclient-ng.h
: proceeding with the compiler
's result" >&2;}
25609 ac_header_preproc=yes
25612 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: present but cannot be compiled" >&5
25613 echo "$as_me: WARNING: radiusclient-ng.h: present but cannot be compiled" >&2;}
25614 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&5
25615 echo "$as_me: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
25616 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&5
25617 echo "$as_me: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&2;}
25618 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
25619 echo "$as_me: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
25620 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result
" >&5
25621 echo "$as_me: WARNING
: radiusclient-ng.h
: proceeding with the preprocessor
's result" >&2;}
25622 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5
25623 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
25627 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
25628 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
25629 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25632 ac_cv_header_radiusclient_ng_h=$ac_header_preproc
25634 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
25635 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
25638 if test $ac_cv_header_radiusclient_ng_h = yes; then
25639 RADIUS_HEADER_FOUND=1
25641 RADIUS_HEADER_FOUND=0
25647 if test "x${RADIUS_HEADER_FOUND}" = "x0" ; then
25648 if test ! -z "${RADIUS_MANDATORY}" ;
25650 { echo "$as_me:$LINENO: ***" >&5
25651 echo "$as_me: ***" >&6;}
25652 { echo "$as_me:$LINENO: *** It appears that you do not have the radiusclient-ng development package installed." >&5
25653 echo "$as_me: *** It appears that you do not have the radiusclient-ng development package installed." >&6;}
25654 { echo "$as_me:$LINENO: *** Please install it to include ${RADIUS_DESCRIP} support" >&5
25655 echo "$as_me: *** Please install it to include ${RADIUS_DESCRIP} support" >&or re-run configure;}
25656 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
25657 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
25666 cat >>confdefs.h <<_ACEOF
25667 #define HAVE_RADIUS 1
25671 elif test ! -z "${RADIUS_MANDATORY}";
25673 { echo "$as_me:$LINENO: ***" >&5
25674 echo "$as_me: ***" >&6;}
25675 { echo "$as_me:$LINENO: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&5
25676 echo "$as_me: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&6;}
25677 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
25678 echo "$as_me: *** Either correct the installation" >&or run configure;}
25679 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
25680 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
25687 if test "${USE_SPEEX}" != "no"; then
25689 if test "x${SPEEX_DIR}" != "x"; then
25690 if test -d ${SPEEX_DIR}/lib; then
25691 pbxlibdir="-L${SPEEX_DIR}/lib"
25693 pbxlibdir="-L${SPEEX_DIR}"
25696 { echo "$as_me:$LINENO: checking for speex_encode in -lspeex" >&5
25697 echo $ECHO_N "checking for speex_encode in -lspeex... $ECHO_C" >&6; }
25698 if test "${ac_cv_lib_speex_speex_encode+set}" = set; then
25699 echo $ECHO_N "(cached) $ECHO_C" >&6
25701 ac_check_lib_save_LIBS=$LIBS
25702 LIBS="-lspeex ${pbxlibdir} -lm $LIBS"
25703 cat >conftest.$ac_ext <<_ACEOF
25706 cat confdefs.h >>conftest.$ac_ext
25707 cat >>conftest.$ac_ext <<_ACEOF
25708 /* end confdefs.h. */
25710 /* Override any GCC internal prototype to avoid an error.
25711 Use char because int might match the return type of a GCC
25712 builtin and then its argument prototype would still apply. */
25716 char speex_encode ();
25720 return speex_encode ();
25725 rm -f conftest.$ac_objext conftest$ac_exeext
25726 if { (ac_try="$ac_link"
25727 case "(($ac_try" in
25728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25729 *) ac_try_echo=$ac_try;;
25731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25732 (eval "$ac_link") 2>conftest.er1
25734 grep -v '^
*+' conftest.er1 >conftest.err
25736 cat conftest.err >&5
25737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25738 (exit $ac_status); } &&
25739 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25740 { (case "(($ac_try" in
25741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25742 *) ac_try_echo=$ac_try;;
25744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25745 (eval "$ac_try") 2>&5
25747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25748 (exit $ac_status); }; } &&
25749 { ac_try='test -s conftest
$ac_exeext'
25750 { (case "(($ac_try" in
25751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25752 *) ac_try_echo=$ac_try;;
25754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25755 (eval "$ac_try") 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; }; then
25759 ac_cv_lib_speex_speex_encode=yes
25761 echo "$as_me: failed program was:" >&5
25762 sed 's
/^
/|
/' conftest.$ac_ext >&5
25764 ac_cv_lib_speex_speex_encode=no
25767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25768 conftest$ac_exeext conftest.$ac_ext
25769 LIBS=$ac_check_lib_save_LIBS
25771 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode" >&5
25772 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode" >&6; }
25773 if test $ac_cv_lib_speex_speex_encode = yes; then
25774 AST_SPEEX_FOUND=yes
25780 if test "${AST_SPEEX_FOUND}" = "yes"; then
25781 SPEEX_LIB="-lspeex -lm"
25782 SPEEX_HEADER_FOUND="1"
25783 if test "x${SPEEX_DIR}" != "x"; then
25784 SPEEX_LIB="${pbxlibdir} ${SPEEX_LIB}"
25785 SPEEX_INCLUDE="-I${SPEEX_DIR}/include"
25786 if test "xspeex/speex.h" != "x" ; then
25787 as_ac_Header=`echo "ac_cv_header_${SPEEX_DIR}/include/speex/speex.h" | $as_tr_sh`
25788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25789 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
25790 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
25791 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25792 echo $ECHO_N "(cached) $ECHO_C" >&6
25794 ac_res=`eval echo '${'$as_ac_Header'}'`
25795 { echo "$as_me:$LINENO: result: $ac_res" >&5
25796 echo "${ECHO_T}$ac_res" >&6; }
25798 # Is the header compilable?
25799 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h usability" >&5
25800 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h usability... $ECHO_C" >&6; }
25801 cat >conftest.$ac_ext <<_ACEOF
25804 cat confdefs.h >>conftest.$ac_ext
25805 cat >>conftest.$ac_ext <<_ACEOF
25806 /* end confdefs.h. */
25807 $ac_includes_default
25808 #include <${SPEEX_DIR}/include/speex/speex.h>
25810 rm -f conftest.$ac_objext
25811 if { (ac_try="$ac_compile"
25812 case "(($ac_try" in
25813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25814 *) ac_try_echo=$ac_try;;
25816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25817 (eval "$ac_compile") 2>conftest.er1
25819 grep -v '^
*+' conftest.er1 >conftest.err
25821 cat conftest.err >&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } &&
25824 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25825 { (case "(($ac_try" in
25826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25827 *) ac_try_echo=$ac_try;;
25829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25830 (eval "$ac_try") 2>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; } &&
25834 { ac_try='test -s conftest.
$ac_objext'
25835 { (case "(($ac_try" in
25836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25837 *) ac_try_echo=$ac_try;;
25839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25840 (eval "$ac_try") 2>&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); }; }; then
25844 ac_header_compiler=yes
25846 echo "$as_me: failed program was:" >&5
25847 sed 's
/^
/|
/' conftest.$ac_ext >&5
25849 ac_header_compiler=no
25852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25853 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25854 echo "${ECHO_T}$ac_header_compiler" >&6; }
25856 # Is the header present?
25857 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h presence" >&5
25858 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h presence... $ECHO_C" >&6; }
25859 cat >conftest.$ac_ext <<_ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 #include <${SPEEX_DIR}/include/speex/speex.h>
25867 if { (ac_try="$ac_cpp conftest.$ac_ext"
25868 case "(($ac_try" in
25869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25870 *) ac_try_echo=$ac_try;;
25872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25873 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25875 grep -v '^
*+' conftest.er1 >conftest.err
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } >/dev/null; then
25880 if test -s conftest.err; then
25881 ac_cpp_err=$ac_c_preproc_warn_flag
25882 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
25889 if test -z "$ac_cpp_err"; then
25890 ac_header_preproc=yes
25892 echo "$as_me: failed program was:" >&5
25893 sed 's
/^
/|
/' conftest.$ac_ext >&5
25895 ac_header_preproc=no
25898 rm -f conftest.err conftest.$ac_ext
25899 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25900 echo "${ECHO_T}$ac_header_preproc" >&6; }
25902 # So? What about this header?
25903 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25905 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25906 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25907 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result
" >&5
25908 echo "$as_me: WARNING
: ${SPEEX_DIR}/include
/speex
/speex.h
: proceeding with the compiler
's result" >&2;}
25909 ac_header_preproc=yes
25912 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&5
25913 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&2;}
25914 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&5
25915 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&2;}
25916 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&5
25917 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&2;}
25918 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
25919 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25920 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result
" >&5
25921 echo "$as_me: WARNING
: ${SPEEX_DIR}/include
/speex
/speex.h
: proceeding with the preprocessor
's result" >&2;}
25922 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&5
25923 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&2;}
25927 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
25928 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
25929 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25930 echo $ECHO_N "(cached) $ECHO_C" >&6
25932 eval "$as_ac_Header=\$ac_header_preproc"
25934 ac_res=`eval echo '${'$as_ac_Header'}'`
25935 { echo "$as_me:$LINENO: result: $ac_res" >&5
25936 echo "${ECHO_T}$ac_res" >&6; }
25939 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25940 SPEEX_HEADER_FOUND=1
25942 SPEEX_HEADER_FOUND=0
25948 if test "xspeex/speex.h" != "x" ; then
25949 if test "${ac_cv_header_speex_speex_h+set}" = set; then
25950 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
25951 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
25952 if test "${ac_cv_header_speex_speex_h+set}" = set; then
25953 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
25956 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
25958 # Is the header compilable?
25959 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
25960 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
25961 cat >conftest.$ac_ext <<_ACEOF
25964 cat confdefs.h >>conftest.$ac_ext
25965 cat >>conftest.$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25967 $ac_includes_default
25968 #include <speex/speex.h>
25970 rm -f conftest.$ac_objext
25971 if { (ac_try="$ac_compile"
25972 case "(($ac_try" in
25973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25974 *) ac_try_echo=$ac_try;;
25976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25977 (eval "$ac_compile") 2>conftest.er1
25979 grep -v '^
*+' conftest.er1 >conftest.err
25981 cat conftest.err >&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); } &&
25984 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
25985 { (case "(($ac_try" in
25986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25987 *) ac_try_echo=$ac_try;;
25989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25990 (eval "$ac_try") 2>&5
25992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25993 (exit $ac_status); }; } &&
25994 { ac_try='test -s conftest.
$ac_objext'
25995 { (case "(($ac_try" in
25996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25997 *) ac_try_echo=$ac_try;;
25999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26000 (eval "$ac_try") 2>&5
26002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26003 (exit $ac_status); }; }; then
26004 ac_header_compiler=yes
26006 echo "$as_me: failed program was:" >&5
26007 sed 's
/^
/|
/' conftest.$ac_ext >&5
26009 ac_header_compiler=no
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26014 echo "${ECHO_T}$ac_header_compiler" >&6; }
26016 # Is the header present?
26017 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
26018 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
26019 cat >conftest.$ac_ext <<_ACEOF
26022 cat confdefs.h >>conftest.$ac_ext
26023 cat >>conftest.$ac_ext <<_ACEOF
26024 /* end confdefs.h. */
26025 #include <speex/speex.h>
26027 if { (ac_try="$ac_cpp conftest.$ac_ext"
26028 case "(($ac_try" in
26029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26030 *) ac_try_echo=$ac_try;;
26032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26035 grep -v '^
*+' conftest.er1 >conftest.err
26037 cat conftest.err >&5
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); } >/dev/null; then
26040 if test -s conftest.err; then
26041 ac_cpp_err=$ac_c_preproc_warn_flag
26042 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26049 if test -z "$ac_cpp_err"; then
26050 ac_header_preproc=yes
26052 echo "$as_me: failed program was:" >&5
26053 sed 's
/^
/|
/' conftest.$ac_ext >&5
26055 ac_header_preproc=no
26058 rm -f conftest.err conftest.$ac_ext
26059 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26060 echo "${ECHO_T}$ac_header_preproc" >&6; }
26062 # So? What about this header?
26063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26065 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
26066 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26067 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result
" >&5
26068 echo "$as_me: WARNING
: speex
/speex.h
: proceeding with the compiler
's result" >&2;}
26069 ac_header_preproc=yes
26072 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
26073 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
26074 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
26075 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
26076 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
26077 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
26078 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
26079 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
26080 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result
" >&5
26081 echo "$as_me: WARNING
: speex
/speex.h
: proceeding with the preprocessor
's result" >&2;}
26082 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
26083 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
26087 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
26088 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
26089 if test "${ac_cv_header_speex_speex_h+set}" = set; then
26090 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 ac_cv_header_speex_speex_h=$ac_header_preproc
26094 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
26095 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
26098 if test $ac_cv_header_speex_speex_h = yes; then
26099 SPEEX_HEADER_FOUND=1
26101 SPEEX_HEADER_FOUND=0
26107 if test "x${SPEEX_HEADER_FOUND}" = "x0" ; then
26108 if test ! -z "${SPEEX_MANDATORY}" ;
26110 { echo "$as_me:$LINENO: ***" >&5
26111 echo "$as_me: ***" >&6;}
26112 { echo "$as_me:$LINENO: *** It appears that you do not have the speex development package installed." >&5
26113 echo "$as_me: *** It appears that you do not have the speex development package installed." >&6;}
26114 { echo "$as_me:$LINENO: *** Please install it to include ${SPEEX_DESCRIP} support" >&5
26115 echo "$as_me: *** Please install it to include ${SPEEX_DESCRIP} support" >&or re-run configure;}
26116 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
26117 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
26126 cat >>confdefs.h <<_ACEOF
26127 #define HAVE_SPEEX 1
26131 elif test ! -z "${SPEEX_MANDATORY}";
26133 { echo "$as_me:$LINENO: ***" >&5
26134 echo "$as_me: ***" >&6;}
26135 { echo "$as_me:$LINENO: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&5
26136 echo "$as_me: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&6;}
26137 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
26138 echo "$as_me: *** Either correct the installation" >&or run configure;}
26139 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
26140 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
26147 if test "${USE_SQLITE}" != "no"; then
26149 if test "x${SQLITE_DIR}" != "x"; then
26150 if test -d ${SQLITE_DIR}/lib; then
26151 pbxlibdir="-L${SQLITE_DIR}/lib"
26153 pbxlibdir="-L${SQLITE_DIR}"
26156 { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
26157 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
26158 if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
26159 echo $ECHO_N "(cached) $ECHO_C" >&6
26161 ac_check_lib_save_LIBS=$LIBS
26162 LIBS="-lsqlite ${pbxlibdir} $LIBS"
26163 cat >conftest.$ac_ext <<_ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26170 /* Override any GCC internal prototype to avoid an error.
26171 Use char because int might match the return type of a GCC
26172 builtin and then its argument prototype would still apply. */
26176 char sqlite_exec ();
26180 return sqlite_exec ();
26185 rm -f conftest.$ac_objext conftest$ac_exeext
26186 if { (ac_try="$ac_link"
26187 case "(($ac_try" in
26188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26189 *) ac_try_echo=$ac_try;;
26191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26192 (eval "$ac_link") 2>conftest.er1
26194 grep -v '^
*+' conftest.er1 >conftest.err
26196 cat conftest.err >&5
26197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26198 (exit $ac_status); } &&
26199 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26200 { (case "(($ac_try" in
26201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26202 *) ac_try_echo=$ac_try;;
26204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26205 (eval "$ac_try") 2>&5
26207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26208 (exit $ac_status); }; } &&
26209 { ac_try='test -s conftest
$ac_exeext'
26210 { (case "(($ac_try" in
26211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26212 *) ac_try_echo=$ac_try;;
26214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26215 (eval "$ac_try") 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_lib_sqlite_sqlite_exec=yes
26221 echo "$as_me: failed program was:" >&5
26222 sed 's
/^
/|
/' conftest.$ac_ext >&5
26224 ac_cv_lib_sqlite_sqlite_exec=no
26227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26228 conftest$ac_exeext conftest.$ac_ext
26229 LIBS=$ac_check_lib_save_LIBS
26231 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
26232 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
26233 if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
26234 AST_SQLITE_FOUND=yes
26236 AST_SQLITE_FOUND=no
26240 if test "${AST_SQLITE_FOUND}" = "yes"; then
26241 SQLITE_LIB="-lsqlite "
26242 SQLITE_HEADER_FOUND="1"
26243 if test "x${SQLITE_DIR}" != "x"; then
26244 SQLITE_LIB="${pbxlibdir} ${SQLITE_LIB}"
26245 SQLITE_INCLUDE="-I${SQLITE_DIR}/include"
26246 if test "xsqlite.h" != "x" ; then
26247 as_ac_Header=`echo "ac_cv_header_${SQLITE_DIR}/include/sqlite.h" | $as_tr_sh`
26248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26249 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
26250 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
26251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26254 ac_res=`eval echo '${'$as_ac_Header'}'`
26255 { echo "$as_me:$LINENO: result: $ac_res" >&5
26256 echo "${ECHO_T}$ac_res" >&6; }
26258 # Is the header compilable?
26259 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h usability" >&5
26260 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h usability... $ECHO_C" >&6; }
26261 cat >conftest.$ac_ext <<_ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267 $ac_includes_default
26268 #include <${SQLITE_DIR}/include/sqlite.h>
26270 rm -f conftest.$ac_objext
26271 if { (ac_try="$ac_compile"
26272 case "(($ac_try" in
26273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26274 *) ac_try_echo=$ac_try;;
26276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26277 (eval "$ac_compile") 2>conftest.er1
26279 grep -v '^
*+' conftest.er1 >conftest.err
26281 cat conftest.err >&5
26282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26283 (exit $ac_status); } &&
26284 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26285 { (case "(($ac_try" in
26286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26287 *) ac_try_echo=$ac_try;;
26289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26290 (eval "$ac_try") 2>&5
26292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26293 (exit $ac_status); }; } &&
26294 { ac_try='test -s conftest.
$ac_objext'
26295 { (case "(($ac_try" in
26296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26297 *) ac_try_echo=$ac_try;;
26299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26300 (eval "$ac_try") 2>&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); }; }; then
26304 ac_header_compiler=yes
26306 echo "$as_me: failed program was:" >&5
26307 sed 's
/^
/|
/' conftest.$ac_ext >&5
26309 ac_header_compiler=no
26312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26313 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26314 echo "${ECHO_T}$ac_header_compiler" >&6; }
26316 # Is the header present?
26317 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h presence" >&5
26318 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h presence... $ECHO_C" >&6; }
26319 cat >conftest.$ac_ext <<_ACEOF
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26325 #include <${SQLITE_DIR}/include/sqlite.h>
26327 if { (ac_try="$ac_cpp conftest.$ac_ext"
26328 case "(($ac_try" in
26329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26330 *) ac_try_echo=$ac_try;;
26332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26333 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26335 grep -v '^
*+' conftest.er1 >conftest.err
26337 cat conftest.err >&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } >/dev/null; then
26340 if test -s conftest.err; then
26341 ac_cpp_err=$ac_c_preproc_warn_flag
26342 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26349 if test -z "$ac_cpp_err"; then
26350 ac_header_preproc=yes
26352 echo "$as_me: failed program was:" >&5
26353 sed 's
/^
/|
/' conftest.$ac_ext >&5
26355 ac_header_preproc=no
26358 rm -f conftest.err conftest.$ac_ext
26359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26360 echo "${ECHO_T}$ac_header_preproc" >&6; }
26362 # So? What about this header?
26363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26365 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
26366 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26367 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result
" >&5
26368 echo "$as_me: WARNING
: ${SQLITE_DIR}/include
/sqlite.h
: proceeding with the compiler
's result" >&2;}
26369 ac_header_preproc=yes
26372 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&5
26373 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&2;}
26374 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&5
26375 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&2;}
26376 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&5
26377 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&2;}
26378 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
26379 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
26380 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result
" >&5
26381 echo "$as_me: WARNING
: ${SQLITE_DIR}/include
/sqlite.h
: proceeding with the preprocessor
's result" >&2;}
26382 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&5
26383 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&2;}
26387 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
26388 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
26389 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26390 echo $ECHO_N "(cached) $ECHO_C" >&6
26392 eval "$as_ac_Header=\$ac_header_preproc"
26394 ac_res=`eval echo '${'$as_ac_Header'}'`
26395 { echo "$as_me:$LINENO: result: $ac_res" >&5
26396 echo "${ECHO_T}$ac_res" >&6; }
26399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26400 SQLITE_HEADER_FOUND=1
26402 SQLITE_HEADER_FOUND=0
26408 if test "xsqlite.h" != "x" ; then
26409 if test "${ac_cv_header_sqlite_h+set}" = set; then
26410 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
26411 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
26412 if test "${ac_cv_header_sqlite_h+set}" = set; then
26413 echo $ECHO_N "(cached) $ECHO_C" >&6
26415 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
26416 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
26418 # Is the header compilable?
26419 { echo "$as_me:$LINENO: checking sqlite.h usability" >&5
26420 echo $ECHO_N "checking sqlite.h usability... $ECHO_C" >&6; }
26421 cat >conftest.$ac_ext <<_ACEOF
26424 cat confdefs.h >>conftest.$ac_ext
26425 cat >>conftest.$ac_ext <<_ACEOF
26426 /* end confdefs.h. */
26427 $ac_includes_default
26428 #include <sqlite.h>
26430 rm -f conftest.$ac_objext
26431 if { (ac_try="$ac_compile"
26432 case "(($ac_try" in
26433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26434 *) ac_try_echo=$ac_try;;
26436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26437 (eval "$ac_compile") 2>conftest.er1
26439 grep -v '^
*+' conftest.er1 >conftest.err
26441 cat conftest.err >&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); } &&
26444 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26445 { (case "(($ac_try" in
26446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26447 *) ac_try_echo=$ac_try;;
26449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26450 (eval "$ac_try") 2>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); }; } &&
26454 { ac_try='test -s conftest.
$ac_objext'
26455 { (case "(($ac_try" in
26456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26457 *) ac_try_echo=$ac_try;;
26459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26460 (eval "$ac_try") 2>&5
26462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26463 (exit $ac_status); }; }; then
26464 ac_header_compiler=yes
26466 echo "$as_me: failed program was:" >&5
26467 sed 's
/^
/|
/' conftest.$ac_ext >&5
26469 ac_header_compiler=no
26472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26473 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26474 echo "${ECHO_T}$ac_header_compiler" >&6; }
26476 # Is the header present?
26477 { echo "$as_me:$LINENO: checking sqlite.h presence" >&5
26478 echo $ECHO_N "checking sqlite.h presence... $ECHO_C" >&6; }
26479 cat >conftest.$ac_ext <<_ACEOF
26482 cat confdefs.h >>conftest.$ac_ext
26483 cat >>conftest.$ac_ext <<_ACEOF
26484 /* end confdefs.h. */
26485 #include <sqlite.h>
26487 if { (ac_try="$ac_cpp conftest.$ac_ext"
26488 case "(($ac_try" in
26489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26490 *) ac_try_echo=$ac_try;;
26492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26495 grep -v '^
*+' conftest.er1 >conftest.err
26497 cat conftest.err >&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); } >/dev/null; then
26500 if test -s conftest.err; then
26501 ac_cpp_err=$ac_c_preproc_warn_flag
26502 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26509 if test -z "$ac_cpp_err"; then
26510 ac_header_preproc=yes
26512 echo "$as_me: failed program was:" >&5
26513 sed 's
/^
/|
/' conftest.$ac_ext >&5
26515 ac_header_preproc=no
26518 rm -f conftest.err conftest.$ac_ext
26519 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26520 echo "${ECHO_T}$ac_header_preproc" >&6; }
26522 # So? What about this header?
26523 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26525 { echo "$as_me:$LINENO: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
26526 echo "$as_me: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26527 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the compiler's result
" >&5
26528 echo "$as_me: WARNING
: sqlite.h
: proceeding with the compiler
's result" >&2;}
26529 ac_header_preproc=yes
26532 { echo "$as_me:$LINENO: WARNING: sqlite.h: present but cannot be compiled" >&5
26533 echo "$as_me: WARNING: sqlite.h: present but cannot be compiled" >&2;}
26534 { echo "$as_me:$LINENO: WARNING: sqlite.h: check for missing prerequisite headers?" >&5
26535 echo "$as_me: WARNING: sqlite.h: check for missing prerequisite headers?" >&2;}
26536 { echo "$as_me:$LINENO: WARNING: sqlite.h: see the Autoconf documentation" >&5
26537 echo "$as_me: WARNING: sqlite.h: see the Autoconf documentation" >&2;}
26538 { echo "$as_me:$LINENO: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
26539 echo "$as_me: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
26540 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the preprocessor's result
" >&5
26541 echo "$as_me: WARNING
: sqlite.h
: proceeding with the preprocessor
's result" >&2;}
26542 { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5
26543 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;}
26547 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
26548 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
26549 if test "${ac_cv_header_sqlite_h+set}" = set; then
26550 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 ac_cv_header_sqlite_h=$ac_header_preproc
26554 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
26555 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
26558 if test $ac_cv_header_sqlite_h = yes; then
26559 SQLITE_HEADER_FOUND=1
26561 SQLITE_HEADER_FOUND=0
26567 if test "x${SQLITE_HEADER_FOUND}" = "x0" ; then
26568 if test ! -z "${SQLITE_MANDATORY}" ;
26570 { echo "$as_me:$LINENO: ***" >&5
26571 echo "$as_me: ***" >&6;}
26572 { echo "$as_me:$LINENO: *** It appears that you do not have the sqlite development package installed." >&5
26573 echo "$as_me: *** It appears that you do not have the sqlite development package installed." >&6;}
26574 { echo "$as_me:$LINENO: *** Please install it to include ${SQLITE_DESCRIP} support" >&5
26575 echo "$as_me: *** Please install it to include ${SQLITE_DESCRIP} support" >&or re-run configure;}
26576 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
26577 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26586 cat >>confdefs.h <<_ACEOF
26587 #define HAVE_SQLITE 1
26591 elif test ! -z "${SQLITE_MANDATORY}";
26593 { echo "$as_me:$LINENO: ***" >&5
26594 echo "$as_me: ***" >&6;}
26595 { echo "$as_me:$LINENO: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&5
26596 echo "$as_me: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&6;}
26597 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
26598 echo "$as_me: *** Either correct the installation" >&or run configure;}
26599 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
26600 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
26607 if test "${USE_OPENSSL}" != "no"; then
26609 if test "x${OPENSSL_DIR}" != "x"; then
26610 if test -d ${OPENSSL_DIR}/lib; then
26611 pbxlibdir="-L${OPENSSL_DIR}/lib"
26613 pbxlibdir="-L${OPENSSL_DIR}"
26616 { echo "$as_me:$LINENO: checking for ssl2_connect in -lssl" >&5
26617 echo $ECHO_N "checking for ssl2_connect in -lssl... $ECHO_C" >&6; }
26618 if test "${ac_cv_lib_ssl_ssl2_connect+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 ac_check_lib_save_LIBS=$LIBS
26622 LIBS="-lssl ${pbxlibdir} -lcrypto $LIBS"
26623 cat >conftest.$ac_ext <<_ACEOF
26626 cat confdefs.h >>conftest.$ac_ext
26627 cat >>conftest.$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26630 /* Override any GCC internal prototype to avoid an error.
26631 Use char because int might match the return type of a GCC
26632 builtin and then its argument prototype would still apply. */
26636 char ssl2_connect ();
26640 return ssl2_connect ();
26645 rm -f conftest.$ac_objext conftest$ac_exeext
26646 if { (ac_try="$ac_link"
26647 case "(($ac_try" in
26648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26649 *) ac_try_echo=$ac_try;;
26651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26652 (eval "$ac_link") 2>conftest.er1
26654 grep -v '^
*+' conftest.er1 >conftest.err
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26660 { (case "(($ac_try" in
26661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26662 *) ac_try_echo=$ac_try;;
26664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26665 (eval "$ac_try") 2>&5
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try='test -s conftest
$ac_exeext'
26670 { (case "(($ac_try" in
26671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26672 *) ac_try_echo=$ac_try;;
26674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26675 (eval "$ac_try") 2>&5
26677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26678 (exit $ac_status); }; }; then
26679 ac_cv_lib_ssl_ssl2_connect=yes
26681 echo "$as_me: failed program was:" >&5
26682 sed 's
/^
/|
/' conftest.$ac_ext >&5
26684 ac_cv_lib_ssl_ssl2_connect=no
26687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26688 conftest$ac_exeext conftest.$ac_ext
26689 LIBS=$ac_check_lib_save_LIBS
26691 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_connect" >&5
26692 echo "${ECHO_T}$ac_cv_lib_ssl_ssl2_connect" >&6; }
26693 if test $ac_cv_lib_ssl_ssl2_connect = yes; then
26694 AST_OPENSSL_FOUND=yes
26696 AST_OPENSSL_FOUND=no
26700 if test "${AST_OPENSSL_FOUND}" = "yes"; then
26701 OPENSSL_LIB="-lssl -lcrypto"
26702 OPENSSL_HEADER_FOUND="1"
26703 if test "x${OPENSSL_DIR}" != "x"; then
26704 OPENSSL_LIB="${pbxlibdir} ${OPENSSL_LIB}"
26705 OPENSSL_INCLUDE="-I${OPENSSL_DIR}/include"
26706 if test "xopenssl/ssl.h" != "x" ; then
26707 as_ac_Header=`echo "ac_cv_header_${OPENSSL_DIR}/include/openssl/ssl.h" | $as_tr_sh`
26708 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26709 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
26710 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
26711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26714 ac_res=`eval echo '${'$as_ac_Header'}'`
26715 { echo "$as_me:$LINENO: result: $ac_res" >&5
26716 echo "${ECHO_T}$ac_res" >&6; }
26718 # Is the header compilable?
26719 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h usability" >&5
26720 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h usability... $ECHO_C" >&6; }
26721 cat >conftest.$ac_ext <<_ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 $ac_includes_default
26728 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
26730 rm -f conftest.$ac_objext
26731 if { (ac_try="$ac_compile"
26732 case "(($ac_try" in
26733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26734 *) ac_try_echo=$ac_try;;
26736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26737 (eval "$ac_compile") 2>conftest.er1
26739 grep -v '^
*+' conftest.er1 >conftest.err
26741 cat conftest.err >&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } &&
26744 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26745 { (case "(($ac_try" in
26746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26747 *) ac_try_echo=$ac_try;;
26749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26750 (eval "$ac_try") 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; } &&
26754 { ac_try='test -s conftest.
$ac_objext'
26755 { (case "(($ac_try" in
26756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26757 *) ac_try_echo=$ac_try;;
26759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26760 (eval "$ac_try") 2>&5
26762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26763 (exit $ac_status); }; }; then
26764 ac_header_compiler=yes
26766 echo "$as_me: failed program was:" >&5
26767 sed 's
/^
/|
/' conftest.$ac_ext >&5
26769 ac_header_compiler=no
26772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26773 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26774 echo "${ECHO_T}$ac_header_compiler" >&6; }
26776 # Is the header present?
26777 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h presence" >&5
26778 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h presence... $ECHO_C" >&6; }
26779 cat >conftest.$ac_ext <<_ACEOF
26782 cat confdefs.h >>conftest.$ac_ext
26783 cat >>conftest.$ac_ext <<_ACEOF
26784 /* end confdefs.h. */
26785 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
26787 if { (ac_try="$ac_cpp conftest.$ac_ext"
26788 case "(($ac_try" in
26789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26790 *) ac_try_echo=$ac_try;;
26792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26793 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26795 grep -v '^
*+' conftest.er1 >conftest.err
26797 cat conftest.err >&5
26798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26799 (exit $ac_status); } >/dev/null; then
26800 if test -s conftest.err; then
26801 ac_cpp_err=$ac_c_preproc_warn_flag
26802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26809 if test -z "$ac_cpp_err"; then
26810 ac_header_preproc=yes
26812 echo "$as_me: failed program was:" >&5
26813 sed 's
/^
/|
/' conftest.$ac_ext >&5
26815 ac_header_preproc=no
26818 rm -f conftest.err conftest.$ac_ext
26819 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26820 echo "${ECHO_T}$ac_header_preproc" >&6; }
26822 # So? What about this header?
26823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26825 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26826 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26827 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result
" >&5
26828 echo "$as_me: WARNING
: ${OPENSSL_DIR}/include
/openssl
/ssl.h
: proceeding with the compiler
's result" >&2;}
26829 ac_header_preproc=yes
26832 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&5
26833 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&2;}
26834 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&5
26835 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&2;}
26836 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&5
26837 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&2;}
26838 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
26839 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
26840 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result
" >&5
26841 echo "$as_me: WARNING
: ${OPENSSL_DIR}/include
/openssl
/ssl.h
: proceeding with the preprocessor
's result" >&2;}
26842 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&5
26843 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
26847 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
26848 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
26849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26850 echo $ECHO_N "(cached) $ECHO_C" >&6
26852 eval "$as_ac_Header=\$ac_header_preproc"
26854 ac_res=`eval echo '${'$as_ac_Header'}'`
26855 { echo "$as_me:$LINENO: result: $ac_res" >&5
26856 echo "${ECHO_T}$ac_res" >&6; }
26859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26860 OPENSSL_HEADER_FOUND=1
26862 OPENSSL_HEADER_FOUND=0
26868 if test "xopenssl/ssl.h" != "x" ; then
26869 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
26870 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
26871 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
26872 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
26873 echo $ECHO_N "(cached) $ECHO_C" >&6
26875 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
26876 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
26878 # Is the header compilable?
26879 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
26880 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
26881 cat >conftest.$ac_ext <<_ACEOF
26884 cat confdefs.h >>conftest.$ac_ext
26885 cat >>conftest.$ac_ext <<_ACEOF
26886 /* end confdefs.h. */
26887 $ac_includes_default
26888 #include <openssl/ssl.h>
26890 rm -f conftest.$ac_objext
26891 if { (ac_try="$ac_compile"
26892 case "(($ac_try" in
26893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26894 *) ac_try_echo=$ac_try;;
26896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26897 (eval "$ac_compile") 2>conftest.er1
26899 grep -v '^
*+' conftest.er1 >conftest.err
26901 cat conftest.err >&5
26902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26903 (exit $ac_status); } &&
26904 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
26905 { (case "(($ac_try" in
26906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26907 *) ac_try_echo=$ac_try;;
26909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26910 (eval "$ac_try") 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; } &&
26914 { ac_try='test -s conftest.
$ac_objext'
26915 { (case "(($ac_try" in
26916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26917 *) ac_try_echo=$ac_try;;
26919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26920 (eval "$ac_try") 2>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); }; }; then
26924 ac_header_compiler=yes
26926 echo "$as_me: failed program was:" >&5
26927 sed 's
/^
/|
/' conftest.$ac_ext >&5
26929 ac_header_compiler=no
26932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26933 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26934 echo "${ECHO_T}$ac_header_compiler" >&6; }
26936 # Is the header present?
26937 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
26938 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
26939 cat >conftest.$ac_ext <<_ACEOF
26942 cat confdefs.h >>conftest.$ac_ext
26943 cat >>conftest.$ac_ext <<_ACEOF
26944 /* end confdefs.h. */
26945 #include <openssl/ssl.h>
26947 if { (ac_try="$ac_cpp conftest.$ac_ext"
26948 case "(($ac_try" in
26949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26950 *) ac_try_echo=$ac_try;;
26952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26955 grep -v '^
*+' conftest.er1 >conftest.err
26957 cat conftest.err >&5
26958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26959 (exit $ac_status); } >/dev/null; then
26960 if test -s conftest.err; then
26961 ac_cpp_err=$ac_c_preproc_warn_flag
26962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
26969 if test -z "$ac_cpp_err"; then
26970 ac_header_preproc=yes
26972 echo "$as_me: failed program was:" >&5
26973 sed 's
/^
/|
/' conftest.$ac_ext >&5
26975 ac_header_preproc=no
26978 rm -f conftest.err conftest.$ac_ext
26979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26980 echo "${ECHO_T}$ac_header_preproc" >&6; }
26982 # So? What about this header?
26983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
26985 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
26986 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result
" >&5
26988 echo "$as_me: WARNING
: openssl
/ssl.h
: proceeding with the compiler
's result" >&2;}
26989 ac_header_preproc=yes
26992 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
26993 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
26995 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
26997 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
26999 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
27000 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result
" >&5
27001 echo "$as_me: WARNING
: openssl
/ssl.h
: proceeding with the preprocessor
's result" >&2;}
27002 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
27003 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
27007 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
27008 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
27009 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
27010 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 ac_cv_header_openssl_ssl_h=$ac_header_preproc
27014 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
27015 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
27018 if test $ac_cv_header_openssl_ssl_h = yes; then
27019 OPENSSL_HEADER_FOUND=1
27021 OPENSSL_HEADER_FOUND=0
27027 if test "x${OPENSSL_HEADER_FOUND}" = "x0" ; then
27028 if test ! -z "${OPENSSL_MANDATORY}" ;
27030 { echo "$as_me:$LINENO: ***" >&5
27031 echo "$as_me: ***" >&6;}
27032 { echo "$as_me:$LINENO: *** It appears that you do not have the ssl development package installed." >&5
27033 echo "$as_me: *** It appears that you do not have the ssl development package installed." >&6;}
27034 { echo "$as_me:$LINENO: *** Please install it to include ${OPENSSL_DESCRIP} support" >&5
27035 echo "$as_me: *** Please install it to include ${OPENSSL_DESCRIP} support" >&or re-run configure;}
27036 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
27037 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
27046 cat >>confdefs.h <<_ACEOF
27047 #define HAVE_OPENSSL 1
27051 elif test ! -z "${OPENSSL_MANDATORY}";
27053 { echo "$as_me:$LINENO: ***" >&5
27054 echo "$as_me: ***" >&6;}
27055 { echo "$as_me:$LINENO: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&5
27056 echo "$as_me: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&6;}
27057 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
27058 echo "$as_me: *** Either correct the installation" >&or run configure;}
27059 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
27060 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
27067 if test "${USE_FREETDS}" != "no"; then
27069 if test "x${FREETDS_DIR}" != "x"; then
27070 if test -d ${FREETDS_DIR}/lib; then
27071 pbxlibdir="-L${FREETDS_DIR}/lib"
27073 pbxlibdir="-L${FREETDS_DIR}"
27076 { echo "$as_me:$LINENO: checking for tds_version in -ltds" >&5
27077 echo $ECHO_N "checking for tds_version in -ltds... $ECHO_C" >&6; }
27078 if test "${ac_cv_lib_tds_tds_version+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27081 ac_check_lib_save_LIBS=$LIBS
27082 LIBS="-ltds ${pbxlibdir} $LIBS"
27083 cat >conftest.$ac_ext <<_ACEOF
27086 cat confdefs.h >>conftest.$ac_ext
27087 cat >>conftest.$ac_ext <<_ACEOF
27088 /* end confdefs.h. */
27090 /* Override any GCC internal prototype to avoid an error.
27091 Use char because int might match the return type of a GCC
27092 builtin and then its argument prototype would still apply. */
27096 char tds_version ();
27100 return tds_version ();
27105 rm -f conftest.$ac_objext conftest$ac_exeext
27106 if { (ac_try="$ac_link"
27107 case "(($ac_try" in
27108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27109 *) ac_try_echo=$ac_try;;
27111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27112 (eval "$ac_link") 2>conftest.er1
27114 grep -v '^
*+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27120 { (case "(($ac_try" in
27121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27122 *) ac_try_echo=$ac_try;;
27124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27125 (eval "$ac_try") 2>&5
27127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27128 (exit $ac_status); }; } &&
27129 { ac_try='test -s conftest
$ac_exeext'
27130 { (case "(($ac_try" in
27131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27132 *) ac_try_echo=$ac_try;;
27134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27135 (eval "$ac_try") 2>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; }; then
27139 ac_cv_lib_tds_tds_version=yes
27141 echo "$as_me: failed program was:" >&5
27142 sed 's
/^
/|
/' conftest.$ac_ext >&5
27144 ac_cv_lib_tds_tds_version=no
27147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27148 conftest$ac_exeext conftest.$ac_ext
27149 LIBS=$ac_check_lib_save_LIBS
27151 { echo "$as_me:$LINENO: result: $ac_cv_lib_tds_tds_version" >&5
27152 echo "${ECHO_T}$ac_cv_lib_tds_tds_version" >&6; }
27153 if test $ac_cv_lib_tds_tds_version = yes; then
27154 AST_FREETDS_FOUND=yes
27156 AST_FREETDS_FOUND=no
27160 if test "${AST_FREETDS_FOUND}" = "yes"; then
27161 FREETDS_LIB="-ltds "
27162 FREETDS_HEADER_FOUND="1"
27163 if test "x${FREETDS_DIR}" != "x"; then
27164 FREETDS_LIB="${pbxlibdir} ${FREETDS_LIB}"
27165 FREETDS_INCLUDE="-I${FREETDS_DIR}/include"
27166 if test "xtds.h" != "x" ; then
27167 as_ac_Header=`echo "ac_cv_header_${FREETDS_DIR}/include/tds.h" | $as_tr_sh`
27168 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27169 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
27170 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
27171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 ac_res=`eval echo '${'$as_ac_Header'}'`
27175 { echo "$as_me:$LINENO: result: $ac_res" >&5
27176 echo "${ECHO_T}$ac_res" >&6; }
27178 # Is the header compilable?
27179 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h usability" >&5
27180 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h usability... $ECHO_C" >&6; }
27181 cat >conftest.$ac_ext <<_ACEOF
27184 cat confdefs.h >>conftest.$ac_ext
27185 cat >>conftest.$ac_ext <<_ACEOF
27186 /* end confdefs.h. */
27187 $ac_includes_default
27188 #include <${FREETDS_DIR}/include/tds.h>
27190 rm -f conftest.$ac_objext
27191 if { (ac_try="$ac_compile"
27192 case "(($ac_try" in
27193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27194 *) ac_try_echo=$ac_try;;
27196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27197 (eval "$ac_compile") 2>conftest.er1
27199 grep -v '^
*+' conftest.er1 >conftest.err
27201 cat conftest.err >&5
27202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27203 (exit $ac_status); } &&
27204 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27205 { (case "(($ac_try" in
27206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27207 *) ac_try_echo=$ac_try;;
27209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27210 (eval "$ac_try") 2>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; } &&
27214 { ac_try='test -s conftest.
$ac_objext'
27215 { (case "(($ac_try" in
27216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27217 *) ac_try_echo=$ac_try;;
27219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27220 (eval "$ac_try") 2>&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); }; }; then
27224 ac_header_compiler=yes
27226 echo "$as_me: failed program was:" >&5
27227 sed 's
/^
/|
/' conftest.$ac_ext >&5
27229 ac_header_compiler=no
27232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27233 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27234 echo "${ECHO_T}$ac_header_compiler" >&6; }
27236 # Is the header present?
27237 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h presence" >&5
27238 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h presence... $ECHO_C" >&6; }
27239 cat >conftest.$ac_ext <<_ACEOF
27242 cat confdefs.h >>conftest.$ac_ext
27243 cat >>conftest.$ac_ext <<_ACEOF
27244 /* end confdefs.h. */
27245 #include <${FREETDS_DIR}/include/tds.h>
27247 if { (ac_try="$ac_cpp conftest.$ac_ext"
27248 case "(($ac_try" in
27249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27250 *) ac_try_echo=$ac_try;;
27252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27255 grep -v '^
*+' conftest.er1 >conftest.err
27257 cat conftest.err >&5
27258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27259 (exit $ac_status); } >/dev/null; then
27260 if test -s conftest.err; then
27261 ac_cpp_err=$ac_c_preproc_warn_flag
27262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27269 if test -z "$ac_cpp_err"; then
27270 ac_header_preproc=yes
27272 echo "$as_me: failed program was:" >&5
27273 sed 's
/^
/|
/' conftest.$ac_ext >&5
27275 ac_header_preproc=no
27278 rm -f conftest.err conftest.$ac_ext
27279 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27280 echo "${ECHO_T}$ac_header_preproc" >&6; }
27282 # So? What about this header?
27283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27285 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
27286 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27287 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result
" >&5
27288 echo "$as_me: WARNING
: ${FREETDS_DIR}/include
/tds.h
: proceeding with the compiler
's result" >&2;}
27289 ac_header_preproc=yes
27292 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&5
27293 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&2;}
27294 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&5
27295 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&2;}
27296 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&5
27297 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&2;}
27298 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&5
27299 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result
" >&5
27301 echo "$as_me: WARNING
: ${FREETDS_DIR}/include
/tds.h
: proceeding with the preprocessor
's result" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&5
27303 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&2;}
27307 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
27308 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
27309 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 eval "$as_ac_Header=\$ac_header_preproc"
27314 ac_res=`eval echo '${'$as_ac_Header'}'`
27315 { echo "$as_me:$LINENO: result: $ac_res" >&5
27316 echo "${ECHO_T}$ac_res" >&6; }
27319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27320 FREETDS_HEADER_FOUND=1
27322 FREETDS_HEADER_FOUND=0
27328 if test "xtds.h" != "x" ; then
27329 if test "${ac_cv_header_tds_h+set}" = set; then
27330 { echo "$as_me:$LINENO: checking for tds.h" >&5
27331 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
27332 if test "${ac_cv_header_tds_h+set}" = set; then
27333 echo $ECHO_N "(cached) $ECHO_C" >&6
27335 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
27336 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
27338 # Is the header compilable?
27339 { echo "$as_me:$LINENO: checking tds.h usability" >&5
27340 echo $ECHO_N "checking tds.h usability... $ECHO_C" >&6; }
27341 cat >conftest.$ac_ext <<_ACEOF
27344 cat confdefs.h >>conftest.$ac_ext
27345 cat >>conftest.$ac_ext <<_ACEOF
27346 /* end confdefs.h. */
27347 $ac_includes_default
27350 rm -f conftest.$ac_objext
27351 if { (ac_try="$ac_compile"
27352 case "(($ac_try" in
27353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27354 *) ac_try_echo=$ac_try;;
27356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27357 (eval "$ac_compile") 2>conftest.er1
27359 grep -v '^
*+' conftest.er1 >conftest.err
27361 cat conftest.err >&5
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } &&
27364 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27365 { (case "(($ac_try" in
27366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27367 *) ac_try_echo=$ac_try;;
27369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27370 (eval "$ac_try") 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try='test -s conftest.
$ac_objext'
27375 { (case "(($ac_try" in
27376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27377 *) ac_try_echo=$ac_try;;
27379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27380 (eval "$ac_try") 2>&5
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_header_compiler=yes
27386 echo "$as_me: failed program was:" >&5
27387 sed 's
/^
/|
/' conftest.$ac_ext >&5
27389 ac_header_compiler=no
27392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27393 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27394 echo "${ECHO_T}$ac_header_compiler" >&6; }
27396 # Is the header present?
27397 { echo "$as_me:$LINENO: checking tds.h presence" >&5
27398 echo $ECHO_N "checking tds.h presence... $ECHO_C" >&6; }
27399 cat >conftest.$ac_ext <<_ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27407 if { (ac_try="$ac_cpp conftest.$ac_ext"
27408 case "(($ac_try" in
27409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27410 *) ac_try_echo=$ac_try;;
27412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27415 grep -v '^
*+' conftest.er1 >conftest.err
27417 cat conftest.err >&5
27418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27419 (exit $ac_status); } >/dev/null; then
27420 if test -s conftest.err; then
27421 ac_cpp_err=$ac_c_preproc_warn_flag
27422 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27429 if test -z "$ac_cpp_err"; then
27430 ac_header_preproc=yes
27432 echo "$as_me: failed program was:" >&5
27433 sed 's
/^
/|
/' conftest.$ac_ext >&5
27435 ac_header_preproc=no
27438 rm -f conftest.err conftest.$ac_ext
27439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27440 echo "${ECHO_T}$ac_header_preproc" >&6; }
27442 # So? What about this header?
27443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27445 { echo "$as_me:$LINENO: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
27446 echo "$as_me: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27447 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the compiler's result
" >&5
27448 echo "$as_me: WARNING
: tds.h
: proceeding with the compiler
's result" >&2;}
27449 ac_header_preproc=yes
27452 { echo "$as_me:$LINENO: WARNING: tds.h: present but cannot be compiled" >&5
27453 echo "$as_me: WARNING: tds.h: present but cannot be compiled" >&2;}
27454 { echo "$as_me:$LINENO: WARNING: tds.h: check for missing prerequisite headers?" >&5
27455 echo "$as_me: WARNING: tds.h: check for missing prerequisite headers?" >&2;}
27456 { echo "$as_me:$LINENO: WARNING: tds.h: see the Autoconf documentation" >&5
27457 echo "$as_me: WARNING: tds.h: see the Autoconf documentation" >&2;}
27458 { echo "$as_me:$LINENO: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&5
27459 echo "$as_me: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
27460 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the preprocessor's result
" >&5
27461 echo "$as_me: WARNING
: tds.h
: proceeding with the preprocessor
's result" >&2;}
27462 { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5
27463 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;}
27467 { echo "$as_me:$LINENO: checking for tds.h" >&5
27468 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
27469 if test "${ac_cv_header_tds_h+set}" = set; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27472 ac_cv_header_tds_h=$ac_header_preproc
27474 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
27475 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
27478 if test $ac_cv_header_tds_h = yes; then
27479 FREETDS_HEADER_FOUND=1
27481 FREETDS_HEADER_FOUND=0
27487 if test "x${FREETDS_HEADER_FOUND}" = "x0" ; then
27488 if test ! -z "${FREETDS_MANDATORY}" ;
27490 { echo "$as_me:$LINENO: ***" >&5
27491 echo "$as_me: ***" >&6;}
27492 { echo "$as_me:$LINENO: *** It appears that you do not have the tds development package installed." >&5
27493 echo "$as_me: *** It appears that you do not have the tds development package installed." >&6;}
27494 { echo "$as_me:$LINENO: *** Please install it to include ${FREETDS_DESCRIP} support" >&5
27495 echo "$as_me: *** Please install it to include ${FREETDS_DESCRIP} support" >&or re-run configure;}
27496 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
27497 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
27506 cat >>confdefs.h <<_ACEOF
27507 #define HAVE_FREETDS 1
27511 elif test ! -z "${FREETDS_MANDATORY}";
27513 { echo "$as_me:$LINENO: ***" >&5
27514 echo "$as_me: ***" >&6;}
27515 { echo "$as_me:$LINENO: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&5
27516 echo "$as_me: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&6;}
27517 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
27518 echo "$as_me: *** Either correct the installation" >&or run configure;}
27519 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
27520 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
27525 if test "${PBX_FREETDS}" != "0";
27527 case `grep TDS_VERSION_NO ${FREETDS_DIR:-/usr/include}/tdsver.h` in
27529 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
27532 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_63"
27535 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_62"
27538 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
27544 if test "${USE_TERMCAP}" != "no"; then
27546 if test "x${TERMCAP_DIR}" != "x"; then
27547 if test -d ${TERMCAP_DIR}/lib; then
27548 pbxlibdir="-L${TERMCAP_DIR}/lib"
27550 pbxlibdir="-L${TERMCAP_DIR}"
27553 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
27554 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
27555 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
27556 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 ac_check_lib_save_LIBS=$LIBS
27559 LIBS="-ltermcap ${pbxlibdir} $LIBS"
27560 cat >conftest.$ac_ext <<_ACEOF
27563 cat confdefs.h >>conftest.$ac_ext
27564 cat >>conftest.$ac_ext <<_ACEOF
27565 /* end confdefs.h. */
27567 /* Override any GCC internal prototype to avoid an error.
27568 Use char because int might match the return type of a GCC
27569 builtin and then its argument prototype would still apply. */
27582 rm -f conftest.$ac_objext conftest$ac_exeext
27583 if { (ac_try="$ac_link"
27584 case "(($ac_try" in
27585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27586 *) ac_try_echo=$ac_try;;
27588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27589 (eval "$ac_link") 2>conftest.er1
27591 grep -v '^
*+' conftest.er1 >conftest.err
27593 cat conftest.err >&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } &&
27596 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27597 { (case "(($ac_try" in
27598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27599 *) ac_try_echo=$ac_try;;
27601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27602 (eval "$ac_try") 2>&5
27604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27605 (exit $ac_status); }; } &&
27606 { ac_try='test -s conftest
$ac_exeext'
27607 { (case "(($ac_try" in
27608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27609 *) ac_try_echo=$ac_try;;
27611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27612 (eval "$ac_try") 2>&5
27614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27615 (exit $ac_status); }; }; then
27616 ac_cv_lib_termcap_tgetent=yes
27618 echo "$as_me: failed program was:" >&5
27619 sed 's
/^
/|
/' conftest.$ac_ext >&5
27621 ac_cv_lib_termcap_tgetent=no
27624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27625 conftest$ac_exeext conftest.$ac_ext
27626 LIBS=$ac_check_lib_save_LIBS
27628 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
27629 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
27630 if test $ac_cv_lib_termcap_tgetent = yes; then
27631 AST_TERMCAP_FOUND=yes
27633 AST_TERMCAP_FOUND=no
27637 if test "${AST_TERMCAP_FOUND}" = "yes"; then
27638 TERMCAP_LIB="-ltermcap "
27639 TERMCAP_HEADER_FOUND="1"
27640 if test "x${TERMCAP_DIR}" != "x"; then
27641 TERMCAP_LIB="${pbxlibdir} ${TERMCAP_LIB}"
27642 TERMCAP_INCLUDE="-I${TERMCAP_DIR}/include"
27643 if test "x" != "x" ; then
27644 as_ac_Header=`echo "ac_cv_header_${TERMCAP_DIR}/include/" | $as_tr_sh`
27645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27646 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
27647 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
27648 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27649 echo $ECHO_N "(cached) $ECHO_C" >&6
27651 ac_res=`eval echo '${'$as_ac_Header'}'`
27652 { echo "$as_me:$LINENO: result: $ac_res" >&5
27653 echo "${ECHO_T}$ac_res" >&6; }
27655 # Is the header compilable?
27656 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ usability" >&5
27657 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ usability... $ECHO_C" >&6; }
27658 cat >conftest.$ac_ext <<_ACEOF
27661 cat confdefs.h >>conftest.$ac_ext
27662 cat >>conftest.$ac_ext <<_ACEOF
27663 /* end confdefs.h. */
27664 $ac_includes_default
27665 #include <${TERMCAP_DIR}/include/>
27667 rm -f conftest.$ac_objext
27668 if { (ac_try="$ac_compile"
27669 case "(($ac_try" in
27670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27671 *) ac_try_echo=$ac_try;;
27673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27674 (eval "$ac_compile") 2>conftest.er1
27676 grep -v '^
*+' conftest.er1 >conftest.err
27678 cat conftest.err >&5
27679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27680 (exit $ac_status); } &&
27681 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27682 { (case "(($ac_try" in
27683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27684 *) ac_try_echo=$ac_try;;
27686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27687 (eval "$ac_try") 2>&5
27689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27690 (exit $ac_status); }; } &&
27691 { ac_try='test -s conftest.
$ac_objext'
27692 { (case "(($ac_try" in
27693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27694 *) ac_try_echo=$ac_try;;
27696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27697 (eval "$ac_try") 2>&5
27699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27700 (exit $ac_status); }; }; then
27701 ac_header_compiler=yes
27703 echo "$as_me: failed program was:" >&5
27704 sed 's
/^
/|
/' conftest.$ac_ext >&5
27706 ac_header_compiler=no
27709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27710 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27711 echo "${ECHO_T}$ac_header_compiler" >&6; }
27713 # Is the header present?
27714 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ presence" >&5
27715 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ presence... $ECHO_C" >&6; }
27716 cat >conftest.$ac_ext <<_ACEOF
27719 cat confdefs.h >>conftest.$ac_ext
27720 cat >>conftest.$ac_ext <<_ACEOF
27721 /* end confdefs.h. */
27722 #include <${TERMCAP_DIR}/include/>
27724 if { (ac_try="$ac_cpp conftest.$ac_ext"
27725 case "(($ac_try" in
27726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27727 *) ac_try_echo=$ac_try;;
27729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27730 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27732 grep -v '^
*+' conftest.er1 >conftest.err
27734 cat conftest.err >&5
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); } >/dev/null; then
27737 if test -s conftest.err; then
27738 ac_cpp_err=$ac_c_preproc_warn_flag
27739 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27746 if test -z "$ac_cpp_err"; then
27747 ac_header_preproc=yes
27749 echo "$as_me: failed program was:" >&5
27750 sed 's
/^
/|
/' conftest.$ac_ext >&5
27752 ac_header_preproc=no
27755 rm -f conftest.err conftest.$ac_ext
27756 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27757 echo "${ECHO_T}$ac_header_preproc" >&6; }
27759 # So? What about this header?
27760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27762 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
27763 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
27764 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result
" >&5
27765 echo "$as_me: WARNING
: ${TERMCAP_DIR}/include
/: proceeding with the compiler
's result" >&2;}
27766 ac_header_preproc=yes
27769 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&5
27770 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&2;}
27771 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&5
27772 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&2;}
27773 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&5
27774 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&2;}
27775 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
27776 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
27777 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result
" >&5
27778 echo "$as_me: WARNING
: ${TERMCAP_DIR}/include
/: proceeding with the preprocessor
's result" >&2;}
27779 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&5
27780 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&2;}
27784 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
27785 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
27786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27787 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 eval "$as_ac_Header=\$ac_header_preproc"
27791 ac_res=`eval echo '${'$as_ac_Header'}'`
27792 { echo "$as_me:$LINENO: result: $ac_res" >&5
27793 echo "${ECHO_T}$ac_res" >&6; }
27796 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27797 TERMCAP_HEADER_FOUND=1
27799 TERMCAP_HEADER_FOUND=0
27805 if test "x" != "x" ; then
27806 if test "${ac_cv_header_+set}" = set; then
27807 { echo "$as_me:$LINENO: checking for " >&5
27808 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27809 if test "${ac_cv_header_+set}" = set; then
27810 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27813 echo "${ECHO_T}$ac_cv_header_" >&6; }
27815 # Is the header compilable?
27816 { echo "$as_me:$LINENO: checking usability" >&5
27817 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
27818 cat >conftest.$ac_ext <<_ACEOF
27821 cat confdefs.h >>conftest.$ac_ext
27822 cat >>conftest.$ac_ext <<_ACEOF
27823 /* end confdefs.h. */
27824 $ac_includes_default
27827 rm -f conftest.$ac_objext
27828 if { (ac_try="$ac_compile"
27829 case "(($ac_try" in
27830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27831 *) ac_try_echo=$ac_try;;
27833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27834 (eval "$ac_compile") 2>conftest.er1
27836 grep -v '^
*+' conftest.er1 >conftest.err
27838 cat conftest.err >&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); } &&
27841 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
27842 { (case "(($ac_try" in
27843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27844 *) ac_try_echo=$ac_try;;
27846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27847 (eval "$ac_try") 2>&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; } &&
27851 { ac_try='test -s conftest.
$ac_objext'
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_try") 2>&5
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; }; then
27861 ac_header_compiler=yes
27863 echo "$as_me: failed program was:" >&5
27864 sed 's
/^
/|
/' conftest.$ac_ext >&5
27866 ac_header_compiler=no
27869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27870 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27871 echo "${ECHO_T}$ac_header_compiler" >&6; }
27873 # Is the header present?
27874 { echo "$as_me:$LINENO: checking presence" >&5
27875 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
27876 cat >conftest.$ac_ext <<_ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27884 if { (ac_try="$ac_cpp conftest.$ac_ext"
27885 case "(($ac_try" in
27886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27887 *) ac_try_echo=$ac_try;;
27889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27892 grep -v '^
*+' conftest.er1 >conftest.err
27894 cat conftest.err >&5
27895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27896 (exit $ac_status); } >/dev/null; then
27897 if test -s conftest.err; then
27898 ac_cpp_err=$ac_c_preproc_warn_flag
27899 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27906 if test -z "$ac_cpp_err"; then
27907 ac_header_preproc=yes
27909 echo "$as_me: failed program was:" >&5
27910 sed 's
/^
/|
/' conftest.$ac_ext >&5
27912 ac_header_preproc=no
27915 rm -f conftest.err conftest.$ac_ext
27916 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27917 echo "${ECHO_T}$ac_header_preproc" >&6; }
27919 # So? What about this header?
27920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27922 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
27923 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
27924 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result
" >&5
27925 echo "$as_me: WARNING
: : proceeding with the compiler
's result" >&2;}
27926 ac_header_preproc=yes
27929 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
27930 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
27931 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
27932 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
27933 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
27934 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
27935 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
27936 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
27937 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result
" >&5
27938 echo "$as_me: WARNING
: : proceeding with the preprocessor
's result" >&2;}
27939 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
27940 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
27944 { echo "$as_me:$LINENO: checking for " >&5
27945 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
27946 if test "${ac_cv_header_+set}" = set; then
27947 echo $ECHO_N "(cached) $ECHO_C" >&6
27949 ac_cv_header_=$ac_header_preproc
27951 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
27952 echo "${ECHO_T}$ac_cv_header_" >&6; }
27955 if test $ac_cv_header_ = yes; then
27956 TERMCAP_HEADER_FOUND=1
27958 TERMCAP_HEADER_FOUND=0
27964 if test "x${TERMCAP_HEADER_FOUND}" = "x0" ; then
27965 if test ! -z "${TERMCAP_MANDATORY}" ;
27967 { echo "$as_me:$LINENO: ***" >&5
27968 echo "$as_me: ***" >&6;}
27969 { echo "$as_me:$LINENO: *** It appears that you do not have the termcap development package installed." >&5
27970 echo "$as_me: *** It appears that you do not have the termcap development package installed." >&6;}
27971 { echo "$as_me:$LINENO: *** Please install it to include ${TERMCAP_DESCRIP} support" >&5
27972 echo "$as_me: *** Please install it to include ${TERMCAP_DESCRIP} support" >&or re-run configure;}
27973 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
27974 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
27983 cat >>confdefs.h <<_ACEOF
27984 #define HAVE_TERMCAP 1
27988 elif test ! -z "${TERMCAP_MANDATORY}";
27990 { echo "$as_me:$LINENO: ***" >&5
27991 echo "$as_me: ***" >&6;}
27992 { echo "$as_me:$LINENO: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&5
27993 echo "$as_me: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&6;}
27994 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
27995 echo "$as_me: *** Either correct the installation" >&or run configure;}
27996 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
27997 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
28004 if test "${USE_TINFO}" != "no"; then
28006 if test "x${TINFO_DIR}" != "x"; then
28007 if test -d ${TINFO_DIR}/lib; then
28008 pbxlibdir="-L${TINFO_DIR}/lib"
28010 pbxlibdir="-L${TINFO_DIR}"
28013 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
28014 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
28015 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
28016 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 ac_check_lib_save_LIBS=$LIBS
28019 LIBS="-ltinfo ${pbxlibdir} $LIBS"
28020 cat >conftest.$ac_ext <<_ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28027 /* Override any GCC internal prototype to avoid an error.
28028 Use char because int might match the return type of a GCC
28029 builtin and then its argument prototype would still apply. */
28042 rm -f conftest.$ac_objext conftest$ac_exeext
28043 if { (ac_try="$ac_link"
28044 case "(($ac_try" in
28045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_link") 2>conftest.er1
28051 grep -v '^
*+' conftest.er1 >conftest.err
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28057 { (case "(($ac_try" in
28058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28059 *) ac_try_echo=$ac_try;;
28061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28062 (eval "$ac_try") 2>&5
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; } &&
28066 { ac_try='test -s conftest
$ac_exeext'
28067 { (case "(($ac_try" in
28068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28069 *) ac_try_echo=$ac_try;;
28071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28072 (eval "$ac_try") 2>&5
28074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28075 (exit $ac_status); }; }; then
28076 ac_cv_lib_tinfo_tgetent=yes
28078 echo "$as_me: failed program was:" >&5
28079 sed 's
/^
/|
/' conftest.$ac_ext >&5
28081 ac_cv_lib_tinfo_tgetent=no
28084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28085 conftest$ac_exeext conftest.$ac_ext
28086 LIBS=$ac_check_lib_save_LIBS
28088 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
28089 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
28090 if test $ac_cv_lib_tinfo_tgetent = yes; then
28091 AST_TINFO_FOUND=yes
28097 if test "${AST_TINFO_FOUND}" = "yes"; then
28098 TINFO_LIB="-ltinfo "
28099 TINFO_HEADER_FOUND="1"
28100 if test "x${TINFO_DIR}" != "x"; then
28101 TINFO_LIB="${pbxlibdir} ${TINFO_LIB}"
28102 TINFO_INCLUDE="-I${TINFO_DIR}/include"
28103 if test "x" != "x" ; then
28104 as_ac_Header=`echo "ac_cv_header_${TINFO_DIR}/include/" | $as_tr_sh`
28105 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28106 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
28107 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
28108 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28109 echo $ECHO_N "(cached) $ECHO_C" >&6
28111 ac_res=`eval echo '${'$as_ac_Header'}'`
28112 { echo "$as_me:$LINENO: result: $ac_res" >&5
28113 echo "${ECHO_T}$ac_res" >&6; }
28115 # Is the header compilable?
28116 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ usability" >&5
28117 echo $ECHO_N "checking ${TINFO_DIR}/include/ usability... $ECHO_C" >&6; }
28118 cat >conftest.$ac_ext <<_ACEOF
28121 cat confdefs.h >>conftest.$ac_ext
28122 cat >>conftest.$ac_ext <<_ACEOF
28123 /* end confdefs.h. */
28124 $ac_includes_default
28125 #include <${TINFO_DIR}/include/>
28127 rm -f conftest.$ac_objext
28128 if { (ac_try="$ac_compile"
28129 case "(($ac_try" in
28130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28131 *) ac_try_echo=$ac_try;;
28133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28134 (eval "$ac_compile") 2>conftest.er1
28136 grep -v '^
*+' conftest.er1 >conftest.err
28138 cat conftest.err >&5
28139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28140 (exit $ac_status); } &&
28141 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28142 { (case "(($ac_try" in
28143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28144 *) ac_try_echo=$ac_try;;
28146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28147 (eval "$ac_try") 2>&5
28149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150 (exit $ac_status); }; } &&
28151 { ac_try='test -s conftest.
$ac_objext'
28152 { (case "(($ac_try" in
28153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28154 *) ac_try_echo=$ac_try;;
28156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28157 (eval "$ac_try") 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161 ac_header_compiler=yes
28163 echo "$as_me: failed program was:" >&5
28164 sed 's
/^
/|
/' conftest.$ac_ext >&5
28166 ac_header_compiler=no
28169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28170 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28171 echo "${ECHO_T}$ac_header_compiler" >&6; }
28173 # Is the header present?
28174 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ presence" >&5
28175 echo $ECHO_N "checking ${TINFO_DIR}/include/ presence... $ECHO_C" >&6; }
28176 cat >conftest.$ac_ext <<_ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182 #include <${TINFO_DIR}/include/>
28184 if { (ac_try="$ac_cpp conftest.$ac_ext"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28192 grep -v '^
*+' conftest.er1 >conftest.err
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } >/dev/null; then
28197 if test -s conftest.err; then
28198 ac_cpp_err=$ac_c_preproc_warn_flag
28199 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28206 if test -z "$ac_cpp_err"; then
28207 ac_header_preproc=yes
28209 echo "$as_me: failed program was:" >&5
28210 sed 's
/^
/|
/' conftest.$ac_ext >&5
28212 ac_header_preproc=no
28215 rm -f conftest.err conftest.$ac_ext
28216 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28217 echo "${ECHO_T}$ac_header_preproc" >&6; }
28219 # So? What about this header?
28220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28222 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
28223 echo "$as_me: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
28224 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result
" >&5
28225 echo "$as_me: WARNING
: ${TINFO_DIR}/include
/: proceeding with the compiler
's result" >&2;}
28226 ac_header_preproc=yes
28229 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&5
28230 echo "$as_me: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&2;}
28231 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&5
28232 echo "$as_me: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&2;}
28233 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&5
28234 echo "$as_me: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&2;}
28235 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
28236 echo "$as_me: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
28237 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result
" >&5
28238 echo "$as_me: WARNING
: ${TINFO_DIR}/include
/: proceeding with the preprocessor
's result" >&2;}
28239 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&5
28240 echo "$as_me: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&2;}
28244 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
28245 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
28246 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 eval "$as_ac_Header=\$ac_header_preproc"
28251 ac_res=`eval echo '${'$as_ac_Header'}'`
28252 { echo "$as_me:$LINENO: result: $ac_res" >&5
28253 echo "${ECHO_T}$ac_res" >&6; }
28256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28257 TINFO_HEADER_FOUND=1
28259 TINFO_HEADER_FOUND=0
28265 if test "x" != "x" ; then
28266 if test "${ac_cv_header_+set}" = set; then
28267 { echo "$as_me:$LINENO: checking for " >&5
28268 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28269 if test "${ac_cv_header_+set}" = set; then
28270 echo $ECHO_N "(cached) $ECHO_C" >&6
28272 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28273 echo "${ECHO_T}$ac_cv_header_" >&6; }
28275 # Is the header compilable?
28276 { echo "$as_me:$LINENO: checking usability" >&5
28277 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
28278 cat >conftest.$ac_ext <<_ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28284 $ac_includes_default
28287 rm -f conftest.$ac_objext
28288 if { (ac_try="$ac_compile"
28289 case "(($ac_try" in
28290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28291 *) ac_try_echo=$ac_try;;
28293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28294 (eval "$ac_compile") 2>conftest.er1
28296 grep -v '^
*+' conftest.er1 >conftest.err
28298 cat conftest.err >&5
28299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28300 (exit $ac_status); } &&
28301 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28302 { (case "(($ac_try" in
28303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28304 *) ac_try_echo=$ac_try;;
28306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28307 (eval "$ac_try") 2>&5
28309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28310 (exit $ac_status); }; } &&
28311 { ac_try='test -s conftest.
$ac_objext'
28312 { (case "(($ac_try" in
28313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28314 *) ac_try_echo=$ac_try;;
28316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28317 (eval "$ac_try") 2>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); }; }; then
28321 ac_header_compiler=yes
28323 echo "$as_me: failed program was:" >&5
28324 sed 's
/^
/|
/' conftest.$ac_ext >&5
28326 ac_header_compiler=no
28329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28330 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28331 echo "${ECHO_T}$ac_header_compiler" >&6; }
28333 # Is the header present?
28334 { echo "$as_me:$LINENO: checking presence" >&5
28335 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
28336 cat >conftest.$ac_ext <<_ACEOF
28339 cat confdefs.h >>conftest.$ac_ext
28340 cat >>conftest.$ac_ext <<_ACEOF
28341 /* end confdefs.h. */
28344 if { (ac_try="$ac_cpp conftest.$ac_ext"
28345 case "(($ac_try" in
28346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28347 *) ac_try_echo=$ac_try;;
28349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28350 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28352 grep -v '^
*+' conftest.er1 >conftest.err
28354 cat conftest.err >&5
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); } >/dev/null; then
28357 if test -s conftest.err; then
28358 ac_cpp_err=$ac_c_preproc_warn_flag
28359 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28366 if test -z "$ac_cpp_err"; then
28367 ac_header_preproc=yes
28369 echo "$as_me: failed program was:" >&5
28370 sed 's
/^
/|
/' conftest.$ac_ext >&5
28372 ac_header_preproc=no
28375 rm -f conftest.err conftest.$ac_ext
28376 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28377 echo "${ECHO_T}$ac_header_preproc" >&6; }
28379 # So? What about this header?
28380 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28382 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
28383 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
28384 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result
" >&5
28385 echo "$as_me: WARNING
: : proceeding with the compiler
's result" >&2;}
28386 ac_header_preproc=yes
28389 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
28390 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
28391 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
28392 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
28393 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
28394 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
28395 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
28396 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
28397 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result
" >&5
28398 echo "$as_me: WARNING
: : proceeding with the preprocessor
's result" >&2;}
28399 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
28400 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
28404 { echo "$as_me:$LINENO: checking for " >&5
28405 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
28406 if test "${ac_cv_header_+set}" = set; then
28407 echo $ECHO_N "(cached) $ECHO_C" >&6
28409 ac_cv_header_=$ac_header_preproc
28411 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
28412 echo "${ECHO_T}$ac_cv_header_" >&6; }
28415 if test $ac_cv_header_ = yes; then
28416 TINFO_HEADER_FOUND=1
28418 TINFO_HEADER_FOUND=0
28424 if test "x${TINFO_HEADER_FOUND}" = "x0" ; then
28425 if test ! -z "${TINFO_MANDATORY}" ;
28427 { echo "$as_me:$LINENO: ***" >&5
28428 echo "$as_me: ***" >&6;}
28429 { echo "$as_me:$LINENO: *** It appears that you do not have the tinfo development package installed." >&5
28430 echo "$as_me: *** It appears that you do not have the tinfo development package installed." >&6;}
28431 { echo "$as_me:$LINENO: *** Please install it to include ${TINFO_DESCRIP} support" >&5
28432 echo "$as_me: *** Please install it to include ${TINFO_DESCRIP} support" >&or re-run configure;}
28433 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
28434 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
28443 cat >>confdefs.h <<_ACEOF
28444 #define HAVE_TINFO 1
28448 elif test ! -z "${TINFO_MANDATORY}";
28450 { echo "$as_me:$LINENO: ***" >&5
28451 echo "$as_me: ***" >&6;}
28452 { echo "$as_me:$LINENO: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&5
28453 echo "$as_me: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&6;}
28454 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
28455 echo "$as_me: *** Either correct the installation" >&or run configure;}
28456 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
28457 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
28463 if test "${host_os}" != "linux-gnu" ; then
28464 tonezone_extra="-lm"
28468 if test "${USE_TONEZONE}" != "no"; then
28470 if test "x${TONEZONE_DIR}" != "x"; then
28471 if test -d ${TONEZONE_DIR}/lib; then
28472 pbxlibdir="-L${TONEZONE_DIR}/lib"
28474 pbxlibdir="-L${TONEZONE_DIR}"
28477 { echo "$as_me:$LINENO: checking for tone_zone_find in -ltonezone" >&5
28478 echo $ECHO_N "checking for tone_zone_find in -ltonezone... $ECHO_C" >&6; }
28479 if test "${ac_cv_lib_tonezone_tone_zone_find+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28482 ac_check_lib_save_LIBS=$LIBS
28483 LIBS="-ltonezone ${pbxlibdir} ${tonezone_extra} $LIBS"
28484 cat >conftest.$ac_ext <<_ACEOF
28487 cat confdefs.h >>conftest.$ac_ext
28488 cat >>conftest.$ac_ext <<_ACEOF
28489 /* end confdefs.h. */
28491 /* Override any GCC internal prototype to avoid an error.
28492 Use char because int might match the return type of a GCC
28493 builtin and then its argument prototype would still apply. */
28497 char tone_zone_find ();
28501 return tone_zone_find ();
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (ac_try="$ac_link"
28508 case "(($ac_try" in
28509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 *) ac_try_echo=$ac_try;;
28512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 (eval "$ac_link") 2>conftest.er1
28515 grep -v '^
*+' conftest.er1 >conftest.err
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } &&
28520 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28521 { (case "(($ac_try" in
28522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28523 *) ac_try_echo=$ac_try;;
28525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28526 (eval "$ac_try") 2>&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); }; } &&
28530 { ac_try='test -s conftest
$ac_exeext'
28531 { (case "(($ac_try" in
28532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28533 *) ac_try_echo=$ac_try;;
28535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28536 (eval "$ac_try") 2>&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 ac_cv_lib_tonezone_tone_zone_find=yes
28542 echo "$as_me: failed program was:" >&5
28543 sed 's
/^
/|
/' conftest.$ac_ext >&5
28545 ac_cv_lib_tonezone_tone_zone_find=no
28548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28549 conftest$ac_exeext conftest.$ac_ext
28550 LIBS=$ac_check_lib_save_LIBS
28552 { echo "$as_me:$LINENO: result: $ac_cv_lib_tonezone_tone_zone_find" >&5
28553 echo "${ECHO_T}$ac_cv_lib_tonezone_tone_zone_find" >&6; }
28554 if test $ac_cv_lib_tonezone_tone_zone_find = yes; then
28555 AST_TONEZONE_FOUND=yes
28557 AST_TONEZONE_FOUND=no
28561 if test "${AST_TONEZONE_FOUND}" = "yes"; then
28562 TONEZONE_LIB="-ltonezone ${tonezone_extra}"
28563 TONEZONE_HEADER_FOUND="1"
28564 if test "x${TONEZONE_DIR}" != "x"; then
28565 TONEZONE_LIB="${pbxlibdir} ${TONEZONE_LIB}"
28566 TONEZONE_INCLUDE="-I${TONEZONE_DIR}/include"
28567 if test "xzaptel/tonezone.h" != "x" ; then
28568 as_ac_Header=`echo "ac_cv_header_${TONEZONE_DIR}/include/zaptel/tonezone.h" | $as_tr_sh`
28569 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28570 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
28571 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
28572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28575 ac_res=`eval echo '${'$as_ac_Header'}'`
28576 { echo "$as_me:$LINENO: result: $ac_res" >&5
28577 echo "${ECHO_T}$ac_res" >&6; }
28579 # Is the header compilable?
28580 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability" >&5
28581 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability... $ECHO_C" >&6; }
28582 cat >conftest.$ac_ext <<_ACEOF
28585 cat confdefs.h >>conftest.$ac_ext
28586 cat >>conftest.$ac_ext <<_ACEOF
28587 /* end confdefs.h. */
28588 $ac_includes_default
28589 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
28591 rm -f conftest.$ac_objext
28592 if { (ac_try="$ac_compile"
28593 case "(($ac_try" in
28594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_compile") 2>conftest.er1
28600 grep -v '^
*+' conftest.er1 >conftest.err
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } &&
28605 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28606 { (case "(($ac_try" in
28607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28608 *) ac_try_echo=$ac_try;;
28610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28611 (eval "$ac_try") 2>&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); }; } &&
28615 { ac_try='test -s conftest.
$ac_objext'
28616 { (case "(($ac_try" in
28617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28618 *) ac_try_echo=$ac_try;;
28620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28621 (eval "$ac_try") 2>&5
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; }; then
28625 ac_header_compiler=yes
28627 echo "$as_me: failed program was:" >&5
28628 sed 's
/^
/|
/' conftest.$ac_ext >&5
28630 ac_header_compiler=no
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28635 echo "${ECHO_T}$ac_header_compiler" >&6; }
28637 # Is the header present?
28638 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence" >&5
28639 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence... $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 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
28648 if { (ac_try="$ac_cpp conftest.$ac_ext"
28649 case "(($ac_try" in
28650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28651 *) ac_try_echo=$ac_try;;
28653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28654 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28656 grep -v '^
*+' conftest.er1 >conftest.err
28658 cat conftest.err >&5
28659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660 (exit $ac_status); } >/dev/null; then
28661 if test -s conftest.err; then
28662 ac_cpp_err=$ac_c_preproc_warn_flag
28663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28670 if test -z "$ac_cpp_err"; then
28671 ac_header_preproc=yes
28673 echo "$as_me: failed program was:" >&5
28674 sed 's
/^
/|
/' conftest.$ac_ext >&5
28676 ac_header_preproc=no
28679 rm -f conftest.err conftest.$ac_ext
28680 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28681 echo "${ECHO_T}$ac_header_preproc" >&6; }
28683 # So? What about this header?
28684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28686 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
28687 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28688 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result
" >&5
28689 echo "$as_me: WARNING
: ${TONEZONE_DIR}/include
/zaptel
/tonezone.h
: proceeding with the compiler
's result" >&2;}
28690 ac_header_preproc=yes
28693 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&5
28694 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&2;}
28695 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&5
28696 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
28697 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&5
28698 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&2;}
28699 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
28700 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
28701 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result
" >&5
28702 echo "$as_me: WARNING
: ${TONEZONE_DIR}/include
/zaptel
/tonezone.h
: proceeding with the preprocessor
's result" >&2;}
28703 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
28704 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
28708 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
28709 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
28710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28711 echo $ECHO_N "(cached) $ECHO_C" >&6
28713 eval "$as_ac_Header=\$ac_header_preproc"
28715 ac_res=`eval echo '${'$as_ac_Header'}'`
28716 { echo "$as_me:$LINENO: result: $ac_res" >&5
28717 echo "${ECHO_T}$ac_res" >&6; }
28720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28721 TONEZONE_HEADER_FOUND=1
28723 TONEZONE_HEADER_FOUND=0
28729 if test "xzaptel/tonezone.h" != "x" ; then
28730 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
28731 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
28732 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
28733 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28736 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
28737 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
28739 # Is the header compilable?
28740 { echo "$as_me:$LINENO: checking zaptel/tonezone.h usability" >&5
28741 echo $ECHO_N "checking zaptel/tonezone.h usability... $ECHO_C" >&6; }
28742 cat >conftest.$ac_ext <<_ACEOF
28745 cat confdefs.h >>conftest.$ac_ext
28746 cat >>conftest.$ac_ext <<_ACEOF
28747 /* end confdefs.h. */
28748 $ac_includes_default
28749 #include <zaptel/tonezone.h>
28751 rm -f conftest.$ac_objext
28752 if { (ac_try="$ac_compile"
28753 case "(($ac_try" in
28754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28755 *) ac_try_echo=$ac_try;;
28757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28758 (eval "$ac_compile") 2>conftest.er1
28760 grep -v '^
*+' conftest.er1 >conftest.err
28762 cat conftest.err >&5
28763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28764 (exit $ac_status); } &&
28765 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28766 { (case "(($ac_try" in
28767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28768 *) ac_try_echo=$ac_try;;
28770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28771 (eval "$ac_try") 2>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; } &&
28775 { ac_try='test -s conftest.
$ac_objext'
28776 { (case "(($ac_try" in
28777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28778 *) ac_try_echo=$ac_try;;
28780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28781 (eval "$ac_try") 2>&5
28783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28784 (exit $ac_status); }; }; then
28785 ac_header_compiler=yes
28787 echo "$as_me: failed program was:" >&5
28788 sed 's
/^
/|
/' conftest.$ac_ext >&5
28790 ac_header_compiler=no
28793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28794 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28795 echo "${ECHO_T}$ac_header_compiler" >&6; }
28797 # Is the header present?
28798 { echo "$as_me:$LINENO: checking zaptel/tonezone.h presence" >&5
28799 echo $ECHO_N "checking zaptel/tonezone.h presence... $ECHO_C" >&6; }
28800 cat >conftest.$ac_ext <<_ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 #include <zaptel/tonezone.h>
28808 if { (ac_try="$ac_cpp conftest.$ac_ext"
28809 case "(($ac_try" in
28810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28811 *) ac_try_echo=$ac_try;;
28813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28816 grep -v '^
*+' conftest.er1 >conftest.err
28818 cat conftest.err >&5
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); } >/dev/null; then
28821 if test -s conftest.err; then
28822 ac_cpp_err=$ac_c_preproc_warn_flag
28823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28830 if test -z "$ac_cpp_err"; then
28831 ac_header_preproc=yes
28833 echo "$as_me: failed program was:" >&5
28834 sed 's
/^
/|
/' conftest.$ac_ext >&5
28836 ac_header_preproc=no
28839 rm -f conftest.err conftest.$ac_ext
28840 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28841 echo "${ECHO_T}$ac_header_preproc" >&6; }
28843 # So? What about this header?
28844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28846 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
28847 echo "$as_me: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28848 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the compiler's result
" >&5
28849 echo "$as_me: WARNING
: zaptel
/tonezone.h
: proceeding with the compiler
's result" >&2;}
28850 ac_header_preproc=yes
28853 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&5
28854 echo "$as_me: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&2;}
28855 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&5
28856 echo "$as_me: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
28857 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&5
28858 echo "$as_me: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&2;}
28859 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
28860 echo "$as_me: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
28861 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result
" >&5
28862 echo "$as_me: WARNING
: zaptel
/tonezone.h
: proceeding with the preprocessor
's result" >&2;}
28863 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
28864 echo "$as_me: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
28868 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
28869 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
28870 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
28871 echo $ECHO_N "(cached) $ECHO_C" >&6
28873 ac_cv_header_zaptel_tonezone_h=$ac_header_preproc
28875 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
28876 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
28879 if test $ac_cv_header_zaptel_tonezone_h = yes; then
28880 TONEZONE_HEADER_FOUND=1
28882 TONEZONE_HEADER_FOUND=0
28888 if test "x${TONEZONE_HEADER_FOUND}" = "x0" ; then
28889 if test ! -z "${TONEZONE_MANDATORY}" ;
28891 { echo "$as_me:$LINENO: ***" >&5
28892 echo "$as_me: ***" >&6;}
28893 { echo "$as_me:$LINENO: *** It appears that you do not have the tonezone development package installed." >&5
28894 echo "$as_me: *** It appears that you do not have the tonezone development package installed." >&6;}
28895 { echo "$as_me:$LINENO: *** Please install it to include ${TONEZONE_DESCRIP} support" >&5
28896 echo "$as_me: *** Please install it to include ${TONEZONE_DESCRIP} support" >&or re-run configure;}
28897 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
28898 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
28902 TONEZONE_INCLUDE=""
28907 cat >>confdefs.h <<_ACEOF
28908 #define HAVE_TONEZONE 1
28912 elif test ! -z "${TONEZONE_MANDATORY}";
28914 { echo "$as_me:$LINENO: ***" >&5
28915 echo "$as_me: ***" >&6;}
28916 { echo "$as_me:$LINENO: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&5
28917 echo "$as_me: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&6;}
28918 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
28919 echo "$as_me: *** Either correct the installation" >&or run configure;}
28920 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
28921 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
28928 if test "${USE_VORBIS}" != "no"; then
28930 if test "x${VORBIS_DIR}" != "x"; then
28931 if test -d ${VORBIS_DIR}/lib; then
28932 pbxlibdir="-L${VORBIS_DIR}/lib"
28934 pbxlibdir="-L${VORBIS_DIR}"
28937 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
28938 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
28939 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 ac_check_lib_save_LIBS=$LIBS
28943 LIBS="-lvorbis ${pbxlibdir} -lm -lvorbisenc $LIBS"
28944 cat >conftest.$ac_ext <<_ACEOF
28947 cat confdefs.h >>conftest.$ac_ext
28948 cat >>conftest.$ac_ext <<_ACEOF
28949 /* end confdefs.h. */
28951 /* Override any GCC internal prototype to avoid an error.
28952 Use char because int might match the return type of a GCC
28953 builtin and then its argument prototype would still apply. */
28957 char vorbis_info_init ();
28961 return vorbis_info_init ();
28966 rm -f conftest.$ac_objext conftest$ac_exeext
28967 if { (ac_try="$ac_link"
28968 case "(($ac_try" in
28969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28970 *) ac_try_echo=$ac_try;;
28972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28973 (eval "$ac_link") 2>conftest.er1
28975 grep -v '^
*+' conftest.er1 >conftest.err
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } &&
28980 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
28981 { (case "(($ac_try" in
28982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28983 *) ac_try_echo=$ac_try;;
28985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28986 (eval "$ac_try") 2>&5
28988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989 (exit $ac_status); }; } &&
28990 { ac_try='test -s conftest
$ac_exeext'
28991 { (case "(($ac_try" in
28992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28993 *) ac_try_echo=$ac_try;;
28995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28996 (eval "$ac_try") 2>&5
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; }; then
29000 ac_cv_lib_vorbis_vorbis_info_init=yes
29002 echo "$as_me: failed program was:" >&5
29003 sed 's
/^
/|
/' conftest.$ac_ext >&5
29005 ac_cv_lib_vorbis_vorbis_info_init=no
29008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29009 conftest$ac_exeext conftest.$ac_ext
29010 LIBS=$ac_check_lib_save_LIBS
29012 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
29013 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
29014 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
29015 AST_VORBIS_FOUND=yes
29017 AST_VORBIS_FOUND=no
29021 if test "${AST_VORBIS_FOUND}" = "yes"; then
29022 VORBIS_LIB="-lvorbis -lm -lvorbisenc"
29023 VORBIS_HEADER_FOUND="1"
29024 if test "x${VORBIS_DIR}" != "x"; then
29025 VORBIS_LIB="${pbxlibdir} ${VORBIS_LIB}"
29026 VORBIS_INCLUDE="-I${VORBIS_DIR}/include"
29027 if test "xvorbis/codec.h" != "x" ; then
29028 as_ac_Header=`echo "ac_cv_header_${VORBIS_DIR}/include/vorbis/codec.h" | $as_tr_sh`
29029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29030 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
29031 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
29032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29035 ac_res=`eval echo '${'$as_ac_Header'}'`
29036 { echo "$as_me:$LINENO: result: $ac_res" >&5
29037 echo "${ECHO_T}$ac_res" >&6; }
29039 # Is the header compilable?
29040 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h usability" >&5
29041 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h usability... $ECHO_C" >&6; }
29042 cat >conftest.$ac_ext <<_ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048 $ac_includes_default
29049 #include <${VORBIS_DIR}/include/vorbis/codec.h>
29051 rm -f conftest.$ac_objext
29052 if { (ac_try="$ac_compile"
29053 case "(($ac_try" in
29054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29055 *) ac_try_echo=$ac_try;;
29057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29058 (eval "$ac_compile") 2>conftest.er1
29060 grep -v '^
*+' conftest.er1 >conftest.err
29062 cat conftest.err >&5
29063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29064 (exit $ac_status); } &&
29065 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29066 { (case "(($ac_try" in
29067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29068 *) ac_try_echo=$ac_try;;
29070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29071 (eval "$ac_try") 2>&5
29073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29074 (exit $ac_status); }; } &&
29075 { ac_try='test -s conftest.
$ac_objext'
29076 { (case "(($ac_try" in
29077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29078 *) ac_try_echo=$ac_try;;
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_try") 2>&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 ac_header_compiler=yes
29087 echo "$as_me: failed program was:" >&5
29088 sed 's
/^
/|
/' conftest.$ac_ext >&5
29090 ac_header_compiler=no
29093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29094 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29095 echo "${ECHO_T}$ac_header_compiler" >&6; }
29097 # Is the header present?
29098 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h presence" >&5
29099 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h presence... $ECHO_C" >&6; }
29100 cat >conftest.$ac_ext <<_ACEOF
29103 cat confdefs.h >>conftest.$ac_ext
29104 cat >>conftest.$ac_ext <<_ACEOF
29105 /* end confdefs.h. */
29106 #include <${VORBIS_DIR}/include/vorbis/codec.h>
29108 if { (ac_try="$ac_cpp conftest.$ac_ext"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29116 grep -v '^
*+' conftest.er1 >conftest.err
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } >/dev/null; then
29121 if test -s conftest.err; then
29122 ac_cpp_err=$ac_c_preproc_warn_flag
29123 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29130 if test -z "$ac_cpp_err"; then
29131 ac_header_preproc=yes
29133 echo "$as_me: failed program was:" >&5
29134 sed 's
/^
/|
/' conftest.$ac_ext >&5
29136 ac_header_preproc=no
29139 rm -f conftest.err conftest.$ac_ext
29140 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29141 echo "${ECHO_T}$ac_header_preproc" >&6; }
29143 # So? What about this header?
29144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29146 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
29147 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29148 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result
" >&5
29149 echo "$as_me: WARNING
: ${VORBIS_DIR}/include
/vorbis
/codec.h
: proceeding with the compiler
's result" >&2;}
29150 ac_header_preproc=yes
29153 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&5
29154 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&2;}
29155 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&5
29156 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&2;}
29157 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&5
29158 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&2;}
29159 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
29160 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
29161 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result
" >&5
29162 echo "$as_me: WARNING
: ${VORBIS_DIR}/include
/vorbis
/codec.h
: proceeding with the preprocessor
's result" >&2;}
29163 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&5
29164 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
29168 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
29169 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
29170 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 eval "$as_ac_Header=\$ac_header_preproc"
29175 ac_res=`eval echo '${'$as_ac_Header'}'`
29176 { echo "$as_me:$LINENO: result: $ac_res" >&5
29177 echo "${ECHO_T}$ac_res" >&6; }
29180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29181 VORBIS_HEADER_FOUND=1
29183 VORBIS_HEADER_FOUND=0
29189 if test "xvorbis/codec.h" != "x" ; then
29190 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29191 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
29192 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
29193 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29194 echo $ECHO_N "(cached) $ECHO_C" >&6
29196 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
29197 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
29199 # Is the header compilable?
29200 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
29201 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
29202 cat >conftest.$ac_ext <<_ACEOF
29205 cat confdefs.h >>conftest.$ac_ext
29206 cat >>conftest.$ac_ext <<_ACEOF
29207 /* end confdefs.h. */
29208 $ac_includes_default
29209 #include <vorbis/codec.h>
29211 rm -f conftest.$ac_objext
29212 if { (ac_try="$ac_compile"
29213 case "(($ac_try" in
29214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29215 *) ac_try_echo=$ac_try;;
29217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29218 (eval "$ac_compile") 2>conftest.er1
29220 grep -v '^
*+' conftest.er1 >conftest.err
29222 cat conftest.err >&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } &&
29225 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29226 { (case "(($ac_try" in
29227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29228 *) ac_try_echo=$ac_try;;
29230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29231 (eval "$ac_try") 2>&5
29233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29234 (exit $ac_status); }; } &&
29235 { ac_try='test -s conftest.
$ac_objext'
29236 { (case "(($ac_try" in
29237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29238 *) ac_try_echo=$ac_try;;
29240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29241 (eval "$ac_try") 2>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); }; }; then
29245 ac_header_compiler=yes
29247 echo "$as_me: failed program was:" >&5
29248 sed 's
/^
/|
/' conftest.$ac_ext >&5
29250 ac_header_compiler=no
29253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29254 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29255 echo "${ECHO_T}$ac_header_compiler" >&6; }
29257 # Is the header present?
29258 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
29259 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
29260 cat >conftest.$ac_ext <<_ACEOF
29263 cat confdefs.h >>conftest.$ac_ext
29264 cat >>conftest.$ac_ext <<_ACEOF
29265 /* end confdefs.h. */
29266 #include <vorbis/codec.h>
29268 if { (ac_try="$ac_cpp conftest.$ac_ext"
29269 case "(($ac_try" in
29270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29271 *) ac_try_echo=$ac_try;;
29273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29276 grep -v '^
*+' conftest.er1 >conftest.err
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } >/dev/null; then
29281 if test -s conftest.err; then
29282 ac_cpp_err=$ac_c_preproc_warn_flag
29283 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29290 if test -z "$ac_cpp_err"; then
29291 ac_header_preproc=yes
29293 echo "$as_me: failed program was:" >&5
29294 sed 's
/^
/|
/' conftest.$ac_ext >&5
29296 ac_header_preproc=no
29299 rm -f conftest.err conftest.$ac_ext
29300 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29301 echo "${ECHO_T}$ac_header_preproc" >&6; }
29303 # So? What about this header?
29304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29306 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
29307 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29308 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result
" >&5
29309 echo "$as_me: WARNING
: vorbis
/codec.h
: proceeding with the compiler
's result" >&2;}
29310 ac_header_preproc=yes
29313 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
29314 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
29315 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
29316 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
29317 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
29318 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
29319 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
29320 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
29321 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result
" >&5
29322 echo "$as_me: WARNING
: vorbis
/codec.h
: proceeding with the preprocessor
's result" >&2;}
29323 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
29324 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
29328 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
29329 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
29330 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 ac_cv_header_vorbis_codec_h=$ac_header_preproc
29335 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
29336 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
29339 if test $ac_cv_header_vorbis_codec_h = yes; then
29340 VORBIS_HEADER_FOUND=1
29342 VORBIS_HEADER_FOUND=0
29348 if test "x${VORBIS_HEADER_FOUND}" = "x0" ; then
29349 if test ! -z "${VORBIS_MANDATORY}" ;
29351 { echo "$as_me:$LINENO: ***" >&5
29352 echo "$as_me: ***" >&6;}
29353 { echo "$as_me:$LINENO: *** It appears that you do not have the vorbis development package installed." >&5
29354 echo "$as_me: *** It appears that you do not have the vorbis development package installed." >&6;}
29355 { echo "$as_me:$LINENO: *** Please install it to include ${VORBIS_DESCRIP} support" >&5
29356 echo "$as_me: *** Please install it to include ${VORBIS_DESCRIP} support" >&or re-run configure;}
29357 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
29358 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
29367 cat >>confdefs.h <<_ACEOF
29368 #define HAVE_VORBIS 1
29372 elif test ! -z "${VORBIS_MANDATORY}";
29374 { echo "$as_me:$LINENO: ***" >&5
29375 echo "$as_me: ***" >&6;}
29376 { echo "$as_me:$LINENO: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&5
29377 echo "$as_me: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&6;}
29378 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
29379 echo "$as_me: *** Either correct the installation" >&or run configure;}
29380 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
29381 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29390 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29394 if test "${USE_VPB}" != "no"; then
29395 { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
29396 echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
29397 saved_libs="${LIBS}"
29398 saved_cppflags="${CPPFLAGS}"
29399 if test "x${VPB_DIR}" != "x"; then
29400 if test -d ${VPB_DIR}/lib; then
29401 vpblibdir=${VPB_DIR}/lib
29403 vpblibdir=${VPB_DIR}
29405 LIBS="${LIBS} -L${vpblibdir}"
29406 CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
29408 LIBS="${LIBS} -lvpb -lpthread"
29409 cat >conftest.$ac_ext <<_ACEOF
29413 cat confdefs.h >>conftest.$ac_ext
29414 cat >>conftest.$ac_ext <<_ACEOF
29415 /* end confdefs.h. */
29416 #include <vpbapi.h>
29420 int q = vpb_open(0,0);
29426 rm -f conftest.$ac_objext conftest$ac_exeext
29427 if { (ac_try="$ac_link"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_link") 2>conftest.er1
29435 grep -v '^
*+' conftest.er1 >conftest.err
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } &&
29440 { ac_try='test -z "$ac_cxx_werror_flag" ||
test ! -s conftest.err
'
29441 { (case "(($ac_try" in
29442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29443 *) ac_try_echo=$ac_try;;
29445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29446 (eval "$ac_try") 2>&5
29448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29449 (exit $ac_status); }; } &&
29450 { ac_try='test -s conftest
$ac_exeext'
29451 { (case "(($ac_try" in
29452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29453 *) ac_try_echo=$ac_try;;
29455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29456 (eval "$ac_try") 2>&5
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; }; then
29460 { echo "$as_me:$LINENO: result: yes" >&5
29461 echo "${ECHO_T}yes" >&6; }
29462 ac_cv_lib_vpb_vpb_open="yes"
29465 echo "$as_me: failed program was:" >&5
29466 sed 's
/^
/|
/' conftest.$ac_ext >&5
29468 { echo "$as_me:$LINENO: result: no" >&5
29469 echo "${ECHO_T}no" >&6; }
29470 ac_cv_lib_vpb_vpb_open="no"
29475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29476 conftest$ac_exeext conftest.$ac_ext
29477 LIBS="${saved_libs}"
29478 CPPFLAGS="${saved_cppflags}"
29479 if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
29481 if test "${VPB_DIR}" != ""; then
29482 VPB_LIB="-L${vpblibdir} ${VPB_LIB}"
29483 VPB_INCLUDE="-I${VPB_DIR}/include"
29487 cat >>confdefs.h <<\_ACEOF
29491 elif test ! -z "${VPB_MANDATORY}"; then
29492 { echo "$as_me:$LINENO: ***" >&5
29493 echo "$as_me: ***" >&6;}
29494 { echo "$as_me:$LINENO: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&5
29495 echo "$as_me: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&6;}
29496 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
29497 echo "$as_me: *** Either correct the installation" >&or run configure;}
29498 { echo "$as_me:$LINENO: *** including --without-vpb." >&5
29499 echo "$as_me: *** including --without-vpb." >&6;}
29505 ac_cpp='$CPP $CPPFLAGS'
29506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29507 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29512 if test "${USE_ZLIB}" != "no"; then
29514 if test "x${ZLIB_DIR}" != "x"; then
29515 if test -d ${ZLIB_DIR}/lib; then
29516 pbxlibdir="-L${ZLIB_DIR}/lib"
29518 pbxlibdir="-L${ZLIB_DIR}"
29521 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
29522 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
29523 if test "${ac_cv_lib_z_compress+set}" = set; then
29524 echo $ECHO_N "(cached) $ECHO_C" >&6
29526 ac_check_lib_save_LIBS=$LIBS
29527 LIBS="-lz ${pbxlibdir} $LIBS"
29528 cat >conftest.$ac_ext <<_ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29535 /* Override any GCC internal prototype to avoid an error.
29536 Use char because int might match the return type of a GCC
29537 builtin and then its argument prototype would still apply. */
29545 return compress ();
29550 rm -f conftest.$ac_objext conftest$ac_exeext
29551 if { (ac_try="$ac_link"
29552 case "(($ac_try" in
29553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29554 *) ac_try_echo=$ac_try;;
29556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29557 (eval "$ac_link") 2>conftest.er1
29559 grep -v '^
*+' conftest.er1 >conftest.err
29561 cat conftest.err >&5
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); } &&
29564 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29565 { (case "(($ac_try" in
29566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29567 *) ac_try_echo=$ac_try;;
29569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29570 (eval "$ac_try") 2>&5
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); }; } &&
29574 { ac_try='test -s conftest
$ac_exeext'
29575 { (case "(($ac_try" in
29576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29577 *) ac_try_echo=$ac_try;;
29579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29580 (eval "$ac_try") 2>&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); }; }; then
29584 ac_cv_lib_z_compress=yes
29586 echo "$as_me: failed program was:" >&5
29587 sed 's
/^
/|
/' conftest.$ac_ext >&5
29589 ac_cv_lib_z_compress=no
29592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29593 conftest$ac_exeext conftest.$ac_ext
29594 LIBS=$ac_check_lib_save_LIBS
29596 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
29597 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
29598 if test $ac_cv_lib_z_compress = yes; then
29605 if test "${AST_ZLIB_FOUND}" = "yes"; then
29607 ZLIB_HEADER_FOUND="1"
29608 if test "x${ZLIB_DIR}" != "x"; then
29609 ZLIB_LIB="${pbxlibdir} ${ZLIB_LIB}"
29610 ZLIB_INCLUDE="-I${ZLIB_DIR}/include"
29611 if test "xzlib.h" != "x" ; then
29612 as_ac_Header=`echo "ac_cv_header_${ZLIB_DIR}/include/zlib.h" | $as_tr_sh`
29613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29614 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
29615 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
29616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29617 echo $ECHO_N "(cached) $ECHO_C" >&6
29619 ac_res=`eval echo '${'$as_ac_Header'}'`
29620 { echo "$as_me:$LINENO: result: $ac_res" >&5
29621 echo "${ECHO_T}$ac_res" >&6; }
29623 # Is the header compilable?
29624 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h usability" >&5
29625 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h usability... $ECHO_C" >&6; }
29626 cat >conftest.$ac_ext <<_ACEOF
29629 cat confdefs.h >>conftest.$ac_ext
29630 cat >>conftest.$ac_ext <<_ACEOF
29631 /* end confdefs.h. */
29632 $ac_includes_default
29633 #include <${ZLIB_DIR}/include/zlib.h>
29635 rm -f conftest.$ac_objext
29636 if { (ac_try="$ac_compile"
29637 case "(($ac_try" in
29638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29639 *) ac_try_echo=$ac_try;;
29641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29642 (eval "$ac_compile") 2>conftest.er1
29644 grep -v '^
*+' conftest.er1 >conftest.err
29646 cat conftest.err >&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } &&
29649 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29650 { (case "(($ac_try" in
29651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29652 *) ac_try_echo=$ac_try;;
29654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29655 (eval "$ac_try") 2>&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); }; } &&
29659 { ac_try='test -s conftest.
$ac_objext'
29660 { (case "(($ac_try" in
29661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29662 *) ac_try_echo=$ac_try;;
29664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29665 (eval "$ac_try") 2>&5
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29669 ac_header_compiler=yes
29671 echo "$as_me: failed program was:" >&5
29672 sed 's
/^
/|
/' conftest.$ac_ext >&5
29674 ac_header_compiler=no
29677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29678 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29679 echo "${ECHO_T}$ac_header_compiler" >&6; }
29681 # Is the header present?
29682 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h presence" >&5
29683 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h presence... $ECHO_C" >&6; }
29684 cat >conftest.$ac_ext <<_ACEOF
29687 cat confdefs.h >>conftest.$ac_ext
29688 cat >>conftest.$ac_ext <<_ACEOF
29689 /* end confdefs.h. */
29690 #include <${ZLIB_DIR}/include/zlib.h>
29692 if { (ac_try="$ac_cpp conftest.$ac_ext"
29693 case "(($ac_try" in
29694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29695 *) ac_try_echo=$ac_try;;
29697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29700 grep -v '^
*+' conftest.er1 >conftest.err
29702 cat conftest.err >&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); } >/dev/null; then
29705 if test -s conftest.err; then
29706 ac_cpp_err=$ac_c_preproc_warn_flag
29707 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29714 if test -z "$ac_cpp_err"; then
29715 ac_header_preproc=yes
29717 echo "$as_me: failed program was:" >&5
29718 sed 's
/^
/|
/' conftest.$ac_ext >&5
29720 ac_header_preproc=no
29723 rm -f conftest.err conftest.$ac_ext
29724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29725 echo "${ECHO_T}$ac_header_preproc" >&6; }
29727 # So? What about this header?
29728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29730 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
29731 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29732 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result
" >&5
29733 echo "$as_me: WARNING
: ${ZLIB_DIR}/include
/zlib.h
: proceeding with the compiler
's result" >&2;}
29734 ac_header_preproc=yes
29737 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&5
29738 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&2;}
29739 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&5
29740 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&2;}
29741 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&5
29742 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&2;}
29743 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&5
29744 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
29745 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result
" >&5
29746 echo "$as_me: WARNING
: ${ZLIB_DIR}/include
/zlib.h
: proceeding with the preprocessor
's result" >&2;}
29747 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&5
29748 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&2;}
29752 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
29753 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
29754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29755 echo $ECHO_N "(cached) $ECHO_C" >&6
29757 eval "$as_ac_Header=\$ac_header_preproc"
29759 ac_res=`eval echo '${'$as_ac_Header'}'`
29760 { echo "$as_me:$LINENO: result: $ac_res" >&5
29761 echo "${ECHO_T}$ac_res" >&6; }
29764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29765 ZLIB_HEADER_FOUND=1
29767 ZLIB_HEADER_FOUND=0
29773 if test "xzlib.h" != "x" ; then
29774 if test "${ac_cv_header_zlib_h+set}" = set; then
29775 { echo "$as_me:$LINENO: checking for zlib.h" >&5
29776 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
29777 if test "${ac_cv_header_zlib_h+set}" = set; then
29778 echo $ECHO_N "(cached) $ECHO_C" >&6
29780 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29781 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
29783 # Is the header compilable?
29784 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
29785 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
29786 cat >conftest.$ac_ext <<_ACEOF
29789 cat confdefs.h >>conftest.$ac_ext
29790 cat >>conftest.$ac_ext <<_ACEOF
29791 /* end confdefs.h. */
29792 $ac_includes_default
29795 rm -f conftest.$ac_objext
29796 if { (ac_try="$ac_compile"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_compile") 2>conftest.er1
29804 grep -v '^
*+' conftest.er1 >conftest.err
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } &&
29809 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
29810 { (case "(($ac_try" in
29811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29812 *) ac_try_echo=$ac_try;;
29814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29815 (eval "$ac_try") 2>&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); }; } &&
29819 { ac_try='test -s conftest.
$ac_objext'
29820 { (case "(($ac_try" in
29821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29822 *) ac_try_echo=$ac_try;;
29824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29825 (eval "$ac_try") 2>&5
29827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29828 (exit $ac_status); }; }; then
29829 ac_header_compiler=yes
29831 echo "$as_me: failed program was:" >&5
29832 sed 's
/^
/|
/' conftest.$ac_ext >&5
29834 ac_header_compiler=no
29837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29838 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29839 echo "${ECHO_T}$ac_header_compiler" >&6; }
29841 # Is the header present?
29842 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
29843 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
29844 cat >conftest.$ac_ext <<_ACEOF
29847 cat confdefs.h >>conftest.$ac_ext
29848 cat >>conftest.$ac_ext <<_ACEOF
29849 /* end confdefs.h. */
29852 if { (ac_try="$ac_cpp conftest.$ac_ext"
29853 case "(($ac_try" in
29854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29855 *) ac_try_echo=$ac_try;;
29857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29858 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29860 grep -v '^
*+' conftest.er1 >conftest.err
29862 cat conftest.err >&5
29863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29864 (exit $ac_status); } >/dev/null; then
29865 if test -s conftest.err; then
29866 ac_cpp_err=$ac_c_preproc_warn_flag
29867 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29874 if test -z "$ac_cpp_err"; then
29875 ac_header_preproc=yes
29877 echo "$as_me: failed program was:" >&5
29878 sed 's
/^
/|
/' conftest.$ac_ext >&5
29880 ac_header_preproc=no
29883 rm -f conftest.err conftest.$ac_ext
29884 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29885 echo "${ECHO_T}$ac_header_preproc" >&6; }
29887 # So? What about this header?
29888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29890 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
29891 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29892 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result
" >&5
29893 echo "$as_me: WARNING
: zlib.h
: proceeding with the compiler
's result" >&2;}
29894 ac_header_preproc=yes
29897 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
29898 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
29899 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
29900 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
29901 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
29902 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
29903 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
29904 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
29905 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result
" >&5
29906 echo "$as_me: WARNING
: zlib.h
: proceeding with the preprocessor
's result" >&2;}
29907 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
29908 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
29912 { echo "$as_me:$LINENO: checking for zlib.h" >&5
29913 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
29914 if test "${ac_cv_header_zlib_h+set}" = set; then
29915 echo $ECHO_N "(cached) $ECHO_C" >&6
29917 ac_cv_header_zlib_h=$ac_header_preproc
29919 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
29920 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
29923 if test $ac_cv_header_zlib_h = yes; then
29924 ZLIB_HEADER_FOUND=1
29926 ZLIB_HEADER_FOUND=0
29932 if test "x${ZLIB_HEADER_FOUND}" = "x0" ; then
29933 if test ! -z "${ZLIB_MANDATORY}" ;
29935 { echo "$as_me:$LINENO: ***" >&5
29936 echo "$as_me: ***" >&6;}
29937 { echo "$as_me:$LINENO: *** It appears that you do not have the z development package installed." >&5
29938 echo "$as_me: *** It appears that you do not have the z development package installed." >&6;}
29939 { echo "$as_me:$LINENO: *** Please install it to include ${ZLIB_DESCRIP} support" >&5
29940 echo "$as_me: *** Please install it to include ${ZLIB_DESCRIP} support" >&or re-run configure;}
29941 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
29942 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
29951 cat >>confdefs.h <<_ACEOF
29952 #define HAVE_ZLIB 1
29956 elif test ! -z "${ZLIB_MANDATORY}";
29958 { echo "$as_me:$LINENO: ***" >&5
29959 echo "$as_me: ***" >&6;}
29960 { echo "$as_me:$LINENO: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&5
29961 echo "$as_me: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&6;}
29962 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
29963 echo "$as_me: *** Either correct the installation" >&or run configure;}
29964 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
29965 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
29971 if test "${USE_ZAPTEL}" != "no"; then
29972 { echo "$as_me:$LINENO: checking for ZT_TONE_DTMF_BASE in zaptel.h" >&5
29973 echo $ECHO_N "checking for ZT_TONE_DTMF_BASE in zaptel.h... $ECHO_C" >&6; }
29974 saved_cppflags="${CPPFLAGS}"
29975 if test "x${ZAPTEL_DIR}" != "x"; then
29976 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
29978 cat >conftest.$ac_ext <<_ACEOF
29982 cat confdefs.h >>conftest.$ac_ext
29983 cat >>conftest.$ac_ext <<_ACEOF
29984 /* end confdefs.h. */
29985 #include <zaptel/zaptel.h>
29989 int foo = ZT_TONE_DTMF_BASE;
29995 rm -f conftest.$ac_objext
29996 if { (ac_try="$ac_compile"
29997 case "(($ac_try" in
29998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29999 *) ac_try_echo=$ac_try;;
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_compile") 2>conftest.er1
30004 grep -v '^
*+' conftest.er1 >conftest.err
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } &&
30009 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30010 { (case "(($ac_try" in
30011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30012 *) ac_try_echo=$ac_try;;
30014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30015 (eval "$ac_try") 2>&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); }; } &&
30019 { ac_try='test -s conftest.
$ac_objext'
30020 { (case "(($ac_try" in
30021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30022 *) ac_try_echo=$ac_try;;
30024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30025 (eval "$ac_try") 2>&5
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 { echo "$as_me:$LINENO: result: yes" >&5
30030 echo "${ECHO_T}yes" >&6; }
30031 ac_cv_zaptel_h="yes"
30034 echo "$as_me: failed program was:" >&5
30035 sed 's
/^
/|
/' conftest.$ac_ext >&5
30037 { echo "$as_me:$LINENO: result: no" >&5
30038 echo "${ECHO_T}no" >&6; }
30039 ac_cv_zaptel_h="no"
30044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30045 CPPFLAGS="${saved_cppflags}"
30046 if test "${ac_cv_zaptel_h}" = "yes"; then
30047 if test "${ZAPTEL_DIR}" != ""; then
30048 ZAPTEL_INCLUDE="-I${ZAPTEL_DIR}/include"
30052 cat >>confdefs.h <<\_ACEOF
30053 #define HAVE_ZAPTEL 1
30056 elif test ! -z "${ZAPTEL_MANDATORY}";
30058 { echo "$as_me:$LINENO: ***" >&5
30059 echo "$as_me: ***" >&6;}
30060 { echo "$as_me:$LINENO: *** The Zaptel installation on this system appears to be broken." >&5
30061 echo "$as_me: *** The Zaptel installation on this system appears to be broken." >&6;}
30062 { echo "$as_me:$LINENO: *** Either correct the installation" >&5
30063 echo "$as_me: *** Either correct the installation" >&or run configure;}
30064 { echo "$as_me:$LINENO: *** including --without-zaptel." >&5
30065 echo "$as_me: *** including --without-zaptel." >&6;}
30071 if test "x$TERMCAP_LIB" != "x" ; then
30072 EDITLINE_LIB="$TERMCAP_LIB"
30073 elif test "x$TINFO_LIB" != "x" ; then
30074 EDITLINE_LIB="$TINFO_LIB"
30075 elif test "x$CURSES_LIB" != "x" ; then
30076 EDITLINE_LIB="$CURSES_LIB"
30077 elif test "x$NCURSES_LIB" != "x" ; then
30078 EDITLINE_LIB="$NCURSES_LIB"
30080 { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
30081 echo "$as_me: error: *** termcap support not found" >&2;}
30082 { (exit 1); exit 1; }; }
30086 if test "${ac_cv_header_h323_h+set}" = set; then
30087 { echo "$as_me:$LINENO: checking for h323.h" >&5
30088 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
30089 if test "${ac_cv_header_h323_h+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30092 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
30093 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
30095 # Is the header compilable?
30096 { echo "$as_me:$LINENO: checking h323.h usability" >&5
30097 echo $ECHO_N "checking h323.h usability... $ECHO_C" >&6; }
30098 cat >conftest.$ac_ext <<_ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104 $ac_includes_default
30107 rm -f conftest.$ac_objext
30108 if { (ac_try="$ac_compile"
30109 case "(($ac_try" in
30110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30111 *) ac_try_echo=$ac_try;;
30113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30114 (eval "$ac_compile") 2>conftest.er1
30116 grep -v '^
*+' conftest.er1 >conftest.err
30118 cat conftest.err >&5
30119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30120 (exit $ac_status); } &&
30121 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30122 { (case "(($ac_try" in
30123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30124 *) ac_try_echo=$ac_try;;
30126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30127 (eval "$ac_try") 2>&5
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; } &&
30131 { ac_try='test -s conftest.
$ac_objext'
30132 { (case "(($ac_try" in
30133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30134 *) ac_try_echo=$ac_try;;
30136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30137 (eval "$ac_try") 2>&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30141 ac_header_compiler=yes
30143 echo "$as_me: failed program was:" >&5
30144 sed 's
/^
/|
/' conftest.$ac_ext >&5
30146 ac_header_compiler=no
30149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30150 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30151 echo "${ECHO_T}$ac_header_compiler" >&6; }
30153 # Is the header present?
30154 { echo "$as_me:$LINENO: checking h323.h presence" >&5
30155 echo $ECHO_N "checking h323.h presence... $ECHO_C" >&6; }
30156 cat >conftest.$ac_ext <<_ACEOF
30159 cat confdefs.h >>conftest.$ac_ext
30160 cat >>conftest.$ac_ext <<_ACEOF
30161 /* end confdefs.h. */
30164 if { (ac_try="$ac_cpp conftest.$ac_ext"
30165 case "(($ac_try" in
30166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30167 *) ac_try_echo=$ac_try;;
30169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30170 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30172 grep -v '^
*+' conftest.er1 >conftest.err
30174 cat conftest.err >&5
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); } >/dev/null; then
30177 if test -s conftest.err; then
30178 ac_cpp_err=$ac_c_preproc_warn_flag
30179 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30186 if test -z "$ac_cpp_err"; then
30187 ac_header_preproc=yes
30189 echo "$as_me: failed program was:" >&5
30190 sed 's
/^
/|
/' conftest.$ac_ext >&5
30192 ac_header_preproc=no
30195 rm -f conftest.err conftest.$ac_ext
30196 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30197 echo "${ECHO_T}$ac_header_preproc" >&6; }
30199 # So? What about this header?
30200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30202 { echo "$as_me:$LINENO: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
30203 echo "$as_me: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30204 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the compiler's result
" >&5
30205 echo "$as_me: WARNING
: h323.h
: proceeding with the compiler
's result" >&2;}
30206 ac_header_preproc=yes
30209 { echo "$as_me:$LINENO: WARNING: h323.h: present but cannot be compiled" >&5
30210 echo "$as_me: WARNING: h323.h: present but cannot be compiled" >&2;}
30211 { echo "$as_me:$LINENO: WARNING: h323.h: check for missing prerequisite headers?" >&5
30212 echo "$as_me: WARNING: h323.h: check for missing prerequisite headers?" >&2;}
30213 { echo "$as_me:$LINENO: WARNING: h323.h: see the Autoconf documentation" >&5
30214 echo "$as_me: WARNING: h323.h: see the Autoconf documentation" >&2;}
30215 { echo "$as_me:$LINENO: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&5
30216 echo "$as_me: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
30217 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the preprocessor's result
" >&5
30218 echo "$as_me: WARNING
: h323.h
: proceeding with the preprocessor
's result" >&2;}
30219 { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5
30220 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;}
30224 { echo "$as_me:$LINENO: checking for h323.h" >&5
30225 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
30226 if test "${ac_cv_header_h323_h+set}" = set; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30229 ac_cv_header_h323_h=$ac_header_preproc
30231 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
30232 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
30235 if test $ac_cv_header_h323_h = yes; then
30244 { echo "$as_me:$LINENO: checking for linux/ixjuser.h" >&5
30245 echo $ECHO_N "checking for linux/ixjuser.h... $ECHO_C" >&6; }
30246 if test "${ac_cv_header_linux_ixjuser_h+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 cat >conftest.$ac_ext <<_ACEOF
30252 cat confdefs.h >>conftest.$ac_ext
30253 cat >>conftest.$ac_ext <<_ACEOF
30254 /* end confdefs.h. */
30256 #include <linux/version.h>
30257 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
30258 #include <linux/compiler.h>
30262 #include <linux/ixjuser.h>
30264 rm -f conftest.$ac_objext
30265 if { (ac_try="$ac_compile"
30266 case "(($ac_try" in
30267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30268 *) ac_try_echo=$ac_try;;
30270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30271 (eval "$ac_compile") 2>conftest.er1
30273 grep -v '^
*+' conftest.er1 >conftest.err
30275 cat conftest.err >&5
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); } &&
30278 { ac_try='test -z "$ac_c_werror_flag" ||
test ! -s conftest.err
'
30279 { (case "(($ac_try" in
30280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30281 *) ac_try_echo=$ac_try;;
30283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30284 (eval "$ac_try") 2>&5
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; } &&
30288 { ac_try='test -s conftest.
$ac_objext'
30289 { (case "(($ac_try" in
30290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30291 *) ac_try_echo=$ac_try;;
30293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30294 (eval "$ac_try") 2>&5
30296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30297 (exit $ac_status); }; }; then
30298 ac_cv_header_linux_ixjuser_h=yes
30300 echo "$as_me: failed program was:" >&5
30301 sed 's
/^
/|
/' conftest.$ac_ext >&5
30303 ac_cv_header_linux_ixjuser_h=no
30306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30308 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ixjuser_h" >&5
30309 echo "${ECHO_T}$ac_cv_header_linux_ixjuser_h" >&6; }
30310 if test $ac_cv_header_linux_ixjuser_h = yes; then
30320 if test -n "$ac_tool_prefix"; then
30321 # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args.
30322 set dummy ${ac_tool_prefix}gtk-config; ac_word=$2
30323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30325 if test "${ac_cv_prog_GTKCONFIG+set}" = set; then
30326 echo $ECHO_N "(cached) $ECHO_C" >&6
30328 if test -n "$GTKCONFIG"; then
30329 ac_cv_prog_GTKCONFIG="$GTKCONFIG" # Let the user override the test.
30331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30332 for as_dir in $PATH
30335 test -z "$as_dir" && as_dir=.
30336 for ac_exec_ext in '' $ac_executable_extensions; do
30337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30338 ac_cv_prog_GTKCONFIG="${ac_tool_prefix}gtk-config"
30339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30348 GTKCONFIG=$ac_cv_prog_GTKCONFIG
30349 if test -n "$GTKCONFIG"; then
30350 { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5
30351 echo "${ECHO_T}$GTKCONFIG" >&6; }
30353 { echo "$as_me:$LINENO: result: no" >&5
30354 echo "${ECHO_T}no" >&6; }
30359 if test -z "$ac_cv_prog_GTKCONFIG"; then
30360 ac_ct_GTKCONFIG=$GTKCONFIG
30361 # Extract the first word of "gtk-config", so it can be a program name with args.
30362 set dummy gtk-config; ac_word=$2
30363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30365 if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then
30366 echo $ECHO_N "(cached) $ECHO_C" >&6
30368 if test -n "$ac_ct_GTKCONFIG"; then
30369 ac_cv_prog_ac_ct_GTKCONFIG="$ac_ct_GTKCONFIG" # Let the user override the test.
30371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30372 for as_dir in $PATH
30375 test -z "$as_dir" && as_dir=.
30376 for ac_exec_ext in '' $ac_executable_extensions; do
30377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30378 ac_cv_prog_ac_ct_GTKCONFIG="gtk-config"
30379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30388 ac_ct_GTKCONFIG=$ac_cv_prog_ac_ct_GTKCONFIG
30389 if test -n "$ac_ct_GTKCONFIG"; then
30390 { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5
30391 echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; }
30393 { echo "$as_me:$LINENO: result: no" >&5
30394 echo "${ECHO_T}no" >&6; }
30397 if test "x$ac_ct_GTKCONFIG" = x; then
30400 case $cross_compiling:$ac_tool_warned in
30402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30403 whose name does not start with the host triplet. If you think this
30404 configuration is useful to you, please write to autoconf@gnu.org." >&5
30405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30406 whose name does not start with the host triplet. If you think this
30407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30408 ac_tool_warned=yes ;;
30410 GTKCONFIG=$ac_ct_GTKCONFIG
30413 GTKCONFIG="$ac_cv_prog_GTKCONFIG"
30416 if test ! "x${GTKCONFIG}" = xNo; then
30417 GTK_INCLUDE=$(${GTKCONFIG} --cflags gthread)
30418 GTK_LIB=$(${GTKCONFIG} --libs gthread)
30421 cat >>confdefs.h <<\_ACEOF
30430 if test "${USE_CURL}" != "no"; then
30431 if test -n "$ac_tool_prefix"; then
30432 # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
30433 set dummy ${ac_tool_prefix}curl-config; ac_word=$2
30434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30436 if test "${ac_cv_path_CURL+set}" = set; then
30437 echo $ECHO_N "(cached) $ECHO_C" >&6
30441 ac_cv_path_CURL="$CURL" # Let the user override the test with a path.
30444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30445 for as_dir in $PATH
30448 test -z "$as_dir" && as_dir=.
30449 for ac_exec_ext in '' $ac_executable_extensions; do
30450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30451 ac_cv_path_CURL="$as_dir/$ac_word$ac_exec_ext"
30452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30462 CURL=$ac_cv_path_CURL
30463 if test -n "$CURL"; then
30464 { echo "$as_me:$LINENO: result: $CURL" >&5
30465 echo "${ECHO_T}$CURL" >&6; }
30467 { echo "$as_me:$LINENO: result: no" >&5
30468 echo "${ECHO_T}no" >&6; }
30473 if test -z "$ac_cv_path_CURL"; then
30475 # Extract the first word of "curl-config", so it can be a program name with args.
30476 set dummy curl-config; ac_word=$2
30477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30479 if test "${ac_cv_path_ac_pt_CURL+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 case $ac_pt_CURL in
30484 ac_cv_path_ac_pt_CURL="$ac_pt_CURL" # Let the user override the test with a path.
30487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30488 for as_dir in $PATH
30491 test -z "$as_dir" && as_dir=.
30492 for ac_exec_ext in '' $ac_executable_extensions; do
30493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
30494 ac_cv_path_ac_pt_CURL="$as_dir/$ac_word$ac_exec_ext"
30495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30505 ac_pt_CURL=$ac_cv_path_ac_pt_CURL
30506 if test -n "$ac_pt_CURL"; then
30507 { echo "$as_me:$LINENO: result: $ac_pt_CURL" >&5
30508 echo "${ECHO_T}$ac_pt_CURL" >&6; }
30510 { echo "$as_me:$LINENO: result: no" >&5
30511 echo "${ECHO_T}no" >&6; }
30514 if test "x$ac_pt_CURL" = x; then
30517 case $cross_compiling:$ac_tool_warned in
30519 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30520 whose name does not start with the host triplet. If you think this
30521 configuration is useful to you, please write to autoconf@gnu.org." >&5
30522 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30523 whose name does not start with the host triplet. If you think this
30524 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30525 ac_tool_warned=yes ;;
30530 CURL="$ac_cv_path_CURL"
30533 if test ! x"${CURL}" = xNo; then
30534 # check for version
30535 if test "${host_os}" = "SunOS"; then
30536 if [ 0x`curl-config --vernum` -ge 0x70907 ]; then
30537 CURL_INCLUDE=$(${CURL} --cflags)
30538 CURL_LIB=$(${CURL} --libs)
30541 cat >>confdefs.h <<\_ACEOF
30542 #define HAVE_CURL 1
30547 if [[ 0x`curl-config --vernum` -ge 0x70907 ]]; then
30548 CURL_INCLUDE=$(${CURL} --cflags)
30549 CURL_LIB=$(${CURL} --libs)
30552 cat >>confdefs.h <<\_ACEOF
30553 #define HAVE_CURL 1
30561 ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
30563 cat >confcache <<\_ACEOF
30564 # This file is a shell script that caches the results of configure
30565 # tests run on this system so they can be shared between configure
30566 # scripts and configure runs, see configure's option
--config-cache.
30567 # It is not useful on other systems. If it contains results you don't
30568 # want to keep, you may remove or edit it.
30570 # config.status only pays attention to the cache file if you give it
30571 # the --recheck option to rerun configure.
30573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30575 # following values.
30579 # The following way of writing the cache mishandles newlines in values,
30580 # but we know of no workaround that is simple, portable, and efficient.
30581 # So, we kill variables containing newlines.
30582 # Ultrix sh set writes to stderr and can't be redirected directly,
30583 # and sets the high bit in the cache file unless we assign to the vars.
30585 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
30586 eval ac_val
=\$
$ac_var
30590 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
30591 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
30594 _ | IFS | as_nl
) ;; #(
30595 *) $as_unset $ac_var ;;
30601 case $as_nl`(ac_space=' '; set) 2>&1` in #(
30602 *${as_nl}ac_space
=\
*)
30603 # `set' does not quote correctly, so add quotes (double-quote
30604 # substitution turns \\\\ into \\, and sed turns \\ into \).
30607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30610 # `set' quotes correctly as required by POSIX, so do not add quotes.
30611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30620 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30622 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30624 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
30625 if test -w "$cache_file"; then
30626 test "x$cache_file" != "x/dev/null" &&
30627 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
30628 echo "$as_me: updating cache $cache_file" >&6;}
30629 cat confcache
>$cache_file
30631 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
30632 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30637 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
30638 # Let make expand exec_prefix.
30639 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
30641 DEFS
=-DHAVE_CONFIG_H
30645 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
30646 # 1. Remove the extension, and $U if already installed.
30647 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
30648 ac_i
=`echo "$ac_i" | sed "$ac_script"`
30649 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
30650 # will be set to the directory where LIBOBJS objects are built.
30651 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30652 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
30654 LIBOBJS
=$ac_libobjs
30656 LTLIBOBJS
=$ac_ltlibobjs
30660 : ${CONFIG_STATUS=./config.status}
30661 ac_clean_files_save
=$ac_clean_files
30662 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
30663 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
30664 echo "$as_me: creating $CONFIG_STATUS" >&6;}
30665 cat >$CONFIG_STATUS <<_ACEOF
30667 # Generated by $as_me.
30668 # Run this file to recreate the current configuration.
30669 # Compiler output produced by configure, useful for debugging
30670 # configure, is in config.log if it exists.
30673 ac_cs_recheck=false
30675 SHELL=\${CONFIG_SHELL-$SHELL}
30678 cat >>$CONFIG_STATUS <<\_ACEOF
30679 ## --------------------- ##
30680 ## M4sh Initialization. ##
30681 ## --------------------- ##
30683 # Be Bourne compatible
30684 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
30687 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
30688 # is contrary to our usage. Disable this feature.
30689 alias -g '${1+"$@"}'='"$@"'
30690 setopt NO_GLOB_SUBST
30692 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
30694 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
30695 DUALCASE
=1; export DUALCASE
# for MKS sh
30699 # Avoid depending upon Character Ranges.
30700 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
30701 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
30702 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
30703 as_cr_digits
='0123456789'
30704 as_cr_alnum
=$as_cr_Letters$as_cr_digits
30706 # The user is always right.
30707 if test "${PATH_SEPARATOR+set}" != set; then
30708 echo "#! /bin/sh" >conf$$.sh
30709 echo "exit 0" >>conf$$.sh
30711 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
30719 # Support unset when possible.
30720 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
30728 # We need space, tab and new line, in precisely that order. Quoting is
30729 # there to prevent editors from complaining about space-tab.
30730 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
30731 # splitting by setting IFS to empty value.)
30736 # Find who we are. Look in the path if we contain no directory separator.
30738 *[\\/]* ) as_myself
=$0 ;;
30739 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30740 for as_dir
in $PATH
30743 test -z "$as_dir" && as_dir
=.
30744 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
30750 # We did not find ourselves, most probably we were run as `sh COMMAND'
30751 # in which case we are not to be found in the path.
30752 if test "x$as_myself" = x
; then
30755 if test ! -f "$as_myself"; then
30756 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
30757 { (exit 1); exit 1; }
30760 # Work around bugs in pre-3.0 UWIN ksh.
30761 for as_var
in ENV MAIL MAILPATH
30762 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
30770 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
30771 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
30772 LC_TELEPHONE LC_TIME
30774 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
30775 eval $as_var=C
; export $as_var
30777 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
30781 # Required to use basename.
30782 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
30783 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
30789 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
30790 as_basename
=basename
30796 # Name of the executable.
30797 as_me
=`$as_basename -- "$0" ||
30798 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
30799 X"$0" : 'X\(//\)$' \| \
30800 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
30802 sed '/^.*\/\([^/][^/]*\)\/*$/{
30821 as_lineno_1
=$LINENO
30822 as_lineno_2
=$LINENO
30823 test "x$as_lineno_1" != "x$as_lineno_2" &&
30824 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
30826 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
30827 # uniformly replaced by the line number. The first 'sed' inserts a
30828 # line-number line after each line using $LINENO; the second 'sed'
30829 # does the real work. The second script uses 'N' to pair each
30830 # line-number line with the line containing $LINENO, and appends
30831 # trailing '-' during substitution so that $LINENO is not a special
30832 # case at line end.
30833 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
30834 # scripts with optimization help from Paolo Bonzini. Blame Lee
30835 # E. McMahon (1931-1989) for sed's syntax. :-)
30847 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
30850 ' >$as_me.lineno
&&
30851 chmod +x
"$as_me.lineno" ||
30852 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
30853 { (exit 1); exit 1; }; }
30855 # Don't try to exec as it changes $[0], causing all sort of problems
30856 # (the dirname of $[0] is not the place where we might find the
30857 # original and so on. Autoconf is especially sensitive to this).
30858 .
"./$as_me.lineno"
30859 # Exit status is that of the last command.
30864 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
30870 ECHO_C
= ECHO_N
= ECHO_T
=
30871 case `echo -n x` in
30873 case `echo 'x\c'` in
30874 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
30881 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
30882 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
30888 rm -f conf$$ conf$$.exe conf$$.
file
30889 if test -d conf$$.dir
; then
30890 rm -f conf$$.dir
/conf$$.
file
30896 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
30898 # ... but there are two gotchas:
30899 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
30900 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
30901 # In both cases, we have to default to `cp -p'.
30902 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
30904 elif ln conf$$.
file conf$$
2>/dev
/null
; then
30909 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
30910 rmdir conf$$.dir
2>/dev
/null
30912 if mkdir
-p .
2>/dev
/null
; then
30915 test -d .
/-p && rmdir .
/-p
30919 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
30920 # systems may use methods other than mode bits to determine executability.
30921 cat >conf$$.
file <<_ASEOF
30925 chmod +x conf$$.
file
30926 if test -x conf$$.
file >/dev
/null
2>&1; then
30927 as_executable_p
="test -x"
30933 # Sed expression to map a string onto a valid CPP name.
30934 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
30936 # Sed expression to map a string onto a valid variable name.
30937 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
30942 # Save the log message, to keep $[0] and so on meaningful, and to
30943 # report actual input values of CONFIG_FILES etc. instead of their
30944 # values after options handling.
30946 This file was extended by $as_me, which was
30947 generated by GNU Autoconf 2.60a. Invocation command line was
30949 CONFIG_FILES = $CONFIG_FILES
30950 CONFIG_HEADERS = $CONFIG_HEADERS
30951 CONFIG_LINKS = $CONFIG_LINKS
30952 CONFIG_COMMANDS = $CONFIG_COMMANDS
30955 on `(hostname || uname -n) 2>/dev/null | sed 1q`
30960 cat >>$CONFIG_STATUS <<_ACEOF
30961 # Files that config.status was made for.
30962 config_files="$ac_config_files"
30963 config_headers="$ac_config_headers"
30967 cat >>$CONFIG_STATUS <<\_ACEOF
30969 \`$as_me' instantiates files from templates according to the
30970 current configuration.
30972 Usage: $0 [OPTIONS] [FILE]...
30974 -h, --help print this help, then exit
30975 -V, --version print version number and configuration settings, then exit
30976 -q, --quiet do not print progress messages
30977 -d, --debug don't remove temporary files
30978 --recheck update $as_me by reconfiguring in the same conditions
30979 --file=FILE[:TEMPLATE]
30980 instantiate the configuration file FILE
30981 --header=FILE[:TEMPLATE]
30982 instantiate the configuration header FILE
30984 Configuration files:
30987 Configuration headers:
30990 Report bugs to <bug-autoconf@gnu.org>."
30993 cat >>$CONFIG_STATUS <<_ACEOF
30996 configured by $0, generated by GNU Autoconf 2.60a,
30997 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
30999 Copyright (C) 2006 Free Software Foundation, Inc.
31000 This config.status script is free software; the Free Software Foundation
31001 gives unlimited permission to copy, distribute and modify it."
31008 cat >>$CONFIG_STATUS <<\_ACEOF
31009 # If no file are specified by the user, then we need to provide default
31010 # value. By we need to know if files were specified by the user.
31016 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
31017 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
31028 # Handling of the options.
31029 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
31031 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
31032 echo "$ac_cs_version"; exit ;;
31033 --debug |
--debu |
--deb |
--de |
--d |
-d )
31035 --file |
--fil |
--fi |
--f )
31037 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
31038 ac_need_defaults
=false
;;
31039 --header |
--heade |
--head |
--hea )
31041 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
31042 ac_need_defaults
=false
;;
31044 # Conflict between --help and --header
31045 { echo "$as_me: error: ambiguous option: $1
31046 Try \`$0 --help' for more information." >&2
31047 { (exit 1); exit 1; }; };;
31048 --help |
--hel |
-h )
31049 echo "$ac_cs_usage"; exit ;;
31050 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
31051 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
31054 # This is an error.
31055 -*) { echo "$as_me: error: unrecognized option: $1
31056 Try \`$0 --help' for more information." >&2
31057 { (exit 1); exit 1; }; } ;;
31059 *) ac_config_targets
="$ac_config_targets $1"
31060 ac_need_defaults
=false
;;
31066 ac_configure_extra_args
=
31068 if $ac_cs_silent; then
31070 ac_configure_extra_args
="$ac_configure_extra_args --silent"
31074 cat >>$CONFIG_STATUS <<_ACEOF
31075 if \$ac_cs_recheck; then
31076 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
31077 CONFIG_SHELL=$SHELL
31078 export CONFIG_SHELL
31079 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31083 cat >>$CONFIG_STATUS <<\_ACEOF
31087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31088 ## Running $as_me. ##
31094 cat >>$CONFIG_STATUS <<_ACEOF
31097 cat >>$CONFIG_STATUS <<\_ACEOF
31099 # Handling of arguments.
31100 for ac_config_target
in $ac_config_targets
31102 case $ac_config_target in
31103 "include/asterisk/autoconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
31104 "build_tools/menuselect-deps") CONFIG_FILES
="$CONFIG_FILES build_tools/menuselect-deps" ;;
31105 "makeopts") CONFIG_FILES
="$CONFIG_FILES makeopts" ;;
31106 "channels/h323/Makefile") CONFIG_FILES
="$CONFIG_FILES channels/h323/Makefile" ;;
31108 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
31109 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
31110 { (exit 1); exit 1; }; };;
31115 # If the user did not use the arguments to specify the items to instantiate,
31116 # then the envvar interface is used. Set only those that are not.
31117 # We use the long form for the default assignment because of an extremely
31118 # bizarre bug on SunOS 4.1.3.
31119 if $ac_need_defaults; then
31120 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
31121 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
31124 # Have a temporary directory for convenience. Make it in the build tree
31125 # simply because there is no reason against having it here, and in addition,
31126 # creating and moving files from /tmp can sometimes cause problems.
31127 # Hook for its removal unless debugging.
31128 # Note that there is a small window in which the directory will not be cleaned:
31129 # after its creation but before its name has been assigned to `$tmp'.
31133 trap 'exit_status=$?
31134 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
31136 trap '{ (exit 1); exit 1; }' 1 2 13 15
31138 # Create a (secure) tmp directory for tmp files.
31141 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
31142 test -n "$tmp" && test -d "$tmp"
31145 tmp
=.
/conf$$
-$RANDOM
31146 (umask 077 && mkdir
"$tmp")
31149 echo "$me: cannot create a temporary directory in ." >&2
31150 { (exit 1); exit 1; }
31154 # Set up the sed scripts for CONFIG_FILES section.
31157 # No need to generate the scripts if there are no CONFIG_FILES.
31158 # This happens for instance when ./config.status config.h
31159 if test -n "$CONFIG_FILES"; then
31166 for ac_last_try
in false false false false false
:; do
31167 cat >conf$
$subs.
sed <<_ACEOF
31168 SHELL!$SHELL$ac_delim
31169 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
31170 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
31171 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
31172 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
31173 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
31174 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
31175 exec_prefix!$exec_prefix$ac_delim
31176 prefix!$prefix$ac_delim
31177 program_transform_name!$program_transform_name$ac_delim
31178 bindir!$bindir$ac_delim
31179 sbindir!$sbindir$ac_delim
31180 libexecdir!$libexecdir$ac_delim
31181 datarootdir!$datarootdir$ac_delim
31182 datadir!$datadir$ac_delim
31183 sysconfdir!$sysconfdir$ac_delim
31184 sharedstatedir!$sharedstatedir$ac_delim
31185 localstatedir!$localstatedir$ac_delim
31186 includedir!$includedir$ac_delim
31187 oldincludedir!$oldincludedir$ac_delim
31188 docdir!$docdir$ac_delim
31189 infodir!$infodir$ac_delim
31190 htmldir!$htmldir$ac_delim
31191 dvidir!$dvidir$ac_delim
31192 pdfdir!$pdfdir$ac_delim
31193 psdir!$psdir$ac_delim
31194 libdir!$libdir$ac_delim
31195 localedir!$localedir$ac_delim
31196 mandir!$mandir$ac_delim
31197 DEFS!$DEFS$ac_delim
31198 ECHO_C!$ECHO_C$ac_delim
31199 ECHO_N!$ECHO_N$ac_delim
31200 ECHO_T!$ECHO_T$ac_delim
31201 LIBS!$LIBS$ac_delim
31202 build_alias!$build_alias$ac_delim
31203 host_alias!$host_alias$ac_delim
31204 target_alias!$target_alias$ac_delim
31205 build!$build$ac_delim
31206 build_cpu!$build_cpu$ac_delim
31207 build_vendor!$build_vendor$ac_delim
31208 build_os!$build_os$ac_delim
31209 host!$host$ac_delim
31210 host_cpu!$host_cpu$ac_delim
31211 host_vendor!$host_vendor$ac_delim
31212 host_os!$host_os$ac_delim
31213 BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
31214 BUILD_CPU!$BUILD_CPU$ac_delim
31215 BUILD_VENDOR!$BUILD_VENDOR$ac_delim
31216 BUILD_OS!$BUILD_OS$ac_delim
31217 HOST_PLATFORM!$HOST_PLATFORM$ac_delim
31218 HOST_CPU!$HOST_CPU$ac_delim
31219 HOST_VENDOR!$HOST_VENDOR$ac_delim
31220 HOST_OS!$HOST_OS$ac_delim
31221 OSARCH!$OSARCH$ac_delim
31222 UNAME!$UNAME$ac_delim
31223 PBX_OSREV!$PBX_OSREV$ac_delim
31227 RANLIB!$RANLIB$ac_delim
31229 CFLAGS!$CFLAGS$ac_delim
31230 LDFLAGS!$LDFLAGS$ac_delim
31231 CPPFLAGS!$CPPFLAGS$ac_delim
31232 ac_ct_CC!$ac_ct_CC$ac_delim
31233 EXEEXT!$EXEEXT$ac_delim
31234 OBJEXT!$OBJEXT$ac_delim
31235 CXXFLAGS!$CXXFLAGS$ac_delim
31236 ac_ct_CXX!$ac_ct_CXX$ac_delim
31238 CXXCPP!$CXXCPP$ac_delim
31240 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
31241 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
31242 INSTALL_DATA!$INSTALL_DATA$ac_delim
31243 LN_S!$LN_S$ac_delim
31244 GNU_MAKE!$GNU_MAKE$ac_delim
31245 GREP!$GREP$ac_delim
31246 FIND!$FIND$ac_delim
31247 COMPRESS!$COMPRESS$ac_delim
31248 BASENAME!$BASENAME$ac_delim
31250 DIRNAME!$DIRNAME$ac_delim
31253 AST_DEVMODE!$AST_DEVMODE$ac_delim
31254 ALSA_LIB!$ALSA_LIB$ac_delim
31255 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
31256 PBX_ALSA!$PBX_ALSA$ac_delim
31257 CURL_LIB!$CURL_LIB$ac_delim
31258 CURL_INCLUDE!$CURL_INCLUDE$ac_delim
31259 PBX_CURL!$PBX_CURL$ac_delim
31260 CURSES_LIB!$CURSES_LIB$ac_delim
31261 CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
31262 PBX_CURSES!$PBX_CURSES$ac_delim
31263 GNUTLS_LIB!$GNUTLS_LIB$ac_delim
31264 GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
31267 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
31269 elif $ac_last_try; then
31270 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31271 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31272 { (exit 1); exit 1; }; }
31274 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
31278 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31279 if test -n "$ac_eof"; then
31280 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
31281 ac_eof
=`expr $ac_eof + 1`
31284 cat >>$CONFIG_STATUS <<_ACEOF
31285 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
31286 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31289 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31290 s/^/s,@/; s/!/@,|#_!!_#|/
31293 s/'"$ac_delim"'$/,g/; t
31295 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31296 ' >>$CONFIG_STATUS <conf$
$subs.
sed
31297 rm -f conf$
$subs.
sed
31298 cat >>$CONFIG_STATUS <<_ACEOF
31304 for ac_last_try
in false false false false false
:; do
31305 cat >conf$
$subs.
sed <<_ACEOF
31306 PBX_GNUTLS!$PBX_GNUTLS$ac_delim
31307 GSM_LIB!$GSM_LIB$ac_delim
31308 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
31309 PBX_GSM!$PBX_GSM$ac_delim
31310 IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim
31311 IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim
31312 PBX_IKSEMEL!$PBX_IKSEMEL$ac_delim
31313 IMAP_TK_LIB!$IMAP_TK_LIB$ac_delim
31314 IMAP_TK_INCLUDE!$IMAP_TK_INCLUDE$ac_delim
31315 PBX_IMAP_TK!$PBX_IMAP_TK$ac_delim
31316 ISDNNET_LIB!$ISDNNET_LIB$ac_delim
31317 ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
31318 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
31319 KDE_LIB!$KDE_LIB$ac_delim
31320 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
31321 PBX_KDE!$PBX_KDE$ac_delim
31322 MISDN_LIB!$MISDN_LIB$ac_delim
31323 MISDN_INCLUDE!$MISDN_INCLUDE$ac_delim
31324 PBX_MISDN!$PBX_MISDN$ac_delim
31325 NBS_LIB!$NBS_LIB$ac_delim
31326 NBS_INCLUDE!$NBS_INCLUDE$ac_delim
31327 PBX_NBS!$PBX_NBS$ac_delim
31328 NCURSES_LIB!$NCURSES_LIB$ac_delim
31329 NCURSES_INCLUDE!$NCURSES_INCLUDE$ac_delim
31330 PBX_NCURSES!$PBX_NCURSES$ac_delim
31331 NETSNMP_LIB!$NETSNMP_LIB$ac_delim
31332 NETSNMP_INCLUDE!$NETSNMP_INCLUDE$ac_delim
31333 PBX_NETSNMP!$PBX_NETSNMP$ac_delim
31334 NEWT_LIB!$NEWT_LIB$ac_delim
31335 NEWT_INCLUDE!$NEWT_INCLUDE$ac_delim
31336 PBX_NEWT!$PBX_NEWT$ac_delim
31337 UNIXODBC_LIB!$UNIXODBC_LIB$ac_delim
31338 UNIXODBC_INCLUDE!$UNIXODBC_INCLUDE$ac_delim
31339 PBX_UNIXODBC!$PBX_UNIXODBC$ac_delim
31340 OGG_LIB!$OGG_LIB$ac_delim
31341 OGG_INCLUDE!$OGG_INCLUDE$ac_delim
31342 PBX_OGG!$PBX_OGG$ac_delim
31343 OSPTK_LIB!$OSPTK_LIB$ac_delim
31344 OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim
31345 PBX_OSPTK!$PBX_OSPTK$ac_delim
31346 OSS_LIB!$OSS_LIB$ac_delim
31347 OSS_INCLUDE!$OSS_INCLUDE$ac_delim
31348 PBX_OSS!$PBX_OSS$ac_delim
31349 POPT_LIB!$POPT_LIB$ac_delim
31350 POPT_INCLUDE!$POPT_INCLUDE$ac_delim
31351 PBX_POPT!$PBX_POPT$ac_delim
31352 PGSQL_LIB!$PGSQL_LIB$ac_delim
31353 PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim
31354 PBX_PGSQL!$PBX_PGSQL$ac_delim
31355 PRI_LIB!$PRI_LIB$ac_delim
31356 PRI_INCLUDE!$PRI_INCLUDE$ac_delim
31357 PBX_PRI!$PBX_PRI$ac_delim
31358 PWLIB_LIB!$PWLIB_LIB$ac_delim
31359 PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
31360 PBX_PWLIB!$PBX_PWLIB$ac_delim
31361 OPENH323_LIB!$OPENH323_LIB$ac_delim
31362 OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim
31363 PBX_OPENH323!$PBX_OPENH323$ac_delim
31364 QT_LIB!$QT_LIB$ac_delim
31365 QT_INCLUDE!$QT_INCLUDE$ac_delim
31366 PBX_QT!$PBX_QT$ac_delim
31367 RADIUS_LIB!$RADIUS_LIB$ac_delim
31368 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
31369 PBX_RADIUS!$PBX_RADIUS$ac_delim
31370 SPEEX_LIB!$SPEEX_LIB$ac_delim
31371 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
31372 PBX_SPEEX!$PBX_SPEEX$ac_delim
31373 SQLITE_LIB!$SQLITE_LIB$ac_delim
31374 SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim
31375 PBX_SQLITE!$PBX_SQLITE$ac_delim
31376 SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim
31377 SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim
31378 PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim
31379 OPENSSL_LIB!$OPENSSL_LIB$ac_delim
31380 OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
31381 PBX_OPENSSL!$PBX_OPENSSL$ac_delim
31382 FREETDS_LIB!$FREETDS_LIB$ac_delim
31383 FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim
31384 PBX_FREETDS!$PBX_FREETDS$ac_delim
31385 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
31386 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
31387 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
31388 TINFO_LIB!$TINFO_LIB$ac_delim
31389 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
31390 PBX_TINFO!$PBX_TINFO$ac_delim
31391 TONEZONE_LIB!$TONEZONE_LIB$ac_delim
31392 TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
31393 PBX_TONEZONE!$PBX_TONEZONE$ac_delim
31394 VORBIS_LIB!$VORBIS_LIB$ac_delim
31395 VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
31396 PBX_VORBIS!$PBX_VORBIS$ac_delim
31397 VPB_LIB!$VPB_LIB$ac_delim
31398 VPB_INCLUDE!$VPB_INCLUDE$ac_delim
31399 PBX_VPB!$PBX_VPB$ac_delim
31400 ZLIB_LIB!$ZLIB_LIB$ac_delim
31401 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
31402 PBX_ZLIB!$PBX_ZLIB$ac_delim
31405 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
31407 elif $ac_last_try; then
31408 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31409 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31410 { (exit 1); exit 1; }; }
31412 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
31416 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31417 if test -n "$ac_eof"; then
31418 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
31419 ac_eof
=`expr $ac_eof + 1`
31422 cat >>$CONFIG_STATUS <<_ACEOF
31423 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
31424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
31427 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31428 s/^/s,@/; s/!/@,|#_!!_#|/
31431 s/'"$ac_delim"'$/,g/; t
31433 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31434 ' >>$CONFIG_STATUS <conf$
$subs.
sed
31435 rm -f conf$
$subs.
sed
31436 cat >>$CONFIG_STATUS <<_ACEOF
31442 for ac_last_try
in false false false false false
:; do
31443 cat >conf$
$subs.
sed <<_ACEOF
31444 ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
31445 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
31446 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
31447 ALLOCA!$ALLOCA$ac_delim
31448 EGREP!$EGREP$ac_delim
31449 LIBOBJS!$LIBOBJS$ac_delim
31450 POW_LIB!$POW_LIB$ac_delim
31451 GC_CFLAGS!$GC_CFLAGS$ac_delim
31452 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
31453 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
31454 KDEINIT!$KDEINIT$ac_delim
31455 KDEDIR!$KDEDIR$ac_delim
31456 NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
31457 PG_CONFIG!$PG_CONFIG$ac_delim
31458 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
31459 PWLIBDIR!$PWLIBDIR$ac_delim
31460 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
31461 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
31462 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
31463 OPENH323DIR!$OPENH323DIR$ac_delim
31464 OPENH323_INCDIR!$OPENH323_INCDIR$ac_delim
31465 OPENH323_LIBDIR!$OPENH323_LIBDIR$ac_delim
31466 OPENH323_SUFFIX!$OPENH323_SUFFIX$ac_delim
31467 OPENH323_BUILD!$OPENH323_BUILD$ac_delim
31468 QTMOC!$QTMOC$ac_delim
31469 EDITLINE_LIB!$EDITLINE_LIB$ac_delim
31470 PBX_H323!$PBX_H323$ac_delim
31471 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
31472 GTKCONFIG!$GTKCONFIG$ac_delim
31473 PBX_GTK!$PBX_GTK$ac_delim
31474 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
31475 GTK_LIB!$GTK_LIB$ac_delim
31476 CURL!$CURL$ac_delim
31477 LTLIBOBJS!$LTLIBOBJS$ac_delim
31480 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 34; then
31482 elif $ac_last_try; then
31483 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
31484 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
31485 { (exit 1); exit 1; }; }
31487 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
31491 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
31492 if test -n "$ac_eof"; then
31493 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
31494 ac_eof
=`expr $ac_eof + 1`
31497 cat >>$CONFIG_STATUS <<_ACEOF
31498 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
31499 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
31502 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
31503 s/^/s,@/; s/!/@,|#_!!_#|/
31506 s/'"$ac_delim"'$/,g/; t
31508 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
31509 ' >>$CONFIG_STATUS <conf$
$subs.
sed
31510 rm -f conf$
$subs.
sed
31511 cat >>$CONFIG_STATUS <<_ACEOF
31518 # VPATH may cause trouble with some makes, so we remove $(srcdir),
31519 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
31520 # trailing colons and then remove the whole line if VPATH becomes empty
31521 # (actually we leave an empty line to preserve line numbers).
31522 if test "x$srcdir" = x.
; then
31523 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
31524 s/:*\$(srcdir):*/:/
31525 s/:*\${srcdir}:*/:/
31527 s/^\([^=]*=[ ]*\):*/\1/
31533 cat >>$CONFIG_STATUS <<\_ACEOF
31534 fi # test -n "$CONFIG_FILES"
31537 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
31540 :[FHLC
]) ac_mode
=$ac_tag; continue;;
31542 case $ac_mode$ac_tag in
31544 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
31545 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
31546 { (exit 1); exit 1; }; };;
31547 :[FH
]-) ac_tag
=-:-;;
31548 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
31565 -) ac_f
="$tmp/stdin";;
31566 *) # Look for the file first in the build tree, then in the source tree
31567 # (if the path is not absolute). The absolute path cannot be DOS-style,
31568 # because $ac_f cannot contain `:'.
31572 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
31574 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
31575 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
31576 { (exit 1); exit 1; }; };;
31578 ac_file_inputs
="$ac_file_inputs $ac_f"
31581 # Let's still pretend it is `configure' which instantiates (i.e., don't
31582 # use $as_me), people would be surprised to read:
31583 # /* config.h. Generated by config.status. */
31584 configure_input
="Generated from "`IFS=:
31585 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
31586 if test x
"$ac_file" != x-
; then
31587 configure_input
="$ac_file. $configure_input"
31588 { echo "$as_me:$LINENO: creating $ac_file" >&5
31589 echo "$as_me: creating $ac_file" >&6;}
31593 *:-:* |
*:-) cat >"$tmp/stdin";;
31598 ac_dir
=`$as_dirname -- "$ac_file" ||
31599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31600 X"$ac_file" : 'X\(//\)[^/]' \| \
31601 X"$ac_file" : 'X\(//\)$' \| \
31602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
31604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31608 /^X\(\/\/\)[^/].*/{
31623 -*) as_dir
=.
/$as_dir;;
31625 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
31629 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
31630 *) as_qdir
=$as_dir;;
31632 as_dirs
="'$as_qdir' $as_dirs"
31633 as_dir
=`$as_dirname -- "$as_dir" ||
31634 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31635 X"$as_dir" : 'X\(//\)[^/]' \| \
31636 X"$as_dir" : 'X\(//\)$' \| \
31637 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31643 /^X\(\/\/\)[^/].*/{
31656 test -d "$as_dir" && break
31658 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31659 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
31660 echo "$as_me: error: cannot create directory $as_dir" >&2;}
31661 { (exit 1); exit 1; }; }; }
31665 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
31667 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
31668 # A ".." for each directory in $ac_dir_suffix.
31669 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
31670 case $ac_top_builddir_sub in
31671 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
31672 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
31675 ac_abs_top_builddir
=$ac_pwd
31676 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
31677 # for backward compatibility:
31678 ac_top_builddir
=$ac_top_build_prefix
31681 .
) # We are building in place.
31683 ac_top_srcdir
=$ac_top_builddir_sub
31684 ac_abs_top_srcdir
=$ac_pwd ;;
31685 [\\/]* | ?
:[\\/]* ) # Absolute name.
31686 ac_srcdir
=$srcdir$ac_dir_suffix;
31687 ac_top_srcdir
=$srcdir
31688 ac_abs_top_srcdir
=$srcdir ;;
31689 *) # Relative name.
31690 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
31691 ac_top_srcdir
=$ac_top_build_prefix$srcdir
31692 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
31694 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
31704 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
31705 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
31709 cat >>$CONFIG_STATUS <<\_ACEOF
31710 # If the template does not know about datarootdir, expand it.
31711 # FIXME: This hack should be removed a few years after 2.60.
31712 ac_datarootdir_hack
=; ac_datarootdir_seen
=
31714 case `sed -n '/datarootdir/ {
31723 ' $ac_file_inputs` in
31724 *datarootdir
*) ac_datarootdir_seen
=yes;;
31725 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
31726 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
31727 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
31729 cat >>$CONFIG_STATUS <<_ACEOF
31730 ac_datarootdir_hack='
31731 s&@datadir@&$datadir&g
31732 s&@docdir@&$docdir&g
31733 s&@infodir@&$infodir&g
31734 s&@localedir@&$localedir&g
31735 s&@mandir@&$mandir&g
31736 s&\\\${datarootdir}&$datarootdir&g' ;;
31740 # Neutralize VPATH when `$srcdir' = `.'.
31741 # Shell code in configure.ac might set extrasub.
31742 # FIXME: do we really want to maintain this feature?
31743 cat >>$CONFIG_STATUS <<_ACEOF
31747 cat >>$CONFIG_STATUS <<\_ACEOF
31749 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
31750 s
&@configure_input@
&$configure_input&;t t
31751 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
31752 s
&@srcdir@
&$ac_srcdir&;t t
31753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
31754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
31755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
31756 s
&@builddir@
&$ac_builddir&;t t
31757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
31758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
31759 s
&@INSTALL@
&$ac_INSTALL&;t t
31760 $ac_datarootdir_hack
31761 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
31763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
31764 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
31765 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
31766 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
31767 which seems to be undefined. Please make sure it is defined." >&5
31768 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
31769 which seems to be undefined. Please make sure it is defined." >&2;}
31773 -) cat "$tmp/out"; rm -f "$tmp/out";;
31774 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
31783 # Transform confdefs.h into a sed script `conftest.defines', that
31784 # substitutes the proper values into config.h.in to produce config.h.
31785 rm -f conftest.defines conftest.
tail
31786 # First, append a space to every undef/define line, to ease matching.
31787 echo 's/$/ /' >conftest.defines
31788 # Then, protect against being on the right side of a sed subst, or in
31789 # an unquoted here document, in config.status. If some macros were
31790 # called several times there might be several #defines for the same
31791 # symbol, which is useless. But do not sort them, since the last
31792 # AC_DEFINE must be honored.
31793 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
31794 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
31795 # NAME is the cpp macro being defined, VALUE is the value it is being given.
31796 # PARAMS is the parameter list in the macro definition--in most cases, it's
31797 # just an empty string.
31798 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
31799 ac_dB
='\\)[ (].*,\\1define\\2'
31807 s/^[ ]*#[ ]*define[ ][ ]*//
31812 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
31813 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
31814 ' >>conftest.defines
31816 # Remove the space that was appended to ease matching.
31817 # Then replace #undef with comments. This is necessary, for
31818 # example, in the case of _POSIX_SOURCE, which is predefined and required
31819 # on some systems where configure will not decide to define it.
31820 # (The regexp can be short, since the line contains either #define or #undef.)
31822 s,^[ #]*u.*,/* & */,' >>conftest.defines
31824 # Break up conftest.defines:
31825 ac_max_sed_lines
=50
31827 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
31828 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
31829 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
31831 ac_in
='$ac_file_inputs'
31832 ac_out
='"$tmp/out1"'
31833 ac_nxt
='"$tmp/out2"'
31837 # Write a here document:
31838 cat >>$CONFIG_STATUS <<_ACEOF
31839 # First, check the format of the line:
31840 cat >"\$tmp/defines.sed" <<\\CEOF
31841 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
31842 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
31846 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
31848 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
31849 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
31850 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
31851 grep . conftest.
tail >/dev
/null ||
break
31852 rm -f conftest.defines
31853 mv conftest.
tail conftest.defines
31855 rm -f conftest.defines conftest.
tail
31857 echo "ac_result=$ac_in" >>$CONFIG_STATUS
31858 cat >>$CONFIG_STATUS <<\_ACEOF
31859 if test x
"$ac_file" != x-
; then
31860 echo "/* $configure_input */" >"$tmp/config.h"
31861 cat "$ac_result" >>"$tmp/config.h"
31862 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
31863 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
31864 echo "$as_me: $ac_file is unchanged" >&6;}
31867 mv "$tmp/config.h" $ac_file
31870 echo "/* $configure_input */"
31882 { (exit 0); exit 0; }
31884 chmod +x
$CONFIG_STATUS
31885 ac_clean_files
=$ac_clean_files_save
31888 # configure is writing to config.log, and then calls config.status.
31889 # config.status does its own redirection, appending to config.log.
31890 # Unfortunately, on DOS this fails, as config.log is still kept open
31891 # by configure, so config.status won't be able to write to it; its
31892 # output is simply discarded. So we exec the FD to /dev/null,
31893 # effectively closing config.log, so it can be properly (re)opened and
31894 # appended to by config.status. When coming back to configure, we
31895 # need to make the FD available again.
31896 if test "$no_create" != yes; then
31898 ac_config_status_args
=
31899 test "$silent" = yes &&
31900 ac_config_status_args
="$ac_config_status_args --quiet"
31902 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
31904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
31905 # would make configure fail if this is the last instruction.
31906 $ac_cs_success ||
{ (exit 1); exit 1; }
31910 if test "x${silent}" != "xyes" ; then
31912 echo " .\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$=.. "
31913 echo " .\$7\$7.. .7\$\$7:. "
31914 echo " .\$\$:. ,\$7.7 "
31915 echo " .\$7. 7\$\$\$\$ .\$\$77 "
31916 echo " ..\$\$. \$\$\$\$\$ .\$\$\$7 "
31917 echo " ..7\$ .?. \$\$\$\$\$ .?. 7\$\$\$."
31918 echo " \$.\$. .\$\$\$7. \$\$\$\$7 .7\$\$\$. .\$\$\$."
31919 echo " .777. .\$\$\$\$\$\$77\$\$\$77\$\$\$\$\$7. \$\$\$,"
31920 echo " \$\$\$~ .7\$\$\$\$\$\$\$\$\$\$\$\$\$7. .\$\$\$."
31921 echo ".\$\$7 .7\$\$\$\$\$\$\$7: ?\$\$\$."
31922 echo "\$\$\$ ?7\$\$\$\$\$\$\$\$\$\$I .\$\$\$7 "
31923 echo "\$\$\$ .7\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ :\$\$\$. "
31924 echo "\$\$\$ \$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$\$\$\$ .\$\$\$. "
31925 echo "\$\$\$ \$\$\$ 7\$\$\$7 .\$\$\$ .\$\$\$. "
31926 echo "\$\$\$\$ \$\$\$\$7 .\$\$\$. "
31927 echo "7\$\$\$7 7\$\$\$\$ 7\$\$\$ "
31928 echo " \$\$\$\$\$ \$\$\$ "
31929 echo " \$\$\$\$7. \$\$ (TM) "
31930 echo " \$\$\$\$\$\$\$. .7\$\$\$\$\$\$ \$\$ "
31931 echo " \$\$\$\$\$\$\$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$.\$\$\$\$\$\$ "
31932 echo " \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$. "
31936 { echo "$as_me:$LINENO: Package configured for: " >&5
31937 echo "$as_me: Package configured for: " >&6;}
31938 { echo "$as_me:$LINENO: OS type : $host_os" >&5
31939 echo "$as_me: OS type : $host_os" >&6;}
31940 { echo "$as_me:$LINENO: Host CPU : $host_cpu" >&5
31941 echo "$as_me: Host CPU : $host_cpu" >&6;}
31942 if test "${cross_compiling}" = "yes"; then
31943 { echo "$as_me:$LINENO: Cross Compilation = YES" >&5
31944 echo "$as_me: Cross Compilation = YES" >&6;}