2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="include/ptlib.h"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
713 USE_SHM_VIDEO_DEVICES
746 ac_precious_vars
='build_alias
756 ac_subdirs_all
='plugins'
758 # Initialize some variables set by options.
760 ac_init_version
=false
761 # The variables have the same names as the options, with
762 # dashes changed to underlines.
770 program_transform_name
=s
,x
,x
,
778 # Installation directory options.
779 # These are left unexpanded so users can "make install exec_prefix=/foo"
780 # and all the variables that are supposed to be based on exec_prefix
781 # by default will actually change.
782 # Use braces instead of parens because sh, perl, etc. also accept them.
783 # (The list follows the same order as the GNU Coding Standards.)
784 bindir
='${exec_prefix}/bin'
785 sbindir
='${exec_prefix}/sbin'
786 libexecdir
='${exec_prefix}/libexec'
787 datarootdir
='${prefix}/share'
788 datadir
='${datarootdir}'
789 sysconfdir
='${prefix}/etc'
790 sharedstatedir
='${prefix}/com'
791 localstatedir
='${prefix}/var'
792 includedir
='${prefix}/include'
793 oldincludedir
='/usr/include'
794 docdir
='${datarootdir}/doc/${PACKAGE}'
795 infodir
='${datarootdir}/info'
800 libdir
='${exec_prefix}/lib'
801 localedir
='${datarootdir}/locale'
802 mandir
='${datarootdir}/man'
808 # If the previous option needs an argument, assign it.
809 if test -n "$ac_prev"; then
810 eval $ac_prev=\
$ac_option
816 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
820 # Accept the important Cygnus configure options, so we can diagnose typos.
822 case $ac_dashdash$ac_option in
826 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
828 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
831 -build |
--build |
--buil |
--bui |
--bu)
832 ac_prev
=build_alias
;;
833 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
834 build_alias
=$ac_optarg ;;
836 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
837 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
838 ac_prev
=cache_file
;;
839 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
840 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
841 cache_file
=$ac_optarg ;;
844 cache_file
=config.cache
;;
846 -datadir |
--datadir |
--datadi |
--datad)
848 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
849 datadir
=$ac_optarg ;;
851 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
852 |
--dataroo |
--dataro |
--datar)
853 ac_prev
=datarootdir
;;
854 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
855 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
856 datarootdir
=$ac_optarg ;;
858 -disable-* |
--disable-*)
859 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
860 # Reject names that are not valid shell variable names.
861 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
862 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
863 { (exit 1); exit 1; }; }
864 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
865 eval enable_
$ac_feature=no
;;
867 -docdir |
--docdir |
--docdi |
--doc |
--do)
869 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
872 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
874 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
877 -enable-* |
--enable-*)
878 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
881 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
882 { (exit 1); exit 1; }; }
883 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
884 eval enable_
$ac_feature=\
$ac_optarg ;;
886 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
887 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
888 |
--exec |
--exe |
--ex)
889 ac_prev
=exec_prefix
;;
890 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
891 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
892 |
--exec=* |
--exe=* |
--ex=*)
893 exec_prefix
=$ac_optarg ;;
895 -gas |
--gas |
--ga |
--g)
896 # Obsolete; use --with-gas.
899 -help |
--help |
--hel |
--he |
-h)
901 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
902 ac_init_help
=recursive
;;
903 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
904 ac_init_help
=short
;;
906 -host |
--host |
--hos |
--ho)
907 ac_prev
=host_alias
;;
908 -host=* |
--host=* |
--hos=* |
--ho=*)
909 host_alias
=$ac_optarg ;;
911 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
913 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
915 htmldir
=$ac_optarg ;;
917 -includedir |
--includedir |
--includedi |
--included |
--include \
918 |
--includ |
--inclu |
--incl |
--inc)
919 ac_prev
=includedir
;;
920 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
921 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
922 includedir
=$ac_optarg ;;
924 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
926 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
927 infodir
=$ac_optarg ;;
929 -libdir |
--libdir |
--libdi |
--libd)
931 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
934 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
935 |
--libexe |
--libex |
--libe)
936 ac_prev
=libexecdir
;;
937 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
938 |
--libexe=* |
--libex=* |
--libe=*)
939 libexecdir
=$ac_optarg ;;
941 -localedir |
--localedir |
--localedi |
--localed |
--locale)
943 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
944 localedir
=$ac_optarg ;;
946 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
947 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
948 ac_prev
=localstatedir
;;
949 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
950 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
951 localstatedir
=$ac_optarg ;;
953 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
955 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
959 # Obsolete; use --without-fp.
962 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
963 |
--no-cr |
--no-c |
-n)
966 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
967 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
970 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
971 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
972 |
--oldin |
--oldi |
--old |
--ol |
--o)
973 ac_prev
=oldincludedir
;;
974 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
975 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
976 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
977 oldincludedir
=$ac_optarg ;;
979 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
981 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
984 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
985 |
--program-pre |
--program-pr |
--program-p)
986 ac_prev
=program_prefix
;;
987 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
988 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
989 program_prefix
=$ac_optarg ;;
991 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
992 |
--program-suf |
--program-su |
--program-s)
993 ac_prev
=program_suffix
;;
994 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
995 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
996 program_suffix
=$ac_optarg ;;
998 -program-transform-name |
--program-transform-name \
999 |
--program-transform-nam |
--program-transform-na \
1000 |
--program-transform-n |
--program-transform- \
1001 |
--program-transform |
--program-transfor \
1002 |
--program-transfo |
--program-transf \
1003 |
--program-trans |
--program-tran \
1004 |
--progr-tra |
--program-tr |
--program-t)
1005 ac_prev
=program_transform_name
;;
1006 -program-transform-name=* |
--program-transform-name=* \
1007 |
--program-transform-nam=* |
--program-transform-na=* \
1008 |
--program-transform-n=* |
--program-transform-=* \
1009 |
--program-transform=* |
--program-transfor=* \
1010 |
--program-transfo=* |
--program-transf=* \
1011 |
--program-trans=* |
--program-tran=* \
1012 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1013 program_transform_name
=$ac_optarg ;;
1015 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1017 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1018 pdfdir
=$ac_optarg ;;
1020 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1022 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1025 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1026 |
-silent |
--silent |
--silen |
--sile |
--sil)
1029 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1031 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1033 sbindir
=$ac_optarg ;;
1035 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1036 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1037 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1039 ac_prev
=sharedstatedir
;;
1040 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1041 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1042 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1044 sharedstatedir
=$ac_optarg ;;
1046 -site |
--site |
--sit)
1048 -site=* |
--site=* |
--sit=*)
1051 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1053 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1054 srcdir
=$ac_optarg ;;
1056 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1057 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1058 ac_prev
=sysconfdir
;;
1059 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1060 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1061 sysconfdir
=$ac_optarg ;;
1063 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1064 ac_prev
=target_alias
;;
1065 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1066 target_alias
=$ac_optarg ;;
1068 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1071 -version |
--version |
--versio |
--versi |
--vers |
-V)
1072 ac_init_version
=: ;;
1075 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1078 { echo "$as_me: error: invalid package name: $ac_package" >&2
1079 { (exit 1); exit 1; }; }
1080 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1081 eval with_
$ac_package=\
$ac_optarg ;;
1083 -without-* |
--without-*)
1084 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1087 { echo "$as_me: error: invalid package name: $ac_package" >&2
1088 { (exit 1); exit 1; }; }
1089 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1090 eval with_
$ac_package=no
;;
1093 # Obsolete; use --with-x.
1096 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1097 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1098 ac_prev
=x_includes
;;
1099 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1100 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1101 x_includes
=$ac_optarg ;;
1103 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1104 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1105 ac_prev
=x_libraries
;;
1106 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1107 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1108 x_libraries
=$ac_optarg ;;
1110 -*) { echo "$as_me: error: unrecognized option: $ac_option
1111 Try \`$0 --help' for more information." >&2
1112 { (exit 1); exit 1; }; }
1116 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1119 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1120 { (exit 1); exit 1; }; }
1121 eval $ac_envvar=\
$ac_optarg
1122 export $ac_envvar ;;
1125 # FIXME: should be removed in autoconf 3.0.
1126 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1127 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1128 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1129 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1135 if test -n "$ac_prev"; then
1136 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1137 { echo "$as_me: error: missing argument to $ac_option" >&2
1138 { (exit 1); exit 1; }; }
1141 # Be sure to have absolute directory names.
1142 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1143 datadir sysconfdir sharedstatedir localstatedir includedir \
1144 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1145 libdir localedir mandir
1147 eval ac_val
=\$
$ac_var
1149 [\\/$
]* | ?
:[\\/]* ) continue;;
1150 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1152 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1153 { (exit 1); exit 1; }; }
1156 # There might be people who depend on the old broken behavior: `$host'
1157 # used to hold the argument of --host etc.
1158 # FIXME: To remove some day.
1161 target
=$target_alias
1163 # FIXME: To remove some day.
1164 if test "x$host_alias" != x
; then
1165 if test "x$build_alias" = x
; then
1166 cross_compiling
=maybe
1167 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1168 If a cross compiler is detected then cross compile mode will be used." >&2
1169 elif test "x$build_alias" != "x$host_alias"; then
1175 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1177 test "$silent" = yes && exec 6>/dev
/null
1180 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1181 ac_ls_di
=`ls -di .` &&
1182 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1183 { echo "$as_me: error: Working directory cannot be determined" >&2
1184 { (exit 1); exit 1; }; }
1185 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1186 { echo "$as_me: error: pwd does not report name of working directory" >&2
1187 { (exit 1); exit 1; }; }
1190 # Find the source files, if location was not specified.
1191 if test -z "$srcdir"; then
1192 ac_srcdir_defaulted
=yes
1193 # Try the directory containing this script, then the parent directory.
1194 ac_confdir
=`$as_dirname -- "$0" ||
1195 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1196 X"$0" : 'X\(//\)[^/]' \| \
1197 X"$0" : 'X\(//\)$' \| \
1198 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1222 ac_srcdir_defaulted
=no
1224 if test ! -r "$srcdir/$ac_unique_file"; then
1225 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1226 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1227 { (exit 1); exit 1; }; }
1229 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1231 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1232 { (exit 1); exit 1; }; }
1234 # When building in place, set srcdir=.
1235 if test "$ac_abs_confdir" = "$ac_pwd"; then
1238 # Remove unnecessary trailing slashes from srcdir.
1239 # Double slashes in file names in object file debugging info
1240 # mess up M-x gdb in Emacs.
1242 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1244 for ac_var
in $ac_precious_vars; do
1245 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1247 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1248 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1252 # Report the --help message.
1254 if test "$ac_init_help" = "long"; then
1255 # Omit some internal or obsolete options to make the list less imposing.
1256 # This message is too long to be a string in the A/UX 3.1 sh.
1258 \`configure' configures this package to adapt to many kinds of systems.
1260 Usage: $0 [OPTION]... [VAR=VALUE]...
1262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1263 VAR=VALUE. See below for descriptions of some of the useful variables.
1265 Defaults for the options are specified in brackets.
1268 -h, --help display this help and exit
1269 --help=short display options specific to this package
1270 --help=recursive display the short help of all the included packages
1271 -V, --version display version information and exit
1272 -q, --quiet, --silent do not print \`checking...' messages
1273 --cache-file=FILE cache test results in FILE [disabled]
1274 -C, --config-cache alias for \`--cache-file=config.cache'
1275 -n, --no-create do not create output files
1276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1278 Installation directories:
1279 --prefix=PREFIX install architecture-independent files in PREFIX
1280 [$ac_default_prefix]
1281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1284 By default, \`make install' will install all the files in
1285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1287 for instance \`--prefix=\$HOME'.
1289 For better control, use the options below.
1291 Fine tuning of the installation directories:
1292 --bindir=DIR user executables [EPREFIX/bin]
1293 --sbindir=DIR system admin executables [EPREFIX/sbin]
1294 --libexecdir=DIR program executables [EPREFIX/libexec]
1295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1298 --libdir=DIR object code libraries [EPREFIX/lib]
1299 --includedir=DIR C header files [PREFIX/include]
1300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1303 --infodir=DIR info documentation [DATAROOTDIR/info]
1304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1305 --mandir=DIR man documentation [DATAROOTDIR/man]
1306 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1307 --htmldir=DIR html documentation [DOCDIR]
1308 --dvidir=DIR dvi documentation [DOCDIR]
1309 --pdfdir=DIR pdf documentation [DOCDIR]
1310 --psdir=DIR ps documentation [DOCDIR]
1316 --build=BUILD configure
for building on BUILD
[guessed
]
1317 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1318 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1322 if test -n "$ac_init_help"; then
1327 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1328 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1329 --enable-pch disable precompiled headers
1330 --enable-minsize minimise the size of the lib by disabling least used options
1331 --enable-openh323 include only options needed with openh323
1332 --enable-opal include only options needed with opal
1333 --enable-internalregex force internal regex library
1334 --enable-plugins enable plugin support
1335 --disable-resolver disable DNS resolver support
1336 --disable-sasl disable SASL support
1337 --disable-openldap disable OpenLDAP support
1338 --disable-openssl disable OpenSSL support
1339 --disable-expat disable XML support
1340 --disable-vxml disable VXML support
1341 --disable-jabber disable Jabber support
1342 --disable-xmlrpc disable XMLRPC support
1343 --disable-soap disable SOAP support
1344 --disable-tts disable Text-ToSpeech support
(default enabled
)
1345 --disable-ipv6 disable IPV6 support
1346 --disable-qos disable QOS support
1347 --disable-sdl disable SDL support
1348 --disable-video disable video device support
1349 --enable-v4l enable V4L video support
1350 --enable-v4l2 enable V4L2 video support
1351 --enable-bsdvideo enable BSD video support
1352 --enable-avc enable IEEE1394
/AVC video support
1353 --enable-dc enable IEEE1394
/DC video support
1354 --enable-shmvideo enable shared memory video devices
1355 --disable-asn disable ASN decoding
/encoding support
1356 --disable-stun disable STUN protocol support
1357 --disable-pipechan disable pipechannel support
1358 --disable-dtmf disable DTMF protocol support
1359 --disable-wavfile disable WAVFILE support
1360 --disable-socks disable SOCKS protocol support
1361 --disable-ftp disable FTP support
1362 --disable-snmp disable SNMP protocol support
1363 --disable-telnet disable Telnet protocol support
1364 --disable-remconn disable remote connection support
1365 --disable-serial disable serial port support
1366 --disable-pop3smtp disable POP
3/SMTP support
1367 --disable-http disable HTTP support
1368 --disable-httpsvc disable HTTP service support
1369 --disable-configfile disable config
file support
1370 --enable-sockagg enable socket aggregation
(experimental
)
1371 --enable-vidfile enable video
file support
1372 --disable-audio disable audio support
1373 --enable-alsa enable ALSA audio support
1374 --enable-oss enable OSS audio support
1375 --enable-memcheck enable leak testing code
(off by default
)
1376 --disable-odbc disable ODBC support
1377 --exceptions enable C
++ exceptions
1379 Some influential environment variables
:
1380 CXX C
++ compiler
command
1381 CXXFLAGS C
++ compiler flags
1382 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1383 nonstandard directory
<lib dir
>
1384 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1385 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1386 you have headers
in a nonstandard directory
<include dir
>
1387 CXXCPP C
++ preprocessor
1389 Use these variables to override the choices made by
`configure' or to help
1390 it to find libraries and programs with nonstandard names/locations.
1396 if test "$ac_init_help" = "recursive"; then
1397 # If there are subdirs, report their specific --help.
1398 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1399 test -d "$ac_dir" || continue
1403 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1405 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1406 # A ".." for each directory in $ac_dir_suffix.
1407 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1408 case $ac_top_builddir_sub in
1409 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1410 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1413 ac_abs_top_builddir=$ac_pwd
1414 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1415 # for backward compatibility:
1416 ac_top_builddir=$ac_top_build_prefix
1419 .) # We are building in place.
1421 ac_top_srcdir=$ac_top_builddir_sub
1422 ac_abs_top_srcdir=$ac_pwd ;;
1423 [\\/]* | ?:[\\/]* ) # Absolute name.
1424 ac_srcdir=$srcdir$ac_dir_suffix;
1425 ac_top_srcdir=$srcdir
1426 ac_abs_top_srcdir=$srcdir ;;
1428 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1434 cd "$ac_dir" || { ac_status=$?; continue; }
1435 # Check for guested configure.
1436 if test -f "$ac_srcdir/configure.gnu"; then
1438 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1439 elif test -f "$ac_srcdir/configure"; then
1441 $SHELL "$ac_srcdir/configure" --help=recursive
1443 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1445 cd "$ac_pwd" || { ac_status=$?; break; }
1449 test -n "$ac_init_help" && exit $ac_status
1450 if $ac_init_version; then
1453 generated by GNU Autoconf 2.61
1455 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1456 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1457 This configure script is free software; the Free Software Foundation
1458 gives unlimited permission to copy, distribute and modify it.
1462 cat >config.log <<_ACEOF
1463 This file contains any messages produced by compilers while
1464 running configure, to aid debugging if configure makes a mistake.
1466 It was created by $as_me, which was
1467 generated by GNU Autoconf 2.61. Invocation command line was
1479 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1480 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1481 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1482 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1483 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1485 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1486 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1488 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1489 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1490 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1491 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1492 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1493 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1494 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 test -z "$as_dir" && as_dir=.
1503 echo "PATH: $as_dir"
1519 # Keep a trace of the command line.
1520 # Strip out --no-create and --no-recursion so they do not pile up.
1521 # Strip out --silent because we don't want to record it for future runs.
1522 # Also quote any args containing shell meta-characters.
1523 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_must_keep_next=false
1533 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1535 | -silent | --silent | --silen | --sile | --sil)
1538 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1541 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1543 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1544 if test $ac_must_keep_next = true; then
1545 ac_must_keep_next=false # Got value, back to normal.
1548 *=* | --config-cache | -C | -disable-* | --disable-* \
1549 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1550 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1551 | -with-* | --with-* | -without-* | --without-* | --x)
1552 case "$ac_configure_args0 " in
1553 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1556 -* ) ac_must_keep_next=true ;;
1559 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1565 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1567 # When interrupted or exit'd, cleanup temporary files, and complete
1568 # config.log. We remove comments because anyway the quotes in there
1569 # would cause problems or look ugly.
1570 # WARNING: Use '\'' to represent an apostrophe within the trap.
1571 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1572 trap 'exit_status=$?
1573 # Save into config.log some information that might help in debugging.
1578 ## ---------------- ##
1579 ## Cache variables. ##
1580 ## ---------------- ##
1583 # The following way of writing the cache mishandles newlines in values,
1585 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1586 eval ac_val=\$$ac_var
1590 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1591 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1594 _ | IFS | as_nl) ;; #(
1595 *) $as_unset $ac_var ;;
1600 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1601 *${as_nl}ac_space=\ *)
1603 "s/'\''/'\''\\\\'\'''\''/g;
1604 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1607 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 ## ----------------- ##
1616 ## Output variables. ##
1617 ## ----------------- ##
1620 for ac_var in $ac_subst_vars
1622 eval ac_val=\$$ac_var
1624 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1626 echo "$ac_var='\''$ac_val'\''"
1630 if test -n "$ac_subst_files"; then
1632 ## ------------------- ##
1633 ## File substitutions. ##
1634 ## ------------------- ##
1637 for ac_var in $ac_subst_files
1639 eval ac_val=\$$ac_var
1641 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 echo "$ac_var='\''$ac_val'\''"
1648 if test -s confdefs.h; then
1658 test "$ac_signal" != 0 &&
1659 echo "$as_me: caught signal $ac_signal"
1660 echo "$as_me: exit $exit_status"
1662 rm -f core *.core core.conftest.* &&
1663 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1666 for ac_signal in 1 2 13 15; do
1667 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1672 rm -f -r conftest* confdefs.h
1674 # Predefined preprocessor variables.
1676 cat >>confdefs.h <<_ACEOF
1677 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 # Let the site file select an alternate cache file if it wants to.
1702 # Prefer explicitly selected file to automatically selected ones.
1703 if test -n "$CONFIG_SITE"; then
1704 set x "$CONFIG_SITE"
1705 elif test "x$prefix" != xNONE; then
1706 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1708 set x "$ac_default_prefix/share/config.site" \
1709 "$ac_default_prefix/etc/config.site"
1714 if test -r "$ac_site_file"; then
1715 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1716 echo "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1722 if test -r "$cache_file"; then
1723 # Some versions of bash will fail to source /dev/null (special
1724 # files actually), so we avoid doing that.
1725 if test -f "$cache_file"; then
1726 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1727 echo "$as_me: loading cache $cache_file" >&6;}
1729 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1730 *) . "./$cache_file";;
1734 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1735 echo "$as_me: creating cache $cache_file" >&6;}
1739 # Check that the precious variables saved in the cache have kept the same
1741 ac_cache_corrupted=false
1742 for ac_var in $ac_precious_vars; do
1743 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1744 eval ac_new_set=\$ac_env_${ac_var}_set
1745 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1746 eval ac_new_val=\$ac_env_${ac_var}_value
1747 case $ac_old_set,$ac_new_set in
1749 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1750 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1751 ac_cache_corrupted=: ;;
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1754 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1758 if test "x$ac_old_val" != "x$ac_new_val"; then
1759 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1760 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1761 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1762 echo "$as_me: former value
: $ac_old_val" >&2;}
1763 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1764 echo "$as_me: current value
: $ac_new_val" >&2;}
1765 ac_cache_corrupted=:
1768 # Pass precious variables to config.status.
1769 if test "$ac_new_set" = set; then
1771 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1772 *) ac_arg=$ac_var=$ac_new_val ;;
1774 case " $ac_configure_args " in
1775 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1776 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 if $ac_cache_corrupted; then
1781 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1782 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1783 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1784 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1785 { (exit 1); exit 1; }; }
1805 ac_cpp='$CPP $CPPFLAGS'
1806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1813 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1814 if test -f "$ac_dir/install-sh"; then
1816 ac_install_sh="$ac_aux_dir/install-sh -c"
1818 elif test -f "$ac_dir/install.sh"; then
1820 ac_install_sh="$ac_aux_dir/install.sh -c"
1822 elif test -f "$ac_dir/shtool"; then
1824 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 if test -z "$ac_aux_dir"; then
1829 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1830 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1831 { (exit 1); exit 1; }; }
1834 # These three variables are undocumented and unsupported,
1835 # and are intended to be withdrawn in a future Autoconf release.
1836 # They can cause serious problems if a builder's source tree is in a directory
1837 # whose full name contains unusual characters.
1838 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1839 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1840 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1843 subdirs="$subdirs plugins"
1847 ac_cpp='$CXXCPP $CPPFLAGS'
1848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1851 if test -z "$CXX"; then
1852 if test -n "$CCC"; then
1855 if test -n "$ac_tool_prefix"; then
1856 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1858 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1859 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1862 if test "${ac_cv_prog_CXX+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 if test -n "$CXX"; then
1866 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872 test -z "$as_dir" && as_dir=.
1873 for ac_exec_ext in '' $ac_executable_extensions; do
1874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1875 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 if test -n "$CXX"; then
1887 { echo "$as_me:$LINENO: result: $CXX" >&5
1888 echo "${ECHO_T}$CXX" >&6; }
1890 { echo "$as_me:$LINENO: result: no" >&5
1891 echo "${ECHO_T}no" >&6; }
1895 test -n "$CXX" && break
1898 if test -z "$CXX"; then
1900 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
1902 # Extract the first word of "$ac_prog", so it can be a program name with args.
1903 set dummy $ac_prog; ac_word=$2
1904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1906 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 if test -n "$ac_ct_CXX"; then
1910 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1916 test -z "$as_dir" && as_dir=.
1917 for ac_exec_ext in '' $ac_executable_extensions; do
1918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1919 ac_cv_prog_ac_ct_CXX="$ac_prog"
1920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1930 if test -n "$ac_ct_CXX"; then
1931 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1932 echo "${ECHO_T}$ac_ct_CXX" >&6; }
1934 { echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6; }
1939 test -n "$ac_ct_CXX" && break
1942 if test "x$ac_ct_CXX" = x; then
1945 case $cross_compiling:$ac_tool_warned in
1947 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1948 whose name does not start with the host triplet. If you think this
1949 configuration is useful to you, please write to autoconf@gnu.org." >&5
1950 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1951 whose name does not start with the host triplet. If you think this
1952 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1953 ac_tool_warned=yes ;;
1961 # Provide some information about the compiler.
1962 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
1963 ac_compiler=`set X
$ac_compile; echo $2`
1964 { (ac_try="$ac_compiler --version >&5"
1966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1967 *) ac_try_echo
=$ac_try;;
1969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1970 (eval "$ac_compiler --version >&5") 2>&5
1972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1973 (exit $ac_status); }
1974 { (ac_try
="$ac_compiler -v >&5"
1976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1977 *) ac_try_echo=$ac_try;;
1979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1980 (eval "$ac_compiler -v >&5") 2>&5
1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1983 (exit $ac_status); }
1984 { (ac_try="$ac_compiler -V >&5"
1986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1987 *) ac_try_echo
=$ac_try;;
1989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1990 (eval "$ac_compiler -V >&5") 2>&5
1992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1993 (exit $ac_status); }
1995 cat >conftest.
$ac_ext <<_ACEOF
1998 cat confdefs.h
>>conftest.
$ac_ext
1999 cat >>conftest.
$ac_ext <<_ACEOF
2000 /* end confdefs.h. */
2010 ac_clean_files_save
=$ac_clean_files
2011 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2012 # Try to create an executable without -o first, disregard a.out.
2013 # It will help us diagnose broken compilers, and finding out an intuition
2015 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2016 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2017 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2019 # List of possible output files, starting from the most likely.
2020 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2021 # only as a last resort. b.out is created by i960 compilers.
2022 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2024 # The IRIX 6 linker writes into existing files which may not be
2025 # executable, retaining their permissions. Remove them first so a
2026 # subsequent execution test works.
2028 for ac_file
in $ac_files
2031 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2032 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2037 if { (ac_try
="$ac_link_default"
2039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2043 (eval "$ac_link_default") 2>&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; then
2047 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2048 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2049 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2050 # so that the user can short-circuit this test for compilers unknown to
2052 for ac_file in $ac_files ''
2054 test -f "$ac_file" || continue
2056 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2059 # We found the default executable, but exeext='' is most
2063 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2065 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2067 # We set ac_cv_exeext here because the later test for it is not
2068 # safe: cross compilers may not add the suffix if given an `-o'
2069 # argument, so we may need to know it at that point already.
2070 # Even if this section looks crufty: it has the advantage of
2077 test "$ac_cv_exeext" = no && ac_cv_exeext=
2083 { echo "$as_me:$LINENO: result: $ac_file" >&5
2084 echo "${ECHO_T}$ac_file" >&6; }
2085 if test -z "$ac_file"; then
2086 echo "$as_me: failed program was:" >&5
2087 sed 's
/^
/|
/' conftest.$ac_ext >&5
2089 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2090 See \`config.log' for more details.
" >&5
2091 echo "$as_me: error
: C
++ compiler cannot create executables
2092 See \
`config.log' for more details." >&2;}
2093 { (exit 77); exit 77; }; }
2096 ac_exeext=$ac_cv_exeext
2098 # Check that the compiler produces executables we can run. If not, either
2099 # the compiler is broken, or we cross compile.
2100 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2101 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2102 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2103 # If not cross compiling, check that we can run a simple program.
2104 if test "$cross_compiling" != yes; then
2105 if { ac_try='./$ac_file'
2106 { (case "(($ac_try" in
2107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2108 *) ac_try_echo
=$ac_try;;
2110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2111 (eval "$ac_try") 2>&5
2113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114 (exit $ac_status); }; }; then
2117 if test "$cross_compiling" = maybe
; then
2120 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2121 If you meant to cross compile, use \`--host'.
2122 See \`config.log' for more details." >&5
2123 echo "$as_me: error: cannot run C++ compiled programs.
2124 If you meant to cross compile, use \`--host'.
2125 See \`config.log' for more details." >&2;}
2126 { (exit 1); exit 1; }; }
2130 { echo "$as_me:$LINENO: result: yes" >&5
2131 echo "${ECHO_T}yes" >&6; }
2133 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2134 ac_clean_files
=$ac_clean_files_save
2135 # Check that the compiler produces executables we can run. If not, either
2136 # the compiler is broken, or we cross compile.
2137 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2138 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2139 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2140 echo "${ECHO_T}$cross_compiling" >&6; }
2142 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2143 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2144 if { (ac_try
="$ac_link"
2146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2147 *) ac_try_echo=$ac_try;;
2149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2150 (eval "$ac_link") 2>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; then
2154 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2155 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2156 # work properly (i.e., refer to `conftest.exe'), while it won't with
2158 for ac_file
in conftest.exe conftest conftest.
*; do
2159 test -f "$ac_file" ||
continue
2161 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2162 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2168 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2169 See \`config.log' for more details." >&5
2170 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2171 See \`config.log' for more details." >&2;}
2172 { (exit 1); exit 1; }; }
2175 rm -f conftest
$ac_cv_exeext
2176 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2177 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2179 rm -f conftest.
$ac_ext
2180 EXEEXT
=$ac_cv_exeext
2182 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2183 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2184 if test "${ac_cv_objext+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 cat >conftest.
$ac_ext <<_ACEOF
2190 cat confdefs.h
>>conftest.
$ac_ext
2191 cat >>conftest.
$ac_ext <<_ACEOF
2192 /* end confdefs.h. */
2202 rm -f conftest.o conftest.obj
2203 if { (ac_try
="$ac_compile"
2205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2206 *) ac_try_echo=$ac_try;;
2208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2209 (eval "$ac_compile") 2>&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; then
2213 for ac_file in conftest.o conftest.obj conftest.*; do
2214 test -f "$ac_file" || continue;
2216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2217 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.$ac_ext >&5
2225 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2226 See \`config.log
' for more details." >&5
2227 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2228 See \`config.log' for more details.
" >&2;}
2229 { (exit 1); exit 1; }; }
2232 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2234 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2235 echo "${ECHO_T}$ac_cv_objext" >&6; }
2236 OBJEXT=$ac_cv_objext
2238 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2239 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2240 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2241 echo $ECHO_N "(cached
) $ECHO_C" >&6
2243 cat >conftest.$ac_ext <<_ACEOF
2246 cat confdefs.h >>conftest.$ac_ext
2247 cat >>conftest.$ac_ext <<_ACEOF
2248 /* end confdefs.h. */
2261 rm -f conftest.$ac_objext
2262 if { (ac_try="$ac_compile"
2264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2265 *) ac_try_echo=$ac_try;;
2267 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2268 (eval "$ac_compile") 2>conftest.er1
2270 grep -v '^ *+' conftest.er1 >conftest.err
2272 cat conftest.err >&5
2273 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2274 (exit $ac_status); } && {
2275 test -z "$ac_cxx_werror_flag" ||
2276 test ! -s conftest.err
2277 } && test -s conftest.$ac_objext; then
2280 echo "$as_me: failed program was
:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2287 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2290 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2291 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2292 GXX=`test $ac_compiler_gnu = yes && echo yes`
2293 ac_test_CXXFLAGS=${CXXFLAGS+set}
2294 ac_save_CXXFLAGS=$CXXFLAGS
2295 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2296 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2297 if test "${ac_cv_prog_cxx_g+set}" = set; then
2298 echo $ECHO_N "(cached
) $ECHO_C" >&6
2300 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2301 ac_cxx_werror_flag=yes
2304 cat >conftest.$ac_ext <<_ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2319 rm -f conftest.$ac_objext
2320 if { (ac_try="$ac_compile"
2322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2323 *) ac_try_echo=$ac_try;;
2325 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2326 (eval "$ac_compile") 2>conftest.er1
2328 grep -v '^ *+' conftest.er1 >conftest.err
2330 cat conftest.err >&5
2331 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2332 (exit $ac_status); } && {
2333 test -z "$ac_cxx_werror_flag" ||
2334 test ! -s conftest.err
2335 } && test -s conftest.$ac_objext; then
2336 ac_cv_prog_cxx_g=yes
2338 echo "$as_me: failed program was
:" >&5
2339 sed 's/^/| /' conftest.$ac_ext >&5
2342 cat >conftest.$ac_ext <<_ACEOF
2345 cat confdefs.h >>conftest.$ac_ext
2346 cat >>conftest.$ac_ext <<_ACEOF
2347 /* end confdefs.h. */
2357 rm -f conftest.$ac_objext
2358 if { (ac_try="$ac_compile"
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compile") 2>conftest.er1
2366 grep -v '^ *+' conftest.er1 >conftest.err
2368 cat conftest.err >&5
2369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2370 (exit $ac_status); } && {
2371 test -z "$ac_cxx_werror_flag" ||
2372 test ! -s conftest.err
2373 } && test -s conftest.$ac_objext; then
2376 echo "$as_me: failed program was
:" >&5
2377 sed 's/^/| /' conftest.$ac_ext >&5
2379 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2381 cat >conftest.$ac_ext <<_ACEOF
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2396 rm -f conftest.$ac_objext
2397 if { (ac_try="$ac_compile"
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_compile") 2>conftest.er1
2405 grep -v '^ *+' conftest.er1 >conftest.err
2407 cat conftest.err >&5
2408 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2409 (exit $ac_status); } && {
2410 test -z "$ac_cxx_werror_flag" ||
2411 test ! -s conftest.err
2412 } && test -s conftest.$ac_objext; then
2413 ac_cv_prog_cxx_g=yes
2415 echo "$as_me: failed program was
:" >&5
2416 sed 's/^/| /' conftest.$ac_ext >&5
2421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2430 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2431 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2432 if test "$ac_test_CXXFLAGS" = set; then
2433 CXXFLAGS=$ac_save_CXXFLAGS
2434 elif test $ac_cv_prog_cxx_g = yes; then
2435 if test "$GXX" = yes; then
2441 if test "$GXX" = yes; then
2448 ac_cpp='$CPP $CPPFLAGS'
2449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2455 ac_cpp='$CXXCPP $CPPFLAGS'
2456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2466 if test "x
$prefix" = "xNONE
"; then
2467 INSTALLPREFIX="/usr
/local"
2469 INSTALLPREFIX="${prefix}"
2480 MAJOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
2481 MINOR_VERSION=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
2482 BUILD_NUMBER=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
2483 PWLIB_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
2488 MAJOR_VERSION=$MAJOR_VERSION
2490 MINOR_VERSION=$MINOR_VERSION
2492 BUILD_NUMBER=$BUILD_NUMBER
2495 { echo "$as_me:$LINENO: PTLib version is
${PWLIB_VERSION}" >&5
2496 echo "$as_me: PTLib version is
${PWLIB_VERSION}" >&6;};
2499 cat >>confdefs.h <<_ACEOF
2500 #define PWLIB_MAJOR $MAJOR_VERSION
2504 cat >>confdefs.h <<_ACEOF
2505 #define PWLIB_MINOR $MINOR_VERSION
2509 cat >>confdefs.h <<_ACEOF
2510 #define PWLIB_BUILD $BUILD_NUMBER
2514 cat >>confdefs.h <<_ACEOF
2515 #define PWLIB_VERSION "$PWLIB_VERSION"
2520 # Make sure we can run config.sub.
2521 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2522 { { echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2523 echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2524 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: checking build system
type" >&5
2527 echo $ECHO_N "checking build system
type...
$ECHO_C" >&6; }
2528 if test "${ac_cv_build+set}" = set; then
2529 echo $ECHO_N "(cached
) $ECHO_C" >&6
2531 ac_build_alias=$build_alias
2532 test "x
$ac_build_alias" = x &&
2533 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2534 test "x
$ac_build_alias" = x &&
2535 { { echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2536 echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2537 { (exit 1); exit 1; }; }
2538 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2539 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2540 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2541 { (exit 1); exit 1; }; }
2544 { echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2545 echo "${ECHO_T}$ac_cv_build" >&6; }
2546 case $ac_cv_build in
2548 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2549 echo "$as_me: error
: invalid value of canonical build
" >&2;}
2550 { (exit 1); exit 1; }; };;
2553 ac_save_IFS=$IFS; IFS='-'
2559 # Remember, the first character of IFS is used to create $*,
2560 # except with old shells:
2563 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2566 { echo "$as_me:$LINENO: checking
host system
type" >&5
2567 echo $ECHO_N "checking
host system
type...
$ECHO_C" >&6; }
2568 if test "${ac_cv_host+set}" = set; then
2569 echo $ECHO_N "(cached
) $ECHO_C" >&6
2571 if test "x
$host_alias" = x; then
2572 ac_cv_host=$ac_cv_build
2574 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2575 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2576 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2577 { (exit 1); exit 1; }; }
2581 { echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2582 echo "${ECHO_T}$ac_cv_host" >&6; }
2585 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2586 echo "$as_me: error
: invalid value of canonical
host" >&2;}
2587 { (exit 1); exit 1; }; };;
2590 ac_save_IFS=$IFS; IFS='-'
2596 # Remember, the first character of IFS is used to create $*,
2597 # except with old shells:
2600 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2603 { echo "$as_me:$LINENO: checking target system
type" >&5
2604 echo $ECHO_N "checking target system
type...
$ECHO_C" >&6; }
2605 if test "${ac_cv_target+set}" = set; then
2606 echo $ECHO_N "(cached
) $ECHO_C" >&6
2608 if test "x
$target_alias" = x; then
2609 ac_cv_target=$ac_cv_host
2611 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub
" $target_alias` ||
2612 { { echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&5
2613 echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$target_alias failed
" >&2;}
2614 { (exit 1); exit 1; }; }
2618 { echo "$as_me:$LINENO: result
: $ac_cv_target" >&5
2619 echo "${ECHO_T}$ac_cv_target" >&6; }
2620 case $ac_cv_target in
2622 *) { { echo "$as_me:$LINENO: error
: invalid value of canonical target
" >&5
2623 echo "$as_me: error
: invalid value of canonical target
" >&2;}
2624 { (exit 1); exit 1; }; };;
2626 target=$ac_cv_target
2627 ac_save_IFS=$IFS; IFS='-'
2633 # Remember, the first character of IFS is used to create $*,
2634 # except with old shells:
2637 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2640 # The aliases save the names the user supplied, while $host etc.
2641 # will get canonicalized.
2642 test -n "$target_alias" &&
2643 test "$program_prefix$program_suffix$program_transform_name" = \
2645 program_prefix=${target_alias}-
2651 case "$target_os" in
2652 linux*) OSTYPE=linux ;
2653 OSRELEASE="\"`uname -r`\"";
2658 freebsd* ) OSTYPE=FreeBSD ;
2659 OS_TAG="P_FREEBSD
" ;
2660 if test "x
$OSRELEASE" = "x
"; then
2661 OSRELEASE="`sysctl -n kern.osreldate`" ;
2666 openbsd* ) OSTYPE=OpenBSD ;
2667 OS_TAG="P_OPENBSD
" ;
2668 OSRELEASE="`sysctl -n kern.osrevision`" ;
2669 ENDLDLIBS="-lossaudio" ;
2673 netbsd* ) OSTYPE=NetBSD ;
2675 OSRELEASE="`/sbin/sysctl -n kern.osrevision`" ;
2676 ENDLDLIBS="-lossaudio" ;
2680 solaris* | sunos* ) OSTYPE=solaris ;
2681 OS_TAG="P_SOLARIS
" ;
2682 OSRELEASE=`uname -r | sed "s
/5\.
//g
"` ;
2686 darwin* ) OSTYPE=Darwin ;
2688 OSRELEASE="`uname -r | sed 's/\.//g'`" ;
2689 SHAREDLIBEXT="dylib
";
2690 if test -e /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/expat.h ; then
2691 EXPATDIR=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6
2695 beos*) OSTYPE=beos ;
2697 OSRELEASE=`uname -r` ;
2698 STDCCFLAGS="$STDCCFLAGS -D__BEOS__"
2701 cygwin*) OSTYPE=cygwin ;
2703 OSRELEASE="`uname -r`";
2706 mingw*) OSTYPE=mingw ;
2708 OSRELEASE=`uname -r` ;
2710 SHAREDLIBEXT="dll
" ;
2711 STDCCFLAGS="$STDCCFLAGS -mms-bitfields" ;
2712 ENDLDLIBS="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
2716 * ) OSTYPE="$target_os" ;
2717 OS_TAG="P_UNKNOWN_OS
" ;
2718 OSRELEASE="\"${OSTYPE}_
`uname -r`\"" ;
2719 { echo "$as_me:$LINENO: WARNING
: \"OS
$target_os not recognized
- proceed with caution
!\"" >&5
2720 echo "$as_me: WARNING
: \"OS
$target_os not recognized
- proceed with caution
!\"" >&2;} ;
2726 case "$target_cpu" in
2727 x86 | i686 | i586 | i486 | i386 ) MACHTYPE=x86
2730 x86_64) MACHTYPE=x86_64 ;
2735 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7) MACHTYPE=alpha ;
2739 sparc ) MACHTYPE=sparc ;
2742 powerpc ) MACHTYPE=ppc ;
2745 ppc ) MACHTYPE=ppc ;
2748 powerpc64 ) MACHTYPE=ppc64 ;
2753 ppc64 ) MACHTYPE=ppc64 ;
2758 ia64) MACHTYPE=ia64 ;
2762 s390x) MACHTYPE=s390x ;
2767 s390) MACHTYPE=s390 ;
2770 * ) MACHTYPE=$target_cpu ;
2771 { echo "$as_me:$LINENO: WARNING
: \"CPU
$target_cpu not recognized
- proceed with caution
!\"" >&5
2772 echo "$as_me: WARNING
: \"CPU
$target_cpu not recognized
- proceed with caution
!\"" >&2;} ;;
2775 { echo "$as_me:$LINENO: OSTYPE
set to
$OSTYPE" >&5
2776 echo "$as_me: OSTYPE
set to
$OSTYPE" >&6;};
2777 { echo "$as_me:$LINENO: OSRELEASE
set to
$OSRELEASE" >&5
2778 echo "$as_me: OSRELEASE
set to
$OSRELEASE" >&6;};
2779 { echo "$as_me:$LINENO: MACHTYPE
set to
$MACHTYPE" >&5
2780 echo "$as_me: MACHTYPE
set to
$MACHTYPE" >&6;};
2786 OSRELEASE=$OSRELEASE
2788 TARGETDIR=$TARGETDIR
2791 cat >>confdefs.h <<_ACEOF
2792 #define $OS_TAG $OSRELEASE
2797 cat >>confdefs.h <<\_ACEOF
2798 #define PHAS_TEMPLATES 1
2802 if test "x
$P_64BIT" != "x
" ; then
2804 cat >>confdefs.h <<\_ACEOF
2810 if test ${OSTYPE} != beos ; then
2812 cat >>confdefs.h <<\_ACEOF
2813 #define P_PTHREADS 1
2818 if test ${OSTYPE} != solaris ; then
2819 LDAP_LIBRARIES="-llber -lldap_r"
2826 if test x$GXX = xyes ; then
2828 gcc_version=`$CXX -dumpversion`
2829 { echo "$as_me:$LINENO: gcc version is
$gcc_version" >&5
2830 echo "$as_me: gcc version is
$gcc_version" >&6;};
2831 GXX_MAJOR=`echo $gcc_version | sed 's/\..*$//'`
2832 GXX_MINOR=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2833 GXX_PATCH=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2835 { echo "$as_me:$LINENO: checking checking
if pragma implementation should be used
" >&5
2836 echo $ECHO_N "checking checking
if pragma implementation should be used...
$ECHO_C" >&6; }
2837 if test ${GXX_MAJOR} -lt 4 ; then
2838 if test "${need_pragma}" = "yes" ; then
2839 STDCCFLAGS="$STDCCFLAGS -DP_USE_PRAGMA"
2840 { echo "$as_me:$LINENO: result
: yes" >&5
2841 echo "${ECHO_T}yes" >&6; }
2843 { echo "$as_me:$LINENO: result
: no
" >&5
2844 echo "${ECHO_T}no
" >&6; }
2847 { echo "$as_me:$LINENO: result
: no
" >&5
2848 echo "${ECHO_T}no
" >&6; }
2851 { echo "$as_me:$LINENO: checking checking
if precompiled headers available
" >&5
2852 echo $ECHO_N "checking checking
if precompiled headers available...
$ECHO_C" >&6; }
2853 if test ${GXX_MAJOR} -lt 4 ; then
2857 # Check whether --enable-pch was given.
2858 if test "${enable_pch+set}" = set; then
2859 enableval=$enable_pch; enablepch=$enableval
2863 if test "${enablepch}" = "yes" ; then
2864 { echo "$as_me:$LINENO: result
: yes" >&5
2865 echo "${ECHO_T}yes" >&6; }
2868 { echo "$as_me:$LINENO: result
: no
" >&5
2869 echo "${ECHO_T}no
" >&6; }
2880 if test "x
${SHAREDLIBEXT}" = "x
" ; then
2883 SHAREDLIBEXT=$SHAREDLIBEXT
2886 cat >>confdefs.h <<\_ACEOF
2887 #define P_SHAREDLIBEXT $SHAREDLIBEXT
2893 if test ${OSTYPE} != "Darwin
" ; then
2896 ac_cpp='$CXXCPP $CPPFLAGS'
2897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2900 { echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
2901 echo $ECHO_N "checking how to run the C
++ preprocessor...
$ECHO_C" >&6; }
2902 if test -z "$CXXCPP"; then
2903 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2904 echo $ECHO_N "(cached
) $ECHO_C" >&6
2906 # Double quotes because CXXCPP needs to be expanded
2907 for CXXCPP in "$CXX -E" "/lib
/cpp
"
2910 for ac_cxx_preproc_warn_flag in '' yes
2912 # Use a header file that comes with gcc, so configuring glibc
2913 # with a fresh cross-compiler works.
2914 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2915 # <limits.h> exists even on freestanding compilers.
2916 # On the NeXT, cc -E runs the code through the compiler's parser,
2917 # not just through cpp. "Syntax error
" is here to catch this case.
2918 cat >conftest.$ac_ext <<_ACEOF
2921 cat confdefs.h >>conftest.$ac_ext
2922 cat >>conftest.$ac_ext <<_ACEOF
2923 /* end confdefs.h. */
2925 # include <limits.h>
2927 # include <assert.h>
2931 if { (ac_try="$ac_cpp conftest.
$ac_ext"
2933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934 *) ac_try_echo=$ac_try;;
2936 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2937 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
2939 grep -v '^ *+' conftest.er1 >conftest.err
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2943 (exit $ac_status); } >/dev/null && {
2944 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2945 test ! -s conftest.err
2949 echo "$as_me: failed program was
:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2952 # Broken: fails on valid input.
2956 rm -f conftest.err conftest.$ac_ext
2958 # OK, works on sane cases. Now check whether nonexistent headers
2959 # can be detected and how.
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2966 #include <ac_nonexistent.h>
2968 if { (ac_try="$ac_cpp conftest.
$ac_ext"
2970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971 *) ac_try_echo=$ac_try;;
2973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2974 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
2976 grep -v '^ *+' conftest.er1 >conftest.err
2978 cat conftest.err >&5
2979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2980 (exit $ac_status); } >/dev/null && {
2981 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2982 test ! -s conftest.err
2984 # Broken: success on invalid input.
2987 echo "$as_me: failed program was
:" >&5
2988 sed 's/^/| /' conftest.$ac_ext >&5
2990 # Passes both tests.
2995 rm -f conftest.err conftest.$ac_ext
2998 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2999 rm -f conftest.err conftest.$ac_ext
3000 if $ac_preproc_ok; then
3005 ac_cv_prog_CXXCPP=$CXXCPP
3008 CXXCPP=$ac_cv_prog_CXXCPP
3010 ac_cv_prog_CXXCPP=$CXXCPP
3012 { echo "$as_me:$LINENO: result
: $CXXCPP" >&5
3013 echo "${ECHO_T}$CXXCPP" >&6; }
3015 for ac_cxx_preproc_warn_flag in '' yes
3017 # Use a header file that comes with gcc, so configuring glibc
3018 # with a fresh cross-compiler works.
3019 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3020 # <limits.h> exists even on freestanding compilers.
3021 # On the NeXT, cc -E runs the code through the compiler's parser,
3022 # not just through cpp. "Syntax error
" is here to catch this case.
3023 cat >conftest.$ac_ext <<_ACEOF
3026 cat confdefs.h >>conftest.$ac_ext
3027 cat >>conftest.$ac_ext <<_ACEOF
3028 /* end confdefs.h. */
3030 # include <limits.h>
3032 # include <assert.h>
3036 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3041 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3042 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3048 (exit $ac_status); } >/dev/null && {
3049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3050 test ! -s conftest.err
3054 echo "$as_me: failed program was
:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3057 # Broken: fails on valid input.
3061 rm -f conftest.err conftest.$ac_ext
3063 # OK, works on sane cases. Now check whether nonexistent headers
3064 # can be detected and how.
3065 cat >conftest.$ac_ext <<_ACEOF
3068 cat confdefs.h >>conftest.$ac_ext
3069 cat >>conftest.$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3071 #include <ac_nonexistent.h>
3073 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076 *) ac_try_echo=$ac_try;;
3078 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3079 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3081 grep -v '^ *+' conftest.er1 >conftest.err
3083 cat conftest.err >&5
3084 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3085 (exit $ac_status); } >/dev/null && {
3086 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3087 test ! -s conftest.err
3089 # Broken: success on invalid input.
3092 echo "$as_me: failed program was
:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3095 # Passes both tests.
3100 rm -f conftest.err conftest.$ac_ext
3103 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3104 rm -f conftest.err conftest.$ac_ext
3105 if $ac_preproc_ok; then
3108 { { echo "$as_me:$LINENO: error
: C
++ preprocessor
\"$CXXCPP\" fails sanity check
3109 See \
`config.log' for more details." >&5
3110 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3111 See \`config.log
' for more details." >&2;}
3112 { (exit 1); exit 1; }; }
3116 ac_cpp='$CXXCPP $CPPFLAGS'
3117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3118 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3122 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3123 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3124 if test "${ac_cv_path_GREP+set}" = set; then
3125 echo $ECHO_N "(cached) $ECHO_C" >&6
3127 # Extract the first word of "grep ggrep" to use in msg output
3128 if test -z "$GREP"; then
3129 set dummy grep ggrep; ac_prog_name=$2
3130 if test "${ac_cv_path_GREP+set}" = set; then
3131 echo $ECHO_N "(cached) $ECHO_C" >&6
3133 ac_path_GREP_found=false
3134 # Loop through the user's path and
test for each of PROGNAME-LIST
3135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3139 test -z "$as_dir" && as_dir
=.
3140 for ac_prog
in grep ggrep
; do
3141 for ac_exec_ext
in '' $ac_executable_extensions; do
3142 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3143 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3144 # Check for GNU ac_path_GREP and select it if it is found.
3145 # Check for GNU $ac_path_GREP
3146 case `"$ac_path_GREP" --version 2>&1` in
3148 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3151 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3154 cat "conftest.in" "conftest.in" >"conftest.tmp"
3155 mv "conftest.tmp" "conftest.in"
3156 cp "conftest.in" "conftest.nl"
3157 echo 'GREP' >> "conftest.nl"
3158 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3159 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3160 ac_count
=`expr $ac_count + 1`
3161 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3162 # Best one so far, save it but keep looking for a better one
3163 ac_cv_path_GREP
="$ac_path_GREP"
3164 ac_path_GREP_max
=$ac_count
3166 # 10*(2^10) chars as input seems more than enough
3167 test $ac_count -gt 10 && break
3169 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3173 $ac_path_GREP_found && break 3
3183 GREP
="$ac_cv_path_GREP"
3184 if test -z "$GREP"; then
3185 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3186 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3187 { (exit 1); exit 1; }; }
3191 ac_cv_path_GREP
=$GREP
3196 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3197 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3198 GREP
="$ac_cv_path_GREP"
3201 { echo "$as_me:$LINENO: checking for egrep" >&5
3202 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3203 if test "${ac_cv_path_EGREP+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3207 then ac_cv_path_EGREP
="$GREP -E"
3209 # Extract the first word of "egrep" to use in msg output
3210 if test -z "$EGREP"; then
3211 set dummy
egrep; ac_prog_name
=$2
3212 if test "${ac_cv_path_EGREP+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 ac_path_EGREP_found
=false
3216 # Loop through the user's path and test for each of PROGNAME-LIST
3217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3221 test -z "$as_dir" && as_dir
=.
3222 for ac_prog
in egrep; do
3223 for ac_exec_ext
in '' $ac_executable_extensions; do
3224 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3225 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3226 # Check for GNU ac_path_EGREP and select it if it is found.
3227 # Check for GNU $ac_path_EGREP
3228 case `"$ac_path_EGREP" --version 2>&1` in
3230 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3233 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3236 cat "conftest.in" "conftest.in" >"conftest.tmp"
3237 mv "conftest.tmp" "conftest.in"
3238 cp "conftest.in" "conftest.nl"
3239 echo 'EGREP' >> "conftest.nl"
3240 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3241 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3242 ac_count
=`expr $ac_count + 1`
3243 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3244 # Best one so far, save it but keep looking for a better one
3245 ac_cv_path_EGREP
="$ac_path_EGREP"
3246 ac_path_EGREP_max
=$ac_count
3248 # 10*(2^10) chars as input seems more than enough
3249 test $ac_count -gt 10 && break
3251 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3255 $ac_path_EGREP_found && break 3
3265 EGREP
="$ac_cv_path_EGREP"
3266 if test -z "$EGREP"; then
3267 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3268 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3269 { (exit 1); exit 1; }; }
3273 ac_cv_path_EGREP
=$EGREP
3279 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3280 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3281 EGREP
="$ac_cv_path_EGREP"
3284 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3285 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3286 if test "${ac_cv_header_stdc+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 cat >conftest.
$ac_ext <<_ACEOF
3292 cat confdefs.h
>>conftest.
$ac_ext
3293 cat >>conftest.
$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3308 rm -f conftest.
$ac_objext
3309 if { (ac_try
="$ac_compile"
3311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3312 *) ac_try_echo=$ac_try;;
3314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315 (eval "$ac_compile") 2>conftest.er1
3317 grep -v '^ *+' conftest.er1 >conftest.err
3319 cat conftest.err >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } && {
3322 test -z "$ac_cxx_werror_flag" ||
3323 test ! -s conftest.err
3324 } && test -s conftest.$ac_objext; then
3325 ac_cv_header_stdc=yes
3327 echo "$as_me: failed program was:" >&5
3328 sed 's/^/| /' conftest.$ac_ext >&5
3330 ac_cv_header_stdc=no
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 if test $ac_cv_header_stdc = yes; then
3336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3337 cat >conftest.$ac_ext <<_ACEOF
3340 cat confdefs.h >>conftest.$ac_ext
3341 cat >>conftest.$ac_ext <<_ACEOF
3342 /* end confdefs.h. */
3346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3347 $EGREP "memchr" >/dev/null 2>&1; then
3350 ac_cv_header_stdc=no
3356 if test $ac_cv_header_stdc = yes; then
3357 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3358 cat >conftest.$ac_ext <<_ACEOF
3361 cat confdefs.h >>conftest.$ac_ext
3362 cat >>conftest.$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3368 $EGREP "free" >/dev/null 2>&1; then
3371 ac_cv_header_stdc=no
3377 if test $ac_cv_header_stdc = yes; then
3378 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3379 if test "$cross_compiling" = yes; then
3382 cat >conftest.$ac_ext <<_ACEOF
3385 cat confdefs.h >>conftest.$ac_ext
3386 cat >>conftest.$ac_ext <<_ACEOF
3387 /* end confdefs.h. */
3390 #if ((' ' & 0x0FF) == 0x020)
3391 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3392 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3394 # define ISLOWER(c) \
3395 (('a' <= (c) && (c) <= 'i') \
3396 || ('j' <= (c) && (c) <= 'r') \
3397 || ('s' <= (c) && (c) <= 'z'))
3398 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3401 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3406 for (i = 0; i < 256; i++)
3407 if (XOR (islower (i), ISLOWER (i))
3408 || toupper (i) != TOUPPER (i))
3413 rm -f conftest$ac_exeext
3414 if { (ac_try="$ac_link"
3416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3417 *) ac_try_echo
=$ac_try;;
3419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3420 (eval "$ac_link") 2>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3424 { (case "(($ac_try" in
3425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3426 *) ac_try_echo=$ac_try;;
3428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3429 (eval "$ac_try") 2>&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); }; }; then
3435 echo "$as_me: program exited with status $ac_status" >&5
3436 echo "$as_me: failed program was:" >&5
3437 sed 's/^/| /' conftest.$ac_ext >&5
3440 ac_cv_header_stdc=no
3442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3448 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3449 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3450 if test $ac_cv_header_stdc = yes; then
3452 cat >>confdefs.h <<\_ACEOF
3453 #define STDC_HEADERS 1
3458 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3468 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3469 inttypes.h stdint.h unistd.h
3471 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3472 { echo "$as_me:$LINENO: checking for $ac_header" >&5
3473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 cat >conftest.$ac_ext <<_ACEOF
3480 cat confdefs.h >>conftest.$ac_ext
3481 cat >>conftest.$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3483 $ac_includes_default
3485 #include <$ac_header>
3487 rm -f conftest.$ac_objext
3488 if { (ac_try="$ac_compile"
3490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3491 *) ac_try_echo
=$ac_try;;
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_compile") 2>conftest.er1
3496 grep -v '^ *+' conftest.er1
>conftest.err
3498 cat conftest.err
>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } && {
3501 test -z "$ac_cxx_werror_flag" ||
3502 test ! -s conftest.err
3503 } && test -s conftest.
$ac_objext; then
3504 eval "$as_ac_Header=yes"
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.
$ac_ext >&5
3509 eval "$as_ac_Header=no"
3512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3514 ac_res
=`eval echo '${'$as_ac_Header'}'`
3515 { echo "$as_me:$LINENO: result: $ac_res" >&5
3516 echo "${ECHO_T}$ac_res" >&6; }
3517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3518 cat >>confdefs.h
<<_ACEOF
3519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3527 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3528 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3529 if test "${ac_cv_c_bigendian+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 # See if sys/param.h defines the BYTE_ORDER macro.
3533 cat >conftest.
$ac_ext <<_ACEOF
3536 cat confdefs.h
>>conftest.
$ac_ext
3537 cat >>conftest.
$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3539 #include <sys/types.h>
3540 #include <sys/param.h>
3545 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
3546 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
3554 rm -f conftest.
$ac_objext
3555 if { (ac_try
="$ac_compile"
3557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3558 *) ac_try_echo=$ac_try;;
3560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3561 (eval "$ac_compile") 2>conftest.er1
3563 grep -v '^ *+' conftest.er1 >conftest.err
3565 cat conftest.err >&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } && {
3568 test -z "$ac_cxx_werror_flag" ||
3569 test ! -s conftest.err
3570 } && test -s conftest.$ac_objext; then
3571 # It does; now see whether it defined to BIG_ENDIAN or not.
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578 #include <sys/types.h>
3579 #include <sys/param.h>
3584 #if BYTE_ORDER != BIG_ENDIAN
3592 rm -f conftest.$ac_objext
3593 if { (ac_try="$ac_compile"
3595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3596 *) ac_try_echo
=$ac_try;;
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_compile") 2>conftest.er1
3601 grep -v '^ *+' conftest.er1
>conftest.err
3603 cat conftest.err
>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } && {
3606 test -z "$ac_cxx_werror_flag" ||
3607 test ! -s conftest.err
3608 } && test -s conftest.
$ac_objext; then
3609 ac_cv_c_bigendian
=yes
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.
$ac_ext >&5
3614 ac_cv_c_bigendian
=no
3617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3619 echo "$as_me: failed program was:" >&5
3620 sed 's/^/| /' conftest.
$ac_ext >&5
3622 # It does not; compile a test program.
3623 if test "$cross_compiling" = yes; then
3624 # try to guess the endianness by grepping values into an object file
3625 ac_cv_c_bigendian
=unknown
3626 cat >conftest.
$ac_ext <<_ACEOF
3629 cat confdefs.h
>>conftest.
$ac_ext
3630 cat >>conftest.
$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3633 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3634 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3635 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3636 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3637 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3641 _ascii (); _ebcdic ();
3646 rm -f conftest.
$ac_objext
3647 if { (ac_try
="$ac_compile"
3649 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3650 *) ac_try_echo=$ac_try;;
3652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3653 (eval "$ac_compile") 2>conftest.er1
3655 grep -v '^ *+' conftest.er1 >conftest.err
3657 cat conftest.err >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } && {
3660 test -z "$ac_cxx_werror_flag" ||
3661 test ! -s conftest.err
3662 } && test -s conftest.$ac_objext; then
3663 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3664 ac_cv_c_bigendian=yes
3666 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3667 if test "$ac_cv_c_bigendian" = unknown; then
3668 ac_cv_c_bigendian=no
3670 # finding both strings is unlikely to happen, but who knows?
3671 ac_cv_c_bigendian=unknown
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 $ac_includes_default
3694 /* Are we little or big endian? From Harbison&Steele. */
3698 char c[sizeof (long int)];
3701 return u.c[sizeof (long int) - 1] == 1;
3707 rm -f conftest$ac_exeext
3708 if { (ac_try="$ac_link"
3710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3711 *) ac_try_echo
=$ac_try;;
3713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3714 (eval "$ac_link") 2>&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3718 { (case "(($ac_try" in
3719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3720 *) ac_try_echo=$ac_try;;
3722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3723 (eval "$ac_try") 2>&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; }; then
3727 ac_cv_c_bigendian=no
3729 echo "$as_me: program exited with status $ac_status" >&5
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3734 ac_cv_c_bigendian=yes
3736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3744 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3745 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
3746 case $ac_cv_c_bigendian in
3749 cat >>confdefs.h <<\_ACEOF
3750 #define WORDS_BIGENDIAN 1
3756 { { echo "$as_me:$LINENO: error: unknown endianness
3757 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3758 echo "$as_me: error: unknown endianness
3759 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3760 { (exit 1); exit 1; }; } ;;
3763 if test ${ac_cv_c_bigendian} = yes ; then
3764 PBYTE_ORDER=PBIG_ENDIAN
3766 PBYTE_ORDER=PLITTLE_ENDIAN
3770 cat >>confdefs.h <<_ACEOF
3771 #define PBYTE_ORDER $PBYTE_ORDER
3777 ac_cpp='$CXXCPP $CPPFLAGS'
3778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3783 { echo "$as_me:$LINENO: checking if linker accepts -felide-constructors" >&5
3784 echo $ECHO_N "checking if linker accepts -felide-constructors... $ECHO_C" >&6; }
3785 cat >conftest.$ac_ext <<_ACEOF
3786 int main(int ac,char **av) { return 0; }
3788 $CXX $CXXFLAGS -felide-constructors conftest.cc > /dev/null 2>&1
3789 if test $? = 0 ; then
3790 { echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6; }
3792 STDCXXFLAGS="$STDCXXFLAGS -felide-constructors"
3794 { echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6; }
3798 { echo "$as_me:$LINENO: checking if linker accepts -Wreorder" >&5
3799 echo $ECHO_N "checking if linker accepts -Wreorder... $ECHO_C" >&6; }
3800 cat >conftest.$ac_ext <<_ACEOF
3801 int main(int ac,char **av) { return 0; }
3803 $CXX $CXXFLAGS -Wreorder conftest.cc > /dev/null 2>&1
3804 if test $? = 0 ; then
3805 { echo "$as_me:$LINENO: result: yes" >&5
3806 echo "${ECHO_T}yes" >&6; }
3807 STDCXXFLAGS="$STDCXXFLAGS -Wreorder"
3809 { echo "$as_me:$LINENO: result: no" >&5
3810 echo "${ECHO_T}no" >&6; }
3815 { echo "$as_me:$LINENO: checking if debug build accepts -g3 -ggdb -O0" >&5
3816 echo $ECHO_N "checking if debug build accepts -g3 -ggdb -O0... $ECHO_C" >&6; }
3817 cat >conftest.$ac_ext <<_ACEOF
3818 int main(int ac,char **av) { return 0; }
3820 $CXX $CXXFLAGS -g3 -ggdb -O0 conftest.cc > /dev/null 2>&1
3821 if test $? = 0 ; then
3822 { echo "$as_me:$LINENO: result: yes" >&5
3823 echo "${ECHO_T}yes" >&6; }
3824 DEBUG_FLAG="-g3 -ggdb -O0"
3826 { echo "$as_me:$LINENO: result: no" >&5
3827 echo "${ECHO_T}no" >&6; }
3832 # AC_MSG_CHECKING(if linker accepts -Woverloaded-virtual)
3833 # AC_LANG_CONFTEST([[int main(int ac,char **av) { return 0; }]])
3834 # $CXX $CFLAGS -Woverloaded-virtual conftest.cc > /dev/null 2>&1
3835 # if test $? = 0 ; then
3836 # AC_MSG_RESULT(yes)
3837 # STDCCFLAGS="$STDCCFLAGS -Woverloaded-virtual"
3842 { echo "$as_me:$LINENO: checking if compiler uses RTTI by default" >&5
3843 echo $ECHO_N "checking if compiler uses RTTI by default... $ECHO_C" >&6; }
3844 cat >conftest.$ac_ext <<_ACEOF
3847 int main(int ac,char **av)
3852 virtual void fred() { }
3860 A * p = dynamic_cast<A *>(&t);
3865 rm -f conftest.$ac_objext
3866 if { (ac_try="$ac_compile"
3868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3869 *) ac_try_echo
=$ac_try;;
3871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3872 (eval "$ac_compile") 2>conftest.er1
3874 grep -v '^ *+' conftest.er1
>conftest.err
3876 cat conftest.err
>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); } && {
3879 test -z "$ac_cxx_werror_flag" ||
3880 test ! -s conftest.err
3881 } && test -s conftest.
$ac_objext; then
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.
$ac_ext >&5
3890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3891 if test "$DEFAULT_RTTI" = "1" ; then
3892 { echo "$as_me:$LINENO: result: yes" >&5
3893 echo "${ECHO_T}yes" >&6; }
3895 { echo "$as_me:$LINENO: result: no" >&5
3896 echo "${ECHO_T}no" >&6; }
3897 STDCXXFLAGS
="$STDCCFLAGS -rtti"
3903 if test 0 = 1 ; then
3906 { echo "$as_me:$LINENO: checking if compiler accepts -ffunction-sections" >&5
3907 echo $ECHO_N "checking if compiler accepts -ffunction-sections... $ECHO_C" >&6; }
3908 cat >conftest.
$ac_ext <<_ACEOF
3909 int main(int ac,char **av) { return 0; }
3911 $CXX $CFLAGS -ffunction-sections -c conftest.cc
> /dev
/null
2>&1
3912 if test $?
= 0 ; then
3913 { echo "$as_me:$LINENO: result: yes" >&5
3914 echo "${ECHO_T}yes" >&6; }
3915 STDCCFLAGS
="$STDCCFLAGS -ffunction-sections"
3918 { echo "$as_me:$LINENO: result: no" >&5
3919 echo "${ECHO_T}no" >&6; }
3924 if test $GCSECTIONS = 1; then
3925 if test "${OSTYPE}" != "Darwin" ; then
3926 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -Wl,--gc-sections"
3933 ac_cpp
='$CXXCPP $CPPFLAGS'
3934 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3939 { echo "$as_me:$LINENO: checking for int" >&5
3940 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
3941 if test "${ac_cv_type_int+set}" = set; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.
$ac_ext <<_ACEOF
3947 cat confdefs.h
>>conftest.
$ac_ext
3948 cat >>conftest.
$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3951 typedef int ac__type_new_;
3955 if ((ac__type_new_ *) 0)
3957 if (sizeof (ac__type_new_))
3963 rm -f conftest.
$ac_objext
3964 if { (ac_try
="$ac_compile"
3966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_compile") 2>conftest.er1
3972 grep -v '^ *+' conftest.er1 >conftest.err
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && {
3977 test -z "$ac_cxx_werror_flag" ||
3978 test ! -s conftest.err
3979 } && test -s conftest.$ac_objext; then
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3991 echo "${ECHO_T}$ac_cv_type_int" >&6; }
3993 # The cast to long int works around a bug in the HP C Compiler
3994 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3995 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
3996 # This bug is HP SR number 8606223364.
3997 { echo "$as_me:$LINENO: checking size of int" >&5
3998 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
3999 if test "${ac_cv_sizeof_int+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 if test "$cross_compiling" = yes; then
4003 # Depending upon the size, compute the lo and hi bounds.
4004 cat >conftest.$ac_ext <<_ACEOF
4007 cat confdefs.h >>conftest.$ac_ext
4008 cat >>conftest.$ac_ext <<_ACEOF
4009 /* end confdefs.h. */
4010 $ac_includes_default
4011 typedef int ac__type_sizeof_;
4015 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
4022 rm -f conftest.$ac_objext
4023 if { (ac_try="$ac_compile"
4025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4026 *) ac_try_echo=$ac_try;;
4028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4029 (eval "$ac_compile") 2>conftest.er1
4031 grep -v '^
*+' conftest.er1 >conftest.err
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } && {
4036 test -z "$ac_cxx_werror_flag" ||
4037 test ! -s conftest.err
4038 } && test -s conftest.$ac_objext; then
4041 cat >conftest.$ac_ext <<_ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4047 $ac_includes_default
4048 typedef int ac__type_sizeof_;
4052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4059 rm -f conftest.$ac_objext
4060 if { (ac_try="$ac_compile"
4062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4063 *) ac_try_echo=$ac_try;;
4065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4066 (eval "$ac_compile") 2>conftest.er1
4068 grep -v '^
*+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } && {
4073 test -z "$ac_cxx_werror_flag" ||
4074 test ! -s conftest.err
4075 } && test -s conftest.$ac_objext; then
4076 ac_hi=$ac_mid; break
4078 echo "$as_me: failed program was:" >&5
4079 sed 's
/^
/|
/' conftest.$ac_ext >&5
4081 ac_lo=`expr $ac_mid + 1`
4082 if test $ac_lo -le $ac_mid; then
4086 ac_mid=`expr 2 '*' $ac_mid + 1`
4089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4092 echo "$as_me: failed program was:" >&5
4093 sed 's
/^
/|
/' conftest.$ac_ext >&5
4095 cat >conftest.$ac_ext <<_ACEOF
4098 cat confdefs.h >>conftest.$ac_ext
4099 cat >>conftest.$ac_ext <<_ACEOF
4100 /* end confdefs.h. */
4101 $ac_includes_default
4102 typedef int ac__type_sizeof_;
4106 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
4113 rm -f conftest.$ac_objext
4114 if { (ac_try="$ac_compile"
4116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4120 (eval "$ac_compile") 2>conftest.er1
4122 grep -v '^
*+' conftest.er1 >conftest.err
4124 cat conftest.err >&5
4125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4126 (exit $ac_status); } && {
4127 test -z "$ac_cxx_werror_flag" ||
4128 test ! -s conftest.err
4129 } && test -s conftest.$ac_objext; then
4132 cat >conftest.$ac_ext <<_ACEOF
4135 cat confdefs.h >>conftest.$ac_ext
4136 cat >>conftest.$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4138 $ac_includes_default
4139 typedef int ac__type_sizeof_;
4143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
4150 rm -f conftest.$ac_objext
4151 if { (ac_try="$ac_compile"
4153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_compile") 2>conftest.er1
4159 grep -v '^
*+' conftest.er1 >conftest.err
4161 cat conftest.err >&5
4162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4163 (exit $ac_status); } && {
4164 test -z "$ac_cxx_werror_flag" ||
4165 test ! -s conftest.err
4166 } && test -s conftest.$ac_objext; then
4167 ac_lo=$ac_mid; break
4169 echo "$as_me: failed program was:" >&5
4170 sed 's
/^
/|
/' conftest.$ac_ext >&5
4172 ac_hi=`expr '(' $ac_mid ')' - 1`
4173 if test $ac_mid -le $ac_hi; then
4177 ac_mid=`expr 2 '*' $ac_mid`
4180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4183 echo "$as_me: failed program was:" >&5
4184 sed 's
/^
/|
/' conftest.$ac_ext >&5
4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4193 # Binary search between lo and hi bounds.
4194 while test "x$ac_lo" != "x$ac_hi"; do
4195 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4196 cat >conftest.$ac_ext <<_ACEOF
4199 cat confdefs.h >>conftest.$ac_ext
4200 cat >>conftest.$ac_ext <<_ACEOF
4201 /* end confdefs.h. */
4202 $ac_includes_default
4203 typedef int ac__type_sizeof_;
4207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
4214 rm -f conftest.$ac_objext
4215 if { (ac_try="$ac_compile"
4217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4218 *) ac_try_echo=$ac_try;;
4220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4221 (eval "$ac_compile") 2>conftest.er1
4223 grep -v '^
*+' conftest.er1 >conftest.err
4225 cat conftest.err >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); } && {
4228 test -z "$ac_cxx_werror_flag" ||
4229 test ! -s conftest.err
4230 } && test -s conftest.$ac_objext; then
4233 echo "$as_me: failed program was:" >&5
4234 sed 's
/^
/|
/' conftest.$ac_ext >&5
4236 ac_lo=`expr '(' $ac_mid ')' + 1`
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242 ?*) ac_cv_sizeof_int=$ac_lo;;
4243 '') if test "$ac_cv_type_int" = yes; then
4244 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4245 See \`config.log' for more details.
" >&5
4246 echo "$as_me: error
: cannot compute sizeof
(int
)
4247 See \
`config.log' for more details." >&2;}
4248 { (exit 77); exit 77; }; }
4254 cat >conftest.$ac_ext <<_ACEOF
4257 cat confdefs.h >>conftest.$ac_ext
4258 cat >>conftest.$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 $ac_includes_default
4261 typedef int ac__type_sizeof_;
4262 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
4263 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
4270 FILE *f = fopen ("conftest.val", "w");
4273 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
4275 long int i = longval ();
4276 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4278 fprintf (f, "%ld\n", i);
4282 unsigned long int i = ulongval ();
4283 if (i != ((long int) (sizeof (ac__type_sizeof_))))
4285 fprintf (f, "%lu\n", i);
4287 return ferror (f) || fclose (f) != 0;
4293 rm -f conftest$ac_exeext
4294 if { (ac_try="$ac_link"
4296 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4297 *) ac_try_echo
=$ac_try;;
4299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4300 (eval "$ac_link") 2>&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4304 { (case "(($ac_try" in
4305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4306 *) ac_try_echo=$ac_try;;
4308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4309 (eval "$ac_try") 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; }; then
4313 ac_cv_sizeof_int=`cat conftest.val
`
4315 echo "$as_me: program exited with status $ac_status" >&5
4316 echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4320 if test "$ac_cv_type_int" = yes; then
4321 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
4322 See \`config.log
' for more details." >&5
4323 echo "$as_me: error: cannot compute sizeof (int)
4324 See \`config.log' for more details.
" >&2;}
4325 { (exit 77); exit 77; }; }
4330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4334 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_int" >&5
4335 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
4339 cat >>confdefs.h <<_ACEOF
4340 #define SIZEOF_INT $ac_cv_sizeof_int
4348 { echo "$as_me:$LINENO: checking
for long double with
more range or precision than double
" >&5
4349 echo $ECHO_N "checking
for long double with
more range or precision than double...
$ECHO_C" >&6; }
4350 if test "${ac_cv_type_long_double_wider+set}" = set; then
4351 echo $ECHO_N "(cached
) $ECHO_C" >&6
4353 cat >conftest.$ac_ext <<_ACEOF
4356 cat confdefs.h >>conftest.$ac_ext
4357 cat >>conftest.$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4360 long double const a[] =
4362 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
4363 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
4368 return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
4369 + (x ? f (x) : 'c'));
4375 static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
4376 + (DBL_MANT_DIG < LDBL_MANT_DIG)
4377 - (LDBL_MAX_EXP < DBL_MAX_EXP)
4378 - (LDBL_MANT_DIG < DBL_MANT_DIG)))
4379 && (int) LDBL_EPSILON == 0
4387 rm -f conftest.$ac_objext
4388 if { (ac_try="$ac_compile"
4390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4391 *) ac_try_echo=$ac_try;;
4393 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4394 (eval "$ac_compile") 2>conftest.er1
4396 grep -v '^ *+' conftest.er1 >conftest.err
4398 cat conftest.err >&5
4399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4400 (exit $ac_status); } && {
4401 test -z "$ac_cxx_werror_flag" ||
4402 test ! -s conftest.err
4403 } && test -s conftest.$ac_objext; then
4404 ac_cv_type_long_double_wider=yes
4406 echo "$as_me: failed program was
:" >&5
4407 sed 's/^/| /' conftest.$ac_ext >&5
4409 ac_cv_type_long_double_wider=no
4412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4414 { echo "$as_me:$LINENO: result
: $ac_cv_type_long_double_wider" >&5
4415 echo "${ECHO_T}$ac_cv_type_long_double_wider" >&6; }
4416 if test $ac_cv_type_long_double_wider = yes; then
4418 cat >>confdefs.h <<\_ACEOF
4419 #define HAVE_LONG_DOUBLE_WIDER 1
4424 ac_cv_c_long_double=$ac_cv_type_long_double_wider
4425 if test $ac_cv_c_long_double = yes; then
4427 cat >>confdefs.h <<\_ACEOF
4428 #define HAVE_LONG_DOUBLE 1
4433 if test $ac_cv_c_long_double != yes ; then
4435 cat >>confdefs.h <<\_ACEOF
4436 #define PNO_LONG_DOUBLE
4441 if test ${OSTYPE} = Darwin ; then
4442 STDCCFLAGS="$STDCCFLAGS -Wno-long-double"
4445 # Extract the first word of "flex
", so it can be a program name with args.
4446 set dummy flex; ac_word=$2
4447 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4448 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4449 if test "${ac_cv_path_FLEX+set}" = set; then
4450 echo $ECHO_N "(cached
) $ECHO_C" >&6
4454 ac_cv_path_FLEX="$FLEX" # Let the user override the test with a path.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_path_FLEX="$as_dir/$ac_word$ac_exec_ext"
4465 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4475 FLEX=$ac_cv_path_FLEX
4476 if test -n "$FLEX"; then
4477 { echo "$as_me:$LINENO: result
: $FLEX" >&5
4478 echo "${ECHO_T}$FLEX" >&6; }
4480 { echo "$as_me:$LINENO: result
: no
" >&5
4481 echo "${ECHO_T}no
" >&6; }
4485 if test -z "$FLEX" ; then
4486 { { echo "$as_me:$LINENO: error
: pwlib needs the GNU Project fast lexical analyzer generator flex
" >&5
4487 echo "$as_me: error
: pwlib needs the GNU Project fast lexical analyzer generator flex
" >&2;}
4488 { (exit 1); exit 1; }; }
4491 # Extract the first word of "ar", so it can be a program name with args.
4492 set dummy ar; ac_word=$2
4493 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4494 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4495 if test "${ac_cv_path_AR+set}" = set; then
4496 echo $ECHO_N "(cached
) $ECHO_C" >&6
4500 ac_cv_path_AR="$AR" # Let the user override the test with a path.
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4511 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4522 if test -n "$AR"; then
4523 { echo "$as_me:$LINENO: result
: $AR" >&5
4524 echo "${ECHO_T}$AR" >&6; }
4526 { echo "$as_me:$LINENO: result
: no
" >&5
4527 echo "${ECHO_T}no
" >&6; }
4531 if test -z "$AR" ; then
4532 # Extract the first word of "gar
", so it can be a program name with args.
4533 set dummy gar; ac_word=$2
4534 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4535 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4536 if test "${ac_cv_path_AR+set}" = set; then
4537 echo $ECHO_N "(cached
) $ECHO_C" >&6
4541 ac_cv_path_AR="$AR" # Let the user override the test with a path.
4544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir=.
4549 for ac_exec_ext in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
4552 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$AR"; then
4564 { echo "$as_me:$LINENO: result
: $AR" >&5
4565 echo "${ECHO_T}$AR" >&6; }
4567 { echo "$as_me:$LINENO: result
: no
" >&5
4568 echo "${ECHO_T}no
" >&6; }
4574 # Extract the first word of "bison
", so it can be a program name with args.
4575 set dummy bison; ac_word=$2
4576 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
4577 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
4578 if test "${ac_cv_path_BISON+set}" = set; then
4579 echo $ECHO_N "(cached
) $ECHO_C" >&6
4583 ac_cv_path_BISON="$BISON" # Let the user override the test with a path.
4586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir=.
4591 for ac_exec_ext in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_path_BISON="$as_dir/$ac_word$ac_exec_ext"
4594 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4604 BISON=$ac_cv_path_BISON
4605 if test -n "$BISON"; then
4606 { echo "$as_me:$LINENO: result
: $BISON" >&5
4607 echo "${ECHO_T}$BISON" >&6; }
4609 { echo "$as_me:$LINENO: result
: no
" >&5
4610 echo "${ECHO_T}no
" >&6; }
4614 if test -z "$BISON" ; then
4615 { { echo "$as_me:$LINENO: error
: pwlib needs the GNU Project parser generator bison
" >&5
4616 echo "$as_me: error
: pwlib needs the GNU Project parser generator bison
" >&2;}
4617 { (exit 1); exit 1; }; }
4620 { echo "$as_me:$LINENO: checking
if readdir_r has
2 parms
" >&5
4621 echo $ECHO_N "checking
if readdir_r has
2 parms...
$ECHO_C" >&6; }
4622 cat >conftest.$ac_ext <<_ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 #define _POSIX_PTHREAD_SEMANTICS
4633 DIR *s; struct dirent * e; readdir_r(s, e);
4638 rm -f conftest.$ac_objext
4639 if { (ac_try="$ac_compile"
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4644 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4645 (eval "$ac_compile") 2>conftest.er1
4647 grep -v '^ *+' conftest.er1 >conftest.err
4649 cat conftest.err >&5
4650 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4651 (exit $ac_status); } && {
4652 test -z "$ac_cxx_werror_flag" ||
4653 test ! -s conftest.err
4654 } && test -s conftest.$ac_objext; then
4655 P_HAS_POSIX_READDIR_R=2
4657 echo "$as_me: failed program was
:" >&5
4658 sed 's/^/| /' conftest.$ac_ext >&5
4660 P_HAS_POSIX_READDIR_R=0
4663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 if test ${P_HAS_POSIX_READDIR_R} = 2 ; then
4665 { echo "$as_me:$LINENO: result
: yes" >&5
4666 echo "${ECHO_T}yes" >&6; }
4668 { echo "$as_me:$LINENO: result
: no
" >&5
4669 echo "${ECHO_T}no
" >&6; }
4670 { echo "$as_me:$LINENO: checking
if readdir_r has
3 parms
" >&5
4671 echo $ECHO_N "checking
if readdir_r has
3 parms...
$ECHO_C" >&6; }
4672 cat >conftest.$ac_ext <<_ACEOF
4675 cat confdefs.h >>conftest.$ac_ext
4676 cat >>conftest.$ac_ext <<_ACEOF
4677 /* end confdefs.h. */
4682 DIR *s; struct dirent * e; struct dirent * p; readdir_r(s, e, &p);
4687 rm -f conftest.$ac_objext
4688 if { (ac_try="$ac_compile"
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4693 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4694 (eval "$ac_compile") 2>conftest.er1
4696 grep -v '^ *+' conftest.er1 >conftest.err
4698 cat conftest.err >&5
4699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4700 (exit $ac_status); } && {
4701 test -z "$ac_cxx_werror_flag" ||
4702 test ! -s conftest.err
4703 } && test -s conftest.$ac_objext; then
4704 P_HAS_POSIX_READDIR_R=3
4706 echo "$as_me: failed program was
:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4709 P_HAS_POSIX_READDIR_R=0
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 if test ${P_HAS_POSIX_READDIR_R} = 3 ; then
4714 { echo "$as_me:$LINENO: result
: yes" >&5
4715 echo "${ECHO_T}yes" >&6; }
4717 { echo "$as_me:$LINENO: result
: no
" >&5
4718 echo "${ECHO_T}no
" >&6; }
4721 cat >>confdefs.h <<_ACEOF
4722 #define P_HAS_POSIX_READDIR_R ${P_HAS_POSIX_READDIR_R}
4727 # Check whether --enable-minsize was given.
4728 if test "${enable_minsize+set}" = set; then
4729 enableval=$enable_minsize;
4732 # Check whether --enable-openh323 was given.
4733 if test "${enable_openh323+set}" = set; then
4734 enableval=$enable_openh323;
4737 # Check whether --enable-opal was given.
4738 if test "${enable_opal+set}" = set; then
4739 enableval=$enable_opal;
4743 default_resolver=yes
4744 default_openldap=yes
4753 default_pipechan=yes
4762 default_pop3smtp=yes
4770 default_configfile=yes
4777 default_shmvideo=yes
4780 if test "${enable_openh323}x
" = "yesx
" -o "${enable_opal}x
" = "yesx
" ; then
4781 default_resolver=yes
4791 default_pipechan=yes
4808 default_configfile=yes
4817 elif test "${enable_minsize}x
" = "yesx
" ; then
4845 default_configfile=no
4859 { echo "$as_me:$LINENO: checking
for recvmsg
" >&5
4860 echo $ECHO_N "checking
for recvmsg...
$ECHO_C" >&6; }
4861 cat >conftest.$ac_ext <<_ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4867 #include <sys/types.h>
4868 #include <sys/socket.h>
4869 #include <netinet/in.h>
4873 int t = SOL_IP; t = IP_PKTINFO; struct msghdr *msg; recvmsg(0, msg, 0);
4878 rm -f conftest.$ac_objext
4879 if { (ac_try="$ac_compile"
4881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4882 *) ac_try_echo=$ac_try;;
4884 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4885 (eval "$ac_compile") 2>conftest.er1
4887 grep -v '^ *+' conftest.er1 >conftest.err
4889 cat conftest.err >&5
4890 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4891 (exit $ac_status); } && {
4892 test -z "$ac_cxx_werror_flag" ||
4893 test ! -s conftest.err
4894 } && test -s conftest.$ac_objext; then
4897 echo "$as_me: failed program was
:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 if test "${P_HAS_RECVMSG}" = "1" ; then
4905 { echo "$as_me:$LINENO: result
: yes" >&5
4906 echo "${ECHO_T}yes" >&6; }
4907 cat >>confdefs.h <<\_ACEOF
4908 #define P_HAS_RECVMSG 1
4912 { echo "$as_me:$LINENO: result
: no
" >&5
4913 echo "${ECHO_T}no
" >&6; }
4918 { echo "$as_me:$LINENO: checking
if using STL streams
" >&5
4919 echo $ECHO_N "checking
if using STL streams...
$ECHO_C" >&6; }
4920 cat >conftest.$ac_ext <<_ACEOF
4923 cat confdefs.h >>conftest.$ac_ext
4924 cat >>conftest.$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4930 int v = (int)std::ios_base::seekdir();
4935 rm -f conftest.$ac_objext
4936 if { (ac_try="$ac_compile"
4938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4939 *) ac_try_echo=$ac_try;;
4941 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
4942 (eval "$ac_compile") 2>conftest.er1
4944 grep -v '^ *+' conftest.er1 >conftest.err
4946 cat conftest.err >&5
4947 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
4948 (exit $ac_status); } && {
4949 test -z "$ac_cxx_werror_flag" ||
4950 test ! -s conftest.err
4951 } && test -s conftest.$ac_objext; then
4954 echo "$as_me: failed program was
:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4961 if test "${P_HAS_STL_STREAMS}" = 1 ; then
4962 { echo "$as_me:$LINENO: result
: yes" >&5
4963 echo "${ECHO_T}yes" >&6; }
4965 { echo "$as_me:$LINENO: result
: no
" >&5
4966 echo "${ECHO_T}no
" >&6; }
4968 cat >>confdefs.h <<_ACEOF
4969 #define P_HAS_STL_STREAMS ${P_HAS_STL_STREAMS}
4975 P_NEEDS_GNU_CXX_NAMESPACE=0
4976 { echo "$as_me:$LINENO: checking
if atomic integer available
" >&5
4977 echo $ECHO_N "checking
if atomic integer available...
$ECHO_C" >&6; }
4978 cat >conftest.$ac_ext <<_ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <bits/atomicity.h>
4993 rm -f conftest.$ac_objext
4994 if { (ac_try="$ac_compile"
4996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4997 *) ac_try_echo=$ac_try;;
4999 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5000 (eval "$ac_compile") 2>conftest.er1
5002 grep -v '^ *+' conftest.er1 >conftest.err
5004 cat conftest.err >&5
5005 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5006 (exit $ac_status); } && {
5007 test -z "$ac_cxx_werror_flag" ||
5008 test ! -s conftest.err
5009 } && test -s conftest.$ac_objext; then
5012 echo "$as_me: failed program was
:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5015 cat >conftest.$ac_ext <<_ACEOF
5018 cat confdefs.h >>conftest.$ac_ext
5019 cat >>conftest.$ac_ext <<_ACEOF
5020 /* end confdefs.h. */
5021 #include <ext/atomicity.h>
5030 rm -f conftest.$ac_objext
5031 if { (ac_try="$ac_compile"
5033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5034 *) ac_try_echo=$ac_try;;
5036 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5037 (eval "$ac_compile") 2>conftest.er1
5039 grep -v '^ *+' conftest.er1 >conftest.err
5041 cat conftest.err >&5
5042 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5043 (exit $ac_status); } && {
5044 test -z "$ac_cxx_werror_flag" ||
5045 test ! -s conftest.err
5046 } && test -s conftest.$ac_objext; then
5049 echo "$as_me: failed program was
:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5060 if test ${P_HAS_ATOMIC_INT} != 0 ; then
5061 { echo "$as_me:$LINENO: result
: yes" >&5
5062 echo "${ECHO_T}yes" >&6; }
5063 { echo "$as_me:$LINENO: checking
if __exchange_and_add is
in __gnu_cxx namespace
" >&5
5064 echo $ECHO_N "checking
if __exchange_and_add is
in __gnu_cxx namespace...
$ECHO_C" >&6; }
5065 if test ${P_HAS_ATOMIC_INT} = 1 ; then
5066 cat >conftest.$ac_ext <<_ACEOF
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5072 #include <bits/atomicity.h>
5076 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
5081 rm -f conftest.$ac_objext
5082 if { (ac_try="$ac_compile"
5084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5085 *) ac_try_echo=$ac_try;;
5087 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5088 (eval "$ac_compile") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1 >conftest.err
5092 cat conftest.err >&5
5093 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5094 (exit $ac_status); } && {
5095 test -z "$ac_cxx_werror_flag" ||
5096 test ! -s conftest.err
5097 } && test -s conftest.$ac_objext; then
5098 P_NEEDS_GNU_CXX_NAMESPACE=1
5100 echo "$as_me: failed program was
:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5109 cat >conftest.$ac_ext <<_ACEOF
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5115 #include <ext/atomicity.h>
5119 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
5124 rm -f conftest.$ac_objext
5125 if { (ac_try="$ac_compile"
5127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5128 *) ac_try_echo=$ac_try;;
5130 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
5131 (eval "$ac_compile") 2>conftest.er1
5133 grep -v '^ *+' conftest.er1 >conftest.err
5135 cat conftest.err >&5
5136 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5137 (exit $ac_status); } && {
5138 test -z "$ac_cxx_werror_flag" ||
5139 test ! -s conftest.err
5140 } && test -s conftest.$ac_objext; then
5141 P_NEEDS_GNU_CXX_NAMESPACE=1
5143 echo "$as_me: failed program was
:" >&5
5144 sed 's/^/| /' conftest.$ac_ext >&5
5149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5151 if test ${P_NEEDS_GNU_CXX_NAMESPACE} = 1 ; then
5152 { echo "$as_me:$LINENO: result
: yes" >&5
5153 echo "${ECHO_T}yes" >&6; }
5155 { echo "$as_me:$LINENO: result
: no
" >&5
5156 echo "${ECHO_T}no
" >&6; }
5159 { echo "$as_me:$LINENO: result
: no
" >&5
5160 echo "${ECHO_T}no
" >&6; }
5163 cat >>confdefs.h <<_ACEOF
5164 #define P_HAS_ATOMIC_INT ${P_HAS_ATOMIC_INT}
5167 cat >>confdefs.h <<_ACEOF
5168 #define P_NEEDS_GNU_CXX_NAMESPACE ${P_NEEDS_GNU_CXX_NAMESPACE}
5174 if test "${OSTYPE:-unknown}" = "solaris
"; then
5175 { echo "$as_me:$LINENO: checking checking
for FD_SETSIZE
" >&5
5176 echo $ECHO_N "checking checking
for FD_SETSIZE...
$ECHO_C" >&6; }
5177 _FD_SYSTEM_FILE=/etc/system
5178 _FD_SETSIZE=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -c1`
5179 if test "$_FD_SETSIZE" = "#"; then
5182 _FD_SETSIZE
=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -f2 -d'='`
5183 if test "x$_FD_SETSIZE" = "x"; then
5186 STDCCFLAGS
="$STDCCFLAGS -DFD_SETSIZE=$_FD_SETSIZE"
5189 { echo "$as_me:$LINENO: result: $_FD_SETSIZE" >&5
5190 echo "${ECHO_T}$_FD_SETSIZE" >&6; }
5195 if test "${OSTYPE:-unknown}" = "solaris"; then
5196 { echo "$as_me:$LINENO: checking for upad128_t" >&5
5197 echo $ECHO_N "checking for upad128_t... $ECHO_C" >&6; }
5198 cat >conftest.
$ac_ext <<_ACEOF
5201 cat confdefs.h
>>conftest.
$ac_ext
5202 cat >>conftest.
$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5204 #include <sys/types.h>
5208 upad128_t upad; upad._q = 0.0;
5213 rm -f conftest.
$ac_objext
5214 if { (ac_try
="$ac_compile"
5216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5217 *) ac_try_echo=$ac_try;;
5219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5220 (eval "$ac_compile") 2>conftest.er1
5222 grep -v '^ *+' conftest.er1 >conftest.err
5224 cat conftest.err >&5
5225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5226 (exit $ac_status); } && {
5227 test -z "$ac_cxx_werror_flag" ||
5228 test ! -s conftest.err
5229 } && test -s conftest.$ac_objext; then
5232 echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5239 if test ${has_upad128_t} == "y"; then
5240 { echo "$as_me:$LINENO: result: yes" >&5
5241 echo "${ECHO_T}yes" >&6; }
5242 cat >>confdefs.h <<\_ACEOF
5243 #define P_HAS_UPAD128_T 1
5247 { echo "$as_me:$LINENO: result: no" >&5
5248 echo "${ECHO_T}no" >&6; }
5254 if test ${OSTYPE} != Darwin ; then
5255 cat >conftest.$ac_ext <<_ACEOF
5258 cat confdefs.h >>conftest.$ac_ext
5259 cat >>conftest.$ac_ext <<_ACEOF
5260 /* end confdefs.h. */
5261 #include <semaphore.h>
5265 sem_t *s; sem_init(s, 0, 0);
5270 rm -f conftest.$ac_objext
5271 if { (ac_try="$ac_compile"
5273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5274 *) ac_try_echo
=$ac_try;;
5276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5277 (eval "$ac_compile") 2>conftest.er1
5279 grep -v '^ *+' conftest.er1
>conftest.err
5281 cat conftest.err
>&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } && {
5284 test -z "$ac_cxx_werror_flag" ||
5285 test ! -s conftest.err
5286 } && test -s conftest.
$ac_objext; then
5289 echo "$as_me: failed program was:" >&5
5290 sed 's/^/| /' conftest.
$ac_ext >&5
5295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5296 { echo "$as_me:$LINENO: checking if Unix semaphores are available" >&5
5297 echo $ECHO_N "checking if Unix semaphores are available... $ECHO_C" >&6; }
5298 if test "${P_HAS_SEMAPHORES}x" != "x" ; then
5299 cat >>confdefs.h
<<\_ACEOF
5300 #define P_HAS_SEMAPHORES 1
5303 { echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6; }
5306 { echo "$as_me:$LINENO: result: no" >&5
5307 echo "${ECHO_T}no" >&6; }
5311 if test "${P_HAS_SEMAPHORES}x" == "x" ; then
5313 cat >conftest.
$ac_ext <<_ACEOF
5316 cat confdefs.h
>>conftest.
$ac_ext
5317 cat >>conftest.
$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5319 #include <semaphore.h>
5323 sem_t *s = sem_open("test", O_CREAT)
5328 rm -f conftest.
$ac_objext
5329 if { (ac_try
="$ac_compile"
5331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5332 *) ac_try_echo=$ac_try;;
5334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5335 (eval "$ac_compile") 2>conftest.er1
5337 grep -v '^ *+' conftest.er1 >conftest.err
5339 cat conftest.err >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } && {
5342 test -z "$ac_cxx_werror_flag" ||
5343 test ! -s conftest.err
5344 } && test -s conftest.$ac_objext; then
5345 P_HAS_NAMED_SEMAPHORES=1
5347 echo "$as_me: failed program was:" >&5
5348 sed 's/^/| /' conftest.$ac_ext >&5
5353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5354 { echo "$as_me:$LINENO: checking if named semaphores are available" >&5
5355 echo $ECHO_N "checking if named semaphores are available... $ECHO_C" >&6; }
5356 if test "${P_HAS_NAMED_SEMAPHORES}x" != "x"; then
5357 cat >>confdefs.h <<\_ACEOF
5358 #define P_HAS_NAMED_SEMAPHORES 1
5361 { echo "$as_me:$LINENO: result: yes" >&5
5362 echo "${ECHO_T}yes" >&6; }
5364 { echo "$as_me:$LINENO: result: no" >&5
5365 echo "${ECHO_T}no" >&6; }
5366 { echo "$as_me:$LINENO: WARNING: This host does not support semaphores which are essential" >&5
5367 echo "$as_me: WARNING: This host does not support semaphores which are essential" >&2;}
5368 { echo "$as_me:$LINENO: WARNING: to implement 'critical sections'. This feature was added" >&5
5369 echo "$as_me: WARNING: to implement 'critical sections'. This feature was added" >&2;}
5370 { echo "$as_me:$LINENO: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&5
5371 echo "$as_me: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&2;}
5372 { echo "$as_me:$LINENO: WARNING: programs. This feature has been disabled for this host" >&5
5373 echo "$as_me: WARNING: programs. This feature has been disabled for this host" >&2;}
5380 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
5381 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
5382 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
5383 echo $ECHO_N "(cached) $ECHO_C" >&6
5385 ac_check_lib_save_LIBS=$LIBS
5386 LIBS="-lpthread $LIBS"
5387 cat >conftest.$ac_ext <<_ACEOF
5390 cat confdefs.h >>conftest.$ac_ext
5391 cat >>conftest.$ac_ext <<_ACEOF
5392 /* end confdefs.h. */
5394 /* Override any GCC internal prototype to avoid an error.
5395 Use char because int might match the return type of a GCC
5396 builtin and then its argument prototype would still apply. */
5400 char pthread_create ();
5404 return pthread_create ();
5409 rm -f conftest.$ac_objext conftest$ac_exeext
5410 if { (ac_try="$ac_link"
5412 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5413 *) ac_try_echo
=$ac_try;;
5415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 (eval "$ac_link") 2>conftest.er1
5418 grep -v '^ *+' conftest.er1
>conftest.err
5420 cat conftest.err
>&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } && {
5423 test -z "$ac_cxx_werror_flag" ||
5424 test ! -s conftest.err
5425 } && test -s conftest
$ac_exeext &&
5426 $as_test_x conftest
$ac_exeext; then
5427 ac_cv_lib_pthread_pthread_create
=yes
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.
$ac_ext >&5
5432 ac_cv_lib_pthread_pthread_create
=no
5435 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5436 conftest
$ac_exeext conftest.
$ac_ext
5437 LIBS
=$ac_check_lib_save_LIBS
5439 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
5440 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
5441 if test $ac_cv_lib_pthread_pthread_create = yes; then
5447 if test ${HAS_PTHREADS} = yes ; then
5448 ENDLDLIBS
="$ENDLDLIBS -lpthread"
5449 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT"
5451 if test ${OSTYPE} = FreeBSD
; then
5453 ENDLDLIBS
="$ENDLDLIBS -pthread"
5454 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
5459 if test ${HAS_PTHREADS} != yes -a ${NEEDS_PTHREADS} = yes; then
5460 { { echo "$as_me:$LINENO: error: must have pthreads!" >&5
5461 echo "$as_me: error: must have pthreads!" >&2;}
5462 { (exit 1); exit 1; }; }
5466 if test ${HAS_PTHREADS} = yes ; then
5467 { echo "$as_me:$LINENO: checking if pthread_mutex_timedlock is available" >&5
5468 echo $ECHO_N "checking if pthread_mutex_timedlock is available... $ECHO_C" >&6; }
5469 cat >conftest.
$ac_ext <<_ACEOF
5472 cat confdefs.h
>>conftest.
$ac_ext
5473 cat >>conftest.
$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5475 #include <pthread.h>
5479 pthread_mutex_timedlock(NULL, NULL);
5484 rm -f conftest.
$ac_objext
5485 if { (ac_try
="$ac_compile"
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_compile") 2>conftest.er1
5493 grep -v '^ *+' conftest.er1 >conftest.err
5495 cat conftest.err >&5
5496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5497 (exit $ac_status); } && {
5498 test -z "$ac_cxx_werror_flag" ||
5499 test ! -s conftest.err
5500 } && test -s conftest.$ac_objext; then
5501 HAS_PTHREADS_XPG6=yes
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5506 HAS_PTHREADS_XPG6=no
5509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5510 if test ${HAS_PTHREADS_XPG6} = yes ; then
5511 { echo "$as_me:$LINENO: result: yes" >&5
5512 echo "${ECHO_T}yes" >&6; }
5514 cat >>confdefs.h <<\_ACEOF
5515 #define P_PTHREADS_XPG6 1
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5523 { echo "$as_me:$LINENO: checking for sem_timedwait in -lpthread" >&5
5524 echo $ECHO_N "checking for sem_timedwait in -lpthread... $ECHO_C" >&6; }
5525 if test "${ac_cv_lib_pthread_sem_timedwait+set}" = set; then
5526 echo $ECHO_N "(cached) $ECHO_C" >&6
5528 ac_check_lib_save_LIBS=$LIBS
5529 LIBS="-lpthread $LIBS"
5530 cat >conftest.$ac_ext <<_ACEOF
5533 cat confdefs.h >>conftest.$ac_ext
5534 cat >>conftest.$ac_ext <<_ACEOF
5535 /* end confdefs.h. */
5537 /* Override any GCC internal prototype to avoid an error.
5538 Use char because int might match the return type of a GCC
5539 builtin and then its argument prototype would still apply. */
5543 char sem_timedwait ();
5547 return sem_timedwait ();
5552 rm -f conftest.$ac_objext conftest$ac_exeext
5553 if { (ac_try="$ac_link"
5555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5556 *) ac_try_echo
=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_link") 2>conftest.er1
5561 grep -v '^ *+' conftest.er1
>conftest.err
5563 cat conftest.err
>&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && {
5566 test -z "$ac_cxx_werror_flag" ||
5567 test ! -s conftest.err
5568 } && test -s conftest
$ac_exeext &&
5569 $as_test_x conftest
$ac_exeext; then
5570 ac_cv_lib_pthread_sem_timedwait
=yes
5572 echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.
$ac_ext >&5
5575 ac_cv_lib_pthread_sem_timedwait
=no
5578 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5579 conftest
$ac_exeext conftest.
$ac_ext
5580 LIBS
=$ac_check_lib_save_LIBS
5582 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_sem_timedwait" >&5
5583 echo "${ECHO_T}$ac_cv_lib_pthread_sem_timedwait" >&6; }
5584 if test $ac_cv_lib_pthread_sem_timedwait = yes; then
5585 HAS_SEMAPHORES_XPG6
=yes
5587 HAS_SEMAPHORES_XPG6
=no
5590 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
5591 { echo "$as_me:$LINENO: checking if sem_timedwait is compilable" >&5
5592 echo $ECHO_N "checking if sem_timedwait is compilable... $ECHO_C" >&6; }
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5599 #include <semaphore.h>
5603 sem_t *s; const struct timespec * t; sem_timedwait(s, t);
5608 rm -f conftest.
$ac_objext
5609 if { (ac_try
="$ac_compile"
5611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5612 *) ac_try_echo=$ac_try;;
5614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5615 (eval "$ac_compile") 2>conftest.er1
5617 grep -v '^ *+' conftest.er1 >conftest.err
5619 cat conftest.err >&5
5620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5621 (exit $ac_status); } && {
5622 test -z "$ac_cxx_werror_flag" ||
5623 test ! -s conftest.err
5624 } && test -s conftest.$ac_objext; then
5625 HAS_SEMAPHORES_XPG6=yes
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5630 HAS_SEMAPHORES_XPG6=no
5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5634 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
5636 cat >>confdefs.h <<\_ACEOF
5637 #define P_HAS_SEMAPHORES_XPG6 1
5640 { echo "$as_me:$LINENO: result: yes" >&5
5641 echo "${ECHO_T}yes" >&6; }
5643 { echo "$as_me:$LINENO: result: no" >&5
5644 echo "${ECHO_T}no" >&6; }
5649 P_HAS_RECURSIVE_MUTEX=0
5650 { echo "$as_me:$LINENO: checking if recursive mutexes are available" >&5
5651 echo $ECHO_N "checking if recursive mutexes are available... $ECHO_C" >&6; }
5652 cat >conftest.$ac_ext <<_ACEOF
5655 cat confdefs.h >>conftest.$ac_ext
5656 cat >>conftest.$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5658 #include <pthread.h>
5662 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
5667 rm -f conftest.$ac_objext
5668 if { (ac_try="$ac_compile"
5670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5671 *) ac_try_echo
=$ac_try;;
5673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674 (eval "$ac_compile") 2>conftest.er1
5676 grep -v '^ *+' conftest.er1
>conftest.err
5678 cat conftest.err
>&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } && {
5681 test -z "$ac_cxx_werror_flag" ||
5682 test ! -s conftest.err
5683 } && test -s conftest.
$ac_objext; then
5684 P_HAS_RECURSIVE_MUTEX
=1
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5693 if test ${P_HAS_RECURSIVE_MUTEX} = 1 ; then
5694 { echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6; }
5697 if test ${OSTYPE} == Darwin
; then
5698 cat >conftest.
$ac_ext <<_ACEOF
5701 cat confdefs.h
>>conftest.
$ac_ext
5702 cat >>conftest.
$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 #include <pthread.h>
5708 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
5713 rm -f conftest.
$ac_objext
5714 if { (ac_try
="$ac_compile"
5716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5717 *) ac_try_echo=$ac_try;;
5719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5720 (eval "$ac_compile") 2>conftest.er1
5722 grep -v '^ *+' conftest.er1 >conftest.err
5724 cat conftest.err >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); } && {
5727 test -z "$ac_cxx_werror_flag" ||
5728 test ! -s conftest.err
5729 } && test -s conftest.$ac_objext; then
5730 P_HAS_RECURSIVE_MUTEX=1
5732 echo "$as_me: failed program was:" >&5
5733 sed 's/^/| /' conftest.$ac_ext >&5
5738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5739 if test ${P_HAS_RECURSIVE_MUTEX} = 1 ; then
5740 { echo "$as_me:$LINENO: result: yes" >&5
5741 echo "${ECHO_T}yes" >&6; }
5743 { echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6; }
5747 { echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6; }
5751 cat >>confdefs.h <<_ACEOF
5752 #define P_HAS_RECURSIVE_MUTEX ${P_HAS_RECURSIVE_MUTEX}
5759 for ac_header in regex.h
5761 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5762 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5763 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5765 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5766 echo $ECHO_N "(cached) $ECHO_C" >&6
5768 ac_res=`eval echo '${'$as_ac_Header'}'`
5769 { echo "$as_me:$LINENO: result: $ac_res" >&5
5770 echo "${ECHO_T}$ac_res" >&6; }
5772 # Is the header compilable?
5773 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5774 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5775 cat >conftest.$ac_ext <<_ACEOF
5778 cat confdefs.h >>conftest.$ac_ext
5779 cat >>conftest.$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5781 $ac_includes_default
5782 #include <$ac_header>
5784 rm -f conftest.$ac_objext
5785 if { (ac_try="$ac_compile"
5787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5788 *) ac_try_echo
=$ac_try;;
5790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5791 (eval "$ac_compile") 2>conftest.er1
5793 grep -v '^ *+' conftest.er1
>conftest.err
5795 cat conftest.err
>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } && {
5798 test -z "$ac_cxx_werror_flag" ||
5799 test ! -s conftest.err
5800 } && test -s conftest.
$ac_objext; then
5801 ac_header_compiler
=yes
5803 echo "$as_me: failed program was:" >&5
5804 sed 's/^/| /' conftest.
$ac_ext >&5
5806 ac_header_compiler
=no
5809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5810 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5811 echo "${ECHO_T}$ac_header_compiler" >&6; }
5813 # Is the header present?
5814 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5816 cat >conftest.
$ac_ext <<_ACEOF
5819 cat confdefs.h
>>conftest.
$ac_ext
5820 cat >>conftest.
$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5822 #include <$ac_header>
5824 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5826 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5827 *) ac_try_echo=$ac_try;;
5829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5832 grep -v '^ *+' conftest.er1 >conftest.err
5834 cat conftest.err >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } >/dev/null && {
5837 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5838 test ! -s conftest.err
5840 ac_header_preproc=yes
5842 echo "$as_me: failed program was:" >&5
5843 sed 's/^/| /' conftest.$ac_ext >&5
5845 ac_header_preproc=no
5848 rm -f conftest.err conftest.$ac_ext
5849 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5850 echo "${ECHO_T}$ac_header_preproc" >&6; }
5852 # So? What about this header?
5853 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5855 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5856 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5858 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5859 ac_header_preproc=yes
5862 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5863 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5864 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5865 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5866 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5867 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5868 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5869 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5870 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5871 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5872 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5873 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5877 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 eval "$as_ac_Header=\$ac_header_preproc"
5884 ac_res=`eval echo '${'$as_ac_Header'}'`
5885 { echo "$as_me:$LINENO: result: $ac_res" >&5
5886 echo "${ECHO_T}$ac_res" >&6; }
5889 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5890 cat >>confdefs.h <<_ACEOF
5891 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5899 # Check whether --enable-internalregex was given.
5900 if test "${enable_internalregex+set}" = set; then
5901 enableval=$enable_internalregex; internalregex=$enableval
5904 if test "$internalregex" = "yes" ; then
5905 { echo "$as_me:$LINENO: Forcing use of internal regex library" >&5
5906 echo "$as_me: Forcing use of internal regex library" >&6;}
5908 if test "$HAS_REGEX" = "yes" ; then
5909 { echo "$as_me:$LINENO: checking for regcomp" >&5
5910 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6; }
5911 if test "${ac_cv_func_regcomp+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5914 cat >conftest.$ac_ext <<_ACEOF
5917 cat confdefs.h >>conftest.$ac_ext
5918 cat >>conftest.$ac_ext <<_ACEOF
5919 /* end confdefs.h. */
5920 /* Define regcomp to an innocuous variant, in case <limits.h> declares regcomp.
5921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5922 #define regcomp innocuous_regcomp
5924 /* System header to define __stub macros and hopefully few prototypes,
5925 which can conflict with char regcomp (); below.
5926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5927 <limits.h> exists even on freestanding compilers. */
5930 # include <limits.h>
5932 # include <assert.h>
5937 /* Override any GCC internal prototype to avoid an error.
5938 Use char because int might match the return type of a GCC
5939 builtin and then its argument prototype would still apply. */
5944 /* The GNU C library defines this for functions which it implements
5945 to always fail with ENOSYS. Some functions are actually named
5946 something starting with __ and the normal name is an alias. */
5947 #if defined __stub_regcomp || defined __stub___regcomp
5959 rm -f conftest.$ac_objext conftest$ac_exeext
5960 if { (ac_try="$ac_link"
5962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5963 *) ac_try_echo
=$ac_try;;
5965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5966 (eval "$ac_link") 2>conftest.er1
5968 grep -v '^ *+' conftest.er1
>conftest.err
5970 cat conftest.err
>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } && {
5973 test -z "$ac_cxx_werror_flag" ||
5974 test ! -s conftest.err
5975 } && test -s conftest
$ac_exeext &&
5976 $as_test_x conftest
$ac_exeext; then
5977 ac_cv_func_regcomp
=yes
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.
$ac_ext >&5
5982 ac_cv_func_regcomp
=no
5985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5986 conftest
$ac_exeext conftest.
$ac_ext
5988 { echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
5989 echo "${ECHO_T}$ac_cv_func_regcomp" >&6; }
5990 if test $ac_cv_func_regcomp = yes; then
5994 if test "$HAS_REGEX" = "yes" ; then
5998 cat >>confdefs.h
<<\_ACEOF
6002 if test ${OSTYPE} = mingw
; then
6003 ENDLDLIBS
="$ENDLDLIBS -lregex"
6015 if test ${OSTYPE} = beos
; then
6018 cat >>confdefs.h
<<\_ACEOF
6019 #define P_DYNALINK 1
6022 elif test ${OSTYPE} = Darwin
; then
6025 cat >>confdefs.h
<<\_ACEOF
6026 #define P_DYNALINK 1
6031 for ac_header
in dlfcn.h
6033 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6034 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6035 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6037 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6040 ac_res
=`eval echo '${'$as_ac_Header'}'`
6041 { echo "$as_me:$LINENO: result: $ac_res" >&5
6042 echo "${ECHO_T}$ac_res" >&6; }
6044 # Is the header compilable?
6045 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6047 cat >conftest.
$ac_ext <<_ACEOF
6050 cat confdefs.h
>>conftest.
$ac_ext
6051 cat >>conftest.
$ac_ext <<_ACEOF
6052 /* end confdefs.h. */
6053 $ac_includes_default
6054 #include <$ac_header>
6056 rm -f conftest.
$ac_objext
6057 if { (ac_try
="$ac_compile"
6059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6060 *) ac_try_echo=$ac_try;;
6062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6063 (eval "$ac_compile") 2>conftest.er1
6065 grep -v '^ *+' conftest.er1 >conftest.err
6067 cat conftest.err >&5
6068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6069 (exit $ac_status); } && {
6070 test -z "$ac_cxx_werror_flag" ||
6071 test ! -s conftest.err
6072 } && test -s conftest.$ac_objext; then
6073 ac_header_compiler=yes
6075 echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.$ac_ext >&5
6078 ac_header_compiler=no
6081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6082 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6083 echo "${ECHO_T}$ac_header_compiler" >&6; }
6085 # Is the header present?
6086 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6088 cat >conftest.$ac_ext <<_ACEOF
6091 cat confdefs.h >>conftest.$ac_ext
6092 cat >>conftest.$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6094 #include <$ac_header>
6096 if { (ac_try="$ac_cpp conftest.$ac_ext"
6098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6099 *) ac_try_echo
=$ac_try;;
6101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6104 grep -v '^ *+' conftest.er1
>conftest.err
6106 cat conftest.err
>&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } >/dev
/null
&& {
6109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6110 test ! -s conftest.err
6112 ac_header_preproc
=yes
6114 echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6117 ac_header_preproc
=no
6120 rm -f conftest.err conftest.
$ac_ext
6121 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6122 echo "${ECHO_T}$ac_header_preproc" >&6; }
6124 # So? What about this header?
6125 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6128 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6130 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6131 ac_header_preproc
=yes
6134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6135 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6137 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6138 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6139 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6140 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6141 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6144 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6145 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6151 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6152 echo $ECHO_N "(cached) $ECHO_C" >&6
6154 eval "$as_ac_Header=\$ac_header_preproc"
6156 ac_res
=`eval echo '${'$as_ac_Header'}'`
6157 { echo "$as_me:$LINENO: result: $ac_res" >&5
6158 echo "${ECHO_T}$ac_res" >&6; }
6161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6162 cat >>confdefs.h
<<_ACEOF
6163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6172 if test "$HAS_DLFCN" = yes ; then
6173 { echo "$as_me:$LINENO: checking if dlopen is available" >&5
6174 echo $ECHO_N "checking if dlopen is available... $ECHO_C" >&6; }
6175 cat >conftest.
$ac_ext <<_ACEOF
6178 cat confdefs.h
>>conftest.
$ac_ext
6179 cat >>conftest.
$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6185 void * p = dlopen("lib", 0);
6190 rm -f conftest.
$ac_objext
6191 if { (ac_try
="$ac_compile"
6193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6194 *) ac_try_echo=$ac_try;;
6196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6197 (eval "$ac_compile") 2>conftest.er1
6199 grep -v '^ *+' conftest.er1 >conftest.err
6201 cat conftest.err >&5
6202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203 (exit $ac_status); } && {
6204 test -z "$ac_cxx_werror_flag" ||
6205 test ! -s conftest.err
6206 } && test -s conftest.$ac_objext; then
6209 echo "$as_me: failed program was:" >&5
6210 sed 's/^/| /' conftest.$ac_ext >&5
6215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6216 if test "$HAS_DLOPEN" = no ; then
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6220 { echo "$as_me:$LINENO: result: yes" >&5
6221 echo "${ECHO_T}yes" >&6; }
6224 cat >>confdefs.h <<\_ACEOF
6225 #define P_DYNALINK 1
6228 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
6229 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
6230 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 ac_check_lib_save_LIBS=$LIBS
6235 cat >conftest.$ac_ext <<_ACEOF
6238 cat confdefs.h >>conftest.$ac_ext
6239 cat >>conftest.$ac_ext <<_ACEOF
6240 /* end confdefs.h. */
6242 /* Override any GCC internal prototype to avoid an error.
6243 Use char because int might match the return type of a GCC
6244 builtin and then its argument prototype would still apply. */
6257 rm -f conftest.$ac_objext conftest$ac_exeext
6258 if { (ac_try="$ac_link"
6260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6261 *) ac_try_echo
=$ac_try;;
6263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6264 (eval "$ac_link") 2>conftest.er1
6266 grep -v '^ *+' conftest.er1
>conftest.err
6268 cat conftest.err
>&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); } && {
6271 test -z "$ac_cxx_werror_flag" ||
6272 test ! -s conftest.err
6273 } && test -s conftest
$ac_exeext &&
6274 $as_test_x conftest
$ac_exeext; then
6275 ac_cv_lib_dl_dlopen
=yes
6277 echo "$as_me: failed program was:" >&5
6278 sed 's/^/| /' conftest.
$ac_ext >&5
6280 ac_cv_lib_dl_dlopen
=no
6283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6284 conftest
$ac_exeext conftest.
$ac_ext
6285 LIBS
=$ac_check_lib_save_LIBS
6287 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
6288 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
6289 if test $ac_cv_lib_dl_dlopen = yes; then
6302 { echo "$as_me:$LINENO: checking if plugins support needs to be compiled" >&5
6303 echo $ECHO_N "checking if plugins support needs to be compiled... $ECHO_C" >&6; }
6304 # Check whether --enable-plugins was given.
6305 if test "${enable_plugins+set}" = set; then
6306 enableval
=$enable_plugins;
6309 if test "${enable_plugins}z" = "z" ; then
6310 enable_plugins
=default_plugins
6314 if test "${enable_plugins}" = "no" ; then
6315 { echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6; }
6317 elif test "${P_DYNALINK:-unset}" = "unset" ; then
6318 { echo "$as_me:$LINENO: result: plugins disabled as dlopen not available" >&5
6319 echo "${ECHO_T}plugins disabled as dlopen not available" >&6; }
6321 { echo "$as_me:$LINENO: result: plugins enabled" >&5
6322 echo "${ECHO_T}plugins enabled" >&6; }
6325 cat >>confdefs.h
<<\_ACEOF
6326 #define P_HAS_PLUGINS 1
6333 if test "x$LIB64" != "x" ; then
6335 cat >>confdefs.h
<<_ACEOF
6336 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib64/pwlib"
6341 cat >>confdefs.h
<<_ACEOF
6342 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib"
6349 # Check whether --enable-resolver was given.
6350 if test "${enable_resolver+set}" = set; then
6351 enableval
=$enable_resolver;
6355 if test "${enable_resolver}z" = "z" ; then
6356 enable_resolver
=$default_resolver
6360 if test "$enable_resolver" = "no" ; then
6361 { echo "$as_me:$LINENO: DNS resolver disabled" >&5
6362 echo "$as_me: DNS resolver disabled" >&6;}
6365 { echo "$as_me:$LINENO: checking for res_ninit" >&5
6366 echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6; }
6367 if test "${ac_cv_func_res_ninit+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 cat >conftest.
$ac_ext <<_ACEOF
6373 cat confdefs.h
>>conftest.
$ac_ext
6374 cat >>conftest.
$ac_ext <<_ACEOF
6375 /* end confdefs.h. */
6376 /* Define res_ninit to an innocuous variant, in case <limits.h> declares res_ninit.
6377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6378 #define res_ninit innocuous_res_ninit
6380 /* System header to define __stub macros and hopefully few prototypes,
6381 which can conflict with char res_ninit (); below.
6382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6383 <limits.h> exists even on freestanding compilers. */
6386 # include <limits.h>
6388 # include <assert.h>
6393 /* Override any GCC internal prototype to avoid an error.
6394 Use char because int might match the return type of a GCC
6395 builtin and then its argument prototype would still apply. */
6400 /* The GNU C library defines this for functions which it implements
6401 to always fail with ENOSYS. Some functions are actually named
6402 something starting with __ and the normal name is an alias. */
6403 #if defined __stub_res_ninit || defined __stub___res_ninit
6410 return res_ninit ();
6415 rm -f conftest.
$ac_objext conftest
$ac_exeext
6416 if { (ac_try
="$ac_link"
6418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6419 *) ac_try_echo=$ac_try;;
6421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6422 (eval "$ac_link") 2>conftest.er1
6424 grep -v '^ *+' conftest.er1 >conftest.err
6426 cat conftest.err >&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } && {
6429 test -z "$ac_cxx_werror_flag" ||
6430 test ! -s conftest.err
6431 } && test -s conftest$ac_exeext &&
6432 $as_test_x conftest$ac_exeext; then
6433 ac_cv_func_res_ninit=yes
6435 echo "$as_me: failed program was:" >&5
6436 sed 's/^/| /' conftest.$ac_ext >&5
6438 ac_cv_func_res_ninit=no
6441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6442 conftest$ac_exeext conftest.$ac_ext
6444 { echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5
6445 echo "${ECHO_T}$ac_cv_func_res_ninit" >&6; }
6446 if test $ac_cv_func_res_ninit = yes; then
6450 if test "${HAS_RES_NINIT}z" != "z" ; then
6451 cat >>confdefs.h <<\_ACEOF
6452 #define P_HAS_RES_NINIT 1
6459 if test "${HAS_RESOLVER}z" = "z" ; then
6460 { echo "$as_me:$LINENO: checking for res_ninit in -lresolv" >&5
6461 echo $ECHO_N "checking for res_ninit in -lresolv... $ECHO_C" >&6; }
6463 cat >conftest.$ac_ext <<_ACEOF
6465 #include <netinet/in.h>
6467 int main(int argc,char **argv){
6468 res_state p; res_ninit(p);
6471 rm -f conftest.$ac_objext conftest$ac_exeext
6472 if { (ac_try="$ac_link"
6474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6475 *) ac_try_echo
=$ac_try;;
6477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6478 (eval "$ac_link") 2>conftest.er1
6480 grep -v '^ *+' conftest.er1
>conftest.err
6482 cat conftest.err
>&5
6483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484 (exit $ac_status); } && {
6485 test -z "$ac_cxx_werror_flag" ||
6486 test ! -s conftest.err
6487 } && test -s conftest
$ac_exeext &&
6488 $as_test_x conftest
$ac_exeext; then
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.
$ac_ext >&5
6497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6498 conftest
$ac_exeext conftest.
$ac_ext
6499 if test "${HAS_RES_NINIT}z" != "z" ; then
6500 { echo "$as_me:$LINENO: result: yes" >&5
6501 echo "${ECHO_T}yes" >&6; }
6502 cat >>confdefs.h
<<\_ACEOF
6503 #define P_HAS_RES_NINIT 1
6507 RESOLVER_LIBS
="-lresolv"
6509 { echo "$as_me:$LINENO: result: no" >&5
6510 echo "${ECHO_T}no" >&6; }
6515 if test "${HAS_RESOLVER}z" = "z" ; then
6516 { echo "$as_me:$LINENO: checking for res_search" >&5
6517 echo $ECHO_N "checking for res_search... $ECHO_C" >&6; }
6518 if test "${ac_cv_func_res_search+set}" = set; then
6519 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 cat >conftest.
$ac_ext <<_ACEOF
6524 cat confdefs.h
>>conftest.
$ac_ext
6525 cat >>conftest.
$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6527 /* Define res_search to an innocuous variant, in case <limits.h> declares res_search.
6528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6529 #define res_search innocuous_res_search
6531 /* System header to define __stub macros and hopefully few prototypes,
6532 which can conflict with char res_search (); below.
6533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6534 <limits.h> exists even on freestanding compilers. */
6537 # include <limits.h>
6539 # include <assert.h>
6544 /* Override any GCC internal prototype to avoid an error.
6545 Use char because int might match the return type of a GCC
6546 builtin and then its argument prototype would still apply. */
6551 /* The GNU C library defines this for functions which it implements
6552 to always fail with ENOSYS. Some functions are actually named
6553 something starting with __ and the normal name is an alias. */
6554 #if defined __stub_res_search || defined __stub___res_search
6561 return res_search ();
6566 rm -f conftest.
$ac_objext conftest
$ac_exeext
6567 if { (ac_try
="$ac_link"
6569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6570 *) ac_try_echo=$ac_try;;
6572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6573 (eval "$ac_link") 2>conftest.er1
6575 grep -v '^ *+' conftest.er1 >conftest.err
6577 cat conftest.err >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } && {
6580 test -z "$ac_cxx_werror_flag" ||
6581 test ! -s conftest.err
6582 } && test -s conftest$ac_exeext &&
6583 $as_test_x conftest$ac_exeext; then
6584 ac_cv_func_res_search=yes
6586 echo "$as_me: failed program was:" >&5
6587 sed 's/^/| /' conftest.$ac_ext >&5
6589 ac_cv_func_res_search=no
6592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6593 conftest$ac_exeext conftest.$ac_ext
6595 { echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
6596 echo "${ECHO_T}$ac_cv_func_res_search" >&6; }
6597 if test $ac_cv_func_res_search = yes; then
6601 if test "${HAS_RESOLVER}z" != "z" ; then
6606 if test "${HAS_RESOLVER}z" = "z" ; then
6607 { echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
6608 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
6610 cat >conftest.$ac_ext <<_ACEOF
6612 #include <netinet/in.h>
6614 int main(int argc,char **argv){
6615 res_search (NULL, 0, 0, NULL, 0);
6618 rm -f conftest.$ac_objext conftest$ac_exeext
6619 if { (ac_try="$ac_link"
6621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6622 *) ac_try_echo
=$ac_try;;
6624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6625 (eval "$ac_link") 2>conftest.er1
6627 grep -v '^ *+' conftest.er1
>conftest.err
6629 cat conftest.err
>&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && {
6632 test -z "$ac_cxx_werror_flag" ||
6633 test ! -s conftest.err
6634 } && test -s conftest
$ac_exeext &&
6635 $as_test_x conftest
$ac_exeext; then
6638 echo "$as_me: failed program was:" >&5
6639 sed 's/^/| /' conftest.
$ac_ext >&5
6644 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6645 conftest
$ac_exeext conftest.
$ac_ext
6646 if test "${HAS_RESOLVER:-unset}" != "unset" ; then
6647 { echo "$as_me:$LINENO: result: yes" >&5
6648 echo "${ECHO_T}yes" >&6; }
6649 RESOLVER_LIBS
="-lresolv"
6651 { echo "$as_me:$LINENO: result: no" >&5
6652 echo "${ECHO_T}no" >&6; }
6657 if test "${HAS_RESOLVER}z" = "z" ; then
6658 { echo "$as_me:$LINENO: checking for library containing __res_search" >&5
6659 echo $ECHO_N "checking for library containing __res_search... $ECHO_C" >&6; }
6660 if test "${ac_cv_search___res_search+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 ac_func_search_save_LIBS
=$LIBS
6664 cat >conftest.
$ac_ext <<_ACEOF
6667 cat confdefs.h
>>conftest.
$ac_ext
6668 cat >>conftest.
$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6671 /* Override any GCC internal prototype to avoid an error.
6672 Use char because int might match the return type of a GCC
6673 builtin and then its argument prototype would still apply. */
6677 char __res_search ();
6681 return __res_search ();
6686 for ac_lib
in '' resolv
; do
6687 if test -z "$ac_lib"; then
6688 ac_res
="none required"
6691 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6693 rm -f conftest.
$ac_objext conftest
$ac_exeext
6694 if { (ac_try
="$ac_link"
6696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6697 *) ac_try_echo=$ac_try;;
6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6700 (eval "$ac_link") 2>conftest.er1
6702 grep -v '^ *+' conftest.er1 >conftest.err
6704 cat conftest.err >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && {
6707 test -z "$ac_cxx_werror_flag" ||
6708 test ! -s conftest.err
6709 } && test -s conftest$ac_exeext &&
6710 $as_test_x conftest$ac_exeext; then
6711 ac_cv_search___res_search=$ac_res
6713 echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.$ac_ext >&5
6719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6721 if test "${ac_cv_search___res_search+set}" = set; then
6725 if test "${ac_cv_search___res_search+set}" = set; then
6728 ac_cv_search___res_search=no
6731 LIBS=$ac_func_search_save_LIBS
6733 { echo "$as_me:$LINENO: result: $ac_cv_search___res_search" >&5
6734 echo "${ECHO_T}$ac_cv_search___res_search" >&6; }
6735 ac_res=$ac_cv_search___res_search
6736 if test "$ac_res" != no; then
6737 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6743 if test "${HAS_RESOLVER}z" != "z" ; then
6745 cat >>confdefs.h <<\_ACEOF
6756 # Check whether --enable-sasl was given.
6757 if test "${enable_sasl+set}" = set; then
6758 enableval=$enable_sasl;
6762 if test "${enable_sasl}z" = "z" ; then
6763 enable_sasl=$default_sasl
6769 if test "$enable_sasl" = "no" ; then
6770 { echo "$as_me:$LINENO: SASL disabled" >&5
6771 echo "$as_me: SASL disabled" >&6;}
6774 { echo "$as_me:$LINENO: checking for sasl_version in -lsasl2" >&5
6775 echo $ECHO_N "checking for sasl_version in -lsasl2... $ECHO_C" >&6; }
6777 LIBS="$LIBS -lsasl2"
6778 cat >conftest.$ac_ext <<_ACEOF
6782 char sasl_version ();
6791 rm -f conftest.$ac_objext conftest$ac_exeext
6792 if { (ac_try="$ac_link"
6794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6795 *) ac_try_echo
=$ac_try;;
6797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6798 (eval "$ac_link") 2>conftest.er1
6800 grep -v '^ *+' conftest.er1
>conftest.err
6802 cat conftest.err
>&5
6803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6804 (exit $ac_status); } && {
6805 test -z "$ac_cxx_werror_flag" ||
6806 test ! -s conftest.err
6807 } && test -s conftest
$ac_exeext &&
6808 $as_test_x conftest
$ac_exeext; then
6811 echo "$as_me: failed program was:" >&5
6812 sed 's/^/| /' conftest.
$ac_ext >&5
6817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6818 conftest
$ac_exeext conftest.
$ac_ext
6819 if test "${HAS_SASL2}x" = "x" ; then
6820 { echo "$as_me:$LINENO: result: no" >&5
6821 echo "${ECHO_T}no" >&6; }
6824 { echo "$as_me:$LINENO: checking for sasl_client_auth in sasl" >&5
6825 echo $ECHO_N "checking for sasl_client_auth in sasl... $ECHO_C" >&6; }
6826 cat >conftest.
$ac_ext <<_ACEOF
6830 char sasl_client_out ();
6839 rm -f conftest.
$ac_objext conftest
$ac_exeext
6840 if { (ac_try
="$ac_link"
6842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6843 *) ac_try_echo=$ac_try;;
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_link") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1 >conftest.err
6850 cat conftest.err >&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_cxx_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest$ac_exeext &&
6856 $as_test_x conftest$ac_exeext; then
6859 echo "$as_me: failed program was:" >&5
6860 sed 's/^/| /' conftest.$ac_ext >&5
6865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6866 conftest$ac_exeext conftest.$ac_ext
6867 if test "${HAS_SASL}x" = "x" ; then
6868 { echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6; }
6871 { echo "$as_me:$LINENO: result: yes" >&5
6872 echo "${ECHO_T}yes" >&6; }
6875 { echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6; }
6880 { echo "$as_me:$LINENO: checking if <sasl.h> works" >&5
6881 echo $ECHO_N "checking if <sasl.h> works... $ECHO_C" >&6; }
6882 cat >conftest.$ac_ext <<_ACEOF
6884 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
6886 rm -f conftest.$ac_objext
6887 if { (ac_try="$ac_compile"
6889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6890 *) ac_try_echo
=$ac_try;;
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_compile") 2>conftest.er1
6895 grep -v '^ *+' conftest.er1
>conftest.err
6897 cat conftest.err
>&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } && {
6900 test -z "$ac_cxx_werror_flag" ||
6901 test ! -s conftest.err
6902 } && test -s conftest.
$ac_objext; then
6903 HAS_INCLUDE_SASL_H
=1
6905 echo "$as_me: failed program was:" >&5
6906 sed 's/^/| /' conftest.
$ac_ext >&5
6911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6912 if test "${HAS_INCLUDE_SASL_H}x" != "x" ; then
6913 { echo "$as_me:$LINENO: result: yes" >&5
6914 echo "${ECHO_T}yes" >&6; }
6917 { echo "$as_me:$LINENO: result: no" >&5
6918 echo "${ECHO_T}no" >&6; }
6919 { echo "$as_me:$LINENO: checking if <sasl/sasl.h> works" >&5
6920 echo $ECHO_N "checking if <sasl/sasl.h> works... $ECHO_C" >&6; }
6921 cat >conftest.
$ac_ext <<_ACEOF
6922 #include <sasl/sasl.h>
6923 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
6925 rm -f conftest.
$ac_objext
6926 if { (ac_try
="$ac_compile"
6928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6929 *) ac_try_echo=$ac_try;;
6931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6932 (eval "$ac_compile") 2>conftest.er1
6934 grep -v '^ *+' conftest.er1 >conftest.err
6936 cat conftest.err >&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } && {
6939 test -z "$ac_cxx_werror_flag" ||
6940 test ! -s conftest.err
6941 } && test -s conftest.$ac_objext; then
6944 echo "$as_me: failed program was:" >&5
6945 sed 's/^/| /' conftest.$ac_ext >&5
6950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6951 if test "${P_HAS_SASL_SASL_H}x" != "x" ; then
6952 { echo "$as_me:$LINENO: result: yes" >&5
6953 echo "${ECHO_T}yes" >&6; }
6955 cat >>confdefs.h <<\_ACEOF
6956 #define P_HAS_SASL_SASL_H 1
6960 { echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6; }
6966 if test "${HAS_SASL2}x" != "x" ; then
6968 ENDLDLIBS="$ENDLDLIBS -lsasl2"
6969 cat >>confdefs.h <<\_ACEOF
6973 elif test "${HAS_SASL}x" != "x" ; then
6975 ENDLDLIBS="$ENDLDLIBS -lsasl"
6976 cat >>confdefs.h <<\_ACEOF
6990 { echo "$as_me:$LINENO: checking for mlib_VideoColorJFIFYCC2RGB420_Nearest in -lmlib" >&5
6991 echo $ECHO_N "checking for mlib_VideoColorJFIFYCC2RGB420_Nearest in -lmlib... $ECHO_C" >&6; }
6992 if test "${ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest+set}" = set; then
6993 echo $ECHO_N "(cached) $ECHO_C" >&6
6995 ac_check_lib_save_LIBS=$LIBS
6997 cat >conftest.$ac_ext <<_ACEOF
7000 cat confdefs.h >>conftest.$ac_ext
7001 cat >>conftest.$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7004 /* Override any GCC internal prototype to avoid an error.
7005 Use char because int might match the return type of a GCC
7006 builtin and then its argument prototype would still apply. */
7010 char mlib_VideoColorJFIFYCC2RGB420_Nearest ();
7014 return mlib_VideoColorJFIFYCC2RGB420_Nearest ();
7019 rm -f conftest.$ac_objext conftest$ac_exeext
7020 if { (ac_try="$ac_link"
7022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7023 *) ac_try_echo
=$ac_try;;
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_link") 2>conftest.er1
7028 grep -v '^ *+' conftest.er1
>conftest.err
7030 cat conftest.err
>&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && {
7033 test -z "$ac_cxx_werror_flag" ||
7034 test ! -s conftest.err
7035 } && test -s conftest
$ac_exeext &&
7036 $as_test_x conftest
$ac_exeext; then
7037 ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest
=yes
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.
$ac_ext >&5
7042 ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest
=no
7045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7046 conftest
$ac_exeext conftest.
$ac_ext
7047 LIBS
=$ac_check_lib_save_LIBS
7049 { echo "$as_me:$LINENO: result: $ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest" >&5
7050 echo "${ECHO_T}$ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest" >&6; }
7051 if test $ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest = yes; then
7057 if test $HAS_MEDIALIB = yes; then
7058 cat >>confdefs.h
<<\_ACEOF
7059 #define P_MEDIALIB 1
7062 ENDLDLIBS
="-lmlib $ENDLDLIBS"
7067 # Check whether --enable-openldap was given.
7068 if test "${enable_openldap+set}" = set; then
7069 enableval
=$enable_openldap;
7073 if test "${enable_openldap}z" = "z" ; then
7074 enable_openldap
=$default_openldap
7078 if test "$enable_openldap" = "no" ; then
7079 { echo "$as_me:$LINENO: OpenLDAP disabled" >&5
7080 echo "$as_me: OpenLDAP disabled" >&6;}
7082 if test "${HAS_RESOLVER:-unset}" != "unset" -o "${OSTYPE}" = "mingw" ; then
7084 for ac_header
in ldap.h
7086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7087 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7088 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7090 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7093 ac_res
=`eval echo '${'$as_ac_Header'}'`
7094 { echo "$as_me:$LINENO: result: $ac_res" >&5
7095 echo "${ECHO_T}$ac_res" >&6; }
7097 # Is the header compilable?
7098 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7099 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7100 cat >conftest.
$ac_ext <<_ACEOF
7103 cat confdefs.h
>>conftest.
$ac_ext
7104 cat >>conftest.
$ac_ext <<_ACEOF
7105 /* end confdefs.h. */
7106 $ac_includes_default
7107 #include <$ac_header>
7109 rm -f conftest.
$ac_objext
7110 if { (ac_try
="$ac_compile"
7112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7113 *) ac_try_echo=$ac_try;;
7115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7116 (eval "$ac_compile") 2>conftest.er1
7118 grep -v '^ *+' conftest.er1 >conftest.err
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } && {
7123 test -z "$ac_cxx_werror_flag" ||
7124 test ! -s conftest.err
7125 } && test -s conftest.$ac_objext; then
7126 ac_header_compiler=yes
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_header_compiler=no
7134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7135 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7136 echo "${ECHO_T}$ac_header_compiler" >&6; }
7138 # Is the header present?
7139 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7141 cat >conftest.$ac_ext <<_ACEOF
7144 cat confdefs.h >>conftest.$ac_ext
7145 cat >>conftest.$ac_ext <<_ACEOF
7146 /* end confdefs.h. */
7147 #include <$ac_header>
7149 if { (ac_try="$ac_cpp conftest.$ac_ext"
7151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7152 *) ac_try_echo
=$ac_try;;
7154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7155 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7157 grep -v '^ *+' conftest.er1
>conftest.err
7159 cat conftest.err
>&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); } >/dev
/null
&& {
7162 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7163 test ! -s conftest.err
7165 ac_header_preproc
=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.
$ac_ext >&5
7170 ac_header_preproc
=no
7173 rm -f conftest.err conftest.
$ac_ext
7174 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7175 echo "${ECHO_T}$ac_header_preproc" >&6; }
7177 # So? What about this header?
7178 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7183 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7184 ac_header_preproc
=yes
7187 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7188 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7189 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7190 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7191 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7192 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7194 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7196 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7197 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7198 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7202 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7204 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7205 echo $ECHO_N "(cached) $ECHO_C" >&6
7207 eval "$as_ac_Header=\$ac_header_preproc"
7209 ac_res
=`eval echo '${'$as_ac_Header'}'`
7210 { echo "$as_me:$LINENO: result: $ac_res" >&5
7211 echo "${ECHO_T}$ac_res" >&6; }
7214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7215 cat >>confdefs.h
<<_ACEOF
7216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7224 if test "${OSTYPE:-unknown}" = "solaris"; then
7225 OPENLDAPSYSLIBS
=-lposix4
7228 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
7229 { echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
7230 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6; }
7231 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
7232 echo $ECHO_N "(cached) $ECHO_C" >&6
7234 ac_check_lib_save_LIBS
=$LIBS
7235 LIBS
="-lldap $LDAP_LIBRARIES $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
7236 cat >conftest.
$ac_ext <<_ACEOF
7239 cat confdefs.h
>>conftest.
$ac_ext
7240 cat >>conftest.
$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7243 /* Override any GCC internal prototype to avoid an error.
7244 Use char because int might match the return type of a GCC
7245 builtin and then its argument prototype would still apply. */
7253 return ldap_open ();
7258 rm -f conftest.
$ac_objext conftest
$ac_exeext
7259 if { (ac_try
="$ac_link"
7261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265 (eval "$ac_link") 2>conftest.er1
7267 grep -v '^ *+' conftest.er1 >conftest.err
7269 cat conftest.err >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } && {
7272 test -z "$ac_cxx_werror_flag" ||
7273 test ! -s conftest.err
7274 } && test -s conftest$ac_exeext &&
7275 $as_test_x conftest$ac_exeext; then
7276 ac_cv_lib_ldap_ldap_open=yes
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 ac_cv_lib_ldap_ldap_open=no
7284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7285 conftest$ac_exeext conftest.$ac_ext
7286 LIBS=$ac_check_lib_save_LIBS
7288 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
7289 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6; }
7290 if test $ac_cv_lib_ldap_ldap_open = yes; then
7297 { echo "$as_me:$LINENO: checking for /usr/local/include/ldap.h" >&5
7298 echo $ECHO_N "checking for /usr/local/include/ldap.h... $ECHO_C" >&6; }
7299 if test "${ac_cv_file__usr_local_include_ldap_h+set}" = set; then
7300 echo $ECHO_N "(cached) $ECHO_C" >&6
7302 test "$cross_compiling" = yes &&
7303 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7304 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7305 { (exit 1); exit 1; }; }
7306 if test -r "/usr/local/include/ldap.h"; then
7307 ac_cv_file__usr_local_include_ldap_h=yes
7309 ac_cv_file__usr_local_include_ldap_h=no
7312 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ldap_h" >&5
7313 echo "${ECHO_T}$ac_cv_file__usr_local_include_ldap_h" >&6; }
7314 if test $ac_cv_file__usr_local_include_ldap_h = yes; then
7318 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
7319 OPENLDAPINCLUDEDIR=/usr/local/include
7320 OPENLDAPLIBDIR=/usr/local/lib
7321 { echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
7322 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6; }
7323 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
7324 echo $ECHO_N "(cached) $ECHO_C" >&6
7326 ac_check_lib_save_LIBS=$LIBS
7327 LIBS="-lldap -L/usr/local/lib $LDAP_LIBRARIES $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
7328 cat >conftest.$ac_ext <<_ACEOF
7331 cat confdefs.h >>conftest.$ac_ext
7332 cat >>conftest.$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7335 /* Override any GCC internal prototype to avoid an error.
7336 Use char because int might match the return type of a GCC
7337 builtin and then its argument prototype would still apply. */
7345 return ldap_open ();
7350 rm -f conftest.$ac_objext conftest$ac_exeext
7351 if { (ac_try="$ac_link"
7353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7354 *) ac_try_echo
=$ac_try;;
7356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7357 (eval "$ac_link") 2>conftest.er1
7359 grep -v '^ *+' conftest.er1
>conftest.err
7361 cat conftest.err
>&5
7362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7363 (exit $ac_status); } && {
7364 test -z "$ac_cxx_werror_flag" ||
7365 test ! -s conftest.err
7366 } && test -s conftest
$ac_exeext &&
7367 $as_test_x conftest
$ac_exeext; then
7368 ac_cv_lib_ldap_ldap_open
=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.
$ac_ext >&5
7373 ac_cv_lib_ldap_ldap_open
=no
7376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7377 conftest
$ac_exeext conftest.
$ac_ext
7378 LIBS
=$ac_check_lib_save_LIBS
7380 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
7381 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6; }
7382 if test $ac_cv_lib_ldap_ldap_open = yes; then
7392 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
7395 cat >>confdefs.h
<<\_ACEOF
7399 ENDLDLIBS
="-lldap $LDAP_LIBRARIES $ENDLDLIBS"
7400 if test "${OPENLDAPINCLUDEDIR}unset" != "unset" ; then
7401 STDCCFLAGS
="$STDCCFLAGS -I${OPENLDAPINCLUDEDIR}"
7403 if test "${OPENLDAPLIBDIR}unset" != "unset" ; then
7404 LDFLAGS
="$LDFLAGS -L${OPENLDAPLIBDIR}"
7417 # Check whether --enable-openssl was given.
7418 if test "${enable_openssl+set}" = set; then
7419 enableval
=$enable_openssl;
7423 if test "${enable_openssl}z" = "z" ; then
7424 enable_openssl
=$default_openssl
7428 if test "$enable_openssl" = "no" ; then
7429 { echo "$as_me:$LINENO: OpenSSL disabled" >&5
7430 echo "$as_me: OpenSSL disabled" >&6;}
7433 if test ${OPENSSLDIR:-unset} != "unset" ; then
7434 { echo "$as_me:$LINENO: checking for ${OPENSSLDIR}/include/openssl/ssl.h" >&5
7435 echo $ECHO_N "checking for ${OPENSSLDIR}/include/openssl/ssl.h... $ECHO_C" >&6; }
7436 if test -e ${OPENSSLDIR}/include
/openssl
/ssl.h
; then
7437 { echo "$as_me:$LINENO: result: yes" >&5
7438 echo "${ECHO_T}yes" >&6; }
7440 SSLINCLUDEDIR
="${OPENSSLDIR}/include"
7441 SSLLIBDIR
="${OPENSSLDIR}/lib"
7443 { echo "$as_me:$LINENO: result: no" >&5
7444 echo "${ECHO_T}no" >&6; }
7449 if test "${SSLHDR:-unset}" = "unset" ; then
7451 for ac_header
in openssl
/ssl.h
7453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7457 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7458 echo $ECHO_N "(cached) $ECHO_C" >&6
7460 ac_res
=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7464 # Is the header compilable?
7465 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7467 cat >conftest.
$ac_ext <<_ACEOF
7470 cat confdefs.h
>>conftest.
$ac_ext
7471 cat >>conftest.
$ac_ext <<_ACEOF
7472 /* end confdefs.h. */
7473 $ac_includes_default
7474 #include <$ac_header>
7476 rm -f conftest.
$ac_objext
7477 if { (ac_try
="$ac_compile"
7479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7480 *) ac_try_echo=$ac_try;;
7482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7483 (eval "$ac_compile") 2>conftest.er1
7485 grep -v '^ *+' conftest.er1 >conftest.err
7487 cat conftest.err >&5
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); } && {
7490 test -z "$ac_cxx_werror_flag" ||
7491 test ! -s conftest.err
7492 } && test -s conftest.$ac_objext; then
7493 ac_header_compiler=yes
7495 echo "$as_me: failed program was:" >&5
7496 sed 's/^/| /' conftest.$ac_ext >&5
7498 ac_header_compiler=no
7501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7502 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7503 echo "${ECHO_T}$ac_header_compiler" >&6; }
7505 # Is the header present?
7506 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7508 cat >conftest.$ac_ext <<_ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 #include <$ac_header>
7516 if { (ac_try="$ac_cpp conftest.$ac_ext"
7518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7519 *) ac_try_echo
=$ac_try;;
7521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7524 grep -v '^ *+' conftest.er1
>conftest.err
7526 cat conftest.err
>&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); } >/dev
/null
&& {
7529 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7530 test ! -s conftest.err
7532 ac_header_preproc
=yes
7534 echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.
$ac_ext >&5
7537 ac_header_preproc
=no
7540 rm -f conftest.err conftest.
$ac_ext
7541 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7542 echo "${ECHO_T}$ac_header_preproc" >&6; }
7544 # So? What about this header?
7545 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7551 ac_header_preproc
=yes
7554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7569 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7571 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7574 eval "$as_ac_Header=\$ac_header_preproc"
7576 ac_res
=`eval echo '${'$as_ac_Header'}'`
7577 { echo "$as_me:$LINENO: result: $ac_res" >&5
7578 echo "${ECHO_T}$ac_res" >&6; }
7581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7582 cat >>confdefs.h
<<_ACEOF
7583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 if test "${SSLHDR:-unset}" = "unset" ; then
7591 { echo "$as_me:$LINENO: checking if openssl/ssl.h works with OPENSSL_NO_KRB5" >&5
7592 echo $ECHO_N "checking if openssl/ssl.h works with OPENSSL_NO_KRB5... $ECHO_C" >&6; }
7593 cat >conftest.
$ac_ext <<_ACEOF
7594 #define OPENSSL_NO_KRB5
7595 #include <openssl/ssl.h>
7596 int main(int argc,char **argv){}
7598 rm -f conftest.
$ac_objext
7599 if { (ac_try
="$ac_compile"
7601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7602 *) ac_try_echo=$ac_try;;
7604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7605 (eval "$ac_compile") 2>conftest.er1
7607 grep -v '^ *+' conftest.er1 >conftest.err
7609 cat conftest.err >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); } && {
7612 test -z "$ac_cxx_werror_flag" ||
7613 test ! -s conftest.err
7614 } && test -s conftest.$ac_objext; then
7617 echo "$as_me: failed program was:" >&5
7618 sed 's/^/| /' conftest.$ac_ext >&5
7623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7624 if test "${SSLHDR:-unset}" != "unset" ; then
7625 { echo "$as_me:$LINENO: result: yes" >&5
7626 echo "${ECHO_T}yes" >&6; }
7627 SSLCCFLAGS=" -DOPENSSL_NO_KRB5"
7628 P_STATIC_LDFLAGS="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
7629 if test ${OSTYPE} = linux ; then
7630 P_STATIC_ENDLDLIBS="-lkrb5 -lk5crypto -lcom_err"
7633 { echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6; }
7639 if test "${SSLHDR:-unset}" = "unset" ; then
7641 for openssl_dir in /usr/local/openssl /usr/local/ssl ; do
7642 { echo "$as_me:$LINENO: checking for OpenSSL in $openssl_dir" >&5
7643 echo $ECHO_N "checking for OpenSSL in $openssl_dir... $ECHO_C" >&6; }
7644 if test ! -f ${openssl_dir}/include/openssl/ssl.h ; then
7645 { echo "$as_me:$LINENO: result: no" >&5
7646 echo "${ECHO_T}no" >&6; }
7648 cat >conftest.$ac_ext <<_ACEOF
7649 #include "${openssl_dir}/include/openssl/ssl.h"
7650 int main(int argc,char **argv){ return 0; }
7652 $CXX $CXXFLAGS -I${openssl_dir}/include -c conftest.cc > /dev/null 2>&1
7653 if test $? = 0 ; then
7654 { echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6; }
7658 SSLINCLUDEDIR="${openssl_dir}/include"
7659 SSLLIBDIR="${openssl_dir}/lib"
7662 { echo "$as_me:$LINENO: result: no" >&5
7663 echo "${ECHO_T}no" >&6; }
7664 { echo "$as_me:$LINENO: checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5..." >&5
7665 echo $ECHO_N "checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5...... $ECHO_C" >&6; }
7666 cat >conftest.$ac_ext <<_ACEOF
7667 #define OPENSSL_NO_KRB5
7668 #include "${openssl_dir}/include/openssl/ssl.h"
7669 int main(int argc,char **argv){}
7671 $CXX $CXXFLAGS -I${openssl_dir}/openssl/include -c conftest.cc > /dev/null 2>&1
7672 if test $? = 0 ; then
7673 { echo "$as_me:$LINENO: result: yes" >&5
7674 echo "${ECHO_T}yes" >&6; }
7676 SSLCCFLAGS=" -DOPENSSL_NO_KRB5"
7677 SSLINCLUDEDIR="${openssl_dir}/include"
7678 SSLLIBDIR="${openssl_dir}/lib"
7679 P_STATIC_LDFLAGS="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
7680 if test ${OSTYPE} = linux ; then
7681 P_STATIC_ENDLDLIBS="-lkrb5 -lk5crypto -lcom_err"
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7693 if test ${SSLHDR:-unset} != "unset" ; then
7695 cat >>confdefs.h <<\_ACEOF
7700 if test ${SSLINCLUDEDIR:-unset} != "unset" ; then
7701 STDCCFLAGS="$STDCCFLAGS -I${SSLINCLUDEDIR}"
7703 if test ${SSLLIBDIR:-unset} != "unset" ; then
7704 LDFLAGS="$LDFLAGS -L${SSLLIBDIR}"
7706 STDCCFLAGS="${STDCCFLAGS}${SSLCCFLAGS}"
7707 ENDLDLIBS="$ENDLDLIBS -lssl -lcrypto"
7710 for ac_header in openssl/aes.h
7712 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7714 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7717 echo $ECHO_N "(cached) $ECHO_C" >&6
7719 ac_res=`eval echo '${'$as_ac_Header'}'`
7720 { echo "$as_me:$LINENO: result: $ac_res" >&5
7721 echo "${ECHO_T}$ac_res" >&6; }
7723 # Is the header compilable?
7724 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7726 cat >conftest.$ac_ext <<_ACEOF
7729 cat confdefs.h >>conftest.$ac_ext
7730 cat >>conftest.$ac_ext <<_ACEOF
7731 /* end confdefs.h. */
7732 $ac_includes_default
7733 #include <$ac_header>
7735 rm -f conftest.$ac_objext
7736 if { (ac_try="$ac_compile"
7738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7739 *) ac_try_echo
=$ac_try;;
7741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7742 (eval "$ac_compile") 2>conftest.er1
7744 grep -v '^ *+' conftest.er1
>conftest.err
7746 cat conftest.err
>&5
7747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7748 (exit $ac_status); } && {
7749 test -z "$ac_cxx_werror_flag" ||
7750 test ! -s conftest.err
7751 } && test -s conftest.
$ac_objext; then
7752 ac_header_compiler
=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.
$ac_ext >&5
7757 ac_header_compiler
=no
7760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7761 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7762 echo "${ECHO_T}$ac_header_compiler" >&6; }
7764 # Is the header present?
7765 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7767 cat >conftest.
$ac_ext <<_ACEOF
7770 cat confdefs.h
>>conftest.
$ac_ext
7771 cat >>conftest.
$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #include <$ac_header>
7775 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7778 *) ac_try_echo=$ac_try;;
7780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7783 grep -v '^ *+' conftest.er1 >conftest.err
7785 cat conftest.err >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); } >/dev/null && {
7788 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
7789 test ! -s conftest.err
7791 ac_header_preproc=yes
7793 echo "$as_me: failed program was:" >&5
7794 sed 's/^/| /' conftest.$ac_ext >&5
7796 ac_header_preproc=no
7799 rm -f conftest.err conftest.$ac_ext
7800 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7801 echo "${ECHO_T}$ac_header_preproc" >&6; }
7803 # So? What about this header?
7804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7806 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7807 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7809 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7810 ac_header_preproc=yes
7813 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7814 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7815 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7816 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7817 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7818 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7819 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7820 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7823 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7824 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7828 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7830 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 eval "$as_ac_Header=\$ac_header_preproc"
7835 ac_res=`eval echo '${'$as_ac_Header'}'`
7836 { echo "$as_me:$LINENO: result: $ac_res" >&5
7837 echo "${ECHO_T}$ac_res" >&6; }
7840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7841 cat >>confdefs.h <<_ACEOF
7842 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7851 if test "$HAS_SSL_AES" = yes ; then
7853 cat >>confdefs.h <<\_ACEOF
7859 { echo "$as_me:$LINENO: checking for const arg to d2i_AutoPrivateKey" >&5
7860 echo $ECHO_N "checking for const arg to d2i_AutoPrivateKey... $ECHO_C" >&6; }
7861 cat >conftest.$ac_ext <<_ACEOF
7864 cat confdefs.h >>conftest.$ac_ext
7865 cat >>conftest.$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 #include <openssl/evp.h>
7871 EVP_PKEY **a; const unsigned char **p; long l;
7872 d2i_AutoPrivateKey(a, p, l);
7878 rm -f conftest.$ac_objext
7879 if { (ac_try="$ac_compile"
7881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7882 *) ac_try_echo
=$ac_try;;
7884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7885 (eval "$ac_compile") 2>conftest.er1
7887 grep -v '^ *+' conftest.er1
>conftest.err
7889 cat conftest.err
>&5
7890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7891 (exit $ac_status); } && {
7892 test -z "$ac_cxx_werror_flag" ||
7893 test ! -s conftest.err
7894 } && test -s conftest.
$ac_objext; then
7897 echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.
$ac_ext >&5
7903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7904 if test "${P_SSL_USE_CONST}x" = "x" ; then
7905 { echo "$as_me:$LINENO: result: no" >&5
7906 echo "${ECHO_T}no" >&6; }
7908 { echo "$as_me:$LINENO: result: yes" >&5
7909 echo "${ECHO_T}yes" >&6; }
7911 cat >>confdefs.h
<<\_ACEOF
7912 #define P_SSL_USE_CONST 1
7926 # Check whether --enable-expat was given.
7927 if test "${enable_expat+set}" = set; then
7928 enableval
=$enable_expat;
7932 if test "${enable_expat}z" = "z" ; then
7933 enable_expat
=$default_expat
7937 if test "$enable_expat" = "no" ; then
7938 { echo "$as_me:$LINENO: Expat disabled" >&5
7939 echo "$as_me: Expat disabled" >&6;}
7941 if test "${EXPATDIR}z" != "z" ; then
7942 as_ac_File
=`echo "ac_cv_file_${EXPATDIR}/include/expat.h" | $as_tr_sh`
7943 { echo "$as_me:$LINENO: checking for ${EXPATDIR}/include/expat.h" >&5
7944 echo $ECHO_N "checking for ${EXPATDIR}/include/expat.h... $ECHO_C" >&6; }
7945 if { as_var
=$as_ac_File; eval "test \"\${$as_var+set}\" = set"; }; then
7946 echo $ECHO_N "(cached) $ECHO_C" >&6
7948 test "$cross_compiling" = yes &&
7949 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7950 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7951 { (exit 1); exit 1; }; }
7952 if test -r "${EXPATDIR}/include/expat.h"; then
7953 eval "$as_ac_File=yes"
7955 eval "$as_ac_File=no"
7958 ac_res
=`eval echo '${'$as_ac_File'}'`
7959 { echo "$as_me:$LINENO: result: $ac_res" >&5
7960 echo "${ECHO_T}$ac_res" >&6; }
7961 if test `eval echo '${'$as_ac_File'}'` = yes; then
7965 if test "${HAS_EXPAT:-unset}" != "unset" ; then
7966 EXPATINCLUDEDIR
=${EXPATDIR}/include
7967 EXPATLIBDIR
=${EXPATDIR}/lib
7971 for ac_header
in expat.h
7973 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7974 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7977 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7978 echo $ECHO_N "(cached) $ECHO_C" >&6
7980 ac_res
=`eval echo '${'$as_ac_Header'}'`
7981 { echo "$as_me:$LINENO: result: $ac_res" >&5
7982 echo "${ECHO_T}$ac_res" >&6; }
7984 # Is the header compilable?
7985 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7987 cat >conftest.
$ac_ext <<_ACEOF
7990 cat confdefs.h
>>conftest.
$ac_ext
7991 cat >>conftest.
$ac_ext <<_ACEOF
7992 /* end confdefs.h. */
7993 $ac_includes_default
7994 #include <$ac_header>
7996 rm -f conftest.
$ac_objext
7997 if { (ac_try
="$ac_compile"
7999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_compile") 2>conftest.er1
8005 grep -v '^ *+' conftest.er1 >conftest.err
8007 cat conftest.err >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && {
8010 test -z "$ac_cxx_werror_flag" ||
8011 test ! -s conftest.err
8012 } && test -s conftest.$ac_objext; then
8013 ac_header_compiler=yes
8015 echo "$as_me: failed program was:" >&5
8016 sed 's/^/| /' conftest.$ac_ext >&5
8018 ac_header_compiler=no
8021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8022 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8023 echo "${ECHO_T}$ac_header_compiler" >&6; }
8025 # Is the header present?
8026 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8027 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8028 cat >conftest.$ac_ext <<_ACEOF
8031 cat confdefs.h >>conftest.$ac_ext
8032 cat >>conftest.$ac_ext <<_ACEOF
8033 /* end confdefs.h. */
8034 #include <$ac_header>
8036 if { (ac_try="$ac_cpp conftest.$ac_ext"
8038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8039 *) ac_try_echo
=$ac_try;;
8041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8042 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8044 grep -v '^ *+' conftest.er1
>conftest.err
8046 cat conftest.err
>&5
8047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8048 (exit $ac_status); } >/dev
/null
&& {
8049 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8050 test ! -s conftest.err
8052 ac_header_preproc
=yes
8054 echo "$as_me: failed program was:" >&5
8055 sed 's/^/| /' conftest.
$ac_ext >&5
8057 ac_header_preproc
=no
8060 rm -f conftest.err conftest.
$ac_ext
8061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8062 echo "${ECHO_T}$ac_header_preproc" >&6; }
8064 # So? What about this header?
8065 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8071 ac_header_preproc
=yes
8074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8091 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8092 echo $ECHO_N "(cached) $ECHO_C" >&6
8094 eval "$as_ac_Header=\$ac_header_preproc"
8096 ac_res
=`eval echo '${'$as_ac_Header'}'`
8097 { echo "$as_me:$LINENO: result: $ac_res" >&5
8098 echo "${ECHO_T}$ac_res" >&6; }
8101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8102 cat >>confdefs.h
<<_ACEOF
8103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8110 if test "${HAS_EXPAT:-unset}" != "unset" ; then
8111 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
8112 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
8113 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8116 ac_check_lib_save_LIBS
=$LIBS
8117 LIBS
="-lexpat $LIBS"
8118 cat >conftest.
$ac_ext <<_ACEOF
8121 cat confdefs.h
>>conftest.
$ac_ext
8122 cat >>conftest.
$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8125 /* Override any GCC internal prototype to avoid an error.
8126 Use char because int might match the return type of a GCC
8127 builtin and then its argument prototype would still apply. */
8131 char XML_ParserCreate ();
8135 return XML_ParserCreate ();
8140 rm -f conftest.
$ac_objext conftest
$ac_exeext
8141 if { (ac_try
="$ac_link"
8143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8144 *) ac_try_echo=$ac_try;;
8146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8147 (eval "$ac_link") 2>conftest.er1
8149 grep -v '^ *+' conftest.er1 >conftest.err
8151 cat conftest.err >&5
8152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8153 (exit $ac_status); } && {
8154 test -z "$ac_cxx_werror_flag" ||
8155 test ! -s conftest.err
8156 } && test -s conftest$ac_exeext &&
8157 $as_test_x conftest$ac_exeext; then
8158 ac_cv_lib_expat_XML_ParserCreate=yes
8160 echo "$as_me: failed program was:" >&5
8161 sed 's/^/| /' conftest.$ac_ext >&5
8163 ac_cv_lib_expat_XML_ParserCreate=no
8166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8167 conftest$ac_exeext conftest.$ac_ext
8168 LIBS=$ac_check_lib_save_LIBS
8170 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
8171 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
8172 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
8179 { echo "$as_me:$LINENO: checking for /usr/local/include/expat.h" >&5
8180 echo $ECHO_N "checking for /usr/local/include/expat.h... $ECHO_C" >&6; }
8181 if test "${ac_cv_file__usr_local_include_expat_h+set}" = set; then
8182 echo $ECHO_N "(cached) $ECHO_C" >&6
8184 test "$cross_compiling" = yes &&
8185 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
8186 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
8187 { (exit 1); exit 1; }; }
8188 if test -r "/usr/local/include/expat.h"; then
8189 ac_cv_file__usr_local_include_expat_h=yes
8191 ac_cv_file__usr_local_include_expat_h=no
8194 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_expat_h" >&5
8195 echo "${ECHO_T}$ac_cv_file__usr_local_include_expat_h" >&6; }
8196 if test $ac_cv_file__usr_local_include_expat_h = yes; then
8200 if test "${HAS_EXPAT:-unset}" != "unset" ; then
8201 EXPATINCLUDEDIR=/usr/local/include
8202 EXPATLIBDIR=/usr/local/lib
8207 if test "${HAS_EXPAT:-unset}" != "unset" ; then
8210 cat >>confdefs.h <<\_ACEOF
8214 if test ${EXPATINCLUDEDIR:-unset} != "unset" ; then
8215 STDCCFLAGS="$STDCCFLAGS -I${EXPATINCLUDEDIR}"
8217 if test ${EXPATLIBDIR:-unset} != "unset" ; then
8218 LDFLAGS="$LDFLAGS -L${EXPATLIBDIR}"
8220 ENDLDLIBS="$ENDLDLIBS -lexpat"
8234 if test "$enable_expat" = "no" ; then
8235 { echo "$as_me:$LINENO: VXML disabled as Expat is disabled" >&5
8236 echo "$as_me: VXML disabled as Expat is disabled" >&6;}
8237 { echo "$as_me:$LINENO: Jabber disabled as Expat is disabled" >&5
8238 echo "$as_me: Jabber disabled as Expat is disabled" >&6;}
8239 { echo "$as_me:$LINENO: XMLRPC disabled as Expat is disabled" >&5
8240 echo "$as_me: XMLRPC disabled as Expat is disabled" >&6;}
8244 # Check whether --enable-vxml was given.
8245 if test "${enable_vxml+set}" = set; then
8246 enableval=$enable_vxml;
8250 if test "${enable_vxml}z" = "z" ; then
8251 enable_vxml=$default_vxml
8253 if test "$enable_vxml" = "no" ; then
8254 { echo "$as_me:$LINENO: VXML disabled" >&5
8255 echo "$as_me: VXML disabled" >&6;}
8257 cat >>confdefs.h <<\_ACEOF
8265 # Check whether --enable-jabber was given.
8266 if test "${enable_jabber+set}" = set; then
8267 enableval=$enable_jabber;
8271 if test "${enable_jabber}z" = "z" ; then
8272 enable_jabber=$default_jabber
8274 if test "$enable_jabber" = "no" ; then
8275 { echo "$as_me:$LINENO: Jabber disabled" >&5
8276 echo "$as_me: Jabber disabled" >&6;}
8278 cat >>confdefs.h <<\_ACEOF
8286 # Check whether --enable-xmlrpc was given.
8287 if test "${enable_xmlrpc+set}" = set; then
8288 enableval=$enable_xmlrpc;
8292 if test "${enable_xmlrpc}z" = "z" ; then
8293 enable_xmlrpc=$default_xmlrpc
8295 if test "$enable_xmlrpc" = "no" ; then
8296 { echo "$as_me:$LINENO: XMLRPC disabled" >&5
8297 echo "$as_me: XMLRPC disabled" >&6;}
8299 cat >>confdefs.h <<\_ACEOF
8307 # Check whether --enable-soap was given.
8308 if test "${enable_soap+set}" = set; then
8309 enableval=$enable_soap;
8313 if test "${enable_soap}z" = "z" ; then
8314 enable_soap=$default_soap
8316 if test "$enable_soap" = "no" ; then
8317 { echo "$as_me:$LINENO: SOAP disabled" >&5
8318 echo "$as_me: SOAP disabled" >&6;}
8320 cat >>confdefs.h <<\_ACEOF
8335 # Check whether --enable-expat was given.
8336 if test "${enable_expat+set}" = set; then
8337 enableval=$enable_expat;
8341 if test "${enable_tts}z" = "z" ; then
8342 enable_tts=$default_tts
8346 if test "$enable_tts" = "no" ; then
8347 { echo "$as_me:$LINENO: Text-to-speech disabled" >&5
8348 echo "$as_me: Text-to-speech disabled" >&6;}
8350 cat >>confdefs.h <<\_ACEOF
8360 # Check whether --enable-ipv6 was given.
8361 if test "${enable_ipv6+set}" = set; then
8362 enableval=$enable_ipv6;
8366 if test "${enable_ipv6}z" = "z" ; then
8367 enable_ipv6=$default_ipv6
8372 if test "$enable_ipv6" = "no" ; then
8373 { echo "$as_me:$LINENO: IPV6 disabled" >&5
8374 echo "$as_me: IPV6 disabled" >&6;}
8376 { echo "$as_me:$LINENO: checking for IPv6 support" >&5
8377 echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6; }
8378 cat >conftest.$ac_ext <<_ACEOF
8381 cat confdefs.h >>conftest.$ac_ext
8382 cat >>conftest.$ac_ext <<_ACEOF
8383 /* end confdefs.h. */
8384 #include <sys/types.h>
8385 #include <netinet/in.h>
8389 struct sockaddr_in6 s; s.sin6_scope_id = 0;
8394 rm -f conftest.$ac_objext
8395 if { (ac_try="$ac_compile"
8397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8398 *) ac_try_echo
=$ac_try;;
8400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8401 (eval "$ac_compile") 2>conftest.er1
8403 grep -v '^ *+' conftest.er1
>conftest.err
8405 cat conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } && {
8408 test -z "$ac_cxx_werror_flag" ||
8409 test ! -s conftest.err
8410 } && test -s conftest.
$ac_objext; then
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.
$ac_ext >&5
8419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8420 if test $HAS_IPV6 = no
; then
8421 { echo "$as_me:$LINENO: result: no" >&5
8422 echo "${ECHO_T}no" >&6; }
8424 cat >conftest.
$ac_ext <<_ACEOF
8427 cat confdefs.h
>>conftest.
$ac_ext
8428 cat >>conftest.
$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8430 #include <sys/socket.h>
8435 getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
8440 rm -f conftest.
$ac_objext
8441 if { (ac_try
="$ac_compile"
8443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_compile") 2>conftest.er1
8449 grep -v '^ *+' conftest.er1 >conftest.err
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } && {
8454 test -z "$ac_cxx_werror_flag" ||
8455 test ! -s conftest.err
8456 } && test -s conftest.$ac_objext; then
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 if test $HAS_IPV6 = no ; then
8467 { echo "$as_me:$LINENO: result: no" >&5
8468 echo "${ECHO_T}no" >&6; }
8470 { echo "$as_me:$LINENO: result: yes" >&5
8471 echo "${ECHO_T}yes" >&6; }
8473 cat >>confdefs.h <<\_ACEOF
8474 #define P_HAS_IPV6 1
8485 # Check whether --enable-qos was given.
8486 if test "${enable_qos+set}" = set; then
8487 enableval=$enable_qos;
8491 if test "${enable_qos}z" = "z" ; then
8492 enable_qos=$default_qos
8495 if test "$enable_qos" != "no" ; then
8497 cat >>confdefs.h <<\_ACEOF
8506 # Check whether --enable-sdl was given.
8507 if test "${enable_sdl+set}" = set; then
8508 enableval=$enable_sdl;
8512 if test "${enable_sdl}z" = "z" ; then
8513 enable_sdl=$default_sdl
8517 if test "$enable_sdl" = "no" ; then
8518 { echo "$as_me:$LINENO: SDL disabled" >&5
8519 echo "$as_me: SDL disabled" >&6;}
8520 cat >>confdefs.h <<\_ACEOF
8525 if test "${SDLLIB:-unset}" = "unset" ; then
8530 for ac_header in SDL/SDL.h
8532 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8537 echo $ECHO_N "(cached) $ECHO_C" >&6
8539 ac_res=`eval echo '${'$as_ac_Header'}'`
8540 { echo "$as_me:$LINENO: result: $ac_res" >&5
8541 echo "${ECHO_T}$ac_res" >&6; }
8543 # Is the header compilable?
8544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8546 cat >conftest.$ac_ext <<_ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552 $ac_includes_default
8553 #include <$ac_header>
8555 rm -f conftest.$ac_objext
8556 if { (ac_try="$ac_compile"
8558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8559 *) ac_try_echo
=$ac_try;;
8561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8562 (eval "$ac_compile") 2>conftest.er1
8564 grep -v '^ *+' conftest.er1
>conftest.err
8566 cat conftest.err
>&5
8567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568 (exit $ac_status); } && {
8569 test -z "$ac_cxx_werror_flag" ||
8570 test ! -s conftest.err
8571 } && test -s conftest.
$ac_objext; then
8572 ac_header_compiler
=yes
8574 echo "$as_me: failed program was:" >&5
8575 sed 's/^/| /' conftest.
$ac_ext >&5
8577 ac_header_compiler
=no
8580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8582 echo "${ECHO_T}$ac_header_compiler" >&6; }
8584 # Is the header present?
8585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8587 cat >conftest.
$ac_ext <<_ACEOF
8590 cat confdefs.h
>>conftest.
$ac_ext
8591 cat >>conftest.
$ac_ext <<_ACEOF
8592 /* end confdefs.h. */
8593 #include <$ac_header>
8595 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8598 *) ac_try_echo=$ac_try;;
8600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8603 grep -v '^ *+' conftest.er1 >conftest.err
8605 cat conftest.err >&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } >/dev/null && {
8608 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8609 test ! -s conftest.err
8611 ac_header_preproc=yes
8613 echo "$as_me: failed program was:" >&5
8614 sed 's/^/| /' conftest.$ac_ext >&5
8616 ac_header_preproc=no
8619 rm -f conftest.err conftest.$ac_ext
8620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8621 echo "${ECHO_T}$ac_header_preproc" >&6; }
8623 # So? What about this header?
8624 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8630 ac_header_preproc=yes
8633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 eval "$as_ac_Header=\$ac_header_preproc"
8655 ac_res=`eval echo '${'$as_ac_Header'}'`
8656 { echo "$as_me:$LINENO: result: $ac_res" >&5
8657 echo "${ECHO_T}$ac_res" >&6; }
8660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8661 cat >>confdefs.h <<_ACEOF
8662 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8669 if test "${HAS_SDL:-unset}" != "unset" ; then
8670 if test "${X11LIBDIR:-unset}" == "unset" ; then
8671 X11LIBDIR=/usr/X11R6/lib
8673 { echo "$as_me:$LINENO: checking for SDL_CreateYUVOverlay in -lSDL" >&5
8674 echo $ECHO_N "checking for SDL_CreateYUVOverlay in -lSDL... $ECHO_C" >&6; }
8675 if test "${ac_cv_lib_SDL_SDL_CreateYUVOverlay+set}" = set; then
8676 echo $ECHO_N "(cached) $ECHO_C" >&6
8678 ac_check_lib_save_LIBS=$LIBS
8679 LIBS="-lSDL -L${X11LIBDIR} -lpthread -lX11 -lXext $LIBS"
8680 cat >conftest.$ac_ext <<_ACEOF
8683 cat confdefs.h >>conftest.$ac_ext
8684 cat >>conftest.$ac_ext <<_ACEOF
8685 /* end confdefs.h. */
8687 /* Override any GCC internal prototype to avoid an error.
8688 Use char because int might match the return type of a GCC
8689 builtin and then its argument prototype would still apply. */
8693 char SDL_CreateYUVOverlay ();
8697 return SDL_CreateYUVOverlay ();
8702 rm -f conftest.$ac_objext conftest$ac_exeext
8703 if { (ac_try="$ac_link"
8705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8706 *) ac_try_echo
=$ac_try;;
8708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8709 (eval "$ac_link") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1
>conftest.err
8713 cat conftest.err
>&5
8714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715 (exit $ac_status); } && {
8716 test -z "$ac_cxx_werror_flag" ||
8717 test ! -s conftest.err
8718 } && test -s conftest
$ac_exeext &&
8719 $as_test_x conftest
$ac_exeext; then
8720 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=yes
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.
$ac_ext >&5
8725 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=no
8728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8729 conftest
$ac_exeext conftest.
$ac_ext
8730 LIBS
=$ac_check_lib_save_LIBS
8732 { echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&5
8733 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&6; }
8734 if test $ac_cv_lib_SDL_SDL_CreateYUVOverlay = yes; then
8742 if test "${HAS_SDL:-unset}" = "unset" ; then
8743 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8744 { echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5
8745 echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6; }
8746 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8747 echo $ECHO_N "(cached) $ECHO_C" >&6
8749 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL11_SDL_h" >&5
8750 echo "${ECHO_T}$ac_cv_header_SDL11_SDL_h" >&6; }
8752 # Is the header compilable?
8753 { echo "$as_me:$LINENO: checking SDL11/SDL.h usability" >&5
8754 echo $ECHO_N "checking SDL11/SDL.h usability... $ECHO_C" >&6; }
8755 cat >conftest.
$ac_ext <<_ACEOF
8758 cat confdefs.h
>>conftest.
$ac_ext
8759 cat >>conftest.
$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8761 $ac_includes_default
8762 #include <SDL11/SDL.h>
8764 rm -f conftest.
$ac_objext
8765 if { (ac_try
="$ac_compile"
8767 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8768 *) ac_try_echo=$ac_try;;
8770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8771 (eval "$ac_compile") 2>conftest.er1
8773 grep -v '^ *+' conftest.er1 >conftest.err
8775 cat conftest.err >&5
8776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8777 (exit $ac_status); } && {
8778 test -z "$ac_cxx_werror_flag" ||
8779 test ! -s conftest.err
8780 } && test -s conftest.$ac_objext; then
8781 ac_header_compiler=yes
8783 echo "$as_me: failed program was:" >&5
8784 sed 's/^/| /' conftest.$ac_ext >&5
8786 ac_header_compiler=no
8789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8790 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8791 echo "${ECHO_T}$ac_header_compiler" >&6; }
8793 # Is the header present?
8794 { echo "$as_me:$LINENO: checking SDL11/SDL.h presence" >&5
8795 echo $ECHO_N "checking SDL11/SDL.h presence... $ECHO_C" >&6; }
8796 cat >conftest.$ac_ext <<_ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8802 #include <SDL11/SDL.h>
8804 if { (ac_try="$ac_cpp conftest.$ac_ext"
8806 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8807 *) ac_try_echo
=$ac_try;;
8809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8810 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8812 grep -v '^ *+' conftest.er1
>conftest.err
8814 cat conftest.err
>&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } >/dev
/null
&& {
8817 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8818 test ! -s conftest.err
8820 ac_header_preproc
=yes
8822 echo "$as_me: failed program was:" >&5
8823 sed 's/^/| /' conftest.
$ac_ext >&5
8825 ac_header_preproc
=no
8828 rm -f conftest.err conftest.
$ac_ext
8829 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8830 echo "${ECHO_T}$ac_header_preproc" >&6; }
8832 # So? What about this header?
8833 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8835 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
8836 echo "$as_me: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8837 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the compiler's result" >&5
8838 echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the compiler's result" >&2;}
8839 ac_header_preproc
=yes
8842 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: present but cannot be compiled" >&5
8843 echo "$as_me: WARNING: SDL11/SDL.h: present but cannot be compiled" >&2;}
8844 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&5
8845 echo "$as_me: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&2;}
8846 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: see the Autoconf documentation" >&5
8847 echo "$as_me: WARNING: SDL11/SDL.h: see the Autoconf documentation" >&2;}
8848 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
8849 echo "$as_me: WARNING: SDL11/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
8850 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&5
8851 echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&2;}
8852 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: in the future, the compiler will take precedence" >&5
8853 echo "$as_me: WARNING: SDL11/SDL.h: in the future, the compiler will take precedence" >&2;}
8857 { echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5
8858 echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6; }
8859 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 ac_cv_header_SDL11_SDL_h
=$ac_header_preproc
8864 { echo "$as_me:$LINENO: result: $ac_cv_header_SDL11_SDL_h" >&5
8865 echo "${ECHO_T}$ac_cv_header_SDL11_SDL_h" >&6; }
8868 if test $ac_cv_header_SDL11_SDL_h = yes; then
8873 if test "${HAS_SDL:-unset}" != "unset" ; then
8878 if test "${HAS_SDL:-unset}" != "unset" ; then
8881 cat >>confdefs.h
<<\_ACEOF
8885 if test ${SDLINCLUDEDIR:-unset} != "unset" ; then
8886 STDCCFLAGS
="$STDCCFLAGS -I${SDLINCLUDEDIR}"
8888 if test ${SDLLIBDIR:-unset} != "unset" ; then
8889 LDFLAGS
="$LDFLAGS -L${SDLLIBDIR}"
8891 ENDLDLIBS
="$ENDLDLIBS -l${SDLLIB}"
8899 # Check whether --enable-video was given.
8900 if test "${enable_video+set}" = set; then
8901 enableval
=$enable_video;
8905 if test "${enable_video}z" = "z" ; then
8906 enable_video
=$default_video
8912 if test "$enable_video" = "no" ; then
8914 cat >>confdefs.h
<<\_ACEOF
8915 #define NO_VIDEO_CAPTURE
8919 cat >>confdefs.h
<<\_ACEOF
8924 if test "$enable_plugins" = "yes" ; then
8927 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
8928 { echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
8929 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6; }
8930 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
8934 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6; }
8936 # Is the header compilable?
8937 { echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
8938 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6; }
8939 cat >conftest.
$ac_ext <<_ACEOF
8942 cat confdefs.h
>>conftest.
$ac_ext
8943 cat >>conftest.
$ac_ext <<_ACEOF
8944 /* end confdefs.h. */
8945 $ac_includes_default
8946 #include <linux/videodev.h>
8948 rm -f conftest.
$ac_objext
8949 if { (ac_try
="$ac_compile"
8951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8952 *) ac_try_echo=$ac_try;;
8954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8955 (eval "$ac_compile") 2>conftest.er1
8957 grep -v '^ *+' conftest.er1 >conftest.err
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } && {
8962 test -z "$ac_cxx_werror_flag" ||
8963 test ! -s conftest.err
8964 } && test -s conftest.$ac_objext; then
8965 ac_header_compiler=yes
8967 echo "$as_me: failed program was:" >&5
8968 sed 's/^/| /' conftest.$ac_ext >&5
8970 ac_header_compiler=no
8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8974 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8975 echo "${ECHO_T}$ac_header_compiler" >&6; }
8977 # Is the header present?
8978 { echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
8979 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6; }
8980 cat >conftest.$ac_ext <<_ACEOF
8983 cat confdefs.h >>conftest.$ac_ext
8984 cat >>conftest.$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8986 #include <linux/videodev.h>
8988 if { (ac_try="$ac_cpp conftest.$ac_ext"
8990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8991 *) ac_try_echo
=$ac_try;;
8993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8994 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8996 grep -v '^ *+' conftest.er1
>conftest.err
8998 cat conftest.err
>&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); } >/dev
/null
&& {
9001 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9002 test ! -s conftest.err
9004 ac_header_preproc
=yes
9006 echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.
$ac_ext >&5
9009 ac_header_preproc
=no
9012 rm -f conftest.err conftest.
$ac_ext
9013 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9014 echo "${ECHO_T}$ac_header_preproc" >&6; }
9016 # So? What about this header?
9017 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9019 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
9020 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9021 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5
9022 echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;}
9023 ac_header_preproc
=yes
9026 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
9027 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
9028 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
9029 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
9030 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5
9031 echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;}
9032 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5
9033 echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;}
9034 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
9035 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
9036 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5
9037 echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;}
9041 { echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
9042 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6; }
9043 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
9044 echo $ECHO_N "(cached) $ECHO_C" >&6
9046 ac_cv_header_linux_videodev_h
=$ac_header_preproc
9048 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
9049 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6; }
9052 if test $ac_cv_header_linux_videodev_h = yes; then
9057 if test "${HAS_VIDEO_CAPTURE}z" = "z" ; then
9058 { echo "$as_me:$LINENO: No Video Capture support" >&5
9059 echo "$as_me: No Video Capture support" >&6;}
9061 cat >>confdefs.h
<<\_ACEOF
9062 #define NO_VIDEO_CAPTURE
9067 # Check whether --enable-v4l was given.
9068 if test "${enable_v4l+set}" = set; then
9069 enableval
=$enable_v4l;
9072 # Check whether --enable-v4l2 was given.
9073 if test "${enable_v4l2+set}" = set; then
9074 enableval
=$enable_v4l2;
9077 # Check whether --enable-bsdvideo was given.
9078 if test "${enable_bsdvideo+set}" = set; then
9079 enableval
=$enable_bsdvideo;
9082 # Check whether --enable-avc was given.
9083 if test "${enable_avc+set}" = set; then
9084 enableval
=$enable_avc;
9087 # Check whether --enable-dc was given.
9088 if test "${enable_dc+set}" = set; then
9089 enableval
=$enable_dc;
9099 # Check whether --enable-shm_video was given.
9100 if test "${enable_shm_video+set}" = set; then
9101 enableval
=$enable_shm_video; shm_video
=$enableval
9105 if test "${enable_shmvideo}z" = "z" ; then
9106 shm_video
=$default_shmvideo
9109 USE_SHM_VIDEO_DEVICES
=
9110 if test "$shm_video" = "yes" ; then
9111 USE_SHM_VIDEO_DEVICES
=1
9112 { echo "$as_me:$LINENO: Shared memory video devices enabled" >&5
9113 echo "$as_me: Shared memory video devices enabled" >&6;}
9115 { echo "$as_me:$LINENO: Shared memory video devices disabled" >&5
9116 echo "$as_me: Shared memory video devices disabled" >&6;}
9122 # Check whether --enable-asn was given.
9123 if test "${enable_asn+set}" = set; then
9124 enableval
=$enable_asn;
9128 if test "${enable_asn}z" = "z" ; then
9129 enable_asn
=$default_asn
9133 if test "$enable_asn" = "no" ; then
9134 { echo "$as_me:$LINENO: ASN decoding/encoding support disabled" >&5
9135 echo "$as_me: ASN decoding/encoding support disabled" >&6;}
9138 cat >>confdefs.h
<<\_ACEOF
9147 # Check whether --enable-stun was given.
9148 if test "${enable_stun+set}" = set; then
9149 enableval
=$enable_stun;
9153 if test "${enable_stun}z" = "z" ; then
9154 enable_stun
=$default_stun
9158 if test "$enable_stun" = "no" ; then
9159 { echo "$as_me:$LINENO: STUN decoding/encoding support disabled" >&5
9160 echo "$as_me: STUN decoding/encoding support disabled" >&6;}
9163 cat >>confdefs.h
<<\_ACEOF
9172 # Check whether --enable-pipechan was given.
9173 if test "${enable_pipechan+set}" = set; then
9174 enableval
=$enable_pipechan;
9178 if test "${enable_pipechan}z" = "z" ; then
9179 enable_pipechan
=$default_pipechan
9183 if test "$enable_pipechan" = "no" ; then
9184 { echo "$as_me:$LINENO: pipechannel support disabled" >&5
9185 echo "$as_me: pipechannel support disabled" >&6;}
9188 cat >>confdefs.h
<<\_ACEOF
9189 #define P_PIPECHAN 1
9197 # Check whether --enable-dtmf was given.
9198 if test "${enable_dtmf+set}" = set; then
9199 enableval
=$enable_dtmf;
9203 if test "${enable_dtmf}z" = "z" ; then
9204 enable_dtmf
=$default_dtmf
9208 if test "$enable_dtmf" = "no" ; then
9209 { echo "$as_me:$LINENO: DTMF decoding/encoding support disabled" >&5
9210 echo "$as_me: DTMF decoding/encoding support disabled" >&6;}
9213 cat >>confdefs.h
<<\_ACEOF
9222 # Check whether --enable-wavfile was given.
9223 if test "${enable_wavfile+set}" = set; then
9224 enableval
=$enable_wavfile;
9228 if test "${enable_wavfile}z" = "z" ; then
9229 enable_wavfile
=$default_wavfile
9233 if test "$enable_wavfile" = "no" ; then
9234 { echo "$as_me:$LINENO: WAV file support disabled" >&5
9235 echo "$as_me: WAV file support disabled" >&6;}
9238 cat >>confdefs.h
<<\_ACEOF
9247 # Check whether --enable-socks was given.
9248 if test "${enable_socks+set}" = set; then
9249 enableval
=$enable_socks;
9253 if test "${enable_socks}z" = "z" ; then
9254 enable_socks
=$default_socks
9258 if test "$enable_socks" = "no" ; then
9259 { echo "$as_me:$LINENO: SOCKS decoding/encoding support disabled" >&5
9260 echo "$as_me: SOCKS decoding/encoding support disabled" >&6;}
9263 cat >>confdefs.h
<<\_ACEOF
9272 # Check whether --enable-rtp was given.
9273 if test "${enable_rtp+set}" = set; then
9274 enableval
=$enable_rtp;
9278 if test "${enable_ftp}z" = "z" ; then
9279 enable_ftp
=$default_ftp
9283 if test "$enable_ftp" = "no" ; then
9284 { echo "$as_me:$LINENO: FTP protocol support disabled" >&5
9285 echo "$as_me: FTP protocol support disabled" >&6;}
9288 cat >>confdefs.h
<<\_ACEOF
9297 # Check whether --enable-snmp was given.
9298 if test "${enable_snmp+set}" = set; then
9299 enableval
=$enable_snmp;
9303 if test "${enable_snmp}z" = "z" ; then
9304 enable_snmp
=$default_snmp
9308 if test "$enable_snmp" = "no" ; then
9309 { echo "$as_me:$LINENO: SNMP protocol support disabled" >&5
9310 echo "$as_me: SNMP protocol support disabled" >&6;}
9313 cat >>confdefs.h
<<\_ACEOF
9322 # Check whether --enable-telnet was given.
9323 if test "${enable_telnet+set}" = set; then
9324 enableval
=$enable_telnet;
9328 if test "${enable_telnet}z" = "z" ; then
9329 enable_telnet
=$default_telnet
9333 if test "$enable_telnet" = "no" ; then
9334 { echo "$as_me:$LINENO: Telnet protocol support disabled" >&5
9335 echo "$as_me: Telnet protocol support disabled" >&6;}
9338 cat >>confdefs.h
<<\_ACEOF
9347 # Check whether --enable-remconn was given.
9348 if test "${enable_remconn+set}" = set; then
9349 enableval
=$enable_remconn;
9353 if test "${enable_remconn}z" = "z" ; then
9354 enable_remconn
=$default_remconn
9358 if test "$enable_remconn" = "no" ; then
9359 { echo "$as_me:$LINENO: Remote connection support disabled" >&5
9360 echo "$as_me: Remote connection support disabled" >&6;}
9363 cat >>confdefs.h
<<\_ACEOF
9372 # Check whether --enable-serial was given.
9373 if test "${enable_serial+set}" = set; then
9374 enableval
=$enable_serial;
9378 if test "${enable_serial}z" = "z" ; then
9379 enable_serial
=$default_serial
9383 if test "$enable_serial" = "no" ; then
9384 { echo "$as_me:$LINENO: Serial port support disabled" >&5
9385 echo "$as_me: Serial port support disabled" >&6;}
9388 cat >>confdefs.h
<<\_ACEOF
9397 # Check whether --enable-pop3smtp was given.
9398 if test "${enable_pop3smtp+set}" = set; then
9399 enableval
=$enable_pop3smtp;
9403 if test "${enable_pop3smtp}z" = "z" ; then
9404 enable_pop3smtp
=$default_pop3smtp
9408 if test "$enable_pop3smtp" = "no" ; then
9409 { echo "$as_me:$LINENO: POP3/SMTP protocol support disabled" >&5
9410 echo "$as_me: POP3/SMTP protocol support disabled" >&6;}
9413 cat >>confdefs.h
<<\_ACEOF
9414 #define P_POP3SMTP 1
9422 # Check whether --enable-http was given.
9423 if test "${enable_http+set}" = set; then
9424 enableval
=$enable_http;
9428 if test "${enable_http}z" = "z" ; then
9429 enable_http
=$default_http
9433 if test "$enable_http" = "no" ; then
9434 { echo "$as_me:$LINENO: HTTP protocol support disabled" >&5
9435 echo "$as_me: HTTP protocol support disabled" >&6;}
9438 cat >>confdefs.h
<<\_ACEOF
9447 # Check whether --enable-httpsvc was given.
9448 if test "${enable_httpsvc+set}" = set; then
9449 enableval
=$enable_httpsvc;
9453 if test "${enable_httpsvc}z" = "z" ; then
9454 enable_httpsvc
=$default_httpsvc
9458 if test "$enable_httpsvc" = "no" ; then
9459 { echo "$as_me:$LINENO: HTTP service support disabled" >&5
9460 echo "$as_me: HTTP service support disabled" >&6;}
9463 cat >>confdefs.h
<<\_ACEOF
9472 # Check whether --enable-configfile was given.
9473 if test "${enable_configfile+set}" = set; then
9474 enableval
=$enable_configfile;
9478 if test "${enable_configfile}z" = "z" ; then
9479 enable_configfile
=$default_configfile
9483 if test "$enable_configfile" = "no" ; then
9484 { echo "$as_me:$LINENO: Config file support disabled" >&5
9485 echo "$as_me: Config file support disabled" >&6;}
9488 cat >>confdefs.h
<<\_ACEOF
9489 #define P_CONFIG_FILE 1
9497 # Check whether --enable-sockagg was given.
9498 if test "${enable_sockagg+set}" = set; then
9499 enableval
=$enable_sockagg;
9503 if test "${enable_sockagg}z" = "z" ; then
9504 enable_sockagg
=$default_sockagg
9508 if test "$enable_sockagg" = "no" ; then
9509 { echo "$as_me:$LINENO: Socket aggregation support disabled" >&5
9510 echo "$as_me: Socket aggregation support disabled" >&6;}
9512 { echo "$as_me:$LINENO: Socket aggregation support enabled (experimental)" >&5
9513 echo "$as_me: Socket aggregation support enabled (experimental)" >&6;}
9515 cat >>confdefs.h
<<\_ACEOF
9524 if test "$HAS_VIDEO" \
!= "1" ; then
9528 # Check whether --enable-vidfile was given.
9529 if test "${enable_vidfile+set}" = set; then
9530 enableval
=$enable_vidfile;
9534 if test "${enable_vidfile}z" = "z" ; then
9535 enable_vidfile
=$default_vidfile
9539 if test "$enable_vidfile" = "no" ; then
9540 { echo "$as_me:$LINENO: Video file support disabled" >&5
9541 echo "$as_me: Video file support disabled" >&6;}
9543 { echo "$as_me:$LINENO: Video file support enabled" >&5
9544 echo "$as_me: Video file support enabled" >&6;}
9546 cat >>confdefs.h
<<\_ACEOF
9555 # Check whether --enable-audio was given.
9556 if test "${enable_audio+set}" = set; then
9557 enableval
=$enable_audio;
9561 if test "${enable_audio}z" = "z" ; then
9562 enable_audio
=$default_audio
9566 if test "$enable_audio" = "no" ; then
9567 { echo "$as_me:$LINENO: Audio support disabled" >&5
9568 echo "$as_me: Audio support disabled" >&6;}
9571 cat >>confdefs.h
<<\_ACEOF
9581 if test "$enable_audio" = "yes" ; then
9583 # Check whether --enable-alsa was given.
9584 if test "${enable_alsa+set}" = set; then
9585 enableval
=$enable_alsa; enable_alsa
=$enableval
9588 # Check whether --enable-oss was given.
9589 if test "${enable_oss+set}" = set; then
9590 enableval
=$enable_oss; enable_oss
=$enableval
9594 if test "$enable_plugins" = "no" ; then
9596 if test "${enable_alsa}z" = "z" ; then
9597 enable_alsa
=$default_alsa
9600 if test "${enable_oss}z" = "z" ; then
9601 enable_oss
=$default_oss
9604 if test "$enable_alsa" = "yes" ; then
9605 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9606 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
9607 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
9608 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9609 echo $ECHO_N "(cached) $ECHO_C" >&6
9611 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
9612 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
9614 # Is the header compilable?
9615 { echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
9616 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6; }
9617 cat >conftest.
$ac_ext <<_ACEOF
9620 cat confdefs.h
>>conftest.
$ac_ext
9621 cat >>conftest.
$ac_ext <<_ACEOF
9622 /* end confdefs.h. */
9623 $ac_includes_default
9624 #include <alsa/asoundlib.h>
9626 rm -f conftest.
$ac_objext
9627 if { (ac_try
="$ac_compile"
9629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9630 *) ac_try_echo=$ac_try;;
9632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9633 (eval "$ac_compile") 2>conftest.er1
9635 grep -v '^ *+' conftest.er1 >conftest.err
9637 cat conftest.err >&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } && {
9640 test -z "$ac_cxx_werror_flag" ||
9641 test ! -s conftest.err
9642 } && test -s conftest.$ac_objext; then
9643 ac_header_compiler=yes
9645 echo "$as_me: failed program was:" >&5
9646 sed 's/^/| /' conftest.$ac_ext >&5
9648 ac_header_compiler=no
9651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9652 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9653 echo "${ECHO_T}$ac_header_compiler" >&6; }
9655 # Is the header present?
9656 { echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
9657 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6; }
9658 cat >conftest.$ac_ext <<_ACEOF
9661 cat confdefs.h >>conftest.$ac_ext
9662 cat >>conftest.$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9664 #include <alsa/asoundlib.h>
9666 if { (ac_try="$ac_cpp conftest.$ac_ext"
9668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9669 *) ac_try_echo
=$ac_try;;
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9674 grep -v '^ *+' conftest.er1
>conftest.err
9676 cat conftest.err
>&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } >/dev
/null
&& {
9679 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9680 test ! -s conftest.err
9682 ac_header_preproc
=yes
9684 echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.
$ac_ext >&5
9687 ac_header_preproc
=no
9690 rm -f conftest.err conftest.
$ac_ext
9691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9692 echo "${ECHO_T}$ac_header_preproc" >&6; }
9694 # So? What about this header?
9695 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9697 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9698 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9699 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
9700 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
9701 ac_header_preproc
=yes
9704 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
9705 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
9706 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
9707 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
9708 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
9709 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
9710 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
9711 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
9712 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
9713 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
9714 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
9715 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
9719 { echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
9720 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6; }
9721 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
9726 { echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
9727 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6; }
9730 if test $ac_cv_header_alsa_asoundlib_h = yes; then
9735 { echo "$as_me:$LINENO: checking for ALSA sound support" >&5
9736 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6; }
9737 if test "${HAS_ALSA}z" != "z"; then
9738 { echo "$as_me:$LINENO: result: yes" >&5
9739 echo "${ECHO_T}yes" >&6; }
9740 ENDLDLIBS
="$ENDLDLIBS -lasound"
9743 { echo "$as_me:$LINENO: result: no" >&5
9744 echo "${ECHO_T}no" >&6; }
9748 if test "${HAS_ALSA}z" = "z" ; then
9749 if test "$enable_oss" = "yes" ; then
9750 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9751 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
9752 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
9753 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9754 echo $ECHO_N "(cached) $ECHO_C" >&6
9756 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
9757 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
9759 # Is the header compilable?
9760 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
9761 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
9762 cat >conftest.
$ac_ext <<_ACEOF
9765 cat confdefs.h
>>conftest.
$ac_ext
9766 cat >>conftest.
$ac_ext <<_ACEOF
9767 /* end confdefs.h. */
9768 $ac_includes_default
9769 #include <sys/soundcard.h>
9771 rm -f conftest.
$ac_objext
9772 if { (ac_try
="$ac_compile"
9774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9775 *) ac_try_echo=$ac_try;;
9777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9778 (eval "$ac_compile") 2>conftest.er1
9780 grep -v '^ *+' conftest.er1 >conftest.err
9782 cat conftest.err >&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } && {
9785 test -z "$ac_cxx_werror_flag" ||
9786 test ! -s conftest.err
9787 } && test -s conftest.$ac_objext; then
9788 ac_header_compiler=yes
9790 echo "$as_me: failed program was:" >&5
9791 sed 's/^/| /' conftest.$ac_ext >&5
9793 ac_header_compiler=no
9796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9797 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9798 echo "${ECHO_T}$ac_header_compiler" >&6; }
9800 # Is the header present?
9801 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
9802 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
9803 cat >conftest.$ac_ext <<_ACEOF
9806 cat confdefs.h >>conftest.$ac_ext
9807 cat >>conftest.$ac_ext <<_ACEOF
9808 /* end confdefs.h. */
9809 #include <sys/soundcard.h>
9811 if { (ac_try="$ac_cpp conftest.$ac_ext"
9813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9814 *) ac_try_echo
=$ac_try;;
9816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9817 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9819 grep -v '^ *+' conftest.er1
>conftest.err
9821 cat conftest.err
>&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); } >/dev
/null
&& {
9824 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
9825 test ! -s conftest.err
9827 ac_header_preproc
=yes
9829 echo "$as_me: failed program was:" >&5
9830 sed 's/^/| /' conftest.
$ac_ext >&5
9832 ac_header_preproc
=no
9835 rm -f conftest.err conftest.
$ac_ext
9836 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9837 echo "${ECHO_T}$ac_header_preproc" >&6; }
9839 # So? What about this header?
9840 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9842 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
9843 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9844 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
9845 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
9846 ac_header_preproc
=yes
9849 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
9850 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
9851 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
9852 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
9853 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
9854 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
9855 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
9856 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
9857 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
9858 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
9859 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
9860 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
9864 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
9865 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
9866 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9867 echo $ECHO_N "(cached) $ECHO_C" >&6
9869 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
9871 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
9872 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
9875 if test $ac_cv_header_sys_soundcard_h = yes; then
9880 { echo "$as_me:$LINENO: checking for OSS sound support" >&5
9881 echo $ECHO_N "checking for OSS sound support... $ECHO_C" >&6; }
9882 if test "${SNDCARDHDR}z" != "z"; then
9885 { echo "$as_me:$LINENO: result: yes" >&5
9886 echo "${ECHO_T}yes" >&6; }
9888 { echo "$as_me:$LINENO: result: no" >&5
9889 echo "${ECHO_T}no" >&6; }
9903 if test "$OSTYPE" = "solaris" ; then
9906 { echo "$as_me:$LINENO: checking for swab" >&5
9907 echo $ECHO_N "checking for swab... $ECHO_C" >&6; }
9908 if test "${ac_cv_func_swab+set}" = set; then
9909 echo $ECHO_N "(cached) $ECHO_C" >&6
9911 cat >conftest.
$ac_ext <<_ACEOF
9914 cat confdefs.h
>>conftest.
$ac_ext
9915 cat >>conftest.
$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9917 /* Define swab to an innocuous variant, in case <limits.h> declares swab.
9918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9919 #define swab innocuous_swab
9921 /* System header to define __stub macros and hopefully few prototypes,
9922 which can conflict with char swab (); below.
9923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9924 <limits.h> exists even on freestanding compilers. */
9927 # include <limits.h>
9929 # include <assert.h>
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9941 /* The GNU C library defines this for functions which it implements
9942 to always fail with ENOSYS. Some functions are actually named
9943 something starting with __ and the normal name is an alias. */
9944 #if defined __stub_swab || defined __stub___swab
9956 rm -f conftest.
$ac_objext conftest
$ac_exeext
9957 if { (ac_try
="$ac_link"
9959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9960 *) ac_try_echo=$ac_try;;
9962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9963 (eval "$ac_link") 2>conftest.er1
9965 grep -v '^ *+' conftest.er1 >conftest.err
9967 cat conftest.err >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && {
9970 test -z "$ac_cxx_werror_flag" ||
9971 test ! -s conftest.err
9972 } && test -s conftest$ac_exeext &&
9973 $as_test_x conftest$ac_exeext; then
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.$ac_ext >&5
9982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9983 conftest$ac_exeext conftest.$ac_ext
9985 { echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
9986 echo "${ECHO_T}$ac_cv_func_swab" >&6; }
9987 if test $ac_cv_func_swab = yes; then
9992 if test "x$ac_cv_func_swab" = "xyes" ; then
9994 cat >>confdefs.h <<\_ACEOF
9995 #define USE_SYSTEM_SWAB
10001 # Check whether --enable-memcheck was given.
10002 if test "${enable_memcheck+set}" = set; then
10003 enableval=$enable_memcheck; memcheck=$enableval
10007 if test "$memcheck" = "yes" ; then
10008 cat >>confdefs.h <<\_ACEOF
10009 #define PMEMORY_CHECK 1
10012 { echo "$as_me:$LINENO: Memory checking enabled" >&5
10013 echo "$as_me: Memory checking enabled" >&6;}
10019 # Check whether --enable-odbc was given.
10020 if test "${enable_odbc+set}" = set; then
10021 enableval=$enable_odbc;
10025 if test "${enable_odbc}z" = "z" ; then
10026 enable_odbc=$default_odbc
10030 if test "$enable_odbc" = "no" ; then
10031 { echo "$as_me:$LINENO: ODBC support disabled" >&5
10032 echo "$as_me: ODBC support disabled" >&6;}
10035 for ac_header in sql.h
10037 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10038 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10039 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10044 ac_res=`eval echo '${'$as_ac_Header'}'`
10045 { echo "$as_me:$LINENO: result: $ac_res" >&5
10046 echo "${ECHO_T}$ac_res" >&6; }
10048 # Is the header compilable?
10049 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10050 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10051 cat >conftest.$ac_ext <<_ACEOF
10054 cat confdefs.h >>conftest.$ac_ext
10055 cat >>conftest.$ac_ext <<_ACEOF
10056 /* end confdefs.h. */
10057 $ac_includes_default
10058 #include <$ac_header>
10060 rm -f conftest.$ac_objext
10061 if { (ac_try="$ac_compile"
10062 case "(($ac_try" in
10063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10064 *) ac_try_echo
=$ac_try;;
10066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10067 (eval "$ac_compile") 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && {
10074 test -z "$ac_cxx_werror_flag" ||
10075 test ! -s conftest.err
10076 } && test -s conftest.
$ac_objext; then
10077 ac_header_compiler
=yes
10079 echo "$as_me: failed program was:" >&5
10080 sed 's/^/| /' conftest.
$ac_ext >&5
10082 ac_header_compiler
=no
10085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10086 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10087 echo "${ECHO_T}$ac_header_compiler" >&6; }
10089 # Is the header present?
10090 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10091 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10098 #include <$ac_header>
10100 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10101 case "(($ac_try" in
10102 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10103 *) ac_try_echo=$ac_try;;
10105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10106 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10108 grep -v '^ *+' conftest.er1 >conftest.err
10110 cat conftest.err >&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); } >/dev/null && {
10113 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
10114 test ! -s conftest.err
10116 ac_header_preproc=yes
10118 echo "$as_me: failed program was:" >&5
10119 sed 's/^/| /' conftest.$ac_ext >&5
10121 ac_header_preproc=no
10124 rm -f conftest.err conftest.$ac_ext
10125 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10126 echo "${ECHO_T}$ac_header_preproc" >&6; }
10128 # So? What about this header?
10129 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10131 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10132 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10134 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10135 ac_header_preproc=yes
10138 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10139 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10140 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10141 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10142 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10143 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10144 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10145 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10148 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10149 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 eval "$as_ac_Header=\$ac_header_preproc"
10160 ac_res=`eval echo '${'$as_ac_Header'}'`
10161 { echo "$as_me:$LINENO: result: $ac_res" >&5
10162 echo "${ECHO_T}$ac_res" >&6; }
10165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10166 cat >>confdefs.h <<_ACEOF
10167 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10174 if test "${HAS_ODBC:-unset}" != "unset" ; then
10175 { echo "$as_me:$LINENO: checking for SQLAllocStmt in -lodbc" >&5
10176 echo $ECHO_N "checking for SQLAllocStmt in -lodbc... $ECHO_C" >&6; }
10177 if test "${ac_cv_lib_odbc_SQLAllocStmt+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lodbc $LIBS"
10182 cat >conftest.$ac_ext <<_ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10195 char SQLAllocStmt ();
10199 return SQLAllocStmt ();
10204 rm -f conftest.$ac_objext conftest$ac_exeext
10205 if { (ac_try="$ac_link"
10206 case "(($ac_try" in
10207 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10208 *) ac_try_echo
=$ac_try;;
10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10211 (eval "$ac_link") 2>conftest.er1
10213 grep -v '^ *+' conftest.er1
>conftest.err
10215 cat conftest.err
>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } && {
10218 test -z "$ac_cxx_werror_flag" ||
10219 test ! -s conftest.err
10220 } && test -s conftest
$ac_exeext &&
10221 $as_test_x conftest
$ac_exeext; then
10222 ac_cv_lib_odbc_SQLAllocStmt
=yes
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.
$ac_ext >&5
10227 ac_cv_lib_odbc_SQLAllocStmt
=no
10230 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10231 conftest
$ac_exeext conftest.
$ac_ext
10232 LIBS
=$ac_check_lib_save_LIBS
10234 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocStmt" >&5
10235 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocStmt" >&6; }
10236 if test $ac_cv_lib_odbc_SQLAllocStmt = yes; then
10243 { echo "$as_me:$LINENO: checking for /usr/local/include/sql.h" >&5
10244 echo $ECHO_N "checking for /usr/local/include/sql.h... $ECHO_C" >&6; }
10245 if test "${ac_cv_file__usr_local_include_sql_h+set}" = set; then
10246 echo $ECHO_N "(cached) $ECHO_C" >&6
10248 test "$cross_compiling" = yes &&
10249 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
10250 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
10251 { (exit 1); exit 1; }; }
10252 if test -r "/usr/local/include/sql.h"; then
10253 ac_cv_file__usr_local_include_sql_h
=yes
10255 ac_cv_file__usr_local_include_sql_h
=no
10258 { echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_sql_h" >&5
10259 echo "${ECHO_T}$ac_cv_file__usr_local_include_sql_h" >&6; }
10260 if test $ac_cv_file__usr_local_include_sql_h = yes; then
10264 if test "${HAS_ODBC:-unset}" != "unset" ; then
10265 ODBCINCLUDEDIR
=/usr
/local
/include
10266 ODBCLIBDIR
=/usr
/local
/lib
10270 if test "${HAS_ODBC:-unset}" != "unset" ; then
10273 cat >>confdefs.h
<<\_ACEOF
10277 if test ${ODBCINCLUDEDIR:-unset} != "unset" ; then
10278 STDCCFLAGS
="$STDCCFLAGS -I${ODBCINCLUDEDIR}"
10280 if test ${ODBCLIBDIR:-unset} != "unset" ; then
10281 LDFLAGS
="$LDFLAGS -L${ODBCLIBDIR}"
10283 ENDLDLIBS
="$ENDLDLIBS -lodbc"
10284 { echo "$as_me:$LINENO: ODBC support enabled" >&5
10285 echo "$as_me: ODBC support enabled" >&6;}
10293 if test "${HAS_RESOLVER:-unset}" != "unset" ; then
10294 if test "${RESOLVER_LIBS:-unset}" != "unset" ; then
10295 ENDLDLIBS
="$ENDLDLIBS $RESOLVER_LIBS"
10299 if test "${OSTYPE}" != "Darwin" ; then
10300 if test ${HAS_LIBDL} = yes ; then
10301 ENDLDLIBS
="$ENDLDLIBS -ldl"
10306 # Check whether --enable-exceptions was given.
10307 if test "${enable_exceptions+set}" = set; then
10308 enableval
=$enable_exceptions;
10312 if test "${enable_exceptions}z" != "yesz" ; then
10313 { echo "$as_me:$LINENO: C++ exceptions disabled" >&5
10314 echo "$as_me: C++ exceptions disabled" >&6;}
10315 STDCCFLAGS
="$STDCCFLAGS -fno-exceptions"
10317 cat >>confdefs.h
<<\_ACEOF
10318 #define P_EXCEPTIONS 1
10321 { echo "$as_me:$LINENO: C++ exceptions enabled" >&5
10322 echo "$as_me: C++ exceptions enabled" >&6;}
10323 STDCCFLAGS
="$STDCCFLAGS -fexceptions"
10333 # Find a good install program. We prefer a C program (faster),
10334 # so one script is as good as another. But avoid the broken or
10335 # incompatible versions:
10336 # SysV /etc/install, /usr/sbin/install
10337 # SunOS /usr/etc/install
10338 # IRIX /sbin/install
10340 # AmigaOS /C/install, which installs bootblocks on floppy discs
10341 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
10342 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
10343 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
10344 # OS/2's system install, which has a completely different semantic
10345 # ./install, which can be erroneously created by make from ./install.sh.
10346 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
10347 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
10348 if test -z "$INSTALL"; then
10349 if test "${ac_cv_path_install+set}" = set; then
10350 echo $ECHO_N "(cached) $ECHO_C" >&6
10352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10353 for as_dir
in $PATH
10356 test -z "$as_dir" && as_dir
=.
10357 # Account for people who put trailing slashes in PATH elements.
10359 .
/ | .
// |
/cC
/* | \
10360 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
10361 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
10364 # OSF1 and SCO ODT 3.0 have their own names for install.
10365 # Don't use installbsd from OSF since it installs stuff as root
10367 for ac_prog
in ginstall scoinst
install; do
10368 for ac_exec_ext
in '' $ac_executable_extensions; do
10369 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
10370 if test $ac_prog = install &&
10371 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10372 # AIX install. It has an incompatible calling convention.
10374 elif test $ac_prog = install &&
10375 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
10376 # program-specific install script used by HP pwplus--don't use.
10379 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
10392 if test "${ac_cv_path_install+set}" = set; then
10393 INSTALL
=$ac_cv_path_install
10395 # As a last resort, use the slow shell script. Don't cache a
10396 # value for INSTALL within a source directory, because that will
10397 # break other packages using the cache if that directory is
10398 # removed, or if the value is a relative name.
10399 INSTALL
=$ac_install_sh
10402 { echo "$as_me:$LINENO: result: $INSTALL" >&5
10403 echo "${ECHO_T}$INSTALL" >&6; }
10405 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
10406 # It thinks the first close brace ends the variable substitution.
10407 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
10409 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
10411 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
10414 ac_config_files
="$ac_config_files make/ptbuildopts.mak"
10416 ac_config_files
="$ac_config_files make/ptlib-config"
10418 ac_config_files
="$ac_config_files Makefile"
10421 #AC_CONFIG_FILES(include/ptbuildopts.h.in)
10422 ac_config_headers
="$ac_config_headers include/ptbuildopts.h"
10425 cat >confcache
<<\_ACEOF
10426 # This file is a shell script that caches the results of configure
10427 # tests run on this system so they can be shared between configure
10428 # scripts and configure runs, see configure's option --config-cache.
10429 # It is not useful on other systems. If it contains results you don't
10430 # want to keep, you may remove or edit it.
10432 # config.status only pays attention to the cache file if you give it
10433 # the --recheck option to rerun configure.
10435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10437 # following values.
10441 # The following way of writing the cache mishandles newlines in values,
10442 # but we know of no workaround that is simple, portable, and efficient.
10443 # So, we kill variables containing newlines.
10444 # Ultrix sh set writes to stderr and can't be redirected directly,
10445 # and sets the high bit in the cache file unless we assign to the vars.
10447 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10448 eval ac_val
=\$
$ac_var
10452 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10453 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10456 _ | IFS | as_nl
) ;; #(
10457 *) $as_unset $ac_var ;;
10463 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10464 *${as_nl}ac_space
=\
*)
10465 # `set' does not quote correctly, so add quotes (double-quote
10466 # substitution turns \\\\ into \\, and sed turns \\ into \).
10469 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10472 # `set' quotes correctly as required by POSIX, so do not add quotes.
10473 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10482 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10484 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10486 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10487 if test -w "$cache_file"; then
10488 test "x$cache_file" != "x/dev/null" &&
10489 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10490 echo "$as_me: updating cache $cache_file" >&6;}
10491 cat confcache
>$cache_file
10493 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10494 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10499 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10500 # Let make expand exec_prefix.
10501 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10503 DEFS
=-DHAVE_CONFIG_H
10507 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10508 # 1. Remove the extension, and $U if already installed.
10509 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10510 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10511 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10512 # will be set to the directory where LIBOBJS objects are built.
10513 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10514 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10516 LIBOBJS
=$ac_libobjs
10518 LTLIBOBJS
=$ac_ltlibobjs
10522 : ${CONFIG_STATUS=./config.status}
10523 ac_clean_files_save
=$ac_clean_files
10524 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10525 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10526 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10527 cat >$CONFIG_STATUS <<_ACEOF
10529 # Generated by $as_me.
10530 # Run this file to recreate the current configuration.
10531 # Compiler output produced by configure, useful for debugging
10532 # configure, is in config.log if it exists.
10535 ac_cs_recheck=false
10537 SHELL=\${CONFIG_SHELL-$SHELL}
10540 cat >>$CONFIG_STATUS <<\_ACEOF
10541 ## --------------------- ##
10542 ## M4sh Initialization. ##
10543 ## --------------------- ##
10545 # Be more Bourne compatible
10546 DUALCASE
=1; export DUALCASE
# for MKS sh
10547 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10550 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10551 # is contrary to our usage. Disable this feature.
10552 alias -g '${1+"$@"}'='"$@"'
10553 setopt NO_GLOB_SUBST
10555 case `(set -o) 2>/dev/null` in
10556 *posix
*) set -o posix
;;
10565 # Avoid depending upon Character Ranges.
10566 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10567 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10568 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10569 as_cr_digits
='0123456789'
10570 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10572 # The user is always right.
10573 if test "${PATH_SEPARATOR+set}" != set; then
10574 echo "#! /bin/sh" >conf$$.sh
10575 echo "exit 0" >>conf$$.sh
10577 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10585 # Support unset when possible.
10586 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10594 # We need space, tab and new line, in precisely that order. Quoting is
10595 # there to prevent editors from complaining about space-tab.
10596 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10597 # splitting by setting IFS to empty value.)
10602 # Find who we are. Look in the path if we contain no directory separator.
10604 *[\\/]* ) as_myself
=$0 ;;
10605 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10606 for as_dir
in $PATH
10609 test -z "$as_dir" && as_dir
=.
10610 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10616 # We did not find ourselves, most probably we were run as `sh COMMAND'
10617 # in which case we are not to be found in the path.
10618 if test "x$as_myself" = x
; then
10621 if test ! -f "$as_myself"; then
10622 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10623 { (exit 1); exit 1; }
10626 # Work around bugs in pre-3.0 UWIN ksh.
10627 for as_var
in ENV MAIL MAILPATH
10628 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10636 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10637 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10638 LC_TELEPHONE LC_TIME
10640 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10641 eval $as_var=C
; export $as_var
10643 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10647 # Required to use basename.
10648 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10649 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10655 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10656 as_basename
=basename
10662 # Name of the executable.
10663 as_me
=`$as_basename -- "$0" ||
10664 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10665 X"$0" : 'X\(//\)$' \| \
10666 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10668 sed '/^.*\/\([^/][^/]*\)\/*$/{
10687 as_lineno_1
=$LINENO
10688 as_lineno_2
=$LINENO
10689 test "x$as_lineno_1" != "x$as_lineno_2" &&
10690 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10692 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10693 # uniformly replaced by the line number. The first 'sed' inserts a
10694 # line-number line after each line using $LINENO; the second 'sed'
10695 # does the real work. The second script uses 'N' to pair each
10696 # line-number line with the line containing $LINENO, and appends
10697 # trailing '-' during substitution so that $LINENO is not a special
10698 # case at line end.
10699 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10700 # scripts with optimization help from Paolo Bonzini. Blame Lee
10701 # E. McMahon (1931-1989) for sed's syntax. :-)
10713 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10716 ' >$as_me.lineno
&&
10717 chmod +x
"$as_me.lineno" ||
10718 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10719 { (exit 1); exit 1; }; }
10721 # Don't try to exec as it changes $[0], causing all sort of problems
10722 # (the dirname of $[0] is not the place where we might find the
10723 # original and so on. Autoconf is especially sensitive to this).
10724 .
"./$as_me.lineno"
10725 # Exit status is that of the last command.
10730 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10736 ECHO_C
= ECHO_N
= ECHO_T
=
10737 case `echo -n x` in
10739 case `echo 'x\c'` in
10740 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10747 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10748 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10754 rm -f conf$$ conf$$.exe conf$$.
file
10755 if test -d conf$$.dir
; then
10756 rm -f conf$$.dir
/conf$$.
file
10762 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10764 # ... but there are two gotchas:
10765 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10766 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10767 # In both cases, we have to default to `cp -p'.
10768 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10770 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10775 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10776 rmdir conf$$.dir
2>/dev
/null
10778 if mkdir
-p .
2>/dev
/null
; then
10781 test -d .
/-p && rmdir .
/-p
10785 if test -x / >/dev
/null
2>&1; then
10786 as_test_x
='test -x'
10788 if ls -dL / >/dev
/null
2>&1; then
10795 if test -d "$1"; then
10801 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10802 ???[sx]*):;;*)false;;esac;fi
10806 as_executable_p
=$as_test_x
10808 # Sed expression to map a string onto a valid CPP name.
10809 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10811 # Sed expression to map a string onto a valid variable name.
10812 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10817 # Save the log message, to keep $[0] and so on meaningful, and to
10818 # report actual input values of CONFIG_FILES etc. instead of their
10819 # values after options handling.
10821 This file was extended by $as_me, which was
10822 generated by GNU Autoconf 2.61. Invocation command line was
10824 CONFIG_FILES = $CONFIG_FILES
10825 CONFIG_HEADERS = $CONFIG_HEADERS
10826 CONFIG_LINKS = $CONFIG_LINKS
10827 CONFIG_COMMANDS = $CONFIG_COMMANDS
10830 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10835 cat >>$CONFIG_STATUS <<_ACEOF
10836 # Files that config.status was made for.
10837 config_files="$ac_config_files"
10838 config_headers="$ac_config_headers"
10842 cat >>$CONFIG_STATUS <<\_ACEOF
10844 \`$as_me' instantiates files from templates according to the
10845 current configuration.
10847 Usage: $0 [OPTIONS] [FILE]...
10849 -h, --help print this help, then exit
10850 -V, --version print version number and configuration settings, then exit
10851 -q, --quiet do not print progress messages
10852 -d, --debug don't remove temporary files
10853 --recheck update $as_me by reconfiguring in the same conditions
10854 --file=FILE[:TEMPLATE]
10855 instantiate the configuration file FILE
10856 --header=FILE[:TEMPLATE]
10857 instantiate the configuration header FILE
10859 Configuration files:
10862 Configuration headers:
10865 Report bugs to <bug-autoconf@gnu.org>."
10868 cat >>$CONFIG_STATUS <<_ACEOF
10871 configured by $0, generated by GNU Autoconf 2.61,
10872 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10874 Copyright (C) 2006 Free Software Foundation, Inc.
10875 This config.status script is free software; the Free Software Foundation
10876 gives unlimited permission to copy, distribute and modify it."
10883 cat >>$CONFIG_STATUS <<\_ACEOF
10884 # If no file are specified by the user, then we need to provide default
10885 # value. By we need to know if files were specified by the user.
10891 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10892 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10903 # Handling of the options.
10904 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10906 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10907 echo "$ac_cs_version"; exit ;;
10908 --debug |
--debu |
--deb |
--de |
--d |
-d )
10910 --file |
--fil |
--fi |
--f )
10912 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10913 ac_need_defaults
=false
;;
10914 --header |
--heade |
--head |
--hea )
10916 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10917 ac_need_defaults
=false
;;
10919 # Conflict between --help and --header
10920 { echo "$as_me: error: ambiguous option: $1
10921 Try \`$0 --help' for more information." >&2
10922 { (exit 1); exit 1; }; };;
10923 --help |
--hel |
-h )
10924 echo "$ac_cs_usage"; exit ;;
10925 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10926 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10929 # This is an error.
10930 -*) { echo "$as_me: error: unrecognized option: $1
10931 Try \`$0 --help' for more information." >&2
10932 { (exit 1); exit 1; }; } ;;
10934 *) ac_config_targets
="$ac_config_targets $1"
10935 ac_need_defaults
=false
;;
10941 ac_configure_extra_args
=
10943 if $ac_cs_silent; then
10945 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10949 cat >>$CONFIG_STATUS <<_ACEOF
10950 if \$ac_cs_recheck; then
10951 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10952 CONFIG_SHELL=$SHELL
10953 export CONFIG_SHELL
10954 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10958 cat >>$CONFIG_STATUS <<\_ACEOF
10962 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10963 ## Running $as_me. ##
10969 cat >>$CONFIG_STATUS <<_ACEOF
10972 cat >>$CONFIG_STATUS <<\_ACEOF
10974 # Handling of arguments.
10975 for ac_config_target
in $ac_config_targets
10977 case $ac_config_target in
10978 "make/ptbuildopts.mak") CONFIG_FILES
="$CONFIG_FILES make/ptbuildopts.mak" ;;
10979 "make/ptlib-config") CONFIG_FILES
="$CONFIG_FILES make/ptlib-config" ;;
10980 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10981 "include/ptbuildopts.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/ptbuildopts.h" ;;
10983 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10984 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10985 { (exit 1); exit 1; }; };;
10990 # If the user did not use the arguments to specify the items to instantiate,
10991 # then the envvar interface is used. Set only those that are not.
10992 # We use the long form for the default assignment because of an extremely
10993 # bizarre bug on SunOS 4.1.3.
10994 if $ac_need_defaults; then
10995 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10996 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10999 # Have a temporary directory for convenience. Make it in the build tree
11000 # simply because there is no reason against having it here, and in addition,
11001 # creating and moving files from /tmp can sometimes cause problems.
11002 # Hook for its removal unless debugging.
11003 # Note that there is a small window in which the directory will not be cleaned:
11004 # after its creation but before its name has been assigned to `$tmp'.
11008 trap 'exit_status=$?
11009 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11011 trap '{ (exit 1); exit 1; }' 1 2 13 15
11013 # Create a (secure) tmp directory for tmp files.
11016 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11017 test -n "$tmp" && test -d "$tmp"
11020 tmp
=.
/conf$$
-$RANDOM
11021 (umask 077 && mkdir
"$tmp")
11024 echo "$me: cannot create a temporary directory in ." >&2
11025 { (exit 1); exit 1; }
11029 # Set up the sed scripts for CONFIG_FILES section.
11032 # No need to generate the scripts if there are no CONFIG_FILES.
11033 # This happens for instance when ./config.status config.h
11034 if test -n "$CONFIG_FILES"; then
11041 for ac_last_try
in false false false false false
:; do
11042 cat >conf$
$subs.
sed <<_ACEOF
11043 SHELL!$SHELL$ac_delim
11044 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11045 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11046 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11047 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11048 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11049 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11050 exec_prefix!$exec_prefix$ac_delim
11051 prefix!$prefix$ac_delim
11052 program_transform_name!$program_transform_name$ac_delim
11053 bindir!$bindir$ac_delim
11054 sbindir!$sbindir$ac_delim
11055 libexecdir!$libexecdir$ac_delim
11056 datarootdir!$datarootdir$ac_delim
11057 datadir!$datadir$ac_delim
11058 sysconfdir!$sysconfdir$ac_delim
11059 sharedstatedir!$sharedstatedir$ac_delim
11060 localstatedir!$localstatedir$ac_delim
11061 includedir!$includedir$ac_delim
11062 oldincludedir!$oldincludedir$ac_delim
11063 docdir!$docdir$ac_delim
11064 infodir!$infodir$ac_delim
11065 htmldir!$htmldir$ac_delim
11066 dvidir!$dvidir$ac_delim
11067 pdfdir!$pdfdir$ac_delim
11068 psdir!$psdir$ac_delim
11069 libdir!$libdir$ac_delim
11070 localedir!$localedir$ac_delim
11071 mandir!$mandir$ac_delim
11072 DEFS!$DEFS$ac_delim
11073 ECHO_C!$ECHO_C$ac_delim
11074 ECHO_N!$ECHO_N$ac_delim
11075 ECHO_T!$ECHO_T$ac_delim
11076 LIBS!$LIBS$ac_delim
11077 build_alias!$build_alias$ac_delim
11078 host_alias!$host_alias$ac_delim
11079 target_alias!$target_alias$ac_delim
11080 subdirs!$subdirs$ac_delim
11082 CXXFLAGS!$CXXFLAGS$ac_delim
11083 LDFLAGS!$LDFLAGS$ac_delim
11084 CPPFLAGS!$CPPFLAGS$ac_delim
11085 ac_ct_CXX!$ac_ct_CXX$ac_delim
11086 EXEEXT!$EXEEXT$ac_delim
11087 OBJEXT!$OBJEXT$ac_delim
11088 PWLIBDIR!$PWLIBDIR$ac_delim
11089 PWINSTDIR!$PWINSTDIR$ac_delim
11090 INSTALLPREFIX!$INSTALLPREFIX$ac_delim
11091 LIBDIR!$LIBDIR$ac_delim
11092 MAJOR_VERSION!$MAJOR_VERSION$ac_delim
11093 MINOR_VERSION!$MINOR_VERSION$ac_delim
11094 BUILD_NUMBER!$BUILD_NUMBER$ac_delim
11095 PWLIB_VERSION!$PWLIB_VERSION$ac_delim
11096 build!$build$ac_delim
11097 build_cpu!$build_cpu$ac_delim
11098 build_vendor!$build_vendor$ac_delim
11099 build_os!$build_os$ac_delim
11100 host!$host$ac_delim
11101 host_cpu!$host_cpu$ac_delim
11102 host_vendor!$host_vendor$ac_delim
11103 host_os!$host_os$ac_delim
11104 target!$target$ac_delim
11105 target_cpu!$target_cpu$ac_delim
11106 target_vendor!$target_vendor$ac_delim
11107 target_os!$target_os$ac_delim
11108 MACHTYPE!$MACHTYPE$ac_delim
11109 OSTYPE!$OSTYPE$ac_delim
11110 OSRELEASE!$OSRELEASE$ac_delim
11111 TARGETDIR!$TARGETDIR$ac_delim
11112 USE_GCC!$USE_GCC$ac_delim
11113 USE_PCH!$USE_PCH$ac_delim
11114 SHAREDLIBEXT!$SHAREDLIBEXT$ac_delim
11115 CXXCPP!$CXXCPP$ac_delim
11116 GREP!$GREP$ac_delim
11117 EGREP!$EGREP$ac_delim
11118 FLEX!$FLEX$ac_delim
11120 BISON!$BISON$ac_delim
11121 HAS_REGEX!$HAS_REGEX$ac_delim
11122 HAS_PLUGINS!$HAS_PLUGINS$ac_delim
11123 HAS_RESOLVER!$HAS_RESOLVER$ac_delim
11124 HAS_SASL!$HAS_SASL$ac_delim
11125 HAS_SASL2!$HAS_SASL2$ac_delim
11126 HAS_OPENLDAP!$HAS_OPENLDAP$ac_delim
11127 HAS_OPENSSL!$HAS_OPENSSL$ac_delim
11128 P_STATIC_ENDLDLIBS!$P_STATIC_ENDLDLIBS$ac_delim
11129 P_STATIC_LDFLAGS!$P_STATIC_LDFLAGS$ac_delim
11130 HAS_EXPAT!$HAS_EXPAT$ac_delim
11131 HAS_VXML!$HAS_VXML$ac_delim
11132 HAS_JABBER!$HAS_JABBER$ac_delim
11133 HAS_XMLRPC!$HAS_XMLRPC$ac_delim
11134 HAS_SOAP!$HAS_SOAP$ac_delim
11135 HAS_TTS!$HAS_TTS$ac_delim
11136 HAS_IPV6!$HAS_IPV6$ac_delim
11137 HAS_SDL!$HAS_SDL$ac_delim
11138 HAS_VIDEO!$HAS_VIDEO$ac_delim
11139 HAS_VIDEO_CAPTURE!$HAS_VIDEO_CAPTURE$ac_delim
11142 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11144 elif $ac_last_try; then
11145 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11146 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11147 { (exit 1); exit 1; }; }
11149 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11153 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11154 if test -n "$ac_eof"; then
11155 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11156 ac_eof
=`expr $ac_eof + 1`
11159 cat >>$CONFIG_STATUS <<_ACEOF
11160 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11164 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11165 s/^/s,@/; s/!/@,|#_!!_#|/
11168 s/'"$ac_delim"'$/,g/; t
11170 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11171 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11172 rm -f conf$
$subs.
sed
11173 cat >>$CONFIG_STATUS <<_ACEOF
11179 for ac_last_try
in false false false false false
:; do
11180 cat >conf$
$subs.
sed <<_ACEOF
11181 USE_SHM_VIDEO_DEVICES!$USE_SHM_VIDEO_DEVICES$ac_delim
11182 HAS_ASN!$HAS_ASN$ac_delim
11183 HAS_STUN!$HAS_STUN$ac_delim
11184 HAS_PIPECHAN!$HAS_PIPECHAN$ac_delim
11185 HAS_DTMF!$HAS_DTMF$ac_delim
11186 HAS_WAVFILE!$HAS_WAVFILE$ac_delim
11187 HAS_SOCKS!$HAS_SOCKS$ac_delim
11188 HAS_FTP!$HAS_FTP$ac_delim
11189 HAS_SNMP!$HAS_SNMP$ac_delim
11190 HAS_TELNET!$HAS_TELNET$ac_delim
11191 HAS_REMCONN!$HAS_REMCONN$ac_delim
11192 HAS_SERIAL!$HAS_SERIAL$ac_delim
11193 HAS_POP3SMTP!$HAS_POP3SMTP$ac_delim
11194 HAS_HTTP!$HAS_HTTP$ac_delim
11195 HAS_HTTPSVC!$HAS_HTTPSVC$ac_delim
11196 HAS_CONFIG_FILE!$HAS_CONFIG_FILE$ac_delim
11197 HAS_SOCKAGG!$HAS_SOCKAGG$ac_delim
11198 HAS_VIDFILE!$HAS_VIDFILE$ac_delim
11199 HAS_AUDIO!$HAS_AUDIO$ac_delim
11200 HAS_OSS!$HAS_OSS$ac_delim
11201 HAS_ALSA!$HAS_ALSA$ac_delim
11202 HAS_ODBC!$HAS_ODBC$ac_delim
11203 STDCCFLAGS!$STDCCFLAGS$ac_delim
11204 STDCXXFLAGS!$STDCXXFLAGS$ac_delim
11205 OPTSTDCCFLAGS!$OPTSTDCCFLAGS$ac_delim
11206 ENDLDLIBS!$ENDLDLIBS$ac_delim
11207 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
11208 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
11209 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
11210 INSTALL_DATA!$INSTALL_DATA$ac_delim
11211 LIBOBJS!$LIBOBJS$ac_delim
11212 LTLIBOBJS!$LTLIBOBJS$ac_delim
11215 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
11217 elif $ac_last_try; then
11218 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11219 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11220 { (exit 1); exit 1; }; }
11222 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11226 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11227 if test -n "$ac_eof"; then
11228 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11229 ac_eof
=`expr $ac_eof + 1`
11232 cat >>$CONFIG_STATUS <<_ACEOF
11233 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11234 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11237 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11238 s/^/s,@/; s/!/@,|#_!!_#|/
11241 s/'"$ac_delim"'$/,g/; t
11243 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11244 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11245 rm -f conf$
$subs.
sed
11246 cat >>$CONFIG_STATUS <<_ACEOF
11253 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11254 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11255 # trailing colons and then remove the whole line if VPATH becomes empty
11256 # (actually we leave an empty line to preserve line numbers).
11257 if test "x$srcdir" = x.
; then
11258 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11259 s/:*\$(srcdir):*/:/
11260 s/:*\${srcdir}:*/:/
11262 s/^\([^=]*=[ ]*\):*/\1/
11268 cat >>$CONFIG_STATUS <<\_ACEOF
11269 fi # test -n "$CONFIG_FILES"
11272 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS
11275 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11277 case $ac_mode$ac_tag in
11279 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11280 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11281 { (exit 1); exit 1; }; };;
11282 :[FH
]-) ac_tag
=-:-;;
11283 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11300 -) ac_f
="$tmp/stdin";;
11301 *) # Look for the file first in the build tree, then in the source tree
11302 # (if the path is not absolute). The absolute path cannot be DOS-style,
11303 # because $ac_f cannot contain `:'.
11307 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11309 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11310 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11311 { (exit 1); exit 1; }; };;
11313 ac_file_inputs
="$ac_file_inputs $ac_f"
11316 # Let's still pretend it is `configure' which instantiates (i.e., don't
11317 # use $as_me), people would be surprised to read:
11318 # /* config.h. Generated by config.status. */
11319 configure_input
="Generated from "`IFS=:
11320 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11321 if test x
"$ac_file" != x-
; then
11322 configure_input
="$ac_file. $configure_input"
11323 { echo "$as_me:$LINENO: creating $ac_file" >&5
11324 echo "$as_me: creating $ac_file" >&6;}
11328 *:-:* |
*:-) cat >"$tmp/stdin";;
11333 ac_dir
=`$as_dirname -- "$ac_file" ||
11334 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11335 X"$ac_file" : 'X\(//\)[^/]' \| \
11336 X"$ac_file" : 'X\(//\)$' \| \
11337 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11343 /^X\(\/\/\)[^/].*/{
11358 -*) as_dir
=.
/$as_dir;;
11360 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11364 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11365 *) as_qdir
=$as_dir;;
11367 as_dirs
="'$as_qdir' $as_dirs"
11368 as_dir
=`$as_dirname -- "$as_dir" ||
11369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11370 X"$as_dir" : 'X\(//\)[^/]' \| \
11371 X"$as_dir" : 'X\(//\)$' \| \
11372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11378 /^X\(\/\/\)[^/].*/{
11391 test -d "$as_dir" && break
11393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11394 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11395 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11396 { (exit 1); exit 1; }; }; }
11400 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11402 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11403 # A ".." for each directory in $ac_dir_suffix.
11404 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11405 case $ac_top_builddir_sub in
11406 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11407 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11410 ac_abs_top_builddir
=$ac_pwd
11411 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11412 # for backward compatibility:
11413 ac_top_builddir
=$ac_top_build_prefix
11416 .
) # We are building in place.
11418 ac_top_srcdir
=$ac_top_builddir_sub
11419 ac_abs_top_srcdir
=$ac_pwd ;;
11420 [\\/]* | ?
:[\\/]* ) # Absolute name.
11421 ac_srcdir
=$srcdir$ac_dir_suffix;
11422 ac_top_srcdir
=$srcdir
11423 ac_abs_top_srcdir
=$srcdir ;;
11424 *) # Relative name.
11425 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11426 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11427 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11429 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11439 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
11440 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
11444 cat >>$CONFIG_STATUS <<\_ACEOF
11445 # If the template does not know about datarootdir, expand it.
11446 # FIXME: This hack should be removed a few years after 2.60.
11447 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11449 case `sed -n '/datarootdir/ {
11458 ' $ac_file_inputs` in
11459 *datarootdir
*) ac_datarootdir_seen
=yes;;
11460 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11461 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11462 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11464 cat >>$CONFIG_STATUS <<_ACEOF
11465 ac_datarootdir_hack='
11466 s&@datadir@&$datadir&g
11467 s&@docdir@&$docdir&g
11468 s&@infodir@&$infodir&g
11469 s&@localedir@&$localedir&g
11470 s&@mandir@&$mandir&g
11471 s&\\\${datarootdir}&$datarootdir&g' ;;
11475 # Neutralize VPATH when `$srcdir' = `.'.
11476 # Shell code in configure.ac might set extrasub.
11477 # FIXME: do we really want to maintain this feature?
11478 cat >>$CONFIG_STATUS <<_ACEOF
11482 cat >>$CONFIG_STATUS <<\_ACEOF
11484 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11485 s
&@configure_input@
&$configure_input&;t t
11486 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11487 s
&@srcdir@
&$ac_srcdir&;t t
11488 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11489 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11490 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11491 s
&@builddir@
&$ac_builddir&;t t
11492 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11493 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11494 s
&@INSTALL@
&$ac_INSTALL&;t t
11495 $ac_datarootdir_hack
11496 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
11498 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11499 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11500 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11501 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11502 which seems to be undefined. Please make sure it is defined." >&5
11503 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11504 which seems to be undefined. Please make sure it is defined." >&2;}
11508 -) cat "$tmp/out"; rm -f "$tmp/out";;
11509 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11518 # Transform confdefs.h into a sed script `conftest.defines', that
11519 # substitutes the proper values into config.h.in to produce config.h.
11520 rm -f conftest.defines conftest.
tail
11521 # First, append a space to every undef/define line, to ease matching.
11522 echo 's/$/ /' >conftest.defines
11523 # Then, protect against being on the right side of a sed subst, or in
11524 # an unquoted here document, in config.status. If some macros were
11525 # called several times there might be several #defines for the same
11526 # symbol, which is useless. But do not sort them, since the last
11527 # AC_DEFINE must be honored.
11528 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11529 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11530 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11531 # PARAMS is the parameter list in the macro definition--in most cases, it's
11532 # just an empty string.
11533 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11534 ac_dB
='\\)[ (].*,\\1define\\2'
11542 s/^[ ]*#[ ]*define[ ][ ]*//
11547 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11548 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11549 ' >>conftest.defines
11551 # Remove the space that was appended to ease matching.
11552 # Then replace #undef with comments. This is necessary, for
11553 # example, in the case of _POSIX_SOURCE, which is predefined and required
11554 # on some systems where configure will not decide to define it.
11555 # (The regexp can be short, since the line contains either #define or #undef.)
11557 s,^[ #]*u.*,/* & */,' >>conftest.defines
11559 # Break up conftest.defines:
11560 ac_max_sed_lines
=50
11562 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11563 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11564 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11566 ac_in
='$ac_file_inputs'
11567 ac_out
='"$tmp/out1"'
11568 ac_nxt
='"$tmp/out2"'
11572 # Write a here document:
11573 cat >>$CONFIG_STATUS <<_ACEOF
11574 # First, check the format of the line:
11575 cat >"\$tmp/defines.sed" <<\\CEOF
11576 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11577 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11581 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11583 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11584 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11585 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11586 grep . conftest.
tail >/dev
/null ||
break
11587 rm -f conftest.defines
11588 mv conftest.
tail conftest.defines
11590 rm -f conftest.defines conftest.
tail
11592 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11593 cat >>$CONFIG_STATUS <<\_ACEOF
11594 if test x
"$ac_file" != x-
; then
11595 echo "/* $configure_input */" >"$tmp/config.h"
11596 cat "$ac_result" >>"$tmp/config.h"
11597 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11598 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11599 echo "$as_me: $ac_file is unchanged" >&6;}
11602 mv "$tmp/config.h" $ac_file
11605 echo "/* $configure_input */"
11615 case $ac_file$ac_mode in
11616 "make/ptlib-config":F
) chmod a
+x make
/ptlib-config
;;
11622 { (exit 0); exit 0; }
11624 chmod +x
$CONFIG_STATUS
11625 ac_clean_files
=$ac_clean_files_save
11628 # configure is writing to config.log, and then calls config.status.
11629 # config.status does its own redirection, appending to config.log.
11630 # Unfortunately, on DOS this fails, as config.log is still kept open
11631 # by configure, so config.status won't be able to write to it; its
11632 # output is simply discarded. So we exec the FD to /dev/null,
11633 # effectively closing config.log, so it can be properly (re)opened and
11634 # appended to by config.status. When coming back to configure, we
11635 # need to make the FD available again.
11636 if test "$no_create" != yes; then
11638 ac_config_status_args
=
11639 test "$silent" = yes &&
11640 ac_config_status_args
="$ac_config_status_args --quiet"
11642 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11644 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11645 # would make configure fail if this is the last instruction.
11646 $ac_cs_success ||
{ (exit 1); exit 1; }
11650 # CONFIG_SUBDIRS section.
11652 if test "$no_recursion" != yes; then
11654 # Remove --cache-file and --srcdir arguments so they do not pile up.
11655 ac_sub_configure_args
=
11657 eval "set x $ac_configure_args"
11661 if test -n "$ac_prev"; then
11666 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
11667 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
11668 ac_prev
=cache_file
;;
11669 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
11670 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
11673 --config-cache |
-C)
11675 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
11677 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
11679 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
11681 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
11685 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11687 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
11691 # Always prepend --prefix to ensure using the same prefix
11692 # in subdir configurations.
11693 ac_arg
="--prefix=$prefix"
11695 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11697 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
11700 if test "$silent" = yes; then
11701 ac_sub_configure_args
="--silent $ac_sub_configure_args"
11705 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
11707 # Do not complain, so a configure script can configure whichever
11708 # parts of a large source tree are present.
11709 test -d "$srcdir/$ac_dir" ||
continue
11711 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11712 echo "$as_me:$LINENO: $ac_msg" >&5
11716 -*) as_dir
=.
/$as_dir;;
11718 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11722 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11723 *) as_qdir
=$as_dir;;
11725 as_dirs
="'$as_qdir' $as_dirs"
11726 as_dir
=`$as_dirname -- "$as_dir" ||
11727 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11728 X"$as_dir" : 'X\(//\)[^/]' \| \
11729 X"$as_dir" : 'X\(//\)$' \| \
11730 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11736 /^X\(\/\/\)[^/].*/{
11749 test -d "$as_dir" && break
11751 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11752 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11753 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11754 { (exit 1); exit 1; }; }; }
11758 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11761 # A ".." for each directory in $ac_dir_suffix.
11762 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11763 case $ac_top_builddir_sub in
11764 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11765 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11768 ac_abs_top_builddir
=$ac_pwd
11769 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11770 # for backward compatibility:
11771 ac_top_builddir
=$ac_top_build_prefix
11774 .
) # We are building in place.
11776 ac_top_srcdir
=$ac_top_builddir_sub
11777 ac_abs_top_srcdir
=$ac_pwd ;;
11778 [\\/]* | ?
:[\\/]* ) # Absolute name.
11779 ac_srcdir
=$srcdir$ac_dir_suffix;
11780 ac_top_srcdir
=$srcdir
11781 ac_abs_top_srcdir
=$srcdir ;;
11782 *) # Relative name.
11783 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11784 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11785 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11787 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11792 # Check for guested configure; otherwise get Cygnus style configure.
11793 if test -f "$ac_srcdir/configure.gnu"; then
11794 ac_sub_configure
=$ac_srcdir/configure.gnu
11795 elif test -f "$ac_srcdir/configure"; then
11796 ac_sub_configure
=$ac_srcdir/configure
11797 elif test -f "$ac_srcdir/configure.in"; then
11798 # This should be Cygnus configure.
11799 ac_sub_configure
=$ac_aux_dir/configure
11801 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
11802 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11806 # The recursion is here.
11807 if test -n "$ac_sub_configure"; then
11808 # Make the cache file name correct relative to the subdirectory.
11809 case $cache_file in
11810 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
11811 *) # Relative name.
11812 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
11815 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
11816 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11817 # The eval makes quoting arguments work.
11818 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11819 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11820 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
11821 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
11822 { (exit 1); exit 1; }; }