2 # From configure.ac Revision: 78166 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) ||
{ (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") ||
{
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir
-p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
582 ac_unique_file
="asterisk"
583 ac_unique_file
="main/asterisk.c"
584 # Factoring default headers for most tests.
585 ac_includes_default
="\
587 #ifdef HAVE_SYS_TYPES_H
588 # include <sys/types.h>
590 #ifdef HAVE_SYS_STAT_H
591 # include <sys/stat.h>
597 # ifdef HAVE_STDLIB_H
602 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 #ifdef HAVE_STRINGS_H
608 # include <strings.h>
610 #ifdef HAVE_INTTYPES_H
611 # include <inttypes.h>
631 program_transform_name
880 AST_DECLARATION_AFTER_STATEMENT
913 ac_precious_vars
='build_alias
928 # Initialize some variables set by options.
930 ac_init_version
=false
931 # The variables have the same names as the options, with
932 # dashes changed to underlines.
940 program_transform_name
=s
,x
,x
,
948 # Installation directory options.
949 # These are left unexpanded so users can "make install exec_prefix=/foo"
950 # and all the variables that are supposed to be based on exec_prefix
951 # by default will actually change.
952 # Use braces instead of parens because sh, perl, etc. also accept them.
953 # (The list follows the same order as the GNU Coding Standards.)
954 bindir
='${exec_prefix}/bin'
955 sbindir
='${exec_prefix}/sbin'
956 libexecdir
='${exec_prefix}/libexec'
957 datarootdir
='${prefix}/share'
958 datadir
='${datarootdir}'
959 sysconfdir
='${prefix}/etc'
960 sharedstatedir
='${prefix}/com'
961 localstatedir
='${prefix}/var'
962 includedir
='${prefix}/include'
963 oldincludedir
='/usr/include'
964 docdir
='${datarootdir}/doc/${PACKAGE}'
965 infodir
='${datarootdir}/info'
970 libdir
='${exec_prefix}/lib'
971 localedir
='${datarootdir}/locale'
972 mandir
='${datarootdir}/man'
978 # If the previous option needs an argument, assign it.
979 if test -n "$ac_prev"; then
980 eval $ac_prev=\
$ac_option
986 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
990 # Accept the important Cygnus configure options, so we can diagnose typos.
992 case $ac_dashdash$ac_option in
996 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
998 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1001 -build |
--build |
--buil |
--bui |
--bu)
1002 ac_prev
=build_alias
;;
1003 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1004 build_alias
=$ac_optarg ;;
1006 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1007 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1008 ac_prev
=cache_file
;;
1009 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1010 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1011 cache_file
=$ac_optarg ;;
1013 --config-cache |
-C)
1014 cache_file
=config.cache
;;
1016 -datadir |
--datadir |
--datadi |
--datad)
1018 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1019 datadir
=$ac_optarg ;;
1021 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1022 |
--dataroo |
--dataro |
--datar)
1023 ac_prev
=datarootdir
;;
1024 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1025 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1026 datarootdir
=$ac_optarg ;;
1028 -disable-* |
--disable-*)
1029 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1032 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1033 { (exit 1); exit 1; }; }
1034 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1035 eval enable_
$ac_feature=no
;;
1037 -docdir |
--docdir |
--docdi |
--doc |
--do)
1039 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1040 docdir
=$ac_optarg ;;
1042 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1044 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1045 dvidir
=$ac_optarg ;;
1047 -enable-* |
--enable-*)
1048 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1049 # Reject names that are not valid shell variable names.
1050 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1051 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1052 { (exit 1); exit 1; }; }
1053 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1054 eval enable_
$ac_feature=\
$ac_optarg ;;
1056 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1057 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1058 |
--exec |
--exe |
--ex)
1059 ac_prev
=exec_prefix
;;
1060 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1061 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1062 |
--exec=* |
--exe=* |
--ex=*)
1063 exec_prefix
=$ac_optarg ;;
1065 -gas |
--gas |
--ga |
--g)
1066 # Obsolete; use --with-gas.
1069 -help |
--help |
--hel |
--he |
-h)
1070 ac_init_help
=long
;;
1071 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1072 ac_init_help
=recursive
;;
1073 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1074 ac_init_help
=short
;;
1076 -host |
--host |
--hos |
--ho)
1077 ac_prev
=host_alias
;;
1078 -host=* |
--host=* |
--hos=* |
--ho=*)
1079 host_alias
=$ac_optarg ;;
1081 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1083 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1085 htmldir
=$ac_optarg ;;
1087 -includedir |
--includedir |
--includedi |
--included |
--include \
1088 |
--includ |
--inclu |
--incl |
--inc)
1089 ac_prev
=includedir
;;
1090 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1091 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1092 includedir
=$ac_optarg ;;
1094 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1096 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1097 infodir
=$ac_optarg ;;
1099 -libdir |
--libdir |
--libdi |
--libd)
1101 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1102 libdir
=$ac_optarg ;;
1104 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1105 |
--libexe |
--libex |
--libe)
1106 ac_prev
=libexecdir
;;
1107 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1108 |
--libexe=* |
--libex=* |
--libe=*)
1109 libexecdir
=$ac_optarg ;;
1111 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1112 ac_prev
=localedir
;;
1113 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1114 localedir
=$ac_optarg ;;
1116 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1117 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1118 ac_prev
=localstatedir
;;
1119 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1120 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1121 localstatedir
=$ac_optarg ;;
1123 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1125 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1126 mandir
=$ac_optarg ;;
1128 -nfp |
--nfp |
--nf)
1129 # Obsolete; use --without-fp.
1132 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1133 |
--no-cr |
--no-c |
-n)
1136 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1137 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1140 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1141 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1142 |
--oldin |
--oldi |
--old |
--ol |
--o)
1143 ac_prev
=oldincludedir
;;
1144 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1145 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1146 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1147 oldincludedir
=$ac_optarg ;;
1149 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1151 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1152 prefix
=$ac_optarg ;;
1154 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1155 |
--program-pre |
--program-pr |
--program-p)
1156 ac_prev
=program_prefix
;;
1157 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1158 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1159 program_prefix
=$ac_optarg ;;
1161 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1162 |
--program-suf |
--program-su |
--program-s)
1163 ac_prev
=program_suffix
;;
1164 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1165 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1166 program_suffix
=$ac_optarg ;;
1168 -program-transform-name |
--program-transform-name \
1169 |
--program-transform-nam |
--program-transform-na \
1170 |
--program-transform-n |
--program-transform- \
1171 |
--program-transform |
--program-transfor \
1172 |
--program-transfo |
--program-transf \
1173 |
--program-trans |
--program-tran \
1174 |
--progr-tra |
--program-tr |
--program-t)
1175 ac_prev
=program_transform_name
;;
1176 -program-transform-name=* |
--program-transform-name=* \
1177 |
--program-transform-nam=* |
--program-transform-na=* \
1178 |
--program-transform-n=* |
--program-transform-=* \
1179 |
--program-transform=* |
--program-transfor=* \
1180 |
--program-transfo=* |
--program-transf=* \
1181 |
--program-trans=* |
--program-tran=* \
1182 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1183 program_transform_name
=$ac_optarg ;;
1185 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1187 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1188 pdfdir
=$ac_optarg ;;
1190 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1192 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1195 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1196 |
-silent |
--silent |
--silen |
--sile |
--sil)
1199 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1201 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1203 sbindir
=$ac_optarg ;;
1205 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1206 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1207 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1209 ac_prev
=sharedstatedir
;;
1210 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1211 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1212 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1214 sharedstatedir
=$ac_optarg ;;
1216 -site |
--site |
--sit)
1218 -site=* |
--site=* |
--sit=*)
1221 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1223 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1224 srcdir
=$ac_optarg ;;
1226 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1227 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1228 ac_prev
=sysconfdir
;;
1229 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1230 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1231 sysconfdir
=$ac_optarg ;;
1233 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1234 ac_prev
=target_alias
;;
1235 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1236 target_alias
=$ac_optarg ;;
1238 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1241 -version |
--version |
--versio |
--versi |
--vers |
-V)
1242 ac_init_version
=: ;;
1245 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1246 # Reject names that are not valid shell variable names.
1247 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1248 { echo "$as_me: error: invalid package name: $ac_package" >&2
1249 { (exit 1); exit 1; }; }
1250 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1251 eval with_
$ac_package=\
$ac_optarg ;;
1253 -without-* |
--without-*)
1254 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1255 # Reject names that are not valid shell variable names.
1256 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1257 { echo "$as_me: error: invalid package name: $ac_package" >&2
1258 { (exit 1); exit 1; }; }
1259 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1260 eval with_
$ac_package=no
;;
1263 # Obsolete; use --with-x.
1266 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1267 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1268 ac_prev
=x_includes
;;
1269 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1270 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1271 x_includes
=$ac_optarg ;;
1273 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1274 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1275 ac_prev
=x_libraries
;;
1276 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1277 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1278 x_libraries
=$ac_optarg ;;
1280 -*) { echo "$as_me: error: unrecognized option: $ac_option
1281 Try \`$0 --help' for more information." >&2
1282 { (exit 1); exit 1; }; }
1286 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1289 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1290 { (exit 1); exit 1; }; }
1291 eval $ac_envvar=\
$ac_optarg
1292 export $ac_envvar ;;
1295 # FIXME: should be removed in autoconf 3.0.
1296 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1298 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305 if test -n "$ac_prev"; then
1306 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1307 { echo "$as_me: error: missing argument to $ac_option" >&2
1308 { (exit 1); exit 1; }; }
1311 # Be sure to have absolute directory names.
1312 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1313 datadir sysconfdir sharedstatedir localstatedir includedir \
1314 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1315 libdir localedir mandir
1317 eval ac_val
=\$
$ac_var
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1323 { (exit 1); exit 1; }; }
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target
=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x
; then
1335 if test "x$build_alias" = x
; then
1336 cross_compiling
=maybe
1337 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used." >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 { echo "$as_me: error: Working directory cannot be determined" >&2
1354 { (exit 1); exit 1; }; }
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 { echo "$as_me: error: pwd does not report name of working directory" >&2
1357 { (exit 1); exit 1; }; }
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted
=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir
=`$as_dirname -- "$0" ||
1365 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$0" : 'X\(//\)[^/]' \| \
1367 X"$0" : 'X\(//\)$' \| \
1368 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted
=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1396 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1397 { (exit 1); exit 1; }; }
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1402 { (exit 1); exit 1; }; }
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var
in $ac_precious_vars; do
1415 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1417 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures this package to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --build=BUILD configure
for building on BUILD
[guessed
]
1487 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1491 if test -n "$ac_init_help"; then
1496 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1497 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1498 --enable-dev-mode Turn on developer mode
1499 --disable-largefile omit support
for large files
1502 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1503 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1504 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1505 --with-asound=PATH use Advanced Linux Sound Architecture files
in PATH
1506 --with-curl=PATH use cURL files
in PATH
1507 --with-curses=PATH use curses files
in PATH
1508 --with-gnutls=PATH use GNU TLS support
(used
for iksemel only
) files
in
1510 --with-gsm=PATH use GSM files
in PATH
, or
'internal'
1511 --with-iksemel=PATH use Iksemel Jabber Library files
in PATH
1512 --with-imap=PATH use UW IMAP Toolkit files
in PATH
1513 --with-isdnnet=PATH use ISDN4Linux Library files
in PATH
1514 --with-kde=PATH use KDE files
in PATH
1515 --with-ltdl=PATH use libtool files
in PATH
1516 --with-misdn=PATH use mISDN User Library files
in PATH
1517 --with-nbs=PATH use Network Broadcast Sound files
in PATH
1518 --with-ncurses=PATH use ncurses files
in PATH
1519 --with-netsnmp=PATH use Net-SNMP files
in PATH
1520 --with-newt=PATH use newt files
in PATH
1521 --with-odbc=PATH use unixODBC files
in PATH
1522 --with-ogg=PATH use OGG files
in PATH
1523 --with-osptk=PATH use OSP Toolkit files
in PATH
1524 --with-oss=PATH use Open Sound System files
in PATH
1525 --with-popt=PATH use popt files
in PATH
1526 --with-postgres=PATH use PostgreSQL files
in PATH
1527 --with-pri=PATH use ISDN PRI files
in PATH
1528 --with-pwlib=PATH use PWlib files
in PATH
1529 --with-h323=PATH use OpenH323 files
in PATH
1530 --with-qt=PATH use Qt files
in PATH
1531 --with-radius=PATH use Radius Client files
in PATH
1532 --with-speex=PATH use Speex files
in PATH
1533 --with-sqlite=PATH use SQLite files
in PATH
1534 --with-suppserv=PATH use mISDN Supplemental Services files
in PATH
1535 --with-ssl=PATH use OpenSSL files
in PATH
1536 --with-tds=PATH use FreeTDS files
in PATH
1537 --with-termcap=PATH use Termcap files
in PATH
1538 --with-tinfo=PATH use Term Info files
in PATH
1539 --with-tonezone=PATH use tonezone files
in PATH
1540 --with-usb=PATH use usb files
in PATH
1541 --with-vorbis=PATH use Vorbis files
in PATH
1542 --with-vpb=PATH use Voicetronix API files
in PATH
1543 --with-z=PATH use zlib files
in PATH
1544 --with-zaptel=PATH use Zaptel files
in PATH
1546 Some influential environment variables
:
1547 CC C compiler
command
1548 CFLAGS C compiler flags
1549 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1550 nonstandard directory
<lib dir
>
1551 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1552 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1553 you have headers
in a nonstandard directory
<include dir
>
1555 CXX C
++ compiler
command
1556 CXXFLAGS C
++ compiler flags
1557 CXXCPP C
++ preprocessor
1559 Use these variables to override the choices made by
`configure' or to help
1560 it to find libraries and programs with nonstandard names/locations.
1566 if test "$ac_init_help" = "recursive"; then
1567 # If there are subdirs, report their specific --help.
1568 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1569 test -d "$ac_dir" || continue
1573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1576 # A ".." for each directory in $ac_dir_suffix.
1577 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1578 case $ac_top_builddir_sub in
1579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1583 ac_abs_top_builddir=$ac_pwd
1584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1585 # for backward compatibility:
1586 ac_top_builddir=$ac_top_build_prefix
1589 .) # We are building in place.
1591 ac_top_srcdir=$ac_top_builddir_sub
1592 ac_abs_top_srcdir=$ac_pwd ;;
1593 [\\/]* | ?:[\\/]* ) # Absolute name.
1594 ac_srcdir=$srcdir$ac_dir_suffix;
1595 ac_top_srcdir=$srcdir
1596 ac_abs_top_srcdir=$srcdir ;;
1598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1599 ac_top_srcdir=$ac_top_build_prefix$srcdir
1600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604 cd "$ac_dir" || { ac_status=$?; continue; }
1605 # Check for guested configure.
1606 if test -f "$ac_srcdir/configure.gnu"; then
1608 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1609 elif test -f "$ac_srcdir/configure"; then
1611 $SHELL "$ac_srcdir/configure" --help=recursive
1613 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 cd "$ac_pwd" || { ac_status=$?; break; }
1619 test -n "$ac_init_help" && exit $ac_status
1620 if $ac_init_version; then
1623 generated by GNU Autoconf 2.61
1625 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1626 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1627 This configure script is free software; the Free Software Foundation
1628 gives unlimited permission to copy, distribute and modify it.
1634 cat >config.log <<_ACEOF
1635 This file contains any messages produced by compilers while
1636 running configure, to aid debugging if configure makes a mistake.
1638 It was created by $as_me, which was
1639 generated by GNU Autoconf 2.61. Invocation command line was
1651 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1652 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1653 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1654 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1655 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1657 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1658 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1660 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1661 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1662 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1663 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1664 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1665 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1666 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 echo "PATH: $as_dir"
1691 # Keep a trace of the command line.
1692 # Strip out --no-create and --no-recursion so they do not pile up.
1693 # Strip out --silent because we don't want to record it for future runs.
1694 # Also quote any args containing shell meta-characters.
1695 # Make two passes to allow for proper duplicate-argument suppression.
1699 ac_must_keep_next=false
1705 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1706 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1707 | -silent | --silent | --silen | --sile | --sil)
1710 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1713 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1715 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1716 if test $ac_must_keep_next = true; then
1717 ac_must_keep_next=false # Got value, back to normal.
1720 *=* | --config-cache | -C | -disable-* | --disable-* \
1721 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1722 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1723 | -with-* | --with-* | -without-* | --without-* | --x)
1724 case "$ac_configure_args0 " in
1725 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1728 -* ) ac_must_keep_next=true ;;
1731 ac_configure_args="$ac_configure_args '$ac_arg'"
1736 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1737 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1739 # When interrupted or exit'd, cleanup temporary files, and complete
1740 # config.log. We remove comments because anyway the quotes in there
1741 # would cause problems or look ugly.
1742 # WARNING: Use '\'' to represent an apostrophe within the trap.
1743 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1744 trap 'exit_status=$?
1745 # Save into config.log some information that might help in debugging.
1750 ## ---------------- ##
1751 ## Cache variables. ##
1752 ## ---------------- ##
1755 # The following way of writing the cache mishandles newlines in values,
1757 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1758 eval ac_val=\$$ac_var
1762 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1763 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1766 _ | IFS | as_nl) ;; #(
1767 *) $as_unset $ac_var ;;
1772 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1773 *${as_nl}ac_space=\ *)
1775 "s/'\''/'\''\\\\'\'''\''/g;
1776 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1787 ## ----------------- ##
1788 ## Output variables. ##
1789 ## ----------------- ##
1792 for ac_var in $ac_subst_vars
1794 eval ac_val=\$$ac_var
1796 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1798 echo "$ac_var='\''$ac_val'\''"
1802 if test -n "$ac_subst_files"; then
1804 ## ------------------- ##
1805 ## File substitutions. ##
1806 ## ------------------- ##
1809 for ac_var in $ac_subst_files
1811 eval ac_val=\$$ac_var
1813 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1815 echo "$ac_var='\''$ac_val'\''"
1820 if test -s confdefs.h; then
1830 test "$ac_signal" != 0 &&
1831 echo "$as_me: caught signal $ac_signal"
1832 echo "$as_me: exit $exit_status"
1834 rm -f core *.core core.conftest.* &&
1835 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1838 for ac_signal in 1 2 13 15; do
1839 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1843 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1844 rm -f -r conftest* confdefs.h
1846 # Predefined preprocessor variables.
1848 cat >>confdefs.h <<_ACEOF
1849 #define PACKAGE_NAME "$PACKAGE_NAME"
1853 cat >>confdefs.h <<_ACEOF
1854 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1858 cat >>confdefs.h <<_ACEOF
1859 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1863 cat >>confdefs.h <<_ACEOF
1864 #define PACKAGE_STRING "$PACKAGE_STRING"
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1873 # Let the site file select an alternate cache file if it wants to.
1874 # Prefer explicitly selected file to automatically selected ones.
1875 if test -n "$CONFIG_SITE"; then
1876 set x "$CONFIG_SITE"
1877 elif test "x$prefix" != xNONE; then
1878 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1880 set x "$ac_default_prefix/share/config.site" \
1881 "$ac_default_prefix/etc/config.site"
1886 if test -r "$ac_site_file"; then
1887 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1888 echo "$as_me: loading site script $ac_site_file" >&6;}
1889 sed 's/^/| /' "$ac_site_file" >&5
1894 if test -r "$cache_file"; then
1895 # Some versions of bash will fail to source /dev/null (special
1896 # files actually), so we avoid doing that.
1897 if test -f "$cache_file"; then
1898 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1899 echo "$as_me: loading cache $cache_file" >&6;}
1901 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1902 *) . "./$cache_file";;
1906 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1907 echo "$as_me: creating cache $cache_file" >&6;}
1911 ac_header_list="$ac_header_list sys/time.h"
1912 ac_header_list="$ac_header_list unistd.h"
1913 ac_func_list="$ac_func_list alarm"
1914 ac_header_list="$ac_header_list utime.h"
1915 # Check that the precious variables saved in the cache have kept the same
1917 ac_cache_corrupted=false
1918 for ac_var in $ac_precious_vars; do
1919 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1920 eval ac_new_set=\$ac_env_${ac_var}_set
1921 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1922 eval ac_new_val=\$ac_env_${ac_var}_value
1923 case $ac_old_set,$ac_new_set in
1925 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1926 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1927 ac_cache_corrupted=: ;;
1929 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1930 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1931 ac_cache_corrupted=: ;;
1934 if test "x$ac_old_val" != "x$ac_new_val"; then
1935 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1936 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1937 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1938 echo "$as_me: former value
: $ac_old_val" >&2;}
1939 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1940 echo "$as_me: current value
: $ac_new_val" >&2;}
1941 ac_cache_corrupted=:
1944 # Pass precious variables to config.status.
1945 if test "$ac_new_set" = set; then
1947 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1948 *) ac_arg=$ac_var=$ac_new_val ;;
1950 case " $ac_configure_args " in
1951 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1952 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1956 if $ac_cache_corrupted; then
1957 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1958 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1959 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1960 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1961 { (exit 1); exit 1; }; }
1981 ac_cpp='$CPP $CPPFLAGS'
1982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1988 # cross-compile macros
1990 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1991 if test -f "$ac_dir/install-sh"; then
1993 ac_install_sh="$ac_aux_dir/install-sh -c"
1995 elif test -f "$ac_dir/install.sh"; then
1997 ac_install_sh="$ac_aux_dir/install.sh -c"
1999 elif test -f "$ac_dir/shtool"; then
2001 ac_install_sh="$ac_aux_dir/shtool install -c"
2005 if test -z "$ac_aux_dir"; then
2006 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2007 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2008 { (exit 1); exit 1; }; }
2011 # These three variables are undocumented and unsupported,
2012 # and are intended to be withdrawn in a future Autoconf release.
2013 # They can cause serious problems if a builder's source tree is in a directory
2014 # whose full name contains unusual characters.
2015 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2016 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2017 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2020 # Make sure we can run config.sub.
2021 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2022 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2023 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2024 { (exit 1); exit 1; }; }
2026 { echo "$as_me:$LINENO: checking build system type" >&5
2027 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2028 if test "${ac_cv_build+set}" = set; then
2029 echo $ECHO_N "(cached) $ECHO_C" >&6
2031 ac_build_alias=$build_alias
2032 test "x$ac_build_alias" = x &&
2033 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2034 test "x$ac_build_alias" = x &&
2035 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2036 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2037 { (exit 1); exit 1; }; }
2038 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2039 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2040 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2041 { (exit 1); exit 1; }; }
2044 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2045 echo "${ECHO_T}$ac_cv_build" >&6; }
2046 case $ac_cv_build in
2048 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2049 echo "$as_me: error: invalid value of canonical build" >&2;}
2050 { (exit 1); exit 1; }; };;
2053 ac_save_IFS=$IFS; IFS='-'
2059 # Remember, the first character of IFS is used to create $*,
2060 # except with old shells:
2063 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2066 { echo "$as_me:$LINENO: checking host system type" >&5
2067 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2068 if test "${ac_cv_host+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test "x$host_alias" = x; then
2072 ac_cv_host=$ac_cv_build
2074 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2075 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2076 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2077 { (exit 1); exit 1; }; }
2081 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2082 echo "${ECHO_T}$ac_cv_host" >&6; }
2085 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2086 echo "$as_me: error: invalid value of canonical host" >&2;}
2087 { (exit 1); exit 1; }; };;
2090 ac_save_IFS=$IFS; IFS='-'
2096 # Remember, the first character of IFS is used to create $*,
2097 # except with old shells:
2100 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2104 # check existence of the package
2107 # specify output header file
2108 ac_config_headers="$ac_config_headers include/asterisk/autoconfig.h"
2115 cat >>confdefs.h <<\_ACEOF
2116 #define _GNU_SOURCE 1
2121 ac_cpp='$CPP $CPPFLAGS'
2122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2164 if test -z "$ac_cv_prog_CC"; then
2166 # Extract the first word of "gcc", so it can be a program name with args.
2167 set dummy gcc; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_CC="gcc"
2184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2194 if test -n "$ac_ct_CC"; then
2195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2196 echo "${ECHO_T}$ac_ct_CC" >&6; }
2198 { echo "$as_me:$LINENO: result: no" >&5
2199 echo "${ECHO_T}no" >&6; }
2202 if test "x$ac_ct_CC" = x; then
2205 case $cross_compiling:$ac_tool_warned in
2207 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2208 whose name does not start with the host triplet. If you think this
2209 configuration is useful to you, please write to autoconf@gnu.org." >&5
2210 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2211 whose name does not start with the host triplet. If you think this
2212 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2213 ac_tool_warned=yes ;;
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2224 set dummy ${ac_tool_prefix}cc; ac_word=$2
2225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2227 if test "${ac_cv_prog_CC+set}" = set; then
2228 echo $ECHO_N "(cached) $ECHO_C" >&6
2230 if test -n "$CC"; then
2231 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2240 ac_cv_prog_CC="${ac_tool_prefix}cc"
2241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2251 if test -n "$CC"; then
2252 { echo "$as_me:$LINENO: result: $CC" >&5
2253 echo "${ECHO_T}$CC" >&6; }
2255 { echo "$as_me:$LINENO: result: no" >&5
2256 echo "${ECHO_T}no" >&6; }
2262 if test -z "$CC"; then
2263 # Extract the first word of "cc", so it can be a program name with args.
2264 set dummy cc; ac_word=$2
2265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2282 ac_prog_rejected=yes
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 if test $ac_prog_rejected = yes; then
2294 # We found a bogon in the path, so make sure we never use it.
2295 set dummy $ac_cv_prog_CC
2297 if test $# != 0; then
2298 # We chose a different compiler from the bogus one.
2299 # However, it has the same basename, so the bogon will be chosen
2300 # first if we set CC to just the basename; use the full file name.
2302 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2308 if test -n "$CC"; then
2309 { echo "$as_me:$LINENO: result: $CC" >&5
2310 echo "${ECHO_T}$CC" >&6; }
2312 { echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6; }
2318 if test -z "$CC"; then
2319 if test -n "$ac_tool_prefix"; then
2320 for ac_prog in cl.exe
2322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2323 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2326 if test "${ac_cv_prog_CC+set}" = set; then
2327 echo $ECHO_N "(cached) $ECHO_C" >&6
2329 if test -n "$CC"; then
2330 ac_cv_prog_CC="$CC" # Let the user override the test.
2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 test -z "$as_dir" && as_dir=.
2337 for ac_exec_ext in '' $ac_executable_extensions; do
2338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2339 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 if test -n "$CC"; then
2351 { echo "$as_me:$LINENO: result: $CC" >&5
2352 echo "${ECHO_T}$CC" >&6; }
2354 { echo "$as_me:$LINENO: result: no" >&5
2355 echo "${ECHO_T}no" >&6; }
2359 test -n "$CC" && break
2362 if test -z "$CC"; then
2364 for ac_prog in cl.exe
2366 # Extract the first word of "$ac_prog", so it can be a program name with args.
2367 set dummy $ac_prog; ac_word=$2
2368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2370 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2371 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 if test -n "$ac_ct_CC"; then
2374 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2380 test -z "$as_dir" && as_dir=.
2381 for ac_exec_ext in '' $ac_executable_extensions; do
2382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2383 ac_cv_prog_ac_ct_CC="$ac_prog"
2384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2393 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2394 if test -n "$ac_ct_CC"; then
2395 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2396 echo "${ECHO_T}$ac_ct_CC" >&6; }
2398 { echo "$as_me:$LINENO: result: no" >&5
2399 echo "${ECHO_T}no" >&6; }
2403 test -n "$ac_ct_CC" && break
2406 if test "x$ac_ct_CC" = x; then
2409 case $cross_compiling:$ac_tool_warned in
2411 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2412 whose name does not start with the host triplet. If you think this
2413 configuration is useful to you, please write to autoconf@gnu.org." >&5
2414 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2415 whose name does not start with the host triplet. If you think this
2416 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2417 ac_tool_warned=yes ;;
2426 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2427 See \`config.log
' for more details." >&5
2428 echo "$as_me: error: no acceptable C compiler found in \$PATH
2429 See \`config.log' for more details.
" >&2;}
2430 { (exit 1); exit 1; }; }
2432 # Provide some information about the compiler.
2433 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2434 ac_compiler=`set X $ac_compile; echo $2`
2435 { (ac_try="$ac_compiler --version >&5"
2437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2438 *) ac_try_echo=$ac_try;;
2440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2441 (eval "$ac_compiler --version >&5") 2>&5
2443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2444 (exit $ac_status); }
2445 { (ac_try="$ac_compiler -v >&5"
2447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2448 *) ac_try_echo=$ac_try;;
2450 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2451 (eval "$ac_compiler -v >&5") 2>&5
2453 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2454 (exit $ac_status); }
2455 { (ac_try="$ac_compiler -V >&5"
2457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2458 *) ac_try_echo=$ac_try;;
2460 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2461 (eval "$ac_compiler -V >&5") 2>&5
2463 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2464 (exit $ac_status); }
2466 cat >conftest.$ac_ext <<_ACEOF
2469 cat confdefs.h >>conftest.$ac_ext
2470 cat >>conftest.$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2481 ac_clean_files_save=$ac_clean_files
2482 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2483 # Try to create an executable without -o first, disregard a.out.
2484 # It will help us diagnose broken compilers, and finding out an intuition
2486 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2487 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2488 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2490 # List of possible output files, starting from the most likely.
2491 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2492 # only as a last resort. b.out is created by i960 compilers.
2493 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2495 # The IRIX 6 linker writes into existing files which may not be
2496 # executable, retaining their permissions. Remove them first so a
2497 # subsequent execution test works.
2499 for ac_file in $ac_files
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2503 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2508 if { (ac_try="$ac_link_default"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2514 (eval "$ac_link_default") 2>&5
2516 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2517 (exit $ac_status); }; then
2518 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2519 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2520 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2521 # so that the user can short-circuit this test for compilers unknown to
2523 for ac_file in $ac_files ''
2525 test -f "$ac_file" || continue
2527 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2530 # We found the default executable, but exeext='' is most
2534 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2536 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2538 # We set ac_cv_exeext here because the later test for it is not
2539 # safe: cross compilers may not add the suffix if given an `-o'
2540 # argument, so we may need to know it at that point already.
2541 # Even if this section looks crufty: it has the advantage of
2548 test "$ac_cv_exeext" = no && ac_cv_exeext=
2554 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2555 echo "${ECHO_T}$ac_file" >&6; }
2556 if test -z "$ac_file"; then
2557 echo "$as_me: failed program was
:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2560 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2561 See \
`config.log' for more details." >&5
2562 echo "$as_me: error: C compiler cannot create executables
2563 See \`config.log
' for more details." >&2;}
2564 { (exit 77); exit 77; }; }
2567 ac_exeext=$ac_cv_exeext
2569 # Check that the compiler produces executables we can run. If not, either
2570 # the compiler is broken, or we cross compile.
2571 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2572 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2573 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2574 # If not cross compiling, check that we can run a simple program.
2575 if test "$cross_compiling" != yes; then
2576 if { ac_try='.
/$ac_file'
2577 { (case "(($ac_try" in
2578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2579 *) ac_try_echo=$ac_try;;
2581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2582 (eval "$ac_try") 2>&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 if test "$cross_compiling" = maybe; then
2591 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2592 If you meant to cross compile, use \`--host'.
2593 See \
`config.log' for more details." >&5
2594 echo "$as_me: error: cannot run C compiled programs.
2595 If you meant to cross compile, use \`--host'.
2596 See \`config.log' for more details.
" >&2;}
2597 { (exit 1); exit 1; }; }
2601 { echo "$as_me:$LINENO: result
: yes" >&5
2602 echo "${ECHO_T}yes" >&6; }
2604 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2605 ac_clean_files=$ac_clean_files_save
2606 # Check that the compiler produces executables we can run. If not, either
2607 # the compiler is broken, or we cross compile.
2608 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2609 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2610 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2611 echo "${ECHO_T}$cross_compiling" >&6; }
2613 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2614 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2615 if { (ac_try="$ac_link"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_link") 2>&5
2623 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2624 (exit $ac_status); }; then
2625 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2626 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2627 # work properly (i.e., refer to `conftest.exe'), while it won't with
2629 for ac_file in conftest.exe conftest conftest.*; do
2630 test -f "$ac_file" || continue
2632 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2633 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2639 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2640 See \
`config.log' for more details." >&5
2641 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2642 See \`config.log
' for more details." >&2;}
2643 { (exit 1); exit 1; }; }
2646 rm -f conftest$ac_cv_exeext
2647 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2648 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2650 rm -f conftest.$ac_ext
2651 EXEEXT=$ac_cv_exeext
2653 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2654 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2655 if test "${ac_cv_objext+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 cat >conftest.$ac_ext <<_ACEOF
2661 cat confdefs.h >>conftest.$ac_ext
2662 cat >>conftest.$ac_ext <<_ACEOF
2663 /* end confdefs.h. */
2673 rm -f conftest.o conftest.obj
2674 if { (ac_try="$ac_compile"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); }; then
2684 for ac_file in conftest.o conftest.obj conftest.*; do
2685 test -f "$ac_file" || continue;
2687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2688 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2693 echo "$as_me: failed program was:" >&5
2694 sed 's
/^
/|
/' conftest.$ac_ext >&5
2696 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2697 See \`config.log' for more details.
" >&5
2698 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2699 See \
`config.log' for more details." >&2;}
2700 { (exit 1); exit 1; }; }
2703 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2705 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2706 echo "${ECHO_T}$ac_cv_objext" >&6; }
2707 OBJEXT=$ac_cv_objext
2709 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2710 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2711 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2712 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 cat >conftest.$ac_ext <<_ACEOF
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2732 rm -f conftest.$ac_objext
2733 if { (ac_try="$ac_compile"
2735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2736 *) ac_try_echo
=$ac_try;;
2738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2739 (eval "$ac_compile") 2>conftest.er1
2741 grep -v '^ *+' conftest.er1
>conftest.err
2743 cat conftest.err
>&5
2744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745 (exit $ac_status); } && {
2746 test -z "$ac_c_werror_flag" ||
2747 test ! -s conftest.err
2748 } && test -s conftest.
$ac_objext; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2757 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2758 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2761 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2762 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2763 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2764 ac_test_CFLAGS
=${CFLAGS+set}
2765 ac_save_CFLAGS
=$CFLAGS
2766 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2767 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2768 if test "${ac_cv_prog_cc_g+set}" = set; then
2769 echo $ECHO_N "(cached) $ECHO_C" >&6
2771 ac_save_c_werror_flag
=$ac_c_werror_flag
2772 ac_c_werror_flag
=yes
2775 cat >conftest.
$ac_ext <<_ACEOF
2778 cat confdefs.h
>>conftest.
$ac_ext
2779 cat >>conftest.
$ac_ext <<_ACEOF
2780 /* end confdefs.h. */
2790 rm -f conftest.
$ac_objext
2791 if { (ac_try
="$ac_compile"
2793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2797 (eval "$ac_compile") 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } && {
2804 test -z "$ac_c_werror_flag" ||
2805 test ! -s conftest.err
2806 } && test -s conftest.$ac_objext; then
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2813 cat >conftest.$ac_ext <<_ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 rm -f conftest.$ac_objext
2829 if { (ac_try="$ac_compile"
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_compile") 2>conftest.er1
2837 grep -v '^ *+' conftest.er1
>conftest.err
2839 cat conftest.err
>&5
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); } && {
2842 test -z "$ac_c_werror_flag" ||
2843 test ! -s conftest.err
2844 } && test -s conftest.
$ac_objext; then
2847 echo "$as_me: failed program was:" >&5
2848 sed 's/^/| /' conftest.
$ac_ext >&5
2850 ac_c_werror_flag
=$ac_save_c_werror_flag
2852 cat >conftest.
$ac_ext <<_ACEOF
2855 cat confdefs.h
>>conftest.
$ac_ext
2856 cat >>conftest.
$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2867 rm -f conftest.
$ac_objext
2868 if { (ac_try
="$ac_compile"
2870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2871 *) ac_try_echo=$ac_try;;
2873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874 (eval "$ac_compile") 2>conftest.er1
2876 grep -v '^ *+' conftest.er1 >conftest.err
2878 cat conftest.err >&5
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest.$ac_objext; then
2886 echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2899 ac_c_werror_flag=$ac_save_c_werror_flag
2901 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2902 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2903 if test "$ac_test_CFLAGS" = set; then
2904 CFLAGS=$ac_save_CFLAGS
2905 elif test $ac_cv_prog_cc_g = yes; then
2906 if test "$GCC" = yes; then
2912 if test "$GCC" = yes; then
2918 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2919 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2920 if test "${ac_cv_prog_cc_c89+set}" = set; then
2921 echo $ECHO_N "(cached) $ECHO_C" >&6
2923 ac_cv_prog_cc_c89=no
2925 cat >conftest.$ac_ext <<_ACEOF
2928 cat confdefs.h >>conftest.$ac_ext
2929 cat >>conftest.$ac_ext <<_ACEOF
2930 /* end confdefs.h. */
2933 #include <sys/types.h>
2934 #include <sys/stat.h>
2935 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2936 struct buf { int x; };
2937 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2938 static char *e (p, i)
2944 static char *f (char * (*g) (char **, int), char **p, ...)
2949 s = g (p, va_arg (v,int));
2954 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2955 function prototypes and stuff, but not '\xHH' hex character constants.
2956 These don't provoke an error unfortunately, instead are silently treated
2957 as 'x'. The following induces an error, until -std is added to get
2958 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2959 array size at least. It's necessary to write '\x00'==0 to get something
2960 that's true only with -std. */
2961 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2963 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2964 inside strings and character constants. */
2966 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2968 int test (int i, double x);
2969 struct s1 {int (*f) (int a);};
2970 struct s2 {int (*f) (double a);};
2971 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2977 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2982 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2983 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2985 CC="$ac_save_CC $ac_arg"
2986 rm -f conftest.$ac_objext
2987 if { (ac_try="$ac_compile"
2989 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2990 *) ac_try_echo
=$ac_try;;
2992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2993 (eval "$ac_compile") 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } && {
3000 test -z "$ac_c_werror_flag" ||
3001 test ! -s conftest.err
3002 } && test -s conftest.
$ac_objext; then
3003 ac_cv_prog_cc_c89
=$ac_arg
3005 echo "$as_me: failed program was:" >&5
3006 sed 's/^/| /' conftest.
$ac_ext >&5
3011 rm -f core conftest.err conftest.
$ac_objext
3012 test "x$ac_cv_prog_cc_c89" != "xno" && break
3014 rm -f conftest.
$ac_ext
3019 case "x$ac_cv_prog_cc_c89" in
3021 { echo "$as_me:$LINENO: result: none needed" >&5
3022 echo "${ECHO_T}none needed" >&6; } ;;
3024 { echo "$as_me:$LINENO: result: unsupported" >&5
3025 echo "${ECHO_T}unsupported" >&6; } ;;
3027 CC
="$CC $ac_cv_prog_cc_c89"
3028 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3029 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3034 ac_cpp
='$CPP $CPPFLAGS'
3035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3041 ac_cpp
='$CPP $CPPFLAGS'
3042 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3043 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3044 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3045 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3046 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3047 # On Suns, sometimes $CPP names a directory.
3048 if test -n "$CPP" && test -d "$CPP"; then
3051 if test -z "$CPP"; then
3052 if test "${ac_cv_prog_CPP+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 # Double quotes because CPP needs to be expanded
3056 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3059 for ac_c_preproc_warn_flag
in '' yes
3061 # Use a header file that comes with gcc, so configuring glibc
3062 # with a fresh cross-compiler works.
3063 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3064 # <limits.h> exists even on freestanding compilers.
3065 # On the NeXT, cc -E runs the code through the compiler's parser,
3066 # not just through cpp. "Syntax error" is here to catch this case.
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3074 # include <limits.h>
3076 # include <assert.h>
3080 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3082 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3083 *) ac_try_echo=$ac_try;;
3085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3088 grep -v '^ *+' conftest.er1 >conftest.err
3090 cat conftest.err >&5
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev/null && {
3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3098 echo "$as_me: failed program was:" >&5
3099 sed 's/^/| /' conftest.$ac_ext >&5
3101 # Broken: fails on valid input.
3105 rm -f conftest.err conftest.$ac_ext
3107 # OK, works on sane cases. Now check whether nonexistent headers
3108 # can be detected and how.
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3115 #include <ac_nonexistent.h>
3117 if { (ac_try="$ac_cpp conftest.$ac_ext"
3119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3120 *) ac_try_echo
=$ac_try;;
3122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3123 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3125 grep -v '^ *+' conftest.er1
>conftest.err
3127 cat conftest.err
>&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev
/null
&& {
3130 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3131 test ! -s conftest.err
3133 # Broken: success on invalid input.
3136 echo "$as_me: failed program was:" >&5
3137 sed 's/^/| /' conftest.
$ac_ext >&5
3139 # Passes both tests.
3144 rm -f conftest.err conftest.
$ac_ext
3147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3148 rm -f conftest.err conftest.
$ac_ext
3149 if $ac_preproc_ok; then
3161 { echo "$as_me:$LINENO: result: $CPP" >&5
3162 echo "${ECHO_T}$CPP" >&6; }
3164 for ac_c_preproc_warn_flag
in '' yes
3166 # Use a header file that comes with gcc, so configuring glibc
3167 # with a fresh cross-compiler works.
3168 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3169 # <limits.h> exists even on freestanding compilers.
3170 # On the NeXT, cc -E runs the code through the compiler's parser,
3171 # not just through cpp. "Syntax error" is here to catch this case.
3172 cat >conftest.
$ac_ext <<_ACEOF
3175 cat confdefs.h
>>conftest.
$ac_ext
3176 cat >>conftest.
$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3179 # include <limits.h>
3181 # include <assert.h>
3185 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3188 *) ac_try_echo=$ac_try;;
3190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3193 grep -v '^ *+' conftest.er1 >conftest.err
3195 cat conftest.err >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } >/dev/null && {
3198 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3199 test ! -s conftest.err
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3206 # Broken: fails on valid input.
3210 rm -f conftest.err conftest.$ac_ext
3212 # OK, works on sane cases. Now check whether nonexistent headers
3213 # can be detected and how.
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3220 #include <ac_nonexistent.h>
3222 if { (ac_try="$ac_cpp conftest.$ac_ext"
3224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3225 *) ac_try_echo
=$ac_try;;
3227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3230 grep -v '^ *+' conftest.er1
>conftest.err
3232 cat conftest.err
>&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } >/dev
/null
&& {
3235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3236 test ! -s conftest.err
3238 # Broken: success on invalid input.
3241 echo "$as_me: failed program was:" >&5
3242 sed 's/^/| /' conftest.
$ac_ext >&5
3244 # Passes both tests.
3249 rm -f conftest.err conftest.
$ac_ext
3252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3253 rm -f conftest.err conftest.
$ac_ext
3254 if $ac_preproc_ok; then
3257 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3258 See \`config.log' for more details." >&5
3259 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3260 See \`config.log' for more details." >&2;}
3261 { (exit 1); exit 1; }; }
3265 ac_cpp
='$CPP $CPPFLAGS'
3266 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3267 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3268 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3271 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3272 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3273 if test "${ac_cv_path_GREP+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3276 # Extract the first word of "grep ggrep" to use in msg output
3277 if test -z "$GREP"; then
3278 set dummy
grep ggrep
; ac_prog_name
=$2
3279 if test "${ac_cv_path_GREP+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3282 ac_path_GREP_found
=false
3283 # Loop through the user's path and test for each of PROGNAME-LIST
3284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3285 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3288 test -z "$as_dir" && as_dir
=.
3289 for ac_prog
in grep ggrep
; do
3290 for ac_exec_ext
in '' $ac_executable_extensions; do
3291 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3292 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3293 # Check for GNU ac_path_GREP and select it if it is found.
3294 # Check for GNU $ac_path_GREP
3295 case `"$ac_path_GREP" --version 2>&1` in
3297 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3300 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3303 cat "conftest.in" "conftest.in" >"conftest.tmp"
3304 mv "conftest.tmp" "conftest.in"
3305 cp "conftest.in" "conftest.nl"
3306 echo 'GREP' >> "conftest.nl"
3307 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3308 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3309 ac_count
=`expr $ac_count + 1`
3310 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3311 # Best one so far, save it but keep looking for a better one
3312 ac_cv_path_GREP
="$ac_path_GREP"
3313 ac_path_GREP_max
=$ac_count
3315 # 10*(2^10) chars as input seems more than enough
3316 test $ac_count -gt 10 && break
3318 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3322 $ac_path_GREP_found && break 3
3332 GREP
="$ac_cv_path_GREP"
3333 if test -z "$GREP"; then
3334 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3335 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3336 { (exit 1); exit 1; }; }
3340 ac_cv_path_GREP
=$GREP
3345 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3346 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3347 GREP
="$ac_cv_path_GREP"
3350 { echo "$as_me:$LINENO: checking for egrep" >&5
3351 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3352 if test "${ac_cv_path_EGREP+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3356 then ac_cv_path_EGREP
="$GREP -E"
3358 # Extract the first word of "egrep" to use in msg output
3359 if test -z "$EGREP"; then
3360 set dummy
egrep; ac_prog_name
=$2
3361 if test "${ac_cv_path_EGREP+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3364 ac_path_EGREP_found
=false
3365 # Loop through the user's path and test for each of PROGNAME-LIST
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_prog
in egrep; do
3372 for ac_exec_ext
in '' $ac_executable_extensions; do
3373 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3374 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3375 # Check for GNU ac_path_EGREP and select it if it is found.
3376 # Check for GNU $ac_path_EGREP
3377 case `"$ac_path_EGREP" --version 2>&1` in
3379 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3382 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3385 cat "conftest.in" "conftest.in" >"conftest.tmp"
3386 mv "conftest.tmp" "conftest.in"
3387 cp "conftest.in" "conftest.nl"
3388 echo 'EGREP' >> "conftest.nl"
3389 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3390 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3391 ac_count
=`expr $ac_count + 1`
3392 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3393 # Best one so far, save it but keep looking for a better one
3394 ac_cv_path_EGREP
="$ac_path_EGREP"
3395 ac_path_EGREP_max
=$ac_count
3397 # 10*(2^10) chars as input seems more than enough
3398 test $ac_count -gt 10 && break
3400 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3404 $ac_path_EGREP_found && break 3
3414 EGREP
="$ac_cv_path_EGREP"
3415 if test -z "$EGREP"; then
3416 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3417 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3418 { (exit 1); exit 1; }; }
3422 ac_cv_path_EGREP
=$EGREP
3428 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3429 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3430 EGREP
="$ac_cv_path_EGREP"
3434 { echo "$as_me:$LINENO: checking for AIX" >&5
3435 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
3436 cat >conftest.
$ac_ext <<_ACEOF
3439 cat confdefs.h
>>conftest.
$ac_ext
3440 cat >>conftest.
$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3448 $EGREP "yes" >/dev
/null
2>&1; then
3449 { echo "$as_me:$LINENO: result: yes" >&5
3450 echo "${ECHO_T}yes" >&6; }
3451 cat >>confdefs.h
<<\_ACEOF
3452 #define _ALL_SOURCE 1
3456 { echo "$as_me:$LINENO: result: no" >&5
3457 echo "${ECHO_T}no" >&6; }
3462 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3463 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3464 if test "${ac_cv_header_stdc+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 cat >conftest.
$ac_ext <<_ACEOF
3470 cat confdefs.h
>>conftest.
$ac_ext
3471 cat >>conftest.
$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3486 rm -f conftest.
$ac_objext
3487 if { (ac_try
="$ac_compile"
3489 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3490 *) ac_try_echo=$ac_try;;
3492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3493 (eval "$ac_compile") 2>conftest.er1
3495 grep -v '^ *+' conftest.er1 >conftest.err
3497 cat conftest.err >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } && {
3500 test -z "$ac_c_werror_flag" ||
3501 test ! -s conftest.err
3502 } && test -s conftest.$ac_objext; then
3503 ac_cv_header_stdc=yes
3505 echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3508 ac_cv_header_stdc=no
3511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3513 if test $ac_cv_header_stdc = yes; then
3514 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3525 $EGREP "memchr" >/dev/null 2>&1; then
3528 ac_cv_header_stdc=no
3534 if test $ac_cv_header_stdc = yes; then
3535 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3536 cat >conftest.$ac_ext <<_ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3545 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3546 $EGREP "free" >/dev/null 2>&1; then
3549 ac_cv_header_stdc=no
3555 if test $ac_cv_header_stdc = yes; then
3556 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3557 if test "$cross_compiling" = yes; then
3560 cat >conftest.$ac_ext <<_ACEOF
3563 cat confdefs.h >>conftest.$ac_ext
3564 cat >>conftest.$ac_ext <<_ACEOF
3565 /* end confdefs.h. */
3568 #if ((' ' & 0x0FF) == 0x020)
3569 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3570 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3572 # define ISLOWER(c) \
3573 (('a' <= (c) && (c) <= 'i') \
3574 || ('j' <= (c) && (c) <= 'r') \
3575 || ('s' <= (c) && (c) <= 'z'))
3576 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3579 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3584 for (i = 0; i < 256; i++)
3585 if (XOR (islower (i), ISLOWER (i))
3586 || toupper (i) != TOUPPER (i))
3591 rm -f conftest$ac_exeext
3592 if { (ac_try="$ac_link"
3594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3595 *) ac_try_echo
=$ac_try;;
3597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3598 (eval "$ac_link") 2>&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3602 { (case "(($ac_try" in
3603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3604 *) ac_try_echo=$ac_try;;
3606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3607 (eval "$ac_try") 2>&5
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3613 echo "$as_me: program exited with status $ac_status" >&5
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3618 ac_cv_header_stdc=no
3620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3626 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3627 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3628 if test $ac_cv_header_stdc = yes; then
3630 cat >>confdefs.h <<\_ACEOF
3631 #define STDC_HEADERS 1
3636 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3646 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3647 inttypes.h stdint.h unistd.h
3649 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 cat >conftest.$ac_ext <<_ACEOF
3658 cat confdefs.h >>conftest.$ac_ext
3659 cat >>conftest.$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3661 $ac_includes_default
3663 #include <$ac_header>
3665 rm -f conftest.$ac_objext
3666 if { (ac_try="$ac_compile"
3668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3669 *) ac_try_echo
=$ac_try;;
3671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3672 (eval "$ac_compile") 2>conftest.er1
3674 grep -v '^ *+' conftest.er1
>conftest.err
3676 cat conftest.err
>&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); } && {
3679 test -z "$ac_c_werror_flag" ||
3680 test ! -s conftest.err
3681 } && test -s conftest.
$ac_objext; then
3682 eval "$as_ac_Header=yes"
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3687 eval "$as_ac_Header=no"
3690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3692 ac_res
=`eval echo '${'$as_ac_Header'}'`
3693 { echo "$as_me:$LINENO: result: $ac_res" >&5
3694 echo "${ECHO_T}$ac_res" >&6; }
3695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3696 cat >>confdefs.h
<<_ACEOF
3697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3705 if test "${ac_cv_header_minix_config_h+set}" = set; then
3706 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3707 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3708 if test "${ac_cv_header_minix_config_h+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3712 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3714 # Is the header compilable?
3715 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3716 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
3717 cat >conftest.
$ac_ext <<_ACEOF
3720 cat confdefs.h
>>conftest.
$ac_ext
3721 cat >>conftest.
$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3723 $ac_includes_default
3724 #include <minix/config.h>
3726 rm -f conftest.
$ac_objext
3727 if { (ac_try
="$ac_compile"
3729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3730 *) ac_try_echo=$ac_try;;
3732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3733 (eval "$ac_compile") 2>conftest.er1
3735 grep -v '^ *+' conftest.er1 >conftest.err
3737 cat conftest.err >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } && {
3740 test -z "$ac_c_werror_flag" ||
3741 test ! -s conftest.err
3742 } && test -s conftest.$ac_objext; then
3743 ac_header_compiler=yes
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3748 ac_header_compiler=no
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3753 echo "${ECHO_T}$ac_header_compiler" >&6; }
3755 # Is the header present?
3756 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3757 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
3758 cat >conftest.$ac_ext <<_ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h. */
3764 #include <minix/config.h>
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3769 *) ac_try_echo
=$ac_try;;
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3774 grep -v '^ *+' conftest.er1
>conftest.err
3776 cat conftest.err
>&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } >/dev
/null
&& {
3779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780 test ! -s conftest.err
3782 ac_header_preproc
=yes
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.
$ac_ext >&5
3787 ac_header_preproc
=no
3790 rm -f conftest.err conftest.
$ac_ext
3791 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3792 echo "${ECHO_T}$ac_header_preproc" >&6; }
3794 # So? What about this header?
3795 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3797 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3798 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3799 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3800 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3801 ac_header_preproc
=yes
3804 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3805 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3806 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3807 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3808 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3809 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3810 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3811 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3812 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3813 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3814 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3815 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3819 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
3820 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
3821 if test "${ac_cv_header_minix_config_h+set}" = set; then
3822 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 ac_cv_header_minix_config_h
=$ac_header_preproc
3826 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3827 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
3830 if test $ac_cv_header_minix_config_h = yes; then
3837 if test "$MINIX" = yes; then
3839 cat >>confdefs.h
<<\_ACEOF
3840 #define _POSIX_SOURCE 1
3844 cat >>confdefs.h
<<\_ACEOF
3845 #define _POSIX_1_SOURCE 2
3849 cat >>confdefs.h
<<\_ACEOF
3865 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3866 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
3867 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 cat >conftest.
$ac_ext <<_ACEOF
3873 cat confdefs.h
>>conftest.
$ac_ext
3874 cat >>conftest.
$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 # define __EXTENSIONS__ 1
3878 $ac_includes_default
3887 rm -f conftest.
$ac_objext
3888 if { (ac_try
="$ac_compile"
3890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3891 *) ac_try_echo=$ac_try;;
3893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3894 (eval "$ac_compile") 2>conftest.er1
3896 grep -v '^ *+' conftest.er1 >conftest.err
3898 cat conftest.err >&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } && {
3901 test -z "$ac_c_werror_flag" ||
3902 test ! -s conftest.err
3903 } && test -s conftest.$ac_objext; then
3904 ac_cv_safe_to_define___extensions__=yes
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.$ac_ext >&5
3909 ac_cv_safe_to_define___extensions__=no
3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3914 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3915 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
3916 test $ac_cv_safe_to_define___extensions__ = yes &&
3917 cat >>confdefs.h <<\_ACEOF
3918 #define __EXTENSIONS__ 1
3921 cat >>confdefs.h <<\_ACEOF
3922 #define _POSIX_PTHREAD_SEMANTICS 1
3925 cat >>confdefs.h <<\_ACEOF
3926 #define _TANDEM_SOURCE 1
3929 # note- does not work on FreeBSD
3931 case "${host_os}" in
3933 ac_default_prefix=/usr/local
3934 CPPFLAGS=-I/usr/local/include
3935 LDFLAGS=-L/usr/local/lib
3938 ac_default_prefix=/usr
3939 if test ${sysconfdir} = '${prefix}/etc'; then
3942 if test ${mandir} = '${prefix}/man'; then
3943 mandir=/usr/share/man
3948 if test ${localstatedir} = '${prefix}/var'; then
3952 BUILD_PLATFORM=${build}
3953 BUILD_CPU=${build_cpu}
3954 BUILD_VENDOR=${build_vendor}
3955 BUILD_OS=${build_os}
3962 HOST_PLATFORM=${host}
3963 HOST_CPU=${host_cpu}
3964 HOST_VENDOR=${host_vendor}
3972 case "${host_os}" in
3993 if test -n "$ac_tool_prefix"; then
3994 # Extract the first word of "${ac_tool_prefix}uname", so it can be a program name with args.
3995 set dummy ${ac_tool_prefix}uname; ac_word=$2
3996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3998 if test "${ac_cv_path_UNAME+set}" = set; then
3999 echo $ECHO_N "(cached) $ECHO_C" >&6
4003 ac_cv_path_UNAME="$UNAME" # Let the user override the test with a path.
4006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir=.
4011 for ac_exec_ext in '' $ac_executable_extensions; do
4012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4013 ac_cv_path_UNAME="$as_dir/$ac_word$ac_exec_ext"
4014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 UNAME=$ac_cv_path_UNAME
4025 if test -n "$UNAME"; then
4026 { echo "$as_me:$LINENO: result: $UNAME" >&5
4027 echo "${ECHO_T}$UNAME" >&6; }
4029 { echo "$as_me:$LINENO: result: no" >&5
4030 echo "${ECHO_T}no" >&6; }
4035 if test -z "$ac_cv_path_UNAME"; then
4037 # Extract the first word of "uname", so it can be a program name with args.
4038 set dummy uname; ac_word=$2
4039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4041 if test "${ac_cv_path_ac_pt_UNAME+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 case $ac_pt_UNAME in
4046 ac_cv_path_ac_pt_UNAME="$ac_pt_UNAME" # Let the user override the test with a path.
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4056 ac_cv_path_ac_pt_UNAME="$as_dir/$ac_word$ac_exec_ext"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 ac_pt_UNAME=$ac_cv_path_ac_pt_UNAME
4068 if test -n "$ac_pt_UNAME"; then
4069 { echo "$as_me:$LINENO: result: $ac_pt_UNAME" >&5
4070 echo "${ECHO_T}$ac_pt_UNAME" >&6; }
4072 { echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6; }
4076 if test "x$ac_pt_UNAME" = x; then
4079 case $cross_compiling:$ac_tool_warned in
4081 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4082 whose name does not start with the host triplet. If you think this
4083 configuration is useful to you, please write to autoconf@gnu.org." >&5
4084 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4085 whose name does not start with the host triplet. If you think this
4086 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4087 ac_tool_warned=yes ;;
4092 UNAME="$ac_cv_path_UNAME"
4095 if test ! x"${UNAME}" = xNo; then
4096 PBX_OSREV=$(${UNAME} -r)
4106 # cross-compile checks
4107 if test "${cross_compiling}" = "yes";
4109 if test -n "$ac_tool_prefix"; then
4110 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4111 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4114 if test "${ac_cv_prog_CC+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 if test -n "$CC"; then
4118 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir=.
4125 for ac_exec_ext in '' $ac_executable_extensions; do
4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4127 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4138 if test -n "$CC"; then
4139 { echo "$as_me:$LINENO: result: $CC" >&5
4140 echo "${ECHO_T}$CC" >&6; }
4142 { echo "$as_me:$LINENO: result: no" >&5
4143 echo "${ECHO_T}no" >&6; }
4148 if test -z "$ac_cv_prog_CC"; then
4150 # Extract the first word of "gcc", so it can be a program name with args.
4151 set dummy gcc; ac_word=$2
4152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4154 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 if test -n "$ac_ct_CC"; then
4158 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164 test -z "$as_dir" && as_dir=.
4165 for ac_exec_ext in '' $ac_executable_extensions; do
4166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4167 ac_cv_prog_ac_ct_CC="gcc"
4168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4177 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4178 if test -n "$ac_ct_CC"; then
4179 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4180 echo "${ECHO_T}$ac_ct_CC" >&6; }
4182 { echo "$as_me:$LINENO: result: no" >&5
4183 echo "${ECHO_T}no" >&6; }
4186 if test "x$ac_ct_CC" = x; then
4189 case $cross_compiling:$ac_tool_warned in
4191 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4192 whose name does not start with the host triplet. If you think this
4193 configuration is useful to you, please write to autoconf@gnu.org." >&5
4194 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4195 whose name does not start with the host triplet. If you think this
4196 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4197 ac_tool_warned=yes ;;
4205 if test -n "$ac_tool_prefix"; then
4206 # Extract the first word of "${ac_tool_prefix}g++", so it can be a program name with args.
4207 set dummy ${ac_tool_prefix}g++; ac_word=$2
4208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4210 if test "${ac_cv_prog_CXX+set}" = set; then
4211 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 if test -n "$CXX"; then
4214 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir=.
4221 for ac_exec_ext in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_prog_CXX="${ac_tool_prefix}g++"
4224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 if test -n "$CXX"; then
4235 { echo "$as_me:$LINENO: result: $CXX" >&5
4236 echo "${ECHO_T}$CXX" >&6; }
4238 { echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6; }
4244 if test -z "$ac_cv_prog_CXX"; then
4246 # Extract the first word of "g++", so it can be a program name with args.
4247 set dummy g++; ac_word=$2
4248 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4249 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4250 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 if test -n "$ac_ct_CXX"; then
4254 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir=.
4261 for ac_exec_ext in '' $ac_executable_extensions; do
4262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4263 ac_cv_prog_ac_ct_CXX="g++"
4264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4274 if test -n "$ac_ct_CXX"; then
4275 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4276 echo "${ECHO_T}$ac_ct_CXX" >&6; }
4278 { echo "$as_me:$LINENO: result: no" >&5
4279 echo "${ECHO_T}no" >&6; }
4282 if test "x$ac_ct_CXX" = x; then
4285 case $cross_compiling:$ac_tool_warned in
4287 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4288 whose name does not start with the host triplet. If you think this
4289 configuration is useful to you, please write to autoconf@gnu.org." >&5
4290 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4291 whose name does not start with the host triplet. If you think this
4292 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4293 ac_tool_warned=yes ;;
4298 CXX="$ac_cv_prog_CXX"
4301 if test -n "$ac_tool_prefix"; then
4302 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4303 set dummy ${ac_tool_prefix}ld; ac_word=$2
4304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4306 if test "${ac_cv_prog_LD+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 if test -n "$LD"; then
4310 ac_cv_prog_LD="$LD" # Let the user override the test.
4312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir=.
4317 for ac_exec_ext in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_LD="${ac_tool_prefix}ld"
4320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 if test -n "$LD"; then
4331 { echo "$as_me:$LINENO: result: $LD" >&5
4332 echo "${ECHO_T}$LD" >&6; }
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4340 if test -z "$ac_cv_prog_LD"; then
4342 # Extract the first word of "ld", so it can be a program name with args.
4343 set dummy ld; ac_word=$2
4344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4346 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test -n "$ac_ct_LD"; then
4350 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_ac_ct_LD="ld"
4360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ac_ct_LD=$ac_cv_prog_ac_ct_LD
4370 if test -n "$ac_ct_LD"; then
4371 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
4372 echo "${ECHO_T}$ac_ct_LD" >&6; }
4374 { echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6; }
4378 if test "x$ac_ct_LD" = x; then
4381 case $cross_compiling:$ac_tool_warned in
4383 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4384 whose name does not start with the host triplet. If you think this
4385 configuration is useful to you, please write to autoconf@gnu.org." >&5
4386 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4387 whose name does not start with the host triplet. If you think this
4388 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4389 ac_tool_warned=yes ;;
4397 if test -n "$ac_tool_prefix"; then
4398 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4399 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4402 if test "${ac_cv_prog_RANLIB+set}" = set; then
4403 echo $ECHO_N "(cached) $ECHO_C" >&6
4405 if test -n "$RANLIB"; then
4406 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir=.
4413 for ac_exec_ext in '' $ac_executable_extensions; do
4414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 RANLIB=$ac_cv_prog_RANLIB
4426 if test -n "$RANLIB"; then
4427 { echo "$as_me:$LINENO: result: $RANLIB" >&5
4428 echo "${ECHO_T}$RANLIB" >&6; }
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4436 if test -z "$ac_cv_prog_RANLIB"; then
4437 ac_ct_RANLIB=$RANLIB
4438 # Extract the first word of "ranlib", so it can be a program name with args.
4439 set dummy ranlib; ac_word=$2
4440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4442 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 if test -n "$ac_ct_RANLIB"; then
4446 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4452 test -z "$as_dir" && as_dir=.
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4455 ac_cv_prog_ac_ct_RANLIB="ranlib"
4456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4466 if test -n "$ac_ct_RANLIB"; then
4467 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4468 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
4470 { echo "$as_me:$LINENO: result: no" >&5
4471 echo "${ECHO_T}no" >&6; }
4474 if test "x$ac_ct_RANLIB" = x; then
4477 case $cross_compiling:$ac_tool_warned in
4479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4480 whose name does not start with the host triplet. If you think this
4481 configuration is useful to you, please write to autoconf@gnu.org." >&5
4482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4483 whose name does not start with the host triplet. If you think this
4484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4485 ac_tool_warned=yes ;;
4487 RANLIB=$ac_ct_RANLIB
4490 RANLIB="$ac_cv_prog_RANLIB"
4495 # Checks for programs.
4497 ac_cpp='$CPP $CPPFLAGS'
4498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4501 if test -n "$ac_tool_prefix"; then
4502 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4506 if test "${ac_cv_prog_CC+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 if test -n "$CC"; then
4510 ac_cv_prog_CC="$CC" # Let the user override the test.
4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir=.
4517 for ac_exec_ext in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 if test -n "$CC"; then
4531 { echo "$as_me:$LINENO: result: $CC" >&5
4532 echo "${ECHO_T}$CC" >&6; }
4534 { echo "$as_me:$LINENO: result: no" >&5
4535 echo "${ECHO_T}no" >&6; }
4540 if test -z "$ac_cv_prog_CC"; then
4542 # Extract the first word of "gcc", so it can be a program name with args.
4543 set dummy gcc; ac_word=$2
4544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 if test -n "$ac_ct_CC"; then
4550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir=.
4557 for ac_exec_ext in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_prog_ac_ct_CC="gcc"
4560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4570 if test -n "$ac_ct_CC"; then
4571 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4572 echo "${ECHO_T}$ac_ct_CC" >&6; }
4574 { echo "$as_me:$LINENO: result: no" >&5
4575 echo "${ECHO_T}no" >&6; }
4578 if test "x$ac_ct_CC" = x; then
4581 case $cross_compiling:$ac_tool_warned in
4583 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4584 whose name does not start with the host triplet. If you think this
4585 configuration is useful to you, please write to autoconf@gnu.org." >&5
4586 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4587 whose name does not start with the host triplet. If you think this
4588 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4589 ac_tool_warned=yes ;;
4597 if test -z "$CC"; then
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4600 set dummy ${ac_tool_prefix}cc; ac_word=$2
4601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4603 if test "${ac_cv_prog_CC+set}" = set; then
4604 echo $ECHO_N "(cached) $ECHO_C" >&6
4606 if test -n "$CC"; then
4607 ac_cv_prog_CC="$CC" # Let the user override the test.
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4616 ac_cv_prog_CC="${ac_tool_prefix}cc"
4617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4627 if test -n "$CC"; then
4628 { echo "$as_me:$LINENO: result: $CC" >&5
4629 echo "${ECHO_T}$CC" >&6; }
4631 { echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6; }
4638 if test -z "$CC"; then
4639 # Extract the first word of "cc", so it can be a program name with args.
4640 set dummy cc; ac_word=$2
4641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4643 if test "${ac_cv_prog_CC+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 if test -n "$CC"; then
4647 ac_cv_prog_CC="$CC" # Let the user override the test.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 test -z "$as_dir" && as_dir=.
4655 for ac_exec_ext in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4658 ac_prog_rejected=yes
4662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 if test $ac_prog_rejected = yes; then
4670 # We found a bogon in the path, so make sure we never use it.
4671 set dummy $ac_cv_prog_CC
4673 if test $# != 0; then
4674 # We chose a different compiler from the bogus one.
4675 # However, it has the same basename, so the bogon will be chosen
4676 # first if we set CC to just the basename; use the full file name.
4678 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4684 if test -n "$CC"; then
4685 { echo "$as_me:$LINENO: result: $CC" >&5
4686 echo "${ECHO_T}$CC" >&6; }
4688 { echo "$as_me:$LINENO: result: no" >&5
4689 echo "${ECHO_T}no" >&6; }
4694 if test -z "$CC"; then
4695 if test -n "$ac_tool_prefix"; then
4696 for ac_prog in cl.exe
4698 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4702 if test "${ac_cv_prog_CC+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 if test -n "$CC"; then
4706 ac_cv_prog_CC="$CC" # Let the user override the test.
4708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir=.
4713 for ac_exec_ext in '' $ac_executable_extensions; do
4714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4715 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 if test -n "$CC"; then
4727 { echo "$as_me:$LINENO: result: $CC" >&5
4728 echo "${ECHO_T}$CC" >&6; }
4730 { echo "$as_me:$LINENO: result: no" >&5
4731 echo "${ECHO_T}no" >&6; }
4735 test -n "$CC" && break
4738 if test -z "$CC"; then
4740 for ac_prog in cl.exe
4742 # Extract the first word of "$ac_prog", so it can be a program name with args.
4743 set dummy $ac_prog; ac_word=$2
4744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4746 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 if test -n "$ac_ct_CC"; then
4750 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir=.
4757 for ac_exec_ext in '' $ac_executable_extensions; do
4758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759 ac_cv_prog_ac_ct_CC="$ac_prog"
4760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4770 if test -n "$ac_ct_CC"; then
4771 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4772 echo "${ECHO_T}$ac_ct_CC" >&6; }
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4779 test -n "$ac_ct_CC" && break
4782 if test "x$ac_ct_CC" = x; then
4785 case $cross_compiling:$ac_tool_warned in
4787 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4788 whose name does not start with the host triplet. If you think this
4789 configuration is useful to you, please write to autoconf@gnu.org." >&5
4790 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4791 whose name does not start with the host triplet. If you think this
4792 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4793 ac_tool_warned=yes ;;
4802 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4803 See \`config.log
' for more details." >&5
4804 echo "$as_me: error: no acceptable C compiler found in \$PATH
4805 See \`config.log' for more details.
" >&2;}
4806 { (exit 1); exit 1; }; }
4808 # Provide some information about the compiler.
4809 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
4810 ac_compiler=`set X $ac_compile; echo $2`
4811 { (ac_try="$ac_compiler --version >&5"
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4817 (eval "$ac_compiler --version >&5") 2>&5
4819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4820 (exit $ac_status); }
4821 { (ac_try="$ac_compiler -v >&5"
4823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4824 *) ac_try_echo=$ac_try;;
4826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4827 (eval "$ac_compiler -v >&5") 2>&5
4829 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4830 (exit $ac_status); }
4831 { (ac_try="$ac_compiler -V >&5"
4833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4834 *) ac_try_echo=$ac_try;;
4836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4837 (eval "$ac_compiler -V >&5") 2>&5
4839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4840 (exit $ac_status); }
4842 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
4843 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
4844 if test "${ac_cv_c_compiler_gnu+set}" = set; then
4845 echo $ECHO_N "(cached
) $ECHO_C" >&6
4847 cat >conftest.$ac_ext <<_ACEOF
4850 cat confdefs.h >>conftest.$ac_ext
4851 cat >>conftest.$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4865 rm -f conftest.$ac_objext
4866 if { (ac_try="$ac_compile"
4868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4869 *) ac_try_echo=$ac_try;;
4871 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4872 (eval "$ac_compile") 2>conftest.er1
4874 grep -v '^ *+' conftest.er1 >conftest.err
4876 cat conftest.err >&5
4877 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4878 (exit $ac_status); } && {
4879 test -z "$ac_c_werror_flag" ||
4880 test ! -s conftest.err
4881 } && test -s conftest.$ac_objext; then
4884 echo "$as_me: failed program was
:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4891 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4894 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
4895 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
4896 GCC=`test $ac_compiler_gnu = yes && echo yes`
4897 ac_test_CFLAGS=${CFLAGS+set}
4898 ac_save_CFLAGS=$CFLAGS
4899 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
4900 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
4901 if test "${ac_cv_prog_cc_g+set}" = set; then
4902 echo $ECHO_N "(cached
) $ECHO_C" >&6
4904 ac_save_c_werror_flag=$ac_c_werror_flag
4905 ac_c_werror_flag=yes
4908 cat >conftest.$ac_ext <<_ACEOF
4911 cat confdefs.h >>conftest.$ac_ext
4912 cat >>conftest.$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4923 rm -f conftest.$ac_objext
4924 if { (ac_try="$ac_compile"
4926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4927 *) ac_try_echo=$ac_try;;
4929 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4930 (eval "$ac_compile") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest.$ac_objext; then
4942 echo "$as_me: failed program was
:" >&5
4943 sed 's/^/| /' conftest.$ac_ext >&5
4946 cat >conftest.$ac_ext <<_ACEOF
4949 cat confdefs.h >>conftest.$ac_ext
4950 cat >>conftest.$ac_ext <<_ACEOF
4951 /* end confdefs.h. */
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4965 *) ac_try_echo=$ac_try;;
4967 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4968 (eval "$ac_compile") 2>conftest.er1
4970 grep -v '^ *+' conftest.er1 >conftest.err
4972 cat conftest.err >&5
4973 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_c_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.$ac_objext; then
4980 echo "$as_me: failed program was
:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_c_werror_flag=$ac_save_c_werror_flag
4985 cat >conftest.$ac_ext <<_ACEOF
4988 cat confdefs.h >>conftest.$ac_ext
4989 cat >>conftest.$ac_ext <<_ACEOF
4990 /* end confdefs.h. */
5000 rm -f conftest.$ac_objext
5001 if { (ac_try="$ac_compile"
5003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5004 *) ac_try_echo=$ac_try;;
5006 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5007 (eval "$ac_compile") 2>conftest.er1
5009 grep -v '^ *+' conftest.er1 >conftest.err
5011 cat conftest.err >&5
5012 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5013 (exit $ac_status); } && {
5014 test -z "$ac_c_werror_flag" ||
5015 test ! -s conftest.err
5016 } && test -s conftest.$ac_objext; then
5019 echo "$as_me: failed program was
:" >&5
5020 sed 's/^/| /' conftest.$ac_ext >&5
5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5032 ac_c_werror_flag=$ac_save_c_werror_flag
5034 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
5035 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
5036 if test "$ac_test_CFLAGS" = set; then
5037 CFLAGS=$ac_save_CFLAGS
5038 elif test $ac_cv_prog_cc_g = yes; then
5039 if test "$GCC" = yes; then
5045 if test "$GCC" = yes; then
5051 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
5052 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
5053 if test "${ac_cv_prog_cc_c89+set}" = set; then
5054 echo $ECHO_N "(cached
) $ECHO_C" >&6
5056 ac_cv_prog_cc_c89=no
5058 cat >conftest.$ac_ext <<_ACEOF
5061 cat confdefs.h >>conftest.$ac_ext
5062 cat >>conftest.$ac_ext <<_ACEOF
5063 /* end confdefs.h. */
5066 #include <sys/types.h>
5067 #include <sys/stat.h>
5068 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5069 struct buf { int x; };
5070 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5071 static char *e (p, i)
5077 static char *f (char * (*g) (char **, int), char **p, ...)
5082 s = g (p, va_arg (v,int));
5087 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5088 function prototypes and stuff, but not '\xHH' hex character constants.
5089 These don't provoke an error unfortunately, instead are silently treated
5090 as 'x'. The following induces an error, until -std is added to get
5091 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5092 array size at least. It's necessary to write '\x00'==0 to get something
5093 that's true only with -std. */
5094 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5096 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5097 inside strings and character constants. */
5099 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5101 int test (int i, double x);
5102 struct s1 {int (*f) (int a);};
5103 struct s2 {int (*f) (double a);};
5104 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5110 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5115 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5116 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5118 CC="$ac_save_CC $ac_arg"
5119 rm -f conftest.$ac_objext
5120 if { (ac_try="$ac_compile"
5122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5126 (eval "$ac_compile") 2>conftest.er1
5128 grep -v '^ *+' conftest.er1 >conftest.err
5130 cat conftest.err >&5
5131 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5132 (exit $ac_status); } && {
5133 test -z "$ac_c_werror_flag" ||
5134 test ! -s conftest.err
5135 } && test -s conftest.$ac_objext; then
5136 ac_cv_prog_cc_c89=$ac_arg
5138 echo "$as_me: failed program was
:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5144 rm -f core conftest.err conftest.$ac_objext
5145 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
5147 rm -f conftest.$ac_ext
5152 case "x
$ac_cv_prog_cc_c89" in
5154 { echo "$as_me:$LINENO: result
: none needed
" >&5
5155 echo "${ECHO_T}none needed
" >&6; } ;;
5157 { echo "$as_me:$LINENO: result
: unsupported
" >&5
5158 echo "${ECHO_T}unsupported
" >&6; } ;;
5160 CC="$CC $ac_cv_prog_cc_c89"
5161 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
5162 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
5167 ac_cpp='$CPP $CPPFLAGS'
5168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5173 ac_cpp='$CXXCPP $CPPFLAGS'
5174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5177 if test -z "$CXX"; then
5178 if test -n "$CCC"; then
5181 if test -n "$ac_tool_prefix"; then
5182 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5186 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
5187 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
5188 if test "${ac_cv_prog_CXX+set}" = set; then
5189 echo $ECHO_N "(cached
) $ECHO_C" >&6
5191 if test -n "$CXX"; then
5192 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5198 test -z "$as_dir" && as_dir=.
5199 for ac_exec_ext in '' $ac_executable_extensions; do
5200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5201 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5202 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5212 if test -n "$CXX"; then
5213 { echo "$as_me:$LINENO: result
: $CXX" >&5
5214 echo "${ECHO_T}$CXX" >&6; }
5216 { echo "$as_me:$LINENO: result
: no
" >&5
5217 echo "${ECHO_T}no
" >&6; }
5221 test -n "$CXX" && break
5224 if test -z "$CXX"; then
5226 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5228 # Extract the first word of "$ac_prog", so it can be a program name with args.
5229 set dummy $ac_prog; 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_prog_ac_ct_CXX+set}" = set; then
5233 echo $ECHO_N "(cached
) $ECHO_C" >&6
5235 if test -n "$ac_ct_CXX"; then
5236 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242 test -z "$as_dir" && as_dir=.
5243 for ac_exec_ext in '' $ac_executable_extensions; do
5244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5245 ac_cv_prog_ac_ct_CXX="$ac_prog"
5246 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5255 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5256 if test -n "$ac_ct_CXX"; then
5257 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
5258 echo "${ECHO_T}$ac_ct_CXX" >&6; }
5260 { echo "$as_me:$LINENO: result
: no
" >&5
5261 echo "${ECHO_T}no
" >&6; }
5265 test -n "$ac_ct_CXX" && break
5268 if test "x
$ac_ct_CXX" = x; then
5271 case $cross_compiling:$ac_tool_warned in
5273 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
5274 whose name does not start with the
host triplet. If you think this
5275 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
5276 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
5277 whose name does not start with the
host triplet. If you think this
5278 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
5279 ac_tool_warned=yes ;;
5287 # Provide some information about the compiler.
5288 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
5289 ac_compiler=`set X $ac_compile; echo $2`
5290 { (ac_try="$ac_compiler --version >&5"
5292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5293 *) ac_try_echo=$ac_try;;
5295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5296 (eval "$ac_compiler --version >&5") 2>&5
5298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5299 (exit $ac_status); }
5300 { (ac_try="$ac_compiler -v >&5"
5302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5305 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5306 (eval "$ac_compiler -v >&5") 2>&5
5308 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5309 (exit $ac_status); }
5310 { (ac_try="$ac_compiler -V >&5"
5312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5313 *) ac_try_echo=$ac_try;;
5315 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5316 (eval "$ac_compiler -V >&5") 2>&5
5318 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5319 (exit $ac_status); }
5321 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
5322 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
5323 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5324 echo $ECHO_N "(cached
) $ECHO_C" >&6
5326 cat >conftest.$ac_ext <<_ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5344 rm -f conftest.$ac_objext
5345 if { (ac_try="$ac_compile"
5347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5348 *) ac_try_echo=$ac_try;;
5350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5351 (eval "$ac_compile") 2>conftest.er1
5353 grep -v '^ *+' conftest.er1 >conftest.err
5355 cat conftest.err >&5
5356 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5357 (exit $ac_status); } && {
5358 test -z "$ac_cxx_werror_flag" ||
5359 test ! -s conftest.err
5360 } && test -s conftest.$ac_objext; then
5363 echo "$as_me: failed program was
:" >&5
5364 sed 's/^/| /' conftest.$ac_ext >&5
5369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5370 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5373 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
5374 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5375 GXX=`test $ac_compiler_gnu = yes && echo yes`
5376 ac_test_CXXFLAGS=${CXXFLAGS+set}
5377 ac_save_CXXFLAGS=$CXXFLAGS
5378 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
5379 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
5380 if test "${ac_cv_prog_cxx_g+set}" = set; then
5381 echo $ECHO_N "(cached
) $ECHO_C" >&6
5383 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5384 ac_cxx_werror_flag=yes
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5402 rm -f conftest.$ac_objext
5403 if { (ac_try="$ac_compile"
5405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5406 *) ac_try_echo=$ac_try;;
5408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5409 (eval "$ac_compile") 2>conftest.er1
5411 grep -v '^ *+' conftest.er1 >conftest.err
5413 cat conftest.err >&5
5414 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5415 (exit $ac_status); } && {
5416 test -z "$ac_cxx_werror_flag" ||
5417 test ! -s conftest.err
5418 } && test -s conftest.$ac_objext; then
5419 ac_cv_prog_cxx_g=yes
5421 echo "$as_me: failed program was
:" >&5
5422 sed 's/^/| /' conftest.$ac_ext >&5
5425 cat >conftest.$ac_ext <<_ACEOF
5428 cat confdefs.h >>conftest.$ac_ext
5429 cat >>conftest.$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5440 rm -f conftest.$ac_objext
5441 if { (ac_try="$ac_compile"
5443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5444 *) ac_try_echo=$ac_try;;
5446 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5447 (eval "$ac_compile") 2>conftest.er1
5449 grep -v '^ *+' conftest.er1 >conftest.err
5451 cat conftest.err >&5
5452 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5453 (exit $ac_status); } && {
5454 test -z "$ac_cxx_werror_flag" ||
5455 test ! -s conftest.err
5456 } && test -s conftest.$ac_objext; then
5459 echo "$as_me: failed program was
:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5464 cat >conftest.$ac_ext <<_ACEOF
5467 cat confdefs.h >>conftest.$ac_ext
5468 cat >>conftest.$ac_ext <<_ACEOF
5469 /* end confdefs.h. */
5479 rm -f conftest.$ac_objext
5480 if { (ac_try="$ac_compile"
5482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5485 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_compile") 2>conftest.er1
5488 grep -v '^ *+' conftest.er1 >conftest.err
5490 cat conftest.err >&5
5491 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5492 (exit $ac_status); } && {
5493 test -z "$ac_cxx_werror_flag" ||
5494 test ! -s conftest.err
5495 } && test -s conftest.$ac_objext; then
5496 ac_cv_prog_cxx_g=yes
5498 echo "$as_me: failed program was
:" >&5
5499 sed 's/^/| /' conftest.$ac_ext >&5
5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5513 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
5514 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5515 if test "$ac_test_CXXFLAGS" = set; then
5516 CXXFLAGS=$ac_save_CXXFLAGS
5517 elif test $ac_cv_prog_cxx_g = yes; then
5518 if test "$GXX" = yes; then
5524 if test "$GXX" = yes; then
5531 ac_cpp='$CPP $CPPFLAGS'
5532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5537 ac_cpp='$CPP $CPPFLAGS'
5538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5541 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
5542 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
5543 # On Suns, sometimes $CPP names a directory.
5544 if test -n "$CPP" && test -d "$CPP"; then
5547 if test -z "$CPP"; then
5548 if test "${ac_cv_prog_CPP+set}" = set; then
5549 echo $ECHO_N "(cached
) $ECHO_C" >&6
5551 # Double quotes because CPP needs to be expanded
5552 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
5555 for ac_c_preproc_warn_flag in '' yes
5557 # Use a header file that comes with gcc, so configuring glibc
5558 # with a fresh cross-compiler works.
5559 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5560 # <limits.h> exists even on freestanding compilers.
5561 # On the NeXT, cc -E runs the code through the compiler's parser,
5562 # not just through cpp. "Syntax error
" is here to catch this case.
5563 cat >conftest.$ac_ext <<_ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5570 # include <limits.h>
5572 # include <assert.h>
5576 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5579 *) ac_try_echo=$ac_try;;
5581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5582 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5584 grep -v '^ *+' conftest.er1 >conftest.err
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5588 (exit $ac_status); } >/dev/null && {
5589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5590 test ! -s conftest.err
5594 echo "$as_me: failed program was
:" >&5
5595 sed 's/^/| /' conftest.$ac_ext >&5
5597 # Broken: fails on valid input.
5601 rm -f conftest.err conftest.$ac_ext
5603 # OK, works on sane cases. Now check whether nonexistent headers
5604 # can be detected and how.
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 #include <ac_nonexistent.h>
5613 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5618 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5621 grep -v '^ *+' conftest.er1 >conftest.err
5623 cat conftest.err >&5
5624 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5625 (exit $ac_status); } >/dev/null && {
5626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5627 test ! -s conftest.err
5629 # Broken: success on invalid input.
5632 echo "$as_me: failed program was
:" >&5
5633 sed 's/^/| /' conftest.$ac_ext >&5
5635 # Passes both tests.
5640 rm -f conftest.err conftest.$ac_ext
5643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5644 rm -f conftest.err conftest.$ac_ext
5645 if $ac_preproc_ok; then
5657 { echo "$as_me:$LINENO: result
: $CPP" >&5
5658 echo "${ECHO_T}$CPP" >&6; }
5660 for ac_c_preproc_warn_flag in '' yes
5662 # Use a header file that comes with gcc, so configuring glibc
5663 # with a fresh cross-compiler works.
5664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5665 # <limits.h> exists even on freestanding compilers.
5666 # On the NeXT, cc -E runs the code through the compiler's parser,
5667 # not just through cpp. "Syntax error
" is here to catch this case.
5668 cat >conftest.$ac_ext <<_ACEOF
5671 cat confdefs.h >>conftest.$ac_ext
5672 cat >>conftest.$ac_ext <<_ACEOF
5673 /* end confdefs.h. */
5675 # include <limits.h>
5677 # include <assert.h>
5681 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5684 *) ac_try_echo=$ac_try;;
5686 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5687 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5689 grep -v '^ *+' conftest.er1 >conftest.err
5691 cat conftest.err >&5
5692 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5693 (exit $ac_status); } >/dev/null && {
5694 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5695 test ! -s conftest.err
5699 echo "$as_me: failed program was
:" >&5
5700 sed 's/^/| /' conftest.$ac_ext >&5
5702 # Broken: fails on valid input.
5706 rm -f conftest.err conftest.$ac_ext
5708 # OK, works on sane cases. Now check whether nonexistent headers
5709 # can be detected and how.
5710 cat >conftest.$ac_ext <<_ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 #include <ac_nonexistent.h>
5718 if { (ac_try="$ac_cpp conftest.
$ac_ext"
5720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5721 *) ac_try_echo=$ac_try;;
5723 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5724 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5730 (exit $ac_status); } >/dev/null && {
5731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5734 # Broken: success on invalid input.
5737 echo "$as_me: failed program was
:" >&5
5738 sed 's/^/| /' conftest.$ac_ext >&5
5740 # Passes both tests.
5745 rm -f conftest.err conftest.$ac_ext
5748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5749 rm -f conftest.err conftest.$ac_ext
5750 if $ac_preproc_ok; then
5753 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
5754 See \
`config.log' for more details." >&5
5755 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5756 See \`config.log
' for more details." >&2;}
5757 { (exit 1); exit 1; }; }
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5763 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5767 ac_cpp='$CXXCPP $CPPFLAGS'
5768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
5769 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5771 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5772 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5773 if test -z "$CXXCPP"; then
5774 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 # Double quotes because CXXCPP needs to be expanded
5778 for CXXCPP in "$CXX -E" "/lib/cpp"
5781 for ac_cxx_preproc_warn_flag in '' yes
5783 # Use a header file that comes with gcc, so configuring glibc
5784 # with a fresh cross-compiler works.
5785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5786 # <limits.h> exists even on freestanding compilers.
5787 # On the NeXT, cc -E runs the code through the compiler's parser
,
5788 # not just through cpp. "Syntax error" is here to catch this case.
5789 cat >conftest.
$ac_ext <<_ACEOF
5792 cat confdefs.h
>>conftest.
$ac_ext
5793 cat >>conftest.
$ac_ext <<_ACEOF
5794 /* end confdefs.h. */
5796 # include <limits.h>
5798 # include <assert.h>
5802 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5805 *) ac_try_echo=$ac_try;;
5807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5810 grep -v '^ *+' conftest.er1 >conftest.err
5812 cat conftest.err >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); } >/dev/null && {
5815 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5816 test ! -s conftest.err
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5823 # Broken: fails on valid input.
5827 rm -f conftest.err conftest.$ac_ext
5829 # OK, works on sane cases. Now check whether nonexistent headers
5830 # can be detected and how.
5831 cat >conftest.$ac_ext <<_ACEOF
5834 cat confdefs.h >>conftest.$ac_ext
5835 cat >>conftest.$ac_ext <<_ACEOF
5836 /* end confdefs.h. */
5837 #include <ac_nonexistent.h>
5839 if { (ac_try="$ac_cpp conftest.$ac_ext"
5841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5842 *) ac_try_echo
=$ac_try;;
5844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5845 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5847 grep -v '^ *+' conftest.er1
>conftest.err
5849 cat conftest.err
>&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); } >/dev
/null
&& {
5852 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5853 test ! -s conftest.err
5855 # Broken: success on invalid input.
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.
$ac_ext >&5
5861 # Passes both tests.
5866 rm -f conftest.err conftest.
$ac_ext
5869 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5870 rm -f conftest.err conftest.
$ac_ext
5871 if $ac_preproc_ok; then
5876 ac_cv_prog_CXXCPP
=$CXXCPP
5879 CXXCPP
=$ac_cv_prog_CXXCPP
5881 ac_cv_prog_CXXCPP
=$CXXCPP
5883 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
5884 echo "${ECHO_T}$CXXCPP" >&6; }
5886 for ac_cxx_preproc_warn_flag
in '' yes
5888 # Use a header file that comes with gcc, so configuring glibc
5889 # with a fresh cross-compiler works.
5890 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5891 # <limits.h> exists even on freestanding compilers.
5892 # On the NeXT, cc -E runs the code through the compiler's parser,
5893 # not just through cpp. "Syntax error" is here to catch this case.
5894 cat >conftest.
$ac_ext <<_ACEOF
5897 cat confdefs.h
>>conftest.
$ac_ext
5898 cat >>conftest.
$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5901 # include <limits.h>
5903 # include <assert.h>
5907 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5910 *) ac_try_echo=$ac_try;;
5912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5915 grep -v '^ *+' conftest.er1 >conftest.err
5917 cat conftest.err >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); } >/dev/null && {
5920 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5921 test ! -s conftest.err
5925 echo "$as_me: failed program was:" >&5
5926 sed 's/^/| /' conftest.$ac_ext >&5
5928 # Broken: fails on valid input.
5932 rm -f conftest.err conftest.$ac_ext
5934 # OK, works on sane cases. Now check whether nonexistent headers
5935 # can be detected and how.
5936 cat >conftest.$ac_ext <<_ACEOF
5939 cat confdefs.h >>conftest.$ac_ext
5940 cat >>conftest.$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 #include <ac_nonexistent.h>
5944 if { (ac_try="$ac_cpp conftest.$ac_ext"
5946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5947 *) ac_try_echo
=$ac_try;;
5949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1
>conftest.err
5954 cat conftest.err
>&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } >/dev
/null
&& {
5957 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5958 test ! -s conftest.err
5960 # Broken: success on invalid input.
5963 echo "$as_me: failed program was:" >&5
5964 sed 's/^/| /' conftest.
$ac_ext >&5
5966 # Passes both tests.
5971 rm -f conftest.err conftest.
$ac_ext
5974 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5975 rm -f conftest.err conftest.
$ac_ext
5976 if $ac_preproc_ok; then
5979 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5980 See \`config.log' for more details." >&5
5981 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5982 See \`config.log' for more details." >&2;}
5983 { (exit 1); exit 1; }; }
5987 ac_cpp
='$CPP $CPPFLAGS'
5988 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5989 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5990 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5992 # This macro is just copied into our local acinclude.m4 from libtool.m4 so that
5993 # the developers regenerating the configure script don't have to install libtool.
5994 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5995 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
5996 if test "${ac_cv_path_SED+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
6000 for ac_i
in 1 2 3 4 5 6 7; do
6001 ac_script
="$ac_script$as_nl$ac_script"
6003 echo "$ac_script" |
sed 99q
>conftest.
sed
6004 $as_unset ac_script || ac_script
=
6005 # Extract the first word of "sed gsed" to use in msg output
6006 if test -z "$SED"; then
6007 set dummy
sed gsed
; ac_prog_name
=$2
6008 if test "${ac_cv_path_SED+set}" = set; then
6009 echo $ECHO_N "(cached) $ECHO_C" >&6
6011 ac_path_SED_found
=false
6012 # Loop through the user's path and test for each of PROGNAME-LIST
6013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6017 test -z "$as_dir" && as_dir
=.
6018 for ac_prog
in sed gsed
; do
6019 for ac_exec_ext
in '' $ac_executable_extensions; do
6020 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6021 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
6022 # Check for GNU ac_path_SED and select it if it is found.
6023 # Check for GNU $ac_path_SED
6024 case `"$ac_path_SED" --version 2>&1` in
6026 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6029 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6032 cat "conftest.in" "conftest.in" >"conftest.tmp"
6033 mv "conftest.tmp" "conftest.in"
6034 cp "conftest.in" "conftest.nl"
6035 echo '' >> "conftest.nl"
6036 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6037 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6038 ac_count
=`expr $ac_count + 1`
6039 if test $ac_count -gt ${ac_path_SED_max-0}; then
6040 # Best one so far, save it but keep looking for a better one
6041 ac_cv_path_SED
="$ac_path_SED"
6042 ac_path_SED_max
=$ac_count
6044 # 10*(2^10) chars as input seems more than enough
6045 test $ac_count -gt 10 && break
6047 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6051 $ac_path_SED_found && break 3
6061 SED
="$ac_cv_path_SED"
6062 if test -z "$SED"; then
6063 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
6064 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
6065 { (exit 1); exit 1; }; }
6073 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
6074 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
6075 SED
="$ac_cv_path_SED"
6078 { echo "$as_me:$LINENO: checking for egrep" >&5
6079 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6080 if test "${ac_cv_prog_egrep+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6083 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6084 then ac_cv_prog_egrep
='grep -E'
6085 else ac_cv_prog_egrep
='egrep'
6088 { echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6089 echo "${ECHO_T}$ac_cv_prog_egrep" >&6; }
6090 EGREP
=$ac_cv_prog_egrep
6094 # Check whether --with-gnu-ld was given.
6095 if test "${with_gnu_ld+set}" = set; then
6096 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6102 if test "$GCC" = yes; then
6103 # Check if gcc -print-prog-name=ld gives a path.
6104 { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6105 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
6108 # gcc leaves a trailing carriage return which upsets mingw
6109 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6111 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6114 # Accept absolute paths.
6116 re_direlt
='/[^/][^/]*/\.\./'
6117 # Canonicalize the pathname of ld
6118 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
6119 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6120 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
6122 test -z "$LD" && LD
="$ac_prog"
6125 # If it fails, then pretend we aren't using GCC.
6129 # If it is relative, then search for the first ld in PATH.
6133 elif test "$with_gnu_ld" = yes; then
6134 { echo "$as_me:$LINENO: checking for GNU ld" >&5
6135 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
6137 { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6138 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
6140 if test "${lt_cv_path_LD+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 if test -z "$LD"; then
6144 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6145 for ac_dir
in $PATH; do
6147 test -z "$ac_dir" && ac_dir
=.
6148 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6149 lt_cv_path_LD
="$ac_dir/$ac_prog"
6150 # Check to see if the program is GNU ld. I'd rather use --version,
6151 # but apparently some variants of GNU ld only accept -v.
6152 # Break only if it was the GNU/non-GNU ld that we prefer.
6153 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6154 *GNU
* |
*'with BFD'*)
6155 test "$with_gnu_ld" != no
&& break
6158 test "$with_gnu_ld" != yes && break
6165 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6170 if test -n "$LD"; then
6171 { echo "$as_me:$LINENO: result: $LD" >&5
6172 echo "${ECHO_T}$LD" >&6; }
6174 { echo "$as_me:$LINENO: result: no" >&5
6175 echo "${ECHO_T}no" >&6; }
6177 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6178 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6179 { (exit 1); exit 1; }; }
6180 { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6181 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
6182 if test "${lt_cv_prog_gnu_ld+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6186 case `$LD -v 2>&1 </dev/null` in
6187 *GNU
* |
*'with BFD'*)
6188 lt_cv_prog_gnu_ld
=yes
6191 lt_cv_prog_gnu_ld
=no
6195 { echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
6196 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
6197 with_gnu_ld
=$lt_cv_prog_gnu_ld
6199 # note - does not work on freebsd
6200 for ac_prog
in gawk mawk nawk
awk
6202 # Extract the first word of "$ac_prog", so it can be a program name with args.
6203 set dummy
$ac_prog; ac_word
=$2
6204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6206 if test "${ac_cv_prog_AWK+set}" = set; then
6207 echo $ECHO_N "(cached) $ECHO_C" >&6
6209 if test -n "$AWK"; then
6210 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
6212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6216 test -z "$as_dir" && as_dir
=.
6217 for ac_exec_ext
in '' $ac_executable_extensions; do
6218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6219 ac_cv_prog_AWK
="$ac_prog"
6220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6230 if test -n "$AWK"; then
6231 { echo "$as_me:$LINENO: result: $AWK" >&5
6232 echo "${ECHO_T}$AWK" >&6; }
6234 { echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6; }
6239 test -n "$AWK" && break
6242 # Find a good install program. We prefer a C program (faster),
6243 # so one script is as good as another. But avoid the broken or
6244 # incompatible versions:
6245 # SysV /etc/install, /usr/sbin/install
6246 # SunOS /usr/etc/install
6247 # IRIX /sbin/install
6249 # AmigaOS /C/install, which installs bootblocks on floppy discs
6250 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6251 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6252 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6253 # OS/2's system install, which has a completely different semantic
6254 # ./install, which can be erroneously created by make from ./install.sh.
6255 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6256 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6257 if test -z "$INSTALL"; then
6258 if test "${ac_cv_path_install+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6265 test -z "$as_dir" && as_dir
=.
6266 # Account for people who put trailing slashes in PATH elements.
6268 .
/ | .
// |
/cC
/* | \
6269 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6270 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
6273 # OSF1 and SCO ODT 3.0 have their own names for install.
6274 # Don't use installbsd from OSF since it installs stuff as root
6276 for ac_prog
in ginstall scoinst
install; do
6277 for ac_exec_ext
in '' $ac_executable_extensions; do
6278 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6279 if test $ac_prog = install &&
6280 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6281 # AIX install. It has an incompatible calling convention.
6283 elif test $ac_prog = install &&
6284 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6285 # program-specific install script used by HP pwplus--don't use.
6288 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6301 if test "${ac_cv_path_install+set}" = set; then
6302 INSTALL
=$ac_cv_path_install
6304 # As a last resort, use the slow shell script. Don't cache a
6305 # value for INSTALL within a source directory, because that will
6306 # break other packages using the cache if that directory is
6307 # removed, or if the value is a relative name.
6308 INSTALL
=$ac_install_sh
6311 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6312 echo "${ECHO_T}$INSTALL" >&6; }
6314 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6315 # It thinks the first close brace ends the variable substitution.
6316 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6318 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6320 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6322 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6323 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6325 if test "$LN_S" = "ln -s"; then
6326 { echo "$as_me:$LINENO: result: yes" >&5
6327 echo "${ECHO_T}yes" >&6; }
6329 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6330 echo "${ECHO_T}no, using $LN_S" >&6; }
6333 if test -n "$ac_tool_prefix"; then
6334 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6335 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6338 if test "${ac_cv_prog_RANLIB+set}" = set; then
6339 echo $ECHO_N "(cached) $ECHO_C" >&6
6341 if test -n "$RANLIB"; then
6342 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6348 test -z "$as_dir" && as_dir
=.
6349 for ac_exec_ext
in '' $ac_executable_extensions; do
6350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6351 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 RANLIB
=$ac_cv_prog_RANLIB
6362 if test -n "$RANLIB"; then
6363 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6364 echo "${ECHO_T}$RANLIB" >&6; }
6366 { echo "$as_me:$LINENO: result: no" >&5
6367 echo "${ECHO_T}no" >&6; }
6372 if test -z "$ac_cv_prog_RANLIB"; then
6373 ac_ct_RANLIB
=$RANLIB
6374 # Extract the first word of "ranlib", so it can be a program name with args.
6375 set dummy ranlib
; ac_word
=$2
6376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6378 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 if test -n "$ac_ct_RANLIB"; then
6382 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6388 test -z "$as_dir" && as_dir
=.
6389 for ac_exec_ext
in '' $ac_executable_extensions; do
6390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6391 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6401 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6402 if test -n "$ac_ct_RANLIB"; then
6403 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6404 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6410 if test "x$ac_ct_RANLIB" = x
; then
6413 case $cross_compiling:$ac_tool_warned in
6415 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6416 whose name does not start with the host triplet. If you think this
6417 configuration is useful to you, please write to autoconf@gnu.org." >&5
6418 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6419 whose name does not start with the host triplet. If you think this
6420 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6421 ac_tool_warned
=yes ;;
6423 RANLIB
=$ac_ct_RANLIB
6426 RANLIB
="$ac_cv_prog_RANLIB"
6429 { echo "$as_me:$LINENO: checking for GNU make" >&5
6430 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6; }
6431 if test "${GNU_MAKE+set}" = set; then
6432 echo $ECHO_N "(cached) $ECHO_C" >&6
6434 GNU_MAKE
='Not Found' ;
6435 GNU_MAKE_VERSION_MAJOR
=0 ;
6436 GNU_MAKE_VERSION_MINOR
=0 ;
6437 for a
in make gmake gnumake
; do
6438 if test -z "$a" ; then continue ; fi ;
6439 if ( sh
-c "$a --version" 2> /dev
/null |
grep GNU
2>&1 > /dev
/null
) ; then
6441 GNU_MAKE_VERSION_MAJOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f3 -d' ' | cut -f1 -d'.'`
6442 GNU_MAKE_VERSION_MINOR
=`$GNU_MAKE --version | grep "GNU Make" | cut -f2 -d'.' | cut -c1-2`
6448 { echo "$as_me:$LINENO: result: $GNU_MAKE" >&5
6449 echo "${ECHO_T}$GNU_MAKE" >&6; } ;
6450 if test "x$GNU_MAKE" = "xNot Found" ; then
6451 { { echo "$as_me:$LINENO: error: *** Please install GNU make. It is required to build Asterisk!" >&5
6452 echo "$as_me: error: *** Please install GNU make. It is required to build Asterisk!" >&2;}
6453 { (exit 1); exit 1; }; }
6459 if test -n "$ac_tool_prefix"; then
6460 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6461 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6464 if test "${ac_cv_path_STRIP+set}" = set; then
6465 echo $ECHO_N "(cached) $ECHO_C" >&6
6469 ac_cv_path_STRIP
="$STRIP" # Let the user override the test with a path.
6472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6476 test -z "$as_dir" && as_dir
=.
6477 for ac_exec_ext
in '' $ac_executable_extensions; do
6478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6479 ac_cv_path_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 STRIP
=$ac_cv_path_STRIP
6491 if test -n "$STRIP"; then
6492 { echo "$as_me:$LINENO: result: $STRIP" >&5
6493 echo "${ECHO_T}$STRIP" >&6; }
6495 { echo "$as_me:$LINENO: result: no" >&5
6496 echo "${ECHO_T}no" >&6; }
6501 if test -z "$ac_cv_path_STRIP"; then
6503 # Extract the first word of "strip", so it can be a program name with args.
6504 set dummy strip
; ac_word
=$2
6505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6507 if test "${ac_cv_path_ac_pt_STRIP+set}" = set; then
6508 echo $ECHO_N "(cached) $ECHO_C" >&6
6510 case $ac_pt_STRIP in
6512 ac_cv_path_ac_pt_STRIP
="$ac_pt_STRIP" # Let the user override the test with a path.
6515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6519 test -z "$as_dir" && as_dir
=.
6520 for ac_exec_ext
in '' $ac_executable_extensions; do
6521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6522 ac_cv_path_ac_pt_STRIP
="$as_dir/$ac_word$ac_exec_ext"
6523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6533 ac_pt_STRIP
=$ac_cv_path_ac_pt_STRIP
6534 if test -n "$ac_pt_STRIP"; then
6535 { echo "$as_me:$LINENO: result: $ac_pt_STRIP" >&5
6536 echo "${ECHO_T}$ac_pt_STRIP" >&6; }
6538 { echo "$as_me:$LINENO: result: no" >&5
6539 echo "${ECHO_T}no" >&6; }
6542 if test "x$ac_pt_STRIP" = x
; then
6545 case $cross_compiling:$ac_tool_warned in
6547 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6548 whose name does not start with the host triplet. If you think this
6549 configuration is useful to you, please write to autoconf@gnu.org." >&5
6550 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6551 whose name does not start with the host triplet. If you think this
6552 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6553 ac_tool_warned
=yes ;;
6558 STRIP
="$ac_cv_path_STRIP"
6561 if test -n "$ac_tool_prefix"; then
6562 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6563 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6566 if test "${ac_cv_path_AR+set}" = set; then
6567 echo $ECHO_N "(cached) $ECHO_C" >&6
6571 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
6574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6578 test -z "$as_dir" && as_dir
=.
6579 for ac_exec_ext
in '' $ac_executable_extensions; do
6580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6581 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
6582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593 if test -n "$AR"; then
6594 { echo "$as_me:$LINENO: result: $AR" >&5
6595 echo "${ECHO_T}$AR" >&6; }
6597 { echo "$as_me:$LINENO: result: no" >&5
6598 echo "${ECHO_T}no" >&6; }
6603 if test -z "$ac_cv_path_AR"; then
6605 # Extract the first word of "ar", so it can be a program name with args.
6606 set dummy
ar; ac_word
=$2
6607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6609 if test "${ac_cv_path_ac_pt_AR+set}" = set; then
6610 echo $ECHO_N "(cached) $ECHO_C" >&6
6614 ac_cv_path_ac_pt_AR
="$ac_pt_AR" # Let the user override the test with a path.
6617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6621 test -z "$as_dir" && as_dir
=.
6622 for ac_exec_ext
in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_path_ac_pt_AR
="$as_dir/$ac_word$ac_exec_ext"
6625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6635 ac_pt_AR
=$ac_cv_path_ac_pt_AR
6636 if test -n "$ac_pt_AR"; then
6637 { echo "$as_me:$LINENO: result: $ac_pt_AR" >&5
6638 echo "${ECHO_T}$ac_pt_AR" >&6; }
6640 { echo "$as_me:$LINENO: result: no" >&5
6641 echo "${ECHO_T}no" >&6; }
6644 if test "x$ac_pt_AR" = x
; then
6647 case $cross_compiling:$ac_tool_warned in
6649 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6650 whose name does not start with the host triplet. If you think this
6651 configuration is useful to you, please write to autoconf@gnu.org." >&5
6652 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6653 whose name does not start with the host triplet. If you think this
6654 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6655 ac_tool_warned
=yes ;;
6665 if test "x$with_gnu_ld" = "xyes" ; then
6670 # Extract the first word of "grep", so it can be a program name with args.
6671 set dummy
grep; ac_word
=$2
6672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6674 if test "${ac_cv_path_GREP+set}" = set; then
6675 echo $ECHO_N "(cached) $ECHO_C" >&6
6679 ac_cv_path_GREP
="$GREP" # Let the user override the test with a path.
6682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6686 test -z "$as_dir" && as_dir
=.
6687 for ac_exec_ext
in '' $ac_executable_extensions; do
6688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6689 ac_cv_path_GREP
="$as_dir/$ac_word$ac_exec_ext"
6690 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 test -z "$ac_cv_path_GREP" && ac_cv_path_GREP
=":"
6701 GREP
=$ac_cv_path_GREP
6702 if test -n "$GREP"; then
6703 { echo "$as_me:$LINENO: result: $GREP" >&5
6704 echo "${ECHO_T}$GREP" >&6; }
6706 { echo "$as_me:$LINENO: result: no" >&5
6707 echo "${ECHO_T}no" >&6; }
6711 # Extract the first word of "find", so it can be a program name with args.
6712 set dummy
find; ac_word
=$2
6713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6715 if test "${ac_cv_path_FIND+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6720 ac_cv_path_FIND
="$FIND" # Let the user override the test with a path.
6723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6727 test -z "$as_dir" && as_dir
=.
6728 for ac_exec_ext
in '' $ac_executable_extensions; do
6729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730 ac_cv_path_FIND
="$as_dir/$ac_word$ac_exec_ext"
6731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6738 test -z "$ac_cv_path_FIND" && ac_cv_path_FIND
=":"
6742 FIND
=$ac_cv_path_FIND
6743 if test -n "$FIND"; then
6744 { echo "$as_me:$LINENO: result: $FIND" >&5
6745 echo "${ECHO_T}$FIND" >&6; }
6747 { echo "$as_me:$LINENO: result: no" >&5
6748 echo "${ECHO_T}no" >&6; }
6752 # Extract the first word of "compress", so it can be a program name with args.
6753 set dummy
compress; ac_word
=$2
6754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756 if test "${ac_cv_path_COMPRESS+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 ac_cv_path_COMPRESS
="$COMPRESS" # Let the user override the test with a path.
6764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6768 test -z "$as_dir" && as_dir
=.
6769 for ac_exec_ext
in '' $ac_executable_extensions; do
6770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6771 ac_cv_path_COMPRESS
="$as_dir/$ac_word$ac_exec_ext"
6772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 test -z "$ac_cv_path_COMPRESS" && ac_cv_path_COMPRESS
=":"
6783 COMPRESS
=$ac_cv_path_COMPRESS
6784 if test -n "$COMPRESS"; then
6785 { echo "$as_me:$LINENO: result: $COMPRESS" >&5
6786 echo "${ECHO_T}$COMPRESS" >&6; }
6788 { echo "$as_me:$LINENO: result: no" >&5
6789 echo "${ECHO_T}no" >&6; }
6793 # Extract the first word of "basename", so it can be a program name with args.
6794 set dummy
basename; ac_word
=$2
6795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6797 if test "${ac_cv_path_BASENAME+set}" = set; then
6798 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 ac_cv_path_BASENAME
="$BASENAME" # Let the user override the test with a path.
6805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6809 test -z "$as_dir" && as_dir
=.
6810 for ac_exec_ext
in '' $ac_executable_extensions; do
6811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6812 ac_cv_path_BASENAME
="$as_dir/$ac_word$ac_exec_ext"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6820 test -z "$ac_cv_path_BASENAME" && ac_cv_path_BASENAME
=":"
6824 BASENAME
=$ac_cv_path_BASENAME
6825 if test -n "$BASENAME"; then
6826 { echo "$as_me:$LINENO: result: $BASENAME" >&5
6827 echo "${ECHO_T}$BASENAME" >&6; }
6829 { echo "$as_me:$LINENO: result: no" >&5
6830 echo "${ECHO_T}no" >&6; }
6834 # Extract the first word of "id", so it can be a program name with args.
6835 set dummy id
; ac_word
=$2
6836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6838 if test "${ac_cv_path_ID+set}" = set; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 ac_cv_path_ID
="$ID" # Let the user override the test with a path.
6846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6850 test -z "$as_dir" && as_dir
=.
6851 for ac_exec_ext
in '' $ac_executable_extensions; do
6852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6853 ac_cv_path_ID
="$as_dir/$ac_word$ac_exec_ext"
6854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 test -z "$ac_cv_path_ID" && ac_cv_path_ID
=":"
6866 if test -n "$ID"; then
6867 { echo "$as_me:$LINENO: result: $ID" >&5
6868 echo "${ECHO_T}$ID" >&6; }
6870 { echo "$as_me:$LINENO: result: no" >&5
6871 echo "${ECHO_T}no" >&6; }
6875 # Extract the first word of "dirname", so it can be a program name with args.
6876 set dummy
dirname; ac_word
=$2
6877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6879 if test "${ac_cv_path_DIRNAME+set}" = set; then
6880 echo $ECHO_N "(cached) $ECHO_C" >&6
6884 ac_cv_path_DIRNAME
="$DIRNAME" # Let the user override the test with a path.
6887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir
=.
6892 for ac_exec_ext
in '' $ac_executable_extensions; do
6893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6894 ac_cv_path_DIRNAME
="$as_dir/$ac_word$ac_exec_ext"
6895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 test -z "$ac_cv_path_DIRNAME" && ac_cv_path_DIRNAME
=":"
6906 DIRNAME
=$ac_cv_path_DIRNAME
6907 if test -n "$DIRNAME"; then
6908 { echo "$as_me:$LINENO: result: $DIRNAME" >&5
6909 echo "${ECHO_T}$DIRNAME" >&6; }
6911 { echo "$as_me:$LINENO: result: no" >&5
6912 echo "${ECHO_T}no" >&6; }
6916 # Extract the first word of "sh", so it can be a program name with args.
6917 set dummy sh
; ac_word
=$2
6918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6920 if test "${ac_cv_path_SHELL+set}" = set; then
6921 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 ac_cv_path_SHELL
="$SHELL" # Let the user override the test with a path.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir
=.
6933 for ac_exec_ext
in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_path_SHELL
="$as_dir/$ac_word$ac_exec_ext"
6936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6943 test -z "$ac_cv_path_SHELL" && ac_cv_path_SHELL
=":"
6947 SHELL
=$ac_cv_path_SHELL
6948 if test -n "$SHELL"; then
6949 { echo "$as_me:$LINENO: result: $SHELL" >&5
6950 echo "${ECHO_T}$SHELL" >&6; }
6952 { echo "$as_me:$LINENO: result: no" >&5
6953 echo "${ECHO_T}no" >&6; }
6957 # Extract the first word of "ln", so it can be a program name with args.
6958 set dummy
ln; ac_word
=$2
6959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6961 if test "${ac_cv_path_LN+set}" = set; then
6962 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
6969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6973 test -z "$as_dir" && as_dir
=.
6974 for ac_exec_ext
in '' $ac_executable_extensions; do
6975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6976 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
6977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6984 test -z "$ac_cv_path_LN" && ac_cv_path_LN
=":"
6989 if test -n "$LN"; then
6990 { echo "$as_me:$LINENO: result: $LN" >&5
6991 echo "${ECHO_T}$LN" >&6; }
6993 { echo "$as_me:$LINENO: result: no" >&5
6994 echo "${ECHO_T}no" >&6; }
6998 # Extract the first word of "dot", so it can be a program name with args.
6999 set dummy dot
; ac_word
=$2
7000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7002 if test "${ac_cv_path_DOT+set}" = set; then
7003 echo $ECHO_N "(cached) $ECHO_C" >&6
7007 ac_cv_path_DOT
="$DOT" # Let the user override the test with a path.
7010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7014 test -z "$as_dir" && as_dir
=.
7015 for ac_exec_ext
in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_path_DOT
="$as_dir/$ac_word$ac_exec_ext"
7018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT
=":"
7030 if test -n "$DOT"; then
7031 { echo "$as_me:$LINENO: result: $DOT" >&5
7032 echo "${ECHO_T}$DOT" >&6; }
7034 { echo "$as_me:$LINENO: result: no" >&5
7035 echo "${ECHO_T}no" >&6; }
7039 # Extract the first word of "wget", so it can be a program name with args.
7040 set dummy wget
; ac_word
=$2
7041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7043 if test "${ac_cv_path_WGET+set}" = set; then
7044 echo $ECHO_N "(cached) $ECHO_C" >&6
7048 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir
=.
7056 for ac_exec_ext
in '' $ac_executable_extensions; do
7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7058 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
7059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
=":"
7070 WGET
=$ac_cv_path_WGET
7071 if test -n "$WGET"; then
7072 { echo "$as_me:$LINENO: result: $WGET" >&5
7073 echo "${ECHO_T}$WGET" >&6; }
7075 { echo "$as_me:$LINENO: result: no" >&5
7076 echo "${ECHO_T}no" >&6; }
7080 if test "${WGET}" != ":" ; then
7083 # Extract the first word of "fetch", so it can be a program name with args.
7084 set dummy fetch
; ac_word
=$2
7085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7087 if test "${ac_cv_path_FETCH+set}" = set; then
7088 echo $ECHO_N "(cached) $ECHO_C" >&6
7092 ac_cv_path_FETCH
="$FETCH" # Let the user override the test with a path.
7095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir
=.
7100 for ac_exec_ext
in '' $ac_executable_extensions; do
7101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 ac_cv_path_FETCH
="$as_dir/$ac_word$ac_exec_ext"
7103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7110 test -z "$ac_cv_path_FETCH" && ac_cv_path_FETCH
=":"
7114 FETCH
=$ac_cv_path_FETCH
7115 if test -n "$FETCH"; then
7116 { echo "$as_me:$LINENO: result: $FETCH" >&5
7117 echo "${ECHO_T}$FETCH" >&6; }
7119 { echo "$as_me:$LINENO: result: no" >&5
7120 echo "${ECHO_T}no" >&6; }
7132 ac_cpp
='$CPP $CPPFLAGS'
7133 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7134 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7135 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7139 # We used to check for pthread.h first, but this fails if pthread.h
7140 # requires special compiler flags (e.g. on True64 or Sequent).
7141 # It gets checked for in the link test anyway.
7143 # First of all, check if the user has set any of the PTHREAD_LIBS,
7144 # etcetera environment variables, and if threads linking works using
7146 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
7147 save_CFLAGS
="$CFLAGS"
7148 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7150 LIBS
="$PTHREAD_LIBS $LIBS"
7151 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
7152 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
7153 cat >conftest.
$ac_ext <<_ACEOF
7156 cat confdefs.h
>>conftest.
$ac_ext
7157 cat >>conftest.
$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7160 /* Override any GCC internal prototype to avoid an error.
7161 Use char because int might match the return type of a GCC
7162 builtin and then its argument prototype would still apply. */
7166 char pthread_join ();
7170 return pthread_join ();
7175 rm -f conftest.
$ac_objext conftest
$ac_exeext
7176 if { (ac_try
="$ac_link"
7178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_link") 2>conftest.er1
7184 grep -v '^ *+' conftest.er1 >conftest.err
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest$ac_exeext &&
7192 $as_test_x conftest$ac_exeext; then
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.$ac_ext >&5
7201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7202 conftest$ac_exeext conftest.$ac_ext
7203 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7204 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7205 if test x"$acx_pthread_ok" = xno; then
7210 CFLAGS="$save_CFLAGS"
7213 # We must check for the threads library under a number of different
7214 # names; the ordering is very important because some systems
7215 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
7216 # libraries is broken (non-POSIX).
7218 # Create a list of thread flags to try. Items starting with a "-" are
7219 # C compiler flags, and other items are library names, except for "none"
7220 # which indicates that we try without any flags at all, and "pthread-config"
7221 # which is a program returning the flags for the Pth emulation library.
7223 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
7225 # The ordering *is* (sometimes) important. Some notes on the
7226 # individual items follow:
7228 # pthreads: AIX (must check this before -lpthread)
7229 # none: in case threads are in libc; should be tried before -Kthread and
7230 # other compiler flags to prevent continual compiler warnings
7231 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
7232 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
7233 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
7234 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
7235 # -pthreads: Solaris/gcc
7236 # -mthreads: Mingw32/gcc, Lynx/gcc
7237 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
7238 # doesn't hurt to check since this sometimes defines pthreads too;
7239 # also defines -D_REENTRANT)
7240 # ... -mt is also the pthreads flag for HP/aCC
7241 # pthread: Linux, etcetera
7242 # --thread-safe: KAI C++
7243 # pthread-config: use pthread-config program (for GNU Pth library)
7245 case "${host_cpu}-${host_os}" in
7248 # On Solaris (at least, for some versions), libc contains stubbed
7249 # (non-functional) versions of the pthreads routines, so link-based
7250 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
7251 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
7252 # a function called by this macro, so we could check for that, but
7253 # who knows whether they'll stub that too in a future libc.) So,
7254 # we'll just look for -pthreads and -lpthread first:
7256 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
7260 if test x"$acx_pthread_ok" = xno; then
7261 for flag in $acx_pthread_flags; do
7265 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
7266 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
7270 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
7271 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
7272 PTHREAD_CFLAGS="$flag"
7276 # Extract the first word of "pthread-config", so it can be a program name with args.
7277 set dummy pthread-config; ac_word=$2
7278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7280 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
7281 echo $ECHO_N "(cached) $ECHO_C" >&6
7283 if test -n "$acx_pthread_config"; then
7284 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
7286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 test -z "$as_dir" && as_dir=.
7291 for ac_exec_ext in '' $ac_executable_extensions; do
7292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7293 ac_cv_prog_acx_pthread_config="yes"
7294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
7304 acx_pthread_config=$ac_cv_prog_acx_pthread_config
7305 if test -n "$acx_pthread_config"; then
7306 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
7307 echo "${ECHO_T}$acx_pthread_config" >&6; }
7309 { echo "$as_me:$LINENO: result: no" >&5
7310 echo "${ECHO_T}no" >&6; }
7314 if test x"$acx_pthread_config" = xno; then continue; fi
7315 PTHREAD_CFLAGS="`pthread-config
--cflags`"
7316 PTHREAD_LIBS="`pthread-config
--ldflags` `pthread-config
--libs`"
7320 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
7321 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
7322 PTHREAD_LIBS="-l$flag"
7327 save_CFLAGS="$CFLAGS"
7328 LIBS="$PTHREAD_LIBS $LIBS"
7329 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
7331 # Check for various functions. We must include pthread.h,
7332 # since some functions may be macros. (On the Sequent, we
7333 # need a special flag -Kthread to make this header compile.)
7334 # We check for pthread_join because it is in -lpthread on IRIX
7335 # while pthread_create is in libc. We check for pthread_attr_init
7336 # due to DEC craziness with -lpthreads. We check for
7337 # pthread_cleanup_push because it is one of the few pthread
7338 # functions on Solaris that doesn't have a non-functional libc stub.
7339 # We try pthread_create on general principles.
7340 cat >conftest.$ac_ext <<_ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 #include <pthread.h>
7350 pthread_t th; pthread_join(th, 0);
7351 pthread_attr_init(0); pthread_cleanup_push(0, 0);
7352 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
7357 rm -f conftest.$ac_objext conftest$ac_exeext
7358 if { (ac_try="$ac_link"
7360 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7361 *) ac_try_echo
=$ac_try;;
7363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7364 (eval "$ac_link") 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } && {
7371 test -z "$ac_c_werror_flag" ||
7372 test ! -s conftest.err
7373 } && test -s conftest
$ac_exeext &&
7374 $as_test_x conftest
$ac_exeext; then
7377 echo "$as_me: failed program was:" >&5
7378 sed 's/^/| /' conftest.
$ac_ext >&5
7383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7384 conftest
$ac_exeext conftest.
$ac_ext
7387 CFLAGS
="$save_CFLAGS"
7389 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
7390 echo "${ECHO_T}$acx_pthread_ok" >&6; }
7391 if test "x$acx_pthread_ok" = xyes
; then
7400 # Various other checks:
7401 if test "x$acx_pthread_ok" = xyes
; then
7403 LIBS
="$PTHREAD_LIBS $LIBS"
7404 save_CFLAGS
="$CFLAGS"
7405 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
7407 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
7408 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
7409 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
7411 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
7412 cat >conftest.
$ac_ext <<_ACEOF
7415 cat confdefs.h
>>conftest.
$ac_ext
7416 cat >>conftest.
$ac_ext <<_ACEOF
7417 /* end confdefs.h. */
7418 #include <pthread.h>
7422 int attr=$attr; return attr;
7427 rm -f conftest.
$ac_objext conftest
$ac_exeext
7428 if { (ac_try
="$ac_link"
7430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7431 *) ac_try_echo=$ac_try;;
7433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7434 (eval "$ac_link") 2>conftest.er1
7436 grep -v '^ *+' conftest.er1 >conftest.err
7438 cat conftest.err >&5
7439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7440 (exit $ac_status); } && {
7441 test -z "$ac_c_werror_flag" ||
7442 test ! -s conftest.err
7443 } && test -s conftest$ac_exeext &&
7444 $as_test_x conftest$ac_exeext; then
7445 attr_name=$attr; break
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7454 conftest$ac_exeext conftest.$ac_ext
7456 { echo "$as_me:$LINENO: result: $attr_name" >&5
7457 echo "${ECHO_T}$attr_name" >&6; }
7458 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
7460 cat >>confdefs.h <<_ACEOF
7461 #define PTHREAD_CREATE_JOINABLE $attr_name
7466 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
7467 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
7469 case "${host_cpu}-${host_os}" in
7470 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
7471 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
7473 { echo "$as_me:$LINENO: result: ${flag}" >&5
7474 echo "${ECHO_T}${flag}" >&6; }
7475 if test "x$flag" != xno; then
7476 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
7480 CFLAGS="$save_CFLAGS"
7482 # More AIX lossage: must compile with xlc_r or cc_r
7483 if test x"$GCC" != xyes; then
7484 for ac_prog in xlc_r cc_r
7486 # Extract the first word of "$ac_prog", so it can be a program name with args.
7487 set dummy $ac_prog; ac_word=$2
7488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7490 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 if test -n "$PTHREAD_CC"; then
7494 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 test -z "$as_dir" && as_dir=.
7501 for ac_exec_ext in '' $ac_executable_extensions; do
7502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7503 ac_cv_prog_PTHREAD_CC="$ac_prog"
7504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7513 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
7514 if test -n "$PTHREAD_CC"; then
7515 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
7516 echo "${ECHO_T}$PTHREAD_CC" >&6; }
7518 { echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6; }
7523 test -n "$PTHREAD_CC" && break
7525 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
7538 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
7539 if test x"$acx_pthread_ok" = xyes; then
7541 cat >>confdefs.h <<\_ACEOF
7542 #define HAVE_PTHREAD 1
7551 ac_cpp='$CPP $CPPFLAGS'
7552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7559 ac_cpp='$CPP $CPPFLAGS'
7560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7565 # Check whether --enable-dev-mode was given.
7566 if test "${enable_dev_mode+set}" = set; then
7567 enableval=$enable_dev_mode; case "${enableval}" in
7568 y|ye|yes) AST_DEVMODE=yes ;;
7569 n|no) AST_DEVMODE=no ;;
7570 *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dev-mode" >&5
7571 echo "$as_me: error: bad value ${enableval} for --enable-dev-mode" >&2;}
7572 { (exit 1); exit 1; }; } ;;
7578 # package option names should be in alphabetical order
7579 # by the --with option name, to make things easier for the users :-)
7582 ALSA_DESCRIP="Advanced Linux Sound Architecture"
7583 ALSA_OPTION="asound"
7585 # Check whether --with-asound was given.
7586 if test "${with_asound+set}" = set; then
7587 withval=$with_asound;
7593 ALSA_MANDATORY="yes"
7596 ALSA_DIR="${withval}"
7597 ALSA_MANDATORY="yes"
7613 # Check whether --with-curl was given.
7614 if test "${with_curl+set}" = set; then
7621 CURL_MANDATORY="yes"
7624 CURL_DIR="${withval}"
7625 CURL_MANDATORY="yes"
7638 CURSES_DESCRIP="curses"
7639 CURSES_OPTION="curses"
7641 # Check whether --with-curses was given.
7642 if test "${with_curses+set}" = set; then
7643 withval=$with_curses;
7649 CURSES_MANDATORY="yes"
7652 CURSES_DIR="${withval}"
7653 CURSES_MANDATORY="yes"
7666 GNUTLS_DESCRIP="GNU TLS support (used for iksemel only)"
7667 GNUTLS_OPTION="gnutls"
7669 # Check whether --with-gnutls was given.
7670 if test "${with_gnutls+set}" = set; then
7671 withval=$with_gnutls;
7677 GNUTLS_MANDATORY="yes"
7680 GNUTLS_DIR="${withval}"
7681 GNUTLS_MANDATORY="yes"
7697 # Check whether --with-gsm was given.
7698 if test "${with_gsm+set}" = set; then
7708 GSM_DIR="${withval}"
7722 IKSEMEL_DESCRIP="Iksemel Jabber Library"
7723 IKSEMEL_OPTION="iksemel"
7725 # Check whether --with-iksemel was given.
7726 if test "${with_iksemel+set}" = set; then
7727 withval=$with_iksemel;
7733 IKSEMEL_MANDATORY="yes"
7736 IKSEMEL_DIR="${withval}"
7737 IKSEMEL_MANDATORY="yes"
7750 IMAP_TK_DESCRIP="UW IMAP Toolkit"
7751 IMAP_TK_OPTION="imap"
7753 # Check whether --with-imap was given.
7754 if test "${with_imap+set}" = set; then
7761 IMAP_TK_MANDATORY="yes"
7764 IMAP_TK_DIR="${withval}"
7765 IMAP_TK_MANDATORY="yes"
7778 ISDNNET_DESCRIP="ISDN4Linux Library"
7779 ISDNNET_OPTION="isdnnet"
7781 # Check whether --with-isdnnet was given.
7782 if test "${with_isdnnet+set}" = set; then
7783 withval=$with_isdnnet;
7789 ISDNNET_MANDATORY="yes"
7792 ISDNNET_DIR="${withval}"
7793 ISDNNET_MANDATORY="yes"
7809 # Check whether --with-kde was given.
7810 if test "${with_kde+set}" = set; then
7820 KDE_DIR="${withval}"
7834 LTDL_DESCRIP="libtool"
7837 # Check whether --with-ltdl was given.
7838 if test "${with_ltdl+set}" = set; then
7845 LTDL_MANDATORY="yes"
7848 LTDL_DIR="${withval}"
7849 LTDL_MANDATORY="yes"
7862 MISDN_DESCRIP="mISDN User Library"
7863 MISDN_OPTION="misdn"
7865 # Check whether --with-misdn was given.
7866 if test "${with_misdn+set}" = set; then
7867 withval=$with_misdn;
7873 MISDN_MANDATORY="yes"
7876 MISDN_DIR="${withval}"
7877 MISDN_MANDATORY="yes"
7890 NBS_DESCRIP="Network Broadcast Sound"
7893 # Check whether --with-nbs was given.
7894 if test "${with_nbs+set}" = set; then
7904 NBS_DIR="${withval}"
7918 NCURSES_DESCRIP="ncurses"
7919 NCURSES_OPTION="ncurses"
7921 # Check whether --with-ncurses was given.
7922 if test "${with_ncurses+set}" = set; then
7923 withval=$with_ncurses;
7929 NCURSES_MANDATORY="yes"
7932 NCURSES_DIR="${withval}"
7933 NCURSES_MANDATORY="yes"
7946 NETSNMP_DESCRIP="Net-SNMP"
7947 NETSNMP_OPTION="netsnmp"
7949 # Check whether --with-netsnmp was given.
7950 if test "${with_netsnmp+set}" = set; then
7951 withval=$with_netsnmp;
7957 NETSNMP_MANDATORY="yes"
7960 NETSNMP_DIR="${withval}"
7961 NETSNMP_MANDATORY="yes"
7977 # Check whether --with-newt was given.
7978 if test "${with_newt+set}" = set; then
7985 NEWT_MANDATORY="yes"
7988 NEWT_DIR="${withval}"
7989 NEWT_MANDATORY="yes"
8002 UNIXODBC_DESCRIP="unixODBC"
8003 UNIXODBC_OPTION="odbc"
8005 # Check whether --with-odbc was given.
8006 if test "${with_odbc+set}" = set; then
8013 UNIXODBC_MANDATORY="yes"
8016 UNIXODBC_DIR="${withval}"
8017 UNIXODBC_MANDATORY="yes"
8033 # Check whether --with-ogg was given.
8034 if test "${with_ogg+set}" = set; then
8044 OGG_DIR="${withval}"
8058 OSPTK_DESCRIP="OSP Toolkit"
8059 OSPTK_OPTION="osptk"
8061 # Check whether --with-osptk was given.
8062 if test "${with_osptk+set}" = set; then
8063 withval=$with_osptk;
8069 OSPTK_MANDATORY="yes"
8072 OSPTK_DIR="${withval}"
8073 OSPTK_MANDATORY="yes"
8086 OSS_DESCRIP="Open Sound System"
8089 # Check whether --with-oss was given.
8090 if test "${with_oss+set}" = set; then
8100 OSS_DIR="${withval}"
8117 # Check whether --with-popt was given.
8118 if test "${with_popt+set}" = set; then
8125 POPT_MANDATORY="yes"
8128 POPT_DIR="${withval}"
8129 POPT_MANDATORY="yes"
8142 PGSQL_DESCRIP="PostgreSQL"
8143 PGSQL_OPTION="postgres"
8145 # Check whether --with-postgres was given.
8146 if test "${with_postgres+set}" = set; then
8147 withval=$with_postgres;
8153 PGSQL_MANDATORY="yes"
8156 PGSQL_DIR="${withval}"
8157 PGSQL_MANDATORY="yes"
8170 PRI_DESCRIP="ISDN PRI"
8173 # Check whether --with-pri was given.
8174 if test "${with_pri+set}" = set; then
8184 PRI_DIR="${withval}"
8198 PWLIB_DESCRIP="PWlib"
8199 PWLIB_OPTION="pwlib"
8201 # Check whether --with-pwlib was given.
8202 if test "${with_pwlib+set}" = set; then
8203 withval=$with_pwlib;
8209 PWLIB_MANDATORY="yes"
8212 PWLIB_DIR="${withval}"
8213 PWLIB_MANDATORY="yes"
8226 OPENH323_DESCRIP="OpenH323"
8227 OPENH323_OPTION="h323"
8229 # Check whether --with-h323 was given.
8230 if test "${with_h323+set}" = set; then
8237 OPENH323_MANDATORY="yes"
8240 OPENH323_DIR="${withval}"
8241 OPENH323_MANDATORY="yes"
8257 # Check whether --with-qt was given.
8258 if test "${with_qt+set}" = set; then
8282 RADIUS_DESCRIP="Radius Client"
8283 RADIUS_OPTION="radius"
8285 # Check whether --with-radius was given.
8286 if test "${with_radius+set}" = set; then
8287 withval=$with_radius;
8293 RADIUS_MANDATORY="yes"
8296 RADIUS_DIR="${withval}"
8297 RADIUS_MANDATORY="yes"
8310 SPEEX_DESCRIP="Speex"
8311 SPEEX_OPTION="speex"
8313 # Check whether --with-speex was given.
8314 if test "${with_speex+set}" = set; then
8315 withval=$with_speex;
8321 SPEEX_MANDATORY="yes"
8324 SPEEX_DIR="${withval}"
8325 SPEEX_MANDATORY="yes"
8338 SQLITE_DESCRIP="SQLite"
8339 SQLITE_OPTION="sqlite"
8341 # Check whether --with-sqlite was given.
8342 if test "${with_sqlite+set}" = set; then
8343 withval=$with_sqlite;
8349 SQLITE_MANDATORY="yes"
8352 SQLITE_DIR="${withval}"
8353 SQLITE_MANDATORY="yes"
8366 SUPPSERV_DESCRIP="mISDN Supplemental Services"
8367 SUPPSERV_OPTION="suppserv"
8369 # Check whether --with-suppserv was given.
8370 if test "${with_suppserv+set}" = set; then
8371 withval=$with_suppserv;
8377 SUPPSERV_MANDATORY="yes"
8380 SUPPSERV_DIR="${withval}"
8381 SUPPSERV_MANDATORY="yes"
8394 OPENSSL_DESCRIP="OpenSSL"
8395 OPENSSL_OPTION="ssl"
8397 # Check whether --with-ssl was given.
8398 if test "${with_ssl+set}" = set; then
8405 OPENSSL_MANDATORY="yes"
8408 OPENSSL_DIR="${withval}"
8409 OPENSSL_MANDATORY="yes"
8422 FREETDS_DESCRIP="FreeTDS"
8423 FREETDS_OPTION="tds"
8425 # Check whether --with-tds was given.
8426 if test "${with_tds+set}" = set; then
8433 FREETDS_MANDATORY="yes"
8436 FREETDS_DIR="${withval}"
8437 FREETDS_MANDATORY="yes"
8450 TERMCAP_DESCRIP="Termcap"
8451 TERMCAP_OPTION="termcap"
8453 # Check whether --with-termcap was given.
8454 if test "${with_termcap+set}" = set; then
8455 withval=$with_termcap;
8461 TERMCAP_MANDATORY="yes"
8464 TERMCAP_DIR="${withval}"
8465 TERMCAP_MANDATORY="yes"
8478 TINFO_DESCRIP="Term Info"
8479 TINFO_OPTION="tinfo"
8481 # Check whether --with-tinfo was given.
8482 if test "${with_tinfo+set}" = set; then
8483 withval=$with_tinfo;
8489 TINFO_MANDATORY="yes"
8492 TINFO_DIR="${withval}"
8493 TINFO_MANDATORY="yes"
8506 TONEZONE_DESCRIP="tonezone"
8507 TONEZONE_OPTION="tonezone"
8509 # Check whether --with-tonezone was given.
8510 if test "${with_tonezone+set}" = set; then
8511 withval=$with_tonezone;
8517 TONEZONE_MANDATORY="yes"
8520 TONEZONE_DIR="${withval}"
8521 TONEZONE_MANDATORY="yes"
8537 # Check whether --with-usb was given.
8538 if test "${with_usb+set}" = set; then
8548 USB_DIR="${withval}"
8562 VORBIS_DESCRIP="Vorbis"
8563 VORBIS_OPTION="vorbis"
8565 # Check whether --with-vorbis was given.
8566 if test "${with_vorbis+set}" = set; then
8567 withval=$with_vorbis;
8573 VORBIS_MANDATORY="yes"
8576 VORBIS_DIR="${withval}"
8577 VORBIS_MANDATORY="yes"
8590 VPB_DESCRIP="Voicetronix API"
8593 # Check whether --with-vpb was given.
8594 if test "${with_vpb+set}" = set; then
8604 VPB_DIR="${withval}"
8621 # Check whether --with-z was given.
8622 if test "${with_z+set}" = set; then
8629 ZLIB_MANDATORY="yes"
8632 ZLIB_DIR="${withval}"
8633 ZLIB_MANDATORY="yes"
8646 ZAPTEL_DESCRIP="Zaptel"
8647 ZAPTEL_OPTION="zaptel"
8649 # Check whether --with-zaptel was given.
8650 if test "${with_zaptel+set}" = set; then
8651 withval=$with_zaptel;
8657 ZAPTEL_MANDATORY="yes"
8660 ZAPTEL_DIR="${withval}"
8661 ZAPTEL_MANDATORY="yes"
8674 # check for basic system features and functionality before
8675 # checking for package libraries
8677 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
8678 # for constant arguments. Useless!
8679 { echo "$as_me:$LINENO: checking for working alloca.h" >&5
8680 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
8681 if test "${ac_cv_working_alloca_h+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8684 cat >conftest.$ac_ext <<_ACEOF
8687 cat confdefs.h >>conftest.$ac_ext
8688 cat >>conftest.$ac_ext <<_ACEOF
8689 /* end confdefs.h. */
8694 char *p = (char *) alloca (2 * sizeof (int));
8700 rm -f conftest.$ac_objext conftest$ac_exeext
8701 if { (ac_try="$ac_link"
8703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8704 *) ac_try_echo
=$ac_try;;
8706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8707 (eval "$ac_link") 2>conftest.er1
8709 grep -v '^ *+' conftest.er1
>conftest.err
8711 cat conftest.err
>&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } && {
8714 test -z "$ac_c_werror_flag" ||
8715 test ! -s conftest.err
8716 } && test -s conftest
$ac_exeext &&
8717 $as_test_x conftest
$ac_exeext; then
8718 ac_cv_working_alloca_h
=yes
8720 echo "$as_me: failed program was:" >&5
8721 sed 's/^/| /' conftest.
$ac_ext >&5
8723 ac_cv_working_alloca_h
=no
8726 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8727 conftest
$ac_exeext conftest.
$ac_ext
8729 { echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
8730 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
8731 if test $ac_cv_working_alloca_h = yes; then
8733 cat >>confdefs.h
<<\_ACEOF
8734 #define HAVE_ALLOCA_H 1
8739 { echo "$as_me:$LINENO: checking for alloca" >&5
8740 echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
8741 if test "${ac_cv_func_alloca_works+set}" = set; then
8742 echo $ECHO_N "(cached) $ECHO_C" >&6
8744 cat >conftest.
$ac_ext <<_ACEOF
8747 cat confdefs.h
>>conftest.
$ac_ext
8748 cat >>conftest.
$ac_ext <<_ACEOF
8749 /* end confdefs.h. */
8751 # define alloca __builtin_alloca
8754 # include <malloc.h>
8755 # define alloca _alloca
8757 # ifdef HAVE_ALLOCA_H
8758 # include <alloca.h>
8763 # ifndef alloca /* predefined by HP cc +Olibcalls */
8774 char *p = (char *) alloca (1);
8780 rm -f conftest.
$ac_objext conftest
$ac_exeext
8781 if { (ac_try
="$ac_link"
8783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8784 *) ac_try_echo=$ac_try;;
8786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8787 (eval "$ac_link") 2>conftest.er1
8789 grep -v '^ *+' conftest.er1 >conftest.err
8791 cat conftest.err >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); } && {
8794 test -z "$ac_c_werror_flag" ||
8795 test ! -s conftest.err
8796 } && test -s conftest$ac_exeext &&
8797 $as_test_x conftest$ac_exeext; then
8798 ac_cv_func_alloca_works=yes
8800 echo "$as_me: failed program was:" >&5
8801 sed 's/^/| /' conftest.$ac_ext >&5
8803 ac_cv_func_alloca_works=no
8806 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8807 conftest$ac_exeext conftest.$ac_ext
8809 { echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
8810 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
8812 if test $ac_cv_func_alloca_works = yes; then
8814 cat >>confdefs.h <<\_ACEOF
8815 #define HAVE_ALLOCA 1
8819 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
8820 # that cause trouble. Some versions do not even contain alloca or
8821 # contain a buggy version. If you still want to use their alloca,
8822 # use ar to extract alloca.o from them instead of compiling alloca.c.
8824 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
8826 cat >>confdefs.h <<\_ACEOF
8831 { echo "$as_me:$LINENO: checking whether \`alloca.c
' needs Cray hooks" >&5
8832 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks...
$ECHO_C" >&6; }
8833 if test "${ac_cv_os_cray+set}" = set; then
8834 echo $ECHO_N "(cached
) $ECHO_C" >&6
8836 cat >conftest.$ac_ext <<_ACEOF
8839 cat confdefs.h >>conftest.$ac_ext
8840 cat >>conftest.$ac_ext <<_ACEOF
8841 /* end confdefs.h. */
8842 #if defined CRAY && ! defined CRAY2
8849 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8850 $EGREP "webecray
" >/dev/null 2>&1; then
8858 { echo "$as_me:$LINENO: result
: $ac_cv_os_cray" >&5
8859 echo "${ECHO_T}$ac_cv_os_cray" >&6; }
8860 if test $ac_cv_os_cray = yes; then
8861 for ac_func in _getb67 GETB67 getb67; do
8862 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
8863 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
8864 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
8865 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
8866 echo $ECHO_N "(cached
) $ECHO_C" >&6
8868 cat >conftest.$ac_ext <<_ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8876 #define $ac_func innocuous_$ac_func
8878 /* System header to define __stub macros and hopefully few prototypes,
8879 which can conflict with char $ac_func (); below.
8880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8881 <limits.h> exists even on freestanding compilers. */
8884 # include <limits.h>
8886 # include <assert.h>
8891 /* Override any GCC internal prototype to avoid an error.
8892 Use char because int might match the return type of a GCC
8893 builtin and then its argument prototype would still apply. */
8898 /* The GNU C library defines this for functions which it implements
8899 to always fail with ENOSYS. Some functions are actually named
8900 something starting with __ and the normal name is an alias. */
8901 #if defined __stub_$ac_func || defined __stub___$ac_func
8913 rm -f conftest.$ac_objext conftest$ac_exeext
8914 if { (ac_try="$ac_link"
8916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8917 *) ac_try_echo=$ac_try;;
8919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8920 (eval "$ac_link") 2>conftest.er1
8922 grep -v '^ *+' conftest.er1 >conftest.err
8924 cat conftest.err >&5
8925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8926 (exit $ac_status); } && {
8927 test -z "$ac_c_werror_flag" ||
8928 test ! -s conftest.err
8929 } && test -s conftest$ac_exeext &&
8930 $as_test_x conftest$ac_exeext; then
8931 eval "$as_ac_var=yes"
8933 echo "$as_me: failed program was
:" >&5
8934 sed 's/^/| /' conftest.$ac_ext >&5
8936 eval "$as_ac_var=no
"
8939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8940 conftest$ac_exeext conftest.$ac_ext
8942 ac_res=`eval echo '${'$as_ac_var'}'`
8943 { echo "$as_me:$LINENO: result
: $ac_res" >&5
8944 echo "${ECHO_T}$ac_res" >&6; }
8945 if test `eval echo '${'$as_ac_var'}'` = yes; then
8947 cat >>confdefs.h <<_ACEOF
8948 #define CRAY_STACKSEG_END $ac_func
8957 { echo "$as_me:$LINENO: checking stack direction
for C alloca
" >&5
8958 echo $ECHO_N "checking stack direction
for C alloca...
$ECHO_C" >&6; }
8959 if test "${ac_cv_c_stack_direction+set}" = set; then
8960 echo $ECHO_N "(cached
) $ECHO_C" >&6
8962 if test "$cross_compiling" = yes; then
8963 ac_cv_c_stack_direction=0
8965 cat >conftest.$ac_ext <<_ACEOF
8968 cat confdefs.h >>conftest.$ac_ext
8969 cat >>conftest.$ac_ext <<_ACEOF
8970 /* end confdefs.h. */
8971 $ac_includes_default
8973 find_stack_direction ()
8975 static char *addr = 0;
8980 return find_stack_direction ();
8983 return (&dummy > addr) ? 1 : -1;
8989 return find_stack_direction () < 0;
8992 rm -f conftest$ac_exeext
8993 if { (ac_try="$ac_link"
8995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8996 *) ac_try_echo=$ac_try;;
8998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
8999 (eval "$ac_link") 2>&5
9001 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9002 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9003 { (case "(($ac_try" in
9004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9005 *) ac_try_echo=$ac_try;;
9007 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9008 (eval "$ac_try") 2>&5
9010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9011 (exit $ac_status); }; }; then
9012 ac_cv_c_stack_direction=1
9014 echo "$as_me: program exited with status
$ac_status" >&5
9015 echo "$as_me: failed program was
:" >&5
9016 sed 's/^/| /' conftest.$ac_ext >&5
9019 ac_cv_c_stack_direction=-1
9021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9026 { echo "$as_me:$LINENO: result
: $ac_cv_c_stack_direction" >&5
9027 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
9029 cat >>confdefs.h <<_ACEOF
9030 #define STACK_DIRECTION $ac_cv_c_stack_direction
9042 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9043 as_ac_Header=`echo "ac_cv_header_dirent_
$ac_hdr" | $as_tr_sh`
9044 { echo "$as_me:$LINENO: checking
for $ac_hdr that defines DIR
" >&5
9045 echo $ECHO_N "checking
for $ac_hdr that defines DIR...
$ECHO_C" >&6; }
9046 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9047 echo $ECHO_N "(cached
) $ECHO_C" >&6
9049 cat >conftest.$ac_ext <<_ACEOF
9052 cat confdefs.h >>conftest.$ac_ext
9053 cat >>conftest.$ac_ext <<_ACEOF
9054 /* end confdefs.h. */
9055 #include <sys/types.h>
9067 rm -f conftest.$ac_objext
9068 if { (ac_try="$ac_compile"
9070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9071 *) ac_try_echo=$ac_try;;
9073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9074 (eval "$ac_compile") 2>conftest.er1
9076 grep -v '^ *+' conftest.er1 >conftest.err
9078 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9080 (exit $ac_status); } && {
9081 test -z "$ac_c_werror_flag" ||
9082 test ! -s conftest.err
9083 } && test -s conftest.$ac_objext; then
9084 eval "$as_ac_Header=yes"
9086 echo "$as_me: failed program was
:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 eval "$as_ac_Header=no
"
9092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9094 ac_res=`eval echo '${'$as_ac_Header'}'`
9095 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9096 echo "${ECHO_T}$ac_res" >&6; }
9097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9098 cat >>confdefs.h <<_ACEOF
9099 #define `echo "HAVE_
$ac_hdr" | $as_tr_cpp` 1
9102 ac_header_dirent=$ac_hdr; break
9106 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9107 if test $ac_header_dirent = dirent.h; then
9108 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9109 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9110 if test "${ac_cv_search_opendir+set}" = set; then
9111 echo $ECHO_N "(cached
) $ECHO_C" >&6
9113 ac_func_search_save_LIBS=$LIBS
9114 cat >conftest.$ac_ext <<_ACEOF
9117 cat confdefs.h >>conftest.$ac_ext
9118 cat >>conftest.$ac_ext <<_ACEOF
9119 /* end confdefs.h. */
9121 /* Override any GCC internal prototype to avoid an error.
9122 Use char because int might match the return type of a GCC
9123 builtin and then its argument prototype would still apply. */
9136 for ac_lib in '' dir; do
9137 if test -z "$ac_lib"; then
9138 ac_res="none required
"
9141 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9143 rm -f conftest.$ac_objext conftest$ac_exeext
9144 if { (ac_try="$ac_link"
9146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9149 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9150 (eval "$ac_link") 2>conftest.er1
9152 grep -v '^ *+' conftest.er1 >conftest.err
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9156 (exit $ac_status); } && {
9157 test -z "$ac_c_werror_flag" ||
9158 test ! -s conftest.err
9159 } && test -s conftest$ac_exeext &&
9160 $as_test_x conftest$ac_exeext; then
9161 ac_cv_search_opendir=$ac_res
9163 echo "$as_me: failed program was
:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9171 if test "${ac_cv_search_opendir+set}" = set; then
9175 if test "${ac_cv_search_opendir+set}" = set; then
9178 ac_cv_search_opendir=no
9181 LIBS=$ac_func_search_save_LIBS
9183 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9184 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9185 ac_res=$ac_cv_search_opendir
9186 if test "$ac_res" != no; then
9187 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9192 { echo "$as_me:$LINENO: checking
for library containing opendir
" >&5
9193 echo $ECHO_N "checking
for library containing opendir...
$ECHO_C" >&6; }
9194 if test "${ac_cv_search_opendir+set}" = set; then
9195 echo $ECHO_N "(cached
) $ECHO_C" >&6
9197 ac_func_search_save_LIBS=$LIBS
9198 cat >conftest.$ac_ext <<_ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9220 for ac_lib in '' x; do
9221 if test -z "$ac_lib"; then
9222 ac_res="none required
"
9225 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9227 rm -f conftest.$ac_objext conftest$ac_exeext
9228 if { (ac_try="$ac_link"
9230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9231 *) ac_try_echo=$ac_try;;
9233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_link") 2>conftest.er1
9236 grep -v '^ *+' conftest.er1 >conftest.err
9238 cat conftest.err >&5
9239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9240 (exit $ac_status); } && {
9241 test -z "$ac_c_werror_flag" ||
9242 test ! -s conftest.err
9243 } && test -s conftest$ac_exeext &&
9244 $as_test_x conftest$ac_exeext; then
9245 ac_cv_search_opendir=$ac_res
9247 echo "$as_me: failed program was
:" >&5
9248 sed 's/^/| /' conftest.$ac_ext >&5
9253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9255 if test "${ac_cv_search_opendir+set}" = set; then
9259 if test "${ac_cv_search_opendir+set}" = set; then
9262 ac_cv_search_opendir=no
9265 LIBS=$ac_func_search_save_LIBS
9267 { echo "$as_me:$LINENO: result
: $ac_cv_search_opendir" >&5
9268 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
9269 ac_res=$ac_cv_search_opendir
9270 if test "$ac_res" != no; then
9271 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
9277 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
9278 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
9279 if test "${ac_cv_header_stdc+set}" = set; then
9280 echo $ECHO_N "(cached
) $ECHO_C" >&6
9282 cat >conftest.$ac_ext <<_ACEOF
9285 cat confdefs.h >>conftest.$ac_ext
9286 cat >>conftest.$ac_ext <<_ACEOF
9287 /* end confdefs.h. */
9301 rm -f conftest.$ac_objext
9302 if { (ac_try="$ac_compile"
9304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9305 *) ac_try_echo=$ac_try;;
9307 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9308 (eval "$ac_compile") 2>conftest.er1
9310 grep -v '^ *+' conftest.er1 >conftest.err
9312 cat conftest.err >&5
9313 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9314 (exit $ac_status); } && {
9315 test -z "$ac_c_werror_flag" ||
9316 test ! -s conftest.err
9317 } && test -s conftest.$ac_objext; then
9318 ac_cv_header_stdc=yes
9320 echo "$as_me: failed program was
:" >&5
9321 sed 's/^/| /' conftest.$ac_ext >&5
9323 ac_cv_header_stdc=no
9326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9328 if test $ac_cv_header_stdc = yes; then
9329 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9330 cat >conftest.$ac_ext <<_ACEOF
9333 cat confdefs.h >>conftest.$ac_ext
9334 cat >>conftest.$ac_ext <<_ACEOF
9335 /* end confdefs.h. */
9339 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9340 $EGREP "memchr
" >/dev/null 2>&1; then
9343 ac_cv_header_stdc=no
9349 if test $ac_cv_header_stdc = yes; then
9350 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9351 cat >conftest.$ac_ext <<_ACEOF
9354 cat confdefs.h >>conftest.$ac_ext
9355 cat >>conftest.$ac_ext <<_ACEOF
9356 /* end confdefs.h. */
9360 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9361 $EGREP "free
" >/dev/null 2>&1; then
9364 ac_cv_header_stdc=no
9370 if test $ac_cv_header_stdc = yes; then
9371 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9372 if test "$cross_compiling" = yes; then
9375 cat >conftest.$ac_ext <<_ACEOF
9378 cat confdefs.h >>conftest.$ac_ext
9379 cat >>conftest.$ac_ext <<_ACEOF
9380 /* end confdefs.h. */
9383 #if ((' ' & 0x0FF) == 0x020)
9384 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9385 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9387 # define ISLOWER(c) \
9388 (('a' <= (c) && (c) <= 'i') \
9389 || ('j' <= (c) && (c) <= 'r') \
9390 || ('s' <= (c) && (c) <= 'z'))
9391 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9394 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9399 for (i = 0; i < 256; i++)
9400 if (XOR (islower (i), ISLOWER (i))
9401 || toupper (i) != TOUPPER (i))
9406 rm -f conftest$ac_exeext
9407 if { (ac_try="$ac_link"
9409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9410 *) ac_try_echo=$ac_try;;
9412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9413 (eval "$ac_link") 2>&5
9415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9416 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9417 { (case "(($ac_try" in
9418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9419 *) ac_try_echo=$ac_try;;
9421 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9422 (eval "$ac_try") 2>&5
9424 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9425 (exit $ac_status); }; }; then
9428 echo "$as_me: program exited with status
$ac_status" >&5
9429 echo "$as_me: failed program was
:" >&5
9430 sed 's/^/| /' conftest.$ac_ext >&5
9433 ac_cv_header_stdc=no
9435 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9441 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
9442 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
9443 if test $ac_cv_header_stdc = yes; then
9445 cat >>confdefs.h <<\_ACEOF
9446 #define STDC_HEADERS 1
9451 { echo "$as_me:$LINENO: checking
for sys
/wait.h that is POSIX
.1 compatible
" >&5
9452 echo $ECHO_N "checking
for sys
/wait.h that is POSIX
.1 compatible...
$ECHO_C" >&6; }
9453 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9454 echo $ECHO_N "(cached
) $ECHO_C" >&6
9456 cat >conftest.$ac_ext <<_ACEOF
9459 cat confdefs.h >>conftest.$ac_ext
9460 cat >>conftest.$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9462 #include <sys/types.h>
9463 #include <sys/wait.h>
9465 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
9468 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9476 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9481 rm -f conftest.$ac_objext
9482 if { (ac_try="$ac_compile"
9484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9485 *) ac_try_echo=$ac_try;;
9487 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9488 (eval "$ac_compile") 2>conftest.er1
9490 grep -v '^ *+' conftest.er1 >conftest.err
9492 cat conftest.err >&5
9493 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9494 (exit $ac_status); } && {
9495 test -z "$ac_c_werror_flag" ||
9496 test ! -s conftest.err
9497 } && test -s conftest.$ac_objext; then
9498 ac_cv_header_sys_wait_h=yes
9500 echo "$as_me: failed program was
:" >&5
9501 sed 's/^/| /' conftest.$ac_ext >&5
9503 ac_cv_header_sys_wait_h=no
9506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9508 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_wait_h" >&5
9509 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
9510 if test $ac_cv_header_sys_wait_h = yes; then
9512 cat >>confdefs.h <<\_ACEOF
9513 #define HAVE_SYS_WAIT_H 1
9541 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
9543 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
9544 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9545 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9546 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9547 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9548 echo $ECHO_N "(cached
) $ECHO_C" >&6
9550 ac_res=`eval echo '${'$as_ac_Header'}'`
9551 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9552 echo "${ECHO_T}$ac_res" >&6; }
9554 # Is the header compilable?
9555 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
9556 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
9557 cat >conftest.$ac_ext <<_ACEOF
9560 cat confdefs.h >>conftest.$ac_ext
9561 cat >>conftest.$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9563 $ac_includes_default
9564 #include <$ac_header>
9566 rm -f conftest.$ac_objext
9567 if { (ac_try="$ac_compile"
9569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9570 *) ac_try_echo=$ac_try;;
9572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9573 (eval "$ac_compile") 2>conftest.er1
9575 grep -v '^ *+' conftest.er1 >conftest.err
9577 cat conftest.err >&5
9578 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9579 (exit $ac_status); } && {
9580 test -z "$ac_c_werror_flag" ||
9581 test ! -s conftest.err
9582 } && test -s conftest.$ac_objext; then
9583 ac_header_compiler=yes
9585 echo "$as_me: failed program was
:" >&5
9586 sed 's/^/| /' conftest.$ac_ext >&5
9588 ac_header_compiler=no
9591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9592 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
9593 echo "${ECHO_T}$ac_header_compiler" >&6; }
9595 # Is the header present?
9596 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
9597 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
9598 cat >conftest.$ac_ext <<_ACEOF
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9604 #include <$ac_header>
9606 if { (ac_try="$ac_cpp conftest.
$ac_ext"
9608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9609 *) ac_try_echo=$ac_try;;
9611 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9612 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
9614 grep -v '^ *+' conftest.er1 >conftest.err
9616 cat conftest.err >&5
9617 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9618 (exit $ac_status); } >/dev/null && {
9619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9620 test ! -s conftest.err
9622 ac_header_preproc=yes
9624 echo "$as_me: failed program was
:" >&5
9625 sed 's/^/| /' conftest.$ac_ext >&5
9627 ac_header_preproc=no
9630 rm -f conftest.err conftest.$ac_ext
9631 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
9632 echo "${ECHO_T}$ac_header_preproc" >&6; }
9634 # So? What about this header?
9635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9637 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
9638 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
9639 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
9640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
9641 ac_header_preproc=yes
9644 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
9645 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
9646 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
9647 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
9648 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
9649 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
9650 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
9651 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
9652 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
9653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
9654 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
9655 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
9659 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
9660 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
9661 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
9662 echo $ECHO_N "(cached
) $ECHO_C" >&6
9664 eval "$as_ac_Header=\
$ac_header_preproc"
9666 ac_res=`eval echo '${'$as_ac_Header'}'`
9667 { echo "$as_me:$LINENO: result
: $ac_res" >&5
9668 echo "${ECHO_T}$ac_res" >&6; }
9671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9672 cat >>confdefs.h <<_ACEOF
9673 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
9681 # Check whether --enable-largefile was given.
9682 if test "${enable_largefile+set}" = set; then
9683 enableval=$enable_largefile;
9686 if test "$enable_largefile" != no; then
9688 { echo "$as_me:$LINENO: checking
for special C compiler options needed
for large files
" >&5
9689 echo $ECHO_N "checking
for special C compiler options needed
for large files...
$ECHO_C" >&6; }
9690 if test "${ac_cv_sys_largefile_CC+set}" = set; then
9691 echo $ECHO_N "(cached
) $ECHO_C" >&6
9693 ac_cv_sys_largefile_CC=no
9694 if test "$GCC" != yes; then
9697 # IRIX 6.2 and later do not support large files by default,
9698 # so use the C compiler's -n32 option if that helps.
9699 cat >conftest.$ac_ext <<_ACEOF
9702 cat confdefs.h >>conftest.$ac_ext
9703 cat >>conftest.$ac_ext <<_ACEOF
9704 /* end confdefs.h. */
9705 #include <sys/types.h>
9706 /* Check that off_t can represent 2**63 - 1 correctly.
9707 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9708 since some C++ compilers masquerading as C compilers
9709 incorrectly reject 9223372036854775807. */
9710 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9711 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9712 && LARGE_OFF_T % 2147483647 == 1)
9722 rm -f conftest.$ac_objext
9723 if { (ac_try="$ac_compile"
9725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9726 *) ac_try_echo=$ac_try;;
9728 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9729 (eval "$ac_compile") 2>conftest.er1
9731 grep -v '^ *+' conftest.er1 >conftest.err
9733 cat conftest.err >&5
9734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9735 (exit $ac_status); } && {
9736 test -z "$ac_c_werror_flag" ||
9737 test ! -s conftest.err
9738 } && test -s conftest.$ac_objext; then
9741 echo "$as_me: failed program was
:" >&5
9742 sed 's/^/| /' conftest.$ac_ext >&5
9747 rm -f core conftest.err conftest.$ac_objext
9749 rm -f conftest.$ac_objext
9750 if { (ac_try="$ac_compile"
9752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9753 *) ac_try_echo=$ac_try;;
9755 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9756 (eval "$ac_compile") 2>conftest.er1
9758 grep -v '^ *+' conftest.er1 >conftest.err
9760 cat conftest.err >&5
9761 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9762 (exit $ac_status); } && {
9763 test -z "$ac_c_werror_flag" ||
9764 test ! -s conftest.err
9765 } && test -s conftest.$ac_objext; then
9766 ac_cv_sys_largefile_CC=' -n32'; break
9768 echo "$as_me: failed program was
:" >&5
9769 sed 's/^/| /' conftest.$ac_ext >&5
9774 rm -f core conftest.err conftest.$ac_objext
9778 rm -f conftest.$ac_ext
9781 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_CC" >&5
9782 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6; }
9783 if test "$ac_cv_sys_largefile_CC" != no; then
9784 CC=$CC$ac_cv_sys_largefile_CC
9787 { echo "$as_me:$LINENO: checking
for _FILE_OFFSET_BITS value needed
for large files
" >&5
9788 echo $ECHO_N "checking
for _FILE_OFFSET_BITS value needed
for large files...
$ECHO_C" >&6; }
9789 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9790 echo $ECHO_N "(cached
) $ECHO_C" >&6
9793 cat >conftest.$ac_ext <<_ACEOF
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 #include <sys/types.h>
9800 /* Check that off_t can represent 2**63 - 1 correctly.
9801 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9802 since some C++ compilers masquerading as C compilers
9803 incorrectly reject 9223372036854775807. */
9804 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9805 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9806 && LARGE_OFF_T % 2147483647 == 1)
9816 rm -f conftest.$ac_objext
9817 if { (ac_try="$ac_compile"
9819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9820 *) ac_try_echo=$ac_try;;
9822 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_compile") 2>conftest.er1
9825 grep -v '^ *+' conftest.er1 >conftest.err
9827 cat conftest.err >&5
9828 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9829 (exit $ac_status); } && {
9830 test -z "$ac_c_werror_flag" ||
9831 test ! -s conftest.err
9832 } && test -s conftest.$ac_objext; then
9833 ac_cv_sys_file_offset_bits=no; break
9835 echo "$as_me: failed program was
:" >&5
9836 sed 's/^/| /' conftest.$ac_ext >&5
9841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9842 cat >conftest.$ac_ext <<_ACEOF
9845 cat confdefs.h >>conftest.$ac_ext
9846 cat >>conftest.$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9848 #define _FILE_OFFSET_BITS 64
9849 #include <sys/types.h>
9850 /* Check that off_t can represent 2**63 - 1 correctly.
9851 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9852 since some C++ compilers masquerading as C compilers
9853 incorrectly reject 9223372036854775807. */
9854 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9855 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9856 && LARGE_OFF_T % 2147483647 == 1)
9866 rm -f conftest.$ac_objext
9867 if { (ac_try="$ac_compile"
9869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9870 *) ac_try_echo=$ac_try;;
9872 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9873 (eval "$ac_compile") 2>conftest.er1
9875 grep -v '^ *+' conftest.er1 >conftest.err
9877 cat conftest.err >&5
9878 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9879 (exit $ac_status); } && {
9880 test -z "$ac_c_werror_flag" ||
9881 test ! -s conftest.err
9882 } && test -s conftest.$ac_objext; then
9883 ac_cv_sys_file_offset_bits=64; break
9885 echo "$as_me: failed program was
:" >&5
9886 sed 's/^/| /' conftest.$ac_ext >&5
9891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9892 ac_cv_sys_file_offset_bits=unknown
9896 { echo "$as_me:$LINENO: result
: $ac_cv_sys_file_offset_bits" >&5
9897 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
9898 case $ac_cv_sys_file_offset_bits in #(
9901 cat >>confdefs.h <<_ACEOF
9902 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9907 if test $ac_cv_sys_file_offset_bits = unknown; then
9908 { echo "$as_me:$LINENO: checking
for _LARGE_FILES value needed
for large files
" >&5
9909 echo $ECHO_N "checking
for _LARGE_FILES value needed
for large files...
$ECHO_C" >&6; }
9910 if test "${ac_cv_sys_large_files+set}" = set; then
9911 echo $ECHO_N "(cached
) $ECHO_C" >&6
9914 cat >conftest.$ac_ext <<_ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9920 #include <sys/types.h>
9921 /* Check that off_t can represent 2**63 - 1 correctly.
9922 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9923 since some C++ compilers masquerading as C compilers
9924 incorrectly reject 9223372036854775807. */
9925 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9926 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9927 && LARGE_OFF_T % 2147483647 == 1)
9937 rm -f conftest.$ac_objext
9938 if { (ac_try="$ac_compile"
9940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9941 *) ac_try_echo=$ac_try;;
9943 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9944 (eval "$ac_compile") 2>conftest.er1
9946 grep -v '^ *+' conftest.er1 >conftest.err
9948 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
9950 (exit $ac_status); } && {
9951 test -z "$ac_c_werror_flag" ||
9952 test ! -s conftest.err
9953 } && test -s conftest.$ac_objext; then
9954 ac_cv_sys_large_files=no; break
9956 echo "$as_me: failed program was
:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9963 cat >conftest.$ac_ext <<_ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9969 #define _LARGE_FILES 1
9970 #include <sys/types.h>
9971 /* Check that off_t can represent 2**63 - 1 correctly.
9972 We can't simply define LARGE_OFF_T to be 9223372036854775807,
9973 since some C++ compilers masquerading as C compilers
9974 incorrectly reject 9223372036854775807. */
9975 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
9976 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
9977 && LARGE_OFF_T % 2147483647 == 1)
9987 rm -f conftest.$ac_objext
9988 if { (ac_try="$ac_compile"
9990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9991 *) ac_try_echo=$ac_try;;
9993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
9994 (eval "$ac_compile") 2>conftest.er1
9996 grep -v '^ *+' conftest.er1 >conftest.err
9998 cat conftest.err >&5
9999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10000 (exit $ac_status); } && {
10001 test -z "$ac_c_werror_flag" ||
10002 test ! -s conftest.err
10003 } && test -s conftest.$ac_objext; then
10004 ac_cv_sys_large_files=1; break
10006 echo "$as_me: failed program was
:" >&5
10007 sed 's/^/| /' conftest.$ac_ext >&5
10012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10013 ac_cv_sys_large_files=unknown
10017 { echo "$as_me:$LINENO: result
: $ac_cv_sys_large_files" >&5
10018 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
10019 case $ac_cv_sys_large_files in #(
10022 cat >>confdefs.h <<_ACEOF
10023 #define _LARGE_FILES $ac_cv_sys_large_files
10032 # Checks for typedefs, structures, and compiler characteristics.
10033 { echo "$as_me:$LINENO: checking
for stdbool.h that conforms to C99
" >&5
10034 echo $ECHO_N "checking
for stdbool.h that conforms to C99...
$ECHO_C" >&6; }
10035 if test "${ac_cv_header_stdbool_h+set}" = set; then
10036 echo $ECHO_N "(cached
) $ECHO_C" >&6
10038 cat >conftest.$ac_ext <<_ACEOF
10041 cat confdefs.h >>conftest.$ac_ext
10042 cat >>conftest.$ac_ext <<_ACEOF
10043 /* end confdefs.h. */
10045 #include <stdbool.h>
10047 "error
: bool is not defined
"
10050 "error
: false is not defined
"
10053 "error
: false is not
0"
10056 "error
: true is not defined
"
10059 "error
: true is not
1"
10061 #ifndef __bool_true_false_are_defined
10062 "error
: __bool_true_false_are_defined is not defined
"
10065 struct s { _Bool s: 1; _Bool t; } s;
10067 char a[true == 1 ? 1 : -1];
10068 char b[false == 0 ? 1 : -1];
10069 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
10070 char d[(bool) 0.5 == true ? 1 : -1];
10072 char f[(_Bool) 0.0 == false ? 1 : -1];
10074 char h[sizeof (_Bool)];
10075 char i[sizeof s.t];
10076 enum { j = false, k = true, l = false * true, m = true * 256 };
10078 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
10079 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
10080 # if defined __xlc__ || defined __GNUC__
10081 /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
10082 reported by James Lemley on 2005-10-05; see
10083 http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
10084 This test is not quite right, since xlc is allowed to
10085 reject this program, as the initializer for xlcbug is
10086 not one of the forms that C requires support for.
10087 However, doing the test right would require a runtime
10088 test, and that would make cross-compilation harder.
10089 Let us hope that IBM fixes the xlc bug, and also adds
10090 support for this kind of constant expression. In the
10091 meantime, this test will reject xlc, which is OK, since
10092 our stdbool.h substitute should suffice. We also test
10093 this with GCC, where it should work, to detect more
10094 quickly whether someone messes up the test in the
10096 char digs[] = "0123456789";
10097 int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
10099 /* Catch a bug in an HP-UX C compiler. See
10100 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
10101 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
10112 /* Refer to every declared value, to avoid compiler optimizations. */
10113 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
10114 + !m + !n + !o + !p + !q + !pq);
10120 rm -f conftest.$ac_objext
10121 if { (ac_try="$ac_compile"
10122 case "(($ac_try" in
10123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10124 *) ac_try_echo=$ac_try;;
10126 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10127 (eval "$ac_compile") 2>conftest.er1
10129 grep -v '^ *+' conftest.er1 >conftest.err
10131 cat conftest.err >&5
10132 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10133 (exit $ac_status); } && {
10134 test -z "$ac_c_werror_flag" ||
10135 test ! -s conftest.err
10136 } && test -s conftest.$ac_objext; then
10137 ac_cv_header_stdbool_h=yes
10139 echo "$as_me: failed program was
:" >&5
10140 sed 's/^/| /' conftest.$ac_ext >&5
10142 ac_cv_header_stdbool_h=no
10145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10147 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdbool_h" >&5
10148 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6; }
10149 { echo "$as_me:$LINENO: checking
for _Bool
" >&5
10150 echo $ECHO_N "checking
for _Bool...
$ECHO_C" >&6; }
10151 if test "${ac_cv_type__Bool+set}" = set; then
10152 echo $ECHO_N "(cached
) $ECHO_C" >&6
10154 cat >conftest.$ac_ext <<_ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 $ac_includes_default
10161 typedef _Bool ac__type_new_;
10165 if ((ac__type_new_ *) 0)
10167 if (sizeof (ac__type_new_))
10173 rm -f conftest.$ac_objext
10174 if { (ac_try="$ac_compile"
10175 case "(($ac_try" in
10176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10177 *) ac_try_echo=$ac_try;;
10179 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10180 (eval "$ac_compile") 2>conftest.er1
10182 grep -v '^ *+' conftest.er1 >conftest.err
10184 cat conftest.err >&5
10185 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10186 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err
10189 } && test -s conftest.$ac_objext; then
10190 ac_cv_type__Bool=yes
10192 echo "$as_me: failed program was
:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_cv_type__Bool=no
10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10200 { echo "$as_me:$LINENO: result
: $ac_cv_type__Bool" >&5
10201 echo "${ECHO_T}$ac_cv_type__Bool" >&6; }
10202 if test $ac_cv_type__Bool = yes; then
10204 cat >>confdefs.h <<_ACEOF
10205 #define HAVE__BOOL 1
10211 if test $ac_cv_header_stdbool_h = yes; then
10213 cat >>confdefs.h <<\_ACEOF
10214 #define HAVE_STDBOOL_H 1
10219 { echo "$as_me:$LINENO: checking
for an ANSI C-conforming const
" >&5
10220 echo $ECHO_N "checking
for an ANSI C-conforming const...
$ECHO_C" >&6; }
10221 if test "${ac_cv_c_const+set}" = set; then
10222 echo $ECHO_N "(cached
) $ECHO_C" >&6
10224 cat >conftest.$ac_ext <<_ACEOF
10227 cat confdefs.h >>conftest.$ac_ext
10228 cat >>conftest.$ac_ext <<_ACEOF
10229 /* end confdefs.h. */
10234 /* FIXME: Include the comments suggested by Paul. */
10235 #ifndef __cplusplus
10236 /* Ultrix mips cc rejects this. */
10237 typedef int charset[2];
10239 /* SunOS 4.1.1 cc rejects this. */
10240 char const *const *pcpcc;
10242 /* NEC SVR4.0.2 mips cc rejects this. */
10243 struct point {int x, y;};
10244 static struct point const zero = {0,0};
10245 /* AIX XL C 1.02.0.0 rejects this.
10246 It does not let you subtract one const X* pointer from another in
10247 an arm of an if-expression whose if-part is not a constant
10249 const char *g = "string
";
10250 pcpcc = &g + (g ? g-g : 0);
10251 /* HPUX 7.0 cc rejects these. */
10253 ppc = (char**) pcpcc;
10254 pcpcc = (char const *const *) ppc;
10255 { /* SCO 3.2v4 cc rejects this. */
10257 char const *s = 0 ? (char *) 0 : (char const *) 0;
10262 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10263 int x[] = {25, 17};
10264 const int *foo = &x[0];
10267 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10268 typedef const int *iptr;
10272 { /* AIX XL C 1.02.0.0 rejects this saying
10273 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10274 struct s { int j; const int *ap[3]; };
10275 struct s *b; b->j = 5;
10277 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10278 const int foo = 10;
10279 if (!foo) return 0;
10281 return !cs[0] && !zero.x;
10288 rm -f conftest.$ac_objext
10289 if { (ac_try="$ac_compile"
10290 case "(($ac_try" in
10291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10292 *) ac_try_echo=$ac_try;;
10294 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10295 (eval "$ac_compile") 2>conftest.er1
10297 grep -v '^ *+' conftest.er1 >conftest.err
10299 cat conftest.err >&5
10300 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10301 (exit $ac_status); } && {
10302 test -z "$ac_c_werror_flag" ||
10303 test ! -s conftest.err
10304 } && test -s conftest.$ac_objext; then
10307 echo "$as_me: failed program was
:" >&5
10308 sed 's/^/| /' conftest.$ac_ext >&5
10313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10315 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
10316 echo "${ECHO_T}$ac_cv_c_const" >&6; }
10317 if test $ac_cv_c_const = no; then
10319 cat >>confdefs.h <<\_ACEOF
10325 { echo "$as_me:$LINENO: checking
for uid_t
in sys
/types.h
" >&5
10326 echo $ECHO_N "checking
for uid_t
in sys
/types.h...
$ECHO_C" >&6; }
10327 if test "${ac_cv_type_uid_t+set}" = set; then
10328 echo $ECHO_N "(cached
) $ECHO_C" >&6
10330 cat >conftest.$ac_ext <<_ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10336 #include <sys/types.h>
10339 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
10340 $EGREP "uid_t
" >/dev/null 2>&1; then
10341 ac_cv_type_uid_t=yes
10343 ac_cv_type_uid_t=no
10348 { echo "$as_me:$LINENO: result
: $ac_cv_type_uid_t" >&5
10349 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
10350 if test $ac_cv_type_uid_t = no; then
10352 cat >>confdefs.h <<\_ACEOF
10357 cat >>confdefs.h <<\_ACEOF
10363 { echo "$as_me:$LINENO: checking
for inline
" >&5
10364 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
10365 if test "${ac_cv_c_inline+set}" = set; then
10366 echo $ECHO_N "(cached
) $ECHO_C" >&6
10369 for ac_kw in inline __inline__ __inline; do
10370 cat >conftest.$ac_ext <<_ACEOF
10373 cat confdefs.h >>conftest.$ac_ext
10374 cat >>conftest.$ac_ext <<_ACEOF
10375 /* end confdefs.h. */
10376 #ifndef __cplusplus
10378 static $ac_kw foo_t static_foo () {return 0; }
10379 $ac_kw foo_t foo () {return 0; }
10383 rm -f conftest.$ac_objext
10384 if { (ac_try="$ac_compile"
10385 case "(($ac_try" in
10386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10387 *) ac_try_echo=$ac_try;;
10389 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10390 (eval "$ac_compile") 2>conftest.er1
10392 grep -v '^ *+' conftest.er1 >conftest.err
10394 cat conftest.err >&5
10395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10396 (exit $ac_status); } && {
10397 test -z "$ac_c_werror_flag" ||
10398 test ! -s conftest.err
10399 } && test -s conftest.$ac_objext; then
10400 ac_cv_c_inline=$ac_kw
10402 echo "$as_me: failed program was
:" >&5
10403 sed 's/^/| /' conftest.$ac_ext >&5
10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10409 test "$ac_cv_c_inline" != no && break
10413 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
10414 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
10417 case $ac_cv_c_inline in
10420 case $ac_cv_c_inline in
10422 *) ac_val=$ac_cv_c_inline;;
10424 cat >>confdefs.h <<_ACEOF
10425 #ifndef __cplusplus
10426 #define inline $ac_val
10432 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
10433 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
10434 if test "${ac_cv_type_mode_t+set}" = set; then
10435 echo $ECHO_N "(cached
) $ECHO_C" >&6
10437 cat >conftest.$ac_ext <<_ACEOF
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h. */
10443 $ac_includes_default
10444 typedef mode_t ac__type_new_;
10448 if ((ac__type_new_ *) 0)
10450 if (sizeof (ac__type_new_))
10456 rm -f conftest.$ac_objext
10457 if { (ac_try="$ac_compile"
10458 case "(($ac_try" in
10459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10460 *) ac_try_echo=$ac_try;;
10462 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10463 (eval "$ac_compile") 2>conftest.er1
10465 grep -v '^ *+' conftest.er1 >conftest.err
10467 cat conftest.err >&5
10468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10469 (exit $ac_status); } && {
10470 test -z "$ac_c_werror_flag" ||
10471 test ! -s conftest.err
10472 } && test -s conftest.$ac_objext; then
10473 ac_cv_type_mode_t=yes
10475 echo "$as_me: failed program was
:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10478 ac_cv_type_mode_t=no
10481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10483 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
10484 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
10485 if test $ac_cv_type_mode_t = yes; then
10489 cat >>confdefs.h <<_ACEOF
10495 { echo "$as_me:$LINENO: checking
for off_t
" >&5
10496 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
10497 if test "${ac_cv_type_off_t+set}" = set; then
10498 echo $ECHO_N "(cached
) $ECHO_C" >&6
10500 cat >conftest.$ac_ext <<_ACEOF
10503 cat confdefs.h >>conftest.$ac_ext
10504 cat >>conftest.$ac_ext <<_ACEOF
10505 /* end confdefs.h. */
10506 $ac_includes_default
10507 typedef off_t ac__type_new_;
10511 if ((ac__type_new_ *) 0)
10513 if (sizeof (ac__type_new_))
10519 rm -f conftest.$ac_objext
10520 if { (ac_try="$ac_compile"
10521 case "(($ac_try" in
10522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10523 *) ac_try_echo=$ac_try;;
10525 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10526 (eval "$ac_compile") 2>conftest.er1
10528 grep -v '^ *+' conftest.er1 >conftest.err
10530 cat conftest.err >&5
10531 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10532 (exit $ac_status); } && {
10533 test -z "$ac_c_werror_flag" ||
10534 test ! -s conftest.err
10535 } && test -s conftest.$ac_objext; then
10536 ac_cv_type_off_t=yes
10538 echo "$as_me: failed program was
:" >&5
10539 sed 's/^/| /' conftest.$ac_ext >&5
10541 ac_cv_type_off_t=no
10544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10546 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
10547 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
10548 if test $ac_cv_type_off_t = yes; then
10552 cat >>confdefs.h <<_ACEOF
10553 #define off_t long int
10558 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
10559 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
10560 if test "${ac_cv_type_pid_t+set}" = set; then
10561 echo $ECHO_N "(cached
) $ECHO_C" >&6
10563 cat >conftest.$ac_ext <<_ACEOF
10566 cat confdefs.h >>conftest.$ac_ext
10567 cat >>conftest.$ac_ext <<_ACEOF
10568 /* end confdefs.h. */
10569 $ac_includes_default
10570 typedef pid_t ac__type_new_;
10574 if ((ac__type_new_ *) 0)
10576 if (sizeof (ac__type_new_))
10582 rm -f conftest.$ac_objext
10583 if { (ac_try="$ac_compile"
10584 case "(($ac_try" in
10585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10586 *) ac_try_echo=$ac_try;;
10588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10589 (eval "$ac_compile") 2>conftest.er1
10591 grep -v '^ *+' conftest.er1 >conftest.err
10593 cat conftest.err >&5
10594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10595 (exit $ac_status); } && {
10596 test -z "$ac_c_werror_flag" ||
10597 test ! -s conftest.err
10598 } && test -s conftest.$ac_objext; then
10599 ac_cv_type_pid_t=yes
10601 echo "$as_me: failed program was
:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10604 ac_cv_type_pid_t=no
10607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10609 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
10610 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
10611 if test $ac_cv_type_pid_t = yes; then
10615 cat >>confdefs.h <<_ACEOF
10621 { echo "$as_me:$LINENO: checking
for size_t
" >&5
10622 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
10623 if test "${ac_cv_type_size_t+set}" = set; then
10624 echo $ECHO_N "(cached
) $ECHO_C" >&6
10626 cat >conftest.$ac_ext <<_ACEOF
10629 cat confdefs.h >>conftest.$ac_ext
10630 cat >>conftest.$ac_ext <<_ACEOF
10631 /* end confdefs.h. */
10632 $ac_includes_default
10633 typedef size_t ac__type_new_;
10637 if ((ac__type_new_ *) 0)
10639 if (sizeof (ac__type_new_))
10645 rm -f conftest.$ac_objext
10646 if { (ac_try="$ac_compile"
10647 case "(($ac_try" in
10648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10649 *) ac_try_echo=$ac_try;;
10651 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10652 (eval "$ac_compile") 2>conftest.er1
10654 grep -v '^ *+' conftest.er1 >conftest.err
10656 cat conftest.err >&5
10657 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10658 (exit $ac_status); } && {
10659 test -z "$ac_c_werror_flag" ||
10660 test ! -s conftest.err
10661 } && test -s conftest.$ac_objext; then
10662 ac_cv_type_size_t=yes
10664 echo "$as_me: failed program was
:" >&5
10665 sed 's/^/| /' conftest.$ac_ext >&5
10667 ac_cv_type_size_t=no
10670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10672 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
10673 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10674 if test $ac_cv_type_size_t = yes; then
10678 cat >>confdefs.h <<_ACEOF
10679 #define size_t unsigned int
10684 { echo "$as_me:$LINENO: checking
for struct stat.st_blksize
" >&5
10685 echo $ECHO_N "checking
for struct stat.st_blksize...
$ECHO_C" >&6; }
10686 if test "${ac_cv_member_struct_stat_st_blksize+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. */
10695 $ac_includes_default
10699 static struct stat ac_aggr;
10700 if (ac_aggr.st_blksize)
10706 rm -f conftest.$ac_objext
10707 if { (ac_try="$ac_compile"
10708 case "(($ac_try" in
10709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10710 *) ac_try_echo=$ac_try;;
10712 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10713 (eval "$ac_compile") 2>conftest.er1
10715 grep -v '^ *+' conftest.er1 >conftest.err
10717 cat conftest.err >&5
10718 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10719 (exit $ac_status); } && {
10720 test -z "$ac_c_werror_flag" ||
10721 test ! -s conftest.err
10722 } && test -s conftest.$ac_objext; then
10723 ac_cv_member_struct_stat_st_blksize=yes
10725 echo "$as_me: failed program was
:" >&5
10726 sed 's/^/| /' conftest.$ac_ext >&5
10728 cat >conftest.$ac_ext <<_ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734 $ac_includes_default
10738 static struct stat ac_aggr;
10739 if (sizeof ac_aggr.st_blksize)
10745 rm -f conftest.$ac_objext
10746 if { (ac_try="$ac_compile"
10747 case "(($ac_try" in
10748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10749 *) ac_try_echo=$ac_try;;
10751 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10752 (eval "$ac_compile") 2>conftest.er1
10754 grep -v '^ *+' conftest.er1 >conftest.err
10756 cat conftest.err >&5
10757 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10758 (exit $ac_status); } && {
10759 test -z "$ac_c_werror_flag" ||
10760 test ! -s conftest.err
10761 } && test -s conftest.$ac_objext; then
10762 ac_cv_member_struct_stat_st_blksize=yes
10764 echo "$as_me: failed program was
:" >&5
10765 sed 's/^/| /' conftest.$ac_ext >&5
10767 ac_cv_member_struct_stat_st_blksize=no
10770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10775 { echo "$as_me:$LINENO: result
: $ac_cv_member_struct_stat_st_blksize" >&5
10776 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
10777 if test $ac_cv_member_struct_stat_st_blksize = yes; then
10779 cat >>confdefs.h <<_ACEOF
10780 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
10786 { echo "$as_me:$LINENO: checking whether
time.h and sys
/time.h may both be included
" >&5
10787 echo $ECHO_N "checking whether
time.h and sys
/time.h may both be included...
$ECHO_C" >&6; }
10788 if test "${ac_cv_header_time+set}" = set; then
10789 echo $ECHO_N "(cached
) $ECHO_C" >&6
10791 cat >conftest.$ac_ext <<_ACEOF
10794 cat confdefs.h >>conftest.$ac_ext
10795 cat >>conftest.$ac_ext <<_ACEOF
10796 /* end confdefs.h. */
10797 #include <sys/types.h>
10798 #include <sys/time.h>
10804 if ((struct tm *) 0)
10810 rm -f conftest.$ac_objext
10811 if { (ac_try="$ac_compile"
10812 case "(($ac_try" in
10813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10814 *) ac_try_echo=$ac_try;;
10816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10817 (eval "$ac_compile") 2>conftest.er1
10819 grep -v '^ *+' conftest.er1 >conftest.err
10821 cat conftest.err >&5
10822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10823 (exit $ac_status); } && {
10824 test -z "$ac_c_werror_flag" ||
10825 test ! -s conftest.err
10826 } && test -s conftest.$ac_objext; then
10827 ac_cv_header_time=yes
10829 echo "$as_me: failed program was
:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10832 ac_cv_header_time=no
10835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10837 { echo "$as_me:$LINENO: result
: $ac_cv_header_time" >&5
10838 echo "${ECHO_T}$ac_cv_header_time" >&6; }
10839 if test $ac_cv_header_time = yes; then
10841 cat >>confdefs.h <<\_ACEOF
10842 #define TIME_WITH_SYS_TIME 1
10847 { echo "$as_me:$LINENO: checking whether struct tm is
in sys
/time.h or
time.h
" >&5
10848 echo $ECHO_N "checking whether struct tm is
in sys
/time.h or
time.h...
$ECHO_C" >&6; }
10849 if test "${ac_cv_struct_tm+set}" = set; then
10850 echo $ECHO_N "(cached
) $ECHO_C" >&6
10852 cat >conftest.$ac_ext <<_ACEOF
10855 cat confdefs.h >>conftest.$ac_ext
10856 cat >>conftest.$ac_ext <<_ACEOF
10857 /* end confdefs.h. */
10858 #include <sys/types.h>
10865 int *p = &tm.tm_sec;
10871 rm -f conftest.$ac_objext
10872 if { (ac_try="$ac_compile"
10873 case "(($ac_try" in
10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10875 *) ac_try_echo=$ac_try;;
10877 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10878 (eval "$ac_compile") 2>conftest.er1
10880 grep -v '^ *+' conftest.er1 >conftest.err
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
10884 (exit $ac_status); } && {
10885 test -z "$ac_c_werror_flag" ||
10886 test ! -s conftest.err
10887 } && test -s conftest.$ac_objext; then
10888 ac_cv_struct_tm=time.h
10890 echo "$as_me: failed program was
:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_cv_struct_tm=sys/time.h
10896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10898 { echo "$as_me:$LINENO: result
: $ac_cv_struct_tm" >&5
10899 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
10900 if test $ac_cv_struct_tm = sys/time.h; then
10902 cat >>confdefs.h <<\_ACEOF
10903 #define TM_IN_SYS_TIME 1
10908 { echo "$as_me:$LINENO: checking
for working volatile
" >&5
10909 echo $ECHO_N "checking
for working volatile...
$ECHO_C" >&6; }
10910 if test "${ac_cv_c_volatile+set}" = set; then
10911 echo $ECHO_N "(cached
) $ECHO_C" >&6
10913 cat >conftest.$ac_ext <<_ACEOF
10916 cat confdefs.h >>conftest.$ac_ext
10917 cat >>conftest.$ac_ext <<_ACEOF
10918 /* end confdefs.h. */
10925 int * volatile y = (int *) 0;
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 test -z "$ac_c_werror_flag" ||
10946 test ! -s conftest.err
10947 } && test -s conftest.$ac_objext; then
10948 ac_cv_c_volatile=yes
10950 echo "$as_me: failed program was
:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10953 ac_cv_c_volatile=no
10956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10958 { echo "$as_me:$LINENO: result
: $ac_cv_c_volatile" >&5
10959 echo "${ECHO_T}$ac_cv_c_volatile" >&6; }
10960 if test $ac_cv_c_volatile = no; then
10962 cat >>confdefs.h <<\_ACEOF
10968 { echo "$as_me:$LINENO: checking
for ptrdiff_t
" >&5
10969 echo $ECHO_N "checking
for ptrdiff_t...
$ECHO_C" >&6; }
10970 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
10971 echo $ECHO_N "(cached
) $ECHO_C" >&6
10973 cat >conftest.$ac_ext <<_ACEOF
10976 cat confdefs.h >>conftest.$ac_ext
10977 cat >>conftest.$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10979 $ac_includes_default
10980 typedef ptrdiff_t ac__type_new_;
10984 if ((ac__type_new_ *) 0)
10986 if (sizeof (ac__type_new_))
10992 rm -f conftest.$ac_objext
10993 if { (ac_try="$ac_compile"
10994 case "(($ac_try" in
10995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10996 *) ac_try_echo=$ac_try;;
10998 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
10999 (eval "$ac_compile") 2>conftest.er1
11001 grep -v '^ *+' conftest.er1 >conftest.err
11003 cat conftest.err >&5
11004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11005 (exit $ac_status); } && {
11006 test -z "$ac_c_werror_flag" ||
11007 test ! -s conftest.err
11008 } && test -s conftest.$ac_objext; then
11009 ac_cv_type_ptrdiff_t=yes
11011 echo "$as_me: failed program was
:" >&5
11012 sed 's/^/| /' conftest.$ac_ext >&5
11014 ac_cv_type_ptrdiff_t=no
11017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11019 { echo "$as_me:$LINENO: result
: $ac_cv_type_ptrdiff_t" >&5
11020 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
11021 if test $ac_cv_type_ptrdiff_t = yes; then
11023 cat >>confdefs.h <<_ACEOF
11024 #define HAVE_PTRDIFF_T 1
11031 # Checks for library functions.
11033 for ac_header in unistd.h
11035 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11036 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11037 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11038 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11039 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11040 echo $ECHO_N "(cached
) $ECHO_C" >&6
11042 ac_res=`eval echo '${'$as_ac_Header'}'`
11043 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11044 echo "${ECHO_T}$ac_res" >&6; }
11046 # Is the header compilable?
11047 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11048 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11049 cat >conftest.$ac_ext <<_ACEOF
11052 cat confdefs.h >>conftest.$ac_ext
11053 cat >>conftest.$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 $ac_includes_default
11056 #include <$ac_header>
11058 rm -f conftest.$ac_objext
11059 if { (ac_try="$ac_compile"
11060 case "(($ac_try" in
11061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11062 *) ac_try_echo=$ac_try;;
11064 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11065 (eval "$ac_compile") 2>conftest.er1
11067 grep -v '^ *+' conftest.er1 >conftest.err
11069 cat conftest.err >&5
11070 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11071 (exit $ac_status); } && {
11072 test -z "$ac_c_werror_flag" ||
11073 test ! -s conftest.err
11074 } && test -s conftest.$ac_objext; then
11075 ac_header_compiler=yes
11077 echo "$as_me: failed program was
:" >&5
11078 sed 's/^/| /' conftest.$ac_ext >&5
11080 ac_header_compiler=no
11083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11084 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11085 echo "${ECHO_T}$ac_header_compiler" >&6; }
11087 # Is the header present?
11088 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11089 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11090 cat >conftest.$ac_ext <<_ACEOF
11093 cat confdefs.h >>conftest.$ac_ext
11094 cat >>conftest.$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11096 #include <$ac_header>
11098 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11099 case "(($ac_try" in
11100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11106 grep -v '^ *+' conftest.er1 >conftest.err
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11110 (exit $ac_status); } >/dev/null && {
11111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11112 test ! -s conftest.err
11114 ac_header_preproc=yes
11116 echo "$as_me: failed program was
:" >&5
11117 sed 's/^/| /' conftest.$ac_ext >&5
11119 ac_header_preproc=no
11122 rm -f conftest.err conftest.$ac_ext
11123 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11124 echo "${ECHO_T}$ac_header_preproc" >&6; }
11126 # So? What about this header?
11127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11129 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11130 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11131 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11133 ac_header_preproc=yes
11136 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11137 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11138 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11139 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11140 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11141 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11142 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11143 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11144 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11146 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11147 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11151 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11152 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11153 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11154 echo $ECHO_N "(cached
) $ECHO_C" >&6
11156 eval "$as_ac_Header=\
$ac_header_preproc"
11158 ac_res=`eval echo '${'$as_ac_Header'}'`
11159 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11160 echo "${ECHO_T}$ac_res" >&6; }
11163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11164 cat >>confdefs.h <<_ACEOF
11165 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11172 { echo "$as_me:$LINENO: checking
for working chown
" >&5
11173 echo $ECHO_N "checking
for working chown...
$ECHO_C" >&6; }
11174 if test "${ac_cv_func_chown_works+set}" = set; then
11175 echo $ECHO_N "(cached
) $ECHO_C" >&6
11177 if test "$cross_compiling" = yes; then
11178 ac_cv_func_chown_works=no
11180 cat >conftest.$ac_ext <<_ACEOF
11183 cat confdefs.h >>conftest.$ac_ext
11184 cat >>conftest.$ac_ext <<_ACEOF
11185 /* end confdefs.h. */
11186 $ac_includes_default
11192 char *f = "conftest.chown
";
11193 struct stat before, after;
11195 if (creat (f, 0600) < 0)
11197 if (stat (f, &before) < 0)
11199 if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
11201 if (stat (f, &after) < 0)
11203 return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
11209 rm -f conftest$ac_exeext
11210 if { (ac_try="$ac_link"
11211 case "(($ac_try" in
11212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11213 *) ac_try_echo=$ac_try;;
11215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11216 (eval "$ac_link") 2>&5
11218 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11220 { (case "(($ac_try" in
11221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11224 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_try") 2>&5
11227 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11228 (exit $ac_status); }; }; then
11229 ac_cv_func_chown_works=yes
11231 echo "$as_me: program exited with status
$ac_status" >&5
11232 echo "$as_me: failed program was
:" >&5
11233 sed 's/^/| /' conftest.$ac_ext >&5
11235 ( exit $ac_status )
11236 ac_cv_func_chown_works=no
11238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11242 rm -f conftest.chown
11245 { echo "$as_me:$LINENO: result
: $ac_cv_func_chown_works" >&5
11246 echo "${ECHO_T}$ac_cv_func_chown_works" >&6; }
11247 if test $ac_cv_func_chown_works = yes; then
11249 cat >>confdefs.h <<\_ACEOF
11250 #define HAVE_CHOWN 1
11255 { echo "$as_me:$LINENO: checking whether closedir returns void
" >&5
11256 echo $ECHO_N "checking whether closedir returns void...
$ECHO_C" >&6; }
11257 if test "${ac_cv_func_closedir_void+set}" = set; then
11258 echo $ECHO_N "(cached
) $ECHO_C" >&6
11260 if test "$cross_compiling" = yes; then
11261 ac_cv_func_closedir_void=yes
11263 cat >conftest.$ac_ext <<_ACEOF
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 $ac_includes_default
11270 #include <$ac_header_dirent>
11271 #ifndef __cplusplus
11278 return closedir (opendir (".
")) != 0;
11283 rm -f conftest$ac_exeext
11284 if { (ac_try="$ac_link"
11285 case "(($ac_try" in
11286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11287 *) ac_try_echo=$ac_try;;
11289 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11290 (eval "$ac_link") 2>&5
11292 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11294 { (case "(($ac_try" in
11295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11296 *) ac_try_echo=$ac_try;;
11298 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11299 (eval "$ac_try") 2>&5
11301 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11302 (exit $ac_status); }; }; then
11303 ac_cv_func_closedir_void=no
11305 echo "$as_me: program exited with status
$ac_status" >&5
11306 echo "$as_me: failed program was
:" >&5
11307 sed 's/^/| /' conftest.$ac_ext >&5
11309 ( exit $ac_status )
11310 ac_cv_func_closedir_void=yes
11312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11317 { echo "$as_me:$LINENO: result
: $ac_cv_func_closedir_void" >&5
11318 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6; }
11319 if test $ac_cv_func_closedir_void = yes; then
11321 cat >>confdefs.h <<\_ACEOF
11322 #define CLOSEDIR_VOID 1
11327 { echo "$as_me:$LINENO: checking
for error_at_line
" >&5
11328 echo $ECHO_N "checking
for error_at_line...
$ECHO_C" >&6; }
11329 if test "${ac_cv_lib_error_at_line+set}" = set; then
11330 echo $ECHO_N "(cached
) $ECHO_C" >&6
11332 cat >conftest.$ac_ext <<_ACEOF
11335 cat confdefs.h >>conftest.$ac_ext
11336 cat >>conftest.$ac_ext <<_ACEOF
11337 /* end confdefs.h. */
11342 error_at_line (0, 0, "", 0, "an error occurred
");
11347 rm -f conftest.$ac_objext conftest$ac_exeext
11348 if { (ac_try="$ac_link"
11349 case "(($ac_try" in
11350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11351 *) ac_try_echo=$ac_try;;
11353 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11354 (eval "$ac_link") 2>conftest.er1
11356 grep -v '^ *+' conftest.er1 >conftest.err
11358 cat conftest.err >&5
11359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11360 (exit $ac_status); } && {
11361 test -z "$ac_c_werror_flag" ||
11362 test ! -s conftest.err
11363 } && test -s conftest$ac_exeext &&
11364 $as_test_x conftest$ac_exeext; then
11365 ac_cv_lib_error_at_line=yes
11367 echo "$as_me: failed program was
:" >&5
11368 sed 's/^/| /' conftest.$ac_ext >&5
11370 ac_cv_lib_error_at_line=no
11373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11374 conftest$ac_exeext conftest.$ac_ext
11376 { echo "$as_me:$LINENO: result
: $ac_cv_lib_error_at_line" >&5
11377 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6; }
11378 if test $ac_cv_lib_error_at_line = no; then
11379 case " $LIBOBJS " in
11380 *" error.
$ac_objext "* ) ;;
11381 *) LIBOBJS="$LIBOBJS error.
$ac_objext"
11388 for ac_header in vfork.h
11390 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
11391 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11392 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11393 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11394 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11395 echo $ECHO_N "(cached
) $ECHO_C" >&6
11397 ac_res=`eval echo '${'$as_ac_Header'}'`
11398 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11399 echo "${ECHO_T}$ac_res" >&6; }
11401 # Is the header compilable?
11402 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
11403 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
11404 cat >conftest.$ac_ext <<_ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11410 $ac_includes_default
11411 #include <$ac_header>
11413 rm -f conftest.$ac_objext
11414 if { (ac_try="$ac_compile"
11415 case "(($ac_try" in
11416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11417 *) ac_try_echo=$ac_try;;
11419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11420 (eval "$ac_compile") 2>conftest.er1
11422 grep -v '^ *+' conftest.er1 >conftest.err
11424 cat conftest.err >&5
11425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11426 (exit $ac_status); } && {
11427 test -z "$ac_c_werror_flag" ||
11428 test ! -s conftest.err
11429 } && test -s conftest.$ac_objext; then
11430 ac_header_compiler=yes
11432 echo "$as_me: failed program was
:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11435 ac_header_compiler=no
11438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11439 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
11440 echo "${ECHO_T}$ac_header_compiler" >&6; }
11442 # Is the header present?
11443 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
11444 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
11445 cat >conftest.$ac_ext <<_ACEOF
11448 cat confdefs.h >>conftest.$ac_ext
11449 cat >>conftest.$ac_ext <<_ACEOF
11450 /* end confdefs.h. */
11451 #include <$ac_header>
11453 if { (ac_try="$ac_cpp conftest.
$ac_ext"
11454 case "(($ac_try" in
11455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11456 *) ac_try_echo=$ac_try;;
11458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11459 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
11461 grep -v '^ *+' conftest.er1 >conftest.err
11463 cat conftest.err >&5
11464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11465 (exit $ac_status); } >/dev/null && {
11466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11467 test ! -s conftest.err
11469 ac_header_preproc=yes
11471 echo "$as_me: failed program was
:" >&5
11472 sed 's/^/| /' conftest.$ac_ext >&5
11474 ac_header_preproc=no
11477 rm -f conftest.err conftest.$ac_ext
11478 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
11479 echo "${ECHO_T}$ac_header_preproc" >&6; }
11481 # So? What about this header?
11482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11484 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
11485 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
11486 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
11487 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
11488 ac_header_preproc=yes
11491 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
11492 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
11493 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
11494 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
11495 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
11496 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
11497 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
11498 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
11499 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
11500 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
11501 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
11502 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
11506 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
11507 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
11508 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
11509 echo $ECHO_N "(cached
) $ECHO_C" >&6
11511 eval "$as_ac_Header=\
$ac_header_preproc"
11513 ac_res=`eval echo '${'$as_ac_Header'}'`
11514 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11515 echo "${ECHO_T}$ac_res" >&6; }
11518 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11519 cat >>confdefs.h <<_ACEOF
11520 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
11529 for ac_func in fork vfork
11531 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
11532 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
11533 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
11534 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
11535 echo $ECHO_N "(cached
) $ECHO_C" >&6
11537 cat >conftest.$ac_ext <<_ACEOF
11540 cat confdefs.h >>conftest.$ac_ext
11541 cat >>conftest.$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11545 #define $ac_func innocuous_$ac_func
11547 /* System header to define __stub macros and hopefully few prototypes,
11548 which can conflict with char $ac_func (); below.
11549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11550 <limits.h> exists even on freestanding compilers. */
11553 # include <limits.h>
11555 # include <assert.h>
11560 /* Override any GCC internal prototype to avoid an error.
11561 Use char because int might match the return type of a GCC
11562 builtin and then its argument prototype would still apply. */
11567 /* The GNU C library defines this for functions which it implements
11568 to always fail with ENOSYS. Some functions are actually named
11569 something starting with __ and the normal name is an alias. */
11570 #if defined __stub_$ac_func || defined __stub___$ac_func
11577 return $ac_func ();
11582 rm -f conftest.$ac_objext conftest$ac_exeext
11583 if { (ac_try="$ac_link"
11584 case "(($ac_try" in
11585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11586 *) ac_try_echo=$ac_try;;
11588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11589 (eval "$ac_link") 2>conftest.er1
11591 grep -v '^ *+' conftest.er1 >conftest.err
11593 cat conftest.err >&5
11594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11595 (exit $ac_status); } && {
11596 test -z "$ac_c_werror_flag" ||
11597 test ! -s conftest.err
11598 } && test -s conftest$ac_exeext &&
11599 $as_test_x conftest$ac_exeext; then
11600 eval "$as_ac_var=yes"
11602 echo "$as_me: failed program was
:" >&5
11603 sed 's/^/| /' conftest.$ac_ext >&5
11605 eval "$as_ac_var=no
"
11608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11609 conftest$ac_exeext conftest.$ac_ext
11611 ac_res=`eval echo '${'$as_ac_var'}'`
11612 { echo "$as_me:$LINENO: result
: $ac_res" >&5
11613 echo "${ECHO_T}$ac_res" >&6; }
11614 if test `eval echo '${'$as_ac_var'}'` = yes; then
11615 cat >>confdefs.h <<_ACEOF
11616 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
11622 if test "x
$ac_cv_func_fork" = xyes; then
11623 { echo "$as_me:$LINENO: checking
for working fork
" >&5
11624 echo $ECHO_N "checking
for working fork...
$ECHO_C" >&6; }
11625 if test "${ac_cv_func_fork_works+set}" = set; then
11626 echo $ECHO_N "(cached
) $ECHO_C" >&6
11628 if test "$cross_compiling" = yes; then
11629 ac_cv_func_fork_works=cross
11631 cat >conftest.$ac_ext <<_ACEOF
11634 cat confdefs.h >>conftest.$ac_ext
11635 cat >>conftest.$ac_ext <<_ACEOF
11636 /* end confdefs.h. */
11637 $ac_includes_default
11642 /* By Ruediger Kuhlmann. */
11643 return fork () < 0;
11649 rm -f conftest$ac_exeext
11650 if { (ac_try="$ac_link"
11651 case "(($ac_try" in
11652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11653 *) ac_try_echo=$ac_try;;
11655 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11656 (eval "$ac_link") 2>&5
11658 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11659 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11660 { (case "(($ac_try" in
11661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11662 *) ac_try_echo=$ac_try;;
11664 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11665 (eval "$ac_try") 2>&5
11667 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_cv_func_fork_works=yes
11671 echo "$as_me: program exited with status
$ac_status" >&5
11672 echo "$as_me: failed program was
:" >&5
11673 sed 's/^/| /' conftest.$ac_ext >&5
11675 ( exit $ac_status )
11676 ac_cv_func_fork_works=no
11678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11683 { echo "$as_me:$LINENO: result
: $ac_cv_func_fork_works" >&5
11684 echo "${ECHO_T}$ac_cv_func_fork_works" >&6; }
11687 ac_cv_func_fork_works=$ac_cv_func_fork
11689 if test "x
$ac_cv_func_fork_works" = xcross; then
11691 *-*-amigaos* | *-*-msdosdjgpp* | *-*-uclinux* | *-*-linux-uclibc* )
11692 # Override, as these systems have only a dummy fork() stub
11693 ac_cv_func_fork_works=no
11696 ac_cv_func_fork_works=yes
11699 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&5
11700 echo "$as_me: WARNING
: result
$ac_cv_func_fork_works guessed because of cross compilation
" >&2;}
11702 ac_cv_func_vfork_works=$ac_cv_func_vfork
11703 if test "x
$ac_cv_func_vfork" = xyes; then
11704 { echo "$as_me:$LINENO: checking
for working vfork
" >&5
11705 echo $ECHO_N "checking
for working vfork...
$ECHO_C" >&6; }
11706 if test "${ac_cv_func_vfork_works+set}" = set; then
11707 echo $ECHO_N "(cached
) $ECHO_C" >&6
11709 if test "$cross_compiling" = yes; then
11710 ac_cv_func_vfork_works=cross
11712 cat >conftest.$ac_ext <<_ACEOF
11715 cat confdefs.h >>conftest.$ac_ext
11716 cat >>conftest.$ac_ext <<_ACEOF
11717 /* end confdefs.h. */
11718 /* Thanks to Paul Eggert for this test. */
11719 $ac_includes_default
11720 #include <sys/wait.h>
11721 #ifdef HAVE_VFORK_H
11722 # include <vfork.h>
11724 /* On some sparc systems, changes by the child to local and incoming
11725 argument registers are propagated back to the parent. The compiler
11726 is told about this with #include <vfork.h>, but some compilers
11727 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
11728 static variable whose address is put into a register that is
11729 clobbered by the vfork. */
11732 sparc_address_test (int arg)
11734 sparc_address_test (arg) int arg;
11737 static pid_t child;
11755 pid_t parent = getpid ();
11758 sparc_address_test (0);
11763 /* Here is another test for sparc vfork register problems. This
11764 test uses lots of local variables, at least as many local
11765 variables as main has allocated so far including compiler
11766 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
11767 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
11768 reuse the register of parent for one of the local variables,
11769 since it will think that parent can't possibly be used any more
11770 in this routine. Assigning to the local variable will thus
11771 munge parent in the parent process. */
11773 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
11774 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
11775 /* Convince the compiler that p..p7 are live; otherwise, it might
11776 use the same hardware register for all 8 local variables. */
11777 if (p != p1 || p != p2 || p != p3 || p != p4
11778 || p != p5 || p != p6 || p != p7)
11781 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
11782 from child file descriptors. If the child closes a descriptor
11783 before it execs or exits, this munges the parent's descriptor
11784 as well. Test for this by closing stdout in the child. */
11785 _exit(close(fileno(stdout)) != 0);
11790 while (wait(&status) != child)
11793 /* Was there some problem with vforking? */
11796 /* Did the child fail? (This shouldn't happen.) */
11799 /* Did the vfork/compiler bug occur? */
11800 || parent != getpid()
11802 /* Did the file descriptor bug occur? */
11803 || fstat(fileno(stdout), &st) != 0
11808 rm -f conftest$ac_exeext
11809 if { (ac_try="$ac_link"
11810 case "(($ac_try" in
11811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11812 *) ac_try_echo=$ac_try;;
11814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11815 (eval "$ac_link") 2>&5
11817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11819 { (case "(($ac_try" in
11820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11821 *) ac_try_echo=$ac_try;;
11823 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11824 (eval "$ac_try") 2>&5
11826 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 ac_cv_func_vfork_works=yes
11830 echo "$as_me: program exited with status
$ac_status" >&5
11831 echo "$as_me: failed program was
:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ( exit $ac_status )
11835 ac_cv_func_vfork_works=no
11837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11842 { echo "$as_me:$LINENO: result
: $ac_cv_func_vfork_works" >&5
11843 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6; }
11846 if test "x
$ac_cv_func_fork_works" = xcross; then
11847 ac_cv_func_vfork_works=$ac_cv_func_vfork
11848 { echo "$as_me:$LINENO: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&5
11849 echo "$as_me: WARNING
: result
$ac_cv_func_vfork_works guessed because of cross compilation
" >&2;}
11852 if test "x
$ac_cv_func_vfork_works" = xyes; then
11854 cat >>confdefs.h <<\_ACEOF
11855 #define HAVE_WORKING_VFORK 1
11860 cat >>confdefs.h <<\_ACEOF
11865 if test "x
$ac_cv_func_fork_works" = xyes; then
11867 cat >>confdefs.h <<\_ACEOF
11868 #define HAVE_WORKING_FORK 1
11873 { echo "$as_me:$LINENO: checking
for _LARGEFILE_SOURCE value needed
for large files
" >&5
11874 echo $ECHO_N "checking
for _LARGEFILE_SOURCE value needed
for large files...
$ECHO_C" >&6; }
11875 if test "${ac_cv_sys_largefile_source+set}" = set; then
11876 echo $ECHO_N "(cached
) $ECHO_C" >&6
11879 cat >conftest.$ac_ext <<_ACEOF
11882 cat confdefs.h >>conftest.$ac_ext
11883 cat >>conftest.$ac_ext <<_ACEOF
11884 /* end confdefs.h. */
11885 #include <sys/types.h> /* for off_t */
11890 int (*fp) (FILE *, off_t, int) = fseeko;
11891 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11896 rm -f conftest.$ac_objext conftest$ac_exeext
11897 if { (ac_try="$ac_link"
11898 case "(($ac_try" in
11899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11900 *) ac_try_echo=$ac_try;;
11902 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11903 (eval "$ac_link") 2>conftest.er1
11905 grep -v '^ *+' conftest.er1 >conftest.err
11907 cat conftest.err >&5
11908 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11909 (exit $ac_status); } && {
11910 test -z "$ac_c_werror_flag" ||
11911 test ! -s conftest.err
11912 } && test -s conftest$ac_exeext &&
11913 $as_test_x conftest$ac_exeext; then
11914 ac_cv_sys_largefile_source=no; break
11916 echo "$as_me: failed program was
:" >&5
11917 sed 's/^/| /' conftest.$ac_ext >&5
11922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11923 conftest$ac_exeext conftest.$ac_ext
11924 cat >conftest.$ac_ext <<_ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11930 #define _LARGEFILE_SOURCE 1
11931 #include <sys/types.h> /* for off_t */
11936 int (*fp) (FILE *, off_t, int) = fseeko;
11937 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
11942 rm -f conftest.$ac_objext conftest$ac_exeext
11943 if { (ac_try="$ac_link"
11944 case "(($ac_try" in
11945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11946 *) ac_try_echo=$ac_try;;
11948 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
11949 (eval "$ac_link") 2>conftest.er1
11951 grep -v '^ *+' conftest.er1 >conftest.err
11953 cat conftest.err >&5
11954 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
11955 (exit $ac_status); } && {
11956 test -z "$ac_c_werror_flag" ||
11957 test ! -s conftest.err
11958 } && test -s conftest$ac_exeext &&
11959 $as_test_x conftest$ac_exeext; then
11960 ac_cv_sys_largefile_source=1; break
11962 echo "$as_me: failed program was
:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11969 conftest$ac_exeext conftest.$ac_ext
11970 ac_cv_sys_largefile_source=unknown
11974 { echo "$as_me:$LINENO: result
: $ac_cv_sys_largefile_source" >&5
11975 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
11976 case $ac_cv_sys_largefile_source in #(
11979 cat >>confdefs.h <<_ACEOF
11980 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
11986 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
11987 # in glibc 2.1.3, but that breaks too many other things.
11988 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
11989 if test $ac_cv_sys_largefile_source != unknown; then
11991 cat >>confdefs.h <<\_ACEOF
11992 #define HAVE_FSEEKO 1
11997 if test $ac_cv_c_compiler_gnu = yes; then
11998 { echo "$as_me:$LINENO: checking whether
$CC needs
-traditional" >&5
11999 echo $ECHO_N "checking whether
$CC needs
-traditional...
$ECHO_C" >&6; }
12000 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
12001 echo $ECHO_N "(cached
) $ECHO_C" >&6
12003 ac_pattern="Autoconf.
*'x'"
12004 cat >conftest.$ac_ext <<_ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12013 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
12014 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12015 ac_cv_prog_gcc_traditional=yes
12017 ac_cv_prog_gcc_traditional=no
12022 if test $ac_cv_prog_gcc_traditional = no; then
12023 cat >conftest.$ac_ext <<_ACEOF
12026 cat confdefs.h >>conftest.$ac_ext
12027 cat >>conftest.$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12029 #include <termio.h>
12032 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
12033 $EGREP "$ac_pattern" >/dev/null 2>&1; then
12034 ac_cv_prog_gcc_traditional=yes
12040 { echo "$as_me:$LINENO: result
: $ac_cv_prog_gcc_traditional" >&5
12041 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
12042 if test $ac_cv_prog_gcc_traditional = yes; then
12043 CC="$CC -traditional"
12047 # XXX: these are commented out until we determine whether it matters if our malloc()
12048 # acts exactly like glibc's or not
12051 { echo "$as_me:$LINENO: checking
for working memcmp
" >&5
12052 echo $ECHO_N "checking
for working memcmp...
$ECHO_C" >&6; }
12053 if test "${ac_cv_func_memcmp_working+set}" = set; then
12054 echo $ECHO_N "(cached
) $ECHO_C" >&6
12056 if test "$cross_compiling" = yes; then
12057 ac_cv_func_memcmp_working=no
12059 cat >conftest.$ac_ext <<_ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12065 $ac_includes_default
12070 /* Some versions of memcmp are not 8-bit clean. */
12071 char c0 = '\100', c1 = '\200', c2 = '\201';
12072 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12075 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12076 or more and with at least one buffer not starting on a 4-byte boundary.
12077 William Lewis provided this test program. */
12082 for (i = 0; i < 4; i++)
12086 strcpy (a, "--------01111111");
12087 strcpy (b, "--------10000000");
12088 if (memcmp (a, b, 16) >= 0)
12098 rm -f conftest$ac_exeext
12099 if { (ac_try="$ac_link"
12100 case "(($ac_try" in
12101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12102 *) ac_try_echo=$ac_try;;
12104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12105 (eval "$ac_link") 2>&5
12107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12108 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12109 { (case "(($ac_try" in
12110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12111 *) ac_try_echo=$ac_try;;
12113 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12114 (eval "$ac_try") 2>&5
12116 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 ac_cv_func_memcmp_working=yes
12120 echo "$as_me: program exited with status
$ac_status" >&5
12121 echo "$as_me: failed program was
:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 ( exit $ac_status )
12125 ac_cv_func_memcmp_working=no
12127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12132 { echo "$as_me:$LINENO: result
: $ac_cv_func_memcmp_working" >&5
12133 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
12134 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12135 *" memcmp.
$ac_objext "* ) ;;
12136 *) LIBOBJS="$LIBOBJS memcmp.
$ac_objext"
12145 for ac_header in $ac_header_list
12147 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12148 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12149 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12150 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12151 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12152 echo $ECHO_N "(cached
) $ECHO_C" >&6
12154 ac_res=`eval echo '${'$as_ac_Header'}'`
12155 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12156 echo "${ECHO_T}$ac_res" >&6; }
12158 # Is the header compilable?
12159 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12160 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12161 cat >conftest.$ac_ext <<_ACEOF
12164 cat confdefs.h >>conftest.$ac_ext
12165 cat >>conftest.$ac_ext <<_ACEOF
12166 /* end confdefs.h. */
12167 $ac_includes_default
12168 #include <$ac_header>
12170 rm -f conftest.$ac_objext
12171 if { (ac_try="$ac_compile"
12172 case "(($ac_try" in
12173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12174 *) ac_try_echo=$ac_try;;
12176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12177 (eval "$ac_compile") 2>conftest.er1
12179 grep -v '^ *+' conftest.er1 >conftest.err
12181 cat conftest.err >&5
12182 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12183 (exit $ac_status); } && {
12184 test -z "$ac_c_werror_flag" ||
12185 test ! -s conftest.err
12186 } && test -s conftest.$ac_objext; then
12187 ac_header_compiler=yes
12189 echo "$as_me: failed program was
:" >&5
12190 sed 's/^/| /' conftest.$ac_ext >&5
12192 ac_header_compiler=no
12195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12196 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12197 echo "${ECHO_T}$ac_header_compiler" >&6; }
12199 # Is the header present?
12200 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12201 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12202 cat >conftest.$ac_ext <<_ACEOF
12205 cat confdefs.h >>conftest.$ac_ext
12206 cat >>conftest.$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12208 #include <$ac_header>
12210 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12211 case "(($ac_try" in
12212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12213 *) ac_try_echo=$ac_try;;
12215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12216 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12218 grep -v '^ *+' conftest.er1 >conftest.err
12220 cat conftest.err >&5
12221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12222 (exit $ac_status); } >/dev/null && {
12223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12224 test ! -s conftest.err
12226 ac_header_preproc=yes
12228 echo "$as_me: failed program was
:" >&5
12229 sed 's/^/| /' conftest.$ac_ext >&5
12231 ac_header_preproc=no
12234 rm -f conftest.err conftest.$ac_ext
12235 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12236 echo "${ECHO_T}$ac_header_preproc" >&6; }
12238 # So? What about this header?
12239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12241 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12242 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12243 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12244 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12245 ac_header_preproc=yes
12248 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12249 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12250 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12251 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12252 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12253 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12254 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12255 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12256 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12257 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12258 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12259 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12263 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12264 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12265 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12266 echo $ECHO_N "(cached
) $ECHO_C" >&6
12268 eval "$as_ac_Header=\
$ac_header_preproc"
12270 ac_res=`eval echo '${'$as_ac_Header'}'`
12271 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12272 echo "${ECHO_T}$ac_res" >&6; }
12275 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12276 cat >>confdefs.h <<_ACEOF
12277 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12292 for ac_func in $ac_func_list
12294 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12295 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12296 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12297 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12298 echo $ECHO_N "(cached
) $ECHO_C" >&6
12300 cat >conftest.$ac_ext <<_ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12308 #define $ac_func innocuous_$ac_func
12310 /* System header to define __stub macros and hopefully few prototypes,
12311 which can conflict with char $ac_func (); below.
12312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12313 <limits.h> exists even on freestanding compilers. */
12316 # include <limits.h>
12318 # include <assert.h>
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12330 /* The GNU C library defines this for functions which it implements
12331 to always fail with ENOSYS. Some functions are actually named
12332 something starting with __ and the normal name is an alias. */
12333 #if defined __stub_$ac_func || defined __stub___$ac_func
12340 return $ac_func ();
12345 rm -f conftest.$ac_objext conftest$ac_exeext
12346 if { (ac_try="$ac_link"
12347 case "(($ac_try" in
12348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12349 *) ac_try_echo=$ac_try;;
12351 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12352 (eval "$ac_link") 2>conftest.er1
12354 grep -v '^ *+' conftest.er1 >conftest.err
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12358 (exit $ac_status); } && {
12359 test -z "$ac_c_werror_flag" ||
12360 test ! -s conftest.err
12361 } && test -s conftest$ac_exeext &&
12362 $as_test_x conftest$ac_exeext; then
12363 eval "$as_ac_var=yes"
12365 echo "$as_me: failed program was
:" >&5
12366 sed 's/^/| /' conftest.$ac_ext >&5
12368 eval "$as_ac_var=no
"
12371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12372 conftest$ac_exeext conftest.$ac_ext
12374 ac_res=`eval echo '${'$as_ac_var'}'`
12375 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12376 echo "${ECHO_T}$ac_res" >&6; }
12377 if test `eval echo '${'$as_ac_var'}'` = yes; then
12378 cat >>confdefs.h <<_ACEOF
12379 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12401 { echo "$as_me:$LINENO: checking
for working mktime
" >&5
12402 echo $ECHO_N "checking
for working mktime...
$ECHO_C" >&6; }
12403 if test "${ac_cv_func_working_mktime+set}" = set; then
12404 echo $ECHO_N "(cached
) $ECHO_C" >&6
12406 if test "$cross_compiling" = yes; then
12407 ac_cv_func_working_mktime=no
12409 cat >conftest.$ac_ext <<_ACEOF
12412 cat confdefs.h >>conftest.$ac_ext
12413 cat >>conftest.$ac_ext <<_ACEOF
12414 /* end confdefs.h. */
12415 /* Test program from Paul Eggert and Tony Leneis. */
12416 #ifdef TIME_WITH_SYS_TIME
12417 # include <sys/time.h>
12420 # ifdef HAVE_SYS_TIME_H
12421 # include <sys/time.h>
12427 #include <stdlib.h>
12429 #ifdef HAVE_UNISTD_H
12430 # include <unistd.h>
12434 # define alarm(X) /* empty */
12437 /* Work around redefinition to rpl_putenv by other config tests. */
12440 static time_t time_t_max;
12441 static time_t time_t_min;
12443 /* Values we'll use to set the TZ environment variable. */
12444 static char *tz_strings[] = {
12445 (char *) 0, "TZ
=GMT0
", "TZ
=JST-9
",
12446 "TZ
=EST
+3EDT
+2,M10.1
.0/00:00:00,M2.3
.0/00:00:00"
12448 #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
12450 /* Return 0 if mktime fails to convert a date in the spring-forward gap.
12451 Based on a problem report from Andreas Jaeger. */
12453 spring_forward_gap ()
12455 /* glibc (up to about 1998-10-07) failed this test. */
12458 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12459 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12460 on systems that don't support the Olson extension, or don't have the
12461 full zoneinfo tables installed. */
12462 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12471 return mktime (&tm) != (time_t) -1;
12479 return ! (lt = localtime (&now)) || mktime (lt) == now;
12486 return (mktime_test1 (now)
12487 && mktime_test1 ((time_t) (time_t_max - now))
12488 && mktime_test1 ((time_t) (time_t_min + now)));
12494 /* Based on code from Ariel Faigon. */
12504 return tm.tm_mon == 2 && tm.tm_mday == 31;
12513 tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
12514 now = mktime (&tm);
12515 if (now != (time_t) -1)
12517 struct tm *lt = localtime (&now);
12519 && lt->tm_year == tm.tm_year
12520 && lt->tm_mon == tm.tm_mon
12521 && lt->tm_mday == tm.tm_mday
12522 && lt->tm_hour == tm.tm_hour
12523 && lt->tm_min == tm.tm_min
12524 && lt->tm_sec == tm.tm_sec
12525 && lt->tm_yday == tm.tm_yday
12526 && lt->tm_wday == tm.tm_wday
12527 && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
12528 == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
12537 /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
12538 ignoring leap seconds. */
12539 unsigned long int answer = 2527315200UL;
12543 tm.tm_year = 2050 - 1900;
12546 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
12549 /* Use the portable POSIX.1 specification "TZ
=PST8PDT
,M4.1
.0,M10.5
.0"
12550 instead of "TZ
=America
/Vancouver
" in order to detect the bug even
12551 on systems that don't support the Olson extension, or don't have the
12552 full zoneinfo tables installed. */
12553 putenv ("TZ
=PST8PDT
,M4.1
.0,M10.5
.0");
12557 /* Check that the result is either a failure, or close enough
12558 to the correct answer that we can assume the discrepancy is
12559 due to leap seconds. */
12560 return (t == (time_t) -1
12561 || (0 < t && answer - 120 <= t && t <= answer + 120));
12570 /* This test makes some buggy mktime implementations loop.
12571 Give up after 60 seconds; a mktime slower than that
12572 isn't worth using anyway. */
12575 for (time_t_max = 1; 0 < time_t_max; time_t_max *= 2)
12578 if ((time_t) -1 < 0)
12579 for (time_t_min = -1; (time_t) (time_t_min * 2) < 0; time_t_min *= 2)
12581 delta = time_t_max / 997; /* a suitable prime number */
12582 for (i = 0; i < N_STRINGS; i++)
12585 putenv (tz_strings[i]);
12587 for (t = 0; t <= time_t_max - delta; t += delta)
12588 if (! mktime_test (t))
12590 if (! (mktime_test ((time_t) 1)
12591 && mktime_test ((time_t) (60 * 60))
12592 && mktime_test ((time_t) (60 * 60 * 24))))
12595 for (j = 1; 0 < j; j *= 2)
12596 if (! bigtime_test (j))
12598 if (! bigtime_test (j - 1))
12601 return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
12604 rm -f conftest$ac_exeext
12605 if { (ac_try="$ac_link"
12606 case "(($ac_try" in
12607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12608 *) ac_try_echo=$ac_try;;
12610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12611 (eval "$ac_link") 2>&5
12613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12615 { (case "(($ac_try" in
12616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12617 *) ac_try_echo=$ac_try;;
12619 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12620 (eval "$ac_try") 2>&5
12622 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12623 (exit $ac_status); }; }; then
12624 ac_cv_func_working_mktime=yes
12626 echo "$as_me: program exited with status
$ac_status" >&5
12627 echo "$as_me: failed program was
:" >&5
12628 sed 's/^/| /' conftest.$ac_ext >&5
12630 ( exit $ac_status )
12631 ac_cv_func_working_mktime=no
12633 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12638 { echo "$as_me:$LINENO: result
: $ac_cv_func_working_mktime" >&5
12639 echo "${ECHO_T}$ac_cv_func_working_mktime" >&6; }
12640 if test $ac_cv_func_working_mktime = no; then
12641 case " $LIBOBJS " in
12642 *" mktime.
$ac_objext "* ) ;;
12643 *) LIBOBJS="$LIBOBJS mktime.
$ac_objext"
12651 for ac_header in stdlib.h unistd.h
12653 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
12654 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12655 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12656 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12657 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12658 echo $ECHO_N "(cached
) $ECHO_C" >&6
12660 ac_res=`eval echo '${'$as_ac_Header'}'`
12661 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12662 echo "${ECHO_T}$ac_res" >&6; }
12664 # Is the header compilable?
12665 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
12666 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
12667 cat >conftest.$ac_ext <<_ACEOF
12670 cat confdefs.h >>conftest.$ac_ext
12671 cat >>conftest.$ac_ext <<_ACEOF
12672 /* end confdefs.h. */
12673 $ac_includes_default
12674 #include <$ac_header>
12676 rm -f conftest.$ac_objext
12677 if { (ac_try="$ac_compile"
12678 case "(($ac_try" in
12679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12680 *) ac_try_echo=$ac_try;;
12682 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12683 (eval "$ac_compile") 2>conftest.er1
12685 grep -v '^ *+' conftest.er1 >conftest.err
12687 cat conftest.err >&5
12688 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12689 (exit $ac_status); } && {
12690 test -z "$ac_c_werror_flag" ||
12691 test ! -s conftest.err
12692 } && test -s conftest.$ac_objext; then
12693 ac_header_compiler=yes
12695 echo "$as_me: failed program was
:" >&5
12696 sed 's/^/| /' conftest.$ac_ext >&5
12698 ac_header_compiler=no
12701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12702 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
12703 echo "${ECHO_T}$ac_header_compiler" >&6; }
12705 # Is the header present?
12706 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
12707 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
12708 cat >conftest.$ac_ext <<_ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 #include <$ac_header>
12716 if { (ac_try="$ac_cpp conftest.
$ac_ext"
12717 case "(($ac_try" in
12718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12719 *) ac_try_echo=$ac_try;;
12721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12722 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
12724 grep -v '^ *+' conftest.er1 >conftest.err
12726 cat conftest.err >&5
12727 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12728 (exit $ac_status); } >/dev/null && {
12729 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12730 test ! -s conftest.err
12732 ac_header_preproc=yes
12734 echo "$as_me: failed program was
:" >&5
12735 sed 's/^/| /' conftest.$ac_ext >&5
12737 ac_header_preproc=no
12740 rm -f conftest.err conftest.$ac_ext
12741 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
12742 echo "${ECHO_T}$ac_header_preproc" >&6; }
12744 # So? What about this header?
12745 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12747 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
12748 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
12749 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
12750 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
12751 ac_header_preproc=yes
12754 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
12755 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
12756 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
12757 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
12758 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
12759 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
12760 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
12761 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
12762 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
12763 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
12764 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
12765 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
12769 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
12770 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
12771 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
12772 echo $ECHO_N "(cached
) $ECHO_C" >&6
12774 eval "$as_ac_Header=\
$ac_header_preproc"
12776 ac_res=`eval echo '${'$as_ac_Header'}'`
12777 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12778 echo "${ECHO_T}$ac_res" >&6; }
12781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12782 cat >>confdefs.h <<_ACEOF
12783 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
12791 for ac_func in getpagesize
12793 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
12794 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
12795 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
12796 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
12797 echo $ECHO_N "(cached
) $ECHO_C" >&6
12799 cat >conftest.$ac_ext <<_ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12807 #define $ac_func innocuous_$ac_func
12809 /* System header to define __stub macros and hopefully few prototypes,
12810 which can conflict with char $ac_func (); below.
12811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12812 <limits.h> exists even on freestanding compilers. */
12815 # include <limits.h>
12817 # include <assert.h>
12822 /* Override any GCC internal prototype to avoid an error.
12823 Use char because int might match the return type of a GCC
12824 builtin and then its argument prototype would still apply. */
12829 /* The GNU C library defines this for functions which it implements
12830 to always fail with ENOSYS. Some functions are actually named
12831 something starting with __ and the normal name is an alias. */
12832 #if defined __stub_$ac_func || defined __stub___$ac_func
12839 return $ac_func ();
12844 rm -f conftest.$ac_objext conftest$ac_exeext
12845 if { (ac_try="$ac_link"
12846 case "(($ac_try" in
12847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12848 *) ac_try_echo=$ac_try;;
12850 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
12851 (eval "$ac_link") 2>conftest.er1
12853 grep -v '^ *+' conftest.er1 >conftest.err
12855 cat conftest.err >&5
12856 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
12857 (exit $ac_status); } && {
12858 test -z "$ac_c_werror_flag" ||
12859 test ! -s conftest.err
12860 } && test -s conftest$ac_exeext &&
12861 $as_test_x conftest$ac_exeext; then
12862 eval "$as_ac_var=yes"
12864 echo "$as_me: failed program was
:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12867 eval "$as_ac_var=no
"
12870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12871 conftest$ac_exeext conftest.$ac_ext
12873 ac_res=`eval echo '${'$as_ac_var'}'`
12874 { echo "$as_me:$LINENO: result
: $ac_res" >&5
12875 echo "${ECHO_T}$ac_res" >&6; }
12876 if test `eval echo '${'$as_ac_var'}'` = yes; then
12877 cat >>confdefs.h <<_ACEOF
12878 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
12884 { echo "$as_me:$LINENO: checking
for working mmap
" >&5
12885 echo $ECHO_N "checking
for working mmap...
$ECHO_C" >&6; }
12886 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
12887 echo $ECHO_N "(cached
) $ECHO_C" >&6
12889 if test "$cross_compiling" = yes; then
12890 ac_cv_func_mmap_fixed_mapped=no
12892 cat >conftest.$ac_ext <<_ACEOF
12895 cat confdefs.h >>conftest.$ac_ext
12896 cat >>conftest.$ac_ext <<_ACEOF
12897 /* end confdefs.h. */
12898 $ac_includes_default
12899 /* malloc might have been renamed as rpl_malloc. */
12902 /* Thanks to Mike Haertel and Jim Avera for this test.
12903 Here is a matrix of mmap possibilities:
12904 mmap private not fixed
12905 mmap private fixed at somewhere currently unmapped
12906 mmap private fixed at somewhere already mapped
12907 mmap shared not fixed
12908 mmap shared fixed at somewhere currently unmapped
12909 mmap shared fixed at somewhere already mapped
12910 For private mappings, we should verify that changes cannot be read()
12911 back from the file, nor mmap's back from the file at a different
12912 address. (There have been systems where private was not correctly
12913 implemented like the infamous i386 svr4.0, and systems where the
12914 VM page cache was not coherent with the file system buffer cache
12915 like early versions of FreeBSD and possibly contemporary NetBSD.)
12916 For shared mappings, we should conversely verify that changes get
12917 propagated back to all the places they're supposed to be.
12919 Grep wants private fixed already mapped.
12920 The main things grep needs to know about mmap are:
12921 * does it exist and is it safe to write into the mmap'd area
12922 * how to use it (BSD variants) */
12925 #include <sys/mman.h>
12927 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12931 /* This mess was copied from the GNU getpagesize.h. */
12932 #ifndef HAVE_GETPAGESIZE
12933 /* Assume that all systems that can run configure have sys/param.h. */
12934 # ifndef HAVE_SYS_PARAM_H
12935 # define HAVE_SYS_PARAM_H 1
12938 # ifdef _SC_PAGESIZE
12939 # define getpagesize() sysconf(_SC_PAGESIZE)
12940 # else /* no _SC_PAGESIZE */
12941 # ifdef HAVE_SYS_PARAM_H
12942 # include <sys/param.h>
12943 # ifdef EXEC_PAGESIZE
12944 # define getpagesize() EXEC_PAGESIZE
12945 # else /* no EXEC_PAGESIZE */
12947 # define getpagesize() NBPG * CLSIZE
12950 # endif /* no CLSIZE */
12951 # else /* no NBPG */
12953 # define getpagesize() NBPC
12954 # else /* no NBPC */
12956 # define getpagesize() PAGESIZE
12957 # endif /* PAGESIZE */
12958 # endif /* no NBPC */
12959 # endif /* no NBPG */
12960 # endif /* no EXEC_PAGESIZE */
12961 # else /* no HAVE_SYS_PARAM_H */
12962 # define getpagesize() 8192 /* punt totally */
12963 # endif /* no HAVE_SYS_PARAM_H */
12964 # endif /* no _SC_PAGESIZE */
12966 #endif /* no HAVE_GETPAGESIZE */
12971 char *data, *data2, *data3;
12975 pagesize = getpagesize ();
12977 /* First, make a file with some known garbage in it. */
12978 data = (char *) malloc (pagesize);
12981 for (i = 0; i < pagesize; ++i)
12982 *(data + i) = rand ();
12984 fd = creat ("conftest.mmap
", 0600);
12987 if (write (fd, data, pagesize) != pagesize)
12991 /* Next, try to mmap the file at a fixed address which already has
12992 something else allocated at it. If we can, also make sure that
12993 we see the same garbage. */
12994 fd = open ("conftest.mmap
", O_RDWR);
12997 data2 = (char *) malloc (2 * pagesize);
13000 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13001 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13002 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13004 for (i = 0; i < pagesize; ++i)
13005 if (*(data + i) != *(data2 + i))
13008 /* Finally, make sure that changes to the mapped area do not
13009 percolate back to the file as seen by read(). (This is a bug on
13010 some variants of i386 svr4.0.) */
13011 for (i = 0; i < pagesize; ++i)
13012 *(data2 + i) = *(data2 + i) + 1;
13013 data3 = (char *) malloc (pagesize);
13016 if (read (fd, data3, pagesize) != pagesize)
13018 for (i = 0; i < pagesize; ++i)
13019 if (*(data + i) != *(data3 + i))
13025 rm -f conftest$ac_exeext
13026 if { (ac_try="$ac_link"
13027 case "(($ac_try" in
13028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13029 *) ac_try_echo=$ac_try;;
13031 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13032 (eval "$ac_link") 2>&5
13034 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13035 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13036 { (case "(($ac_try" in
13037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13038 *) ac_try_echo=$ac_try;;
13040 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13041 (eval "$ac_try") 2>&5
13043 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13044 (exit $ac_status); }; }; then
13045 ac_cv_func_mmap_fixed_mapped=yes
13047 echo "$as_me: program exited with status
$ac_status" >&5
13048 echo "$as_me: failed program was
:" >&5
13049 sed 's/^/| /' conftest.$ac_ext >&5
13051 ( exit $ac_status )
13052 ac_cv_func_mmap_fixed_mapped=no
13054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13059 { echo "$as_me:$LINENO: result
: $ac_cv_func_mmap_fixed_mapped" >&5
13060 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13061 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13063 cat >>confdefs.h <<\_ACEOF
13064 #define HAVE_MMAP 1
13068 rm -f conftest.mmap
13072 for ac_header in sys/select.h sys/socket.h
13074 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
13075 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13076 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13077 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13078 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13079 echo $ECHO_N "(cached
) $ECHO_C" >&6
13081 ac_res=`eval echo '${'$as_ac_Header'}'`
13082 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13083 echo "${ECHO_T}$ac_res" >&6; }
13085 # Is the header compilable?
13086 { echo "$as_me:$LINENO: checking
$ac_header usability
" >&5
13087 echo $ECHO_N "checking
$ac_header usability...
$ECHO_C" >&6; }
13088 cat >conftest.$ac_ext <<_ACEOF
13091 cat confdefs.h >>conftest.$ac_ext
13092 cat >>conftest.$ac_ext <<_ACEOF
13093 /* end confdefs.h. */
13094 $ac_includes_default
13095 #include <$ac_header>
13097 rm -f conftest.$ac_objext
13098 if { (ac_try="$ac_compile"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_compile") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest.$ac_objext; then
13114 ac_header_compiler=yes
13116 echo "$as_me: failed program was
:" >&5
13117 sed 's/^/| /' conftest.$ac_ext >&5
13119 ac_header_compiler=no
13122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13123 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
13124 echo "${ECHO_T}$ac_header_compiler" >&6; }
13126 # Is the header present?
13127 { echo "$as_me:$LINENO: checking
$ac_header presence
" >&5
13128 echo $ECHO_N "checking
$ac_header presence...
$ECHO_C" >&6; }
13129 cat >conftest.$ac_ext <<_ACEOF
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 #include <$ac_header>
13137 if { (ac_try="$ac_cpp conftest.
$ac_ext"
13138 case "(($ac_try" in
13139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13140 *) ac_try_echo=$ac_try;;
13142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13143 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
13145 grep -v '^ *+' conftest.er1 >conftest.err
13147 cat conftest.err >&5
13148 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13149 (exit $ac_status); } >/dev/null && {
13150 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13151 test ! -s conftest.err
13153 ac_header_preproc=yes
13155 echo "$as_me: failed program was
:" >&5
13156 sed 's/^/| /' conftest.$ac_ext >&5
13158 ac_header_preproc=no
13161 rm -f conftest.err conftest.$ac_ext
13162 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
13163 echo "${ECHO_T}$ac_header_preproc" >&6; }
13165 # So? What about this header?
13166 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13168 { echo "$as_me:$LINENO: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&5
13169 echo "$as_me: WARNING
: $ac_header: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
13170 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the compiler
's result" >&5
13171 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result
" >&2;}
13172 ac_header_preproc=yes
13175 { echo "$as_me:$LINENO: WARNING
: $ac_header: present but cannot be compiled
" >&5
13176 echo "$as_me: WARNING
: $ac_header: present but cannot be compiled
" >&2;}
13177 { echo "$as_me:$LINENO: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&5
13178 echo "$as_me: WARNING
: $ac_header: check
for missing prerequisite headers?
" >&2;}
13179 { echo "$as_me:$LINENO: WARNING
: $ac_header: see the Autoconf documentation
" >&5
13180 echo "$as_me: WARNING
: $ac_header: see the Autoconf documentation
" >&2;}
13181 { echo "$as_me:$LINENO: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&5
13182 echo "$as_me: WARNING
: $ac_header: section
\"Present But Cannot Be Compiled
\"" >&2;}
13183 { echo "$as_me:$LINENO: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&5
13184 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result
" >&2;}
13185 { echo "$as_me:$LINENO: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&5
13186 echo "$as_me: WARNING
: $ac_header: in the future
, the compiler will take precedence
" >&2;}
13190 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
13191 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
13192 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
13193 echo $ECHO_N "(cached
) $ECHO_C" >&6
13195 eval "$as_ac_Header=\
$ac_header_preproc"
13197 ac_res=`eval echo '${'$as_ac_Header'}'`
13198 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13199 echo "${ECHO_T}$ac_res" >&6; }
13202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13203 cat >>confdefs.h <<_ACEOF
13204 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
13211 { echo "$as_me:$LINENO: checking types of arguments
for select" >&5
13212 echo $ECHO_N "checking types of arguments
for select...
$ECHO_C" >&6; }
13213 if test "${ac_cv_func_select_args+set}" = set; then
13214 echo $ECHO_N "(cached
) $ECHO_C" >&6
13216 for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
13217 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
13218 for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
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
13226 #ifdef HAVE_SYS_SELECT_H
13227 # include <sys/select.h>
13229 #ifdef HAVE_SYS_SOCKET_H
13230 # include <sys/socket.h>
13236 extern int select ($ac_arg1,
13237 $ac_arg234, $ac_arg234, $ac_arg234,
13243 rm -f conftest.$ac_objext
13244 if { (ac_try="$ac_compile"
13245 case "(($ac_try" in
13246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_compile") 2>conftest.er1
13252 grep -v '^ *+' conftest.er1 >conftest.err
13254 cat conftest.err >&5
13255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13256 (exit $ac_status); } && {
13257 test -z "$ac_c_werror_flag" ||
13258 test ! -s conftest.err
13259 } && test -s conftest.$ac_objext; then
13260 ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
13262 echo "$as_me: failed program was
:" >&5
13263 sed 's/^/| /' conftest.$ac_ext >&5
13268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13272 # Provide a safe default value.
13273 : ${ac_cv_func_select_args='int,int *,struct timeval *'}
13276 { echo "$as_me:$LINENO: result
: $ac_cv_func_select_args" >&5
13277 echo "${ECHO_T}$ac_cv_func_select_args" >&6; }
13278 ac_save_IFS=$IFS; IFS=','
13279 set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
13283 cat >>confdefs.h <<_ACEOF
13284 #define SELECT_TYPE_ARG1 $1
13288 cat >>confdefs.h <<_ACEOF
13289 #define SELECT_TYPE_ARG234 ($2)
13293 cat >>confdefs.h <<_ACEOF
13294 #define SELECT_TYPE_ARG5 ($3)
13299 { echo "$as_me:$LINENO: checking
for function prototypes
" >&5
13300 echo $ECHO_N "checking
for function prototypes...
$ECHO_C" >&6; }
13301 if test "$ac_cv_prog_cc_c89" != no; then
13302 { echo "$as_me:$LINENO: result
: yes" >&5
13303 echo "${ECHO_T}yes" >&6; }
13305 cat >>confdefs.h <<\_ACEOF
13306 #define PROTOTYPES 1
13310 cat >>confdefs.h <<\_ACEOF
13311 #define __PROTOTYPES 1
13315 { echo "$as_me:$LINENO: result
: no
" >&5
13316 echo "${ECHO_T}no
" >&6; }
13319 { echo "$as_me:$LINENO: checking whether setvbuf arguments are reversed
" >&5
13320 echo $ECHO_N "checking whether setvbuf arguments are reversed...
$ECHO_C" >&6; }
13321 if test "${ac_cv_func_setvbuf_reversed+set}" = set; then
13322 echo $ECHO_N "(cached
) $ECHO_C" >&6
13324 ac_cv_func_setvbuf_reversed=no
13325 cat >conftest.$ac_ext <<_ACEOF
13328 cat confdefs.h >>conftest.$ac_ext
13329 cat >>conftest.$ac_ext <<_ACEOF
13330 /* end confdefs.h. */
13333 int (setvbuf) (FILE *, int, char *, size_t);
13338 char buf; return setvbuf (stdout, _IOLBF, &buf, 1);
13343 rm -f conftest.$ac_objext conftest$ac_exeext
13344 if { (ac_try="$ac_link"
13345 case "(($ac_try" in
13346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13347 *) ac_try_echo=$ac_try;;
13349 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13350 (eval "$ac_link") 2>conftest.er1
13352 grep -v '^ *+' conftest.er1 >conftest.err
13354 cat conftest.err >&5
13355 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13356 (exit $ac_status); } && {
13357 test -z "$ac_c_werror_flag" ||
13358 test ! -s conftest.err
13359 } && test -s conftest$ac_exeext &&
13360 $as_test_x conftest$ac_exeext; then
13361 cat >conftest.$ac_ext <<_ACEOF
13364 cat confdefs.h >>conftest.$ac_ext
13365 cat >>conftest.$ac_ext <<_ACEOF
13366 /* end confdefs.h. */
13369 int (setvbuf) (FILE *, int, char *, size_t);
13374 char buf; return setvbuf (stdout, &buf, _IOLBF, 1);
13379 rm -f conftest.$ac_objext conftest$ac_exeext
13380 if { (ac_try="$ac_link"
13381 case "(($ac_try" in
13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13385 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_link") 2>conftest.er1
13388 grep -v '^ *+' conftest.er1 >conftest.err
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest$ac_exeext &&
13396 $as_test_x conftest$ac_exeext; then
13397 # It compiles and links either way, so it must not be declared
13398 # with a prototype and most likely this is a K&R C compiler.
13400 if test "$cross_compiling" = yes; then
13401 : # Assume setvbuf is not reversed when cross-compiling.
13403 cat >conftest.$ac_ext <<_ACEOF
13406 cat confdefs.h >>conftest.$ac_ext
13407 cat >>conftest.$ac_ext <<_ACEOF
13408 /* end confdefs.h. */
13409 $ac_includes_default
13413 /* This call has the arguments reversed.
13414 A reversed system may check and see that the address of buf
13415 is not _IOLBF, _IONBF, or _IOFBF, and return nonzero. */
13417 if (setvbuf (stdout, _IOLBF, &buf, 1) != 0)
13420 return 0; /* Non-reversed systems SEGV here. */
13425 rm -f conftest$ac_exeext
13426 if { (ac_try="$ac_link"
13427 case "(($ac_try" in
13428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13429 *) ac_try_echo=$ac_try;;
13431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13432 (eval "$ac_link") 2>&5
13434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13436 { (case "(($ac_try" in
13437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13438 *) ac_try_echo=$ac_try;;
13440 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13441 (eval "$ac_try") 2>&5
13443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13444 (exit $ac_status); }; }; then
13445 ac_cv_func_setvbuf_reversed=yes
13447 echo "$as_me: program exited with status
$ac_status" >&5
13448 echo "$as_me: failed program was
:" >&5
13449 sed 's/^/| /' conftest.$ac_ext >&5
13452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13456 ac_cv_func_setvbuf_reversed=yes
13458 echo "$as_me: failed program was
:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13467 echo "$as_me: failed program was
:" >&5
13468 sed 's/^/| /' conftest.$ac_ext >&5
13473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13474 conftest$ac_exeext conftest.$ac_ext
13476 { echo "$as_me:$LINENO: result
: $ac_cv_func_setvbuf_reversed" >&5
13477 echo "${ECHO_T}$ac_cv_func_setvbuf_reversed" >&6; }
13478 if test $ac_cv_func_setvbuf_reversed = yes; then
13480 cat >>confdefs.h <<\_ACEOF
13481 #define SETVBUF_REVERSED 1
13486 { echo "$as_me:$LINENO: checking
return type of signal handlers
" >&5
13487 echo $ECHO_N "checking
return type of signal handlers...
$ECHO_C" >&6; }
13488 if test "${ac_cv_type_signal+set}" = set; then
13489 echo $ECHO_N "(cached
) $ECHO_C" >&6
13491 cat >conftest.$ac_ext <<_ACEOF
13494 cat confdefs.h >>conftest.$ac_ext
13495 cat >>conftest.$ac_ext <<_ACEOF
13496 /* end confdefs.h. */
13497 #include <sys/types.h>
13498 #include <signal.h>
13503 return *(signal (0, 0)) (0) == 1;
13508 rm -f conftest.$ac_objext
13509 if { (ac_try="$ac_compile"
13510 case "(($ac_try" in
13511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13512 *) ac_try_echo=$ac_try;;
13514 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13515 (eval "$ac_compile") 2>conftest.er1
13517 grep -v '^ *+' conftest.er1 >conftest.err
13519 cat conftest.err >&5
13520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13521 (exit $ac_status); } && {
13522 test -z "$ac_c_werror_flag" ||
13523 test ! -s conftest.err
13524 } && test -s conftest.$ac_objext; then
13525 ac_cv_type_signal=int
13527 echo "$as_me: failed program was
:" >&5
13528 sed 's/^/| /' conftest.$ac_ext >&5
13530 ac_cv_type_signal=void
13533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13535 { echo "$as_me:$LINENO: result
: $ac_cv_type_signal" >&5
13536 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
13538 cat >>confdefs.h <<_ACEOF
13539 #define RETSIGTYPE $ac_cv_type_signal
13543 { echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash
" >&5
13544 echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash...
$ECHO_C" >&6; }
13545 if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then
13546 echo $ECHO_N "(cached
) $ECHO_C" >&6
13548 rm -f conftest.sym conftest.file
13549 echo >conftest.file
13550 if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
13551 if test "$cross_compiling" = yes; then
13552 ac_cv_func_lstat_dereferences_slashed_symlink=no
13554 cat >conftest.$ac_ext <<_ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 $ac_includes_default
13565 /* Linux will dereference the symlink and fail.
13566 That is better in the sense that it means we will not
13567 have to compile and use the lstat wrapper. */
13568 return lstat ("conftest.sym
/", &sbuf) == 0;
13573 rm -f conftest$ac_exeext
13574 if { (ac_try="$ac_link"
13575 case "(($ac_try" in
13576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13577 *) ac_try_echo=$ac_try;;
13579 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13580 (eval "$ac_link") 2>&5
13582 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13583 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13584 { (case "(($ac_try" in
13585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13586 *) ac_try_echo=$ac_try;;
13588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13589 (eval "$ac_try") 2>&5
13591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13592 (exit $ac_status); }; }; then
13593 ac_cv_func_lstat_dereferences_slashed_symlink=yes
13595 echo "$as_me: program exited with status
$ac_status" >&5
13596 echo "$as_me: failed program was
:" >&5
13597 sed 's/^/| /' conftest.$ac_ext >&5
13599 ( exit $ac_status )
13600 ac_cv_func_lstat_dereferences_slashed_symlink=no
13602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13607 # If the `ln -s' command failed, then we probably don't even
13608 # have an lstat function.
13609 ac_cv_func_lstat_dereferences_slashed_symlink=no
13611 rm -f conftest.sym conftest.file
13614 { echo "$as_me:$LINENO: result
: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
13615 echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
13617 test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
13619 cat >>confdefs.h <<_ACEOF
13620 #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
13624 if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then
13625 case " $LIBOBJS " in
13626 *" lstat.
$ac_objext "* ) ;;
13627 *) LIBOBJS="$LIBOBJS lstat.
$ac_objext"
13633 { echo "$as_me:$LINENO: checking whether stat accepts an empty string
" >&5
13634 echo $ECHO_N "checking whether stat accepts an empty string...
$ECHO_C" >&6; }
13635 if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then
13636 echo $ECHO_N "(cached
) $ECHO_C" >&6
13638 if test "$cross_compiling" = yes; then
13639 ac_cv_func_stat_empty_string_bug=yes
13641 cat >conftest.$ac_ext <<_ACEOF
13644 cat confdefs.h >>conftest.$ac_ext
13645 cat >>conftest.$ac_ext <<_ACEOF
13646 /* end confdefs.h. */
13647 $ac_includes_default
13652 return stat ("", &sbuf) == 0;
13657 rm -f conftest$ac_exeext
13658 if { (ac_try="$ac_link"
13659 case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;;
13663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_link") 2>&5
13666 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13668 { (case "(($ac_try" in
13669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13670 *) ac_try_echo=$ac_try;;
13672 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13673 (eval "$ac_try") 2>&5
13675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13676 (exit $ac_status); }; }; then
13677 ac_cv_func_stat_empty_string_bug=no
13679 echo "$as_me: program exited with status
$ac_status" >&5
13680 echo "$as_me: failed program was
:" >&5
13681 sed 's/^/| /' conftest.$ac_ext >&5
13683 ( exit $ac_status )
13684 ac_cv_func_stat_empty_string_bug=yes
13686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13691 { echo "$as_me:$LINENO: result
: $ac_cv_func_stat_empty_string_bug" >&5
13692 echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6; }
13693 if test $ac_cv_func_stat_empty_string_bug = yes; then
13694 case " $LIBOBJS " in
13695 *" stat.
$ac_objext "* ) ;;
13696 *) LIBOBJS="$LIBOBJS stat.
$ac_objext"
13701 cat >>confdefs.h <<_ACEOF
13702 #define HAVE_STAT_EMPTY_STRING_BUG 1
13707 { echo "$as_me:$LINENO: checking
for working strcoll
" >&5
13708 echo $ECHO_N "checking
for working strcoll...
$ECHO_C" >&6; }
13709 if test "${ac_cv_func_strcoll_works+set}" = set; then
13710 echo $ECHO_N "(cached
) $ECHO_C" >&6
13712 if test "$cross_compiling" = yes; then
13713 ac_cv_func_strcoll_works=no
13715 cat >conftest.$ac_ext <<_ACEOF
13718 cat confdefs.h >>conftest.$ac_ext
13719 cat >>conftest.$ac_ext <<_ACEOF
13720 /* end confdefs.h. */
13721 $ac_includes_default
13725 return (strcoll ("abc
", "def
") >= 0 ||
13726 strcoll ("ABC
", "DEF
") >= 0 ||
13727 strcoll ("123", "456") >= 0)
13732 rm -f conftest$ac_exeext
13733 if { (ac_try="$ac_link"
13734 case "(($ac_try" in
13735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13736 *) ac_try_echo=$ac_try;;
13738 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13739 (eval "$ac_link") 2>&5
13741 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13743 { (case "(($ac_try" in
13744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13745 *) ac_try_echo=$ac_try;;
13747 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13748 (eval "$ac_try") 2>&5
13750 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13751 (exit $ac_status); }; }; then
13752 ac_cv_func_strcoll_works=yes
13754 echo "$as_me: program exited with status
$ac_status" >&5
13755 echo "$as_me: failed program was
:" >&5
13756 sed 's/^/| /' conftest.$ac_ext >&5
13758 ( exit $ac_status )
13759 ac_cv_func_strcoll_works=no
13761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13766 { echo "$as_me:$LINENO: result
: $ac_cv_func_strcoll_works" >&5
13767 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6; }
13768 if test $ac_cv_func_strcoll_works = yes; then
13770 cat >>confdefs.h <<\_ACEOF
13771 #define HAVE_STRCOLL 1
13777 for ac_func in strftime
13779 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
13780 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
13781 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
13782 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
13783 echo $ECHO_N "(cached
) $ECHO_C" >&6
13785 cat >conftest.$ac_ext <<_ACEOF
13788 cat confdefs.h >>conftest.$ac_ext
13789 cat >>conftest.$ac_ext <<_ACEOF
13790 /* end confdefs.h. */
13791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13793 #define $ac_func innocuous_$ac_func
13795 /* System header to define __stub macros and hopefully few prototypes,
13796 which can conflict with char $ac_func (); below.
13797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13798 <limits.h> exists even on freestanding compilers. */
13801 # include <limits.h>
13803 # include <assert.h>
13808 /* Override any GCC internal prototype to avoid an error.
13809 Use char because int might match the return type of a GCC
13810 builtin and then its argument prototype would still apply. */
13815 /* The GNU C library defines this for functions which it implements
13816 to always fail with ENOSYS. Some functions are actually named
13817 something starting with __ and the normal name is an alias. */
13818 #if defined __stub_$ac_func || defined __stub___$ac_func
13825 return $ac_func ();
13830 rm -f conftest.$ac_objext conftest$ac_exeext
13831 if { (ac_try="$ac_link"
13832 case "(($ac_try" in
13833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13834 *) ac_try_echo=$ac_try;;
13836 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13837 (eval "$ac_link") 2>conftest.er1
13839 grep -v '^ *+' conftest.er1 >conftest.err
13841 cat conftest.err >&5
13842 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13843 (exit $ac_status); } && {
13844 test -z "$ac_c_werror_flag" ||
13845 test ! -s conftest.err
13846 } && test -s conftest$ac_exeext &&
13847 $as_test_x conftest$ac_exeext; then
13848 eval "$as_ac_var=yes"
13850 echo "$as_me: failed program was
:" >&5
13851 sed 's/^/| /' conftest.$ac_ext >&5
13853 eval "$as_ac_var=no
"
13856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13857 conftest$ac_exeext conftest.$ac_ext
13859 ac_res=`eval echo '${'$as_ac_var'}'`
13860 { echo "$as_me:$LINENO: result
: $ac_res" >&5
13861 echo "${ECHO_T}$ac_res" >&6; }
13862 if test `eval echo '${'$as_ac_var'}'` = yes; then
13863 cat >>confdefs.h <<_ACEOF
13864 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
13868 # strftime is in -lintl on SCO UNIX.
13869 { echo "$as_me:$LINENO: checking
for strftime
in -lintl" >&5
13870 echo $ECHO_N "checking
for strftime
in -lintl...
$ECHO_C" >&6; }
13871 if test "${ac_cv_lib_intl_strftime+set}" = set; then
13872 echo $ECHO_N "(cached
) $ECHO_C" >&6
13874 ac_check_lib_save_LIBS=$LIBS
13875 LIBS="-lintl $LIBS"
13876 cat >conftest.$ac_ext <<_ACEOF
13879 cat confdefs.h >>conftest.$ac_ext
13880 cat >>conftest.$ac_ext <<_ACEOF
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13893 return strftime ();
13898 rm -f conftest.$ac_objext conftest$ac_exeext
13899 if { (ac_try="$ac_link"
13900 case "(($ac_try" in
13901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13902 *) ac_try_echo=$ac_try;;
13904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13905 (eval "$ac_link") 2>conftest.er1
13907 grep -v '^ *+' conftest.er1 >conftest.err
13909 cat conftest.err >&5
13910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13911 (exit $ac_status); } && {
13912 test -z "$ac_c_werror_flag" ||
13913 test ! -s conftest.err
13914 } && test -s conftest$ac_exeext &&
13915 $as_test_x conftest$ac_exeext; then
13916 ac_cv_lib_intl_strftime=yes
13918 echo "$as_me: failed program was
:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13921 ac_cv_lib_intl_strftime=no
13924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_lib_save_LIBS
13928 { echo "$as_me:$LINENO: result
: $ac_cv_lib_intl_strftime" >&5
13929 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6; }
13930 if test $ac_cv_lib_intl_strftime = yes; then
13931 cat >>confdefs.h <<\_ACEOF
13932 #define HAVE_STRFTIME 1
13935 LIBS="-lintl $LIBS"
13941 { echo "$as_me:$LINENO: checking
for working strnlen
" >&5
13942 echo $ECHO_N "checking
for working strnlen...
$ECHO_C" >&6; }
13943 if test "${ac_cv_func_strnlen_working+set}" = set; then
13944 echo $ECHO_N "(cached
) $ECHO_C" >&6
13946 if test "$cross_compiling" = yes; then
13947 ac_cv_func_strnlen_working=no
13949 cat >conftest.$ac_ext <<_ACEOF
13952 cat confdefs.h >>conftest.$ac_ext
13953 cat >>conftest.$ac_ext <<_ACEOF
13954 /* end confdefs.h. */
13955 $ac_includes_default
13961 #define S_LEN (sizeof S - 1)
13963 /* At least one implementation is buggy: that of AIX 4.3 would
13964 give strnlen (S, 1) == 3. */
13967 for (i = 0; i < S_LEN + 1; ++i)
13969 int expected = i <= S_LEN ? i : S_LEN;
13970 if (strnlen (S, i) != expected)
13979 rm -f conftest$ac_exeext
13980 if { (ac_try="$ac_link"
13981 case "(($ac_try" in
13982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13983 *) ac_try_echo=$ac_try;;
13985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13986 (eval "$ac_link") 2>&5
13988 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13990 { (case "(($ac_try" in
13991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13992 *) ac_try_echo=$ac_try;;
13994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
13995 (eval "$ac_try") 2>&5
13997 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
13998 (exit $ac_status); }; }; then
13999 ac_cv_func_strnlen_working=yes
14001 echo "$as_me: program exited with status
$ac_status" >&5
14002 echo "$as_me: failed program was
:" >&5
14003 sed 's/^/| /' conftest.$ac_ext >&5
14005 ( exit $ac_status )
14006 ac_cv_func_strnlen_working=no
14008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14013 { echo "$as_me:$LINENO: result
: $ac_cv_func_strnlen_working" >&5
14014 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6; }
14015 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
14016 *" strnlen.
$ac_objext "* ) ;;
14017 *) LIBOBJS="$LIBOBJS strnlen.
$ac_objext"
14022 { echo "$as_me:$LINENO: checking
for working strtod
" >&5
14023 echo $ECHO_N "checking
for working strtod...
$ECHO_C" >&6; }
14024 if test "${ac_cv_func_strtod+set}" = set; then
14025 echo $ECHO_N "(cached
) $ECHO_C" >&6
14027 if test "$cross_compiling" = yes; then
14028 ac_cv_func_strtod=no
14030 cat >conftest.$ac_ext <<_ACEOF
14033 cat confdefs.h >>conftest.$ac_ext
14034 cat >>conftest.$ac_ext <<_ACEOF
14035 /* end confdefs.h. */
14037 $ac_includes_default
14045 /* Some versions of Linux strtod mis-parse strings with leading '+'. */
14046 char *string = " +69";
14049 value = strtod (string, &term);
14050 if (value != 69 || term != (string + 4))
14055 /* Under Solaris 2.4, strtod returns the wrong value for the
14056 terminating character under some conditions. */
14057 char *string = "NaN
";
14059 strtod (string, &term);
14060 if (term != string && *(term - 1) == 0)
14067 rm -f conftest$ac_exeext
14068 if { (ac_try="$ac_link"
14069 case "(($ac_try" in
14070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14071 *) ac_try_echo=$ac_try;;
14073 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14074 (eval "$ac_link") 2>&5
14076 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14078 { (case "(($ac_try" in
14079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14080 *) ac_try_echo=$ac_try;;
14082 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14083 (eval "$ac_try") 2>&5
14085 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14086 (exit $ac_status); }; }; then
14087 ac_cv_func_strtod=yes
14089 echo "$as_me: program exited with status
$ac_status" >&5
14090 echo "$as_me: failed program was
:" >&5
14091 sed 's/^/| /' conftest.$ac_ext >&5
14093 ( exit $ac_status )
14094 ac_cv_func_strtod=no
14096 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14101 { echo "$as_me:$LINENO: result
: $ac_cv_func_strtod" >&5
14102 echo "${ECHO_T}$ac_cv_func_strtod" >&6; }
14103 if test $ac_cv_func_strtod = no; then
14104 case " $LIBOBJS " in
14105 *" strtod.
$ac_objext "* ) ;;
14106 *) LIBOBJS="$LIBOBJS strtod.
$ac_objext"
14110 { echo "$as_me:$LINENO: checking
for pow
" >&5
14111 echo $ECHO_N "checking
for pow...
$ECHO_C" >&6; }
14112 if test "${ac_cv_func_pow+set}" = set; then
14113 echo $ECHO_N "(cached
) $ECHO_C" >&6
14115 cat >conftest.$ac_ext <<_ACEOF
14118 cat confdefs.h >>conftest.$ac_ext
14119 cat >>conftest.$ac_ext <<_ACEOF
14120 /* end confdefs.h. */
14121 /* Define pow to an innocuous variant, in case <limits.h> declares pow.
14122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14123 #define pow innocuous_pow
14125 /* System header to define __stub macros and hopefully few prototypes,
14126 which can conflict with char pow (); below.
14127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14128 <limits.h> exists even on freestanding compilers. */
14131 # include <limits.h>
14133 # include <assert.h>
14138 /* Override any GCC internal prototype to avoid an error.
14139 Use char because int might match the return type of a GCC
14140 builtin and then its argument prototype would still apply. */
14145 /* The GNU C library defines this for functions which it implements
14146 to always fail with ENOSYS. Some functions are actually named
14147 something starting with __ and the normal name is an alias. */
14148 #if defined __stub_pow || defined __stub___pow
14160 rm -f conftest.$ac_objext conftest$ac_exeext
14161 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
14169 grep -v '^ *+' conftest.er1 >conftest.err
14171 cat conftest.err >&5
14172 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14173 (exit $ac_status); } && {
14174 test -z "$ac_c_werror_flag" ||
14175 test ! -s conftest.err
14176 } && test -s conftest$ac_exeext &&
14177 $as_test_x conftest$ac_exeext; then
14180 echo "$as_me: failed program was
:" >&5
14181 sed 's/^/| /' conftest.$ac_ext >&5
14186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14187 conftest$ac_exeext conftest.$ac_ext
14189 { echo "$as_me:$LINENO: result
: $ac_cv_func_pow" >&5
14190 echo "${ECHO_T}$ac_cv_func_pow" >&6; }
14192 if test $ac_cv_func_pow = no; then
14193 { echo "$as_me:$LINENO: checking
for pow
in -lm" >&5
14194 echo $ECHO_N "checking
for pow
in -lm...
$ECHO_C" >&6; }
14195 if test "${ac_cv_lib_m_pow+set}" = set; then
14196 echo $ECHO_N "(cached
) $ECHO_C" >&6
14198 ac_check_lib_save_LIBS=$LIBS
14200 cat >conftest.$ac_ext <<_ACEOF
14203 cat confdefs.h >>conftest.$ac_ext
14204 cat >>conftest.$ac_ext <<_ACEOF
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (ac_try="$ac_link"
14224 case "(($ac_try" in
14225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14226 *) ac_try_echo=$ac_try;;
14228 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14229 (eval "$ac_link") 2>conftest.er1
14231 grep -v '^ *+' conftest.er1 >conftest.err
14233 cat conftest.err >&5
14234 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14235 (exit $ac_status); } && {
14236 test -z "$ac_c_werror_flag" ||
14237 test ! -s conftest.err
14238 } && test -s conftest$ac_exeext &&
14239 $as_test_x conftest$ac_exeext; then
14240 ac_cv_lib_m_pow=yes
14242 echo "$as_me: failed program was
:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_lib_save_LIBS
14252 { echo "$as_me:$LINENO: result
: $ac_cv_lib_m_pow" >&5
14253 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
14254 if test $ac_cv_lib_m_pow = yes; then
14257 { echo "$as_me:$LINENO: WARNING
: cannot
find library containing definition of pow
" >&5
14258 echo "$as_me: WARNING
: cannot
find library containing definition of pow
" >&2;}
14273 { echo "$as_me:$LINENO: checking whether utime accepts a null argument
" >&5
14274 echo $ECHO_N "checking whether utime accepts a null argument...
$ECHO_C" >&6; }
14275 if test "${ac_cv_func_utime_null+set}" = set; then
14276 echo $ECHO_N "(cached
) $ECHO_C" >&6
14278 rm -f conftest.data; >conftest.data
14279 # Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
14280 if test "$cross_compiling" = yes; then
14281 ac_cv_func_utime_null=no
14283 cat >conftest.$ac_ext <<_ACEOF
14286 cat confdefs.h >>conftest.$ac_ext
14287 cat >>conftest.$ac_ext <<_ACEOF
14288 /* end confdefs.h. */
14289 $ac_includes_default
14290 #ifdef HAVE_UTIME_H
14291 # include <utime.h>
14297 return ! (stat ("conftest.data
", &s) == 0
14298 && utime ("conftest.data
", 0) == 0
14299 && stat ("conftest.data
", &t) == 0
14300 && t.st_mtime >= s.st_mtime
14301 && t.st_mtime - s.st_mtime < 120);
14306 rm -f conftest$ac_exeext
14307 if { (ac_try="$ac_link"
14308 case "(($ac_try" in
14309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14310 *) ac_try_echo=$ac_try;;
14312 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14313 (eval "$ac_link") 2>&5
14315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14316 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14317 { (case "(($ac_try" in
14318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14319 *) ac_try_echo=$ac_try;;
14321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14322 (eval "$ac_try") 2>&5
14324 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14325 (exit $ac_status); }; }; then
14326 ac_cv_func_utime_null=yes
14328 echo "$as_me: program exited with status
$ac_status" >&5
14329 echo "$as_me: failed program was
:" >&5
14330 sed 's/^/| /' conftest.$ac_ext >&5
14332 ( exit $ac_status )
14333 ac_cv_func_utime_null=no
14335 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14340 { echo "$as_me:$LINENO: result
: $ac_cv_func_utime_null" >&5
14341 echo "${ECHO_T}$ac_cv_func_utime_null" >&6; }
14342 if test $ac_cv_func_utime_null = yes; then
14344 cat >>confdefs.h <<\_ACEOF
14345 #define HAVE_UTIME_NULL 1
14349 rm -f conftest.data
14352 for ac_func in vprintf
14354 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14355 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14356 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14357 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14358 echo $ECHO_N "(cached
) $ECHO_C" >&6
14360 cat >conftest.$ac_ext <<_ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14368 #define $ac_func innocuous_$ac_func
14370 /* System header to define __stub macros and hopefully few prototypes,
14371 which can conflict with char $ac_func (); below.
14372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14373 <limits.h> exists even on freestanding compilers. */
14376 # include <limits.h>
14378 # include <assert.h>
14383 /* Override any GCC internal prototype to avoid an error.
14384 Use char because int might match the return type of a GCC
14385 builtin and then its argument prototype would still apply. */
14390 /* The GNU C library defines this for functions which it implements
14391 to always fail with ENOSYS. Some functions are actually named
14392 something starting with __ and the normal name is an alias. */
14393 #if defined __stub_$ac_func || defined __stub___$ac_func
14400 return $ac_func ();
14405 rm -f conftest.$ac_objext conftest$ac_exeext
14406 if { (ac_try="$ac_link"
14407 case "(($ac_try" in
14408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14409 *) ac_try_echo=$ac_try;;
14411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14412 (eval "$ac_link") 2>conftest.er1
14414 grep -v '^ *+' conftest.er1 >conftest.err
14416 cat conftest.err >&5
14417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14418 (exit $ac_status); } && {
14419 test -z "$ac_c_werror_flag" ||
14420 test ! -s conftest.err
14421 } && test -s conftest$ac_exeext &&
14422 $as_test_x conftest$ac_exeext; then
14423 eval "$as_ac_var=yes"
14425 echo "$as_me: failed program was
:" >&5
14426 sed 's/^/| /' conftest.$ac_ext >&5
14428 eval "$as_ac_var=no
"
14431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14432 conftest$ac_exeext conftest.$ac_ext
14434 ac_res=`eval echo '${'$as_ac_var'}'`
14435 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14436 echo "${ECHO_T}$ac_res" >&6; }
14437 if test `eval echo '${'$as_ac_var'}'` = yes; then
14438 cat >>confdefs.h <<_ACEOF
14439 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14442 { echo "$as_me:$LINENO: checking
for _doprnt
" >&5
14443 echo $ECHO_N "checking
for _doprnt...
$ECHO_C" >&6; }
14444 if test "${ac_cv_func__doprnt+set}" = set; then
14445 echo $ECHO_N "(cached
) $ECHO_C" >&6
14447 cat >conftest.$ac_ext <<_ACEOF
14450 cat confdefs.h >>conftest.$ac_ext
14451 cat >>conftest.$ac_ext <<_ACEOF
14452 /* end confdefs.h. */
14453 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
14454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14455 #define _doprnt innocuous__doprnt
14457 /* System header to define __stub macros and hopefully few prototypes,
14458 which can conflict with char _doprnt (); below.
14459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14460 <limits.h> exists even on freestanding compilers. */
14463 # include <limits.h>
14465 # include <assert.h>
14470 /* Override any GCC internal prototype to avoid an error.
14471 Use char because int might match the return type of a GCC
14472 builtin and then its argument prototype would still apply. */
14477 /* The GNU C library defines this for functions which it implements
14478 to always fail with ENOSYS. Some functions are actually named
14479 something starting with __ and the normal name is an alias. */
14480 #if defined __stub__doprnt || defined __stub____doprnt
14492 rm -f conftest.$ac_objext conftest$ac_exeext
14493 if { (ac_try="$ac_link"
14494 case "(($ac_try" in
14495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14496 *) ac_try_echo=$ac_try;;
14498 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14499 (eval "$ac_link") 2>conftest.er1
14501 grep -v '^ *+' conftest.er1 >conftest.err
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14505 (exit $ac_status); } && {
14506 test -z "$ac_c_werror_flag" ||
14507 test ! -s conftest.err
14508 } && test -s conftest$ac_exeext &&
14509 $as_test_x conftest$ac_exeext; then
14510 ac_cv_func__doprnt=yes
14512 echo "$as_me: failed program was
:" >&5
14513 sed 's/^/| /' conftest.$ac_ext >&5
14515 ac_cv_func__doprnt=no
14518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14519 conftest$ac_exeext conftest.$ac_ext
14521 { echo "$as_me:$LINENO: result
: $ac_cv_func__doprnt" >&5
14522 echo "${ECHO_T}$ac_cv_func__doprnt" >&6; }
14523 if test $ac_cv_func__doprnt = yes; then
14525 cat >>confdefs.h <<\_ACEOF
14526 #define HAVE_DOPRNT 1
14584 for ac_func in asprintf atexit bzero dup2 endpwent floor ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap pow putenv re_comp regcomp rint select setenv socket sqrt strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf
14586 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
14587 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
14588 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
14589 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
14590 echo $ECHO_N "(cached
) $ECHO_C" >&6
14592 cat >conftest.$ac_ext <<_ACEOF
14595 cat confdefs.h >>conftest.$ac_ext
14596 cat >>conftest.$ac_ext <<_ACEOF
14597 /* end confdefs.h. */
14598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14600 #define $ac_func innocuous_$ac_func
14602 /* System header to define __stub macros and hopefully few prototypes,
14603 which can conflict with char $ac_func (); below.
14604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14605 <limits.h> exists even on freestanding compilers. */
14608 # include <limits.h>
14610 # include <assert.h>
14615 /* Override any GCC internal prototype to avoid an error.
14616 Use char because int might match the return type of a GCC
14617 builtin and then its argument prototype would still apply. */
14622 /* The GNU C library defines this for functions which it implements
14623 to always fail with ENOSYS. Some functions are actually named
14624 something starting with __ and the normal name is an alias. */
14625 #if defined __stub_$ac_func || defined __stub___$ac_func
14632 return $ac_func ();
14637 rm -f conftest.$ac_objext conftest$ac_exeext
14638 if { (ac_try="$ac_link"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14643 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_link") 2>conftest.er1
14646 grep -v '^ *+' conftest.er1 >conftest.err
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14650 (exit $ac_status); } && {
14651 test -z "$ac_c_werror_flag" ||
14652 test ! -s conftest.err
14653 } && test -s conftest$ac_exeext &&
14654 $as_test_x conftest$ac_exeext; then
14655 eval "$as_ac_var=yes"
14657 echo "$as_me: failed program was
:" >&5
14658 sed 's/^/| /' conftest.$ac_ext >&5
14660 eval "$as_ac_var=no
"
14663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14664 conftest$ac_exeext conftest.$ac_ext
14666 ac_res=`eval echo '${'$as_ac_var'}'`
14667 { echo "$as_me:$LINENO: result
: $ac_res" >&5
14668 echo "${ECHO_T}$ac_res" >&6; }
14669 if test `eval echo '${'$as_ac_var'}'` = yes; then
14670 cat >>confdefs.h <<_ACEOF
14671 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
14678 # some systems already have gethostbyname_r so we don't need to build ours in main/utils.c
14679 { echo "$as_me:$LINENO: checking
for library containing gethostbyname_r
" >&5
14680 echo $ECHO_N "checking
for library containing gethostbyname_r...
$ECHO_C" >&6; }
14681 if test "${ac_cv_search_gethostbyname_r+set}" = set; then
14682 echo $ECHO_N "(cached
) $ECHO_C" >&6
14684 ac_func_search_save_LIBS=$LIBS
14685 cat >conftest.$ac_ext <<_ACEOF
14688 cat confdefs.h >>conftest.$ac_ext
14689 cat >>conftest.$ac_ext <<_ACEOF
14690 /* end confdefs.h. */
14692 /* Override any GCC internal prototype to avoid an error.
14693 Use char because int might match the return type of a GCC
14694 builtin and then its argument prototype would still apply. */
14698 char gethostbyname_r ();
14702 return gethostbyname_r ();
14707 for ac_lib in '' socket nsl; do
14708 if test -z "$ac_lib"; then
14709 ac_res="none required
"
14712 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14714 rm -f conftest.$ac_objext conftest$ac_exeext
14715 if { (ac_try="$ac_link"
14716 case "(($ac_try" in
14717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14718 *) ac_try_echo=$ac_try;;
14720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14721 (eval "$ac_link") 2>conftest.er1
14723 grep -v '^ *+' conftest.er1 >conftest.err
14725 cat conftest.err >&5
14726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14727 (exit $ac_status); } && {
14728 test -z "$ac_c_werror_flag" ||
14729 test ! -s conftest.err
14730 } && test -s conftest$ac_exeext &&
14731 $as_test_x conftest$ac_exeext; then
14732 ac_cv_search_gethostbyname_r=$ac_res
14734 echo "$as_me: failed program was
:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14742 if test "${ac_cv_search_gethostbyname_r+set}" = set; then
14746 if test "${ac_cv_search_gethostbyname_r+set}" = set; then
14749 ac_cv_search_gethostbyname_r=no
14751 rm conftest.$ac_ext
14752 LIBS=$ac_func_search_save_LIBS
14754 { echo "$as_me:$LINENO: result
: $ac_cv_search_gethostbyname_r" >&5
14755 echo "${ECHO_T}$ac_cv_search_gethostbyname_r" >&6; }
14756 ac_res=$ac_cv_search_gethostbyname_r
14757 if test "$ac_res" != no; then
14758 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
14763 { echo "$as_me:$LINENO: checking
for gethostbyname_r with
6 arguments
" >&5
14764 echo $ECHO_N "checking
for gethostbyname_r with
6 arguments...
$ECHO_C" >&6; }
14765 cat >conftest.$ac_ext <<_ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h. */
14771 #include <stdlib.h>
14776 struct hostent *he = gethostbyname_r((const char *)NULL, (struct hostent *)NULL, (char *)NULL, (int)0, (struct hostent **)NULL, (int *)NULL);
14781 rm -f conftest.$ac_objext conftest$ac_exeext
14782 if { (ac_try="$ac_link"
14783 case "(($ac_try" in
14784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14785 *) ac_try_echo=$ac_try;;
14787 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14788 (eval "$ac_link") 2>conftest.er1
14790 grep -v '^ *+' conftest.er1 >conftest.err
14792 cat conftest.err >&5
14793 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14794 (exit $ac_status); } && {
14795 test -z "$ac_c_werror_flag" ||
14796 test ! -s conftest.err
14797 } && test -s conftest$ac_exeext &&
14798 $as_test_x conftest$ac_exeext; then
14799 { echo "$as_me:$LINENO: result
: yes" >&5
14800 echo "${ECHO_T}yes" >&6; }
14802 cat >>confdefs.h <<\_ACEOF
14803 #define HAVE_GETHOSTBYNAME_R_6 1
14807 echo "$as_me: failed program was
:" >&5
14808 sed 's/^/| /' conftest.$ac_ext >&5
14810 { echo "$as_me:$LINENO: result
: no
" >&5
14811 echo "${ECHO_T}no
" >&6; }
14815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14816 conftest$ac_exeext conftest.$ac_ext
14818 { echo "$as_me:$LINENO: checking
for gethostbyname_r with
5 arguments
" >&5
14819 echo $ECHO_N "checking
for gethostbyname_r with
5 arguments...
$ECHO_C" >&6; }
14820 cat >conftest.$ac_ext <<_ACEOF
14823 cat confdefs.h >>conftest.$ac_ext
14824 cat >>conftest.$ac_ext <<_ACEOF
14825 /* end confdefs.h. */
14826 #include <stdlib.h>
14831 struct hostent *he = gethostbyname_r((const char *)NULL, (struct hostent *)NULL, (char *)NULL, (int)0, (int *)NULL);
14836 rm -f conftest.$ac_objext conftest$ac_exeext
14837 if { (ac_try="$ac_link"
14838 case "(($ac_try" in
14839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14840 *) ac_try_echo=$ac_try;;
14842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14843 (eval "$ac_link") 2>conftest.er1
14845 grep -v '^ *+' conftest.er1 >conftest.err
14847 cat conftest.err >&5
14848 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14849 (exit $ac_status); } && {
14850 test -z "$ac_c_werror_flag" ||
14851 test ! -s conftest.err
14852 } && test -s conftest$ac_exeext &&
14853 $as_test_x conftest$ac_exeext; then
14854 { echo "$as_me:$LINENO: result
: yes" >&5
14855 echo "${ECHO_T}yes" >&6; }
14857 cat >>confdefs.h <<\_ACEOF
14858 #define HAVE_GETHOSTBYNAME_R_5 1
14862 echo "$as_me: failed program was
:" >&5
14863 sed 's/^/| /' conftest.$ac_ext >&5
14865 { echo "$as_me:$LINENO: result
: no
" >&5
14866 echo "${ECHO_T}no
" >&6; }
14870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14871 conftest$ac_exeext conftest.$ac_ext
14873 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_INITIALIZER
" >&5
14874 echo $ECHO_N "checking
for PTHREAD_RWLOCK_INITIALIZER...
$ECHO_C" >&6; }
14875 cat >conftest.$ac_ext <<_ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14881 #include <pthread.h>
14885 int foo = PTHREAD_RWLOCK_INITIALIZER;
14890 rm -f conftest.$ac_objext conftest$ac_exeext
14891 if { (ac_try="$ac_link"
14892 case "(($ac_try" in
14893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14894 *) ac_try_echo=$ac_try;;
14896 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14897 (eval "$ac_link") 2>conftest.er1
14899 grep -v '^ *+' conftest.er1 >conftest.err
14901 cat conftest.err >&5
14902 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14903 (exit $ac_status); } && {
14904 test -z "$ac_c_werror_flag" ||
14905 test ! -s conftest.err
14906 } && test -s conftest$ac_exeext &&
14907 $as_test_x conftest$ac_exeext; then
14908 { echo "$as_me:$LINENO: result
: yes" >&5
14909 echo "${ECHO_T}yes" >&6; }
14911 cat >>confdefs.h <<\_ACEOF
14912 #define HAVE_PTHREAD_RWLOCK_INITIALIZER 1
14916 echo "$as_me: failed program was
:" >&5
14917 sed 's/^/| /' conftest.$ac_ext >&5
14919 { echo "$as_me:$LINENO: result
: no
" >&5
14920 echo "${ECHO_T}no
" >&6; }
14924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14925 conftest$ac_exeext conftest.$ac_ext
14927 { echo "$as_me:$LINENO: checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP
" >&5
14928 echo $ECHO_N "checking
for PTHREAD_RWLOCK_PREFER_WRITER_NP...
$ECHO_C" >&6; }
14929 cat >conftest.$ac_ext <<_ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 #include <pthread.h>
14939 int foo = PTHREAD_RWLOCK_PREFER_WRITER_NP;
14944 rm -f conftest.$ac_objext conftest$ac_exeext
14945 if { (ac_try="$ac_link"
14946 case "(($ac_try" in
14947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14948 *) ac_try_echo=$ac_try;;
14950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
14951 (eval "$ac_link") 2>conftest.er1
14953 grep -v '^ *+' conftest.er1 >conftest.err
14955 cat conftest.err >&5
14956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
14957 (exit $ac_status); } && {
14958 test -z "$ac_c_werror_flag" ||
14959 test ! -s conftest.err
14960 } && test -s conftest$ac_exeext &&
14961 $as_test_x conftest$ac_exeext; then
14962 { echo "$as_me:$LINENO: result
: yes" >&5
14963 echo "${ECHO_T}yes" >&6; }
14965 cat >>confdefs.h <<\_ACEOF
14966 #define HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP 1
14970 echo "$as_me: failed program was
:" >&5
14971 sed 's/^/| /' conftest.$ac_ext >&5
14973 { echo "$as_me:$LINENO: result
: no
" >&5
14974 echo "${ECHO_T}no
" >&6; }
14978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14979 conftest$ac_exeext conftest.$ac_ext
14981 { echo "$as_me:$LINENO: checking
for compiler atomic operations
" >&5
14982 echo $ECHO_N "checking
for compiler atomic operations...
$ECHO_C" >&6; }
14983 cat >conftest.$ac_ext <<_ACEOF
14986 cat confdefs.h >>conftest.$ac_ext
14987 cat >>conftest.$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14993 int foo1; int foo2 = __sync_fetch_and_add(&foo1, 1);
14998 rm -f conftest.$ac_objext conftest$ac_exeext
14999 if { (ac_try="$ac_link"
15000 case "(($ac_try" in
15001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15002 *) ac_try_echo=$ac_try;;
15004 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15005 (eval "$ac_link") 2>conftest.er1
15007 grep -v '^ *+' conftest.er1 >conftest.err
15009 cat conftest.err >&5
15010 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15011 (exit $ac_status); } && {
15012 test -z "$ac_c_werror_flag" ||
15013 test ! -s conftest.err
15014 } && test -s conftest$ac_exeext &&
15015 $as_test_x conftest$ac_exeext; then
15016 { echo "$as_me:$LINENO: result
: yes" >&5
15017 echo "${ECHO_T}yes" >&6; }
15019 cat >>confdefs.h <<\_ACEOF
15020 #define HAVE_GCC_ATOMICS 1
15024 echo "$as_me: failed program was
:" >&5
15025 sed 's/^/| /' conftest.$ac_ext >&5
15027 { echo "$as_me:$LINENO: result
: no
" >&5
15028 echo "${ECHO_T}no
" >&6; }
15032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15033 conftest$ac_exeext conftest.$ac_ext
15036 { echo "$as_me:$LINENO: checking
for compiler
'attribute pure' support
" >&5
15037 echo $ECHO_N "checking
for compiler
'attribute pure' support...
$ECHO_C" >&6; }
15038 cat >conftest.$ac_ext <<_ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15044 static int __attribute__((pure)) test(void) {}
15053 rm -f conftest.$ac_objext
15054 if { (ac_try="$ac_compile"
15055 case "(($ac_try" in
15056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15057 *) ac_try_echo=$ac_try;;
15059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_compile") 2>conftest.er1
15062 grep -v '^ *+' conftest.er1 >conftest.err
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest.$ac_objext; then
15070 { echo "$as_me:$LINENO: result
: yes" >&5
15071 echo "${ECHO_T}yes" >&6; }
15073 cat >>confdefs.h <<_ACEOF
15074 #define HAVE_ATTRIBUTE_pure 1
15078 echo "$as_me: failed program was
:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15081 { echo "$as_me:$LINENO: result
: no
" >&5
15082 echo "${ECHO_T}no
" >&6; }
15085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15088 { echo "$as_me:$LINENO: checking
for compiler
'attribute malloc' support
" >&5
15089 echo $ECHO_N "checking
for compiler
'attribute malloc' support...
$ECHO_C" >&6; }
15090 cat >conftest.$ac_ext <<_ACEOF
15093 cat confdefs.h >>conftest.$ac_ext
15094 cat >>conftest.$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15096 static int __attribute__((malloc)) test(void) {}
15105 rm -f conftest.$ac_objext
15106 if { (ac_try="$ac_compile"
15107 case "(($ac_try" in
15108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15109 *) ac_try_echo=$ac_try;;
15111 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15112 (eval "$ac_compile") 2>conftest.er1
15114 grep -v '^ *+' conftest.er1 >conftest.err
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15118 (exit $ac_status); } && {
15119 test -z "$ac_c_werror_flag" ||
15120 test ! -s conftest.err
15121 } && test -s conftest.$ac_objext; then
15122 { echo "$as_me:$LINENO: result
: yes" >&5
15123 echo "${ECHO_T}yes" >&6; }
15125 cat >>confdefs.h <<_ACEOF
15126 #define HAVE_ATTRIBUTE_malloc 1
15130 echo "$as_me: failed program was
:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 { echo "$as_me:$LINENO: result
: no
" >&5
15134 echo "${ECHO_T}no
" >&6; }
15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15140 { echo "$as_me:$LINENO: checking
for compiler
'attribute const' support
" >&5
15141 echo $ECHO_N "checking
for compiler
'attribute const' support...
$ECHO_C" >&6; }
15142 cat >conftest.$ac_ext <<_ACEOF
15145 cat confdefs.h >>conftest.$ac_ext
15146 cat >>conftest.$ac_ext <<_ACEOF
15147 /* end confdefs.h. */
15148 static int __attribute__((const)) test(void) {}
15157 rm -f conftest.$ac_objext
15158 if { (ac_try="$ac_compile"
15159 case "(($ac_try" in
15160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15161 *) ac_try_echo=$ac_try;;
15163 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15164 (eval "$ac_compile") 2>conftest.er1
15166 grep -v '^ *+' conftest.er1 >conftest.err
15168 cat conftest.err >&5
15169 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15170 (exit $ac_status); } && {
15171 test -z "$ac_c_werror_flag" ||
15172 test ! -s conftest.err
15173 } && test -s conftest.$ac_objext; then
15174 { echo "$as_me:$LINENO: result
: yes" >&5
15175 echo "${ECHO_T}yes" >&6; }
15177 cat >>confdefs.h <<_ACEOF
15178 #define HAVE_ATTRIBUTE_const 1
15182 echo "$as_me: failed program was
:" >&5
15183 sed 's/^/| /' conftest.$ac_ext >&5
15185 { echo "$as_me:$LINENO: result
: no
" >&5
15186 echo "${ECHO_T}no
" >&6; }
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15192 { echo "$as_me:$LINENO: checking
for compiler
'attribute unused' support
" >&5
15193 echo $ECHO_N "checking
for compiler
'attribute unused' support...
$ECHO_C" >&6; }
15194 cat >conftest.$ac_ext <<_ACEOF
15197 cat confdefs.h >>conftest.$ac_ext
15198 cat >>conftest.$ac_ext <<_ACEOF
15199 /* end confdefs.h. */
15200 static int __attribute__((unused)) test(void) {}
15209 rm -f conftest.$ac_objext
15210 if { (ac_try="$ac_compile"
15211 case "(($ac_try" in
15212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15213 *) ac_try_echo=$ac_try;;
15215 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15216 (eval "$ac_compile") 2>conftest.er1
15218 grep -v '^ *+' conftest.er1 >conftest.err
15220 cat conftest.err >&5
15221 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15222 (exit $ac_status); } && {
15223 test -z "$ac_c_werror_flag" ||
15224 test ! -s conftest.err
15225 } && test -s conftest.$ac_objext; then
15226 { echo "$as_me:$LINENO: result
: yes" >&5
15227 echo "${ECHO_T}yes" >&6; }
15229 cat >>confdefs.h <<_ACEOF
15230 #define HAVE_ATTRIBUTE_unused 1
15234 echo "$as_me: failed program was
:" >&5
15235 sed 's/^/| /' conftest.$ac_ext >&5
15237 { echo "$as_me:$LINENO: result
: no
" >&5
15238 echo "${ECHO_T}no
" >&6; }
15241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15244 { echo "$as_me:$LINENO: checking
for compiler
'attribute always_inline' support
" >&5
15245 echo $ECHO_N "checking
for compiler
'attribute always_inline' support...
$ECHO_C" >&6; }
15246 cat >conftest.$ac_ext <<_ACEOF
15249 cat confdefs.h >>conftest.$ac_ext
15250 cat >>conftest.$ac_ext <<_ACEOF
15251 /* end confdefs.h. */
15252 static int __attribute__((always_inline)) test(void) {}
15261 rm -f conftest.$ac_objext
15262 if { (ac_try="$ac_compile"
15263 case "(($ac_try" in
15264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15265 *) ac_try_echo=$ac_try;;
15267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15268 (eval "$ac_compile") 2>conftest.er1
15270 grep -v '^ *+' conftest.er1 >conftest.err
15272 cat conftest.err >&5
15273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15274 (exit $ac_status); } && {
15275 test -z "$ac_c_werror_flag" ||
15276 test ! -s conftest.err
15277 } && test -s conftest.$ac_objext; then
15278 { echo "$as_me:$LINENO: result
: yes" >&5
15279 echo "${ECHO_T}yes" >&6; }
15281 cat >>confdefs.h <<_ACEOF
15282 #define HAVE_ATTRIBUTE_always_inline 1
15286 echo "$as_me: failed program was
:" >&5
15287 sed 's/^/| /' conftest.$ac_ext >&5
15289 { echo "$as_me:$LINENO: result
: no
" >&5
15290 echo "${ECHO_T}no
" >&6; }
15293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15296 { echo "$as_me:$LINENO: checking
for -ffunction-sections support
" >&5
15297 echo $ECHO_N "checking
for -ffunction-sections support...
$ECHO_C" >&6; }
15298 saved_CFLAGS="${CFLAGS}"
15299 CFLAGS="${CFLAGS} -ffunction-sections"
15300 cat >conftest.$ac_ext <<_ACEOF
15303 cat confdefs.h >>conftest.$ac_ext
15304 cat >>conftest.$ac_ext <<_ACEOF
15305 /* end confdefs.h. */
15315 rm -f conftest.$ac_objext
15316 if { (ac_try="$ac_compile"
15317 case "(($ac_try" in
15318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15319 *) ac_try_echo=$ac_try;;
15321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15322 (eval "$ac_compile") 2>conftest.er1
15324 grep -v '^ *+' conftest.er1 >conftest.err
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15328 (exit $ac_status); } && {
15329 test -z "$ac_c_werror_flag" ||
15330 test ! -s conftest.err
15331 } && test -s conftest.$ac_objext; then
15332 { echo "$as_me:$LINENO: result
: yes" >&5
15333 echo "${ECHO_T}yes" >&6; }
15334 saved_LDFLAGS="${LDFLAGS}"
15335 LDFLAGS="${LDFLAGS} -Wl,--gc-sections"
15336 { echo "$as_me:$LINENO: checking
for --gc-sections support
" >&5
15337 echo $ECHO_N "checking
for --gc-sections support...
$ECHO_C" >&6; }
15338 cat >conftest.$ac_ext <<_ACEOF
15341 cat confdefs.h >>conftest.$ac_ext
15342 cat >>conftest.$ac_ext <<_ACEOF
15343 /* end confdefs.h. */
15353 rm -f conftest.$ac_objext conftest$ac_exeext
15354 if { (ac_try="$ac_link"
15355 case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_link") 2>conftest.er1
15362 grep -v '^ *+' conftest.er1 >conftest.err
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15366 (exit $ac_status); } && {
15367 test -z "$ac_c_werror_flag" ||
15368 test ! -s conftest.err
15369 } && test -s conftest$ac_exeext &&
15370 $as_test_x conftest$ac_exeext; then
15371 { echo "$as_me:$LINENO: result
: yes" >&5
15372 echo "${ECHO_T}yes" >&6; }
15373 GC_CFLAGS="-ffunction-sections"
15374 GC_LDFLAGS="-Wl,--gc-sections"
15376 echo "$as_me: failed program was
:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 { echo "$as_me:$LINENO: result
: no
" >&5
15380 echo "${ECHO_T}no
" >&6; }
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LDFLAGS="${saved_LDFLAGS}"
15388 echo "$as_me: failed program was
:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15391 { echo "$as_me:$LINENO: result
: no
" >&5
15392 echo "${ECHO_T}no
" >&6; }
15396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15397 CFLAGS="${saved_CFLAGS}"
15401 { echo "$as_me:$LINENO: checking
for -Wdeclaration-after-statement support
" >&5
15402 echo $ECHO_N "checking
for -Wdeclaration-after-statement support...
$ECHO_C" >&6; }
15403 if $(${CC} -Wdeclaration-after-statement -S -o /dev/null -xc /dev/null > /dev/null 2>&1); then
15404 { echo "$as_me:$LINENO: result
: yes" >&5
15405 echo "${ECHO_T}yes" >&6; }
15406 AST_DECLARATION_AFTER_STATEMENT=-Wdeclaration-after-statement
15408 { echo "$as_me:$LINENO: result
: no
" >&5
15409 echo "${ECHO_T}no
" >&6; }
15410 AST_DECLARATION_AFTER_STATEMENT=
15414 { echo "$as_me:$LINENO: checking
for res_ninit
" >&5
15415 echo $ECHO_N "checking
for res_ninit...
$ECHO_C" >&6; }
15416 cat >conftest.$ac_ext <<_ACEOF
15419 cat confdefs.h >>conftest.$ac_ext
15420 cat >>conftest.$ac_ext <<_ACEOF
15421 /* end confdefs.h. */
15422 #include <resolv.h>
15426 int foo = res_ninit(NULL);
15431 rm -f conftest.$ac_objext conftest$ac_exeext
15432 if { (ac_try="$ac_link"
15433 case "(($ac_try" in
15434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15435 *) ac_try_echo=$ac_try;;
15437 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15438 (eval "$ac_link") 2>conftest.er1
15440 grep -v '^ *+' conftest.er1 >conftest.err
15442 cat conftest.err >&5
15443 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15444 (exit $ac_status); } && {
15445 test -z "$ac_c_werror_flag" ||
15446 test ! -s conftest.err
15447 } && test -s conftest$ac_exeext &&
15448 $as_test_x conftest$ac_exeext; then
15449 { echo "$as_me:$LINENO: result
: yes" >&5
15450 echo "${ECHO_T}yes" >&6; }
15452 cat >>confdefs.h <<\_ACEOF
15453 #define HAVE_RES_NINIT 1
15456 { echo "$as_me:$LINENO: checking
for res_ndestroy
" >&5
15457 echo $ECHO_N "checking
for res_ndestroy...
$ECHO_C" >&6; }
15458 cat >conftest.$ac_ext <<_ACEOF
15461 cat confdefs.h >>conftest.$ac_ext
15462 cat >>conftest.$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15464 #include <resolv.h>
15468 int foo = res_ndestroy(NULL);
15473 rm -f conftest.$ac_objext conftest$ac_exeext
15474 if { (ac_try="$ac_link"
15475 case "(($ac_try" in
15476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15480 (eval "$ac_link") 2>conftest.er1
15482 grep -v '^ *+' conftest.er1 >conftest.err
15484 cat conftest.err >&5
15485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15486 (exit $ac_status); } && {
15487 test -z "$ac_c_werror_flag" ||
15488 test ! -s conftest.err
15489 } && test -s conftest$ac_exeext &&
15490 $as_test_x conftest$ac_exeext; then
15491 { echo "$as_me:$LINENO: result
: yes" >&5
15492 echo "${ECHO_T}yes" >&6; }
15494 cat >>confdefs.h <<\_ACEOF
15495 #define HAVE_RES_NDESTROY 1
15499 echo "$as_me: failed program was
:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15502 { echo "$as_me:$LINENO: result
: no
" >&5
15503 echo "${ECHO_T}no
" >&6; }
15507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15508 conftest$ac_exeext conftest.$ac_ext
15510 echo "$as_me: failed program was
:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15513 { echo "$as_me:$LINENO: result
: no
" >&5
15514 echo "${ECHO_T}no
" >&6; }
15518 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15519 conftest$ac_exeext conftest.$ac_ext
15521 { echo "$as_me:$LINENO: checking
for RTLD_NOLOAD
" >&5
15522 echo $ECHO_N "checking
for RTLD_NOLOAD...
$ECHO_C" >&6; }
15523 cat >conftest.$ac_ext <<_ACEOF
15526 cat confdefs.h >>conftest.$ac_ext
15527 cat >>conftest.$ac_ext <<_ACEOF
15528 /* end confdefs.h. */
15533 int foo = RTLD_NOLOAD;
15538 rm -f conftest.$ac_objext conftest$ac_exeext
15539 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
15547 grep -v '^ *+' conftest.er1 >conftest.err
15549 cat conftest.err >&5
15550 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15551 (exit $ac_status); } && {
15552 test -z "$ac_c_werror_flag" ||
15553 test ! -s conftest.err
15554 } && test -s conftest$ac_exeext &&
15555 $as_test_x conftest$ac_exeext; then
15556 { echo "$as_me:$LINENO: result
: yes" >&5
15557 echo "${ECHO_T}yes" >&6; }
15559 cat >>confdefs.h <<\_ACEOF
15560 #define HAVE_RTLD_NOLOAD 1
15564 echo "$as_me: failed program was
:" >&5
15565 sed 's/^/| /' conftest.$ac_ext >&5
15567 { echo "$as_me:$LINENO: result
: no
" >&5
15568 echo "${ECHO_T}no
" >&6; }
15572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15573 conftest$ac_exeext conftest.$ac_ext
15575 { echo "$as_me:$LINENO: checking
for IP_MTU_DISCOVER
" >&5
15576 echo $ECHO_N "checking
for IP_MTU_DISCOVER...
$ECHO_C" >&6; }
15577 cat >conftest.$ac_ext <<_ACEOF
15580 cat confdefs.h >>conftest.$ac_ext
15581 cat >>conftest.$ac_ext <<_ACEOF
15582 /* end confdefs.h. */
15583 #include <netinet/in.h>
15587 int foo = IP_MTU_DISCOVER;
15592 rm -f conftest.$ac_objext conftest$ac_exeext
15593 if { (ac_try="$ac_link"
15594 case "(($ac_try" in
15595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15598 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_link") 2>conftest.er1
15601 grep -v '^ *+' conftest.er1 >conftest.err
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15605 (exit $ac_status); } && {
15606 test -z "$ac_c_werror_flag" ||
15607 test ! -s conftest.err
15608 } && test -s conftest$ac_exeext &&
15609 $as_test_x conftest$ac_exeext; then
15610 { echo "$as_me:$LINENO: result
: yes" >&5
15611 echo "${ECHO_T}yes" >&6; }
15613 cat >>confdefs.h <<\_ACEOF
15614 #define HAVE_IP_MTU_DISCOVER 1
15618 echo "$as_me: failed program was
:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 { echo "$as_me:$LINENO: result
: no
" >&5
15622 echo "${ECHO_T}no
" >&6; }
15626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15627 conftest$ac_exeext conftest.$ac_ext
15629 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15630 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15631 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15632 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15633 echo $ECHO_N "(cached
) $ECHO_C" >&6
15635 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15636 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15638 # Is the header compilable?
15639 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h usability
" >&5
15640 echo $ECHO_N "checking libkern
/OSAtomic.h usability...
$ECHO_C" >&6; }
15641 cat >conftest.$ac_ext <<_ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15647 $ac_includes_default
15648 #include <libkern/OSAtomic.h>
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15659 grep -v '^ *+' conftest.er1 >conftest.err
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_header_compiler=yes
15669 echo "$as_me: failed program was
:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15672 ac_header_compiler=no
15675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15676 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
15677 echo "${ECHO_T}$ac_header_compiler" >&6; }
15679 # Is the header present?
15680 { echo "$as_me:$LINENO: checking libkern
/OSAtomic.h presence
" >&5
15681 echo $ECHO_N "checking libkern
/OSAtomic.h presence...
$ECHO_C" >&6; }
15682 cat >conftest.$ac_ext <<_ACEOF
15685 cat confdefs.h >>conftest.$ac_ext
15686 cat >>conftest.$ac_ext <<_ACEOF
15687 /* end confdefs.h. */
15688 #include <libkern/OSAtomic.h>
15690 if { (ac_try="$ac_cpp conftest.
$ac_ext"
15691 case "(($ac_try" in
15692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693 *) ac_try_echo=$ac_try;;
15695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15696 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
15698 grep -v '^ *+' conftest.er1 >conftest.err
15700 cat conftest.err >&5
15701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15702 (exit $ac_status); } >/dev/null && {
15703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15704 test ! -s conftest.err
15706 ac_header_preproc=yes
15708 echo "$as_me: failed program was
:" >&5
15709 sed 's/^/| /' conftest.$ac_ext >&5
15711 ac_header_preproc=no
15714 rm -f conftest.err conftest.$ac_ext
15715 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
15716 echo "${ECHO_T}$ac_header_preproc" >&6; }
15718 # So? What about this header?
15719 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15721 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
15722 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
15723 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the compiler
's result" >&5
15724 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the compiler's result
" >&2;}
15725 ac_header_preproc=yes
15728 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&5
15729 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: present but cannot be compiled
" >&2;}
15730 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&5
15731 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: check
for missing prerequisite headers?
" >&2;}
15732 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&5
15733 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: see the Autoconf documentation
" >&2;}
15734 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&5
15735 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
15736 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: proceeding with the preprocessor
's result" >&5
15737 echo "$as_me: WARNING: libkern/OSAtomic.h: proceeding with the preprocessor's result
" >&2;}
15738 { echo "$as_me:$LINENO: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&5
15739 echo "$as_me: WARNING
: libkern
/OSAtomic.h
: in the future
, the compiler will take precedence
" >&2;}
15743 { echo "$as_me:$LINENO: checking
for libkern
/OSAtomic.h
" >&5
15744 echo $ECHO_N "checking
for libkern
/OSAtomic.h...
$ECHO_C" >&6; }
15745 if test "${ac_cv_header_libkern_OSAtomic_h+set}" = set; then
15746 echo $ECHO_N "(cached
) $ECHO_C" >&6
15748 ac_cv_header_libkern_OSAtomic_h=$ac_header_preproc
15750 { echo "$as_me:$LINENO: result
: $ac_cv_header_libkern_OSAtomic_h" >&5
15751 echo "${ECHO_T}$ac_cv_header_libkern_OSAtomic_h" >&6; }
15754 if test $ac_cv_header_libkern_OSAtomic_h = yes; then
15756 cat >>confdefs.h <<_ACEOF
15757 #define HAVE_OSX_ATOMICS 1
15764 { echo "$as_me:$LINENO: checking
for int
" >&5
15765 echo $ECHO_N "checking
for int...
$ECHO_C" >&6; }
15766 if test "${ac_cv_type_int+set}" = set; then
15767 echo $ECHO_N "(cached
) $ECHO_C" >&6
15769 cat >conftest.$ac_ext <<_ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 $ac_includes_default
15776 typedef int ac__type_new_;
15780 if ((ac__type_new_ *) 0)
15782 if (sizeof (ac__type_new_))
15788 rm -f conftest.$ac_objext
15789 if { (ac_try="$ac_compile"
15790 case "(($ac_try" in
15791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792 *) ac_try_echo=$ac_try;;
15794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15795 (eval "$ac_compile") 2>conftest.er1
15797 grep -v '^ *+' conftest.er1 >conftest.err
15799 cat conftest.err >&5
15800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15801 (exit $ac_status); } && {
15802 test -z "$ac_c_werror_flag" ||
15803 test ! -s conftest.err
15804 } && test -s conftest.$ac_objext; then
15807 echo "$as_me: failed program was
:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15815 { echo "$as_me:$LINENO: result
: $ac_cv_type_int" >&5
15816 echo "${ECHO_T}$ac_cv_type_int" >&6; }
15818 # The cast to long int works around a bug in the HP C Compiler
15819 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15820 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15821 # This bug is HP SR number 8606223364.
15822 { echo "$as_me:$LINENO: checking size of int
" >&5
15823 echo $ECHO_N "checking size of int...
$ECHO_C" >&6; }
15824 if test "${ac_cv_sizeof_int+set}" = set; then
15825 echo $ECHO_N "(cached
) $ECHO_C" >&6
15827 if test "$cross_compiling" = yes; then
15828 # Depending upon the size, compute the lo and hi bounds.
15829 cat >conftest.$ac_ext <<_ACEOF
15832 cat confdefs.h >>conftest.$ac_ext
15833 cat >>conftest.$ac_ext <<_ACEOF
15834 /* end confdefs.h. */
15835 $ac_includes_default
15836 typedef int ac__type_sizeof_;
15840 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
15847 rm -f conftest.$ac_objext
15848 if { (ac_try="$ac_compile"
15849 case "(($ac_try" in
15850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15851 *) ac_try_echo=$ac_try;;
15853 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15854 (eval "$ac_compile") 2>conftest.er1
15856 grep -v '^ *+' conftest.er1 >conftest.err
15858 cat conftest.err >&5
15859 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15860 (exit $ac_status); } && {
15861 test -z "$ac_c_werror_flag" ||
15862 test ! -s conftest.err
15863 } && test -s conftest.$ac_objext; then
15866 cat >conftest.$ac_ext <<_ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872 $ac_includes_default
15873 typedef int ac__type_sizeof_;
15877 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
15884 rm -f conftest.$ac_objext
15885 if { (ac_try="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15890 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15893 grep -v '^ *+' conftest.er1 >conftest.err
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_c_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 ac_hi=$ac_mid; break
15903 echo "$as_me: failed program was
:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15906 ac_lo=`expr $ac_mid + 1`
15907 if test $ac_lo -le $ac_mid; then
15911 ac_mid=`expr 2 '*' $ac_mid + 1`
15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917 echo "$as_me: failed program was
:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15920 cat >conftest.$ac_ext <<_ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 $ac_includes_default
15927 typedef int ac__type_sizeof_;
15931 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
15938 rm -f conftest.$ac_objext
15939 if { (ac_try="$ac_compile"
15940 case "(($ac_try" in
15941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15942 *) ac_try_echo=$ac_try;;
15944 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15945 (eval "$ac_compile") 2>conftest.er1
15947 grep -v '^ *+' conftest.er1 >conftest.err
15949 cat conftest.err >&5
15950 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15951 (exit $ac_status); } && {
15952 test -z "$ac_c_werror_flag" ||
15953 test ! -s conftest.err
15954 } && test -s conftest.$ac_objext; then
15957 cat >conftest.$ac_ext <<_ACEOF
15960 cat confdefs.h >>conftest.$ac_ext
15961 cat >>conftest.$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 $ac_includes_default
15964 typedef int ac__type_sizeof_;
15968 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
15975 rm -f conftest.$ac_objext
15976 if { (ac_try="$ac_compile"
15977 case "(($ac_try" in
15978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15979 *) ac_try_echo=$ac_try;;
15981 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15982 (eval "$ac_compile") 2>conftest.er1
15984 grep -v '^ *+' conftest.er1 >conftest.err
15986 cat conftest.err >&5
15987 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15988 (exit $ac_status); } && {
15989 test -z "$ac_c_werror_flag" ||
15990 test ! -s conftest.err
15991 } && test -s conftest.$ac_objext; then
15992 ac_lo=$ac_mid; break
15994 echo "$as_me: failed program was
:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_hi=`expr '(' $ac_mid ')' - 1`
15998 if test $ac_mid -le $ac_hi; then
16002 ac_mid=`expr 2 '*' $ac_mid`
16005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16008 echo "$as_me: failed program was
:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16018 # Binary search between lo and hi bounds.
16019 while test "x
$ac_lo" != "x
$ac_hi"; do
16020 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16021 cat >conftest.$ac_ext <<_ACEOF
16024 cat confdefs.h >>conftest.$ac_ext
16025 cat >>conftest.$ac_ext <<_ACEOF
16026 /* end confdefs.h. */
16027 $ac_includes_default
16028 typedef int ac__type_sizeof_;
16032 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16039 rm -f conftest.$ac_objext
16040 if { (ac_try="$ac_compile"
16041 case "(($ac_try" in
16042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16043 *) ac_try_echo=$ac_try;;
16045 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16046 (eval "$ac_compile") 2>conftest.er1
16048 grep -v '^ *+' conftest.er1 >conftest.err
16050 cat conftest.err >&5
16051 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16052 (exit $ac_status); } && {
16053 test -z "$ac_c_werror_flag" ||
16054 test ! -s conftest.err
16055 } && test -s conftest.$ac_objext; then
16058 echo "$as_me: failed program was
:" >&5
16059 sed 's/^/| /' conftest.$ac_ext >&5
16061 ac_lo=`expr '(' $ac_mid ')' + 1`
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16067 ?*) ac_cv_sizeof_int=$ac_lo;;
16068 '') if test "$ac_cv_type_int" = yes; then
16069 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
16070 See \
`config.log' for more details." >&5
16071 echo "$as_me: error: cannot compute sizeof (int)
16072 See \`config.log
' for more details." >&2;}
16073 { (exit 77); exit 77; }; }
16079 cat >conftest.$ac_ext <<_ACEOF
16082 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16085 $ac_includes_default
16086 typedef int ac__type_sizeof_;
16087 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
16088 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
16090 #include <stdlib.h>
16095 FILE *f = fopen ("conftest.val", "w");
16098 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
16100 long int i = longval ();
16101 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16103 fprintf (f, "%ld\n", i);
16107 unsigned long int i = ulongval ();
16108 if (i != ((long int) (sizeof (ac__type_sizeof_))))
16110 fprintf (f, "%lu\n", i);
16112 return ferror (f) || fclose (f) != 0;
16118 rm -f conftest$ac_exeext
16119 if { (ac_try="$ac_link"
16120 case "(($ac_try" in
16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_link") 2>&5
16127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16128 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
16129 { (case "(($ac_try" in
16130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16131 *) ac_try_echo=$ac_try;;
16133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16134 (eval "$ac_try") 2>&5
16136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16137 (exit $ac_status); }; }; then
16138 ac_cv_sizeof_int=`cat conftest.val`
16140 echo "$as_me: program exited with status $ac_status" >&5
16141 echo "$as_me: failed program was:" >&5
16142 sed 's
/^
/|
/' conftest.$ac_ext >&5
16144 ( exit $ac_status )
16145 if test "$ac_cv_type_int" = yes; then
16146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
16147 See \`config.log' for more details.
" >&5
16148 echo "$as_me: error
: cannot compute sizeof
(int
)
16149 See \
`config.log' for more details." >&2;}
16150 { (exit 77); exit 77; }; }
16155 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16159 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16160 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
16164 cat >>confdefs.h <<_ACEOF
16165 #define SIZEOF_INT $ac_cv_sizeof_int
16170 # do the package library checks now
16173 if test "${USE_ALSA}" != "no"; then
16175 if test "x${ALSA_DIR}" != "x"; then
16176 if test -d ${ALSA_DIR}/lib; then
16177 pbxlibdir="-L${ALSA_DIR}/lib"
16179 pbxlibdir="-L${ALSA_DIR}"
16182 { echo "$as_me:$LINENO: checking for snd_spcm_init in -lasound" >&5
16183 echo $ECHO_N "checking for snd_spcm_init in -lasound... $ECHO_C" >&6; }
16184 if test "${ac_cv_lib_asound_snd_spcm_init+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16187 ac_check_lib_save_LIBS=$LIBS
16188 LIBS="-lasound ${pbxlibdir} -lm -ldl $LIBS"
16189 cat >conftest.$ac_ext <<_ACEOF
16192 cat confdefs.h >>conftest.$ac_ext
16193 cat >>conftest.$ac_ext <<_ACEOF
16194 /* end confdefs.h. */
16196 /* Override any GCC internal prototype to avoid an error.
16197 Use char because int might match the return type of a GCC
16198 builtin and then its argument prototype would still apply. */
16202 char snd_spcm_init ();
16206 return snd_spcm_init ();
16211 rm -f conftest.$ac_objext conftest$ac_exeext
16212 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
16220 grep -v '^ *+' conftest.er1
>conftest.err
16222 cat conftest.err
>&5
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); } && {
16225 test -z "$ac_c_werror_flag" ||
16226 test ! -s conftest.err
16227 } && test -s conftest
$ac_exeext &&
16228 $as_test_x conftest
$ac_exeext; then
16229 ac_cv_lib_asound_snd_spcm_init
=yes
16231 echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 ac_cv_lib_asound_snd_spcm_init
=no
16237 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16238 conftest
$ac_exeext conftest.
$ac_ext
16239 LIBS
=$ac_check_lib_save_LIBS
16241 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_spcm_init" >&5
16242 echo "${ECHO_T}$ac_cv_lib_asound_snd_spcm_init" >&6; }
16243 if test $ac_cv_lib_asound_snd_spcm_init = yes; then
16250 if test "${AST_ALSA_FOUND}" = "yes"; then
16251 ALSA_LIB
="-lasound -lm -ldl"
16252 ALSA_HEADER_FOUND
="1"
16253 if test "x${ALSA_DIR}" != "x"; then
16254 ALSA_LIB
="${pbxlibdir} ${ALSA_LIB}"
16255 ALSA_INCLUDE
="-I${ALSA_DIR}/include"
16256 saved_cppflags
="${CPPFLAGS}"
16257 CPPFLAGS
="${CPPFLAGS} -I${ALSA_DIR}/include"
16258 if test "xalsa/asoundlib.h" != "x" ; then
16259 as_ac_Header
=`echo "ac_cv_header_${ALSA_DIR}/include/alsa/asoundlib.h" | $as_tr_sh`
16260 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16261 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16262 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16263 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16264 echo $ECHO_N "(cached) $ECHO_C" >&6
16266 ac_res
=`eval echo '${'$as_ac_Header'}'`
16267 { echo "$as_me:$LINENO: result: $ac_res" >&5
16268 echo "${ECHO_T}$ac_res" >&6; }
16270 # Is the header compilable?
16271 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h usability" >&5
16272 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h usability... $ECHO_C" >&6; }
16273 cat >conftest.
$ac_ext <<_ACEOF
16276 cat confdefs.h
>>conftest.
$ac_ext
16277 cat >>conftest.
$ac_ext <<_ACEOF
16278 /* end confdefs.h. */
16279 $ac_includes_default
16280 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
16282 rm -f conftest.
$ac_objext
16283 if { (ac_try
="$ac_compile"
16284 case "(($ac_try" in
16285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16286 *) ac_try_echo=$ac_try;;
16288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16289 (eval "$ac_compile") 2>conftest.er1
16291 grep -v '^ *+' conftest.er1 >conftest.err
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } && {
16296 test -z "$ac_c_werror_flag" ||
16297 test ! -s conftest.err
16298 } && test -s conftest.$ac_objext; then
16299 ac_header_compiler=yes
16301 echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16304 ac_header_compiler=no
16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16308 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16309 echo "${ECHO_T}$ac_header_compiler" >&6; }
16311 # Is the header present?
16312 { echo "$as_me:$LINENO: checking ${ALSA_DIR}/include/alsa/asoundlib.h presence" >&5
16313 echo $ECHO_N "checking ${ALSA_DIR}/include/alsa/asoundlib.h presence... $ECHO_C" >&6; }
16314 cat >conftest.$ac_ext <<_ACEOF
16317 cat confdefs.h >>conftest.$ac_ext
16318 cat >>conftest.$ac_ext <<_ACEOF
16319 /* end confdefs.h. */
16320 #include <${ALSA_DIR}/include/alsa/asoundlib.h>
16322 if { (ac_try="$ac_cpp conftest.$ac_ext"
16323 case "(($ac_try" in
16324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16325 *) ac_try_echo
=$ac_try;;
16327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16330 grep -v '^ *+' conftest.er1
>conftest.err
16332 cat conftest.err
>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); } >/dev
/null
&& {
16335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16336 test ! -s conftest.err
16338 ac_header_preproc
=yes
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.
$ac_ext >&5
16343 ac_header_preproc
=no
16346 rm -f conftest.err conftest.
$ac_ext
16347 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16348 echo "${ECHO_T}$ac_header_preproc" >&6; }
16350 # So? What about this header?
16351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16353 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16354 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16355 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&5
16356 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16357 ac_header_preproc
=yes
16360 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&5
16361 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: present but cannot be compiled" >&2;}
16362 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16363 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16364 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&5
16365 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16366 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16367 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16368 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16369 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16370 { echo "$as_me:$LINENO: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16371 echo "$as_me: WARNING: ${ALSA_DIR}/include/alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16375 { echo "$as_me:$LINENO: checking for ${ALSA_DIR}/include/alsa/asoundlib.h" >&5
16376 echo $ECHO_N "checking for ${ALSA_DIR}/include/alsa/asoundlib.h... $ECHO_C" >&6; }
16377 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16378 echo $ECHO_N "(cached) $ECHO_C" >&6
16380 eval "$as_ac_Header=\$ac_header_preproc"
16382 ac_res
=`eval echo '${'$as_ac_Header'}'`
16383 { echo "$as_me:$LINENO: result: $ac_res" >&5
16384 echo "${ECHO_T}$ac_res" >&6; }
16387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16388 ALSA_HEADER_FOUND
=1
16390 ALSA_HEADER_FOUND
=0
16395 CPPFLAGS
="${saved_cppflags}"
16397 if test "xalsa/asoundlib.h" != "x" ; then
16398 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16399 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16400 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16401 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16402 echo $ECHO_N "(cached) $ECHO_C" >&6
16404 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16405 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16407 # Is the header compilable?
16408 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
16409 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
16410 cat >conftest.
$ac_ext <<_ACEOF
16413 cat confdefs.h
>>conftest.
$ac_ext
16414 cat >>conftest.
$ac_ext <<_ACEOF
16415 /* end confdefs.h. */
16416 $ac_includes_default
16417 #include <alsa/asoundlib.h>
16419 rm -f conftest.
$ac_objext
16420 if { (ac_try
="$ac_compile"
16421 case "(($ac_try" in
16422 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16423 *) ac_try_echo=$ac_try;;
16425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16426 (eval "$ac_compile") 2>conftest.er1
16428 grep -v '^ *+' conftest.er1 >conftest.err
16430 cat conftest.err >&5
16431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } && {
16433 test -z "$ac_c_werror_flag" ||
16434 test ! -s conftest.err
16435 } && test -s conftest.$ac_objext; then
16436 ac_header_compiler=yes
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.$ac_ext >&5
16441 ac_header_compiler=no
16444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16445 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16446 echo "${ECHO_T}$ac_header_compiler" >&6; }
16448 # Is the header present?
16449 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
16450 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
16451 cat >conftest.$ac_ext <<_ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <alsa/asoundlib.h>
16459 if { (ac_try="$ac_cpp conftest.$ac_ext"
16460 case "(($ac_try" in
16461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16462 *) ac_try_echo
=$ac_try;;
16464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16467 grep -v '^ *+' conftest.er1
>conftest.err
16469 cat conftest.err
>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } >/dev
/null
&& {
16472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16473 test ! -s conftest.err
16475 ac_header_preproc
=yes
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.
$ac_ext >&5
16480 ac_header_preproc
=no
16483 rm -f conftest.err conftest.
$ac_ext
16484 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16485 echo "${ECHO_T}$ac_header_preproc" >&6; }
16487 # So? What about this header?
16488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16490 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
16491 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16492 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
16493 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
16494 ac_header_preproc
=yes
16497 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
16498 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
16499 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
16500 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
16501 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
16502 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
16503 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
16504 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
16505 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
16506 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
16507 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
16508 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
16512 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
16513 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
16514 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
16515 echo $ECHO_N "(cached) $ECHO_C" >&6
16517 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
16519 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
16520 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
16523 if test $ac_cv_header_alsa_asoundlib_h = yes; then
16524 ALSA_HEADER_FOUND
=1
16526 ALSA_HEADER_FOUND
=0
16532 if test "x${ALSA_HEADER_FOUND}" = "x0" ; then
16533 if test -n "${ALSA_MANDATORY}" ;
16535 { echo "$as_me:$LINENO: ***" >&5
16536 echo "$as_me: ***" >&6;}
16537 { echo "$as_me:$LINENO: *** It appears that you do not have the asound development package installed." >&5
16538 echo "$as_me: *** It appears that you do not have the asound development package installed." >&6;}
16539 { echo "$as_me:$LINENO: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&5
16540 echo "$as_me: *** Please install it to include ${ALSA_DESCRIP} support, or re-run configure" >&6;}
16541 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16542 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16551 cat >>confdefs.h
<<_ACEOF
16552 #define HAVE_ALSA 1
16556 elif test -n "${ALSA_MANDATORY}";
16558 { echo "$as_me:$LINENO: ***" >&5
16559 echo "$as_me: ***" >&6;}
16560 { echo "$as_me:$LINENO: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&5
16561 echo "$as_me: *** The ${ALSA_DESCRIP} installation on this system appears to be broken." >&6;}
16562 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16563 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16564 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ALSA_OPTION}" >&5
16565 echo "$as_me: *** without explicitly specifying --with-${ALSA_OPTION}" >&6;}
16572 if test "${USE_CURSES}" != "no"; then
16574 if test "x${CURSES_DIR}" != "x"; then
16575 if test -d ${CURSES_DIR}/lib
; then
16576 pbxlibdir
="-L${CURSES_DIR}/lib"
16578 pbxlibdir
="-L${CURSES_DIR}"
16581 { echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
16582 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
16583 if test "${ac_cv_lib_curses_initscr+set}" = set; then
16584 echo $ECHO_N "(cached) $ECHO_C" >&6
16586 ac_check_lib_save_LIBS
=$LIBS
16587 LIBS
="-lcurses ${pbxlibdir} $LIBS"
16588 cat >conftest.
$ac_ext <<_ACEOF
16591 cat confdefs.h
>>conftest.
$ac_ext
16592 cat >>conftest.
$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16610 rm -f conftest.
$ac_objext conftest
$ac_exeext
16611 if { (ac_try
="$ac_link"
16612 case "(($ac_try" in
16613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_link") 2>conftest.er1
16619 grep -v '^ *+' conftest.er1 >conftest.err
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest$ac_exeext &&
16627 $as_test_x conftest$ac_exeext; then
16628 ac_cv_lib_curses_initscr=yes
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16633 ac_cv_lib_curses_initscr=no
16636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16637 conftest$ac_exeext conftest.$ac_ext
16638 LIBS=$ac_check_lib_save_LIBS
16640 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
16641 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
16642 if test $ac_cv_lib_curses_initscr = yes; then
16643 AST_CURSES_FOUND=yes
16645 AST_CURSES_FOUND=no
16649 if test "${AST_CURSES_FOUND}" = "yes"; then
16650 CURSES_LIB="-lcurses "
16651 CURSES_HEADER_FOUND="1"
16652 if test "x${CURSES_DIR}" != "x"; then
16653 CURSES_LIB="${pbxlibdir} ${CURSES_LIB}"
16654 CURSES_INCLUDE="-I${CURSES_DIR}/include"
16655 saved_cppflags="${CPPFLAGS}"
16656 CPPFLAGS="${CPPFLAGS} -I${CURSES_DIR}/include"
16657 if test "xcurses.h" != "x" ; then
16658 as_ac_Header=`echo "ac_cv_header_${CURSES_DIR}/include/curses.h" |
$as_tr_sh`
16659 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16660 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16661 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16662 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16663 echo $ECHO_N "(cached) $ECHO_C" >&6
16665 ac_res=`eval echo '${'$as_ac_Header'}'`
16666 { echo "$as_me:$LINENO: result: $ac_res" >&5
16667 echo "${ECHO_T}$ac_res" >&6; }
16669 # Is the header compilable?
16670 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h usability" >&5
16671 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h usability... $ECHO_C" >&6; }
16672 cat >conftest.$ac_ext <<_ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 $ac_includes_default
16679 #include <${CURSES_DIR}/include/curses.h>
16681 rm -f conftest.$ac_objext
16682 if { (ac_try="$ac_compile"
16683 case "(($ac_try" in
16684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16685 *) ac_try_echo
=$ac_try;;
16687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16688 (eval "$ac_compile") 2>conftest.er1
16690 grep -v '^ *+' conftest.er1
>conftest.err
16692 cat conftest.err
>&5
16693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16694 (exit $ac_status); } && {
16695 test -z "$ac_c_werror_flag" ||
16696 test ! -s conftest.err
16697 } && test -s conftest.
$ac_objext; then
16698 ac_header_compiler
=yes
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.
$ac_ext >&5
16703 ac_header_compiler
=no
16706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16707 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16708 echo "${ECHO_T}$ac_header_compiler" >&6; }
16710 # Is the header present?
16711 { echo "$as_me:$LINENO: checking ${CURSES_DIR}/include/curses.h presence" >&5
16712 echo $ECHO_N "checking ${CURSES_DIR}/include/curses.h presence... $ECHO_C" >&6; }
16713 cat >conftest.
$ac_ext <<_ACEOF
16716 cat confdefs.h
>>conftest.
$ac_ext
16717 cat >>conftest.
$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16719 #include <${CURSES_DIR}/include/curses.h>
16721 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16722 case "(($ac_try" in
16723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16724 *) ac_try_echo=$ac_try;;
16726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16727 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16729 grep -v '^ *+' conftest.er1 >conftest.err
16731 cat conftest.err >&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); } >/dev/null && {
16734 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16735 test ! -s conftest.err
16737 ac_header_preproc=yes
16739 echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16742 ac_header_preproc=no
16745 rm -f conftest.err conftest.$ac_ext
16746 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16747 echo "${ECHO_T}$ac_header_preproc" >&6; }
16749 # So? What about this header?
16750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16752 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16753 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16754 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&5
16755 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the compiler's result" >&2;}
16756 ac_header_preproc=yes
16759 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&5
16760 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: present but cannot be compiled" >&2;}
16761 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&5
16762 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: check for missing prerequisite headers?" >&2;}
16763 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&5
16764 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: see the Autoconf documentation" >&2;}
16765 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&5
16766 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16767 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&5
16768 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: proceeding with the preprocessor's result" >&2;}
16769 { echo "$as_me:$LINENO: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&5
16770 echo "$as_me: WARNING: ${CURSES_DIR}/include/curses.h: in the future, the compiler will take precedence" >&2;}
16774 { echo "$as_me:$LINENO: checking for ${CURSES_DIR}/include/curses.h" >&5
16775 echo $ECHO_N "checking for ${CURSES_DIR}/include/curses.h... $ECHO_C" >&6; }
16776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16777 echo $ECHO_N "(cached) $ECHO_C" >&6
16779 eval "$as_ac_Header=\$ac_header_preproc"
16781 ac_res=`eval echo '${'$as_ac_Header'}'`
16782 { echo "$as_me:$LINENO: result: $ac_res" >&5
16783 echo "${ECHO_T}$ac_res" >&6; }
16786 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16787 CURSES_HEADER_FOUND=1
16789 CURSES_HEADER_FOUND=0
16794 CPPFLAGS="${saved_cppflags}"
16796 if test "xcurses.h" != "x" ; then
16797 if test "${ac_cv_header_curses_h+set}" = set; then
16798 { echo "$as_me:$LINENO: checking for curses.h" >&5
16799 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16800 if test "${ac_cv_header_curses_h+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16803 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16804 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16806 # Is the header compilable?
16807 { echo "$as_me:$LINENO: checking curses.h usability" >&5
16808 echo $ECHO_N "checking curses.h usability... $ECHO_C" >&6; }
16809 cat >conftest.$ac_ext <<_ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 $ac_includes_default
16816 #include <curses.h>
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16822 *) ac_try_echo
=$ac_try;;
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16827 grep -v '^ *+' conftest.er1
>conftest.err
16829 cat conftest.err
>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.
$ac_objext; then
16835 ac_header_compiler
=yes
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.
$ac_ext >&5
16840 ac_header_compiler
=no
16843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16844 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16845 echo "${ECHO_T}$ac_header_compiler" >&6; }
16847 # Is the header present?
16848 { echo "$as_me:$LINENO: checking curses.h presence" >&5
16849 echo $ECHO_N "checking curses.h presence... $ECHO_C" >&6; }
16850 cat >conftest.
$ac_ext <<_ACEOF
16853 cat confdefs.h
>>conftest.
$ac_ext
16854 cat >>conftest.
$ac_ext <<_ACEOF
16855 /* end confdefs.h. */
16856 #include <curses.h>
16858 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16859 case "(($ac_try" in
16860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16861 *) ac_try_echo=$ac_try;;
16863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16864 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16866 grep -v '^ *+' conftest.er1 >conftest.err
16868 cat conftest.err >&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } >/dev/null && {
16871 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16872 test ! -s conftest.err
16874 ac_header_preproc=yes
16876 echo "$as_me: failed program was:" >&5
16877 sed 's/^/| /' conftest.$ac_ext >&5
16879 ac_header_preproc=no
16882 rm -f conftest.err conftest.$ac_ext
16883 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16884 echo "${ECHO_T}$ac_header_preproc" >&6; }
16886 # So? What about this header?
16887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16889 { echo "$as_me:$LINENO: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&5
16890 echo "$as_me: WARNING: curses.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16891 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the compiler's result" >&5
16892 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result" >&2;}
16893 ac_header_preproc=yes
16896 { echo "$as_me:$LINENO: WARNING: curses.h: present but cannot be compiled" >&5
16897 echo "$as_me: WARNING: curses.h: present but cannot be compiled" >&2;}
16898 { echo "$as_me:$LINENO: WARNING: curses.h: check for missing prerequisite headers?" >&5
16899 echo "$as_me: WARNING: curses.h: check for missing prerequisite headers?" >&2;}
16900 { echo "$as_me:$LINENO: WARNING: curses.h: see the Autoconf documentation" >&5
16901 echo "$as_me: WARNING: curses.h: see the Autoconf documentation" >&2;}
16902 { echo "$as_me:$LINENO: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&5
16903 echo "$as_me: WARNING: curses.h: section \"Present But Cannot Be Compiled\"" >&2;}
16904 { echo "$as_me:$LINENO: WARNING: curses.h: proceeding with the preprocessor's result" >&5
16905 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result" >&2;}
16906 { echo "$as_me:$LINENO: WARNING: curses.h: in the future, the compiler will take precedence" >&5
16907 echo "$as_me: WARNING: curses.h: in the future, the compiler will take precedence" >&2;}
16911 { echo "$as_me:$LINENO: checking for curses.h" >&5
16912 echo $ECHO_N "checking for curses.h... $ECHO_C" >&6; }
16913 if test "${ac_cv_header_curses_h+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 ac_cv_header_curses_h=$ac_header_preproc
16918 { echo "$as_me:$LINENO: result: $ac_cv_header_curses_h" >&5
16919 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
16922 if test $ac_cv_header_curses_h = yes; then
16923 CURSES_HEADER_FOUND=1
16925 CURSES_HEADER_FOUND=0
16931 if test "x${CURSES_HEADER_FOUND}" = "x0" ; then
16932 if test -n "${CURSES_MANDATORY}" ;
16934 { echo "$as_me:$LINENO: ***" >&5
16935 echo "$as_me: ***" >&6;}
16936 { echo "$as_me:$LINENO: *** It appears that you do not have the curses development package installed." >&5
16937 echo "$as_me: *** It appears that you do not have the curses development package installed." >&6;}
16938 { echo "$as_me:$LINENO: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&5
16939 echo "$as_me: *** Please install it to include ${CURSES_DESCRIP} support, or re-run configure" >&6;}
16940 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16941 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16950 cat >>confdefs.h <<_ACEOF
16951 #define HAVE_CURSES 1
16955 elif test -n "${CURSES_MANDATORY}";
16957 { echo "$as_me:$LINENO: ***" >&5
16958 echo "$as_me: ***" >&6;}
16959 { echo "$as_me:$LINENO: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&5
16960 echo "$as_me: *** The ${CURSES_DESCRIP} installation on this system appears to be broken." >&6;}
16961 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
16962 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
16963 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${CURSES_OPTION}" >&5
16964 echo "$as_me: *** without explicitly specifying --with-${CURSES_OPTION}" >&6;}
16973 if test "${USE_GSM}" != "no"; then
16974 if test "${GSM_DIR}" = "internal"; then
16976 elif test "${GSM_DIR}" != ""; then
16979 if test "${GSM_SYSTEM}" = "yes"; then
16981 if test "x${GSM_DIR}" != "x"; then
16982 if test -d ${GSM_DIR}/lib; then
16983 gsmlibdir="-L${GSM_DIR}/lib"
16985 gsmlibdir="-L${GSM_DIR}"
16988 { echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5
16989 echo $ECHO_N "checking for gsm_create in -lgsm... $ECHO_C" >&6; }
16990 if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16993 ac_check_lib_save_LIBS=$LIBS
16994 LIBS="-lgsm ${gsmlibdir} $LIBS"
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17002 /* Override any GCC internal prototype to avoid an error.
17003 Use char because int might match the return type of a GCC
17004 builtin and then its argument prototype would still apply. */
17008 char gsm_create ();
17012 return gsm_create ();
17017 rm -f conftest.$ac_objext conftest$ac_exeext
17018 if { (ac_try="$ac_link"
17019 case "(($ac_try" in
17020 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17021 *) ac_try_echo
=$ac_try;;
17023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17024 (eval "$ac_link") 2>conftest.er1
17026 grep -v '^ *+' conftest.er1
>conftest.err
17028 cat conftest.err
>&5
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); } && {
17031 test -z "$ac_c_werror_flag" ||
17032 test ! -s conftest.err
17033 } && test -s conftest
$ac_exeext &&
17034 $as_test_x conftest
$ac_exeext; then
17035 ac_cv_lib_gsm_gsm_create
=yes
17037 echo "$as_me: failed program was:" >&5
17038 sed 's/^/| /' conftest.
$ac_ext >&5
17040 ac_cv_lib_gsm_gsm_create
=no
17043 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17044 conftest
$ac_exeext conftest.
$ac_ext
17045 LIBS
=$ac_check_lib_save_LIBS
17047 { echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5
17048 echo "${ECHO_T}$ac_cv_lib_gsm_gsm_create" >&6; }
17049 if test $ac_cv_lib_gsm_gsm_create = yes; then
17051 cat >>confdefs.h
<<_ACEOF
17057 if test "${ac_cv_lib_gsm_gsm_create}" = "yes"; then
17058 if test "x${GSM_DIR}" != "x" ; then
17059 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm.h" | $as_tr_sh`
17060 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17061 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
17062 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
17063 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17066 ac_res
=`eval echo '${'$as_ac_Header'}'`
17067 { echo "$as_me:$LINENO: result: $ac_res" >&5
17068 echo "${ECHO_T}$ac_res" >&6; }
17070 # Is the header compilable?
17071 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h usability" >&5
17072 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h usability... $ECHO_C" >&6; }
17073 cat >conftest.
$ac_ext <<_ACEOF
17076 cat confdefs.h
>>conftest.
$ac_ext
17077 cat >>conftest.
$ac_ext <<_ACEOF
17078 /* end confdefs.h. */
17079 $ac_includes_default
17080 #include <${GSM_DIR}/include/gsm.h>
17082 rm -f conftest.
$ac_objext
17083 if { (ac_try
="$ac_compile"
17084 case "(($ac_try" in
17085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_compile") 2>conftest.er1
17091 grep -v '^ *+' conftest.er1 >conftest.err
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest.$ac_objext; then
17099 ac_header_compiler=yes
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17104 ac_header_compiler=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17108 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17109 echo "${ECHO_T}$ac_header_compiler" >&6; }
17111 # Is the header present?
17112 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm.h presence" >&5
17113 echo $ECHO_N "checking ${GSM_DIR}/include/gsm.h presence... $ECHO_C" >&6; }
17114 cat >conftest.$ac_ext <<_ACEOF
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 #include <${GSM_DIR}/include/gsm.h>
17122 if { (ac_try="$ac_cpp conftest.$ac_ext"
17123 case "(($ac_try" in
17124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17125 *) ac_try_echo
=$ac_try;;
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17130 grep -v '^ *+' conftest.er1
>conftest.err
17132 cat conftest.err
>&5
17133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17134 (exit $ac_status); } >/dev
/null
&& {
17135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17136 test ! -s conftest.err
17138 ac_header_preproc
=yes
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.
$ac_ext >&5
17143 ac_header_preproc
=no
17146 rm -f conftest.err conftest.
$ac_ext
17147 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17148 echo "${ECHO_T}$ac_header_preproc" >&6; }
17150 # So? What about this header?
17151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17153 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17154 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17155 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&5
17156 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the compiler's result" >&2;}
17157 ac_header_preproc
=yes
17160 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&5
17161 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: present but cannot be compiled" >&2;}
17162 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&5
17163 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: check for missing prerequisite headers?" >&2;}
17164 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&5
17165 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: see the Autoconf documentation" >&2;}
17166 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17167 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17168 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&5
17169 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: proceeding with the preprocessor's result" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&5
17171 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm.h: in the future, the compiler will take precedence" >&2;}
17175 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm.h" >&5
17176 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm.h... $ECHO_C" >&6; }
17177 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17178 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 eval "$as_ac_Header=\$ac_header_preproc"
17182 ac_res
=`eval echo '${'$as_ac_Header'}'`
17183 { echo "$as_me:$LINENO: result: $ac_res" >&5
17184 echo "${ECHO_T}$ac_res" >&6; }
17187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17194 as_ac_Header
=`echo "ac_cv_header_${GSM_DIR}/include/gsm/gsm.h" | $as_tr_sh`
17195 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17196 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
17197 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
17198 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 ac_res
=`eval echo '${'$as_ac_Header'}'`
17202 { echo "$as_me:$LINENO: result: $ac_res" >&5
17203 echo "${ECHO_T}$ac_res" >&6; }
17205 # Is the header compilable?
17206 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h usability" >&5
17207 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h usability... $ECHO_C" >&6; }
17208 cat >conftest.
$ac_ext <<_ACEOF
17211 cat confdefs.h
>>conftest.
$ac_ext
17212 cat >>conftest.
$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17214 $ac_includes_default
17215 #include <${GSM_DIR}/include/gsm/gsm.h>
17217 rm -f conftest.
$ac_objext
17218 if { (ac_try
="$ac_compile"
17219 case "(($ac_try" in
17220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17221 *) ac_try_echo=$ac_try;;
17223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224 (eval "$ac_compile") 2>conftest.er1
17226 grep -v '^ *+' conftest.er1 >conftest.err
17228 cat conftest.err >&5
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); } && {
17231 test -z "$ac_c_werror_flag" ||
17232 test ! -s conftest.err
17233 } && test -s conftest.$ac_objext; then
17234 ac_header_compiler=yes
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17239 ac_header_compiler=no
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17244 echo "${ECHO_T}$ac_header_compiler" >&6; }
17246 # Is the header present?
17247 { echo "$as_me:$LINENO: checking ${GSM_DIR}/include/gsm/gsm.h presence" >&5
17248 echo $ECHO_N "checking ${GSM_DIR}/include/gsm/gsm.h presence... $ECHO_C" >&6; }
17249 cat >conftest.$ac_ext <<_ACEOF
17252 cat confdefs.h >>conftest.$ac_ext
17253 cat >>conftest.$ac_ext <<_ACEOF
17254 /* end confdefs.h. */
17255 #include <${GSM_DIR}/include/gsm/gsm.h>
17257 if { (ac_try="$ac_cpp conftest.$ac_ext"
17258 case "(($ac_try" in
17259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17260 *) ac_try_echo
=$ac_try;;
17262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17265 grep -v '^ *+' conftest.er1
>conftest.err
17267 cat conftest.err
>&5
17268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17269 (exit $ac_status); } >/dev
/null
&& {
17270 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17271 test ! -s conftest.err
17273 ac_header_preproc
=yes
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.
$ac_ext >&5
17278 ac_header_preproc
=no
17281 rm -f conftest.err conftest.
$ac_ext
17282 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17283 echo "${ECHO_T}$ac_header_preproc" >&6; }
17285 # So? What about this header?
17286 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17288 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17289 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17290 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&5
17291 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the compiler's result" >&2;}
17292 ac_header_preproc
=yes
17295 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&5
17296 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: present but cannot be compiled" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&5
17298 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&5
17300 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: see the Autoconf documentation" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17302 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&5
17304 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&5
17306 echo "$as_me: WARNING: ${GSM_DIR}/include/gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17310 { echo "$as_me:$LINENO: checking for ${GSM_DIR}/include/gsm/gsm.h" >&5
17311 echo $ECHO_N "checking for ${GSM_DIR}/include/gsm/gsm.h... $ECHO_C" >&6; }
17312 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17313 echo $ECHO_N "(cached) $ECHO_C" >&6
17315 eval "$as_ac_Header=\$ac_header_preproc"
17317 ac_res
=`eval echo '${'$as_ac_Header'}'`
17318 { echo "$as_me:$LINENO: result: $ac_res" >&5
17319 echo "${ECHO_T}$ac_res" >&6; }
17322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17323 GSM_GSM_HEADER_FOUND
=1
17325 GSM_GSM_HEADER_FOUND
=0
17330 if test "${ac_cv_header_gsm_h+set}" = set; then
17331 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17332 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17333 if test "${ac_cv_header_gsm_h+set}" = set; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17336 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17337 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17339 # Is the header compilable?
17340 { echo "$as_me:$LINENO: checking gsm.h usability" >&5
17341 echo $ECHO_N "checking gsm.h usability... $ECHO_C" >&6; }
17342 cat >conftest.
$ac_ext <<_ACEOF
17345 cat confdefs.h
>>conftest.
$ac_ext
17346 cat >>conftest.
$ac_ext <<_ACEOF
17347 /* end confdefs.h. */
17348 $ac_includes_default
17351 rm -f conftest.
$ac_objext
17352 if { (ac_try
="$ac_compile"
17353 case "(($ac_try" in
17354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17355 *) ac_try_echo=$ac_try;;
17357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17358 (eval "$ac_compile") 2>conftest.er1
17360 grep -v '^ *+' conftest.er1 >conftest.err
17362 cat conftest.err >&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } && {
17365 test -z "$ac_c_werror_flag" ||
17366 test ! -s conftest.err
17367 } && test -s conftest.$ac_objext; then
17368 ac_header_compiler=yes
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 ac_header_compiler=no
17376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17378 echo "${ECHO_T}$ac_header_compiler" >&6; }
17380 # Is the header present?
17381 { echo "$as_me:$LINENO: checking gsm.h presence" >&5
17382 echo $ECHO_N "checking gsm.h presence... $ECHO_C" >&6; }
17383 cat >conftest.$ac_ext <<_ACEOF
17386 cat confdefs.h >>conftest.$ac_ext
17387 cat >>conftest.$ac_ext <<_ACEOF
17388 /* end confdefs.h. */
17391 if { (ac_try="$ac_cpp conftest.$ac_ext"
17392 case "(($ac_try" in
17393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17394 *) ac_try_echo
=$ac_try;;
17396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17399 grep -v '^ *+' conftest.er1
>conftest.err
17401 cat conftest.err
>&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } >/dev
/null
&& {
17404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17405 test ! -s conftest.err
17407 ac_header_preproc
=yes
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.
$ac_ext >&5
17412 ac_header_preproc
=no
17415 rm -f conftest.err conftest.
$ac_ext
17416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17417 echo "${ECHO_T}$ac_header_preproc" >&6; }
17419 # So? What about this header?
17420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17422 { echo "$as_me:$LINENO: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17423 echo "$as_me: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17424 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the compiler's result" >&5
17425 echo "$as_me: WARNING: gsm.h: proceeding with the compiler's result" >&2;}
17426 ac_header_preproc
=yes
17429 { echo "$as_me:$LINENO: WARNING: gsm.h: present but cannot be compiled" >&5
17430 echo "$as_me: WARNING: gsm.h: present but cannot be compiled" >&2;}
17431 { echo "$as_me:$LINENO: WARNING: gsm.h: check for missing prerequisite headers?" >&5
17432 echo "$as_me: WARNING: gsm.h: check for missing prerequisite headers?" >&2;}
17433 { echo "$as_me:$LINENO: WARNING: gsm.h: see the Autoconf documentation" >&5
17434 echo "$as_me: WARNING: gsm.h: see the Autoconf documentation" >&2;}
17435 { echo "$as_me:$LINENO: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17436 echo "$as_me: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17437 { echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the preprocessor's result" >&5
17438 echo "$as_me: WARNING: gsm.h: proceeding with the preprocessor's result" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: gsm.h: in the future, the compiler will take precedence" >&5
17440 echo "$as_me: WARNING: gsm.h: in the future, the compiler will take precedence" >&2;}
17444 { echo "$as_me:$LINENO: checking for gsm.h" >&5
17445 echo $ECHO_N "checking for gsm.h... $ECHO_C" >&6; }
17446 if test "${ac_cv_header_gsm_h+set}" = set; then
17447 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 ac_cv_header_gsm_h
=$ac_header_preproc
17451 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5
17452 echo "${ECHO_T}$ac_cv_header_gsm_h" >&6; }
17455 if test $ac_cv_header_gsm_h = yes; then
17462 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17463 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17464 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17465 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17468 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17469 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17471 # Is the header compilable?
17472 { echo "$as_me:$LINENO: checking gsm/gsm.h usability" >&5
17473 echo $ECHO_N "checking gsm/gsm.h usability... $ECHO_C" >&6; }
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17481 #include <gsm/gsm.h>
17483 rm -f conftest.
$ac_objext
17484 if { (ac_try
="$ac_compile"
17485 case "(($ac_try" in
17486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17487 *) ac_try_echo=$ac_try;;
17489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17490 (eval "$ac_compile") 2>conftest.er1
17492 grep -v '^ *+' conftest.er1 >conftest.err
17494 cat conftest.err >&5
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); } && {
17497 test -z "$ac_c_werror_flag" ||
17498 test ! -s conftest.err
17499 } && test -s conftest.$ac_objext; then
17500 ac_header_compiler=yes
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.$ac_ext >&5
17505 ac_header_compiler=no
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17510 echo "${ECHO_T}$ac_header_compiler" >&6; }
17512 # Is the header present?
17513 { echo "$as_me:$LINENO: checking gsm/gsm.h presence" >&5
17514 echo $ECHO_N "checking gsm/gsm.h presence... $ECHO_C" >&6; }
17515 cat >conftest.$ac_ext <<_ACEOF
17518 cat confdefs.h >>conftest.$ac_ext
17519 cat >>conftest.$ac_ext <<_ACEOF
17520 /* end confdefs.h. */
17521 #include <gsm/gsm.h>
17523 if { (ac_try="$ac_cpp conftest.$ac_ext"
17524 case "(($ac_try" in
17525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17526 *) ac_try_echo
=$ac_try;;
17528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17531 grep -v '^ *+' conftest.er1
>conftest.err
17533 cat conftest.err
>&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } >/dev
/null
&& {
17536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17537 test ! -s conftest.err
17539 ac_header_preproc
=yes
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.
$ac_ext >&5
17544 ac_header_preproc
=no
17547 rm -f conftest.err conftest.
$ac_ext
17548 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17549 echo "${ECHO_T}$ac_header_preproc" >&6; }
17551 # So? What about this header?
17552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17554 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5
17555 echo "$as_me: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17556 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&5
17557 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&2;}
17558 ac_header_preproc
=yes
17561 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: present but cannot be compiled" >&5
17562 echo "$as_me: WARNING: gsm/gsm.h: present but cannot be compiled" >&2;}
17563 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&5
17564 echo "$as_me: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&2;}
17565 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: see the Autoconf documentation" >&5
17566 echo "$as_me: WARNING: gsm/gsm.h: see the Autoconf documentation" >&2;}
17567 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5
17568 echo "$as_me: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;}
17569 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&5
17570 echo "$as_me: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&2;}
17571 { echo "$as_me:$LINENO: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&5
17572 echo "$as_me: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&2;}
17576 { echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5
17577 echo $ECHO_N "checking for gsm/gsm.h... $ECHO_C" >&6; }
17578 if test "${ac_cv_header_gsm_gsm_h+set}" = set; then
17579 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 ac_cv_header_gsm_gsm_h
=$ac_header_preproc
17583 { echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5
17584 echo "${ECHO_T}$ac_cv_header_gsm_gsm_h" >&6; }
17587 if test $ac_cv_header_gsm_gsm_h = yes; then
17588 GSM_GSM_HEADER_FOUND
=1
17590 GSM_GSM_HEADER_FOUND
=0
17595 if test "${GSM_HEADER_FOUND}" = "0" ; then
17596 if test "{GSM_GSM_HEADER_FOUND}" = "0" ; then
17597 if test "x${GSM_MANDATORY}" = "xyes" ; then
17598 { echo "$as_me:$LINENO: ***" >&5
17599 echo "$as_me: ***" >&6;}
17600 { echo "$as_me:$LINENO: *** It appears that you do not have the gsm development package installed." >&5
17601 echo "$as_me: *** It appears that you do not have the gsm development package installed." >&6;}
17602 { echo "$as_me:$LINENO: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&5
17603 echo "$as_me: *** Please install it to include ${GSM_DESCRIP} support, or re-run configure" >&6;}
17604 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GSM_OPTION}" >&5
17605 echo "$as_me: *** without explicitly specifying --with-${GSM_OPTION}" >&6;}
17611 if test "${GSM_HEADER_FOUND}" = "1" ; then
17613 cat >>confdefs.h
<<_ACEOF
17614 #define HAVE_GSM_HEADER 1
17619 if test "${GSM_GSM_HEADER_FOUND}" = "1" ; then
17621 cat >>confdefs.h
<<_ACEOF
17622 #define HAVE_GSM_GSM_HEADER 1
17628 if test "${GSM_OK}" = "1" ; then
17630 if test "x${GSM_DIR}" != "x"; then
17631 GSM_LIB
="${gsmlibdir} ${GSM_LIB}"
17632 GSM_INCLUDE
="-I${GSM_DIR}/include"
17639 if test "${GSM_INTERNAL}" = "yes"; then
17642 cat >>confdefs.h
<<_ACEOF
17643 #define HAVE_GSM_HEADER 1
17650 if test "${USE_IKSEMEL}" != "no"; then
17652 if test "x${IKSEMEL_DIR}" != "x"; then
17653 if test -d ${IKSEMEL_DIR}/lib
; then
17654 pbxlibdir
="-L${IKSEMEL_DIR}/lib"
17656 pbxlibdir
="-L${IKSEMEL_DIR}"
17659 { echo "$as_me:$LINENO: checking for iks_start_sasl in -liksemel" >&5
17660 echo $ECHO_N "checking for iks_start_sasl in -liksemel... $ECHO_C" >&6; }
17661 if test "${ac_cv_lib_iksemel_iks_start_sasl+set}" = set; then
17662 echo $ECHO_N "(cached) $ECHO_C" >&6
17664 ac_check_lib_save_LIBS
=$LIBS
17665 LIBS
="-liksemel ${pbxlibdir} $LIBS"
17666 cat >conftest.
$ac_ext <<_ACEOF
17669 cat confdefs.h
>>conftest.
$ac_ext
17670 cat >>conftest.
$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17673 /* Override any GCC internal prototype to avoid an error.
17674 Use char because int might match the return type of a GCC
17675 builtin and then its argument prototype would still apply. */
17679 char iks_start_sasl ();
17683 return iks_start_sasl ();
17688 rm -f conftest.
$ac_objext conftest
$ac_exeext
17689 if { (ac_try
="$ac_link"
17690 case "(($ac_try" in
17691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17692 *) ac_try_echo=$ac_try;;
17694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17695 (eval "$ac_link") 2>conftest.er1
17697 grep -v '^ *+' conftest.er1 >conftest.err
17699 cat conftest.err >&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); } && {
17702 test -z "$ac_c_werror_flag" ||
17703 test ! -s conftest.err
17704 } && test -s conftest$ac_exeext &&
17705 $as_test_x conftest$ac_exeext; then
17706 ac_cv_lib_iksemel_iks_start_sasl=yes
17708 echo "$as_me: failed program was:" >&5
17709 sed 's/^/| /' conftest.$ac_ext >&5
17711 ac_cv_lib_iksemel_iks_start_sasl=no
17714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17715 conftest$ac_exeext conftest.$ac_ext
17716 LIBS=$ac_check_lib_save_LIBS
17718 { echo "$as_me:$LINENO: result: $ac_cv_lib_iksemel_iks_start_sasl" >&5
17719 echo "${ECHO_T}$ac_cv_lib_iksemel_iks_start_sasl" >&6; }
17720 if test $ac_cv_lib_iksemel_iks_start_sasl = yes; then
17721 AST_IKSEMEL_FOUND=yes
17723 AST_IKSEMEL_FOUND=no
17727 if test "${AST_IKSEMEL_FOUND}" = "yes"; then
17728 IKSEMEL_LIB="-liksemel "
17729 IKSEMEL_HEADER_FOUND="1"
17730 if test "x${IKSEMEL_DIR}" != "x"; then
17731 IKSEMEL_LIB="${pbxlibdir} ${IKSEMEL_LIB}"
17732 IKSEMEL_INCLUDE="-I${IKSEMEL_DIR}/include"
17733 saved_cppflags="${CPPFLAGS}"
17734 CPPFLAGS="${CPPFLAGS} -I${IKSEMEL_DIR}/include"
17735 if test "xiksemel.h" != "x" ; then
17736 as_ac_Header=`echo "ac_cv_header_${IKSEMEL_DIR}/include/iksemel.h" |
$as_tr_sh`
17737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17738 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17739 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17741 echo $ECHO_N "(cached) $ECHO_C" >&6
17743 ac_res=`eval echo '${'$as_ac_Header'}'`
17744 { echo "$as_me:$LINENO: result: $ac_res" >&5
17745 echo "${ECHO_T}$ac_res" >&6; }
17747 # Is the header compilable?
17748 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h usability" >&5
17749 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h usability... $ECHO_C" >&6; }
17750 cat >conftest.$ac_ext <<_ACEOF
17753 cat confdefs.h >>conftest.$ac_ext
17754 cat >>conftest.$ac_ext <<_ACEOF
17755 /* end confdefs.h. */
17756 $ac_includes_default
17757 #include <${IKSEMEL_DIR}/include/iksemel.h>
17759 rm -f conftest.$ac_objext
17760 if { (ac_try="$ac_compile"
17761 case "(($ac_try" in
17762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17763 *) ac_try_echo
=$ac_try;;
17765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17766 (eval "$ac_compile") 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } && {
17773 test -z "$ac_c_werror_flag" ||
17774 test ! -s conftest.err
17775 } && test -s conftest.
$ac_objext; then
17776 ac_header_compiler
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_header_compiler
=no
17784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17785 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17786 echo "${ECHO_T}$ac_header_compiler" >&6; }
17788 # Is the header present?
17789 { echo "$as_me:$LINENO: checking ${IKSEMEL_DIR}/include/iksemel.h presence" >&5
17790 echo $ECHO_N "checking ${IKSEMEL_DIR}/include/iksemel.h presence... $ECHO_C" >&6; }
17791 cat >conftest.
$ac_ext <<_ACEOF
17794 cat confdefs.h
>>conftest.
$ac_ext
17795 cat >>conftest.
$ac_ext <<_ACEOF
17796 /* end confdefs.h. */
17797 #include <${IKSEMEL_DIR}/include/iksemel.h>
17799 if { (ac_try
="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
17807 grep -v '^ *+' conftest.er1 >conftest.err
17809 cat conftest.err >&5
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); } >/dev/null && {
17812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17813 test ! -s conftest.err
17815 ac_header_preproc=yes
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_header_preproc=no
17823 rm -f conftest.err conftest.$ac_ext
17824 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17825 echo "${ECHO_T}$ac_header_preproc" >&6; }
17827 # So? What about this header?
17828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17830 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17831 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17832 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&5
17833 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the compiler's result" >&2;}
17834 ac_header_preproc=yes
17837 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&5
17838 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: present but cannot be compiled" >&2;}
17839 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&5
17840 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: check for missing prerequisite headers?" >&2;}
17841 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&5
17842 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: see the Autoconf documentation" >&2;}
17843 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17844 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17845 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&5
17846 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: proceeding with the preprocessor's result" >&2;}
17847 { echo "$as_me:$LINENO: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&5
17848 echo "$as_me: WARNING: ${IKSEMEL_DIR}/include/iksemel.h: in the future, the compiler will take precedence" >&2;}
17852 { echo "$as_me:$LINENO: checking for ${IKSEMEL_DIR}/include/iksemel.h" >&5
17853 echo $ECHO_N "checking for ${IKSEMEL_DIR}/include/iksemel.h... $ECHO_C" >&6; }
17854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17855 echo $ECHO_N "(cached) $ECHO_C" >&6
17857 eval "$as_ac_Header=\$ac_header_preproc"
17859 ac_res=`eval echo '${'$as_ac_Header'}'`
17860 { echo "$as_me:$LINENO: result: $ac_res" >&5
17861 echo "${ECHO_T}$ac_res" >&6; }
17864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17865 IKSEMEL_HEADER_FOUND=1
17867 IKSEMEL_HEADER_FOUND=0
17872 CPPFLAGS="${saved_cppflags}"
17874 if test "xiksemel.h" != "x" ; then
17875 if test "${ac_cv_header_iksemel_h+set}" = set; then
17876 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17877 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17878 if test "${ac_cv_header_iksemel_h+set}" = set; then
17879 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17882 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
17884 # Is the header compilable?
17885 { echo "$as_me:$LINENO: checking iksemel.h usability" >&5
17886 echo $ECHO_N "checking iksemel.h usability... $ECHO_C" >&6; }
17887 cat >conftest.$ac_ext <<_ACEOF
17890 cat confdefs.h >>conftest.$ac_ext
17891 cat >>conftest.$ac_ext <<_ACEOF
17892 /* end confdefs.h. */
17893 $ac_includes_default
17894 #include <iksemel.h>
17896 rm -f conftest.$ac_objext
17897 if { (ac_try="$ac_compile"
17898 case "(($ac_try" in
17899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17900 *) ac_try_echo
=$ac_try;;
17902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17903 (eval "$ac_compile") 2>conftest.er1
17905 grep -v '^ *+' conftest.er1
>conftest.err
17907 cat conftest.err
>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } && {
17910 test -z "$ac_c_werror_flag" ||
17911 test ! -s conftest.err
17912 } && test -s conftest.
$ac_objext; then
17913 ac_header_compiler
=yes
17915 echo "$as_me: failed program was:" >&5
17916 sed 's/^/| /' conftest.
$ac_ext >&5
17918 ac_header_compiler
=no
17921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17922 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17923 echo "${ECHO_T}$ac_header_compiler" >&6; }
17925 # Is the header present?
17926 { echo "$as_me:$LINENO: checking iksemel.h presence" >&5
17927 echo $ECHO_N "checking iksemel.h presence... $ECHO_C" >&6; }
17928 cat >conftest.
$ac_ext <<_ACEOF
17931 cat confdefs.h
>>conftest.
$ac_ext
17932 cat >>conftest.
$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 #include <iksemel.h>
17936 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17937 case "(($ac_try" in
17938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17939 *) ac_try_echo=$ac_try;;
17941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17942 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17944 grep -v '^ *+' conftest.er1 >conftest.err
17946 cat conftest.err >&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); } >/dev/null && {
17949 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17950 test ! -s conftest.err
17952 ac_header_preproc=yes
17954 echo "$as_me: failed program was:" >&5
17955 sed 's/^/| /' conftest.$ac_ext >&5
17957 ac_header_preproc=no
17960 rm -f conftest.err conftest.$ac_ext
17961 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17962 echo "${ECHO_T}$ac_header_preproc" >&6; }
17964 # So? What about this header?
17965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17967 { echo "$as_me:$LINENO: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&5
17968 echo "$as_me: WARNING: iksemel.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
17969 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the compiler's result" >&5
17970 echo "$as_me: WARNING: iksemel.h: proceeding with the compiler's result" >&2;}
17971 ac_header_preproc=yes
17974 { echo "$as_me:$LINENO: WARNING: iksemel.h: present but cannot be compiled" >&5
17975 echo "$as_me: WARNING: iksemel.h: present but cannot be compiled" >&2;}
17976 { echo "$as_me:$LINENO: WARNING: iksemel.h: check for missing prerequisite headers?" >&5
17977 echo "$as_me: WARNING: iksemel.h: check for missing prerequisite headers?" >&2;}
17978 { echo "$as_me:$LINENO: WARNING: iksemel.h: see the Autoconf documentation" >&5
17979 echo "$as_me: WARNING: iksemel.h: see the Autoconf documentation" >&2;}
17980 { echo "$as_me:$LINENO: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&5
17981 echo "$as_me: WARNING: iksemel.h: section \"Present But Cannot Be Compiled\"" >&2;}
17982 { echo "$as_me:$LINENO: WARNING: iksemel.h: proceeding with the preprocessor's result" >&5
17983 echo "$as_me: WARNING: iksemel.h: proceeding with the preprocessor's result" >&2;}
17984 { echo "$as_me:$LINENO: WARNING: iksemel.h: in the future, the compiler will take precedence" >&5
17985 echo "$as_me: WARNING: iksemel.h: in the future, the compiler will take precedence" >&2;}
17989 { echo "$as_me:$LINENO: checking for iksemel.h" >&5
17990 echo $ECHO_N "checking for iksemel.h... $ECHO_C" >&6; }
17991 if test "${ac_cv_header_iksemel_h+set}" = set; then
17992 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 ac_cv_header_iksemel_h=$ac_header_preproc
17996 { echo "$as_me:$LINENO: result: $ac_cv_header_iksemel_h" >&5
17997 echo "${ECHO_T}$ac_cv_header_iksemel_h" >&6; }
18000 if test $ac_cv_header_iksemel_h = yes; then
18001 IKSEMEL_HEADER_FOUND=1
18003 IKSEMEL_HEADER_FOUND=0
18009 if test "x${IKSEMEL_HEADER_FOUND}" = "x0" ; then
18010 if test -n "${IKSEMEL_MANDATORY}" ;
18012 { echo "$as_me:$LINENO: ***" >&5
18013 echo "$as_me: ***" >&6;}
18014 { echo "$as_me:$LINENO: *** It appears that you do not have the iksemel development package installed." >&5
18015 echo "$as_me: *** It appears that you do not have the iksemel development package installed." >&6;}
18016 { echo "$as_me:$LINENO: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&5
18017 echo "$as_me: *** Please install it to include ${IKSEMEL_DESCRIP} support, or re-run configure" >&6;}
18018 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
18019 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
18028 cat >>confdefs.h <<_ACEOF
18029 #define HAVE_IKSEMEL 1
18033 elif test -n "${IKSEMEL_MANDATORY}";
18035 { echo "$as_me:$LINENO: ***" >&5
18036 echo "$as_me: ***" >&6;}
18037 { echo "$as_me:$LINENO: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&5
18038 echo "$as_me: *** The ${IKSEMEL_DESCRIP} installation on this system appears to be broken." >&6;}
18039 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
18040 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
18041 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&5
18042 echo "$as_me: *** without explicitly specifying --with-${IKSEMEL_OPTION}" >&6;}
18048 if test "${PBX_IKSEMEL}" = 1; then
18050 if test "${USE_GNUTLS}" != "no"; then
18052 if test "x${GNUTLS_DIR}" != "x"; then
18053 if test -d ${GNUTLS_DIR}/lib; then
18054 pbxlibdir="-L${GNUTLS_DIR}/lib"
18056 pbxlibdir="-L${GNUTLS_DIR}"
18059 { echo "$as_me:$LINENO: checking for gnutls_bye in -lgnutls" >&5
18060 echo $ECHO_N "checking for gnutls_bye in -lgnutls... $ECHO_C" >&6; }
18061 if test "${ac_cv_lib_gnutls_gnutls_bye+set}" = set; then
18062 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 ac_check_lib_save_LIBS=$LIBS
18065 LIBS="-lgnutls ${pbxlibdir} -lz -lgcrypt -lgpg-error $LIBS"
18066 cat >conftest.$ac_ext <<_ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18073 /* Override any GCC internal prototype to avoid an error.
18074 Use char because int might match the return type of a GCC
18075 builtin and then its argument prototype would still apply. */
18079 char gnutls_bye ();
18083 return gnutls_bye ();
18088 rm -f conftest.$ac_objext conftest$ac_exeext
18089 if { (ac_try="$ac_link"
18090 case "(($ac_try" in
18091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18092 *) ac_try_echo
=$ac_try;;
18094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_link") 2>conftest.er1
18097 grep -v '^ *+' conftest.er1
>conftest.err
18099 cat conftest.err
>&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } && {
18102 test -z "$ac_c_werror_flag" ||
18103 test ! -s conftest.err
18104 } && test -s conftest
$ac_exeext &&
18105 $as_test_x conftest
$ac_exeext; then
18106 ac_cv_lib_gnutls_gnutls_bye
=yes
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.
$ac_ext >&5
18111 ac_cv_lib_gnutls_gnutls_bye
=no
18114 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18115 conftest
$ac_exeext conftest.
$ac_ext
18116 LIBS
=$ac_check_lib_save_LIBS
18118 { echo "$as_me:$LINENO: result: $ac_cv_lib_gnutls_gnutls_bye" >&5
18119 echo "${ECHO_T}$ac_cv_lib_gnutls_gnutls_bye" >&6; }
18120 if test $ac_cv_lib_gnutls_gnutls_bye = yes; then
18121 AST_GNUTLS_FOUND
=yes
18123 AST_GNUTLS_FOUND
=no
18127 if test "${AST_GNUTLS_FOUND}" = "yes"; then
18128 GNUTLS_LIB
="-lgnutls -lz -lgcrypt -lgpg-error"
18129 GNUTLS_HEADER_FOUND
="1"
18130 if test "x${GNUTLS_DIR}" != "x"; then
18131 GNUTLS_LIB
="${pbxlibdir} ${GNUTLS_LIB}"
18132 GNUTLS_INCLUDE
="-I${GNUTLS_DIR}/include"
18133 saved_cppflags
="${CPPFLAGS}"
18134 CPPFLAGS
="${CPPFLAGS} -I${GNUTLS_DIR}/include"
18135 if test "xgnutls/gnutls.h" != "x" ; then
18136 as_ac_Header
=`echo "ac_cv_header_${GNUTLS_DIR}/include/gnutls/gnutls.h" | $as_tr_sh`
18137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18138 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
18139 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
18140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18141 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 ac_res
=`eval echo '${'$as_ac_Header'}'`
18144 { echo "$as_me:$LINENO: result: $ac_res" >&5
18145 echo "${ECHO_T}$ac_res" >&6; }
18147 # Is the header compilable?
18148 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability" >&5
18149 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h usability... $ECHO_C" >&6; }
18150 cat >conftest.
$ac_ext <<_ACEOF
18153 cat confdefs.h
>>conftest.
$ac_ext
18154 cat >>conftest.
$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18157 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
18159 rm -f conftest.
$ac_objext
18160 if { (ac_try
="$ac_compile"
18161 case "(($ac_try" in
18162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18163 *) ac_try_echo=$ac_try;;
18165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18166 (eval "$ac_compile") 2>conftest.er1
18168 grep -v '^ *+' conftest.er1 >conftest.err
18170 cat conftest.err >&5
18171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172 (exit $ac_status); } && {
18173 test -z "$ac_c_werror_flag" ||
18174 test ! -s conftest.err
18175 } && test -s conftest.$ac_objext; then
18176 ac_header_compiler=yes
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.$ac_ext >&5
18181 ac_header_compiler=no
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18186 echo "${ECHO_T}$ac_header_compiler" >&6; }
18188 # Is the header present?
18189 { echo "$as_me:$LINENO: checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence" >&5
18190 echo $ECHO_N "checking ${GNUTLS_DIR}/include/gnutls/gnutls.h presence... $ECHO_C" >&6; }
18191 cat >conftest.$ac_ext <<_ACEOF
18194 cat confdefs.h >>conftest.$ac_ext
18195 cat >>conftest.$ac_ext <<_ACEOF
18196 /* end confdefs.h. */
18197 #include <${GNUTLS_DIR}/include/gnutls/gnutls.h>
18199 if { (ac_try="$ac_cpp conftest.$ac_ext"
18200 case "(($ac_try" in
18201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18202 *) ac_try_echo
=$ac_try;;
18204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18207 grep -v '^ *+' conftest.er1
>conftest.err
18209 cat conftest.err
>&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } >/dev
/null
&& {
18212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18213 test ! -s conftest.err
18215 ac_header_preproc
=yes
18217 echo "$as_me: failed program was:" >&5
18218 sed 's/^/| /' conftest.
$ac_ext >&5
18220 ac_header_preproc
=no
18223 rm -f conftest.err conftest.
$ac_ext
18224 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18225 echo "${ECHO_T}$ac_header_preproc" >&6; }
18227 # So? What about this header?
18228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18230 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
18231 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18232 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&5
18233 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
18234 ac_header_preproc
=yes
18237 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&5
18238 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: present but cannot be compiled" >&2;}
18239 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&5
18240 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
18241 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&5
18242 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: see the Autoconf documentation" >&2;}
18243 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
18244 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
18245 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
18246 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
18247 { echo "$as_me:$LINENO: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
18248 echo "$as_me: WARNING: ${GNUTLS_DIR}/include/gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
18252 { echo "$as_me:$LINENO: checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h" >&5
18253 echo $ECHO_N "checking for ${GNUTLS_DIR}/include/gnutls/gnutls.h... $ECHO_C" >&6; }
18254 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 eval "$as_ac_Header=\$ac_header_preproc"
18259 ac_res
=`eval echo '${'$as_ac_Header'}'`
18260 { echo "$as_me:$LINENO: result: $ac_res" >&5
18261 echo "${ECHO_T}$ac_res" >&6; }
18264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18265 GNUTLS_HEADER_FOUND
=1
18267 GNUTLS_HEADER_FOUND
=0
18272 CPPFLAGS
="${saved_cppflags}"
18274 if test "xgnutls/gnutls.h" != "x" ; then
18275 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18276 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
18277 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
18278 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18279 echo $ECHO_N "(cached) $ECHO_C" >&6
18281 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
18282 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
18284 # Is the header compilable?
18285 { echo "$as_me:$LINENO: checking gnutls/gnutls.h usability" >&5
18286 echo $ECHO_N "checking gnutls/gnutls.h usability... $ECHO_C" >&6; }
18287 cat >conftest.
$ac_ext <<_ACEOF
18290 cat confdefs.h
>>conftest.
$ac_ext
18291 cat >>conftest.
$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 #include <gnutls/gnutls.h>
18296 rm -f conftest.
$ac_objext
18297 if { (ac_try
="$ac_compile"
18298 case "(($ac_try" in
18299 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18300 *) ac_try_echo=$ac_try;;
18302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18303 (eval "$ac_compile") 2>conftest.er1
18305 grep -v '^ *+' conftest.er1 >conftest.err
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } && {
18310 test -z "$ac_c_werror_flag" ||
18311 test ! -s conftest.err
18312 } && test -s conftest.$ac_objext; then
18313 ac_header_compiler=yes
18315 echo "$as_me: failed program was:" >&5
18316 sed 's/^/| /' conftest.$ac_ext >&5
18318 ac_header_compiler=no
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18323 echo "${ECHO_T}$ac_header_compiler" >&6; }
18325 # Is the header present?
18326 { echo "$as_me:$LINENO: checking gnutls/gnutls.h presence" >&5
18327 echo $ECHO_N "checking gnutls/gnutls.h presence... $ECHO_C" >&6; }
18328 cat >conftest.$ac_ext <<_ACEOF
18331 cat confdefs.h >>conftest.$ac_ext
18332 cat >>conftest.$ac_ext <<_ACEOF
18333 /* end confdefs.h. */
18334 #include <gnutls/gnutls.h>
18336 if { (ac_try="$ac_cpp conftest.$ac_ext"
18337 case "(($ac_try" in
18338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18339 *) ac_try_echo
=$ac_try;;
18341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18344 grep -v '^ *+' conftest.er1
>conftest.err
18346 cat conftest.err
>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); } >/dev
/null
&& {
18349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18350 test ! -s conftest.err
18352 ac_header_preproc
=yes
18354 echo "$as_me: failed program was:" >&5
18355 sed 's/^/| /' conftest.
$ac_ext >&5
18357 ac_header_preproc
=no
18360 rm -f conftest.err conftest.
$ac_ext
18361 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18362 echo "${ECHO_T}$ac_header_preproc" >&6; }
18364 # So? What about this header?
18365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18367 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&5
18368 echo "$as_me: WARNING: gnutls/gnutls.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
18369 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&5
18370 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the compiler's result" >&2;}
18371 ac_header_preproc
=yes
18374 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&5
18375 echo "$as_me: WARNING: gnutls/gnutls.h: present but cannot be compiled" >&2;}
18376 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&5
18377 echo "$as_me: WARNING: gnutls/gnutls.h: check for missing prerequisite headers?" >&2;}
18378 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&5
18379 echo "$as_me: WARNING: gnutls/gnutls.h: see the Autoconf documentation" >&2;}
18380 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&5
18381 echo "$as_me: WARNING: gnutls/gnutls.h: section \"Present But Cannot Be Compiled\"" >&2;}
18382 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&5
18383 echo "$as_me: WARNING: gnutls/gnutls.h: proceeding with the preprocessor's result" >&2;}
18384 { echo "$as_me:$LINENO: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&5
18385 echo "$as_me: WARNING: gnutls/gnutls.h: in the future, the compiler will take precedence" >&2;}
18389 { echo "$as_me:$LINENO: checking for gnutls/gnutls.h" >&5
18390 echo $ECHO_N "checking for gnutls/gnutls.h... $ECHO_C" >&6; }
18391 if test "${ac_cv_header_gnutls_gnutls_h+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18394 ac_cv_header_gnutls_gnutls_h
=$ac_header_preproc
18396 { echo "$as_me:$LINENO: result: $ac_cv_header_gnutls_gnutls_h" >&5
18397 echo "${ECHO_T}$ac_cv_header_gnutls_gnutls_h" >&6; }
18400 if test $ac_cv_header_gnutls_gnutls_h = yes; then
18401 GNUTLS_HEADER_FOUND
=1
18403 GNUTLS_HEADER_FOUND
=0
18409 if test "x${GNUTLS_HEADER_FOUND}" = "x0" ; then
18410 if test -n "${GNUTLS_MANDATORY}" ;
18412 { echo "$as_me:$LINENO: ***" >&5
18413 echo "$as_me: ***" >&6;}
18414 { echo "$as_me:$LINENO: *** It appears that you do not have the gnutls development package installed." >&5
18415 echo "$as_me: *** It appears that you do not have the gnutls development package installed." >&6;}
18416 { echo "$as_me:$LINENO: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&5
18417 echo "$as_me: *** Please install it to include ${GNUTLS_DESCRIP} support, or re-run configure" >&6;}
18418 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18419 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18428 cat >>confdefs.h
<<_ACEOF
18429 #define HAVE_GNUTLS 1
18433 elif test -n "${GNUTLS_MANDATORY}";
18435 { echo "$as_me:$LINENO: ***" >&5
18436 echo "$as_me: ***" >&6;}
18437 { echo "$as_me:$LINENO: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&5
18438 echo "$as_me: *** The ${GNUTLS_DESCRIP} installation on this system appears to be broken." >&6;}
18439 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
18440 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
18441 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&5
18442 echo "$as_me: *** without explicitly specifying --with-${GNUTLS_OPTION}" >&6;}
18449 if test "${USE_IMAP_TK}" != "no"; then
18450 if test "${IMAP_TK_DIR}" = ""; then
18451 IMAP_TK_DIR
=`pwd`"/../imap-2004g"
18452 if test -n "${IMAP_TK_MANDATORY}"; then
18453 { echo "$as_me:$LINENO: The --with-imap option does not search your system for installed" >&5
18454 echo "$as_me: The --with-imap option does not search your system for installed" >&6;}
18455 { echo "$as_me:$LINENO: c-client library/header files. Since you did not provide a path" >&5
18456 echo "$as_me: c-client library/header files. Since you did not provide a path" >&6;}
18457 { echo "$as_me:$LINENO: the configure script will assume you have placed built the c-client" >&5
18458 echo "$as_me: the configure script will assume you have placed built the c-client" >&6;}
18459 { echo "$as_me:$LINENO: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&5
18460 echo "$as_me: files at ${IMAP_TK_DIR}, as outlined in the doc/imapstorage.txt file." >&6;}
18463 { echo "$as_me:$LINENO: checking for UW IMAP Toolkit c-client library" >&5
18464 echo $ECHO_N "checking for UW IMAP Toolkit c-client library... $ECHO_C" >&6; }
18465 saved_cppflags
="${CPPFLAGS}"
18466 saved_libs
="${LIBS}"
18467 if test -f ${IMAP_TK_DIR}/c-client
/LDFLAGS
; then
18468 imap_ldflags
=`cat ${IMAP_TK_DIR}/c-client/LDFLAGS`
18470 CPPFLAGS
="${CPPFLAGS} -I${IMAP_TK_DIR}/c-client"
18471 LIBS
="${LIBS} ${IMAP_TK_DIR}/c-client/c-client.a "`echo ${imap_ldflags}`
18472 cat >conftest.$ac_ext <<_ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478 #include "c-client.h
"
18479 void mm_searched (MAILSTREAM *stream,unsigned long number)
18482 void mm_exists (MAILSTREAM *stream,unsigned long number)
18485 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18488 void mm_flags (MAILSTREAM *stream,unsigned long number)
18491 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18494 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18497 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18500 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18503 void mm_log (char *string,long errflg)
18506 void mm_dlog (char *string)
18509 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18512 void mm_critical (MAILSTREAM *stream)
18515 void mm_nocritical (MAILSTREAM *stream)
18518 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18521 void mm_fatal (char *string)
18528 MAILSTREAM *foo = mail_open(NULL, "", 0);
18535 rm -f conftest.$ac_objext conftest$ac_exeext
18536 if { (ac_try="$ac_link"
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_link") 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 test -z "$ac_c_werror_flag" ||
18550 test ! -s conftest.err
18551 } && test -s conftest$ac_exeext &&
18552 $as_test_x conftest$ac_exeext; then
18553 ac_cv_imap_tk="yes"
18555 echo "$as_me: failed program was
:" >&5
18556 sed 's/^/| /' conftest.$ac_ext >&5
18562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18563 conftest$ac_exeext conftest.$ac_ext
18564 if test "${ac_cv_imap_tk}" = "yes"; then
18565 cat >conftest.$ac_ext <<_ACEOF
18568 cat confdefs.h >>conftest.$ac_ext
18569 cat >>conftest.$ac_ext <<_ACEOF
18570 /* end confdefs.h. */
18571 #include "c-client.h
"
18572 void mm_searched (MAILSTREAM *stream,unsigned long number)
18575 void mm_exists (MAILSTREAM *stream,unsigned long number)
18578 void mm_expunged (MAILSTREAM *stream,unsigned long number)
18581 void mm_flags (MAILSTREAM *stream,unsigned long number)
18584 void mm_notify (MAILSTREAM *stream,char *string,long errflg)
18587 void mm_list (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18590 void mm_lsub (MAILSTREAM *stream,int delimiter,char *mailbox,long attributes)
18593 void mm_status (MAILSTREAM *stream,char *mailbox,MAILSTATUS *status)
18596 void mm_log (char *string,long errflg)
18599 void mm_dlog (char *string)
18602 void mm_login (NETMBX *mb,char *user,char *pwd,long trial)
18605 void mm_critical (MAILSTREAM *stream)
18608 void mm_nocritical (MAILSTREAM *stream)
18611 long mm_diskerror (MAILSTREAM *stream,long errcode,long serious)
18614 void mm_fatal (char *string)
18621 long check = mail_expunge_full(NULL, "", 0);
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (ac_try="$ac_link"
18630 case "(($ac_try" in
18631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632 *) ac_try_echo=$ac_try;;
18634 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18635 (eval "$ac_link") 2>conftest.er1
18637 grep -v '^ *+' conftest.er1 >conftest.err
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18641 (exit $ac_status); } && {
18642 test -z "$ac_c_werror_flag" ||
18643 test ! -s conftest.err
18644 } && test -s conftest$ac_exeext &&
18645 $as_test_x conftest$ac_exeext; then
18646 ac_cv_imap_tk2006="yes"
18648 echo "$as_me: failed program was
:" >&5
18649 sed 's/^/| /' conftest.$ac_ext >&5
18651 ac_cv_imap_tk2006="no
"
18655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18656 conftest$ac_exeext conftest.$ac_ext
18658 CPPFLAGS="${saved_cppflags}"
18659 LIBS="${saved_libs}"
18660 if test "${ac_cv_imap_tk}" = "yes"; then
18661 { echo "$as_me:$LINENO: result
: yes" >&5
18662 echo "${ECHO_T}yes" >&6; }
18663 IMAP_TK_LIB="${IMAP_TK_DIR}/c-client
/c-client.a
"`echo ${imap_ldflags}`
18664 IMAP_TK_INCLUDE="-I${IMAP_TK_DIR}/c-client
"
18667 cat >>confdefs.h <<\_ACEOF
18668 #define HAVE_IMAP_TK 1
18671 if test "${ac_cv_imap_tk2006}" = "yes"; then
18673 cat >>confdefs.h <<\_ACEOF
18674 #define HAVE_IMAP_TK2006 1
18678 elif test -n "${IMAP_TK_MANDATORY}"; then
18679 { echo "$as_me:$LINENO: result
: no
" >&5
18680 echo "${ECHO_T}no
" >&6; }
18681 { echo "$as_me:$LINENO: ***" >&5
18682 echo "$as_me: ***" >&6;}
18683 { echo "$as_me:$LINENO: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&5
18684 echo "$as_me: *** The UW IMAP Toolkit installation on this system appears to be broken.
" >&6;}
18685 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
18686 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
18687 { echo "$as_me:$LINENO: *** including
--without-imap.
" >&5
18688 echo "$as_me: *** including
--without-imap.
" >&6;}
18691 { echo "$as_me:$LINENO: result
: no
" >&5
18692 echo "${ECHO_T}no
" >&6; }
18696 # Needed by unixodbc
18698 if test "${USE_LTDL}" != "no
"; then
18700 if test "x
${LTDL_DIR}" != "x
"; then
18701 if test -d ${LTDL_DIR}/lib; then
18702 pbxlibdir="-L${LTDL_DIR}/lib
"
18704 pbxlibdir="-L${LTDL_DIR}"
18707 { echo "$as_me:$LINENO: checking
for lt_dlinit
in -lltdl" >&5
18708 echo $ECHO_N "checking
for lt_dlinit
in -lltdl...
$ECHO_C" >&6; }
18709 if test "${ac_cv_lib_ltdl_lt_dlinit+set}" = set; then
18710 echo $ECHO_N "(cached
) $ECHO_C" >&6
18712 ac_check_lib_save_LIBS=$LIBS
18713 LIBS="-lltdl ${pbxlibdir} $LIBS"
18714 cat >conftest.$ac_ext <<_ACEOF
18717 cat confdefs.h >>conftest.$ac_ext
18718 cat >>conftest.$ac_ext <<_ACEOF
18719 /* end confdefs.h. */
18721 /* Override any GCC internal prototype to avoid an error.
18722 Use char because int might match the return type of a GCC
18723 builtin and then its argument prototype would still apply. */
18731 return lt_dlinit ();
18736 rm -f conftest.$ac_objext conftest$ac_exeext
18737 if { (ac_try="$ac_link"
18738 case "(($ac_try" in
18739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18740 *) ac_try_echo=$ac_try;;
18742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18743 (eval "$ac_link") 2>conftest.er1
18745 grep -v '^ *+' conftest.er1 >conftest.err
18747 cat conftest.err >&5
18748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18749 (exit $ac_status); } && {
18750 test -z "$ac_c_werror_flag" ||
18751 test ! -s conftest.err
18752 } && test -s conftest$ac_exeext &&
18753 $as_test_x conftest$ac_exeext; then
18754 ac_cv_lib_ltdl_lt_dlinit=yes
18756 echo "$as_me: failed program was
:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 ac_cv_lib_ltdl_lt_dlinit=no
18762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18763 conftest$ac_exeext conftest.$ac_ext
18764 LIBS=$ac_check_lib_save_LIBS
18766 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ltdl_lt_dlinit" >&5
18767 echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dlinit" >&6; }
18768 if test $ac_cv_lib_ltdl_lt_dlinit = yes; then
18775 if test "${AST_LTDL_FOUND}" = "yes"; then
18777 LTDL_HEADER_FOUND="1"
18778 if test "x
${LTDL_DIR}" != "x
"; then
18779 LTDL_LIB="${pbxlibdir} ${LTDL_LIB}"
18780 LTDL_INCLUDE="-I${LTDL_DIR}/include
"
18781 saved_cppflags="${CPPFLAGS}"
18782 CPPFLAGS="${CPPFLAGS} -I${LTDL_DIR}/include
"
18783 if test "xltdl.h
" != "x
" ; then
18784 as_ac_Header=`echo "ac_cv_header_
${LTDL_DIR}/include
/ltdl.h
" | $as_tr_sh`
18785 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18786 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18787 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18788 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18789 echo $ECHO_N "(cached
) $ECHO_C" >&6
18791 ac_res=`eval echo '${'$as_ac_Header'}'`
18792 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18793 echo "${ECHO_T}$ac_res" >&6; }
18795 # Is the header compilable?
18796 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h usability
" >&5
18797 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h usability...
$ECHO_C" >&6; }
18798 cat >conftest.$ac_ext <<_ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 $ac_includes_default
18805 #include <${LTDL_DIR}/include/ltdl.h>
18807 rm -f conftest.$ac_objext
18808 if { (ac_try="$ac_compile"
18809 case "(($ac_try" in
18810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18811 *) ac_try_echo=$ac_try;;
18813 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18814 (eval "$ac_compile") 2>conftest.er1
18816 grep -v '^ *+' conftest.er1 >conftest.err
18818 cat conftest.err >&5
18819 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18820 (exit $ac_status); } && {
18821 test -z "$ac_c_werror_flag" ||
18822 test ! -s conftest.err
18823 } && test -s conftest.$ac_objext; then
18824 ac_header_compiler=yes
18826 echo "$as_me: failed program was
:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 ac_header_compiler=no
18832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18833 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18834 echo "${ECHO_T}$ac_header_compiler" >&6; }
18836 # Is the header present?
18837 { echo "$as_me:$LINENO: checking
${LTDL_DIR}/include
/ltdl.h presence
" >&5
18838 echo $ECHO_N "checking
${LTDL_DIR}/include
/ltdl.h presence...
$ECHO_C" >&6; }
18839 cat >conftest.$ac_ext <<_ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 #include <${LTDL_DIR}/include/ltdl.h>
18847 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18848 case "(($ac_try" in
18849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18850 *) ac_try_echo=$ac_try;;
18852 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18853 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18855 grep -v '^ *+' conftest.er1 >conftest.err
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18859 (exit $ac_status); } >/dev/null && {
18860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18861 test ! -s conftest.err
18863 ac_header_preproc=yes
18865 echo "$as_me: failed program was
:" >&5
18866 sed 's/^/| /' conftest.$ac_ext >&5
18868 ac_header_preproc=no
18871 rm -f conftest.err conftest.$ac_ext
18872 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
18873 echo "${ECHO_T}$ac_header_preproc" >&6; }
18875 # So? What about this header?
18876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18878 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
18879 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
18880 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the compiler
's result" >&5
18881 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the compiler's result
" >&2;}
18882 ac_header_preproc=yes
18885 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&5
18886 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: present but cannot be compiled
" >&2;}
18887 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&5
18888 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: check
for missing prerequisite headers?
" >&2;}
18889 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&5
18890 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: see the Autoconf documentation
" >&2;}
18891 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
18892 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
18893 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: proceeding with the preprocessor
's result" >&5
18894 echo "$as_me: WARNING: ${LTDL_DIR}/include/ltdl.h: proceeding with the preprocessor's result
" >&2;}
18895 { echo "$as_me:$LINENO: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&5
18896 echo "$as_me: WARNING
: ${LTDL_DIR}/include
/ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
18900 { echo "$as_me:$LINENO: checking
for ${LTDL_DIR}/include
/ltdl.h
" >&5
18901 echo $ECHO_N "checking
for ${LTDL_DIR}/include
/ltdl.h...
$ECHO_C" >&6; }
18902 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
18903 echo $ECHO_N "(cached
) $ECHO_C" >&6
18905 eval "$as_ac_Header=\
$ac_header_preproc"
18907 ac_res=`eval echo '${'$as_ac_Header'}'`
18908 { echo "$as_me:$LINENO: result
: $ac_res" >&5
18909 echo "${ECHO_T}$ac_res" >&6; }
18912 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18913 LTDL_HEADER_FOUND=1
18915 LTDL_HEADER_FOUND=0
18920 CPPFLAGS="${saved_cppflags}"
18922 if test "xltdl.h
" != "x
" ; then
18923 if test "${ac_cv_header_ltdl_h+set}" = set; then
18924 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
18925 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
18926 if test "${ac_cv_header_ltdl_h+set}" = set; then
18927 echo $ECHO_N "(cached
) $ECHO_C" >&6
18929 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
18930 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
18932 # Is the header compilable?
18933 { echo "$as_me:$LINENO: checking ltdl.h usability
" >&5
18934 echo $ECHO_N "checking ltdl.h usability...
$ECHO_C" >&6; }
18935 cat >conftest.$ac_ext <<_ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18944 rm -f conftest.$ac_objext
18945 if { (ac_try="$ac_compile"
18946 case "(($ac_try" in
18947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18948 *) ac_try_echo=$ac_try;;
18950 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18951 (eval "$ac_compile") 2>conftest.er1
18953 grep -v '^ *+' conftest.er1 >conftest.err
18955 cat conftest.err >&5
18956 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18957 (exit $ac_status); } && {
18958 test -z "$ac_c_werror_flag" ||
18959 test ! -s conftest.err
18960 } && test -s conftest.$ac_objext; then
18961 ac_header_compiler=yes
18963 echo "$as_me: failed program was
:" >&5
18964 sed 's/^/| /' conftest.$ac_ext >&5
18966 ac_header_compiler=no
18969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
18971 echo "${ECHO_T}$ac_header_compiler" >&6; }
18973 # Is the header present?
18974 { echo "$as_me:$LINENO: checking ltdl.h presence
" >&5
18975 echo $ECHO_N "checking ltdl.h presence...
$ECHO_C" >&6; }
18976 cat >conftest.$ac_ext <<_ACEOF
18979 cat confdefs.h >>conftest.$ac_ext
18980 cat >>conftest.$ac_ext <<_ACEOF
18981 /* end confdefs.h. */
18984 if { (ac_try="$ac_cpp conftest.
$ac_ext"
18985 case "(($ac_try" in
18986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987 *) ac_try_echo=$ac_try;;
18989 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
18990 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
18992 grep -v '^ *+' conftest.er1 >conftest.err
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
18996 (exit $ac_status); } >/dev/null && {
18997 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18998 test ! -s conftest.err
19000 ac_header_preproc=yes
19002 echo "$as_me: failed program was
:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ac_header_preproc=no
19008 rm -f conftest.err conftest.$ac_ext
19009 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19010 echo "${ECHO_T}$ac_header_preproc" >&6; }
19012 # So? What about this header?
19013 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19015 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19016 echo "$as_me: WARNING
: ltdl.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19017 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the compiler
's result" >&5
19018 echo "$as_me: WARNING: ltdl.h: proceeding with the compiler's result
" >&2;}
19019 ac_header_preproc=yes
19022 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: present but cannot be compiled
" >&5
19023 echo "$as_me: WARNING
: ltdl.h
: present but cannot be compiled
" >&2;}
19024 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&5
19025 echo "$as_me: WARNING
: ltdl.h
: check
for missing prerequisite headers?
" >&2;}
19026 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: see the Autoconf documentation
" >&5
19027 echo "$as_me: WARNING
: ltdl.h
: see the Autoconf documentation
" >&2;}
19028 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19029 echo "$as_me: WARNING
: ltdl.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19030 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: proceeding with the preprocessor
's result" >&5
19031 echo "$as_me: WARNING: ltdl.h: proceeding with the preprocessor's result
" >&2;}
19032 { echo "$as_me:$LINENO: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&5
19033 echo "$as_me: WARNING
: ltdl.h
: in the future
, the compiler will take precedence
" >&2;}
19037 { echo "$as_me:$LINENO: checking
for ltdl.h
" >&5
19038 echo $ECHO_N "checking
for ltdl.h...
$ECHO_C" >&6; }
19039 if test "${ac_cv_header_ltdl_h+set}" = set; then
19040 echo $ECHO_N "(cached
) $ECHO_C" >&6
19042 ac_cv_header_ltdl_h=$ac_header_preproc
19044 { echo "$as_me:$LINENO: result
: $ac_cv_header_ltdl_h" >&5
19045 echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6; }
19048 if test $ac_cv_header_ltdl_h = yes; then
19049 LTDL_HEADER_FOUND=1
19051 LTDL_HEADER_FOUND=0
19057 if test "x
${LTDL_HEADER_FOUND}" = "x0
" ; then
19058 if test -n "${LTDL_MANDATORY}" ;
19060 { echo "$as_me:$LINENO: ***" >&5
19061 echo "$as_me: ***" >&6;}
19062 { echo "$as_me:$LINENO: *** It appears that you
do not have the ltdl development package installed.
" >&5
19063 echo "$as_me: *** It appears that you
do not have the ltdl development package installed.
" >&6;}
19064 { echo "$as_me:$LINENO: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&5
19065 echo "$as_me: *** Please
install it to include
${LTDL_DESCRIP} support
, or re-run configure
" >&6;}
19066 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
19067 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_LTDL 1
19081 elif test -n "${LTDL_MANDATORY}";
19083 { echo "$as_me:$LINENO: ***" >&5
19084 echo "$as_me: ***" >&6;}
19085 { echo "$as_me:$LINENO: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&5
19086 echo "$as_me: *** The
${LTDL_DESCRIP} installation on this system appears to be broken.
" >&6;}
19087 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19088 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19089 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${LTDL_OPTION}" >&5
19090 echo "$as_me: *** without explicitly specifying
--with-${LTDL_OPTION}" >&6;}
19097 ac_cpp='$CXXCPP $CPPFLAGS'
19098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19103 if test "${USE_KDE}" != "no
"; then
19104 { echo "$as_me:$LINENO: checking
for crashHandler
in -lkdecore" >&5
19105 echo $ECHO_N "checking
for crashHandler
in -lkdecore...
$ECHO_C" >&6; }
19106 saved_libs="${LIBS}"
19107 saved_cppflags="${CPPFLAGS}"
19108 CPPFLAGS="${CPPFLAGS} -I${KDE_DIR}/include
"
19109 if test -d ${KDE_DIR}/lib; then
19110 kdelibdir="${KDE_DIR}/lib
"
19112 kdelibdir="${KDE_DIR}"
19114 LIBS="${LIBS} -L${kdelibdir} -lkdecore"
19117 cat >conftest.$ac_ext <<_ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123 #include "kcrash.h
"
19127 KCrash::defaultCrashHandler(1);
19133 rm -f conftest.$ac_objext conftest$ac_exeext
19134 if { (ac_try="$ac_link"
19135 case "(($ac_try" in
19136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19137 *) ac_try_echo=$ac_try;;
19139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19140 (eval "$ac_link") 2>conftest.er1
19142 grep -v '^ *+' conftest.er1 >conftest.err
19144 cat conftest.err >&5
19145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19146 (exit $ac_status); } && {
19147 test -z "$ac_cxx_werror_flag" ||
19148 test ! -s conftest.err
19149 } && test -s conftest$ac_exeext &&
19150 $as_test_x conftest$ac_exeext; then
19151 ac_cv_lib_kde_crash="yes"
19153 echo "$as_me: failed program was
:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19156 ac_cv_lib_kde_crash="no
"
19159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19160 conftest$ac_exeext conftest.$ac_ext
19162 LIBS="${saved_libs}"
19163 CPPFLAGS="${saved_cppflags}"
19165 if test "${ac_cv_lib_kde_crash}" = "yes"; then
19166 { echo "$as_me:$LINENO: result
: yes" >&5
19167 echo "${ECHO_T}yes" >&6; }
19168 KDE_LIB="-lkdecore -lkdeui"
19169 if test "${KDE_DIR}" != ""; then
19170 KDE_LIB="-L${kdelibdir} ${KDE_LIB}"
19171 KDE_INCLUDE="-I${KDE_DIR}/include
"
19175 cat >>confdefs.h <<\_ACEOF
19176 #define HAVE_LIBKDE 1
19179 elif test -n "${KDE_MANDATORY}"; then
19180 { echo "$as_me:$LINENO: result
: no
" >&5
19181 echo "${ECHO_T}no
" >&6; }
19182 { echo "$as_me:$LINENO: ***" >&5
19183 echo "$as_me: ***" >&6;}
19184 { echo "$as_me:$LINENO: *** The KDE installation on this system appears to be broken.
" >&5
19185 echo "$as_me: *** The KDE installation on this system appears to be broken.
" >&6;}
19186 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19187 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19188 { echo "$as_me:$LINENO: *** including
--without-kde.
" >&5
19189 echo "$as_me: *** including
--without-kde.
" >&6;}
19192 { echo "$as_me:$LINENO: result
: no
" >&5
19193 echo "${ECHO_T}no
" >&6; }
19196 if test "${PBX_KDE}" = 1; then
19197 if test -n "$ac_tool_prefix"; then
19198 # Extract the first word of "${ac_tool_prefix}kdeinit
", so it can be a program name with args.
19199 set dummy ${ac_tool_prefix}kdeinit; ac_word=$2
19200 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19201 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19202 if test "${ac_cv_path_KDEINIT+set}" = set; then
19203 echo $ECHO_N "(cached
) $ECHO_C" >&6
19207 ac_cv_path_KDEINIT="$KDEINIT" # Let the user override the test with a path.
19210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19211 for as_dir in $PATH
19214 test -z "$as_dir" && as_dir=.
19215 for ac_exec_ext in '' $ac_executable_extensions; do
19216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19217 ac_cv_path_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
19218 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19228 KDEINIT=$ac_cv_path_KDEINIT
19229 if test -n "$KDEINIT"; then
19230 { echo "$as_me:$LINENO: result
: $KDEINIT" >&5
19231 echo "${ECHO_T}$KDEINIT" >&6; }
19233 { echo "$as_me:$LINENO: result
: no
" >&5
19234 echo "${ECHO_T}no
" >&6; }
19239 if test -z "$ac_cv_path_KDEINIT"; then
19240 ac_pt_KDEINIT=$KDEINIT
19241 # Extract the first word of "kdeinit
", so it can be a program name with args.
19242 set dummy kdeinit; ac_word=$2
19243 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19244 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19245 if test "${ac_cv_path_ac_pt_KDEINIT+set}" = set; then
19246 echo $ECHO_N "(cached
) $ECHO_C" >&6
19248 case $ac_pt_KDEINIT in
19250 ac_cv_path_ac_pt_KDEINIT="$ac_pt_KDEINIT" # Let the user override the test with a path.
19253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19254 for as_dir in $PATH
19257 test -z "$as_dir" && as_dir=.
19258 for ac_exec_ext in '' $ac_executable_extensions; do
19259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19260 ac_cv_path_ac_pt_KDEINIT="$as_dir/$ac_word$ac_exec_ext"
19261 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19271 ac_pt_KDEINIT=$ac_cv_path_ac_pt_KDEINIT
19272 if test -n "$ac_pt_KDEINIT"; then
19273 { echo "$as_me:$LINENO: result
: $ac_pt_KDEINIT" >&5
19274 echo "${ECHO_T}$ac_pt_KDEINIT" >&6; }
19276 { echo "$as_me:$LINENO: result
: no
" >&5
19277 echo "${ECHO_T}no
" >&6; }
19280 if test "x
$ac_pt_KDEINIT" = x; then
19283 case $cross_compiling:$ac_tool_warned in
19285 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
19286 whose name does not start with the
host triplet. If you think this
19287 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
19288 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
19289 whose name does not start with the
host triplet. If you think this
19290 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
19291 ac_tool_warned=yes ;;
19293 KDEINIT=$ac_pt_KDEINIT
19296 KDEINIT="$ac_cv_path_KDEINIT"
19299 if test ! x"${KDEINIT}" = xNo; then
19300 KDEDIR=$(${DIRNAME} ${KDEINIT})
19301 KDEDIR=$(${DIRNAME} ${KDEDIR})
19307 ac_cpp='$CPP $CPPFLAGS'
19308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19314 if test "${USE_MISDN}" != "no
"; then
19316 if test "x
${MISDN_DIR}" != "x
"; then
19317 if test -d ${MISDN_DIR}/lib; then
19318 pbxlibdir="-L${MISDN_DIR}/lib
"
19320 pbxlibdir="-L${MISDN_DIR}"
19323 { echo "$as_me:$LINENO: checking
for mISDN_open
in -lmISDN" >&5
19324 echo $ECHO_N "checking
for mISDN_open
in -lmISDN...
$ECHO_C" >&6; }
19325 if test "${ac_cv_lib_mISDN_mISDN_open+set}" = set; then
19326 echo $ECHO_N "(cached
) $ECHO_C" >&6
19328 ac_check_lib_save_LIBS=$LIBS
19329 LIBS="-lmISDN ${pbxlibdir} $LIBS"
19330 cat >conftest.$ac_ext <<_ACEOF
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19337 /* Override any GCC internal prototype to avoid an error.
19338 Use char because int might match the return type of a GCC
19339 builtin and then its argument prototype would still apply. */
19343 char mISDN_open ();
19347 return mISDN_open ();
19352 rm -f conftest.$ac_objext conftest$ac_exeext
19353 if { (ac_try="$ac_link"
19354 case "(($ac_try" in
19355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19356 *) ac_try_echo=$ac_try;;
19358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19359 (eval "$ac_link") 2>conftest.er1
19361 grep -v '^ *+' conftest.er1 >conftest.err
19363 cat conftest.err >&5
19364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19365 (exit $ac_status); } && {
19366 test -z "$ac_c_werror_flag" ||
19367 test ! -s conftest.err
19368 } && test -s conftest$ac_exeext &&
19369 $as_test_x conftest$ac_exeext; then
19370 ac_cv_lib_mISDN_mISDN_open=yes
19372 echo "$as_me: failed program was
:" >&5
19373 sed 's/^/| /' conftest.$ac_ext >&5
19375 ac_cv_lib_mISDN_mISDN_open=no
19378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19379 conftest$ac_exeext conftest.$ac_ext
19380 LIBS=$ac_check_lib_save_LIBS
19382 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mISDN_mISDN_open" >&5
19383 echo "${ECHO_T}$ac_cv_lib_mISDN_mISDN_open" >&6; }
19384 if test $ac_cv_lib_mISDN_mISDN_open = yes; then
19385 AST_MISDN_FOUND=yes
19391 if test "${AST_MISDN_FOUND}" = "yes"; then
19392 MISDN_LIB="-lmISDN "
19393 MISDN_HEADER_FOUND="1"
19394 if test "x
${MISDN_DIR}" != "x
"; then
19395 MISDN_LIB="${pbxlibdir} ${MISDN_LIB}"
19396 MISDN_INCLUDE="-I${MISDN_DIR}/include
"
19397 saved_cppflags="${CPPFLAGS}"
19398 CPPFLAGS="${CPPFLAGS} -I${MISDN_DIR}/include
"
19399 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19400 as_ac_Header=`echo "ac_cv_header_
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" | $as_tr_sh`
19401 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19402 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19403 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19404 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19405 echo $ECHO_N "(cached
) $ECHO_C" >&6
19407 ac_res=`eval echo '${'$as_ac_Header'}'`
19408 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19409 echo "${ECHO_T}$ac_res" >&6; }
19411 # Is the header compilable?
19412 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability
" >&5
19413 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19414 cat >conftest.$ac_ext <<_ACEOF
19417 cat confdefs.h >>conftest.$ac_ext
19418 cat >>conftest.$ac_ext <<_ACEOF
19419 /* end confdefs.h. */
19420 $ac_includes_default
19421 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19423 rm -f conftest.$ac_objext
19424 if { (ac_try="$ac_compile"
19425 case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_compile") 2>conftest.er1
19432 grep -v '^ *+' conftest.er1 >conftest.err
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19436 (exit $ac_status); } && {
19437 test -z "$ac_c_werror_flag" ||
19438 test ! -s conftest.err
19439 } && test -s conftest.$ac_objext; then
19440 ac_header_compiler=yes
19442 echo "$as_me: failed program was
:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 ac_header_compiler=no
19448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19449 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19450 echo "${ECHO_T}$ac_header_compiler" >&6; }
19452 # Is the header present?
19453 { echo "$as_me:$LINENO: checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence
" >&5
19454 echo $ECHO_N "checking
${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <${MISDN_DIR}/include/mISDNuser/mISDNlib.h>
19463 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19464 case "(($ac_try" in
19465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19466 *) ac_try_echo=$ac_try;;
19468 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19469 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19471 grep -v '^ *+' conftest.er1 >conftest.err
19473 cat conftest.err >&5
19474 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19475 (exit $ac_status); } >/dev/null && {
19476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19477 test ! -s conftest.err
19479 ac_header_preproc=yes
19481 echo "$as_me: failed program was
:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19484 ac_header_preproc=no
19487 rm -f conftest.err conftest.$ac_ext
19488 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19489 echo "${ECHO_T}$ac_header_preproc" >&6; }
19491 # So? What about this header?
19492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19494 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19495 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19496 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19497 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19498 ac_header_preproc=yes
19501 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19502 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19503 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19504 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19505 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19506 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19507 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19508 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19509 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19510 echo "$as_me: WARNING: ${MISDN_DIR}/include/mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19511 { echo "$as_me:$LINENO: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19512 echo "$as_me: WARNING
: ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19516 { echo "$as_me:$LINENO: checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h
" >&5
19517 echo $ECHO_N "checking
for ${MISDN_DIR}/include
/mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19518 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19519 echo $ECHO_N "(cached
) $ECHO_C" >&6
19521 eval "$as_ac_Header=\
$ac_header_preproc"
19523 ac_res=`eval echo '${'$as_ac_Header'}'`
19524 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19525 echo "${ECHO_T}$ac_res" >&6; }
19528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19529 MISDN_HEADER_FOUND=1
19531 MISDN_HEADER_FOUND=0
19536 CPPFLAGS="${saved_cppflags}"
19538 if test "xmISDNuser
/mISDNlib.h
" != "x
" ; then
19539 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19540 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19541 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19542 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19543 echo $ECHO_N "(cached
) $ECHO_C" >&6
19545 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19546 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19548 # Is the header compilable?
19549 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h usability
" >&5
19550 echo $ECHO_N "checking mISDNuser
/mISDNlib.h usability...
$ECHO_C" >&6; }
19551 cat >conftest.$ac_ext <<_ACEOF
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 $ac_includes_default
19558 #include <mISDNuser/mISDNlib.h>
19560 rm -f conftest.$ac_objext
19561 if { (ac_try="$ac_compile"
19562 case "(($ac_try" in
19563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19564 *) ac_try_echo=$ac_try;;
19566 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19567 (eval "$ac_compile") 2>conftest.er1
19569 grep -v '^ *+' conftest.er1 >conftest.err
19571 cat conftest.err >&5
19572 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19573 (exit $ac_status); } && {
19574 test -z "$ac_c_werror_flag" ||
19575 test ! -s conftest.err
19576 } && test -s conftest.$ac_objext; then
19577 ac_header_compiler=yes
19579 echo "$as_me: failed program was
:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19582 ac_header_compiler=no
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19587 echo "${ECHO_T}$ac_header_compiler" >&6; }
19589 # Is the header present?
19590 { echo "$as_me:$LINENO: checking mISDNuser
/mISDNlib.h presence
" >&5
19591 echo $ECHO_N "checking mISDNuser
/mISDNlib.h presence...
$ECHO_C" >&6; }
19592 cat >conftest.$ac_ext <<_ACEOF
19595 cat confdefs.h >>conftest.$ac_ext
19596 cat >>conftest.$ac_ext <<_ACEOF
19597 /* end confdefs.h. */
19598 #include <mISDNuser/mISDNlib.h>
19600 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19605 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19608 grep -v '^ *+' conftest.er1 >conftest.err
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19612 (exit $ac_status); } >/dev/null && {
19613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19616 ac_header_preproc=yes
19618 echo "$as_me: failed program was
:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 ac_header_preproc=no
19624 rm -f conftest.err conftest.$ac_ext
19625 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19626 echo "${ECHO_T}$ac_header_preproc" >&6; }
19628 # So? What about this header?
19629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19631 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19632 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19633 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the compiler
's result" >&5
19634 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the compiler's result
" >&2;}
19635 ac_header_preproc=yes
19638 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&5
19639 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: present but cannot be compiled
" >&2;}
19640 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&5
19641 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: check
for missing prerequisite headers?
" >&2;}
19642 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&5
19643 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: see the Autoconf documentation
" >&2;}
19644 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19645 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19646 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: proceeding with the preprocessor
's result" >&5
19647 echo "$as_me: WARNING: mISDNuser/mISDNlib.h: proceeding with the preprocessor's result
" >&2;}
19648 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&5
19649 echo "$as_me: WARNING
: mISDNuser
/mISDNlib.h
: in the future
, the compiler will take precedence
" >&2;}
19653 { echo "$as_me:$LINENO: checking
for mISDNuser
/mISDNlib.h
" >&5
19654 echo $ECHO_N "checking
for mISDNuser
/mISDNlib.h...
$ECHO_C" >&6; }
19655 if test "${ac_cv_header_mISDNuser_mISDNlib_h+set}" = set; then
19656 echo $ECHO_N "(cached
) $ECHO_C" >&6
19658 ac_cv_header_mISDNuser_mISDNlib_h=$ac_header_preproc
19660 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_mISDNlib_h" >&5
19661 echo "${ECHO_T}$ac_cv_header_mISDNuser_mISDNlib_h" >&6; }
19664 if test $ac_cv_header_mISDNuser_mISDNlib_h = yes; then
19665 MISDN_HEADER_FOUND=1
19667 MISDN_HEADER_FOUND=0
19673 if test "x
${MISDN_HEADER_FOUND}" = "x0
" ; then
19674 if test -n "${MISDN_MANDATORY}" ;
19676 { echo "$as_me:$LINENO: ***" >&5
19677 echo "$as_me: ***" >&6;}
19678 { echo "$as_me:$LINENO: *** It appears that you
do not have the mISDN development package installed.
" >&5
19679 echo "$as_me: *** It appears that you
do not have the mISDN development package installed.
" >&6;}
19680 { echo "$as_me:$LINENO: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&5
19681 echo "$as_me: *** Please
install it to include
${MISDN_DESCRIP} support
, or re-run configure
" >&6;}
19682 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19683 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19692 cat >>confdefs.h <<_ACEOF
19693 #define HAVE_MISDN 1
19697 elif test -n "${MISDN_MANDATORY}";
19699 { echo "$as_me:$LINENO: ***" >&5
19700 echo "$as_me: ***" >&6;}
19701 { echo "$as_me:$LINENO: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&5
19702 echo "$as_me: *** The
${MISDN_DESCRIP} installation on this system appears to be broken.
" >&6;}
19703 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
19704 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
19705 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${MISDN_OPTION}" >&5
19706 echo "$as_me: *** without explicitly specifying
--with-${MISDN_OPTION}" >&6;}
19712 if test "${PBX_MISDN}" = 1; then
19714 if test "${USE_ISDNNET}" != "no
"; then
19716 if test "x
${ISDNNET_DIR}" != "x
"; then
19717 if test -d ${ISDNNET_DIR}/lib; then
19718 pbxlibdir="-L${ISDNNET_DIR}/lib
"
19720 pbxlibdir="-L${ISDNNET_DIR}"
19723 { echo "$as_me:$LINENO: checking
for init_manager
in -lisdnnet" >&5
19724 echo $ECHO_N "checking
for init_manager
in -lisdnnet...
$ECHO_C" >&6; }
19725 if test "${ac_cv_lib_isdnnet_init_manager+set}" = set; then
19726 echo $ECHO_N "(cached
) $ECHO_C" >&6
19728 ac_check_lib_save_LIBS=$LIBS
19729 LIBS="-lisdnnet ${pbxlibdir} -lmISDN -lpthread $LIBS"
19730 cat >conftest.$ac_ext <<_ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19737 /* Override any GCC internal prototype to avoid an error.
19738 Use char because int might match the return type of a GCC
19739 builtin and then its argument prototype would still apply. */
19743 char init_manager ();
19747 return init_manager ();
19752 rm -f conftest.$ac_objext conftest$ac_exeext
19753 if { (ac_try="$ac_link"
19754 case "(($ac_try" in
19755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19756 *) ac_try_echo=$ac_try;;
19758 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19759 (eval "$ac_link") 2>conftest.er1
19761 grep -v '^ *+' conftest.er1 >conftest.err
19763 cat conftest.err >&5
19764 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19765 (exit $ac_status); } && {
19766 test -z "$ac_c_werror_flag" ||
19767 test ! -s conftest.err
19768 } && test -s conftest$ac_exeext &&
19769 $as_test_x conftest$ac_exeext; then
19770 ac_cv_lib_isdnnet_init_manager=yes
19772 echo "$as_me: failed program was
:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 ac_cv_lib_isdnnet_init_manager=no
19778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19779 conftest$ac_exeext conftest.$ac_ext
19780 LIBS=$ac_check_lib_save_LIBS
19782 { echo "$as_me:$LINENO: result
: $ac_cv_lib_isdnnet_init_manager" >&5
19783 echo "${ECHO_T}$ac_cv_lib_isdnnet_init_manager" >&6; }
19784 if test $ac_cv_lib_isdnnet_init_manager = yes; then
19785 AST_ISDNNET_FOUND=yes
19787 AST_ISDNNET_FOUND=no
19791 if test "${AST_ISDNNET_FOUND}" = "yes"; then
19792 ISDNNET_LIB="-lisdnnet -lmISDN -lpthread"
19793 ISDNNET_HEADER_FOUND="1"
19794 if test "x
${ISDNNET_DIR}" != "x
"; then
19795 ISDNNET_LIB="${pbxlibdir} ${ISDNNET_LIB}"
19796 ISDNNET_INCLUDE="-I${ISDNNET_DIR}/include
"
19797 saved_cppflags="${CPPFLAGS}"
19798 CPPFLAGS="${CPPFLAGS} -I${ISDNNET_DIR}/include
"
19799 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19800 as_ac_Header=`echo "ac_cv_header_
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" | $as_tr_sh`
19801 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19802 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19803 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19804 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19805 echo $ECHO_N "(cached
) $ECHO_C" >&6
19807 ac_res=`eval echo '${'$as_ac_Header'}'`
19808 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19809 echo "${ECHO_T}$ac_res" >&6; }
19811 # Is the header compilable?
19812 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability
" >&5
19813 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19814 cat >conftest.$ac_ext <<_ACEOF
19817 cat confdefs.h >>conftest.$ac_ext
19818 cat >>conftest.$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19820 $ac_includes_default
19821 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19823 rm -f conftest.$ac_objext
19824 if { (ac_try="$ac_compile"
19825 case "(($ac_try" in
19826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19827 *) ac_try_echo=$ac_try;;
19829 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19830 (eval "$ac_compile") 2>conftest.er1
19832 grep -v '^ *+' conftest.er1 >conftest.err
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19836 (exit $ac_status); } && {
19837 test -z "$ac_c_werror_flag" ||
19838 test ! -s conftest.err
19839 } && test -s conftest.$ac_objext; then
19840 ac_header_compiler=yes
19842 echo "$as_me: failed program was
:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 ac_header_compiler=no
19848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19849 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19850 echo "${ECHO_T}$ac_header_compiler" >&6; }
19852 # Is the header present?
19853 { echo "$as_me:$LINENO: checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence
" >&5
19854 echo $ECHO_N "checking
${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19855 cat >conftest.$ac_ext <<_ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 #include <${ISDNNET_DIR}/include/mISDNuser/isdn_net.h>
19863 if { (ac_try="$ac_cpp conftest.
$ac_ext"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19868 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
19871 grep -v '^ *+' conftest.er1 >conftest.err
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19875 (exit $ac_status); } >/dev/null && {
19876 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
19877 test ! -s conftest.err
19879 ac_header_preproc=yes
19881 echo "$as_me: failed program was
:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 ac_header_preproc=no
19887 rm -f conftest.err conftest.$ac_ext
19888 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
19889 echo "${ECHO_T}$ac_header_preproc" >&6; }
19891 # So? What about this header?
19892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19894 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
19895 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
19896 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
19897 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
19898 ac_header_preproc=yes
19901 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
19902 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
19903 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
19904 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
19905 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
19906 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
19907 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
19908 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
19909 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
19910 echo "$as_me: WARNING: ${ISDNNET_DIR}/include/mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
19911 { echo "$as_me:$LINENO: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
19912 echo "$as_me: WARNING
: ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
19916 { echo "$as_me:$LINENO: checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h
" >&5
19917 echo $ECHO_N "checking
for ${ISDNNET_DIR}/include
/mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19918 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
19919 echo $ECHO_N "(cached
) $ECHO_C" >&6
19921 eval "$as_ac_Header=\
$ac_header_preproc"
19923 ac_res=`eval echo '${'$as_ac_Header'}'`
19924 { echo "$as_me:$LINENO: result
: $ac_res" >&5
19925 echo "${ECHO_T}$ac_res" >&6; }
19928 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19929 ISDNNET_HEADER_FOUND=1
19931 ISDNNET_HEADER_FOUND=0
19936 CPPFLAGS="${saved_cppflags}"
19938 if test "xmISDNuser
/isdn_net.h
" != "x
" ; then
19939 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19940 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
19941 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
19942 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
19943 echo $ECHO_N "(cached
) $ECHO_C" >&6
19945 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
19946 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
19948 # Is the header compilable?
19949 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h usability
" >&5
19950 echo $ECHO_N "checking mISDNuser
/isdn_net.h usability...
$ECHO_C" >&6; }
19951 cat >conftest.$ac_ext <<_ACEOF
19954 cat confdefs.h >>conftest.$ac_ext
19955 cat >>conftest.$ac_ext <<_ACEOF
19956 /* end confdefs.h. */
19957 $ac_includes_default
19958 #include <mISDNuser/isdn_net.h>
19960 rm -f conftest.$ac_objext
19961 if { (ac_try="$ac_compile"
19962 case "(($ac_try" in
19963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19964 *) ac_try_echo=$ac_try;;
19966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19967 (eval "$ac_compile") 2>conftest.er1
19969 grep -v '^ *+' conftest.er1 >conftest.err
19971 cat conftest.err >&5
19972 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19973 (exit $ac_status); } && {
19974 test -z "$ac_c_werror_flag" ||
19975 test ! -s conftest.err
19976 } && test -s conftest.$ac_objext; then
19977 ac_header_compiler=yes
19979 echo "$as_me: failed program was
:" >&5
19980 sed 's/^/| /' conftest.$ac_ext >&5
19982 ac_header_compiler=no
19985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19986 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
19987 echo "${ECHO_T}$ac_header_compiler" >&6; }
19989 # Is the header present?
19990 { echo "$as_me:$LINENO: checking mISDNuser
/isdn_net.h presence
" >&5
19991 echo $ECHO_N "checking mISDNuser
/isdn_net.h presence...
$ECHO_C" >&6; }
19992 cat >conftest.$ac_ext <<_ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19998 #include <mISDNuser/isdn_net.h>
20000 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20001 case "(($ac_try" in
20002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20003 *) ac_try_echo=$ac_try;;
20005 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20006 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20008 grep -v '^ *+' conftest.er1 >conftest.err
20010 cat conftest.err >&5
20011 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20012 (exit $ac_status); } >/dev/null && {
20013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20014 test ! -s conftest.err
20016 ac_header_preproc=yes
20018 echo "$as_me: failed program was
:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 ac_header_preproc=no
20024 rm -f conftest.err conftest.$ac_ext
20025 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20026 echo "${ECHO_T}$ac_header_preproc" >&6; }
20028 # So? What about this header?
20029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20031 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20032 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20033 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the compiler
's result" >&5
20034 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the compiler's result
" >&2;}
20035 ac_header_preproc=yes
20038 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&5
20039 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: present but cannot be compiled
" >&2;}
20040 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&5
20041 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: check
for missing prerequisite headers?
" >&2;}
20042 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&5
20043 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: see the Autoconf documentation
" >&2;}
20044 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20045 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20046 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: proceeding with the preprocessor
's result" >&5
20047 echo "$as_me: WARNING: mISDNuser/isdn_net.h: proceeding with the preprocessor's result
" >&2;}
20048 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&5
20049 echo "$as_me: WARNING
: mISDNuser
/isdn_net.h
: in the future
, the compiler will take precedence
" >&2;}
20053 { echo "$as_me:$LINENO: checking
for mISDNuser
/isdn_net.h
" >&5
20054 echo $ECHO_N "checking
for mISDNuser
/isdn_net.h...
$ECHO_C" >&6; }
20055 if test "${ac_cv_header_mISDNuser_isdn_net_h+set}" = set; then
20056 echo $ECHO_N "(cached
) $ECHO_C" >&6
20058 ac_cv_header_mISDNuser_isdn_net_h=$ac_header_preproc
20060 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_isdn_net_h" >&5
20061 echo "${ECHO_T}$ac_cv_header_mISDNuser_isdn_net_h" >&6; }
20064 if test $ac_cv_header_mISDNuser_isdn_net_h = yes; then
20065 ISDNNET_HEADER_FOUND=1
20067 ISDNNET_HEADER_FOUND=0
20073 if test "x
${ISDNNET_HEADER_FOUND}" = "x0
" ; then
20074 if test -n "${ISDNNET_MANDATORY}" ;
20076 { echo "$as_me:$LINENO: ***" >&5
20077 echo "$as_me: ***" >&6;}
20078 { echo "$as_me:$LINENO: *** It appears that you
do not have the isdnnet development package installed.
" >&5
20079 echo "$as_me: *** It appears that you
do not have the isdnnet development package installed.
" >&6;}
20080 { echo "$as_me:$LINENO: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&5
20081 echo "$as_me: *** Please
install it to include
${ISDNNET_DESCRIP} support
, or re-run configure
" >&6;}
20082 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
20083 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
20092 cat >>confdefs.h <<_ACEOF
20093 #define HAVE_ISDNNET 1
20097 elif test -n "${ISDNNET_MANDATORY}";
20099 { echo "$as_me:$LINENO: ***" >&5
20100 echo "$as_me: ***" >&6;}
20101 { echo "$as_me:$LINENO: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&5
20102 echo "$as_me: *** The
${ISDNNET_DESCRIP} installation on this system appears to be broken.
" >&6;}
20103 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20104 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20105 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&5
20106 echo "$as_me: *** without explicitly specifying
--with-${ISDNNET_OPTION}" >&6;}
20112 if test "${USE_SUPPSERV}" != "no
"; then
20114 if test "x
${SUPPSERV_DIR}" != "x
"; then
20115 if test -d ${SUPPSERV_DIR}/lib; then
20116 pbxlibdir="-L${SUPPSERV_DIR}/lib
"
20118 pbxlibdir="-L${SUPPSERV_DIR}"
20121 { echo "$as_me:$LINENO: checking
for encodeFac
in -lsuppserv" >&5
20122 echo $ECHO_N "checking
for encodeFac
in -lsuppserv...
$ECHO_C" >&6; }
20123 if test "${ac_cv_lib_suppserv_encodeFac+set}" = set; then
20124 echo $ECHO_N "(cached
) $ECHO_C" >&6
20126 ac_check_lib_save_LIBS=$LIBS
20127 LIBS="-lsuppserv ${pbxlibdir} $LIBS"
20128 cat >conftest.$ac_ext <<_ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20135 /* Override any GCC internal prototype to avoid an error.
20136 Use char because int might match the return type of a GCC
20137 builtin and then its argument prototype would still apply. */
20145 return encodeFac ();
20150 rm -f conftest.$ac_objext conftest$ac_exeext
20151 if { (ac_try="$ac_link"
20152 case "(($ac_try" in
20153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20154 *) ac_try_echo=$ac_try;;
20156 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20157 (eval "$ac_link") 2>conftest.er1
20159 grep -v '^ *+' conftest.er1 >conftest.err
20161 cat conftest.err >&5
20162 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20163 (exit $ac_status); } && {
20164 test -z "$ac_c_werror_flag" ||
20165 test ! -s conftest.err
20166 } && test -s conftest$ac_exeext &&
20167 $as_test_x conftest$ac_exeext; then
20168 ac_cv_lib_suppserv_encodeFac=yes
20170 echo "$as_me: failed program was
:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20173 ac_cv_lib_suppserv_encodeFac=no
20176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20177 conftest$ac_exeext conftest.$ac_ext
20178 LIBS=$ac_check_lib_save_LIBS
20180 { echo "$as_me:$LINENO: result
: $ac_cv_lib_suppserv_encodeFac" >&5
20181 echo "${ECHO_T}$ac_cv_lib_suppserv_encodeFac" >&6; }
20182 if test $ac_cv_lib_suppserv_encodeFac = yes; then
20183 AST_SUPPSERV_FOUND=yes
20185 AST_SUPPSERV_FOUND=no
20189 if test "${AST_SUPPSERV_FOUND}" = "yes"; then
20190 SUPPSERV_LIB="-lsuppserv "
20191 SUPPSERV_HEADER_FOUND="1"
20192 if test "x
${SUPPSERV_DIR}" != "x
"; then
20193 SUPPSERV_LIB="${pbxlibdir} ${SUPPSERV_LIB}"
20194 SUPPSERV_INCLUDE="-I${SUPPSERV_DIR}/include
"
20195 saved_cppflags="${CPPFLAGS}"
20196 CPPFLAGS="${CPPFLAGS} -I${SUPPSERV_DIR}/include
"
20197 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
20198 as_ac_Header=`echo "ac_cv_header_
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" | $as_tr_sh`
20199 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20200 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
20201 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20202 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20203 echo $ECHO_N "(cached
) $ECHO_C" >&6
20205 ac_res=`eval echo '${'$as_ac_Header'}'`
20206 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20207 echo "${ECHO_T}$ac_res" >&6; }
20209 # Is the header compilable?
20210 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability
" >&5
20211 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
20212 cat >conftest.$ac_ext <<_ACEOF
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20218 $ac_includes_default
20219 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
20221 rm -f conftest.$ac_objext
20222 if { (ac_try="$ac_compile"
20223 case "(($ac_try" in
20224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20225 *) ac_try_echo=$ac_try;;
20227 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20228 (eval "$ac_compile") 2>conftest.er1
20230 grep -v '^ *+' conftest.er1 >conftest.err
20232 cat conftest.err >&5
20233 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20234 (exit $ac_status); } && {
20235 test -z "$ac_c_werror_flag" ||
20236 test ! -s conftest.err
20237 } && test -s conftest.$ac_objext; then
20238 ac_header_compiler=yes
20240 echo "$as_me: failed program was
:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 ac_header_compiler=no
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20248 echo "${ECHO_T}$ac_header_compiler" >&6; }
20250 # Is the header present?
20251 { echo "$as_me:$LINENO: checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence
" >&5
20252 echo $ECHO_N "checking
${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
20253 cat >conftest.$ac_ext <<_ACEOF
20256 cat confdefs.h >>conftest.$ac_ext
20257 cat >>conftest.$ac_ext <<_ACEOF
20258 /* end confdefs.h. */
20259 #include <${SUPPSERV_DIR}/include/mISDNuser/suppserv.h>
20261 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20262 case "(($ac_try" in
20263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20264 *) ac_try_echo=$ac_try;;
20266 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20267 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1 >conftest.err
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20273 (exit $ac_status); } >/dev/null && {
20274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20277 ac_header_preproc=yes
20279 echo "$as_me: failed program was
:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 ac_header_preproc=no
20285 rm -f conftest.err conftest.$ac_ext
20286 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20287 echo "${ECHO_T}$ac_header_preproc" >&6; }
20289 # So? What about this header?
20290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20292 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20293 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20294 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20295 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20296 ac_header_preproc=yes
20299 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20300 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20301 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20302 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20303 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20304 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20305 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20306 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20307 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20308 echo "$as_me: WARNING: ${SUPPSERV_DIR}/include/mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20309 { echo "$as_me:$LINENO: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20310 echo "$as_me: WARNING
: ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20314 { echo "$as_me:$LINENO: checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h
" >&5
20315 echo $ECHO_N "checking
for ${SUPPSERV_DIR}/include
/mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20316 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20317 echo $ECHO_N "(cached
) $ECHO_C" >&6
20319 eval "$as_ac_Header=\
$ac_header_preproc"
20321 ac_res=`eval echo '${'$as_ac_Header'}'`
20322 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20323 echo "${ECHO_T}$ac_res" >&6; }
20326 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20327 SUPPSERV_HEADER_FOUND=1
20329 SUPPSERV_HEADER_FOUND=0
20334 CPPFLAGS="${saved_cppflags}"
20336 if test "xmISDNuser
/suppserv.h
" != "x
" ; then
20337 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20338 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20339 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20340 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20341 echo $ECHO_N "(cached
) $ECHO_C" >&6
20343 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20344 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20346 # Is the header compilable?
20347 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h usability
" >&5
20348 echo $ECHO_N "checking mISDNuser
/suppserv.h usability...
$ECHO_C" >&6; }
20349 cat >conftest.$ac_ext <<_ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 #include <mISDNuser/suppserv.h>
20358 rm -f conftest.$ac_objext
20359 if { (ac_try="$ac_compile"
20360 case "(($ac_try" in
20361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20362 *) ac_try_echo=$ac_try;;
20364 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20365 (eval "$ac_compile") 2>conftest.er1
20367 grep -v '^ *+' conftest.er1 >conftest.err
20369 cat conftest.err >&5
20370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20371 (exit $ac_status); } && {
20372 test -z "$ac_c_werror_flag" ||
20373 test ! -s conftest.err
20374 } && test -s conftest.$ac_objext; then
20375 ac_header_compiler=yes
20377 echo "$as_me: failed program was
:" >&5
20378 sed 's/^/| /' conftest.$ac_ext >&5
20380 ac_header_compiler=no
20383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20385 echo "${ECHO_T}$ac_header_compiler" >&6; }
20387 # Is the header present?
20388 { echo "$as_me:$LINENO: checking mISDNuser
/suppserv.h presence
" >&5
20389 echo $ECHO_N "checking mISDNuser
/suppserv.h presence...
$ECHO_C" >&6; }
20390 cat >conftest.$ac_ext <<_ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 #include <mISDNuser/suppserv.h>
20398 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20399 case "(($ac_try" in
20400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20401 *) ac_try_echo=$ac_try;;
20403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20404 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20406 grep -v '^ *+' conftest.er1 >conftest.err
20408 cat conftest.err >&5
20409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20410 (exit $ac_status); } >/dev/null && {
20411 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20412 test ! -s conftest.err
20414 ac_header_preproc=yes
20416 echo "$as_me: failed program was
:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 ac_header_preproc=no
20422 rm -f conftest.err conftest.$ac_ext
20423 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20424 echo "${ECHO_T}$ac_header_preproc" >&6; }
20426 # So? What about this header?
20427 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20429 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20430 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20431 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the compiler
's result" >&5
20432 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the compiler's result
" >&2;}
20433 ac_header_preproc=yes
20436 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&5
20437 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: present but cannot be compiled
" >&2;}
20438 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&5
20439 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: check
for missing prerequisite headers?
" >&2;}
20440 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&5
20441 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: see the Autoconf documentation
" >&2;}
20442 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20443 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20444 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: proceeding with the preprocessor
's result" >&5
20445 echo "$as_me: WARNING: mISDNuser/suppserv.h: proceeding with the preprocessor's result
" >&2;}
20446 { echo "$as_me:$LINENO: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&5
20447 echo "$as_me: WARNING
: mISDNuser
/suppserv.h
: in the future
, the compiler will take precedence
" >&2;}
20451 { echo "$as_me:$LINENO: checking
for mISDNuser
/suppserv.h
" >&5
20452 echo $ECHO_N "checking
for mISDNuser
/suppserv.h...
$ECHO_C" >&6; }
20453 if test "${ac_cv_header_mISDNuser_suppserv_h+set}" = set; then
20454 echo $ECHO_N "(cached
) $ECHO_C" >&6
20456 ac_cv_header_mISDNuser_suppserv_h=$ac_header_preproc
20458 { echo "$as_me:$LINENO: result
: $ac_cv_header_mISDNuser_suppserv_h" >&5
20459 echo "${ECHO_T}$ac_cv_header_mISDNuser_suppserv_h" >&6; }
20462 if test $ac_cv_header_mISDNuser_suppserv_h = yes; then
20463 SUPPSERV_HEADER_FOUND=1
20465 SUPPSERV_HEADER_FOUND=0
20471 if test "x
${SUPPSERV_HEADER_FOUND}" = "x0
" ; then
20472 if test -n "${SUPPSERV_MANDATORY}" ;
20474 { echo "$as_me:$LINENO: ***" >&5
20475 echo "$as_me: ***" >&6;}
20476 { echo "$as_me:$LINENO: *** It appears that you
do not have the suppserv development package installed.
" >&5
20477 echo "$as_me: *** It appears that you
do not have the suppserv development package installed.
" >&6;}
20478 { echo "$as_me:$LINENO: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&5
20479 echo "$as_me: *** Please
install it to include
${SUPPSERV_DESCRIP} support
, or re-run configure
" >&6;}
20480 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20481 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20485 SUPPSERV_INCLUDE=""
20490 cat >>confdefs.h <<_ACEOF
20491 #define HAVE_SUPPSERV 1
20495 elif test -n "${SUPPSERV_MANDATORY}";
20497 { echo "$as_me:$LINENO: ***" >&5
20498 echo "$as_me: ***" >&6;}
20499 { echo "$as_me:$LINENO: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&5
20500 echo "$as_me: *** The
${SUPPSERV_DESCRIP} installation on this system appears to be broken.
" >&6;}
20501 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
20502 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
20503 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&5
20504 echo "$as_me: *** without explicitly specifying
--with-${SUPPSERV_OPTION}" >&6;}
20509 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20510 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20511 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20512 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20513 echo $ECHO_N "(cached
) $ECHO_C" >&6
20515 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20516 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20518 # Is the header compilable?
20519 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h usability
" >&5
20520 echo $ECHO_N "checking linux
/mISDNdsp.h usability...
$ECHO_C" >&6; }
20521 cat >conftest.$ac_ext <<_ACEOF
20524 cat confdefs.h >>conftest.$ac_ext
20525 cat >>conftest.$ac_ext <<_ACEOF
20526 /* end confdefs.h. */
20527 $ac_includes_default
20528 #include <linux/mISDNdsp.h>
20530 rm -f conftest.$ac_objext
20531 if { (ac_try="$ac_compile"
20532 case "(($ac_try" in
20533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20534 *) ac_try_echo=$ac_try;;
20536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20537 (eval "$ac_compile") 2>conftest.er1
20539 grep -v '^ *+' conftest.er1 >conftest.err
20541 cat conftest.err >&5
20542 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20543 (exit $ac_status); } && {
20544 test -z "$ac_c_werror_flag" ||
20545 test ! -s conftest.err
20546 } && test -s conftest.$ac_objext; then
20547 ac_header_compiler=yes
20549 echo "$as_me: failed program was
:" >&5
20550 sed 's/^/| /' conftest.$ac_ext >&5
20552 ac_header_compiler=no
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20557 echo "${ECHO_T}$ac_header_compiler" >&6; }
20559 # Is the header present?
20560 { echo "$as_me:$LINENO: checking linux
/mISDNdsp.h presence
" >&5
20561 echo $ECHO_N "checking linux
/mISDNdsp.h presence...
$ECHO_C" >&6; }
20562 cat >conftest.$ac_ext <<_ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 #include <linux/mISDNdsp.h>
20570 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20571 case "(($ac_try" in
20572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20575 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20578 grep -v '^ *+' conftest.er1 >conftest.err
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20582 (exit $ac_status); } >/dev/null && {
20583 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20586 ac_header_preproc=yes
20588 echo "$as_me: failed program was
:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 ac_header_preproc=no
20594 rm -f conftest.err conftest.$ac_ext
20595 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20596 echo "${ECHO_T}$ac_header_preproc" >&6; }
20598 # So? What about this header?
20599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20601 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20602 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20603 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the compiler
's result" >&5
20604 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the compiler's result
" >&2;}
20605 ac_header_preproc=yes
20608 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&5
20609 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: present but cannot be compiled
" >&2;}
20610 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&5
20611 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: check
for missing prerequisite headers?
" >&2;}
20612 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&5
20613 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: see the Autoconf documentation
" >&2;}
20614 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20615 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20616 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: proceeding with the preprocessor
's result" >&5
20617 echo "$as_me: WARNING: linux/mISDNdsp.h: proceeding with the preprocessor's result
" >&2;}
20618 { echo "$as_me:$LINENO: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&5
20619 echo "$as_me: WARNING
: linux
/mISDNdsp.h
: in the future
, the compiler will take precedence
" >&2;}
20623 { echo "$as_me:$LINENO: checking
for linux
/mISDNdsp.h
" >&5
20624 echo $ECHO_N "checking
for linux
/mISDNdsp.h...
$ECHO_C" >&6; }
20625 if test "${ac_cv_header_linux_mISDNdsp_h+set}" = set; then
20626 echo $ECHO_N "(cached
) $ECHO_C" >&6
20628 ac_cv_header_linux_mISDNdsp_h=$ac_header_preproc
20630 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_mISDNdsp_h" >&5
20631 echo "${ECHO_T}$ac_cv_header_linux_mISDNdsp_h" >&6; }
20634 if test $ac_cv_header_linux_mISDNdsp_h = yes; then
20636 cat >>confdefs.h <<_ACEOF
20637 #define MISDN_1_2 1
20646 if test "${USE_NBS}" != "no
"; then
20648 if test "x
${NBS_DIR}" != "x
"; then
20649 if test -d ${NBS_DIR}/lib; then
20650 pbxlibdir="-L${NBS_DIR}/lib
"
20652 pbxlibdir="-L${NBS_DIR}"
20655 { echo "$as_me:$LINENO: checking
for nbs_connect
in -lnbs" >&5
20656 echo $ECHO_N "checking
for nbs_connect
in -lnbs...
$ECHO_C" >&6; }
20657 if test "${ac_cv_lib_nbs_nbs_connect+set}" = set; then
20658 echo $ECHO_N "(cached
) $ECHO_C" >&6
20660 ac_check_lib_save_LIBS=$LIBS
20661 LIBS="-lnbs ${pbxlibdir} $LIBS"
20662 cat >conftest.$ac_ext <<_ACEOF
20665 cat confdefs.h >>conftest.$ac_ext
20666 cat >>conftest.$ac_ext <<_ACEOF
20667 /* end confdefs.h. */
20669 /* Override any GCC internal prototype to avoid an error.
20670 Use char because int might match the return type of a GCC
20671 builtin and then its argument prototype would still apply. */
20675 char nbs_connect ();
20679 return nbs_connect ();
20684 rm -f conftest.$ac_objext conftest$ac_exeext
20685 if { (ac_try="$ac_link"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20690 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_link") 2>conftest.er1
20693 grep -v '^ *+' conftest.er1 >conftest.err
20695 cat conftest.err >&5
20696 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20697 (exit $ac_status); } && {
20698 test -z "$ac_c_werror_flag" ||
20699 test ! -s conftest.err
20700 } && test -s conftest$ac_exeext &&
20701 $as_test_x conftest$ac_exeext; then
20702 ac_cv_lib_nbs_nbs_connect=yes
20704 echo "$as_me: failed program was
:" >&5
20705 sed 's/^/| /' conftest.$ac_ext >&5
20707 ac_cv_lib_nbs_nbs_connect=no
20710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20711 conftest$ac_exeext conftest.$ac_ext
20712 LIBS=$ac_check_lib_save_LIBS
20714 { echo "$as_me:$LINENO: result
: $ac_cv_lib_nbs_nbs_connect" >&5
20715 echo "${ECHO_T}$ac_cv_lib_nbs_nbs_connect" >&6; }
20716 if test $ac_cv_lib_nbs_nbs_connect = yes; then
20723 if test "${AST_NBS_FOUND}" = "yes"; then
20725 NBS_HEADER_FOUND="1"
20726 if test "x
${NBS_DIR}" != "x
"; then
20727 NBS_LIB="${pbxlibdir} ${NBS_LIB}"
20728 NBS_INCLUDE="-I${NBS_DIR}/include
"
20729 saved_cppflags="${CPPFLAGS}"
20730 CPPFLAGS="${CPPFLAGS} -I${NBS_DIR}/include
"
20731 if test "xnbs.h
" != "x
" ; then
20732 as_ac_Header=`echo "ac_cv_header_
${NBS_DIR}/include
/nbs.h
" | $as_tr_sh`
20733 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20734 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20735 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20736 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20737 echo $ECHO_N "(cached
) $ECHO_C" >&6
20739 ac_res=`eval echo '${'$as_ac_Header'}'`
20740 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20741 echo "${ECHO_T}$ac_res" >&6; }
20743 # Is the header compilable?
20744 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h usability
" >&5
20745 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h usability...
$ECHO_C" >&6; }
20746 cat >conftest.$ac_ext <<_ACEOF
20749 cat confdefs.h >>conftest.$ac_ext
20750 cat >>conftest.$ac_ext <<_ACEOF
20751 /* end confdefs.h. */
20752 $ac_includes_default
20753 #include <${NBS_DIR}/include/nbs.h>
20755 rm -f conftest.$ac_objext
20756 if { (ac_try="$ac_compile"
20757 case "(($ac_try" in
20758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20761 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_compile") 2>conftest.er1
20764 grep -v '^ *+' conftest.er1 >conftest.err
20766 cat conftest.err >&5
20767 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20768 (exit $ac_status); } && {
20769 test -z "$ac_c_werror_flag" ||
20770 test ! -s conftest.err
20771 } && test -s conftest.$ac_objext; then
20772 ac_header_compiler=yes
20774 echo "$as_me: failed program was
:" >&5
20775 sed 's/^/| /' conftest.$ac_ext >&5
20777 ac_header_compiler=no
20780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20781 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20782 echo "${ECHO_T}$ac_header_compiler" >&6; }
20784 # Is the header present?
20785 { echo "$as_me:$LINENO: checking
${NBS_DIR}/include
/nbs.h presence
" >&5
20786 echo $ECHO_N "checking
${NBS_DIR}/include
/nbs.h presence...
$ECHO_C" >&6; }
20787 cat >conftest.$ac_ext <<_ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20793 #include <${NBS_DIR}/include/nbs.h>
20795 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20796 case "(($ac_try" in
20797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20798 *) ac_try_echo=$ac_try;;
20800 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20801 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20803 grep -v '^ *+' conftest.er1 >conftest.err
20805 cat conftest.err >&5
20806 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20807 (exit $ac_status); } >/dev/null && {
20808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20809 test ! -s conftest.err
20811 ac_header_preproc=yes
20813 echo "$as_me: failed program was
:" >&5
20814 sed 's/^/| /' conftest.$ac_ext >&5
20816 ac_header_preproc=no
20819 rm -f conftest.err conftest.$ac_ext
20820 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20821 echo "${ECHO_T}$ac_header_preproc" >&6; }
20823 # So? What about this header?
20824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20826 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20827 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20828 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the compiler
's result" >&5
20829 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the compiler's result
" >&2;}
20830 ac_header_preproc=yes
20833 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&5
20834 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: present but cannot be compiled
" >&2;}
20835 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&5
20836 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: check
for missing prerequisite headers?
" >&2;}
20837 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&5
20838 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: see the Autoconf documentation
" >&2;}
20839 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20840 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20841 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: proceeding with the preprocessor
's result" >&5
20842 echo "$as_me: WARNING: ${NBS_DIR}/include/nbs.h: proceeding with the preprocessor's result
" >&2;}
20843 { echo "$as_me:$LINENO: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&5
20844 echo "$as_me: WARNING
: ${NBS_DIR}/include
/nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20848 { echo "$as_me:$LINENO: checking
for ${NBS_DIR}/include
/nbs.h
" >&5
20849 echo $ECHO_N "checking
for ${NBS_DIR}/include
/nbs.h...
$ECHO_C" >&6; }
20850 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20851 echo $ECHO_N "(cached
) $ECHO_C" >&6
20853 eval "$as_ac_Header=\
$ac_header_preproc"
20855 ac_res=`eval echo '${'$as_ac_Header'}'`
20856 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20857 echo "${ECHO_T}$ac_res" >&6; }
20860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20868 CPPFLAGS="${saved_cppflags}"
20870 if test "xnbs.h
" != "x
" ; then
20871 if test "${ac_cv_header_nbs_h+set}" = set; then
20872 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20873 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20874 if test "${ac_cv_header_nbs_h+set}" = set; then
20875 echo $ECHO_N "(cached
) $ECHO_C" >&6
20877 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20878 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20880 # Is the header compilable?
20881 { echo "$as_me:$LINENO: checking nbs.h usability
" >&5
20882 echo $ECHO_N "checking nbs.h usability...
$ECHO_C" >&6; }
20883 cat >conftest.$ac_ext <<_ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20889 $ac_includes_default
20892 rm -f conftest.$ac_objext
20893 if { (ac_try="$ac_compile"
20894 case "(($ac_try" in
20895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20896 *) ac_try_echo=$ac_try;;
20898 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20899 (eval "$ac_compile") 2>conftest.er1
20901 grep -v '^ *+' conftest.er1 >conftest.err
20903 cat conftest.err >&5
20904 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20905 (exit $ac_status); } && {
20906 test -z "$ac_c_werror_flag" ||
20907 test ! -s conftest.err
20908 } && test -s conftest.$ac_objext; then
20909 ac_header_compiler=yes
20911 echo "$as_me: failed program was
:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20914 ac_header_compiler=no
20917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20918 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
20919 echo "${ECHO_T}$ac_header_compiler" >&6; }
20921 # Is the header present?
20922 { echo "$as_me:$LINENO: checking nbs.h presence
" >&5
20923 echo $ECHO_N "checking nbs.h presence...
$ECHO_C" >&6; }
20924 cat >conftest.$ac_ext <<_ACEOF
20927 cat confdefs.h >>conftest.$ac_ext
20928 cat >>conftest.$ac_ext <<_ACEOF
20929 /* end confdefs.h. */
20932 if { (ac_try="$ac_cpp conftest.
$ac_ext"
20933 case "(($ac_try" in
20934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20935 *) ac_try_echo=$ac_try;;
20937 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20938 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
20940 grep -v '^ *+' conftest.er1 >conftest.err
20942 cat conftest.err >&5
20943 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20944 (exit $ac_status); } >/dev/null && {
20945 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20946 test ! -s conftest.err
20948 ac_header_preproc=yes
20950 echo "$as_me: failed program was
:" >&5
20951 sed 's/^/| /' conftest.$ac_ext >&5
20953 ac_header_preproc=no
20956 rm -f conftest.err conftest.$ac_ext
20957 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
20958 echo "${ECHO_T}$ac_header_preproc" >&6; }
20960 # So? What about this header?
20961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20963 { echo "$as_me:$LINENO: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
20964 echo "$as_me: WARNING
: nbs.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
20965 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the compiler
's result" >&5
20966 echo "$as_me: WARNING: nbs.h: proceeding with the compiler's result
" >&2;}
20967 ac_header_preproc=yes
20970 { echo "$as_me:$LINENO: WARNING
: nbs.h
: present but cannot be compiled
" >&5
20971 echo "$as_me: WARNING
: nbs.h
: present but cannot be compiled
" >&2;}
20972 { echo "$as_me:$LINENO: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&5
20973 echo "$as_me: WARNING
: nbs.h
: check
for missing prerequisite headers?
" >&2;}
20974 { echo "$as_me:$LINENO: WARNING
: nbs.h
: see the Autoconf documentation
" >&5
20975 echo "$as_me: WARNING
: nbs.h
: see the Autoconf documentation
" >&2;}
20976 { echo "$as_me:$LINENO: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&5
20977 echo "$as_me: WARNING
: nbs.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
20978 { echo "$as_me:$LINENO: WARNING
: nbs.h
: proceeding with the preprocessor
's result" >&5
20979 echo "$as_me: WARNING: nbs.h: proceeding with the preprocessor's result
" >&2;}
20980 { echo "$as_me:$LINENO: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&5
20981 echo "$as_me: WARNING
: nbs.h
: in the future
, the compiler will take precedence
" >&2;}
20985 { echo "$as_me:$LINENO: checking
for nbs.h
" >&5
20986 echo $ECHO_N "checking
for nbs.h...
$ECHO_C" >&6; }
20987 if test "${ac_cv_header_nbs_h+set}" = set; then
20988 echo $ECHO_N "(cached
) $ECHO_C" >&6
20990 ac_cv_header_nbs_h=$ac_header_preproc
20992 { echo "$as_me:$LINENO: result
: $ac_cv_header_nbs_h" >&5
20993 echo "${ECHO_T}$ac_cv_header_nbs_h" >&6; }
20996 if test $ac_cv_header_nbs_h = yes; then
21005 if test "x
${NBS_HEADER_FOUND}" = "x0
" ; then
21006 if test -n "${NBS_MANDATORY}" ;
21008 { echo "$as_me:$LINENO: ***" >&5
21009 echo "$as_me: ***" >&6;}
21010 { echo "$as_me:$LINENO: *** It appears that you
do not have the nbs development package installed.
" >&5
21011 echo "$as_me: *** It appears that you
do not have the nbs development package installed.
" >&6;}
21012 { echo "$as_me:$LINENO: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&5
21013 echo "$as_me: *** Please
install it to include
${NBS_DESCRIP} support
, or re-run configure
" >&6;}
21014 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
21015 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
21024 cat >>confdefs.h <<_ACEOF
21029 elif test -n "${NBS_MANDATORY}";
21031 { echo "$as_me:$LINENO: ***" >&5
21032 echo "$as_me: ***" >&6;}
21033 { echo "$as_me:$LINENO: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&5
21034 echo "$as_me: *** The
${NBS_DESCRIP} installation on this system appears to be broken.
" >&6;}
21035 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21036 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21037 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NBS_OPTION}" >&5
21038 echo "$as_me: *** without explicitly specifying
--with-${NBS_OPTION}" >&6;}
21045 if test "${USE_NCURSES}" != "no
"; then
21047 if test "x
${NCURSES_DIR}" != "x
"; then
21048 if test -d ${NCURSES_DIR}/lib; then
21049 pbxlibdir="-L${NCURSES_DIR}/lib
"
21051 pbxlibdir="-L${NCURSES_DIR}"
21054 { echo "$as_me:$LINENO: checking
for initscr
in -lncurses" >&5
21055 echo $ECHO_N "checking
for initscr
in -lncurses...
$ECHO_C" >&6; }
21056 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
21057 echo $ECHO_N "(cached
) $ECHO_C" >&6
21059 ac_check_lib_save_LIBS=$LIBS
21060 LIBS="-lncurses ${pbxlibdir} $LIBS"
21061 cat >conftest.$ac_ext <<_ACEOF
21064 cat confdefs.h >>conftest.$ac_ext
21065 cat >>conftest.$ac_ext <<_ACEOF
21066 /* end confdefs.h. */
21068 /* Override any GCC internal prototype to avoid an error.
21069 Use char because int might match the return type of a GCC
21070 builtin and then its argument prototype would still apply. */
21083 rm -f conftest.$ac_objext conftest$ac_exeext
21084 if { (ac_try="$ac_link"
21085 case "(($ac_try" in
21086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21087 *) ac_try_echo=$ac_try;;
21089 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21090 (eval "$ac_link") 2>conftest.er1
21092 grep -v '^ *+' conftest.er1 >conftest.err
21094 cat conftest.err >&5
21095 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21096 (exit $ac_status); } && {
21097 test -z "$ac_c_werror_flag" ||
21098 test ! -s conftest.err
21099 } && test -s conftest$ac_exeext &&
21100 $as_test_x conftest$ac_exeext; then
21101 ac_cv_lib_ncurses_initscr=yes
21103 echo "$as_me: failed program was
:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21106 ac_cv_lib_ncurses_initscr=no
21109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21110 conftest$ac_exeext conftest.$ac_ext
21111 LIBS=$ac_check_lib_save_LIBS
21113 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ncurses_initscr" >&5
21114 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
21115 if test $ac_cv_lib_ncurses_initscr = yes; then
21116 AST_NCURSES_FOUND=yes
21118 AST_NCURSES_FOUND=no
21122 if test "${AST_NCURSES_FOUND}" = "yes"; then
21123 NCURSES_LIB="-lncurses "
21124 NCURSES_HEADER_FOUND="1"
21125 if test "x
${NCURSES_DIR}" != "x
"; then
21126 NCURSES_LIB="${pbxlibdir} ${NCURSES_LIB}"
21127 NCURSES_INCLUDE="-I${NCURSES_DIR}/include
"
21128 saved_cppflags="${CPPFLAGS}"
21129 CPPFLAGS="${CPPFLAGS} -I${NCURSES_DIR}/include
"
21130 if test "xcurses.h
" != "x
" ; then
21131 as_ac_Header=`echo "ac_cv_header_
${NCURSES_DIR}/include
/curses.h
" | $as_tr_sh`
21132 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21133 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
21134 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
21135 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21136 echo $ECHO_N "(cached
) $ECHO_C" >&6
21138 ac_res=`eval echo '${'$as_ac_Header'}'`
21139 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21140 echo "${ECHO_T}$ac_res" >&6; }
21142 # Is the header compilable?
21143 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h usability
" >&5
21144 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h usability...
$ECHO_C" >&6; }
21145 cat >conftest.$ac_ext <<_ACEOF
21148 cat confdefs.h >>conftest.$ac_ext
21149 cat >>conftest.$ac_ext <<_ACEOF
21150 /* end confdefs.h. */
21151 $ac_includes_default
21152 #include <${NCURSES_DIR}/include/curses.h>
21154 rm -f conftest.$ac_objext
21155 if { (ac_try="$ac_compile"
21156 case "(($ac_try" in
21157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21158 *) ac_try_echo=$ac_try;;
21160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21161 (eval "$ac_compile") 2>conftest.er1
21163 grep -v '^ *+' conftest.er1 >conftest.err
21165 cat conftest.err >&5
21166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21167 (exit $ac_status); } && {
21168 test -z "$ac_c_werror_flag" ||
21169 test ! -s conftest.err
21170 } && test -s conftest.$ac_objext; then
21171 ac_header_compiler=yes
21173 echo "$as_me: failed program was
:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21176 ac_header_compiler=no
21179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21180 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21181 echo "${ECHO_T}$ac_header_compiler" >&6; }
21183 # Is the header present?
21184 { echo "$as_me:$LINENO: checking
${NCURSES_DIR}/include
/curses.h presence
" >&5
21185 echo $ECHO_N "checking
${NCURSES_DIR}/include
/curses.h presence...
$ECHO_C" >&6; }
21186 cat >conftest.$ac_ext <<_ACEOF
21189 cat confdefs.h >>conftest.$ac_ext
21190 cat >>conftest.$ac_ext <<_ACEOF
21191 /* end confdefs.h. */
21192 #include <${NCURSES_DIR}/include/curses.h>
21194 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21195 case "(($ac_try" in
21196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21197 *) ac_try_echo=$ac_try;;
21199 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21200 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21202 grep -v '^ *+' conftest.er1 >conftest.err
21204 cat conftest.err >&5
21205 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21206 (exit $ac_status); } >/dev/null && {
21207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21208 test ! -s conftest.err
21210 ac_header_preproc=yes
21212 echo "$as_me: failed program was
:" >&5
21213 sed 's/^/| /' conftest.$ac_ext >&5
21215 ac_header_preproc=no
21218 rm -f conftest.err conftest.$ac_ext
21219 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21220 echo "${ECHO_T}$ac_header_preproc" >&6; }
21222 # So? What about this header?
21223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21225 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21226 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21227 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the compiler
's result" >&5
21228 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the compiler's result
" >&2;}
21229 ac_header_preproc=yes
21232 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&5
21233 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: present but cannot be compiled
" >&2;}
21234 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&5
21235 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: check
for missing prerequisite headers?
" >&2;}
21236 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&5
21237 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: see the Autoconf documentation
" >&2;}
21238 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21239 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21240 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: proceeding with the preprocessor
's result" >&5
21241 echo "$as_me: WARNING: ${NCURSES_DIR}/include/curses.h: proceeding with the preprocessor's result
" >&2;}
21242 { echo "$as_me:$LINENO: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&5
21243 echo "$as_me: WARNING
: ${NCURSES_DIR}/include
/curses.h
: in the future
, the compiler will take precedence
" >&2;}
21247 { echo "$as_me:$LINENO: checking
for ${NCURSES_DIR}/include
/curses.h
" >&5
21248 echo $ECHO_N "checking
for ${NCURSES_DIR}/include
/curses.h...
$ECHO_C" >&6; }
21249 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21250 echo $ECHO_N "(cached
) $ECHO_C" >&6
21252 eval "$as_ac_Header=\
$ac_header_preproc"
21254 ac_res=`eval echo '${'$as_ac_Header'}'`
21255 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21256 echo "${ECHO_T}$ac_res" >&6; }
21259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21260 NCURSES_HEADER_FOUND=1
21262 NCURSES_HEADER_FOUND=0
21267 CPPFLAGS="${saved_cppflags}"
21269 if test "xcurses.h
" != "x
" ; then
21270 if test "${ac_cv_header_curses_h+set}" = set; then
21271 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
21272 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
21273 if test "${ac_cv_header_curses_h+set}" = set; then
21274 echo $ECHO_N "(cached
) $ECHO_C" >&6
21276 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
21277 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
21279 # Is the header compilable?
21280 { echo "$as_me:$LINENO: checking curses.h usability
" >&5
21281 echo $ECHO_N "checking curses.h usability...
$ECHO_C" >&6; }
21282 cat >conftest.$ac_ext <<_ACEOF
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 $ac_includes_default
21289 #include <curses.h>
21291 rm -f conftest.$ac_objext
21292 if { (ac_try="$ac_compile"
21293 case "(($ac_try" in
21294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21295 *) ac_try_echo=$ac_try;;
21297 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21298 (eval "$ac_compile") 2>conftest.er1
21300 grep -v '^ *+' conftest.er1 >conftest.err
21302 cat conftest.err >&5
21303 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21304 (exit $ac_status); } && {
21305 test -z "$ac_c_werror_flag" ||
21306 test ! -s conftest.err
21307 } && test -s conftest.$ac_objext; then
21308 ac_header_compiler=yes
21310 echo "$as_me: failed program was
:" >&5
21311 sed 's/^/| /' conftest.$ac_ext >&5
21313 ac_header_compiler=no
21316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21317 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21318 echo "${ECHO_T}$ac_header_compiler" >&6; }
21320 # Is the header present?
21321 { echo "$as_me:$LINENO: checking curses.h presence
" >&5
21322 echo $ECHO_N "checking curses.h presence...
$ECHO_C" >&6; }
21323 cat >conftest.$ac_ext <<_ACEOF
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21329 #include <curses.h>
21331 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21336 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21339 grep -v '^ *+' conftest.er1 >conftest.err
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21343 (exit $ac_status); } >/dev/null && {
21344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21345 test ! -s conftest.err
21347 ac_header_preproc=yes
21349 echo "$as_me: failed program was
:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_header_preproc=no
21355 rm -f conftest.err conftest.$ac_ext
21356 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21357 echo "${ECHO_T}$ac_header_preproc" >&6; }
21359 # So? What about this header?
21360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21362 { echo "$as_me:$LINENO: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21363 echo "$as_me: WARNING
: curses.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21364 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the compiler
's result" >&5
21365 echo "$as_me: WARNING: curses.h: proceeding with the compiler's result
" >&2;}
21366 ac_header_preproc=yes
21369 { echo "$as_me:$LINENO: WARNING
: curses.h
: present but cannot be compiled
" >&5
21370 echo "$as_me: WARNING
: curses.h
: present but cannot be compiled
" >&2;}
21371 { echo "$as_me:$LINENO: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&5
21372 echo "$as_me: WARNING
: curses.h
: check
for missing prerequisite headers?
" >&2;}
21373 { echo "$as_me:$LINENO: WARNING
: curses.h
: see the Autoconf documentation
" >&5
21374 echo "$as_me: WARNING
: curses.h
: see the Autoconf documentation
" >&2;}
21375 { echo "$as_me:$LINENO: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21376 echo "$as_me: WARNING
: curses.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21377 { echo "$as_me:$LINENO: WARNING
: curses.h
: proceeding with the preprocessor
's result" >&5
21378 echo "$as_me: WARNING: curses.h: proceeding with the preprocessor's result
" >&2;}
21379 { echo "$as_me:$LINENO: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&5
21380 echo "$as_me: WARNING
: curses.h
: in the future
, the compiler will take precedence
" >&2;}
21384 { echo "$as_me:$LINENO: checking
for curses.h
" >&5
21385 echo $ECHO_N "checking
for curses.h...
$ECHO_C" >&6; }
21386 if test "${ac_cv_header_curses_h+set}" = set; then
21387 echo $ECHO_N "(cached
) $ECHO_C" >&6
21389 ac_cv_header_curses_h=$ac_header_preproc
21391 { echo "$as_me:$LINENO: result
: $ac_cv_header_curses_h" >&5
21392 echo "${ECHO_T}$ac_cv_header_curses_h" >&6; }
21395 if test $ac_cv_header_curses_h = yes; then
21396 NCURSES_HEADER_FOUND=1
21398 NCURSES_HEADER_FOUND=0
21404 if test "x
${NCURSES_HEADER_FOUND}" = "x0
" ; then
21405 if test -n "${NCURSES_MANDATORY}" ;
21407 { echo "$as_me:$LINENO: ***" >&5
21408 echo "$as_me: ***" >&6;}
21409 { echo "$as_me:$LINENO: *** It appears that you
do not have the ncurses development package installed.
" >&5
21410 echo "$as_me: *** It appears that you
do not have the ncurses development package installed.
" >&6;}
21411 { echo "$as_me:$LINENO: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&5
21412 echo "$as_me: *** Please
install it to include
${NCURSES_DESCRIP} support
, or re-run configure
" >&6;}
21413 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21414 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21423 cat >>confdefs.h <<_ACEOF
21424 #define HAVE_NCURSES 1
21428 elif test -n "${NCURSES_MANDATORY}";
21430 { echo "$as_me:$LINENO: ***" >&5
21431 echo "$as_me: ***" >&6;}
21432 { echo "$as_me:$LINENO: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&5
21433 echo "$as_me: *** The
${NCURSES_DESCRIP} installation on this system appears to be broken.
" >&6;}
21434 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21435 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21436 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&5
21437 echo "$as_me: *** without explicitly specifying
--with-${NCURSES_OPTION}" >&6;}
21444 if test "${USE_NETSNMP}" != "no
"; then
21445 if test "x
${NETSNMP_DIR}" != "x
"; then
21446 if test -n "$ac_tool_prefix"; then
21447 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21448 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21449 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21450 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21451 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21452 echo $ECHO_N "(cached
) $ECHO_C" >&6
21454 case $NETSNMP_CONFIG in
21456 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21460 for as_dir in ${NETSNMP_DIR}/bin
21463 test -z "$as_dir" && as_dir=.
21464 for ac_exec_ext in '' $ac_executable_extensions; do
21465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21466 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21467 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21477 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21478 if test -n "$NETSNMP_CONFIG"; then
21479 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21480 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21482 { echo "$as_me:$LINENO: result
: no
" >&5
21483 echo "${ECHO_T}no
" >&6; }
21488 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21489 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21490 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21491 set dummy net-snmp-config; ac_word=$2
21492 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21493 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21494 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21495 echo $ECHO_N "(cached
) $ECHO_C" >&6
21497 case $ac_pt_NETSNMP_CONFIG in
21499 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21503 for as_dir in ${NETSNMP_DIR}/bin
21506 test -z "$as_dir" && as_dir=.
21507 for ac_exec_ext in '' $ac_executable_extensions; do
21508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21509 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21510 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21520 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21521 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21522 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21523 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21525 { echo "$as_me:$LINENO: result
: no
" >&5
21526 echo "${ECHO_T}no
" >&6; }
21529 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21530 NETSNMP_CONFIG="No
"
21532 case $cross_compiling:$ac_tool_warned in
21534 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21535 whose name does not start with the
host triplet. If you think this
21536 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21537 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21538 whose name does not start with the
host triplet. If you think this
21539 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21540 ac_tool_warned=yes ;;
21542 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21545 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21548 if test x"${NETSNMP_CONFIG}" = xNo; then
21549 { echo "$as_me:$LINENO: ***" >&5
21550 echo "$as_me: ***" >&6;}
21551 { echo "$as_me:$LINENO: *** net-snmp-config was not found
in the path you specified
:" >&5
21552 echo "$as_me: *** net-snmp-config was not found
in the path you specified
:" >&6;}
21553 { echo "$as_me:$LINENO: *** ${NETSNMP_DIR}/bin
" >&5
21554 echo "$as_me: *** ${NETSNMP_DIR}/bin
" >&6;}
21555 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21556 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21557 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21558 echo "$as_me: *** including
--without-netsnmp" >&6;}
21562 if test -n "$ac_tool_prefix"; then
21563 # Extract the first word of "${ac_tool_prefix}net-snmp-config
", so it can be a program name with args.
21564 set dummy ${ac_tool_prefix}net-snmp-config; ac_word=$2
21565 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21566 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21567 if test "${ac_cv_path_NETSNMP_CONFIG+set}" = set; then
21568 echo $ECHO_N "(cached
) $ECHO_C" >&6
21570 case $NETSNMP_CONFIG in
21572 ac_cv_path_NETSNMP_CONFIG="$NETSNMP_CONFIG" # Let the user override the test with a path.
21575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21576 for as_dir in $PATH
21579 test -z "$as_dir" && as_dir=.
21580 for ac_exec_ext in '' $ac_executable_extensions; do
21581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21582 ac_cv_path_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21583 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21593 NETSNMP_CONFIG=$ac_cv_path_NETSNMP_CONFIG
21594 if test -n "$NETSNMP_CONFIG"; then
21595 { echo "$as_me:$LINENO: result
: $NETSNMP_CONFIG" >&5
21596 echo "${ECHO_T}$NETSNMP_CONFIG" >&6; }
21598 { echo "$as_me:$LINENO: result
: no
" >&5
21599 echo "${ECHO_T}no
" >&6; }
21604 if test -z "$ac_cv_path_NETSNMP_CONFIG"; then
21605 ac_pt_NETSNMP_CONFIG=$NETSNMP_CONFIG
21606 # Extract the first word of "net-snmp-config
", so it can be a program name with args.
21607 set dummy net-snmp-config; ac_word=$2
21608 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
21609 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
21610 if test "${ac_cv_path_ac_pt_NETSNMP_CONFIG+set}" = set; then
21611 echo $ECHO_N "(cached
) $ECHO_C" >&6
21613 case $ac_pt_NETSNMP_CONFIG in
21615 ac_cv_path_ac_pt_NETSNMP_CONFIG="$ac_pt_NETSNMP_CONFIG" # Let the user override the test with a path.
21618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21619 for as_dir in $PATH
21622 test -z "$as_dir" && as_dir=.
21623 for ac_exec_ext in '' $ac_executable_extensions; do
21624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21625 ac_cv_path_ac_pt_NETSNMP_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21626 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
21636 ac_pt_NETSNMP_CONFIG=$ac_cv_path_ac_pt_NETSNMP_CONFIG
21637 if test -n "$ac_pt_NETSNMP_CONFIG"; then
21638 { echo "$as_me:$LINENO: result
: $ac_pt_NETSNMP_CONFIG" >&5
21639 echo "${ECHO_T}$ac_pt_NETSNMP_CONFIG" >&6; }
21641 { echo "$as_me:$LINENO: result
: no
" >&5
21642 echo "${ECHO_T}no
" >&6; }
21645 if test "x
$ac_pt_NETSNMP_CONFIG" = x; then
21646 NETSNMP_CONFIG="No
"
21648 case $cross_compiling:$ac_tool_warned in
21650 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
21651 whose name does not start with the
host triplet. If you think this
21652 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
21653 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
21654 whose name does not start with the
host triplet. If you think this
21655 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
21656 ac_tool_warned=yes ;;
21658 NETSNMP_CONFIG=$ac_pt_NETSNMP_CONFIG
21661 NETSNMP_CONFIG="$ac_cv_path_NETSNMP_CONFIG"
21666 if test x"${NETSNMP_CONFIG}" != xNo; then
21667 NETSNMP_libs=`${NETSNMP_CONFIG} --agent-libs`
21669 { echo "$as_me:$LINENO: checking
for snmp_register_callback
in -lnetsnmp" >&5
21670 echo $ECHO_N "checking
for snmp_register_callback
in -lnetsnmp...
$ECHO_C" >&6; }
21671 if test "${ac_cv_lib_netsnmp_snmp_register_callback+set}" = set; then
21672 echo $ECHO_N "(cached
) $ECHO_C" >&6
21674 ac_check_lib_save_LIBS=$LIBS
21675 LIBS="-lnetsnmp ${NETSNMP_libs} $LIBS"
21676 cat >conftest.$ac_ext <<_ACEOF
21679 cat confdefs.h >>conftest.$ac_ext
21680 cat >>conftest.$ac_ext <<_ACEOF
21681 /* end confdefs.h. */
21683 /* Override any GCC internal prototype to avoid an error.
21684 Use char because int might match the return type of a GCC
21685 builtin and then its argument prototype would still apply. */
21689 char snmp_register_callback ();
21693 return snmp_register_callback ();
21698 rm -f conftest.$ac_objext conftest$ac_exeext
21699 if { (ac_try="$ac_link"
21700 case "(($ac_try" in
21701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21702 *) ac_try_echo=$ac_try;;
21704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21705 (eval "$ac_link") 2>conftest.er1
21707 grep -v '^ *+' conftest.er1 >conftest.err
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21711 (exit $ac_status); } && {
21712 test -z "$ac_c_werror_flag" ||
21713 test ! -s conftest.err
21714 } && test -s conftest$ac_exeext &&
21715 $as_test_x conftest$ac_exeext; then
21716 ac_cv_lib_netsnmp_snmp_register_callback=yes
21718 echo "$as_me: failed program was
:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21721 ac_cv_lib_netsnmp_snmp_register_callback=no
21724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21725 conftest$ac_exeext conftest.$ac_ext
21726 LIBS=$ac_check_lib_save_LIBS
21728 { echo "$as_me:$LINENO: result
: $ac_cv_lib_netsnmp_snmp_register_callback" >&5
21729 echo "${ECHO_T}$ac_cv_lib_netsnmp_snmp_register_callback" >&6; }
21730 if test $ac_cv_lib_netsnmp_snmp_register_callback = yes; then
21732 cat >>confdefs.h <<_ACEOF
21733 #define HAVE_NETSNMP 1
21739 if test "${ac_cv_lib_netsnmp_snmp_register_callback}" = "yes"; then
21740 NETSNMP_LIB="${NETSNMP_libs}"
21742 elif test -n "${NETSNMP_MANDATORY}";
21744 { echo "$as_me:$LINENO: ***" >&5
21745 echo "$as_me: ***" >&6;}
21746 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21747 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21748 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21749 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21750 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21751 echo "$as_me: *** including
--without-netsnmp" >&6;}
21754 elif test -n "${NETSNMP_MANDATORY}";
21756 { echo "$as_me:$LINENO: ***" >&5
21757 echo "$as_me: ***" >&6;}
21758 { echo "$as_me:$LINENO: *** The Net-SNMP installation on this system appears to be broken.
" >&5
21759 echo "$as_me: *** The Net-SNMP installation on this system appears to be broken.
" >&6;}
21760 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
21761 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
21762 { echo "$as_me:$LINENO: *** including
--without-netsnmp" >&5
21763 echo "$as_me: *** including
--without-netsnmp" >&6;}
21768 if test "${USE_NEWT}" != "no
"; then
21770 if test "x
${NEWT_DIR}" != "x
"; then
21771 if test -d ${NEWT_DIR}/lib; then
21772 pbxlibdir="-L${NEWT_DIR}/lib
"
21774 pbxlibdir="-L${NEWT_DIR}"
21777 { echo "$as_me:$LINENO: checking
for newtBell
in -lnewt" >&5
21778 echo $ECHO_N "checking
for newtBell
in -lnewt...
$ECHO_C" >&6; }
21779 if test "${ac_cv_lib_newt_newtBell+set}" = set; then
21780 echo $ECHO_N "(cached
) $ECHO_C" >&6
21782 ac_check_lib_save_LIBS=$LIBS
21783 LIBS="-lnewt ${pbxlibdir} $LIBS"
21784 cat >conftest.$ac_ext <<_ACEOF
21787 cat confdefs.h >>conftest.$ac_ext
21788 cat >>conftest.$ac_ext <<_ACEOF
21789 /* end confdefs.h. */
21791 /* Override any GCC internal prototype to avoid an error.
21792 Use char because int might match the return type of a GCC
21793 builtin and then its argument prototype would still apply. */
21801 return newtBell ();
21806 rm -f conftest.$ac_objext conftest$ac_exeext
21807 if { (ac_try="$ac_link"
21808 case "(($ac_try" in
21809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21810 *) ac_try_echo=$ac_try;;
21812 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21813 (eval "$ac_link") 2>conftest.er1
21815 grep -v '^ *+' conftest.er1 >conftest.err
21817 cat conftest.err >&5
21818 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21819 (exit $ac_status); } && {
21820 test -z "$ac_c_werror_flag" ||
21821 test ! -s conftest.err
21822 } && test -s conftest$ac_exeext &&
21823 $as_test_x conftest$ac_exeext; then
21824 ac_cv_lib_newt_newtBell=yes
21826 echo "$as_me: failed program was
:" >&5
21827 sed 's/^/| /' conftest.$ac_ext >&5
21829 ac_cv_lib_newt_newtBell=no
21832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21833 conftest$ac_exeext conftest.$ac_ext
21834 LIBS=$ac_check_lib_save_LIBS
21836 { echo "$as_me:$LINENO: result
: $ac_cv_lib_newt_newtBell" >&5
21837 echo "${ECHO_T}$ac_cv_lib_newt_newtBell" >&6; }
21838 if test $ac_cv_lib_newt_newtBell = yes; then
21845 if test "${AST_NEWT_FOUND}" = "yes"; then
21847 NEWT_HEADER_FOUND="1"
21848 if test "x
${NEWT_DIR}" != "x
"; then
21849 NEWT_LIB="${pbxlibdir} ${NEWT_LIB}"
21850 NEWT_INCLUDE="-I${NEWT_DIR}/include
"
21851 saved_cppflags="${CPPFLAGS}"
21852 CPPFLAGS="${CPPFLAGS} -I${NEWT_DIR}/include
"
21853 if test "xnewt.h
" != "x
" ; then
21854 as_ac_Header=`echo "ac_cv_header_
${NEWT_DIR}/include
/newt.h
" | $as_tr_sh`
21855 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21856 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21857 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21858 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21859 echo $ECHO_N "(cached
) $ECHO_C" >&6
21861 ac_res=`eval echo '${'$as_ac_Header'}'`
21862 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21863 echo "${ECHO_T}$ac_res" >&6; }
21865 # Is the header compilable?
21866 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h usability
" >&5
21867 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h usability...
$ECHO_C" >&6; }
21868 cat >conftest.$ac_ext <<_ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 $ac_includes_default
21875 #include <${NEWT_DIR}/include/newt.h>
21877 rm -f conftest.$ac_objext
21878 if { (ac_try="$ac_compile"
21879 case "(($ac_try" in
21880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21881 *) ac_try_echo=$ac_try;;
21883 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21884 (eval "$ac_compile") 2>conftest.er1
21886 grep -v '^ *+' conftest.er1 >conftest.err
21888 cat conftest.err >&5
21889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21890 (exit $ac_status); } && {
21891 test -z "$ac_c_werror_flag" ||
21892 test ! -s conftest.err
21893 } && test -s conftest.$ac_objext; then
21894 ac_header_compiler=yes
21896 echo "$as_me: failed program was
:" >&5
21897 sed 's/^/| /' conftest.$ac_ext >&5
21899 ac_header_compiler=no
21902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21903 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
21904 echo "${ECHO_T}$ac_header_compiler" >&6; }
21906 # Is the header present?
21907 { echo "$as_me:$LINENO: checking
${NEWT_DIR}/include
/newt.h presence
" >&5
21908 echo $ECHO_N "checking
${NEWT_DIR}/include
/newt.h presence...
$ECHO_C" >&6; }
21909 cat >conftest.$ac_ext <<_ACEOF
21912 cat confdefs.h >>conftest.$ac_ext
21913 cat >>conftest.$ac_ext <<_ACEOF
21914 /* end confdefs.h. */
21915 #include <${NEWT_DIR}/include/newt.h>
21917 if { (ac_try="$ac_cpp conftest.
$ac_ext"
21918 case "(($ac_try" in
21919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21920 *) ac_try_echo=$ac_try;;
21922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21923 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
21925 grep -v '^ *+' conftest.er1 >conftest.err
21927 cat conftest.err >&5
21928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21929 (exit $ac_status); } >/dev/null && {
21930 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21931 test ! -s conftest.err
21933 ac_header_preproc=yes
21935 echo "$as_me: failed program was
:" >&5
21936 sed 's/^/| /' conftest.$ac_ext >&5
21938 ac_header_preproc=no
21941 rm -f conftest.err conftest.$ac_ext
21942 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
21943 echo "${ECHO_T}$ac_header_preproc" >&6; }
21945 # So? What about this header?
21946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21948 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
21949 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
21950 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the compiler
's result" >&5
21951 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the compiler's result
" >&2;}
21952 ac_header_preproc=yes
21955 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&5
21956 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: present but cannot be compiled
" >&2;}
21957 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&5
21958 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: check
for missing prerequisite headers?
" >&2;}
21959 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&5
21960 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: see the Autoconf documentation
" >&2;}
21961 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
21962 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
21963 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: proceeding with the preprocessor
's result" >&5
21964 echo "$as_me: WARNING: ${NEWT_DIR}/include/newt.h: proceeding with the preprocessor's result
" >&2;}
21965 { echo "$as_me:$LINENO: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&5
21966 echo "$as_me: WARNING
: ${NEWT_DIR}/include
/newt.h
: in the future
, the compiler will take precedence
" >&2;}
21970 { echo "$as_me:$LINENO: checking
for ${NEWT_DIR}/include
/newt.h
" >&5
21971 echo $ECHO_N "checking
for ${NEWT_DIR}/include
/newt.h...
$ECHO_C" >&6; }
21972 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
21973 echo $ECHO_N "(cached
) $ECHO_C" >&6
21975 eval "$as_ac_Header=\
$ac_header_preproc"
21977 ac_res=`eval echo '${'$as_ac_Header'}'`
21978 { echo "$as_me:$LINENO: result
: $ac_res" >&5
21979 echo "${ECHO_T}$ac_res" >&6; }
21982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21983 NEWT_HEADER_FOUND=1
21985 NEWT_HEADER_FOUND=0
21990 CPPFLAGS="${saved_cppflags}"
21992 if test "xnewt.h
" != "x
" ; then
21993 if test "${ac_cv_header_newt_h+set}" = set; then
21994 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
21995 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
21996 if test "${ac_cv_header_newt_h+set}" = set; then
21997 echo $ECHO_N "(cached
) $ECHO_C" >&6
21999 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
22000 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
22002 # Is the header compilable?
22003 { echo "$as_me:$LINENO: checking newt.h usability
" >&5
22004 echo $ECHO_N "checking newt.h usability...
$ECHO_C" >&6; }
22005 cat >conftest.$ac_ext <<_ACEOF
22008 cat confdefs.h >>conftest.$ac_ext
22009 cat >>conftest.$ac_ext <<_ACEOF
22010 /* end confdefs.h. */
22011 $ac_includes_default
22014 rm -f conftest.$ac_objext
22015 if { (ac_try="$ac_compile"
22016 case "(($ac_try" in
22017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22018 *) ac_try_echo=$ac_try;;
22020 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22021 (eval "$ac_compile") 2>conftest.er1
22023 grep -v '^ *+' conftest.er1 >conftest.err
22025 cat conftest.err >&5
22026 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22027 (exit $ac_status); } && {
22028 test -z "$ac_c_werror_flag" ||
22029 test ! -s conftest.err
22030 } && test -s conftest.$ac_objext; then
22031 ac_header_compiler=yes
22033 echo "$as_me: failed program was
:" >&5
22034 sed 's/^/| /' conftest.$ac_ext >&5
22036 ac_header_compiler=no
22039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22040 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22041 echo "${ECHO_T}$ac_header_compiler" >&6; }
22043 # Is the header present?
22044 { echo "$as_me:$LINENO: checking newt.h presence
" >&5
22045 echo $ECHO_N "checking newt.h presence...
$ECHO_C" >&6; }
22046 cat >conftest.$ac_ext <<_ACEOF
22049 cat confdefs.h >>conftest.$ac_ext
22050 cat >>conftest.$ac_ext <<_ACEOF
22051 /* end confdefs.h. */
22054 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22055 case "(($ac_try" in
22056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22057 *) ac_try_echo=$ac_try;;
22059 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22060 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22062 grep -v '^ *+' conftest.er1 >conftest.err
22064 cat conftest.err >&5
22065 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22066 (exit $ac_status); } >/dev/null && {
22067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22068 test ! -s conftest.err
22070 ac_header_preproc=yes
22072 echo "$as_me: failed program was
:" >&5
22073 sed 's/^/| /' conftest.$ac_ext >&5
22075 ac_header_preproc=no
22078 rm -f conftest.err conftest.$ac_ext
22079 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22080 echo "${ECHO_T}$ac_header_preproc" >&6; }
22082 # So? What about this header?
22083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22085 { echo "$as_me:$LINENO: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22086 echo "$as_me: WARNING
: newt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22087 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the compiler
's result" >&5
22088 echo "$as_me: WARNING: newt.h: proceeding with the compiler's result
" >&2;}
22089 ac_header_preproc=yes
22092 { echo "$as_me:$LINENO: WARNING
: newt.h
: present but cannot be compiled
" >&5
22093 echo "$as_me: WARNING
: newt.h
: present but cannot be compiled
" >&2;}
22094 { echo "$as_me:$LINENO: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&5
22095 echo "$as_me: WARNING
: newt.h
: check
for missing prerequisite headers?
" >&2;}
22096 { echo "$as_me:$LINENO: WARNING
: newt.h
: see the Autoconf documentation
" >&5
22097 echo "$as_me: WARNING
: newt.h
: see the Autoconf documentation
" >&2;}
22098 { echo "$as_me:$LINENO: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22099 echo "$as_me: WARNING
: newt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22100 { echo "$as_me:$LINENO: WARNING
: newt.h
: proceeding with the preprocessor
's result" >&5
22101 echo "$as_me: WARNING: newt.h: proceeding with the preprocessor's result
" >&2;}
22102 { echo "$as_me:$LINENO: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&5
22103 echo "$as_me: WARNING
: newt.h
: in the future
, the compiler will take precedence
" >&2;}
22107 { echo "$as_me:$LINENO: checking
for newt.h
" >&5
22108 echo $ECHO_N "checking
for newt.h...
$ECHO_C" >&6; }
22109 if test "${ac_cv_header_newt_h+set}" = set; then
22110 echo $ECHO_N "(cached
) $ECHO_C" >&6
22112 ac_cv_header_newt_h=$ac_header_preproc
22114 { echo "$as_me:$LINENO: result
: $ac_cv_header_newt_h" >&5
22115 echo "${ECHO_T}$ac_cv_header_newt_h" >&6; }
22118 if test $ac_cv_header_newt_h = yes; then
22119 NEWT_HEADER_FOUND=1
22121 NEWT_HEADER_FOUND=0
22127 if test "x
${NEWT_HEADER_FOUND}" = "x0
" ; then
22128 if test -n "${NEWT_MANDATORY}" ;
22130 { echo "$as_me:$LINENO: ***" >&5
22131 echo "$as_me: ***" >&6;}
22132 { echo "$as_me:$LINENO: *** It appears that you
do not have the newt development package installed.
" >&5
22133 echo "$as_me: *** It appears that you
do not have the newt development package installed.
" >&6;}
22134 { echo "$as_me:$LINENO: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&5
22135 echo "$as_me: *** Please
install it to include
${NEWT_DESCRIP} support
, or re-run configure
" >&6;}
22136 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
22137 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_NEWT 1
22151 elif test -n "${NEWT_MANDATORY}";
22153 { echo "$as_me:$LINENO: ***" >&5
22154 echo "$as_me: ***" >&6;}
22155 { echo "$as_me:$LINENO: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&5
22156 echo "$as_me: *** The
${NEWT_DESCRIP} installation on this system appears to be broken.
" >&6;}
22157 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22158 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22159 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${NEWT_OPTION}" >&5
22160 echo "$as_me: *** without explicitly specifying
--with-${NEWT_OPTION}" >&6;}
22167 if test "${USE_UNIXODBC}" != "no
"; then
22169 if test "x
${UNIXODBC_DIR}" != "x
"; then
22170 if test -d ${UNIXODBC_DIR}/lib; then
22171 pbxlibdir="-L${UNIXODBC_DIR}/lib
"
22173 pbxlibdir="-L${UNIXODBC_DIR}"
22176 { echo "$as_me:$LINENO: checking
for SQLConnect
in -lodbc" >&5
22177 echo $ECHO_N "checking
for SQLConnect
in -lodbc...
$ECHO_C" >&6; }
22178 if test "${ac_cv_lib_odbc_SQLConnect+set}" = set; then
22179 echo $ECHO_N "(cached
) $ECHO_C" >&6
22181 ac_check_lib_save_LIBS=$LIBS
22182 LIBS="-lodbc ${pbxlibdir} $LIBS"
22183 cat >conftest.$ac_ext <<_ACEOF
22186 cat confdefs.h >>conftest.$ac_ext
22187 cat >>conftest.$ac_ext <<_ACEOF
22188 /* end confdefs.h. */
22190 /* Override any GCC internal prototype to avoid an error.
22191 Use char because int might match the return type of a GCC
22192 builtin and then its argument prototype would still apply. */
22196 char SQLConnect ();
22200 return SQLConnect ();
22205 rm -f conftest.$ac_objext conftest$ac_exeext
22206 if { (ac_try="$ac_link"
22207 case "(($ac_try" in
22208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22209 *) ac_try_echo=$ac_try;;
22211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22212 (eval "$ac_link") 2>conftest.er1
22214 grep -v '^ *+' conftest.er1 >conftest.err
22216 cat conftest.err >&5
22217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22218 (exit $ac_status); } && {
22219 test -z "$ac_c_werror_flag" ||
22220 test ! -s conftest.err
22221 } && test -s conftest$ac_exeext &&
22222 $as_test_x conftest$ac_exeext; then
22223 ac_cv_lib_odbc_SQLConnect=yes
22225 echo "$as_me: failed program was
:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22228 ac_cv_lib_odbc_SQLConnect=no
22231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22232 conftest$ac_exeext conftest.$ac_ext
22233 LIBS=$ac_check_lib_save_LIBS
22235 { echo "$as_me:$LINENO: result
: $ac_cv_lib_odbc_SQLConnect" >&5
22236 echo "${ECHO_T}$ac_cv_lib_odbc_SQLConnect" >&6; }
22237 if test $ac_cv_lib_odbc_SQLConnect = yes; then
22238 AST_UNIXODBC_FOUND=yes
22240 AST_UNIXODBC_FOUND=no
22244 if test "${AST_UNIXODBC_FOUND}" = "yes"; then
22245 UNIXODBC_LIB="-lodbc "
22246 UNIXODBC_HEADER_FOUND="1"
22247 if test "x
${UNIXODBC_DIR}" != "x
"; then
22248 UNIXODBC_LIB="${pbxlibdir} ${UNIXODBC_LIB}"
22249 UNIXODBC_INCLUDE="-I${UNIXODBC_DIR}/include
"
22250 saved_cppflags="${CPPFLAGS}"
22251 CPPFLAGS="${CPPFLAGS} -I${UNIXODBC_DIR}/include
"
22252 if test "xsql.h
" != "x
" ; then
22253 as_ac_Header=`echo "ac_cv_header_
${UNIXODBC_DIR}/include
/sql.h
" | $as_tr_sh`
22254 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22255 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
22256 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
22257 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22258 echo $ECHO_N "(cached
) $ECHO_C" >&6
22260 ac_res=`eval echo '${'$as_ac_Header'}'`
22261 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22262 echo "${ECHO_T}$ac_res" >&6; }
22264 # Is the header compilable?
22265 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h usability
" >&5
22266 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h usability...
$ECHO_C" >&6; }
22267 cat >conftest.$ac_ext <<_ACEOF
22270 cat confdefs.h >>conftest.$ac_ext
22271 cat >>conftest.$ac_ext <<_ACEOF
22272 /* end confdefs.h. */
22273 $ac_includes_default
22274 #include <${UNIXODBC_DIR}/include/sql.h>
22276 rm -f conftest.$ac_objext
22277 if { (ac_try="$ac_compile"
22278 case "(($ac_try" in
22279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22282 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_compile") 2>conftest.er1
22285 grep -v '^ *+' conftest.er1 >conftest.err
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22289 (exit $ac_status); } && {
22290 test -z "$ac_c_werror_flag" ||
22291 test ! -s conftest.err
22292 } && test -s conftest.$ac_objext; then
22293 ac_header_compiler=yes
22295 echo "$as_me: failed program was
:" >&5
22296 sed 's/^/| /' conftest.$ac_ext >&5
22298 ac_header_compiler=no
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22302 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22303 echo "${ECHO_T}$ac_header_compiler" >&6; }
22305 # Is the header present?
22306 { echo "$as_me:$LINENO: checking
${UNIXODBC_DIR}/include
/sql.h presence
" >&5
22307 echo $ECHO_N "checking
${UNIXODBC_DIR}/include
/sql.h presence...
$ECHO_C" >&6; }
22308 cat >conftest.$ac_ext <<_ACEOF
22311 cat confdefs.h >>conftest.$ac_ext
22312 cat >>conftest.$ac_ext <<_ACEOF
22313 /* end confdefs.h. */
22314 #include <${UNIXODBC_DIR}/include/sql.h>
22316 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22317 case "(($ac_try" in
22318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22319 *) ac_try_echo=$ac_try;;
22321 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22322 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22324 grep -v '^ *+' conftest.er1 >conftest.err
22326 cat conftest.err >&5
22327 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22328 (exit $ac_status); } >/dev/null && {
22329 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22330 test ! -s conftest.err
22332 ac_header_preproc=yes
22334 echo "$as_me: failed program was
:" >&5
22335 sed 's/^/| /' conftest.$ac_ext >&5
22337 ac_header_preproc=no
22340 rm -f conftest.err conftest.$ac_ext
22341 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22342 echo "${ECHO_T}$ac_header_preproc" >&6; }
22344 # So? What about this header?
22345 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22347 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22348 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22349 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the compiler
's result" >&5
22350 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the compiler's result
" >&2;}
22351 ac_header_preproc=yes
22354 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&5
22355 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: present but cannot be compiled
" >&2;}
22356 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&5
22357 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: check
for missing prerequisite headers?
" >&2;}
22358 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&5
22359 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: see the Autoconf documentation
" >&2;}
22360 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22361 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22362 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: proceeding with the preprocessor
's result" >&5
22363 echo "$as_me: WARNING: ${UNIXODBC_DIR}/include/sql.h: proceeding with the preprocessor's result
" >&2;}
22364 { echo "$as_me:$LINENO: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&5
22365 echo "$as_me: WARNING
: ${UNIXODBC_DIR}/include
/sql.h
: in the future
, the compiler will take precedence
" >&2;}
22369 { echo "$as_me:$LINENO: checking
for ${UNIXODBC_DIR}/include
/sql.h
" >&5
22370 echo $ECHO_N "checking
for ${UNIXODBC_DIR}/include
/sql.h...
$ECHO_C" >&6; }
22371 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22372 echo $ECHO_N "(cached
) $ECHO_C" >&6
22374 eval "$as_ac_Header=\
$ac_header_preproc"
22376 ac_res=`eval echo '${'$as_ac_Header'}'`
22377 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22378 echo "${ECHO_T}$ac_res" >&6; }
22381 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22382 UNIXODBC_HEADER_FOUND=1
22384 UNIXODBC_HEADER_FOUND=0
22389 CPPFLAGS="${saved_cppflags}"
22391 if test "xsql.h
" != "x
" ; then
22392 if test "${ac_cv_header_sql_h+set}" = set; then
22393 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22394 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22395 if test "${ac_cv_header_sql_h+set}" = set; then
22396 echo $ECHO_N "(cached
) $ECHO_C" >&6
22398 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22399 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22401 # Is the header compilable?
22402 { echo "$as_me:$LINENO: checking sql.h usability
" >&5
22403 echo $ECHO_N "checking sql.h usability...
$ECHO_C" >&6; }
22404 cat >conftest.$ac_ext <<_ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22410 $ac_includes_default
22413 rm -f conftest.$ac_objext
22414 if { (ac_try="$ac_compile"
22415 case "(($ac_try" in
22416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22417 *) ac_try_echo=$ac_try;;
22419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22420 (eval "$ac_compile") 2>conftest.er1
22422 grep -v '^ *+' conftest.er1 >conftest.err
22424 cat conftest.err >&5
22425 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22426 (exit $ac_status); } && {
22427 test -z "$ac_c_werror_flag" ||
22428 test ! -s conftest.err
22429 } && test -s conftest.$ac_objext; then
22430 ac_header_compiler=yes
22432 echo "$as_me: failed program was
:" >&5
22433 sed 's/^/| /' conftest.$ac_ext >&5
22435 ac_header_compiler=no
22438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22439 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22440 echo "${ECHO_T}$ac_header_compiler" >&6; }
22442 # Is the header present?
22443 { echo "$as_me:$LINENO: checking sql.h presence
" >&5
22444 echo $ECHO_N "checking sql.h presence...
$ECHO_C" >&6; }
22445 cat >conftest.$ac_ext <<_ACEOF
22448 cat confdefs.h >>conftest.$ac_ext
22449 cat >>conftest.$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22453 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22454 case "(($ac_try" in
22455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22456 *) ac_try_echo=$ac_try;;
22458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22459 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22461 grep -v '^ *+' conftest.er1 >conftest.err
22463 cat conftest.err >&5
22464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22465 (exit $ac_status); } >/dev/null && {
22466 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22467 test ! -s conftest.err
22469 ac_header_preproc=yes
22471 echo "$as_me: failed program was
:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22474 ac_header_preproc=no
22477 rm -f conftest.err conftest.$ac_ext
22478 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22479 echo "${ECHO_T}$ac_header_preproc" >&6; }
22481 # So? What about this header?
22482 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22484 { echo "$as_me:$LINENO: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
22485 echo "$as_me: WARNING
: sql.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22486 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the compiler
's result" >&5
22487 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result
" >&2;}
22488 ac_header_preproc=yes
22491 { echo "$as_me:$LINENO: WARNING
: sql.h
: present but cannot be compiled
" >&5
22492 echo "$as_me: WARNING
: sql.h
: present but cannot be compiled
" >&2;}
22493 { echo "$as_me:$LINENO: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&5
22494 echo "$as_me: WARNING
: sql.h
: check
for missing prerequisite headers?
" >&2;}
22495 { echo "$as_me:$LINENO: WARNING
: sql.h
: see the Autoconf documentation
" >&5
22496 echo "$as_me: WARNING
: sql.h
: see the Autoconf documentation
" >&2;}
22497 { echo "$as_me:$LINENO: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&5
22498 echo "$as_me: WARNING
: sql.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
22499 { echo "$as_me:$LINENO: WARNING
: sql.h
: proceeding with the preprocessor
's result" >&5
22500 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result
" >&2;}
22501 { echo "$as_me:$LINENO: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&5
22502 echo "$as_me: WARNING
: sql.h
: in the future
, the compiler will take precedence
" >&2;}
22506 { echo "$as_me:$LINENO: checking
for sql.h
" >&5
22507 echo $ECHO_N "checking
for sql.h...
$ECHO_C" >&6; }
22508 if test "${ac_cv_header_sql_h+set}" = set; then
22509 echo $ECHO_N "(cached
) $ECHO_C" >&6
22511 ac_cv_header_sql_h=$ac_header_preproc
22513 { echo "$as_me:$LINENO: result
: $ac_cv_header_sql_h" >&5
22514 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
22517 if test $ac_cv_header_sql_h = yes; then
22518 UNIXODBC_HEADER_FOUND=1
22520 UNIXODBC_HEADER_FOUND=0
22526 if test "x
${UNIXODBC_HEADER_FOUND}" = "x0
" ; then
22527 if test -n "${UNIXODBC_MANDATORY}" ;
22529 { echo "$as_me:$LINENO: ***" >&5
22530 echo "$as_me: ***" >&6;}
22531 { echo "$as_me:$LINENO: *** It appears that you
do not have the odbc development package installed.
" >&5
22532 echo "$as_me: *** It appears that you
do not have the odbc development package installed.
" >&6;}
22533 { echo "$as_me:$LINENO: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&5
22534 echo "$as_me: *** Please
install it to include
${UNIXODBC_DESCRIP} support
, or re-run configure
" >&6;}
22535 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22536 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22540 UNIXODBC_INCLUDE=""
22545 cat >>confdefs.h <<_ACEOF
22546 #define HAVE_UNIXODBC 1
22550 elif test -n "${UNIXODBC_MANDATORY}";
22552 { echo "$as_me:$LINENO: ***" >&5
22553 echo "$as_me: ***" >&6;}
22554 { echo "$as_me:$LINENO: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&5
22555 echo "$as_me: *** The
${UNIXODBC_DESCRIP} installation on this system appears to be broken.
" >&6;}
22556 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22557 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22558 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&5
22559 echo "$as_me: *** without explicitly specifying
--with-${UNIXODBC_OPTION}" >&6;}
22566 if test "${USE_OGG}" != "no
"; then
22568 if test "x
${OGG_DIR}" != "x
"; then
22569 if test -d ${OGG_DIR}/lib; then
22570 pbxlibdir="-L${OGG_DIR}/lib
"
22572 pbxlibdir="-L${OGG_DIR}"
22575 { echo "$as_me:$LINENO: checking
for ogg_sync_init
in -logg" >&5
22576 echo $ECHO_N "checking
for ogg_sync_init
in -logg...
$ECHO_C" >&6; }
22577 if test "${ac_cv_lib_ogg_ogg_sync_init+set}" = set; then
22578 echo $ECHO_N "(cached
) $ECHO_C" >&6
22580 ac_check_lib_save_LIBS=$LIBS
22581 LIBS="-logg ${pbxlibdir} $LIBS"
22582 cat >conftest.$ac_ext <<_ACEOF
22585 cat confdefs.h >>conftest.$ac_ext
22586 cat >>conftest.$ac_ext <<_ACEOF
22587 /* end confdefs.h. */
22589 /* Override any GCC internal prototype to avoid an error.
22590 Use char because int might match the return type of a GCC
22591 builtin and then its argument prototype would still apply. */
22595 char ogg_sync_init ();
22599 return ogg_sync_init ();
22604 rm -f conftest.$ac_objext conftest$ac_exeext
22605 if { (ac_try="$ac_link"
22606 case "(($ac_try" in
22607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22608 *) ac_try_echo=$ac_try;;
22610 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22611 (eval "$ac_link") 2>conftest.er1
22613 grep -v '^ *+' conftest.er1 >conftest.err
22615 cat conftest.err >&5
22616 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22617 (exit $ac_status); } && {
22618 test -z "$ac_c_werror_flag" ||
22619 test ! -s conftest.err
22620 } && test -s conftest$ac_exeext &&
22621 $as_test_x conftest$ac_exeext; then
22622 ac_cv_lib_ogg_ogg_sync_init=yes
22624 echo "$as_me: failed program was
:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22627 ac_cv_lib_ogg_ogg_sync_init=no
22630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22631 conftest$ac_exeext conftest.$ac_ext
22632 LIBS=$ac_check_lib_save_LIBS
22634 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ogg_ogg_sync_init" >&5
22635 echo "${ECHO_T}$ac_cv_lib_ogg_ogg_sync_init" >&6; }
22636 if test $ac_cv_lib_ogg_ogg_sync_init = yes; then
22643 if test "${AST_OGG_FOUND}" = "yes"; then
22645 OGG_HEADER_FOUND="1"
22646 if test "x
${OGG_DIR}" != "x
"; then
22647 OGG_LIB="${pbxlibdir} ${OGG_LIB}"
22648 OGG_INCLUDE="-I${OGG_DIR}/include
"
22649 saved_cppflags="${CPPFLAGS}"
22650 CPPFLAGS="${CPPFLAGS} -I${OGG_DIR}/include
"
22651 if test "x
" != "x
" ; then
22652 as_ac_Header=`echo "ac_cv_header_
${OGG_DIR}/include
/" | $as_tr_sh`
22653 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22654 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22655 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22656 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22657 echo $ECHO_N "(cached
) $ECHO_C" >&6
22659 ac_res=`eval echo '${'$as_ac_Header'}'`
22660 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22661 echo "${ECHO_T}$ac_res" >&6; }
22663 # Is the header compilable?
22664 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ usability
" >&5
22665 echo $ECHO_N "checking
${OGG_DIR}/include
/ usability...
$ECHO_C" >&6; }
22666 cat >conftest.$ac_ext <<_ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 $ac_includes_default
22673 #include <${OGG_DIR}/include/>
22675 rm -f conftest.$ac_objext
22676 if { (ac_try="$ac_compile"
22677 case "(($ac_try" in
22678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22679 *) ac_try_echo=$ac_try;;
22681 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22682 (eval "$ac_compile") 2>conftest.er1
22684 grep -v '^ *+' conftest.er1 >conftest.err
22686 cat conftest.err >&5
22687 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22688 (exit $ac_status); } && {
22689 test -z "$ac_c_werror_flag" ||
22690 test ! -s conftest.err
22691 } && test -s conftest.$ac_objext; then
22692 ac_header_compiler=yes
22694 echo "$as_me: failed program was
:" >&5
22695 sed 's/^/| /' conftest.$ac_ext >&5
22697 ac_header_compiler=no
22700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22702 echo "${ECHO_T}$ac_header_compiler" >&6; }
22704 # Is the header present?
22705 { echo "$as_me:$LINENO: checking
${OGG_DIR}/include
/ presence
" >&5
22706 echo $ECHO_N "checking
${OGG_DIR}/include
/ presence...
$ECHO_C" >&6; }
22707 cat >conftest.$ac_ext <<_ACEOF
22710 cat confdefs.h >>conftest.$ac_ext
22711 cat >>conftest.$ac_ext <<_ACEOF
22712 /* end confdefs.h. */
22713 #include <${OGG_DIR}/include/>
22715 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22720 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22723 grep -v '^ *+' conftest.er1 >conftest.err
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22727 (exit $ac_status); } >/dev/null && {
22728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22731 ac_header_preproc=yes
22733 echo "$as_me: failed program was
:" >&5
22734 sed 's/^/| /' conftest.$ac_ext >&5
22736 ac_header_preproc=no
22739 rm -f conftest.err conftest.$ac_ext
22740 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22741 echo "${ECHO_T}$ac_header_preproc" >&6; }
22743 # So? What about this header?
22744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22746 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&5
22747 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22748 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the compiler
's result" >&5
22749 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the compiler's result
" >&2;}
22750 ac_header_preproc=yes
22753 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&5
22754 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: present but cannot be compiled
" >&2;}
22755 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&5
22756 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: check
for missing prerequisite headers?
" >&2;}
22757 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&5
22758 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: see the Autoconf documentation
" >&2;}
22759 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&5
22760 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: section
\"Present But Cannot Be Compiled
\"" >&2;}
22761 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: proceeding with the preprocessor
's result" >&5
22762 echo "$as_me: WARNING: ${OGG_DIR}/include/: proceeding with the preprocessor's result
" >&2;}
22763 { echo "$as_me:$LINENO: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&5
22764 echo "$as_me: WARNING
: ${OGG_DIR}/include
/: in the future
, the compiler will take precedence
" >&2;}
22768 { echo "$as_me:$LINENO: checking
for ${OGG_DIR}/include
/" >&5
22769 echo $ECHO_N "checking
for ${OGG_DIR}/include
/...
$ECHO_C" >&6; }
22770 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
22771 echo $ECHO_N "(cached
) $ECHO_C" >&6
22773 eval "$as_ac_Header=\
$ac_header_preproc"
22775 ac_res=`eval echo '${'$as_ac_Header'}'`
22776 { echo "$as_me:$LINENO: result
: $ac_res" >&5
22777 echo "${ECHO_T}$ac_res" >&6; }
22780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22788 CPPFLAGS="${saved_cppflags}"
22790 if test "x
" != "x
" ; then
22791 if test "${ac_cv_header_+set}" = set; then
22792 { echo "$as_me:$LINENO: checking
for " >&5
22793 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22794 if test "${ac_cv_header_+set}" = set; then
22795 echo $ECHO_N "(cached
) $ECHO_C" >&6
22797 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22798 echo "${ECHO_T}$ac_cv_header_" >&6; }
22800 # Is the header compilable?
22801 { echo "$as_me:$LINENO: checking usability
" >&5
22802 echo $ECHO_N "checking usability...
$ECHO_C" >&6; }
22803 cat >conftest.$ac_ext <<_ACEOF
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22809 $ac_includes_default
22812 rm -f conftest.$ac_objext
22813 if { (ac_try="$ac_compile"
22814 case "(($ac_try" in
22815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816 *) ac_try_echo=$ac_try;;
22818 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22819 (eval "$ac_compile") 2>conftest.er1
22821 grep -v '^ *+' conftest.er1 >conftest.err
22823 cat conftest.err >&5
22824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22825 (exit $ac_status); } && {
22826 test -z "$ac_c_werror_flag" ||
22827 test ! -s conftest.err
22828 } && test -s conftest.$ac_objext; then
22829 ac_header_compiler=yes
22831 echo "$as_me: failed program was
:" >&5
22832 sed 's/^/| /' conftest.$ac_ext >&5
22834 ac_header_compiler=no
22837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22838 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
22839 echo "${ECHO_T}$ac_header_compiler" >&6; }
22841 # Is the header present?
22842 { echo "$as_me:$LINENO: checking presence
" >&5
22843 echo $ECHO_N "checking presence...
$ECHO_C" >&6; }
22844 cat >conftest.$ac_ext <<_ACEOF
22847 cat confdefs.h >>conftest.$ac_ext
22848 cat >>conftest.$ac_ext <<_ACEOF
22849 /* end confdefs.h. */
22852 if { (ac_try="$ac_cpp conftest.
$ac_ext"
22853 case "(($ac_try" in
22854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22855 *) ac_try_echo=$ac_try;;
22857 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22858 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
22860 grep -v '^ *+' conftest.er1 >conftest.err
22862 cat conftest.err >&5
22863 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22864 (exit $ac_status); } >/dev/null && {
22865 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
22866 test ! -s conftest.err
22868 ac_header_preproc=yes
22870 echo "$as_me: failed program was
:" >&5
22871 sed 's/^/| /' conftest.$ac_ext >&5
22873 ac_header_preproc=no
22876 rm -f conftest.err conftest.$ac_ext
22877 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
22878 echo "${ECHO_T}$ac_header_preproc" >&6; }
22880 # So? What about this header?
22881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
22883 { echo "$as_me:$LINENO: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&5
22884 echo "$as_me: WARNING
: : accepted by the compiler
, rejected by the preprocessor
!" >&2;}
22885 { echo "$as_me:$LINENO: WARNING
: : proceeding with the compiler
's result" >&5
22886 echo "$as_me: WARNING: : proceeding with the compiler's result
" >&2;}
22887 ac_header_preproc=yes
22890 { echo "$as_me:$LINENO: WARNING
: : present but cannot be compiled
" >&5
22891 echo "$as_me: WARNING
: : present but cannot be compiled
" >&2;}
22892 { echo "$as_me:$LINENO: WARNING
: : check
for missing prerequisite headers?
" >&5
22893 echo "$as_me: WARNING
: : check
for missing prerequisite headers?
" >&2;}
22894 { echo "$as_me:$LINENO: WARNING
: : see the Autoconf documentation
" >&5
22895 echo "$as_me: WARNING
: : see the Autoconf documentation
" >&2;}
22896 { echo "$as_me:$LINENO: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&5
22897 echo "$as_me: WARNING
: : section
\"Present But Cannot Be Compiled
\"" >&2;}
22898 { echo "$as_me:$LINENO: WARNING
: : proceeding with the preprocessor
's result" >&5
22899 echo "$as_me: WARNING: : proceeding with the preprocessor's result
" >&2;}
22900 { echo "$as_me:$LINENO: WARNING
: : in the future
, the compiler will take precedence
" >&5
22901 echo "$as_me: WARNING
: : in the future
, the compiler will take precedence
" >&2;}
22905 { echo "$as_me:$LINENO: checking
for " >&5
22906 echo $ECHO_N "checking
for ...
$ECHO_C" >&6; }
22907 if test "${ac_cv_header_+set}" = set; then
22908 echo $ECHO_N "(cached
) $ECHO_C" >&6
22910 ac_cv_header_=$ac_header_preproc
22912 { echo "$as_me:$LINENO: result
: $ac_cv_header_" >&5
22913 echo "${ECHO_T}$ac_cv_header_" >&6; }
22916 if test $ac_cv_header_ = yes; then
22925 if test "x
${OGG_HEADER_FOUND}" = "x0
" ; then
22926 if test -n "${OGG_MANDATORY}" ;
22928 { echo "$as_me:$LINENO: ***" >&5
22929 echo "$as_me: ***" >&6;}
22930 { echo "$as_me:$LINENO: *** It appears that you
do not have the ogg development package installed.
" >&5
22931 echo "$as_me: *** It appears that you
do not have the ogg development package installed.
" >&6;}
22932 { echo "$as_me:$LINENO: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&5
22933 echo "$as_me: *** Please
install it to include
${OGG_DESCRIP} support
, or re-run configure
" >&6;}
22934 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22935 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22944 cat >>confdefs.h <<_ACEOF
22949 elif test -n "${OGG_MANDATORY}";
22951 { echo "$as_me:$LINENO: ***" >&5
22952 echo "$as_me: ***" >&6;}
22953 { echo "$as_me:$LINENO: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&5
22954 echo "$as_me: *** The
${OGG_DESCRIP} installation on this system appears to be broken.
" >&6;}
22955 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
22956 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
22957 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OGG_OPTION}" >&5
22958 echo "$as_me: *** without explicitly specifying
--with-${OGG_OPTION}" >&6;}
22964 if test "${USE_OSS}" != "no
"; then
22966 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22967 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
22968 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
22969 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
22970 echo $ECHO_N "(cached
) $ECHO_C" >&6
22972 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
22973 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
22975 # Is the header compilable?
22976 { echo "$as_me:$LINENO: checking linux
/soundcard.h usability
" >&5
22977 echo $ECHO_N "checking linux
/soundcard.h usability...
$ECHO_C" >&6; }
22978 cat >conftest.$ac_ext <<_ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984 $ac_includes_default
22985 #include <linux/soundcard.h>
22987 rm -f conftest.$ac_objext
22988 if { (ac_try="$ac_compile"
22989 case "(($ac_try" in
22990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22991 *) ac_try_echo=$ac_try;;
22993 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22994 (eval "$ac_compile") 2>conftest.er1
22996 grep -v '^ *+' conftest.er1 >conftest.err
22998 cat conftest.err >&5
22999 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23000 (exit $ac_status); } && {
23001 test -z "$ac_c_werror_flag" ||
23002 test ! -s conftest.err
23003 } && test -s conftest.$ac_objext; then
23004 ac_header_compiler=yes
23006 echo "$as_me: failed program was
:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23009 ac_header_compiler=no
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23013 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23014 echo "${ECHO_T}$ac_header_compiler" >&6; }
23016 # Is the header present?
23017 { echo "$as_me:$LINENO: checking linux
/soundcard.h presence
" >&5
23018 echo $ECHO_N "checking linux
/soundcard.h presence...
$ECHO_C" >&6; }
23019 cat >conftest.$ac_ext <<_ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 #include <linux/soundcard.h>
23027 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23030 *) ac_try_echo=$ac_try;;
23032 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23035 grep -v '^ *+' conftest.er1 >conftest.err
23037 cat conftest.err >&5
23038 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23039 (exit $ac_status); } >/dev/null && {
23040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23043 ac_header_preproc=yes
23045 echo "$as_me: failed program was
:" >&5
23046 sed 's/^/| /' conftest.$ac_ext >&5
23048 ac_header_preproc=no
23051 rm -f conftest.err conftest.$ac_ext
23052 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23053 echo "${ECHO_T}$ac_header_preproc" >&6; }
23055 # So? What about this header?
23056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23058 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23059 echo "$as_me: WARNING
: linux
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23060 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the compiler
's result" >&5
23061 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the compiler's result
" >&2;}
23062 ac_header_preproc=yes
23065 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&5
23066 echo "$as_me: WARNING
: linux
/soundcard.h
: present but cannot be compiled
" >&2;}
23067 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23068 echo "$as_me: WARNING
: linux
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23069 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&5
23070 echo "$as_me: WARNING
: linux
/soundcard.h
: see the Autoconf documentation
" >&2;}
23071 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23072 echo "$as_me: WARNING
: linux
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23073 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23074 echo "$as_me: WARNING: linux/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23075 { echo "$as_me:$LINENO: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23076 echo "$as_me: WARNING
: linux
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23080 { echo "$as_me:$LINENO: checking
for linux
/soundcard.h
" >&5
23081 echo $ECHO_N "checking
for linux
/soundcard.h...
$ECHO_C" >&6; }
23082 if test "${ac_cv_header_linux_soundcard_h+set}" = set; then
23083 echo $ECHO_N "(cached
) $ECHO_C" >&6
23085 ac_cv_header_linux_soundcard_h=$ac_header_preproc
23087 { echo "$as_me:$LINENO: result
: $ac_cv_header_linux_soundcard_h" >&5
23088 echo "${ECHO_T}$ac_cv_header_linux_soundcard_h" >&6; }
23091 if test $ac_cv_header_linux_soundcard_h = yes; then
23095 cat >>confdefs.h <<_ACEOF
23103 if test "$PBX_OSS" = "0"; then
23104 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
23105 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
23106 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
23107 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
23108 echo $ECHO_N "(cached
) $ECHO_C" >&6
23110 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
23111 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
23113 # Is the header compilable?
23114 { echo "$as_me:$LINENO: checking sys
/soundcard.h usability
" >&5
23115 echo $ECHO_N "checking sys
/soundcard.h usability...
$ECHO_C" >&6; }
23116 cat >conftest.$ac_ext <<_ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23122 $ac_includes_default
23123 #include <sys/soundcard.h>
23125 rm -f conftest.$ac_objext
23126 if { (ac_try="$ac_compile"
23127 case "(($ac_try" in
23128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23129 *) ac_try_echo=$ac_try;;
23131 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23132 (eval "$ac_compile") 2>conftest.er1
23134 grep -v '^ *+' conftest.er1 >conftest.err
23136 cat conftest.err >&5
23137 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23138 (exit $ac_status); } && {
23139 test -z "$ac_c_werror_flag" ||
23140 test ! -s conftest.err
23141 } && test -s conftest.$ac_objext; then
23142 ac_header_compiler=yes
23144 echo "$as_me: failed program was
:" >&5
23145 sed 's/^/| /' conftest.$ac_ext >&5
23147 ac_header_compiler=no
23150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23152 echo "${ECHO_T}$ac_header_compiler" >&6; }
23154 # Is the header present?
23155 { echo "$as_me:$LINENO: checking sys
/soundcard.h presence
" >&5
23156 echo $ECHO_N "checking sys
/soundcard.h presence...
$ECHO_C" >&6; }
23157 cat >conftest.$ac_ext <<_ACEOF
23160 cat confdefs.h >>conftest.$ac_ext
23161 cat >>conftest.$ac_ext <<_ACEOF
23162 /* end confdefs.h. */
23163 #include <sys/soundcard.h>
23165 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23173 grep -v '^ *+' conftest.er1 >conftest.err
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23177 (exit $ac_status); } >/dev/null && {
23178 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23181 ac_header_preproc=yes
23183 echo "$as_me: failed program was
:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23186 ac_header_preproc=no
23189 rm -f conftest.err conftest.$ac_ext
23190 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23191 echo "${ECHO_T}$ac_header_preproc" >&6; }
23193 # So? What about this header?
23194 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23196 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23197 echo "$as_me: WARNING
: sys
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23198 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the compiler
's result" >&5
23199 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result
" >&2;}
23200 ac_header_preproc=yes
23203 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&5
23204 echo "$as_me: WARNING
: sys
/soundcard.h
: present but cannot be compiled
" >&2;}
23205 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23206 echo "$as_me: WARNING
: sys
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23207 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&5
23208 echo "$as_me: WARNING
: sys
/soundcard.h
: see the Autoconf documentation
" >&2;}
23209 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23210 echo "$as_me: WARNING
: sys
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23211 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23212 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23213 { echo "$as_me:$LINENO: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23214 echo "$as_me: WARNING
: sys
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23218 { echo "$as_me:$LINENO: checking
for sys
/soundcard.h
" >&5
23219 echo $ECHO_N "checking
for sys
/soundcard.h...
$ECHO_C" >&6; }
23220 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
23221 echo $ECHO_N "(cached
) $ECHO_C" >&6
23223 ac_cv_header_sys_soundcard_h=$ac_header_preproc
23225 { echo "$as_me:$LINENO: result
: $ac_cv_header_sys_soundcard_h" >&5
23226 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
23229 if test $ac_cv_header_sys_soundcard_h = yes; then
23233 cat >>confdefs.h <<_ACEOF
23242 if test "$PBX_OSS" = "0"; then
23244 if test "${USE_OSS}" != "no
"; then
23246 if test "x
${OSS_DIR}" != "x
"; then
23247 if test -d ${OSS_DIR}/lib; then
23248 pbxlibdir="-L${OSS_DIR}/lib
"
23250 pbxlibdir="-L${OSS_DIR}"
23253 { echo "$as_me:$LINENO: checking
for oss_ioctl_mixer
in -lossaudio" >&5
23254 echo $ECHO_N "checking
for oss_ioctl_mixer
in -lossaudio...
$ECHO_C" >&6; }
23255 if test "${ac_cv_lib_ossaudio_oss_ioctl_mixer+set}" = set; then
23256 echo $ECHO_N "(cached
) $ECHO_C" >&6
23258 ac_check_lib_save_LIBS=$LIBS
23259 LIBS="-lossaudio ${pbxlibdir} $LIBS"
23260 cat >conftest.$ac_ext <<_ACEOF
23263 cat confdefs.h >>conftest.$ac_ext
23264 cat >>conftest.$ac_ext <<_ACEOF
23265 /* end confdefs.h. */
23267 /* Override any GCC internal prototype to avoid an error.
23268 Use char because int might match the return type of a GCC
23269 builtin and then its argument prototype would still apply. */
23273 char oss_ioctl_mixer ();
23277 return oss_ioctl_mixer ();
23282 rm -f conftest.$ac_objext conftest$ac_exeext
23283 if { (ac_try="$ac_link"
23284 case "(($ac_try" in
23285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23286 *) ac_try_echo=$ac_try;;
23288 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23289 (eval "$ac_link") 2>conftest.er1
23291 grep -v '^ *+' conftest.er1 >conftest.err
23293 cat conftest.err >&5
23294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23295 (exit $ac_status); } && {
23296 test -z "$ac_c_werror_flag" ||
23297 test ! -s conftest.err
23298 } && test -s conftest$ac_exeext &&
23299 $as_test_x conftest$ac_exeext; then
23300 ac_cv_lib_ossaudio_oss_ioctl_mixer=yes
23302 echo "$as_me: failed program was
:" >&5
23303 sed 's/^/| /' conftest.$ac_ext >&5
23305 ac_cv_lib_ossaudio_oss_ioctl_mixer=no
23308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23309 conftest$ac_exeext conftest.$ac_ext
23310 LIBS=$ac_check_lib_save_LIBS
23312 { echo "$as_me:$LINENO: result
: $ac_cv_lib_ossaudio_oss_ioctl_mixer" >&5
23313 echo "${ECHO_T}$ac_cv_lib_ossaudio_oss_ioctl_mixer" >&6; }
23314 if test $ac_cv_lib_ossaudio_oss_ioctl_mixer = yes; then
23321 if test "${AST_OSS_FOUND}" = "yes"; then
23322 OSS_LIB="-lossaudio "
23323 OSS_HEADER_FOUND="1"
23324 if test "x
${OSS_DIR}" != "x
"; then
23325 OSS_LIB="${pbxlibdir} ${OSS_LIB}"
23326 OSS_INCLUDE="-I${OSS_DIR}/include
"
23327 saved_cppflags="${CPPFLAGS}"
23328 CPPFLAGS="${CPPFLAGS} -I${OSS_DIR}/include
"
23329 if test "xsoundcard.h
" != "x
" ; then
23330 as_ac_Header=`echo "ac_cv_header_
${OSS_DIR}/include
/soundcard.h
" | $as_tr_sh`
23331 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23332 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23333 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23334 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23335 echo $ECHO_N "(cached
) $ECHO_C" >&6
23337 ac_res=`eval echo '${'$as_ac_Header'}'`
23338 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23339 echo "${ECHO_T}$ac_res" >&6; }
23341 # Is the header compilable?
23342 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h usability
" >&5
23343 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h usability...
$ECHO_C" >&6; }
23344 cat >conftest.$ac_ext <<_ACEOF
23347 cat confdefs.h >>conftest.$ac_ext
23348 cat >>conftest.$ac_ext <<_ACEOF
23349 /* end confdefs.h. */
23350 $ac_includes_default
23351 #include <${OSS_DIR}/include/soundcard.h>
23353 rm -f conftest.$ac_objext
23354 if { (ac_try="$ac_compile"
23355 case "(($ac_try" in
23356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23357 *) ac_try_echo=$ac_try;;
23359 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23360 (eval "$ac_compile") 2>conftest.er1
23362 grep -v '^ *+' conftest.er1 >conftest.err
23364 cat conftest.err >&5
23365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23366 (exit $ac_status); } && {
23367 test -z "$ac_c_werror_flag" ||
23368 test ! -s conftest.err
23369 } && test -s conftest.$ac_objext; then
23370 ac_header_compiler=yes
23372 echo "$as_me: failed program was
:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23375 ac_header_compiler=no
23378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23379 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23380 echo "${ECHO_T}$ac_header_compiler" >&6; }
23382 # Is the header present?
23383 { echo "$as_me:$LINENO: checking
${OSS_DIR}/include
/soundcard.h presence
" >&5
23384 echo $ECHO_N "checking
${OSS_DIR}/include
/soundcard.h presence...
$ECHO_C" >&6; }
23385 cat >conftest.$ac_ext <<_ACEOF
23388 cat confdefs.h >>conftest.$ac_ext
23389 cat >>conftest.$ac_ext <<_ACEOF
23390 /* end confdefs.h. */
23391 #include <${OSS_DIR}/include/soundcard.h>
23393 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23394 case "(($ac_try" in
23395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23396 *) ac_try_echo=$ac_try;;
23398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23399 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23401 grep -v '^ *+' conftest.er1 >conftest.err
23403 cat conftest.err >&5
23404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23405 (exit $ac_status); } >/dev/null && {
23406 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23407 test ! -s conftest.err
23409 ac_header_preproc=yes
23411 echo "$as_me: failed program was
:" >&5
23412 sed 's/^/| /' conftest.$ac_ext >&5
23414 ac_header_preproc=no
23417 rm -f conftest.err conftest.$ac_ext
23418 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23419 echo "${ECHO_T}$ac_header_preproc" >&6; }
23421 # So? What about this header?
23422 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23424 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23425 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23426 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the compiler
's result" >&5
23427 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the compiler's result
" >&2;}
23428 ac_header_preproc=yes
23431 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&5
23432 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: present but cannot be compiled
" >&2;}
23433 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&5
23434 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23435 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&5
23436 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: see the Autoconf documentation
" >&2;}
23437 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23438 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23439 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: proceeding with the preprocessor
's result" >&5
23440 echo "$as_me: WARNING: ${OSS_DIR}/include/soundcard.h: proceeding with the preprocessor's result
" >&2;}
23441 { echo "$as_me:$LINENO: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&5
23442 echo "$as_me: WARNING
: ${OSS_DIR}/include
/soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23446 { echo "$as_me:$LINENO: checking
for ${OSS_DIR}/include
/soundcard.h
" >&5
23447 echo $ECHO_N "checking
for ${OSS_DIR}/include
/soundcard.h...
$ECHO_C" >&6; }
23448 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
23449 echo $ECHO_N "(cached
) $ECHO_C" >&6
23451 eval "$as_ac_Header=\
$ac_header_preproc"
23453 ac_res=`eval echo '${'$as_ac_Header'}'`
23454 { echo "$as_me:$LINENO: result
: $ac_res" >&5
23455 echo "${ECHO_T}$ac_res" >&6; }
23458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23466 CPPFLAGS="${saved_cppflags}"
23468 if test "xsoundcard.h
" != "x
" ; then
23469 if test "${ac_cv_header_soundcard_h+set}" = set; then
23470 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23471 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23472 if test "${ac_cv_header_soundcard_h+set}" = set; then
23473 echo $ECHO_N "(cached
) $ECHO_C" >&6
23475 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23476 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23478 # Is the header compilable?
23479 { echo "$as_me:$LINENO: checking soundcard.h usability
" >&5
23480 echo $ECHO_N "checking soundcard.h usability...
$ECHO_C" >&6; }
23481 cat >conftest.$ac_ext <<_ACEOF
23484 cat confdefs.h >>conftest.$ac_ext
23485 cat >>conftest.$ac_ext <<_ACEOF
23486 /* end confdefs.h. */
23487 $ac_includes_default
23488 #include <soundcard.h>
23490 rm -f conftest.$ac_objext
23491 if { (ac_try="$ac_compile"
23492 case "(($ac_try" in
23493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23494 *) ac_try_echo=$ac_try;;
23496 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23497 (eval "$ac_compile") 2>conftest.er1
23499 grep -v '^ *+' conftest.er1 >conftest.err
23501 cat conftest.err >&5
23502 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23503 (exit $ac_status); } && {
23504 test -z "$ac_c_werror_flag" ||
23505 test ! -s conftest.err
23506 } && test -s conftest.$ac_objext; then
23507 ac_header_compiler=yes
23509 echo "$as_me: failed program was
:" >&5
23510 sed 's/^/| /' conftest.$ac_ext >&5
23512 ac_header_compiler=no
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
23517 echo "${ECHO_T}$ac_header_compiler" >&6; }
23519 # Is the header present?
23520 { echo "$as_me:$LINENO: checking soundcard.h presence
" >&5
23521 echo $ECHO_N "checking soundcard.h presence...
$ECHO_C" >&6; }
23522 cat >conftest.$ac_ext <<_ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <soundcard.h>
23530 if { (ac_try="$ac_cpp conftest.
$ac_ext"
23531 case "(($ac_try" in
23532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23533 *) ac_try_echo=$ac_try;;
23535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23536 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
23538 grep -v '^ *+' conftest.er1 >conftest.err
23540 cat conftest.err >&5
23541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23542 (exit $ac_status); } >/dev/null && {
23543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
23544 test ! -s conftest.err
23546 ac_header_preproc=yes
23548 echo "$as_me: failed program was
:" >&5
23549 sed 's/^/| /' conftest.$ac_ext >&5
23551 ac_header_preproc=no
23554 rm -f conftest.err conftest.$ac_ext
23555 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
23556 echo "${ECHO_T}$ac_header_preproc" >&6; }
23558 # So? What about this header?
23559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23561 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
23562 echo "$as_me: WARNING
: soundcard.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
23563 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the compiler
's result" >&5
23564 echo "$as_me: WARNING: soundcard.h: proceeding with the compiler's result
" >&2;}
23565 ac_header_preproc=yes
23568 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: present but cannot be compiled
" >&5
23569 echo "$as_me: WARNING
: soundcard.h
: present but cannot be compiled
" >&2;}
23570 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&5
23571 echo "$as_me: WARNING
: soundcard.h
: check
for missing prerequisite headers?
" >&2;}
23572 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: see the Autoconf documentation
" >&5
23573 echo "$as_me: WARNING
: soundcard.h
: see the Autoconf documentation
" >&2;}
23574 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&5
23575 echo "$as_me: WARNING
: soundcard.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
23576 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: proceeding with the preprocessor
's result" >&5
23577 echo "$as_me: WARNING: soundcard.h: proceeding with the preprocessor's result
" >&2;}
23578 { echo "$as_me:$LINENO: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&5
23579 echo "$as_me: WARNING
: soundcard.h
: in the future
, the compiler will take precedence
" >&2;}
23583 { echo "$as_me:$LINENO: checking
for soundcard.h
" >&5
23584 echo $ECHO_N "checking
for soundcard.h...
$ECHO_C" >&6; }
23585 if test "${ac_cv_header_soundcard_h+set}" = set; then
23586 echo $ECHO_N "(cached
) $ECHO_C" >&6
23588 ac_cv_header_soundcard_h=$ac_header_preproc
23590 { echo "$as_me:$LINENO: result
: $ac_cv_header_soundcard_h" >&5
23591 echo "${ECHO_T}$ac_cv_header_soundcard_h" >&6; }
23594 if test $ac_cv_header_soundcard_h = yes; then
23603 if test "x
${OSS_HEADER_FOUND}" = "x0
" ; then
23604 if test -n "${OSS_MANDATORY}" ;
23606 { echo "$as_me:$LINENO: ***" >&5
23607 echo "$as_me: ***" >&6;}
23608 { echo "$as_me:$LINENO: *** It appears that you
do not have the ossaudio development package installed.
" >&5
23609 echo "$as_me: *** It appears that you
do not have the ossaudio development package installed.
" >&6;}
23610 { echo "$as_me:$LINENO: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&5
23611 echo "$as_me: *** Please
install it to include
${OSS_DESCRIP} support
, or re-run configure
" >&6;}
23612 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23613 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23622 cat >>confdefs.h <<_ACEOF
23627 elif test -n "${OSS_MANDATORY}";
23629 { echo "$as_me:$LINENO: ***" >&5
23630 echo "$as_me: ***" >&6;}
23631 { echo "$as_me:$LINENO: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&5
23632 echo "$as_me: *** The
${OSS_DESCRIP} installation on this system appears to be broken.
" >&6;}
23633 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23634 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23635 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${OSS_OPTION}" >&5
23636 echo "$as_me: *** without explicitly specifying
--with-${OSS_OPTION}" >&6;}
23645 if test "${USE_PGSQL}" != "no
"; then
23646 if test "x
${PGSQL_DIR}" != "x
"; then
23647 if test -n "$ac_tool_prefix"; then
23648 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23649 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23650 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23651 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23652 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23653 echo $ECHO_N "(cached
) $ECHO_C" >&6
23657 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23661 for as_dir in ${PGSQL_DIR}/bin
23664 test -z "$as_dir" && as_dir=.
23665 for ac_exec_ext in '' $ac_executable_extensions; do
23666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23667 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23668 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23678 PG_CONFIG=$ac_cv_path_PG_CONFIG
23679 if test -n "$PG_CONFIG"; then
23680 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23681 echo "${ECHO_T}$PG_CONFIG" >&6; }
23683 { echo "$as_me:$LINENO: result
: no
" >&5
23684 echo "${ECHO_T}no
" >&6; }
23689 if test -z "$ac_cv_path_PG_CONFIG"; then
23690 ac_pt_PG_CONFIG=$PG_CONFIG
23691 # Extract the first word of "pg_config
", so it can be a program name with args.
23692 set dummy pg_config; ac_word=$2
23693 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23694 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23695 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23696 echo $ECHO_N "(cached
) $ECHO_C" >&6
23698 case $ac_pt_PG_CONFIG in
23700 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23704 for as_dir in ${PGSQL_DIR}/bin
23707 test -z "$as_dir" && as_dir=.
23708 for ac_exec_ext in '' $ac_executable_extensions; do
23709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23710 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23711 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23721 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23722 if test -n "$ac_pt_PG_CONFIG"; then
23723 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23724 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23726 { echo "$as_me:$LINENO: result
: no
" >&5
23727 echo "${ECHO_T}no
" >&6; }
23730 if test "x
$ac_pt_PG_CONFIG" = x; then
23733 case $cross_compiling:$ac_tool_warned in
23735 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23736 whose name does not start with the
host triplet. If you think this
23737 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23738 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23739 whose name does not start with the
host triplet. If you think this
23740 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23741 ac_tool_warned=yes ;;
23743 PG_CONFIG=$ac_pt_PG_CONFIG
23746 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23749 if test x"${PG_CONFIG}" = xNo; then
23750 { echo "$as_me:$LINENO: ***" >&5
23751 echo "$as_me: ***" >&6;}
23752 { echo "$as_me:$LINENO: *** pg_config was not found
in the path you specified
:" >&5
23753 echo "$as_me: *** pg_config was not found
in the path you specified
:" >&6;}
23754 { echo "$as_me:$LINENO: *** ${PGSQL_DIR}/bin
" >&5
23755 echo "$as_me: *** ${PGSQL_DIR}/bin
" >&6;}
23756 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23757 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23758 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23759 echo "$as_me: *** including
--without-postgres" >&6;}
23763 if test -n "$ac_tool_prefix"; then
23764 # Extract the first word of "${ac_tool_prefix}pg_config
", so it can be a program name with args.
23765 set dummy ${ac_tool_prefix}pg_config; ac_word=$2
23766 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23767 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23768 if test "${ac_cv_path_PG_CONFIG+set}" = set; then
23769 echo $ECHO_N "(cached
) $ECHO_C" >&6
23773 ac_cv_path_PG_CONFIG="$PG_CONFIG" # Let the user override the test with a path.
23776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23777 for as_dir in $PATH
23780 test -z "$as_dir" && as_dir=.
23781 for ac_exec_ext in '' $ac_executable_extensions; do
23782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23783 ac_cv_path_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23784 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23794 PG_CONFIG=$ac_cv_path_PG_CONFIG
23795 if test -n "$PG_CONFIG"; then
23796 { echo "$as_me:$LINENO: result
: $PG_CONFIG" >&5
23797 echo "${ECHO_T}$PG_CONFIG" >&6; }
23799 { echo "$as_me:$LINENO: result
: no
" >&5
23800 echo "${ECHO_T}no
" >&6; }
23805 if test -z "$ac_cv_path_PG_CONFIG"; then
23806 ac_pt_PG_CONFIG=$PG_CONFIG
23807 # Extract the first word of "pg_config
", so it can be a program name with args.
23808 set dummy pg_config; ac_word=$2
23809 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
23810 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
23811 if test "${ac_cv_path_ac_pt_PG_CONFIG+set}" = set; then
23812 echo $ECHO_N "(cached
) $ECHO_C" >&6
23814 case $ac_pt_PG_CONFIG in
23816 ac_cv_path_ac_pt_PG_CONFIG="$ac_pt_PG_CONFIG" # Let the user override the test with a path.
23819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23820 for as_dir in $PATH
23823 test -z "$as_dir" && as_dir=.
23824 for ac_exec_ext in '' $ac_executable_extensions; do
23825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23826 ac_cv_path_ac_pt_PG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
23827 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
23837 ac_pt_PG_CONFIG=$ac_cv_path_ac_pt_PG_CONFIG
23838 if test -n "$ac_pt_PG_CONFIG"; then
23839 { echo "$as_me:$LINENO: result
: $ac_pt_PG_CONFIG" >&5
23840 echo "${ECHO_T}$ac_pt_PG_CONFIG" >&6; }
23842 { echo "$as_me:$LINENO: result
: no
" >&5
23843 echo "${ECHO_T}no
" >&6; }
23846 if test "x
$ac_pt_PG_CONFIG" = x; then
23849 case $cross_compiling:$ac_tool_warned in
23851 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
23852 whose name does not start with the
host triplet. If you think this
23853 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
23854 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
23855 whose name does not start with the
host triplet. If you think this
23856 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
23857 ac_tool_warned=yes ;;
23859 PG_CONFIG=$ac_pt_PG_CONFIG
23862 PG_CONFIG="$ac_cv_path_PG_CONFIG"
23867 if test "${PG_CONFIG}" != No; then
23868 PGSQL_libdir=`${PG_CONFIG} --libdir`
23869 PGSQL_includedir=`${PG_CONFIG} --includedir`
23871 if test "x$?
" != "x0
" ; then
23872 if test -n "${PGSQL_MANDATORY}" ; then
23873 { echo "$as_me:$LINENO: ***" >&5
23874 echo "$as_me: ***" >&6;}
23875 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23876 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23877 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23878 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23879 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23880 echo "$as_me: *** including
--without-postgres" >&6;}
23884 { echo "$as_me:$LINENO: checking
for PQexec
in -lpq" >&5
23885 echo $ECHO_N "checking
for PQexec
in -lpq...
$ECHO_C" >&6; }
23886 if test "${ac_cv_lib_pq_PQexec+set}" = set; then
23887 echo $ECHO_N "(cached
) $ECHO_C" >&6
23889 ac_check_lib_save_LIBS=$LIBS
23890 LIBS="-lpq -L${PGSQL_libdir} -lz $LIBS"
23891 cat >conftest.$ac_ext <<_ACEOF
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23898 /* Override any GCC internal prototype to avoid an error.
23899 Use char because int might match the return type of a GCC
23900 builtin and then its argument prototype would still apply. */
23913 rm -f conftest.$ac_objext conftest$ac_exeext
23914 if { (ac_try="$ac_link"
23915 case "(($ac_try" in
23916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23917 *) ac_try_echo=$ac_try;;
23919 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23920 (eval "$ac_link") 2>conftest.er1
23922 grep -v '^ *+' conftest.er1 >conftest.err
23924 cat conftest.err >&5
23925 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23926 (exit $ac_status); } && {
23927 test -z "$ac_c_werror_flag" ||
23928 test ! -s conftest.err
23929 } && test -s conftest$ac_exeext &&
23930 $as_test_x conftest$ac_exeext; then
23931 ac_cv_lib_pq_PQexec=yes
23933 echo "$as_me: failed program was
:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23936 ac_cv_lib_pq_PQexec=no
23939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23940 conftest$ac_exeext conftest.$ac_ext
23941 LIBS=$ac_check_lib_save_LIBS
23943 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pq_PQexec" >&5
23944 echo "${ECHO_T}$ac_cv_lib_pq_PQexec" >&6; }
23945 if test $ac_cv_lib_pq_PQexec = yes; then
23947 cat >>confdefs.h <<_ACEOF
23948 #define HAVE_PGSQL 1
23954 if test "${ac_cv_lib_pq_PQexec}" = "yes"; then
23955 PGSQL_LIB="-L${PGSQL_libdir} -lpq -lz"
23956 PGSQL_INCLUDE="-I${PGSQL_includedir}"
23958 elif test -n "${PGSQL_MANDATORY}";
23960 { echo "$as_me:$LINENO: ***" >&5
23961 echo "$as_me: ***" >&6;}
23962 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23963 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23964 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23965 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23966 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23967 echo "$as_me: *** including
--without-postgres" >&6;}
23971 elif test -n "${PGSQL_MANDATORY}";
23973 { echo "$as_me:$LINENO: ***" >&5
23974 echo "$as_me: ***" >&6;}
23975 { echo "$as_me:$LINENO: *** The PostgreSQL installation on this system appears to be broken.
" >&5
23976 echo "$as_me: *** The PostgreSQL installation on this system appears to be broken.
" >&6;}
23977 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
23978 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
23979 { echo "$as_me:$LINENO: *** including
--without-postgres" >&5
23980 echo "$as_me: *** including
--without-postgres" >&6;}
23985 if test "${USE_POPT}" != "no
"; then
23987 if test "x
${POPT_DIR}" != "x
"; then
23988 if test -d ${POPT_DIR}/lib; then
23989 pbxlibdir="-L${POPT_DIR}/lib
"
23991 pbxlibdir="-L${POPT_DIR}"
23994 { echo "$as_me:$LINENO: checking
for poptStrerror
in -lpopt" >&5
23995 echo $ECHO_N "checking
for poptStrerror
in -lpopt...
$ECHO_C" >&6; }
23996 if test "${ac_cv_lib_popt_poptStrerror+set}" = set; then
23997 echo $ECHO_N "(cached
) $ECHO_C" >&6
23999 ac_check_lib_save_LIBS=$LIBS
24000 LIBS="-lpopt ${pbxlibdir} $LIBS"
24001 cat >conftest.$ac_ext <<_ACEOF
24004 cat confdefs.h >>conftest.$ac_ext
24005 cat >>conftest.$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24008 /* Override any GCC internal prototype to avoid an error.
24009 Use char because int might match the return type of a GCC
24010 builtin and then its argument prototype would still apply. */
24014 char poptStrerror ();
24018 return poptStrerror ();
24023 rm -f conftest.$ac_objext conftest$ac_exeext
24024 if { (ac_try="$ac_link"
24025 case "(($ac_try" in
24026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24027 *) ac_try_echo=$ac_try;;
24029 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24030 (eval "$ac_link") 2>conftest.er1
24032 grep -v '^ *+' conftest.er1 >conftest.err
24034 cat conftest.err >&5
24035 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24036 (exit $ac_status); } && {
24037 test -z "$ac_c_werror_flag" ||
24038 test ! -s conftest.err
24039 } && test -s conftest$ac_exeext &&
24040 $as_test_x conftest$ac_exeext; then
24041 ac_cv_lib_popt_poptStrerror=yes
24043 echo "$as_me: failed program was
:" >&5
24044 sed 's/^/| /' conftest.$ac_ext >&5
24046 ac_cv_lib_popt_poptStrerror=no
24049 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24050 conftest$ac_exeext conftest.$ac_ext
24051 LIBS=$ac_check_lib_save_LIBS
24053 { echo "$as_me:$LINENO: result
: $ac_cv_lib_popt_poptStrerror" >&5
24054 echo "${ECHO_T}$ac_cv_lib_popt_poptStrerror" >&6; }
24055 if test $ac_cv_lib_popt_poptStrerror = yes; then
24062 if test "${AST_POPT_FOUND}" = "yes"; then
24064 POPT_HEADER_FOUND="1"
24065 if test "x
${POPT_DIR}" != "x
"; then
24066 POPT_LIB="${pbxlibdir} ${POPT_LIB}"
24067 POPT_INCLUDE="-I${POPT_DIR}/include
"
24068 saved_cppflags="${CPPFLAGS}"
24069 CPPFLAGS="${CPPFLAGS} -I${POPT_DIR}/include
"
24070 if test "xpopt.h
" != "x
" ; then
24071 as_ac_Header=`echo "ac_cv_header_
${POPT_DIR}/include
/popt.h
" | $as_tr_sh`
24072 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24073 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
24074 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
24075 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24076 echo $ECHO_N "(cached
) $ECHO_C" >&6
24078 ac_res=`eval echo '${'$as_ac_Header'}'`
24079 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24080 echo "${ECHO_T}$ac_res" >&6; }
24082 # Is the header compilable?
24083 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h usability
" >&5
24084 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h usability...
$ECHO_C" >&6; }
24085 cat >conftest.$ac_ext <<_ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24091 $ac_includes_default
24092 #include <${POPT_DIR}/include/popt.h>
24094 rm -f conftest.$ac_objext
24095 if { (ac_try="$ac_compile"
24096 case "(($ac_try" in
24097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24098 *) ac_try_echo=$ac_try;;
24100 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24101 (eval "$ac_compile") 2>conftest.er1
24103 grep -v '^ *+' conftest.er1 >conftest.err
24105 cat conftest.err >&5
24106 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24107 (exit $ac_status); } && {
24108 test -z "$ac_c_werror_flag" ||
24109 test ! -s conftest.err
24110 } && test -s conftest.$ac_objext; then
24111 ac_header_compiler=yes
24113 echo "$as_me: failed program was
:" >&5
24114 sed 's/^/| /' conftest.$ac_ext >&5
24116 ac_header_compiler=no
24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24120 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24121 echo "${ECHO_T}$ac_header_compiler" >&6; }
24123 # Is the header present?
24124 { echo "$as_me:$LINENO: checking
${POPT_DIR}/include
/popt.h presence
" >&5
24125 echo $ECHO_N "checking
${POPT_DIR}/include
/popt.h presence...
$ECHO_C" >&6; }
24126 cat >conftest.$ac_ext <<_ACEOF
24129 cat confdefs.h >>conftest.$ac_ext
24130 cat >>conftest.$ac_ext <<_ACEOF
24131 /* end confdefs.h. */
24132 #include <${POPT_DIR}/include/popt.h>
24134 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24135 case "(($ac_try" in
24136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24137 *) ac_try_echo=$ac_try;;
24139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24140 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24142 grep -v '^ *+' conftest.er1 >conftest.err
24144 cat conftest.err >&5
24145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24146 (exit $ac_status); } >/dev/null && {
24147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24148 test ! -s conftest.err
24150 ac_header_preproc=yes
24152 echo "$as_me: failed program was
:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24155 ac_header_preproc=no
24158 rm -f conftest.err conftest.$ac_ext
24159 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24160 echo "${ECHO_T}$ac_header_preproc" >&6; }
24162 # So? What about this header?
24163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24165 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24166 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24167 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the compiler
's result" >&5
24168 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the compiler's result
" >&2;}
24169 ac_header_preproc=yes
24172 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&5
24173 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: present but cannot be compiled
" >&2;}
24174 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&5
24175 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: check
for missing prerequisite headers?
" >&2;}
24176 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&5
24177 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: see the Autoconf documentation
" >&2;}
24178 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24179 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24180 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: proceeding with the preprocessor
's result" >&5
24181 echo "$as_me: WARNING: ${POPT_DIR}/include/popt.h: proceeding with the preprocessor's result
" >&2;}
24182 { echo "$as_me:$LINENO: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&5
24183 echo "$as_me: WARNING
: ${POPT_DIR}/include
/popt.h
: in the future
, the compiler will take precedence
" >&2;}
24187 { echo "$as_me:$LINENO: checking
for ${POPT_DIR}/include
/popt.h
" >&5
24188 echo $ECHO_N "checking
for ${POPT_DIR}/include
/popt.h...
$ECHO_C" >&6; }
24189 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24190 echo $ECHO_N "(cached
) $ECHO_C" >&6
24192 eval "$as_ac_Header=\
$ac_header_preproc"
24194 ac_res=`eval echo '${'$as_ac_Header'}'`
24195 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24196 echo "${ECHO_T}$ac_res" >&6; }
24199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24200 POPT_HEADER_FOUND=1
24202 POPT_HEADER_FOUND=0
24207 CPPFLAGS="${saved_cppflags}"
24209 if test "xpopt.h
" != "x
" ; then
24210 if test "${ac_cv_header_popt_h+set}" = set; then
24211 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
24212 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
24213 if test "${ac_cv_header_popt_h+set}" = set; then
24214 echo $ECHO_N "(cached
) $ECHO_C" >&6
24216 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
24217 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
24219 # Is the header compilable?
24220 { echo "$as_me:$LINENO: checking popt.h usability
" >&5
24221 echo $ECHO_N "checking popt.h usability...
$ECHO_C" >&6; }
24222 cat >conftest.$ac_ext <<_ACEOF
24225 cat confdefs.h >>conftest.$ac_ext
24226 cat >>conftest.$ac_ext <<_ACEOF
24227 /* end confdefs.h. */
24228 $ac_includes_default
24231 rm -f conftest.$ac_objext
24232 if { (ac_try="$ac_compile"
24233 case "(($ac_try" in
24234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24235 *) ac_try_echo=$ac_try;;
24237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24238 (eval "$ac_compile") 2>conftest.er1
24240 grep -v '^ *+' conftest.er1 >conftest.err
24242 cat conftest.err >&5
24243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24244 (exit $ac_status); } && {
24245 test -z "$ac_c_werror_flag" ||
24246 test ! -s conftest.err
24247 } && test -s conftest.$ac_objext; then
24248 ac_header_compiler=yes
24250 echo "$as_me: failed program was
:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24253 ac_header_compiler=no
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24258 echo "${ECHO_T}$ac_header_compiler" >&6; }
24260 # Is the header present?
24261 { echo "$as_me:$LINENO: checking popt.h presence
" >&5
24262 echo $ECHO_N "checking popt.h presence...
$ECHO_C" >&6; }
24263 cat >conftest.$ac_ext <<_ACEOF
24266 cat confdefs.h >>conftest.$ac_ext
24267 cat >>conftest.$ac_ext <<_ACEOF
24268 /* end confdefs.h. */
24271 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24272 case "(($ac_try" in
24273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24274 *) ac_try_echo=$ac_try;;
24276 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24277 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24279 grep -v '^ *+' conftest.er1 >conftest.err
24281 cat conftest.err >&5
24282 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24283 (exit $ac_status); } >/dev/null && {
24284 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24285 test ! -s conftest.err
24287 ac_header_preproc=yes
24289 echo "$as_me: failed program was
:" >&5
24290 sed 's/^/| /' conftest.$ac_ext >&5
24292 ac_header_preproc=no
24295 rm -f conftest.err conftest.$ac_ext
24296 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24297 echo "${ECHO_T}$ac_header_preproc" >&6; }
24299 # So? What about this header?
24300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24302 { echo "$as_me:$LINENO: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24303 echo "$as_me: WARNING
: popt.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24304 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the compiler
's result" >&5
24305 echo "$as_me: WARNING: popt.h: proceeding with the compiler's result
" >&2;}
24306 ac_header_preproc=yes
24309 { echo "$as_me:$LINENO: WARNING
: popt.h
: present but cannot be compiled
" >&5
24310 echo "$as_me: WARNING
: popt.h
: present but cannot be compiled
" >&2;}
24311 { echo "$as_me:$LINENO: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&5
24312 echo "$as_me: WARNING
: popt.h
: check
for missing prerequisite headers?
" >&2;}
24313 { echo "$as_me:$LINENO: WARNING
: popt.h
: see the Autoconf documentation
" >&5
24314 echo "$as_me: WARNING
: popt.h
: see the Autoconf documentation
" >&2;}
24315 { echo "$as_me:$LINENO: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24316 echo "$as_me: WARNING
: popt.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24317 { echo "$as_me:$LINENO: WARNING
: popt.h
: proceeding with the preprocessor
's result" >&5
24318 echo "$as_me: WARNING: popt.h: proceeding with the preprocessor's result
" >&2;}
24319 { echo "$as_me:$LINENO: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&5
24320 echo "$as_me: WARNING
: popt.h
: in the future
, the compiler will take precedence
" >&2;}
24324 { echo "$as_me:$LINENO: checking
for popt.h
" >&5
24325 echo $ECHO_N "checking
for popt.h...
$ECHO_C" >&6; }
24326 if test "${ac_cv_header_popt_h+set}" = set; then
24327 echo $ECHO_N "(cached
) $ECHO_C" >&6
24329 ac_cv_header_popt_h=$ac_header_preproc
24331 { echo "$as_me:$LINENO: result
: $ac_cv_header_popt_h" >&5
24332 echo "${ECHO_T}$ac_cv_header_popt_h" >&6; }
24335 if test $ac_cv_header_popt_h = yes; then
24336 POPT_HEADER_FOUND=1
24338 POPT_HEADER_FOUND=0
24344 if test "x
${POPT_HEADER_FOUND}" = "x0
" ; then
24345 if test -n "${POPT_MANDATORY}" ;
24347 { echo "$as_me:$LINENO: ***" >&5
24348 echo "$as_me: ***" >&6;}
24349 { echo "$as_me:$LINENO: *** It appears that you
do not have the popt development package installed.
" >&5
24350 echo "$as_me: *** It appears that you
do not have the popt development package installed.
" >&6;}
24351 { echo "$as_me:$LINENO: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&5
24352 echo "$as_me: *** Please
install it to include
${POPT_DESCRIP} support
, or re-run configure
" >&6;}
24353 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24354 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24363 cat >>confdefs.h <<_ACEOF
24364 #define HAVE_POPT 1
24368 elif test -n "${POPT_MANDATORY}";
24370 { echo "$as_me:$LINENO: ***" >&5
24371 echo "$as_me: ***" >&6;}
24372 { echo "$as_me:$LINENO: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&5
24373 echo "$as_me: *** The
${POPT_DESCRIP} installation on this system appears to be broken.
" >&6;}
24374 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24375 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24376 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${POPT_OPTION}" >&5
24377 echo "$as_me: *** without explicitly specifying
--with-${POPT_OPTION}" >&6;}
24384 if test "${USE_PRI}" != "no
"; then
24386 if test "x
${PRI_DIR}" != "x
"; then
24387 if test -d ${PRI_DIR}/lib; then
24388 pbxlibdir="-L${PRI_DIR}/lib
"
24390 pbxlibdir="-L${PRI_DIR}"
24393 { echo "$as_me:$LINENO: checking
for pri_keypad_facility
in -lpri" >&5
24394 echo $ECHO_N "checking
for pri_keypad_facility
in -lpri...
$ECHO_C" >&6; }
24395 if test "${ac_cv_lib_pri_pri_keypad_facility+set}" = set; then
24396 echo $ECHO_N "(cached
) $ECHO_C" >&6
24398 ac_check_lib_save_LIBS=$LIBS
24399 LIBS="-lpri ${pbxlibdir} $LIBS"
24400 cat >conftest.$ac_ext <<_ACEOF
24403 cat confdefs.h >>conftest.$ac_ext
24404 cat >>conftest.$ac_ext <<_ACEOF
24405 /* end confdefs.h. */
24407 /* Override any GCC internal prototype to avoid an error.
24408 Use char because int might match the return type of a GCC
24409 builtin and then its argument prototype would still apply. */
24413 char pri_keypad_facility ();
24417 return pri_keypad_facility ();
24422 rm -f conftest.$ac_objext conftest$ac_exeext
24423 if { (ac_try="$ac_link"
24424 case "(($ac_try" in
24425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426 *) ac_try_echo=$ac_try;;
24428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24429 (eval "$ac_link") 2>conftest.er1
24431 grep -v '^ *+' conftest.er1 >conftest.err
24433 cat conftest.err >&5
24434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24435 (exit $ac_status); } && {
24436 test -z "$ac_c_werror_flag" ||
24437 test ! -s conftest.err
24438 } && test -s conftest$ac_exeext &&
24439 $as_test_x conftest$ac_exeext; then
24440 ac_cv_lib_pri_pri_keypad_facility=yes
24442 echo "$as_me: failed program was
:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24445 ac_cv_lib_pri_pri_keypad_facility=no
24448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24449 conftest$ac_exeext conftest.$ac_ext
24450 LIBS=$ac_check_lib_save_LIBS
24452 { echo "$as_me:$LINENO: result
: $ac_cv_lib_pri_pri_keypad_facility" >&5
24453 echo "${ECHO_T}$ac_cv_lib_pri_pri_keypad_facility" >&6; }
24454 if test $ac_cv_lib_pri_pri_keypad_facility = yes; then
24461 if test "${AST_PRI_FOUND}" = "yes"; then
24463 PRI_HEADER_FOUND="1"
24464 if test "x
${PRI_DIR}" != "x
"; then
24465 PRI_LIB="${pbxlibdir} ${PRI_LIB}"
24466 PRI_INCLUDE="-I${PRI_DIR}/include
"
24467 saved_cppflags="${CPPFLAGS}"
24468 CPPFLAGS="${CPPFLAGS} -I${PRI_DIR}/include
"
24469 if test "xlibpri.h
" != "x
" ; then
24470 as_ac_Header=`echo "ac_cv_header_
${PRI_DIR}/include
/libpri.h
" | $as_tr_sh`
24471 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24472 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24473 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24474 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24475 echo $ECHO_N "(cached
) $ECHO_C" >&6
24477 ac_res=`eval echo '${'$as_ac_Header'}'`
24478 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24479 echo "${ECHO_T}$ac_res" >&6; }
24481 # Is the header compilable?
24482 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h usability
" >&5
24483 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h usability...
$ECHO_C" >&6; }
24484 cat >conftest.$ac_ext <<_ACEOF
24487 cat confdefs.h >>conftest.$ac_ext
24488 cat >>conftest.$ac_ext <<_ACEOF
24489 /* end confdefs.h. */
24490 $ac_includes_default
24491 #include <${PRI_DIR}/include/libpri.h>
24493 rm -f conftest.$ac_objext
24494 if { (ac_try="$ac_compile"
24495 case "(($ac_try" in
24496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24497 *) ac_try_echo=$ac_try;;
24499 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24500 (eval "$ac_compile") 2>conftest.er1
24502 grep -v '^ *+' conftest.er1 >conftest.err
24504 cat conftest.err >&5
24505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24506 (exit $ac_status); } && {
24507 test -z "$ac_c_werror_flag" ||
24508 test ! -s conftest.err
24509 } && test -s conftest.$ac_objext; then
24510 ac_header_compiler=yes
24512 echo "$as_me: failed program was
:" >&5
24513 sed 's/^/| /' conftest.$ac_ext >&5
24515 ac_header_compiler=no
24518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24519 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24520 echo "${ECHO_T}$ac_header_compiler" >&6; }
24522 # Is the header present?
24523 { echo "$as_me:$LINENO: checking
${PRI_DIR}/include
/libpri.h presence
" >&5
24524 echo $ECHO_N "checking
${PRI_DIR}/include
/libpri.h presence...
$ECHO_C" >&6; }
24525 cat >conftest.$ac_ext <<_ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24531 #include <${PRI_DIR}/include/libpri.h>
24533 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24534 case "(($ac_try" in
24535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24536 *) ac_try_echo=$ac_try;;
24538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24539 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24541 grep -v '^ *+' conftest.er1 >conftest.err
24543 cat conftest.err >&5
24544 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24545 (exit $ac_status); } >/dev/null && {
24546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24547 test ! -s conftest.err
24549 ac_header_preproc=yes
24551 echo "$as_me: failed program was
:" >&5
24552 sed 's/^/| /' conftest.$ac_ext >&5
24554 ac_header_preproc=no
24557 rm -f conftest.err conftest.$ac_ext
24558 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24559 echo "${ECHO_T}$ac_header_preproc" >&6; }
24561 # So? What about this header?
24562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24564 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24565 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24566 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the compiler
's result" >&5
24567 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the compiler's result
" >&2;}
24568 ac_header_preproc=yes
24571 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&5
24572 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: present but cannot be compiled
" >&2;}
24573 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&5
24574 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: check
for missing prerequisite headers?
" >&2;}
24575 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&5
24576 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: see the Autoconf documentation
" >&2;}
24577 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24578 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24579 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: proceeding with the preprocessor
's result" >&5
24580 echo "$as_me: WARNING: ${PRI_DIR}/include/libpri.h: proceeding with the preprocessor's result
" >&2;}
24581 { echo "$as_me:$LINENO: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&5
24582 echo "$as_me: WARNING
: ${PRI_DIR}/include
/libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24586 { echo "$as_me:$LINENO: checking
for ${PRI_DIR}/include
/libpri.h
" >&5
24587 echo $ECHO_N "checking
for ${PRI_DIR}/include
/libpri.h...
$ECHO_C" >&6; }
24588 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24589 echo $ECHO_N "(cached
) $ECHO_C" >&6
24591 eval "$as_ac_Header=\
$ac_header_preproc"
24593 ac_res=`eval echo '${'$as_ac_Header'}'`
24594 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24595 echo "${ECHO_T}$ac_res" >&6; }
24598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24606 CPPFLAGS="${saved_cppflags}"
24608 if test "xlibpri.h
" != "x
" ; then
24609 if test "${ac_cv_header_libpri_h+set}" = set; then
24610 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24611 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24612 if test "${ac_cv_header_libpri_h+set}" = set; then
24613 echo $ECHO_N "(cached
) $ECHO_C" >&6
24615 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24616 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24618 # Is the header compilable?
24619 { echo "$as_me:$LINENO: checking libpri.h usability
" >&5
24620 echo $ECHO_N "checking libpri.h usability...
$ECHO_C" >&6; }
24621 cat >conftest.$ac_ext <<_ACEOF
24624 cat confdefs.h >>conftest.$ac_ext
24625 cat >>conftest.$ac_ext <<_ACEOF
24626 /* end confdefs.h. */
24627 $ac_includes_default
24628 #include <libpri.h>
24630 rm -f conftest.$ac_objext
24631 if { (ac_try="$ac_compile"
24632 case "(($ac_try" in
24633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24634 *) ac_try_echo=$ac_try;;
24636 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24637 (eval "$ac_compile") 2>conftest.er1
24639 grep -v '^ *+' conftest.er1 >conftest.err
24641 cat conftest.err >&5
24642 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24643 (exit $ac_status); } && {
24644 test -z "$ac_c_werror_flag" ||
24645 test ! -s conftest.err
24646 } && test -s conftest.$ac_objext; then
24647 ac_header_compiler=yes
24649 echo "$as_me: failed program was
:" >&5
24650 sed 's/^/| /' conftest.$ac_ext >&5
24652 ac_header_compiler=no
24655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24656 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24657 echo "${ECHO_T}$ac_header_compiler" >&6; }
24659 # Is the header present?
24660 { echo "$as_me:$LINENO: checking libpri.h presence
" >&5
24661 echo $ECHO_N "checking libpri.h presence...
$ECHO_C" >&6; }
24662 cat >conftest.$ac_ext <<_ACEOF
24665 cat confdefs.h >>conftest.$ac_ext
24666 cat >>conftest.$ac_ext <<_ACEOF
24667 /* end confdefs.h. */
24668 #include <libpri.h>
24670 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24671 case "(($ac_try" in
24672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24673 *) ac_try_echo=$ac_try;;
24675 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24676 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24678 grep -v '^ *+' conftest.er1 >conftest.err
24680 cat conftest.err >&5
24681 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24682 (exit $ac_status); } >/dev/null && {
24683 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24684 test ! -s conftest.err
24686 ac_header_preproc=yes
24688 echo "$as_me: failed program was
:" >&5
24689 sed 's/^/| /' conftest.$ac_ext >&5
24691 ac_header_preproc=no
24694 rm -f conftest.err conftest.$ac_ext
24695 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24696 echo "${ECHO_T}$ac_header_preproc" >&6; }
24698 # So? What about this header?
24699 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24701 { echo "$as_me:$LINENO: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24702 echo "$as_me: WARNING
: libpri.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24703 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the compiler
's result" >&5
24704 echo "$as_me: WARNING: libpri.h: proceeding with the compiler's result
" >&2;}
24705 ac_header_preproc=yes
24708 { echo "$as_me:$LINENO: WARNING
: libpri.h
: present but cannot be compiled
" >&5
24709 echo "$as_me: WARNING
: libpri.h
: present but cannot be compiled
" >&2;}
24710 { echo "$as_me:$LINENO: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&5
24711 echo "$as_me: WARNING
: libpri.h
: check
for missing prerequisite headers?
" >&2;}
24712 { echo "$as_me:$LINENO: WARNING
: libpri.h
: see the Autoconf documentation
" >&5
24713 echo "$as_me: WARNING
: libpri.h
: see the Autoconf documentation
" >&2;}
24714 { echo "$as_me:$LINENO: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24715 echo "$as_me: WARNING
: libpri.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24716 { echo "$as_me:$LINENO: WARNING
: libpri.h
: proceeding with the preprocessor
's result" >&5
24717 echo "$as_me: WARNING: libpri.h: proceeding with the preprocessor's result
" >&2;}
24718 { echo "$as_me:$LINENO: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&5
24719 echo "$as_me: WARNING
: libpri.h
: in the future
, the compiler will take precedence
" >&2;}
24723 { echo "$as_me:$LINENO: checking
for libpri.h
" >&5
24724 echo $ECHO_N "checking
for libpri.h...
$ECHO_C" >&6; }
24725 if test "${ac_cv_header_libpri_h+set}" = set; then
24726 echo $ECHO_N "(cached
) $ECHO_C" >&6
24728 ac_cv_header_libpri_h=$ac_header_preproc
24730 { echo "$as_me:$LINENO: result
: $ac_cv_header_libpri_h" >&5
24731 echo "${ECHO_T}$ac_cv_header_libpri_h" >&6; }
24734 if test $ac_cv_header_libpri_h = yes; then
24743 if test "x
${PRI_HEADER_FOUND}" = "x0
" ; then
24744 if test -n "${PRI_MANDATORY}" ;
24746 { echo "$as_me:$LINENO: ***" >&5
24747 echo "$as_me: ***" >&6;}
24748 { echo "$as_me:$LINENO: *** It appears that you
do not have the pri development package installed.
" >&5
24749 echo "$as_me: *** It appears that you
do not have the pri development package installed.
" >&6;}
24750 { echo "$as_me:$LINENO: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&5
24751 echo "$as_me: *** Please
install it to include
${PRI_DESCRIP} support
, or re-run configure
" >&6;}
24752 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24753 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24762 cat >>confdefs.h <<_ACEOF
24767 elif test -n "${PRI_MANDATORY}";
24769 { echo "$as_me:$LINENO: ***" >&5
24770 echo "$as_me: ***" >&6;}
24771 { echo "$as_me:$LINENO: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&5
24772 echo "$as_me: *** The
${PRI_DESCRIP} installation on this system appears to be broken.
" >&6;}
24773 { echo "$as_me:$LINENO: *** Either correct the installation
, or run configure
" >&5
24774 echo "$as_me: *** Either correct the installation
, or run configure
" >&6;}
24775 { echo "$as_me:$LINENO: *** without explicitly specifying
--with-${PRI_OPTION}" >&5
24776 echo "$as_me: *** without explicitly specifying
--with-${PRI_OPTION}" >&6;}
24782 if test "${USE_PWLIB}" != "no
"; then
24783 if test -n "${PWLIB_DIR}"; then
24784 PWLIBDIR="${PWLIB_DIR}"
24791 ac_cpp='$CXXCPP $CPPFLAGS'
24792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24796 if test "${PWLIBDIR:-unset}" != "unset" ; then
24797 as_ac_Header=`echo "ac_cv_header_
${PWLIBDIR}/version.h
" | $as_tr_sh`
24798 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24799 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
24800 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
24801 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24802 echo $ECHO_N "(cached
) $ECHO_C" >&6
24804 ac_res=`eval echo '${'$as_ac_Header'}'`
24805 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24806 echo "${ECHO_T}$ac_res" >&6; }
24808 # Is the header compilable?
24809 { echo "$as_me:$LINENO: checking
${PWLIBDIR}/version.h usability
" >&5
24810 echo $ECHO_N "checking
${PWLIBDIR}/version.h usability...
$ECHO_C" >&6; }
24811 cat >conftest.$ac_ext <<_ACEOF
24814 cat confdefs.h >>conftest.$ac_ext
24815 cat >>conftest.$ac_ext <<_ACEOF
24816 /* end confdefs.h. */
24817 $ac_includes_default
24818 #include <${PWLIBDIR}/version.h>
24820 rm -f conftest.$ac_objext
24821 if { (ac_try="$ac_compile"
24822 case "(($ac_try" in
24823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24824 *) ac_try_echo=$ac_try;;
24826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24827 (eval "$ac_compile") 2>conftest.er1
24829 grep -v '^ *+' conftest.er1 >conftest.err
24831 cat conftest.err >&5
24832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24833 (exit $ac_status); } && {
24834 test -z "$ac_cxx_werror_flag" ||
24835 test ! -s conftest.err
24836 } && test -s conftest.$ac_objext; then
24837 ac_header_compiler=yes
24839 echo "$as_me: failed program was
:" >&5
24840 sed 's/^/| /' conftest.$ac_ext >&5
24842 ac_header_compiler=no
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24847 echo "${ECHO_T}$ac_header_compiler" >&6; }
24849 # Is the header present?
24850 { echo "$as_me:$LINENO: checking
${PWLIBDIR}/version.h presence
" >&5
24851 echo $ECHO_N "checking
${PWLIBDIR}/version.h presence...
$ECHO_C" >&6; }
24852 cat >conftest.$ac_ext <<_ACEOF
24855 cat confdefs.h >>conftest.$ac_ext
24856 cat >>conftest.$ac_ext <<_ACEOF
24857 /* end confdefs.h. */
24858 #include <${PWLIBDIR}/version.h>
24860 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24861 case "(($ac_try" in
24862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24863 *) ac_try_echo=$ac_try;;
24865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24866 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
24868 grep -v '^ *+' conftest.er1 >conftest.err
24870 cat conftest.err >&5
24871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24872 (exit $ac_status); } >/dev/null && {
24873 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
24874 test ! -s conftest.err
24876 ac_header_preproc=yes
24878 echo "$as_me: failed program was
:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24881 ac_header_preproc=no
24884 rm -f conftest.err conftest.$ac_ext
24885 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
24886 echo "${ECHO_T}$ac_header_preproc" >&6; }
24888 # So? What about this header?
24889 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24891 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
24892 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
24893 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: proceeding with the compiler
's result" >&5
24894 echo "$as_me: WARNING: ${PWLIBDIR}/version.h: proceeding with the compiler's result
" >&2;}
24895 ac_header_preproc=yes
24898 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: present but cannot be compiled
" >&5
24899 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: present but cannot be compiled
" >&2;}
24900 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: check
for missing prerequisite headers?
" >&5
24901 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: check
for missing prerequisite headers?
" >&2;}
24902 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: see the Autoconf documentation
" >&5
24903 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: see the Autoconf documentation
" >&2;}
24904 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: section
\"Present But Cannot Be Compiled
\"" >&5
24905 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
24906 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: proceeding with the preprocessor
's result" >&5
24907 echo "$as_me: WARNING: ${PWLIBDIR}/version.h: proceeding with the preprocessor's result
" >&2;}
24908 { echo "$as_me:$LINENO: WARNING
: ${PWLIBDIR}/version.h
: in the future
, the compiler will take precedence
" >&5
24909 echo "$as_me: WARNING
: ${PWLIBDIR}/version.h
: in the future
, the compiler will take precedence
" >&2;}
24913 { echo "$as_me:$LINENO: checking
for ${PWLIBDIR}/version.h
" >&5
24914 echo $ECHO_N "checking
for ${PWLIBDIR}/version.h...
$ECHO_C" >&6; }
24915 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24916 echo $ECHO_N "(cached
) $ECHO_C" >&6
24918 eval "$as_ac_Header=\
$ac_header_preproc"
24920 ac_res=`eval echo '${'$as_ac_Header'}'`
24921 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24922 echo "${ECHO_T}$ac_res" >&6; }
24925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24931 if test "${HAS_PWLIB:-unset}" = "unset" ; then
24932 if test "${OPENH323DIR:-unset}" != "unset"; then
24933 as_ac_Header=`echo "ac_cv_header_
${OPENH323DIR}/..
/pwlib
/version.h
" | $as_tr_sh`
24934 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24935 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
24936 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
24937 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
24938 echo $ECHO_N "(cached
) $ECHO_C" >&6
24940 ac_res=`eval echo '${'$as_ac_Header'}'`
24941 { echo "$as_me:$LINENO: result
: $ac_res" >&5
24942 echo "${ECHO_T}$ac_res" >&6; }
24944 # Is the header compilable?
24945 { echo "$as_me:$LINENO: checking
${OPENH323DIR}/..
/pwlib
/version.h usability
" >&5
24946 echo $ECHO_N "checking
${OPENH323DIR}/..
/pwlib
/version.h usability...
$ECHO_C" >&6; }
24947 cat >conftest.$ac_ext <<_ACEOF
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24953 $ac_includes_default
24954 #include <${OPENH323DIR}/../pwlib/version.h>
24956 rm -f conftest.$ac_objext
24957 if { (ac_try="$ac_compile"
24958 case "(($ac_try" in
24959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24960 *) ac_try_echo=$ac_try;;
24962 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24963 (eval "$ac_compile") 2>conftest.er1
24965 grep -v '^ *+' conftest.er1 >conftest.err
24967 cat conftest.err >&5
24968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24969 (exit $ac_status); } && {
24970 test -z "$ac_cxx_werror_flag" ||
24971 test ! -s conftest.err
24972 } && test -s conftest.$ac_objext; then
24973 ac_header_compiler=yes
24975 echo "$as_me: failed program was
:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24978 ac_header_compiler=no
24981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24982 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
24983 echo "${ECHO_T}$ac_header_compiler" >&6; }
24985 # Is the header present?
24986 { echo "$as_me:$LINENO: checking
${OPENH323DIR}/..
/pwlib
/version.h presence
" >&5
24987 echo $ECHO_N "checking
${OPENH323DIR}/..
/pwlib
/version.h presence...
$ECHO_C" >&6; }
24988 cat >conftest.$ac_ext <<_ACEOF
24991 cat confdefs.h >>conftest.$ac_ext
24992 cat >>conftest.$ac_ext <<_ACEOF
24993 /* end confdefs.h. */
24994 #include <${OPENH323DIR}/../pwlib/version.h>
24996 if { (ac_try="$ac_cpp conftest.
$ac_ext"
24997 case "(($ac_try" in
24998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24999 *) ac_try_echo=$ac_try;;
25001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25002 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25004 grep -v '^ *+' conftest.er1 >conftest.err
25006 cat conftest.err >&5
25007 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25008 (exit $ac_status); } >/dev/null && {
25009 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25010 test ! -s conftest.err
25012 ac_header_preproc=yes
25014 echo "$as_me: failed program was
:" >&5
25015 sed 's/^/| /' conftest.$ac_ext >&5
25017 ac_header_preproc=no
25020 rm -f conftest.err conftest.$ac_ext
25021 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25022 echo "${ECHO_T}$ac_header_preproc" >&6; }
25024 # So? What about this header?
25025 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25027 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25028 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25029 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: proceeding with the compiler
's result" >&5
25030 echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: proceeding with the compiler's result
" >&2;}
25031 ac_header_preproc=yes
25034 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: present but cannot be compiled
" >&5
25035 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: present but cannot be compiled
" >&2;}
25036 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: check
for missing prerequisite headers?
" >&5
25037 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: check
for missing prerequisite headers?
" >&2;}
25038 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: see the Autoconf documentation
" >&5
25039 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: see the Autoconf documentation
" >&2;}
25040 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25041 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25042 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: proceeding with the preprocessor
's result" >&5
25043 echo "$as_me: WARNING: ${OPENH323DIR}/../pwlib/version.h: proceeding with the preprocessor's result
" >&2;}
25044 { echo "$as_me:$LINENO: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: in the future
, the compiler will take precedence
" >&5
25045 echo "$as_me: WARNING
: ${OPENH323DIR}/..
/pwlib
/version.h
: in the future
, the compiler will take precedence
" >&2;}
25049 { echo "$as_me:$LINENO: checking
for ${OPENH323DIR}/..
/pwlib
/version.h
" >&5
25050 echo $ECHO_N "checking
for ${OPENH323DIR}/..
/pwlib
/version.h...
$ECHO_C" >&6; }
25051 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25052 echo $ECHO_N "(cached
) $ECHO_C" >&6
25054 eval "$as_ac_Header=\
$ac_header_preproc"
25056 ac_res=`eval echo '${'$as_ac_Header'}'`
25057 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25058 echo "${ECHO_T}$ac_res" >&6; }
25061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25067 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25068 PWLIBDIR="${OPENH323DIR}/..
/pwlib
"
25070 as_ac_Header=`echo "ac_cv_header_
${HOME}/pwlib
/include
/ptlib.h
" | $as_tr_sh`
25071 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25072 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
25073 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
25074 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25075 echo $ECHO_N "(cached
) $ECHO_C" >&6
25077 ac_res=`eval echo '${'$as_ac_Header'}'`
25078 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25079 echo "${ECHO_T}$ac_res" >&6; }
25081 # Is the header compilable?
25082 { echo "$as_me:$LINENO: checking
${HOME}/pwlib
/include
/ptlib.h usability
" >&5
25083 echo $ECHO_N "checking
${HOME}/pwlib
/include
/ptlib.h usability...
$ECHO_C" >&6; }
25084 cat >conftest.$ac_ext <<_ACEOF
25087 cat confdefs.h >>conftest.$ac_ext
25088 cat >>conftest.$ac_ext <<_ACEOF
25089 /* end confdefs.h. */
25090 $ac_includes_default
25091 #include <${HOME}/pwlib/include/ptlib.h>
25093 rm -f conftest.$ac_objext
25094 if { (ac_try="$ac_compile"
25095 case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25099 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_compile") 2>conftest.er1
25102 grep -v '^ *+' conftest.er1 >conftest.err
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25106 (exit $ac_status); } && {
25107 test -z "$ac_cxx_werror_flag" ||
25108 test ! -s conftest.err
25109 } && test -s conftest.$ac_objext; then
25110 ac_header_compiler=yes
25112 echo "$as_me: failed program was
:" >&5
25113 sed 's/^/| /' conftest.$ac_ext >&5
25115 ac_header_compiler=no
25118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25119 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25120 echo "${ECHO_T}$ac_header_compiler" >&6; }
25122 # Is the header present?
25123 { echo "$as_me:$LINENO: checking
${HOME}/pwlib
/include
/ptlib.h presence
" >&5
25124 echo $ECHO_N "checking
${HOME}/pwlib
/include
/ptlib.h presence...
$ECHO_C" >&6; }
25125 cat >conftest.$ac_ext <<_ACEOF
25128 cat confdefs.h >>conftest.$ac_ext
25129 cat >>conftest.$ac_ext <<_ACEOF
25130 /* end confdefs.h. */
25131 #include <${HOME}/pwlib/include/ptlib.h>
25133 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25134 case "(($ac_try" in
25135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25136 *) ac_try_echo=$ac_try;;
25138 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25139 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25141 grep -v '^ *+' conftest.er1 >conftest.err
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25145 (exit $ac_status); } >/dev/null && {
25146 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25147 test ! -s conftest.err
25149 ac_header_preproc=yes
25151 echo "$as_me: failed program was
:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25154 ac_header_preproc=no
25157 rm -f conftest.err conftest.$ac_ext
25158 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25159 echo "${ECHO_T}$ac_header_preproc" >&6; }
25161 # So? What about this header?
25162 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25164 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25165 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25166 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25167 echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25168 ac_header_preproc=yes
25171 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: present but cannot be compiled
" >&5
25172 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25173 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25174 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25175 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25176 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25177 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25178 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25179 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25180 echo "$as_me: WARNING: ${HOME}/pwlib/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25181 { echo "$as_me:$LINENO: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25182 echo "$as_me: WARNING
: ${HOME}/pwlib
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25186 { echo "$as_me:$LINENO: checking
for ${HOME}/pwlib
/include
/ptlib.h
" >&5
25187 echo $ECHO_N "checking
for ${HOME}/pwlib
/include
/ptlib.h...
$ECHO_C" >&6; }
25188 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
25189 echo $ECHO_N "(cached
) $ECHO_C" >&6
25191 eval "$as_ac_Header=\
$ac_header_preproc"
25193 ac_res=`eval echo '${'$as_ac_Header'}'`
25194 { echo "$as_me:$LINENO: result
: $ac_res" >&5
25195 echo "${ECHO_T}$ac_res" >&6; }
25198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25203 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25204 PWLIBDIR="${HOME}/pwlib
"
25206 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25207 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
25208 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
25209 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25210 echo $ECHO_N "(cached
) $ECHO_C" >&6
25212 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_local_include_ptlib_h" >&5
25213 echo "${ECHO_T}$ac_cv_header__usr_local_include_ptlib_h" >&6; }
25215 # Is the header compilable?
25216 { echo "$as_me:$LINENO: checking
/usr
/local
/include
/ptlib.h usability
" >&5
25217 echo $ECHO_N "checking
/usr
/local
/include
/ptlib.h usability...
$ECHO_C" >&6; }
25218 cat >conftest.$ac_ext <<_ACEOF
25221 cat confdefs.h >>conftest.$ac_ext
25222 cat >>conftest.$ac_ext <<_ACEOF
25223 /* end confdefs.h. */
25224 $ac_includes_default
25225 #include </usr/local/include/ptlib.h>
25227 rm -f conftest.$ac_objext
25228 if { (ac_try="$ac_compile"
25229 case "(($ac_try" in
25230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25231 *) ac_try_echo=$ac_try;;
25233 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25234 (eval "$ac_compile") 2>conftest.er1
25236 grep -v '^ *+' conftest.er1 >conftest.err
25238 cat conftest.err >&5
25239 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25240 (exit $ac_status); } && {
25241 test -z "$ac_cxx_werror_flag" ||
25242 test ! -s conftest.err
25243 } && test -s conftest.$ac_objext; then
25244 ac_header_compiler=yes
25246 echo "$as_me: failed program was
:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25249 ac_header_compiler=no
25252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25253 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25254 echo "${ECHO_T}$ac_header_compiler" >&6; }
25256 # Is the header present?
25257 { echo "$as_me:$LINENO: checking
/usr
/local
/include
/ptlib.h presence
" >&5
25258 echo $ECHO_N "checking
/usr
/local
/include
/ptlib.h presence...
$ECHO_C" >&6; }
25259 cat >conftest.$ac_ext <<_ACEOF
25262 cat confdefs.h >>conftest.$ac_ext
25263 cat >>conftest.$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 #include </usr/local/include/ptlib.h>
25267 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25268 case "(($ac_try" in
25269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25270 *) ac_try_echo=$ac_try;;
25272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25273 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25275 grep -v '^ *+' conftest.er1 >conftest.err
25277 cat conftest.err >&5
25278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25279 (exit $ac_status); } >/dev/null && {
25280 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25281 test ! -s conftest.err
25283 ac_header_preproc=yes
25285 echo "$as_me: failed program was
:" >&5
25286 sed 's/^/| /' conftest.$ac_ext >&5
25288 ac_header_preproc=no
25291 rm -f conftest.err conftest.$ac_ext
25292 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25293 echo "${ECHO_T}$ac_header_preproc" >&6; }
25295 # So? What about this header?
25296 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25298 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25299 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25300 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25301 echo "$as_me: WARNING: /usr/local/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25302 ac_header_preproc=yes
25305 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: present but cannot be compiled
" >&5
25306 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25307 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25308 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25309 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25310 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25311 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25312 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25313 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25314 echo "$as_me: WARNING: /usr/local/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25315 { echo "$as_me:$LINENO: WARNING
: /usr
/local
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25316 echo "$as_me: WARNING
: /usr
/local
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25320 { echo "$as_me:$LINENO: checking
for /usr
/local
/include
/ptlib.h
" >&5
25321 echo $ECHO_N "checking
for /usr
/local
/include
/ptlib.h...
$ECHO_C" >&6; }
25322 if test "${ac_cv_header__usr_local_include_ptlib_h+set}" = set; then
25323 echo $ECHO_N "(cached
) $ECHO_C" >&6
25325 ac_cv_header__usr_local_include_ptlib_h=$ac_header_preproc
25327 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_local_include_ptlib_h" >&5
25328 echo "${ECHO_T}$ac_cv_header__usr_local_include_ptlib_h" >&6; }
25331 if test $ac_cv_header__usr_local_include_ptlib_h = yes; then
25336 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25337 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25338 set dummy ptlib-config; ac_word=$2
25339 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25340 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25341 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25342 echo $ECHO_N "(cached
) $ECHO_C" >&6
25344 case $PTLIB_CONFIG in
25346 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25350 for as_dir in /usr/local/bin
25353 test -z "$as_dir" && as_dir=.
25354 for ac_exec_ext in '' $ac_executable_extensions; do
25355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25356 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25357 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25367 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25368 if test -n "$PTLIB_CONFIG"; then
25369 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25370 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25372 { echo "$as_me:$LINENO: result
: no
" >&5
25373 echo "${ECHO_T}no
" >&6; }
25377 if test "${PTLIB_CONFIG:-unset}" = "unset" ; then
25378 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25379 set dummy ptlib-config; ac_word=$2
25380 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25381 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25382 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25383 echo $ECHO_N "(cached
) $ECHO_C" >&6
25385 case $PTLIB_CONFIG in
25387 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25391 for as_dir in /usr/local/share/pwlib/make
25394 test -z "$as_dir" && as_dir=.
25395 for ac_exec_ext in '' $ac_executable_extensions; do
25396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25397 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25398 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25408 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25409 if test -n "$PTLIB_CONFIG"; then
25410 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25411 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25413 { echo "$as_me:$LINENO: result
: no
" >&5
25414 echo "${ECHO_T}no
" >&6; }
25419 PWLIB_INCDIR="/usr
/local
/include
"
25420 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
25421 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25422 if test "x
$LIB64" != "x
"; then
25423 PWLIB_LIBDIR="/usr
/local
/lib64
"
25425 PWLIB_LIBDIR="/usr
/local
/lib
"
25428 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
25429 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
25431 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25432 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
25433 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
25434 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25435 echo $ECHO_N "(cached
) $ECHO_C" >&6
25437 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_include_ptlib_h" >&5
25438 echo "${ECHO_T}$ac_cv_header__usr_include_ptlib_h" >&6; }
25440 # Is the header compilable?
25441 { echo "$as_me:$LINENO: checking
/usr
/include
/ptlib.h usability
" >&5
25442 echo $ECHO_N "checking
/usr
/include
/ptlib.h usability...
$ECHO_C" >&6; }
25443 cat >conftest.$ac_ext <<_ACEOF
25446 cat confdefs.h >>conftest.$ac_ext
25447 cat >>conftest.$ac_ext <<_ACEOF
25448 /* end confdefs.h. */
25449 $ac_includes_default
25450 #include </usr/include/ptlib.h>
25452 rm -f conftest.$ac_objext
25453 if { (ac_try="$ac_compile"
25454 case "(($ac_try" in
25455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25456 *) ac_try_echo=$ac_try;;
25458 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25459 (eval "$ac_compile") 2>conftest.er1
25461 grep -v '^ *+' conftest.er1 >conftest.err
25463 cat conftest.err >&5
25464 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25465 (exit $ac_status); } && {
25466 test -z "$ac_cxx_werror_flag" ||
25467 test ! -s conftest.err
25468 } && test -s conftest.$ac_objext; then
25469 ac_header_compiler=yes
25471 echo "$as_me: failed program was
:" >&5
25472 sed 's/^/| /' conftest.$ac_ext >&5
25474 ac_header_compiler=no
25477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25478 { echo "$as_me:$LINENO: result
: $ac_header_compiler" >&5
25479 echo "${ECHO_T}$ac_header_compiler" >&6; }
25481 # Is the header present?
25482 { echo "$as_me:$LINENO: checking
/usr
/include
/ptlib.h presence
" >&5
25483 echo $ECHO_N "checking
/usr
/include
/ptlib.h presence...
$ECHO_C" >&6; }
25484 cat >conftest.$ac_ext <<_ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490 #include </usr/include/ptlib.h>
25492 if { (ac_try="$ac_cpp conftest.
$ac_ext"
25493 case "(($ac_try" in
25494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25495 *) ac_try_echo=$ac_try;;
25497 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
25498 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
25500 grep -v '^ *+' conftest.er1 >conftest.err
25502 cat conftest.err >&5
25503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
25504 (exit $ac_status); } >/dev/null && {
25505 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25506 test ! -s conftest.err
25508 ac_header_preproc=yes
25510 echo "$as_me: failed program was
:" >&5
25511 sed 's/^/| /' conftest.$ac_ext >&5
25513 ac_header_preproc=no
25516 rm -f conftest.err conftest.$ac_ext
25517 { echo "$as_me:$LINENO: result
: $ac_header_preproc" >&5
25518 echo "${ECHO_T}$ac_header_preproc" >&6; }
25520 # So? What about this header?
25521 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25523 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&5
25524 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: accepted by the compiler
, rejected by the preprocessor
!" >&2;}
25525 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: proceeding with the compiler
's result" >&5
25526 echo "$as_me: WARNING: /usr/include/ptlib.h: proceeding with the compiler's result
" >&2;}
25527 ac_header_preproc=yes
25530 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: present but cannot be compiled
" >&5
25531 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: present but cannot be compiled
" >&2;}
25532 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&5
25533 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: check
for missing prerequisite headers?
" >&2;}
25534 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: see the Autoconf documentation
" >&5
25535 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: see the Autoconf documentation
" >&2;}
25536 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&5
25537 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: section
\"Present But Cannot Be Compiled
\"" >&2;}
25538 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: proceeding with the preprocessor
's result" >&5
25539 echo "$as_me: WARNING: /usr/include/ptlib.h: proceeding with the preprocessor's result
" >&2;}
25540 { echo "$as_me:$LINENO: WARNING
: /usr
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&5
25541 echo "$as_me: WARNING
: /usr
/include
/ptlib.h
: in the future
, the compiler will take precedence
" >&2;}
25545 { echo "$as_me:$LINENO: checking
for /usr
/include
/ptlib.h
" >&5
25546 echo $ECHO_N "checking
for /usr
/include
/ptlib.h...
$ECHO_C" >&6; }
25547 if test "${ac_cv_header__usr_include_ptlib_h+set}" = set; then
25548 echo $ECHO_N "(cached
) $ECHO_C" >&6
25550 ac_cv_header__usr_include_ptlib_h=$ac_header_preproc
25552 { echo "$as_me:$LINENO: result
: $ac_cv_header__usr_include_ptlib_h" >&5
25553 echo "${ECHO_T}$ac_cv_header__usr_include_ptlib_h" >&6; }
25556 if test $ac_cv_header__usr_include_ptlib_h = yes; then
25561 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25562 # Extract the first word of "ptlib-config
", so it can be a program name with args.
25563 set dummy ptlib-config; ac_word=$2
25564 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
25565 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
25566 if test "${ac_cv_path_PTLIB_CONFIG+set}" = set; then
25567 echo $ECHO_N "(cached
) $ECHO_C" >&6
25569 case $PTLIB_CONFIG in
25571 ac_cv_path_PTLIB_CONFIG="$PTLIB_CONFIG" # Let the user override the test with a path.
25574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25575 for as_dir in /usr/share/pwlib/make
25578 test -z "$as_dir" && as_dir=.
25579 for ac_exec_ext in '' $ac_executable_extensions; do
25580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
25581 ac_cv_path_PTLIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
25582 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
25592 PTLIB_CONFIG=$ac_cv_path_PTLIB_CONFIG
25593 if test -n "$PTLIB_CONFIG"; then
25594 { echo "$as_me:$LINENO: result
: $PTLIB_CONFIG" >&5
25595 echo "${ECHO_T}$PTLIB_CONFIG" >&6; }
25597 { echo "$as_me:$LINENO: result
: no
" >&5
25598 echo "${ECHO_T}no
" >&6; }
25602 PWLIB_INCDIR="/usr
/include
"
25603 PWLIB_LIBDIR=`${PTLIB_CONFIG} --pwlibdir`
25604 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25605 if test "x
$LIB64" != "x
"; then
25606 PWLIB_LIBDIR="/usr
/lib64
"
25608 PWLIB_LIBDIR="/usr
/lib
"
25611 PWLIB_LIB=`${PTLIB_CONFIG} --ldflags --libs`
25612 PWLIB_LIB="-L${PWLIB_LIBDIR} `echo ${PWLIB_LIB}`"
25619 #if test "${HAS_PWLIB:-unset}" = "unset" ; then
25620 # echo "Cannot
find pwlib
- please
install or
set PWLIBDIR and try again
"
25624 if test "${HAS_PWLIB:-unset}" != "unset" ; then
25625 if test "${PWLIBDIR:-unset}" = "unset" ; then
25626 if test "${PTLIB_CONFIG:-unset}" != "unset" ; then
25627 PWLIBDIR=`$PTLIB_CONFIG --prefix`
25629 echo "Cannot
find ptlib-config
- please
install and try again
"
25634 if test "x
$PWLIBDIR" = "x
/usr
" -o "x
$PWLIBDIR" = "x
/usr
/"; then
25635 PWLIBDIR="/usr
/share
/pwlib
"
25636 PWLIB_INCDIR="/usr
/include
"
25637 if test "x
$LIB64" != "x
"; then
25638 PWLIB_LIBDIR="/usr
/lib64
"
25640 PWLIB_LIBDIR="/usr
/lib
"
25643 if test "x
$PWLIBDIR" = "x
/usr
/local" -o "x
$PWLIBDIR" = "x
/usr
/"; then
25644 PWLIBDIR="/usr
/local
/share
/pwlib
"
25645 PWLIB_INCDIR="/usr
/local
/include
"
25646 if test "x
$LIB64" != "x
"; then
25647 PWLIB_LIBDIR="/usr
/local
/lib64
"
25649 PWLIB_LIBDIR="/usr
/local
/lib
"
25653 if test "${PWLIB_INCDIR:-unset}" = "unset"; then
25654 PWLIB_INCDIR="${PWLIBDIR}/include
"
25656 if test "${PWLIB_LIBDIR:-unset}" = "unset"; then
25657 PWLIB_LIBDIR="${PWLIBDIR}/lib
"
25665 ac_cpp='$CPP $CPPFLAGS'
25666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25672 if test "${HAS_PWLIB:-unset}" != "unset"; then
25673 PWLIB_VERSION=`grep "PWLIB_VERSION
" ${PWLIB_INCDIR}/ptbuildopts.h | cut -f2 -d ' ' | sed -e 's/"//g
'`
25674 PWLIB_MAJOR_VERSION=`echo ${PWLIB_VERSION} | cut -f1 -d.`
25675 PWLIB_MINOR_VERSION=`echo ${PWLIB_VERSION} | cut -f2 -d.`
25676 PWLIB_BUILD_NUMBER=`echo ${PWLIB_VERSION} | cut -f3 -d.`
25677 let PWLIB_VER=${PWLIB_MAJOR_VERSION}*10000+${PWLIB_MINOR_VERSION}*100+${PWLIB_BUILD_NUMBER}
25678 let PWLIB_REQ=1*10000+9*100+2
25680 { echo "$as_me:$LINENO: checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323" >&5
25681 echo $ECHO_N "checking if PWLib version ${PWLIB_VERSION} is compatible with chan_h323... $ECHO_C" >&6; }
25682 if test ${PWLIB_VER} -lt ${PWLIB_REQ}; then
25683 { echo "$as_me:$LINENO: result: no" >&5
25684 echo "${ECHO_T}no" >&6; }
25687 { echo "$as_me:$LINENO: result: yes" >&5
25688 echo "${ECHO_T}yes" >&6; }
25693 if test "${HAS_PWLIB:-unset}" != "unset"; then
25697 linux*) PWLIB_OSTYPE=linux ;
25699 freebsd* ) PWLIB_OSTYPE=FreeBSD ;
25701 openbsd* ) PWLIB_OSTYPE=OpenBSD ;
25702 ENDLDLIBS="-lossaudio" ;
25704 netbsd* ) PWLIB_OSTYPE=NetBSD ;
25705 ENDLDLIBS="-lossaudio" ;
25707 solaris* | sunos* ) PWLIB_OSTYPE=solaris ;
25709 darwin* ) PWLIB_OSTYPE=Darwin ;
25711 beos*) PWLIB_OSTYPE=beos ;
25712 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
25714 cygwin*) PWLIB_OSTYPE=cygwin ;
25716 mingw*) PWLIB_OSTYPE=mingw ;
25717 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
25718 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
25720 * ) PWLIB_OSTYPE="$host_os" ;
25721 { echo "$as_me:$LINENO: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&5
25722 echo "$as_me: WARNING: \"OS $PWLIB_OSTYPE not recognized - proceed with caution!\"" >&2;} ;
25727 case "$host_cpu" in
25728 x86 | i686 | i586 | i486 | i386 ) PWLIB_MACHTYPE=x86
25731 x86_64) PWLIB_MACHTYPE=x86_64 ;
25736 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) PWLIB_MACHTYPE=alpha ;
25740 sparc ) PWLIB_MACHTYPE=sparc ;
25743 powerpc ) PWLIB_MACHTYPE=ppc ;
25746 ppc ) PWLIB_MACHTYPE=ppc ;
25749 powerpc64 ) PWLIB_MACHTYPE=ppc64 ;
25754 ppc64 ) PWLIB_MACHTYPE=ppc64 ;
25759 ia64) PWLIB_MACHTYPE=ia64 ;
25763 s390x) PWLIB_MACHTYPE=s390x ;
25768 s390) PWLIB_MACHTYPE=s390 ;
25771 * ) PWLIB_MACHTYPE="$host_cpu";
25772 { echo "$as_me:$LINENO: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&5
25773 echo "$as_me: WARNING: \"CPU $PWLIB_MACHTYPE not recognized - proceed with caution!\"" >&2;} ;;
25776 PWLIB_PLATFORM="${PWLIB_OSTYPE}_${PWLIB_MACHTYPE}"
25781 PLATFORM_PWLIB="pt_${PWLIB_PLATFORM}_r"
25784 if test "${HAS_PWLIB:-unset}" != "unset"; then
25785 { echo "$as_me:$LINENO: checking PWLib installation validity" >&5
25786 echo $ECHO_N "checking PWLib installation validity... $ECHO_C" >&6; }
25788 saved_cppflags="${CPPFLAGS}"
25789 saved_libs="${LIBS}"
25790 if test "${PWLIB_LIB:-unset}" != "unset"; then
25791 LIBS="${LIBS} ${PWLIB_LIB} "
25793 LIBS="${LIBS} -L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB} "
25795 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR} "
25798 ac_cpp='$CXXCPP $CPPFLAGS'
25799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25800 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804 cat >conftest.$ac_ext <<_ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25814 BOOL q = PTime::IsDaylightSavings();
25819 rm -f conftest.$ac_objext conftest$ac_exeext
25820 if { (ac_try="$ac_link"
25821 case "(($ac_try" in
25822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25823 *) ac_try_echo=$ac_try;;
25825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25826 (eval "$ac_link") 2>conftest.er1
25828 grep -v '^
*+' conftest.er1 >conftest.err
25830 cat conftest.err >&5
25831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25832 (exit $ac_status); } && {
25833 test -z "$ac_cxx_werror_flag" ||
25834 test ! -s conftest.err
25835 } && test -s conftest$ac_exeext &&
25836 $as_test_x conftest$ac_exeext; then
25837 { echo "$as_me:$LINENO: result: yes" >&5
25838 echo "${ECHO_T}yes" >&6; }
25839 ac_cv_lib_PWLIB="yes"
25842 echo "$as_me: failed program was:" >&5
25843 sed 's
/^
/|
/' conftest.$ac_ext >&5
25845 { echo "$as_me:$LINENO: result: no" >&5
25846 echo "${ECHO_T}no" >&6; }
25847 ac_cv_lib_PWLIB="no"
25852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25853 conftest$ac_exeext conftest.$ac_ext
25856 ac_cpp='$CPP $CPPFLAGS'
25857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25858 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25862 LIBS="${saved_libs}"
25863 CPPFLAGS="${saved_cppflags}"
25865 if test "${ac_cv_lib_PWLIB}" = "yes"; then
25866 if test "${PWLIB_LIB:-undef}" = "undef"; then
25867 if test "${PWLIB_LIBDIR}" != "" -a "${PWLIB_LIBDIR}" != "/usr/lib"; then
25868 PWLIB_LIB="-L${PWLIB_LIBDIR} -l${PLATFORM_PWLIB}"
25870 PWLIB_LIB="-l${PLATFORM_PWLIB}"
25873 if test "${PWLIB_INCDIR}" != "" -a "${PWLIB_INCDIR}" != "/usr/include"; then
25874 PWLIB_INCLUDE="-I${PWLIB_INCDIR}"
25878 cat >>confdefs.h <<\_ACEOF
25879 #define HAVE_PWLIB 1
25888 if test "${USE_PWLIB}" != "no" -a "x${ac_cv_lib_PWLIB}" != "xyes" -a -n "${PWLIB_MANDATORY}"; then
25889 { echo "$as_me:$LINENO: ***" >&5
25890 echo "$as_me: ***" >&6;}
25891 { echo "$as_me:$LINENO: *** The PWLIB installation on this system appears to be broken." >&5
25892 echo "$as_me: *** The PWLIB installation on this system appears to be broken." >&6;}
25893 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
25894 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
25895 { echo "$as_me:$LINENO: *** including --without-pwlib" >&5
25896 echo "$as_me: *** including --without-pwlib" >&6;}
25900 if test "${PBX_PWLIB}" = "1" -a "${USE_OPENH323}" != "no" ; then
25901 if test -n "${OPENH323_DIR}"; then
25902 OPENH323DIR="${OPENH323_DIR}"
25908 ac_cpp='$CXXCPP $CPPFLAGS'
25909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25910 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25913 if test "${OPENH323DIR:-unset}" != "unset" ; then
25914 as_ac_Header=`echo "ac_cv_header_${OPENH323DIR}/version.h" | $as_tr_sh`
25915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25916 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
25917 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
25918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25919 echo $ECHO_N "(cached) $ECHO_C" >&6
25921 ac_res=`eval echo '${'$as_ac_Header'}'`
25922 { echo "$as_me:$LINENO: result: $ac_res" >&5
25923 echo "${ECHO_T}$ac_res" >&6; }
25925 # Is the header compilable?
25926 { echo "$as_me:$LINENO: checking ${OPENH323DIR}/version.h usability" >&5
25927 echo $ECHO_N "checking ${OPENH323DIR}/version.h usability... $ECHO_C" >&6; }
25928 cat >conftest.$ac_ext <<_ACEOF
25931 cat confdefs.h >>conftest.$ac_ext
25932 cat >>conftest.$ac_ext <<_ACEOF
25933 /* end confdefs.h. */
25934 $ac_includes_default
25935 #include <${OPENH323DIR}/version.h>
25937 rm -f conftest.$ac_objext
25938 if { (ac_try="$ac_compile"
25939 case "(($ac_try" in
25940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25941 *) ac_try_echo=$ac_try;;
25943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25944 (eval "$ac_compile") 2>conftest.er1
25946 grep -v '^
*+' conftest.er1 >conftest.err
25948 cat conftest.err >&5
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); } && {
25951 test -z "$ac_cxx_werror_flag" ||
25952 test ! -s conftest.err
25953 } && test -s conftest.$ac_objext; then
25954 ac_header_compiler=yes
25956 echo "$as_me: failed program was:" >&5
25957 sed 's
/^
/|
/' conftest.$ac_ext >&5
25959 ac_header_compiler=no
25962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25963 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25964 echo "${ECHO_T}$ac_header_compiler" >&6; }
25966 # Is the header present?
25967 { echo "$as_me:$LINENO: checking ${OPENH323DIR}/version.h presence" >&5
25968 echo $ECHO_N "checking ${OPENH323DIR}/version.h presence... $ECHO_C" >&6; }
25969 cat >conftest.$ac_ext <<_ACEOF
25972 cat confdefs.h >>conftest.$ac_ext
25973 cat >>conftest.$ac_ext <<_ACEOF
25974 /* end confdefs.h. */
25975 #include <${OPENH323DIR}/version.h>
25977 if { (ac_try="$ac_cpp conftest.$ac_ext"
25978 case "(($ac_try" in
25979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25980 *) ac_try_echo=$ac_try;;
25982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25983 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25985 grep -v '^
*+' conftest.er1 >conftest.err
25987 cat conftest.err >&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); } >/dev/null && {
25990 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
25991 test ! -s conftest.err
25993 ac_header_preproc=yes
25995 echo "$as_me: failed program was:" >&5
25996 sed 's
/^
/|
/' conftest.$ac_ext >&5
25998 ac_header_preproc=no
26001 rm -f conftest.err conftest.$ac_ext
26002 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26003 echo "${ECHO_T}$ac_header_preproc" >&6; }
26005 # So? What about this header?
26006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26008 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
26009 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26010 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: proceeding with the compiler's result
" >&5
26011 echo "$as_me: WARNING
: ${OPENH323DIR}/version.h
: proceeding with the compiler
's result" >&2;}
26012 ac_header_preproc=yes
26015 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: present but cannot be compiled" >&5
26016 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: present but cannot be compiled" >&2;}
26017 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: check for missing prerequisite headers?" >&5
26018 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: check for missing prerequisite headers?" >&2;}
26019 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: see the Autoconf documentation" >&5
26020 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: see the Autoconf documentation" >&2;}
26021 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: section \"Present But Cannot Be Compiled\"" >&5
26022 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
26023 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: proceeding with the preprocessor's result
" >&5
26024 echo "$as_me: WARNING
: ${OPENH323DIR}/version.h
: proceeding with the preprocessor
's result" >&2;}
26025 { echo "$as_me:$LINENO: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&5
26026 echo "$as_me: WARNING: ${OPENH323DIR}/version.h: in the future, the compiler will take precedence" >&2;}
26030 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/version.h" >&5
26031 echo $ECHO_N "checking for ${OPENH323DIR}/version.h... $ECHO_C" >&6; }
26032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26033 echo $ECHO_N "(cached) $ECHO_C" >&6
26035 eval "$as_ac_Header=\$ac_header_preproc"
26037 ac_res=`eval echo '${'$as_ac_Header'}'`
26038 { echo "$as_me:$LINENO: result: $ac_res" >&5
26039 echo "${ECHO_T}$ac_res" >&6; }
26042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26048 if test "${HAS_OPENH323:-unset}" = "unset" ; then
26049 as_ac_Header=`echo "ac_cv_header_${PWLIBDIR}/../openh323/version.h" | $as_tr_sh`
26050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26051 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
26052 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
26053 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26054 echo $ECHO_N "(cached) $ECHO_C" >&6
26056 ac_res=`eval echo '${'$as_ac_Header'}'`
26057 { echo "$as_me:$LINENO: result: $ac_res" >&5
26058 echo "${ECHO_T}$ac_res" >&6; }
26060 # Is the header compilable?
26061 { echo "$as_me:$LINENO: checking ${PWLIBDIR}/../openh323/version.h usability" >&5
26062 echo $ECHO_N "checking ${PWLIBDIR}/../openh323/version.h usability... $ECHO_C" >&6; }
26063 cat >conftest.$ac_ext <<_ACEOF
26066 cat confdefs.h >>conftest.$ac_ext
26067 cat >>conftest.$ac_ext <<_ACEOF
26068 /* end confdefs.h. */
26069 $ac_includes_default
26070 #include <${PWLIBDIR}/../openh323/version.h>
26072 rm -f conftest.$ac_objext
26073 if { (ac_try="$ac_compile"
26074 case "(($ac_try" in
26075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26076 *) ac_try_echo=$ac_try;;
26078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26079 (eval "$ac_compile") 2>conftest.er1
26081 grep -v '^
*+' conftest.er1 >conftest.err
26083 cat conftest.err >&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); } && {
26086 test -z "$ac_cxx_werror_flag" ||
26087 test ! -s conftest.err
26088 } && test -s conftest.$ac_objext; then
26089 ac_header_compiler=yes
26091 echo "$as_me: failed program was:" >&5
26092 sed 's
/^
/|
/' conftest.$ac_ext >&5
26094 ac_header_compiler=no
26097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26098 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26099 echo "${ECHO_T}$ac_header_compiler" >&6; }
26101 # Is the header present?
26102 { echo "$as_me:$LINENO: checking ${PWLIBDIR}/../openh323/version.h presence" >&5
26103 echo $ECHO_N "checking ${PWLIBDIR}/../openh323/version.h presence... $ECHO_C" >&6; }
26104 cat >conftest.$ac_ext <<_ACEOF
26107 cat confdefs.h >>conftest.$ac_ext
26108 cat >>conftest.$ac_ext <<_ACEOF
26109 /* end confdefs.h. */
26110 #include <${PWLIBDIR}/../openh323/version.h>
26112 if { (ac_try="$ac_cpp conftest.$ac_ext"
26113 case "(($ac_try" in
26114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26115 *) ac_try_echo=$ac_try;;
26117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26120 grep -v '^
*+' conftest.er1 >conftest.err
26122 cat conftest.err >&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); } >/dev/null && {
26125 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26126 test ! -s conftest.err
26128 ac_header_preproc=yes
26130 echo "$as_me: failed program was:" >&5
26131 sed 's
/^
/|
/' conftest.$ac_ext >&5
26133 ac_header_preproc=no
26136 rm -f conftest.err conftest.$ac_ext
26137 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26138 echo "${ECHO_T}$ac_header_preproc" >&6; }
26140 # So? What about this header?
26141 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26143 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: accepted by the compiler, rejected by the preprocessor!" >&5
26144 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26145 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: proceeding with the compiler's result
" >&5
26146 echo "$as_me: WARNING
: ${PWLIBDIR}/..
/openh323
/version.h
: proceeding with the compiler
's result" >&2;}
26147 ac_header_preproc=yes
26150 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: present but cannot be compiled" >&5
26151 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: present but cannot be compiled" >&2;}
26152 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: check for missing prerequisite headers?" >&5
26153 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: check for missing prerequisite headers?" >&2;}
26154 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: see the Autoconf documentation" >&5
26155 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: see the Autoconf documentation" >&2;}
26156 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: section \"Present But Cannot Be Compiled\"" >&5
26157 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: section \"Present But Cannot Be Compiled\"" >&2;}
26158 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: proceeding with the preprocessor's result
" >&5
26159 echo "$as_me: WARNING
: ${PWLIBDIR}/..
/openh323
/version.h
: proceeding with the preprocessor
's result" >&2;}
26160 { echo "$as_me:$LINENO: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&5
26161 echo "$as_me: WARNING: ${PWLIBDIR}/../openh323/version.h: in the future, the compiler will take precedence" >&2;}
26165 { echo "$as_me:$LINENO: checking for ${PWLIBDIR}/../openh323/version.h" >&5
26166 echo $ECHO_N "checking for ${PWLIBDIR}/../openh323/version.h... $ECHO_C" >&6; }
26167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 eval "$as_ac_Header=\$ac_header_preproc"
26172 ac_res=`eval echo '${'$as_ac_Header'}'`
26173 { echo "$as_me:$LINENO: result: $ac_res" >&5
26174 echo "${ECHO_T}$ac_res" >&6; }
26177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26178 OPENH323DIR="${PWLIBDIR}/../openh323"; HAS_OPENH323=1
26182 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26183 OPENH323DIR="${PWLIBDIR}/../openh323"
26184 saved_cppflags="${CPPFLAGS}"
26185 CPPFLAGS="${CPPFLAGS} -I${PWLIB_INCDIR}/openh323 -I${PWLIB_INCDIR}"
26186 as_ac_Header=`echo "ac_cv_header_${OPENH323DIR}/include/h323.h" | $as_tr_sh`
26187 { echo "$as_me:$LINENO: checking for ${OPENH323DIR}/include/h323.h" >&5
26188 echo $ECHO_N "checking for ${OPENH323DIR}/include/h323.h... $ECHO_C" >&6; }
26189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26190 echo $ECHO_N "(cached) $ECHO_C" >&6
26192 cat >conftest.$ac_ext <<_ACEOF
26195 cat confdefs.h >>conftest.$ac_ext
26196 cat >>conftest.$ac_ext <<_ACEOF
26197 /* end confdefs.h. */
26200 #include <${OPENH323DIR}/include/h323.h>
26202 rm -f conftest.$ac_objext
26203 if { (ac_try="$ac_compile"
26204 case "(($ac_try" in
26205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206 *) ac_try_echo=$ac_try;;
26208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209 (eval "$ac_compile") 2>conftest.er1
26211 grep -v '^
*+' conftest.er1 >conftest.err
26213 cat conftest.err >&5
26214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215 (exit $ac_status); } && {
26216 test -z "$ac_cxx_werror_flag" ||
26217 test ! -s conftest.err
26218 } && test -s conftest.$ac_objext; then
26219 eval "$as_ac_Header=yes"
26221 echo "$as_me: failed program was:" >&5
26222 sed 's
/^
/|
/' conftest.$ac_ext >&5
26224 eval "$as_ac_Header=no"
26227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 ac_res=`eval echo '${'$as_ac_Header'}'`
26230 { echo "$as_me:$LINENO: result: $ac_res" >&5
26231 echo "${ECHO_T}$ac_res" >&6; }
26232 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26235 OPENH323_INCDIR="${PWLIB_INCDIR}/openh323"; OPENH323_LIBDIR="${PWLIB_LIBDIR}"
26239 CPPFLAGS="${saved_cppflags}"
26241 saved_cppflags="${CPPFLAGS}"
26242 CPPFLAGS="${CPPFLAGS} -I${HOME}/openh323/include -I${PWLIB_INCDIR}"
26243 as_ac_Header=`echo "ac_cv_header_${HOME}/openh323/include/h323.h" | $as_tr_sh`
26244 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26245 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
26246 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
26247 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26248 echo $ECHO_N "(cached) $ECHO_C" >&6
26250 ac_res=`eval echo '${'$as_ac_Header'}'`
26251 { echo "$as_me:$LINENO: result: $ac_res" >&5
26252 echo "${ECHO_T}$ac_res" >&6; }
26254 # Is the header compilable?
26255 { echo "$as_me:$LINENO: checking ${HOME}/openh323/include/h323.h usability" >&5
26256 echo $ECHO_N "checking ${HOME}/openh323/include/h323.h usability... $ECHO_C" >&6; }
26257 cat >conftest.$ac_ext <<_ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 $ac_includes_default
26264 #include <${HOME}/openh323/include/h323.h>
26266 rm -f conftest.$ac_objext
26267 if { (ac_try="$ac_compile"
26268 case "(($ac_try" in
26269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26270 *) ac_try_echo=$ac_try;;
26272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26273 (eval "$ac_compile") 2>conftest.er1
26275 grep -v '^
*+' conftest.er1 >conftest.err
26277 cat conftest.err >&5
26278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279 (exit $ac_status); } && {
26280 test -z "$ac_cxx_werror_flag" ||
26281 test ! -s conftest.err
26282 } && test -s conftest.$ac_objext; then
26283 ac_header_compiler=yes
26285 echo "$as_me: failed program was:" >&5
26286 sed 's
/^
/|
/' conftest.$ac_ext >&5
26288 ac_header_compiler=no
26291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26293 echo "${ECHO_T}$ac_header_compiler" >&6; }
26295 # Is the header present?
26296 { echo "$as_me:$LINENO: checking ${HOME}/openh323/include/h323.h presence" >&5
26297 echo $ECHO_N "checking ${HOME}/openh323/include/h323.h presence... $ECHO_C" >&6; }
26298 cat >conftest.$ac_ext <<_ACEOF
26301 cat confdefs.h >>conftest.$ac_ext
26302 cat >>conftest.$ac_ext <<_ACEOF
26303 /* end confdefs.h. */
26304 #include <${HOME}/openh323/include/h323.h>
26306 if { (ac_try="$ac_cpp conftest.$ac_ext"
26307 case "(($ac_try" in
26308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26309 *) ac_try_echo=$ac_try;;
26311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26312 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26314 grep -v '^
*+' conftest.er1 >conftest.err
26316 cat conftest.err >&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } >/dev/null && {
26319 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26320 test ! -s conftest.err
26322 ac_header_preproc=yes
26324 echo "$as_me: failed program was:" >&5
26325 sed 's
/^
/|
/' conftest.$ac_ext >&5
26327 ac_header_preproc=no
26330 rm -f conftest.err conftest.$ac_ext
26331 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26332 echo "${ECHO_T}$ac_header_preproc" >&6; }
26334 # So? What about this header?
26335 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26337 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
26338 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26339 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: proceeding with the compiler's result
" >&5
26340 echo "$as_me: WARNING
: ${HOME}/openh323
/include
/h323.h
: proceeding with the compiler
's result" >&2;}
26341 ac_header_preproc=yes
26344 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: present but cannot be compiled" >&5
26345 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: present but cannot be compiled" >&2;}
26346 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: check for missing prerequisite headers?" >&5
26347 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: check for missing prerequisite headers?" >&2;}
26348 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: see the Autoconf documentation" >&5
26349 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: see the Autoconf documentation" >&2;}
26350 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: section \"Present But Cannot Be Compiled\"" >&5
26351 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
26352 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: proceeding with the preprocessor's result
" >&5
26353 echo "$as_me: WARNING
: ${HOME}/openh323
/include
/h323.h
: proceeding with the preprocessor
's result" >&2;}
26354 { echo "$as_me:$LINENO: WARNING: ${HOME}/openh323/include/h323.h: in the future, the compiler will take precedence" >&5
26355 echo "$as_me: WARNING: ${HOME}/openh323/include/h323.h: in the future, the compiler will take precedence" >&2;}
26359 { echo "$as_me:$LINENO: checking for ${HOME}/openh323/include/h323.h" >&5
26360 echo $ECHO_N "checking for ${HOME}/openh323/include/h323.h... $ECHO_C" >&6; }
26361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26362 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 eval "$as_ac_Header=\$ac_header_preproc"
26366 ac_res=`eval echo '${'$as_ac_Header'}'`
26367 { echo "$as_me:$LINENO: result: $ac_res" >&5
26368 echo "${ECHO_T}$ac_res" >&6; }
26371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26376 CPPFLAGS="${saved_cppflags}"
26377 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26378 OPENH323DIR="${HOME}/openh323"
26380 saved_cppflags="${CPPFLAGS}"
26381 CPPFLAGS="${CPPFLAGS} -I/usr/local/include/openh323 -I${PWLIB_INCDIR}"
26382 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26383 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
26384 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
26385 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_openh323_h323_h" >&5
26389 echo "${ECHO_T}$ac_cv_header__usr_local_include_openh323_h323_h" >&6; }
26391 # Is the header compilable?
26392 { echo "$as_me:$LINENO: checking /usr/local/include/openh323/h323.h usability" >&5
26393 echo $ECHO_N "checking /usr/local/include/openh323/h323.h usability... $ECHO_C" >&6; }
26394 cat >conftest.$ac_ext <<_ACEOF
26397 cat confdefs.h >>conftest.$ac_ext
26398 cat >>conftest.$ac_ext <<_ACEOF
26399 /* end confdefs.h. */
26400 $ac_includes_default
26401 #include </usr/local/include/openh323/h323.h>
26403 rm -f conftest.$ac_objext
26404 if { (ac_try="$ac_compile"
26405 case "(($ac_try" in
26406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26407 *) ac_try_echo=$ac_try;;
26409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26410 (eval "$ac_compile") 2>conftest.er1
26412 grep -v '^
*+' conftest.er1 >conftest.err
26414 cat conftest.err >&5
26415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26416 (exit $ac_status); } && {
26417 test -z "$ac_cxx_werror_flag" ||
26418 test ! -s conftest.err
26419 } && test -s conftest.$ac_objext; then
26420 ac_header_compiler=yes
26422 echo "$as_me: failed program was:" >&5
26423 sed 's
/^
/|
/' conftest.$ac_ext >&5
26425 ac_header_compiler=no
26428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26429 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26430 echo "${ECHO_T}$ac_header_compiler" >&6; }
26432 # Is the header present?
26433 { echo "$as_me:$LINENO: checking /usr/local/include/openh323/h323.h presence" >&5
26434 echo $ECHO_N "checking /usr/local/include/openh323/h323.h presence... $ECHO_C" >&6; }
26435 cat >conftest.$ac_ext <<_ACEOF
26438 cat confdefs.h >>conftest.$ac_ext
26439 cat >>conftest.$ac_ext <<_ACEOF
26440 /* end confdefs.h. */
26441 #include </usr/local/include/openh323/h323.h>
26443 if { (ac_try="$ac_cpp conftest.$ac_ext"
26444 case "(($ac_try" in
26445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26446 *) ac_try_echo=$ac_try;;
26448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26451 grep -v '^
*+' conftest.er1 >conftest.err
26453 cat conftest.err >&5
26454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26455 (exit $ac_status); } >/dev/null && {
26456 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26457 test ! -s conftest.err
26459 ac_header_preproc=yes
26461 echo "$as_me: failed program was:" >&5
26462 sed 's
/^
/|
/' conftest.$ac_ext >&5
26464 ac_header_preproc=no
26467 rm -f conftest.err conftest.$ac_ext
26468 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26469 echo "${ECHO_T}$ac_header_preproc" >&6; }
26471 # So? What about this header?
26472 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26474 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
26475 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26476 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: proceeding with the compiler's result
" >&5
26477 echo "$as_me: WARNING
: /usr
/local
/include
/openh323
/h323.h
: proceeding with the compiler
's result" >&2;}
26478 ac_header_preproc=yes
26481 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: present but cannot be compiled" >&5
26482 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: present but cannot be compiled" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: check for missing prerequisite headers?" >&5
26484 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: check for missing prerequisite headers?" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: see the Autoconf documentation" >&5
26486 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: see the Autoconf documentation" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: section \"Present But Cannot Be Compiled\"" >&5
26488 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: proceeding with the preprocessor's result
" >&5
26490 echo "$as_me: WARNING
: /usr
/local
/include
/openh323
/h323.h
: proceeding with the preprocessor
's result" >&2;}
26491 { echo "$as_me:$LINENO: WARNING: /usr/local/include/openh323/h323.h: in the future, the compiler will take precedence" >&5
26492 echo "$as_me: WARNING: /usr/local/include/openh323/h323.h: in the future, the compiler will take precedence" >&2;}
26496 { echo "$as_me:$LINENO: checking for /usr/local/include/openh323/h323.h" >&5
26497 echo $ECHO_N "checking for /usr/local/include/openh323/h323.h... $ECHO_C" >&6; }
26498 if test "${ac_cv_header__usr_local_include_openh323_h323_h+set}" = set; then
26499 echo $ECHO_N "(cached) $ECHO_C" >&6
26501 ac_cv_header__usr_local_include_openh323_h323_h=$ac_header_preproc
26503 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_local_include_openh323_h323_h" >&5
26504 echo "${ECHO_T}$ac_cv_header__usr_local_include_openh323_h323_h" >&6; }
26507 if test $ac_cv_header__usr_local_include_openh323_h323_h = yes; then
26512 CPPFLAGS="${saved_cppflags}"
26513 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26514 OPENH323DIR="/usr/local/share/openh323"
26515 OPENH323_INCDIR="/usr/local/include/openh323"
26516 if test "x$LIB64" != "x"; then
26517 OPENH323_LIBDIR="/usr/local/lib64"
26519 OPENH323_LIBDIR="/usr/local/lib"
26522 saved_cppflags="${CPPFLAGS}"
26523 CPPFLAGS="${CPPFLAGS} -I/usr/include/openh323 -I${PWLIB_INCDIR}"
26524 { echo "$as_me:$LINENO: checking for /usr/include/openh323/h323.h" >&5
26525 echo $ECHO_N "checking for /usr/include/openh323/h323.h... $ECHO_C" >&6; }
26526 if test "${ac_cv_header__usr_include_openh323_h323_h+set}" = set; then
26527 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 cat >conftest.$ac_ext <<_ACEOF
26532 cat confdefs.h >>conftest.$ac_ext
26533 cat >>conftest.$ac_ext <<_ACEOF
26534 /* end confdefs.h. */
26537 #include </usr/include/openh323/h323.h>
26539 rm -f conftest.$ac_objext
26540 if { (ac_try="$ac_compile"
26541 case "(($ac_try" in
26542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26543 *) ac_try_echo=$ac_try;;
26545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26546 (eval "$ac_compile") 2>conftest.er1
26548 grep -v '^
*+' conftest.er1 >conftest.err
26550 cat conftest.err >&5
26551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26552 (exit $ac_status); } && {
26553 test -z "$ac_cxx_werror_flag" ||
26554 test ! -s conftest.err
26555 } && test -s conftest.$ac_objext; then
26556 ac_cv_header__usr_include_openh323_h323_h=yes
26558 echo "$as_me: failed program was:" >&5
26559 sed 's
/^
/|
/' conftest.$ac_ext >&5
26561 ac_cv_header__usr_include_openh323_h323_h=no
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26566 { echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_openh323_h323_h" >&5
26567 echo "${ECHO_T}$ac_cv_header__usr_include_openh323_h323_h" >&6; }
26568 if test $ac_cv_header__usr_include_openh323_h323_h = yes; then
26573 CPPFLAGS="${saved_cppflags}"
26574 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26575 OPENH323DIR="/usr/share/openh323"
26576 OPENH323_INCDIR="/usr/include/openh323"
26577 if test "x$LIB64" != "x"; then
26578 OPENH323_LIBDIR="/usr/lib64"
26580 OPENH323_LIBDIR="/usr/lib"
26588 if test "${HAS_OPENH323:-unset}" != "unset" ; then
26589 if test "${OPENH323_INCDIR:-unset}" = "unset"; then
26590 OPENH323_INCDIR="${OPENH323DIR}/include"
26592 if test "${OPENH323_LIBDIR:-unset}" = "unset"; then
26593 OPENH323_LIBDIR="${OPENH323DIR}/lib"
26596 OPENH323_LIBDIR="`cd ${OPENH323_LIBDIR}; pwd`"
26597 OPENH323_INCDIR="`cd ${OPENH323_INCDIR}; pwd`"
26598 OPENH323DIR="`cd ${OPENH323DIR}; pwd`"
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
26607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26612 if test "${HAS_OPENH323:-unset}" != "unset"; then
26613 OPENH323_VERSION=`grep "OPENH323_VERSION" ${OPENH323_INCDIR}/openh323buildopts.h | cut -f2 -d ' ' | sed -e 's
/"//g'`
26614 OPENH323_MAJOR_VERSION=`echo ${OPENH323_VERSION} | cut -f1 -d.`
26615 OPENH323_MINOR_VERSION=`echo ${OPENH323_VERSION} | cut -f2 -d.`
26616 OPENH323_BUILD_NUMBER=`echo ${OPENH323_VERSION} | cut -f3 -d.`
26617 let OPENH323_VER=${OPENH323_MAJOR_VERSION}*10000+${OPENH323_MINOR_VERSION}*100+${OPENH323_BUILD_NUMBER}
26618 let OPENH323_REQ=1*10000+17*100+3
26620 { echo "$as_me:$LINENO: checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323
" >&5
26621 echo $ECHO_N "checking
if OpenH323 version
${OPENH323_VERSION} is compatible with chan_h323...
$ECHO_C" >&6; }
26622 if test ${OPENH323_VER} -lt ${OPENH323_REQ}; then
26623 { echo "$as_me:$LINENO: result
: no
" >&5
26624 echo "${ECHO_T}no
" >&6; }
26627 { echo "$as_me:$LINENO: result
: yes" >&5
26628 echo "${ECHO_T}yes" >&6; }
26633 if test "${HAS_OPENH323:-unset}" != "unset"; then
26634 { echo "$as_me:$LINENO: checking OpenH323 build option
" >&5
26635 echo $ECHO_N "checking OpenH323 build option...
$ECHO_C" >&6; }
26637 prefixes="h323_
${PWLIB_PLATFORM}_ h323_ openh323
"
26638 for pfx in $prefixes; do
26639 files=`ls -l ${OPENH323_LIBDIR}/lib${pfx}*.so* 2>/dev/null`
26641 if test -n "$files"; then
26642 for f in $files; do
26643 if test -f $f -a ! -L $f; then
26644 libfile=`basename $f`
26649 if test -n "$libfile"; then
26650 OPENH323_PREFIX=$pfx
26654 if test "${libfile:-unset}" != "unset"; then
26655 OPENH323_SUFFIX=`eval "echo ${libfile} |
sed -e 's/lib${OPENH323_PREFIX}\([^.]*\)\..*/\1/'"`
26657 case "${OPENH323_SUFFIX}" in
26659 OPENH323_BUILD="notrace
";;
26661 OPENH323_BUILD="opt
";;
26663 OPENH323_BUILD="debug
";;
26665 if test "${OPENH323_PREFIX:-undef}" = "openh323
"; then
26666 notrace=`eval "grep NOTRACE
${OPENH323DIR}/openh323u.mak |
grep = |
sed -e 's/[A-Z0-9_]*[ ]*=[ ]*//'"`
26667 if test "x
$notrace" = "x
"; then
26670 if test "$notrace" -ne 0; then
26671 OPENH323_BUILD="notrace
"
26673 OPENH323_BUILD="opt
"
26675 OPENH323_LIB="-l${OPENH323_PREFIX}"
26677 OPENH323_BUILD="notrace
"
26681 { echo "$as_me:$LINENO: result
: ${OPENH323_BUILD}" >&5
26682 echo "${ECHO_T}${OPENH323_BUILD}" >&6; }
26688 PLATFORM_OPENH323
="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
26690 if test "${HAS_OPENH323:-unset}" != "unset"; then
26691 { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5
26692 echo $ECHO_N "checking OpenH323 installation validity... $ECHO_C" >&6; }
26694 saved_cppflags
="${CPPFLAGS}"
26695 saved_libs
="${LIBS}"
26696 if test "${OPENH323_LIB:-unset}" != "unset"; then
26697 LIBS
="${LIBS} ${OPENH323_LIB} ${PWLIB_LIB}"
26699 LIBS
="${LIBS} -L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323} ${PWLIB_LIB}"
26701 CPPFLAGS
="${CPPFLAGS} -I${OPENH323_INCDIR} ${PWLIB_INCLUDE}"
26704 ac_cpp
='$CXXCPP $CPPFLAGS'
26705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26718 #include "h323ep.h"
26722 H323EndPoint ep = H323EndPoint();
26727 rm -f conftest.
$ac_objext conftest
$ac_exeext
26728 if { (ac_try
="$ac_link"
26729 case "(($ac_try" in
26730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26731 *) ac_try_echo=$ac_try;;
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_link") 2>conftest.er1
26736 grep -v '^ *+' conftest.er1 >conftest.err
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } && {
26741 test -z "$ac_cxx_werror_flag" ||
26742 test ! -s conftest.err
26743 } && test -s conftest$ac_exeext &&
26744 $as_test_x conftest$ac_exeext; then
26745 { echo "$as_me:$LINENO: result: yes" >&5
26746 echo "${ECHO_T}yes" >&6; }
26747 ac_cv_lib_OPENH323="yes"
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26753 { echo "$as_me:$LINENO: result: no" >&5
26754 echo "${ECHO_T}no" >&6; }
26755 ac_cv_lib_OPENH323="no"
26760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26761 conftest$ac_exeext conftest.$ac_ext
26764 ac_cpp='$CPP $CPPFLAGS'
26765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770 LIBS="${saved_libs}"
26771 CPPFLAGS="${saved_cppflags}"
26773 if test "${ac_cv_lib_OPENH323}" = "yes"; then
26774 if test "${OPENH323_LIB:-undef}" = "undef"; then
26775 if test "${OPENH323_LIBDIR}" != "" -a "${OPENH323_LIBDIR}" != "/usr/lib"; then
26776 OPENH323_LIB="-L${OPENH323_LIBDIR} -l${PLATFORM_OPENH323}"
26778 OPENH323_LIB="-l${PLATFORM_OPENH323}"
26781 if test "${OPENH323_INCDIR}" != "" -a "${OPENH323_INCDIR}" != "/usr/include"; then
26782 OPENH323_INCLUDE="-I${OPENH323_INCDIR}"
26786 cat >>confdefs.h <<\_ACEOF
26787 #define HAVE_OPENH323 1
26794 if test "${USE_OPENH323}" != "no" -a "x${ac_cv_lib_OPENH323}" != "xyes" -a -n "${OPENH323_MANDATORY}"; then
26795 { echo "$as_me:$LINENO: ***" >&5
26796 echo "$as_me: ***" >&6;}
26797 { echo "$as_me:$LINENO: *** The OPENH323 installation on this system appears to be broken." >&5
26798 echo "$as_me: *** The OPENH323 installation on this system appears to be broken." >&6;}
26799 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
26800 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
26801 { echo "$as_me:$LINENO: *** including --without-h323" >&5
26802 echo "$as_me: *** including --without-h323" >&6;}
26808 ac_cpp='$CXXCPP $CPPFLAGS'
26809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26814 if test "${USE_QT}" != "no"; then
26815 { echo "$as_me:$LINENO: checking for QDate in -lqt" >&5
26816 echo $ECHO_N "checking for QDate in -lqt... $ECHO_C" >&6; }
26817 saved_libs="${LIBS}"
26818 saved_cppflags="${CPPFLAGS}"
26819 if test "x${QT_DIR}" != "x"; then
26820 LIBS="${LIBS} -L${QT_DIR}/lib"
26821 CPPFLAGS="${CPPFLAGS} -I${QT_DIR}/include"
26823 LIBS="${LIBS} -lqt"
26825 cat >conftest.$ac_ext <<_ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 #include <qt3/qdatetime.h>
26842 rm -f conftest.$ac_objext conftest$ac_exeext
26843 if { (ac_try="$ac_link"
26844 case "(($ac_try" in
26845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
26846 *) ac_try_echo
=$ac_try;;
26848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26849 (eval "$ac_link") 2>conftest.er1
26851 grep -v '^ *+' conftest.er1
>conftest.err
26853 cat conftest.err
>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); } && {
26856 test -z "$ac_cxx_werror_flag" ||
26857 test ! -s conftest.err
26858 } && test -s conftest
$ac_exeext &&
26859 $as_test_x conftest
$ac_exeext; then
26860 ac_cv_lib_qt_qt_date
="yes"
26862 echo "$as_me: failed program was:" >&5
26863 sed 's/^/| /' conftest.
$ac_ext >&5
26865 ac_cv_lib_qt_qt_date
="no"
26868 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
26869 conftest
$ac_exeext conftest.
$ac_ext
26870 LIBS
="${saved_libs}"
26871 CPPFLAGS
="${saved_cppflags}"
26873 if test "${ac_cv_lib_qt_qt_date}" = "no"; then
26874 saved_libs
="${LIBS}"
26875 saved_cppflags
="${CPPFLAGS}"
26876 if test "x${QT_DIR}" != "x"; then
26877 LIBS
="${LIBS} -L${QT_DIR}/lib"
26878 CPPFLAGS
="${CPPFLAGS} -I${QT_DIR}/include"
26880 LIBS
="${LIBS} -lqt-mt"
26882 cat >conftest.
$ac_ext <<_ACEOF
26886 cat confdefs.h
>>conftest.
$ac_ext
26887 cat >>conftest.
$ac_ext <<_ACEOF
26888 /* end confdefs.h. */
26889 #include <qt3/qdatetime.h>
26899 rm -f conftest.
$ac_objext conftest
$ac_exeext
26900 if { (ac_try
="$ac_link"
26901 case "(($ac_try" in
26902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
26903 *) ac_try_echo=$ac_try;;
26905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26906 (eval "$ac_link") 2>conftest.er1
26908 grep -v '^ *+' conftest.er1 >conftest.err
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } && {
26913 test -z "$ac_cxx_werror_flag" ||
26914 test ! -s conftest.err
26915 } && test -s conftest$ac_exeext &&
26916 $as_test_x conftest$ac_exeext; then
26917 ac_cv_lib_qt_qt_date="yes"
26919 echo "$as_me: failed program was:" >&5
26920 sed 's/^/| /' conftest.$ac_ext >&5
26922 ac_cv_lib_qt_qt_date="no"
26925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26926 conftest$ac_exeext conftest.$ac_ext
26927 LIBS="${saved_libs}"
26928 CPPFLAGS="${saved_cppflags}"
26931 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
26932 { echo "$as_me:$LINENO: result: yes" >&5
26933 echo "${ECHO_T}yes" >&6; }
26935 { echo "$as_me:$LINENO: result: no" >&5
26936 echo "${ECHO_T}no" >&6; }
26939 if test "${ac_cv_lib_qt_qt_date}" = "yes"; then
26940 QT_LIB="-l${qtlib}"
26941 if test "${QT_DIR}" != ""; then
26942 QT_LIB="-L${QT_DIR}/lib ${QT_LIB}"
26943 QT_INCLUDE="-I${QT_DIR}/include"
26947 cat >>confdefs.h <<\_ACEOF
26951 if test -n "$ac_tool_prefix"; then
26952 # Extract the first word of "${ac_tool_prefix}moc", so it can be a program name with args.
26953 set dummy ${ac_tool_prefix}moc; ac_word=$2
26954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26956 if test "${ac_cv_path_QTMOC+set}" = set; then
26957 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 ac_cv_path_QTMOC="$QTMOC" # Let the user override the test with a path.
26964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26965 for as_dir in $PATH
26968 test -z "$as_dir" && as_dir=.
26969 for ac_exec_ext in '' $ac_executable_extensions; do
26970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26971 ac_cv_path_QTMOC="$as_dir/$ac_word$ac_exec_ext"
26972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26982 QTMOC=$ac_cv_path_QTMOC
26983 if test -n "$QTMOC"; then
26984 { echo "$as_me:$LINENO: result: $QTMOC" >&5
26985 echo "${ECHO_T}$QTMOC" >&6; }
26987 { echo "$as_me:$LINENO: result: no" >&5
26988 echo "${ECHO_T}no" >&6; }
26993 if test -z "$ac_cv_path_QTMOC"; then
26995 # Extract the first word of "moc", so it can be a program name with args.
26996 set dummy moc; ac_word=$2
26997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26999 if test "${ac_cv_path_ac_pt_QTMOC+set}" = set; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 case $ac_pt_QTMOC in
27004 ac_cv_path_ac_pt_QTMOC="$ac_pt_QTMOC" # Let the user override the test with a path.
27007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27008 for as_dir in $PATH
27011 test -z "$as_dir" && as_dir=.
27012 for ac_exec_ext in '' $ac_executable_extensions; do
27013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27014 ac_cv_path_ac_pt_QTMOC="$as_dir/$ac_word$ac_exec_ext"
27015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27025 ac_pt_QTMOC=$ac_cv_path_ac_pt_QTMOC
27026 if test -n "$ac_pt_QTMOC"; then
27027 { echo "$as_me:$LINENO: result: $ac_pt_QTMOC" >&5
27028 echo "${ECHO_T}$ac_pt_QTMOC" >&6; }
27030 { echo "$as_me:$LINENO: result: no" >&5
27031 echo "${ECHO_T}no" >&6; }
27034 if test "x$ac_pt_QTMOC" = x; then
27037 case $cross_compiling:$ac_tool_warned in
27039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
27040 whose name does not start with the host triplet. If you think this
27041 configuration is useful to you, please write to autoconf@gnu.org." >&5
27042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
27043 whose name does not start with the host triplet. If you think this
27044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
27045 ac_tool_warned=yes ;;
27050 QTMOC="$ac_cv_path_QTMOC"
27053 elif test -n "${QT_MANDATORY}";
27055 { echo "$as_me:$LINENO: ***" >&5
27056 echo "$as_me: ***" >&6;}
27057 { echo "$as_me:$LINENO: *** The Qt installation on this system appears to be broken." >&5
27058 echo "$as_me: *** The Qt installation on this system appears to be broken." >&6;}
27059 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27060 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27061 { echo "$as_me:$LINENO: *** including --without-qt." >&5
27062 echo "$as_me: *** including --without-qt." >&6;}
27068 ac_cpp='$CPP $CPPFLAGS'
27069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27075 if test "${USE_RADIUS}" != "no"; then
27077 if test "x${RADIUS_DIR}" != "x"; then
27078 if test -d ${RADIUS_DIR}/lib; then
27079 pbxlibdir="-L${RADIUS_DIR}/lib"
27081 pbxlibdir="-L${RADIUS_DIR}"
27084 { echo "$as_me:$LINENO: checking for rc_read_config in -lradiusclient-ng" >&5
27085 echo $ECHO_N "checking for rc_read_config in -lradiusclient-ng... $ECHO_C" >&6; }
27086 if test "${ac_cv_lib_radiusclient_ng_rc_read_config+set}" = set; then
27087 echo $ECHO_N "(cached) $ECHO_C" >&6
27089 ac_check_lib_save_LIBS=$LIBS
27090 LIBS="-lradiusclient-ng ${pbxlibdir} $LIBS"
27091 cat >conftest.$ac_ext <<_ACEOF
27094 cat confdefs.h >>conftest.$ac_ext
27095 cat >>conftest.$ac_ext <<_ACEOF
27096 /* end confdefs.h. */
27098 /* Override any GCC internal prototype to avoid an error.
27099 Use char because int might match the return type of a GCC
27100 builtin and then its argument prototype would still apply. */
27104 char rc_read_config ();
27108 return rc_read_config ();
27113 rm -f conftest.$ac_objext conftest$ac_exeext
27114 if { (ac_try="$ac_link"
27115 case "(($ac_try" in
27116 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27117 *) ac_try_echo
=$ac_try;;
27119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27120 (eval "$ac_link") 2>conftest.er1
27122 grep -v '^ *+' conftest.er1
>conftest.err
27124 cat conftest.err
>&5
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); } && {
27127 test -z "$ac_c_werror_flag" ||
27128 test ! -s conftest.err
27129 } && test -s conftest
$ac_exeext &&
27130 $as_test_x conftest
$ac_exeext; then
27131 ac_cv_lib_radiusclient_ng_rc_read_config
=yes
27133 echo "$as_me: failed program was:" >&5
27134 sed 's/^/| /' conftest.
$ac_ext >&5
27136 ac_cv_lib_radiusclient_ng_rc_read_config
=no
27139 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27140 conftest
$ac_exeext conftest.
$ac_ext
27141 LIBS
=$ac_check_lib_save_LIBS
27143 { echo "$as_me:$LINENO: result: $ac_cv_lib_radiusclient_ng_rc_read_config" >&5
27144 echo "${ECHO_T}$ac_cv_lib_radiusclient_ng_rc_read_config" >&6; }
27145 if test $ac_cv_lib_radiusclient_ng_rc_read_config = yes; then
27146 AST_RADIUS_FOUND
=yes
27148 AST_RADIUS_FOUND
=no
27152 if test "${AST_RADIUS_FOUND}" = "yes"; then
27153 RADIUS_LIB
="-lradiusclient-ng "
27154 RADIUS_HEADER_FOUND
="1"
27155 if test "x${RADIUS_DIR}" != "x"; then
27156 RADIUS_LIB
="${pbxlibdir} ${RADIUS_LIB}"
27157 RADIUS_INCLUDE
="-I${RADIUS_DIR}/include"
27158 saved_cppflags
="${CPPFLAGS}"
27159 CPPFLAGS
="${CPPFLAGS} -I${RADIUS_DIR}/include"
27160 if test "xradiusclient-ng.h" != "x" ; then
27161 as_ac_Header
=`echo "ac_cv_header_${RADIUS_DIR}/include/radiusclient-ng.h" | $as_tr_sh`
27162 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27163 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
27164 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
27165 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27166 echo $ECHO_N "(cached) $ECHO_C" >&6
27168 ac_res
=`eval echo '${'$as_ac_Header'}'`
27169 { echo "$as_me:$LINENO: result: $ac_res" >&5
27170 echo "${ECHO_T}$ac_res" >&6; }
27172 # Is the header compilable?
27173 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h usability" >&5
27174 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h usability... $ECHO_C" >&6; }
27175 cat >conftest.
$ac_ext <<_ACEOF
27178 cat confdefs.h
>>conftest.
$ac_ext
27179 cat >>conftest.
$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 $ac_includes_default
27182 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
27184 rm -f conftest.
$ac_objext
27185 if { (ac_try
="$ac_compile"
27186 case "(($ac_try" in
27187 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27188 *) ac_try_echo=$ac_try;;
27190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27191 (eval "$ac_compile") 2>conftest.er1
27193 grep -v '^ *+' conftest.er1 >conftest.err
27195 cat conftest.err >&5
27196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27197 (exit $ac_status); } && {
27198 test -z "$ac_c_werror_flag" ||
27199 test ! -s conftest.err
27200 } && test -s conftest.$ac_objext; then
27201 ac_header_compiler=yes
27203 echo "$as_me: failed program was:" >&5
27204 sed 's/^/| /' conftest.$ac_ext >&5
27206 ac_header_compiler=no
27209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27210 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27211 echo "${ECHO_T}$ac_header_compiler" >&6; }
27213 # Is the header present?
27214 { echo "$as_me:$LINENO: checking ${RADIUS_DIR}/include/radiusclient-ng.h presence" >&5
27215 echo $ECHO_N "checking ${RADIUS_DIR}/include/radiusclient-ng.h presence... $ECHO_C" >&6; }
27216 cat >conftest.$ac_ext <<_ACEOF
27219 cat confdefs.h >>conftest.$ac_ext
27220 cat >>conftest.$ac_ext <<_ACEOF
27221 /* end confdefs.h. */
27222 #include <${RADIUS_DIR}/include/radiusclient-ng.h>
27224 if { (ac_try="$ac_cpp conftest.$ac_ext"
27225 case "(($ac_try" in
27226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27227 *) ac_try_echo
=$ac_try;;
27229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27230 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27232 grep -v '^ *+' conftest.er1
>conftest.err
27234 cat conftest.err
>&5
27235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27236 (exit $ac_status); } >/dev
/null
&& {
27237 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27238 test ! -s conftest.err
27240 ac_header_preproc
=yes
27242 echo "$as_me: failed program was:" >&5
27243 sed 's/^/| /' conftest.
$ac_ext >&5
27245 ac_header_preproc
=no
27248 rm -f conftest.err conftest.
$ac_ext
27249 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27250 echo "${ECHO_T}$ac_header_preproc" >&6; }
27252 # So? What about this header?
27253 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27255 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
27256 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&5
27258 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the compiler's result" >&2;}
27259 ac_header_preproc
=yes
27262 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&5
27263 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: present but cannot be compiled" >&2;}
27264 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&5
27265 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
27266 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&5
27267 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: see the Autoconf documentation" >&2;}
27268 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
27269 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
27270 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&5
27271 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
27272 { echo "$as_me:$LINENO: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&5
27273 echo "$as_me: WARNING: ${RADIUS_DIR}/include/radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
27277 { echo "$as_me:$LINENO: checking for ${RADIUS_DIR}/include/radiusclient-ng.h" >&5
27278 echo $ECHO_N "checking for ${RADIUS_DIR}/include/radiusclient-ng.h... $ECHO_C" >&6; }
27279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 eval "$as_ac_Header=\$ac_header_preproc"
27284 ac_res
=`eval echo '${'$as_ac_Header'}'`
27285 { echo "$as_me:$LINENO: result: $ac_res" >&5
27286 echo "${ECHO_T}$ac_res" >&6; }
27289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27290 RADIUS_HEADER_FOUND
=1
27292 RADIUS_HEADER_FOUND
=0
27297 CPPFLAGS
="${saved_cppflags}"
27299 if test "xradiusclient-ng.h" != "x" ; then
27300 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27301 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
27302 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
27303 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27304 echo $ECHO_N "(cached) $ECHO_C" >&6
27306 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
27307 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
27309 # Is the header compilable?
27310 { echo "$as_me:$LINENO: checking radiusclient-ng.h usability" >&5
27311 echo $ECHO_N "checking radiusclient-ng.h usability... $ECHO_C" >&6; }
27312 cat >conftest.
$ac_ext <<_ACEOF
27315 cat confdefs.h
>>conftest.
$ac_ext
27316 cat >>conftest.
$ac_ext <<_ACEOF
27317 /* end confdefs.h. */
27318 $ac_includes_default
27319 #include <radiusclient-ng.h>
27321 rm -f conftest.
$ac_objext
27322 if { (ac_try
="$ac_compile"
27323 case "(($ac_try" in
27324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27325 *) ac_try_echo=$ac_try;;
27327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27328 (eval "$ac_compile") 2>conftest.er1
27330 grep -v '^ *+' conftest.er1 >conftest.err
27332 cat conftest.err >&5
27333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27334 (exit $ac_status); } && {
27335 test -z "$ac_c_werror_flag" ||
27336 test ! -s conftest.err
27337 } && test -s conftest.$ac_objext; then
27338 ac_header_compiler=yes
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27343 ac_header_compiler=no
27346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27347 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27348 echo "${ECHO_T}$ac_header_compiler" >&6; }
27350 # Is the header present?
27351 { echo "$as_me:$LINENO: checking radiusclient-ng.h presence" >&5
27352 echo $ECHO_N "checking radiusclient-ng.h presence... $ECHO_C" >&6; }
27353 cat >conftest.$ac_ext <<_ACEOF
27356 cat confdefs.h >>conftest.$ac_ext
27357 cat >>conftest.$ac_ext <<_ACEOF
27358 /* end confdefs.h. */
27359 #include <radiusclient-ng.h>
27361 if { (ac_try="$ac_cpp conftest.$ac_ext"
27362 case "(($ac_try" in
27363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27364 *) ac_try_echo
=$ac_try;;
27366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27369 grep -v '^ *+' conftest.er1
>conftest.err
27371 cat conftest.err
>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); } >/dev
/null
&& {
27374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27375 test ! -s conftest.err
27377 ac_header_preproc
=yes
27379 echo "$as_me: failed program was:" >&5
27380 sed 's/^/| /' conftest.
$ac_ext >&5
27382 ac_header_preproc
=no
27385 rm -f conftest.err conftest.
$ac_ext
27386 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27387 echo "${ECHO_T}$ac_header_preproc" >&6; }
27389 # So? What about this header?
27390 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27392 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&5
27393 echo "$as_me: WARNING: radiusclient-ng.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27394 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&5
27395 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the compiler's result" >&2;}
27396 ac_header_preproc
=yes
27399 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: present but cannot be compiled" >&5
27400 echo "$as_me: WARNING: radiusclient-ng.h: present but cannot be compiled" >&2;}
27401 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&5
27402 echo "$as_me: WARNING: radiusclient-ng.h: check for missing prerequisite headers?" >&2;}
27403 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&5
27404 echo "$as_me: WARNING: radiusclient-ng.h: see the Autoconf documentation" >&2;}
27405 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&5
27406 echo "$as_me: WARNING: radiusclient-ng.h: section \"Present But Cannot Be Compiled\"" >&2;}
27407 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&5
27408 echo "$as_me: WARNING: radiusclient-ng.h: proceeding with the preprocessor's result" >&2;}
27409 { echo "$as_me:$LINENO: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&5
27410 echo "$as_me: WARNING: radiusclient-ng.h: in the future, the compiler will take precedence" >&2;}
27414 { echo "$as_me:$LINENO: checking for radiusclient-ng.h" >&5
27415 echo $ECHO_N "checking for radiusclient-ng.h... $ECHO_C" >&6; }
27416 if test "${ac_cv_header_radiusclient_ng_h+set}" = set; then
27417 echo $ECHO_N "(cached) $ECHO_C" >&6
27419 ac_cv_header_radiusclient_ng_h
=$ac_header_preproc
27421 { echo "$as_me:$LINENO: result: $ac_cv_header_radiusclient_ng_h" >&5
27422 echo "${ECHO_T}$ac_cv_header_radiusclient_ng_h" >&6; }
27425 if test $ac_cv_header_radiusclient_ng_h = yes; then
27426 RADIUS_HEADER_FOUND
=1
27428 RADIUS_HEADER_FOUND
=0
27434 if test "x${RADIUS_HEADER_FOUND}" = "x0" ; then
27435 if test -n "${RADIUS_MANDATORY}" ;
27437 { echo "$as_me:$LINENO: ***" >&5
27438 echo "$as_me: ***" >&6;}
27439 { echo "$as_me:$LINENO: *** It appears that you do not have the radiusclient-ng development package installed." >&5
27440 echo "$as_me: *** It appears that you do not have the radiusclient-ng development package installed." >&6;}
27441 { echo "$as_me:$LINENO: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&5
27442 echo "$as_me: *** Please install it to include ${RADIUS_DESCRIP} support, or re-run configure" >&6;}
27443 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
27444 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
27453 cat >>confdefs.h
<<_ACEOF
27454 #define HAVE_RADIUS 1
27458 elif test -n "${RADIUS_MANDATORY}";
27460 { echo "$as_me:$LINENO: ***" >&5
27461 echo "$as_me: ***" >&6;}
27462 { echo "$as_me:$LINENO: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&5
27463 echo "$as_me: *** The ${RADIUS_DESCRIP} installation on this system appears to be broken." >&6;}
27464 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27465 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27466 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${RADIUS_OPTION}" >&5
27467 echo "$as_me: *** without explicitly specifying --with-${RADIUS_OPTION}" >&6;}
27474 if test "${USE_SPEEX}" != "no"; then
27476 if test "x${SPEEX_DIR}" != "x"; then
27477 if test -d ${SPEEX_DIR}/lib
; then
27478 pbxlibdir
="-L${SPEEX_DIR}/lib"
27480 pbxlibdir
="-L${SPEEX_DIR}"
27483 { echo "$as_me:$LINENO: checking for speex_encode in -lspeex" >&5
27484 echo $ECHO_N "checking for speex_encode in -lspeex... $ECHO_C" >&6; }
27485 if test "${ac_cv_lib_speex_speex_encode+set}" = set; then
27486 echo $ECHO_N "(cached) $ECHO_C" >&6
27488 ac_check_lib_save_LIBS
=$LIBS
27489 LIBS
="-lspeex ${pbxlibdir} -lm $LIBS"
27490 cat >conftest.
$ac_ext <<_ACEOF
27493 cat confdefs.h
>>conftest.
$ac_ext
27494 cat >>conftest.
$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27497 /* Override any GCC internal prototype to avoid an error.
27498 Use char because int might match the return type of a GCC
27499 builtin and then its argument prototype would still apply. */
27503 char speex_encode ();
27507 return speex_encode ();
27512 rm -f conftest.
$ac_objext conftest
$ac_exeext
27513 if { (ac_try
="$ac_link"
27514 case "(($ac_try" in
27515 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27516 *) ac_try_echo=$ac_try;;
27518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27519 (eval "$ac_link") 2>conftest.er1
27521 grep -v '^ *+' conftest.er1 >conftest.err
27523 cat conftest.err >&5
27524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27525 (exit $ac_status); } && {
27526 test -z "$ac_c_werror_flag" ||
27527 test ! -s conftest.err
27528 } && test -s conftest$ac_exeext &&
27529 $as_test_x conftest$ac_exeext; then
27530 ac_cv_lib_speex_speex_encode=yes
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.$ac_ext >&5
27535 ac_cv_lib_speex_speex_encode=no
27538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27539 conftest$ac_exeext conftest.$ac_ext
27540 LIBS=$ac_check_lib_save_LIBS
27542 { echo "$as_me:$LINENO: result: $ac_cv_lib_speex_speex_encode" >&5
27543 echo "${ECHO_T}$ac_cv_lib_speex_speex_encode" >&6; }
27544 if test $ac_cv_lib_speex_speex_encode = yes; then
27545 AST_SPEEX_FOUND=yes
27551 if test "${AST_SPEEX_FOUND}" = "yes"; then
27552 SPEEX_LIB="-lspeex -lm"
27553 SPEEX_HEADER_FOUND="1"
27554 if test "x${SPEEX_DIR}" != "x"; then
27555 SPEEX_LIB="${pbxlibdir} ${SPEEX_LIB}"
27556 SPEEX_INCLUDE="-I${SPEEX_DIR}/include"
27557 saved_cppflags="${CPPFLAGS}"
27558 CPPFLAGS="${CPPFLAGS} -I${SPEEX_DIR}/include"
27559 if test "xspeex/speex.h" != "x" ; then
27560 as_ac_Header=`echo "ac_cv_header_${SPEEX_DIR}/include/speex/speex.h" |
$as_tr_sh`
27561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27562 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
27563 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
27564 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 ac_res=`eval echo '${'$as_ac_Header'}'`
27568 { echo "$as_me:$LINENO: result: $ac_res" >&5
27569 echo "${ECHO_T}$ac_res" >&6; }
27571 # Is the header compilable?
27572 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h usability" >&5
27573 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h usability... $ECHO_C" >&6; }
27574 cat >conftest.$ac_ext <<_ACEOF
27577 cat confdefs.h >>conftest.$ac_ext
27578 cat >>conftest.$ac_ext <<_ACEOF
27579 /* end confdefs.h. */
27580 $ac_includes_default
27581 #include <${SPEEX_DIR}/include/speex/speex.h>
27583 rm -f conftest.$ac_objext
27584 if { (ac_try="$ac_compile"
27585 case "(($ac_try" in
27586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27587 *) ac_try_echo
=$ac_try;;
27589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27590 (eval "$ac_compile") 2>conftest.er1
27592 grep -v '^ *+' conftest.er1
>conftest.err
27594 cat conftest.err
>&5
27595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27596 (exit $ac_status); } && {
27597 test -z "$ac_c_werror_flag" ||
27598 test ! -s conftest.err
27599 } && test -s conftest.
$ac_objext; then
27600 ac_header_compiler
=yes
27602 echo "$as_me: failed program was:" >&5
27603 sed 's/^/| /' conftest.
$ac_ext >&5
27605 ac_header_compiler
=no
27608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27609 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27610 echo "${ECHO_T}$ac_header_compiler" >&6; }
27612 # Is the header present?
27613 { echo "$as_me:$LINENO: checking ${SPEEX_DIR}/include/speex/speex.h presence" >&5
27614 echo $ECHO_N "checking ${SPEEX_DIR}/include/speex/speex.h presence... $ECHO_C" >&6; }
27615 cat >conftest.
$ac_ext <<_ACEOF
27618 cat confdefs.h
>>conftest.
$ac_ext
27619 cat >>conftest.
$ac_ext <<_ACEOF
27620 /* end confdefs.h. */
27621 #include <${SPEEX_DIR}/include/speex/speex.h>
27623 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27624 case "(($ac_try" in
27625 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27626 *) ac_try_echo=$ac_try;;
27628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27631 grep -v '^ *+' conftest.er1 >conftest.err
27633 cat conftest.err >&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); } >/dev/null && {
27636 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27637 test ! -s conftest.err
27639 ac_header_preproc=yes
27641 echo "$as_me: failed program was:" >&5
27642 sed 's/^/| /' conftest.$ac_ext >&5
27644 ac_header_preproc=no
27647 rm -f conftest.err conftest.$ac_ext
27648 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27649 echo "${ECHO_T}$ac_header_preproc" >&6; }
27651 # So? What about this header?
27652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27654 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
27655 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27656 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&5
27657 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the compiler's result" >&2;}
27658 ac_header_preproc=yes
27661 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&5
27662 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: present but cannot be compiled" >&2;}
27663 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&5
27664 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: check for missing prerequisite headers?" >&2;}
27665 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&5
27666 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: see the Autoconf documentation" >&2;}
27667 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
27668 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&5
27670 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: proceeding with the preprocessor's result" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&5
27672 echo "$as_me: WARNING: ${SPEEX_DIR}/include/speex/speex.h: in the future, the compiler will take precedence" >&2;}
27676 { echo "$as_me:$LINENO: checking for ${SPEEX_DIR}/include/speex/speex.h" >&5
27677 echo $ECHO_N "checking for ${SPEEX_DIR}/include/speex/speex.h... $ECHO_C" >&6; }
27678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27679 echo $ECHO_N "(cached) $ECHO_C" >&6
27681 eval "$as_ac_Header=\$ac_header_preproc"
27683 ac_res=`eval echo '${'$as_ac_Header'}'`
27684 { echo "$as_me:$LINENO: result: $ac_res" >&5
27685 echo "${ECHO_T}$ac_res" >&6; }
27688 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27689 SPEEX_HEADER_FOUND=1
27691 SPEEX_HEADER_FOUND=0
27696 CPPFLAGS="${saved_cppflags}"
27698 if test "xspeex/speex.h" != "x" ; then
27699 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27700 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
27701 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
27702 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27705 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
27706 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
27708 # Is the header compilable?
27709 { echo "$as_me:$LINENO: checking speex/speex.h usability" >&5
27710 echo $ECHO_N "checking speex/speex.h usability... $ECHO_C" >&6; }
27711 cat >conftest.$ac_ext <<_ACEOF
27714 cat confdefs.h >>conftest.$ac_ext
27715 cat >>conftest.$ac_ext <<_ACEOF
27716 /* end confdefs.h. */
27717 $ac_includes_default
27718 #include <speex/speex.h>
27720 rm -f conftest.$ac_objext
27721 if { (ac_try="$ac_compile"
27722 case "(($ac_try" in
27723 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27724 *) ac_try_echo
=$ac_try;;
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_compile") 2>conftest.er1
27729 grep -v '^ *+' conftest.er1
>conftest.err
27731 cat conftest.err
>&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } && {
27734 test -z "$ac_c_werror_flag" ||
27735 test ! -s conftest.err
27736 } && test -s conftest.
$ac_objext; then
27737 ac_header_compiler
=yes
27739 echo "$as_me: failed program was:" >&5
27740 sed 's/^/| /' conftest.
$ac_ext >&5
27742 ac_header_compiler
=no
27745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27746 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27747 echo "${ECHO_T}$ac_header_compiler" >&6; }
27749 # Is the header present?
27750 { echo "$as_me:$LINENO: checking speex/speex.h presence" >&5
27751 echo $ECHO_N "checking speex/speex.h presence... $ECHO_C" >&6; }
27752 cat >conftest.
$ac_ext <<_ACEOF
27755 cat confdefs.h
>>conftest.
$ac_ext
27756 cat >>conftest.
$ac_ext <<_ACEOF
27757 /* end confdefs.h. */
27758 #include <speex/speex.h>
27760 if { (ac_try
="$ac_cpp conftest.$ac_ext"
27761 case "(($ac_try" in
27762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27763 *) ac_try_echo=$ac_try;;
27765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
27768 grep -v '^ *+' conftest.er1 >conftest.err
27770 cat conftest.err >&5
27771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27772 (exit $ac_status); } >/dev/null && {
27773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
27774 test ! -s conftest.err
27776 ac_header_preproc=yes
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.$ac_ext >&5
27781 ac_header_preproc=no
27784 rm -f conftest.err conftest.$ac_ext
27785 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27786 echo "${ECHO_T}$ac_header_preproc" >&6; }
27788 # So? What about this header?
27789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27791 { echo "$as_me:$LINENO: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&5
27792 echo "$as_me: WARNING: speex/speex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27793 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the compiler's result" >&5
27794 echo "$as_me: WARNING: speex/speex.h: proceeding with the compiler's result" >&2;}
27795 ac_header_preproc=yes
27798 { echo "$as_me:$LINENO: WARNING: speex/speex.h: present but cannot be compiled" >&5
27799 echo "$as_me: WARNING: speex/speex.h: present but cannot be compiled" >&2;}
27800 { echo "$as_me:$LINENO: WARNING: speex/speex.h: check for missing prerequisite headers?" >&5
27801 echo "$as_me: WARNING: speex/speex.h: check for missing prerequisite headers?" >&2;}
27802 { echo "$as_me:$LINENO: WARNING: speex/speex.h: see the Autoconf documentation" >&5
27803 echo "$as_me: WARNING: speex/speex.h: see the Autoconf documentation" >&2;}
27804 { echo "$as_me:$LINENO: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&5
27805 echo "$as_me: WARNING: speex/speex.h: section \"Present But Cannot Be Compiled\"" >&2;}
27806 { echo "$as_me:$LINENO: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&5
27807 echo "$as_me: WARNING: speex/speex.h: proceeding with the preprocessor's result" >&2;}
27808 { echo "$as_me:$LINENO: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&5
27809 echo "$as_me: WARNING: speex/speex.h: in the future, the compiler will take precedence" >&2;}
27813 { echo "$as_me:$LINENO: checking for speex/speex.h" >&5
27814 echo $ECHO_N "checking for speex/speex.h... $ECHO_C" >&6; }
27815 if test "${ac_cv_header_speex_speex_h+set}" = set; then
27816 echo $ECHO_N "(cached) $ECHO_C" >&6
27818 ac_cv_header_speex_speex_h=$ac_header_preproc
27820 { echo "$as_me:$LINENO: result: $ac_cv_header_speex_speex_h" >&5
27821 echo "${ECHO_T}$ac_cv_header_speex_speex_h" >&6; }
27824 if test $ac_cv_header_speex_speex_h = yes; then
27825 SPEEX_HEADER_FOUND=1
27827 SPEEX_HEADER_FOUND=0
27833 if test "x${SPEEX_HEADER_FOUND}" = "x0" ; then
27834 if test -n "${SPEEX_MANDATORY}" ;
27836 { echo "$as_me:$LINENO: ***" >&5
27837 echo "$as_me: ***" >&6;}
27838 { echo "$as_me:$LINENO: *** It appears that you do not have the speex development package installed." >&5
27839 echo "$as_me: *** It appears that you do not have the speex development package installed." >&6;}
27840 { echo "$as_me:$LINENO: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&5
27841 echo "$as_me: *** Please install it to include ${SPEEX_DESCRIP} support, or re-run configure" >&6;}
27842 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
27843 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
27852 cat >>confdefs.h <<_ACEOF
27853 #define HAVE_SPEEX 1
27857 elif test -n "${SPEEX_MANDATORY}";
27859 { echo "$as_me:$LINENO: ***" >&5
27860 echo "$as_me: ***" >&6;}
27861 { echo "$as_me:$LINENO: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&5
27862 echo "$as_me: *** The ${SPEEX_DESCRIP} installation on this system appears to be broken." >&6;}
27863 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
27864 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
27865 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SPEEX_OPTION}" >&5
27866 echo "$as_me: *** without explicitly specifying --with-${SPEEX_OPTION}" >&6;}
27873 if test "${USE_SQLITE}" != "no"; then
27875 if test "x${SQLITE_DIR}" != "x"; then
27876 if test -d ${SQLITE_DIR}/lib; then
27877 pbxlibdir="-L${SQLITE_DIR}/lib"
27879 pbxlibdir="-L${SQLITE_DIR}"
27882 { echo "$as_me:$LINENO: checking for sqlite_exec in -lsqlite" >&5
27883 echo $ECHO_N "checking for sqlite_exec in -lsqlite... $ECHO_C" >&6; }
27884 if test "${ac_cv_lib_sqlite_sqlite_exec+set}" = set; then
27885 echo $ECHO_N "(cached) $ECHO_C" >&6
27887 ac_check_lib_save_LIBS=$LIBS
27888 LIBS="-lsqlite ${pbxlibdir} $LIBS"
27889 cat >conftest.$ac_ext <<_ACEOF
27892 cat confdefs.h >>conftest.$ac_ext
27893 cat >>conftest.$ac_ext <<_ACEOF
27894 /* end confdefs.h. */
27896 /* Override any GCC internal prototype to avoid an error.
27897 Use char because int might match the return type of a GCC
27898 builtin and then its argument prototype would still apply. */
27902 char sqlite_exec ();
27906 return sqlite_exec ();
27911 rm -f conftest.$ac_objext conftest$ac_exeext
27912 if { (ac_try="$ac_link"
27913 case "(($ac_try" in
27914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
27915 *) ac_try_echo
=$ac_try;;
27917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27918 (eval "$ac_link") 2>conftest.er1
27920 grep -v '^ *+' conftest.er1
>conftest.err
27922 cat conftest.err
>&5
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); } && {
27925 test -z "$ac_c_werror_flag" ||
27926 test ! -s conftest.err
27927 } && test -s conftest
$ac_exeext &&
27928 $as_test_x conftest
$ac_exeext; then
27929 ac_cv_lib_sqlite_sqlite_exec
=yes
27931 echo "$as_me: failed program was:" >&5
27932 sed 's/^/| /' conftest.
$ac_ext >&5
27934 ac_cv_lib_sqlite_sqlite_exec
=no
27937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27938 conftest
$ac_exeext conftest.
$ac_ext
27939 LIBS
=$ac_check_lib_save_LIBS
27941 { echo "$as_me:$LINENO: result: $ac_cv_lib_sqlite_sqlite_exec" >&5
27942 echo "${ECHO_T}$ac_cv_lib_sqlite_sqlite_exec" >&6; }
27943 if test $ac_cv_lib_sqlite_sqlite_exec = yes; then
27944 AST_SQLITE_FOUND
=yes
27946 AST_SQLITE_FOUND
=no
27950 if test "${AST_SQLITE_FOUND}" = "yes"; then
27951 SQLITE_LIB
="-lsqlite "
27952 SQLITE_HEADER_FOUND
="1"
27953 if test "x${SQLITE_DIR}" != "x"; then
27954 SQLITE_LIB
="${pbxlibdir} ${SQLITE_LIB}"
27955 SQLITE_INCLUDE
="-I${SQLITE_DIR}/include"
27956 saved_cppflags
="${CPPFLAGS}"
27957 CPPFLAGS
="${CPPFLAGS} -I${SQLITE_DIR}/include"
27958 if test "xsqlite.h" != "x" ; then
27959 as_ac_Header
=`echo "ac_cv_header_${SQLITE_DIR}/include/sqlite.h" | $as_tr_sh`
27960 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27961 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
27962 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
27963 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27964 echo $ECHO_N "(cached) $ECHO_C" >&6
27966 ac_res
=`eval echo '${'$as_ac_Header'}'`
27967 { echo "$as_me:$LINENO: result: $ac_res" >&5
27968 echo "${ECHO_T}$ac_res" >&6; }
27970 # Is the header compilable?
27971 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h usability" >&5
27972 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h usability... $ECHO_C" >&6; }
27973 cat >conftest.
$ac_ext <<_ACEOF
27976 cat confdefs.h
>>conftest.
$ac_ext
27977 cat >>conftest.
$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27979 $ac_includes_default
27980 #include <${SQLITE_DIR}/include/sqlite.h>
27982 rm -f conftest.
$ac_objext
27983 if { (ac_try
="$ac_compile"
27984 case "(($ac_try" in
27985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
27986 *) ac_try_echo=$ac_try;;
27988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27989 (eval "$ac_compile") 2>conftest.er1
27991 grep -v '^ *+' conftest.er1 >conftest.err
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } && {
27996 test -z "$ac_c_werror_flag" ||
27997 test ! -s conftest.err
27998 } && test -s conftest.$ac_objext; then
27999 ac_header_compiler=yes
28001 echo "$as_me: failed program was:" >&5
28002 sed 's/^/| /' conftest.$ac_ext >&5
28004 ac_header_compiler=no
28007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28009 echo "${ECHO_T}$ac_header_compiler" >&6; }
28011 # Is the header present?
28012 { echo "$as_me:$LINENO: checking ${SQLITE_DIR}/include/sqlite.h presence" >&5
28013 echo $ECHO_N "checking ${SQLITE_DIR}/include/sqlite.h presence... $ECHO_C" >&6; }
28014 cat >conftest.$ac_ext <<_ACEOF
28017 cat confdefs.h >>conftest.$ac_ext
28018 cat >>conftest.$ac_ext <<_ACEOF
28019 /* end confdefs.h. */
28020 #include <${SQLITE_DIR}/include/sqlite.h>
28022 if { (ac_try="$ac_cpp conftest.$ac_ext"
28023 case "(($ac_try" in
28024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28025 *) ac_try_echo
=$ac_try;;
28027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28030 grep -v '^ *+' conftest.er1
>conftest.err
28032 cat conftest.err
>&5
28033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28034 (exit $ac_status); } >/dev
/null
&& {
28035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28036 test ! -s conftest.err
28038 ac_header_preproc
=yes
28040 echo "$as_me: failed program was:" >&5
28041 sed 's/^/| /' conftest.
$ac_ext >&5
28043 ac_header_preproc
=no
28046 rm -f conftest.err conftest.
$ac_ext
28047 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28048 echo "${ECHO_T}$ac_header_preproc" >&6; }
28050 # So? What about this header?
28051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28053 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
28054 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28055 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&5
28056 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the compiler's result" >&2;}
28057 ac_header_preproc
=yes
28060 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&5
28061 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: present but cannot be compiled" >&2;}
28062 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&5
28063 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: check for missing prerequisite headers?" >&2;}
28064 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&5
28065 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: see the Autoconf documentation" >&2;}
28066 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
28067 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
28068 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&5
28069 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: proceeding with the preprocessor's result" >&2;}
28070 { echo "$as_me:$LINENO: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&5
28071 echo "$as_me: WARNING: ${SQLITE_DIR}/include/sqlite.h: in the future, the compiler will take precedence" >&2;}
28075 { echo "$as_me:$LINENO: checking for ${SQLITE_DIR}/include/sqlite.h" >&5
28076 echo $ECHO_N "checking for ${SQLITE_DIR}/include/sqlite.h... $ECHO_C" >&6; }
28077 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28078 echo $ECHO_N "(cached) $ECHO_C" >&6
28080 eval "$as_ac_Header=\$ac_header_preproc"
28082 ac_res
=`eval echo '${'$as_ac_Header'}'`
28083 { echo "$as_me:$LINENO: result: $ac_res" >&5
28084 echo "${ECHO_T}$ac_res" >&6; }
28087 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28088 SQLITE_HEADER_FOUND
=1
28090 SQLITE_HEADER_FOUND
=0
28095 CPPFLAGS
="${saved_cppflags}"
28097 if test "xsqlite.h" != "x" ; then
28098 if test "${ac_cv_header_sqlite_h+set}" = set; then
28099 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
28100 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
28101 if test "${ac_cv_header_sqlite_h+set}" = set; then
28102 echo $ECHO_N "(cached) $ECHO_C" >&6
28104 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
28105 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
28107 # Is the header compilable?
28108 { echo "$as_me:$LINENO: checking sqlite.h usability" >&5
28109 echo $ECHO_N "checking sqlite.h usability... $ECHO_C" >&6; }
28110 cat >conftest.
$ac_ext <<_ACEOF
28113 cat confdefs.h
>>conftest.
$ac_ext
28114 cat >>conftest.
$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116 $ac_includes_default
28117 #include <sqlite.h>
28119 rm -f conftest.
$ac_objext
28120 if { (ac_try
="$ac_compile"
28121 case "(($ac_try" in
28122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28123 *) ac_try_echo=$ac_try;;
28125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28126 (eval "$ac_compile") 2>conftest.er1
28128 grep -v '^ *+' conftest.er1 >conftest.err
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } && {
28133 test -z "$ac_c_werror_flag" ||
28134 test ! -s conftest.err
28135 } && test -s conftest.$ac_objext; then
28136 ac_header_compiler=yes
28138 echo "$as_me: failed program was:" >&5
28139 sed 's/^/| /' conftest.$ac_ext >&5
28141 ac_header_compiler=no
28144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28145 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28146 echo "${ECHO_T}$ac_header_compiler" >&6; }
28148 # Is the header present?
28149 { echo "$as_me:$LINENO: checking sqlite.h presence" >&5
28150 echo $ECHO_N "checking sqlite.h presence... $ECHO_C" >&6; }
28151 cat >conftest.$ac_ext <<_ACEOF
28154 cat confdefs.h >>conftest.$ac_ext
28155 cat >>conftest.$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28157 #include <sqlite.h>
28159 if { (ac_try="$ac_cpp conftest.$ac_ext"
28160 case "(($ac_try" in
28161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28162 *) ac_try_echo
=$ac_try;;
28164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28167 grep -v '^ *+' conftest.er1
>conftest.err
28169 cat conftest.err
>&5
28170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28171 (exit $ac_status); } >/dev
/null
&& {
28172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28173 test ! -s conftest.err
28175 ac_header_preproc
=yes
28177 echo "$as_me: failed program was:" >&5
28178 sed 's/^/| /' conftest.
$ac_ext >&5
28180 ac_header_preproc
=no
28183 rm -f conftest.err conftest.
$ac_ext
28184 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28185 echo "${ECHO_T}$ac_header_preproc" >&6; }
28187 # So? What about this header?
28188 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28190 { echo "$as_me:$LINENO: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&5
28191 echo "$as_me: WARNING: sqlite.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28192 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the compiler's result" >&5
28193 echo "$as_me: WARNING: sqlite.h: proceeding with the compiler's result" >&2;}
28194 ac_header_preproc
=yes
28197 { echo "$as_me:$LINENO: WARNING: sqlite.h: present but cannot be compiled" >&5
28198 echo "$as_me: WARNING: sqlite.h: present but cannot be compiled" >&2;}
28199 { echo "$as_me:$LINENO: WARNING: sqlite.h: check for missing prerequisite headers?" >&5
28200 echo "$as_me: WARNING: sqlite.h: check for missing prerequisite headers?" >&2;}
28201 { echo "$as_me:$LINENO: WARNING: sqlite.h: see the Autoconf documentation" >&5
28202 echo "$as_me: WARNING: sqlite.h: see the Autoconf documentation" >&2;}
28203 { echo "$as_me:$LINENO: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&5
28204 echo "$as_me: WARNING: sqlite.h: section \"Present But Cannot Be Compiled\"" >&2;}
28205 { echo "$as_me:$LINENO: WARNING: sqlite.h: proceeding with the preprocessor's result" >&5
28206 echo "$as_me: WARNING: sqlite.h: proceeding with the preprocessor's result" >&2;}
28207 { echo "$as_me:$LINENO: WARNING: sqlite.h: in the future, the compiler will take precedence" >&5
28208 echo "$as_me: WARNING: sqlite.h: in the future, the compiler will take precedence" >&2;}
28212 { echo "$as_me:$LINENO: checking for sqlite.h" >&5
28213 echo $ECHO_N "checking for sqlite.h... $ECHO_C" >&6; }
28214 if test "${ac_cv_header_sqlite_h+set}" = set; then
28215 echo $ECHO_N "(cached) $ECHO_C" >&6
28217 ac_cv_header_sqlite_h
=$ac_header_preproc
28219 { echo "$as_me:$LINENO: result: $ac_cv_header_sqlite_h" >&5
28220 echo "${ECHO_T}$ac_cv_header_sqlite_h" >&6; }
28223 if test $ac_cv_header_sqlite_h = yes; then
28224 SQLITE_HEADER_FOUND
=1
28226 SQLITE_HEADER_FOUND
=0
28232 if test "x${SQLITE_HEADER_FOUND}" = "x0" ; then
28233 if test -n "${SQLITE_MANDATORY}" ;
28235 { echo "$as_me:$LINENO: ***" >&5
28236 echo "$as_me: ***" >&6;}
28237 { echo "$as_me:$LINENO: *** It appears that you do not have the sqlite development package installed." >&5
28238 echo "$as_me: *** It appears that you do not have the sqlite development package installed." >&6;}
28239 { echo "$as_me:$LINENO: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&5
28240 echo "$as_me: *** Please install it to include ${SQLITE_DESCRIP} support, or re-run configure" >&6;}
28241 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
28242 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
28251 cat >>confdefs.h
<<_ACEOF
28252 #define HAVE_SQLITE 1
28256 elif test -n "${SQLITE_MANDATORY}";
28258 { echo "$as_me:$LINENO: ***" >&5
28259 echo "$as_me: ***" >&6;}
28260 { echo "$as_me:$LINENO: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&5
28261 echo "$as_me: *** The ${SQLITE_DESCRIP} installation on this system appears to be broken." >&6;}
28262 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28263 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28264 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${SQLITE_OPTION}" >&5
28265 echo "$as_me: *** without explicitly specifying --with-${SQLITE_OPTION}" >&6;}
28272 if test "${USE_OPENSSL}" != "no"; then
28274 if test "x${OPENSSL_DIR}" != "x"; then
28275 if test -d ${OPENSSL_DIR}/lib
; then
28276 pbxlibdir
="-L${OPENSSL_DIR}/lib"
28278 pbxlibdir
="-L${OPENSSL_DIR}"
28281 { echo "$as_me:$LINENO: checking for ssl2_connect in -lssl" >&5
28282 echo $ECHO_N "checking for ssl2_connect in -lssl... $ECHO_C" >&6; }
28283 if test "${ac_cv_lib_ssl_ssl2_connect+set}" = set; then
28284 echo $ECHO_N "(cached) $ECHO_C" >&6
28286 ac_check_lib_save_LIBS
=$LIBS
28287 LIBS
="-lssl ${pbxlibdir} -lcrypto $LIBS"
28288 cat >conftest.
$ac_ext <<_ACEOF
28291 cat confdefs.h
>>conftest.
$ac_ext
28292 cat >>conftest.
$ac_ext <<_ACEOF
28293 /* end confdefs.h. */
28295 /* Override any GCC internal prototype to avoid an error.
28296 Use char because int might match the return type of a GCC
28297 builtin and then its argument prototype would still apply. */
28301 char ssl2_connect ();
28305 return ssl2_connect ();
28310 rm -f conftest.
$ac_objext conftest
$ac_exeext
28311 if { (ac_try
="$ac_link"
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_link") 2>conftest.er1
28319 grep -v '^ *+' conftest.er1 >conftest.err
28321 cat conftest.err >&5
28322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28323 (exit $ac_status); } && {
28324 test -z "$ac_c_werror_flag" ||
28325 test ! -s conftest.err
28326 } && test -s conftest$ac_exeext &&
28327 $as_test_x conftest$ac_exeext; then
28328 ac_cv_lib_ssl_ssl2_connect=yes
28330 echo "$as_me: failed program was:" >&5
28331 sed 's/^/| /' conftest.$ac_ext >&5
28333 ac_cv_lib_ssl_ssl2_connect=no
28336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28337 conftest$ac_exeext conftest.$ac_ext
28338 LIBS=$ac_check_lib_save_LIBS
28340 { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_ssl2_connect" >&5
28341 echo "${ECHO_T}$ac_cv_lib_ssl_ssl2_connect" >&6; }
28342 if test $ac_cv_lib_ssl_ssl2_connect = yes; then
28343 AST_OPENSSL_FOUND=yes
28345 AST_OPENSSL_FOUND=no
28349 if test "${AST_OPENSSL_FOUND}" = "yes"; then
28350 OPENSSL_LIB="-lssl -lcrypto"
28351 OPENSSL_HEADER_FOUND="1"
28352 if test "x${OPENSSL_DIR}" != "x"; then
28353 OPENSSL_LIB="${pbxlibdir} ${OPENSSL_LIB}"
28354 OPENSSL_INCLUDE="-I${OPENSSL_DIR}/include"
28355 saved_cppflags="${CPPFLAGS}"
28356 CPPFLAGS="${CPPFLAGS} -I${OPENSSL_DIR}/include"
28357 if test "xopenssl/ssl.h" != "x" ; then
28358 as_ac_Header=`echo "ac_cv_header_${OPENSSL_DIR}/include/openssl/ssl.h" |
$as_tr_sh`
28359 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28360 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
28361 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
28362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 ac_res=`eval echo '${'$as_ac_Header'}'`
28366 { echo "$as_me:$LINENO: result: $ac_res" >&5
28367 echo "${ECHO_T}$ac_res" >&6; }
28369 # Is the header compilable?
28370 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h usability" >&5
28371 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h usability... $ECHO_C" >&6; }
28372 cat >conftest.$ac_ext <<_ACEOF
28375 cat confdefs.h >>conftest.$ac_ext
28376 cat >>conftest.$ac_ext <<_ACEOF
28377 /* end confdefs.h. */
28378 $ac_includes_default
28379 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
28381 rm -f conftest.$ac_objext
28382 if { (ac_try="$ac_compile"
28383 case "(($ac_try" in
28384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28385 *) ac_try_echo
=$ac_try;;
28387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28388 (eval "$ac_compile") 2>conftest.er1
28390 grep -v '^ *+' conftest.er1
>conftest.err
28392 cat conftest.err
>&5
28393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28394 (exit $ac_status); } && {
28395 test -z "$ac_c_werror_flag" ||
28396 test ! -s conftest.err
28397 } && test -s conftest.
$ac_objext; then
28398 ac_header_compiler
=yes
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.
$ac_ext >&5
28403 ac_header_compiler
=no
28406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28407 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28408 echo "${ECHO_T}$ac_header_compiler" >&6; }
28410 # Is the header present?
28411 { echo "$as_me:$LINENO: checking ${OPENSSL_DIR}/include/openssl/ssl.h presence" >&5
28412 echo $ECHO_N "checking ${OPENSSL_DIR}/include/openssl/ssl.h presence... $ECHO_C" >&6; }
28413 cat >conftest.
$ac_ext <<_ACEOF
28416 cat confdefs.h
>>conftest.
$ac_ext
28417 cat >>conftest.
$ac_ext <<_ACEOF
28418 /* end confdefs.h. */
28419 #include <${OPENSSL_DIR}/include/openssl/ssl.h>
28421 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28422 case "(($ac_try" in
28423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28424 *) ac_try_echo=$ac_try;;
28426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28427 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28429 grep -v '^ *+' conftest.er1 >conftest.err
28431 cat conftest.err >&5
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); } >/dev/null && {
28434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28435 test ! -s conftest.err
28437 ac_header_preproc=yes
28439 echo "$as_me: failed program was:" >&5
28440 sed 's/^/| /' conftest.$ac_ext >&5
28442 ac_header_preproc=no
28445 rm -f conftest.err conftest.$ac_ext
28446 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28447 echo "${ECHO_T}$ac_header_preproc" >&6; }
28449 # So? What about this header?
28450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28452 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28453 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28454 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&5
28455 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the compiler's result" >&2;}
28456 ac_header_preproc=yes
28459 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&5
28460 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: present but cannot be compiled" >&2;}
28461 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&5
28462 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: check for missing prerequisite headers?" >&2;}
28463 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&5
28464 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: see the Autoconf documentation" >&2;}
28465 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
28466 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28467 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&5
28468 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
28469 { echo "$as_me:$LINENO: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&5
28470 echo "$as_me: WARNING: ${OPENSSL_DIR}/include/openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
28474 { echo "$as_me:$LINENO: checking for ${OPENSSL_DIR}/include/openssl/ssl.h" >&5
28475 echo $ECHO_N "checking for ${OPENSSL_DIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
28476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28477 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 eval "$as_ac_Header=\$ac_header_preproc"
28481 ac_res=`eval echo '${'$as_ac_Header'}'`
28482 { echo "$as_me:$LINENO: result: $ac_res" >&5
28483 echo "${ECHO_T}$ac_res" >&6; }
28486 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28487 OPENSSL_HEADER_FOUND=1
28489 OPENSSL_HEADER_FOUND=0
28494 CPPFLAGS="${saved_cppflags}"
28496 if test "xopenssl/ssl.h" != "x" ; then
28497 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28498 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
28499 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
28500 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28501 echo $ECHO_N "(cached) $ECHO_C" >&6
28503 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
28504 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
28506 # Is the header compilable?
28507 { echo "$as_me:$LINENO: checking openssl/ssl.h usability" >&5
28508 echo $ECHO_N "checking openssl/ssl.h usability... $ECHO_C" >&6; }
28509 cat >conftest.$ac_ext <<_ACEOF
28512 cat confdefs.h >>conftest.$ac_ext
28513 cat >>conftest.$ac_ext <<_ACEOF
28514 /* end confdefs.h. */
28515 $ac_includes_default
28516 #include <openssl/ssl.h>
28518 rm -f conftest.$ac_objext
28519 if { (ac_try="$ac_compile"
28520 case "(($ac_try" in
28521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28522 *) ac_try_echo
=$ac_try;;
28524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28525 (eval "$ac_compile") 2>conftest.er1
28527 grep -v '^ *+' conftest.er1
>conftest.err
28529 cat conftest.err
>&5
28530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28531 (exit $ac_status); } && {
28532 test -z "$ac_c_werror_flag" ||
28533 test ! -s conftest.err
28534 } && test -s conftest.
$ac_objext; then
28535 ac_header_compiler
=yes
28537 echo "$as_me: failed program was:" >&5
28538 sed 's/^/| /' conftest.
$ac_ext >&5
28540 ac_header_compiler
=no
28543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28544 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28545 echo "${ECHO_T}$ac_header_compiler" >&6; }
28547 # Is the header present?
28548 { echo "$as_me:$LINENO: checking openssl/ssl.h presence" >&5
28549 echo $ECHO_N "checking openssl/ssl.h presence... $ECHO_C" >&6; }
28550 cat >conftest.
$ac_ext <<_ACEOF
28553 cat confdefs.h
>>conftest.
$ac_ext
28554 cat >>conftest.
$ac_ext <<_ACEOF
28555 /* end confdefs.h. */
28556 #include <openssl/ssl.h>
28558 if { (ac_try
="$ac_cpp conftest.$ac_ext"
28559 case "(($ac_try" in
28560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28561 *) ac_try_echo=$ac_try;;
28563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28564 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28566 grep -v '^ *+' conftest.er1 >conftest.err
28568 cat conftest.err >&5
28569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28570 (exit $ac_status); } >/dev/null && {
28571 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28572 test ! -s conftest.err
28574 ac_header_preproc=yes
28576 echo "$as_me: failed program was:" >&5
28577 sed 's/^/| /' conftest.$ac_ext >&5
28579 ac_header_preproc=no
28582 rm -f conftest.err conftest.$ac_ext
28583 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28584 echo "${ECHO_T}$ac_header_preproc" >&6; }
28586 # So? What about this header?
28587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28589 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&5
28590 echo "$as_me: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28591 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&5
28592 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the compiler's result" >&2;}
28593 ac_header_preproc=yes
28596 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: present but cannot be compiled" >&5
28597 echo "$as_me: WARNING: openssl/ssl.h: present but cannot be compiled" >&2;}
28598 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&5
28599 echo "$as_me: WARNING: openssl/ssl.h: check for missing prerequisite headers?" >&2;}
28600 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: see the Autoconf documentation" >&5
28601 echo "$as_me: WARNING: openssl/ssl.h: see the Autoconf documentation" >&2;}
28602 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&5
28603 echo "$as_me: WARNING: openssl/ssl.h: section \"Present But Cannot Be Compiled\"" >&2;}
28604 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&5
28605 echo "$as_me: WARNING: openssl/ssl.h: proceeding with the preprocessor's result" >&2;}
28606 { echo "$as_me:$LINENO: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&5
28607 echo "$as_me: WARNING: openssl/ssl.h: in the future, the compiler will take precedence" >&2;}
28611 { echo "$as_me:$LINENO: checking for openssl/ssl.h" >&5
28612 echo $ECHO_N "checking for openssl/ssl.h... $ECHO_C" >&6; }
28613 if test "${ac_cv_header_openssl_ssl_h+set}" = set; then
28614 echo $ECHO_N "(cached) $ECHO_C" >&6
28616 ac_cv_header_openssl_ssl_h=$ac_header_preproc
28618 { echo "$as_me:$LINENO: result: $ac_cv_header_openssl_ssl_h" >&5
28619 echo "${ECHO_T}$ac_cv_header_openssl_ssl_h" >&6; }
28622 if test $ac_cv_header_openssl_ssl_h = yes; then
28623 OPENSSL_HEADER_FOUND=1
28625 OPENSSL_HEADER_FOUND=0
28631 if test "x${OPENSSL_HEADER_FOUND}" = "x0" ; then
28632 if test -n "${OPENSSL_MANDATORY}" ;
28634 { echo "$as_me:$LINENO: ***" >&5
28635 echo "$as_me: ***" >&6;}
28636 { echo "$as_me:$LINENO: *** It appears that you do not have the ssl development package installed." >&5
28637 echo "$as_me: *** It appears that you do not have the ssl development package installed." >&6;}
28638 { echo "$as_me:$LINENO: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&5
28639 echo "$as_me: *** Please install it to include ${OPENSSL_DESCRIP} support, or re-run configure" >&6;}
28640 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
28641 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
28650 cat >>confdefs.h <<_ACEOF
28651 #define HAVE_OPENSSL 1
28655 elif test -n "${OPENSSL_MANDATORY}";
28657 { echo "$as_me:$LINENO: ***" >&5
28658 echo "$as_me: ***" >&6;}
28659 { echo "$as_me:$LINENO: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&5
28660 echo "$as_me: *** The ${OPENSSL_DESCRIP} installation on this system appears to be broken." >&6;}
28661 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
28662 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
28663 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&5
28664 echo "$as_me: *** without explicitly specifying --with-${OPENSSL_OPTION}" >&6;}
28669 if test "$PBX_OPENSSL" = "1";
28672 if test "${USE_OSPTK}" != "no"; then
28674 if test "x${OSPTK_DIR}" != "x"; then
28675 if test -d ${OSPTK_DIR}/lib; then
28676 pbxlibdir="-L${OSPTK_DIR}/lib"
28678 pbxlibdir="-L${OSPTK_DIR}"
28681 { echo "$as_me:$LINENO: checking for OSPPCryptoDecrypt in -losptk" >&5
28682 echo $ECHO_N "checking for OSPPCryptoDecrypt in -losptk... $ECHO_C" >&6; }
28683 if test "${ac_cv_lib_osptk_OSPPCryptoDecrypt+set}" = set; then
28684 echo $ECHO_N "(cached) $ECHO_C" >&6
28686 ac_check_lib_save_LIBS=$LIBS
28687 LIBS="-losptk ${pbxlibdir} -lcrypto -lssl $LIBS"
28688 cat >conftest.$ac_ext <<_ACEOF
28691 cat confdefs.h >>conftest.$ac_ext
28692 cat >>conftest.$ac_ext <<_ACEOF
28693 /* end confdefs.h. */
28695 /* Override any GCC internal prototype to avoid an error.
28696 Use char because int might match the return type of a GCC
28697 builtin and then its argument prototype would still apply. */
28701 char OSPPCryptoDecrypt ();
28705 return OSPPCryptoDecrypt ();
28710 rm -f conftest.$ac_objext conftest$ac_exeext
28711 if { (ac_try="$ac_link"
28712 case "(($ac_try" in
28713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28714 *) ac_try_echo
=$ac_try;;
28716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28717 (eval "$ac_link") 2>conftest.er1
28719 grep -v '^ *+' conftest.er1
>conftest.err
28721 cat conftest.err
>&5
28722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723 (exit $ac_status); } && {
28724 test -z "$ac_c_werror_flag" ||
28725 test ! -s conftest.err
28726 } && test -s conftest
$ac_exeext &&
28727 $as_test_x conftest
$ac_exeext; then
28728 ac_cv_lib_osptk_OSPPCryptoDecrypt
=yes
28730 echo "$as_me: failed program was:" >&5
28731 sed 's/^/| /' conftest.
$ac_ext >&5
28733 ac_cv_lib_osptk_OSPPCryptoDecrypt
=no
28736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28737 conftest
$ac_exeext conftest.
$ac_ext
28738 LIBS
=$ac_check_lib_save_LIBS
28740 { echo "$as_me:$LINENO: result: $ac_cv_lib_osptk_OSPPCryptoDecrypt" >&5
28741 echo "${ECHO_T}$ac_cv_lib_osptk_OSPPCryptoDecrypt" >&6; }
28742 if test $ac_cv_lib_osptk_OSPPCryptoDecrypt = yes; then
28743 AST_OSPTK_FOUND
=yes
28749 if test "${AST_OSPTK_FOUND}" = "yes"; then
28750 OSPTK_LIB
="-losptk -lcrypto -lssl"
28751 OSPTK_HEADER_FOUND
="1"
28752 if test "x${OSPTK_DIR}" != "x"; then
28753 OSPTK_LIB
="${pbxlibdir} ${OSPTK_LIB}"
28754 OSPTK_INCLUDE
="-I${OSPTK_DIR}/include"
28755 saved_cppflags
="${CPPFLAGS}"
28756 CPPFLAGS
="${CPPFLAGS} -I${OSPTK_DIR}/include"
28757 if test "xosp/osp.h" != "x" ; then
28758 as_ac_Header
=`echo "ac_cv_header_${OSPTK_DIR}/include/osp/osp.h" | $as_tr_sh`
28759 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28760 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
28761 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
28762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 ac_res
=`eval echo '${'$as_ac_Header'}'`
28766 { echo "$as_me:$LINENO: result: $ac_res" >&5
28767 echo "${ECHO_T}$ac_res" >&6; }
28769 # Is the header compilable?
28770 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h usability" >&5
28771 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h usability... $ECHO_C" >&6; }
28772 cat >conftest.
$ac_ext <<_ACEOF
28775 cat confdefs.h
>>conftest.
$ac_ext
28776 cat >>conftest.
$ac_ext <<_ACEOF
28777 /* end confdefs.h. */
28778 $ac_includes_default
28779 #include <${OSPTK_DIR}/include/osp/osp.h>
28781 rm -f conftest.
$ac_objext
28782 if { (ac_try
="$ac_compile"
28783 case "(($ac_try" in
28784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_compile") 2>conftest.er1
28790 grep -v '^ *+' conftest.er1 >conftest.err
28792 cat conftest.err >&5
28793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794 (exit $ac_status); } && {
28795 test -z "$ac_c_werror_flag" ||
28796 test ! -s conftest.err
28797 } && test -s conftest.$ac_objext; then
28798 ac_header_compiler=yes
28800 echo "$as_me: failed program was:" >&5
28801 sed 's/^/| /' conftest.$ac_ext >&5
28803 ac_header_compiler=no
28806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28807 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28808 echo "${ECHO_T}$ac_header_compiler" >&6; }
28810 # Is the header present?
28811 { echo "$as_me:$LINENO: checking ${OSPTK_DIR}/include/osp/osp.h presence" >&5
28812 echo $ECHO_N "checking ${OSPTK_DIR}/include/osp/osp.h presence... $ECHO_C" >&6; }
28813 cat >conftest.$ac_ext <<_ACEOF
28816 cat confdefs.h >>conftest.$ac_ext
28817 cat >>conftest.$ac_ext <<_ACEOF
28818 /* end confdefs.h. */
28819 #include <${OSPTK_DIR}/include/osp/osp.h>
28821 if { (ac_try="$ac_cpp conftest.$ac_ext"
28822 case "(($ac_try" in
28823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28824 *) ac_try_echo
=$ac_try;;
28826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28827 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28829 grep -v '^ *+' conftest.er1
>conftest.err
28831 cat conftest.err
>&5
28832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28833 (exit $ac_status); } >/dev
/null
&& {
28834 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28835 test ! -s conftest.err
28837 ac_header_preproc
=yes
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.
$ac_ext >&5
28842 ac_header_preproc
=no
28845 rm -f conftest.err conftest.
$ac_ext
28846 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28847 echo "${ECHO_T}$ac_header_preproc" >&6; }
28849 # So? What about this header?
28850 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28852 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
28853 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28854 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&5
28855 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the compiler's result" >&2;}
28856 ac_header_preproc
=yes
28859 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&5
28860 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: present but cannot be compiled" >&2;}
28861 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&5
28862 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: check for missing prerequisite headers?" >&2;}
28863 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&5
28864 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: see the Autoconf documentation" >&2;}
28865 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
28866 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
28867 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&5
28868 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: proceeding with the preprocessor's result" >&2;}
28869 { echo "$as_me:$LINENO: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&5
28870 echo "$as_me: WARNING: ${OSPTK_DIR}/include/osp/osp.h: in the future, the compiler will take precedence" >&2;}
28874 { echo "$as_me:$LINENO: checking for ${OSPTK_DIR}/include/osp/osp.h" >&5
28875 echo $ECHO_N "checking for ${OSPTK_DIR}/include/osp/osp.h... $ECHO_C" >&6; }
28876 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
28877 echo $ECHO_N "(cached) $ECHO_C" >&6
28879 eval "$as_ac_Header=\$ac_header_preproc"
28881 ac_res
=`eval echo '${'$as_ac_Header'}'`
28882 { echo "$as_me:$LINENO: result: $ac_res" >&5
28883 echo "${ECHO_T}$ac_res" >&6; }
28886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28887 OSPTK_HEADER_FOUND
=1
28889 OSPTK_HEADER_FOUND
=0
28894 CPPFLAGS
="${saved_cppflags}"
28896 if test "xosp/osp.h" != "x" ; then
28897 if test "${ac_cv_header_osp_osp_h+set}" = set; then
28898 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
28899 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
28900 if test "${ac_cv_header_osp_osp_h+set}" = set; then
28901 echo $ECHO_N "(cached) $ECHO_C" >&6
28903 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
28904 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
28906 # Is the header compilable?
28907 { echo "$as_me:$LINENO: checking osp/osp.h usability" >&5
28908 echo $ECHO_N "checking osp/osp.h usability... $ECHO_C" >&6; }
28909 cat >conftest.
$ac_ext <<_ACEOF
28912 cat confdefs.h
>>conftest.
$ac_ext
28913 cat >>conftest.
$ac_ext <<_ACEOF
28914 /* end confdefs.h. */
28915 $ac_includes_default
28916 #include <osp/osp.h>
28918 rm -f conftest.
$ac_objext
28919 if { (ac_try
="$ac_compile"
28920 case "(($ac_try" in
28921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
28922 *) ac_try_echo=$ac_try;;
28924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28925 (eval "$ac_compile") 2>conftest.er1
28927 grep -v '^ *+' conftest.er1 >conftest.err
28929 cat conftest.err >&5
28930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28931 (exit $ac_status); } && {
28932 test -z "$ac_c_werror_flag" ||
28933 test ! -s conftest.err
28934 } && test -s conftest.$ac_objext; then
28935 ac_header_compiler=yes
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28940 ac_header_compiler=no
28943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28945 echo "${ECHO_T}$ac_header_compiler" >&6; }
28947 # Is the header present?
28948 { echo "$as_me:$LINENO: checking osp/osp.h presence" >&5
28949 echo $ECHO_N "checking osp/osp.h presence... $ECHO_C" >&6; }
28950 cat >conftest.$ac_ext <<_ACEOF
28953 cat confdefs.h >>conftest.$ac_ext
28954 cat >>conftest.$ac_ext <<_ACEOF
28955 /* end confdefs.h. */
28956 #include <osp/osp.h>
28958 if { (ac_try="$ac_cpp conftest.$ac_ext"
28959 case "(($ac_try" in
28960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
28961 *) ac_try_echo
=$ac_try;;
28963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28966 grep -v '^ *+' conftest.er1
>conftest.err
28968 cat conftest.err
>&5
28969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28970 (exit $ac_status); } >/dev
/null
&& {
28971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28972 test ! -s conftest.err
28974 ac_header_preproc
=yes
28976 echo "$as_me: failed program was:" >&5
28977 sed 's/^/| /' conftest.
$ac_ext >&5
28979 ac_header_preproc
=no
28982 rm -f conftest.err conftest.
$ac_ext
28983 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28984 echo "${ECHO_T}$ac_header_preproc" >&6; }
28986 # So? What about this header?
28987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28989 { echo "$as_me:$LINENO: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&5
28990 echo "$as_me: WARNING: osp/osp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28991 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the compiler's result" >&5
28992 echo "$as_me: WARNING: osp/osp.h: proceeding with the compiler's result" >&2;}
28993 ac_header_preproc
=yes
28996 { echo "$as_me:$LINENO: WARNING: osp/osp.h: present but cannot be compiled" >&5
28997 echo "$as_me: WARNING: osp/osp.h: present but cannot be compiled" >&2;}
28998 { echo "$as_me:$LINENO: WARNING: osp/osp.h: check for missing prerequisite headers?" >&5
28999 echo "$as_me: WARNING: osp/osp.h: check for missing prerequisite headers?" >&2;}
29000 { echo "$as_me:$LINENO: WARNING: osp/osp.h: see the Autoconf documentation" >&5
29001 echo "$as_me: WARNING: osp/osp.h: see the Autoconf documentation" >&2;}
29002 { echo "$as_me:$LINENO: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&5
29003 echo "$as_me: WARNING: osp/osp.h: section \"Present But Cannot Be Compiled\"" >&2;}
29004 { echo "$as_me:$LINENO: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&5
29005 echo "$as_me: WARNING: osp/osp.h: proceeding with the preprocessor's result" >&2;}
29006 { echo "$as_me:$LINENO: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&5
29007 echo "$as_me: WARNING: osp/osp.h: in the future, the compiler will take precedence" >&2;}
29011 { echo "$as_me:$LINENO: checking for osp/osp.h" >&5
29012 echo $ECHO_N "checking for osp/osp.h... $ECHO_C" >&6; }
29013 if test "${ac_cv_header_osp_osp_h+set}" = set; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29016 ac_cv_header_osp_osp_h
=$ac_header_preproc
29018 { echo "$as_me:$LINENO: result: $ac_cv_header_osp_osp_h" >&5
29019 echo "${ECHO_T}$ac_cv_header_osp_osp_h" >&6; }
29022 if test $ac_cv_header_osp_osp_h = yes; then
29023 OSPTK_HEADER_FOUND
=1
29025 OSPTK_HEADER_FOUND
=0
29031 if test "x${OSPTK_HEADER_FOUND}" = "x0" ; then
29032 if test -n "${OSPTK_MANDATORY}" ;
29034 { echo "$as_me:$LINENO: ***" >&5
29035 echo "$as_me: ***" >&6;}
29036 { echo "$as_me:$LINENO: *** It appears that you do not have the osptk development package installed." >&5
29037 echo "$as_me: *** It appears that you do not have the osptk development package installed." >&6;}
29038 { echo "$as_me:$LINENO: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&5
29039 echo "$as_me: *** Please install it to include ${OSPTK_DESCRIP} support, or re-run configure" >&6;}
29040 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
29041 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
29050 cat >>confdefs.h
<<_ACEOF
29051 #define HAVE_OSPTK 1
29055 elif test -n "${OSPTK_MANDATORY}";
29057 { echo "$as_me:$LINENO: ***" >&5
29058 echo "$as_me: ***" >&6;}
29059 { echo "$as_me:$LINENO: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&5
29060 echo "$as_me: *** The ${OSPTK_DESCRIP} installation on this system appears to be broken." >&6;}
29061 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29062 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29063 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${OSPTK_OPTION}" >&5
29064 echo "$as_me: *** without explicitly specifying --with-${OSPTK_OPTION}" >&6;}
29072 if test "${USE_FREETDS}" != "no"; then
29074 if test "x${FREETDS_DIR}" != "x"; then
29075 if test -d ${FREETDS_DIR}/lib
; then
29076 pbxlibdir
="-L${FREETDS_DIR}/lib"
29078 pbxlibdir
="-L${FREETDS_DIR}"
29081 { echo "$as_me:$LINENO: checking for tds_version in -ltds" >&5
29082 echo $ECHO_N "checking for tds_version in -ltds... $ECHO_C" >&6; }
29083 if test "${ac_cv_lib_tds_tds_version+set}" = set; then
29084 echo $ECHO_N "(cached) $ECHO_C" >&6
29086 ac_check_lib_save_LIBS
=$LIBS
29087 LIBS
="-ltds ${pbxlibdir} $LIBS"
29088 cat >conftest.
$ac_ext <<_ACEOF
29091 cat confdefs.h
>>conftest.
$ac_ext
29092 cat >>conftest.
$ac_ext <<_ACEOF
29093 /* end confdefs.h. */
29095 /* Override any GCC internal prototype to avoid an error.
29096 Use char because int might match the return type of a GCC
29097 builtin and then its argument prototype would still apply. */
29101 char tds_version ();
29105 return tds_version ();
29110 rm -f conftest.
$ac_objext conftest
$ac_exeext
29111 if { (ac_try
="$ac_link"
29112 case "(($ac_try" in
29113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29114 *) ac_try_echo=$ac_try;;
29116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29117 (eval "$ac_link") 2>conftest.er1
29119 grep -v '^ *+' conftest.er1 >conftest.err
29121 cat conftest.err >&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); } && {
29124 test -z "$ac_c_werror_flag" ||
29125 test ! -s conftest.err
29126 } && test -s conftest$ac_exeext &&
29127 $as_test_x conftest$ac_exeext; then
29128 ac_cv_lib_tds_tds_version=yes
29130 echo "$as_me: failed program was:" >&5
29131 sed 's/^/| /' conftest.$ac_ext >&5
29133 ac_cv_lib_tds_tds_version=no
29136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29137 conftest$ac_exeext conftest.$ac_ext
29138 LIBS=$ac_check_lib_save_LIBS
29140 { echo "$as_me:$LINENO: result: $ac_cv_lib_tds_tds_version" >&5
29141 echo "${ECHO_T}$ac_cv_lib_tds_tds_version" >&6; }
29142 if test $ac_cv_lib_tds_tds_version = yes; then
29143 AST_FREETDS_FOUND=yes
29145 AST_FREETDS_FOUND=no
29149 if test "${AST_FREETDS_FOUND}" = "yes"; then
29150 FREETDS_LIB="-ltds "
29151 FREETDS_HEADER_FOUND="1"
29152 if test "x${FREETDS_DIR}" != "x"; then
29153 FREETDS_LIB="${pbxlibdir} ${FREETDS_LIB}"
29154 FREETDS_INCLUDE="-I${FREETDS_DIR}/include"
29155 saved_cppflags="${CPPFLAGS}"
29156 CPPFLAGS="${CPPFLAGS} -I${FREETDS_DIR}/include"
29157 if test "xtds.h" != "x" ; then
29158 as_ac_Header=`echo "ac_cv_header_${FREETDS_DIR}/include/tds.h" |
$as_tr_sh`
29159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29160 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
29161 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
29162 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29165 ac_res=`eval echo '${'$as_ac_Header'}'`
29166 { echo "$as_me:$LINENO: result: $ac_res" >&5
29167 echo "${ECHO_T}$ac_res" >&6; }
29169 # Is the header compilable?
29170 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h usability" >&5
29171 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h usability... $ECHO_C" >&6; }
29172 cat >conftest.$ac_ext <<_ACEOF
29175 cat confdefs.h >>conftest.$ac_ext
29176 cat >>conftest.$ac_ext <<_ACEOF
29177 /* end confdefs.h. */
29178 $ac_includes_default
29179 #include <${FREETDS_DIR}/include/tds.h>
29181 rm -f conftest.$ac_objext
29182 if { (ac_try="$ac_compile"
29183 case "(($ac_try" in
29184 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29185 *) ac_try_echo
=$ac_try;;
29187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29188 (eval "$ac_compile") 2>conftest.er1
29190 grep -v '^ *+' conftest.er1
>conftest.err
29192 cat conftest.err
>&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); } && {
29195 test -z "$ac_c_werror_flag" ||
29196 test ! -s conftest.err
29197 } && test -s conftest.
$ac_objext; then
29198 ac_header_compiler
=yes
29200 echo "$as_me: failed program was:" >&5
29201 sed 's/^/| /' conftest.
$ac_ext >&5
29203 ac_header_compiler
=no
29206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29207 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29208 echo "${ECHO_T}$ac_header_compiler" >&6; }
29210 # Is the header present?
29211 { echo "$as_me:$LINENO: checking ${FREETDS_DIR}/include/tds.h presence" >&5
29212 echo $ECHO_N "checking ${FREETDS_DIR}/include/tds.h presence... $ECHO_C" >&6; }
29213 cat >conftest.
$ac_ext <<_ACEOF
29216 cat confdefs.h
>>conftest.
$ac_ext
29217 cat >>conftest.
$ac_ext <<_ACEOF
29218 /* end confdefs.h. */
29219 #include <${FREETDS_DIR}/include/tds.h>
29221 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29222 case "(($ac_try" in
29223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29229 grep -v '^ *+' conftest.er1 >conftest.err
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } >/dev/null && {
29234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29235 test ! -s conftest.err
29237 ac_header_preproc=yes
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29242 ac_header_preproc=no
29245 rm -f conftest.err conftest.$ac_ext
29246 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29247 echo "${ECHO_T}$ac_header_preproc" >&6; }
29249 # So? What about this header?
29250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29252 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
29253 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29254 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&5
29255 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the compiler's result" >&2;}
29256 ac_header_preproc=yes
29259 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&5
29260 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: present but cannot be compiled" >&2;}
29261 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&5
29262 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: check for missing prerequisite headers?" >&2;}
29263 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&5
29264 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: see the Autoconf documentation" >&2;}
29265 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&5
29266 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
29267 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&5
29268 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: proceeding with the preprocessor's result" >&2;}
29269 { echo "$as_me:$LINENO: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&5
29270 echo "$as_me: WARNING: ${FREETDS_DIR}/include/tds.h: in the future, the compiler will take precedence" >&2;}
29274 { echo "$as_me:$LINENO: checking for ${FREETDS_DIR}/include/tds.h" >&5
29275 echo $ECHO_N "checking for ${FREETDS_DIR}/include/tds.h... $ECHO_C" >&6; }
29276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29277 echo $ECHO_N "(cached) $ECHO_C" >&6
29279 eval "$as_ac_Header=\$ac_header_preproc"
29281 ac_res=`eval echo '${'$as_ac_Header'}'`
29282 { echo "$as_me:$LINENO: result: $ac_res" >&5
29283 echo "${ECHO_T}$ac_res" >&6; }
29286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29287 FREETDS_HEADER_FOUND=1
29289 FREETDS_HEADER_FOUND=0
29294 CPPFLAGS="${saved_cppflags}"
29296 if test "xtds.h" != "x" ; then
29297 if test "${ac_cv_header_tds_h+set}" = set; then
29298 { echo "$as_me:$LINENO: checking for tds.h" >&5
29299 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
29300 if test "${ac_cv_header_tds_h+set}" = set; then
29301 echo $ECHO_N "(cached) $ECHO_C" >&6
29303 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
29304 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
29306 # Is the header compilable?
29307 { echo "$as_me:$LINENO: checking tds.h usability" >&5
29308 echo $ECHO_N "checking tds.h usability... $ECHO_C" >&6; }
29309 cat >conftest.$ac_ext <<_ACEOF
29312 cat confdefs.h >>conftest.$ac_ext
29313 cat >>conftest.$ac_ext <<_ACEOF
29314 /* end confdefs.h. */
29315 $ac_includes_default
29318 rm -f conftest.$ac_objext
29319 if { (ac_try="$ac_compile"
29320 case "(($ac_try" in
29321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29322 *) ac_try_echo
=$ac_try;;
29324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29325 (eval "$ac_compile") 2>conftest.er1
29327 grep -v '^ *+' conftest.er1
>conftest.err
29329 cat conftest.err
>&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } && {
29332 test -z "$ac_c_werror_flag" ||
29333 test ! -s conftest.err
29334 } && test -s conftest.
$ac_objext; then
29335 ac_header_compiler
=yes
29337 echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.
$ac_ext >&5
29340 ac_header_compiler
=no
29343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29344 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29345 echo "${ECHO_T}$ac_header_compiler" >&6; }
29347 # Is the header present?
29348 { echo "$as_me:$LINENO: checking tds.h presence" >&5
29349 echo $ECHO_N "checking tds.h presence... $ECHO_C" >&6; }
29350 cat >conftest.
$ac_ext <<_ACEOF
29353 cat confdefs.h
>>conftest.
$ac_ext
29354 cat >>conftest.
$ac_ext <<_ACEOF
29355 /* end confdefs.h. */
29358 if { (ac_try
="$ac_cpp conftest.$ac_ext"
29359 case "(($ac_try" in
29360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29361 *) ac_try_echo=$ac_try;;
29363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29364 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29366 grep -v '^ *+' conftest.er1 >conftest.err
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } >/dev/null && {
29371 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29372 test ! -s conftest.err
29374 ac_header_preproc=yes
29376 echo "$as_me: failed program was:" >&5
29377 sed 's/^/| /' conftest.$ac_ext >&5
29379 ac_header_preproc=no
29382 rm -f conftest.err conftest.$ac_ext
29383 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29384 echo "${ECHO_T}$ac_header_preproc" >&6; }
29386 # So? What about this header?
29387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29389 { echo "$as_me:$LINENO: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&5
29390 echo "$as_me: WARNING: tds.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
29391 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the compiler's result" >&5
29392 echo "$as_me: WARNING: tds.h: proceeding with the compiler's result" >&2;}
29393 ac_header_preproc=yes
29396 { echo "$as_me:$LINENO: WARNING: tds.h: present but cannot be compiled" >&5
29397 echo "$as_me: WARNING: tds.h: present but cannot be compiled" >&2;}
29398 { echo "$as_me:$LINENO: WARNING: tds.h: check for missing prerequisite headers?" >&5
29399 echo "$as_me: WARNING: tds.h: check for missing prerequisite headers?" >&2;}
29400 { echo "$as_me:$LINENO: WARNING: tds.h: see the Autoconf documentation" >&5
29401 echo "$as_me: WARNING: tds.h: see the Autoconf documentation" >&2;}
29402 { echo "$as_me:$LINENO: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&5
29403 echo "$as_me: WARNING: tds.h: section \"Present But Cannot Be Compiled\"" >&2;}
29404 { echo "$as_me:$LINENO: WARNING: tds.h: proceeding with the preprocessor's result" >&5
29405 echo "$as_me: WARNING: tds.h: proceeding with the preprocessor's result" >&2;}
29406 { echo "$as_me:$LINENO: WARNING: tds.h: in the future, the compiler will take precedence" >&5
29407 echo "$as_me: WARNING: tds.h: in the future, the compiler will take precedence" >&2;}
29411 { echo "$as_me:$LINENO: checking for tds.h" >&5
29412 echo $ECHO_N "checking for tds.h... $ECHO_C" >&6; }
29413 if test "${ac_cv_header_tds_h+set}" = set; then
29414 echo $ECHO_N "(cached) $ECHO_C" >&6
29416 ac_cv_header_tds_h=$ac_header_preproc
29418 { echo "$as_me:$LINENO: result: $ac_cv_header_tds_h" >&5
29419 echo "${ECHO_T}$ac_cv_header_tds_h" >&6; }
29422 if test $ac_cv_header_tds_h = yes; then
29423 FREETDS_HEADER_FOUND=1
29425 FREETDS_HEADER_FOUND=0
29431 if test "x${FREETDS_HEADER_FOUND}" = "x0" ; then
29432 if test -n "${FREETDS_MANDATORY}" ;
29434 { echo "$as_me:$LINENO: ***" >&5
29435 echo "$as_me: ***" >&6;}
29436 { echo "$as_me:$LINENO: *** It appears that you do not have the tds development package installed." >&5
29437 echo "$as_me: *** It appears that you do not have the tds development package installed." >&6;}
29438 { echo "$as_me:$LINENO: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&5
29439 echo "$as_me: *** Please install it to include ${FREETDS_DESCRIP} support, or re-run configure" >&6;}
29440 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
29441 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
29450 cat >>confdefs.h <<_ACEOF
29451 #define HAVE_FREETDS 1
29455 elif test -n "${FREETDS_MANDATORY}";
29457 { echo "$as_me:$LINENO: ***" >&5
29458 echo "$as_me: ***" >&6;}
29459 { echo "$as_me:$LINENO: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&5
29460 echo "$as_me: *** The ${FREETDS_DESCRIP} installation on this system appears to be broken." >&6;}
29461 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29462 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29463 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${FREETDS_OPTION}" >&5
29464 echo "$as_me: *** without explicitly specifying --with-${FREETDS_OPTION}" >&6;}
29469 if test "${PBX_FREETDS}" != "0";
29471 case `grep TDS_VERSION_NO
${FREETDS_DIR:-/usr}/include
/tdsver.h
` in
29473 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_64"
29476 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_63"
29479 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_0_62"
29482 FREETDS_INCLUDE="${FREETDS_INCLUDE} -DFREETDS_PRE_0_62"
29488 if test "${USE_TERMCAP}" != "no"; then
29490 if test "x${TERMCAP_DIR}" != "x"; then
29491 if test -d ${TERMCAP_DIR}/lib; then
29492 pbxlibdir="-L${TERMCAP_DIR}/lib"
29494 pbxlibdir="-L${TERMCAP_DIR}"
29497 { echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
29498 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6; }
29499 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
29500 echo $ECHO_N "(cached) $ECHO_C" >&6
29502 ac_check_lib_save_LIBS=$LIBS
29503 LIBS="-ltermcap ${pbxlibdir} $LIBS"
29504 cat >conftest.$ac_ext <<_ACEOF
29507 cat confdefs.h >>conftest.$ac_ext
29508 cat >>conftest.$ac_ext <<_ACEOF
29509 /* end confdefs.h. */
29511 /* Override any GCC internal prototype to avoid an error.
29512 Use char because int might match the return type of a GCC
29513 builtin and then its argument prototype would still apply. */
29526 rm -f conftest.$ac_objext conftest$ac_exeext
29527 if { (ac_try="$ac_link"
29528 case "(($ac_try" in
29529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29530 *) ac_try_echo
=$ac_try;;
29532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29533 (eval "$ac_link") 2>conftest.er1
29535 grep -v '^ *+' conftest.er1
>conftest.err
29537 cat conftest.err
>&5
29538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29539 (exit $ac_status); } && {
29540 test -z "$ac_c_werror_flag" ||
29541 test ! -s conftest.err
29542 } && test -s conftest
$ac_exeext &&
29543 $as_test_x conftest
$ac_exeext; then
29544 ac_cv_lib_termcap_tgetent
=yes
29546 echo "$as_me: failed program was:" >&5
29547 sed 's/^/| /' conftest.
$ac_ext >&5
29549 ac_cv_lib_termcap_tgetent
=no
29552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
29553 conftest
$ac_exeext conftest.
$ac_ext
29554 LIBS
=$ac_check_lib_save_LIBS
29556 { echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
29557 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6; }
29558 if test $ac_cv_lib_termcap_tgetent = yes; then
29559 AST_TERMCAP_FOUND
=yes
29561 AST_TERMCAP_FOUND
=no
29565 if test "${AST_TERMCAP_FOUND}" = "yes"; then
29566 TERMCAP_LIB
="-ltermcap "
29567 TERMCAP_HEADER_FOUND
="1"
29568 if test "x${TERMCAP_DIR}" != "x"; then
29569 TERMCAP_LIB
="${pbxlibdir} ${TERMCAP_LIB}"
29570 TERMCAP_INCLUDE
="-I${TERMCAP_DIR}/include"
29571 saved_cppflags
="${CPPFLAGS}"
29572 CPPFLAGS
="${CPPFLAGS} -I${TERMCAP_DIR}/include"
29573 if test "x" != "x" ; then
29574 as_ac_Header
=`echo "ac_cv_header_${TERMCAP_DIR}/include/" | $as_tr_sh`
29575 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29576 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
29577 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
29578 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29579 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 ac_res
=`eval echo '${'$as_ac_Header'}'`
29582 { echo "$as_me:$LINENO: result: $ac_res" >&5
29583 echo "${ECHO_T}$ac_res" >&6; }
29585 # Is the header compilable?
29586 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ usability" >&5
29587 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ usability... $ECHO_C" >&6; }
29588 cat >conftest.
$ac_ext <<_ACEOF
29591 cat confdefs.h
>>conftest.
$ac_ext
29592 cat >>conftest.
$ac_ext <<_ACEOF
29593 /* end confdefs.h. */
29594 $ac_includes_default
29595 #include <${TERMCAP_DIR}/include/>
29597 rm -f conftest.
$ac_objext
29598 if { (ac_try
="$ac_compile"
29599 case "(($ac_try" in
29600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29601 *) ac_try_echo=$ac_try;;
29603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29604 (eval "$ac_compile") 2>conftest.er1
29606 grep -v '^ *+' conftest.er1 >conftest.err
29608 cat conftest.err >&5
29609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29610 (exit $ac_status); } && {
29611 test -z "$ac_c_werror_flag" ||
29612 test ! -s conftest.err
29613 } && test -s conftest.$ac_objext; then
29614 ac_header_compiler=yes
29616 echo "$as_me: failed program was:" >&5
29617 sed 's/^/| /' conftest.$ac_ext >&5
29619 ac_header_compiler=no
29622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29623 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29624 echo "${ECHO_T}$ac_header_compiler" >&6; }
29626 # Is the header present?
29627 { echo "$as_me:$LINENO: checking ${TERMCAP_DIR}/include/ presence" >&5
29628 echo $ECHO_N "checking ${TERMCAP_DIR}/include/ presence... $ECHO_C" >&6; }
29629 cat >conftest.$ac_ext <<_ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29635 #include <${TERMCAP_DIR}/include/>
29637 if { (ac_try="$ac_cpp conftest.$ac_ext"
29638 case "(($ac_try" in
29639 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29640 *) ac_try_echo
=$ac_try;;
29642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29645 grep -v '^ *+' conftest.er1
>conftest.err
29647 cat conftest.err
>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } >/dev
/null
&& {
29650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29651 test ! -s conftest.err
29653 ac_header_preproc
=yes
29655 echo "$as_me: failed program was:" >&5
29656 sed 's/^/| /' conftest.
$ac_ext >&5
29658 ac_header_preproc
=no
29661 rm -f conftest.err conftest.
$ac_ext
29662 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29663 echo "${ECHO_T}$ac_header_preproc" >&6; }
29665 # So? What about this header?
29666 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29668 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
29669 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
29670 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&5
29671 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the compiler's result" >&2;}
29672 ac_header_preproc
=yes
29675 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&5
29676 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: present but cannot be compiled" >&2;}
29677 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&5
29678 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: check for missing prerequisite headers?" >&2;}
29679 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&5
29680 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: see the Autoconf documentation" >&2;}
29681 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
29682 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
29683 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&5
29684 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: proceeding with the preprocessor's result" >&2;}
29685 { echo "$as_me:$LINENO: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&5
29686 echo "$as_me: WARNING: ${TERMCAP_DIR}/include/: in the future, the compiler will take precedence" >&2;}
29690 { echo "$as_me:$LINENO: checking for ${TERMCAP_DIR}/include/" >&5
29691 echo $ECHO_N "checking for ${TERMCAP_DIR}/include/... $ECHO_C" >&6; }
29692 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29693 echo $ECHO_N "(cached) $ECHO_C" >&6
29695 eval "$as_ac_Header=\$ac_header_preproc"
29697 ac_res
=`eval echo '${'$as_ac_Header'}'`
29698 { echo "$as_me:$LINENO: result: $ac_res" >&5
29699 echo "${ECHO_T}$ac_res" >&6; }
29702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29703 TERMCAP_HEADER_FOUND
=1
29705 TERMCAP_HEADER_FOUND
=0
29710 CPPFLAGS
="${saved_cppflags}"
29712 if test "x" != "x" ; then
29713 if test "${ac_cv_header_+set}" = set; then
29714 { echo "$as_me:$LINENO: checking for " >&5
29715 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
29716 if test "${ac_cv_header_+set}" = set; then
29717 echo $ECHO_N "(cached) $ECHO_C" >&6
29719 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
29720 echo "${ECHO_T}$ac_cv_header_" >&6; }
29722 # Is the header compilable?
29723 { echo "$as_me:$LINENO: checking usability" >&5
29724 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
29725 cat >conftest.
$ac_ext <<_ACEOF
29728 cat confdefs.h
>>conftest.
$ac_ext
29729 cat >>conftest.
$ac_ext <<_ACEOF
29730 /* end confdefs.h. */
29731 $ac_includes_default
29734 rm -f conftest.
$ac_objext
29735 if { (ac_try
="$ac_compile"
29736 case "(($ac_try" in
29737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29738 *) ac_try_echo=$ac_try;;
29740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29741 (eval "$ac_compile") 2>conftest.er1
29743 grep -v '^ *+' conftest.er1 >conftest.err
29745 cat conftest.err >&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } && {
29748 test -z "$ac_c_werror_flag" ||
29749 test ! -s conftest.err
29750 } && test -s conftest.$ac_objext; then
29751 ac_header_compiler=yes
29753 echo "$as_me: failed program was:" >&5
29754 sed 's/^/| /' conftest.$ac_ext >&5
29756 ac_header_compiler=no
29759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29760 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29761 echo "${ECHO_T}$ac_header_compiler" >&6; }
29763 # Is the header present?
29764 { echo "$as_me:$LINENO: checking presence" >&5
29765 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
29766 cat >conftest.$ac_ext <<_ACEOF
29769 cat confdefs.h >>conftest.$ac_ext
29770 cat >>conftest.$ac_ext <<_ACEOF
29771 /* end confdefs.h. */
29774 if { (ac_try="$ac_cpp conftest.$ac_ext"
29775 case "(($ac_try" in
29776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
29777 *) ac_try_echo
=$ac_try;;
29779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29782 grep -v '^ *+' conftest.er1
>conftest.err
29784 cat conftest.err
>&5
29785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29786 (exit $ac_status); } >/dev
/null
&& {
29787 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29788 test ! -s conftest.err
29790 ac_header_preproc
=yes
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.
$ac_ext >&5
29795 ac_header_preproc
=no
29798 rm -f conftest.err conftest.
$ac_ext
29799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29800 echo "${ECHO_T}$ac_header_preproc" >&6; }
29802 # So? What about this header?
29803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29805 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
29806 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
29807 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
29808 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
29809 ac_header_preproc
=yes
29812 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
29813 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
29814 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
29815 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
29816 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
29817 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
29818 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
29819 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
29820 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
29821 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
29822 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
29823 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
29827 { echo "$as_me:$LINENO: checking for " >&5
29828 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
29829 if test "${ac_cv_header_+set}" = set; then
29830 echo $ECHO_N "(cached) $ECHO_C" >&6
29832 ac_cv_header_
=$ac_header_preproc
29834 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
29835 echo "${ECHO_T}$ac_cv_header_" >&6; }
29838 if test $ac_cv_header_ = yes; then
29839 TERMCAP_HEADER_FOUND
=1
29841 TERMCAP_HEADER_FOUND
=0
29847 if test "x${TERMCAP_HEADER_FOUND}" = "x0" ; then
29848 if test -n "${TERMCAP_MANDATORY}" ;
29850 { echo "$as_me:$LINENO: ***" >&5
29851 echo "$as_me: ***" >&6;}
29852 { echo "$as_me:$LINENO: *** It appears that you do not have the termcap development package installed." >&5
29853 echo "$as_me: *** It appears that you do not have the termcap development package installed." >&6;}
29854 { echo "$as_me:$LINENO: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&5
29855 echo "$as_me: *** Please install it to include ${TERMCAP_DESCRIP} support, or re-run configure" >&6;}
29856 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
29857 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
29866 cat >>confdefs.h
<<_ACEOF
29867 #define HAVE_TERMCAP 1
29871 elif test -n "${TERMCAP_MANDATORY}";
29873 { echo "$as_me:$LINENO: ***" >&5
29874 echo "$as_me: ***" >&6;}
29875 { echo "$as_me:$LINENO: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&5
29876 echo "$as_me: *** The ${TERMCAP_DESCRIP} installation on this system appears to be broken." >&6;}
29877 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
29878 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
29879 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&5
29880 echo "$as_me: *** without explicitly specifying --with-${TERMCAP_OPTION}" >&6;}
29887 if test "${USE_TINFO}" != "no"; then
29889 if test "x${TINFO_DIR}" != "x"; then
29890 if test -d ${TINFO_DIR}/lib
; then
29891 pbxlibdir
="-L${TINFO_DIR}/lib"
29893 pbxlibdir
="-L${TINFO_DIR}"
29896 { echo "$as_me:$LINENO: checking for tgetent in -ltinfo" >&5
29897 echo $ECHO_N "checking for tgetent in -ltinfo... $ECHO_C" >&6; }
29898 if test "${ac_cv_lib_tinfo_tgetent+set}" = set; then
29899 echo $ECHO_N "(cached) $ECHO_C" >&6
29901 ac_check_lib_save_LIBS
=$LIBS
29902 LIBS
="-ltinfo ${pbxlibdir} $LIBS"
29903 cat >conftest.
$ac_ext <<_ACEOF
29906 cat confdefs.h
>>conftest.
$ac_ext
29907 cat >>conftest.
$ac_ext <<_ACEOF
29908 /* end confdefs.h. */
29910 /* Override any GCC internal prototype to avoid an error.
29911 Use char because int might match the return type of a GCC
29912 builtin and then its argument prototype would still apply. */
29925 rm -f conftest.
$ac_objext conftest
$ac_exeext
29926 if { (ac_try
="$ac_link"
29927 case "(($ac_try" in
29928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
29929 *) ac_try_echo=$ac_try;;
29931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29932 (eval "$ac_link") 2>conftest.er1
29934 grep -v '^ *+' conftest.er1 >conftest.err
29936 cat conftest.err >&5
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); } && {
29939 test -z "$ac_c_werror_flag" ||
29940 test ! -s conftest.err
29941 } && test -s conftest$ac_exeext &&
29942 $as_test_x conftest$ac_exeext; then
29943 ac_cv_lib_tinfo_tgetent=yes
29945 echo "$as_me: failed program was:" >&5
29946 sed 's/^/| /' conftest.$ac_ext >&5
29948 ac_cv_lib_tinfo_tgetent=no
29951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29952 conftest$ac_exeext conftest.$ac_ext
29953 LIBS=$ac_check_lib_save_LIBS
29955 { echo "$as_me:$LINENO: result: $ac_cv_lib_tinfo_tgetent" >&5
29956 echo "${ECHO_T}$ac_cv_lib_tinfo_tgetent" >&6; }
29957 if test $ac_cv_lib_tinfo_tgetent = yes; then
29958 AST_TINFO_FOUND=yes
29964 if test "${AST_TINFO_FOUND}" = "yes"; then
29965 TINFO_LIB="-ltinfo "
29966 TINFO_HEADER_FOUND="1"
29967 if test "x${TINFO_DIR}" != "x"; then
29968 TINFO_LIB="${pbxlibdir} ${TINFO_LIB}"
29969 TINFO_INCLUDE="-I${TINFO_DIR}/include"
29970 saved_cppflags="${CPPFLAGS}"
29971 CPPFLAGS="${CPPFLAGS} -I${TINFO_DIR}/include"
29972 if test "x" != "x" ; then
29973 as_ac_Header=`echo "ac_cv_header_${TINFO_DIR}/include/" |
$as_tr_sh`
29974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29975 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
29976 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
29977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29978 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 ac_res=`eval echo '${'$as_ac_Header'}'`
29981 { echo "$as_me:$LINENO: result: $ac_res" >&5
29982 echo "${ECHO_T}$ac_res" >&6; }
29984 # Is the header compilable?
29985 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ usability" >&5
29986 echo $ECHO_N "checking ${TINFO_DIR}/include/ usability... $ECHO_C" >&6; }
29987 cat >conftest.$ac_ext <<_ACEOF
29990 cat confdefs.h >>conftest.$ac_ext
29991 cat >>conftest.$ac_ext <<_ACEOF
29992 /* end confdefs.h. */
29993 $ac_includes_default
29994 #include <${TINFO_DIR}/include/>
29996 rm -f conftest.$ac_objext
29997 if { (ac_try="$ac_compile"
29998 case "(($ac_try" in
29999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30000 *) ac_try_echo
=$ac_try;;
30002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30003 (eval "$ac_compile") 2>conftest.er1
30005 grep -v '^ *+' conftest.er1
>conftest.err
30007 cat conftest.err
>&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } && {
30010 test -z "$ac_c_werror_flag" ||
30011 test ! -s conftest.err
30012 } && test -s conftest.
$ac_objext; then
30013 ac_header_compiler
=yes
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.
$ac_ext >&5
30018 ac_header_compiler
=no
30021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30023 echo "${ECHO_T}$ac_header_compiler" >&6; }
30025 # Is the header present?
30026 { echo "$as_me:$LINENO: checking ${TINFO_DIR}/include/ presence" >&5
30027 echo $ECHO_N "checking ${TINFO_DIR}/include/ presence... $ECHO_C" >&6; }
30028 cat >conftest.
$ac_ext <<_ACEOF
30031 cat confdefs.h
>>conftest.
$ac_ext
30032 cat >>conftest.
$ac_ext <<_ACEOF
30033 /* end confdefs.h. */
30034 #include <${TINFO_DIR}/include/>
30036 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30037 case "(($ac_try" in
30038 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30039 *) ac_try_echo=$ac_try;;
30041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30044 grep -v '^ *+' conftest.er1 >conftest.err
30046 cat conftest.err >&5
30047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30048 (exit $ac_status); } >/dev/null && {
30049 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30050 test ! -s conftest.err
30052 ac_header_preproc=yes
30054 echo "$as_me: failed program was:" >&5
30055 sed 's/^/| /' conftest.$ac_ext >&5
30057 ac_header_preproc=no
30060 rm -f conftest.err conftest.$ac_ext
30061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30062 echo "${ECHO_T}$ac_header_preproc" >&6; }
30064 # So? What about this header?
30065 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30067 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&5
30068 echo "$as_me: WARNING: ${TINFO_DIR}/include/: accepted by the compiler, rejected by the preprocessor!" >&2;}
30069 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&5
30070 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the compiler's result" >&2;}
30071 ac_header_preproc=yes
30074 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&5
30075 echo "$as_me: WARNING: ${TINFO_DIR}/include/: present but cannot be compiled" >&2;}
30076 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&5
30077 echo "$as_me: WARNING: ${TINFO_DIR}/include/: check for missing prerequisite headers?" >&2;}
30078 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&5
30079 echo "$as_me: WARNING: ${TINFO_DIR}/include/: see the Autoconf documentation" >&2;}
30080 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&5
30081 echo "$as_me: WARNING: ${TINFO_DIR}/include/: section \"Present But Cannot Be Compiled\"" >&2;}
30082 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&5
30083 echo "$as_me: WARNING: ${TINFO_DIR}/include/: proceeding with the preprocessor's result" >&2;}
30084 { echo "$as_me:$LINENO: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&5
30085 echo "$as_me: WARNING: ${TINFO_DIR}/include/: in the future, the compiler will take precedence" >&2;}
30089 { echo "$as_me:$LINENO: checking for ${TINFO_DIR}/include/" >&5
30090 echo $ECHO_N "checking for ${TINFO_DIR}/include/... $ECHO_C" >&6; }
30091 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30092 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 eval "$as_ac_Header=\$ac_header_preproc"
30096 ac_res=`eval echo '${'$as_ac_Header'}'`
30097 { echo "$as_me:$LINENO: result: $ac_res" >&5
30098 echo "${ECHO_T}$ac_res" >&6; }
30101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30102 TINFO_HEADER_FOUND=1
30104 TINFO_HEADER_FOUND=0
30109 CPPFLAGS="${saved_cppflags}"
30111 if test "x" != "x" ; then
30112 if test "${ac_cv_header_+set}" = set; then
30113 { echo "$as_me:$LINENO: checking for " >&5
30114 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
30115 if test "${ac_cv_header_+set}" = set; then
30116 echo $ECHO_N "(cached) $ECHO_C" >&6
30118 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
30119 echo "${ECHO_T}$ac_cv_header_" >&6; }
30121 # Is the header compilable?
30122 { echo "$as_me:$LINENO: checking usability" >&5
30123 echo $ECHO_N "checking usability... $ECHO_C" >&6; }
30124 cat >conftest.$ac_ext <<_ACEOF
30127 cat confdefs.h >>conftest.$ac_ext
30128 cat >>conftest.$ac_ext <<_ACEOF
30129 /* end confdefs.h. */
30130 $ac_includes_default
30133 rm -f conftest.$ac_objext
30134 if { (ac_try="$ac_compile"
30135 case "(($ac_try" in
30136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30137 *) ac_try_echo
=$ac_try;;
30139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30140 (eval "$ac_compile") 2>conftest.er1
30142 grep -v '^ *+' conftest.er1
>conftest.err
30144 cat conftest.err
>&5
30145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30146 (exit $ac_status); } && {
30147 test -z "$ac_c_werror_flag" ||
30148 test ! -s conftest.err
30149 } && test -s conftest.
$ac_objext; then
30150 ac_header_compiler
=yes
30152 echo "$as_me: failed program was:" >&5
30153 sed 's/^/| /' conftest.
$ac_ext >&5
30155 ac_header_compiler
=no
30158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30159 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30160 echo "${ECHO_T}$ac_header_compiler" >&6; }
30162 # Is the header present?
30163 { echo "$as_me:$LINENO: checking presence" >&5
30164 echo $ECHO_N "checking presence... $ECHO_C" >&6; }
30165 cat >conftest.
$ac_ext <<_ACEOF
30168 cat confdefs.h
>>conftest.
$ac_ext
30169 cat >>conftest.
$ac_ext <<_ACEOF
30170 /* end confdefs.h. */
30173 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30174 case "(($ac_try" in
30175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30176 *) ac_try_echo=$ac_try;;
30178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30179 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30181 grep -v '^ *+' conftest.er1 >conftest.err
30183 cat conftest.err >&5
30184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30185 (exit $ac_status); } >/dev/null && {
30186 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30187 test ! -s conftest.err
30189 ac_header_preproc=yes
30191 echo "$as_me: failed program was:" >&5
30192 sed 's/^/| /' conftest.$ac_ext >&5
30194 ac_header_preproc=no
30197 rm -f conftest.err conftest.$ac_ext
30198 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30199 echo "${ECHO_T}$ac_header_preproc" >&6; }
30201 # So? What about this header?
30202 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30204 { echo "$as_me:$LINENO: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&5
30205 echo "$as_me: WARNING: : accepted by the compiler, rejected by the preprocessor!" >&2;}
30206 { echo "$as_me:$LINENO: WARNING: : proceeding with the compiler's result" >&5
30207 echo "$as_me: WARNING: : proceeding with the compiler's result" >&2;}
30208 ac_header_preproc=yes
30211 { echo "$as_me:$LINENO: WARNING: : present but cannot be compiled" >&5
30212 echo "$as_me: WARNING: : present but cannot be compiled" >&2;}
30213 { echo "$as_me:$LINENO: WARNING: : check for missing prerequisite headers?" >&5
30214 echo "$as_me: WARNING: : check for missing prerequisite headers?" >&2;}
30215 { echo "$as_me:$LINENO: WARNING: : see the Autoconf documentation" >&5
30216 echo "$as_me: WARNING: : see the Autoconf documentation" >&2;}
30217 { echo "$as_me:$LINENO: WARNING: : section \"Present But Cannot Be Compiled\"" >&5
30218 echo "$as_me: WARNING: : section \"Present But Cannot Be Compiled\"" >&2;}
30219 { echo "$as_me:$LINENO: WARNING: : proceeding with the preprocessor's result" >&5
30220 echo "$as_me: WARNING: : proceeding with the preprocessor's result" >&2;}
30221 { echo "$as_me:$LINENO: WARNING: : in the future, the compiler will take precedence" >&5
30222 echo "$as_me: WARNING: : in the future, the compiler will take precedence" >&2;}
30226 { echo "$as_me:$LINENO: checking for " >&5
30227 echo $ECHO_N "checking for ... $ECHO_C" >&6; }
30228 if test "${ac_cv_header_+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30231 ac_cv_header_=$ac_header_preproc
30233 { echo "$as_me:$LINENO: result: $ac_cv_header_" >&5
30234 echo "${ECHO_T}$ac_cv_header_" >&6; }
30237 if test $ac_cv_header_ = yes; then
30238 TINFO_HEADER_FOUND=1
30240 TINFO_HEADER_FOUND=0
30246 if test "x${TINFO_HEADER_FOUND}" = "x0" ; then
30247 if test -n "${TINFO_MANDATORY}" ;
30249 { echo "$as_me:$LINENO: ***" >&5
30250 echo "$as_me: ***" >&6;}
30251 { echo "$as_me:$LINENO: *** It appears that you do not have the tinfo development package installed." >&5
30252 echo "$as_me: *** It appears that you do not have the tinfo development package installed." >&6;}
30253 { echo "$as_me:$LINENO: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&5
30254 echo "$as_me: *** Please install it to include ${TINFO_DESCRIP} support, or re-run configure" >&6;}
30255 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
30256 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
30265 cat >>confdefs.h <<_ACEOF
30266 #define HAVE_TINFO 1
30270 elif test -n "${TINFO_MANDATORY}";
30272 { echo "$as_me:$LINENO: ***" >&5
30273 echo "$as_me: ***" >&6;}
30274 { echo "$as_me:$LINENO: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&5
30275 echo "$as_me: *** The ${TINFO_DESCRIP} installation on this system appears to be broken." >&6;}
30276 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30277 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30278 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TINFO_OPTION}" >&5
30279 echo "$as_me: *** without explicitly specifying --with-${TINFO_OPTION}" >&6;}
30285 if test "${host_os}" != "linux-gnu" ; then
30286 tonezone_extra="-lm"
30290 if test "${USE_TONEZONE}" != "no"; then
30292 if test "x${TONEZONE_DIR}" != "x"; then
30293 if test -d ${TONEZONE_DIR}/lib; then
30294 pbxlibdir="-L${TONEZONE_DIR}/lib"
30296 pbxlibdir="-L${TONEZONE_DIR}"
30299 { echo "$as_me:$LINENO: checking for tone_zone_find in -ltonezone" >&5
30300 echo $ECHO_N "checking for tone_zone_find in -ltonezone... $ECHO_C" >&6; }
30301 if test "${ac_cv_lib_tonezone_tone_zone_find+set}" = set; then
30302 echo $ECHO_N "(cached) $ECHO_C" >&6
30304 ac_check_lib_save_LIBS=$LIBS
30305 LIBS="-ltonezone ${pbxlibdir} ${tonezone_extra} $LIBS"
30306 cat >conftest.$ac_ext <<_ACEOF
30309 cat confdefs.h >>conftest.$ac_ext
30310 cat >>conftest.$ac_ext <<_ACEOF
30311 /* end confdefs.h. */
30313 /* Override any GCC internal prototype to avoid an error.
30314 Use char because int might match the return type of a GCC
30315 builtin and then its argument prototype would still apply. */
30319 char tone_zone_find ();
30323 return tone_zone_find ();
30328 rm -f conftest.$ac_objext conftest$ac_exeext
30329 if { (ac_try="$ac_link"
30330 case "(($ac_try" in
30331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30332 *) ac_try_echo
=$ac_try;;
30334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30335 (eval "$ac_link") 2>conftest.er1
30337 grep -v '^ *+' conftest.er1
>conftest.err
30339 cat conftest.err
>&5
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); } && {
30342 test -z "$ac_c_werror_flag" ||
30343 test ! -s conftest.err
30344 } && test -s conftest
$ac_exeext &&
30345 $as_test_x conftest
$ac_exeext; then
30346 ac_cv_lib_tonezone_tone_zone_find
=yes
30348 echo "$as_me: failed program was:" >&5
30349 sed 's/^/| /' conftest.
$ac_ext >&5
30351 ac_cv_lib_tonezone_tone_zone_find
=no
30354 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30355 conftest
$ac_exeext conftest.
$ac_ext
30356 LIBS
=$ac_check_lib_save_LIBS
30358 { echo "$as_me:$LINENO: result: $ac_cv_lib_tonezone_tone_zone_find" >&5
30359 echo "${ECHO_T}$ac_cv_lib_tonezone_tone_zone_find" >&6; }
30360 if test $ac_cv_lib_tonezone_tone_zone_find = yes; then
30361 AST_TONEZONE_FOUND
=yes
30363 AST_TONEZONE_FOUND
=no
30367 if test "${AST_TONEZONE_FOUND}" = "yes"; then
30368 TONEZONE_LIB
="-ltonezone ${tonezone_extra}"
30369 TONEZONE_HEADER_FOUND
="1"
30370 if test "x${TONEZONE_DIR}" != "x"; then
30371 TONEZONE_LIB
="${pbxlibdir} ${TONEZONE_LIB}"
30372 TONEZONE_INCLUDE
="-I${TONEZONE_DIR}/include"
30373 saved_cppflags
="${CPPFLAGS}"
30374 CPPFLAGS
="${CPPFLAGS} -I${TONEZONE_DIR}/include"
30375 if test "xzaptel/tonezone.h" != "x" ; then
30376 as_ac_Header
=`echo "ac_cv_header_${TONEZONE_DIR}/include/zaptel/tonezone.h" | $as_tr_sh`
30377 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30378 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
30379 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
30380 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30381 echo $ECHO_N "(cached) $ECHO_C" >&6
30383 ac_res
=`eval echo '${'$as_ac_Header'}'`
30384 { echo "$as_me:$LINENO: result: $ac_res" >&5
30385 echo "${ECHO_T}$ac_res" >&6; }
30387 # Is the header compilable?
30388 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability" >&5
30389 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h usability... $ECHO_C" >&6; }
30390 cat >conftest.
$ac_ext <<_ACEOF
30393 cat confdefs.h
>>conftest.
$ac_ext
30394 cat >>conftest.
$ac_ext <<_ACEOF
30395 /* end confdefs.h. */
30396 $ac_includes_default
30397 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
30399 rm -f conftest.
$ac_objext
30400 if { (ac_try
="$ac_compile"
30401 case "(($ac_try" in
30402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30403 *) ac_try_echo=$ac_try;;
30405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30406 (eval "$ac_compile") 2>conftest.er1
30408 grep -v '^ *+' conftest.er1 >conftest.err
30410 cat conftest.err >&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); } && {
30413 test -z "$ac_c_werror_flag" ||
30414 test ! -s conftest.err
30415 } && test -s conftest.$ac_objext; then
30416 ac_header_compiler=yes
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30421 ac_header_compiler=no
30424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30425 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30426 echo "${ECHO_T}$ac_header_compiler" >&6; }
30428 # Is the header present?
30429 { echo "$as_me:$LINENO: checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence" >&5
30430 echo $ECHO_N "checking ${TONEZONE_DIR}/include/zaptel/tonezone.h presence... $ECHO_C" >&6; }
30431 cat >conftest.$ac_ext <<_ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30437 #include <${TONEZONE_DIR}/include/zaptel/tonezone.h>
30439 if { (ac_try="$ac_cpp conftest.$ac_ext"
30440 case "(($ac_try" in
30441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30442 *) ac_try_echo
=$ac_try;;
30444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30445 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30447 grep -v '^ *+' conftest.er1
>conftest.err
30449 cat conftest.err
>&5
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); } >/dev
/null
&& {
30452 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30453 test ! -s conftest.err
30455 ac_header_preproc
=yes
30457 echo "$as_me: failed program was:" >&5
30458 sed 's/^/| /' conftest.
$ac_ext >&5
30460 ac_header_preproc
=no
30463 rm -f conftest.err conftest.
$ac_ext
30464 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30465 echo "${ECHO_T}$ac_header_preproc" >&6; }
30467 # So? What about this header?
30468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30470 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
30471 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30472 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&5
30473 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
30474 ac_header_preproc
=yes
30477 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&5
30478 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: present but cannot be compiled" >&2;}
30479 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&5
30480 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
30481 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&5
30482 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: see the Autoconf documentation" >&2;}
30483 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
30484 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
30485 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
30486 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
30487 { echo "$as_me:$LINENO: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
30488 echo "$as_me: WARNING: ${TONEZONE_DIR}/include/zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
30492 { echo "$as_me:$LINENO: checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h" >&5
30493 echo $ECHO_N "checking for ${TONEZONE_DIR}/include/zaptel/tonezone.h... $ECHO_C" >&6; }
30494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30495 echo $ECHO_N "(cached) $ECHO_C" >&6
30497 eval "$as_ac_Header=\$ac_header_preproc"
30499 ac_res
=`eval echo '${'$as_ac_Header'}'`
30500 { echo "$as_me:$LINENO: result: $ac_res" >&5
30501 echo "${ECHO_T}$ac_res" >&6; }
30504 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30505 TONEZONE_HEADER_FOUND
=1
30507 TONEZONE_HEADER_FOUND
=0
30512 CPPFLAGS
="${saved_cppflags}"
30514 if test "xzaptel/tonezone.h" != "x" ; then
30515 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30516 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
30517 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
30518 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30519 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
30522 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
30524 # Is the header compilable?
30525 { echo "$as_me:$LINENO: checking zaptel/tonezone.h usability" >&5
30526 echo $ECHO_N "checking zaptel/tonezone.h usability... $ECHO_C" >&6; }
30527 cat >conftest.
$ac_ext <<_ACEOF
30530 cat confdefs.h
>>conftest.
$ac_ext
30531 cat >>conftest.
$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533 $ac_includes_default
30534 #include <zaptel/tonezone.h>
30536 rm -f conftest.
$ac_objext
30537 if { (ac_try
="$ac_compile"
30538 case "(($ac_try" in
30539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30540 *) ac_try_echo=$ac_try;;
30542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30543 (eval "$ac_compile") 2>conftest.er1
30545 grep -v '^ *+' conftest.er1 >conftest.err
30547 cat conftest.err >&5
30548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30549 (exit $ac_status); } && {
30550 test -z "$ac_c_werror_flag" ||
30551 test ! -s conftest.err
30552 } && test -s conftest.$ac_objext; then
30553 ac_header_compiler=yes
30555 echo "$as_me: failed program was:" >&5
30556 sed 's/^/| /' conftest.$ac_ext >&5
30558 ac_header_compiler=no
30561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30562 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30563 echo "${ECHO_T}$ac_header_compiler" >&6; }
30565 # Is the header present?
30566 { echo "$as_me:$LINENO: checking zaptel/tonezone.h presence" >&5
30567 echo $ECHO_N "checking zaptel/tonezone.h presence... $ECHO_C" >&6; }
30568 cat >conftest.$ac_ext <<_ACEOF
30571 cat confdefs.h >>conftest.$ac_ext
30572 cat >>conftest.$ac_ext <<_ACEOF
30573 /* end confdefs.h. */
30574 #include <zaptel/tonezone.h>
30576 if { (ac_try="$ac_cpp conftest.$ac_ext"
30577 case "(($ac_try" in
30578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30579 *) ac_try_echo
=$ac_try;;
30581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30582 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30584 grep -v '^ *+' conftest.er1
>conftest.err
30586 cat conftest.err
>&5
30587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30588 (exit $ac_status); } >/dev
/null
&& {
30589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30590 test ! -s conftest.err
30592 ac_header_preproc
=yes
30594 echo "$as_me: failed program was:" >&5
30595 sed 's/^/| /' conftest.
$ac_ext >&5
30597 ac_header_preproc
=no
30600 rm -f conftest.err conftest.
$ac_ext
30601 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30602 echo "${ECHO_T}$ac_header_preproc" >&6; }
30604 # So? What about this header?
30605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30607 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&5
30608 echo "$as_me: WARNING: zaptel/tonezone.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30609 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&5
30610 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the compiler's result" >&2;}
30611 ac_header_preproc
=yes
30614 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&5
30615 echo "$as_me: WARNING: zaptel/tonezone.h: present but cannot be compiled" >&2;}
30616 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&5
30617 echo "$as_me: WARNING: zaptel/tonezone.h: check for missing prerequisite headers?" >&2;}
30618 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&5
30619 echo "$as_me: WARNING: zaptel/tonezone.h: see the Autoconf documentation" >&2;}
30620 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&5
30621 echo "$as_me: WARNING: zaptel/tonezone.h: section \"Present But Cannot Be Compiled\"" >&2;}
30622 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&5
30623 echo "$as_me: WARNING: zaptel/tonezone.h: proceeding with the preprocessor's result" >&2;}
30624 { echo "$as_me:$LINENO: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&5
30625 echo "$as_me: WARNING: zaptel/tonezone.h: in the future, the compiler will take precedence" >&2;}
30629 { echo "$as_me:$LINENO: checking for zaptel/tonezone.h" >&5
30630 echo $ECHO_N "checking for zaptel/tonezone.h... $ECHO_C" >&6; }
30631 if test "${ac_cv_header_zaptel_tonezone_h+set}" = set; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30634 ac_cv_header_zaptel_tonezone_h
=$ac_header_preproc
30636 { echo "$as_me:$LINENO: result: $ac_cv_header_zaptel_tonezone_h" >&5
30637 echo "${ECHO_T}$ac_cv_header_zaptel_tonezone_h" >&6; }
30640 if test $ac_cv_header_zaptel_tonezone_h = yes; then
30641 TONEZONE_HEADER_FOUND
=1
30643 TONEZONE_HEADER_FOUND
=0
30649 if test "x${TONEZONE_HEADER_FOUND}" = "x0" ; then
30650 if test -n "${TONEZONE_MANDATORY}" ;
30652 { echo "$as_me:$LINENO: ***" >&5
30653 echo "$as_me: ***" >&6;}
30654 { echo "$as_me:$LINENO: *** It appears that you do not have the tonezone development package installed." >&5
30655 echo "$as_me: *** It appears that you do not have the tonezone development package installed." >&6;}
30656 { echo "$as_me:$LINENO: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&5
30657 echo "$as_me: *** Please install it to include ${TONEZONE_DESCRIP} support, or re-run configure" >&6;}
30658 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
30659 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
30663 TONEZONE_INCLUDE
=""
30668 cat >>confdefs.h
<<_ACEOF
30669 #define HAVE_TONEZONE 1
30673 elif test -n "${TONEZONE_MANDATORY}";
30675 { echo "$as_me:$LINENO: ***" >&5
30676 echo "$as_me: ***" >&6;}
30677 { echo "$as_me:$LINENO: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&5
30678 echo "$as_me: *** The ${TONEZONE_DESCRIP} installation on this system appears to be broken." >&6;}
30679 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
30680 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
30681 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&5
30682 echo "$as_me: *** without explicitly specifying --with-${TONEZONE_OPTION}" >&6;}
30689 if test "${USE_USB}" != "no"; then
30691 if test "x${USB_DIR}" != "x"; then
30692 if test -d ${USB_DIR}/lib
; then
30693 pbxlibdir
="-L${USB_DIR}/lib"
30695 pbxlibdir
="-L${USB_DIR}"
30698 { echo "$as_me:$LINENO: checking for usb_init in -lusb" >&5
30699 echo $ECHO_N "checking for usb_init in -lusb... $ECHO_C" >&6; }
30700 if test "${ac_cv_lib_usb_usb_init+set}" = set; then
30701 echo $ECHO_N "(cached) $ECHO_C" >&6
30703 ac_check_lib_save_LIBS
=$LIBS
30704 LIBS
="-lusb ${pbxlibdir} $LIBS"
30705 cat >conftest.
$ac_ext <<_ACEOF
30708 cat confdefs.h
>>conftest.
$ac_ext
30709 cat >>conftest.
$ac_ext <<_ACEOF
30710 /* end confdefs.h. */
30712 /* Override any GCC internal prototype to avoid an error.
30713 Use char because int might match the return type of a GCC
30714 builtin and then its argument prototype would still apply. */
30722 return usb_init ();
30727 rm -f conftest.
$ac_objext conftest
$ac_exeext
30728 if { (ac_try
="$ac_link"
30729 case "(($ac_try" in
30730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30731 *) ac_try_echo=$ac_try;;
30733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30734 (eval "$ac_link") 2>conftest.er1
30736 grep -v '^ *+' conftest.er1 >conftest.err
30738 cat conftest.err >&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); } && {
30741 test -z "$ac_c_werror_flag" ||
30742 test ! -s conftest.err
30743 } && test -s conftest$ac_exeext &&
30744 $as_test_x conftest$ac_exeext; then
30745 ac_cv_lib_usb_usb_init=yes
30747 echo "$as_me: failed program was:" >&5
30748 sed 's/^/| /' conftest.$ac_ext >&5
30750 ac_cv_lib_usb_usb_init=no
30753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30754 conftest$ac_exeext conftest.$ac_ext
30755 LIBS=$ac_check_lib_save_LIBS
30757 { echo "$as_me:$LINENO: result: $ac_cv_lib_usb_usb_init" >&5
30758 echo "${ECHO_T}$ac_cv_lib_usb_usb_init" >&6; }
30759 if test $ac_cv_lib_usb_usb_init = yes; then
30766 if test "${AST_USB_FOUND}" = "yes"; then
30768 USB_HEADER_FOUND="1"
30769 if test "x${USB_DIR}" != "x"; then
30770 USB_LIB="${pbxlibdir} ${USB_LIB}"
30771 USB_INCLUDE="-I${USB_DIR}/include"
30772 saved_cppflags="${CPPFLAGS}"
30773 CPPFLAGS="${CPPFLAGS} -I${USB_DIR}/include"
30774 if test "xusb.h" != "x" ; then
30775 as_ac_Header=`echo "ac_cv_header_${USB_DIR}/include/usb.h" |
$as_tr_sh`
30776 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30777 { echo "$as_me:$LINENO: checking for ${USB_DIR}/include/usb.h" >&5
30778 echo $ECHO_N "checking for ${USB_DIR}/include/usb.h... $ECHO_C" >&6; }
30779 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30782 ac_res=`eval echo '${'$as_ac_Header'}'`
30783 { echo "$as_me:$LINENO: result: $ac_res" >&5
30784 echo "${ECHO_T}$ac_res" >&6; }
30786 # Is the header compilable?
30787 { echo "$as_me:$LINENO: checking ${USB_DIR}/include/usb.h usability" >&5
30788 echo $ECHO_N "checking ${USB_DIR}/include/usb.h usability... $ECHO_C" >&6; }
30789 cat >conftest.$ac_ext <<_ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30795 $ac_includes_default
30796 #include <${USB_DIR}/include/usb.h>
30798 rm -f conftest.$ac_objext
30799 if { (ac_try="$ac_compile"
30800 case "(($ac_try" in
30801 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30802 *) ac_try_echo
=$ac_try;;
30804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30805 (eval "$ac_compile") 2>conftest.er1
30807 grep -v '^ *+' conftest.er1
>conftest.err
30809 cat conftest.err
>&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); } && {
30812 test -z "$ac_c_werror_flag" ||
30813 test ! -s conftest.err
30814 } && test -s conftest.
$ac_objext; then
30815 ac_header_compiler
=yes
30817 echo "$as_me: failed program was:" >&5
30818 sed 's/^/| /' conftest.
$ac_ext >&5
30820 ac_header_compiler
=no
30823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30824 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30825 echo "${ECHO_T}$ac_header_compiler" >&6; }
30827 # Is the header present?
30828 { echo "$as_me:$LINENO: checking ${USB_DIR}/include/usb.h presence" >&5
30829 echo $ECHO_N "checking ${USB_DIR}/include/usb.h presence... $ECHO_C" >&6; }
30830 cat >conftest.
$ac_ext <<_ACEOF
30833 cat confdefs.h
>>conftest.
$ac_ext
30834 cat >>conftest.
$ac_ext <<_ACEOF
30835 /* end confdefs.h. */
30836 #include <${USB_DIR}/include/usb.h>
30838 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30839 case "(($ac_try" in
30840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30841 *) ac_try_echo=$ac_try;;
30843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30844 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30846 grep -v '^ *+' conftest.er1 >conftest.err
30848 cat conftest.err >&5
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); } >/dev/null && {
30851 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30852 test ! -s conftest.err
30854 ac_header_preproc=yes
30856 echo "$as_me: failed program was:" >&5
30857 sed 's/^/| /' conftest.$ac_ext >&5
30859 ac_header_preproc=no
30862 rm -f conftest.err conftest.$ac_ext
30863 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30864 echo "${ECHO_T}$ac_header_preproc" >&6; }
30866 # So? What about this header?
30867 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30869 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: accepted by the compiler, rejected by the preprocessor!" >&5
30870 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30871 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: proceeding with the compiler's result" >&5
30872 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: proceeding with the compiler's result" >&2;}
30873 ac_header_preproc=yes
30876 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: present but cannot be compiled" >&5
30877 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: present but cannot be compiled" >&2;}
30878 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: check for missing prerequisite headers?" >&5
30879 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: check for missing prerequisite headers?" >&2;}
30880 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: see the Autoconf documentation" >&5
30881 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: see the Autoconf documentation" >&2;}
30882 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: section \"Present But Cannot Be Compiled\"" >&5
30883 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: section \"Present But Cannot Be Compiled\"" >&2;}
30884 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: proceeding with the preprocessor's result" >&5
30885 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: proceeding with the preprocessor's result" >&2;}
30886 { echo "$as_me:$LINENO: WARNING: ${USB_DIR}/include/usb.h: in the future, the compiler will take precedence" >&5
30887 echo "$as_me: WARNING: ${USB_DIR}/include/usb.h: in the future, the compiler will take precedence" >&2;}
30891 { echo "$as_me:$LINENO: checking for ${USB_DIR}/include/usb.h" >&5
30892 echo $ECHO_N "checking for ${USB_DIR}/include/usb.h... $ECHO_C" >&6; }
30893 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30894 echo $ECHO_N "(cached) $ECHO_C" >&6
30896 eval "$as_ac_Header=\$ac_header_preproc"
30898 ac_res=`eval echo '${'$as_ac_Header'}'`
30899 { echo "$as_me:$LINENO: result: $ac_res" >&5
30900 echo "${ECHO_T}$ac_res" >&6; }
30903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30911 CPPFLAGS="${saved_cppflags}"
30913 if test "xusb.h" != "x" ; then
30914 if test "${ac_cv_header_usb_h+set}" = set; then
30915 { echo "$as_me:$LINENO: checking for usb.h" >&5
30916 echo $ECHO_N "checking for usb.h... $ECHO_C" >&6; }
30917 if test "${ac_cv_header_usb_h+set}" = set; then
30918 echo $ECHO_N "(cached) $ECHO_C" >&6
30920 { echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
30921 echo "${ECHO_T}$ac_cv_header_usb_h" >&6; }
30923 # Is the header compilable?
30924 { echo "$as_me:$LINENO: checking usb.h usability" >&5
30925 echo $ECHO_N "checking usb.h usability... $ECHO_C" >&6; }
30926 cat >conftest.$ac_ext <<_ACEOF
30929 cat confdefs.h >>conftest.$ac_ext
30930 cat >>conftest.$ac_ext <<_ACEOF
30931 /* end confdefs.h. */
30932 $ac_includes_default
30935 rm -f conftest.$ac_objext
30936 if { (ac_try="$ac_compile"
30937 case "(($ac_try" in
30938 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
30939 *) ac_try_echo
=$ac_try;;
30941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30942 (eval "$ac_compile") 2>conftest.er1
30944 grep -v '^ *+' conftest.er1
>conftest.err
30946 cat conftest.err
>&5
30947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30948 (exit $ac_status); } && {
30949 test -z "$ac_c_werror_flag" ||
30950 test ! -s conftest.err
30951 } && test -s conftest.
$ac_objext; then
30952 ac_header_compiler
=yes
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.
$ac_ext >&5
30957 ac_header_compiler
=no
30960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30961 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30962 echo "${ECHO_T}$ac_header_compiler" >&6; }
30964 # Is the header present?
30965 { echo "$as_me:$LINENO: checking usb.h presence" >&5
30966 echo $ECHO_N "checking usb.h presence... $ECHO_C" >&6; }
30967 cat >conftest.
$ac_ext <<_ACEOF
30970 cat confdefs.h
>>conftest.
$ac_ext
30971 cat >>conftest.
$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30975 if { (ac_try
="$ac_cpp conftest.$ac_ext"
30976 case "(($ac_try" in
30977 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
30978 *) ac_try_echo=$ac_try;;
30980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30981 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30983 grep -v '^ *+' conftest.er1 >conftest.err
30985 cat conftest.err >&5
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); } >/dev/null && {
30988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30989 test ! -s conftest.err
30991 ac_header_preproc=yes
30993 echo "$as_me: failed program was:" >&5
30994 sed 's/^/| /' conftest.$ac_ext >&5
30996 ac_header_preproc=no
30999 rm -f conftest.err conftest.$ac_ext
31000 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31001 echo "${ECHO_T}$ac_header_preproc" >&6; }
31003 # So? What about this header?
31004 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31006 { echo "$as_me:$LINENO: WARNING: usb.h: accepted by the compiler, rejected by the preprocessor!" >&5
31007 echo "$as_me: WARNING: usb.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31008 { echo "$as_me:$LINENO: WARNING: usb.h: proceeding with the compiler's result" >&5
31009 echo "$as_me: WARNING: usb.h: proceeding with the compiler's result" >&2;}
31010 ac_header_preproc=yes
31013 { echo "$as_me:$LINENO: WARNING: usb.h: present but cannot be compiled" >&5
31014 echo "$as_me: WARNING: usb.h: present but cannot be compiled" >&2;}
31015 { echo "$as_me:$LINENO: WARNING: usb.h: check for missing prerequisite headers?" >&5
31016 echo "$as_me: WARNING: usb.h: check for missing prerequisite headers?" >&2;}
31017 { echo "$as_me:$LINENO: WARNING: usb.h: see the Autoconf documentation" >&5
31018 echo "$as_me: WARNING: usb.h: see the Autoconf documentation" >&2;}
31019 { echo "$as_me:$LINENO: WARNING: usb.h: section \"Present But Cannot Be Compiled\"" >&5
31020 echo "$as_me: WARNING: usb.h: section \"Present But Cannot Be Compiled\"" >&2;}
31021 { echo "$as_me:$LINENO: WARNING: usb.h: proceeding with the preprocessor's result" >&5
31022 echo "$as_me: WARNING: usb.h: proceeding with the preprocessor's result" >&2;}
31023 { echo "$as_me:$LINENO: WARNING: usb.h: in the future, the compiler will take precedence" >&5
31024 echo "$as_me: WARNING: usb.h: in the future, the compiler will take precedence" >&2;}
31028 { echo "$as_me:$LINENO: checking for usb.h" >&5
31029 echo $ECHO_N "checking for usb.h... $ECHO_C" >&6; }
31030 if test "${ac_cv_header_usb_h+set}" = set; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 ac_cv_header_usb_h=$ac_header_preproc
31035 { echo "$as_me:$LINENO: result: $ac_cv_header_usb_h" >&5
31036 echo "${ECHO_T}$ac_cv_header_usb_h" >&6; }
31039 if test $ac_cv_header_usb_h = yes; then
31048 if test "x${USB_HEADER_FOUND}" = "x0" ; then
31049 if test -n "${USB_MANDATORY}" ;
31051 { echo "$as_me:$LINENO: ***" >&5
31052 echo "$as_me: ***" >&6;}
31053 { echo "$as_me:$LINENO: *** It appears that you do not have the usb development package installed." >&5
31054 echo "$as_me: *** It appears that you do not have the usb development package installed." >&6;}
31055 { echo "$as_me:$LINENO: *** Please install it to include ${USB_DESCRIP} support, or re-run configure" >&5
31056 echo "$as_me: *** Please install it to include ${USB_DESCRIP} support, or re-run configure" >&6;}
31057 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${USB_OPTION}" >&5
31058 echo "$as_me: *** without explicitly specifying --with-${USB_OPTION}" >&6;}
31067 cat >>confdefs.h <<_ACEOF
31072 elif test -n "${USB_MANDATORY}";
31074 { echo "$as_me:$LINENO: ***" >&5
31075 echo "$as_me: ***" >&6;}
31076 { echo "$as_me:$LINENO: *** The ${USB_DESCRIP} installation on this system appears to be broken." >&5
31077 echo "$as_me: *** The ${USB_DESCRIP} installation on this system appears to be broken." >&6;}
31078 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31079 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31080 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${USB_OPTION}" >&5
31081 echo "$as_me: *** without explicitly specifying --with-${USB_OPTION}" >&6;}
31088 if test "${USE_VORBIS}" != "no"; then
31090 if test "x${VORBIS_DIR}" != "x"; then
31091 if test -d ${VORBIS_DIR}/lib; then
31092 pbxlibdir="-L${VORBIS_DIR}/lib"
31094 pbxlibdir="-L${VORBIS_DIR}"
31097 { echo "$as_me:$LINENO: checking for vorbis_info_init in -lvorbis" >&5
31098 echo $ECHO_N "checking for vorbis_info_init in -lvorbis... $ECHO_C" >&6; }
31099 if test "${ac_cv_lib_vorbis_vorbis_info_init+set}" = set; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 ac_check_lib_save_LIBS=$LIBS
31103 LIBS="-lvorbis ${pbxlibdir} -lm -lvorbisenc $LIBS"
31104 cat >conftest.$ac_ext <<_ACEOF
31107 cat confdefs.h >>conftest.$ac_ext
31108 cat >>conftest.$ac_ext <<_ACEOF
31109 /* end confdefs.h. */
31111 /* Override any GCC internal prototype to avoid an error.
31112 Use char because int might match the return type of a GCC
31113 builtin and then its argument prototype would still apply. */
31117 char vorbis_info_init ();
31121 return vorbis_info_init ();
31126 rm -f conftest.$ac_objext conftest$ac_exeext
31127 if { (ac_try="$ac_link"
31128 case "(($ac_try" in
31129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31130 *) ac_try_echo
=$ac_try;;
31132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31133 (eval "$ac_link") 2>conftest.er1
31135 grep -v '^ *+' conftest.er1
>conftest.err
31137 cat conftest.err
>&5
31138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31139 (exit $ac_status); } && {
31140 test -z "$ac_c_werror_flag" ||
31141 test ! -s conftest.err
31142 } && test -s conftest
$ac_exeext &&
31143 $as_test_x conftest
$ac_exeext; then
31144 ac_cv_lib_vorbis_vorbis_info_init
=yes
31146 echo "$as_me: failed program was:" >&5
31147 sed 's/^/| /' conftest.
$ac_ext >&5
31149 ac_cv_lib_vorbis_vorbis_info_init
=no
31152 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31153 conftest
$ac_exeext conftest.
$ac_ext
31154 LIBS
=$ac_check_lib_save_LIBS
31156 { echo "$as_me:$LINENO: result: $ac_cv_lib_vorbis_vorbis_info_init" >&5
31157 echo "${ECHO_T}$ac_cv_lib_vorbis_vorbis_info_init" >&6; }
31158 if test $ac_cv_lib_vorbis_vorbis_info_init = yes; then
31159 AST_VORBIS_FOUND
=yes
31161 AST_VORBIS_FOUND
=no
31165 if test "${AST_VORBIS_FOUND}" = "yes"; then
31166 VORBIS_LIB
="-lvorbis -lm -lvorbisenc"
31167 VORBIS_HEADER_FOUND
="1"
31168 if test "x${VORBIS_DIR}" != "x"; then
31169 VORBIS_LIB
="${pbxlibdir} ${VORBIS_LIB}"
31170 VORBIS_INCLUDE
="-I${VORBIS_DIR}/include"
31171 saved_cppflags
="${CPPFLAGS}"
31172 CPPFLAGS
="${CPPFLAGS} -I${VORBIS_DIR}/include"
31173 if test "xvorbis/codec.h" != "x" ; then
31174 as_ac_Header
=`echo "ac_cv_header_${VORBIS_DIR}/include/vorbis/codec.h" | $as_tr_sh`
31175 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31176 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
31177 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
31178 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31179 echo $ECHO_N "(cached) $ECHO_C" >&6
31181 ac_res
=`eval echo '${'$as_ac_Header'}'`
31182 { echo "$as_me:$LINENO: result: $ac_res" >&5
31183 echo "${ECHO_T}$ac_res" >&6; }
31185 # Is the header compilable?
31186 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h usability" >&5
31187 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h usability... $ECHO_C" >&6; }
31188 cat >conftest.
$ac_ext <<_ACEOF
31191 cat confdefs.h
>>conftest.
$ac_ext
31192 cat >>conftest.
$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194 $ac_includes_default
31195 #include <${VORBIS_DIR}/include/vorbis/codec.h>
31197 rm -f conftest.
$ac_objext
31198 if { (ac_try
="$ac_compile"
31199 case "(($ac_try" in
31200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31201 *) ac_try_echo=$ac_try;;
31203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31204 (eval "$ac_compile") 2>conftest.er1
31206 grep -v '^ *+' conftest.er1 >conftest.err
31208 cat conftest.err >&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } && {
31211 test -z "$ac_c_werror_flag" ||
31212 test ! -s conftest.err
31213 } && test -s conftest.$ac_objext; then
31214 ac_header_compiler=yes
31216 echo "$as_me: failed program was:" >&5
31217 sed 's/^/| /' conftest.$ac_ext >&5
31219 ac_header_compiler=no
31222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31223 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31224 echo "${ECHO_T}$ac_header_compiler" >&6; }
31226 # Is the header present?
31227 { echo "$as_me:$LINENO: checking ${VORBIS_DIR}/include/vorbis/codec.h presence" >&5
31228 echo $ECHO_N "checking ${VORBIS_DIR}/include/vorbis/codec.h presence... $ECHO_C" >&6; }
31229 cat >conftest.$ac_ext <<_ACEOF
31232 cat confdefs.h >>conftest.$ac_ext
31233 cat >>conftest.$ac_ext <<_ACEOF
31234 /* end confdefs.h. */
31235 #include <${VORBIS_DIR}/include/vorbis/codec.h>
31237 if { (ac_try="$ac_cpp conftest.$ac_ext"
31238 case "(($ac_try" in
31239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31240 *) ac_try_echo
=$ac_try;;
31242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31243 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31245 grep -v '^ *+' conftest.er1
>conftest.err
31247 cat conftest.err
>&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } >/dev
/null
&& {
31250 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31251 test ! -s conftest.err
31253 ac_header_preproc
=yes
31255 echo "$as_me: failed program was:" >&5
31256 sed 's/^/| /' conftest.
$ac_ext >&5
31258 ac_header_preproc
=no
31261 rm -f conftest.err conftest.
$ac_ext
31262 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31263 echo "${ECHO_T}$ac_header_preproc" >&6; }
31265 # So? What about this header?
31266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31268 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
31269 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31270 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&5
31271 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the compiler's result" >&2;}
31272 ac_header_preproc
=yes
31275 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&5
31276 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: present but cannot be compiled" >&2;}
31277 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&5
31278 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: check for missing prerequisite headers?" >&2;}
31279 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&5
31280 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: see the Autoconf documentation" >&2;}
31281 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
31282 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
31283 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&5
31284 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
31285 { echo "$as_me:$LINENO: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&5
31286 echo "$as_me: WARNING: ${VORBIS_DIR}/include/vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
31290 { echo "$as_me:$LINENO: checking for ${VORBIS_DIR}/include/vorbis/codec.h" >&5
31291 echo $ECHO_N "checking for ${VORBIS_DIR}/include/vorbis/codec.h... $ECHO_C" >&6; }
31292 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31295 eval "$as_ac_Header=\$ac_header_preproc"
31297 ac_res
=`eval echo '${'$as_ac_Header'}'`
31298 { echo "$as_me:$LINENO: result: $ac_res" >&5
31299 echo "${ECHO_T}$ac_res" >&6; }
31302 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31303 VORBIS_HEADER_FOUND
=1
31305 VORBIS_HEADER_FOUND
=0
31310 CPPFLAGS
="${saved_cppflags}"
31312 if test "xvorbis/codec.h" != "x" ; then
31313 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
31314 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
31315 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
31316 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
31317 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
31320 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
31322 # Is the header compilable?
31323 { echo "$as_me:$LINENO: checking vorbis/codec.h usability" >&5
31324 echo $ECHO_N "checking vorbis/codec.h usability... $ECHO_C" >&6; }
31325 cat >conftest.
$ac_ext <<_ACEOF
31328 cat confdefs.h
>>conftest.
$ac_ext
31329 cat >>conftest.
$ac_ext <<_ACEOF
31330 /* end confdefs.h. */
31331 $ac_includes_default
31332 #include <vorbis/codec.h>
31334 rm -f conftest.
$ac_objext
31335 if { (ac_try
="$ac_compile"
31336 case "(($ac_try" in
31337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31338 *) ac_try_echo=$ac_try;;
31340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31341 (eval "$ac_compile") 2>conftest.er1
31343 grep -v '^ *+' conftest.er1 >conftest.err
31345 cat conftest.err >&5
31346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31347 (exit $ac_status); } && {
31348 test -z "$ac_c_werror_flag" ||
31349 test ! -s conftest.err
31350 } && test -s conftest.$ac_objext; then
31351 ac_header_compiler=yes
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31356 ac_header_compiler=no
31359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31360 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31361 echo "${ECHO_T}$ac_header_compiler" >&6; }
31363 # Is the header present?
31364 { echo "$as_me:$LINENO: checking vorbis/codec.h presence" >&5
31365 echo $ECHO_N "checking vorbis/codec.h presence... $ECHO_C" >&6; }
31366 cat >conftest.$ac_ext <<_ACEOF
31369 cat confdefs.h >>conftest.$ac_ext
31370 cat >>conftest.$ac_ext <<_ACEOF
31371 /* end confdefs.h. */
31372 #include <vorbis/codec.h>
31374 if { (ac_try="$ac_cpp conftest.$ac_ext"
31375 case "(($ac_try" in
31376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31377 *) ac_try_echo
=$ac_try;;
31379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31382 grep -v '^ *+' conftest.er1
>conftest.err
31384 cat conftest.err
>&5
31385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31386 (exit $ac_status); } >/dev
/null
&& {
31387 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31388 test ! -s conftest.err
31390 ac_header_preproc
=yes
31392 echo "$as_me: failed program was:" >&5
31393 sed 's/^/| /' conftest.
$ac_ext >&5
31395 ac_header_preproc
=no
31398 rm -f conftest.err conftest.
$ac_ext
31399 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31400 echo "${ECHO_T}$ac_header_preproc" >&6; }
31402 # So? What about this header?
31403 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31405 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&5
31406 echo "$as_me: WARNING: vorbis/codec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31407 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&5
31408 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the compiler's result" >&2;}
31409 ac_header_preproc
=yes
31412 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: present but cannot be compiled" >&5
31413 echo "$as_me: WARNING: vorbis/codec.h: present but cannot be compiled" >&2;}
31414 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&5
31415 echo "$as_me: WARNING: vorbis/codec.h: check for missing prerequisite headers?" >&2;}
31416 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: see the Autoconf documentation" >&5
31417 echo "$as_me: WARNING: vorbis/codec.h: see the Autoconf documentation" >&2;}
31418 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&5
31419 echo "$as_me: WARNING: vorbis/codec.h: section \"Present But Cannot Be Compiled\"" >&2;}
31420 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&5
31421 echo "$as_me: WARNING: vorbis/codec.h: proceeding with the preprocessor's result" >&2;}
31422 { echo "$as_me:$LINENO: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&5
31423 echo "$as_me: WARNING: vorbis/codec.h: in the future, the compiler will take precedence" >&2;}
31427 { echo "$as_me:$LINENO: checking for vorbis/codec.h" >&5
31428 echo $ECHO_N "checking for vorbis/codec.h... $ECHO_C" >&6; }
31429 if test "${ac_cv_header_vorbis_codec_h+set}" = set; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 ac_cv_header_vorbis_codec_h
=$ac_header_preproc
31434 { echo "$as_me:$LINENO: result: $ac_cv_header_vorbis_codec_h" >&5
31435 echo "${ECHO_T}$ac_cv_header_vorbis_codec_h" >&6; }
31438 if test $ac_cv_header_vorbis_codec_h = yes; then
31439 VORBIS_HEADER_FOUND
=1
31441 VORBIS_HEADER_FOUND
=0
31447 if test "x${VORBIS_HEADER_FOUND}" = "x0" ; then
31448 if test -n "${VORBIS_MANDATORY}" ;
31450 { echo "$as_me:$LINENO: ***" >&5
31451 echo "$as_me: ***" >&6;}
31452 { echo "$as_me:$LINENO: *** It appears that you do not have the vorbis development package installed." >&5
31453 echo "$as_me: *** It appears that you do not have the vorbis development package installed." >&6;}
31454 { echo "$as_me:$LINENO: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&5
31455 echo "$as_me: *** Please install it to include ${VORBIS_DESCRIP} support, or re-run configure" >&6;}
31456 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
31457 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
31466 cat >>confdefs.h
<<_ACEOF
31467 #define HAVE_VORBIS 1
31471 elif test -n "${VORBIS_MANDATORY}";
31473 { echo "$as_me:$LINENO: ***" >&5
31474 echo "$as_me: ***" >&6;}
31475 { echo "$as_me:$LINENO: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&5
31476 echo "$as_me: *** The ${VORBIS_DESCRIP} installation on this system appears to be broken." >&6;}
31477 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31478 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31479 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${VORBIS_OPTION}" >&5
31480 echo "$as_me: *** without explicitly specifying --with-${VORBIS_OPTION}" >&6;}
31487 ac_cpp
='$CXXCPP $CPPFLAGS'
31488 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31493 if test "${USE_VPB}" != "no"; then
31494 { echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
31495 echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
31496 saved_libs
="${LIBS}"
31497 saved_cppflags
="${CPPFLAGS}"
31498 if test "x${VPB_DIR}" != "x"; then
31499 if test -d ${VPB_DIR}/lib
; then
31500 vpblibdir
=${VPB_DIR}/lib
31502 vpblibdir
=${VPB_DIR}
31504 LIBS
="${LIBS} -L${vpblibdir}"
31505 CPPFLAGS
="${CPPFLAGS} -I${VPB_DIR}/include"
31507 LIBS
="${LIBS} -lvpb -lpthread"
31508 cat >conftest.
$ac_ext <<_ACEOF
31512 cat confdefs.h
>>conftest.
$ac_ext
31513 cat >>conftest.
$ac_ext <<_ACEOF
31514 /* end confdefs.h. */
31515 #include <vpbapi.h>
31519 int q = vpb_open(0,0);
31525 rm -f conftest.
$ac_objext conftest
$ac_exeext
31526 if { (ac_try
="$ac_link"
31527 case "(($ac_try" in
31528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31529 *) ac_try_echo=$ac_try;;
31531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31532 (eval "$ac_link") 2>conftest.er1
31534 grep -v '^ *+' conftest.er1 >conftest.err
31536 cat conftest.err >&5
31537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31538 (exit $ac_status); } && {
31539 test -z "$ac_cxx_werror_flag" ||
31540 test ! -s conftest.err
31541 } && test -s conftest$ac_exeext &&
31542 $as_test_x conftest$ac_exeext; then
31543 { echo "$as_me:$LINENO: result: yes" >&5
31544 echo "${ECHO_T}yes" >&6; }
31545 ac_cv_lib_vpb_vpb_open="yes"
31548 echo "$as_me: failed program was:" >&5
31549 sed 's/^/| /' conftest.$ac_ext >&5
31551 { echo "$as_me:$LINENO: result: no" >&5
31552 echo "${ECHO_T}no" >&6; }
31553 ac_cv_lib_vpb_vpb_open="no"
31558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31559 conftest$ac_exeext conftest.$ac_ext
31560 LIBS="${saved_libs}"
31561 CPPFLAGS="${saved_cppflags}"
31562 if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then
31564 if test "${VPB_DIR}" != ""; then
31565 VPB_LIB="-L${vpblibdir} ${VPB_LIB}"
31566 VPB_INCLUDE="-I${VPB_DIR}/include"
31570 cat >>confdefs.h <<\_ACEOF
31574 elif test -n "${VPB_MANDATORY}"; then
31575 { echo "$as_me:$LINENO: ***" >&5
31576 echo "$as_me: ***" >&6;}
31577 { echo "$as_me:$LINENO: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&5
31578 echo "$as_me: *** The VoiceTronix (vpb) installation on this system appears to be broken." >&6;}
31579 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31580 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31581 { echo "$as_me:$LINENO: *** including --without-vpb." >&5
31582 echo "$as_me: *** including --without-vpb." >&6;}
31588 ac_cpp='$CPP $CPPFLAGS'
31589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31595 if test "${USE_ZLIB}" != "no"; then
31597 if test "x${ZLIB_DIR}" != "x"; then
31598 if test -d ${ZLIB_DIR}/lib; then
31599 pbxlibdir="-L${ZLIB_DIR}/lib"
31601 pbxlibdir="-L${ZLIB_DIR}"
31604 { echo "$as_me:$LINENO: checking for compress in -lz" >&5
31605 echo $ECHO_N "checking for compress in -lz... $ECHO_C" >&6; }
31606 if test "${ac_cv_lib_z_compress+set}" = set; then
31607 echo $ECHO_N "(cached) $ECHO_C" >&6
31609 ac_check_lib_save_LIBS=$LIBS
31610 LIBS="-lz ${pbxlibdir} $LIBS"
31611 cat >conftest.$ac_ext <<_ACEOF
31614 cat confdefs.h >>conftest.$ac_ext
31615 cat >>conftest.$ac_ext <<_ACEOF
31616 /* end confdefs.h. */
31618 /* Override any GCC internal prototype to avoid an error.
31619 Use char because int might match the return type of a GCC
31620 builtin and then its argument prototype would still apply. */
31628 return compress ();
31633 rm -f conftest.$ac_objext conftest$ac_exeext
31634 if { (ac_try="$ac_link"
31635 case "(($ac_try" in
31636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31637 *) ac_try_echo
=$ac_try;;
31639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31640 (eval "$ac_link") 2>conftest.er1
31642 grep -v '^ *+' conftest.er1
>conftest.err
31644 cat conftest.err
>&5
31645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31646 (exit $ac_status); } && {
31647 test -z "$ac_c_werror_flag" ||
31648 test ! -s conftest.err
31649 } && test -s conftest
$ac_exeext &&
31650 $as_test_x conftest
$ac_exeext; then
31651 ac_cv_lib_z_compress
=yes
31653 echo "$as_me: failed program was:" >&5
31654 sed 's/^/| /' conftest.
$ac_ext >&5
31656 ac_cv_lib_z_compress
=no
31659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31660 conftest
$ac_exeext conftest.
$ac_ext
31661 LIBS
=$ac_check_lib_save_LIBS
31663 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_compress" >&5
31664 echo "${ECHO_T}$ac_cv_lib_z_compress" >&6; }
31665 if test $ac_cv_lib_z_compress = yes; then
31672 if test "${AST_ZLIB_FOUND}" = "yes"; then
31674 ZLIB_HEADER_FOUND
="1"
31675 if test "x${ZLIB_DIR}" != "x"; then
31676 ZLIB_LIB
="${pbxlibdir} ${ZLIB_LIB}"
31677 ZLIB_INCLUDE
="-I${ZLIB_DIR}/include"
31678 saved_cppflags
="${CPPFLAGS}"
31679 CPPFLAGS
="${CPPFLAGS} -I${ZLIB_DIR}/include"
31680 if test "xzlib.h" != "x" ; then
31681 as_ac_Header
=`echo "ac_cv_header_${ZLIB_DIR}/include/zlib.h" | $as_tr_sh`
31682 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31683 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
31684 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
31685 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31686 echo $ECHO_N "(cached) $ECHO_C" >&6
31688 ac_res
=`eval echo '${'$as_ac_Header'}'`
31689 { echo "$as_me:$LINENO: result: $ac_res" >&5
31690 echo "${ECHO_T}$ac_res" >&6; }
31692 # Is the header compilable?
31693 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h usability" >&5
31694 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h usability... $ECHO_C" >&6; }
31695 cat >conftest.
$ac_ext <<_ACEOF
31698 cat confdefs.h
>>conftest.
$ac_ext
31699 cat >>conftest.
$ac_ext <<_ACEOF
31700 /* end confdefs.h. */
31701 $ac_includes_default
31702 #include <${ZLIB_DIR}/include/zlib.h>
31704 rm -f conftest.
$ac_objext
31705 if { (ac_try
="$ac_compile"
31706 case "(($ac_try" in
31707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31708 *) ac_try_echo=$ac_try;;
31710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31711 (eval "$ac_compile") 2>conftest.er1
31713 grep -v '^ *+' conftest.er1 >conftest.err
31715 cat conftest.err >&5
31716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31717 (exit $ac_status); } && {
31718 test -z "$ac_c_werror_flag" ||
31719 test ! -s conftest.err
31720 } && test -s conftest.$ac_objext; then
31721 ac_header_compiler=yes
31723 echo "$as_me: failed program was:" >&5
31724 sed 's/^/| /' conftest.$ac_ext >&5
31726 ac_header_compiler=no
31729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31730 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31731 echo "${ECHO_T}$ac_header_compiler" >&6; }
31733 # Is the header present?
31734 { echo "$as_me:$LINENO: checking ${ZLIB_DIR}/include/zlib.h presence" >&5
31735 echo $ECHO_N "checking ${ZLIB_DIR}/include/zlib.h presence... $ECHO_C" >&6; }
31736 cat >conftest.$ac_ext <<_ACEOF
31739 cat confdefs.h >>conftest.$ac_ext
31740 cat >>conftest.$ac_ext <<_ACEOF
31741 /* end confdefs.h. */
31742 #include <${ZLIB_DIR}/include/zlib.h>
31744 if { (ac_try="$ac_cpp conftest.$ac_ext"
31745 case "(($ac_try" in
31746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31747 *) ac_try_echo
=$ac_try;;
31749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31750 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31752 grep -v '^ *+' conftest.er1
>conftest.err
31754 cat conftest.err
>&5
31755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31756 (exit $ac_status); } >/dev
/null
&& {
31757 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31758 test ! -s conftest.err
31760 ac_header_preproc
=yes
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.
$ac_ext >&5
31765 ac_header_preproc
=no
31768 rm -f conftest.err conftest.
$ac_ext
31769 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31770 echo "${ECHO_T}$ac_header_preproc" >&6; }
31772 # So? What about this header?
31773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31775 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31776 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31777 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&5
31778 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the compiler's result" >&2;}
31779 ac_header_preproc
=yes
31782 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&5
31783 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: present but cannot be compiled" >&2;}
31784 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&5
31785 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: check for missing prerequisite headers?" >&2;}
31786 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&5
31787 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: see the Autoconf documentation" >&2;}
31788 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&5
31789 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31790 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&5
31791 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: proceeding with the preprocessor's result" >&2;}
31792 { echo "$as_me:$LINENO: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&5
31793 echo "$as_me: WARNING: ${ZLIB_DIR}/include/zlib.h: in the future, the compiler will take precedence" >&2;}
31797 { echo "$as_me:$LINENO: checking for ${ZLIB_DIR}/include/zlib.h" >&5
31798 echo $ECHO_N "checking for ${ZLIB_DIR}/include/zlib.h... $ECHO_C" >&6; }
31799 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
31800 echo $ECHO_N "(cached) $ECHO_C" >&6
31802 eval "$as_ac_Header=\$ac_header_preproc"
31804 ac_res
=`eval echo '${'$as_ac_Header'}'`
31805 { echo "$as_me:$LINENO: result: $ac_res" >&5
31806 echo "${ECHO_T}$ac_res" >&6; }
31809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31810 ZLIB_HEADER_FOUND
=1
31812 ZLIB_HEADER_FOUND
=0
31817 CPPFLAGS
="${saved_cppflags}"
31819 if test "xzlib.h" != "x" ; then
31820 if test "${ac_cv_header_zlib_h+set}" = set; then
31821 { echo "$as_me:$LINENO: checking for zlib.h" >&5
31822 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
31823 if test "${ac_cv_header_zlib_h+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31826 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
31827 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
31829 # Is the header compilable?
31830 { echo "$as_me:$LINENO: checking zlib.h usability" >&5
31831 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6; }
31832 cat >conftest.
$ac_ext <<_ACEOF
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31838 $ac_includes_default
31841 rm -f conftest.
$ac_objext
31842 if { (ac_try
="$ac_compile"
31843 case "(($ac_try" in
31844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
31845 *) ac_try_echo=$ac_try;;
31847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31848 (eval "$ac_compile") 2>conftest.er1
31850 grep -v '^ *+' conftest.er1 >conftest.err
31852 cat conftest.err >&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); } && {
31855 test -z "$ac_c_werror_flag" ||
31856 test ! -s conftest.err
31857 } && test -s conftest.$ac_objext; then
31858 ac_header_compiler=yes
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31863 ac_header_compiler=no
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31868 echo "${ECHO_T}$ac_header_compiler" >&6; }
31870 # Is the header present?
31871 { echo "$as_me:$LINENO: checking zlib.h presence" >&5
31872 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6; }
31873 cat >conftest.$ac_ext <<_ACEOF
31876 cat confdefs.h >>conftest.$ac_ext
31877 cat >>conftest.$ac_ext <<_ACEOF
31878 /* end confdefs.h. */
31881 if { (ac_try="$ac_cpp conftest.$ac_ext"
31882 case "(($ac_try" in
31883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
31884 *) ac_try_echo
=$ac_try;;
31886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31889 grep -v '^ *+' conftest.er1
>conftest.err
31891 cat conftest.err
>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); } >/dev
/null
&& {
31894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31895 test ! -s conftest.err
31897 ac_header_preproc
=yes
31899 echo "$as_me: failed program was:" >&5
31900 sed 's/^/| /' conftest.
$ac_ext >&5
31902 ac_header_preproc
=no
31905 rm -f conftest.err conftest.
$ac_ext
31906 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31907 echo "${ECHO_T}$ac_header_preproc" >&6; }
31909 # So? What about this header?
31910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31912 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
31913 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31914 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
31915 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
31916 ac_header_preproc
=yes
31919 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
31920 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
31921 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
31922 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
31923 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
31924 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
31925 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
31926 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
31927 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
31928 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
31929 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
31930 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
31934 { echo "$as_me:$LINENO: checking for zlib.h" >&5
31935 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
31936 if test "${ac_cv_header_zlib_h+set}" = set; then
31937 echo $ECHO_N "(cached) $ECHO_C" >&6
31939 ac_cv_header_zlib_h
=$ac_header_preproc
31941 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
31942 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
31945 if test $ac_cv_header_zlib_h = yes; then
31946 ZLIB_HEADER_FOUND
=1
31948 ZLIB_HEADER_FOUND
=0
31954 if test "x${ZLIB_HEADER_FOUND}" = "x0" ; then
31955 if test -n "${ZLIB_MANDATORY}" ;
31957 { echo "$as_me:$LINENO: ***" >&5
31958 echo "$as_me: ***" >&6;}
31959 { echo "$as_me:$LINENO: *** It appears that you do not have the z development package installed." >&5
31960 echo "$as_me: *** It appears that you do not have the z development package installed." >&6;}
31961 { echo "$as_me:$LINENO: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&5
31962 echo "$as_me: *** Please install it to include ${ZLIB_DESCRIP} support, or re-run configure" >&6;}
31963 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
31964 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
31973 cat >>confdefs.h
<<_ACEOF
31974 #define HAVE_ZLIB 1
31978 elif test -n "${ZLIB_MANDATORY}";
31980 { echo "$as_me:$LINENO: ***" >&5
31981 echo "$as_me: ***" >&6;}
31982 { echo "$as_me:$LINENO: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&5
31983 echo "$as_me: *** The ${ZLIB_DESCRIP} installation on this system appears to be broken." >&6;}
31984 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
31985 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
31986 { echo "$as_me:$LINENO: *** without explicitly specifying --with-${ZLIB_OPTION}" >&5
31987 echo "$as_me: *** without explicitly specifying --with-${ZLIB_OPTION}" >&6;}
31993 if test "${USE_ZAPTEL}" != "no"; then
31994 { echo "$as_me:$LINENO: checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h" >&5
31995 echo $ECHO_N "checking for ZT_DIAL_OP_CANCEL in zaptel/zaptel.h... $ECHO_C" >&6; }
31996 saved_cppflags
="${CPPFLAGS}"
31997 if test "x${ZAPTEL_DIR}" != "x"; then
31998 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
32000 cat >conftest.
$ac_ext <<_ACEOF
32004 cat confdefs.h
>>conftest.
$ac_ext
32005 cat >>conftest.
$ac_ext <<_ACEOF
32006 /* end confdefs.h. */
32007 #include <zaptel/zaptel.h>
32011 int foo = ZT_DIAL_OP_CANCEL;
32017 rm -f conftest.
$ac_objext
32018 if { (ac_try
="$ac_compile"
32019 case "(($ac_try" in
32020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32021 *) ac_try_echo=$ac_try;;
32023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32024 (eval "$ac_compile") 2>conftest.er1
32026 grep -v '^ *+' conftest.er1 >conftest.err
32028 cat conftest.err >&5
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); } && {
32031 test -z "$ac_c_werror_flag" ||
32032 test ! -s conftest.err
32033 } && test -s conftest.$ac_objext; then
32034 { echo "$as_me:$LINENO: result: yes" >&5
32035 echo "${ECHO_T}yes" >&6; }
32036 ac_cv_zaptel_h="yes"
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32042 { echo "$as_me:$LINENO: result: no" >&5
32043 echo "${ECHO_T}no" >&6; }
32044 ac_cv_zaptel_h="no"
32049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32050 CPPFLAGS="${saved_cppflags}"
32051 if test "${ac_cv_zaptel_h}" = "yes"; then
32052 if test "${ZAPTEL_DIR}" != ""; then
32053 ZAPTEL_INCLUDE="-I${ZAPTEL_DIR}/include"
32057 cat >>confdefs.h <<\_ACEOF
32058 #define HAVE_ZAPTEL 1
32061 elif test -n "${ZAPTEL_MANDATORY}";
32063 { echo "$as_me:$LINENO: ***" >&5
32064 echo "$as_me: ***" >&6;}
32065 { echo "$as_me:$LINENO: *** The Zaptel installation on this system appears to be broken." >&5
32066 echo "$as_me: *** The Zaptel installation on this system appears to be broken." >&6;}
32067 { echo "$as_me:$LINENO: *** Either correct the installation, or run configure" >&5
32068 echo "$as_me: *** Either correct the installation, or run configure" >&6;}
32069 { echo "$as_me:$LINENO: *** including --without-zaptel." >&5
32070 echo "$as_me: *** including --without-zaptel." >&6;}
32075 if test "${PBX_ZAPTEL}" = 1; then
32076 { echo "$as_me:$LINENO: checking for ZT_EVENT_REMOVED in zaptel/zaptel.h" >&5
32077 echo $ECHO_N "checking for ZT_EVENT_REMOVED in zaptel/zaptel.h... $ECHO_C" >&6; }
32078 saved_cppflags="${CPPFLAGS}"
32079 if test "x${ZAPTEL_DIR}" != "x"; then
32080 CPPFLAGS="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
32082 cat >conftest.$ac_ext <<_ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089 #include <zaptel/zaptel.h>
32093 int foo = ZT_EVENT_REMOVED;
32099 rm -f conftest.$ac_objext
32100 if { (ac_try="$ac_compile"
32101 case "(($ac_try" in
32102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32103 *) ac_try_echo
=$ac_try;;
32105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32106 (eval "$ac_compile") 2>conftest.er1
32108 grep -v '^ *+' conftest.er1
>conftest.err
32110 cat conftest.err
>&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } && {
32113 test -z "$ac_c_werror_flag" ||
32114 test ! -s conftest.err
32115 } && test -s conftest.
$ac_objext; then
32116 { echo "$as_me:$LINENO: result: yes" >&5
32117 echo "${ECHO_T}yes" >&6; }
32118 ac_cv_zaptel_vldtmf
="yes"
32121 echo "$as_me: failed program was:" >&5
32122 sed 's/^/| /' conftest.
$ac_ext >&5
32124 { echo "$as_me:$LINENO: result: no" >&5
32125 echo "${ECHO_T}no" >&6; }
32126 ac_cv_zaptel_vldtmf
="no"
32131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32132 CPPFLAGS
="${saved_cppflags}"
32133 if test "${ac_cv_zaptel_vldtmf}" = "yes"; then
32134 PBX_ZAPTEL_VLDTMF
=1
32136 { echo "$as_me:$LINENO: checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h" >&5
32137 echo $ECHO_N "checking for ZT_TCOP_ALLOCATE in zaptel/zaptel.h... $ECHO_C" >&6; }
32138 saved_cppflags
="${CPPFLAGS}"
32139 if test "x${ZAPTEL_DIR}" != "x"; then
32140 CPPFLAGS
="${CPPFLAGS} -I${ZAPTEL_DIR}/include"
32142 cat >conftest.
$ac_ext <<_ACEOF
32146 cat confdefs.h
>>conftest.
$ac_ext
32147 cat >>conftest.
$ac_ext <<_ACEOF
32148 /* end confdefs.h. */
32149 #include <zaptel/zaptel.h>
32153 int foo = ZT_TCOP_ALLOCATE;
32159 rm -f conftest.
$ac_objext
32160 if { (ac_try
="$ac_compile"
32161 case "(($ac_try" in
32162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32163 *) ac_try_echo=$ac_try;;
32165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32166 (eval "$ac_compile") 2>conftest.er1
32168 grep -v '^ *+' conftest.er1 >conftest.err
32170 cat conftest.err >&5
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); } && {
32173 test -z "$ac_c_werror_flag" ||
32174 test ! -s conftest.err
32175 } && test -s conftest.$ac_objext; then
32176 { echo "$as_me:$LINENO: result: yes" >&5
32177 echo "${ECHO_T}yes" >&6; }
32178 ac_cv_zaptel_transcode="yes"
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32184 { echo "$as_me:$LINENO: result: no" >&5
32185 echo "${ECHO_T}no" >&6; }
32186 ac_cv_zaptel_transcode="no"
32191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 CPPFLAGS="${saved_cppflags}"
32193 if test "${ac_cv_zaptel_transcode}" = "yes"; then
32194 PBX_ZAPTEL_TRANSCODE=1
32201 if test "x$TERMCAP_LIB" != "x" ; then
32202 EDITLINE_LIB="$TERMCAP_LIB"
32203 elif test "x$TINFO_LIB" != "x" ; then
32204 EDITLINE_LIB="$TINFO_LIB"
32205 elif test "x$CURSES_LIB" != "x" ; then
32206 EDITLINE_LIB="$CURSES_LIB"
32207 elif test "x$NCURSES_LIB" != "x" ; then
32208 EDITLINE_LIB="$NCURSES_LIB"
32210 { { echo "$as_me:$LINENO: error: *** termcap support not found" >&5
32211 echo "$as_me: error: *** termcap support not found" >&2;}
32212 { (exit 1); exit 1; }; }
32216 if test "${ac_cv_header_h323_h+set}" = set; then
32217 { echo "$as_me:$LINENO: checking for h323.h" >&5
32218 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
32219 if test "${ac_cv_header_h323_h+set}" = set; then
32220 echo $ECHO_N "(cached) $ECHO_C" >&6
32222 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
32223 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
32225 # Is the header compilable?
32226 { echo "$as_me:$LINENO: checking h323.h usability" >&5
32227 echo $ECHO_N "checking h323.h usability... $ECHO_C" >&6; }
32228 cat >conftest.$ac_ext <<_ACEOF
32231 cat confdefs.h >>conftest.$ac_ext
32232 cat >>conftest.$ac_ext <<_ACEOF
32233 /* end confdefs.h. */
32234 $ac_includes_default
32237 rm -f conftest.$ac_objext
32238 if { (ac_try="$ac_compile"
32239 case "(($ac_try" in
32240 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32241 *) ac_try_echo
=$ac_try;;
32243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32244 (eval "$ac_compile") 2>conftest.er1
32246 grep -v '^ *+' conftest.er1
>conftest.err
32248 cat conftest.err
>&5
32249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250 (exit $ac_status); } && {
32251 test -z "$ac_c_werror_flag" ||
32252 test ! -s conftest.err
32253 } && test -s conftest.
$ac_objext; then
32254 ac_header_compiler
=yes
32256 echo "$as_me: failed program was:" >&5
32257 sed 's/^/| /' conftest.
$ac_ext >&5
32259 ac_header_compiler
=no
32262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32263 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32264 echo "${ECHO_T}$ac_header_compiler" >&6; }
32266 # Is the header present?
32267 { echo "$as_me:$LINENO: checking h323.h presence" >&5
32268 echo $ECHO_N "checking h323.h presence... $ECHO_C" >&6; }
32269 cat >conftest.
$ac_ext <<_ACEOF
32272 cat confdefs.h
>>conftest.
$ac_ext
32273 cat >>conftest.
$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32277 if { (ac_try
="$ac_cpp conftest.$ac_ext"
32278 case "(($ac_try" in
32279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32280 *) ac_try_echo=$ac_try;;
32282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32283 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32285 grep -v '^ *+' conftest.er1 >conftest.err
32287 cat conftest.err >&5
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); } >/dev/null && {
32290 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32291 test ! -s conftest.err
32293 ac_header_preproc=yes
32295 echo "$as_me: failed program was:" >&5
32296 sed 's/^/| /' conftest.$ac_ext >&5
32298 ac_header_preproc=no
32301 rm -f conftest.err conftest.$ac_ext
32302 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32303 echo "${ECHO_T}$ac_header_preproc" >&6; }
32305 # So? What about this header?
32306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32308 { echo "$as_me:$LINENO: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&5
32309 echo "$as_me: WARNING: h323.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32310 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the compiler's result" >&5
32311 echo "$as_me: WARNING: h323.h: proceeding with the compiler's result" >&2;}
32312 ac_header_preproc=yes
32315 { echo "$as_me:$LINENO: WARNING: h323.h: present but cannot be compiled" >&5
32316 echo "$as_me: WARNING: h323.h: present but cannot be compiled" >&2;}
32317 { echo "$as_me:$LINENO: WARNING: h323.h: check for missing prerequisite headers?" >&5
32318 echo "$as_me: WARNING: h323.h: check for missing prerequisite headers?" >&2;}
32319 { echo "$as_me:$LINENO: WARNING: h323.h: see the Autoconf documentation" >&5
32320 echo "$as_me: WARNING: h323.h: see the Autoconf documentation" >&2;}
32321 { echo "$as_me:$LINENO: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&5
32322 echo "$as_me: WARNING: h323.h: section \"Present But Cannot Be Compiled\"" >&2;}
32323 { echo "$as_me:$LINENO: WARNING: h323.h: proceeding with the preprocessor's result" >&5
32324 echo "$as_me: WARNING: h323.h: proceeding with the preprocessor's result" >&2;}
32325 { echo "$as_me:$LINENO: WARNING: h323.h: in the future, the compiler will take precedence" >&5
32326 echo "$as_me: WARNING: h323.h: in the future, the compiler will take precedence" >&2;}
32330 { echo "$as_me:$LINENO: checking for h323.h" >&5
32331 echo $ECHO_N "checking for h323.h... $ECHO_C" >&6; }
32332 if test "${ac_cv_header_h323_h+set}" = set; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 ac_cv_header_h323_h=$ac_header_preproc
32337 { echo "$as_me:$LINENO: result: $ac_cv_header_h323_h" >&5
32338 echo "${ECHO_T}$ac_cv_header_h323_h" >&6; }
32341 if test $ac_cv_header_h323_h = yes; then
32350 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
32351 { echo "$as_me:$LINENO: checking for linux/compiler.h" >&5
32352 echo $ECHO_N "checking for linux/compiler.h... $ECHO_C" >&6; }
32353 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32356 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_compiler_h" >&5
32357 echo "${ECHO_T}$ac_cv_header_linux_compiler_h" >&6; }
32359 # Is the header compilable?
32360 { echo "$as_me:$LINENO: checking linux/compiler.h usability" >&5
32361 echo $ECHO_N "checking linux/compiler.h usability... $ECHO_C" >&6; }
32362 cat >conftest.$ac_ext <<_ACEOF
32365 cat confdefs.h >>conftest.$ac_ext
32366 cat >>conftest.$ac_ext <<_ACEOF
32367 /* end confdefs.h. */
32368 $ac_includes_default
32369 #include <linux/compiler.h>
32371 rm -f conftest.$ac_objext
32372 if { (ac_try="$ac_compile"
32373 case "(($ac_try" in
32374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32375 *) ac_try_echo
=$ac_try;;
32377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32378 (eval "$ac_compile") 2>conftest.er1
32380 grep -v '^ *+' conftest.er1
>conftest.err
32382 cat conftest.err
>&5
32383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32384 (exit $ac_status); } && {
32385 test -z "$ac_c_werror_flag" ||
32386 test ! -s conftest.err
32387 } && test -s conftest.
$ac_objext; then
32388 ac_header_compiler
=yes
32390 echo "$as_me: failed program was:" >&5
32391 sed 's/^/| /' conftest.
$ac_ext >&5
32393 ac_header_compiler
=no
32396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32397 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32398 echo "${ECHO_T}$ac_header_compiler" >&6; }
32400 # Is the header present?
32401 { echo "$as_me:$LINENO: checking linux/compiler.h presence" >&5
32402 echo $ECHO_N "checking linux/compiler.h presence... $ECHO_C" >&6; }
32403 cat >conftest.
$ac_ext <<_ACEOF
32406 cat confdefs.h
>>conftest.
$ac_ext
32407 cat >>conftest.
$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32409 #include <linux/compiler.h>
32411 if { (ac_try
="$ac_cpp conftest.$ac_ext"
32412 case "(($ac_try" in
32413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32414 *) ac_try_echo=$ac_try;;
32416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32419 grep -v '^ *+' conftest.er1 >conftest.err
32421 cat conftest.err >&5
32422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32423 (exit $ac_status); } >/dev/null && {
32424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32425 test ! -s conftest.err
32427 ac_header_preproc=yes
32429 echo "$as_me: failed program was:" >&5
32430 sed 's/^/| /' conftest.$ac_ext >&5
32432 ac_header_preproc=no
32435 rm -f conftest.err conftest.$ac_ext
32436 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32437 echo "${ECHO_T}$ac_header_preproc" >&6; }
32439 # So? What about this header?
32440 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32442 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: accepted by the compiler, rejected by the preprocessor!" >&5
32443 echo "$as_me: WARNING: linux/compiler.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32444 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: proceeding with the compiler's result" >&5
32445 echo "$as_me: WARNING: linux/compiler.h: proceeding with the compiler's result" >&2;}
32446 ac_header_preproc=yes
32449 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: present but cannot be compiled" >&5
32450 echo "$as_me: WARNING: linux/compiler.h: present but cannot be compiled" >&2;}
32451 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: check for missing prerequisite headers?" >&5
32452 echo "$as_me: WARNING: linux/compiler.h: check for missing prerequisite headers?" >&2;}
32453 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: see the Autoconf documentation" >&5
32454 echo "$as_me: WARNING: linux/compiler.h: see the Autoconf documentation" >&2;}
32455 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: section \"Present But Cannot Be Compiled\"" >&5
32456 echo "$as_me: WARNING: linux/compiler.h: section \"Present But Cannot Be Compiled\"" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: proceeding with the preprocessor's result" >&5
32458 echo "$as_me: WARNING: linux/compiler.h: proceeding with the preprocessor's result" >&2;}
32459 { echo "$as_me:$LINENO: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&5
32460 echo "$as_me: WARNING: linux/compiler.h: in the future, the compiler will take precedence" >&2;}
32464 { echo "$as_me:$LINENO: checking for linux/compiler.h" >&5
32465 echo $ECHO_N "checking for linux/compiler.h... $ECHO_C" >&6; }
32466 if test "${ac_cv_header_linux_compiler_h+set}" = set; then
32467 echo $ECHO_N "(cached) $ECHO_C" >&6
32469 ac_cv_header_linux_compiler_h=$ac_header_preproc
32471 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_compiler_h" >&5
32472 echo "${ECHO_T}$ac_cv_header_linux_compiler_h" >&6; }
32475 if test $ac_cv_header_linux_compiler_h = yes; then
32477 cat >>confdefs.h <<_ACEOF
32478 #define HAVE_LINUX_COMPILER_H 1
32485 { echo "$as_me:$LINENO: checking for linux/ixjuser.h" >&5
32486 echo $ECHO_N "checking for linux/ixjuser.h... $ECHO_C" >&6; }
32487 if test "${ac_cv_header_linux_ixjuser_h+set}" = set; then
32488 echo $ECHO_N "(cached) $ECHO_C" >&6
32490 cat >conftest.$ac_ext <<_ACEOF
32493 cat confdefs.h >>conftest.$ac_ext
32494 cat >>conftest.$ac_ext <<_ACEOF
32495 /* end confdefs.h. */
32497 #include <linux/version.h>
32498 #ifdef HAVE_LINUX_COMPILER_H
32499 #include <linux/compiler.h>
32503 #include <linux/ixjuser.h>
32505 rm -f conftest.$ac_objext
32506 if { (ac_try="$ac_compile"
32507 case "(($ac_try" in
32508 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
32509 *) ac_try_echo
=$ac_try;;
32511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32512 (eval "$ac_compile") 2>conftest.er1
32514 grep -v '^ *+' conftest.er1
>conftest.err
32516 cat conftest.err
>&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); } && {
32519 test -z "$ac_c_werror_flag" ||
32520 test ! -s conftest.err
32521 } && test -s conftest.
$ac_objext; then
32522 ac_cv_header_linux_ixjuser_h
=yes
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.
$ac_ext >&5
32527 ac_cv_header_linux_ixjuser_h
=no
32530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32532 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_ixjuser_h" >&5
32533 echo "${ECHO_T}$ac_cv_header_linux_ixjuser_h" >&6; }
32534 if test $ac_cv_header_linux_ixjuser_h = yes; then
32544 if test -n "$ac_tool_prefix"; then
32545 # Extract the first word of "${ac_tool_prefix}gtk-config", so it can be a program name with args.
32546 set dummy
${ac_tool_prefix}gtk-config
; ac_word
=$2
32547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32549 if test "${ac_cv_prog_GTKCONFIG+set}" = set; then
32550 echo $ECHO_N "(cached) $ECHO_C" >&6
32552 if test -n "$GTKCONFIG"; then
32553 ac_cv_prog_GTKCONFIG
="$GTKCONFIG" # Let the user override the test.
32555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32556 for as_dir
in $PATH
32559 test -z "$as_dir" && as_dir
=.
32560 for ac_exec_ext
in '' $ac_executable_extensions; do
32561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32562 ac_cv_prog_GTKCONFIG
="${ac_tool_prefix}gtk-config"
32563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32572 GTKCONFIG
=$ac_cv_prog_GTKCONFIG
32573 if test -n "$GTKCONFIG"; then
32574 { echo "$as_me:$LINENO: result: $GTKCONFIG" >&5
32575 echo "${ECHO_T}$GTKCONFIG" >&6; }
32577 { echo "$as_me:$LINENO: result: no" >&5
32578 echo "${ECHO_T}no" >&6; }
32583 if test -z "$ac_cv_prog_GTKCONFIG"; then
32584 ac_ct_GTKCONFIG
=$GTKCONFIG
32585 # Extract the first word of "gtk-config", so it can be a program name with args.
32586 set dummy gtk-config
; ac_word
=$2
32587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32589 if test "${ac_cv_prog_ac_ct_GTKCONFIG+set}" = set; then
32590 echo $ECHO_N "(cached) $ECHO_C" >&6
32592 if test -n "$ac_ct_GTKCONFIG"; then
32593 ac_cv_prog_ac_ct_GTKCONFIG
="$ac_ct_GTKCONFIG" # Let the user override the test.
32595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32596 for as_dir
in $PATH
32599 test -z "$as_dir" && as_dir
=.
32600 for ac_exec_ext
in '' $ac_executable_extensions; do
32601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32602 ac_cv_prog_ac_ct_GTKCONFIG
="gtk-config"
32603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32612 ac_ct_GTKCONFIG
=$ac_cv_prog_ac_ct_GTKCONFIG
32613 if test -n "$ac_ct_GTKCONFIG"; then
32614 { echo "$as_me:$LINENO: result: $ac_ct_GTKCONFIG" >&5
32615 echo "${ECHO_T}$ac_ct_GTKCONFIG" >&6; }
32617 { echo "$as_me:$LINENO: result: no" >&5
32618 echo "${ECHO_T}no" >&6; }
32621 if test "x$ac_ct_GTKCONFIG" = x
; then
32624 case $cross_compiling:$ac_tool_warned in
32626 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32627 whose name does not start with the host triplet. If you think this
32628 configuration is useful to you, please write to autoconf@gnu.org." >&5
32629 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32630 whose name does not start with the host triplet. If you think this
32631 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32632 ac_tool_warned
=yes ;;
32634 GTKCONFIG
=$ac_ct_GTKCONFIG
32637 GTKCONFIG
="$ac_cv_prog_GTKCONFIG"
32640 if test ! "x${GTKCONFIG}" = xNo
; then
32641 GTK_INCLUDE
=$
(${GTKCONFIG} --cflags gthread
)
32642 GTK_LIB
=$
(${GTKCONFIG} --libs gthread
)
32645 cat >>confdefs.h
<<\_ACEOF
32655 if test -n "$ac_tool_prefix"; then
32656 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32657 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
32658 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32660 if test "${ac_cv_prog_PKGCONFIG+set}" = set; then
32661 echo $ECHO_N "(cached) $ECHO_C" >&6
32663 if test -n "$PKGCONFIG"; then
32664 ac_cv_prog_PKGCONFIG
="$PKGCONFIG" # Let the user override the test.
32666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32667 for as_dir
in $PATH
32670 test -z "$as_dir" && as_dir
=.
32671 for ac_exec_ext
in '' $ac_executable_extensions; do
32672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32673 ac_cv_prog_PKGCONFIG
="${ac_tool_prefix}pkg-config"
32674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32683 PKGCONFIG
=$ac_cv_prog_PKGCONFIG
32684 if test -n "$PKGCONFIG"; then
32685 { echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
32686 echo "${ECHO_T}$PKGCONFIG" >&6; }
32688 { echo "$as_me:$LINENO: result: no" >&5
32689 echo "${ECHO_T}no" >&6; }
32694 if test -z "$ac_cv_prog_PKGCONFIG"; then
32695 ac_ct_PKGCONFIG
=$PKGCONFIG
32696 # Extract the first word of "pkg-config", so it can be a program name with args.
32697 set dummy pkg-config
; ac_word
=$2
32698 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32700 if test "${ac_cv_prog_ac_ct_PKGCONFIG+set}" = set; then
32701 echo $ECHO_N "(cached) $ECHO_C" >&6
32703 if test -n "$ac_ct_PKGCONFIG"; then
32704 ac_cv_prog_ac_ct_PKGCONFIG
="$ac_ct_PKGCONFIG" # Let the user override the test.
32706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32707 for as_dir
in $PATH
32710 test -z "$as_dir" && as_dir
=.
32711 for ac_exec_ext
in '' $ac_executable_extensions; do
32712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32713 ac_cv_prog_ac_ct_PKGCONFIG
="pkg-config"
32714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32723 ac_ct_PKGCONFIG
=$ac_cv_prog_ac_ct_PKGCONFIG
32724 if test -n "$ac_ct_PKGCONFIG"; then
32725 { echo "$as_me:$LINENO: result: $ac_ct_PKGCONFIG" >&5
32726 echo "${ECHO_T}$ac_ct_PKGCONFIG" >&6; }
32728 { echo "$as_me:$LINENO: result: no" >&5
32729 echo "${ECHO_T}no" >&6; }
32732 if test "x$ac_ct_PKGCONFIG" = x
; then
32735 case $cross_compiling:$ac_tool_warned in
32737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32738 whose name does not start with the host triplet. If you think this
32739 configuration is useful to you, please write to autoconf@gnu.org." >&5
32740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32741 whose name does not start with the host triplet. If you think this
32742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32743 ac_tool_warned
=yes ;;
32745 PKGCONFIG
=$ac_ct_PKGCONFIG
32748 PKGCONFIG
="$ac_cv_prog_PKGCONFIG"
32751 if test ! "x${PKGCONFIG}" = xNo
; then
32752 GTK2_INCLUDE
=$
(${PKGCONFIG} gtk
+-2.0
--cflags 2>/dev
/null
)
32753 GTK2_LIB
=$
(${PKGCONFIG} gtk
+-2.0
--libs)
32756 cat >>confdefs.h
<<\_ACEOF
32757 #define HAVE_GTK2 1
32765 if test "${USE_CURL}" != "no"; then
32766 if test -n "$ac_tool_prefix"; then
32767 # Extract the first word of "${ac_tool_prefix}curl-config", so it can be a program name with args.
32768 set dummy
${ac_tool_prefix}curl-config
; ac_word
=$2
32769 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32771 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 case $CURL_CONFIG in
32776 ac_cv_path_CURL_CONFIG
="$CURL_CONFIG" # Let the user override the test with a path.
32779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32780 for as_dir
in $PATH
32783 test -z "$as_dir" && as_dir
=.
32784 for ac_exec_ext
in '' $ac_executable_extensions; do
32785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32786 ac_cv_path_CURL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32787 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32797 CURL_CONFIG
=$ac_cv_path_CURL_CONFIG
32798 if test -n "$CURL_CONFIG"; then
32799 { echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
32800 echo "${ECHO_T}$CURL_CONFIG" >&6; }
32802 { echo "$as_me:$LINENO: result: no" >&5
32803 echo "${ECHO_T}no" >&6; }
32808 if test -z "$ac_cv_path_CURL_CONFIG"; then
32809 ac_pt_CURL_CONFIG
=$CURL_CONFIG
32810 # Extract the first word of "curl-config", so it can be a program name with args.
32811 set dummy curl-config
; ac_word
=$2
32812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32814 if test "${ac_cv_path_ac_pt_CURL_CONFIG+set}" = set; then
32815 echo $ECHO_N "(cached) $ECHO_C" >&6
32817 case $ac_pt_CURL_CONFIG in
32819 ac_cv_path_ac_pt_CURL_CONFIG
="$ac_pt_CURL_CONFIG" # Let the user override the test with a path.
32822 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
32823 for as_dir
in $PATH
32826 test -z "$as_dir" && as_dir
=.
32827 for ac_exec_ext
in '' $ac_executable_extensions; do
32828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32829 ac_cv_path_ac_pt_CURL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
32830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32840 ac_pt_CURL_CONFIG
=$ac_cv_path_ac_pt_CURL_CONFIG
32841 if test -n "$ac_pt_CURL_CONFIG"; then
32842 { echo "$as_me:$LINENO: result: $ac_pt_CURL_CONFIG" >&5
32843 echo "${ECHO_T}$ac_pt_CURL_CONFIG" >&6; }
32845 { echo "$as_me:$LINENO: result: no" >&5
32846 echo "${ECHO_T}no" >&6; }
32849 if test "x$ac_pt_CURL_CONFIG" = x
; then
32852 case $cross_compiling:$ac_tool_warned in
32854 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32855 whose name does not start with the host triplet. If you think this
32856 configuration is useful to you, please write to autoconf@gnu.org." >&5
32857 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32858 whose name does not start with the host triplet. If you think this
32859 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32860 ac_tool_warned
=yes ;;
32862 CURL_CONFIG
=$ac_pt_CURL_CONFIG
32865 CURL_CONFIG
="$ac_cv_path_CURL_CONFIG"
32868 if test ! x
"${CURL_CONFIG}" = xNo
; then
32869 # check for version
32870 if test $
(printf "%d" 0x$
(${CURL_CONFIG} --vernum)) -ge $
(printf "%d" 0x070907); then
32871 CURL_INCLUDE
=$
(${CURL_CONFIG} --cflags)
32872 CURL_LIB
=$
(${CURL_CONFIG} --libs)
32874 { echo "$as_me:$LINENO: checking for curl_version() in curl/curl.h" >&5
32875 echo $ECHO_N "checking for curl_version() in curl/curl.h... $ECHO_C" >&6; }
32876 saved_cppflags
="${CPPFLAGS}"
32877 CPPFLAGS
="${CPPFLAGS} ${CURL_INCLUDE}"
32878 cat >conftest.
$ac_ext <<_ACEOF
32881 cat confdefs.h
>>conftest.
$ac_ext
32882 cat >>conftest.
$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884 #include <curl/curl.h>
32894 rm -f conftest.
$ac_objext
32895 if { (ac_try
="$ac_compile"
32896 case "(($ac_try" in
32897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
32898 *) ac_try_echo=$ac_try;;
32900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32901 (eval "$ac_compile") 2>conftest.er1
32903 grep -v '^ *+' conftest.er1 >conftest.err
32905 cat conftest.err >&5
32906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32907 (exit $ac_status); } && {
32908 test -z "$ac_c_werror_flag" ||
32909 test ! -s conftest.err
32910 } && test -s conftest.$ac_objext; then
32912 { echo "$as_me:$LINENO: result: yes" >&5
32913 echo "${ECHO_T}yes" >&6; }
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.$ac_ext >&5
32921 { echo "$as_me:$LINENO: result: no" >&5
32922 echo "${ECHO_T}no" >&6; }
32928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32929 CPPFLAGS="${saved_cppflags}"
32930 if test "${ac_cv_curl_h}" = "yes"; then
32933 cat >>confdefs.h <<\_ACEOF
32934 #define HAVE_CURL 1
32942 ac_config_files="$ac_config_files build_tools/menuselect-deps makeopts channels/h323/Makefile"
32944 cat >confcache <<\_ACEOF
32945 # This file is a shell script that caches the results of configure
32946 # tests run on this system so they can be shared between configure
32947 # scripts and configure runs, see configure's option --config-cache.
32948 # It is not useful on other systems. If it contains results you don't
32949 # want to keep, you may remove or edit it.
32951 # config.status only pays attention to the cache file if you give it
32952 # the --recheck option to rerun configure.
32954 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
32955 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32956 # following values.
32960 # The following way of writing the cache mishandles newlines in values,
32961 # but we know of no workaround that is simple, portable, and efficient.
32962 # So, we kill variables containing newlines.
32963 # Ultrix sh set writes to stderr and can't be redirected directly,
32964 # and sets the high bit in the cache file unless we assign to the vars.
32966 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32967 eval ac_val
=\$
$ac_var
32971 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
32972 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
32975 _ | IFS | as_nl
) ;; #(
32976 *) $as_unset $ac_var ;;
32982 case $as_nl`(ac_space=' '; set) 2>&1` in #(
32983 *${as_nl}ac_space
=\
*)
32984 # `set' does not quote correctly, so add quotes (double-quote
32985 # substitution turns \\\\ into \\, and sed turns \\ into \).
32988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32991 # `set' quotes correctly as required by POSIX, so do not add quotes.
32992 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
33001 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33003 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33005 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
33006 if test -w "$cache_file"; then
33007 test "x$cache_file" != "x/dev/null" &&
33008 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
33009 echo "$as_me: updating cache $cache_file" >&6;}
33010 cat confcache
>$cache_file
33012 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
33013 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
33018 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
33019 # Let make expand exec_prefix.
33020 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
33022 DEFS
=-DHAVE_CONFIG_H
33026 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
33027 # 1. Remove the extension, and $U if already installed.
33028 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
33029 ac_i
=`echo "$ac_i" | sed "$ac_script"`
33030 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
33031 # will be set to the directory where LIBOBJS objects are built.
33032 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
33033 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
33035 LIBOBJS
=$ac_libobjs
33037 LTLIBOBJS
=$ac_ltlibobjs
33041 : ${CONFIG_STATUS=./config.status}
33042 ac_clean_files_save
=$ac_clean_files
33043 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
33044 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33045 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33046 cat >$CONFIG_STATUS <<_ACEOF
33048 # Generated by $as_me.
33049 # Run this file to recreate the current configuration.
33050 # Compiler output produced by configure, useful for debugging
33051 # configure, is in config.log if it exists.
33054 ac_cs_recheck=false
33056 SHELL=\${CONFIG_SHELL-$SHELL}
33059 cat >>$CONFIG_STATUS <<\_ACEOF
33060 ## --------------------- ##
33061 ## M4sh Initialization. ##
33062 ## --------------------- ##
33064 # Be more Bourne compatible
33065 DUALCASE
=1; export DUALCASE
# for MKS sh
33066 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
33069 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33070 # is contrary to our usage. Disable this feature.
33071 alias -g '${1+"$@"}'='"$@"'
33072 setopt NO_GLOB_SUBST
33074 case `(set -o) 2>/dev/null` in
33075 *posix
*) set -o posix
;;
33084 # Avoid depending upon Character Ranges.
33085 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33086 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33087 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
33088 as_cr_digits
='0123456789'
33089 as_cr_alnum
=$as_cr_Letters$as_cr_digits
33091 # The user is always right.
33092 if test "${PATH_SEPARATOR+set}" != set; then
33093 echo "#! /bin/sh" >conf$$.sh
33094 echo "exit 0" >>conf$$.sh
33096 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
33104 # Support unset when possible.
33105 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
33113 # We need space, tab and new line, in precisely that order. Quoting is
33114 # there to prevent editors from complaining about space-tab.
33115 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
33116 # splitting by setting IFS to empty value.)
33121 # Find who we are. Look in the path if we contain no directory separator.
33123 *[\\/]* ) as_myself
=$0 ;;
33124 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33125 for as_dir
in $PATH
33128 test -z "$as_dir" && as_dir
=.
33129 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
33135 # We did not find ourselves, most probably we were run as `sh COMMAND'
33136 # in which case we are not to be found in the path.
33137 if test "x$as_myself" = x
; then
33140 if test ! -f "$as_myself"; then
33141 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33142 { (exit 1); exit 1; }
33145 # Work around bugs in pre-3.0 UWIN ksh.
33146 for as_var
in ENV MAIL MAILPATH
33147 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33155 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33156 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33157 LC_TELEPHONE LC_TIME
33159 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33160 eval $as_var=C
; export $as_var
33162 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
33166 # Required to use basename.
33167 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33168 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33174 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33175 as_basename
=basename
33181 # Name of the executable.
33182 as_me
=`$as_basename -- "$0" ||
33183 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33184 X"$0" : 'X\(//\)$' \| \
33185 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33187 sed '/^.*\/\([^/][^/]*\)\/*$/{
33206 as_lineno_1
=$LINENO
33207 as_lineno_2
=$LINENO
33208 test "x$as_lineno_1" != "x$as_lineno_2" &&
33209 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
33211 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33212 # uniformly replaced by the line number. The first 'sed' inserts a
33213 # line-number line after each line using $LINENO; the second 'sed'
33214 # does the real work. The second script uses 'N' to pair each
33215 # line-number line with the line containing $LINENO, and appends
33216 # trailing '-' during substitution so that $LINENO is not a special
33217 # case at line end.
33218 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33219 # scripts with optimization help from Paolo Bonzini. Blame Lee
33220 # E. McMahon (1931-1989) for sed's syntax. :-)
33232 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
33235 ' >$as_me.lineno
&&
33236 chmod +x
"$as_me.lineno" ||
33237 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
33238 { (exit 1); exit 1; }; }
33240 # Don't try to exec as it changes $[0], causing all sort of problems
33241 # (the dirname of $[0] is not the place where we might find the
33242 # original and so on. Autoconf is especially sensitive to this).
33243 .
"./$as_me.lineno"
33244 # Exit status is that of the last command.
33249 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
33255 ECHO_C
= ECHO_N
= ECHO_T
=
33256 case `echo -n x` in
33258 case `echo 'x\c'` in
33259 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
33266 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
33267 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
33273 rm -f conf$$ conf$$.exe conf$$.
file
33274 if test -d conf$$.dir
; then
33275 rm -f conf$$.dir
/conf$$.
file
33281 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
33283 # ... but there are two gotchas:
33284 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33285 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33286 # In both cases, we have to default to `cp -p'.
33287 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
33289 elif ln conf$$.
file conf$$
2>/dev
/null
; then
33294 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
33295 rmdir conf$$.dir
2>/dev
/null
33297 if mkdir
-p .
2>/dev
/null
; then
33300 test -d .
/-p && rmdir .
/-p
33304 if test -x / >/dev
/null
2>&1; then
33305 as_test_x
='test -x'
33307 if ls -dL / >/dev
/null
2>&1; then
33314 if test -d "$1"; then
33320 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
33321 ???[sx]*):;;*)false;;esac;fi
33325 as_executable_p
=$as_test_x
33327 # Sed expression to map a string onto a valid CPP name.
33328 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33330 # Sed expression to map a string onto a valid variable name.
33331 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33336 # Save the log message, to keep $[0] and so on meaningful, and to
33337 # report actual input values of CONFIG_FILES etc. instead of their
33338 # values after options handling.
33340 This file was extended by $as_me, which was
33341 generated by GNU Autoconf 2.61. Invocation command line was
33343 CONFIG_FILES = $CONFIG_FILES
33344 CONFIG_HEADERS = $CONFIG_HEADERS
33345 CONFIG_LINKS = $CONFIG_LINKS
33346 CONFIG_COMMANDS = $CONFIG_COMMANDS
33349 on `(hostname || uname -n) 2>/dev/null | sed 1q`
33354 cat >>$CONFIG_STATUS <<_ACEOF
33355 # Files that config.status was made for.
33356 config_files="$ac_config_files"
33357 config_headers="$ac_config_headers"
33361 cat >>$CONFIG_STATUS <<\_ACEOF
33363 \`$as_me' instantiates files from templates according to the
33364 current configuration.
33366 Usage: $0 [OPTIONS] [FILE]...
33368 -h, --help print this help, then exit
33369 -V, --version print version number and configuration settings, then exit
33370 -q, --quiet do not print progress messages
33371 -d, --debug don't remove temporary files
33372 --recheck update $as_me by reconfiguring in the same conditions
33373 --file=FILE[:TEMPLATE]
33374 instantiate the configuration file FILE
33375 --header=FILE[:TEMPLATE]
33376 instantiate the configuration header FILE
33378 Configuration files:
33381 Configuration headers:
33384 Report bugs to <bug-autoconf@gnu.org>."
33387 cat >>$CONFIG_STATUS <<_ACEOF
33390 configured by $0, generated by GNU Autoconf 2.61,
33391 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
33393 Copyright (C) 2006 Free Software Foundation, Inc.
33394 This config.status script is free software; the Free Software Foundation
33395 gives unlimited permission to copy, distribute and modify it."
33402 cat >>$CONFIG_STATUS <<\_ACEOF
33403 # If no file are specified by the user, then we need to provide default
33404 # value. By we need to know if files were specified by the user.
33410 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
33411 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
33422 # Handling of the options.
33423 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
33425 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
33426 echo "$ac_cs_version"; exit ;;
33427 --debug |
--debu |
--deb |
--de |
--d |
-d )
33429 --file |
--fil |
--fi |
--f )
33431 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
33432 ac_need_defaults
=false
;;
33433 --header |
--heade |
--head |
--hea )
33435 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
33436 ac_need_defaults
=false
;;
33438 # Conflict between --help and --header
33439 { echo "$as_me: error: ambiguous option: $1
33440 Try \`$0 --help' for more information." >&2
33441 { (exit 1); exit 1; }; };;
33442 --help |
--hel |
-h )
33443 echo "$ac_cs_usage"; exit ;;
33444 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
33445 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
33448 # This is an error.
33449 -*) { echo "$as_me: error: unrecognized option: $1
33450 Try \`$0 --help' for more information." >&2
33451 { (exit 1); exit 1; }; } ;;
33453 *) ac_config_targets
="$ac_config_targets $1"
33454 ac_need_defaults
=false
;;
33460 ac_configure_extra_args
=
33462 if $ac_cs_silent; then
33464 ac_configure_extra_args
="$ac_configure_extra_args --silent"
33468 cat >>$CONFIG_STATUS <<_ACEOF
33469 if \$ac_cs_recheck; then
33470 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33471 CONFIG_SHELL=$SHELL
33472 export CONFIG_SHELL
33473 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33477 cat >>$CONFIG_STATUS <<\_ACEOF
33481 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33482 ## Running $as_me. ##
33488 cat >>$CONFIG_STATUS <<_ACEOF
33491 cat >>$CONFIG_STATUS <<\_ACEOF
33493 # Handling of arguments.
33494 for ac_config_target
in $ac_config_targets
33496 case $ac_config_target in
33497 "include/asterisk/autoconfig.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/asterisk/autoconfig.h" ;;
33498 "build_tools/menuselect-deps") CONFIG_FILES
="$CONFIG_FILES build_tools/menuselect-deps" ;;
33499 "makeopts") CONFIG_FILES
="$CONFIG_FILES makeopts" ;;
33500 "channels/h323/Makefile") CONFIG_FILES
="$CONFIG_FILES channels/h323/Makefile" ;;
33502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33504 { (exit 1); exit 1; }; };;
33509 # If the user did not use the arguments to specify the items to instantiate,
33510 # then the envvar interface is used. Set only those that are not.
33511 # We use the long form for the default assignment because of an extremely
33512 # bizarre bug on SunOS 4.1.3.
33513 if $ac_need_defaults; then
33514 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
33515 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
33518 # Have a temporary directory for convenience. Make it in the build tree
33519 # simply because there is no reason against having it here, and in addition,
33520 # creating and moving files from /tmp can sometimes cause problems.
33521 # Hook for its removal unless debugging.
33522 # Note that there is a small window in which the directory will not be cleaned:
33523 # after its creation but before its name has been assigned to `$tmp'.
33527 trap 'exit_status=$?
33528 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
33530 trap '{ (exit 1); exit 1; }' 1 2 13 15
33532 # Create a (secure) tmp directory for tmp files.
33535 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33536 test -n "$tmp" && test -d "$tmp"
33539 tmp
=.
/conf$$
-$RANDOM
33540 (umask 077 && mkdir
"$tmp")
33543 echo "$me: cannot create a temporary directory in ." >&2
33544 { (exit 1); exit 1; }
33548 # Set up the sed scripts for CONFIG_FILES section.
33551 # No need to generate the scripts if there are no CONFIG_FILES.
33552 # This happens for instance when ./config.status config.h
33553 if test -n "$CONFIG_FILES"; then
33560 for ac_last_try
in false false false false false
:; do
33561 cat >conf$
$subs.
sed <<_ACEOF
33562 SHELL!$SHELL$ac_delim
33563 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
33564 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
33565 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
33566 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
33567 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
33568 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
33569 exec_prefix!$exec_prefix$ac_delim
33570 prefix!$prefix$ac_delim
33571 program_transform_name!$program_transform_name$ac_delim
33572 bindir!$bindir$ac_delim
33573 sbindir!$sbindir$ac_delim
33574 libexecdir!$libexecdir$ac_delim
33575 datarootdir!$datarootdir$ac_delim
33576 datadir!$datadir$ac_delim
33577 sysconfdir!$sysconfdir$ac_delim
33578 sharedstatedir!$sharedstatedir$ac_delim
33579 localstatedir!$localstatedir$ac_delim
33580 includedir!$includedir$ac_delim
33581 oldincludedir!$oldincludedir$ac_delim
33582 docdir!$docdir$ac_delim
33583 infodir!$infodir$ac_delim
33584 htmldir!$htmldir$ac_delim
33585 dvidir!$dvidir$ac_delim
33586 pdfdir!$pdfdir$ac_delim
33587 psdir!$psdir$ac_delim
33588 libdir!$libdir$ac_delim
33589 localedir!$localedir$ac_delim
33590 mandir!$mandir$ac_delim
33591 DEFS!$DEFS$ac_delim
33592 ECHO_C!$ECHO_C$ac_delim
33593 ECHO_N!$ECHO_N$ac_delim
33594 ECHO_T!$ECHO_T$ac_delim
33595 LIBS!$LIBS$ac_delim
33596 build_alias!$build_alias$ac_delim
33597 host_alias!$host_alias$ac_delim
33598 target_alias!$target_alias$ac_delim
33599 build!$build$ac_delim
33600 build_cpu!$build_cpu$ac_delim
33601 build_vendor!$build_vendor$ac_delim
33602 build_os!$build_os$ac_delim
33603 host!$host$ac_delim
33604 host_cpu!$host_cpu$ac_delim
33605 host_vendor!$host_vendor$ac_delim
33606 host_os!$host_os$ac_delim
33608 CFLAGS!$CFLAGS$ac_delim
33609 LDFLAGS!$LDFLAGS$ac_delim
33610 CPPFLAGS!$CPPFLAGS$ac_delim
33611 ac_ct_CC!$ac_ct_CC$ac_delim
33612 EXEEXT!$EXEEXT$ac_delim
33613 OBJEXT!$OBJEXT$ac_delim
33615 GREP!$GREP$ac_delim
33616 EGREP!$EGREP$ac_delim
33617 BUILD_PLATFORM!$BUILD_PLATFORM$ac_delim
33618 BUILD_CPU!$BUILD_CPU$ac_delim
33619 BUILD_VENDOR!$BUILD_VENDOR$ac_delim
33620 BUILD_OS!$BUILD_OS$ac_delim
33621 HOST_PLATFORM!$HOST_PLATFORM$ac_delim
33622 HOST_CPU!$HOST_CPU$ac_delim
33623 HOST_VENDOR!$HOST_VENDOR$ac_delim
33624 HOST_OS!$HOST_OS$ac_delim
33625 OSARCH!$OSARCH$ac_delim
33626 UNAME!$UNAME$ac_delim
33627 PBX_OSREV!$PBX_OSREV$ac_delim
33630 RANLIB!$RANLIB$ac_delim
33631 CXXFLAGS!$CXXFLAGS$ac_delim
33632 ac_ct_CXX!$ac_ct_CXX$ac_delim
33633 CXXCPP!$CXXCPP$ac_delim
33636 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
33637 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
33638 INSTALL_DATA!$INSTALL_DATA$ac_delim
33639 LN_S!$LN_S$ac_delim
33640 GNU_MAKE!$GNU_MAKE$ac_delim
33641 STRIP!$STRIP$ac_delim
33643 GNU_LD!$GNU_LD$ac_delim
33644 FIND!$FIND$ac_delim
33645 COMPRESS!$COMPRESS$ac_delim
33646 BASENAME!$BASENAME$ac_delim
33648 DIRNAME!$DIRNAME$ac_delim
33651 WGET!$WGET$ac_delim
33652 FETCH!$FETCH$ac_delim
33653 DOWNLOAD!$DOWNLOAD$ac_delim
33654 acx_pthread_config!$acx_pthread_config$ac_delim
33655 PTHREAD_CC!$PTHREAD_CC$ac_delim
33656 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
33657 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
33658 AST_DEVMODE!$AST_DEVMODE$ac_delim
33661 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33663 elif $ac_last_try; then
33664 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33665 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33666 { (exit 1); exit 1; }; }
33668 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33672 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33673 if test -n "$ac_eof"; then
33674 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33675 ac_eof
=`expr $ac_eof + 1`
33678 cat >>$CONFIG_STATUS <<_ACEOF
33679 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
33680 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33683 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33684 s/^/s,@/; s/!/@,|#_!!_#|/
33687 s/'"$ac_delim"'$/,g/; t
33689 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33690 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33691 rm -f conf$
$subs.
sed
33692 cat >>$CONFIG_STATUS <<_ACEOF
33698 for ac_last_try
in false false false false false
:; do
33699 cat >conf$
$subs.
sed <<_ACEOF
33700 ALSA_LIB!$ALSA_LIB$ac_delim
33701 ALSA_INCLUDE!$ALSA_INCLUDE$ac_delim
33702 ALSA_DIR!$ALSA_DIR$ac_delim
33703 PBX_ALSA!$PBX_ALSA$ac_delim
33704 CURL_LIB!$CURL_LIB$ac_delim
33705 CURL_INCLUDE!$CURL_INCLUDE$ac_delim
33706 CURL_DIR!$CURL_DIR$ac_delim
33707 PBX_CURL!$PBX_CURL$ac_delim
33708 CURSES_LIB!$CURSES_LIB$ac_delim
33709 CURSES_INCLUDE!$CURSES_INCLUDE$ac_delim
33710 CURSES_DIR!$CURSES_DIR$ac_delim
33711 PBX_CURSES!$PBX_CURSES$ac_delim
33712 GNUTLS_LIB!$GNUTLS_LIB$ac_delim
33713 GNUTLS_INCLUDE!$GNUTLS_INCLUDE$ac_delim
33714 GNUTLS_DIR!$GNUTLS_DIR$ac_delim
33715 PBX_GNUTLS!$PBX_GNUTLS$ac_delim
33716 GSM_LIB!$GSM_LIB$ac_delim
33717 GSM_INCLUDE!$GSM_INCLUDE$ac_delim
33718 GSM_DIR!$GSM_DIR$ac_delim
33719 PBX_GSM!$PBX_GSM$ac_delim
33720 IKSEMEL_LIB!$IKSEMEL_LIB$ac_delim
33721 IKSEMEL_INCLUDE!$IKSEMEL_INCLUDE$ac_delim
33722 IKSEMEL_DIR!$IKSEMEL_DIR$ac_delim
33723 PBX_IKSEMEL!$PBX_IKSEMEL$ac_delim
33724 IMAP_TK_LIB!$IMAP_TK_LIB$ac_delim
33725 IMAP_TK_INCLUDE!$IMAP_TK_INCLUDE$ac_delim
33726 IMAP_TK_DIR!$IMAP_TK_DIR$ac_delim
33727 PBX_IMAP_TK!$PBX_IMAP_TK$ac_delim
33728 ISDNNET_LIB!$ISDNNET_LIB$ac_delim
33729 ISDNNET_INCLUDE!$ISDNNET_INCLUDE$ac_delim
33730 ISDNNET_DIR!$ISDNNET_DIR$ac_delim
33731 PBX_ISDNNET!$PBX_ISDNNET$ac_delim
33732 KDE_LIB!$KDE_LIB$ac_delim
33733 KDE_INCLUDE!$KDE_INCLUDE$ac_delim
33734 KDE_DIR!$KDE_DIR$ac_delim
33735 PBX_KDE!$PBX_KDE$ac_delim
33736 LTDL_LIB!$LTDL_LIB$ac_delim
33737 LTDL_INCLUDE!$LTDL_INCLUDE$ac_delim
33738 LTDL_DIR!$LTDL_DIR$ac_delim
33739 PBX_LTDL!$PBX_LTDL$ac_delim
33740 MISDN_LIB!$MISDN_LIB$ac_delim
33741 MISDN_INCLUDE!$MISDN_INCLUDE$ac_delim
33742 MISDN_DIR!$MISDN_DIR$ac_delim
33743 PBX_MISDN!$PBX_MISDN$ac_delim
33744 NBS_LIB!$NBS_LIB$ac_delim
33745 NBS_INCLUDE!$NBS_INCLUDE$ac_delim
33746 NBS_DIR!$NBS_DIR$ac_delim
33747 PBX_NBS!$PBX_NBS$ac_delim
33748 NCURSES_LIB!$NCURSES_LIB$ac_delim
33749 NCURSES_INCLUDE!$NCURSES_INCLUDE$ac_delim
33750 NCURSES_DIR!$NCURSES_DIR$ac_delim
33751 PBX_NCURSES!$PBX_NCURSES$ac_delim
33752 NETSNMP_LIB!$NETSNMP_LIB$ac_delim
33753 NETSNMP_INCLUDE!$NETSNMP_INCLUDE$ac_delim
33754 NETSNMP_DIR!$NETSNMP_DIR$ac_delim
33755 PBX_NETSNMP!$PBX_NETSNMP$ac_delim
33756 NEWT_LIB!$NEWT_LIB$ac_delim
33757 NEWT_INCLUDE!$NEWT_INCLUDE$ac_delim
33758 NEWT_DIR!$NEWT_DIR$ac_delim
33759 PBX_NEWT!$PBX_NEWT$ac_delim
33760 UNIXODBC_LIB!$UNIXODBC_LIB$ac_delim
33761 UNIXODBC_INCLUDE!$UNIXODBC_INCLUDE$ac_delim
33762 UNIXODBC_DIR!$UNIXODBC_DIR$ac_delim
33763 PBX_UNIXODBC!$PBX_UNIXODBC$ac_delim
33764 OGG_LIB!$OGG_LIB$ac_delim
33765 OGG_INCLUDE!$OGG_INCLUDE$ac_delim
33766 OGG_DIR!$OGG_DIR$ac_delim
33767 PBX_OGG!$PBX_OGG$ac_delim
33768 OSPTK_LIB!$OSPTK_LIB$ac_delim
33769 OSPTK_INCLUDE!$OSPTK_INCLUDE$ac_delim
33770 OSPTK_DIR!$OSPTK_DIR$ac_delim
33771 PBX_OSPTK!$PBX_OSPTK$ac_delim
33772 OSS_LIB!$OSS_LIB$ac_delim
33773 OSS_INCLUDE!$OSS_INCLUDE$ac_delim
33774 OSS_DIR!$OSS_DIR$ac_delim
33775 PBX_OSS!$PBX_OSS$ac_delim
33776 POPT_LIB!$POPT_LIB$ac_delim
33777 POPT_INCLUDE!$POPT_INCLUDE$ac_delim
33778 POPT_DIR!$POPT_DIR$ac_delim
33779 PBX_POPT!$PBX_POPT$ac_delim
33780 PGSQL_LIB!$PGSQL_LIB$ac_delim
33781 PGSQL_INCLUDE!$PGSQL_INCLUDE$ac_delim
33782 PGSQL_DIR!$PGSQL_DIR$ac_delim
33783 PBX_PGSQL!$PBX_PGSQL$ac_delim
33784 PRI_LIB!$PRI_LIB$ac_delim
33785 PRI_INCLUDE!$PRI_INCLUDE$ac_delim
33786 PRI_DIR!$PRI_DIR$ac_delim
33787 PBX_PRI!$PBX_PRI$ac_delim
33788 PWLIB_LIB!$PWLIB_LIB$ac_delim
33789 PWLIB_INCLUDE!$PWLIB_INCLUDE$ac_delim
33790 PWLIB_DIR!$PWLIB_DIR$ac_delim
33791 PBX_PWLIB!$PBX_PWLIB$ac_delim
33792 OPENH323_LIB!$OPENH323_LIB$ac_delim
33793 OPENH323_INCLUDE!$OPENH323_INCLUDE$ac_delim
33794 OPENH323_DIR!$OPENH323_DIR$ac_delim
33795 PBX_OPENH323!$PBX_OPENH323$ac_delim
33796 QT_LIB!$QT_LIB$ac_delim
33799 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
33801 elif $ac_last_try; then
33802 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33803 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33804 { (exit 1); exit 1; }; }
33806 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33810 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33811 if test -n "$ac_eof"; then
33812 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33813 ac_eof
=`expr $ac_eof + 1`
33816 cat >>$CONFIG_STATUS <<_ACEOF
33817 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
33818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33821 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33822 s/^/s,@/; s/!/@,|#_!!_#|/
33825 s/'"$ac_delim"'$/,g/; t
33827 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33828 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33829 rm -f conf$
$subs.
sed
33830 cat >>$CONFIG_STATUS <<_ACEOF
33836 for ac_last_try
in false false false false false
:; do
33837 cat >conf$
$subs.
sed <<_ACEOF
33838 QT_INCLUDE!$QT_INCLUDE$ac_delim
33839 QT_DIR!$QT_DIR$ac_delim
33840 PBX_QT!$PBX_QT$ac_delim
33841 RADIUS_LIB!$RADIUS_LIB$ac_delim
33842 RADIUS_INCLUDE!$RADIUS_INCLUDE$ac_delim
33843 RADIUS_DIR!$RADIUS_DIR$ac_delim
33844 PBX_RADIUS!$PBX_RADIUS$ac_delim
33845 SPEEX_LIB!$SPEEX_LIB$ac_delim
33846 SPEEX_INCLUDE!$SPEEX_INCLUDE$ac_delim
33847 SPEEX_DIR!$SPEEX_DIR$ac_delim
33848 PBX_SPEEX!$PBX_SPEEX$ac_delim
33849 SQLITE_LIB!$SQLITE_LIB$ac_delim
33850 SQLITE_INCLUDE!$SQLITE_INCLUDE$ac_delim
33851 SQLITE_DIR!$SQLITE_DIR$ac_delim
33852 PBX_SQLITE!$PBX_SQLITE$ac_delim
33853 SUPPSERV_LIB!$SUPPSERV_LIB$ac_delim
33854 SUPPSERV_INCLUDE!$SUPPSERV_INCLUDE$ac_delim
33855 SUPPSERV_DIR!$SUPPSERV_DIR$ac_delim
33856 PBX_SUPPSERV!$PBX_SUPPSERV$ac_delim
33857 OPENSSL_LIB!$OPENSSL_LIB$ac_delim
33858 OPENSSL_INCLUDE!$OPENSSL_INCLUDE$ac_delim
33859 OPENSSL_DIR!$OPENSSL_DIR$ac_delim
33860 PBX_OPENSSL!$PBX_OPENSSL$ac_delim
33861 FREETDS_LIB!$FREETDS_LIB$ac_delim
33862 FREETDS_INCLUDE!$FREETDS_INCLUDE$ac_delim
33863 FREETDS_DIR!$FREETDS_DIR$ac_delim
33864 PBX_FREETDS!$PBX_FREETDS$ac_delim
33865 TERMCAP_LIB!$TERMCAP_LIB$ac_delim
33866 TERMCAP_INCLUDE!$TERMCAP_INCLUDE$ac_delim
33867 TERMCAP_DIR!$TERMCAP_DIR$ac_delim
33868 PBX_TERMCAP!$PBX_TERMCAP$ac_delim
33869 TINFO_LIB!$TINFO_LIB$ac_delim
33870 TINFO_INCLUDE!$TINFO_INCLUDE$ac_delim
33871 TINFO_DIR!$TINFO_DIR$ac_delim
33872 PBX_TINFO!$PBX_TINFO$ac_delim
33873 TONEZONE_LIB!$TONEZONE_LIB$ac_delim
33874 TONEZONE_INCLUDE!$TONEZONE_INCLUDE$ac_delim
33875 TONEZONE_DIR!$TONEZONE_DIR$ac_delim
33876 PBX_TONEZONE!$PBX_TONEZONE$ac_delim
33877 USB_LIB!$USB_LIB$ac_delim
33878 USB_INCLUDE!$USB_INCLUDE$ac_delim
33879 USB_DIR!$USB_DIR$ac_delim
33880 PBX_USB!$PBX_USB$ac_delim
33881 VORBIS_LIB!$VORBIS_LIB$ac_delim
33882 VORBIS_INCLUDE!$VORBIS_INCLUDE$ac_delim
33883 VORBIS_DIR!$VORBIS_DIR$ac_delim
33884 PBX_VORBIS!$PBX_VORBIS$ac_delim
33885 VPB_LIB!$VPB_LIB$ac_delim
33886 VPB_INCLUDE!$VPB_INCLUDE$ac_delim
33887 VPB_DIR!$VPB_DIR$ac_delim
33888 PBX_VPB!$PBX_VPB$ac_delim
33889 ZLIB_LIB!$ZLIB_LIB$ac_delim
33890 ZLIB_INCLUDE!$ZLIB_INCLUDE$ac_delim
33891 ZLIB_DIR!$ZLIB_DIR$ac_delim
33892 PBX_ZLIB!$PBX_ZLIB$ac_delim
33893 ZAPTEL_LIB!$ZAPTEL_LIB$ac_delim
33894 ZAPTEL_INCLUDE!$ZAPTEL_INCLUDE$ac_delim
33895 ZAPTEL_DIR!$ZAPTEL_DIR$ac_delim
33896 PBX_ZAPTEL!$PBX_ZAPTEL$ac_delim
33897 ALLOCA!$ALLOCA$ac_delim
33898 LIBOBJS!$LIBOBJS$ac_delim
33899 POW_LIB!$POW_LIB$ac_delim
33900 GC_CFLAGS!$GC_CFLAGS$ac_delim
33901 GC_LDFLAGS!$GC_LDFLAGS$ac_delim
33902 AST_DECLARATION_AFTER_STATEMENT!$AST_DECLARATION_AFTER_STATEMENT$ac_delim
33903 GSM_INTERNAL!$GSM_INTERNAL$ac_delim
33904 KDEINIT!$KDEINIT$ac_delim
33905 KDEDIR!$KDEDIR$ac_delim
33906 NETSNMP_CONFIG!$NETSNMP_CONFIG$ac_delim
33907 PG_CONFIG!$PG_CONFIG$ac_delim
33908 PTLIB_CONFIG!$PTLIB_CONFIG$ac_delim
33909 PWLIBDIR!$PWLIBDIR$ac_delim
33910 PWLIB_INCDIR!$PWLIB_INCDIR$ac_delim
33911 PWLIB_LIBDIR!$PWLIB_LIBDIR$ac_delim
33912 PWLIB_PLATFORM!$PWLIB_PLATFORM$ac_delim
33913 OPENH323DIR!$OPENH323DIR$ac_delim
33914 OPENH323_INCDIR!$OPENH323_INCDIR$ac_delim
33915 OPENH323_LIBDIR!$OPENH323_LIBDIR$ac_delim
33916 OPENH323_SUFFIX!$OPENH323_SUFFIX$ac_delim
33917 OPENH323_BUILD!$OPENH323_BUILD$ac_delim
33918 QTMOC!$QTMOC$ac_delim
33919 PBX_ZAPTEL_VLDTMF!$PBX_ZAPTEL_VLDTMF$ac_delim
33920 PBX_ZAPTEL_TRANSCODE!$PBX_ZAPTEL_TRANSCODE$ac_delim
33921 EDITLINE_LIB!$EDITLINE_LIB$ac_delim
33922 PBX_H323!$PBX_H323$ac_delim
33923 PBX_IXJUSER!$PBX_IXJUSER$ac_delim
33924 GTKCONFIG!$GTKCONFIG$ac_delim
33925 PBX_GTK!$PBX_GTK$ac_delim
33926 GTK_INCLUDE!$GTK_INCLUDE$ac_delim
33927 GTK_LIB!$GTK_LIB$ac_delim
33928 PKGCONFIG!$PKGCONFIG$ac_delim
33929 PBX_GTK2!$PBX_GTK2$ac_delim
33930 GTK2_INCLUDE!$GTK2_INCLUDE$ac_delim
33931 GTK2_LIB!$GTK2_LIB$ac_delim
33932 CURL_CONFIG!$CURL_CONFIG$ac_delim
33933 LTLIBOBJS!$LTLIBOBJS$ac_delim
33936 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
33938 elif $ac_last_try; then
33939 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
33940 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
33941 { (exit 1); exit 1; }; }
33943 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
33947 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
33948 if test -n "$ac_eof"; then
33949 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
33950 ac_eof
=`expr $ac_eof + 1`
33953 cat >>$CONFIG_STATUS <<_ACEOF
33954 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
33955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33958 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
33959 s/^/s,@/; s/!/@,|#_!!_#|/
33962 s/'"$ac_delim"'$/,g/; t
33964 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
33965 ' >>$CONFIG_STATUS <conf$
$subs.
sed
33966 rm -f conf$
$subs.
sed
33967 cat >>$CONFIG_STATUS <<_ACEOF
33972 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33973 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33974 # trailing colons and then remove the whole line if VPATH becomes empty
33975 # (actually we leave an empty line to preserve line numbers).
33976 if test "x$srcdir" = x.
; then
33977 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
33978 s/:*\$(srcdir):*/:/
33979 s/:*\${srcdir}:*/:/
33981 s/^\([^=]*=[ ]*\):*/\1/
33987 cat >>$CONFIG_STATUS <<\_ACEOF
33988 fi # test -n "$CONFIG_FILES"
33991 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
33994 :[FHLC
]) ac_mode
=$ac_tag; continue;;
33996 case $ac_mode$ac_tag in
33998 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
33999 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
34000 { (exit 1); exit 1; }; };;
34001 :[FH
]-) ac_tag
=-:-;;
34002 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
34019 -) ac_f
="$tmp/stdin";;
34020 *) # Look for the file first in the build tree, then in the source tree
34021 # (if the path is not absolute). The absolute path cannot be DOS-style,
34022 # because $ac_f cannot contain `:'.
34026 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
34028 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
34029 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
34030 { (exit 1); exit 1; }; };;
34032 ac_file_inputs
="$ac_file_inputs $ac_f"
34035 # Let's still pretend it is `configure' which instantiates (i.e., don't
34036 # use $as_me), people would be surprised to read:
34037 # /* config.h. Generated by config.status. */
34038 configure_input
="Generated from "`IFS=:
34039 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
34040 if test x
"$ac_file" != x-
; then
34041 configure_input
="$ac_file. $configure_input"
34042 { echo "$as_me:$LINENO: creating $ac_file" >&5
34043 echo "$as_me: creating $ac_file" >&6;}
34047 *:-:* |
*:-) cat >"$tmp/stdin";;
34052 ac_dir
=`$as_dirname -- "$ac_file" ||
34053 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34054 X"$ac_file" : 'X\(//\)[^/]' \| \
34055 X"$ac_file" : 'X\(//\)$' \| \
34056 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34062 /^X\(\/\/\)[^/].*/{
34077 -*) as_dir
=.
/$as_dir;;
34079 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
34083 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
34084 *) as_qdir
=$as_dir;;
34086 as_dirs
="'$as_qdir' $as_dirs"
34087 as_dir
=`$as_dirname -- "$as_dir" ||
34088 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34089 X"$as_dir" : 'X\(//\)[^/]' \| \
34090 X"$as_dir" : 'X\(//\)$' \| \
34091 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
34093 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34097 /^X\(\/\/\)[^/].*/{
34110 test -d "$as_dir" && break
34112 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
34113 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
34114 echo "$as_me: error: cannot create directory $as_dir" >&2;}
34115 { (exit 1); exit 1; }; }; }
34119 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34121 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34122 # A ".." for each directory in $ac_dir_suffix.
34123 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
34124 case $ac_top_builddir_sub in
34125 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
34126 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
34129 ac_abs_top_builddir
=$ac_pwd
34130 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
34131 # for backward compatibility:
34132 ac_top_builddir
=$ac_top_build_prefix
34135 .
) # We are building in place.
34137 ac_top_srcdir
=$ac_top_builddir_sub
34138 ac_abs_top_srcdir
=$ac_pwd ;;
34139 [\\/]* | ?
:[\\/]* ) # Absolute name.
34140 ac_srcdir
=$srcdir$ac_dir_suffix;
34141 ac_top_srcdir
=$srcdir
34142 ac_abs_top_srcdir
=$srcdir ;;
34143 *) # Relative name.
34144 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
34145 ac_top_srcdir
=$ac_top_build_prefix$srcdir
34146 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
34148 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
34158 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
34159 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
34163 cat >>$CONFIG_STATUS <<\_ACEOF
34164 # If the template does not know about datarootdir, expand it.
34165 # FIXME: This hack should be removed a few years after 2.60.
34166 ac_datarootdir_hack
=; ac_datarootdir_seen
=
34168 case `sed -n '/datarootdir/ {
34177 ' $ac_file_inputs` in
34178 *datarootdir
*) ac_datarootdir_seen
=yes;;
34179 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
34180 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34181 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34183 cat >>$CONFIG_STATUS <<_ACEOF
34184 ac_datarootdir_hack='
34185 s&@datadir@&$datadir&g
34186 s&@docdir@&$docdir&g
34187 s&@infodir@&$infodir&g
34188 s&@localedir@&$localedir&g
34189 s&@mandir@&$mandir&g
34190 s&\\\${datarootdir}&$datarootdir&g' ;;
34194 # Neutralize VPATH when `$srcdir' = `.'.
34195 # Shell code in configure.ac might set extrasub.
34196 # FIXME: do we really want to maintain this feature?
34197 cat >>$CONFIG_STATUS <<_ACEOF
34201 cat >>$CONFIG_STATUS <<\_ACEOF
34203 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
34204 s
&@configure_input@
&$configure_input&;t t
34205 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
34206 s
&@srcdir@
&$ac_srcdir&;t t
34207 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
34208 s
&@top_srcdir@
&$ac_top_srcdir&;t t
34209 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
34210 s
&@builddir@
&$ac_builddir&;t t
34211 s
&@abs_builddir@
&$ac_abs_builddir&;t t
34212 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
34213 s
&@INSTALL@
&$ac_INSTALL&;t t
34214 $ac_datarootdir_hack
34215 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" | sed 's/|#_!!_#|//g' >$tmp/out
34217 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34218 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
34219 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
34220 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
34221 which seems to be undefined. Please make sure it is defined." >&5
34222 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
34223 which seems to be undefined. Please make sure it is defined." >&2;}
34227 -) cat "$tmp/out"; rm -f "$tmp/out";;
34228 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
34237 # Transform confdefs.h into a sed script `conftest.defines', that
34238 # substitutes the proper values into config.h.in to produce config.h.
34239 rm -f conftest.defines conftest.
tail
34240 # First, append a space to every undef/define line, to ease matching.
34241 echo 's/$/ /' >conftest.defines
34242 # Then, protect against being on the right side of a sed subst, or in
34243 # an unquoted here document, in config.status. If some macros were
34244 # called several times there might be several #defines for the same
34245 # symbol, which is useless. But do not sort them, since the last
34246 # AC_DEFINE must be honored.
34247 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
34248 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
34249 # NAME is the cpp macro being defined, VALUE is the value it is being given.
34250 # PARAMS is the parameter list in the macro definition--in most cases, it's
34251 # just an empty string.
34252 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
34253 ac_dB
='\\)[ (].*,\\1define\\2'
34261 s/^[ ]*#[ ]*define[ ][ ]*//
34266 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
34267 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
34268 ' >>conftest.defines
34270 # Remove the space that was appended to ease matching.
34271 # Then replace #undef with comments. This is necessary, for
34272 # example, in the case of _POSIX_SOURCE, which is predefined and required
34273 # on some systems where configure will not decide to define it.
34274 # (The regexp can be short, since the line contains either #define or #undef.)
34276 s,^[ #]*u.*,/* & */,' >>conftest.defines
34278 # Break up conftest.defines:
34279 ac_max_sed_lines
=50
34281 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
34282 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
34283 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
34285 ac_in
='$ac_file_inputs'
34286 ac_out
='"$tmp/out1"'
34287 ac_nxt
='"$tmp/out2"'
34291 # Write a here document:
34292 cat >>$CONFIG_STATUS <<_ACEOF
34293 # First, check the format of the line:
34294 cat >"\$tmp/defines.sed" <<\\CEOF
34295 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
34296 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
34300 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
34302 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
34303 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
34304 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
34305 grep . conftest.
tail >/dev
/null ||
break
34306 rm -f conftest.defines
34307 mv conftest.
tail conftest.defines
34309 rm -f conftest.defines conftest.
tail
34311 echo "ac_result=$ac_in" >>$CONFIG_STATUS
34312 cat >>$CONFIG_STATUS <<\_ACEOF
34313 if test x
"$ac_file" != x-
; then
34314 echo "/* $configure_input */" >"$tmp/config.h"
34315 cat "$ac_result" >>"$tmp/config.h"
34316 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
34317 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34318 echo "$as_me: $ac_file is unchanged" >&6;}
34321 mv "$tmp/config.h" $ac_file
34324 echo "/* $configure_input */"
34336 { (exit 0); exit 0; }
34338 chmod +x
$CONFIG_STATUS
34339 ac_clean_files
=$ac_clean_files_save
34342 # configure is writing to config.log, and then calls config.status.
34343 # config.status does its own redirection, appending to config.log.
34344 # Unfortunately, on DOS this fails, as config.log is still kept open
34345 # by configure, so config.status won't be able to write to it; its
34346 # output is simply discarded. So we exec the FD to /dev/null,
34347 # effectively closing config.log, so it can be properly (re)opened and
34348 # appended to by config.status. When coming back to configure, we
34349 # need to make the FD available again.
34350 if test "$no_create" != yes; then
34352 ac_config_status_args
=
34353 test "$silent" = yes &&
34354 ac_config_status_args
="$ac_config_status_args --quiet"
34356 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34358 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34359 # would make configure fail if this is the last instruction.
34360 $ac_cs_success ||
{ (exit 1); exit 1; }
34364 if test "x${silent}" != "xyes" ; then
34366 echo " .\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$=.. "
34367 echo " .\$7\$7.. .7\$\$7:. "
34368 echo " .\$\$:. ,\$7.7 "
34369 echo " .\$7. 7\$\$\$\$ .\$\$77 "
34370 echo " ..\$\$. \$\$\$\$\$ .\$\$\$7 "
34371 echo " ..7\$ .?. \$\$\$\$\$ .?. 7\$\$\$."
34372 echo " \$.\$. .\$\$\$7. \$\$\$\$7 .7\$\$\$. .\$\$\$."
34373 echo " .777. .\$\$\$\$\$\$77\$\$\$77\$\$\$\$\$7. \$\$\$,"
34374 echo " \$\$\$~ .7\$\$\$\$\$\$\$\$\$\$\$\$\$7. .\$\$\$."
34375 echo ".\$\$7 .7\$\$\$\$\$\$\$7: ?\$\$\$."
34376 echo "\$\$\$ ?7\$\$\$\$\$\$\$\$\$\$I .\$\$\$7 "
34377 echo "\$\$\$ .7\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$ :\$\$\$. "
34378 echo "\$\$\$ \$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$\$\$\$ .\$\$\$. "
34379 echo "\$\$\$ \$\$\$ 7\$\$\$7 .\$\$\$ .\$\$\$. "
34380 echo "\$\$\$\$ \$\$\$\$7 .\$\$\$. "
34381 echo "7\$\$\$7 7\$\$\$\$ 7\$\$\$ "
34382 echo " \$\$\$\$\$ \$\$\$ "
34383 echo " \$\$\$\$7. \$\$ (TM) "
34384 echo " \$\$\$\$\$\$\$. .7\$\$\$\$\$\$ \$\$ "
34385 echo " \$\$\$\$\$\$\$\$\$\$\$\$7\$\$\$\$\$\$\$\$\$.\$\$\$\$\$\$ "
34386 echo " \$\$\$\$\$\$\$\$\$\$\$\$\$\$\$\$. "
34390 { echo "$as_me:$LINENO: Package configured for: " >&5
34391 echo "$as_me: Package configured for: " >&6;}
34392 { echo "$as_me:$LINENO: OS type : $host_os" >&5
34393 echo "$as_me: OS type : $host_os" >&6;}
34394 { echo "$as_me:$LINENO: Host CPU : $host_cpu" >&5
34395 echo "$as_me: Host CPU : $host_cpu" >&6;}
34396 if test "${cross_compiling}" = "yes"; then
34397 { echo "$as_me:$LINENO: Cross Compilation = YES" >&5
34398 echo "$as_me: Cross Compilation = YES" >&6;}