2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/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 -n "`(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
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="include/ptlib.h"
274 ac_subdirs_all
="$ac_subdirs_all plugins"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 SHAREDLIBEXT CXXCPP EGREP HAS_REGEX HAS_PLUGINS HAS_SASL2 HAS_SASL HAS_OPENLDAP HAS_OPENSSL P_STATIC_ENDLDLIBS P_STATIC_LDFLAGS HAS_EXPAT HAS_IPV6 HAS_SDL HAS_VIDEO_CAPTURE HAS_ALSA STDCCFLAGS STDCXXFLAGS OPTSTDCCFLAGS ENDLDLIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CXX_set
=${CXX+set}
754 ac_env_CXX_value
=$CXX
755 ac_cv_env_CXX_set
=${CXX+set}
756 ac_cv_env_CXX_value
=$CXX
757 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
758 ac_env_CXXFLAGS_value
=$CXXFLAGS
759 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
760 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CXXCPP_set
=${CXXCPP+set}
770 ac_env_CXXCPP_value
=$CXXCPP
771 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
772 ac_cv_env_CXXCPP_value
=$CXXCPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --enable-internalregex force internal regex library
849 --enable-plugins enable plugins
' support in PWLIB
850 --disable-resolver disable DNS resolver support in PWLIB
851 --disable-sasl disable SASL support in PWLIB
852 --disable-openldap disable OpenLDAP support in PWLIB
853 --disable-openssl disable OpenSSL support in PWLIB
854 --disable-expat disable XML support in PWLIB
855 --disable-ipv6 disable IPV6 support in PWLIB
856 --disable-qos disable QOS support in PWLIB
857 --disable-sdl disable SDL support in PWLIB
858 --disable-video disable non-plugin video device support in PWLIB
859 --enable-alsa disable non-plugin ALSA audio support
860 --enable-memcheck enable leak testing code (off by default)
862 Some influential environment variables:
863 CXX C++ compiler command
864 CXXFLAGS C++ compiler flags
865 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
866 nonstandard directory <lib dir>
867 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
868 headers in a nonstandard directory <include dir>
869 CXXCPP C++ preprocessor
871 Use these variables to override the choices made by `configure' or to
help
872 it to
find libraries and programs with nonstandard names
/locations.
877 if test "$ac_init_help" = "recursive"; then
878 # If there are subdirs, report their specific --help.
880 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
881 test -d $ac_dir ||
continue
884 if test "$ac_dir" != .
; then
885 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
886 # A "../" for each directory in $ac_dir_suffix.
887 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
889 ac_dir_suffix
= ac_top_builddir
=
893 .
) # No --srcdir option. We are building in place.
895 if test -z "$ac_top_builddir"; then
898 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
900 [\\/]* | ?
:[\\/]* ) # Absolute path.
901 ac_srcdir
=$srcdir$ac_dir_suffix;
902 ac_top_srcdir
=$srcdir ;;
904 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
905 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
907 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
909 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
910 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
911 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
912 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
915 # Check for guested configure; otherwise get Cygnus style configure.
916 if test -f $ac_srcdir/configure.gnu
; then
918 $SHELL $ac_srcdir/configure.gnu
--help=recursive
919 elif test -f $ac_srcdir/configure
; then
921 $SHELL $ac_srcdir/configure
--help=recursive
922 elif test -f $ac_srcdir/configure.ac ||
923 test -f $ac_srcdir/configure.
in; then
927 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
933 test -n "$ac_init_help" && exit 0
934 if $ac_init_version; then
937 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
938 Free Software Foundation
, Inc.
939 This configure
script is free software
; the Free Software Foundation
940 gives unlimited permission to copy
, distribute and modify it.
946 This file contains any messages produced by compilers while
947 running configure, to aid debugging if configure makes a mistake.
949 It was created by $as_me, which was
950 generated by GNU Autoconf 2.57. Invocation command line was
961 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
962 uname -m = `(uname -m) 2>/dev/null || echo unknown`
963 uname -r = `(uname -r) 2>/dev/null || echo unknown`
964 uname -s = `(uname -s) 2>/dev/null || echo unknown`
965 uname -v = `(uname -v) 2>/dev/null || echo unknown`
967 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
968 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
970 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
971 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
972 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
973 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
974 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
975 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
976 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
984 test -z "$as_dir" && as_dir
=.
1000 # Keep a trace of the command line.
1001 # Strip out --no-create and --no-recursion so they do not pile up.
1002 # Strip out --silent because we don't want to record it for future runs.
1003 # Also quote any args containing shell meta-characters.
1004 # Make two passes to allow for proper duplicate-argument suppression.
1009 ac_must_keep_next
=false
1015 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1016 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1017 |
-silent |
--silent |
--silen |
--sile |
--sil)
1019 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1023 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1025 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1026 if test $ac_must_keep_next = true
; then
1027 ac_must_keep_next
=false
# Got value, back to normal.
1030 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1031 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1032 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1033 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1034 case "$ac_configure_args0 " in
1035 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1038 -* ) ac_must_keep_next
=true
;;
1041 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1042 # Get rid of the leading space.
1048 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1049 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1051 # When interrupted or exit'd, cleanup temporary files, and complete
1052 # config.log. We remove comments because anyway the quotes in there
1053 # would cause problems or look ugly.
1054 # WARNING: Be sure not to use single quotes in there, as some shells,
1055 # such as our DU 5.0 friend, will then `close' the trap.
1056 trap 'exit_status=$?
1057 # Save into config.log some information that might help in debugging.
1062 ## ---------------- ##
1063 ## Cache variables. ##
1064 ## ---------------- ##
1067 # The following way of writing the cache mishandles newlines in values,
1070 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1073 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1078 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1085 ## ----------------- ##
1086 ## Output variables. ##
1087 ## ----------------- ##
1090 for ac_var in $ac_subst_vars
1092 eval ac_val=$`echo $ac_var`
1093 echo "$ac_var='"'"'$ac_val'"'"'"
1097 if test -n "$ac_subst_files"; then
1104 for ac_var in $ac_subst_files
1106 eval ac_val=$`echo $ac_var`
1107 echo "$ac_var='"'"'$ac_val'"'"'"
1112 if test -s confdefs.h; then
1119 sed "/^$/d" confdefs.h | sort
1122 test "$ac_signal" != 0 &&
1123 echo "$as_me: caught signal $ac_signal"
1124 echo "$as_me: exit $exit_status"
1126 rm -f core core.* *.core &&
1127 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1130 for ac_signal
in 1 2 13 15; do
1131 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1135 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1136 rm -rf conftest
* confdefs.h
1137 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1140 # Predefined preprocessor variables.
1142 cat >>confdefs.h
<<_ACEOF
1143 #define PACKAGE_NAME "$PACKAGE_NAME"
1147 cat >>confdefs.h
<<_ACEOF
1148 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1152 cat >>confdefs.h
<<_ACEOF
1153 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1157 cat >>confdefs.h
<<_ACEOF
1158 #define PACKAGE_STRING "$PACKAGE_STRING"
1162 cat >>confdefs.h
<<_ACEOF
1163 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1167 # Let the site file select an alternate cache file if it wants to.
1168 # Prefer explicitly selected file to automatically selected ones.
1169 if test -z "$CONFIG_SITE"; then
1170 if test "x$prefix" != xNONE
; then
1171 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1173 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1176 for ac_site_file
in $CONFIG_SITE; do
1177 if test -r "$ac_site_file"; then
1178 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179 echo "$as_me: loading site script $ac_site_file" >&6;}
1180 sed 's/^/| /' "$ac_site_file" >&5
1185 if test -r "$cache_file"; then
1186 # Some versions of bash will fail to source /dev/null (special
1187 # files actually), so we avoid doing that.
1188 if test -f "$cache_file"; then
1189 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190 echo "$as_me: loading cache $cache_file" >&6;}
1192 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1193 *) . .
/$cache_file;;
1197 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198 echo "$as_me: creating cache $cache_file" >&6;}
1202 # Check that the precious variables saved in the cache have kept the same
1204 ac_cache_corrupted
=false
1205 for ac_var
in `(set) 2>&1 |
1206 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1207 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1208 eval ac_new_set
=\
$ac_env_${ac_var}_set
1209 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1210 eval ac_new_val
="\$ac_env_${ac_var}_value"
1211 case $ac_old_set,$ac_new_set in
1213 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1214 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1215 ac_cache_corrupted
=: ;;
1217 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1218 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219 ac_cache_corrupted
=: ;;
1222 if test "x$ac_old_val" != "x$ac_new_val"; then
1223 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1224 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1225 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1226 echo "$as_me: former value: $ac_old_val" >&2;}
1227 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1228 echo "$as_me: current value: $ac_new_val" >&2;}
1229 ac_cache_corrupted
=:
1232 # Pass precious variables to config.status.
1233 if test "$ac_new_set" = set; then
1235 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1237 *) ac_arg
=$ac_var=$ac_new_val ;;
1239 case " $ac_configure_args " in
1240 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1241 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1245 if $ac_cache_corrupted; then
1246 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1249 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250 { (exit 1); exit 1; }; }
1254 ac_cpp
='$CPP $CPPFLAGS'
1255 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1256 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1257 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1279 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1280 if test -f $ac_dir/install-sh
; then
1282 ac_install_sh
="$ac_aux_dir/install-sh -c"
1284 elif test -f $ac_dir/install.sh
; then
1286 ac_install_sh
="$ac_aux_dir/install.sh -c"
1288 elif test -f $ac_dir/shtool
; then
1290 ac_install_sh
="$ac_aux_dir/shtool install -c"
1294 if test -z "$ac_aux_dir"; then
1295 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1296 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1297 { (exit 1); exit 1; }; }
1299 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1300 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1301 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1305 subdirs
="$subdirs plugins"
1309 ac_cpp
='$CXXCPP $CPPFLAGS'
1310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1313 if test -n "$ac_tool_prefix"; then
1314 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1317 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1318 echo "$as_me:$LINENO: checking for $ac_word" >&5
1319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1320 if test "${ac_cv_prog_CXX+set}" = set; then
1321 echo $ECHO_N "(cached) $ECHO_C" >&6
1323 if test -n "$CXX"; then
1324 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1330 test -z "$as_dir" && as_dir
=.
1331 for ac_exec_ext
in '' $ac_executable_extensions; do
1332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1333 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1343 if test -n "$CXX"; then
1344 echo "$as_me:$LINENO: result: $CXX" >&5
1345 echo "${ECHO_T}$CXX" >&6
1347 echo "$as_me:$LINENO: result: no" >&5
1348 echo "${ECHO_T}no" >&6
1351 test -n "$CXX" && break
1354 if test -z "$CXX"; then
1356 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1358 # Extract the first word of "$ac_prog", so it can be a program name with args.
1359 set dummy
$ac_prog; ac_word
=$2
1360 echo "$as_me:$LINENO: checking for $ac_word" >&5
1361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1362 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1363 echo $ECHO_N "(cached) $ECHO_C" >&6
1365 if test -n "$ac_ct_CXX"; then
1366 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
1368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1372 test -z "$as_dir" && as_dir
=.
1373 for ac_exec_ext
in '' $ac_executable_extensions; do
1374 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1375 ac_cv_prog_ac_ct_CXX
="$ac_prog"
1376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1384 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
1385 if test -n "$ac_ct_CXX"; then
1386 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1387 echo "${ECHO_T}$ac_ct_CXX" >&6
1389 echo "$as_me:$LINENO: result: no" >&5
1390 echo "${ECHO_T}no" >&6
1393 test -n "$ac_ct_CXX" && break
1395 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
1401 # Provide some information about the compiler.
1402 echo "$as_me:$LINENO:" \
1403 "checking for C++ compiler version" >&5
1404 ac_compiler
=`set X $ac_compile; echo $2`
1405 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1406 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1409 (exit $ac_status); }
1410 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1411 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1414 (exit $ac_status); }
1415 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1416 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1419 (exit $ac_status); }
1421 cat >conftest.
$ac_ext <<_ACEOF
1422 #line $LINENO "configure"
1425 cat confdefs.h
>>conftest.
$ac_ext
1426 cat >>conftest.
$ac_ext <<_ACEOF
1427 /* end confdefs.h. */
1437 ac_clean_files_save
=$ac_clean_files
1438 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1439 # Try to create an executable without -o first, disregard a.out.
1440 # It will help us diagnose broken compilers, and finding out an intuition
1442 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1443 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1444 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1445 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1446 (eval $ac_link_default) 2>&5
1448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1449 (exit $ac_status); }; then
1450 # Find the output, starting from the most likely. This scheme is
1451 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1454 # Be careful to initialize this variable, since it used to be cached.
1455 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1457 # b.out is created by i960 compilers.
1458 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1460 test -f "$ac_file" ||
continue
1462 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1465 # This is the source file.
1468 # We found the default executable, but exeext='' is most
1472 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1473 # FIXME: I believe we export ac_cv_exeext for Libtool,
1474 # but it would be cool to find out if it's true. Does anybody
1475 # maintain Libtool? --akim.
1483 echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.
$ac_ext >&5
1486 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1487 See \`config.log' for more details." >&5
1488 echo "$as_me: error: C++ compiler cannot create executables
1489 See \`config.log' for more details." >&2;}
1490 { (exit 77); exit 77; }; }
1493 ac_exeext
=$ac_cv_exeext
1494 echo "$as_me:$LINENO: result: $ac_file" >&5
1495 echo "${ECHO_T}$ac_file" >&6
1497 # Check the compiler produces executables we can run. If not, either
1498 # the compiler is broken, or we cross compile.
1499 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1500 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1501 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1502 # If not cross compiling, check that we can run a simple program.
1503 if test "$cross_compiling" != yes; then
1504 if { ac_try
='./$ac_file'
1505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1509 (exit $ac_status); }; }; then
1512 if test "$cross_compiling" = maybe
; then
1515 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1516 If you meant to cross compile, use \`--host'.
1517 See \`config.log' for more details." >&5
1518 echo "$as_me: error: cannot run C++ compiled programs.
1519 If you meant to cross compile, use \`--host'.
1520 See \`config.log' for more details." >&2;}
1521 { (exit 1); exit 1; }; }
1525 echo "$as_me:$LINENO: result: yes" >&5
1526 echo "${ECHO_T}yes" >&6
1528 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1529 ac_clean_files
=$ac_clean_files_save
1530 # Check the compiler produces executables we can run. If not, either
1531 # the compiler is broken, or we cross compile.
1532 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1533 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1534 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1535 echo "${ECHO_T}$cross_compiling" >&6
1537 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1538 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1540 (eval $ac_link) 2>&5
1542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1543 (exit $ac_status); }; then
1544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1546 # work properly (i.e., refer to `conftest.exe'), while it won't with
1548 for ac_file
in conftest.exe conftest conftest.
*; do
1549 test -f "$ac_file" ||
continue
1551 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1552 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1559 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1560 See \`config.log' for more details." >&5
1561 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1562 See \`config.log' for more details." >&2;}
1563 { (exit 1); exit 1; }; }
1566 rm -f conftest
$ac_cv_exeext
1567 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1568 echo "${ECHO_T}$ac_cv_exeext" >&6
1570 rm -f conftest.
$ac_ext
1571 EXEEXT
=$ac_cv_exeext
1573 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1574 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1575 if test "${ac_cv_objext+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1578 cat >conftest.
$ac_ext <<_ACEOF
1579 #line $LINENO "configure"
1582 cat confdefs.h
>>conftest.
$ac_ext
1583 cat >>conftest.
$ac_ext <<_ACEOF
1584 /* end confdefs.h. */
1594 rm -f conftest.o conftest.obj
1595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1596 (eval $ac_compile) 2>&5
1598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1599 (exit $ac_status); }; then
1600 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1602 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1603 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1608 echo "$as_me: failed program was:" >&5
1609 sed 's/^/| /' conftest.
$ac_ext >&5
1611 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1612 See \`config.log' for more details." >&5
1613 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1614 See \`config.log' for more details." >&2;}
1615 { (exit 1); exit 1; }; }
1618 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1620 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1621 echo "${ECHO_T}$ac_cv_objext" >&6
1622 OBJEXT
=$ac_cv_objext
1624 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1625 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1626 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1627 echo $ECHO_N "(cached) $ECHO_C" >&6
1629 cat >conftest.
$ac_ext <<_ACEOF
1630 #line $LINENO "configure"
1633 cat confdefs.h
>>conftest.
$ac_ext
1634 cat >>conftest.
$ac_ext <<_ACEOF
1635 /* end confdefs.h. */
1648 rm -f conftest.
$ac_objext
1649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1650 (eval $ac_compile) 2>&5
1652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1653 (exit $ac_status); } &&
1654 { ac_try
='test -s conftest.$ac_objext'
1655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1659 (exit $ac_status); }; }; then
1662 echo "$as_me: failed program was:" >&5
1663 sed 's/^/| /' conftest.
$ac_ext >&5
1667 rm -f conftest.
$ac_objext conftest.
$ac_ext
1668 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1671 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1672 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1673 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1674 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1675 ac_save_CXXFLAGS
=$CXXFLAGS
1677 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1678 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1679 if test "${ac_cv_prog_cxx_g+set}" = set; then
1680 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 cat >conftest.
$ac_ext <<_ACEOF
1683 #line $LINENO "configure"
1686 cat confdefs.h
>>conftest.
$ac_ext
1687 cat >>conftest.
$ac_ext <<_ACEOF
1688 /* end confdefs.h. */
1698 rm -f conftest.
$ac_objext
1699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1700 (eval $ac_compile) 2>&5
1702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1703 (exit $ac_status); } &&
1704 { ac_try
='test -s conftest.$ac_objext'
1705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); }; }; then
1710 ac_cv_prog_cxx_g
=yes
1712 echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.
$ac_ext >&5
1717 rm -f conftest.
$ac_objext conftest.
$ac_ext
1719 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1720 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1721 if test "$ac_test_CXXFLAGS" = set; then
1722 CXXFLAGS
=$ac_save_CXXFLAGS
1723 elif test $ac_cv_prog_cxx_g = yes; then
1724 if test "$GXX" = yes; then
1730 if test "$GXX" = yes; then
1736 for ac_declaration
in \
1738 '#include <stdlib.h>' \
1739 'extern "C" void std::exit (int) throw (); using std::exit;' \
1740 'extern "C" void std::exit (int); using std::exit;' \
1741 'extern "C" void exit (int) throw ();' \
1742 'extern "C" void exit (int);' \
1745 cat >conftest.
$ac_ext <<_ACEOF
1746 #line $LINENO "configure"
1749 cat confdefs.h
>>conftest.
$ac_ext
1750 cat >>conftest.
$ac_ext <<_ACEOF
1751 /* end confdefs.h. */
1762 rm -f conftest.
$ac_objext
1763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1764 (eval $ac_compile) 2>&5
1766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 (exit $ac_status); } &&
1768 { ac_try
='test -s conftest.$ac_objext'
1769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); }; }; then
1776 echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.
$ac_ext >&5
1781 rm -f conftest.
$ac_objext conftest.
$ac_ext
1782 cat >conftest.
$ac_ext <<_ACEOF
1783 #line $LINENO "configure"
1786 cat confdefs.h
>>conftest.
$ac_ext
1787 cat >>conftest.
$ac_ext <<_ACEOF
1788 /* end confdefs.h. */
1798 rm -f conftest.
$ac_objext
1799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1800 (eval $ac_compile) 2>&5
1802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1803 (exit $ac_status); } &&
1804 { ac_try
='test -s conftest.$ac_objext'
1805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); }; }; then
1812 echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.
$ac_ext >&5
1816 rm -f conftest.
$ac_objext conftest.
$ac_ext
1819 if test -n "$ac_declaration"; then
1820 echo '#ifdef __cplusplus' >>confdefs.h
1821 echo $ac_declaration >>confdefs.h
1822 echo '#endif' >>confdefs.h
1826 ac_cpp
='$CPP $CPPFLAGS'
1827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1833 ac_cpp
='$CXXCPP $CPPFLAGS'
1834 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1835 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1836 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1844 if test "x$prefix" = "xNONE"; then
1845 INSTALLPREFIX
="/usr/local"
1847 INSTALLPREFIX
="${prefix}"
1857 MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
1858 MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
1859 BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
1860 PWLIB_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
1865 MAJOR_VERSION
=$MAJOR_VERSION
1867 MINOR_VERSION
=$MINOR_VERSION
1869 BUILD_NUMBER
=$BUILD_NUMBER
1872 { echo "$as_me:$LINENO: PTLib version is ${PWLIB_VERSION}" >&5
1873 echo "$as_me: PTLib version is ${PWLIB_VERSION}" >&6;};
1876 cat >>confdefs.h
<<_ACEOF
1877 #define PWLIB_MAJOR $MAJOR_VERSION
1881 cat >>confdefs.h
<<_ACEOF
1882 #define PWLIB_MINOR $MINOR_VERSION
1886 cat >>confdefs.h
<<_ACEOF
1887 #define PWLIB_BUILD $BUILD_NUMBER
1891 cat >>confdefs.h
<<_ACEOF
1892 #define PWLIB_VERSION "$PWLIB_VERSION"
1897 # Make sure we can run config.sub.
1898 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1899 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1900 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1901 { (exit 1); exit 1; }; }
1903 echo "$as_me:$LINENO: checking build system type" >&5
1904 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1905 if test "${ac_cv_build+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 ac_cv_build_alias
=$build_alias
1909 test -z "$ac_cv_build_alias" &&
1910 ac_cv_build_alias
=`$ac_config_guess`
1911 test -z "$ac_cv_build_alias" &&
1912 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1913 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1914 { (exit 1); exit 1; }; }
1915 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1916 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1917 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1918 { (exit 1); exit 1; }; }
1921 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1922 echo "${ECHO_T}$ac_cv_build" >&6
1924 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1925 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1926 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1929 echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 ac_cv_host_alias
=$host_alias
1935 test -z "$ac_cv_host_alias" &&
1936 ac_cv_host_alias
=$ac_cv_build_alias
1937 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1939 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1943 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6
1946 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1947 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1948 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1951 echo "$as_me:$LINENO: checking target system type" >&5
1952 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1953 if test "${ac_cv_target+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 ac_cv_target_alias
=$target_alias
1957 test "x$ac_cv_target_alias" = "x" &&
1958 ac_cv_target_alias
=$ac_cv_host_alias
1959 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1960 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1961 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1962 { (exit 1); exit 1; }; }
1965 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1966 echo "${ECHO_T}$ac_cv_target" >&6
1967 target
=$ac_cv_target
1968 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1969 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1970 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1973 # The aliases save the names the user supplied, while $host etc.
1974 # will get canonicalized.
1975 test -n "$target_alias" &&
1976 test "$program_prefix$program_suffix$program_transform_name" = \
1978 program_prefix
=${target_alias}-
1983 case "$target_os" in
1984 linux
*) OSTYPE
=linux
;
1985 OSRELEASE
="\"`uname -r`\"";
1987 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1990 freebsd
* ) OSTYPE
=FreeBSD
;
1991 OS_TAG
="P_FREEBSD" ;
1992 if test "x$OSRELEASE" = "x"; then
1993 OSRELEASE
="`sysctl -n kern.osreldate`" ;
1995 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1998 openbsd
* ) OSTYPE
=OpenBSD
;
1999 OS_TAG
="P_OPENBSD" ;
2000 OSRELEASE
="`sysctl -n kern.osrevision`" ;
2001 ENDLDLIBS
="-lossaudio" ;
2002 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2005 netbsd
* ) OSTYPE
=NetBSD
;
2007 OSRELEASE
="`/sbin/sysctl -n kern.osrevision`" ;
2008 ENDLDLIBS
="-lossaudio" ;
2009 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2012 solaris
* | sunos
* ) OSTYPE
=solaris
;
2013 OS_TAG
="P_SOLARIS" ;
2014 OSRELEASE
=`uname -r | sed "s/5\.//g"` ;
2015 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2018 darwin
* ) OSTYPE
=Darwin
;
2020 OSRELEASE
="`uname -r | sed 's/\.//g'`" ;
2021 SHAREDLIBEXT
="dylib";
2022 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2025 beos
*) OSTYPE
=beos
;
2027 OSRELEASE
=`uname -r` ;
2028 STDCCFLAGS
="$STDCCFLAGS -D__BEOS__"
2031 * ) OSTYPE
="$target_os" ;
2032 OS_TAG
="P_UNKNOWN_OS" ;
2033 OSRELEASE
="\"${OSTYPE}_`uname -r`\"" ;
2034 { echo "$as_me:$LINENO: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&5
2035 echo "$as_me: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&2;} ;
2041 case "$target_cpu" in
2042 x86 | i686 | i586 | i486 | i386
) MACHTYPE
=x86
2045 x86_64
) MACHTYPE
=x86_64
;
2050 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7
) MACHTYPE
=alpha
;
2054 sparc
) MACHTYPE
=sparc
;
2057 powerpc
) MACHTYPE
=ppc
;
2060 ppc
) MACHTYPE
=ppc
;
2063 powerpc64
) MACHTYPE
=ppc64
;
2068 ppc64
) MACHTYPE
=ppc64
;
2073 ia64
) MACHTYPE
=ia64
;
2077 s390x
) MACHTYPE
=s390x
;
2082 s390
) MACHTYPE
=s390
;
2085 * ) MACHTYPE
=$target_cpu ;
2086 { echo "$as_me:$LINENO: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
2087 echo "$as_me: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&2;} ;;
2090 { echo "$as_me:$LINENO: OSTYPE set to $OSTYPE" >&5
2091 echo "$as_me: OSTYPE set to $OSTYPE" >&6;};
2092 { echo "$as_me:$LINENO: OSRELEASE set to $OSRELEASE" >&5
2093 echo "$as_me: OSRELEASE set to $OSRELEASE" >&6;};
2094 { echo "$as_me:$LINENO: MACHTYPE set to $MACHTYPE" >&5
2095 echo "$as_me: MACHTYPE set to $MACHTYPE" >&6;};
2101 OSRELEASE
=$OSRELEASE
2103 TARGETDIR
=$TARGETDIR
2106 cat >>confdefs.h
<<_ACEOF
2107 #define $OS_TAG $OSRELEASE
2112 cat >>confdefs.h
<<\_ACEOF
2113 #define PHAS_TEMPLATES 1
2117 if test "x$P_64BIT" != "x" ; then
2119 cat >>confdefs.h
<<\_ACEOF
2125 if test ${OSTYPE} != beos
; then
2127 cat >>confdefs.h
<<\_ACEOF
2128 #define P_PTHREADS 1
2134 if test "x${SHAREDLIBEXT}" = "x" ; then
2137 SHAREDLIBEXT
=$SHAREDLIBEXT
2140 cat >>confdefs.h
<<\_ACEOF
2141 #define P_SHAREDLIBEXT $SHAREDLIBEXT
2148 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2149 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2150 if test "${ac_cv_c_bigendian+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 # See if sys/param.h defines the BYTE_ORDER macro.
2154 cat >conftest.
$ac_ext <<_ACEOF
2155 #line $LINENO "configure"
2158 cat confdefs.h
>>conftest.
$ac_ext
2159 cat >>conftest.
$ac_ext <<_ACEOF
2160 /* end confdefs.h. */
2161 #include <sys/types.h>
2162 #include <sys/param.h>
2167 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2175 rm -f conftest.
$ac_objext
2176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2177 (eval $ac_compile) 2>&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); } &&
2181 { ac_try
='test -s conftest.$ac_objext'
2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }; }; then
2187 # It does; now see whether it defined to BIG_ENDIAN or not.
2188 cat >conftest.
$ac_ext <<_ACEOF
2189 #line $LINENO "configure"
2192 cat confdefs.h
>>conftest.
$ac_ext
2193 cat >>conftest.
$ac_ext <<_ACEOF
2194 /* end confdefs.h. */
2195 #include <sys/types.h>
2196 #include <sys/param.h>
2201 #if BYTE_ORDER != BIG_ENDIAN
2209 rm -f conftest.
$ac_objext
2210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2211 (eval $ac_compile) 2>&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); } &&
2215 { ac_try
='test -s conftest.$ac_objext'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2221 ac_cv_c_bigendian
=yes
2223 echo "$as_me: failed program was:" >&5
2224 sed 's/^/| /' conftest.
$ac_ext >&5
2226 ac_cv_c_bigendian
=no
2228 rm -f conftest.
$ac_objext conftest.
$ac_ext
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.
$ac_ext >&5
2233 # It does not; compile a test program.
2234 if test "$cross_compiling" = yes; then
2235 # try to guess the endianness by grepping values into an object file
2236 ac_cv_c_bigendian
=unknown
2237 cat >conftest.
$ac_ext <<_ACEOF
2238 #line $LINENO "configure"
2241 cat confdefs.h
>>conftest.
$ac_ext
2242 cat >>conftest.
$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2244 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2245 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2246 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2247 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2248 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2249 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2253 _ascii (); _ebcdic ();
2258 rm -f conftest.
$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260 (eval $ac_compile) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); } &&
2264 { ac_try
='test -s conftest.$ac_objext'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; }; then
2270 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2271 ac_cv_c_bigendian
=yes
2273 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2274 if test "$ac_cv_c_bigendian" = unknown
; then
2275 ac_cv_c_bigendian
=no
2277 # finding both strings is unlikely to happen, but who knows?
2278 ac_cv_c_bigendian
=unknown
2282 echo "$as_me: failed program was:" >&5
2283 sed 's/^/| /' conftest.
$ac_ext >&5
2286 rm -f conftest.
$ac_objext conftest.
$ac_ext
2288 cat >conftest.
$ac_ext <<_ACEOF
2289 #line $LINENO "configure"
2292 cat confdefs.h
>>conftest.
$ac_ext
2293 cat >>conftest.
$ac_ext <<_ACEOF
2294 /* end confdefs.h. */
2298 /* Are we little or big endian? From Harbison&Steele. */
2302 char c[sizeof (long)];
2305 exit (u.c[sizeof (long) - 1] == 1);
2308 rm -f conftest
$ac_exeext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2310 (eval $ac_link) 2>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2318 (exit $ac_status); }; }; then
2319 ac_cv_c_bigendian
=no
2321 echo "$as_me: program exited with status $ac_status" >&5
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2326 ac_cv_c_bigendian
=yes
2328 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2331 rm -f conftest.
$ac_objext conftest.
$ac_ext
2333 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2334 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2335 case $ac_cv_c_bigendian in
2338 cat >>confdefs.h
<<\_ACEOF
2339 #define WORDS_BIGENDIAN 1
2345 { { echo "$as_me:$LINENO: error: unknown endianness
2346 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2347 echo "$as_me: error: unknown endianness
2348 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2349 { (exit 1); exit 1; }; } ;;
2352 if test ${ac_cv_c_bigendian} = yes ; then
2353 PBYTE_ORDER
=PBIG_ENDIAN
2355 PBYTE_ORDER
=PLITTLE_ENDIAN
2359 cat >>confdefs.h
<<_ACEOF
2360 #define PBYTE_ORDER $PBYTE_ORDER
2365 ac_cpp
='$CXXCPP $CPPFLAGS'
2366 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2367 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2368 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2371 echo "$as_me:$LINENO: checking if linker accepts -felide-constructors" >&5
2372 echo $ECHO_N "checking if linker accepts -felide-constructors... $ECHO_C" >&6
2373 cat >conftest.
$ac_ext <<_ACEOF
2374 int main(int ac,char **av) { return 0; }
2376 $CXX $CXXFLAGS -felide-constructors conftest.cc
> /dev
/null
2>&1
2377 if test $?
= 0 ; then
2378 echo "$as_me:$LINENO: result: yes" >&5
2379 echo "${ECHO_T}yes" >&6
2380 STDCXXFLAGS
="$STDCXXFLAGS -felide-constructors"
2382 echo "$as_me:$LINENO: result: no" >&5
2383 echo "${ECHO_T}no" >&6
2386 echo "$as_me:$LINENO: checking if linker accepts -Wreorder" >&5
2387 echo $ECHO_N "checking if linker accepts -Wreorder... $ECHO_C" >&6
2388 cat >conftest.
$ac_ext <<_ACEOF
2389 int main(int ac,char **av) { return 0; }
2391 $STDCXX $CXXFLAGS -Wreorder conftest.cc
> /dev
/null
2>&1
2392 if test $?
= 0 ; then
2393 echo "$as_me:$LINENO: result: yes" >&5
2394 echo "${ECHO_T}yes" >&6
2395 STDCXXFLAGS
="$STDCXXFLAGS -Wreorder"
2397 echo "$as_me:$LINENO: result: no" >&5
2398 echo "${ECHO_T}no" >&6
2401 # AC_MSG_CHECKING(if linker accepts -Woverloaded-virtual)
2402 # AC_LANG_CONFTEST([[int main(int ac,char **av) { return 0; }]])
2403 # $CXX $CFLAGS -Woverloaded-virtual conftest.cc > /dev/null 2>&1
2404 # if test $? = 0 ; then
2405 # AC_MSG_RESULT(yes)
2406 # STDCCFLAGS="$STDCCFLAGS -Woverloaded-virtual"
2411 echo "$as_me:$LINENO: checking if compiler uses RTTI by default" >&5
2412 echo $ECHO_N "checking if compiler uses RTTI by default... $ECHO_C" >&6
2413 cat >conftest.
$ac_ext <<_ACEOF
2416 int main(int ac,char **av)
2421 virtual void fred() { }
2429 A * p = dynamic_cast<A *>(&t);
2434 rm -f conftest.
$ac_objext
2435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2436 (eval $ac_compile) 2>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); } &&
2440 { ac_try
='test -s conftest.$ac_objext'
2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; }; then
2448 echo "$as_me: failed program was:" >&5
2449 sed 's/^/| /' conftest.
$ac_ext >&5
2453 rm -f conftest.
$ac_objext conftest.
$ac_ext
2454 if test "$DEFAULT_RTTI" = "1" ; then
2455 echo "$as_me:$LINENO: result: yes" >&5
2456 echo "${ECHO_T}yes" >&6
2458 echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6
2460 STDCXXFLAGS
="$STDCCFLAGS -rtti"
2466 if test 0 = 1 ; then
2469 echo "$as_me:$LINENO: checking if compiler accepts -ffunction-sections" >&5
2470 echo $ECHO_N "checking if compiler accepts -ffunction-sections... $ECHO_C" >&6
2471 cat >conftest.
$ac_ext <<_ACEOF
2472 int main(int ac,char **av) { return 0; }
2474 $CXX $CFLAGS -ffunction-sections -c conftest.cc
> /dev
/null
2>&1
2475 if test $?
= 0 ; then
2476 echo "$as_me:$LINENO: result: yes" >&5
2477 echo "${ECHO_T}yes" >&6
2478 STDCCFLAGS
="$STDCCFLAGS -ffunction-sections"
2481 echo "$as_me:$LINENO: result: no" >&5
2482 echo "${ECHO_T}no" >&6
2487 if test $GCSECTIONS = 1; then
2488 if test "${OSTYPE}" != "Darwin" ; then
2489 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -Wl,--gc-sections"
2496 ac_cpp
='$CXXCPP $CPPFLAGS'
2497 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2498 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2499 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2503 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
2504 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
2505 if test "${ac_cv_c_long_double+set}" = set; then
2506 echo $ECHO_N "(cached) $ECHO_C" >&6
2508 cat >conftest.
$ac_ext <<_ACEOF
2509 #line $LINENO "configure"
2512 cat confdefs.h
>>conftest.
$ac_ext
2513 cat >>conftest.
$ac_ext <<_ACEOF
2514 /* end confdefs.h. */
2516 long double foo = 0.0;
2520 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
2521 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
2522 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
2529 rm -f conftest.
$ac_objext
2530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); } &&
2535 { ac_try
='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2541 ac_cv_c_long_double
=yes
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2546 ac_cv_c_long_double
=no
2548 rm -f conftest.
$ac_objext conftest.
$ac_ext
2550 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
2551 echo "${ECHO_T}$ac_cv_c_long_double" >&6
2552 if test $ac_cv_c_long_double = yes; then
2554 cat >>confdefs.h
<<\_ACEOF
2555 #define HAVE_LONG_DOUBLE 1
2560 if test $ac_cv_c_long_double != yes ; then
2562 cat >>confdefs.h
<<\_ACEOF
2563 #define PNO_LONG_DOUBLE
2566 elif test ${OSTYPE} = Darwin
; then
2567 STDCCFLAGS
="$STDCCFLAGS -Wno-long-double"
2570 echo "$as_me:$LINENO: checking if readdir_r has 2 parms" >&5
2571 echo $ECHO_N "checking if readdir_r has 2 parms... $ECHO_C" >&6
2572 cat >conftest.
$ac_ext <<_ACEOF
2573 #line $LINENO "configure"
2576 cat confdefs.h
>>conftest.
$ac_ext
2577 cat >>conftest.
$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2579 #define _POSIX_PTHREAD_SEMANTICS
2584 DIR *s; struct dirent * e; readdir_r(s, e);
2589 rm -f conftest.
$ac_objext
2590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2591 (eval $ac_compile) 2>&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); } &&
2595 { ac_try
='test -s conftest.$ac_objext'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; }; then
2601 P_HAS_POSIX_READDIR_R
=2
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.
$ac_ext >&5
2606 P_HAS_POSIX_READDIR_R
=0
2608 rm -f conftest.
$ac_objext conftest.
$ac_ext
2609 if test ${P_HAS_POSIX_READDIR_R} = 2 ; then
2610 echo "$as_me:$LINENO: result: yes" >&5
2611 echo "${ECHO_T}yes" >&6
2613 echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2615 echo "$as_me:$LINENO: checking if readdir_r has 3 parms" >&5
2616 echo $ECHO_N "checking if readdir_r has 3 parms... $ECHO_C" >&6
2617 cat >conftest.
$ac_ext <<_ACEOF
2618 #line $LINENO "configure"
2621 cat confdefs.h
>>conftest.
$ac_ext
2622 cat >>conftest.
$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2628 DIR *s; struct dirent * e; struct dirent * p; readdir_r(s, e, &p);
2633 rm -f conftest.
$ac_objext
2634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2635 (eval $ac_compile) 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); } &&
2639 { ac_try
='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 P_HAS_POSIX_READDIR_R
=3
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.
$ac_ext >&5
2650 P_HAS_POSIX_READDIR_R
=0
2652 rm -f conftest.
$ac_objext conftest.
$ac_ext
2653 if test ${P_HAS_POSIX_READDIR_R} = 3 ; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2661 cat >>confdefs.h
<<_ACEOF
2662 #define P_HAS_POSIX_READDIR_R ${P_HAS_POSIX_READDIR_R}
2668 echo "$as_me:$LINENO: checking if using STL streams" >&5
2669 echo $ECHO_N "checking if using STL streams... $ECHO_C" >&6
2670 cat >conftest.
$ac_ext <<_ACEOF
2671 #line $LINENO "configure"
2674 cat confdefs.h
>>conftest.
$ac_ext
2675 cat >>conftest.
$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2681 int v = (int)std::ios_base::seekdir();
2686 rm -f conftest.
$ac_objext
2687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688 (eval $ac_compile) 2>&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); } &&
2692 { ac_try
='test -s conftest.$ac_objext'
2693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); }; }; then
2700 echo "$as_me: failed program was:" >&5
2701 sed 's/^/| /' conftest.
$ac_ext >&5
2704 rm -f conftest.
$ac_objext conftest.
$ac_ext
2705 if test ${P_HAS_STL_STREAMS} = 1 ; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2712 cat >>confdefs.h
<<_ACEOF
2713 #define P_HAS_STL_STREAMS ${P_HAS_STL_STREAMS}
2719 P_NEEDS_GNU_CXX_NAMESPACE
=0
2720 echo "$as_me:$LINENO: checking if atomic integer available" >&5
2721 echo $ECHO_N "checking if atomic integer available... $ECHO_C" >&6
2722 cat >conftest.
$ac_ext <<_ACEOF
2723 #line $LINENO "configure"
2726 cat confdefs.h
>>conftest.
$ac_ext
2727 cat >>conftest.
$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2729 #include <bits/atomicity.h>
2738 rm -f conftest.
$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try
='test -s conftest.$ac_objext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2752 echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.
$ac_ext >&5
2756 rm -f conftest.
$ac_objext conftest.
$ac_ext
2757 if test ${P_HAS_ATOMIC_INT} = 1 ; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2760 echo "$as_me:$LINENO: checking if __exchange_and_add is in __gnu_cxx namespace" >&5
2761 echo $ECHO_N "checking if __exchange_and_add is in __gnu_cxx namespace... $ECHO_C" >&6
2762 cat >conftest.
$ac_ext <<_ACEOF
2763 #line $LINENO "configure"
2766 cat confdefs.h
>>conftest.
$ac_ext
2767 cat >>conftest.
$ac_ext <<_ACEOF
2768 /* end confdefs.h. */
2769 #include <bits/atomicity.h>
2773 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
2778 rm -f conftest.
$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try
='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2790 P_NEEDS_GNU_CXX_NAMESPACE
=1
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.
$ac_ext >&5
2796 rm -f conftest.
$ac_objext conftest.
$ac_ext
2797 if test ${P_NEEDS_GNU_CXX_NAMESPACE} = 1 ; then
2798 echo "$as_me:$LINENO: result: yes" >&5
2799 echo "${ECHO_T}yes" >&6
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2808 cat >>confdefs.h
<<_ACEOF
2809 #define P_HAS_ATOMIC_INT ${P_HAS_ATOMIC_INT}
2812 cat >>confdefs.h
<<_ACEOF
2813 #define P_NEEDS_GNU_CXX_NAMESPACE ${P_NEEDS_GNU_CXX_NAMESPACE}
2819 if test "${OSTYPE:-unknown}" = "solaris"; then
2820 echo "$as_me:$LINENO: checking checking for FD_SETSIZE" >&5
2821 echo $ECHO_N "checking checking for FD_SETSIZE... $ECHO_C" >&6
2822 _FD_SYSTEM_FILE
=/etc
/system
2823 _FD_SETSIZE
=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -c1`
2824 if test "$_FD_SETSIZE" = "#"; then
2827 _FD_SETSIZE
=`cat $_FD_SYSTEM_FILE | grep rlim_fd_max | cut -f2 -d'='`
2828 if test "x$_FD_SETSIZE" = "x"; then
2831 STDCCFLAGS
="$STDCCFLAGS -DFD_SETSIZE=$_FD_SETSIZE"
2834 echo "$as_me:$LINENO: result: $_FD_SETSIZE" >&5
2835 echo "${ECHO_T}$_FD_SETSIZE" >&6
2839 if test ${OSTYPE} != Darwin
; then
2840 cat >conftest.
$ac_ext <<_ACEOF
2841 #line $LINENO "configure"
2844 cat confdefs.h
>>conftest.
$ac_ext
2845 cat >>conftest.
$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2847 #include <semaphore.h>
2851 sem_t *s; sem_init(s, 0, 0);
2856 rm -f conftest.
$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); } &&
2862 { ac_try
='test -s conftest.$ac_objext'
2863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); }; }; then
2870 echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.
$ac_ext >&5
2874 rm -f conftest.
$ac_objext conftest.
$ac_ext
2875 echo "$as_me:$LINENO: checking if Unix semaphores are available" >&5
2876 echo $ECHO_N "checking if Unix semaphores are available... $ECHO_C" >&6
2877 if test "${P_HAS_SEMAPHORES}x" != "x" ; then
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define P_HAS_SEMAPHORES 1
2882 echo "$as_me:$LINENO: result: yes" >&5
2883 echo "${ECHO_T}yes" >&6
2885 echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2887 { echo "$as_me:$LINENO: WARNING: This host does not support semaphores which are essential" >&5
2888 echo "$as_me: WARNING: This host does not support semaphores which are essential" >&2;}
2889 { echo "$as_me:$LINENO: WARNING: to implement 'critical sections'. This feature was added" >&5
2890 echo "$as_me: WARNING: to implement 'critical sections'. This feature was added" >&2;}
2891 { echo "$as_me:$LINENO: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&5
2892 echo "$as_me: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&2;}
2893 { echo "$as_me:$LINENO: WARNING: programs. This feature has been disabled for this host" >&5
2894 echo "$as_me: WARNING: programs. This feature has been disabled for this host" >&2;}
2901 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
2902 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
2903 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
2904 echo $ECHO_N "(cached) $ECHO_C" >&6
2906 ac_check_lib_save_LIBS
=$LIBS
2907 LIBS
="-lpthread $LIBS"
2908 cat >conftest.
$ac_ext <<_ACEOF
2909 #line $LINENO "configure"
2912 cat confdefs.h
>>conftest.
$ac_ext
2913 cat >>conftest.
$ac_ext <<_ACEOF
2914 /* end confdefs.h. */
2916 /* Override any gcc2 internal prototype to avoid an error. */
2920 /* We use char because int might match the return type of a gcc2
2921 builtin and then its argument prototype would still apply. */
2922 char pthread_create ();
2931 rm -f conftest.
$ac_objext conftest
$ac_exeext
2932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2933 (eval $ac_link) 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } &&
2937 { ac_try
='test -s conftest$ac_exeext'
2938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; }; then
2943 ac_cv_lib_pthread_pthread_create
=yes
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2948 ac_cv_lib_pthread_pthread_create
=no
2950 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2951 LIBS
=$ac_check_lib_save_LIBS
2953 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
2954 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
2955 if test $ac_cv_lib_pthread_pthread_create = yes; then
2961 if test ${HAS_PTHREADS} = yes ; then
2962 ENDLDLIBS
="$ENDLDLIBS -lpthread"
2963 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT"
2965 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
2966 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
2967 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 ac_check_lib_save_LIBS
=$LIBS
2972 cat >conftest.
$ac_ext <<_ACEOF
2973 #line $LINENO "configure"
2976 cat confdefs.h
>>conftest.
$ac_ext
2977 cat >>conftest.
$ac_ext <<_ACEOF
2978 /* end confdefs.h. */
2980 /* Override any gcc2 internal prototype to avoid an error. */
2984 /* We use char because int might match the return type of a gcc2
2985 builtin and then its argument prototype would still apply. */
2986 char pthread_create ();
2995 rm -f conftest.
$ac_objext conftest
$ac_exeext
2996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2997 (eval $ac_link) 2>&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); } &&
3001 { ac_try
='test -s conftest$ac_exeext'
3002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3006 (exit $ac_status); }; }; then
3007 ac_cv_lib_c_r_pthread_create
=yes
3009 echo "$as_me: failed program was:" >&5
3010 sed 's/^/| /' conftest.
$ac_ext >&5
3012 ac_cv_lib_c_r_pthread_create
=no
3014 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3015 LIBS
=$ac_check_lib_save_LIBS
3017 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
3018 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
3019 if test $ac_cv_lib_c_r_pthread_create = yes; then
3025 if test ${HAS_PTHREADS} = yes ; then
3026 ENDLDLIBS
="$ENDLDLIBS -pthread"
3027 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
3032 if test ${HAS_PTHREADS} != yes ; then
3033 { { echo "$as_me:$LINENO: error: must have pthreads!" >&5
3034 echo "$as_me: error: must have pthreads!" >&2;}
3035 { (exit 1); exit 1; }; }
3039 if test ${HAS_PTHREADS} = yes ; then
3040 echo "$as_me:$LINENO: checking if pthread_mutex_timedlock is available" >&5
3041 echo $ECHO_N "checking if pthread_mutex_timedlock is available... $ECHO_C" >&6
3042 cat >conftest.
$ac_ext <<_ACEOF
3043 #line $LINENO "configure"
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3049 #include <pthread.h>
3053 pthread_mutex_timedlock(NULL, NULL);
3058 rm -f conftest.
$ac_objext
3059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3060 (eval $ac_compile) 2>&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); } &&
3064 { ac_try
='test -s conftest.$ac_objext'
3065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; }; then
3070 HAS_PTHREADS_XPG6
=yes
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.
$ac_ext >&5
3075 HAS_PTHREADS_XPG6
=no
3077 rm -f conftest.
$ac_objext conftest.
$ac_ext
3078 if test ${HAS_PTHREADS_XPG6} = yes ; then
3079 echo "$as_me:$LINENO: result: yes" >&5
3080 echo "${ECHO_T}yes" >&6
3082 cat >>confdefs.h
<<\_ACEOF
3083 #define P_PTHREADS_XPG6 1
3087 echo "$as_me:$LINENO: result: no" >&5
3088 echo "${ECHO_T}no" >&6
3091 echo "$as_me:$LINENO: checking for sem_timedwait in -lpthread" >&5
3092 echo $ECHO_N "checking for sem_timedwait in -lpthread... $ECHO_C" >&6
3093 if test "${ac_cv_lib_pthread_sem_timedwait+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 ac_check_lib_save_LIBS
=$LIBS
3097 LIBS
="-lpthread $LIBS"
3098 cat >conftest.
$ac_ext <<_ACEOF
3099 #line $LINENO "configure"
3102 cat confdefs.h
>>conftest.
$ac_ext
3103 cat >>conftest.
$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3106 /* Override any gcc2 internal prototype to avoid an error. */
3110 /* We use char because int might match the return type of a gcc2
3111 builtin and then its argument prototype would still apply. */
3112 char sem_timedwait ();
3121 rm -f conftest.
$ac_objext conftest
$ac_exeext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3123 (eval $ac_link) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try
='test -s conftest$ac_exeext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 ac_cv_lib_pthread_sem_timedwait
=yes
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 ac_cv_lib_pthread_sem_timedwait
=no
3140 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3141 LIBS
=$ac_check_lib_save_LIBS
3143 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_sem_timedwait" >&5
3144 echo "${ECHO_T}$ac_cv_lib_pthread_sem_timedwait" >&6
3145 if test $ac_cv_lib_pthread_sem_timedwait = yes; then
3146 HAS_SEMAPHORES_XPG6
=yes
3148 HAS_SEMAPHORES_XPG6
=no
3151 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
3152 echo "$as_me:$LINENO: checking if sem_timedwait is compilable" >&5
3153 echo $ECHO_N "checking if sem_timedwait is compilable... $ECHO_C" >&6
3154 cat >conftest.
$ac_ext <<_ACEOF
3155 #line $LINENO "configure"
3158 cat confdefs.h
>>conftest.
$ac_ext
3159 cat >>conftest.
$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3161 #include <semaphore.h>
3165 sem_t *s; const struct timespec * t; sem_timedwait(s, t);
3170 rm -f conftest.
$ac_objext
3171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3172 (eval $ac_compile) 2>&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } &&
3176 { ac_try
='test -s conftest.$ac_objext'
3177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181 (exit $ac_status); }; }; then
3182 HAS_SEMAPHORES_XPG6
=yes
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.
$ac_ext >&5
3187 HAS_SEMAPHORES_XPG6
=no
3189 rm -f conftest.
$ac_objext conftest.
$ac_ext
3190 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
3192 cat >>confdefs.h
<<\_ACEOF
3193 #define P_HAS_SEMAPHORES_XPG6 1
3196 echo "$as_me:$LINENO: result: yes" >&5
3197 echo "${ECHO_T}yes" >&6
3199 echo "$as_me:$LINENO: result: no" >&5
3200 echo "${ECHO_T}no" >&6
3205 P_HAS_RECURSIVE_MUTEX
=0
3206 echo "$as_me:$LINENO: checking if recursive mutexes are available" >&5
3207 echo $ECHO_N "checking if recursive mutexes are available... $ECHO_C" >&6
3208 cat >conftest.
$ac_ext <<_ACEOF
3209 #line $LINENO "configure"
3212 cat confdefs.h
>>conftest.
$ac_ext
3213 cat >>conftest.
$ac_ext <<_ACEOF
3214 /* end confdefs.h. */
3215 #include <pthread.h>
3219 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
3224 rm -f conftest.
$ac_objext
3225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3226 (eval $ac_compile) 2>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } &&
3230 { ac_try
='test -s conftest.$ac_objext'
3231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3235 (exit $ac_status); }; }; then
3236 P_HAS_RECURSIVE_MUTEX
=1
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.
$ac_ext >&5
3242 rm -f conftest.
$ac_objext conftest.
$ac_ext
3243 if test ${P_HAS_RECURSIVE_MUTEX} = 1 ; then
3244 echo "$as_me:$LINENO: result: yes" >&5
3245 echo "${ECHO_T}yes" >&6
3247 echo "$as_me:$LINENO: result: no" >&5
3248 echo "${ECHO_T}no" >&6
3250 cat >>confdefs.h
<<_ACEOF
3251 #define P_HAS_RECURSIVE_MUTEX ${P_HAS_RECURSIVE_MUTEX}
3258 ac_cpp
='$CXXCPP $CPPFLAGS'
3259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3262 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3263 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3264 if test -z "$CXXCPP"; then
3265 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3266 echo $ECHO_N "(cached) $ECHO_C" >&6
3268 # Double quotes because CXXCPP needs to be expanded
3269 for CXXCPP
in "$CXX -E" "/lib/cpp"
3272 for ac_cxx_preproc_warn_flag
in '' yes
3274 # Use a header file that comes with gcc, so configuring glibc
3275 # with a fresh cross-compiler works.
3276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3277 # <limits.h> exists even on freestanding compilers.
3278 # On the NeXT, cc -E runs the code through the compiler's parser,
3279 # not just through cpp. "Syntax error" is here to catch this case.
3280 cat >conftest.
$ac_ext <<_ACEOF
3281 #line $LINENO "configure"
3284 cat confdefs.h
>>conftest.
$ac_ext
3285 cat >>conftest.
$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3288 # include <limits.h>
3290 # include <assert.h>
3294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3297 grep -v '^ *+' conftest.er1
>conftest.err
3299 cat conftest.err
>&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } >/dev
/null
; then
3302 if test -s conftest.err
; then
3303 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3310 if test -z "$ac_cpp_err"; then
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.
$ac_ext >&5
3316 # Broken: fails on valid input.
3319 rm -f conftest.err conftest.
$ac_ext
3321 # OK, works on sane cases. Now check whether non-existent headers
3322 # can be detected and how.
3323 cat >conftest.
$ac_ext <<_ACEOF
3324 #line $LINENO "configure"
3327 cat confdefs.h
>>conftest.
$ac_ext
3328 cat >>conftest.
$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3330 #include <ac_nonexistent.h>
3332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3333 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3335 grep -v '^ *+' conftest.er1
>conftest.err
3337 cat conftest.err
>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } >/dev
/null
; then
3340 if test -s conftest.err
; then
3341 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3348 if test -z "$ac_cpp_err"; then
3349 # Broken: success on invalid input.
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 # Passes both tests.
3359 rm -f conftest.err conftest.
$ac_ext
3362 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3363 rm -f conftest.err conftest.
$ac_ext
3364 if $ac_preproc_ok; then
3369 ac_cv_prog_CXXCPP
=$CXXCPP
3372 CXXCPP
=$ac_cv_prog_CXXCPP
3374 ac_cv_prog_CXXCPP
=$CXXCPP
3376 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3377 echo "${ECHO_T}$CXXCPP" >&6
3379 for ac_cxx_preproc_warn_flag
in '' yes
3381 # Use a header file that comes with gcc, so configuring glibc
3382 # with a fresh cross-compiler works.
3383 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3384 # <limits.h> exists even on freestanding compilers.
3385 # On the NeXT, cc -E runs the code through the compiler's parser,
3386 # not just through cpp. "Syntax error" is here to catch this case.
3387 cat >conftest.
$ac_ext <<_ACEOF
3388 #line $LINENO "configure"
3391 cat confdefs.h
>>conftest.
$ac_ext
3392 cat >>conftest.
$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3395 # include <limits.h>
3397 # include <assert.h>
3401 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3402 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3404 grep -v '^ *+' conftest.er1
>conftest.err
3406 cat conftest.err
>&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } >/dev
/null
; then
3409 if test -s conftest.err
; then
3410 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3417 if test -z "$ac_cpp_err"; then
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.
$ac_ext >&5
3423 # Broken: fails on valid input.
3426 rm -f conftest.err conftest.
$ac_ext
3428 # OK, works on sane cases. Now check whether non-existent headers
3429 # can be detected and how.
3430 cat >conftest.
$ac_ext <<_ACEOF
3431 #line $LINENO "configure"
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3437 #include <ac_nonexistent.h>
3439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3442 grep -v '^ *+' conftest.er1
>conftest.err
3444 cat conftest.err
>&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } >/dev
/null
; then
3447 if test -s conftest.err
; then
3448 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3455 if test -z "$ac_cpp_err"; then
3456 # Broken: success on invalid input.
3459 echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.
$ac_ext >&5
3462 # Passes both tests.
3466 rm -f conftest.err conftest.
$ac_ext
3469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3470 rm -f conftest.err conftest.
$ac_ext
3471 if $ac_preproc_ok; then
3474 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3475 See \`config.log' for more details." >&5
3476 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3477 See \`config.log' for more details." >&2;}
3478 { (exit 1); exit 1; }; }
3482 ac_cpp
='$CXXCPP $CPPFLAGS'
3483 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3488 echo "$as_me:$LINENO: checking for egrep" >&5
3489 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3490 if test "${ac_cv_prog_egrep+set}" = set; then
3491 echo $ECHO_N "(cached) $ECHO_C" >&6
3493 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3494 then ac_cv_prog_egrep
='grep -E'
3495 else ac_cv_prog_egrep
='egrep'
3498 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3499 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3500 EGREP
=$ac_cv_prog_egrep
3503 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3504 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3505 if test "${ac_cv_header_stdc+set}" = set; then
3506 echo $ECHO_N "(cached) $ECHO_C" >&6
3508 cat >conftest.
$ac_ext <<_ACEOF
3509 #line $LINENO "configure"
3512 cat confdefs.h
>>conftest.
$ac_ext
3513 cat >>conftest.
$ac_ext <<_ACEOF
3514 /* end confdefs.h. */
3528 rm -f conftest.
$ac_objext
3529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3530 (eval $ac_compile) 2>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } &&
3534 { ac_try
='test -s conftest.$ac_objext'
3535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); }; }; then
3540 ac_cv_header_stdc
=yes
3542 echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.
$ac_ext >&5
3545 ac_cv_header_stdc
=no
3547 rm -f conftest.
$ac_objext conftest.
$ac_ext
3549 if test $ac_cv_header_stdc = yes; then
3550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3551 cat >conftest.
$ac_ext <<_ACEOF
3552 #line $LINENO "configure"
3555 cat confdefs.h
>>conftest.
$ac_ext
3556 cat >>conftest.
$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3562 $EGREP "memchr" >/dev
/null
2>&1; then
3565 ac_cv_header_stdc
=no
3571 if test $ac_cv_header_stdc = yes; then
3572 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3573 cat >conftest.
$ac_ext <<_ACEOF
3574 #line $LINENO "configure"
3577 cat confdefs.h
>>conftest.
$ac_ext
3578 cat >>conftest.
$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3583 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3584 $EGREP "free" >/dev
/null
2>&1; then
3587 ac_cv_header_stdc
=no
3593 if test $ac_cv_header_stdc = yes; then
3594 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3595 if test "$cross_compiling" = yes; then
3598 cat >conftest.
$ac_ext <<_ACEOF
3599 #line $LINENO "configure"
3602 cat confdefs.h
>>conftest.
$ac_ext
3603 cat >>conftest.
$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3606 #if ((' ' & 0x0FF) == 0x020)
3607 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3608 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3610 # define ISLOWER(c) \
3611 (('a' <= (c) && (c) <= 'i') \
3612 || ('j' <= (c) && (c) <= 'r') \
3613 || ('s' <= (c) && (c) <= 'z'))
3614 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3617 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3622 for (i = 0; i < 256; i++)
3623 if (XOR (islower (i), ISLOWER (i))
3624 || toupper (i) != TOUPPER (i))
3629 rm -f conftest
$ac_exeext
3630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3631 (eval $ac_link) 2>&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; }; then
3642 echo "$as_me: program exited with status $ac_status" >&5
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.
$ac_ext >&5
3647 ac_cv_header_stdc
=no
3649 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3653 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3654 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3655 if test $ac_cv_header_stdc = yes; then
3657 cat >>confdefs.h
<<\_ACEOF
3658 #define STDC_HEADERS 1
3663 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3673 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3674 inttypes.h stdint.h unistd.h
3676 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3677 echo "$as_me:$LINENO: checking for $ac_header" >&5
3678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 cat >conftest.
$ac_ext <<_ACEOF
3683 #line $LINENO "configure"
3686 cat confdefs.h
>>conftest.
$ac_ext
3687 cat >>conftest.
$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 $ac_includes_default
3691 #include <$ac_header>
3693 rm -f conftest.
$ac_objext
3694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3695 (eval $ac_compile) 2>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try
='test -s conftest.$ac_objext'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; }; then
3705 eval "$as_ac_Header=yes"
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.
$ac_ext >&5
3710 eval "$as_ac_Header=no"
3712 rm -f conftest.
$ac_objext conftest.
$ac_ext
3714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3717 cat >>confdefs.h
<<_ACEOF
3718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3727 for ac_header
in regex.h
3729 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3731 echo "$as_me:$LINENO: checking for $ac_header" >&5
3732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734 echo $ECHO_N "(cached) $ECHO_C" >&6
3736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3739 # Is the header compilable?
3740 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3742 cat >conftest.
$ac_ext <<_ACEOF
3743 #line $LINENO "configure"
3746 cat confdefs.h
>>conftest.
$ac_ext
3747 cat >>conftest.
$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_includes_default
3750 #include <$ac_header>
3752 rm -f conftest.
$ac_objext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3754 (eval $ac_compile) 2>&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } &&
3758 { ac_try
='test -s conftest.$ac_objext'
3759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); }; }; then
3764 ac_header_compiler
=yes
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.
$ac_ext >&5
3769 ac_header_compiler
=no
3771 rm -f conftest.
$ac_objext conftest.
$ac_ext
3772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3773 echo "${ECHO_T}$ac_header_compiler" >&6
3775 # Is the header present?
3776 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3777 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3778 cat >conftest.
$ac_ext <<_ACEOF
3779 #line $LINENO "configure"
3782 cat confdefs.h
>>conftest.
$ac_ext
3783 cat >>conftest.
$ac_ext <<_ACEOF
3784 /* end confdefs.h. */
3785 #include <$ac_header>
3787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3788 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } >/dev
/null
; then
3795 if test -s conftest.err
; then
3796 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3803 if test -z "$ac_cpp_err"; then
3804 ac_header_preproc
=yes
3806 echo "$as_me: failed program was:" >&5
3807 sed 's/^/| /' conftest.
$ac_ext >&5
3809 ac_header_preproc
=no
3811 rm -f conftest.err conftest.
$ac_ext
3812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3813 echo "${ECHO_T}$ac_header_preproc" >&6
3815 # So? What about this header?
3816 case $ac_header_compiler:$ac_header_preproc in
3818 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3819 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3824 ## ------------------------------------ ##
3825 ## Report this to bug-autoconf@gnu.org. ##
3826 ## ------------------------------------ ##
3829 sed "s/^/$as_me: WARNING: /" >&2
3832 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3834 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3835 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3840 ## ------------------------------------ ##
3841 ## Report this to bug-autoconf@gnu.org. ##
3842 ## ------------------------------------ ##
3845 sed "s/^/$as_me: WARNING: /" >&2
3848 echo "$as_me:$LINENO: checking for $ac_header" >&5
3849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 eval "$as_ac_Header=$ac_header_preproc"
3855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3860 cat >>confdefs.h
<<_ACEOF
3861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3869 # Check whether --enable-internalregex or --disable-internalregex was given.
3870 if test "${enable_internalregex+set}" = set; then
3871 enableval
="$enable_internalregex"
3872 internalregex
=$enableval
3874 if test "$internalregex" = "yes" ; then
3875 { echo "$as_me:$LINENO: Forcing use of internal regex library" >&5
3876 echo "$as_me: Forcing use of internal regex library" >&6;}
3878 if test "$HAS_REGEX" = "yes" ; then
3879 echo "$as_me:$LINENO: checking for regcomp" >&5
3880 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
3881 if test "${ac_cv_func_regcomp+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 cat >conftest.
$ac_ext <<_ACEOF
3885 #line $LINENO "configure"
3888 cat confdefs.h
>>conftest.
$ac_ext
3889 cat >>conftest.
$ac_ext <<_ACEOF
3890 /* end confdefs.h. */
3891 /* System header to define __stub macros and hopefully few prototypes,
3892 which can conflict with char regcomp (); below.
3893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3894 <limits.h> exists even on freestanding compilers. */
3896 # include <limits.h>
3898 # include <assert.h>
3900 /* Override any gcc2 internal prototype to avoid an error. */
3905 /* We use char because int might match the return type of a gcc2
3906 builtin and then its argument prototype would still apply. */
3908 /* The GNU C library defines this for functions which it implements
3909 to always fail with ENOSYS. Some functions are actually named
3910 something starting with __ and the normal name is an alias. */
3911 #if defined (__stub_regcomp) || defined (__stub___regcomp)
3914 char (*f) () = regcomp;
3923 return f != regcomp;
3928 rm -f conftest.
$ac_objext conftest
$ac_exeext
3929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3930 (eval $ac_link) 2>&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); } &&
3934 { ac_try
='test -s conftest$ac_exeext'
3935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939 (exit $ac_status); }; }; then
3940 ac_cv_func_regcomp
=yes
3942 echo "$as_me: failed program was:" >&5
3943 sed 's/^/| /' conftest.
$ac_ext >&5
3945 ac_cv_func_regcomp
=no
3947 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3949 echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
3950 echo "${ECHO_T}$ac_cv_func_regcomp" >&6
3951 if test $ac_cv_func_regcomp = yes; then
3955 if test "$HAS_REGEX" = "yes" ; then
3959 cat >>confdefs.h
<<\_ACEOF
3973 if test ${OSTYPE} = beos
; then
3976 cat >>confdefs.h
<<\_ACEOF
3977 #define P_DYNALINK 1
3980 elif test ${OSTYPE} = Darwin
; then
3983 cat >>confdefs.h
<<\_ACEOF
3984 #define P_DYNALINK 1
3989 for ac_header
in dlfcn.h
3991 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3993 echo "$as_me:$LINENO: checking for $ac_header" >&5
3994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3996 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3999 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4001 # Is the header compilable?
4002 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4003 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4004 cat >conftest.
$ac_ext <<_ACEOF
4005 #line $LINENO "configure"
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 $ac_includes_default
4012 #include <$ac_header>
4014 rm -f conftest.
$ac_objext
4015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4016 (eval $ac_compile) 2>&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try
='test -s conftest.$ac_objext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 ac_header_compiler
=yes
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.
$ac_ext >&5
4031 ac_header_compiler
=no
4033 rm -f conftest.
$ac_objext conftest.
$ac_ext
4034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4035 echo "${ECHO_T}$ac_header_compiler" >&6
4037 # Is the header present?
4038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4040 cat >conftest.
$ac_ext <<_ACEOF
4041 #line $LINENO "configure"
4044 cat confdefs.h
>>conftest.
$ac_ext
4045 cat >>conftest.
$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4047 #include <$ac_header>
4049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4050 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4052 grep -v '^ *+' conftest.er1
>conftest.err
4054 cat conftest.err
>&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } >/dev
/null
; then
4057 if test -s conftest.err
; then
4058 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4065 if test -z "$ac_cpp_err"; then
4066 ac_header_preproc
=yes
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.
$ac_ext >&5
4071 ac_header_preproc
=no
4073 rm -f conftest.err conftest.
$ac_ext
4074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4075 echo "${ECHO_T}$ac_header_preproc" >&6
4077 # So? What about this header?
4078 case $ac_header_compiler:$ac_header_preproc in
4080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4086 ## ------------------------------------ ##
4087 ## Report this to bug-autoconf@gnu.org. ##
4088 ## ------------------------------------ ##
4091 sed "s/^/$as_me: WARNING: /" >&2
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4102 ## ------------------------------------ ##
4103 ## Report this to bug-autoconf@gnu.org. ##
4104 ## ------------------------------------ ##
4107 sed "s/^/$as_me: WARNING: /" >&2
4110 echo "$as_me:$LINENO: checking for $ac_header" >&5
4111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4113 echo $ECHO_N "(cached) $ECHO_C" >&6
4115 eval "$as_ac_Header=$ac_header_preproc"
4117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4122 cat >>confdefs.h
<<_ACEOF
4123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4132 if test "$HAS_DLFCN" = yes ; then
4133 echo "$as_me:$LINENO: checking if dlopen is available" >&5
4134 echo $ECHO_N "checking if dlopen is available... $ECHO_C" >&6
4135 cat >conftest.
$ac_ext <<_ACEOF
4136 #line $LINENO "configure"
4139 cat confdefs.h
>>conftest.
$ac_ext
4140 cat >>conftest.
$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4146 void * p = dlopen("lib", 0);
4151 rm -f conftest.
$ac_objext
4152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4153 (eval $ac_compile) 2>&5
4155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4156 (exit $ac_status); } &&
4157 { ac_try
='test -s conftest.$ac_objext'
4158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); }; }; then
4165 echo "$as_me: failed program was:" >&5
4166 sed 's/^/| /' conftest.
$ac_ext >&5
4170 rm -f conftest.
$ac_objext conftest.
$ac_ext
4171 if test "$HAS_DLOPEN" = no
; then
4172 echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6
4175 echo "$as_me:$LINENO: result: yes" >&5
4176 echo "${ECHO_T}yes" >&6
4179 cat >>confdefs.h
<<\_ACEOF
4180 #define P_DYNALINK 1
4183 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4184 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4185 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 ac_check_lib_save_LIBS
=$LIBS
4190 cat >conftest.
$ac_ext <<_ACEOF
4191 #line $LINENO "configure"
4194 cat confdefs.h
>>conftest.
$ac_ext
4195 cat >>conftest.
$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4198 /* Override any gcc2 internal prototype to avoid an error. */
4202 /* We use char because int might match the return type of a gcc2
4203 builtin and then its argument prototype would still apply. */
4213 rm -f conftest.
$ac_objext conftest
$ac_exeext
4214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4215 (eval $ac_link) 2>&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); } &&
4219 { ac_try
='test -s conftest$ac_exeext'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; }; then
4225 ac_cv_lib_dl_dlopen
=yes
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.
$ac_ext >&5
4230 ac_cv_lib_dl_dlopen
=no
4232 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4233 LIBS
=$ac_check_lib_save_LIBS
4235 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4236 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4237 if test $ac_cv_lib_dl_dlopen = yes; then
4248 echo "$as_me:$LINENO: checking if plugins support needs to be compiled" >&5
4249 echo $ECHO_N "checking if plugins support needs to be compiled... $ECHO_C" >&6
4250 # Check whether --enable-plugins or --disable-plugins was given.
4251 if test "${enable_plugins+set}" = set; then
4252 enableval
="$enable_plugins"
4257 if test "${plugins}" = "no" ; then
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4260 elif test "${P_DYNALINK:-unset}" = "unset" ; then
4261 echo "$as_me:$LINENO: result: plugins disabled as dlopen not available" >&5
4262 echo "${ECHO_T}plugins disabled as dlopen not available" >&6
4264 echo "$as_me:$LINENO: result: plugins enabled" >&5
4265 echo "${ECHO_T}plugins enabled" >&6
4268 cat >>confdefs.h
<<\_ACEOF
4269 #define P_HAS_PLUGINS 1
4276 if test "x$LIB64" != "x" ; then
4278 cat >>confdefs.h
<<_ACEOF
4279 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib64/pwlib"
4284 cat >>confdefs.h
<<_ACEOF
4285 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib"
4292 # Check whether --enable-resolver or --disable-resolver was given.
4293 if test "${enable_resolver+set}" = set; then
4294 enableval
="$enable_resolver"
4298 if test "$resolver" = "no" ; then
4299 cat >>confdefs.h
<<\_ACEOF
4304 echo "$as_me:$LINENO: checking for res_search" >&5
4305 echo $ECHO_N "checking for res_search... $ECHO_C" >&6
4306 if test "${ac_cv_func_res_search+set}" = set; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 cat >conftest.
$ac_ext <<_ACEOF
4310 #line $LINENO "configure"
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 /* System header to define __stub macros and hopefully few prototypes,
4317 which can conflict with char res_search (); below.
4318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4319 <limits.h> exists even on freestanding compilers. */
4321 # include <limits.h>
4323 # include <assert.h>
4325 /* Override any gcc2 internal prototype to avoid an error. */
4330 /* We use char because int might match the return type of a gcc2
4331 builtin and then its argument prototype would still apply. */
4333 /* The GNU C library defines this for functions which it implements
4334 to always fail with ENOSYS. Some functions are actually named
4335 something starting with __ and the normal name is an alias. */
4336 #if defined (__stub_res_search) || defined (__stub___res_search)
4339 char (*f) () = res_search;
4348 return f != res_search;
4353 rm -f conftest.
$ac_objext conftest
$ac_exeext
4354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4355 (eval $ac_link) 2>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try
='test -s conftest$ac_exeext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_cv_func_res_search
=yes
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.
$ac_ext >&5
4370 ac_cv_func_res_search
=no
4372 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4374 echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
4375 echo "${ECHO_T}$ac_cv_func_res_search" >&6
4376 if test $ac_cv_func_res_search = yes; then
4380 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4383 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
4384 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
4386 cat >conftest.
$ac_ext <<_ACEOF
4388 #include <netinet/in.h>
4390 int main(int argc,char **argv){
4391 res_search (NULL, 0, 0, NULL, 0);
4394 rm -f conftest.
$ac_objext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); } &&
4400 { ac_try
='test -s conftest.$ac_objext'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; }; then
4408 echo "$as_me: failed program was:" >&5
4409 sed 's/^/| /' conftest.
$ac_ext >&5
4412 rm -f conftest.
$ac_objext conftest.
$ac_ext
4413 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4414 echo "$as_me:$LINENO: result: yes" >&5
4415 echo "${ECHO_T}yes" >&6
4416 RESOLVER_LIBS
="-lresolv"
4418 echo "$as_me:$LINENO: checking for library containing __res_search" >&5
4419 echo $ECHO_N "checking for library containing __res_search... $ECHO_C" >&6
4420 if test "${ac_cv_search___res_search+set}" = set; then
4421 echo $ECHO_N "(cached) $ECHO_C" >&6
4423 ac_func_search_save_LIBS
=$LIBS
4424 ac_cv_search___res_search
=no
4425 cat >conftest.
$ac_ext <<_ACEOF
4426 #line $LINENO "configure"
4429 cat confdefs.h
>>conftest.
$ac_ext
4430 cat >>conftest.
$ac_ext <<_ACEOF
4431 /* end confdefs.h. */
4433 /* Override any gcc2 internal prototype to avoid an error. */
4437 /* We use char because int might match the return type of a gcc2
4438 builtin and then its argument prototype would still apply. */
4439 char __res_search ();
4448 rm -f conftest.
$ac_objext conftest
$ac_exeext
4449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4450 (eval $ac_link) 2>&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try
='test -s conftest$ac_exeext'
4455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; }; then
4460 ac_cv_search___res_search
="none required"
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.
$ac_ext >&5
4466 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4467 if test "$ac_cv_search___res_search" = no
; then
4468 for ac_lib
in resolv
; do
4469 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4470 cat >conftest.
$ac_ext <<_ACEOF
4471 #line $LINENO "configure"
4474 cat confdefs.h
>>conftest.
$ac_ext
4475 cat >>conftest.
$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4478 /* Override any gcc2 internal prototype to avoid an error. */
4482 /* We use char because int might match the return type of a gcc2
4483 builtin and then its argument prototype would still apply. */
4484 char __res_search ();
4493 rm -f conftest.
$ac_objext conftest
$ac_exeext
4494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4495 (eval $ac_link) 2>&5
4497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4498 (exit $ac_status); } &&
4499 { ac_try
='test -s conftest$ac_exeext'
4500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504 (exit $ac_status); }; }; then
4505 ac_cv_search___res_search
="-l$ac_lib"
4508 echo "$as_me: failed program was:" >&5
4509 sed 's/^/| /' conftest.
$ac_ext >&5
4512 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4515 LIBS
=$ac_func_search_save_LIBS
4517 echo "$as_me:$LINENO: result: $ac_cv_search___res_search" >&5
4518 echo "${ECHO_T}$ac_cv_search___res_search" >&6
4519 if test "$ac_cv_search___res_search" != no
; then
4520 test "$ac_cv_search___res_search" = "none required" || LIBS
="$ac_cv_search___res_search $LIBS"
4527 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4529 cat >>confdefs.h
<<\_ACEOF
4538 # Check whether --enable-sasl or --disable-sasl was given.
4539 if test "${enable_sasl+set}" = set; then
4540 enableval
="$enable_sasl"
4544 if test "$sasl" = "no" ; then
4545 { echo "$as_me:$LINENO: SASL disabled" >&5
4546 echo "$as_me: SASL disabled" >&6;}
4549 echo "$as_me:$LINENO: checking for sasl_version in -lsasl2" >&5
4550 echo $ECHO_N "checking for sasl_version in -lsasl2... $ECHO_C" >&6
4551 if test "${ac_cv_lib_sasl2_sasl_version+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 ac_check_lib_save_LIBS
=$LIBS
4555 LIBS
="-lsasl2 $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4556 cat >conftest.
$ac_ext <<_ACEOF
4557 #line $LINENO "configure"
4560 cat confdefs.h
>>conftest.
$ac_ext
4561 cat >>conftest.
$ac_ext <<_ACEOF
4562 /* end confdefs.h. */
4564 /* Override any gcc2 internal prototype to avoid an error. */
4568 /* We use char because int might match the return type of a gcc2
4569 builtin and then its argument prototype would still apply. */
4570 char sasl_version ();
4579 rm -f conftest.
$ac_objext conftest
$ac_exeext
4580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4581 (eval $ac_link) 2>&5
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); } &&
4585 { ac_try
='test -s conftest$ac_exeext'
4586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_lib_sasl2_sasl_version
=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.
$ac_ext >&5
4596 ac_cv_lib_sasl2_sasl_version
=no
4598 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4599 LIBS
=$ac_check_lib_save_LIBS
4601 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_version" >&5
4602 echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_version" >&6
4603 if test $ac_cv_lib_sasl2_sasl_version = yes; then
4609 if test "${HAS_SASL2}x" = "x" ; then
4610 echo "$as_me:$LINENO: checking for sasl_client_auth in -lsasl" >&5
4611 echo $ECHO_N "checking for sasl_client_auth in -lsasl... $ECHO_C" >&6
4612 if test "${ac_cv_lib_sasl_sasl_client_auth+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 ac_check_lib_save_LIBS
=$LIBS
4616 LIBS
="-lsasl $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4617 cat >conftest.
$ac_ext <<_ACEOF
4618 #line $LINENO "configure"
4621 cat confdefs.h
>>conftest.
$ac_ext
4622 cat >>conftest.
$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4625 /* Override any gcc2 internal prototype to avoid an error. */
4629 /* We use char because int might match the return type of a gcc2
4630 builtin and then its argument prototype would still apply. */
4631 char sasl_client_auth ();
4635 sasl_client_auth ();
4640 rm -f conftest.
$ac_objext conftest
$ac_exeext
4641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4642 (eval $ac_link) 2>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -s conftest$ac_exeext'
4647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4651 (exit $ac_status); }; }; then
4652 ac_cv_lib_sasl_sasl_client_auth
=yes
4654 echo "$as_me: failed program was:" >&5
4655 sed 's/^/| /' conftest.
$ac_ext >&5
4657 ac_cv_lib_sasl_sasl_client_auth
=no
4659 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4660 LIBS
=$ac_check_lib_save_LIBS
4662 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl_sasl_client_auth" >&5
4663 echo "${ECHO_T}$ac_cv_lib_sasl_sasl_client_auth" >&6
4664 if test $ac_cv_lib_sasl_sasl_client_auth = yes; then
4672 echo "$as_me:$LINENO: checking if <sasl.h> works" >&5
4673 echo $ECHO_N "checking if <sasl.h> works... $ECHO_C" >&6
4674 cat >conftest.
$ac_ext <<_ACEOF
4676 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
4678 rm -f conftest.
$ac_objext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4680 (eval $ac_compile) 2>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } &&
4684 { ac_try
='test -s conftest.$ac_objext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 HAS_INCLUDE_SASL_H
=1
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4696 rm -f conftest.
$ac_objext conftest.
$ac_ext
4697 if test "${HAS_INCLUDE_SASL_H}x" != "x" ; then
4698 echo "$as_me:$LINENO: result: yes" >&5
4699 echo "${ECHO_T}yes" >&6
4702 echo "$as_me:$LINENO: result: no" >&5
4703 echo "${ECHO_T}no" >&6
4704 echo "$as_me:$LINENO: checking if <sasl/sasl.h> works" >&5
4705 echo $ECHO_N "checking if <sasl/sasl.h> works... $ECHO_C" >&6
4706 cat >conftest.
$ac_ext <<_ACEOF
4707 #include <sasl/sasl.h>
4708 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
4710 rm -f conftest.
$ac_objext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712 (eval $ac_compile) 2>&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try
='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.
$ac_ext >&5
4728 rm -f conftest.
$ac_objext conftest.
$ac_ext
4729 if test "${P_HAS_SASL_SASL_H}x" != "x" ; then
4730 echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6
4733 cat >>confdefs.h
<<\_ACEOF
4734 #define P_HAS_SASL_SASL_H 1
4738 echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6
4743 if test "${HAS_SASL2}x" != "x" ; then
4745 ENDLDLIBS
="$ENDLDLIBS -lsasl2"
4746 cat >>confdefs.h
<<\_ACEOF
4752 elif test "${HAS_SASL}x" != "x" ; then
4754 ENDLDLIBS
="$ENDLDLIBS -lsasl"
4755 cat >>confdefs.h
<<\_ACEOF
4768 # Check whether --enable-openldap or --disable-openldap was given.
4769 if test "${enable_openldap+set}" = set; then
4770 enableval
="$enable_openldap"
4774 if test "$openldap" = "no" ; then
4777 cat >>confdefs.h
<<\_ACEOF
4782 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4784 for ac_header
in ldap.h
4786 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4788 echo "$as_me:$LINENO: checking for $ac_header" >&5
4789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4794 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4796 # Is the header compilable?
4797 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4798 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4799 cat >conftest.
$ac_ext <<_ACEOF
4800 #line $LINENO "configure"
4803 cat confdefs.h
>>conftest.
$ac_ext
4804 cat >>conftest.
$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 $ac_includes_default
4807 #include <$ac_header>
4809 rm -f conftest.
$ac_objext
4810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811 (eval $ac_compile) 2>&5
4813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814 (exit $ac_status); } &&
4815 { ac_try
='test -s conftest.$ac_objext'
4816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); }; }; then
4821 ac_header_compiler
=yes
4823 echo "$as_me: failed program was:" >&5
4824 sed 's/^/| /' conftest.
$ac_ext >&5
4826 ac_header_compiler
=no
4828 rm -f conftest.
$ac_objext conftest.
$ac_ext
4829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4830 echo "${ECHO_T}$ac_header_compiler" >&6
4832 # Is the header present?
4833 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4834 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4835 cat >conftest.
$ac_ext <<_ACEOF
4836 #line $LINENO "configure"
4839 cat confdefs.h
>>conftest.
$ac_ext
4840 cat >>conftest.
$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4842 #include <$ac_header>
4844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4845 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4847 grep -v '^ *+' conftest.er1
>conftest.err
4849 cat conftest.err
>&5
4850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851 (exit $ac_status); } >/dev
/null
; then
4852 if test -s conftest.err
; then
4853 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4860 if test -z "$ac_cpp_err"; then
4861 ac_header_preproc
=yes
4863 echo "$as_me: failed program was:" >&5
4864 sed 's/^/| /' conftest.
$ac_ext >&5
4866 ac_header_preproc
=no
4868 rm -f conftest.err conftest.
$ac_ext
4869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4870 echo "${ECHO_T}$ac_header_preproc" >&6
4872 # So? What about this header?
4873 case $ac_header_compiler:$ac_header_preproc in
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4881 ## ------------------------------------ ##
4882 ## Report this to bug-autoconf@gnu.org. ##
4883 ## ------------------------------------ ##
4886 sed "s/^/$as_me: WARNING: /" >&2
4889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4897 ## ------------------------------------ ##
4898 ## Report this to bug-autoconf@gnu.org. ##
4899 ## ------------------------------------ ##
4902 sed "s/^/$as_me: WARNING: /" >&2
4905 echo "$as_me:$LINENO: checking for $ac_header" >&5
4906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4908 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 eval "$as_ac_Header=$ac_header_preproc"
4912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4917 cat >>confdefs.h
<<_ACEOF
4918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4926 if test "${OSTYPE:-unknown}" = "solaris"; then
4927 OPENLDAPSYSLIBS
=-lposix4
4930 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
4931 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
4932 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
4933 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 ac_check_lib_save_LIBS
=$LIBS
4937 LIBS
="-lldap -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
4938 cat >conftest.
$ac_ext <<_ACEOF
4939 #line $LINENO "configure"
4942 cat confdefs.h
>>conftest.
$ac_ext
4943 cat >>conftest.
$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4946 /* Override any gcc2 internal prototype to avoid an error. */
4950 /* We use char because int might match the return type of a gcc2
4951 builtin and then its argument prototype would still apply. */
4961 rm -f conftest.
$ac_objext conftest
$ac_exeext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4963 (eval $ac_link) 2>&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } &&
4967 { ac_try
='test -s conftest$ac_exeext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4973 ac_cv_lib_ldap_ldap_open
=yes
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.
$ac_ext >&5
4978 ac_cv_lib_ldap_ldap_open
=no
4980 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4981 LIBS
=$ac_check_lib_save_LIBS
4983 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
4985 if test $ac_cv_lib_ldap_ldap_open = yes; then
4992 echo "$as_me:$LINENO: checking for /usr/local/include/ldap.h" >&5
4993 echo $ECHO_N "checking for /usr/local/include/ldap.h... $ECHO_C" >&6
4994 if test "${ac_cv_file__usr_local_include_ldap_h+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4997 test "$cross_compiling" = yes &&
4998 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4999 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5000 { (exit 1); exit 1; }; }
5001 if test -r "/usr/local/include/ldap.h"; then
5002 ac_cv_file__usr_local_include_ldap_h
=yes
5004 ac_cv_file__usr_local_include_ldap_h
=no
5007 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ldap_h" >&5
5008 echo "${ECHO_T}$ac_cv_file__usr_local_include_ldap_h" >&6
5009 if test $ac_cv_file__usr_local_include_ldap_h = yes; then
5013 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
5014 OPENLDAPINCLUDEDIR
=/usr
/local
/include
5015 OPENLDAPLIBDIR
=/usr
/local
/lib
5016 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
5017 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
5018 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5021 ac_check_lib_save_LIBS
=$LIBS
5022 LIBS
="-lldap -L/usr/local/lib -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
5023 cat >conftest.
$ac_ext <<_ACEOF
5024 #line $LINENO "configure"
5027 cat confdefs.h
>>conftest.
$ac_ext
5028 cat >>conftest.
$ac_ext <<_ACEOF
5029 /* end confdefs.h. */
5031 /* Override any gcc2 internal prototype to avoid an error. */
5035 /* We use char because int might match the return type of a gcc2
5036 builtin and then its argument prototype would still apply. */
5046 rm -f conftest.
$ac_objext conftest
$ac_exeext
5047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5048 (eval $ac_link) 2>&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); } &&
5052 { ac_try
='test -s conftest$ac_exeext'
5053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); }; }; then
5058 ac_cv_lib_ldap_ldap_open
=yes
5060 echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.
$ac_ext >&5
5063 ac_cv_lib_ldap_ldap_open
=no
5065 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5066 LIBS
=$ac_check_lib_save_LIBS
5068 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
5069 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
5070 if test $ac_cv_lib_ldap_ldap_open = yes; then
5080 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
5084 cat >>confdefs.h
<<\_ACEOF
5088 ENDLDLIBS
="-lldap -lldap_r -llber $ENDLDLIBS"
5089 if test "${OPENLDAPINCLUDEDIR}unset" != "unset" ; then
5090 STDCCFLAGS
="$STDCCFLAGS -I${OPENLDAPINCLUDEDIR}"
5092 if test "${OPENLDAPLIBDIR}unset" != "unset" ; then
5093 LDFLAGS
="$LDFLAGS -L${OPENLDAPLIBDIR}"
5101 # Check whether --enable-openssl or --disable-openssl was given.
5102 if test "${enable_openssl+set}" = set; then
5103 enableval
="$enable_openssl"
5107 if test "$openssl" = "no" ; then
5108 cat >>confdefs.h
<<\_ACEOF
5116 if test ${OPENSSLDIR:-unset} != "unset" ; then
5117 echo "$as_me:$LINENO: checking for ${OPENSSLDIR}/include/openssl/ssl.h" >&5
5118 echo $ECHO_N "checking for ${OPENSSLDIR}/include/openssl/ssl.h... $ECHO_C" >&6
5119 if test -e ${OPENSSLDIR}/include
/openssl
/ssl.h
; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5123 SSLINCLUDEDIR
="${OPENSSLDIR}/include"
5124 SSLLIBDIR
="${OPENSSLDIR}/lib"
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5132 if test "${SSLHDR:-unset}" = "unset" ; then
5134 for ac_header
in openssl
/ssl.h
5136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5138 echo "$as_me:$LINENO: checking for $ac_header" >&5
5139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5141 echo $ECHO_N "(cached) $ECHO_C" >&6
5143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5146 # Is the header compilable?
5147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5149 cat >conftest.
$ac_ext <<_ACEOF
5150 #line $LINENO "configure"
5153 cat confdefs.h
>>conftest.
$ac_ext
5154 cat >>conftest.
$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 $ac_includes_default
5157 #include <$ac_header>
5159 rm -f conftest.
$ac_objext
5160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5161 (eval $ac_compile) 2>&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); } &&
5165 { ac_try
='test -s conftest.$ac_objext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 ac_header_compiler
=yes
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.
$ac_ext >&5
5176 ac_header_compiler
=no
5178 rm -f conftest.
$ac_objext conftest.
$ac_ext
5179 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5180 echo "${ECHO_T}$ac_header_compiler" >&6
5182 # Is the header present?
5183 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5185 cat >conftest.
$ac_ext <<_ACEOF
5186 #line $LINENO "configure"
5189 cat confdefs.h
>>conftest.
$ac_ext
5190 cat >>conftest.
$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5192 #include <$ac_header>
5194 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5195 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5197 grep -v '^ *+' conftest.er1
>conftest.err
5199 cat conftest.err
>&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); } >/dev
/null
; then
5202 if test -s conftest.err
; then
5203 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5210 if test -z "$ac_cpp_err"; then
5211 ac_header_preproc
=yes
5213 echo "$as_me: failed program was:" >&5
5214 sed 's/^/| /' conftest.
$ac_ext >&5
5216 ac_header_preproc
=no
5218 rm -f conftest.err conftest.
$ac_ext
5219 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5220 echo "${ECHO_T}$ac_header_preproc" >&6
5222 # So? What about this header?
5223 case $ac_header_compiler:$ac_header_preproc in
5225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5228 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5231 ## ------------------------------------ ##
5232 ## Report this to bug-autoconf@gnu.org. ##
5233 ## ------------------------------------ ##
5236 sed "s/^/$as_me: WARNING: /" >&2
5239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5243 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5247 ## ------------------------------------ ##
5248 ## Report this to bug-autoconf@gnu.org. ##
5249 ## ------------------------------------ ##
5252 sed "s/^/$as_me: WARNING: /" >&2
5255 echo "$as_me:$LINENO: checking for $ac_header" >&5
5256 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5257 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5258 echo $ECHO_N "(cached) $ECHO_C" >&6
5260 eval "$as_ac_Header=$ac_header_preproc"
5262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5266 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5267 cat >>confdefs.h
<<_ACEOF
5268 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5275 if test "${SSLHDR:-unset}" != "unset" ; then
5276 echo "$as_me:$LINENO: checking if openssl/ssl.h works with OPENSSL_NO_KRB5" >&5
5277 echo $ECHO_N "checking if openssl/ssl.h works with OPENSSL_NO_KRB5... $ECHO_C" >&6
5278 cat >conftest.
$ac_ext <<_ACEOF
5279 #define OPENSSL_NO_KRB5
5280 #include <openssl/ssl.h>
5281 int main(int argc,char **argv){}
5283 rm -f conftest.
$ac_objext
5284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5285 (eval $ac_compile) 2>&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } &&
5289 { ac_try
='test -s conftest.$ac_objext'
5290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; }; then
5297 echo "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.
$ac_ext >&5
5301 rm -f conftest.
$ac_objext conftest.
$ac_ext
5302 if test ${SSLHDR:-unset} != "unset" ; then
5303 echo "$as_me:$LINENO: result: yes" >&5
5304 echo "${ECHO_T}yes" >&6
5305 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5306 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
5307 if test ${OSTYPE} = linux
; then
5308 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5311 echo "$as_me:$LINENO: result: no" >&5
5312 echo "${ECHO_T}no" >&6
5317 if test "${SSLHDR:-unset}" = "unset" ; then
5319 for openssl_dir
in /usr
/local
/openssl
/usr
/local
/ssl
; do
5320 echo "$as_me:$LINENO: checking for OpenSSL in $openssl_dir" >&5
5321 echo $ECHO_N "checking for OpenSSL in $openssl_dir... $ECHO_C" >&6
5322 if test ! -f ${openssl_dir}/include
/openssl
/ssl.h
; then
5323 echo "$as_me:$LINENO: result: no" >&5
5324 echo "${ECHO_T}no" >&6
5326 cat >conftest.
$ac_ext <<_ACEOF
5327 #include "${openssl_dir}/include/openssl/ssl.h"
5328 int main(int argc,char **argv){ return 0; }
5330 $CXX $CXXFLAGS -I${openssl_dir}/include
-c conftest.cc
> /dev
/null
2>&1
5331 if test $?
= 0 ; then
5332 echo "$as_me:$LINENO: result: yes" >&5
5333 echo "${ECHO_T}yes" >&6
5336 SSLINCLUDEDIR
="${openssl_dir}/include"
5337 SSLLIBDIR
="${openssl_dir}/lib"
5340 echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6
5342 echo "$as_me:$LINENO: checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5..." >&5
5343 echo $ECHO_N "checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5...... $ECHO_C" >&6
5344 cat >conftest.
$ac_ext <<_ACEOF
5345 #define OPENSSL_NO_KRB5
5346 #include "${openssl_dir}/include/openssl/ssl.h"
5347 int main(int argc,char **argv){}
5349 $CXX $CXXFLAGS -I${openssl_dir}/openssl
/include
-c conftest.cc
> /dev
/null
2>&1
5350 if test $?
= 0 ; then
5351 echo "$as_me:$LINENO: result: yes" >&5
5352 echo "${ECHO_T}yes" >&6
5354 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5355 SSLINCLUDEDIR
="${openssl_dir}/include"
5356 SSLLIBDIR
="${openssl_dir}/lib"
5357 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
5358 if test ${OSTYPE} = linux
; then
5359 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5363 echo "$as_me:$LINENO: result: no" >&5
5364 echo "${ECHO_T}no" >&6
5371 if test ${SSLHDR:-unset} != "unset" ; then
5375 cat >>confdefs.h
<<\_ACEOF
5379 if test ${SSLINCLUDEDIR:-unset} != "unset" ; then
5380 STDCCFLAGS
="$STDCCFLAGS -I${SSLINCLUDEDIR}"
5382 if test ${SSLLIBDIR:-unset} != "unset" ; then
5383 LDFLAGS
="$LDFLAGS -L${SSLLIBDIR}"
5385 STDCCFLAGS
="${STDCCFLAGS}${SSLCCFLAGS}"
5386 ENDLDLIBS
="$ENDLDLIBS -lssl -lcrypto"
5395 # Check whether --enable-expat or --disable-expat was given.
5396 if test "${enable_expat+set}" = set; then
5397 enableval
="$enable_expat"
5401 if test "$expat" = "no" ; then
5404 cat >>confdefs.h
<<\_ACEOF
5411 for ac_header
in expat.h
5413 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5415 echo "$as_me:$LINENO: checking for $ac_header" >&5
5416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5421 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5423 # Is the header compilable?
5424 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5425 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5426 cat >conftest.
$ac_ext <<_ACEOF
5427 #line $LINENO "configure"
5430 cat confdefs.h
>>conftest.
$ac_ext
5431 cat >>conftest.
$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 $ac_includes_default
5434 #include <$ac_header>
5436 rm -f conftest.
$ac_objext
5437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5438 (eval $ac_compile) 2>&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } &&
5442 { ac_try
='test -s conftest.$ac_objext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 ac_header_compiler
=yes
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.
$ac_ext >&5
5453 ac_header_compiler
=no
5455 rm -f conftest.
$ac_objext conftest.
$ac_ext
5456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5457 echo "${ECHO_T}$ac_header_compiler" >&6
5459 # Is the header present?
5460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5462 cat >conftest.
$ac_ext <<_ACEOF
5463 #line $LINENO "configure"
5466 cat confdefs.h
>>conftest.
$ac_ext
5467 cat >>conftest.
$ac_ext <<_ACEOF
5468 /* end confdefs.h. */
5469 #include <$ac_header>
5471 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5472 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5474 grep -v '^ *+' conftest.er1
>conftest.err
5476 cat conftest.err
>&5
5477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5478 (exit $ac_status); } >/dev
/null
; then
5479 if test -s conftest.err
; then
5480 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5487 if test -z "$ac_cpp_err"; then
5488 ac_header_preproc
=yes
5490 echo "$as_me: failed program was:" >&5
5491 sed 's/^/| /' conftest.
$ac_ext >&5
5493 ac_header_preproc
=no
5495 rm -f conftest.err conftest.
$ac_ext
5496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5497 echo "${ECHO_T}$ac_header_preproc" >&6
5499 # So? What about this header?
5500 case $ac_header_compiler:$ac_header_preproc in
5502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5508 ## ------------------------------------ ##
5509 ## Report this to bug-autoconf@gnu.org. ##
5510 ## ------------------------------------ ##
5513 sed "s/^/$as_me: WARNING: /" >&2
5516 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5517 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5519 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5520 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5521 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5524 ## ------------------------------------ ##
5525 ## Report this to bug-autoconf@gnu.org. ##
5526 ## ------------------------------------ ##
5529 sed "s/^/$as_me: WARNING: /" >&2
5532 echo "$as_me:$LINENO: checking for $ac_header" >&5
5533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 eval "$as_ac_Header=$ac_header_preproc"
5539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5543 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5544 cat >>confdefs.h
<<_ACEOF
5545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5552 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5553 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
5554 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
5555 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 ac_check_lib_save_LIBS
=$LIBS
5559 LIBS
="-lexpat $LIBS"
5560 cat >conftest.
$ac_ext <<_ACEOF
5561 #line $LINENO "configure"
5564 cat confdefs.h
>>conftest.
$ac_ext
5565 cat >>conftest.
$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5568 /* Override any gcc2 internal prototype to avoid an error. */
5572 /* We use char because int might match the return type of a gcc2
5573 builtin and then its argument prototype would still apply. */
5574 char XML_ParserCreate ();
5578 XML_ParserCreate ();
5583 rm -f conftest.
$ac_objext conftest
$ac_exeext
5584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5585 (eval $ac_link) 2>&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try
='test -s conftest$ac_exeext'
5590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); }; }; then
5595 ac_cv_lib_expat_XML_ParserCreate
=yes
5597 echo "$as_me: failed program was:" >&5
5598 sed 's/^/| /' conftest.
$ac_ext >&5
5600 ac_cv_lib_expat_XML_ParserCreate
=no
5602 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5603 LIBS
=$ac_check_lib_save_LIBS
5605 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
5606 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
5607 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
5614 echo "$as_me:$LINENO: checking for /usr/local/include/expat.h" >&5
5615 echo $ECHO_N "checking for /usr/local/include/expat.h... $ECHO_C" >&6
5616 if test "${ac_cv_file__usr_local_include_expat_h+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 test "$cross_compiling" = yes &&
5620 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5621 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5622 { (exit 1); exit 1; }; }
5623 if test -r "/usr/local/include/expat.h"; then
5624 ac_cv_file__usr_local_include_expat_h
=yes
5626 ac_cv_file__usr_local_include_expat_h
=no
5629 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_expat_h" >&5
5630 echo "${ECHO_T}$ac_cv_file__usr_local_include_expat_h" >&6
5631 if test $ac_cv_file__usr_local_include_expat_h = yes; then
5635 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5636 EXPATINCLUDEDIR
=/usr
/local
/include
5637 EXPATLIBDIR
=/usr
/local
/lib
5641 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5645 cat >>confdefs.h
<<\_ACEOF
5649 if test ${EXPATINCLUDEDIR:-unset} != "unset" ; then
5650 STDCCFLAGS
="$STDCCFLAGS -I${EXPATINCLUDEDIR}"
5652 if test ${EXPATLIBDIR:-unset} != "unset" ; then
5653 LDFLAGS
="$LDFLAGS -L${EXPATLIBDIR}"
5655 ENDLDLIBS
="$ENDLDLIBS -lexpat"
5665 # Check whether --enable-ipv6 or --disable-ipv6 was given.
5666 if test "${enable_ipv6+set}" = set; then
5667 enableval
="$enable_ipv6"
5671 if test "$ipv6" = "no" ; then
5672 cat >>confdefs.h
<<\_ACEOF
5673 #define P_HAS_IPV6 0
5679 echo "$as_me:$LINENO: checking for IPv6 support" >&5
5680 echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6
5681 cat >conftest.
$ac_ext <<_ACEOF
5682 #line $LINENO "configure"
5685 cat confdefs.h
>>conftest.
$ac_ext
5686 cat >>conftest.
$ac_ext <<_ACEOF
5687 /* end confdefs.h. */
5688 #include <sys/types.h>
5689 #include <netinet/in.h>
5693 struct sockaddr_in6 s; s.sin6_scope_id = 0;
5698 rm -f conftest.
$ac_objext
5699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5700 (eval $ac_compile) 2>&5
5702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5703 (exit $ac_status); } &&
5704 { ac_try
='test -s conftest.$ac_objext'
5705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); }; }; then
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.
$ac_ext >&5
5717 rm -f conftest.
$ac_objext conftest.
$ac_ext
5718 if test $HAS_IPV6 = no
; then
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5722 cat >conftest.
$ac_ext <<_ACEOF
5723 #line $LINENO "configure"
5726 cat confdefs.h
>>conftest.
$ac_ext
5727 cat >>conftest.
$ac_ext <<_ACEOF
5728 /* end confdefs.h. */
5729 #include <sys/socket.h>
5734 getnameinfo(NULL, 0, NULL, 0, NULL, 0, 0);
5739 rm -f conftest.
$ac_objext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try
='test -s conftest.$ac_objext'
5746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); }; }; then
5753 echo "$as_me: failed program was:" >&5
5754 sed 's/^/| /' conftest.
$ac_ext >&5
5758 rm -f conftest.
$ac_objext conftest.
$ac_ext
5759 if test $HAS_IPV6 = no
; then
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5763 echo "$as_me:$LINENO: result: yes" >&5
5764 echo "${ECHO_T}yes" >&6
5766 cat >>confdefs.h
<<\_ACEOF
5767 #define P_HAS_IPV6 1
5776 # Check whether --enable-qos or --disable-qos was given.
5777 if test "${enable_qos+set}" = set; then
5778 enableval
="$enable_qos"
5782 if test "$qos" = "no" ; then
5784 cat >>confdefs.h
<<\_ACEOF
5790 cat >>confdefs.h
<<\_ACEOF
5799 # Check whether --enable-sdl or --disable-sdl was given.
5800 if test "${enable_sdl+set}" = set; then
5801 enableval
="$enable_sdl"
5805 if test "$sdl" = "no" ; then
5808 cat >>confdefs.h
<<\_ACEOF
5813 if test "${SDLLIB:-unset}" = "unset" ; then
5818 for ac_header
in SDL
/SDL.h
5820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5822 echo "$as_me:$LINENO: checking for $ac_header" >&5
5823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5830 # Is the header compilable?
5831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5833 cat >conftest.
$ac_ext <<_ACEOF
5834 #line $LINENO "configure"
5837 cat confdefs.h
>>conftest.
$ac_ext
5838 cat >>conftest.
$ac_ext <<_ACEOF
5839 /* end confdefs.h. */
5840 $ac_includes_default
5841 #include <$ac_header>
5843 rm -f conftest.
$ac_objext
5844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5845 (eval $ac_compile) 2>&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } &&
5849 { ac_try
='test -s conftest.$ac_objext'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5855 ac_header_compiler
=yes
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.
$ac_ext >&5
5860 ac_header_compiler
=no
5862 rm -f conftest.
$ac_objext conftest.
$ac_ext
5863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5864 echo "${ECHO_T}$ac_header_compiler" >&6
5866 # Is the header present?
5867 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5868 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5869 cat >conftest.
$ac_ext <<_ACEOF
5870 #line $LINENO "configure"
5873 cat confdefs.h
>>conftest.
$ac_ext
5874 cat >>conftest.
$ac_ext <<_ACEOF
5875 /* end confdefs.h. */
5876 #include <$ac_header>
5878 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5879 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5881 grep -v '^ *+' conftest.er1
>conftest.err
5883 cat conftest.err
>&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); } >/dev
/null
; then
5886 if test -s conftest.err
; then
5887 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5894 if test -z "$ac_cpp_err"; then
5895 ac_header_preproc
=yes
5897 echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.
$ac_ext >&5
5900 ac_header_preproc
=no
5902 rm -f conftest.err conftest.
$ac_ext
5903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5904 echo "${ECHO_T}$ac_header_preproc" >&6
5906 # So? What about this header?
5907 case $ac_header_compiler:$ac_header_preproc in
5909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5915 ## ------------------------------------ ##
5916 ## Report this to bug-autoconf@gnu.org. ##
5917 ## ------------------------------------ ##
5920 sed "s/^/$as_me: WARNING: /" >&2
5923 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5924 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5925 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5926 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5931 ## ------------------------------------ ##
5932 ## Report this to bug-autoconf@gnu.org. ##
5933 ## ------------------------------------ ##
5936 sed "s/^/$as_me: WARNING: /" >&2
5939 echo "$as_me:$LINENO: checking for $ac_header" >&5
5940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5942 echo $ECHO_N "(cached) $ECHO_C" >&6
5944 eval "$as_ac_Header=$ac_header_preproc"
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5950 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5951 cat >>confdefs.h
<<_ACEOF
5952 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5959 if test "${HAS_SDL:-unset}" != "unset" ; then
5960 if test "${X11LIBDIR:-unset}" == "unset" ; then
5961 X11LIBDIR
=/usr
/X11R
6/lib
5963 echo "$as_me:$LINENO: checking for SDL_CreateYUVOverlay in -lSDL" >&5
5964 echo $ECHO_N "checking for SDL_CreateYUVOverlay in -lSDL... $ECHO_C" >&6
5965 if test "${ac_cv_lib_SDL_SDL_CreateYUVOverlay+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 ac_check_lib_save_LIBS
=$LIBS
5969 LIBS
="-lSDL -L${X11LIBDIR} -lpthread -lX11 -lXext -laa $LIBS"
5970 cat >conftest.
$ac_ext <<_ACEOF
5971 #line $LINENO "configure"
5974 cat confdefs.h
>>conftest.
$ac_ext
5975 cat >>conftest.
$ac_ext <<_ACEOF
5976 /* end confdefs.h. */
5978 /* Override any gcc2 internal prototype to avoid an error. */
5982 /* We use char because int might match the return type of a gcc2
5983 builtin and then its argument prototype would still apply. */
5984 char SDL_CreateYUVOverlay ();
5988 SDL_CreateYUVOverlay ();
5993 rm -f conftest.
$ac_objext conftest
$ac_exeext
5994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5995 (eval $ac_link) 2>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try
='test -s conftest$ac_exeext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=yes
6007 echo "$as_me: failed program was:" >&5
6008 sed 's/^/| /' conftest.
$ac_ext >&5
6010 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=no
6012 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6013 LIBS
=$ac_check_lib_save_LIBS
6015 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&5
6016 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&6
6017 if test $ac_cv_lib_SDL_SDL_CreateYUVOverlay = yes; then
6025 if test "${HAS_SDL:-unset}" = "unset" ; then
6026 echo "$as_me:$LINENO: checking for /usr/local/include/SDL11/SDL.h" >&5
6027 echo $ECHO_N "checking for /usr/local/include/SDL11/SDL.h... $ECHO_C" >&6
6028 if test "${ac_cv_file__usr_local_include_SDL11_SDL_h+set}" = set; then
6029 echo $ECHO_N "(cached) $ECHO_C" >&6
6031 test "$cross_compiling" = yes &&
6032 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6033 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6034 { (exit 1); exit 1; }; }
6035 if test -r "/usr/local/include/SDL11/SDL.h"; then
6036 ac_cv_file__usr_local_include_SDL11_SDL_h
=yes
6038 ac_cv_file__usr_local_include_SDL11_SDL_h
=no
6041 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_SDL11_SDL_h" >&5
6042 echo "${ECHO_T}$ac_cv_file__usr_local_include_SDL11_SDL_h" >&6
6043 if test $ac_cv_file__usr_local_include_SDL11_SDL_h = yes; then
6047 if test "${HAS_SDL:-unset}" != "unset" ; then
6052 if test "${HAS_SDL:-unset}" != "unset" ; then
6056 cat >>confdefs.h
<<\_ACEOF
6060 if test ${SDLINCLUDEDIR:-unset} != "unset" ; then
6061 STDCCFLAGS
="$STDCCFLAGS -I${SDLINCLUDEDIR}"
6063 if test ${SDLLIBDIR:-unset} != "unset" ; then
6064 LDFLAGS
="$LDFLAGS -L${SDLLIBDIR}"
6066 ENDLDLIBS
="$ENDLDLIBS -l${SDLLIB}"
6072 # Check whether --enable-video or --disable-video was given.
6073 if test "${enable_video+set}" = set; then
6074 enableval
="$enable_video"
6079 if test "$HAS_PLUGINS" = "0" ; then
6080 if test "$video" != "no" ; then
6081 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6082 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
6083 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
6084 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6085 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
6088 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
6090 # Is the header compilable?
6091 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
6092 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
6093 cat >conftest.
$ac_ext <<_ACEOF
6094 #line $LINENO "configure"
6097 cat confdefs.h
>>conftest.
$ac_ext
6098 cat >>conftest.
$ac_ext <<_ACEOF
6099 /* end confdefs.h. */
6100 $ac_includes_default
6101 #include <linux/videodev.h>
6103 rm -f conftest.
$ac_objext
6104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6105 (eval $ac_compile) 2>&5
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); } &&
6109 { ac_try
='test -s conftest.$ac_objext'
6110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); }; }; then
6115 ac_header_compiler
=yes
6117 echo "$as_me: failed program was:" >&5
6118 sed 's/^/| /' conftest.
$ac_ext >&5
6120 ac_header_compiler
=no
6122 rm -f conftest.
$ac_objext conftest.
$ac_ext
6123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6124 echo "${ECHO_T}$ac_header_compiler" >&6
6126 # Is the header present?
6127 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
6128 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6130 #line $LINENO "configure"
6133 cat confdefs.h
>>conftest.
$ac_ext
6134 cat >>conftest.
$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6136 #include <linux/videodev.h>
6138 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6139 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6141 grep -v '^ *+' conftest.er1
>conftest.err
6143 cat conftest.err
>&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); } >/dev
/null
; then
6146 if test -s conftest.err
; then
6147 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6154 if test -z "$ac_cpp_err"; then
6155 ac_header_preproc
=yes
6157 echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.
$ac_ext >&5
6160 ac_header_preproc
=no
6162 rm -f conftest.err conftest.
$ac_ext
6163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6164 echo "${ECHO_T}$ac_header_preproc" >&6
6166 # So? What about this header?
6167 case $ac_header_compiler:$ac_header_preproc in
6169 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
6170 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6171 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6172 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6175 ## ------------------------------------ ##
6176 ## Report this to bug-autoconf@gnu.org. ##
6177 ## ------------------------------------ ##
6180 sed "s/^/$as_me: WARNING: /" >&2
6183 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
6184 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
6185 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
6186 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
6187 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6188 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6191 ## ------------------------------------ ##
6192 ## Report this to bug-autoconf@gnu.org. ##
6193 ## ------------------------------------ ##
6196 sed "s/^/$as_me: WARNING: /" >&2
6199 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
6200 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
6201 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6202 echo $ECHO_N "(cached) $ECHO_C" >&6
6204 ac_cv_header_linux_videodev_h
=$ac_header_preproc
6206 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
6207 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
6210 if test $ac_cv_header_linux_videodev_h = yes; then
6215 if test "${HAS_VIDEO_CAPTURE}" = "0" ; then
6216 { echo "$as_me:$LINENO: No Video Capture support" >&5
6217 echo "$as_me: No Video Capture support" >&6;}
6219 cat >>confdefs.h
<<\_ACEOF
6220 #define NO_VIDEO_CAPTURE
6228 # Check whether --enable-alsa or --disable-alsa was given.
6229 if test "${enable_alsa+set}" = set; then
6230 enableval
="$enable_alsa"
6231 enable_alsa
=$enableval
6235 if test "$HAS_PLUGINS" = "0" ; then
6236 if test "$enable_alsa" != "no" ; then
6237 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6238 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6239 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6240 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6244 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6246 # Is the header compilable?
6247 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
6248 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
6249 cat >conftest.
$ac_ext <<_ACEOF
6250 #line $LINENO "configure"
6253 cat confdefs.h
>>conftest.
$ac_ext
6254 cat >>conftest.
$ac_ext <<_ACEOF
6255 /* end confdefs.h. */
6256 $ac_includes_default
6257 #include <alsa/asoundlib.h>
6259 rm -f conftest.
$ac_objext
6260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6261 (eval $ac_compile) 2>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } &&
6265 { ac_try
='test -s conftest.$ac_objext'
6266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6270 (exit $ac_status); }; }; then
6271 ac_header_compiler
=yes
6273 echo "$as_me: failed program was:" >&5
6274 sed 's/^/| /' conftest.
$ac_ext >&5
6276 ac_header_compiler
=no
6278 rm -f conftest.
$ac_objext conftest.
$ac_ext
6279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6280 echo "${ECHO_T}$ac_header_compiler" >&6
6282 # Is the header present?
6283 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
6284 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
6285 cat >conftest.
$ac_ext <<_ACEOF
6286 #line $LINENO "configure"
6289 cat confdefs.h
>>conftest.
$ac_ext
6290 cat >>conftest.
$ac_ext <<_ACEOF
6291 /* end confdefs.h. */
6292 #include <alsa/asoundlib.h>
6294 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6295 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6297 grep -v '^ *+' conftest.er1
>conftest.err
6299 cat conftest.err
>&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } >/dev
/null
; then
6302 if test -s conftest.err
; then
6303 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6310 if test -z "$ac_cpp_err"; then
6311 ac_header_preproc
=yes
6313 echo "$as_me: failed program was:" >&5
6314 sed 's/^/| /' conftest.
$ac_ext >&5
6316 ac_header_preproc
=no
6318 rm -f conftest.err conftest.
$ac_ext
6319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6320 echo "${ECHO_T}$ac_header_preproc" >&6
6322 # So? What about this header?
6323 case $ac_header_compiler:$ac_header_preproc in
6325 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6326 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6327 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6328 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6331 ## ------------------------------------ ##
6332 ## Report this to bug-autoconf@gnu.org. ##
6333 ## ------------------------------------ ##
6336 sed "s/^/$as_me: WARNING: /" >&2
6339 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6340 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6341 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
6342 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
6343 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6344 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6347 ## ------------------------------------ ##
6348 ## Report this to bug-autoconf@gnu.org. ##
6349 ## ------------------------------------ ##
6352 sed "s/^/$as_me: WARNING: /" >&2
6355 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6356 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6357 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6358 echo $ECHO_N "(cached) $ECHO_C" >&6
6360 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
6362 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6363 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6366 if test $ac_cv_header_alsa_asoundlib_h = yes; then
6371 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
6372 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
6373 if test "${HAS_ALSA}" = "1"; then
6374 echo "$as_me:$LINENO: result: yes" >&5
6375 echo "${ECHO_T}yes" >&6
6376 ENDLDLIBS
="$ENDLDLIBS -lasound"
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6385 if test "$OSTYPE" = "solaris" ; then
6388 echo "$as_me:$LINENO: checking for swab" >&5
6389 echo $ECHO_N "checking for swab... $ECHO_C" >&6
6390 if test "${ac_cv_func_swab+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 cat >conftest.
$ac_ext <<_ACEOF
6394 #line $LINENO "configure"
6397 cat confdefs.h
>>conftest.
$ac_ext
6398 cat >>conftest.
$ac_ext <<_ACEOF
6399 /* end confdefs.h. */
6400 /* System header to define __stub macros and hopefully few prototypes,
6401 which can conflict with char swab (); below.
6402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6403 <limits.h> exists even on freestanding compilers. */
6405 # include <limits.h>
6407 # include <assert.h>
6409 /* Override any gcc2 internal prototype to avoid an error. */
6414 /* We use char because int might match the return type of a gcc2
6415 builtin and then its argument prototype would still apply. */
6417 /* The GNU C library defines this for functions which it implements
6418 to always fail with ENOSYS. Some functions are actually named
6419 something starting with __ and the normal name is an alias. */
6420 #if defined (__stub_swab) || defined (__stub___swab)
6423 char (*f) () = swab;
6437 rm -f conftest.
$ac_objext conftest
$ac_exeext
6438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6439 (eval $ac_link) 2>&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); } &&
6443 { ac_try
='test -s conftest$ac_exeext'
6444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6448 (exit $ac_status); }; }; then
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.
$ac_ext >&5
6456 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6458 echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
6459 echo "${ECHO_T}$ac_cv_func_swab" >&6
6460 if test $ac_cv_func_swab = yes; then
6465 if test "x$ac_cv_func_swab" = "xyes" ; then
6467 cat >>confdefs.h
<<\_ACEOF
6468 #define USE_SYSTEM_SWAB
6475 # Check whether --enable-memcheck or --disable-memcheck was given.
6476 if test "${enable_memcheck+set}" = set; then
6477 enableval
="$enable_memcheck"
6481 if test "$memcheck" = "yes" ; then
6482 cat >>confdefs.h
<<\_ACEOF
6483 #define PMEMORY_CHECK 1
6486 { echo "$as_me:$LINENO: Memory checking enabled" >&5
6487 echo "$as_me: Memory checking enabled" >&6;}
6492 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
6493 if test "${RESOLVER_LIBS:-unset}" != "unset" ; then
6494 ENDLDLIBS
="$ENDLDLIBS $RESOLVER_LIBS"
6498 if test "${OSTYPE}" != "Darwin" ; then
6499 if test ${HAS_LIBDL} = yes ; then
6500 ENDLDLIBS
="$ENDLDLIBS -ldl"
6509 # Find a good install program. We prefer a C program (faster),
6510 # so one script is as good as another. But avoid the broken or
6511 # incompatible versions:
6512 # SysV /etc/install, /usr/sbin/install
6513 # SunOS /usr/etc/install
6514 # IRIX /sbin/install
6516 # AmigaOS /C/install, which installs bootblocks on floppy discs
6517 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6518 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6519 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6520 # ./install, which can be erroneously created by make from ./install.sh.
6521 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6522 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6523 if test -z "$INSTALL"; then
6524 if test "${ac_cv_path_install+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6531 test -z "$as_dir" && as_dir
=.
6532 # Account for people who put trailing slashes in PATH elements.
6534 .
/ | .
// |
/cC
/* | \
6535 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6538 # OSF1 and SCO ODT 3.0 have their own names for install.
6539 # Don't use installbsd from OSF since it installs stuff as root
6541 for ac_prog
in ginstall scoinst
install; do
6542 for ac_exec_ext
in '' $ac_executable_extensions; do
6543 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6544 if test $ac_prog = install &&
6545 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6546 # AIX install. It has an incompatible calling convention.
6548 elif test $ac_prog = install &&
6549 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6550 # program-specific install script used by HP pwplus--don't use.
6553 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6565 if test "${ac_cv_path_install+set}" = set; then
6566 INSTALL
=$ac_cv_path_install
6568 # As a last resort, use the slow shell script. We don't cache a
6569 # path for INSTALL within a source directory, because that will
6570 # break other packages using the cache if that directory is
6571 # removed, or if the path is relative.
6572 INSTALL
=$ac_install_sh
6575 echo "$as_me:$LINENO: result: $INSTALL" >&5
6576 echo "${ECHO_T}$INSTALL" >&6
6578 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6579 # It thinks the first close brace ends the variable substitution.
6580 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6582 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6584 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6587 ac_config_files
="$ac_config_files make/ptbuildopts.mak"
6589 ac_config_files
="$ac_config_files make/ptlib-config"
6591 ac_config_files
="$ac_config_files Makefile"
6594 #AC_CONFIG_FILES(include/ptbuildopts.h.in)
6595 ac_config_headers
="$ac_config_headers include/ptbuildopts.h"
6598 cat >confcache
<<\_ACEOF
6599 # This file is a shell script that caches the results of configure
6600 # tests run on this system so they can be shared between configure
6601 # scripts and configure runs, see configure's option --config-cache.
6602 # It is not useful on other systems. If it contains results you don't
6603 # want to keep, you may remove or edit it.
6605 # config.status only pays attention to the cache file if you give it
6606 # the --recheck option to rerun configure.
6608 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6609 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6614 # The following way of writing the cache mishandles newlines in values,
6615 # but we know of no workaround that is simple, portable, and efficient.
6616 # So, don't put newlines in cache variables' values.
6617 # Ultrix sh set writes to stderr and can't be redirected directly,
6618 # and sets the high bit in the cache file unless we assign to the vars.
6621 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6623 # `set' does not quote correctly, so add quotes (double-quote
6624 # substitution turns \\\\ into \\, and sed turns \\ into \).
6627 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6630 # `set' quotes correctly as required by POSIX, so do not add quotes.
6632 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6641 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6643 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6644 if test -w $cache_file; then
6645 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6646 cat confcache
>$cache_file
6648 echo "not updating unwritable cache $cache_file"
6653 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6654 # Let make expand exec_prefix.
6655 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6657 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6658 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6659 # trailing colons and then remove the whole line if VPATH becomes empty
6660 # (actually we leave an empty line to preserve line numbers).
6661 if test "x$srcdir" = x.
; then
6662 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6663 s/:*\$(srcdir):*/:/;
6664 s/:*\${srcdir}:*/:/;
6666 s/^\([^=]*=[ ]*\):*/\1/;
6672 DEFS
=-DHAVE_CONFIG_H
6676 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6677 # 1. Remove the extension, and $U if already installed.
6678 ac_i
=`echo "$ac_i" |
6679 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6681 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6682 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6686 LTLIBOBJS
=$ac_ltlibobjs
6690 : ${CONFIG_STATUS=./config.status}
6691 ac_clean_files_save
=$ac_clean_files
6692 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6693 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6694 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6695 cat >$CONFIG_STATUS <<_ACEOF
6697 # Generated by $as_me.
6698 # Run this file to recreate the current configuration.
6699 # Compiler output produced by configure, useful for debugging
6700 # configure, is in config.log if it exists.
6705 SHELL=\${CONFIG_SHELL-$SHELL}
6708 cat >>$CONFIG_STATUS <<\_ACEOF
6709 ## --------------------- ##
6710 ## M4sh Initialization. ##
6711 ## --------------------- ##
6713 # Be Bourne compatible
6714 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6717 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6718 # is contrary to our usage. Disable this feature.
6719 alias -g '${1+"$@"}'='"$@"'
6720 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6724 # Support unset when possible.
6725 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6732 # Work around bugs in pre-3.0 UWIN ksh.
6733 $as_unset ENV MAIL MAILPATH
6740 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6741 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6742 LC_TELEPHONE LC_TIME
6744 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6745 eval $as_var=C
; export $as_var
6751 # Required to use basename.
6752 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6758 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6759 as_basename
=basename
6765 # Name of the executable.
6766 as_me
=`$as_basename "$0" ||
6767 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6768 X"$0" : 'X\(//\)$' \| \
6769 X"$0" : 'X\(/\)$' \| \
6770 . : '\(.\)' 2>/dev/null ||
6772 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6773 /^X\/\(\/\/\)$/{ s//\1/; q; }
6774 /^X\/\(\/\).*/{ s//\1/; q; }
6778 # PATH needs CR, and LINENO needs CR and PATH.
6779 # Avoid depending upon Character Ranges.
6780 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6781 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6782 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6783 as_cr_digits
='0123456789'
6784 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6786 # The user is always right.
6787 if test "${PATH_SEPARATOR+set}" != set; then
6788 echo "#! /bin/sh" >conf$$.sh
6789 echo "exit 0" >>conf$$.sh
6791 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6802 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6803 test "x$as_lineno_1" != "x$as_lineno_2" &&
6804 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6805 # Find who we are. Look in the path if we contain no path at all
6808 *[\\/]* ) as_myself
=$0 ;;
6809 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6813 test -z "$as_dir" && as_dir
=.
6814 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6819 # We did not find ourselves, most probably we were run as `sh COMMAND'
6820 # in which case we are not to be found in the path.
6821 if test "x$as_myself" = x
; then
6824 if test ! -f "$as_myself"; then
6825 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6826 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6827 { (exit 1); exit 1; }; }
6829 case $CONFIG_SHELL in
6831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6832 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6835 test -z "$as_dir" && as_dir
=.
6836 for as_base
in sh bash ksh sh5
; do
6839 if ("$as_dir/$as_base" -c '
6842 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6843 test "x$as_lineno_1" != "x$as_lineno_2" &&
6844 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6845 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6846 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6847 CONFIG_SHELL
=$as_dir/$as_base
6849 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6857 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6858 # uniformly replaced by the line number. The first 'sed' inserts a
6859 # line-number line before each line; the second 'sed' does the real
6860 # work. The second script uses 'N' to pair each line-number line
6861 # with the numbered line, and appends trailing '-' during
6862 # substitution so that $LINENO is not a special case at line end.
6863 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6864 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6865 sed '=' <$as_myself |
6870 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6873 s,^['$as_cr_digits']*\n,,
6875 chmod +x
$as_me.lineno ||
6876 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6877 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6878 { (exit 1); exit 1; }; }
6880 # Don't try to exec as it changes $[0], causing all sort of problems
6881 # (the dirname of $[0] is not the place where we might find the
6882 # original and so on. Autoconf is especially sensible to this).
6884 # Exit status is that of the last command.
6889 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6890 *c
*,-n*) ECHO_N
= ECHO_C
='
6892 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6893 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6896 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6902 rm -f conf$$ conf$$.exe conf$$.
file
6904 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6905 # We could just check for DJGPP; but this test a) works b) is more generic
6906 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6907 if test -f conf$$.exe
; then
6908 # Don't use ln at all; we don't have any links
6913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6918 rm -f conf$$ conf$$.exe conf$$.
file
6920 if mkdir
-p .
2>/dev
/null
; then
6926 as_executable_p
="test -f"
6928 # Sed expression to map a string onto a valid CPP name.
6929 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6931 # Sed expression to map a string onto a valid variable name.
6932 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6936 # We need space, tab and new line, in precisely that order.
6946 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6947 # report actual input values of CONFIG_FILES etc. instead of their
6948 # values after options handling. Logging --version etc. is OK.
6952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6953 ## Running $as_me. ##
6958 This file was extended by $as_me, which was
6959 generated by GNU Autoconf 2.57. Invocation command line was
6961 CONFIG_FILES = $CONFIG_FILES
6962 CONFIG_HEADERS = $CONFIG_HEADERS
6963 CONFIG_LINKS = $CONFIG_LINKS
6964 CONFIG_COMMANDS = $CONFIG_COMMANDS
6968 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6972 # Files that config.status was made for.
6973 if test -n "$ac_config_files"; then
6974 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6977 if test -n "$ac_config_headers"; then
6978 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6981 if test -n "$ac_config_links"; then
6982 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6985 if test -n "$ac_config_commands"; then
6986 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6989 cat >>$CONFIG_STATUS <<\_ACEOF
6992 \`$as_me' instantiates files from templates according to the
6993 current configuration.
6995 Usage: $0 [OPTIONS] [FILE]...
6997 -h, --help print this help, then exit
6998 -V, --version print version number, then exit
6999 -q, --quiet do not print progress messages
7000 -d, --debug don't remove temporary files
7001 --recheck update $as_me by reconfiguring in the same conditions
7002 --file=FILE[:TEMPLATE]
7003 instantiate the configuration file FILE
7004 --header=FILE[:TEMPLATE]
7005 instantiate the configuration header FILE
7007 Configuration files:
7010 Configuration headers:
7013 Report bugs to <bug-autoconf@gnu.org>."
7016 cat >>$CONFIG_STATUS <<_ACEOF
7019 configured by $0, generated by GNU Autoconf 2.57,
7020 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7022 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7023 Free Software Foundation, Inc.
7024 This config.status script is free software; the Free Software Foundation
7025 gives unlimited permission to copy, distribute and modify it."
7030 cat >>$CONFIG_STATUS <<\_ACEOF
7031 # If no file are specified by the user, then we need to provide default
7032 # value. By we need to know if files were specified by the user.
7038 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7039 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7047 *) # This is not an option, so the user has probably given explicit
7050 ac_need_defaults
=false
;;
7054 # Handling of the options.
7056 cat >>$CONFIG_STATUS <<\_ACEOF
7057 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7059 --version |
--vers* |
-V )
7060 echo "$ac_cs_version"; exit 0 ;;
7062 # Conflict between --help and --header
7063 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7064 Try \`$0 --help' for more information." >&5
7065 echo "$as_me: error: ambiguous option: $1
7066 Try \`$0 --help' for more information." >&2;}
7067 { (exit 1); exit 1; }; };;
7068 --help |
--hel |
-h )
7069 echo "$ac_cs_usage"; exit 0 ;;
7070 --debug |
--d* |
-d )
7072 --file |
--fil |
--fi |
--f )
7074 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7075 ac_need_defaults
=false
;;
7076 --header |
--heade |
--head |
--hea )
7078 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7079 ac_need_defaults
=false
;;
7080 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7081 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7085 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7086 Try \`$0 --help' for more information." >&5
7087 echo "$as_me: error: unrecognized option: $1
7088 Try \`$0 --help' for more information." >&2;}
7089 { (exit 1); exit 1; }; } ;;
7091 *) ac_config_targets
="$ac_config_targets $1" ;;
7097 ac_configure_extra_args
=
7099 if $ac_cs_silent; then
7101 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7105 cat >>$CONFIG_STATUS <<_ACEOF
7106 if \$ac_cs_recheck; then
7107 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7108 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7117 cat >>$CONFIG_STATUS <<\_ACEOF
7118 for ac_config_target
in $ac_config_targets
7120 case "$ac_config_target" in
7121 # Handling of arguments.
7122 "make/ptbuildopts.mak" ) CONFIG_FILES
="$CONFIG_FILES make/ptbuildopts.mak" ;;
7123 "make/ptlib-config" ) CONFIG_FILES
="$CONFIG_FILES make/ptlib-config" ;;
7124 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7125 "include/ptbuildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/ptbuildopts.h" ;;
7126 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7127 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7128 { (exit 1); exit 1; }; };;
7132 # If the user did not use the arguments to specify the items to instantiate,
7133 # then the envvar interface is used. Set only those that are not.
7134 # We use the long form for the default assignment because of an extremely
7135 # bizarre bug on SunOS 4.1.3.
7136 if $ac_need_defaults; then
7137 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7138 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7141 # Have a temporary directory for convenience. Make it in the build tree
7142 # simply because there is no reason to put it here, and in addition,
7143 # creating and moving files from /tmp can sometimes cause problems.
7144 # Create a temporary directory, and hook for its removal unless debugging.
7147 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7148 trap '{ (exit 1); exit 1; }' 1 2 13 15
7151 # Create a (secure) tmp directory for tmp files.
7154 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7155 test -n "$tmp" && test -d "$tmp"
7158 tmp
=.
/confstat$$
-$RANDOM
7159 (umask 077 && mkdir
$tmp)
7162 echo "$me: cannot create a temporary directory in ." >&2
7163 { (exit 1); exit 1; }
7168 cat >>$CONFIG_STATUS <<_ACEOF
7171 # CONFIG_FILES section.
7174 # No need to generate the scripts if there are no CONFIG_FILES.
7175 # This happens for instance when ./config.status config.h
7176 if test -n "\$CONFIG_FILES"; then
7177 # Protect against being on the right side of a sed subst in config.status.
7178 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7179 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7180 s,@SHELL@,$SHELL,;t t
7181 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7182 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7183 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7184 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7185 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7186 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7187 s,@exec_prefix@,$exec_prefix,;t t
7188 s,@prefix@,$prefix,;t t
7189 s,@program_transform_name@,$program_transform_name,;t t
7190 s,@bindir@,$bindir,;t t
7191 s,@sbindir@,$sbindir,;t t
7192 s,@libexecdir@,$libexecdir,;t t
7193 s,@datadir@,$datadir,;t t
7194 s,@sysconfdir@,$sysconfdir,;t t
7195 s,@sharedstatedir@,$sharedstatedir,;t t
7196 s,@localstatedir@,$localstatedir,;t t
7197 s,@libdir@,$libdir,;t t
7198 s,@includedir@,$includedir,;t t
7199 s,@oldincludedir@,$oldincludedir,;t t
7200 s,@infodir@,$infodir,;t t
7201 s,@mandir@,$mandir,;t t
7202 s,@build_alias@,$build_alias,;t t
7203 s,@host_alias@,$host_alias,;t t
7204 s,@target_alias@,$target_alias,;t t
7206 s,@ECHO_C@,$ECHO_C,;t t
7207 s,@ECHO_N@,$ECHO_N,;t t
7208 s,@ECHO_T@,$ECHO_T,;t t
7210 s,@subdirs@,$subdirs,;t t
7212 s,@CXXFLAGS@,$CXXFLAGS,;t t
7213 s,@LDFLAGS@,$LDFLAGS,;t t
7214 s,@CPPFLAGS@,$CPPFLAGS,;t t
7215 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7216 s,@EXEEXT@,$EXEEXT,;t t
7217 s,@OBJEXT@,$OBJEXT,;t t
7218 s,@PWLIBDIR@,$PWLIBDIR,;t t
7219 s,@PWINSTDIR@,$PWINSTDIR,;t t
7220 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7221 s,@LIBDIR@,$LIBDIR,;t t
7222 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
7223 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
7224 s,@BUILD_NUMBER@,$BUILD_NUMBER,;t t
7225 s,@PWLIB_VERSION@,$PWLIB_VERSION,;t t
7226 s,@build@,$build,;t t
7227 s,@build_cpu@,$build_cpu,;t t
7228 s,@build_vendor@,$build_vendor,;t t
7229 s,@build_os@,$build_os,;t t
7231 s,@host_cpu@,$host_cpu,;t t
7232 s,@host_vendor@,$host_vendor,;t t
7233 s,@host_os@,$host_os,;t t
7234 s,@target@,$target,;t t
7235 s,@target_cpu@,$target_cpu,;t t
7236 s,@target_vendor@,$target_vendor,;t t
7237 s,@target_os@,$target_os,;t t
7238 s,@MACHTYPE@,$MACHTYPE,;t t
7239 s,@OSTYPE@,$OSTYPE,;t t
7240 s,@OSRELEASE@,$OSRELEASE,;t t
7241 s,@TARGETDIR@,$TARGETDIR,;t t
7242 s,@SHAREDLIBEXT@,$SHAREDLIBEXT,;t t
7243 s,@CXXCPP@,$CXXCPP,;t t
7244 s,@EGREP@,$EGREP,;t t
7245 s,@HAS_REGEX@,$HAS_REGEX,;t t
7246 s,@HAS_PLUGINS@,$HAS_PLUGINS,;t t
7247 s,@HAS_SASL2@,$HAS_SASL2,;t t
7248 s,@HAS_SASL@,$HAS_SASL,;t t
7249 s,@HAS_OPENLDAP@,$HAS_OPENLDAP,;t t
7250 s,@HAS_OPENSSL@,$HAS_OPENSSL,;t t
7251 s,@P_STATIC_ENDLDLIBS@,$P_STATIC_ENDLDLIBS,;t t
7252 s,@P_STATIC_LDFLAGS@,$P_STATIC_LDFLAGS,;t t
7253 s,@HAS_EXPAT@,$HAS_EXPAT,;t t
7254 s,@HAS_IPV6@,$HAS_IPV6,;t t
7255 s,@HAS_SDL@,$HAS_SDL,;t t
7256 s,@HAS_VIDEO_CAPTURE@,$HAS_VIDEO_CAPTURE,;t t
7257 s,@HAS_ALSA@,$HAS_ALSA,;t t
7258 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7259 s,@STDCXXFLAGS@,$STDCXXFLAGS,;t t
7260 s,@OPTSTDCCFLAGS@,$OPTSTDCCFLAGS,;t t
7261 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7262 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7263 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7264 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7265 s,@LIBOBJS@,$LIBOBJS,;t t
7266 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7271 cat >>$CONFIG_STATUS <<\_ACEOF
7272 # Split the substitutions into bite-sized pieces for seds with
7273 # small command number limits, like on Digital OSF/1 and HP-UX.
7275 ac_sed_frag
=1 # Number of current file.
7276 ac_beg
=1 # First line for current file.
7277 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7280 while $ac_more_lines; do
7281 if test $ac_beg -gt 1; then
7282 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7284 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7286 if test ! -s $tmp/subs.frag
; then
7289 # The purpose of the label and of the branching condition is to
7290 # speed up the sed processing (if there are no `@' at all, there
7291 # is no need to browse any of the substitutions).
7292 # These are the two extra sed commands mentioned above.
7294 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7295 if test -z "$ac_sed_cmds"; then
7296 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7298 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7300 ac_sed_frag
=`expr $ac_sed_frag + 1`
7302 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7305 if test -z "$ac_sed_cmds"; then
7308 fi # test -n "$CONFIG_FILES"
7311 cat >>$CONFIG_STATUS <<\_ACEOF
7312 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7313 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7315 - |
*:- |
*:-:* ) # input from stdin
7317 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7318 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7319 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7320 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7321 * ) ac_file_in
=$ac_file.
in ;;
7324 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7325 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7326 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7327 X"$ac_file" : 'X\(//\)[^/]' \| \
7328 X"$ac_file" : 'X\(//\)$' \| \
7329 X"$ac_file" : 'X\(/\)' \| \
7330 . : '\(.\)' 2>/dev/null ||
7332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7333 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7334 /^X\(\/\/\)$/{ s//\1/; q; }
7335 /^X\(\/\).*/{ s//\1/; q; }
7337 { if $as_mkdir_p; then
7342 while test ! -d "$as_dir"; do
7343 as_dirs
="$as_dir $as_dirs"
7344 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7346 X"$as_dir" : 'X\(//\)[^/]' \| \
7347 X"$as_dir" : 'X\(//\)$' \| \
7348 X"$as_dir" : 'X\(/\)' \| \
7349 . : '\(.\)' 2>/dev/null ||
7351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7352 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7353 /^X\(\/\/\)$/{ s//\1/; q; }
7354 /^X\(\/\).*/{ s//\1/; q; }
7357 test ! -n "$as_dirs" || mkdir
$as_dirs
7358 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7359 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7360 { (exit 1); exit 1; }; }; }
7364 if test "$ac_dir" != .
; then
7365 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7366 # A "../" for each directory in $ac_dir_suffix.
7367 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7369 ac_dir_suffix
= ac_top_builddir
=
7373 .
) # No --srcdir option. We are building in place.
7375 if test -z "$ac_top_builddir"; then
7378 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7380 [\\/]* | ?
:[\\/]* ) # Absolute path.
7381 ac_srcdir
=$srcdir$ac_dir_suffix;
7382 ac_top_srcdir
=$srcdir ;;
7384 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7385 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7387 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7389 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7390 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7391 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7392 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7396 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7397 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7400 if test x
"$ac_file" != x-
; then
7401 { echo "$as_me:$LINENO: creating $ac_file" >&5
7402 echo "$as_me: creating $ac_file" >&6;}
7405 # Let's still pretend it is `configure' which instantiates (i.e., don't
7406 # use $as_me), people would be surprised to read:
7407 # /* config.h. Generated by config.status. */
7408 if test x
"$ac_file" = x-
; then
7411 configure_input
="$ac_file. "
7413 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7414 sed 's,.*/,,'` by configure."
7416 # First look for the input files in the build tree, otherwise in the
7418 ac_file_inputs
=`IFS=:
7419 for f in $ac_file_in; do
7421 -) echo $tmp/stdin ;;
7423 # Absolute (can't be DOS-style, as IFS=:)
7424 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7425 echo "$as_me: error: cannot find input file: $f" >&2;}
7426 { (exit 1); exit 1; }; }
7429 if test -f "$f"; then
7432 elif test -f "$srcdir/$f"; then
7437 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7438 echo "$as_me: error: cannot find input file: $f" >&2;}
7439 { (exit 1); exit 1; }; }
7442 done` ||
{ (exit 1); exit 1; }
7444 cat >>$CONFIG_STATUS <<_ACEOF
7448 cat >>$CONFIG_STATUS <<\_ACEOF
7450 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7451 s
,@configure_input@
,$configure_input,;t t
7452 s
,@srcdir@
,$ac_srcdir,;t t
7453 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7454 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7455 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7456 s
,@builddir@
,$ac_builddir,;t t
7457 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7458 s
,@top_builddir@
,$ac_top_builddir,;t t
7459 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7460 s
,@INSTALL@
,$ac_INSTALL,;t t
7461 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7463 if test x"$ac_file" != x-; then
7464 mv $tmp/out $ac_file
7470 # Run the commands associated with the file.
7472 make/ptlib-config ) chmod a+x make/ptlib-config ;;
7476 cat >>$CONFIG_STATUS <<\_ACEOF
7479 # CONFIG_HEADER section.
7482 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7483 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7485 # ac_d sets the value in "#define NAME VALUE" lines.
7486 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7487 ac_dB
='[ ].*$,\1#\2'
7490 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7491 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7492 ac_uB
='$,\1#\2define\3'
7496 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7497 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7499 - |
*:- |
*:-:* ) # input from stdin
7501 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7502 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7503 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7504 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7505 * ) ac_file_in
=$ac_file.
in ;;
7508 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7509 echo "$as_me: creating $ac_file" >&6;}
7511 # First look for the input files in the build tree, otherwise in the
7513 ac_file_inputs
=`IFS=:
7514 for f in $ac_file_in; do
7516 -) echo $tmp/stdin ;;
7518 # Absolute (can't be DOS-style, as IFS=:)
7519 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7520 echo "$as_me: error: cannot find input file: $f" >&2;}
7521 { (exit 1); exit 1; }; }
7524 if test -f "$f"; then
7527 elif test -f "$srcdir/$f"; then
7532 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7533 echo "$as_me: error: cannot find input file: $f" >&2;}
7534 { (exit 1); exit 1; }; }
7537 done` ||
{ (exit 1); exit 1; }
7538 # Remove the trailing spaces.
7539 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7543 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7544 # `conftest.undefs', that substitutes the proper values into
7545 # config.h.in to produce config.h. The first handles `#define'
7546 # templates, and the second `#undef' templates.
7547 # And first: Protect against being on the right side of a sed subst in
7548 # config.status. Protect against being in an unquoted here document
7550 rm -f conftest.defines conftest.undefs
7551 # Using a here document instead of a string reduces the quoting nightmare.
7552 # Putting comments in sed scripts is not portable.
7554 # `end' is used to avoid that the second main sed command (meant for
7555 # 0-ary CPP macros) applies to n-ary macro definitions.
7556 # See the Autoconf documentation for `clear'.
7557 cat >confdef2sed.
sed <<\_ACEOF
7562 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7564 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7567 # If some macros were called several times there might be several times
7568 # the same #defines, which is useless. Nevertheless, we may not want to
7569 # sort them, since we want the *last* AC-DEFINE to be honored.
7570 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7571 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7572 rm -f confdef2sed.sed
7574 # This sed command replaces #undef with comments. This is necessary, for
7575 # example, in the case of _POSIX_SOURCE, which is predefined and required
7576 # on some systems where configure will not decide to define it.
7577 cat >>conftest.undefs <<\_ACEOF
7578 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7581 # Break up conftest.defines because some shells have a limit on the size
7582 # of here documents, and old seds have small limits too (100 cmds).
7583 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7584 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7585 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7586 echo ' :' >>$CONFIG_STATUS
7588 while grep . conftest.defines >/dev/null
7590 # Write a limited-size here document to $tmp/defines.sed.
7591 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7592 # Speed up: don't consider the non `#define' lines.
7593 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7594 # Work around the forget-to-reset-the-flag bug.
7595 echo 't clr' >>$CONFIG_STATUS
7596 echo ': clr' >>$CONFIG_STATUS
7597 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7599 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7603 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7604 rm -f conftest.defines
7605 mv conftest.
tail conftest.defines
7607 rm -f conftest.defines
7608 echo ' fi # grep' >>$CONFIG_STATUS
7609 echo >>$CONFIG_STATUS
7611 # Break up conftest.undefs because some shells have a limit on the size
7612 # of here documents, and old seds have small limits too (100 cmds).
7613 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7615 while grep . conftest.undefs
>/dev
/null
7617 # Write a limited-size here document to $tmp/undefs.sed.
7618 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7619 # Speed up: don't consider the non
`#undef'
7620 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7621 # Work around the forget-to-reset-the-flag bug.
7622 echo 't clr' >>$CONFIG_STATUS
7623 echo ': clr' >>$CONFIG_STATUS
7624 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7626 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7630 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7631 rm -f conftest.undefs
7632 mv conftest.tail conftest.undefs
7634 rm -f conftest.undefs
7636 cat >>$CONFIG_STATUS <<\_ACEOF
7637 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7638 # use $as_me), people would be surprised to read:
7639 # /* config.h. Generated by config.status. */
7640 if test x
"$ac_file" = x-
; then
7641 echo "/* Generated by configure. */" >$tmp/config.h
7643 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7645 cat $tmp/in >>$tmp/config.h
7647 if test x
"$ac_file" != x-
; then
7648 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7649 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7650 echo "$as_me: $ac_file is unchanged" >&6;}
7652 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7653 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7654 X"$ac_file" : 'X\(//\)[^/]' \| \
7655 X"$ac_file" : 'X\(//\)$' \| \
7656 X"$ac_file" : 'X\(/\)' \| \
7657 . : '\(.\)' 2>/dev/null ||
7659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7660 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7661 /^X\(\/\/\)$/{ s//\1/; q; }
7662 /^X\(\/\).*/{ s//\1/; q; }
7664 { if $as_mkdir_p; then
7669 while test ! -d "$as_dir"; do
7670 as_dirs
="$as_dir $as_dirs"
7671 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7673 X"$as_dir" : 'X\(//\)[^/]' \| \
7674 X"$as_dir" : 'X\(//\)$' \| \
7675 X"$as_dir" : 'X\(/\)' \| \
7676 . : '\(.\)' 2>/dev/null ||
7678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7679 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7680 /^X\(\/\/\)$/{ s//\1/; q; }
7681 /^X\(\/\).*/{ s//\1/; q; }
7684 test ! -n "$as_dirs" || mkdir
$as_dirs
7685 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7686 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7687 { (exit 1); exit 1; }; }; }
7690 mv $tmp/config.h
$ac_file
7699 cat >>$CONFIG_STATUS <<\_ACEOF
7701 { (exit 0); exit 0; }
7703 chmod +x
$CONFIG_STATUS
7704 ac_clean_files
=$ac_clean_files_save
7707 # configure is writing to config.log, and then calls config.status.
7708 # config.status does its own redirection, appending to config.log.
7709 # Unfortunately, on DOS this fails, as config.log is still kept open
7710 # by configure, so config.status won't be able to write to it; its
7711 # output is simply discarded. So we exec the FD to /dev/null,
7712 # effectively closing config.log, so it can be properly (re)opened and
7713 # appended to by config.status. When coming back to configure, we
7714 # need to make the FD available again.
7715 if test "$no_create" != yes; then
7717 ac_config_status_args
=
7718 test "$silent" = yes &&
7719 ac_config_status_args
="$ac_config_status_args --quiet"
7721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7724 # would make configure fail if this is the last instruction.
7725 $ac_cs_success ||
{ (exit 1); exit 1; }
7729 # CONFIG_SUBDIRS section.
7731 if test "$no_recursion" != yes; then
7733 # Remove --cache-file and --srcdir arguments so they do not pile up.
7734 ac_sub_configure_args
=
7736 for ac_arg
in $ac_configure_args; do
7737 if test -n "$ac_prev"; then
7742 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7743 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7744 ac_prev
=cache_file
;;
7745 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7746 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7749 --config-cache |
-C)
7751 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7753 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7755 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7757 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7759 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7763 # Always prepend --prefix to ensure using the same prefix
7764 # in subdir configurations.
7765 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7768 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7770 # Do not complain, so a configure script can configure whichever
7771 # parts of a large source tree are present.
7772 test -d $srcdir/$ac_dir ||
continue
7774 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7775 echo "$as_me: configuring in $ac_dir" >&6;}
7776 { if $as_mkdir_p; then
7781 while test ! -d "$as_dir"; do
7782 as_dirs
="$as_dir $as_dirs"
7783 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7785 X"$as_dir" : 'X\(//\)[^/]' \| \
7786 X"$as_dir" : 'X\(//\)$' \| \
7787 X"$as_dir" : 'X\(/\)' \| \
7788 . : '\(.\)' 2>/dev/null ||
7790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7792 /^X\(\/\/\)$/{ s//\1/; q; }
7793 /^X\(\/\).*/{ s//\1/; q; }
7796 test ! -n "$as_dirs" || mkdir
$as_dirs
7797 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7798 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7799 { (exit 1); exit 1; }; }; }
7803 if test "$ac_dir" != .
; then
7804 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7805 # A "../" for each directory in $ac_dir_suffix.
7806 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7808 ac_dir_suffix
= ac_top_builddir
=
7812 .
) # No --srcdir option. We are building in place.
7814 if test -z "$ac_top_builddir"; then
7817 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7819 [\\/]* | ?
:[\\/]* ) # Absolute path.
7820 ac_srcdir
=$srcdir$ac_dir_suffix;
7821 ac_top_srcdir
=$srcdir ;;
7823 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7824 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7826 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7828 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7829 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7830 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7831 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7836 # Check for guested configure; otherwise get Cygnus style configure.
7837 if test -f $ac_srcdir/configure.gnu
; then
7838 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7839 elif test -f $ac_srcdir/configure
; then
7840 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7841 elif test -f $ac_srcdir/configure.
in; then
7842 ac_sub_configure
=$ac_configure
7844 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7845 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7849 # The recursion is here.
7850 if test -n "$ac_sub_configure"; then
7851 # Make the cache file name correct relative to the subdirectory.
7853 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7855 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7858 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7859 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7860 # The eval makes quoting arguments work.
7861 eval $ac_sub_configure $ac_sub_configure_args \
7862 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7863 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7864 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7865 { (exit 1); exit 1; }; }