2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="include/ptlib.h"
275 ac_subdirs_all
="$ac_subdirs_all plugins"
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR MAJOR_VERSION MINOR_VERSION BUILD_NUMBER PWLIB_VERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os MACHTYPE OSTYPE OSRELEASE TARGETDIR USE_GCC USE_PCH SHAREDLIBEXT CXXCPP EGREP FLEX AR BISON HAS_REGEX HAS_PLUGINS HAS_RESOLVER HAS_SASL HAS_SASL2 HAS_OPENLDAP HAS_OPENSSL P_STATIC_ENDLDLIBS P_STATIC_LDFLAGS HAS_EXPAT HAS_VXML HAS_JABBER HAS_XMLRPC HAS_SOAP HAS_TTS HAS_IPV6 HAS_SDL HAS_VIDEO HAS_VIDEO_CAPTURE USE_SHM_VIDEO_DEVICES HAS_ASN HAS_STUN HAS_PIPECHAN HAS_DTMF HAS_WAVFILE HAS_SOCKS HAS_FTP HAS_SNMP HAS_TELNET HAS_REMCONN HAS_SERIAL HAS_POP3SMTP HAS_HTTP HAS_HTTPSVC HAS_CONFIG_FILE HAS_SOCKAGG HAS_VIDFILE HAS_AUDIO HAS_OSS HAS_ALSA HAS_ODBC STDCCFLAGS STDCXXFLAGS OPTSTDCCFLAGS ENDLDLIBS DEBUG_FLAG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CXX_set
=${CXX+set}
755 ac_env_CXX_value
=$CXX
756 ac_cv_env_CXX_set
=${CXX+set}
757 ac_cv_env_CXX_value
=$CXX
758 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
759 ac_env_CXXFLAGS_value
=$CXXFLAGS
760 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
761 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CXXCPP_set
=${CXXCPP+set}
771 ac_env_CXXCPP_value
=$CXXCPP
772 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
773 ac_cv_env_CXXCPP_value
=$CXXCPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
838 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
842 if test -n "$ac_init_help"; then
847 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
848 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
849 --enable-pch disable precompiled headers
850 --enable-minsize minimise the size of the lib by disabling least used options
851 --enable-openh323 include only options needed with openh323
852 --enable-opal include only options needed with opal
853 --enable-internalregex force internal regex library
854 --enable-plugins enable plugin support
855 --disable-resolver disable DNS resolver support
856 --disable-sasl disable SASL support
857 --disable-openldap disable OpenLDAP support
858 --disable-openssl disable OpenSSL support
859 --disable-expat disable XML support
860 --disable-vxml disable VXML support
861 --disable-jabber disable Jabber support
862 --disable-xmlrpc disable XMLRPC support
863 --disable-soap disable SOAP support
864 --disable-tts disable Text-ToSpeech support
(default enabled
)
865 --disable-ipv6 disable IPV6 support
866 --disable-qos disable QOS support
867 --disable-sdl disable SDL support
868 --disable-video disable video device support
869 --enable-v4l enable V4L video support
870 --enable-v4l2 enable V4L2 video support
871 --enable-bsdvideo enable BSD video support
872 --enable-avc enable IEEE1394
/AVC video support
873 --enable-dc enable IEEE1394
/DC video support
874 --enable-shmvideo enable shared memory video devices
875 --disable-asn disable ASN decoding
/encoding support
876 --disable-stun disable STUN protocol support
877 --disable-pipechan disable pipechannel support
878 --disable-dtmf disable DTMF protocol support
879 --disable-wavfile disable WAVFILE support
880 --disable-socks disable SOCKS protocol support
881 --disable-ftp disable FTP support
882 --disable-snmp disable SNMP protocol support
883 --disable-telnet disable Telnet protocol support
884 --disable-remconn disable remote connection support
885 --disable-serial disable serial port support
886 --disable-pop3smtp disable POP
3/SMTP support
887 --disable-http disable HTTP support
888 --disable-httpsvc disable HTTP service support
889 --disable-configfile disable config
file support
890 --enable-sockagg enable socket aggregation
(experimental
)
891 --enable-vidfile enable video
file support
892 --disable-audio disable audio support
893 --enable-alsa enable ALSA audio support
894 --enable-oss enable OSS audio support
895 --enable-memcheck enable leak testing code
(off by default
)
896 --disable-odbc disable ODBC support
897 --exceptions enable C
++ exceptions
899 Some influential environment variables
:
900 CXX C
++ compiler
command
901 CXXFLAGS C
++ compiler flags
902 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
903 nonstandard directory
<lib dir
>
904 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
905 headers
in a nonstandard directory
<include dir
>
906 CXXCPP C
++ preprocessor
908 Use these variables to override the choices made by
`configure' or to help
909 it to find libraries and programs with nonstandard names/locations.
914 if test "$ac_init_help" = "recursive"; then
915 # If there are subdirs, report their specific --help.
917 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
918 test -d $ac_dir || continue
921 if test "$ac_dir" != .; then
922 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
923 # A "../" for each directory in $ac_dir_suffix.
924 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
926 ac_dir_suffix= ac_top_builddir=
930 .) # No --srcdir option. We are building in place.
932 if test -z "$ac_top_builddir"; then
935 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
937 [\\/]* | ?:[\\/]* ) # Absolute path.
938 ac_srcdir=$srcdir$ac_dir_suffix;
939 ac_top_srcdir=$srcdir ;;
941 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
942 ac_top_srcdir=$ac_top_builddir$srcdir ;;
945 # Do not use `cd foo
&& pwd` to compute absolute paths, because
946 # the directories may not exist.
948 .) ac_abs_builddir="$ac_dir";;
951 .) ac_abs_builddir=`pwd`;;
952 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
953 *) ac_abs_builddir=`pwd`/"$ac_dir";;
956 case $ac_abs_builddir in
957 .) ac_abs_top_builddir=${ac_top_builddir}.;;
959 case ${ac_top_builddir}. in
960 .) ac_abs_top_builddir=$ac_abs_builddir;;
961 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
962 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
965 case $ac_abs_builddir in
966 .) ac_abs_srcdir=$ac_srcdir;;
969 .) ac_abs_srcdir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
971 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
974 case $ac_abs_builddir in
975 .) ac_abs_top_srcdir=$ac_top_srcdir;;
977 case $ac_top_srcdir in
978 .) ac_abs_top_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
980 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
985 # Check for guested configure; otherwise get Cygnus style configure.
986 if test -f $ac_srcdir/configure.gnu; then
988 $SHELL $ac_srcdir/configure.gnu --help=recursive
989 elif test -f $ac_srcdir/configure; then
991 $SHELL $ac_srcdir/configure --help=recursive
992 elif test -f $ac_srcdir/configure.ac ||
993 test -f $ac_srcdir/configure.in; then
997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1003 test -n "$ac_init_help" && exit 0
1004 if $ac_init_version; then
1007 Copyright (C) 2003 Free Software Foundation, Inc.
1008 This configure script is free software; the Free Software Foundation
1009 gives unlimited permission to copy, distribute and modify it.
1015 This file contains any messages produced by compilers while
1016 running configure, to aid debugging if configure makes a mistake.
1018 It was created by $as_me, which was
1019 generated by GNU Autoconf 2.59. Invocation command line was
1030 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1031 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1032 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1033 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1034 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1037 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1039 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1041 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1042 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1043 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1044 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1045 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1053 test -z "$as_dir" && as_dir=.
1054 echo "PATH: $as_dir"
1069 # Keep a trace of the command line.
1070 # Strip out --no-create and --no-recursion so they do not pile up.
1071 # Strip out --silent because we don't want to record it for future runs.
1072 # Also quote any args containing shell meta-characters.
1073 # Make two passes to allow for proper duplicate-argument suppression.
1078 ac_must_keep_next=false
1084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086 | -silent | --silent | --silen | --sile | --sil)
1088 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1089 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1092 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1094 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1095 if test $ac_must_keep_next = true; then
1096 ac_must_keep_next=false # Got value, back to normal.
1099 *=* | --config-cache | -C | -disable-* | --disable-* \
1100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1102 | -with-* | --with-* | -without-* | --without-* | --x)
1103 case "$ac_configure_args0 " in
1104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1107 -* ) ac_must_keep_next=true ;;
1110 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1111 # Get rid of the leading space.
1117 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1118 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1120 # When interrupted or exit'd, cleanup temporary files, and complete
1121 # config.log. We remove comments because anyway the quotes in there
1122 # would cause problems or look ugly.
1123 # WARNING: Be sure not to use single quotes in there, as some shells,
1124 # such as our DU 5.0 friend, will then `close
' the trap.
1125 trap 'exit_status
=$?
1126 # Save into config.log some information that might help in debugging.
1131 ## ---------------- ##
1132 ## Cache variables. ##
1133 ## ---------------- ##
1136 # The following way of writing the cache mishandles newlines in values,
1139 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1142 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1147 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1154 ## ----------------- ##
1155 ## Output variables. ##
1156 ## ----------------- ##
1159 for ac_var
in $ac_subst_vars
1161 eval ac_val
=$
`echo $ac_var`
1162 echo "$ac_var='"'"'$ac_val'"'"'"
1166 if test -n "$ac_subst_files"; then
1173 for ac_var
in $ac_subst_files
1175 eval ac_val
=$
`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1181 if test -s confdefs.h
; then
1188 sed "/^$/d" confdefs.h |
sort
1191 test "$ac_signal" != 0 &&
1192 echo "$as_me: caught signal $ac_signal"
1193 echo "$as_me: exit $exit_status"
1195 rm -f core
*.core
&&
1196 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1199 for ac_signal in 1 2 13 15; do
1200 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1204 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1205 rm -rf conftest* confdefs.h
1206 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1209 # Predefined preprocessor variables.
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_NAME "$PACKAGE_NAME"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_STRING "$PACKAGE_STRING"
1231 cat >>confdefs.h <<_ACEOF
1232 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1236 # Let the site file select an alternate cache file if it wants to.
1237 # Prefer explicitly selected file to automatically selected ones.
1238 if test -z "$CONFIG_SITE"; then
1239 if test "x$prefix" != xNONE; then
1240 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1242 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1245 for ac_site_file in $CONFIG_SITE; do
1246 if test -r "$ac_site_file"; then
1247 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1248 echo "$as_me: loading site script $ac_site_file" >&6;}
1249 sed 's
/^
/|
/' "$ac_site_file" >&5
1254 if test -r "$cache_file"; then
1255 # Some versions of bash will fail to source /dev/null (special
1256 # files actually), so we avoid doing that.
1257 if test -f "$cache_file"; then
1258 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1259 echo "$as_me: loading cache $cache_file" >&6;}
1261 [\\/]* | ?:[\\/]* ) . $cache_file;;
1262 *) . ./$cache_file;;
1266 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1267 echo "$as_me: creating cache $cache_file" >&6;}
1271 # Check that the precious variables saved in the cache have kept the same
1273 ac_cache_corrupted=false
1274 for ac_var in `(set) 2>&1 |
1275 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1276 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1277 eval ac_new_set=\$ac_env_${ac_var}_set
1278 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1279 eval ac_new_val="\$ac_env_${ac_var}_value"
1280 case $ac_old_set,$ac_new_set in
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1284 ac_cache_corrupted=: ;;
1286 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1287 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1288 ac_cache_corrupted=: ;;
1291 if test "x$ac_old_val" != "x$ac_new_val"; then
1292 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1293 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1294 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1295 echo "$as_me: former value: $ac_old_val" >&2;}
1296 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1297 echo "$as_me: current value: $ac_new_val" >&2;}
1298 ac_cache_corrupted=:
1301 # Pass precious variables to config.status.
1302 if test "$ac_new_set" = set; then
1304 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1305 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1306 *) ac_arg=$ac_var=$ac_new_val ;;
1308 case " $ac_configure_args " in
1309 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1310 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1314 if $ac_cache_corrupted; then
1315 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1316 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1317 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1318 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1319 { (exit 1); exit 1; }; }
1323 ac_cpp='$CPP $CPPFLAGS'
1324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1325 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1348 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1349 if test -f $ac_dir/install-sh; then
1351 ac_install_sh="$ac_aux_dir/install-sh -c"
1353 elif test -f $ac_dir/install.sh; then
1355 ac_install_sh="$ac_aux_dir/install.sh -c"
1357 elif test -f $ac_dir/shtool; then
1359 ac_install_sh="$ac_aux_dir/shtool install -c"
1363 if test -z "$ac_aux_dir"; then
1364 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1365 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1366 { (exit 1); exit 1; }; }
1368 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1369 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1370 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1374 subdirs="$subdirs plugins"
1378 ac_cpp='$CXXCPP $CPPFLAGS'
1379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1380 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1382 if test -n "$ac_tool_prefix"; then
1383 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1389 if test "${ac_cv_prog_CXX+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 if test -n "$CXX"; then
1393 ac_cv_prog_CXX="$CXX" # Let the user override the test.
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir=.
1400 for ac_exec_ext in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1402 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1412 if test -n "$CXX"; then
1413 echo "$as_me:$LINENO: result: $CXX" >&5
1414 echo "${ECHO_T}$CXX" >&6
1416 echo "$as_me:$LINENO: result: no" >&5
1417 echo "${ECHO_T}no" >&6
1420 test -n "$CXX" && break
1423 if test -z "$CXX"; then
1425 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1427 # Extract the first word of "$ac_prog", so it can be a program name with args.
1428 set dummy $ac_prog; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 if test -n "$ac_ct_CXX"; then
1435 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1441 test -z "$as_dir" && as_dir=.
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1444 ac_cv_prog_ac_ct_CXX="$ac_prog"
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1454 if test -n "$ac_ct_CXX"; then
1455 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1456 echo "${ECHO_T}$ac_ct_CXX" >&6
1458 echo "$as_me:$LINENO: result: no" >&5
1459 echo "${ECHO_T}no" >&6
1462 test -n "$ac_ct_CXX" && break
1464 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1470 # Provide some information about the compiler.
1471 echo "$as_me:$LINENO:" \
1472 "checking for C++ compiler version" >&5
1473 ac_compiler=`set X $ac_compile; echo $2`
1474 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1475 (eval $ac_compiler --version </dev/null >&5) 2>&5
1477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1478 (exit $ac_status); }
1479 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1480 (eval $ac_compiler -v </dev/null >&5) 2>&5
1482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1483 (exit $ac_status); }
1484 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1485 (eval $ac_compiler -V </dev/null >&5) 2>&5
1487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1488 (exit $ac_status); }
1490 cat >conftest.$ac_ext <<_ACEOF
1493 cat confdefs.h >>conftest.$ac_ext
1494 cat >>conftest.$ac_ext <<_ACEOF
1495 /* end confdefs.h. */
1505 ac_clean_files_save=$ac_clean_files
1506 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1507 # Try to create an executable without -o first, disregard a.out.
1508 # It will help us diagnose broken compilers, and finding out an intuition
1510 echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1511 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1512 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1513 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1514 (eval $ac_link_default) 2>&5
1516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1517 (exit $ac_status); }; then
1518 # Find the output, starting from the most likely. This scheme is
1519 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1522 # Be careful to initialize this variable, since it used to be cached.
1523 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1525 # b.out is created by i960 compilers.
1526 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1528 test -f "$ac_file" ||
continue
1530 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1533 # This is the source file.
1536 # We found the default executable, but exeext='' is most
1540 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1541 # FIXME: I believe we export ac_cv_exeext for Libtool,
1542 # but it would be cool to find out if it's true. Does anybody
1543 # maintain Libtool? --akim.
1551 echo "$as_me: failed program was:" >&5
1552 sed 's/^/| /' conftest.
$ac_ext >&5
1554 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1555 See \`config.log' for more details." >&5
1556 echo "$as_me: error: C++ compiler cannot create executables
1557 See \`config.log' for more details." >&2;}
1558 { (exit 77); exit 77; }; }
1561 ac_exeext
=$ac_cv_exeext
1562 echo "$as_me:$LINENO: result: $ac_file" >&5
1563 echo "${ECHO_T}$ac_file" >&6
1565 # Check the compiler produces executables we can run. If not, either
1566 # the compiler is broken, or we cross compile.
1567 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1568 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1569 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1570 # If not cross compiling, check that we can run a simple program.
1571 if test "$cross_compiling" != yes; then
1572 if { ac_try
='./$ac_file'
1573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1577 (exit $ac_status); }; }; then
1580 if test "$cross_compiling" = maybe
; then
1583 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1584 If you meant to cross compile, use \`--host'.
1585 See \`config.log' for more details." >&5
1586 echo "$as_me: error: cannot run C++ compiled programs.
1587 If you meant to cross compile, use \`--host'.
1588 See \`config.log' for more details." >&2;}
1589 { (exit 1); exit 1; }; }
1593 echo "$as_me:$LINENO: result: yes" >&5
1594 echo "${ECHO_T}yes" >&6
1596 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1597 ac_clean_files
=$ac_clean_files_save
1598 # Check the compiler produces executables we can run. If not, either
1599 # the compiler is broken, or we cross compile.
1600 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1601 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1602 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1603 echo "${ECHO_T}$cross_compiling" >&6
1605 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1606 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1608 (eval $ac_link) 2>&5
1610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1611 (exit $ac_status); }; then
1612 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1613 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1614 # work properly (i.e., refer to `conftest.exe'), while it won't with
1616 for ac_file
in conftest.exe conftest conftest.
*; do
1617 test -f "$ac_file" ||
continue
1619 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1620 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1627 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1628 See \`config.log' for more details." >&5
1629 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1630 See \`config.log' for more details." >&2;}
1631 { (exit 1); exit 1; }; }
1634 rm -f conftest
$ac_cv_exeext
1635 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1636 echo "${ECHO_T}$ac_cv_exeext" >&6
1638 rm -f conftest.
$ac_ext
1639 EXEEXT
=$ac_cv_exeext
1641 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1642 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1643 if test "${ac_cv_objext+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 cat >conftest.
$ac_ext <<_ACEOF
1649 cat confdefs.h
>>conftest.
$ac_ext
1650 cat >>conftest.
$ac_ext <<_ACEOF
1651 /* end confdefs.h. */
1661 rm -f conftest.o conftest.obj
1662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1663 (eval $ac_compile) 2>&5
1665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1666 (exit $ac_status); }; then
1667 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1669 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1670 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1675 echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.
$ac_ext >&5
1678 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1679 See \`config.log' for more details." >&5
1680 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1681 See \`config.log' for more details." >&2;}
1682 { (exit 1); exit 1; }; }
1685 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1687 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1688 echo "${ECHO_T}$ac_cv_objext" >&6
1689 OBJEXT
=$ac_cv_objext
1691 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1692 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1693 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 cat >conftest.
$ac_ext <<_ACEOF
1699 cat confdefs.h
>>conftest.
$ac_ext
1700 cat >>conftest.
$ac_ext <<_ACEOF
1701 /* end confdefs.h. */
1714 rm -f conftest.
$ac_objext
1715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1716 (eval $ac_compile) 2>conftest.er1
1718 grep -v '^ *+' conftest.er1
>conftest.err
1720 cat conftest.err
>&5
1721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722 (exit $ac_status); } &&
1723 { ac_try
='test -z "$ac_cxx_werror_flag"
1724 || test ! -s conftest.err'
1725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1729 (exit $ac_status); }; } &&
1730 { ac_try
='test -s conftest.$ac_objext'
1731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1735 (exit $ac_status); }; }; then
1738 echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.
$ac_ext >&5
1743 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1744 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1747 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1748 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1749 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1750 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1751 ac_save_CXXFLAGS
=$CXXFLAGS
1753 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1754 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1755 if test "${ac_cv_prog_cxx_g+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 cat >conftest.
$ac_ext <<_ACEOF
1761 cat confdefs.h
>>conftest.
$ac_ext
1762 cat >>conftest.
$ac_ext <<_ACEOF
1763 /* end confdefs.h. */
1773 rm -f conftest.
$ac_objext
1774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1775 (eval $ac_compile) 2>conftest.er1
1777 grep -v '^ *+' conftest.er1
>conftest.err
1779 cat conftest.err
>&5
1780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1781 (exit $ac_status); } &&
1782 { ac_try
='test -z "$ac_cxx_werror_flag"
1783 || test ! -s conftest.err'
1784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }; } &&
1789 { ac_try
='test -s conftest.$ac_objext'
1790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1794 (exit $ac_status); }; }; then
1795 ac_cv_prog_cxx_g
=yes
1797 echo "$as_me: failed program was:" >&5
1798 sed 's/^/| /' conftest.
$ac_ext >&5
1802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1804 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1805 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1806 if test "$ac_test_CXXFLAGS" = set; then
1807 CXXFLAGS
=$ac_save_CXXFLAGS
1808 elif test $ac_cv_prog_cxx_g = yes; then
1809 if test "$GXX" = yes; then
1815 if test "$GXX" = yes; then
1821 for ac_declaration
in \
1823 'extern "C" void std::exit (int) throw (); using std::exit;' \
1824 'extern "C" void std::exit (int); using std::exit;' \
1825 'extern "C" void exit (int) throw ();' \
1826 'extern "C" void exit (int);' \
1829 cat >conftest.
$ac_ext <<_ACEOF
1832 cat confdefs.h
>>conftest.
$ac_ext
1833 cat >>conftest.
$ac_ext <<_ACEOF
1834 /* end confdefs.h. */
1845 rm -f conftest.
$ac_objext
1846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1847 (eval $ac_compile) 2>conftest.er1
1849 grep -v '^ *+' conftest.er1
>conftest.err
1851 cat conftest.err
>&5
1852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1853 (exit $ac_status); } &&
1854 { ac_try
='test -z "$ac_cxx_werror_flag"
1855 || test ! -s conftest.err'
1856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1860 (exit $ac_status); }; } &&
1861 { ac_try
='test -s conftest.$ac_objext'
1862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }; }; then
1869 echo "$as_me: failed program was:" >&5
1870 sed 's/^/| /' conftest.
$ac_ext >&5
1874 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1875 cat >conftest.
$ac_ext <<_ACEOF
1878 cat confdefs.h
>>conftest.
$ac_ext
1879 cat >>conftest.
$ac_ext <<_ACEOF
1880 /* end confdefs.h. */
1890 rm -f conftest.
$ac_objext
1891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1892 (eval $ac_compile) 2>conftest.er1
1894 grep -v '^ *+' conftest.er1
>conftest.err
1896 cat conftest.err
>&5
1897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1898 (exit $ac_status); } &&
1899 { ac_try
='test -z "$ac_cxx_werror_flag"
1900 || test ! -s conftest.err'
1901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); }; } &&
1906 { ac_try
='test -s conftest.$ac_objext'
1907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }; }; then
1914 echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.
$ac_ext >&5
1918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1921 if test -n "$ac_declaration"; then
1922 echo '#ifdef __cplusplus' >>confdefs.h
1923 echo $ac_declaration >>confdefs.h
1924 echo '#endif' >>confdefs.h
1928 ac_cpp
='$CPP $CPPFLAGS'
1929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1935 ac_cpp
='$CXXCPP $CPPFLAGS'
1936 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1937 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1938 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1946 if test "x$prefix" = "xNONE"; then
1947 INSTALLPREFIX
="/usr/local"
1949 INSTALLPREFIX
="${prefix}"
1960 MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
1961 MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
1962 BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
1963 PWLIB_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
1968 MAJOR_VERSION
=$MAJOR_VERSION
1970 MINOR_VERSION
=$MINOR_VERSION
1972 BUILD_NUMBER
=$BUILD_NUMBER
1975 { echo "$as_me:$LINENO: PTLib version is ${PWLIB_VERSION}" >&5
1976 echo "$as_me: PTLib version is ${PWLIB_VERSION}" >&6;};
1979 cat >>confdefs.h
<<_ACEOF
1980 #define PWLIB_MAJOR $MAJOR_VERSION
1984 cat >>confdefs.h
<<_ACEOF
1985 #define PWLIB_MINOR $MINOR_VERSION
1989 cat >>confdefs.h
<<_ACEOF
1990 #define PWLIB_BUILD $BUILD_NUMBER
1994 cat >>confdefs.h
<<_ACEOF
1995 #define PWLIB_VERSION "$PWLIB_VERSION"
2000 # Make sure we can run config.sub.
2001 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2002 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2003 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2004 { (exit 1); exit 1; }; }
2006 echo "$as_me:$LINENO: checking build system type" >&5
2007 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2008 if test "${ac_cv_build+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 ac_cv_build_alias
=$build_alias
2012 test -z "$ac_cv_build_alias" &&
2013 ac_cv_build_alias
=`$ac_config_guess`
2014 test -z "$ac_cv_build_alias" &&
2015 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2016 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2017 { (exit 1); exit 1; }; }
2018 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2019 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2020 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2021 { (exit 1); exit 1; }; }
2024 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2025 echo "${ECHO_T}$ac_cv_build" >&6
2027 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2028 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2029 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2032 echo "$as_me:$LINENO: checking host system type" >&5
2033 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2034 if test "${ac_cv_host+set}" = set; then
2035 echo $ECHO_N "(cached) $ECHO_C" >&6
2037 ac_cv_host_alias
=$host_alias
2038 test -z "$ac_cv_host_alias" &&
2039 ac_cv_host_alias
=$ac_cv_build_alias
2040 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2041 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2042 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2043 { (exit 1); exit 1; }; }
2046 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2047 echo "${ECHO_T}$ac_cv_host" >&6
2049 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2050 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2051 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2054 echo "$as_me:$LINENO: checking target system type" >&5
2055 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2056 if test "${ac_cv_target+set}" = set; then
2057 echo $ECHO_N "(cached) $ECHO_C" >&6
2059 ac_cv_target_alias
=$target_alias
2060 test "x$ac_cv_target_alias" = "x" &&
2061 ac_cv_target_alias
=$ac_cv_host_alias
2062 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2063 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2064 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2065 { (exit 1); exit 1; }; }
2068 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2069 echo "${ECHO_T}$ac_cv_target" >&6
2070 target
=$ac_cv_target
2071 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2072 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2073 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2076 # The aliases save the names the user supplied, while $host etc.
2077 # will get canonicalized.
2078 test -n "$target_alias" &&
2079 test "$program_prefix$program_suffix$program_transform_name" = \
2081 program_prefix
=${target_alias}-
2087 case "$target_os" in
2088 linux
*) OSTYPE
=linux
;
2089 OSRELEASE
="\"`uname -r`\"";
2094 freebsd
* ) OSTYPE
=FreeBSD
;
2095 OS_TAG
="P_FREEBSD" ;
2096 if test "x$OSRELEASE" = "x"; then
2097 OSRELEASE
="`sysctl -n kern.osreldate`" ;
2102 openbsd
* ) OSTYPE
=OpenBSD
;
2103 OS_TAG
="P_OPENBSD" ;
2104 OSRELEASE
="`sysctl -n kern.osrevision`" ;
2105 ENDLDLIBS
="-lossaudio" ;
2109 netbsd
* ) OSTYPE
=NetBSD
;
2111 OSRELEASE
="`/sbin/sysctl -n kern.osrevision`" ;
2112 ENDLDLIBS
="-lossaudio" ;
2116 solaris
* | sunos
* ) OSTYPE
=solaris
;
2117 OS_TAG
="P_SOLARIS" ;
2118 OSRELEASE
=`uname -r | sed "s/5\.//g"` ;
2122 darwin
* ) OSTYPE
=Darwin
;
2124 OSRELEASE
="`uname -r | sed 's/\.//g'`" ;
2125 SHAREDLIBEXT
="dylib";
2126 if test -e /Developer
/SDKs
/MacOSX10.4u.sdk
/usr
/X11R
6/include
/expat.h
; then
2127 EXPATDIR
=/Developer
/SDKs
/MacOSX10.4u.sdk
/usr
/X11R6
2131 beos
*) OSTYPE
=beos
;
2133 OSRELEASE
=`uname -r` ;
2134 STDCCFLAGS
="$STDCCFLAGS -D__BEOS__"
2137 cygwin
*) OSTYPE
=cygwin
;
2139 OSRELEASE
="`uname -r`";
2142 mingw
*) OSTYPE
=mingw
;
2144 OSRELEASE
=`uname -r` ;
2146 SHAREDLIBEXT
="dll" ;
2147 STDCCFLAGS
="$STDCCFLAGS -mms-bitfields" ;
2148 ENDLDLIBS
="-lwinmm -lwsock32 -lsnmpapi -lmpr -lcomdlg32 -lgdi32 -lavicap32" ;
2152 * ) OSTYPE
="$target_os" ;
2153 OS_TAG
="P_UNKNOWN_OS" ;
2154 OSRELEASE
="\"${OSTYPE}_`uname -r`\"" ;
2155 { echo "$as_me:$LINENO: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&5
2156 echo "$as_me: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&2;} ;
2162 case "$target_cpu" in
2163 x86 | i686 | i586 | i486 | i386
) MACHTYPE
=x86
2166 x86_64
) MACHTYPE
=x86_64
;
2171 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7
) MACHTYPE
=alpha
;
2175 sparc
) MACHTYPE
=sparc
;
2178 powerpc
) MACHTYPE
=ppc
;
2181 ppc
) MACHTYPE
=ppc
;
2184 powerpc64
) MACHTYPE
=ppc64
;
2189 ppc64
) MACHTYPE
=ppc64
;
2194 ia64
) MACHTYPE
=ia64
;
2198 s390x
) MACHTYPE
=s390x
;
2203 s390
) MACHTYPE
=s390
;
2206 * ) MACHTYPE
=$target_cpu ;
2207 { echo "$as_me:$LINENO: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
2208 echo "$as_me: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&2;} ;;
2211 { echo "$as_me:$LINENO: OSTYPE set to $OSTYPE" >&5
2212 echo "$as_me: OSTYPE set to $OSTYPE" >&6;};
2213 { echo "$as_me:$LINENO: OSRELEASE set to $OSRELEASE" >&5
2214 echo "$as_me: OSRELEASE set to $OSRELEASE" >&6;};
2215 { echo "$as_me:$LINENO: MACHTYPE set to $MACHTYPE" >&5
2216 echo "$as_me: MACHTYPE set to $MACHTYPE" >&6;};
2222 OSRELEASE
=$OSRELEASE
2224 TARGETDIR
=$TARGETDIR
2227 cat >>confdefs.h
<<_ACEOF
2228 #define $OS_TAG $OSRELEASE
2233 cat >>confdefs.h
<<\_ACEOF
2234 #define PHAS_TEMPLATES 1
2238 if test "x$P_64BIT" != "x" ; then
2240 cat >>confdefs.h
<<\_ACEOF
2246 if test ${OSTYPE} != beos
; then
2248 cat >>confdefs.h
<<\_ACEOF
2249 #define P_PTHREADS 1
2254 if test ${OSTYPE} != solaris
; then
2255 LDAP_LIBRARIES
="-llber -lldap_r"
2262 if test x
$GXX = xyes
; then
2264 gcc_version
=`$CXX -dumpversion`
2265 { echo "$as_me:$LINENO: gcc version is $gcc_version" >&5
2266 echo "$as_me: gcc version is $gcc_version" >&6;};
2267 GXX_MAJOR
=`echo $gcc_version | sed 's/\..*$//'`
2268 GXX_MINOR
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.//' -e 's/\..*$//'`
2269 GXX_PATCH
=`echo $gcc_version | sed -e 's/[0-9][0-9]*\.[0-9][0-9]*\.//' -e 's/\..*$//'`
2271 echo "$as_me:$LINENO: checking checking if pragma implementation should be used" >&5
2272 echo $ECHO_N "checking checking if pragma implementation should be used... $ECHO_C" >&6
2273 if test ${GXX_MAJOR} -lt 4 ; then
2274 if test "${need_pragma}" = "yes" ; then
2275 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2276 echo "$as_me:$LINENO: result: yes" >&5
2277 echo "${ECHO_T}yes" >&6
2279 echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 echo "$as_me:$LINENO: checking checking if precompiled headers available" >&5
2288 echo $ECHO_N "checking checking if precompiled headers available... $ECHO_C" >&6
2289 if test ${GXX_MAJOR} -lt 4 ; then
2293 # Check whether --enable-pch or --disable-pch was given.
2294 if test "${enable_pch+set}" = set; then
2295 enableval
="$enable_pch"
2296 enablepch
=$enableval
2299 if test "${enablepch}" = "yes" ; then
2300 echo "$as_me:$LINENO: result: yes" >&5
2301 echo "${ECHO_T}yes" >&6
2304 echo "$as_me:$LINENO: result: no" >&5
2305 echo "${ECHO_T}no" >&6
2316 if test "x${SHAREDLIBEXT}" = "x" ; then
2319 SHAREDLIBEXT
=$SHAREDLIBEXT
2322 cat >>confdefs.h
<<\_ACEOF
2323 #define P_SHAREDLIBEXT $SHAREDLIBEXT
2329 if test ${OSTYPE} != "Darwin" ; then
2331 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2332 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2333 if test "${ac_cv_c_bigendian+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 # See if sys/param.h defines the BYTE_ORDER macro.
2337 cat >conftest.
$ac_ext <<_ACEOF
2340 cat confdefs.h
>>conftest.
$ac_ext
2341 cat >>conftest.
$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2343 #include <sys/types.h>
2344 #include <sys/param.h>
2349 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2357 rm -f conftest.
$ac_objext
2358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2359 (eval $ac_compile) 2>conftest.er1
2361 grep -v '^ *+' conftest.er1
>conftest.err
2363 cat conftest.err
>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } &&
2366 { ac_try
='test -z "$ac_cxx_werror_flag"
2367 || test ! -s conftest.err'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; } &&
2373 { ac_try
='test -s conftest.$ac_objext'
2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; }; then
2379 # It does; now see whether it defined to BIG_ENDIAN or not.
2380 cat >conftest.
$ac_ext <<_ACEOF
2383 cat confdefs.h
>>conftest.
$ac_ext
2384 cat >>conftest.
$ac_ext <<_ACEOF
2385 /* end confdefs.h. */
2386 #include <sys/types.h>
2387 #include <sys/param.h>
2392 #if BYTE_ORDER != BIG_ENDIAN
2400 rm -f conftest.
$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1
>conftest.err
2406 cat conftest.err
>&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try
='test -z "$ac_cxx_werror_flag"
2410 || test ! -s conftest.err'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; } &&
2416 { ac_try
='test -s conftest.$ac_objext'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; }; then
2422 ac_cv_c_bigendian
=yes
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.
$ac_ext >&5
2427 ac_cv_c_bigendian
=no
2429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2431 echo "$as_me: failed program was:" >&5
2432 sed 's/^/| /' conftest.
$ac_ext >&5
2434 # It does not; compile a test program.
2435 if test "$cross_compiling" = yes; then
2436 # try to guess the endianness by grepping values into an object file
2437 ac_cv_c_bigendian
=unknown
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2444 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2445 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2446 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2447 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2448 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2449 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2453 _ascii (); _ebcdic ();
2458 rm -f conftest.
$ac_objext
2459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2460 (eval $ac_compile) 2>conftest.er1
2462 grep -v '^ *+' conftest.er1
>conftest.err
2464 cat conftest.err
>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } &&
2467 { ac_try
='test -z "$ac_cxx_werror_flag"
2468 || test ! -s conftest.err'
2469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2473 (exit $ac_status); }; } &&
2474 { ac_try
='test -s conftest.$ac_objext'
2475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2479 (exit $ac_status); }; }; then
2480 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2481 ac_cv_c_bigendian
=yes
2483 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2484 if test "$ac_cv_c_bigendian" = unknown
; then
2485 ac_cv_c_bigendian
=no
2487 # finding both strings is unlikely to happen, but who knows?
2488 ac_cv_c_bigendian
=unknown
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.
$ac_ext >&5
2496 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2498 cat >conftest.
$ac_ext <<_ACEOF
2501 cat confdefs.h
>>conftest.
$ac_ext
2502 cat >>conftest.
$ac_ext <<_ACEOF
2503 /* end confdefs.h. */
2507 /* Are we little or big endian? From Harbison&Steele. */
2511 char c[sizeof (long)];
2514 exit (u.c[sizeof (long) - 1] == 1);
2517 rm -f conftest
$ac_exeext
2518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2519 (eval $ac_link) 2>&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; }; then
2528 ac_cv_c_bigendian
=no
2530 echo "$as_me: program exited with status $ac_status" >&5
2531 echo "$as_me: failed program was:" >&5
2532 sed 's/^/| /' conftest.
$ac_ext >&5
2535 ac_cv_c_bigendian
=yes
2537 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2540 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2542 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2543 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2544 case $ac_cv_c_bigendian in
2547 cat >>confdefs.h
<<\_ACEOF
2548 #define WORDS_BIGENDIAN 1
2554 { { echo "$as_me:$LINENO: error: unknown endianness
2555 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2556 echo "$as_me: error: unknown endianness
2557 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2558 { (exit 1); exit 1; }; } ;;
2561 if test ${ac_cv_c_bigendian} = yes ; then
2562 PBYTE_ORDER
=PBIG_ENDIAN
2564 PBYTE_ORDER
=PLITTLE_ENDIAN
2568 cat >>confdefs.h
<<_ACEOF
2569 #define PBYTE_ORDER $PBYTE_ORDER
2575 ac_cpp
='$CXXCPP $CPPFLAGS'
2576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2581 echo "$as_me:$LINENO: checking if linker accepts -felide-constructors" >&5
2582 echo $ECHO_N "checking if linker accepts -felide-constructors... $ECHO_C" >&6
2583 cat >conftest.
$ac_ext <<_ACEOF
2584 int main(int ac,char **av) { return 0; }
2586 $CXX $CXXFLAGS -felide-constructors conftest.cc
> /dev
/null
2>&1
2587 if test $?
= 0 ; then
2588 echo "$as_me:$LINENO: result: yes" >&5
2589 echo "${ECHO_T}yes" >&6
2590 STDCXXFLAGS
="$STDCXXFLAGS -felide-constructors"
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2596 echo "$as_me:$LINENO: checking if linker accepts -Wreorder" >&5
2597 echo $ECHO_N "checking if linker accepts -Wreorder... $ECHO_C" >&6
2598 cat >conftest.
$ac_ext <<_ACEOF
2599 int main(int ac,char **av) { return 0; }
2601 $CXX $CXXFLAGS -Wreorder conftest.cc
> /dev
/null
2>&1
2602 if test $?
= 0 ; then
2603 echo "$as_me:$LINENO: result: yes" >&5
2604 echo "${ECHO_T}yes" >&6
2605 STDCXXFLAGS
="$STDCXXFLAGS -Wreorder"
2607 echo "$as_me:$LINENO: result: no" >&5
2608 echo "${ECHO_T}no" >&6
2613 echo "$as_me:$LINENO: checking if debug build accepts -g3 -ggdb -O0" >&5
2614 echo $ECHO_N "checking if debug build accepts -g3 -ggdb -O0... $ECHO_C" >&6
2615 cat >conftest.
$ac_ext <<_ACEOF
2616 int main(int ac,char **av) { return 0; }
2618 $CXX $CXXFLAGS -g3 -ggdb -O0 conftest.cc
> /dev
/null
2>&1
2619 if test $?
= 0 ; then
2620 echo "$as_me:$LINENO: result: yes" >&5
2621 echo "${ECHO_T}yes" >&6
2622 DEBUG_FLAG
="-g3 -ggdb -O0"
2624 echo "$as_me:$LINENO: result: no" >&5
2625 echo "${ECHO_T}no" >&6
2630 # AC_MSG_CHECKING(if linker accepts -Woverloaded-virtual)
2631 # AC_LANG_CONFTEST([[int main(int ac,char **av) { return 0; }]])
2632 # $CXX $CFLAGS -Woverloaded-virtual conftest.cc > /dev/null 2>&1
2633 # if test $? = 0 ; then
2634 # AC_MSG_RESULT(yes)
2635 # STDCCFLAGS="$STDCCFLAGS -Woverloaded-virtual"
2640 echo "$as_me:$LINENO: checking if compiler uses RTTI by default" >&5
2641 echo $ECHO_N "checking if compiler uses RTTI by default... $ECHO_C" >&6
2642 cat >conftest.
$ac_ext <<_ACEOF
2645 int main(int ac,char **av)
2650 virtual void fred() { }
2658 A * p = dynamic_cast<A *>(&t);
2663 rm -f conftest.
$ac_objext
2664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665 (eval $ac_compile) 2>conftest.er1
2667 grep -v '^ *+' conftest.er1
>conftest.err
2669 cat conftest.err
>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); } &&
2672 { ac_try
='test -z "$ac_cxx_werror_flag"
2673 || test ! -s conftest.err'
2674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); }; } &&
2679 { ac_try
='test -s conftest.$ac_objext'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; }; then
2687 echo "$as_me: failed program was:" >&5
2688 sed 's/^/| /' conftest.
$ac_ext >&5
2692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2693 if test "$DEFAULT_RTTI" = "1" ; then
2694 echo "$as_me:$LINENO: result: yes" >&5
2695 echo "${ECHO_T}yes" >&6
2697 echo "$as_me:$LINENO: result: no" >&5
2698 echo "${ECHO_T}no" >&6
2699 STDCXXFLAGS
="$STDCCFLAGS -rtti"
2705 if test 0 = 1 ; then
2708 echo "$as_me:$LINENO: checking if compiler accepts -ffunction-sections" >&5
2709 echo $ECHO_N "checking if compiler accepts -ffunction-sections... $ECHO_C" >&6
2710 cat >conftest.
$ac_ext <<_ACEOF
2711 int main(int ac,char **av) { return 0; }
2713 $CXX $CFLAGS -ffunction-sections -c conftest.cc
> /dev
/null
2>&1
2714 if test $?
= 0 ; then
2715 echo "$as_me:$LINENO: result: yes" >&5
2716 echo "${ECHO_T}yes" >&6
2717 STDCCFLAGS
="$STDCCFLAGS -ffunction-sections"
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2726 if test $GCSECTIONS = 1; then
2727 if test "${OSTYPE}" != "Darwin" ; then
2728 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -Wl,--gc-sections"
2735 ac_cpp
='$CXXCPP $CPPFLAGS'
2736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2742 ac_cpp
='$CXXCPP $CPPFLAGS'
2743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2746 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
2747 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
2748 if test -z "$CXXCPP"; then
2749 if test "${ac_cv_prog_CXXCPP+set}" = set; then
2750 echo $ECHO_N "(cached) $ECHO_C" >&6
2752 # Double quotes because CXXCPP needs to be expanded
2753 for CXXCPP
in "$CXX -E" "/lib/cpp"
2756 for ac_cxx_preproc_warn_flag
in '' yes
2758 # Use a header file that comes with gcc, so configuring glibc
2759 # with a fresh cross-compiler works.
2760 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2761 # <limits.h> exists even on freestanding compilers.
2762 # On the NeXT, cc -E runs the code through the compiler's parser,
2763 # not just through cpp. "Syntax error" is here to catch this case.
2764 cat >conftest.
$ac_ext <<_ACEOF
2767 cat confdefs.h
>>conftest.
$ac_ext
2768 cat >>conftest.
$ac_ext <<_ACEOF
2769 /* end confdefs.h. */
2771 # include <limits.h>
2773 # include <assert.h>
2777 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2778 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2780 grep -v '^ *+' conftest.er1
>conftest.err
2782 cat conftest.err
>&5
2783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784 (exit $ac_status); } >/dev
/null
; then
2785 if test -s conftest.err
; then
2786 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2787 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2794 if test -z "$ac_cpp_err"; then
2797 echo "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.
$ac_ext >&5
2800 # Broken: fails on valid input.
2803 rm -f conftest.err conftest.
$ac_ext
2805 # OK, works on sane cases. Now check whether non-existent headers
2806 # can be detected and how.
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2813 #include <ac_nonexistent.h>
2815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2816 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2818 grep -v '^ *+' conftest.er1
>conftest.err
2820 cat conftest.err
>&5
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); } >/dev
/null
; then
2823 if test -s conftest.err
; then
2824 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2825 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2832 if test -z "$ac_cpp_err"; then
2833 # Broken: success on invalid input.
2836 echo "$as_me: failed program was:" >&5
2837 sed 's/^/| /' conftest.
$ac_ext >&5
2839 # Passes both tests.
2843 rm -f conftest.err conftest.
$ac_ext
2846 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2847 rm -f conftest.err conftest.
$ac_ext
2848 if $ac_preproc_ok; then
2853 ac_cv_prog_CXXCPP
=$CXXCPP
2856 CXXCPP
=$ac_cv_prog_CXXCPP
2858 ac_cv_prog_CXXCPP
=$CXXCPP
2860 echo "$as_me:$LINENO: result: $CXXCPP" >&5
2861 echo "${ECHO_T}$CXXCPP" >&6
2863 for ac_cxx_preproc_warn_flag
in '' yes
2865 # Use a header file that comes with gcc, so configuring glibc
2866 # with a fresh cross-compiler works.
2867 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2868 # <limits.h> exists even on freestanding compilers.
2869 # On the NeXT, cc -E runs the code through the compiler's parser,
2870 # not just through cpp. "Syntax error" is here to catch this case.
2871 cat >conftest.
$ac_ext <<_ACEOF
2874 cat confdefs.h
>>conftest.
$ac_ext
2875 cat >>conftest.
$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2878 # include <limits.h>
2880 # include <assert.h>
2884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2885 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2887 grep -v '^ *+' conftest.er1
>conftest.err
2889 cat conftest.err
>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } >/dev
/null
; then
2892 if test -s conftest.err
; then
2893 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2894 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2901 if test -z "$ac_cpp_err"; then
2904 echo "$as_me: failed program was:" >&5
2905 sed 's/^/| /' conftest.
$ac_ext >&5
2907 # Broken: fails on valid input.
2910 rm -f conftest.err conftest.
$ac_ext
2912 # OK, works on sane cases. Now check whether non-existent headers
2913 # can be detected and how.
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2920 #include <ac_nonexistent.h>
2922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2923 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2925 grep -v '^ *+' conftest.er1
>conftest.err
2927 cat conftest.err
>&5
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); } >/dev
/null
; then
2930 if test -s conftest.err
; then
2931 ac_cpp_err
=$ac_cxx_preproc_warn_flag
2932 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
2939 if test -z "$ac_cpp_err"; then
2940 # Broken: success on invalid input.
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2946 # Passes both tests.
2950 rm -f conftest.err conftest.
$ac_ext
2953 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2954 rm -f conftest.err conftest.
$ac_ext
2955 if $ac_preproc_ok; then
2958 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2959 See \`config.log' for more details." >&5
2960 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
2961 See \`config.log' for more details." >&2;}
2962 { (exit 1); exit 1; }; }
2966 ac_cpp
='$CXXCPP $CPPFLAGS'
2967 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2968 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2969 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2972 echo "$as_me:$LINENO: checking for egrep" >&5
2973 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2974 if test "${ac_cv_prog_egrep+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2977 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2978 then ac_cv_prog_egrep
='grep -E'
2979 else ac_cv_prog_egrep
='egrep'
2982 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2983 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2984 EGREP
=$ac_cv_prog_egrep
2987 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2988 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2989 if test "${ac_cv_header_stdc+set}" = set; then
2990 echo $ECHO_N "(cached) $ECHO_C" >&6
2992 cat >conftest.
$ac_ext <<_ACEOF
2995 cat confdefs.h
>>conftest.
$ac_ext
2996 cat >>conftest.
$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
3011 rm -f conftest.
$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013 (eval $ac_compile) 2>conftest.er1
3015 grep -v '^ *+' conftest.er1
>conftest.err
3017 cat conftest.err
>&5
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); } &&
3020 { ac_try
='test -z "$ac_cxx_werror_flag"
3021 || test ! -s conftest.err'
3022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); }; } &&
3027 { ac_try
='test -s conftest.$ac_objext'
3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3032 (exit $ac_status); }; }; then
3033 ac_cv_header_stdc
=yes
3035 echo "$as_me: failed program was:" >&5
3036 sed 's/^/| /' conftest.
$ac_ext >&5
3038 ac_cv_header_stdc
=no
3040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3042 if test $ac_cv_header_stdc = yes; then
3043 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3044 cat >conftest.
$ac_ext <<_ACEOF
3047 cat confdefs.h
>>conftest.
$ac_ext
3048 cat >>conftest.
$ac_ext <<_ACEOF
3049 /* end confdefs.h. */
3053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3054 $EGREP "memchr" >/dev
/null
2>&1; then
3057 ac_cv_header_stdc
=no
3063 if test $ac_cv_header_stdc = yes; then
3064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3065 cat >conftest.
$ac_ext <<_ACEOF
3068 cat confdefs.h
>>conftest.
$ac_ext
3069 cat >>conftest.
$ac_ext <<_ACEOF
3070 /* end confdefs.h. */
3074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3075 $EGREP "free" >/dev
/null
2>&1; then
3078 ac_cv_header_stdc
=no
3084 if test $ac_cv_header_stdc = yes; then
3085 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3086 if test "$cross_compiling" = yes; then
3089 cat >conftest.
$ac_ext <<_ACEOF
3092 cat confdefs.h
>>conftest.
$ac_ext
3093 cat >>conftest.
$ac_ext <<_ACEOF
3094 /* end confdefs.h. */
3096 #if ((' ' & 0x0FF) == 0x020)
3097 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3098 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3100 # define ISLOWER(c) \
3101 (('a' <= (c) && (c) <= 'i') \
3102 || ('j' <= (c) && (c) <= 'r') \
3103 || ('s' <= (c) && (c) <= 'z'))
3104 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3112 for (i = 0; i < 256; i++)
3113 if (XOR (islower (i), ISLOWER (i))
3114 || toupper (i) != TOUPPER (i))
3119 rm -f conftest
$ac_exeext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3121 (eval $ac_link) 2>&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); }; }; then
3132 echo "$as_me: program exited with status $ac_status" >&5
3133 echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.
$ac_ext >&5
3137 ac_cv_header_stdc
=no
3139 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3143 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3144 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3145 if test $ac_cv_header_stdc = yes; then
3147 cat >>confdefs.h
<<\_ACEOF
3148 #define STDC_HEADERS 1
3153 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3163 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3164 inttypes.h stdint.h unistd.h
3166 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3167 echo "$as_me:$LINENO: checking for $ac_header" >&5
3168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3172 cat >conftest.
$ac_ext <<_ACEOF
3175 cat confdefs.h
>>conftest.
$ac_ext
3176 cat >>conftest.
$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3178 $ac_includes_default
3180 #include <$ac_header>
3182 rm -f conftest.
$ac_objext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3184 (eval $ac_compile) 2>conftest.er1
3186 grep -v '^ *+' conftest.er1
>conftest.err
3188 cat conftest.err
>&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); } &&
3191 { ac_try
='test -z "$ac_cxx_werror_flag"
3192 || test ! -s conftest.err'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; } &&
3198 { ac_try
='test -s conftest.$ac_objext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3204 eval "$as_ac_Header=yes"
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.
$ac_ext >&5
3209 eval "$as_ac_Header=no"
3211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3214 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3216 cat >>confdefs.h
<<_ACEOF
3217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3225 echo "$as_me:$LINENO: checking for int" >&5
3226 echo $ECHO_N "checking for int... $ECHO_C" >&6
3227 if test "${ac_cv_type_int+set}" = set; then
3228 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 cat >conftest.
$ac_ext <<_ACEOF
3233 cat confdefs.h
>>conftest.
$ac_ext
3234 cat >>conftest.
$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3236 $ac_includes_default
3248 rm -f conftest.
$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1
>conftest.err
3254 cat conftest.err
>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try
='test -z "$ac_cxx_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try
='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.
$ac_ext >&5
3277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3279 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3280 echo "${ECHO_T}$ac_cv_type_int" >&6
3282 echo "$as_me:$LINENO: checking size of int" >&5
3283 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3284 if test "${ac_cv_sizeof_int+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 if test "$ac_cv_type_int" = yes; then
3288 # The cast to unsigned long works around a bug in the HP C Compiler
3289 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3290 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3291 # This bug is HP SR number 8606223364.
3292 if test "$cross_compiling" = yes; then
3293 # Depending upon the size, compute the lo and hi bounds.
3294 cat >conftest.
$ac_ext <<_ACEOF
3297 cat confdefs.h
>>conftest.
$ac_ext
3298 cat >>conftest.
$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3300 $ac_includes_default
3304 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3311 rm -f conftest.
$ac_objext
3312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3313 (eval $ac_compile) 2>conftest.er1
3315 grep -v '^ *+' conftest.er1
>conftest.err
3317 cat conftest.err
>&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } &&
3320 { ac_try
='test -z "$ac_cxx_werror_flag"
3321 || test ! -s conftest.err'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; } &&
3327 { ac_try
='test -s conftest.$ac_objext'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; }; then
3335 cat >conftest.
$ac_ext <<_ACEOF
3338 cat confdefs.h
>>conftest.
$ac_ext
3339 cat >>conftest.
$ac_ext <<_ACEOF
3340 /* end confdefs.h. */
3341 $ac_includes_default
3345 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3352 rm -f conftest.
$ac_objext
3353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3354 (eval $ac_compile) 2>conftest.er1
3356 grep -v '^ *+' conftest.er1
>conftest.err
3358 cat conftest.err
>&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); } &&
3361 { ac_try
='test -z "$ac_cxx_werror_flag"
3362 || test ! -s conftest.err'
3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); }; } &&
3368 { ac_try
='test -s conftest.$ac_objext'
3369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); }; }; then
3374 ac_hi
=$ac_mid; break
3376 echo "$as_me: failed program was:" >&5
3377 sed 's/^/| /' conftest.
$ac_ext >&5
3379 ac_lo
=`expr $ac_mid + 1`
3380 if test $ac_lo -le $ac_mid; then
3384 ac_mid
=`expr 2 '*' $ac_mid + 1`
3386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3389 echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.
$ac_ext >&5
3392 cat >conftest.
$ac_ext <<_ACEOF
3395 cat confdefs.h
>>conftest.
$ac_ext
3396 cat >>conftest.
$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3398 $ac_includes_default
3402 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3409 rm -f conftest.
$ac_objext
3410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3411 (eval $ac_compile) 2>conftest.er1
3413 grep -v '^ *+' conftest.er1
>conftest.err
3415 cat conftest.err
>&5
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } &&
3418 { ac_try
='test -z "$ac_cxx_werror_flag"
3419 || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest.$ac_objext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 cat >conftest.
$ac_ext <<_ACEOF
3436 cat confdefs.h
>>conftest.
$ac_ext
3437 cat >>conftest.
$ac_ext <<_ACEOF
3438 /* end confdefs.h. */
3439 $ac_includes_default
3443 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3450 rm -f conftest.
$ac_objext
3451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3452 (eval $ac_compile) 2>conftest.er1
3454 grep -v '^ *+' conftest.er1
>conftest.err
3456 cat conftest.err
>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } &&
3459 { ac_try
='test -z "$ac_cxx_werror_flag"
3460 || test ! -s conftest.err'
3461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465 (exit $ac_status); }; } &&
3466 { ac_try
='test -s conftest.$ac_objext'
3467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); }; }; then
3472 ac_lo
=$ac_mid; break
3474 echo "$as_me: failed program was:" >&5
3475 sed 's/^/| /' conftest.
$ac_ext >&5
3477 ac_hi
=`expr '(' $ac_mid ')' - 1`
3478 if test $ac_mid -le $ac_hi; then
3482 ac_mid
=`expr 2 '*' $ac_mid`
3484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3494 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3495 # Binary search between lo and hi bounds.
3496 while test "x$ac_lo" != "x$ac_hi"; do
3497 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3498 cat >conftest.
$ac_ext <<_ACEOF
3501 cat confdefs.h
>>conftest.
$ac_ext
3502 cat >>conftest.
$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3504 $ac_includes_default
3508 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3515 rm -f conftest.
$ac_objext
3516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3517 (eval $ac_compile) 2>conftest.er1
3519 grep -v '^ *+' conftest.er1
>conftest.err
3521 cat conftest.err
>&5
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); } &&
3524 { ac_try
='test -z "$ac_cxx_werror_flag"
3525 || test ! -s conftest.err'
3526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3530 (exit $ac_status); }; } &&
3531 { ac_try
='test -s conftest.$ac_objext'
3532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); }; }; then
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.
$ac_ext >&5
3542 ac_lo
=`expr '(' $ac_mid ')' + 1`
3544 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3547 ?
*) ac_cv_sizeof_int
=$ac_lo;;
3548 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3549 See \`config.log' for more details." >&5
3550 echo "$as_me: error: cannot compute sizeof (int), 77
3551 See \`config.log' for more details." >&2;}
3552 { (exit 1); exit 1; }; } ;;
3555 if test "$cross_compiling" = yes; then
3556 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
3557 See \`config.log' for more details." >&5
3558 echo "$as_me: error: cannot run test program while cross compiling
3559 See \`config.log' for more details." >&2;}
3560 { (exit 1); exit 1; }; }
3562 cat >conftest.
$ac_ext <<_ACEOF
3565 cat confdefs.h
>>conftest.
$ac_ext
3566 cat >>conftest.
$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3568 $ac_includes_default
3569 long longval () { return (long) (sizeof (int)); }
3570 unsigned long ulongval () { return (long) (sizeof (int)); }
3577 FILE *f = fopen ("conftest.val", "w");
3580 if (((long) (sizeof (int))) < 0)
3582 long i = longval ();
3583 if (i != ((long) (sizeof (int))))
3585 fprintf (f, "%ld\n", i);
3589 unsigned long i = ulongval ();
3590 if (i != ((long) (sizeof (int))))
3592 fprintf (f, "%lu\n", i);
3594 exit (ferror (f) || fclose (f) != 0);
3600 rm -f conftest
$ac_exeext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3602 (eval $ac_link) 2>&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3610 (exit $ac_status); }; }; then
3611 ac_cv_sizeof_int
=`cat conftest.val`
3613 echo "$as_me: program exited with status $ac_status" >&5
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.
$ac_ext >&5
3618 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
3619 See \`config.log' for more details." >&5
3620 echo "$as_me: error: cannot compute sizeof (int), 77
3621 See \`config.log' for more details." >&2;}
3622 { (exit 1); exit 1; }; }
3624 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3632 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3633 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3634 cat >>confdefs.h
<<_ACEOF
3635 #define SIZEOF_INT $ac_cv_sizeof_int
3641 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
3642 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
3643 if test "${ac_cv_c_long_double+set}" = set; then
3644 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 cat >conftest.
$ac_ext <<_ACEOF
3649 cat confdefs.h
>>conftest.
$ac_ext
3650 cat >>conftest.
$ac_ext <<_ACEOF
3651 /* end confdefs.h. */
3653 long double foo = 0.0;
3657 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
3658 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
3659 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
3666 rm -f conftest.
$ac_objext
3667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3668 (eval $ac_compile) 2>conftest.er1
3670 grep -v '^ *+' conftest.er1
>conftest.err
3672 cat conftest.err
>&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); } &&
3675 { ac_try
='test -z "$ac_cxx_werror_flag"
3676 || test ! -s conftest.err'
3677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); }; } &&
3682 { ac_try
='test -s conftest.$ac_objext'
3683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3687 (exit $ac_status); }; }; then
3688 ac_cv_c_long_double
=yes
3690 echo "$as_me: failed program was:" >&5
3691 sed 's/^/| /' conftest.
$ac_ext >&5
3693 ac_cv_c_long_double
=no
3695 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3697 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
3698 echo "${ECHO_T}$ac_cv_c_long_double" >&6
3699 if test $ac_cv_c_long_double = yes; then
3701 cat >>confdefs.h
<<\_ACEOF
3702 #define HAVE_LONG_DOUBLE 1
3707 if test $ac_cv_c_long_double != yes ; then
3709 cat >>confdefs.h
<<\_ACEOF
3710 #define PNO_LONG_DOUBLE
3715 if test ${OSTYPE} = Darwin
; then
3716 STDCCFLAGS
="$STDCCFLAGS -Wno-long-double"
3719 # Extract the first word of "flex", so it can be a program name with args.
3720 set dummy flex
; ac_word
=$2
3721 echo "$as_me:$LINENO: checking for $ac_word" >&5
3722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3723 if test "${ac_cv_path_FLEX+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 ac_cv_path_FLEX
="$FLEX" # Let the user override the test with a path.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_path_FLEX
="$as_dir/$ac_word$ac_exec_ext"
3739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 FLEX
=$ac_cv_path_FLEX
3750 if test -n "$FLEX"; then
3751 echo "$as_me:$LINENO: result: $FLEX" >&5
3752 echo "${ECHO_T}$FLEX" >&6
3754 echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6
3758 if test -z "$FLEX" ; then
3759 { { echo "$as_me:$LINENO: error: pwlib needs the GNU Project fast lexical analyzer generator flex" >&5
3760 echo "$as_me: error: pwlib needs the GNU Project fast lexical analyzer generator flex" >&2;}
3761 { (exit 1); exit 1; }; }
3764 # Extract the first word of "ar", so it can be a program name with args.
3765 set dummy
ar; ac_word
=$2
3766 echo "$as_me:$LINENO: checking for $ac_word" >&5
3767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3768 if test "${ac_cv_path_AR+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
3776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir
=.
3781 for ac_exec_ext
in '' $ac_executable_extensions; do
3782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
3784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 if test -n "$AR"; then
3796 echo "$as_me:$LINENO: result: $AR" >&5
3797 echo "${ECHO_T}$AR" >&6
3799 echo "$as_me:$LINENO: result: no" >&5
3800 echo "${ECHO_T}no" >&6
3803 if test -z "$AR" ; then
3804 # Extract the first word of "gar", so it can be a program name with args.
3805 set dummy gar
; ac_word
=$2
3806 echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3808 if test "${ac_cv_path_AR+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
3816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir
=.
3821 for ac_exec_ext
in '' $ac_executable_extensions; do
3822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3823 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
3824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3835 if test -n "$AR"; then
3836 echo "$as_me:$LINENO: result: $AR" >&5
3837 echo "${ECHO_T}$AR" >&6
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3845 # Extract the first word of "bison", so it can be a program name with args.
3846 set dummy bison
; ac_word
=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_path_BISON+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 ac_cv_path_BISON
="$BISON" # Let the user override the test with a path.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3864 ac_cv_path_BISON
="$as_dir/$ac_word$ac_exec_ext"
3865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 BISON
=$ac_cv_path_BISON
3876 if test -n "$BISON"; then
3877 echo "$as_me:$LINENO: result: $BISON" >&5
3878 echo "${ECHO_T}$BISON" >&6
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3884 if test -z "$BISON" ; then
3885 { { echo "$as_me:$LINENO: error: pwlib needs the GNU Project parser generator bison" >&5
3886 echo "$as_me: error: pwlib needs the GNU Project parser generator bison" >&2;}
3887 { (exit 1); exit 1; }; }
3890 echo "$as_me:$LINENO: checking if readdir_r has 2 parms" >&5
3891 echo $ECHO_N "checking if readdir_r has 2 parms... $ECHO_C" >&6
3892 cat >conftest.
$ac_ext <<_ACEOF
3895 cat confdefs.h
>>conftest.
$ac_ext
3896 cat >>conftest.
$ac_ext <<_ACEOF
3897 /* end confdefs.h. */
3898 #define _POSIX_PTHREAD_SEMANTICS
3903 DIR *s; struct dirent * e; readdir_r(s, e);
3908 rm -f conftest.
$ac_objext
3909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3910 (eval $ac_compile) 2>conftest.er1
3912 grep -v '^ *+' conftest.er1
>conftest.err
3914 cat conftest.err
>&5
3915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3916 (exit $ac_status); } &&
3917 { ac_try
='test -z "$ac_cxx_werror_flag"
3918 || test ! -s conftest.err'
3919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); }; } &&
3924 { ac_try
='test -s conftest.$ac_objext'
3925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); }; }; then
3930 P_HAS_POSIX_READDIR_R
=2
3932 echo "$as_me: failed program was:" >&5
3933 sed 's/^/| /' conftest.
$ac_ext >&5
3935 P_HAS_POSIX_READDIR_R
=0
3937 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3938 if test ${P_HAS_POSIX_READDIR_R} = 2 ; then
3939 echo "$as_me:$LINENO: result: yes" >&5
3940 echo "${ECHO_T}yes" >&6
3942 echo "$as_me:$LINENO: result: no" >&5
3943 echo "${ECHO_T}no" >&6
3944 echo "$as_me:$LINENO: checking if readdir_r has 3 parms" >&5
3945 echo $ECHO_N "checking if readdir_r has 3 parms... $ECHO_C" >&6
3946 cat >conftest.
$ac_ext <<_ACEOF
3949 cat confdefs.h
>>conftest.
$ac_ext
3950 cat >>conftest.
$ac_ext <<_ACEOF
3951 /* end confdefs.h. */
3956 DIR *s; struct dirent * e; struct dirent * p; readdir_r(s, e, &p);
3961 rm -f conftest.
$ac_objext
3962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3963 (eval $ac_compile) 2>conftest.er1
3965 grep -v '^ *+' conftest.er1
>conftest.err
3967 cat conftest.err
>&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } &&
3970 { ac_try
='test -z "$ac_cxx_werror_flag"
3971 || test ! -s conftest.err'
3972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); }; } &&
3977 { ac_try
='test -s conftest.$ac_objext'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; }; then
3983 P_HAS_POSIX_READDIR_R
=3
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.
$ac_ext >&5
3988 P_HAS_POSIX_READDIR_R
=0
3990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3991 if test ${P_HAS_POSIX_READDIR_R} = 3 ; then
3992 echo "$as_me:$LINENO: result: yes" >&5
3993 echo "${ECHO_T}yes" >&6
3995 echo "$as_me:$LINENO: result: no" >&5
3996 echo "${ECHO_T}no" >&6
3999 cat >>confdefs.h
<<_ACEOF
4000 #define P_HAS_POSIX_READDIR_R ${P_HAS_POSIX_READDIR_R}
4005 # Check whether --enable-minsize or --disable-minsize was given.
4006 if test "${enable_minsize+set}" = set; then
4007 enableval
="$enable_minsize"
4010 # Check whether --enable-openh323 or --disable-openh323 was given.
4011 if test "${enable_openh323+set}" = set; then
4012 enableval
="$enable_openh323"
4015 # Check whether --enable-opal or --disable-opal was given.
4016 if test "${enable_opal+set}" = set; then
4017 enableval
="$enable_opal"
4021 default_resolver
=yes
4022 default_openldap
=yes
4031 default_pipechan
=yes
4040 default_pop3smtp
=yes
4048 default_configfile
=yes
4055 default_shmvideo
=yes
4058 if test "${enable_openh323}x" = "yesx" -o "${enable_opal}x" = "yesx" ; then
4059 default_resolver
=yes
4069 default_pipechan
=yes
4086 default_configfile
=yes
4095 elif test "${enable_minsize}x" = "yesx" ; then
4123 default_configfile
=no
4137 echo "$as_me:$LINENO: checking for recvmsg" >&5
4138 echo $ECHO_N "checking for recvmsg... $ECHO_C" >&6
4139 cat >conftest.
$ac_ext <<_ACEOF
4142 cat confdefs.h
>>conftest.
$ac_ext
4143 cat >>conftest.
$ac_ext <<_ACEOF
4144 /* end confdefs.h. */
4145 #include <sys/types.h>
4146 #include <sys/socket.h>
4147 #include <netinet/in.h>
4151 int t = SOL_IP; t = IP_PKTINFO; struct msghdr *msg; recvmsg(0, msg, 0);
4156 rm -f conftest.
$ac_objext
4157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4158 (eval $ac_compile) 2>conftest.er1
4160 grep -v '^ *+' conftest.er1
>conftest.err
4162 cat conftest.err
>&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); } &&
4165 { ac_try
='test -z "$ac_cxx_werror_flag"
4166 || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try
='test -s conftest.$ac_objext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.
$ac_ext >&5
4184 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4185 if test "${P_HAS_RECVMSG}" = "1" ; then
4186 echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6
4188 cat >>confdefs.h
<<\_ACEOF
4189 #define P_HAS_RECVMSG 1
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4199 echo "$as_me:$LINENO: checking if using STL streams" >&5
4200 echo $ECHO_N "checking if using STL streams... $ECHO_C" >&6
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4211 int v = (int)std::ios_base::seekdir();
4216 rm -f conftest.
$ac_objext
4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4218 (eval $ac_compile) 2>conftest.er1
4220 grep -v '^ *+' conftest.er1
>conftest.err
4222 cat conftest.err
>&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } &&
4225 { ac_try
='test -z "$ac_cxx_werror_flag"
4226 || test ! -s conftest.err'
4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; } &&
4232 { ac_try
='test -s conftest.$ac_objext'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.
$ac_ext >&5
4244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4245 if test "${P_HAS_STL_STREAMS}" = 1 ; then
4246 echo "$as_me:$LINENO: result: yes" >&5
4247 echo "${ECHO_T}yes" >&6
4249 echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6
4252 cat >>confdefs.h
<<_ACEOF
4253 #define P_HAS_STL_STREAMS ${P_HAS_STL_STREAMS}
4259 P_NEEDS_GNU_CXX_NAMESPACE
=0
4260 echo "$as_me:$LINENO: checking if atomic integer available" >&5
4261 echo $ECHO_N "checking if atomic integer available... $ECHO_C" >&6
4262 cat >conftest.
$ac_ext <<_ACEOF
4265 cat confdefs.h
>>conftest.
$ac_ext
4266 cat >>conftest.
$ac_ext <<_ACEOF
4267 /* end confdefs.h. */
4268 #include <bits/atomicity.h>
4277 rm -f conftest.
$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>conftest.er1
4281 grep -v '^ *+' conftest.er1
>conftest.err
4283 cat conftest.err
>&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try
='test -z "$ac_cxx_werror_flag"
4287 || test ! -s conftest.err'
4288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4292 (exit $ac_status); }; } &&
4293 { ac_try
='test -s conftest.$ac_objext'
4294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298 (exit $ac_status); }; }; then
4301 echo "$as_me: failed program was:" >&5
4302 sed 's/^/| /' conftest.
$ac_ext >&5
4304 cat >conftest.
$ac_ext <<_ACEOF
4307 cat confdefs.h
>>conftest.
$ac_ext
4308 cat >>conftest.
$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4310 #include <ext/atomicity.h>
4319 rm -f conftest.
$ac_objext
4320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4321 (eval $ac_compile) 2>conftest.er1
4323 grep -v '^ *+' conftest.er1
>conftest.err
4325 cat conftest.err
>&5
4326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4327 (exit $ac_status); } &&
4328 { ac_try
='test -z "$ac_cxx_werror_flag"
4329 || test ! -s conftest.err'
4330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; } &&
4335 { ac_try
='test -s conftest.$ac_objext'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; }; then
4343 echo "$as_me: failed program was:" >&5
4344 sed 's/^/| /' conftest.
$ac_ext >&5
4347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4350 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4351 if test ${P_HAS_ATOMIC_INT} != 0 ; then
4352 echo "$as_me:$LINENO: result: yes" >&5
4353 echo "${ECHO_T}yes" >&6
4354 echo "$as_me:$LINENO: checking if __exchange_and_add is in __gnu_cxx namespace" >&5
4355 echo $ECHO_N "checking if __exchange_and_add is in __gnu_cxx namespace... $ECHO_C" >&6
4356 if test ${P_HAS_ATOMIC_INT} = 1 ; then
4357 cat >conftest.
$ac_ext <<_ACEOF
4360 cat confdefs.h
>>conftest.
$ac_ext
4361 cat >>conftest.
$ac_ext <<_ACEOF
4362 /* end confdefs.h. */
4363 #include <bits/atomicity.h>
4367 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
4372 rm -f conftest.
$ac_objext
4373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4374 (eval $ac_compile) 2>conftest.er1
4376 grep -v '^ *+' conftest.er1
>conftest.err
4378 cat conftest.err
>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); } &&
4381 { ac_try
='test -z "$ac_cxx_werror_flag"
4382 || test ! -s conftest.err'
4383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); }; } &&
4388 { ac_try
='test -s conftest.$ac_objext'
4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; }; then
4394 P_NEEDS_GNU_CXX_NAMESPACE
=1
4396 echo "$as_me: failed program was:" >&5
4397 sed 's/^/| /' conftest.
$ac_ext >&5
4400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4403 cat >conftest.
$ac_ext <<_ACEOF
4406 cat confdefs.h
>>conftest.
$ac_ext
4407 cat >>conftest.
$ac_ext <<_ACEOF
4408 /* end confdefs.h. */
4409 #include <ext/atomicity.h>
4413 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
4418 rm -f conftest.
$ac_objext
4419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4420 (eval $ac_compile) 2>conftest.er1
4422 grep -v '^ *+' conftest.er1
>conftest.err
4424 cat conftest.err
>&5
4425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4426 (exit $ac_status); } &&
4427 { ac_try
='test -z "$ac_cxx_werror_flag"
4428 || test ! -s conftest.err'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; } &&
4434 { ac_try
='test -s conftest.$ac_objext'
4435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; }; then
4440 P_NEEDS_GNU_CXX_NAMESPACE
=1
4442 echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.
$ac_ext >&5
4446 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4448 if test ${P_NEEDS_GNU_CXX_NAMESPACE} = 1 ; then
4449 echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6
4452 echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4460 cat >>confdefs.h
<<_ACEOF
4461 #define P_HAS_ATOMIC_INT ${P_HAS_ATOMIC_INT}
4464 cat >>confdefs.h
<<_ACEOF
4465 #define P_NEEDS_GNU_CXX_NAMESPACE ${P_NEEDS_GNU_CXX_NAMESPACE}
4471 if test "${OSTYPE:-unknown}" = "solaris"; then
4472 echo "$as_me:$LINENO: checking checking for FD_SETSIZE" >&5
4473 echo $ECHO_N "checking checking for FD_SETSIZE... $ECHO_C" >&6
4474 _FD_SYSTEM_FILE
=/etc
/system
4475 _FD_SETSIZE
=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -c1`
4476 if test "$_FD_SETSIZE" = "#"; then
4479 _FD_SETSIZE
=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -f2 -d'='`
4480 if test "x$_FD_SETSIZE" = "x"; then
4483 STDCCFLAGS
="$STDCCFLAGS -DFD_SETSIZE=$_FD_SETSIZE"
4486 echo "$as_me:$LINENO: result: $_FD_SETSIZE" >&5
4487 echo "${ECHO_T}$_FD_SETSIZE" >&6
4492 if test "${OSTYPE:-unknown}" = "solaris"; then
4493 echo "$as_me:$LINENO: checking for upad128_t" >&5
4494 echo $ECHO_N "checking for upad128_t... $ECHO_C" >&6
4495 cat >conftest.
$ac_ext <<_ACEOF
4498 cat confdefs.h
>>conftest.
$ac_ext
4499 cat >>conftest.
$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4501 #include <sys/types.h>
4505 upad128_t upad; upad._q = 0.0;
4510 rm -f conftest.
$ac_objext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4512 (eval $ac_compile) 2>conftest.er1
4514 grep -v '^ *+' conftest.er1
>conftest.err
4516 cat conftest.err
>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try
='test -z "$ac_cxx_werror_flag"
4520 || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try
='test -s conftest.$ac_objext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4539 if test ${has_upad128_t} == "y"; then
4540 echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6
4542 cat >>confdefs.h
<<\_ACEOF
4543 #define P_HAS_UPAD128_T 1
4547 echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6
4554 if test ${OSTYPE} != Darwin
; then
4555 cat >conftest.
$ac_ext <<_ACEOF
4558 cat confdefs.h
>>conftest.
$ac_ext
4559 cat >>conftest.
$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4561 #include <semaphore.h>
4565 sem_t *s; sem_init(s, 0, 0);
4570 rm -f conftest.
$ac_objext
4571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4572 (eval $ac_compile) 2>conftest.er1
4574 grep -v '^ *+' conftest.er1
>conftest.err
4576 cat conftest.err
>&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } &&
4579 { ac_try
='test -z "$ac_cxx_werror_flag"
4580 || test ! -s conftest.err'
4581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); }; } &&
4586 { ac_try
='test -s conftest.$ac_objext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.
$ac_ext >&5
4598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4599 echo "$as_me:$LINENO: checking if Unix semaphores are available" >&5
4600 echo $ECHO_N "checking if Unix semaphores are available... $ECHO_C" >&6
4601 if test "${P_HAS_SEMAPHORES}x" != "x" ; then
4602 cat >>confdefs.h
<<\_ACEOF
4603 #define P_HAS_SEMAPHORES 1
4606 echo "$as_me:$LINENO: result: yes" >&5
4607 echo "${ECHO_T}yes" >&6
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4614 if test "${P_HAS_SEMAPHORES}x" == "x" ; then
4616 cat >conftest.
$ac_ext <<_ACEOF
4619 cat confdefs.h
>>conftest.
$ac_ext
4620 cat >>conftest.
$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <semaphore.h>
4626 sem_t *s = sem_open("test", O_CREAT)
4631 rm -f conftest.
$ac_objext
4632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4633 (eval $ac_compile) 2>conftest.er1
4635 grep -v '^ *+' conftest.er1
>conftest.err
4637 cat conftest.err
>&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); } &&
4640 { ac_try
='test -z "$ac_cxx_werror_flag"
4641 || test ! -s conftest.err'
4642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); }; } &&
4647 { ac_try
='test -s conftest.$ac_objext'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; }; then
4653 P_HAS_NAMED_SEMAPHORES
=1
4655 echo "$as_me: failed program was:" >&5
4656 sed 's/^/| /' conftest.
$ac_ext >&5
4659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4660 echo "$as_me:$LINENO: checking if named semaphores are available" >&5
4661 echo $ECHO_N "checking if named semaphores are available... $ECHO_C" >&6
4662 if test "${P_HAS_NAMED_SEMAPHORES}x" != "x"; then
4663 cat >>confdefs.h
<<\_ACEOF
4664 #define P_HAS_NAMED_SEMAPHORES 1
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4672 { echo "$as_me:$LINENO: WARNING: This host does not support semaphores which are essential" >&5
4673 echo "$as_me: WARNING: This host does not support semaphores which are essential" >&2;}
4674 { echo "$as_me:$LINENO: WARNING: to implement 'critical sections'. This feature was added" >&5
4675 echo "$as_me: WARNING: to implement 'critical sections'. This feature was added" >&2;}
4676 { echo "$as_me:$LINENO: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&5
4677 echo "$as_me: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&2;}
4678 { echo "$as_me:$LINENO: WARNING: programs. This feature has been disabled for this host" >&5
4679 echo "$as_me: WARNING: programs. This feature has been disabled for this host" >&2;}
4686 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
4687 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
4688 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
4689 echo $ECHO_N "(cached) $ECHO_C" >&6
4691 ac_check_lib_save_LIBS
=$LIBS
4692 LIBS
="-lpthread $LIBS"
4693 cat >conftest.
$ac_ext <<_ACEOF
4696 cat confdefs.h
>>conftest.
$ac_ext
4697 cat >>conftest.
$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4700 /* Override any gcc2 internal prototype to avoid an error. */
4704 /* We use char because int might match the return type of a gcc2
4705 builtin and then its argument prototype would still apply. */
4706 char pthread_create ();
4715 rm -f conftest.
$ac_objext conftest
$ac_exeext
4716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4717 (eval $ac_link) 2>conftest.er1
4719 grep -v '^ *+' conftest.er1
>conftest.err
4721 cat conftest.err
>&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); } &&
4724 { ac_try
='test -z "$ac_cxx_werror_flag"
4725 || test ! -s conftest.err'
4726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }; } &&
4731 { ac_try
='test -s conftest$ac_exeext'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; }; then
4737 ac_cv_lib_pthread_pthread_create
=yes
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.
$ac_ext >&5
4742 ac_cv_lib_pthread_pthread_create
=no
4744 rm -f conftest.err conftest.
$ac_objext \
4745 conftest
$ac_exeext conftest.
$ac_ext
4746 LIBS
=$ac_check_lib_save_LIBS
4748 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
4749 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
4750 if test $ac_cv_lib_pthread_pthread_create = yes; then
4756 if test ${HAS_PTHREADS} = yes ; then
4757 ENDLDLIBS
="$ENDLDLIBS -lpthread"
4758 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT"
4760 if test ${OSTYPE} = FreeBSD
; then
4762 ENDLDLIBS
="$ENDLDLIBS -pthread"
4763 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
4764 elif test ${OSTYPE} = FreeBSD
; then
4766 ENDLDLIBS
="$ENDLDLIBS -pthread"
4767 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
4772 if test ${HAS_PTHREADS} != yes -a ${NEEDS_PTHREADS} = yes; then
4773 { { echo "$as_me:$LINENO: error: must have pthreads!" >&5
4774 echo "$as_me: error: must have pthreads!" >&2;}
4775 { (exit 1); exit 1; }; }
4779 if test ${HAS_PTHREADS} = yes ; then
4780 echo "$as_me:$LINENO: checking if pthread_mutex_timedlock is available" >&5
4781 echo $ECHO_N "checking if pthread_mutex_timedlock is available... $ECHO_C" >&6
4782 cat >conftest.
$ac_ext <<_ACEOF
4785 cat confdefs.h
>>conftest.
$ac_ext
4786 cat >>conftest.
$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 #include <pthread.h>
4792 pthread_mutex_timedlock(NULL, NULL);
4797 rm -f conftest.
$ac_objext
4798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4799 (eval $ac_compile) 2>conftest.er1
4801 grep -v '^ *+' conftest.er1
>conftest.err
4803 cat conftest.err
>&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); } &&
4806 { ac_try
='test -z "$ac_cxx_werror_flag"
4807 || test ! -s conftest.err'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; } &&
4813 { ac_try
='test -s conftest.$ac_objext'
4814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818 (exit $ac_status); }; }; then
4819 HAS_PTHREADS_XPG6
=yes
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.
$ac_ext >&5
4824 HAS_PTHREADS_XPG6
=no
4826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4827 if test ${HAS_PTHREADS_XPG6} = yes ; then
4828 echo "$as_me:$LINENO: result: yes" >&5
4829 echo "${ECHO_T}yes" >&6
4831 cat >>confdefs.h
<<\_ACEOF
4832 #define P_PTHREADS_XPG6 1
4836 echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6
4840 echo "$as_me:$LINENO: checking for sem_timedwait in -lpthread" >&5
4841 echo $ECHO_N "checking for sem_timedwait in -lpthread... $ECHO_C" >&6
4842 if test "${ac_cv_lib_pthread_sem_timedwait+set}" = set; then
4843 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 ac_check_lib_save_LIBS
=$LIBS
4846 LIBS
="-lpthread $LIBS"
4847 cat >conftest.
$ac_ext <<_ACEOF
4850 cat confdefs.h
>>conftest.
$ac_ext
4851 cat >>conftest.
$ac_ext <<_ACEOF
4852 /* end confdefs.h. */
4854 /* Override any gcc2 internal prototype to avoid an error. */
4858 /* We use char because int might match the return type of a gcc2
4859 builtin and then its argument prototype would still apply. */
4860 char sem_timedwait ();
4869 rm -f conftest.
$ac_objext conftest
$ac_exeext
4870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4871 (eval $ac_link) 2>conftest.er1
4873 grep -v '^ *+' conftest.er1
>conftest.err
4875 cat conftest.err
>&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); } &&
4878 { ac_try
='test -z "$ac_cxx_werror_flag"
4879 || test ! -s conftest.err'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; } &&
4885 { ac_try
='test -s conftest$ac_exeext'
4886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); }; }; then
4891 ac_cv_lib_pthread_sem_timedwait
=yes
4893 echo "$as_me: failed program was:" >&5
4894 sed 's/^/| /' conftest.
$ac_ext >&5
4896 ac_cv_lib_pthread_sem_timedwait
=no
4898 rm -f conftest.err conftest.
$ac_objext \
4899 conftest
$ac_exeext conftest.
$ac_ext
4900 LIBS
=$ac_check_lib_save_LIBS
4902 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_sem_timedwait" >&5
4903 echo "${ECHO_T}$ac_cv_lib_pthread_sem_timedwait" >&6
4904 if test $ac_cv_lib_pthread_sem_timedwait = yes; then
4905 HAS_SEMAPHORES_XPG6
=yes
4907 HAS_SEMAPHORES_XPG6
=no
4910 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
4911 echo "$as_me:$LINENO: checking if sem_timedwait is compilable" >&5
4912 echo $ECHO_N "checking if sem_timedwait is compilable... $ECHO_C" >&6
4913 cat >conftest.
$ac_ext <<_ACEOF
4916 cat confdefs.h
>>conftest.
$ac_ext
4917 cat >>conftest.
$ac_ext <<_ACEOF
4918 /* end confdefs.h. */
4919 #include <semaphore.h>
4923 sem_t *s; const struct timespec * t; sem_timedwait(s, t);
4928 rm -f conftest.
$ac_objext
4929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4930 (eval $ac_compile) 2>conftest.er1
4932 grep -v '^ *+' conftest.er1
>conftest.err
4934 cat conftest.err
>&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } &&
4937 { ac_try
='test -z "$ac_cxx_werror_flag"
4938 || test ! -s conftest.err'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; } &&
4944 { ac_try
='test -s conftest.$ac_objext'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; }; then
4950 HAS_SEMAPHORES_XPG6
=yes
4952 echo "$as_me: failed program was:" >&5
4953 sed 's/^/| /' conftest.
$ac_ext >&5
4955 HAS_SEMAPHORES_XPG6
=no
4957 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4958 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
4960 cat >>confdefs.h
<<\_ACEOF
4961 #define P_HAS_SEMAPHORES_XPG6 1
4964 echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6
4967 echo "$as_me:$LINENO: result: no" >&5
4968 echo "${ECHO_T}no" >&6
4973 P_HAS_RECURSIVE_MUTEX
=0
4974 echo "$as_me:$LINENO: checking if recursive mutexes are available" >&5
4975 echo $ECHO_N "checking if recursive mutexes are available... $ECHO_C" >&6
4976 cat >conftest.
$ac_ext <<_ACEOF
4979 cat confdefs.h
>>conftest.
$ac_ext
4980 cat >>conftest.
$ac_ext <<_ACEOF
4981 /* end confdefs.h. */
4982 #include <pthread.h>
4986 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
4991 rm -f conftest.
$ac_objext
4992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4993 (eval $ac_compile) 2>conftest.er1
4995 grep -v '^ *+' conftest.er1
>conftest.err
4997 cat conftest.err
>&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } &&
5000 { ac_try
='test -z "$ac_cxx_werror_flag"
5001 || test ! -s conftest.err'
5002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); }; } &&
5007 { ac_try
='test -s conftest.$ac_objext'
5008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012 (exit $ac_status); }; }; then
5013 P_HAS_RECURSIVE_MUTEX
=1
5015 echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.
$ac_ext >&5
5019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5020 if test ${P_HAS_RECURSIVE_MUTEX} = 1 ; then
5021 echo "$as_me:$LINENO: result: PTHREAD_MUTEX_RECURSIVE_NP" >&5
5022 echo "${ECHO_T}PTHREAD_MUTEX_RECURSIVE_NP" >&6
5024 cat >conftest.
$ac_ext <<_ACEOF
5027 cat confdefs.h
>>conftest.
$ac_ext
5028 cat >>conftest.
$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5030 #include <pthread.h>
5034 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
5039 rm -f conftest.
$ac_objext
5040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5041 (eval $ac_compile) 2>conftest.er1
5043 grep -v '^ *+' conftest.er1
>conftest.err
5045 cat conftest.err
>&5
5046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5047 (exit $ac_status); } &&
5048 { ac_try
='test -z "$ac_cxx_werror_flag"
5049 || test ! -s conftest.err'
5050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); }; } &&
5055 { ac_try
='test -s conftest.$ac_objext'
5056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); }; }; then
5061 P_HAS_RECURSIVE_MUTEX
=2
5063 echo "$as_me: failed program was:" >&5
5064 sed 's/^/| /' conftest.
$ac_ext >&5
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5068 if test ${P_HAS_RECURSIVE_MUTEX} = 2 ; then
5069 echo "$as_me:$LINENO: result: PTHREAD_MUTEX_RECURSIVE" >&5
5070 echo "${ECHO_T}PTHREAD_MUTEX_RECURSIVE" >&6
5072 echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5076 cat >>confdefs.h
<<_ACEOF
5077 #define P_HAS_RECURSIVE_MUTEX ${P_HAS_RECURSIVE_MUTEX}
5084 for ac_header
in regex.h
5086 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5088 echo "$as_me:$LINENO: checking for $ac_header" >&5
5089 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5090 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5091 echo $ECHO_N "(cached) $ECHO_C" >&6
5093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5096 # Is the header compilable?
5097 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5098 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5099 cat >conftest.
$ac_ext <<_ACEOF
5102 cat confdefs.h
>>conftest.
$ac_ext
5103 cat >>conftest.
$ac_ext <<_ACEOF
5104 /* end confdefs.h. */
5105 $ac_includes_default
5106 #include <$ac_header>
5108 rm -f conftest.
$ac_objext
5109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5110 (eval $ac_compile) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1
>conftest.err
5114 cat conftest.err
>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } &&
5117 { ac_try
='test -z "$ac_cxx_werror_flag"
5118 || test ! -s conftest.err'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; } &&
5124 { ac_try
='test -s conftest.$ac_objext'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 ac_header_compiler
=yes
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.
$ac_ext >&5
5135 ac_header_compiler
=no
5137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5139 echo "${ECHO_T}$ac_header_compiler" >&6
5141 # Is the header present?
5142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5144 cat >conftest.
$ac_ext <<_ACEOF
5147 cat confdefs.h
>>conftest.
$ac_ext
5148 cat >>conftest.
$ac_ext <<_ACEOF
5149 /* end confdefs.h. */
5150 #include <$ac_header>
5152 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5153 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5155 grep -v '^ *+' conftest.er1
>conftest.err
5157 cat conftest.err
>&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } >/dev
/null
; then
5160 if test -s conftest.err
; then
5161 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5162 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5169 if test -z "$ac_cpp_err"; then
5170 ac_header_preproc
=yes
5172 echo "$as_me: failed program was:" >&5
5173 sed 's/^/| /' conftest.
$ac_ext >&5
5175 ac_header_preproc
=no
5177 rm -f conftest.err conftest.
$ac_ext
5178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5179 echo "${ECHO_T}$ac_header_preproc" >&6
5181 # So? What about this header?
5182 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5187 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5188 ac_header_preproc
=yes
5191 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5192 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5193 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5194 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5196 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5198 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5201 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5202 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5205 ## ------------------------------------------ ##
5206 ## Report this to the AC_PACKAGE_NAME lists. ##
5207 ## ------------------------------------------ ##
5210 sed "s/^/$as_me: WARNING: /" >&2
5213 echo "$as_me:$LINENO: checking for $ac_header" >&5
5214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 eval "$as_ac_Header=\$ac_header_preproc"
5220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5224 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5225 cat >>confdefs.h
<<_ACEOF
5226 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5234 # Check whether --enable-internalregex or --disable-internalregex was given.
5235 if test "${enable_internalregex+set}" = set; then
5236 enableval
="$enable_internalregex"
5237 internalregex
=$enableval
5239 if test "$internalregex" = "yes" ; then
5240 { echo "$as_me:$LINENO: Forcing use of internal regex library" >&5
5241 echo "$as_me: Forcing use of internal regex library" >&6;}
5243 if test "$HAS_REGEX" = "yes" ; then
5244 echo "$as_me:$LINENO: checking for regcomp" >&5
5245 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
5246 if test "${ac_cv_func_regcomp+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 cat >conftest.
$ac_ext <<_ACEOF
5252 cat confdefs.h
>>conftest.
$ac_ext
5253 cat >>conftest.
$ac_ext <<_ACEOF
5254 /* end confdefs.h. */
5255 /* Define regcomp to an innocuous variant, in case <limits.h> declares regcomp.
5256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5257 #define regcomp innocuous_regcomp
5259 /* System header to define __stub macros and hopefully few prototypes,
5260 which can conflict with char regcomp (); below.
5261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5262 <limits.h> exists even on freestanding compilers. */
5265 # include <limits.h>
5267 # include <assert.h>
5272 /* Override any gcc2 internal prototype to avoid an error. */
5277 /* We use char because int might match the return type of a gcc2
5278 builtin and then its argument prototype would still apply. */
5280 /* The GNU C library defines this for functions which it implements
5281 to always fail with ENOSYS. Some functions are actually named
5282 something starting with __ and the normal name is an alias. */
5283 #if defined (__stub_regcomp) || defined (__stub___regcomp)
5286 char (*f) () = regcomp;
5295 return f != regcomp;
5300 rm -f conftest.
$ac_objext conftest
$ac_exeext
5301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5302 (eval $ac_link) 2>conftest.er1
5304 grep -v '^ *+' conftest.er1
>conftest.err
5306 cat conftest.err
>&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); } &&
5309 { ac_try
='test -z "$ac_cxx_werror_flag"
5310 || test ! -s conftest.err'
5311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5315 (exit $ac_status); }; } &&
5316 { ac_try
='test -s conftest$ac_exeext'
5317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5321 (exit $ac_status); }; }; then
5322 ac_cv_func_regcomp
=yes
5324 echo "$as_me: failed program was:" >&5
5325 sed 's/^/| /' conftest.
$ac_ext >&5
5327 ac_cv_func_regcomp
=no
5329 rm -f conftest.err conftest.
$ac_objext \
5330 conftest
$ac_exeext conftest.
$ac_ext
5332 echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
5333 echo "${ECHO_T}$ac_cv_func_regcomp" >&6
5334 if test $ac_cv_func_regcomp = yes; then
5338 if test "$HAS_REGEX" = "yes" ; then
5342 cat >>confdefs.h
<<\_ACEOF
5346 if test ${OSTYPE} = mingw
; then
5347 ENDLDLIBS
="$ENDLDLIBS -lregex"
5359 if test ${OSTYPE} = beos
; then
5362 cat >>confdefs.h
<<\_ACEOF
5363 #define P_DYNALINK 1
5366 elif test ${OSTYPE} = Darwin
; then
5369 cat >>confdefs.h
<<\_ACEOF
5370 #define P_DYNALINK 1
5375 for ac_header
in dlfcn.h
5377 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5379 echo "$as_me:$LINENO: checking for $ac_header" >&5
5380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5387 # Is the header compilable?
5388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5390 cat >conftest.
$ac_ext <<_ACEOF
5393 cat confdefs.h
>>conftest.
$ac_ext
5394 cat >>conftest.
$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5396 $ac_includes_default
5397 #include <$ac_header>
5399 rm -f conftest.
$ac_objext
5400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5401 (eval $ac_compile) 2>conftest.er1
5403 grep -v '^ *+' conftest.er1
>conftest.err
5405 cat conftest.err
>&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } &&
5408 { ac_try
='test -z "$ac_cxx_werror_flag"
5409 || test ! -s conftest.err'
5410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); }; } &&
5415 { ac_try
='test -s conftest.$ac_objext'
5416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); }; }; then
5421 ac_header_compiler
=yes
5423 echo "$as_me: failed program was:" >&5
5424 sed 's/^/| /' conftest.
$ac_ext >&5
5426 ac_header_compiler
=no
5428 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5430 echo "${ECHO_T}$ac_header_compiler" >&6
5432 # Is the header present?
5433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5434 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5435 cat >conftest.
$ac_ext <<_ACEOF
5438 cat confdefs.h
>>conftest.
$ac_ext
5439 cat >>conftest.
$ac_ext <<_ACEOF
5440 /* end confdefs.h. */
5441 #include <$ac_header>
5443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5444 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } >/dev
/null
; then
5451 if test -s conftest.err
; then
5452 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5453 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5460 if test -z "$ac_cpp_err"; then
5461 ac_header_preproc
=yes
5463 echo "$as_me: failed program was:" >&5
5464 sed 's/^/| /' conftest.
$ac_ext >&5
5466 ac_header_preproc
=no
5468 rm -f conftest.err conftest.
$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5470 echo "${ECHO_T}$ac_header_preproc" >&6
5472 # So? What about this header?
5473 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5479 ac_header_preproc
=yes
5482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5496 ## ------------------------------------------ ##
5497 ## Report this to the AC_PACKAGE_NAME lists. ##
5498 ## ------------------------------------------ ##
5501 sed "s/^/$as_me: WARNING: /" >&2
5504 echo "$as_me:$LINENO: checking for $ac_header" >&5
5505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5507 echo $ECHO_N "(cached) $ECHO_C" >&6
5509 eval "$as_ac_Header=\$ac_header_preproc"
5511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5516 cat >>confdefs.h
<<_ACEOF
5517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5526 if test "$HAS_DLFCN" = yes ; then
5527 echo "$as_me:$LINENO: checking if dlopen is available" >&5
5528 echo $ECHO_N "checking if dlopen is available... $ECHO_C" >&6
5529 cat >conftest.
$ac_ext <<_ACEOF
5532 cat confdefs.h
>>conftest.
$ac_ext
5533 cat >>conftest.
$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5539 void * p = dlopen("lib", 0);
5544 rm -f conftest.
$ac_objext
5545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5546 (eval $ac_compile) 2>conftest.er1
5548 grep -v '^ *+' conftest.er1
>conftest.err
5550 cat conftest.err
>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } &&
5553 { ac_try
='test -z "$ac_cxx_werror_flag"
5554 || test ! -s conftest.err'
5555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559 (exit $ac_status); }; } &&
5560 { ac_try
='test -s conftest.$ac_objext'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }; }; then
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5573 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5574 if test "$HAS_DLOPEN" = no
; then
5575 echo "$as_me:$LINENO: result: no" >&5
5576 echo "${ECHO_T}no" >&6
5578 echo "$as_me:$LINENO: result: yes" >&5
5579 echo "${ECHO_T}yes" >&6
5582 cat >>confdefs.h
<<\_ACEOF
5583 #define P_DYNALINK 1
5586 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
5587 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
5588 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_check_lib_save_LIBS
=$LIBS
5593 cat >conftest.
$ac_ext <<_ACEOF
5596 cat confdefs.h
>>conftest.
$ac_ext
5597 cat >>conftest.
$ac_ext <<_ACEOF
5598 /* end confdefs.h. */
5600 /* Override any gcc2 internal prototype to avoid an error. */
5604 /* We use char because int might match the return type of a gcc2
5605 builtin and then its argument prototype would still apply. */
5615 rm -f conftest.
$ac_objext conftest
$ac_exeext
5616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5617 (eval $ac_link) 2>conftest.er1
5619 grep -v '^ *+' conftest.er1
>conftest.err
5621 cat conftest.err
>&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } &&
5624 { ac_try
='test -z "$ac_cxx_werror_flag"
5625 || test ! -s conftest.err'
5626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5630 (exit $ac_status); }; } &&
5631 { ac_try
='test -s conftest$ac_exeext'
5632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; }; then
5637 ac_cv_lib_dl_dlopen
=yes
5639 echo "$as_me: failed program was:" >&5
5640 sed 's/^/| /' conftest.
$ac_ext >&5
5642 ac_cv_lib_dl_dlopen
=no
5644 rm -f conftest.err conftest.
$ac_objext \
5645 conftest
$ac_exeext conftest.
$ac_ext
5646 LIBS
=$ac_check_lib_save_LIBS
5648 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
5649 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
5650 if test $ac_cv_lib_dl_dlopen = yes; then
5663 echo "$as_me:$LINENO: checking if plugins support needs to be compiled" >&5
5664 echo $ECHO_N "checking if plugins support needs to be compiled... $ECHO_C" >&6
5665 # Check whether --enable-plugins or --disable-plugins was given.
5666 if test "${enable_plugins+set}" = set; then
5667 enableval
="$enable_plugins"
5670 if test "${enable_plugins}z" = "z" ; then
5671 enable_plugins
=default_plugins
5675 if test "${enable_plugins}" = "no" ; then
5676 echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6
5678 elif test "${P_DYNALINK:-unset}" = "unset" ; then
5679 echo "$as_me:$LINENO: result: plugins disabled as dlopen not available" >&5
5680 echo "${ECHO_T}plugins disabled as dlopen not available" >&6
5682 echo "$as_me:$LINENO: result: plugins enabled" >&5
5683 echo "${ECHO_T}plugins enabled" >&6
5686 cat >>confdefs.h
<<\_ACEOF
5687 #define P_HAS_PLUGINS 1
5694 if test "x$LIB64" != "x" ; then
5696 cat >>confdefs.h
<<_ACEOF
5697 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib64/pwlib"
5702 cat >>confdefs.h
<<_ACEOF
5703 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib"
5710 # Check whether --enable-resolver or --disable-resolver was given.
5711 if test "${enable_resolver+set}" = set; then
5712 enableval
="$enable_resolver"
5716 if test "${enable_resolver}z" = "z" ; then
5717 enable_resolver
=$default_resolver
5721 if test "$enable_resolver" = "no" ; then
5722 { echo "$as_me:$LINENO: DNS resolver disabled" >&5
5723 echo "$as_me: DNS resolver disabled" >&6;}
5726 echo "$as_me:$LINENO: checking for res_ninit" >&5
5727 echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6
5728 if test "${ac_cv_func_res_ninit+set}" = set; then
5729 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 cat >conftest.
$ac_ext <<_ACEOF
5734 cat confdefs.h
>>conftest.
$ac_ext
5735 cat >>conftest.
$ac_ext <<_ACEOF
5736 /* end confdefs.h. */
5737 /* Define res_ninit to an innocuous variant, in case <limits.h> declares res_ninit.
5738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5739 #define res_ninit innocuous_res_ninit
5741 /* System header to define __stub macros and hopefully few prototypes,
5742 which can conflict with char res_ninit (); below.
5743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5744 <limits.h> exists even on freestanding compilers. */
5747 # include <limits.h>
5749 # include <assert.h>
5754 /* Override any gcc2 internal prototype to avoid an error. */
5759 /* We use char because int might match the return type of a gcc2
5760 builtin and then its argument prototype would still apply. */
5762 /* The GNU C library defines this for functions which it implements
5763 to always fail with ENOSYS. Some functions are actually named
5764 something starting with __ and the normal name is an alias. */
5765 #if defined (__stub_res_ninit) || defined (__stub___res_ninit)
5768 char (*f) () = res_ninit;
5777 return f != res_ninit;
5782 rm -f conftest.
$ac_objext conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>conftest.er1
5786 grep -v '^ *+' conftest.er1
>conftest.err
5788 cat conftest.err
>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try
='test -z "$ac_cxx_werror_flag"
5792 || test ! -s conftest.err'
5793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); }; } &&
5798 { ac_try
='test -s conftest$ac_exeext'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; }; then
5804 ac_cv_func_res_ninit
=yes
5806 echo "$as_me: failed program was:" >&5
5807 sed 's/^/| /' conftest.
$ac_ext >&5
5809 ac_cv_func_res_ninit
=no
5811 rm -f conftest.err conftest.
$ac_objext \
5812 conftest
$ac_exeext conftest.
$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5
5815 echo "${ECHO_T}$ac_cv_func_res_ninit" >&6
5816 if test $ac_cv_func_res_ninit = yes; then
5820 if test "${HAS_RES_NINIT}z" != "z" ; then
5821 cat >>confdefs.h
<<\_ACEOF
5822 #define P_HAS_RES_NINIT 1
5829 if test "${HAS_RESOLVER}z" = "z" ; then
5830 echo "$as_me:$LINENO: checking for res_ninit in -lresolv" >&5
5831 echo $ECHO_N "checking for res_ninit in -lresolv... $ECHO_C" >&6
5833 cat >conftest.
$ac_ext <<_ACEOF
5835 #include <netinet/in.h>
5837 int main(int argc,char **argv){
5838 res_state p; res_ninit(p);
5841 rm -f conftest.
$ac_objext conftest
$ac_exeext
5842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5843 (eval $ac_link) 2>conftest.er1
5845 grep -v '^ *+' conftest.er1
>conftest.err
5847 cat conftest.err
>&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } &&
5850 { ac_try
='test -z "$ac_cxx_werror_flag"
5851 || test ! -s conftest.err'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; } &&
5857 { ac_try
='test -s conftest$ac_exeext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5865 echo "$as_me: failed program was:" >&5
5866 sed 's/^/| /' conftest.
$ac_ext >&5
5869 rm -f conftest.err conftest.
$ac_objext \
5870 conftest
$ac_exeext conftest.
$ac_ext
5871 if test "${HAS_RES_NINIT}z" != "z" ; then
5872 echo "$as_me:$LINENO: result: yes" >&5
5873 echo "${ECHO_T}yes" >&6
5874 cat >>confdefs.h
<<\_ACEOF
5875 #define P_HAS_RES_NINIT 1
5879 RESOLVER_LIBS
="-lresolv"
5881 echo "$as_me:$LINENO: result: no" >&5
5882 echo "${ECHO_T}no" >&6
5887 if test "${HAS_RESOLVER}z" = "z" ; then
5888 echo "$as_me:$LINENO: checking for res_search" >&5
5889 echo $ECHO_N "checking for res_search... $ECHO_C" >&6
5890 if test "${ac_cv_func_res_search+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 cat >conftest.
$ac_ext <<_ACEOF
5896 cat confdefs.h
>>conftest.
$ac_ext
5897 cat >>conftest.
$ac_ext <<_ACEOF
5898 /* end confdefs.h. */
5899 /* Define res_search to an innocuous variant, in case <limits.h> declares res_search.
5900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5901 #define res_search innocuous_res_search
5903 /* System header to define __stub macros and hopefully few prototypes,
5904 which can conflict with char res_search (); below.
5905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5906 <limits.h> exists even on freestanding compilers. */
5909 # include <limits.h>
5911 # include <assert.h>
5916 /* Override any gcc2 internal prototype to avoid an error. */
5921 /* We use char because int might match the return type of a gcc2
5922 builtin and then its argument prototype would still apply. */
5924 /* The GNU C library defines this for functions which it implements
5925 to always fail with ENOSYS. Some functions are actually named
5926 something starting with __ and the normal name is an alias. */
5927 #if defined (__stub_res_search) || defined (__stub___res_search)
5930 char (*f) () = res_search;
5939 return f != res_search;
5944 rm -f conftest.
$ac_objext conftest
$ac_exeext
5945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5946 (eval $ac_link) 2>conftest.er1
5948 grep -v '^ *+' conftest.er1
>conftest.err
5950 cat conftest.err
>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } &&
5953 { ac_try
='test -z "$ac_cxx_werror_flag"
5954 || test ! -s conftest.err'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; } &&
5960 { ac_try
='test -s conftest$ac_exeext'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; }; then
5966 ac_cv_func_res_search
=yes
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.
$ac_ext >&5
5971 ac_cv_func_res_search
=no
5973 rm -f conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5976 echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
5977 echo "${ECHO_T}$ac_cv_func_res_search" >&6
5978 if test $ac_cv_func_res_search = yes; then
5982 if test "${HAS_RESOLVER}z" != "z" ; then
5987 if test "${HAS_RESOLVER}z" = "z" ; then
5988 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
5989 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
5991 cat >conftest.
$ac_ext <<_ACEOF
5993 #include <netinet/in.h>
5995 int main(int argc,char **argv){
5996 res_search (NULL, 0, 0, NULL, 0);
5999 rm -f conftest.
$ac_objext conftest
$ac_exeext
6000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6001 (eval $ac_link) 2>conftest.er1
6003 grep -v '^ *+' conftest.er1
>conftest.err
6005 cat conftest.err
>&5
6006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6007 (exit $ac_status); } &&
6008 { ac_try
='test -z "$ac_cxx_werror_flag"
6009 || test ! -s conftest.err'
6010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); }; } &&
6015 { ac_try
='test -s conftest$ac_exeext'
6016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); }; }; then
6023 echo "$as_me: failed program was:" >&5
6024 sed 's/^/| /' conftest.
$ac_ext >&5
6027 rm -f conftest.err conftest.
$ac_objext \
6028 conftest
$ac_exeext conftest.
$ac_ext
6029 if test "${HAS_RESOLVER:-unset}" != "unset" ; then
6030 echo "$as_me:$LINENO: result: yes" >&5
6031 echo "${ECHO_T}yes" >&6
6032 RESOLVER_LIBS
="-lresolv"
6034 echo "$as_me:$LINENO: result: no" >&5
6035 echo "${ECHO_T}no" >&6
6040 if test "${HAS_RESOLVER}z" = "z" ; then
6041 echo "$as_me:$LINENO: checking for library containing __res_search" >&5
6042 echo $ECHO_N "checking for library containing __res_search... $ECHO_C" >&6
6043 if test "${ac_cv_search___res_search+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 ac_func_search_save_LIBS
=$LIBS
6047 ac_cv_search___res_search
=no
6048 cat >conftest.
$ac_ext <<_ACEOF
6051 cat confdefs.h
>>conftest.
$ac_ext
6052 cat >>conftest.
$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6055 /* Override any gcc2 internal prototype to avoid an error. */
6059 /* We use char because int might match the return type of a gcc2
6060 builtin and then its argument prototype would still apply. */
6061 char __res_search ();
6070 rm -f conftest.
$ac_objext conftest
$ac_exeext
6071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6072 (eval $ac_link) 2>conftest.er1
6074 grep -v '^ *+' conftest.er1
>conftest.err
6076 cat conftest.err
>&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } &&
6079 { ac_try
='test -z "$ac_cxx_werror_flag"
6080 || test ! -s conftest.err'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; } &&
6086 { ac_try
='test -s conftest$ac_exeext'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6092 ac_cv_search___res_search
="none required"
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.
$ac_ext >&5
6098 rm -f conftest.err conftest.
$ac_objext \
6099 conftest
$ac_exeext conftest.
$ac_ext
6100 if test "$ac_cv_search___res_search" = no
; then
6101 for ac_lib
in resolv
; do
6102 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6103 cat >conftest.
$ac_ext <<_ACEOF
6106 cat confdefs.h
>>conftest.
$ac_ext
6107 cat >>conftest.
$ac_ext <<_ACEOF
6108 /* end confdefs.h. */
6110 /* Override any gcc2 internal prototype to avoid an error. */
6114 /* We use char because int might match the return type of a gcc2
6115 builtin and then its argument prototype would still apply. */
6116 char __res_search ();
6125 rm -f conftest.
$ac_objext conftest
$ac_exeext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127 (eval $ac_link) 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try
='test -z "$ac_cxx_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try
='test -s conftest$ac_exeext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 ac_cv_search___res_search
="-l$ac_lib"
6150 echo "$as_me: failed program was:" >&5
6151 sed 's/^/| /' conftest.
$ac_ext >&5
6154 rm -f conftest.err conftest.
$ac_objext \
6155 conftest
$ac_exeext conftest.
$ac_ext
6158 LIBS
=$ac_func_search_save_LIBS
6160 echo "$as_me:$LINENO: result: $ac_cv_search___res_search" >&5
6161 echo "${ECHO_T}$ac_cv_search___res_search" >&6
6162 if test "$ac_cv_search___res_search" != no
; then
6163 test "$ac_cv_search___res_search" = "none required" || LIBS
="$ac_cv_search___res_search $LIBS"
6169 if test "${HAS_RESOLVER}z" != "z" ; then
6171 cat >>confdefs.h
<<\_ACEOF
6182 # Check whether --enable-sasl or --disable-sasl was given.
6183 if test "${enable_sasl+set}" = set; then
6184 enableval
="$enable_sasl"
6188 if test "${enable_sasl}z" = "z" ; then
6189 enable_sasl
=$default_sasl
6195 if test "$enable_sasl" = "no" ; then
6196 { echo "$as_me:$LINENO: SASL disabled" >&5
6197 echo "$as_me: SASL disabled" >&6;}
6200 echo "$as_me:$LINENO: checking for sasl_version in -lsasl2" >&5
6201 echo $ECHO_N "checking for sasl_version in -lsasl2... $ECHO_C" >&6
6203 LIBS
="$LIBS -lsasl2"
6204 cat >conftest.
$ac_ext <<_ACEOF
6208 char sasl_version ();
6217 rm -f conftest.
$ac_objext conftest
$ac_exeext
6218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6219 (eval $ac_link) 2>conftest.er1
6221 grep -v '^ *+' conftest.er1
>conftest.err
6223 cat conftest.err
>&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); } &&
6226 { ac_try
='test -z "$ac_cxx_werror_flag"
6227 || test ! -s conftest.err'
6228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); }; } &&
6233 { ac_try
='test -s conftest$ac_exeext'
6234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); }; }; then
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.
$ac_ext >&5
6246 rm -f conftest.err conftest.
$ac_objext \
6247 conftest
$ac_exeext conftest.
$ac_ext
6248 if test "${HAS_SASL2}x" = "x" ; then
6249 echo "$as_me:$LINENO: result: no" >&5
6250 echo "${ECHO_T}no" >&6
6253 echo "$as_me:$LINENO: checking for sasl_client_auth in sasl" >&5
6254 echo $ECHO_N "checking for sasl_client_auth in sasl... $ECHO_C" >&6
6255 cat >conftest.
$ac_ext <<_ACEOF
6259 char sasl_client_out ();
6268 rm -f conftest.
$ac_objext conftest
$ac_exeext
6269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6270 (eval $ac_link) 2>conftest.er1
6272 grep -v '^ *+' conftest.er1
>conftest.err
6274 cat conftest.err
>&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); } &&
6277 { ac_try
='test -z "$ac_cxx_werror_flag"
6278 || test ! -s conftest.err'
6279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6283 (exit $ac_status); }; } &&
6284 { ac_try
='test -s conftest$ac_exeext'
6285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); }; }; then
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.
$ac_ext >&5
6297 rm -f conftest.err conftest.
$ac_objext \
6298 conftest
$ac_exeext conftest.
$ac_ext
6299 if test "${HAS_SASL}x" = "x" ; then
6300 echo "$as_me:$LINENO: result: no" >&5
6301 echo "${ECHO_T}no" >&6
6303 echo "$as_me:$LINENO: result: yes" >&5
6304 echo "${ECHO_T}yes" >&6
6307 echo "$as_me:$LINENO: result: yes" >&5
6308 echo "${ECHO_T}yes" >&6
6312 echo "$as_me:$LINENO: checking if <sasl.h> works" >&5
6313 echo $ECHO_N "checking if <sasl.h> works... $ECHO_C" >&6
6314 cat >conftest.
$ac_ext <<_ACEOF
6316 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
6318 rm -f conftest.
$ac_objext
6319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320 (eval $ac_compile) 2>conftest.er1
6322 grep -v '^ *+' conftest.er1
>conftest.err
6324 cat conftest.err
>&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } &&
6327 { ac_try
='test -z "$ac_cxx_werror_flag"
6328 || test ! -s conftest.err'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; } &&
6334 { ac_try
='test -s conftest.$ac_objext'
6335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339 (exit $ac_status); }; }; then
6340 HAS_INCLUDE_SASL_H
=1
6342 echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.
$ac_ext >&5
6346 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6347 if test "${HAS_INCLUDE_SASL_H}x" != "x" ; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6352 echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6354 echo "$as_me:$LINENO: checking if <sasl/sasl.h> works" >&5
6355 echo $ECHO_N "checking if <sasl/sasl.h> works... $ECHO_C" >&6
6356 cat >conftest.
$ac_ext <<_ACEOF
6357 #include <sasl/sasl.h>
6358 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
6360 rm -f conftest.
$ac_objext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6362 (eval $ac_compile) 2>conftest.er1
6364 grep -v '^ *+' conftest.er1
>conftest.err
6366 cat conftest.err
>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try
='test -z "$ac_cxx_werror_flag"
6370 || test ! -s conftest.err'
6371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); }; } &&
6376 { ac_try
='test -s conftest.$ac_objext'
6377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6381 (exit $ac_status); }; }; then
6384 echo "$as_me: failed program was:" >&5
6385 sed 's/^/| /' conftest.
$ac_ext >&5
6388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6389 if test "${P_HAS_SASL_SASL_H}x" != "x" ; then
6390 echo "$as_me:$LINENO: result: yes" >&5
6391 echo "${ECHO_T}yes" >&6
6393 cat >>confdefs.h
<<\_ACEOF
6394 #define P_HAS_SASL_SASL_H 1
6398 echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6
6404 if test "${HAS_SASL2}x" != "x" ; then
6406 ENDLDLIBS
="$ENDLDLIBS -lsasl2"
6407 cat >>confdefs.h
<<\_ACEOF
6411 elif test "${HAS_SASL}x" != "x" ; then
6413 ENDLDLIBS
="$ENDLDLIBS -lsasl"
6414 cat >>confdefs.h
<<\_ACEOF
6428 echo "$as_me:$LINENO: checking for mlib_VideoColorJFIFYCC2RGB420_Nearest in -lmlib" >&5
6429 echo $ECHO_N "checking for mlib_VideoColorJFIFYCC2RGB420_Nearest in -lmlib... $ECHO_C" >&6
6430 if test "${ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 ac_check_lib_save_LIBS
=$LIBS
6435 cat >conftest.
$ac_ext <<_ACEOF
6438 cat confdefs.h
>>conftest.
$ac_ext
6439 cat >>conftest.
$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6442 /* Override any gcc2 internal prototype to avoid an error. */
6446 /* We use char because int might match the return type of a gcc2
6447 builtin and then its argument prototype would still apply. */
6448 char mlib_VideoColorJFIFYCC2RGB420_Nearest ();
6452 mlib_VideoColorJFIFYCC2RGB420_Nearest ();
6457 rm -f conftest.
$ac_objext conftest
$ac_exeext
6458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6459 (eval $ac_link) 2>conftest.er1
6461 grep -v '^ *+' conftest.er1
>conftest.err
6463 cat conftest.err
>&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } &&
6466 { ac_try
='test -z "$ac_cxx_werror_flag"
6467 || test ! -s conftest.err'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; } &&
6473 { ac_try
='test -s conftest$ac_exeext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6479 ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest
=yes
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.
$ac_ext >&5
6484 ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest
=no
6486 rm -f conftest.err conftest.
$ac_objext \
6487 conftest
$ac_exeext conftest.
$ac_ext
6488 LIBS
=$ac_check_lib_save_LIBS
6490 echo "$as_me:$LINENO: result: $ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest" >&5
6491 echo "${ECHO_T}$ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest" >&6
6492 if test $ac_cv_lib_mlib_mlib_VideoColorJFIFYCC2RGB420_Nearest = yes; then
6498 if test $HAS_MEDIALIB = yes; then
6499 cat >>confdefs.h
<<\_ACEOF
6500 #define P_MEDIALIB 1
6503 ENDLDLIBS
="-lmlib $ENDLDLIBS"
6508 # Check whether --enable-openldap or --disable-openldap was given.
6509 if test "${enable_openldap+set}" = set; then
6510 enableval
="$enable_openldap"
6514 if test "${enable_openldap}z" = "z" ; then
6515 enable_openldap
=$default_openldap
6519 if test "$enable_openldap" = "no" ; then
6520 { echo "$as_me:$LINENO: OpenLDAP disabled" >&5
6521 echo "$as_me: OpenLDAP disabled" >&6;}
6523 if test "${HAS_RESOLVER:-unset}" != "unset" -o "${OSTYPE}" = "mingw" ; then
6525 for ac_header
in ldap.h
6527 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6529 echo "$as_me:$LINENO: checking for $ac_header" >&5
6530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6537 # Is the header compilable?
6538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 $ac_includes_default
6547 #include <$ac_header>
6549 rm -f conftest.
$ac_objext
6550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6551 (eval $ac_compile) 2>conftest.er1
6553 grep -v '^ *+' conftest.er1
>conftest.err
6555 cat conftest.err
>&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } &&
6558 { ac_try
='test -z "$ac_cxx_werror_flag"
6559 || test ! -s conftest.err'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; } &&
6565 { ac_try
='test -s conftest.$ac_objext'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; }; then
6571 ac_header_compiler
=yes
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.
$ac_ext >&5
6576 ac_header_compiler
=no
6578 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6580 echo "${ECHO_T}$ac_header_compiler" >&6
6582 # Is the header present?
6583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6585 cat >conftest.
$ac_ext <<_ACEOF
6588 cat confdefs.h
>>conftest.
$ac_ext
6589 cat >>conftest.
$ac_ext <<_ACEOF
6590 /* end confdefs.h. */
6591 #include <$ac_header>
6593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6594 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6596 grep -v '^ *+' conftest.er1
>conftest.err
6598 cat conftest.err
>&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); } >/dev
/null
; then
6601 if test -s conftest.err
; then
6602 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6603 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6610 if test -z "$ac_cpp_err"; then
6611 ac_header_preproc
=yes
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.
$ac_ext >&5
6616 ac_header_preproc
=no
6618 rm -f conftest.err conftest.
$ac_ext
6619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6620 echo "${ECHO_T}$ac_header_preproc" >&6
6622 # So? What about this header?
6623 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6629 ac_header_preproc
=yes
6632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6646 ## ------------------------------------------ ##
6647 ## Report this to the AC_PACKAGE_NAME lists. ##
6648 ## ------------------------------------------ ##
6651 sed "s/^/$as_me: WARNING: /" >&2
6654 echo "$as_me:$LINENO: checking for $ac_header" >&5
6655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 eval "$as_ac_Header=\$ac_header_preproc"
6661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6666 cat >>confdefs.h
<<_ACEOF
6667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6675 if test "${OSTYPE:-unknown}" = "solaris"; then
6676 OPENLDAPSYSLIBS
=-lposix4
6679 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
6680 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
6681 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
6682 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 ac_check_lib_save_LIBS
=$LIBS
6686 LIBS
="-lldap $LDAP_LIBRARIES $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
6687 cat >conftest.
$ac_ext <<_ACEOF
6690 cat confdefs.h
>>conftest.
$ac_ext
6691 cat >>conftest.
$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6694 /* Override any gcc2 internal prototype to avoid an error. */
6698 /* We use char because int might match the return type of a gcc2
6699 builtin and then its argument prototype would still apply. */
6709 rm -f conftest.
$ac_objext conftest
$ac_exeext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6711 (eval $ac_link) 2>conftest.er1
6713 grep -v '^ *+' conftest.er1
>conftest.err
6715 cat conftest.err
>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } &&
6718 { ac_try
='test -z "$ac_cxx_werror_flag"
6719 || test ! -s conftest.err'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; } &&
6725 { ac_try
='test -s conftest$ac_exeext'
6726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6730 (exit $ac_status); }; }; then
6731 ac_cv_lib_ldap_ldap_open
=yes
6733 echo "$as_me: failed program was:" >&5
6734 sed 's/^/| /' conftest.
$ac_ext >&5
6736 ac_cv_lib_ldap_ldap_open
=no
6738 rm -f conftest.err conftest.
$ac_objext \
6739 conftest
$ac_exeext conftest.
$ac_ext
6740 LIBS
=$ac_check_lib_save_LIBS
6742 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
6743 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
6744 if test $ac_cv_lib_ldap_ldap_open = yes; then
6751 echo "$as_me:$LINENO: checking for /usr/local/include/ldap.h" >&5
6752 echo $ECHO_N "checking for /usr/local/include/ldap.h... $ECHO_C" >&6
6753 if test "${ac_cv_file__usr_local_include_ldap_h+set}" = set; then
6754 echo $ECHO_N "(cached) $ECHO_C" >&6
6756 test "$cross_compiling" = yes &&
6757 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6758 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6759 { (exit 1); exit 1; }; }
6760 if test -r "/usr/local/include/ldap.h"; then
6761 ac_cv_file__usr_local_include_ldap_h
=yes
6763 ac_cv_file__usr_local_include_ldap_h
=no
6766 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ldap_h" >&5
6767 echo "${ECHO_T}$ac_cv_file__usr_local_include_ldap_h" >&6
6768 if test $ac_cv_file__usr_local_include_ldap_h = yes; then
6772 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
6773 OPENLDAPINCLUDEDIR
=/usr
/local
/include
6774 OPENLDAPLIBDIR
=/usr
/local
/lib
6775 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
6776 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
6777 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
6778 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 ac_check_lib_save_LIBS
=$LIBS
6781 LIBS
="-lldap -L/usr/local/lib $LDAP_LIBRARIES $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
6782 cat >conftest.
$ac_ext <<_ACEOF
6785 cat confdefs.h
>>conftest.
$ac_ext
6786 cat >>conftest.
$ac_ext <<_ACEOF
6787 /* end confdefs.h. */
6789 /* Override any gcc2 internal prototype to avoid an error. */
6793 /* We use char because int might match the return type of a gcc2
6794 builtin and then its argument prototype would still apply. */
6804 rm -f conftest.
$ac_objext conftest
$ac_exeext
6805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6806 (eval $ac_link) 2>conftest.er1
6808 grep -v '^ *+' conftest.er1
>conftest.err
6810 cat conftest.err
>&5
6811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } &&
6813 { ac_try
='test -z "$ac_cxx_werror_flag"
6814 || test ! -s conftest.err'
6815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819 (exit $ac_status); }; } &&
6820 { ac_try
='test -s conftest$ac_exeext'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; }; then
6826 ac_cv_lib_ldap_ldap_open
=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.
$ac_ext >&5
6831 ac_cv_lib_ldap_ldap_open
=no
6833 rm -f conftest.err conftest.
$ac_objext \
6834 conftest
$ac_exeext conftest.
$ac_ext
6835 LIBS
=$ac_check_lib_save_LIBS
6837 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
6838 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
6839 if test $ac_cv_lib_ldap_ldap_open = yes; then
6849 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
6852 cat >>confdefs.h
<<\_ACEOF
6856 ENDLDLIBS
="-lldap $LDAP_LIBRARIES $ENDLDLIBS"
6857 if test "${OPENLDAPINCLUDEDIR}unset" != "unset" ; then
6858 STDCCFLAGS
="$STDCCFLAGS -I${OPENLDAPINCLUDEDIR}"
6860 if test "${OPENLDAPLIBDIR}unset" != "unset" ; then
6861 LDFLAGS
="$LDFLAGS -L${OPENLDAPLIBDIR}"
6874 # Check whether --enable-openssl or --disable-openssl was given.
6875 if test "${enable_openssl+set}" = set; then
6876 enableval
="$enable_openssl"
6880 if test "${enable_openssl}z" = "z" ; then
6881 enable_openssl
=$default_openssl
6885 if test "$enable_openssl" = "no" ; then
6886 { echo "$as_me:$LINENO: OpenSSL disabled" >&5
6887 echo "$as_me: OpenSSL disabled" >&6;}
6890 if test ${OPENSSLDIR:-unset} != "unset" ; then
6891 echo "$as_me:$LINENO: checking for ${OPENSSLDIR}/include/openssl/ssl.h" >&5
6892 echo $ECHO_N "checking for ${OPENSSLDIR}/include/openssl/ssl.h... $ECHO_C" >&6
6893 if test -e ${OPENSSLDIR}/include
/openssl
/ssl.h
; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6897 SSLINCLUDEDIR
="${OPENSSLDIR}/include"
6898 SSLLIBDIR
="${OPENSSLDIR}/lib"
6900 echo "$as_me:$LINENO: result: no" >&5
6901 echo "${ECHO_T}no" >&6
6906 if test "${SSLHDR:-unset}" = "unset" ; then
6908 for ac_header
in openssl
/ssl.h
6910 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6912 echo "$as_me:$LINENO: checking for $ac_header" >&5
6913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6915 echo $ECHO_N "(cached) $ECHO_C" >&6
6917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6920 # Is the header compilable?
6921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6923 cat >conftest.
$ac_ext <<_ACEOF
6926 cat confdefs.h
>>conftest.
$ac_ext
6927 cat >>conftest.
$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 $ac_includes_default
6930 #include <$ac_header>
6932 rm -f conftest.
$ac_objext
6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 (eval $ac_compile) 2>conftest.er1
6936 grep -v '^ *+' conftest.er1
>conftest.err
6938 cat conftest.err
>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try
='test -z "$ac_cxx_werror_flag"
6942 || test ! -s conftest.err'
6943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6947 (exit $ac_status); }; } &&
6948 { ac_try
='test -s conftest.$ac_objext'
6949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); }; }; then
6954 ac_header_compiler
=yes
6956 echo "$as_me: failed program was:" >&5
6957 sed 's/^/| /' conftest.
$ac_ext >&5
6959 ac_header_compiler
=no
6961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6963 echo "${ECHO_T}$ac_header_compiler" >&6
6965 # Is the header present?
6966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6968 cat >conftest.
$ac_ext <<_ACEOF
6971 cat confdefs.h
>>conftest.
$ac_ext
6972 cat >>conftest.
$ac_ext <<_ACEOF
6973 /* end confdefs.h. */
6974 #include <$ac_header>
6976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6977 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6979 grep -v '^ *+' conftest.er1
>conftest.err
6981 cat conftest.err
>&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } >/dev
/null
; then
6984 if test -s conftest.err
; then
6985 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6986 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6993 if test -z "$ac_cpp_err"; then
6994 ac_header_preproc
=yes
6996 echo "$as_me: failed program was:" >&5
6997 sed 's/^/| /' conftest.
$ac_ext >&5
6999 ac_header_preproc
=no
7001 rm -f conftest.err conftest.
$ac_ext
7002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7003 echo "${ECHO_T}$ac_header_preproc" >&6
7005 # So? What about this header?
7006 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7012 ac_header_preproc
=yes
7015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7029 ## ------------------------------------------ ##
7030 ## Report this to the AC_PACKAGE_NAME lists. ##
7031 ## ------------------------------------------ ##
7034 sed "s/^/$as_me: WARNING: /" >&2
7037 echo "$as_me:$LINENO: checking for $ac_header" >&5
7038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7040 echo $ECHO_N "(cached) $ECHO_C" >&6
7042 eval "$as_ac_Header=\$ac_header_preproc"
7044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7049 cat >>confdefs.h
<<_ACEOF
7050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7057 if test "${SSLHDR:-unset}" = "unset" ; then
7058 echo "$as_me:$LINENO: checking if openssl/ssl.h works with OPENSSL_NO_KRB5" >&5
7059 echo $ECHO_N "checking if openssl/ssl.h works with OPENSSL_NO_KRB5... $ECHO_C" >&6
7060 cat >conftest.
$ac_ext <<_ACEOF
7061 #define OPENSSL_NO_KRB5
7062 #include <openssl/ssl.h>
7063 int main(int argc,char **argv){}
7065 rm -f conftest.
$ac_objext
7066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7067 (eval $ac_compile) 2>conftest.er1
7069 grep -v '^ *+' conftest.er1
>conftest.err
7071 cat conftest.err
>&5
7072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } &&
7074 { ac_try
='test -z "$ac_cxx_werror_flag"
7075 || test ! -s conftest.err'
7076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); }; } &&
7081 { ac_try
='test -s conftest.$ac_objext'
7082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); }; }; then
7089 echo "$as_me: failed program was:" >&5
7090 sed 's/^/| /' conftest.
$ac_ext >&5
7093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7094 if test "${SSLHDR:-unset}" != "unset" ; then
7095 echo "$as_me:$LINENO: result: yes" >&5
7096 echo "${ECHO_T}yes" >&6
7097 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
7098 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
7099 if test ${OSTYPE} = linux
; then
7100 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7109 if test "${SSLHDR:-unset}" = "unset" ; then
7111 for openssl_dir
in /usr
/local
/openssl
/usr
/local
/ssl
; do
7112 echo "$as_me:$LINENO: checking for OpenSSL in $openssl_dir" >&5
7113 echo $ECHO_N "checking for OpenSSL in $openssl_dir... $ECHO_C" >&6
7114 if test ! -f ${openssl_dir}/include
/openssl
/ssl.h
; then
7115 echo "$as_me:$LINENO: result: no" >&5
7116 echo "${ECHO_T}no" >&6
7118 cat >conftest.
$ac_ext <<_ACEOF
7119 #include "${openssl_dir}/include/openssl/ssl.h"
7120 int main(int argc,char **argv){ return 0; }
7122 $CXX $CXXFLAGS -I${openssl_dir}/include
-c conftest.cc
> /dev
/null
2>&1
7123 if test $?
= 0 ; then
7124 echo "$as_me:$LINENO: result: yes" >&5
7125 echo "${ECHO_T}yes" >&6
7128 SSLINCLUDEDIR
="${openssl_dir}/include"
7129 SSLLIBDIR
="${openssl_dir}/lib"
7132 echo "$as_me:$LINENO: result: no" >&5
7133 echo "${ECHO_T}no" >&6
7134 echo "$as_me:$LINENO: checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5..." >&5
7135 echo $ECHO_N "checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5...... $ECHO_C" >&6
7136 cat >conftest.
$ac_ext <<_ACEOF
7137 #define OPENSSL_NO_KRB5
7138 #include "${openssl_dir}/include/openssl/ssl.h"
7139 int main(int argc,char **argv){}
7141 $CXX $CXXFLAGS -I${openssl_dir}/openssl
/include
-c conftest.cc
> /dev
/null
2>&1
7142 if test $?
= 0 ; then
7143 echo "$as_me:$LINENO: result: yes" >&5
7144 echo "${ECHO_T}yes" >&6
7146 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
7147 SSLINCLUDEDIR
="${openssl_dir}/include"
7148 SSLLIBDIR
="${openssl_dir}/lib"
7149 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
7150 if test ${OSTYPE} = linux
; then
7151 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
7155 echo "$as_me:$LINENO: result: no" >&5
7156 echo "${ECHO_T}no" >&6
7163 if test ${SSLHDR:-unset} != "unset" ; then
7165 cat >>confdefs.h
<<\_ACEOF
7170 if test ${SSLINCLUDEDIR:-unset} != "unset" ; then
7171 STDCCFLAGS
="$STDCCFLAGS -I${SSLINCLUDEDIR}"
7173 if test ${SSLLIBDIR:-unset} != "unset" ; then
7174 LDFLAGS
="$LDFLAGS -L${SSLLIBDIR}"
7176 STDCCFLAGS
="${STDCCFLAGS}${SSLCCFLAGS}"
7177 ENDLDLIBS
="$ENDLDLIBS -lssl -lcrypto"
7180 for ac_header
in openssl
/aes.h
7182 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7184 echo "$as_me:$LINENO: checking for $ac_header" >&5
7185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7192 # Is the header compilable?
7193 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7194 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7195 cat >conftest.
$ac_ext <<_ACEOF
7198 cat confdefs.h
>>conftest.
$ac_ext
7199 cat >>conftest.
$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7201 $ac_includes_default
7202 #include <$ac_header>
7204 rm -f conftest.
$ac_objext
7205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7206 (eval $ac_compile) 2>conftest.er1
7208 grep -v '^ *+' conftest.er1
>conftest.err
7210 cat conftest.err
>&5
7211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7212 (exit $ac_status); } &&
7213 { ac_try
='test -z "$ac_cxx_werror_flag"
7214 || test ! -s conftest.err'
7215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); }; } &&
7220 { ac_try
='test -s conftest.$ac_objext'
7221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); }; }; then
7226 ac_header_compiler
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_header_compiler
=no
7233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7235 echo "${ECHO_T}$ac_header_compiler" >&6
7237 # Is the header present?
7238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7240 cat >conftest.
$ac_ext <<_ACEOF
7243 cat confdefs.h
>>conftest.
$ac_ext
7244 cat >>conftest.
$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7246 #include <$ac_header>
7248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7249 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7251 grep -v '^ *+' conftest.er1
>conftest.err
7253 cat conftest.err
>&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } >/dev
/null
; then
7256 if test -s conftest.err
; then
7257 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7258 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7265 if test -z "$ac_cpp_err"; then
7266 ac_header_preproc
=yes
7268 echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.
$ac_ext >&5
7271 ac_header_preproc
=no
7273 rm -f conftest.err conftest.
$ac_ext
7274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7275 echo "${ECHO_T}$ac_header_preproc" >&6
7277 # So? What about this header?
7278 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7284 ac_header_preproc
=yes
7287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7301 ## ------------------------------------------ ##
7302 ## Report this to the AC_PACKAGE_NAME lists. ##
7303 ## ------------------------------------------ ##
7306 sed "s/^/$as_me: WARNING: /" >&2
7309 echo "$as_me:$LINENO: checking for $ac_header" >&5
7310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7312 echo $ECHO_N "(cached) $ECHO_C" >&6
7314 eval "$as_ac_Header=\$ac_header_preproc"
7316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7321 cat >>confdefs.h
<<_ACEOF
7322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7331 if test "$HAS_SSL_AES" = yes ; then
7333 cat >>confdefs.h
<<\_ACEOF
7339 echo "$as_me:$LINENO: checking for const arg to d2i_AutoPrivateKey" >&5
7340 echo $ECHO_N "checking for const arg to d2i_AutoPrivateKey... $ECHO_C" >&6
7341 cat >conftest.
$ac_ext <<_ACEOF
7344 cat confdefs.h
>>conftest.
$ac_ext
7345 cat >>conftest.
$ac_ext <<_ACEOF
7346 /* end confdefs.h. */
7347 #include <openssl/evp.h>
7351 EVP_PKEY **a; const unsigned char **p; long l;
7352 d2i_AutoPrivateKey(a, p, l);
7358 rm -f conftest.
$ac_objext
7359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7360 (eval $ac_compile) 2>conftest.er1
7362 grep -v '^ *+' conftest.er1
>conftest.err
7364 cat conftest.err
>&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } &&
7367 { ac_try
='test -z "$ac_cxx_werror_flag"
7368 || test ! -s conftest.err'
7369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373 (exit $ac_status); }; } &&
7374 { ac_try
='test -s conftest.$ac_objext'
7375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); }; }; then
7382 echo "$as_me: failed program was:" >&5
7383 sed 's/^/| /' conftest.
$ac_ext >&5
7386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7387 if test "${P_SSL_USE_CONST}x" = "x" ; then
7388 echo "$as_me:$LINENO: result: no" >&5
7389 echo "${ECHO_T}no" >&6
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7394 cat >>confdefs.h
<<\_ACEOF
7395 #define P_SSL_USE_CONST 1
7409 # Check whether --enable-expat or --disable-expat was given.
7410 if test "${enable_expat+set}" = set; then
7411 enableval
="$enable_expat"
7415 if test "${enable_expat}z" = "z" ; then
7416 enable_expat
=$default_expat
7420 if test "$enable_expat" = "no" ; then
7421 { echo "$as_me:$LINENO: Expat disabled" >&5
7422 echo "$as_me: Expat disabled" >&6;}
7424 if test "${EXPATDIR}z" != "z" ; then
7425 as_ac_File
=`echo "ac_cv_file_${EXPATDIR}/include/expat.h" | $as_tr_sh`
7426 echo "$as_me:$LINENO: checking for ${EXPATDIR}/include/expat.h" >&5
7427 echo $ECHO_N "checking for ${EXPATDIR}/include/expat.h... $ECHO_C" >&6
7428 if eval "test \"\${$as_ac_File+set}\" = set"; then
7429 echo $ECHO_N "(cached) $ECHO_C" >&6
7431 test "$cross_compiling" = yes &&
7432 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7433 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7434 { (exit 1); exit 1; }; }
7435 if test -r "${EXPATDIR}/include/expat.h"; then
7436 eval "$as_ac_File=yes"
7438 eval "$as_ac_File=no"
7441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_File'}'`" >&5
7442 echo "${ECHO_T}`eval echo '${'$as_ac_File'}'`" >&6
7443 if test `eval echo '${'$as_ac_File'}'` = yes; then
7447 if test "${HAS_EXPAT:-unset}" != "unset" ; then
7448 EXPATINCLUDEDIR
=${EXPATDIR}/include
7449 EXPATLIBDIR
=${EXPATDIR}/lib
7453 for ac_header
in expat.h
7455 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7457 echo "$as_me:$LINENO: checking for $ac_header" >&5
7458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7465 # Is the header compilable?
7466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7468 cat >conftest.
$ac_ext <<_ACEOF
7471 cat confdefs.h
>>conftest.
$ac_ext
7472 cat >>conftest.
$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 $ac_includes_default
7475 #include <$ac_header>
7477 rm -f conftest.
$ac_objext
7478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7479 (eval $ac_compile) 2>conftest.er1
7481 grep -v '^ *+' conftest.er1
>conftest.err
7483 cat conftest.err
>&5
7484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7485 (exit $ac_status); } &&
7486 { ac_try
='test -z "$ac_cxx_werror_flag"
7487 || test ! -s conftest.err'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; } &&
7493 { ac_try
='test -s conftest.$ac_objext'
7494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); }; }; then
7499 ac_header_compiler
=yes
7501 echo "$as_me: failed program was:" >&5
7502 sed 's/^/| /' conftest.
$ac_ext >&5
7504 ac_header_compiler
=no
7506 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7508 echo "${ECHO_T}$ac_header_compiler" >&6
7510 # Is the header present?
7511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7513 cat >conftest.
$ac_ext <<_ACEOF
7516 cat confdefs.h
>>conftest.
$ac_ext
7517 cat >>conftest.
$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 #include <$ac_header>
7521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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
; then
7529 if test -s conftest.err
; then
7530 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7531 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7538 if test -z "$ac_cpp_err"; then
7539 ac_header_preproc
=yes
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.
$ac_ext >&5
7544 ac_header_preproc
=no
7546 rm -f conftest.err conftest.
$ac_ext
7547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7548 echo "${ECHO_T}$ac_header_preproc" >&6
7550 # So? What about this header?
7551 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7553 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7555 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7557 ac_header_preproc
=yes
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7563 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7567 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7568 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7570 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7574 ## ------------------------------------------ ##
7575 ## Report this to the AC_PACKAGE_NAME lists. ##
7576 ## ------------------------------------------ ##
7579 sed "s/^/$as_me: WARNING: /" >&2
7582 echo "$as_me:$LINENO: checking for $ac_header" >&5
7583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7585 echo $ECHO_N "(cached) $ECHO_C" >&6
7587 eval "$as_ac_Header=\$ac_header_preproc"
7589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7594 cat >>confdefs.h
<<_ACEOF
7595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7602 if test "${HAS_EXPAT:-unset}" != "unset" ; then
7603 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
7604 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
7605 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 ac_check_lib_save_LIBS
=$LIBS
7609 LIBS
="-lexpat $LIBS"
7610 cat >conftest.
$ac_ext <<_ACEOF
7613 cat confdefs.h
>>conftest.
$ac_ext
7614 cat >>conftest.
$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7617 /* Override any gcc2 internal prototype to avoid an error. */
7621 /* We use char because int might match the return type of a gcc2
7622 builtin and then its argument prototype would still apply. */
7623 char XML_ParserCreate ();
7627 XML_ParserCreate ();
7632 rm -f conftest.
$ac_objext conftest
$ac_exeext
7633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7634 (eval $ac_link) 2>conftest.er1
7636 grep -v '^ *+' conftest.er1
>conftest.err
7638 cat conftest.err
>&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } &&
7641 { ac_try
='test -z "$ac_cxx_werror_flag"
7642 || test ! -s conftest.err'
7643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647 (exit $ac_status); }; } &&
7648 { ac_try
='test -s conftest$ac_exeext'
7649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7653 (exit $ac_status); }; }; then
7654 ac_cv_lib_expat_XML_ParserCreate
=yes
7656 echo "$as_me: failed program was:" >&5
7657 sed 's/^/| /' conftest.
$ac_ext >&5
7659 ac_cv_lib_expat_XML_ParserCreate
=no
7661 rm -f conftest.err conftest.
$ac_objext \
7662 conftest
$ac_exeext conftest.
$ac_ext
7663 LIBS
=$ac_check_lib_save_LIBS
7665 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
7666 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
7667 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
7674 echo "$as_me:$LINENO: checking for /usr/local/include/expat.h" >&5
7675 echo $ECHO_N "checking for /usr/local/include/expat.h... $ECHO_C" >&6
7676 if test "${ac_cv_file__usr_local_include_expat_h+set}" = set; then
7677 echo $ECHO_N "(cached) $ECHO_C" >&6
7679 test "$cross_compiling" = yes &&
7680 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
7681 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
7682 { (exit 1); exit 1; }; }
7683 if test -r "/usr/local/include/expat.h"; then
7684 ac_cv_file__usr_local_include_expat_h
=yes
7686 ac_cv_file__usr_local_include_expat_h
=no
7689 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_expat_h" >&5
7690 echo "${ECHO_T}$ac_cv_file__usr_local_include_expat_h" >&6
7691 if test $ac_cv_file__usr_local_include_expat_h = yes; then
7695 if test "${HAS_EXPAT:-unset}" != "unset" ; then
7696 EXPATINCLUDEDIR
=/usr
/local
/include
7697 EXPATLIBDIR
=/usr
/local
/lib
7702 if test "${HAS_EXPAT:-unset}" != "unset" ; then
7705 cat >>confdefs.h
<<\_ACEOF
7709 if test ${EXPATINCLUDEDIR:-unset} != "unset" ; then
7710 STDCCFLAGS
="$STDCCFLAGS -I${EXPATINCLUDEDIR}"
7712 if test ${EXPATLIBDIR:-unset} != "unset" ; then
7713 LDFLAGS
="$LDFLAGS -L${EXPATLIBDIR}"
7715 ENDLDLIBS
="$ENDLDLIBS -lexpat"
7729 if test "$enable_expat" = "no" ; then
7730 { echo "$as_me:$LINENO: VXML disabled as Expat is disabled" >&5
7731 echo "$as_me: VXML disabled as Expat is disabled" >&6;}
7732 { echo "$as_me:$LINENO: Jabber disabled as Expat is disabled" >&5
7733 echo "$as_me: Jabber disabled as Expat is disabled" >&6;}
7734 { echo "$as_me:$LINENO: XMLRPC disabled as Expat is disabled" >&5
7735 echo "$as_me: XMLRPC disabled as Expat is disabled" >&6;}
7739 # Check whether --enable-vxml or --disable-vxml was given.
7740 if test "${enable_vxml+set}" = set; then
7741 enableval
="$enable_vxml"
7745 if test "${enable_vxml}z" = "z" ; then
7746 enable_vxml
=$default_vxml
7748 if test "$enable_vxml" = "no" ; then
7749 { echo "$as_me:$LINENO: VXML disabled" >&5
7750 echo "$as_me: VXML disabled" >&6;}
7752 cat >>confdefs.h
<<\_ACEOF
7760 # Check whether --enable-jabber or --disable-jabber was given.
7761 if test "${enable_jabber+set}" = set; then
7762 enableval
="$enable_jabber"
7766 if test "${enable_jabber}z" = "z" ; then
7767 enable_jabber
=$default_jabber
7769 if test "$enable_jabber" = "no" ; then
7770 { echo "$as_me:$LINENO: Jabber disabled" >&5
7771 echo "$as_me: Jabber disabled" >&6;}
7773 cat >>confdefs.h
<<\_ACEOF
7781 # Check whether --enable-xmlrpc or --disable-xmlrpc was given.
7782 if test "${enable_xmlrpc+set}" = set; then
7783 enableval
="$enable_xmlrpc"
7787 if test "${enable_xmlrpc}z" = "z" ; then
7788 enable_xmlrpc
=$default_xmlrpc
7790 if test "$enable_xmlrpc" = "no" ; then
7791 { echo "$as_me:$LINENO: XMLRPC disabled" >&5
7792 echo "$as_me: XMLRPC disabled" >&6;}
7794 cat >>confdefs.h
<<\_ACEOF
7802 # Check whether --enable-soap or --disable-soap was given.
7803 if test "${enable_soap+set}" = set; then
7804 enableval
="$enable_soap"
7808 if test "${enable_soap}z" = "z" ; then
7809 enable_soap
=$default_soap
7811 if test "$enable_soap" = "no" ; then
7812 { echo "$as_me:$LINENO: SOAP disabled" >&5
7813 echo "$as_me: SOAP disabled" >&6;}
7815 cat >>confdefs.h
<<\_ACEOF
7830 # Check whether --enable-expat or --disable-expat was given.
7831 if test "${enable_expat+set}" = set; then
7832 enableval
="$enable_expat"
7836 if test "${enable_tts}z" = "z" ; then
7837 enable_tts
=$default_tts
7841 if test "$enable_tts" = "no" ; then
7842 { echo "$as_me:$LINENO: Text-to-speech disabled" >&5
7843 echo "$as_me: Text-to-speech disabled" >&6;}
7845 cat >>confdefs.h
<<\_ACEOF
7855 # Check whether --enable-ipv6 or --disable-ipv6 was given.
7856 if test "${enable_ipv6+set}" = set; then
7857 enableval
="$enable_ipv6"
7861 if test "${enable_ipv6}z" = "z" ; then
7862 enable_ipv6
=$default_ipv6
7867 if test "$enable_ipv6" = "no" ; then
7868 { echo "$as_me:$LINENO: IPV6 disabled" >&5
7869 echo "$as_me: IPV6 disabled" >&6;}
7871 echo "$as_me:$LINENO: checking for IPv6 support" >&5
7872 echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6
7873 cat >conftest.
$ac_ext <<_ACEOF
7876 cat confdefs.h
>>conftest.
$ac_ext
7877 cat >>conftest.
$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7879 #include <sys/types.h>
7880 #include <netinet/in.h>
7884 struct sockaddr_in6 s; s.sin6_scope_id = 0;
7889 rm -f conftest.
$ac_objext
7890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7891 (eval $ac_compile) 2>conftest.er1
7893 grep -v '^ *+' conftest.er1
>conftest.err
7895 cat conftest.err
>&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } &&
7898 { ac_try
='test -z "$ac_cxx_werror_flag"
7899 || test ! -s conftest.err'
7900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7904 (exit $ac_status); }; } &&
7905 { ac_try
='test -s conftest.$ac_objext'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; }; then
7913 echo "$as_me: failed program was:" >&5
7914 sed 's/^/| /' conftest.
$ac_ext >&5
7918 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7919 if test $HAS_IPV6 = no
; then
7920 echo "$as_me:$LINENO: result: no" >&5
7921 echo "${ECHO_T}no" >&6
7923 cat >conftest.
$ac_ext <<_ACEOF
7926 cat confdefs.h
>>conftest.
$ac_ext
7927 cat >>conftest.
$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7929 #include <sys/socket.h>
7934 getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
7939 rm -f conftest.
$ac_objext
7940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7941 (eval $ac_compile) 2>conftest.er1
7943 grep -v '^ *+' conftest.er1
>conftest.err
7945 cat conftest.err
>&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try
='test -z "$ac_cxx_werror_flag"
7949 || test ! -s conftest.err'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; } &&
7955 { ac_try
='test -s conftest.$ac_objext'
7956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); }; }; then
7963 echo "$as_me: failed program was:" >&5
7964 sed 's/^/| /' conftest.
$ac_ext >&5
7968 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7969 if test $HAS_IPV6 = no
; then
7970 echo "$as_me:$LINENO: result: no" >&5
7971 echo "${ECHO_T}no" >&6
7973 echo "$as_me:$LINENO: result: yes" >&5
7974 echo "${ECHO_T}yes" >&6
7976 cat >>confdefs.h
<<\_ACEOF
7977 #define P_HAS_IPV6 1
7988 # Check whether --enable-qos or --disable-qos was given.
7989 if test "${enable_qos+set}" = set; then
7990 enableval
="$enable_qos"
7994 if test "${enable_qos}z" = "z" ; then
7995 enable_qos
=$default_qos
7998 if test "$enable_qos" != "no" ; then
8000 cat >>confdefs.h
<<\_ACEOF
8009 # Check whether --enable-sdl or --disable-sdl was given.
8010 if test "${enable_sdl+set}" = set; then
8011 enableval
="$enable_sdl"
8015 if test "${enable_sdl}z" = "z" ; then
8016 enable_sdl
=$default_sdl
8020 if test "$enable_sdl" = "no" ; then
8021 { echo "$as_me:$LINENO: SDL disabled" >&5
8022 echo "$as_me: SDL disabled" >&6;}
8023 cat >>confdefs.h
<<\_ACEOF
8028 if test "${SDLLIB:-unset}" = "unset" ; then
8033 for ac_header
in SDL
/SDL.h
8035 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8037 echo "$as_me:$LINENO: checking for $ac_header" >&5
8038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8040 echo $ECHO_N "(cached) $ECHO_C" >&6
8042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8043 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8045 # Is the header compilable?
8046 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8047 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8048 cat >conftest.
$ac_ext <<_ACEOF
8051 cat confdefs.h
>>conftest.
$ac_ext
8052 cat >>conftest.
$ac_ext <<_ACEOF
8053 /* end confdefs.h. */
8054 $ac_includes_default
8055 #include <$ac_header>
8057 rm -f conftest.
$ac_objext
8058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8059 (eval $ac_compile) 2>conftest.er1
8061 grep -v '^ *+' conftest.er1
>conftest.err
8063 cat conftest.err
>&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); } &&
8066 { ac_try
='test -z "$ac_cxx_werror_flag"
8067 || test ! -s conftest.err'
8068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; } &&
8073 { ac_try
='test -s conftest.$ac_objext'
8074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); }; }; then
8079 ac_header_compiler
=yes
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.
$ac_ext >&5
8084 ac_header_compiler
=no
8086 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8088 echo "${ECHO_T}$ac_header_compiler" >&6
8090 # Is the header present?
8091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8093 cat >conftest.
$ac_ext <<_ACEOF
8096 cat confdefs.h
>>conftest.
$ac_ext
8097 cat >>conftest.
$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8099 #include <$ac_header>
8101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8102 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8104 grep -v '^ *+' conftest.er1
>conftest.err
8106 cat conftest.err
>&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } >/dev
/null
; then
8109 if test -s conftest.err
; then
8110 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8111 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8118 if test -z "$ac_cpp_err"; then
8119 ac_header_preproc
=yes
8121 echo "$as_me: failed program was:" >&5
8122 sed 's/^/| /' conftest.
$ac_ext >&5
8124 ac_header_preproc
=no
8126 rm -f conftest.err conftest.
$ac_ext
8127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8128 echo "${ECHO_T}$ac_header_preproc" >&6
8130 # So? What about this header?
8131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8137 ac_header_preproc
=yes
8140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8154 ## ------------------------------------------ ##
8155 ## Report this to the AC_PACKAGE_NAME lists. ##
8156 ## ------------------------------------------ ##
8159 sed "s/^/$as_me: WARNING: /" >&2
8162 echo "$as_me:$LINENO: checking for $ac_header" >&5
8163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8165 echo $ECHO_N "(cached) $ECHO_C" >&6
8167 eval "$as_ac_Header=\$ac_header_preproc"
8169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8174 cat >>confdefs.h
<<_ACEOF
8175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8182 if test "${HAS_SDL:-unset}" != "unset" ; then
8183 if test "${X11LIBDIR:-unset}" == "unset" ; then
8184 X11LIBDIR
=/usr
/X11R
6/lib
8186 echo "$as_me:$LINENO: checking for SDL_CreateYUVOverlay in -lSDL" >&5
8187 echo $ECHO_N "checking for SDL_CreateYUVOverlay in -lSDL... $ECHO_C" >&6
8188 if test "${ac_cv_lib_SDL_SDL_CreateYUVOverlay+set}" = set; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8191 ac_check_lib_save_LIBS
=$LIBS
8192 LIBS
="-lSDL -L${X11LIBDIR} -lpthread -lX11 -lXext $LIBS"
8193 cat >conftest.
$ac_ext <<_ACEOF
8196 cat confdefs.h
>>conftest.
$ac_ext
8197 cat >>conftest.
$ac_ext <<_ACEOF
8198 /* end confdefs.h. */
8200 /* Override any gcc2 internal prototype to avoid an error. */
8204 /* We use char because int might match the return type of a gcc2
8205 builtin and then its argument prototype would still apply. */
8206 char SDL_CreateYUVOverlay ();
8210 SDL_CreateYUVOverlay ();
8215 rm -f conftest.
$ac_objext conftest
$ac_exeext
8216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8217 (eval $ac_link) 2>conftest.er1
8219 grep -v '^ *+' conftest.er1
>conftest.err
8221 cat conftest.err
>&5
8222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8223 (exit $ac_status); } &&
8224 { ac_try
='test -z "$ac_cxx_werror_flag"
8225 || test ! -s conftest.err'
8226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8230 (exit $ac_status); }; } &&
8231 { ac_try
='test -s conftest$ac_exeext'
8232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); }; }; then
8237 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=yes
8239 echo "$as_me: failed program was:" >&5
8240 sed 's/^/| /' conftest.
$ac_ext >&5
8242 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=no
8244 rm -f conftest.err conftest.
$ac_objext \
8245 conftest
$ac_exeext conftest.
$ac_ext
8246 LIBS
=$ac_check_lib_save_LIBS
8248 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&5
8249 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&6
8250 if test $ac_cv_lib_SDL_SDL_CreateYUVOverlay = yes; then
8258 if test "${HAS_SDL:-unset}" = "unset" ; then
8259 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8260 echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5
8261 echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6
8262 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 echo "$as_me:$LINENO: result: $ac_cv_header_SDL11_SDL_h" >&5
8266 echo "${ECHO_T}$ac_cv_header_SDL11_SDL_h" >&6
8268 # Is the header compilable?
8269 echo "$as_me:$LINENO: checking SDL11/SDL.h usability" >&5
8270 echo $ECHO_N "checking SDL11/SDL.h usability... $ECHO_C" >&6
8271 cat >conftest.
$ac_ext <<_ACEOF
8274 cat confdefs.h
>>conftest.
$ac_ext
8275 cat >>conftest.
$ac_ext <<_ACEOF
8276 /* end confdefs.h. */
8277 $ac_includes_default
8278 #include <SDL11/SDL.h>
8280 rm -f conftest.
$ac_objext
8281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8282 (eval $ac_compile) 2>conftest.er1
8284 grep -v '^ *+' conftest.er1
>conftest.err
8286 cat conftest.err
>&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try
='test -z "$ac_cxx_werror_flag"
8290 || test ! -s conftest.err'
8291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8295 (exit $ac_status); }; } &&
8296 { ac_try
='test -s conftest.$ac_objext'
8297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301 (exit $ac_status); }; }; then
8302 ac_header_compiler
=yes
8304 echo "$as_me: failed program was:" >&5
8305 sed 's/^/| /' conftest.
$ac_ext >&5
8307 ac_header_compiler
=no
8309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8311 echo "${ECHO_T}$ac_header_compiler" >&6
8313 # Is the header present?
8314 echo "$as_me:$LINENO: checking SDL11/SDL.h presence" >&5
8315 echo $ECHO_N "checking SDL11/SDL.h presence... $ECHO_C" >&6
8316 cat >conftest.
$ac_ext <<_ACEOF
8319 cat confdefs.h
>>conftest.
$ac_ext
8320 cat >>conftest.
$ac_ext <<_ACEOF
8321 /* end confdefs.h. */
8322 #include <SDL11/SDL.h>
8324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8325 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8327 grep -v '^ *+' conftest.er1
>conftest.err
8329 cat conftest.err
>&5
8330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8331 (exit $ac_status); } >/dev
/null
; then
8332 if test -s conftest.err
; then
8333 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8334 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8341 if test -z "$ac_cpp_err"; then
8342 ac_header_preproc
=yes
8344 echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.
$ac_ext >&5
8347 ac_header_preproc
=no
8349 rm -f conftest.err conftest.
$ac_ext
8350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8351 echo "${ECHO_T}$ac_header_preproc" >&6
8353 # So? What about this header?
8354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8356 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&5
8357 echo "$as_me: WARNING: SDL11/SDL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8358 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the compiler's result" >&5
8359 echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the compiler's result" >&2;}
8360 ac_header_preproc
=yes
8363 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: present but cannot be compiled" >&5
8364 echo "$as_me: WARNING: SDL11/SDL.h: present but cannot be compiled" >&2;}
8365 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&5
8366 echo "$as_me: WARNING: SDL11/SDL.h: check for missing prerequisite headers?" >&2;}
8367 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: see the Autoconf documentation" >&5
8368 echo "$as_me: WARNING: SDL11/SDL.h: see the Autoconf documentation" >&2;}
8369 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: section \"Present But Cannot Be Compiled\"" >&5
8370 echo "$as_me: WARNING: SDL11/SDL.h: section \"Present But Cannot Be Compiled\"" >&2;}
8371 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&5
8372 echo "$as_me: WARNING: SDL11/SDL.h: proceeding with the preprocessor's result" >&2;}
8373 { echo "$as_me:$LINENO: WARNING: SDL11/SDL.h: in the future, the compiler will take precedence" >&5
8374 echo "$as_me: WARNING: SDL11/SDL.h: in the future, the compiler will take precedence" >&2;}
8377 ## ------------------------------------------ ##
8378 ## Report this to the AC_PACKAGE_NAME lists. ##
8379 ## ------------------------------------------ ##
8382 sed "s/^/$as_me: WARNING: /" >&2
8385 echo "$as_me:$LINENO: checking for SDL11/SDL.h" >&5
8386 echo $ECHO_N "checking for SDL11/SDL.h... $ECHO_C" >&6
8387 if test "${ac_cv_header_SDL11_SDL_h+set}" = set; then
8388 echo $ECHO_N "(cached) $ECHO_C" >&6
8390 ac_cv_header_SDL11_SDL_h
=$ac_header_preproc
8392 echo "$as_me:$LINENO: result: $ac_cv_header_SDL11_SDL_h" >&5
8393 echo "${ECHO_T}$ac_cv_header_SDL11_SDL_h" >&6
8396 if test $ac_cv_header_SDL11_SDL_h = yes; then
8401 if test "${HAS_SDL:-unset}" != "unset" ; then
8406 if test "${HAS_SDL:-unset}" != "unset" ; then
8409 cat >>confdefs.h
<<\_ACEOF
8413 if test ${SDLINCLUDEDIR:-unset} != "unset" ; then
8414 STDCCFLAGS
="$STDCCFLAGS -I${SDLINCLUDEDIR}"
8416 if test ${SDLLIBDIR:-unset} != "unset" ; then
8417 LDFLAGS
="$LDFLAGS -L${SDLLIBDIR}"
8419 ENDLDLIBS
="$ENDLDLIBS -l${SDLLIB}"
8427 # Check whether --enable-video or --disable-video was given.
8428 if test "${enable_video+set}" = set; then
8429 enableval
="$enable_video"
8433 if test "${enable_video}z" = "z" ; then
8434 enable_video
=$default_video
8440 if test "$enable_video" = "no" ; then
8442 cat >>confdefs.h
<<\_ACEOF
8443 #define NO_VIDEO_CAPTURE
8447 cat >>confdefs.h
<<\_ACEOF
8452 if test "$enable_plugins" = "yes" ; then
8455 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
8456 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
8457 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
8458 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
8462 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
8464 # Is the header compilable?
8465 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
8466 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
8467 cat >conftest.
$ac_ext <<_ACEOF
8470 cat confdefs.h
>>conftest.
$ac_ext
8471 cat >>conftest.
$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8473 $ac_includes_default
8474 #include <linux/videodev.h>
8476 rm -f conftest.
$ac_objext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8478 (eval $ac_compile) 2>conftest.er1
8480 grep -v '^ *+' conftest.er1
>conftest.err
8482 cat conftest.err
>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try
='test -z "$ac_cxx_werror_flag"
8486 || test ! -s conftest.err'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; } &&
8492 { ac_try
='test -s conftest.$ac_objext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_header_compiler
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_header_compiler
=no
8505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8507 echo "${ECHO_T}$ac_header_compiler" >&6
8509 # Is the header present?
8510 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
8511 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
8512 cat >conftest.
$ac_ext <<_ACEOF
8515 cat confdefs.h
>>conftest.
$ac_ext
8516 cat >>conftest.
$ac_ext <<_ACEOF
8517 /* end confdefs.h. */
8518 #include <linux/videodev.h>
8520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8523 grep -v '^ *+' conftest.er1
>conftest.err
8525 cat conftest.err
>&5
8526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8527 (exit $ac_status); } >/dev
/null
; then
8528 if test -s conftest.err
; then
8529 ac_cpp_err
=$ac_cxx_preproc_warn_flag
8530 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
8537 if test -z "$ac_cpp_err"; then
8538 ac_header_preproc
=yes
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.
$ac_ext >&5
8543 ac_header_preproc
=no
8545 rm -f conftest.err conftest.
$ac_ext
8546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8547 echo "${ECHO_T}$ac_header_preproc" >&6
8549 # So? What about this header?
8550 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8552 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
8553 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8554 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the compiler's result" >&5
8555 echo "$as_me: WARNING: linux/videodev.h: proceeding with the compiler's result" >&2;}
8556 ac_header_preproc
=yes
8559 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
8560 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
8561 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
8562 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
8563 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: see the Autoconf documentation" >&5
8564 echo "$as_me: WARNING: linux/videodev.h: see the Autoconf documentation" >&2;}
8565 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&5
8566 echo "$as_me: WARNING: linux/videodev.h: section \"Present But Cannot Be Compiled\"" >&2;}
8567 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
8568 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
8569 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&5
8570 echo "$as_me: WARNING: linux/videodev.h: in the future, the compiler will take precedence" >&2;}
8573 ## ------------------------------------------ ##
8574 ## Report this to the AC_PACKAGE_NAME lists. ##
8575 ## ------------------------------------------ ##
8578 sed "s/^/$as_me: WARNING: /" >&2
8581 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
8582 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
8583 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
8584 echo $ECHO_N "(cached) $ECHO_C" >&6
8586 ac_cv_header_linux_videodev_h
=$ac_header_preproc
8588 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
8589 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
8592 if test $ac_cv_header_linux_videodev_h = yes; then
8597 if test "${HAS_VIDEO_CAPTURE}z" = "z" ; then
8598 { echo "$as_me:$LINENO: No Video Capture support" >&5
8599 echo "$as_me: No Video Capture support" >&6;}
8601 cat >>confdefs.h
<<\_ACEOF
8602 #define NO_VIDEO_CAPTURE
8607 # Check whether --enable-v4l or --disable-v4l was given.
8608 if test "${enable_v4l+set}" = set; then
8609 enableval
="$enable_v4l"
8612 # Check whether --enable-v4l2 or --disable-v4l2 was given.
8613 if test "${enable_v4l2+set}" = set; then
8614 enableval
="$enable_v4l2"
8617 # Check whether --enable-bsdvideo or --disable-bsdvideo was given.
8618 if test "${enable_bsdvideo+set}" = set; then
8619 enableval
="$enable_bsdvideo"
8622 # Check whether --enable-avc or --disable-avc was given.
8623 if test "${enable_avc+set}" = set; then
8624 enableval
="$enable_avc"
8627 # Check whether --enable-dc or --disable-dc was given.
8628 if test "${enable_dc+set}" = set; then
8629 enableval
="$enable_dc"
8639 # Check whether --enable-shm_video or --disable-shm_video was given.
8640 if test "${enable_shm_video+set}" = set; then
8641 enableval
="$enable_shm_video"
8642 shm_video
=$enableval
8645 if test "${enable_shmvideo}z" = "z" ; then
8646 shm_video
=$default_shmvideo
8649 USE_SHM_VIDEO_DEVICES
=
8650 if test "$shm_video" = "yes" ; then
8651 USE_SHM_VIDEO_DEVICES
=1
8652 { echo "$as_me:$LINENO: Shared memory video devices enabled" >&5
8653 echo "$as_me: Shared memory video devices enabled" >&6;}
8655 { echo "$as_me:$LINENO: Shared memory video devices disabled" >&5
8656 echo "$as_me: Shared memory video devices disabled" >&6;}
8662 # Check whether --enable-asn or --disable-asn was given.
8663 if test "${enable_asn+set}" = set; then
8664 enableval
="$enable_asn"
8668 if test "${enable_asn}z" = "z" ; then
8669 enable_asn
=$default_asn
8673 if test "$enable_asn" = "no" ; then
8674 { echo "$as_me:$LINENO: ASN decoding/encoding support disabled" >&5
8675 echo "$as_me: ASN decoding/encoding support disabled" >&6;}
8678 cat >>confdefs.h
<<\_ACEOF
8687 # Check whether --enable-stun or --disable-stun was given.
8688 if test "${enable_stun+set}" = set; then
8689 enableval
="$enable_stun"
8693 if test "${enable_stun}z" = "z" ; then
8694 enable_stun
=$default_stun
8698 if test "$enable_stun" = "no" ; then
8699 { echo "$as_me:$LINENO: STUN decoding/encoding support disabled" >&5
8700 echo "$as_me: STUN decoding/encoding support disabled" >&6;}
8703 cat >>confdefs.h
<<\_ACEOF
8712 # Check whether --enable-pipechan or --disable-pipechan was given.
8713 if test "${enable_pipechan+set}" = set; then
8714 enableval
="$enable_pipechan"
8718 if test "${enable_pipechan}z" = "z" ; then
8719 enable_pipechan
=$default_pipechan
8723 if test "$enable_pipechan" = "no" ; then
8724 { echo "$as_me:$LINENO: pipechannel support disabled" >&5
8725 echo "$as_me: pipechannel support disabled" >&6;}
8728 cat >>confdefs.h
<<\_ACEOF
8729 #define P_PIPECHAN 1
8737 # Check whether --enable-dtmf or --disable-dtmf was given.
8738 if test "${enable_dtmf+set}" = set; then
8739 enableval
="$enable_dtmf"
8743 if test "${enable_dtmf}z" = "z" ; then
8744 enable_dtmf
=$default_dtmf
8748 if test "$enable_dtmf" = "no" ; then
8749 { echo "$as_me:$LINENO: DTMF decoding/encoding support disabled" >&5
8750 echo "$as_me: DTMF decoding/encoding support disabled" >&6;}
8753 cat >>confdefs.h
<<\_ACEOF
8762 # Check whether --enable-wavfile or --disable-wavfile was given.
8763 if test "${enable_wavfile+set}" = set; then
8764 enableval
="$enable_wavfile"
8768 if test "${enable_wavfile}z" = "z" ; then
8769 enable_wavfile
=$default_wavfile
8773 if test "$enable_wavfile" = "no" ; then
8774 { echo "$as_me:$LINENO: WAV file support disabled" >&5
8775 echo "$as_me: WAV file support disabled" >&6;}
8778 cat >>confdefs.h
<<\_ACEOF
8787 # Check whether --enable-socks or --disable-socks was given.
8788 if test "${enable_socks+set}" = set; then
8789 enableval
="$enable_socks"
8793 if test "${enable_socks}z" = "z" ; then
8794 enable_socks
=$default_socks
8798 if test "$enable_socks" = "no" ; then
8799 { echo "$as_me:$LINENO: SOCKS decoding/encoding support disabled" >&5
8800 echo "$as_me: SOCKS decoding/encoding support disabled" >&6;}
8803 cat >>confdefs.h
<<\_ACEOF
8812 # Check whether --enable-rtp or --disable-rtp was given.
8813 if test "${enable_rtp+set}" = set; then
8814 enableval
="$enable_rtp"
8818 if test "${enable_ftp}z" = "z" ; then
8819 enable_ftp
=$default_ftp
8823 if test "$enable_ftp" = "no" ; then
8824 { echo "$as_me:$LINENO: FTP protocol support disabled" >&5
8825 echo "$as_me: FTP protocol support disabled" >&6;}
8828 cat >>confdefs.h
<<\_ACEOF
8837 # Check whether --enable-snmp or --disable-snmp was given.
8838 if test "${enable_snmp+set}" = set; then
8839 enableval
="$enable_snmp"
8843 if test "${enable_snmp}z" = "z" ; then
8844 enable_snmp
=$default_snmp
8848 if test "$enable_snmp" = "no" ; then
8849 { echo "$as_me:$LINENO: SNMP protocol support disabled" >&5
8850 echo "$as_me: SNMP protocol support disabled" >&6;}
8853 cat >>confdefs.h
<<\_ACEOF
8862 # Check whether --enable-telnet or --disable-telnet was given.
8863 if test "${enable_telnet+set}" = set; then
8864 enableval
="$enable_telnet"
8868 if test "${enable_telnet}z" = "z" ; then
8869 enable_telnet
=$default_telnet
8873 if test "$enable_telnet" = "no" ; then
8874 { echo "$as_me:$LINENO: Telnet protocol support disabled" >&5
8875 echo "$as_me: Telnet protocol support disabled" >&6;}
8878 cat >>confdefs.h
<<\_ACEOF
8887 # Check whether --enable-remconn or --disable-remconn was given.
8888 if test "${enable_remconn+set}" = set; then
8889 enableval
="$enable_remconn"
8893 if test "${enable_remconn}z" = "z" ; then
8894 enable_remconn
=$default_remconn
8898 if test "$enable_remconn" = "no" ; then
8899 { echo "$as_me:$LINENO: Remote connection support disabled" >&5
8900 echo "$as_me: Remote connection support disabled" >&6;}
8903 cat >>confdefs.h
<<\_ACEOF
8912 # Check whether --enable-serial or --disable-serial was given.
8913 if test "${enable_serial+set}" = set; then
8914 enableval
="$enable_serial"
8918 if test "${enable_serial}z" = "z" ; then
8919 enable_serial
=$default_serial
8923 if test "$enable_serial" = "no" ; then
8924 { echo "$as_me:$LINENO: Serial port support disabled" >&5
8925 echo "$as_me: Serial port support disabled" >&6;}
8928 cat >>confdefs.h
<<\_ACEOF
8937 # Check whether --enable-pop3smtp or --disable-pop3smtp was given.
8938 if test "${enable_pop3smtp+set}" = set; then
8939 enableval
="$enable_pop3smtp"
8943 if test "${enable_pop3smtp}z" = "z" ; then
8944 enable_pop3smtp
=$default_pop3smtp
8948 if test "$enable_pop3smtp" = "no" ; then
8949 { echo "$as_me:$LINENO: POP3/SMTP protocol support disabled" >&5
8950 echo "$as_me: POP3/SMTP protocol support disabled" >&6;}
8953 cat >>confdefs.h
<<\_ACEOF
8954 #define P_POP3SMTP 1
8962 # Check whether --enable-http or --disable-http was given.
8963 if test "${enable_http+set}" = set; then
8964 enableval
="$enable_http"
8968 if test "${enable_http}z" = "z" ; then
8969 enable_http
=$default_http
8973 if test "$enable_http" = "no" ; then
8974 { echo "$as_me:$LINENO: HTTP protocol support disabled" >&5
8975 echo "$as_me: HTTP protocol support disabled" >&6;}
8978 cat >>confdefs.h
<<\_ACEOF
8987 # Check whether --enable-httpsvc or --disable-httpsvc was given.
8988 if test "${enable_httpsvc+set}" = set; then
8989 enableval
="$enable_httpsvc"
8993 if test "${enable_httpsvc}z" = "z" ; then
8994 enable_httpsvc
=$default_httpsvc
8998 if test "$enable_httpsvc" = "no" ; then
8999 { echo "$as_me:$LINENO: HTTP service support disabled" >&5
9000 echo "$as_me: HTTP service support disabled" >&6;}
9003 cat >>confdefs.h
<<\_ACEOF
9012 # Check whether --enable-configfile or --disable-configfile was given.
9013 if test "${enable_configfile+set}" = set; then
9014 enableval
="$enable_configfile"
9018 if test "${enable_configfile}z" = "z" ; then
9019 enable_configfile
=$default_configfile
9023 if test "$enable_configfile" = "no" ; then
9024 { echo "$as_me:$LINENO: Config file support disabled" >&5
9025 echo "$as_me: Config file support disabled" >&6;}
9028 cat >>confdefs.h
<<\_ACEOF
9029 #define P_CONFIG_FILE 1
9037 # Check whether --enable-sockagg or --disable-sockagg was given.
9038 if test "${enable_sockagg+set}" = set; then
9039 enableval
="$enable_sockagg"
9043 if test "${enable_sockagg}z" = "z" ; then
9044 enable_sockagg
=$default_sockagg
9048 if test "$enable_sockagg" = "no" ; then
9049 { echo "$as_me:$LINENO: Socket aggregation support disabled" >&5
9050 echo "$as_me: Socket aggregation support disabled" >&6;}
9052 { echo "$as_me:$LINENO: Socket aggregation support enabled (experimental)" >&5
9053 echo "$as_me: Socket aggregation support enabled (experimental)" >&6;}
9055 cat >>confdefs.h
<<\_ACEOF
9064 if test "$HAS_VIDEO" \
!= "1" ; then
9068 # Check whether --enable-vidfile or --disable-vidfile was given.
9069 if test "${enable_vidfile+set}" = set; then
9070 enableval
="$enable_vidfile"
9074 if test "${enable_vidfile}z" = "z" ; then
9075 enable_vidfile
=$default_vidfile
9079 if test "$enable_vidfile" = "no" ; then
9080 { echo "$as_me:$LINENO: Video file support disabled" >&5
9081 echo "$as_me: Video file support disabled" >&6;}
9083 { echo "$as_me:$LINENO: Video file support enabled" >&5
9084 echo "$as_me: Video file support enabled" >&6;}
9086 cat >>confdefs.h
<<\_ACEOF
9095 # Check whether --enable-audio or --disable-audio was given.
9096 if test "${enable_audio+set}" = set; then
9097 enableval
="$enable_audio"
9101 if test "${enable_audio}z" = "z" ; then
9102 enable_audio
=$default_audio
9106 if test "$enable_audio" = "no" ; then
9107 { echo "$as_me:$LINENO: Audio support disabled" >&5
9108 echo "$as_me: Audio support disabled" >&6;}
9111 cat >>confdefs.h
<<\_ACEOF
9121 if test "$enable_audio" = "yes" ; then
9123 # Check whether --enable-alsa or --disable-alsa was given.
9124 if test "${enable_alsa+set}" = set; then
9125 enableval
="$enable_alsa"
9126 enable_alsa
=$enableval
9128 # Check whether --enable-oss or --disable-oss was given.
9129 if test "${enable_oss+set}" = set; then
9130 enableval
="$enable_oss"
9131 enable_oss
=$enableval
9134 if test "$enable_plugins" = "no" ; then
9136 if test "${enable_alsa}z" = "z" ; then
9137 enable_alsa
=$default_alsa
9140 if test "${enable_oss}z" = "z" ; then
9141 enable_oss
=$default_oss
9144 if test "$enable_alsa" = "yes" ; then
9145 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9146 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
9147 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
9148 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9149 echo $ECHO_N "(cached) $ECHO_C" >&6
9151 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
9152 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
9154 # Is the header compilable?
9155 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
9156 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
9157 cat >conftest.
$ac_ext <<_ACEOF
9160 cat confdefs.h
>>conftest.
$ac_ext
9161 cat >>conftest.
$ac_ext <<_ACEOF
9162 /* end confdefs.h. */
9163 $ac_includes_default
9164 #include <alsa/asoundlib.h>
9166 rm -f conftest.
$ac_objext
9167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9168 (eval $ac_compile) 2>conftest.er1
9170 grep -v '^ *+' conftest.er1
>conftest.err
9172 cat conftest.err
>&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } &&
9175 { ac_try
='test -z "$ac_cxx_werror_flag"
9176 || test ! -s conftest.err'
9177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); }; } &&
9182 { ac_try
='test -s conftest.$ac_objext'
9183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); }; }; then
9188 ac_header_compiler
=yes
9190 echo "$as_me: failed program was:" >&5
9191 sed 's/^/| /' conftest.
$ac_ext >&5
9193 ac_header_compiler
=no
9195 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9197 echo "${ECHO_T}$ac_header_compiler" >&6
9199 # Is the header present?
9200 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
9201 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
9202 cat >conftest.
$ac_ext <<_ACEOF
9205 cat confdefs.h
>>conftest.
$ac_ext
9206 cat >>conftest.
$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9208 #include <alsa/asoundlib.h>
9210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9211 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9213 grep -v '^ *+' conftest.er1
>conftest.err
9215 cat conftest.err
>&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); } >/dev
/null
; then
9218 if test -s conftest.err
; then
9219 ac_cpp_err
=$ac_cxx_preproc_warn_flag
9220 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
9227 if test -z "$ac_cpp_err"; then
9228 ac_header_preproc
=yes
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.
$ac_ext >&5
9233 ac_header_preproc
=no
9235 rm -f conftest.err conftest.
$ac_ext
9236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9237 echo "${ECHO_T}$ac_header_preproc" >&6
9239 # So? What about this header?
9240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9242 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
9243 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9244 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&5
9245 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the compiler's result" >&2;}
9246 ac_header_preproc
=yes
9249 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
9250 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
9251 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
9252 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
9253 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&5
9254 echo "$as_me: WARNING: alsa/asoundlib.h: see the Autoconf documentation" >&2;}
9255 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&5
9256 echo "$as_me: WARNING: alsa/asoundlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
9257 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
9258 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
9259 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&5
9260 echo "$as_me: WARNING: alsa/asoundlib.h: in the future, the compiler will take precedence" >&2;}
9263 ## ------------------------------------------ ##
9264 ## Report this to the AC_PACKAGE_NAME lists. ##
9265 ## ------------------------------------------ ##
9268 sed "s/^/$as_me: WARNING: /" >&2
9271 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
9272 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
9273 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
9274 echo $ECHO_N "(cached) $ECHO_C" >&6
9276 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
9278 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
9279 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
9282 if test $ac_cv_header_alsa_asoundlib_h = yes; then
9287 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
9288 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
9289 if test "${HAS_ALSA}z" != "z"; then
9290 echo "$as_me:$LINENO: result: yes" >&5
9291 echo "${ECHO_T}yes" >&6
9292 ENDLDLIBS
="$ENDLDLIBS -lasound"
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9300 if test "${HAS_ALSA}z" = "z" ; then
9301 if test "$enable_oss" = "yes" ; then
9302 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9303 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
9304 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
9305 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
9309 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
9311 # Is the header compilable?
9312 echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
9313 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6
9314 cat >conftest.
$ac_ext <<_ACEOF
9317 cat confdefs.h
>>conftest.
$ac_ext
9318 cat >>conftest.
$ac_ext <<_ACEOF
9319 /* end confdefs.h. */
9320 $ac_includes_default
9321 #include <sys/soundcard.h>
9323 rm -f conftest.
$ac_objext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9325 (eval $ac_compile) 2>conftest.er1
9327 grep -v '^ *+' conftest.er1
>conftest.err
9329 cat conftest.err
>&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try
='test -z "$ac_cxx_werror_flag"
9333 || test ! -s conftest.err'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; } &&
9339 { ac_try
='test -s conftest.$ac_objext'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; }; then
9345 ac_header_compiler
=yes
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.
$ac_ext >&5
9350 ac_header_compiler
=no
9352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9354 echo "${ECHO_T}$ac_header_compiler" >&6
9356 # Is the header present?
9357 echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
9358 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6
9359 cat >conftest.
$ac_ext <<_ACEOF
9362 cat confdefs.h
>>conftest.
$ac_ext
9363 cat >>conftest.
$ac_ext <<_ACEOF
9364 /* end confdefs.h. */
9365 #include <sys/soundcard.h>
9367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9370 grep -v '^ *+' conftest.er1
>conftest.err
9372 cat conftest.err
>&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); } >/dev
/null
; then
9375 if test -s conftest.err
; then
9376 ac_cpp_err
=$ac_cxx_preproc_warn_flag
9377 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
9384 if test -z "$ac_cpp_err"; then
9385 ac_header_preproc
=yes
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.
$ac_ext >&5
9390 ac_header_preproc
=no
9392 rm -f conftest.err conftest.
$ac_ext
9393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9394 echo "${ECHO_T}$ac_header_preproc" >&6
9396 # So? What about this header?
9397 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9399 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
9400 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9401 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
9402 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
9403 ac_header_preproc
=yes
9406 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
9407 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
9408 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
9409 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
9410 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
9411 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
9412 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
9413 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
9415 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
9416 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
9417 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
9420 ## ------------------------------------------ ##
9421 ## Report this to the AC_PACKAGE_NAME lists. ##
9422 ## ------------------------------------------ ##
9425 sed "s/^/$as_me: WARNING: /" >&2
9428 echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
9429 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6
9430 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 ac_cv_header_sys_soundcard_h
=$ac_header_preproc
9435 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
9436 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6
9439 if test $ac_cv_header_sys_soundcard_h = yes; then
9444 echo "$as_me:$LINENO: checking for OSS sound support" >&5
9445 echo $ECHO_N "checking for OSS sound support... $ECHO_C" >&6
9446 if test "${SNDCARDHDR}z" != "z"; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9467 if test "$OSTYPE" = "solaris" ; then
9470 echo "$as_me:$LINENO: checking for swab" >&5
9471 echo $ECHO_N "checking for swab... $ECHO_C" >&6
9472 if test "${ac_cv_func_swab+set}" = set; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9475 cat >conftest.
$ac_ext <<_ACEOF
9478 cat confdefs.h
>>conftest.
$ac_ext
9479 cat >>conftest.
$ac_ext <<_ACEOF
9480 /* end confdefs.h. */
9481 /* Define swab to an innocuous variant, in case <limits.h> declares swab.
9482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9483 #define swab innocuous_swab
9485 /* System header to define __stub macros and hopefully few prototypes,
9486 which can conflict with char swab (); below.
9487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9488 <limits.h> exists even on freestanding compilers. */
9491 # include <limits.h>
9493 # include <assert.h>
9498 /* Override any gcc2 internal prototype to avoid an error. */
9503 /* We use char because int might match the return type of a gcc2
9504 builtin and then its argument prototype would still apply. */
9506 /* The GNU C library defines this for functions which it implements
9507 to always fail with ENOSYS. Some functions are actually named
9508 something starting with __ and the normal name is an alias. */
9509 #if defined (__stub_swab) || defined (__stub___swab)
9512 char (*f) () = swab;
9526 rm -f conftest.
$ac_objext conftest
$ac_exeext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9528 (eval $ac_link) 2>conftest.er1
9530 grep -v '^ *+' conftest.er1
>conftest.err
9532 cat conftest.err
>&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } &&
9535 { ac_try
='test -z "$ac_cxx_werror_flag"
9536 || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try
='test -s conftest$ac_exeext'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; }; then
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.
$ac_ext >&5
9555 rm -f conftest.err conftest.
$ac_objext \
9556 conftest
$ac_exeext conftest.
$ac_ext
9558 echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
9559 echo "${ECHO_T}$ac_cv_func_swab" >&6
9560 if test $ac_cv_func_swab = yes; then
9565 if test "x$ac_cv_func_swab" = "xyes" ; then
9567 cat >>confdefs.h
<<\_ACEOF
9568 #define USE_SYSTEM_SWAB
9574 # Check whether --enable-memcheck or --disable-memcheck was given.
9575 if test "${enable_memcheck+set}" = set; then
9576 enableval
="$enable_memcheck"
9580 if test "$memcheck" = "yes" ; then
9581 cat >>confdefs.h
<<\_ACEOF
9582 #define PMEMORY_CHECK 1
9585 { echo "$as_me:$LINENO: Memory checking enabled" >&5
9586 echo "$as_me: Memory checking enabled" >&6;}
9592 # Check whether --enable-odbc or --disable-odbc was given.
9593 if test "${enable_odbc+set}" = set; then
9594 enableval
="$enable_odbc"
9598 if test "${enable_odbc}z" = "z" ; then
9599 enable_odbc
=$default_odbc
9603 if test "$enable_odbc" = "no" ; then
9604 { echo "$as_me:$LINENO: ODBC support disabled" >&5
9605 echo "$as_me: ODBC support disabled" >&6;}
9608 for ac_header
in sql.h
9610 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9612 echo "$as_me:$LINENO: checking for $ac_header" >&5
9613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9618 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9620 # Is the header compilable?
9621 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9622 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9623 cat >conftest.
$ac_ext <<_ACEOF
9626 cat confdefs.h
>>conftest.
$ac_ext
9627 cat >>conftest.
$ac_ext <<_ACEOF
9628 /* end confdefs.h. */
9629 $ac_includes_default
9630 #include <$ac_header>
9632 rm -f conftest.
$ac_objext
9633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9634 (eval $ac_compile) 2>conftest.er1
9636 grep -v '^ *+' conftest.er1
>conftest.err
9638 cat conftest.err
>&5
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); } &&
9641 { ac_try
='test -z "$ac_cxx_werror_flag"
9642 || test ! -s conftest.err'
9643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); }; } &&
9648 { ac_try
='test -s conftest.$ac_objext'
9649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9653 (exit $ac_status); }; }; then
9654 ac_header_compiler
=yes
9656 echo "$as_me: failed program was:" >&5
9657 sed 's/^/| /' conftest.
$ac_ext >&5
9659 ac_header_compiler
=no
9661 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9663 echo "${ECHO_T}$ac_header_compiler" >&6
9665 # Is the header present?
9666 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9667 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9668 cat >conftest.
$ac_ext <<_ACEOF
9671 cat confdefs.h
>>conftest.
$ac_ext
9672 cat >>conftest.
$ac_ext <<_ACEOF
9673 /* end confdefs.h. */
9674 #include <$ac_header>
9676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9677 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9679 grep -v '^ *+' conftest.er1
>conftest.err
9681 cat conftest.err
>&5
9682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9683 (exit $ac_status); } >/dev
/null
; then
9684 if test -s conftest.err
; then
9685 ac_cpp_err
=$ac_cxx_preproc_warn_flag
9686 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
9693 if test -z "$ac_cpp_err"; then
9694 ac_header_preproc
=yes
9696 echo "$as_me: failed program was:" >&5
9697 sed 's/^/| /' conftest.
$ac_ext >&5
9699 ac_header_preproc
=no
9701 rm -f conftest.err conftest.
$ac_ext
9702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9703 echo "${ECHO_T}$ac_header_preproc" >&6
9705 # So? What about this header?
9706 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9712 ac_header_preproc
=yes
9715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9729 ## ------------------------------------------ ##
9730 ## Report this to the AC_PACKAGE_NAME lists. ##
9731 ## ------------------------------------------ ##
9734 sed "s/^/$as_me: WARNING: /" >&2
9737 echo "$as_me:$LINENO: checking for $ac_header" >&5
9738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9740 echo $ECHO_N "(cached) $ECHO_C" >&6
9742 eval "$as_ac_Header=\$ac_header_preproc"
9744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9749 cat >>confdefs.h
<<_ACEOF
9750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9757 if test "${HAS_ODBC:-unset}" != "unset" ; then
9758 echo "$as_me:$LINENO: checking for SQLAllocStmt in -lodbc" >&5
9759 echo $ECHO_N "checking for SQLAllocStmt in -lodbc... $ECHO_C" >&6
9760 if test "${ac_cv_lib_odbc_SQLAllocStmt+set}" = set; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 ac_check_lib_save_LIBS
=$LIBS
9765 cat >conftest.
$ac_ext <<_ACEOF
9768 cat confdefs.h
>>conftest.
$ac_ext
9769 cat >>conftest.
$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9772 /* Override any gcc2 internal prototype to avoid an error. */
9776 /* We use char because int might match the return type of a gcc2
9777 builtin and then its argument prototype would still apply. */
9778 char SQLAllocStmt ();
9787 rm -f conftest.
$ac_objext conftest
$ac_exeext
9788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9789 (eval $ac_link) 2>conftest.er1
9791 grep -v '^ *+' conftest.er1
>conftest.err
9793 cat conftest.err
>&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); } &&
9796 { ac_try
='test -z "$ac_cxx_werror_flag"
9797 || test ! -s conftest.err'
9798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9802 (exit $ac_status); }; } &&
9803 { ac_try
='test -s conftest$ac_exeext'
9804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9808 (exit $ac_status); }; }; then
9809 ac_cv_lib_odbc_SQLAllocStmt
=yes
9811 echo "$as_me: failed program was:" >&5
9812 sed 's/^/| /' conftest.
$ac_ext >&5
9814 ac_cv_lib_odbc_SQLAllocStmt
=no
9816 rm -f conftest.err conftest.
$ac_objext \
9817 conftest
$ac_exeext conftest.
$ac_ext
9818 LIBS
=$ac_check_lib_save_LIBS
9820 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocStmt" >&5
9821 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocStmt" >&6
9822 if test $ac_cv_lib_odbc_SQLAllocStmt = yes; then
9829 echo "$as_me:$LINENO: checking for /usr/local/include/sql.h" >&5
9830 echo $ECHO_N "checking for /usr/local/include/sql.h... $ECHO_C" >&6
9831 if test "${ac_cv_file__usr_local_include_sql_h+set}" = set; then
9832 echo $ECHO_N "(cached) $ECHO_C" >&6
9834 test "$cross_compiling" = yes &&
9835 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
9836 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
9837 { (exit 1); exit 1; }; }
9838 if test -r "/usr/local/include/sql.h"; then
9839 ac_cv_file__usr_local_include_sql_h
=yes
9841 ac_cv_file__usr_local_include_sql_h
=no
9844 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_sql_h" >&5
9845 echo "${ECHO_T}$ac_cv_file__usr_local_include_sql_h" >&6
9846 if test $ac_cv_file__usr_local_include_sql_h = yes; then
9850 if test "${HAS_ODBC:-unset}" != "unset" ; then
9851 ODBCINCLUDEDIR
=/usr
/local
/include
9852 ODBCLIBDIR
=/usr
/local
/lib
9856 if test "${HAS_ODBC:-unset}" != "unset" ; then
9859 cat >>confdefs.h
<<\_ACEOF
9863 if test ${ODBCINCLUDEDIR:-unset} != "unset" ; then
9864 STDCCFLAGS
="$STDCCFLAGS -I${ODBCINCLUDEDIR}"
9866 if test ${ODBCLIBDIR:-unset} != "unset" ; then
9867 LDFLAGS
="$LDFLAGS -L${ODBCLIBDIR}"
9869 ENDLDLIBS
="$ENDLDLIBS -lodbc"
9870 { echo "$as_me:$LINENO: ODBC support enabled" >&5
9871 echo "$as_me: ODBC support enabled" >&6;}
9879 if test "${HAS_RESOLVER:-unset}" != "unset" ; then
9880 if test "${RESOLVER_LIBS:-unset}" != "unset" ; then
9881 ENDLDLIBS
="$ENDLDLIBS $RESOLVER_LIBS"
9885 if test "${OSTYPE}" != "Darwin" ; then
9886 if test ${HAS_LIBDL} = yes ; then
9887 ENDLDLIBS
="$ENDLDLIBS -ldl"
9892 # Check whether --enable-exceptions or --disable-exceptions was given.
9893 if test "${enable_exceptions+set}" = set; then
9894 enableval
="$enable_exceptions"
9898 if test "${enable_exceptions}z" != "yesz" ; then
9899 { echo "$as_me:$LINENO: C++ exceptions disabled" >&5
9900 echo "$as_me: C++ exceptions disabled" >&6;}
9901 STDCCFLAGS
="$STDCCFLAGS -fno-exceptions"
9903 cat >>confdefs.h
<<\_ACEOF
9904 #define P_EXCEPTIONS 1
9907 { echo "$as_me:$LINENO: C++ exceptions enabled" >&5
9908 echo "$as_me: C++ exceptions enabled" >&6;}
9909 STDCCFLAGS
="$STDCCFLAGS -fexceptions"
9919 # Find a good install program. We prefer a C program (faster),
9920 # so one script is as good as another. But avoid the broken or
9921 # incompatible versions:
9922 # SysV /etc/install, /usr/sbin/install
9923 # SunOS /usr/etc/install
9924 # IRIX /sbin/install
9926 # AmigaOS /C/install, which installs bootblocks on floppy discs
9927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9930 # OS/2's system install, which has a completely different semantic
9931 # ./install, which can be erroneously created by make from ./install.sh.
9932 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
9933 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
9934 if test -z "$INSTALL"; then
9935 if test "${ac_cv_path_install+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9942 test -z "$as_dir" && as_dir
=.
9943 # Account for people who put trailing slashes in PATH elements.
9945 .
/ | .
// |
/cC
/* | \
9946 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
9947 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
9950 # OSF1 and SCO ODT 3.0 have their own names for install.
9951 # Don't use installbsd from OSF since it installs stuff as root
9953 for ac_prog
in ginstall scoinst
install; do
9954 for ac_exec_ext
in '' $ac_executable_extensions; do
9955 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
9956 if test $ac_prog = install &&
9957 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9958 # AIX install. It has an incompatible calling convention.
9960 elif test $ac_prog = install &&
9961 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
9962 # program-specific install script used by HP pwplus--don't use.
9965 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
9977 if test "${ac_cv_path_install+set}" = set; then
9978 INSTALL
=$ac_cv_path_install
9980 # As a last resort, use the slow shell script. We don't cache a
9981 # path for INSTALL within a source directory, because that will
9982 # break other packages using the cache if that directory is
9983 # removed, or if the path is relative.
9984 INSTALL
=$ac_install_sh
9987 echo "$as_me:$LINENO: result: $INSTALL" >&5
9988 echo "${ECHO_T}$INSTALL" >&6
9990 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9991 # It thinks the first close brace ends the variable substitution.
9992 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9994 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
9996 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9999 ac_config_files
="$ac_config_files make/ptbuildopts.mak"
10001 ac_config_files
="$ac_config_files make/ptlib-config"
10003 ac_config_files
="$ac_config_files Makefile"
10006 #AC_CONFIG_FILES(include/ptbuildopts.h.in)
10007 ac_config_headers
="$ac_config_headers include/ptbuildopts.h"
10010 cat >confcache
<<\_ACEOF
10011 # This file is a shell script that caches the results of configure
10012 # tests run on this system so they can be shared between configure
10013 # scripts and configure runs, see configure's option --config-cache.
10014 # It is not useful on other systems. If it contains results you don't
10015 # want to keep, you may remove or edit it.
10017 # config.status only pays attention to the cache file if you give it
10018 # the --recheck option to rerun configure.
10020 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10021 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10022 # following values.
10026 # The following way of writing the cache mishandles newlines in values,
10027 # but we know of no workaround that is simple, portable, and efficient.
10028 # So, don't put newlines in cache variables' values.
10029 # Ultrix sh set writes to stderr and can't be redirected directly,
10030 # and sets the high bit in the cache file unless we assign to the vars.
10033 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10035 # `set' does not quote correctly, so add quotes (double-quote
10036 # substitution turns \\\\ into \\, and sed turns \\ into \).
10039 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10042 # `set' quotes correctly as required by POSIX, so do not add quotes.
10044 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10051 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10053 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10055 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10056 if test -w $cache_file; then
10057 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10058 cat confcache
>$cache_file
10060 echo "not updating unwritable cache $cache_file"
10065 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10066 # Let make expand exec_prefix.
10067 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10069 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10070 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10071 # trailing colons and then remove the whole line if VPATH becomes empty
10072 # (actually we leave an empty line to preserve line numbers).
10073 if test "x$srcdir" = x.
; then
10074 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10075 s/:*\$(srcdir):*/:/;
10076 s/:*\${srcdir}:*/:/;
10078 s/^\([^=]*=[ ]*\):*/\1/;
10084 DEFS
=-DHAVE_CONFIG_H
10088 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10089 # 1. Remove the extension, and $U if already installed.
10090 ac_i
=`echo "$ac_i" |
10091 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10093 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10094 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10096 LIBOBJS
=$ac_libobjs
10098 LTLIBOBJS
=$ac_ltlibobjs
10102 : ${CONFIG_STATUS=./config.status}
10103 ac_clean_files_save
=$ac_clean_files
10104 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10105 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10106 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10107 cat >$CONFIG_STATUS <<_ACEOF
10109 # Generated by $as_me.
10110 # Run this file to recreate the current configuration.
10111 # Compiler output produced by configure, useful for debugging
10112 # configure, is in config.log if it exists.
10115 ac_cs_recheck=false
10117 SHELL=\${CONFIG_SHELL-$SHELL}
10120 cat >>$CONFIG_STATUS <<\_ACEOF
10121 ## --------------------- ##
10122 ## M4sh Initialization. ##
10123 ## --------------------- ##
10125 # Be Bourne compatible
10126 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10129 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10130 # is contrary to our usage. Disable this feature.
10131 alias -g '${1+"$@"}'='"$@"'
10132 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10135 DUALCASE
=1; export DUALCASE
# for MKS sh
10137 # Support unset when possible.
10138 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10145 # Work around bugs in pre-3.0 UWIN ksh.
10146 $as_unset ENV MAIL MAILPATH
10153 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10154 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10155 LC_TELEPHONE LC_TIME
10157 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10158 eval $as_var=C
; export $as_var
10164 # Required to use basename.
10165 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10171 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10172 as_basename
=basename
10178 # Name of the executable.
10179 as_me
=`$as_basename "$0" ||
10180 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10181 X"$0" : 'X\(//\)$' \| \
10182 X"$0" : 'X\(/\)$' \| \
10183 . : '\(.\)' 2>/dev/null ||
10185 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10186 /^X\/\(\/\/\)$/{ s//\1/; q; }
10187 /^X\/\(\/\).*/{ s//\1/; q; }
10191 # PATH needs CR, and LINENO needs CR and PATH.
10192 # Avoid depending upon Character Ranges.
10193 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10194 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10195 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10196 as_cr_digits
='0123456789'
10197 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10199 # The user is always right.
10200 if test "${PATH_SEPARATOR+set}" != set; then
10201 echo "#! /bin/sh" >conf$$.sh
10202 echo "exit 0" >>conf$$.sh
10204 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10213 as_lineno_1
=$LINENO
10214 as_lineno_2
=$LINENO
10215 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10216 test "x$as_lineno_1" != "x$as_lineno_2" &&
10217 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10218 # Find who we are. Look in the path if we contain no path at all
10221 *[\\/]* ) as_myself
=$0 ;;
10222 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10223 for as_dir
in $PATH
10226 test -z "$as_dir" && as_dir
=.
10227 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10232 # We did not find ourselves, most probably we were run as `sh COMMAND'
10233 # in which case we are not to be found in the path.
10234 if test "x$as_myself" = x
; then
10237 if test ! -f "$as_myself"; then
10238 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10239 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10240 { (exit 1); exit 1; }; }
10242 case $CONFIG_SHELL in
10244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10245 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10248 test -z "$as_dir" && as_dir
=.
10249 for as_base
in sh bash ksh sh5
; do
10252 if ("$as_dir/$as_base" -c '
10253 as_lineno_1=$LINENO
10254 as_lineno_2=$LINENO
10255 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10256 test "x$as_lineno_1" != "x$as_lineno_2" &&
10257 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10258 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10259 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10260 CONFIG_SHELL
=$as_dir/$as_base
10261 export CONFIG_SHELL
10262 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10270 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10271 # uniformly replaced by the line number. The first 'sed' inserts a
10272 # line-number line before each line; the second 'sed' does the real
10273 # work. The second script uses 'N' to pair each line-number line
10274 # with the numbered line, and appends trailing '-' during
10275 # substitution so that $LINENO is not a special case at line end.
10276 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10277 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10278 sed '=' <$as_myself |
10283 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10286 s,^['$as_cr_digits']*\n,,
10287 ' >$as_me.lineno
&&
10288 chmod +x
$as_me.lineno ||
10289 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10290 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10291 { (exit 1); exit 1; }; }
10293 # Don't try to exec as it changes $[0], causing all sort of problems
10294 # (the dirname of $[0] is not the place where we might find the
10295 # original and so on. Autoconf is especially sensible to this).
10297 # Exit status is that of the last command.
10302 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10303 *c
*,-n*) ECHO_N
= ECHO_C
='
10305 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10306 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10309 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10315 rm -f conf$$ conf$$.exe conf$$.
file
10317 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10318 # We could just check for DJGPP; but this test a) works b) is more generic
10319 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10320 if test -f conf$$.exe
; then
10321 # Don't use ln at all; we don't have any links
10326 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10331 rm -f conf$$ conf$$.exe conf$$.
file
10333 if mkdir
-p .
2>/dev
/null
; then
10336 test -d .
/-p && rmdir .
/-p
10340 as_executable_p
="test -f"
10342 # Sed expression to map a string onto a valid CPP name.
10343 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10345 # Sed expression to map a string onto a valid variable name.
10346 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10350 # We need space, tab and new line, in precisely that order.
10360 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10361 # report actual input values of CONFIG_FILES etc. instead of their
10362 # values after options handling. Logging --version etc. is OK.
10366 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10367 ## Running $as_me. ##
10372 This file was extended by $as_me, which was
10373 generated by GNU Autoconf 2.59. Invocation command line was
10375 CONFIG_FILES = $CONFIG_FILES
10376 CONFIG_HEADERS = $CONFIG_HEADERS
10377 CONFIG_LINKS = $CONFIG_LINKS
10378 CONFIG_COMMANDS = $CONFIG_COMMANDS
10382 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10386 # Files that config.status was made for.
10387 if test -n "$ac_config_files"; then
10388 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10391 if test -n "$ac_config_headers"; then
10392 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10395 if test -n "$ac_config_links"; then
10396 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10399 if test -n "$ac_config_commands"; then
10400 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10403 cat >>$CONFIG_STATUS <<\_ACEOF
10406 \`$as_me' instantiates files from templates according to the
10407 current configuration.
10409 Usage: $0 [OPTIONS] [FILE]...
10411 -h, --help print this help, then exit
10412 -V, --version print version number, then exit
10413 -q, --quiet do not print progress messages
10414 -d, --debug don't remove temporary files
10415 --recheck update $as_me by reconfiguring in the same conditions
10416 --file=FILE[:TEMPLATE]
10417 instantiate the configuration file FILE
10418 --header=FILE[:TEMPLATE]
10419 instantiate the configuration header FILE
10421 Configuration files:
10424 Configuration headers:
10427 Report bugs to <bug-autoconf@gnu.org>."
10430 cat >>$CONFIG_STATUS <<_ACEOF
10433 configured by $0, generated by GNU Autoconf 2.59,
10434 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10436 Copyright (C) 2003 Free Software Foundation, Inc.
10437 This config.status script is free software; the Free Software Foundation
10438 gives unlimited permission to copy, distribute and modify it."
10443 cat >>$CONFIG_STATUS <<\_ACEOF
10444 # If no file are specified by the user, then we need to provide default
10445 # value. By we need to know if files were specified by the user.
10451 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10452 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10460 *) # This is not an option, so the user has probably given explicit
10463 ac_need_defaults
=false
;;
10467 # Handling of the options.
10469 cat >>$CONFIG_STATUS <<\_ACEOF
10470 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10472 --version |
--vers* |
-V )
10473 echo "$ac_cs_version"; exit 0 ;;
10475 # Conflict between --help and --header
10476 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10477 Try \`$0 --help' for more information." >&5
10478 echo "$as_me: error: ambiguous option: $1
10479 Try \`$0 --help' for more information." >&2;}
10480 { (exit 1); exit 1; }; };;
10481 --help |
--hel |
-h )
10482 echo "$ac_cs_usage"; exit 0 ;;
10483 --debug |
--d* |
-d )
10485 --file |
--fil |
--fi |
--f )
10487 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10488 ac_need_defaults
=false
;;
10489 --header |
--heade |
--head |
--hea )
10491 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10492 ac_need_defaults
=false
;;
10493 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10494 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10497 # This is an error.
10498 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10499 Try \`$0 --help' for more information." >&5
10500 echo "$as_me: error: unrecognized option: $1
10501 Try \`$0 --help' for more information." >&2;}
10502 { (exit 1); exit 1; }; } ;;
10504 *) ac_config_targets
="$ac_config_targets $1" ;;
10510 ac_configure_extra_args
=
10512 if $ac_cs_silent; then
10514 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10518 cat >>$CONFIG_STATUS <<_ACEOF
10519 if \$ac_cs_recheck; then
10520 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10521 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10530 cat >>$CONFIG_STATUS <<\_ACEOF
10531 for ac_config_target
in $ac_config_targets
10533 case "$ac_config_target" in
10534 # Handling of arguments.
10535 "make/ptbuildopts.mak" ) CONFIG_FILES
="$CONFIG_FILES make/ptbuildopts.mak" ;;
10536 "make/ptlib-config" ) CONFIG_FILES
="$CONFIG_FILES make/ptlib-config" ;;
10537 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10538 "include/ptbuildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/ptbuildopts.h" ;;
10539 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10540 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10541 { (exit 1); exit 1; }; };;
10545 # If the user did not use the arguments to specify the items to instantiate,
10546 # then the envvar interface is used. Set only those that are not.
10547 # We use the long form for the default assignment because of an extremely
10548 # bizarre bug on SunOS 4.1.3.
10549 if $ac_need_defaults; then
10550 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10551 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10554 # Have a temporary directory for convenience. Make it in the build tree
10555 # simply because there is no reason to put it here, and in addition,
10556 # creating and moving files from /tmp can sometimes cause problems.
10557 # Create a temporary directory, and hook for its removal unless debugging.
10560 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10561 trap '{ (exit 1); exit 1; }' 1 2 13 15
10564 # Create a (secure) tmp directory for tmp files.
10567 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10568 test -n "$tmp" && test -d "$tmp"
10571 tmp
=.
/confstat$$
-$RANDOM
10572 (umask 077 && mkdir
$tmp)
10575 echo "$me: cannot create a temporary directory in ." >&2
10576 { (exit 1); exit 1; }
10581 cat >>$CONFIG_STATUS <<_ACEOF
10584 # CONFIG_FILES section.
10587 # No need to generate the scripts if there are no CONFIG_FILES.
10588 # This happens for instance when ./config.status config.h
10589 if test -n "\$CONFIG_FILES"; then
10590 # Protect against being on the right side of a sed subst in config.status.
10591 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10592 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10593 s,@SHELL@,$SHELL,;t t
10594 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10595 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10596 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10597 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10598 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10599 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10600 s,@exec_prefix@,$exec_prefix,;t t
10601 s,@prefix@,$prefix,;t t
10602 s,@program_transform_name@,$program_transform_name,;t t
10603 s,@bindir@,$bindir,;t t
10604 s,@sbindir@,$sbindir,;t t
10605 s,@libexecdir@,$libexecdir,;t t
10606 s,@datadir@,$datadir,;t t
10607 s,@sysconfdir@,$sysconfdir,;t t
10608 s,@sharedstatedir@,$sharedstatedir,;t t
10609 s,@localstatedir@,$localstatedir,;t t
10610 s,@libdir@,$libdir,;t t
10611 s,@includedir@,$includedir,;t t
10612 s,@oldincludedir@,$oldincludedir,;t t
10613 s,@infodir@,$infodir,;t t
10614 s,@mandir@,$mandir,;t t
10615 s,@build_alias@,$build_alias,;t t
10616 s,@host_alias@,$host_alias,;t t
10617 s,@target_alias@,$target_alias,;t t
10618 s,@DEFS@,$DEFS,;t t
10619 s,@ECHO_C@,$ECHO_C,;t t
10620 s,@ECHO_N@,$ECHO_N,;t t
10621 s,@ECHO_T@,$ECHO_T,;t t
10622 s,@LIBS@,$LIBS,;t t
10623 s,@subdirs@,$subdirs,;t t
10625 s,@CXXFLAGS@,$CXXFLAGS,;t t
10626 s,@LDFLAGS@,$LDFLAGS,;t t
10627 s,@CPPFLAGS@,$CPPFLAGS,;t t
10628 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
10629 s,@EXEEXT@,$EXEEXT,;t t
10630 s,@OBJEXT@,$OBJEXT,;t t
10631 s,@PWLIBDIR@,$PWLIBDIR,;t t
10632 s,@PWINSTDIR@,$PWINSTDIR,;t t
10633 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
10634 s,@LIBDIR@,$LIBDIR,;t t
10635 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
10636 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
10637 s,@BUILD_NUMBER@,$BUILD_NUMBER,;t t
10638 s,@PWLIB_VERSION@,$PWLIB_VERSION,;t t
10639 s,@build@,$build,;t t
10640 s,@build_cpu@,$build_cpu,;t t
10641 s,@build_vendor@,$build_vendor,;t t
10642 s,@build_os@,$build_os,;t t
10643 s,@host@,$host,;t t
10644 s,@host_cpu@,$host_cpu,;t t
10645 s,@host_vendor@,$host_vendor,;t t
10646 s,@host_os@,$host_os,;t t
10647 s,@target@,$target,;t t
10648 s,@target_cpu@,$target_cpu,;t t
10649 s,@target_vendor@,$target_vendor,;t t
10650 s,@target_os@,$target_os,;t t
10651 s,@MACHTYPE@,$MACHTYPE,;t t
10652 s,@OSTYPE@,$OSTYPE,;t t
10653 s,@OSRELEASE@,$OSRELEASE,;t t
10654 s,@TARGETDIR@,$TARGETDIR,;t t
10655 s,@USE_GCC@,$USE_GCC,;t t
10656 s,@USE_PCH@,$USE_PCH,;t t
10657 s,@SHAREDLIBEXT@,$SHAREDLIBEXT,;t t
10658 s,@CXXCPP@,$CXXCPP,;t t
10659 s,@EGREP@,$EGREP,;t t
10660 s,@FLEX@,$FLEX,;t t
10662 s,@BISON@,$BISON,;t t
10663 s,@HAS_REGEX@,$HAS_REGEX,;t t
10664 s,@HAS_PLUGINS@,$HAS_PLUGINS,;t t
10665 s,@HAS_RESOLVER@,$HAS_RESOLVER,;t t
10666 s,@HAS_SASL@,$HAS_SASL,;t t
10667 s,@HAS_SASL2@,$HAS_SASL2,;t t
10668 s,@HAS_OPENLDAP@,$HAS_OPENLDAP,;t t
10669 s,@HAS_OPENSSL@,$HAS_OPENSSL,;t t
10670 s,@P_STATIC_ENDLDLIBS@,$P_STATIC_ENDLDLIBS,;t t
10671 s,@P_STATIC_LDFLAGS@,$P_STATIC_LDFLAGS,;t t
10672 s,@HAS_EXPAT@,$HAS_EXPAT,;t t
10673 s,@HAS_VXML@,$HAS_VXML,;t t
10674 s,@HAS_JABBER@,$HAS_JABBER,;t t
10675 s,@HAS_XMLRPC@,$HAS_XMLRPC,;t t
10676 s,@HAS_SOAP@,$HAS_SOAP,;t t
10677 s,@HAS_TTS@,$HAS_TTS,;t t
10678 s,@HAS_IPV6@,$HAS_IPV6,;t t
10679 s,@HAS_SDL@,$HAS_SDL,;t t
10680 s,@HAS_VIDEO@,$HAS_VIDEO,;t t
10681 s,@HAS_VIDEO_CAPTURE@,$HAS_VIDEO_CAPTURE,;t t
10682 s,@USE_SHM_VIDEO_DEVICES@,$USE_SHM_VIDEO_DEVICES,;t t
10683 s,@HAS_ASN@,$HAS_ASN,;t t
10684 s,@HAS_STUN@,$HAS_STUN,;t t
10685 s,@HAS_PIPECHAN@,$HAS_PIPECHAN,;t t
10686 s,@HAS_DTMF@,$HAS_DTMF,;t t
10687 s,@HAS_WAVFILE@,$HAS_WAVFILE,;t t
10688 s,@HAS_SOCKS@,$HAS_SOCKS,;t t
10689 s,@HAS_FTP@,$HAS_FTP,;t t
10690 s,@HAS_SNMP@,$HAS_SNMP,;t t
10691 s,@HAS_TELNET@,$HAS_TELNET,;t t
10692 s,@HAS_REMCONN@,$HAS_REMCONN,;t t
10693 s,@HAS_SERIAL@,$HAS_SERIAL,;t t
10694 s,@HAS_POP3SMTP@,$HAS_POP3SMTP,;t t
10695 s,@HAS_HTTP@,$HAS_HTTP,;t t
10696 s,@HAS_HTTPSVC@,$HAS_HTTPSVC,;t t
10697 s,@HAS_CONFIG_FILE@,$HAS_CONFIG_FILE,;t t
10698 s,@HAS_SOCKAGG@,$HAS_SOCKAGG,;t t
10699 s,@HAS_VIDFILE@,$HAS_VIDFILE,;t t
10700 s,@HAS_AUDIO@,$HAS_AUDIO,;t t
10701 s,@HAS_OSS@,$HAS_OSS,;t t
10702 s,@HAS_ALSA@,$HAS_ALSA,;t t
10703 s,@HAS_ODBC@,$HAS_ODBC,;t t
10704 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
10705 s,@STDCXXFLAGS@,$STDCXXFLAGS,;t t
10706 s,@OPTSTDCCFLAGS@,$OPTSTDCCFLAGS,;t t
10707 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
10708 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
10709 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
10710 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
10711 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
10712 s,@LIBOBJS@,$LIBOBJS,;t t
10713 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10718 cat >>$CONFIG_STATUS <<\_ACEOF
10719 # Split the substitutions into bite-sized pieces for seds with
10720 # small command number limits, like on Digital OSF/1 and HP-UX.
10721 ac_max_sed_lines
=48
10722 ac_sed_frag
=1 # Number of current file.
10723 ac_beg
=1 # First line for current file.
10724 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10727 while $ac_more_lines; do
10728 if test $ac_beg -gt 1; then
10729 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10731 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10733 if test ! -s $tmp/subs.frag
; then
10734 ac_more_lines
=false
10736 # The purpose of the label and of the branching condition is to
10737 # speed up the sed processing (if there are no `@' at all, there
10738 # is no need to browse any of the substitutions).
10739 # These are the two extra sed commands mentioned above.
10741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10742 if test -z "$ac_sed_cmds"; then
10743 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10745 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10747 ac_sed_frag
=`expr $ac_sed_frag + 1`
10749 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10752 if test -z "$ac_sed_cmds"; then
10755 fi # test -n "$CONFIG_FILES"
10758 cat >>$CONFIG_STATUS <<\_ACEOF
10759 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10762 - |
*:- |
*:-:* ) # input from stdin
10764 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10765 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10766 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10767 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10768 * ) ac_file_in
=$ac_file.
in ;;
10771 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10772 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10774 X"$ac_file" : 'X\(//\)[^/]' \| \
10775 X"$ac_file" : 'X\(//\)$' \| \
10776 X"$ac_file" : 'X\(/\)' \| \
10777 . : '\(.\)' 2>/dev/null ||
10779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10781 /^X\(\/\/\)$/{ s//\1/; q; }
10782 /^X\(\/\).*/{ s//\1/; q; }
10784 { if $as_mkdir_p; then
10789 while test ! -d "$as_dir"; do
10790 as_dirs
="$as_dir $as_dirs"
10791 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10793 X"$as_dir" : 'X\(//\)[^/]' \| \
10794 X"$as_dir" : 'X\(//\)$' \| \
10795 X"$as_dir" : 'X\(/\)' \| \
10796 . : '\(.\)' 2>/dev/null ||
10798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10800 /^X\(\/\/\)$/{ s//\1/; q; }
10801 /^X\(\/\).*/{ s//\1/; q; }
10804 test ! -n "$as_dirs" || mkdir
$as_dirs
10805 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10806 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10807 { (exit 1); exit 1; }; }; }
10811 if test "$ac_dir" != .
; then
10812 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10813 # A "../" for each directory in $ac_dir_suffix.
10814 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10816 ac_dir_suffix
= ac_top_builddir
=
10820 .
) # No --srcdir option. We are building in place.
10822 if test -z "$ac_top_builddir"; then
10825 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10827 [\\/]* | ?
:[\\/]* ) # Absolute path.
10828 ac_srcdir
=$srcdir$ac_dir_suffix;
10829 ac_top_srcdir
=$srcdir ;;
10830 *) # Relative path.
10831 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10832 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10835 # Do not use `cd foo && pwd` to compute absolute paths, because
10836 # the directories may not exist.
10838 .
) ac_abs_builddir
="$ac_dir";;
10841 .
) ac_abs_builddir
=`pwd`;;
10842 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10843 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10846 case $ac_abs_builddir in
10847 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10849 case ${ac_top_builddir}.
in
10850 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10851 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10852 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10855 case $ac_abs_builddir in
10856 .
) ac_abs_srcdir
=$ac_srcdir;;
10859 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10860 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10861 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10864 case $ac_abs_builddir in
10865 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10867 case $ac_top_srcdir in
10868 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10869 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10870 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10876 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10877 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
10880 if test x
"$ac_file" != x-
; then
10881 { echo "$as_me:$LINENO: creating $ac_file" >&5
10882 echo "$as_me: creating $ac_file" >&6;}
10885 # Let's still pretend it is `configure' which instantiates (i.e., don't
10886 # use $as_me), people would be surprised to read:
10887 # /* config.h. Generated by config.status. */
10888 if test x
"$ac_file" = x-
; then
10891 configure_input
="$ac_file. "
10893 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10894 sed 's,.*/,,'` by configure."
10896 # First look for the input files in the build tree, otherwise in the
10898 ac_file_inputs
=`IFS=:
10899 for f in $ac_file_in; do
10901 -) echo $tmp/stdin ;;
10903 # Absolute (can't be DOS-style, as IFS=:)
10904 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10905 echo "$as_me: error: cannot find input file: $f" >&2;}
10906 { (exit 1); exit 1; }; }
10909 if test -f "$f"; then
10912 elif test -f "$srcdir/$f"; then
10917 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10918 echo "$as_me: error: cannot find input file: $f" >&2;}
10919 { (exit 1); exit 1; }; }
10922 done` ||
{ (exit 1); exit 1; }
10924 cat >>$CONFIG_STATUS <<_ACEOF
10928 cat >>$CONFIG_STATUS <<\_ACEOF
10930 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10931 s
,@configure_input@
,$configure_input,;t t
10932 s
,@srcdir@
,$ac_srcdir,;t t
10933 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10934 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10935 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10936 s
,@builddir@
,$ac_builddir,;t t
10937 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10938 s
,@top_builddir@
,$ac_top_builddir,;t t
10939 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10940 s
,@INSTALL@
,$ac_INSTALL,;t t
10941 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10943 if test x"$ac_file" != x-; then
10944 mv $tmp/out $ac_file
10950 # Run the commands associated with the file.
10952 make/ptlib-config ) chmod a+x make/ptlib-config ;;
10956 cat >>$CONFIG_STATUS <<\_ACEOF
10959 # CONFIG_HEADER section.
10962 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10963 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10965 # ac_d sets the value in "#define NAME VALUE" lines.
10966 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10967 ac_dB
='[ ].*$,\1#\2'
10970 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10971 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10972 ac_uB
='$,\1#\2define\3'
10976 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10977 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10979 - |
*:- |
*:-:* ) # input from stdin
10981 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10982 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10983 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10984 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10985 * ) ac_file_in
=$ac_file.
in ;;
10988 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10989 echo "$as_me: creating $ac_file" >&6;}
10991 # First look for the input files in the build tree, otherwise in the
10993 ac_file_inputs
=`IFS=:
10994 for f in $ac_file_in; do
10996 -) echo $tmp/stdin ;;
10998 # Absolute (can't be DOS-style, as IFS=:)
10999 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11000 echo "$as_me: error: cannot find input file: $f" >&2;}
11001 { (exit 1); exit 1; }; }
11002 # Do quote $f, to prevent DOS paths from being IFS'd.
11005 if test -f "$f"; then
11008 elif test -f "$srcdir/$f"; then
11013 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11014 echo "$as_me: error: cannot find input file: $f" >&2;}
11015 { (exit 1); exit 1; }; }
11018 done` ||
{ (exit 1); exit 1; }
11019 # Remove the trailing spaces.
11020 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11024 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11025 # `conftest.undefs', that substitutes the proper values into
11026 # config.h.in to produce config.h. The first handles `#define'
11027 # templates, and the second `#undef' templates.
11028 # And first: Protect against being on the right side of a sed subst in
11029 # config.status. Protect against being in an unquoted here document
11030 # in config.status.
11031 rm -f conftest.defines conftest.undefs
11032 # Using a here document instead of a string reduces the quoting nightmare.
11033 # Putting comments in sed scripts is not portable.
11035 # `end' is used to avoid that the second main sed command (meant for
11036 # 0-ary CPP macros) applies to n-ary macro definitions.
11037 # See the Autoconf documentation for `clear'.
11038 cat >confdef2sed.
sed <<\_ACEOF
11043 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11045 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11048 # If some macros were called several times there might be several times
11049 # the same #defines, which is useless. Nevertheless, we may not want to
11050 # sort them, since we want the *last* AC-DEFINE to be honored.
11051 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11052 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11053 rm -f confdef2sed.sed
11055 # This sed command replaces #undef with comments. This is necessary, for
11056 # example, in the case of _POSIX_SOURCE, which is predefined and required
11057 # on some systems where configure will not decide to define it.
11058 cat >>conftest.undefs <<\_ACEOF
11059 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11062 # Break up conftest.defines because some shells have a limit on the size
11063 # of here documents, and old seds have small limits too (100 cmds).
11064 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11065 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11066 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11067 echo ' :' >>$CONFIG_STATUS
11068 rm -f conftest.tail
11069 while grep . conftest.defines >/dev/null
11071 # Write a limited-size here document to $tmp/defines.sed.
11072 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11073 # Speed up: don't consider the non `#define' lines.
11074 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11075 # Work around the forget-to-reset-the-flag bug.
11076 echo 't clr' >>$CONFIG_STATUS
11077 echo ': clr' >>$CONFIG_STATUS
11078 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11080 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11082 mv $tmp/out $tmp/in
11084 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11085 rm -f conftest.defines
11086 mv conftest.
tail conftest.defines
11088 rm -f conftest.defines
11089 echo ' fi # grep' >>$CONFIG_STATUS
11090 echo >>$CONFIG_STATUS
11092 # Break up conftest.undefs because some shells have a limit on the size
11093 # of here documents, and old seds have small limits too (100 cmds).
11094 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11095 rm -f conftest.
tail
11096 while grep . conftest.undefs
>/dev
/null
11098 # Write a limited-size here document to $tmp/undefs.sed.
11099 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11100 # Speed up: don't consider the non
`#undef'
11101 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11102 # Work around the forget-to-reset-the-flag bug.
11103 echo 't clr' >>$CONFIG_STATUS
11104 echo ': clr' >>$CONFIG_STATUS
11105 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11107 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11109 mv $tmp/out $tmp/in
11111 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11112 rm -f conftest.undefs
11113 mv conftest.tail conftest.undefs
11115 rm -f conftest.undefs
11117 cat >>$CONFIG_STATUS <<\_ACEOF
11118 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11119 # use $as_me), people would be surprised to read:
11120 # /* config.h. Generated by config.status. */
11121 if test x
"$ac_file" = x-
; then
11122 echo "/* Generated by configure. */" >$tmp/config.h
11124 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11126 cat $tmp/in >>$tmp/config.h
11128 if test x
"$ac_file" != x-
; then
11129 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11130 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11131 echo "$as_me: $ac_file is unchanged" >&6;}
11133 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11134 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11135 X"$ac_file" : 'X\(//\)[^/]' \| \
11136 X"$ac_file" : 'X\(//\)$' \| \
11137 X"$ac_file" : 'X\(/\)' \| \
11138 . : '\(.\)' 2>/dev/null ||
11140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11141 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11142 /^X\(\/\/\)$/{ s//\1/; q; }
11143 /^X\(\/\).*/{ s//\1/; q; }
11145 { if $as_mkdir_p; then
11150 while test ! -d "$as_dir"; do
11151 as_dirs
="$as_dir $as_dirs"
11152 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11153 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11154 X"$as_dir" : 'X\(//\)[^/]' \| \
11155 X"$as_dir" : 'X\(//\)$' \| \
11156 X"$as_dir" : 'X\(/\)' \| \
11157 . : '\(.\)' 2>/dev/null ||
11159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11160 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11161 /^X\(\/\/\)$/{ s//\1/; q; }
11162 /^X\(\/\).*/{ s//\1/; q; }
11165 test ! -n "$as_dirs" || mkdir
$as_dirs
11166 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11167 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11168 { (exit 1); exit 1; }; }; }
11171 mv $tmp/config.h
$ac_file
11175 rm -f $tmp/config.h
11180 cat >>$CONFIG_STATUS <<\_ACEOF
11182 { (exit 0); exit 0; }
11184 chmod +x
$CONFIG_STATUS
11185 ac_clean_files
=$ac_clean_files_save
11188 # configure is writing to config.log, and then calls config.status.
11189 # config.status does its own redirection, appending to config.log.
11190 # Unfortunately, on DOS this fails, as config.log is still kept open
11191 # by configure, so config.status won't be able to write to it; its
11192 # output is simply discarded. So we exec the FD to /dev/null,
11193 # effectively closing config.log, so it can be properly (re)opened and
11194 # appended to by config.status. When coming back to configure, we
11195 # need to make the FD available again.
11196 if test "$no_create" != yes; then
11198 ac_config_status_args
=
11199 test "$silent" = yes &&
11200 ac_config_status_args
="$ac_config_status_args --quiet"
11202 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11204 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11205 # would make configure fail if this is the last instruction.
11206 $ac_cs_success ||
{ (exit 1); exit 1; }
11210 # CONFIG_SUBDIRS section.
11212 if test "$no_recursion" != yes; then
11214 # Remove --cache-file and --srcdir arguments so they do not pile up.
11215 ac_sub_configure_args
=
11217 for ac_arg
in $ac_configure_args; do
11218 if test -n "$ac_prev"; then
11223 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
11224 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
11225 ac_prev
=cache_file
;;
11226 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
11227 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
11230 --config-cache |
-C)
11232 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
11234 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
11236 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
11238 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
11240 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
11244 # Always prepend --prefix to ensure using the same prefix
11245 # in subdir configurations.
11246 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
11249 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
11251 # Do not complain, so a configure script can configure whichever
11252 # parts of a large source tree are present.
11253 test -d $srcdir/$ac_dir ||
continue
11255 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
11256 echo "$as_me: configuring in $ac_dir" >&6;}
11257 { if $as_mkdir_p; then
11262 while test ! -d "$as_dir"; do
11263 as_dirs
="$as_dir $as_dirs"
11264 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11265 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11266 X"$as_dir" : 'X\(//\)[^/]' \| \
11267 X"$as_dir" : 'X\(//\)$' \| \
11268 X"$as_dir" : 'X\(/\)' \| \
11269 . : '\(.\)' 2>/dev/null ||
11271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11272 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11273 /^X\(\/\/\)$/{ s//\1/; q; }
11274 /^X\(\/\).*/{ s//\1/; q; }
11277 test ! -n "$as_dirs" || mkdir
$as_dirs
11278 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11279 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11280 { (exit 1); exit 1; }; }; }
11284 if test "$ac_dir" != .
; then
11285 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11286 # A "../" for each directory in $ac_dir_suffix.
11287 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11289 ac_dir_suffix
= ac_top_builddir
=
11293 .
) # No --srcdir option. We are building in place.
11295 if test -z "$ac_top_builddir"; then
11298 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11300 [\\/]* | ?
:[\\/]* ) # Absolute path.
11301 ac_srcdir
=$srcdir$ac_dir_suffix;
11302 ac_top_srcdir
=$srcdir ;;
11303 *) # Relative path.
11304 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11305 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11308 # Do not use `cd foo && pwd` to compute absolute paths, because
11309 # the directories may not exist.
11311 .
) ac_abs_builddir
="$ac_dir";;
11314 .
) ac_abs_builddir
=`pwd`;;
11315 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11316 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11319 case $ac_abs_builddir in
11320 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11322 case ${ac_top_builddir}.
in
11323 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11324 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11325 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11328 case $ac_abs_builddir in
11329 .
) ac_abs_srcdir
=$ac_srcdir;;
11332 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11333 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11334 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11337 case $ac_abs_builddir in
11338 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11340 case $ac_top_srcdir in
11341 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11342 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11343 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11350 # Check for guested configure; otherwise get Cygnus style configure.
11351 if test -f $ac_srcdir/configure.gnu
; then
11352 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
11353 elif test -f $ac_srcdir/configure
; then
11354 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
11355 elif test -f $ac_srcdir/configure.
in; then
11356 ac_sub_configure
=$ac_configure
11358 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
11359 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11363 # The recursion is here.
11364 if test -n "$ac_sub_configure"; then
11365 # Make the cache file name correct relative to the subdirectory.
11366 case $cache_file in
11367 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
11368 *) # Relative path.
11369 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
11372 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
11373 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11374 # The eval makes quoting arguments work.
11375 eval $ac_sub_configure $ac_sub_configure_args \
11376 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
11377 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
11378 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
11379 { (exit 1); exit 1; }; }