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
861 Some influential environment variables:
862 CXX C++ compiler command
863 CXXFLAGS C++ compiler flags
864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
865 nonstandard directory <lib dir>
866 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
867 headers in a nonstandard directory <include dir>
868 CXXCPP C++ preprocessor
870 Use these variables to override the choices made by `configure' or to
help
871 it to
find libraries and programs with nonstandard names
/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
880 test -d $ac_dir ||
continue
883 if test "$ac_dir" != .
; then
884 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix
= ac_top_builddir
=
892 .
) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
899 [\\/]* | ?
:[\\/]* ) # Absolute path.
900 ac_srcdir
=$srcdir$ac_dir_suffix;
901 ac_top_srcdir
=$srcdir ;;
903 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
906 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
908 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
909 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
910 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
911 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
914 # Check for guested configure; otherwise get Cygnus style configure.
915 if test -f $ac_srcdir/configure.gnu
; then
917 $SHELL $ac_srcdir/configure.gnu
--help=recursive
918 elif test -f $ac_srcdir/configure
; then
920 $SHELL $ac_srcdir/configure
--help=recursive
921 elif test -f $ac_srcdir/configure.ac ||
922 test -f $ac_srcdir/configure.
in; then
926 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
932 test -n "$ac_init_help" && exit 0
933 if $ac_init_version; then
936 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
937 Free Software Foundation
, Inc.
938 This configure
script is free software
; the Free Software Foundation
939 gives unlimited permission to copy
, distribute and modify it.
945 This file contains any messages produced by compilers while
946 running configure, to aid debugging if configure makes a mistake.
948 It was created by $as_me, which was
949 generated by GNU Autoconf 2.57. Invocation command line was
960 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
961 uname -m = `(uname -m) 2>/dev/null || echo unknown`
962 uname -r = `(uname -r) 2>/dev/null || echo unknown`
963 uname -s = `(uname -s) 2>/dev/null || echo unknown`
964 uname -v = `(uname -v) 2>/dev/null || echo unknown`
966 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
967 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
969 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
970 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
971 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
972 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
973 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
974 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
975 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
983 test -z "$as_dir" && as_dir
=.
999 # Keep a trace of the command line.
1000 # Strip out --no-create and --no-recursion so they do not pile up.
1001 # Strip out --silent because we don't want to record it for future runs.
1002 # Also quote any args containing shell meta-characters.
1003 # Make two passes to allow for proper duplicate-argument suppression.
1008 ac_must_keep_next
=false
1014 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1015 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1016 |
-silent |
--silent |
--silen |
--sile |
--sil)
1018 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1019 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1022 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1024 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1025 if test $ac_must_keep_next = true
; then
1026 ac_must_keep_next
=false
# Got value, back to normal.
1029 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1030 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1031 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1032 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1033 case "$ac_configure_args0 " in
1034 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1037 -* ) ac_must_keep_next
=true
;;
1040 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1041 # Get rid of the leading space.
1047 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1048 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1050 # When interrupted or exit'd, cleanup temporary files, and complete
1051 # config.log. We remove comments because anyway the quotes in there
1052 # would cause problems or look ugly.
1053 # WARNING: Be sure not to use single quotes in there, as some shells,
1054 # such as our DU 5.0 friend, will then `close' the trap.
1055 trap 'exit_status=$?
1056 # Save into config.log some information that might help in debugging.
1061 ## ---------------- ##
1062 ## Cache variables. ##
1063 ## ---------------- ##
1066 # The following way of writing the cache mishandles newlines in values,
1069 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1072 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1073 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1084 ## ----------------- ##
1085 ## Output variables. ##
1086 ## ----------------- ##
1089 for ac_var in $ac_subst_vars
1091 eval ac_val=$`echo $ac_var`
1092 echo "$ac_var='"'"'$ac_val'"'"'"
1096 if test -n "$ac_subst_files"; then
1103 for ac_var in $ac_subst_files
1105 eval ac_val=$`echo $ac_var`
1106 echo "$ac_var='"'"'$ac_val'"'"'"
1111 if test -s confdefs.h; then
1118 sed "/^$/d" confdefs.h | sort
1121 test "$ac_signal" != 0 &&
1122 echo "$as_me: caught signal $ac_signal"
1123 echo "$as_me: exit $exit_status"
1125 rm -f core core.* *.core &&
1126 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1129 for ac_signal
in 1 2 13 15; do
1130 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1134 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1135 rm -rf conftest
* confdefs.h
1136 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1139 # Predefined preprocessor variables.
1141 cat >>confdefs.h
<<_ACEOF
1142 #define PACKAGE_NAME "$PACKAGE_NAME"
1146 cat >>confdefs.h
<<_ACEOF
1147 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1151 cat >>confdefs.h
<<_ACEOF
1152 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1156 cat >>confdefs.h
<<_ACEOF
1157 #define PACKAGE_STRING "$PACKAGE_STRING"
1161 cat >>confdefs.h
<<_ACEOF
1162 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1166 # Let the site file select an alternate cache file if it wants to.
1167 # Prefer explicitly selected file to automatically selected ones.
1168 if test -z "$CONFIG_SITE"; then
1169 if test "x$prefix" != xNONE
; then
1170 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1172 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1175 for ac_site_file
in $CONFIG_SITE; do
1176 if test -r "$ac_site_file"; then
1177 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1178 echo "$as_me: loading site script $ac_site_file" >&6;}
1179 sed 's/^/| /' "$ac_site_file" >&5
1184 if test -r "$cache_file"; then
1185 # Some versions of bash will fail to source /dev/null (special
1186 # files actually), so we avoid doing that.
1187 if test -f "$cache_file"; then
1188 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1189 echo "$as_me: loading cache $cache_file" >&6;}
1191 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1192 *) . .
/$cache_file;;
1196 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1197 echo "$as_me: creating cache $cache_file" >&6;}
1201 # Check that the precious variables saved in the cache have kept the same
1203 ac_cache_corrupted
=false
1204 for ac_var
in `(set) 2>&1 |
1205 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1206 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1207 eval ac_new_set
=\
$ac_env_${ac_var}_set
1208 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1209 eval ac_new_val
="\$ac_env_${ac_var}_value"
1210 case $ac_old_set,$ac_new_set in
1212 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1213 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1214 ac_cache_corrupted
=: ;;
1216 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1217 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1218 ac_cache_corrupted
=: ;;
1221 if test "x$ac_old_val" != "x$ac_new_val"; then
1222 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1223 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1224 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1225 echo "$as_me: former value: $ac_old_val" >&2;}
1226 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1227 echo "$as_me: current value: $ac_new_val" >&2;}
1228 ac_cache_corrupted
=:
1231 # Pass precious variables to config.status.
1232 if test "$ac_new_set" = set; then
1234 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1235 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1236 *) ac_arg
=$ac_var=$ac_new_val ;;
1238 case " $ac_configure_args " in
1239 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1240 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1244 if $ac_cache_corrupted; then
1245 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1246 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1247 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1248 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1249 { (exit 1); exit 1; }; }
1253 ac_cpp
='$CPP $CPPFLAGS'
1254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1278 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1279 if test -f $ac_dir/install-sh
; then
1281 ac_install_sh
="$ac_aux_dir/install-sh -c"
1283 elif test -f $ac_dir/install.sh
; then
1285 ac_install_sh
="$ac_aux_dir/install.sh -c"
1287 elif test -f $ac_dir/shtool
; then
1289 ac_install_sh
="$ac_aux_dir/shtool install -c"
1293 if test -z "$ac_aux_dir"; then
1294 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1295 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1296 { (exit 1); exit 1; }; }
1298 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1299 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1300 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1304 subdirs
="$subdirs plugins"
1308 ac_cpp
='$CXXCPP $CPPFLAGS'
1309 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1310 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1311 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1312 if test -n "$ac_tool_prefix"; then
1313 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1315 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1316 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1317 echo "$as_me:$LINENO: checking for $ac_word" >&5
1318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1319 if test "${ac_cv_prog_CXX+set}" = set; then
1320 echo $ECHO_N "(cached) $ECHO_C" >&6
1322 if test -n "$CXX"; then
1323 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1329 test -z "$as_dir" && as_dir
=.
1330 for ac_exec_ext
in '' $ac_executable_extensions; do
1331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1332 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1342 if test -n "$CXX"; then
1343 echo "$as_me:$LINENO: result: $CXX" >&5
1344 echo "${ECHO_T}$CXX" >&6
1346 echo "$as_me:$LINENO: result: no" >&5
1347 echo "${ECHO_T}no" >&6
1350 test -n "$CXX" && break
1353 if test -z "$CXX"; then
1355 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1357 # Extract the first word of "$ac_prog", so it can be a program name with args.
1358 set dummy
$ac_prog; ac_word
=$2
1359 echo "$as_me:$LINENO: checking for $ac_word" >&5
1360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1361 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1362 echo $ECHO_N "(cached) $ECHO_C" >&6
1364 if test -n "$ac_ct_CXX"; then
1365 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
1367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1371 test -z "$as_dir" && as_dir
=.
1372 for ac_exec_ext
in '' $ac_executable_extensions; do
1373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1374 ac_cv_prog_ac_ct_CXX
="$ac_prog"
1375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1383 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
1384 if test -n "$ac_ct_CXX"; then
1385 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1386 echo "${ECHO_T}$ac_ct_CXX" >&6
1388 echo "$as_me:$LINENO: result: no" >&5
1389 echo "${ECHO_T}no" >&6
1392 test -n "$ac_ct_CXX" && break
1394 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
1400 # Provide some information about the compiler.
1401 echo "$as_me:$LINENO:" \
1402 "checking for C++ compiler version" >&5
1403 ac_compiler
=`set X $ac_compile; echo $2`
1404 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1405 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1408 (exit $ac_status); }
1409 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1410 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1413 (exit $ac_status); }
1414 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1415 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1418 (exit $ac_status); }
1420 cat >conftest.
$ac_ext <<_ACEOF
1421 #line $LINENO "configure"
1424 cat confdefs.h
>>conftest.
$ac_ext
1425 cat >>conftest.
$ac_ext <<_ACEOF
1426 /* end confdefs.h. */
1436 ac_clean_files_save
=$ac_clean_files
1437 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1438 # Try to create an executable without -o first, disregard a.out.
1439 # It will help us diagnose broken compilers, and finding out an intuition
1441 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1442 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1443 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1444 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1445 (eval $ac_link_default) 2>&5
1447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1448 (exit $ac_status); }; then
1449 # Find the output, starting from the most likely. This scheme is
1450 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1453 # Be careful to initialize this variable, since it used to be cached.
1454 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1456 # b.out is created by i960 compilers.
1457 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1459 test -f "$ac_file" ||
continue
1461 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1464 # This is the source file.
1467 # We found the default executable, but exeext='' is most
1471 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1472 # FIXME: I believe we export ac_cv_exeext for Libtool,
1473 # but it would be cool to find out if it's true. Does anybody
1474 # maintain Libtool? --akim.
1482 echo "$as_me: failed program was:" >&5
1483 sed 's/^/| /' conftest.
$ac_ext >&5
1485 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1486 See \`config.log' for more details." >&5
1487 echo "$as_me: error: C++ compiler cannot create executables
1488 See \`config.log' for more details." >&2;}
1489 { (exit 77); exit 77; }; }
1492 ac_exeext
=$ac_cv_exeext
1493 echo "$as_me:$LINENO: result: $ac_file" >&5
1494 echo "${ECHO_T}$ac_file" >&6
1496 # Check the compiler produces executables we can run. If not, either
1497 # the compiler is broken, or we cross compile.
1498 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1499 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1500 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1501 # If not cross compiling, check that we can run a simple program.
1502 if test "$cross_compiling" != yes; then
1503 if { ac_try
='./$ac_file'
1504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1508 (exit $ac_status); }; }; then
1511 if test "$cross_compiling" = maybe
; then
1514 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1515 If you meant to cross compile, use \`--host'.
1516 See \`config.log' for more details." >&5
1517 echo "$as_me: error: cannot run C++ compiled programs.
1518 If you meant to cross compile, use \`--host'.
1519 See \`config.log' for more details." >&2;}
1520 { (exit 1); exit 1; }; }
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1527 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1528 ac_clean_files
=$ac_clean_files_save
1529 # Check the compiler produces executables we can run. If not, either
1530 # the compiler is broken, or we cross compile.
1531 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1532 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1533 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1534 echo "${ECHO_T}$cross_compiling" >&6
1536 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1537 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1539 (eval $ac_link) 2>&5
1541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1542 (exit $ac_status); }; then
1543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1545 # work properly (i.e., refer to `conftest.exe'), while it won't with
1547 for ac_file
in conftest.exe conftest conftest.
*; do
1548 test -f "$ac_file" ||
continue
1550 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1551 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1559 See \`config.log' for more details." >&5
1560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1561 See \`config.log' for more details." >&2;}
1562 { (exit 1); exit 1; }; }
1565 rm -f conftest
$ac_cv_exeext
1566 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1567 echo "${ECHO_T}$ac_cv_exeext" >&6
1569 rm -f conftest.
$ac_ext
1570 EXEEXT
=$ac_cv_exeext
1572 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1574 if test "${ac_cv_objext+set}" = set; then
1575 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 cat >conftest.
$ac_ext <<_ACEOF
1578 #line $LINENO "configure"
1581 cat confdefs.h
>>conftest.
$ac_ext
1582 cat >>conftest.
$ac_ext <<_ACEOF
1583 /* end confdefs.h. */
1593 rm -f conftest.o conftest.obj
1594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1595 (eval $ac_compile) 2>&5
1597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1598 (exit $ac_status); }; then
1599 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1601 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1602 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1607 echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.
$ac_ext >&5
1610 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1611 See \`config.log' for more details." >&5
1612 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1613 See \`config.log' for more details." >&2;}
1614 { (exit 1); exit 1; }; }
1617 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1619 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1620 echo "${ECHO_T}$ac_cv_objext" >&6
1621 OBJEXT
=$ac_cv_objext
1623 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1624 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 cat >conftest.
$ac_ext <<_ACEOF
1629 #line $LINENO "configure"
1632 cat confdefs.h
>>conftest.
$ac_ext
1633 cat >>conftest.
$ac_ext <<_ACEOF
1634 /* end confdefs.h. */
1647 rm -f conftest.
$ac_objext
1648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1649 (eval $ac_compile) 2>&5
1651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1652 (exit $ac_status); } &&
1653 { ac_try
='test -s conftest.$ac_objext'
1654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1658 (exit $ac_status); }; }; then
1661 echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.
$ac_ext >&5
1666 rm -f conftest.
$ac_objext conftest.
$ac_ext
1667 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1670 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1671 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1672 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1673 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1674 ac_save_CXXFLAGS
=$CXXFLAGS
1676 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1677 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1678 if test "${ac_cv_prog_cxx_g+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 cat >conftest.
$ac_ext <<_ACEOF
1682 #line $LINENO "configure"
1685 cat confdefs.h
>>conftest.
$ac_ext
1686 cat >>conftest.
$ac_ext <<_ACEOF
1687 /* end confdefs.h. */
1697 rm -f conftest.
$ac_objext
1698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1699 (eval $ac_compile) 2>&5
1701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1702 (exit $ac_status); } &&
1703 { ac_try
='test -s conftest.$ac_objext'
1704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1708 (exit $ac_status); }; }; then
1709 ac_cv_prog_cxx_g
=yes
1711 echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.
$ac_ext >&5
1716 rm -f conftest.
$ac_objext conftest.
$ac_ext
1718 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1719 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1720 if test "$ac_test_CXXFLAGS" = set; then
1721 CXXFLAGS
=$ac_save_CXXFLAGS
1722 elif test $ac_cv_prog_cxx_g = yes; then
1723 if test "$GXX" = yes; then
1729 if test "$GXX" = yes; then
1735 for ac_declaration
in \
1737 '#include <stdlib.h>' \
1738 'extern "C" void std::exit (int) throw (); using std::exit;' \
1739 'extern "C" void std::exit (int); using std::exit;' \
1740 'extern "C" void exit (int) throw ();' \
1741 'extern "C" void exit (int);' \
1744 cat >conftest.
$ac_ext <<_ACEOF
1745 #line $LINENO "configure"
1748 cat confdefs.h
>>conftest.
$ac_ext
1749 cat >>conftest.
$ac_ext <<_ACEOF
1750 /* end confdefs.h. */
1761 rm -f conftest.
$ac_objext
1762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1763 (eval $ac_compile) 2>&5
1765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1766 (exit $ac_status); } &&
1767 { ac_try
='test -s conftest.$ac_objext'
1768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1772 (exit $ac_status); }; }; then
1775 echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.
$ac_ext >&5
1780 rm -f conftest.
$ac_objext conftest.
$ac_ext
1781 cat >conftest.
$ac_ext <<_ACEOF
1782 #line $LINENO "configure"
1785 cat confdefs.h
>>conftest.
$ac_ext
1786 cat >>conftest.
$ac_ext <<_ACEOF
1787 /* end confdefs.h. */
1797 rm -f conftest.
$ac_objext
1798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1799 (eval $ac_compile) 2>&5
1801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1802 (exit $ac_status); } &&
1803 { ac_try
='test -s conftest.$ac_objext'
1804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1808 (exit $ac_status); }; }; then
1811 echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.
$ac_ext >&5
1815 rm -f conftest.
$ac_objext conftest.
$ac_ext
1818 if test -n "$ac_declaration"; then
1819 echo '#ifdef __cplusplus' >>confdefs.h
1820 echo $ac_declaration >>confdefs.h
1821 echo '#endif' >>confdefs.h
1825 ac_cpp
='$CPP $CPPFLAGS'
1826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1832 ac_cpp
='$CXXCPP $CPPFLAGS'
1833 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1843 if test "x$prefix" = "xNONE"; then
1844 INSTALLPREFIX
="/usr/local"
1846 INSTALLPREFIX
="${prefix}"
1856 MAJOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MAJOR_VERSION | cut -f3 -d' '`
1857 MINOR_VERSION
=`cat ${PWLIBDIR}/version.h | grep MINOR_VERSION | cut -f3 -d' '`
1858 BUILD_NUMBER
=`cat ${PWLIBDIR}/version.h | grep BUILD_NUMBER | cut -f3 -d' '`
1859 PWLIB_VERSION
="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
1864 MAJOR_VERSION
=$MAJOR_VERSION
1866 MINOR_VERSION
=$MINOR_VERSION
1868 BUILD_NUMBER
=$BUILD_NUMBER
1871 { echo "$as_me:$LINENO: PTLib version is ${PWLIB_VERSION}" >&5
1872 echo "$as_me: PTLib version is ${PWLIB_VERSION}" >&6;};
1875 cat >>confdefs.h
<<_ACEOF
1876 #define PWLIB_MAJOR $MAJOR_VERSION
1880 cat >>confdefs.h
<<_ACEOF
1881 #define PWLIB_MINOR $MINOR_VERSION
1885 cat >>confdefs.h
<<_ACEOF
1886 #define PWLIB_BUILD $BUILD_NUMBER
1890 cat >>confdefs.h
<<_ACEOF
1891 #define PWLIB_VERSION "$PWLIB_VERSION"
1896 # Make sure we can run config.sub.
1897 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1898 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1899 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1900 { (exit 1); exit 1; }; }
1902 echo "$as_me:$LINENO: checking build system type" >&5
1903 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1904 if test "${ac_cv_build+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 ac_cv_build_alias
=$build_alias
1908 test -z "$ac_cv_build_alias" &&
1909 ac_cv_build_alias
=`$ac_config_guess`
1910 test -z "$ac_cv_build_alias" &&
1911 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1912 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1913 { (exit 1); exit 1; }; }
1914 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1915 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1916 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1917 { (exit 1); exit 1; }; }
1920 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1921 echo "${ECHO_T}$ac_cv_build" >&6
1923 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1924 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1925 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1928 echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 ac_cv_host_alias
=$host_alias
1934 test -z "$ac_cv_host_alias" &&
1935 ac_cv_host_alias
=$ac_cv_build_alias
1936 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1938 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1942 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1943 echo "${ECHO_T}$ac_cv_host" >&6
1945 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1946 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1947 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1950 echo "$as_me:$LINENO: checking target system type" >&5
1951 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1952 if test "${ac_cv_target+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 ac_cv_target_alias
=$target_alias
1956 test "x$ac_cv_target_alias" = "x" &&
1957 ac_cv_target_alias
=$ac_cv_host_alias
1958 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1959 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1960 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1961 { (exit 1); exit 1; }; }
1964 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1965 echo "${ECHO_T}$ac_cv_target" >&6
1966 target
=$ac_cv_target
1967 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1968 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1969 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1972 # The aliases save the names the user supplied, while $host etc.
1973 # will get canonicalized.
1974 test -n "$target_alias" &&
1975 test "$program_prefix$program_suffix$program_transform_name" = \
1977 program_prefix
=${target_alias}-
1982 case "$target_os" in
1983 linux
*) OSTYPE
=linux
;
1984 OSRELEASE
="\"`uname -r`\"";
1986 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1989 freebsd
* ) OSTYPE
=FreeBSD
;
1990 OS_TAG
="P_FREEBSD" ;
1991 if test "x$OSRELEASE" = "x"; then
1992 OSRELEASE
="`sysctl -n kern.osreldate`" ;
1994 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1997 openbsd
* ) OSTYPE
=OpenBSD
;
1998 OS_TAG
="P_OPENBSD" ;
1999 OSRELEASE
="`sysctl -n kern.osrevision`" ;
2000 ENDLDLIBS
="-lossaudio" ;
2001 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2004 netbsd
* ) OSTYPE
=NetBSD
;
2006 OSRELEASE
="`/sbin/sysctl -n kern.osrevision`" ;
2007 ENDLDLIBS
="-lossaudio" ;
2008 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2011 solaris
* | sunos
* ) OSTYPE
=solaris
;
2012 OS_TAG
="P_SOLARIS" ;
2013 OSRELEASE
=`uname -r | sed "s/5\.//g"` ;
2014 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2017 darwin
* ) OSTYPE
=Darwin
;
2019 OSRELEASE
="`uname -r | sed 's/\.//g'`" ;
2020 SHAREDLIBEXT
="dylib";
2021 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2024 beos
*) OSTYPE
=beos
;
2026 OSRELEASE
=`uname -r` ;
2027 STDCCFLAGS
="$STDCCFLAGS -D__BEOS__"
2030 * ) OSTYPE
="$target_os" ;
2031 OS_TAG
="P_UNKNOWN_OS" ;
2032 OSRELEASE
="\"${OSTYPE}_`uname -r`\"" ;
2033 { echo "$as_me:$LINENO: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&5
2034 echo "$as_me: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&2;} ;
2040 case "$target_cpu" in
2041 x86 | i686 | i586 | i486 | i386
) MACHTYPE
=x86
2044 x86_64
) MACHTYPE
=x86_64
;
2049 alpha | alphaev56 | alphaev6 | alphaev67 | alphaev7
) MACHTYPE
=alpha
;
2053 sparc
) MACHTYPE
=sparc
;
2056 powerpc
) MACHTYPE
=ppc
;
2059 ppc
) MACHTYPE
=ppc
;
2062 powerpc64
) MACHTYPE
=ppc64
;
2067 ppc64
) MACHTYPE
=ppc64
;
2072 ia64
) MACHTYPE
=ia64
;
2076 s390x
) MACHTYPE
=s390x
;
2081 s390
) MACHTYPE
=s390
;
2084 * ) MACHTYPE
=$target_cpu ;
2085 { echo "$as_me:$LINENO: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
2086 echo "$as_me: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&2;} ;;
2089 { echo "$as_me:$LINENO: OSTYPE set to $OSTYPE" >&5
2090 echo "$as_me: OSTYPE set to $OSTYPE" >&6;};
2091 { echo "$as_me:$LINENO: OSRELEASE set to $OSRELEASE" >&5
2092 echo "$as_me: OSRELEASE set to $OSRELEASE" >&6;};
2093 { echo "$as_me:$LINENO: MACHTYPE set to $MACHTYPE" >&5
2094 echo "$as_me: MACHTYPE set to $MACHTYPE" >&6;};
2100 OSRELEASE
=$OSRELEASE
2102 TARGETDIR
=$TARGETDIR
2105 cat >>confdefs.h
<<_ACEOF
2106 #define $OS_TAG $OSRELEASE
2111 cat >>confdefs.h
<<\_ACEOF
2112 #define PHAS_TEMPLATES 1
2116 if test "x$P_64BIT" != "x" ; then
2118 cat >>confdefs.h
<<\_ACEOF
2124 if test ${OSTYPE} != beos
; then
2126 cat >>confdefs.h
<<\_ACEOF
2127 #define P_PTHREADS 1
2133 if test "x${SHAREDLIBEXT}" = "x" ; then
2136 SHAREDLIBEXT
=$SHAREDLIBEXT
2139 cat >>confdefs.h
<<\_ACEOF
2140 #define P_SHAREDLIBEXT $SHAREDLIBEXT
2147 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2148 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2149 if test "${ac_cv_c_bigendian+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 # See if sys/param.h defines the BYTE_ORDER macro.
2153 cat >conftest.
$ac_ext <<_ACEOF
2154 #line $LINENO "configure"
2157 cat confdefs.h
>>conftest.
$ac_ext
2158 cat >>conftest.
$ac_ext <<_ACEOF
2159 /* end confdefs.h. */
2160 #include <sys/types.h>
2161 #include <sys/param.h>
2166 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2174 rm -f conftest.
$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>&5
2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179 (exit $ac_status); } &&
2180 { ac_try
='test -s conftest.$ac_objext'
2181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185 (exit $ac_status); }; }; then
2186 # It does; now see whether it defined to BIG_ENDIAN or not.
2187 cat >conftest.
$ac_ext <<_ACEOF
2188 #line $LINENO "configure"
2191 cat confdefs.h
>>conftest.
$ac_ext
2192 cat >>conftest.
$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2194 #include <sys/types.h>
2195 #include <sys/param.h>
2200 #if BYTE_ORDER != BIG_ENDIAN
2208 rm -f conftest.
$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); } &&
2214 { ac_try
='test -s conftest.$ac_objext'
2215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2219 (exit $ac_status); }; }; then
2220 ac_cv_c_bigendian
=yes
2222 echo "$as_me: failed program was:" >&5
2223 sed 's/^/| /' conftest.
$ac_ext >&5
2225 ac_cv_c_bigendian
=no
2227 rm -f conftest.
$ac_objext conftest.
$ac_ext
2229 echo "$as_me: failed program was:" >&5
2230 sed 's/^/| /' conftest.
$ac_ext >&5
2232 # It does not; compile a test program.
2233 if test "$cross_compiling" = yes; then
2234 # try to guess the endianness by grepping values into an object file
2235 ac_cv_c_bigendian
=unknown
2236 cat >conftest.
$ac_ext <<_ACEOF
2237 #line $LINENO "configure"
2240 cat confdefs.h
>>conftest.
$ac_ext
2241 cat >>conftest.
$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2243 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2244 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2245 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2246 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2247 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2248 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2252 _ascii (); _ebcdic ();
2257 rm -f conftest.
$ac_objext
2258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2259 (eval $ac_compile) 2>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try
='test -s conftest.$ac_objext'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; }; then
2269 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2270 ac_cv_c_bigendian
=yes
2272 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2273 if test "$ac_cv_c_bigendian" = unknown
; then
2274 ac_cv_c_bigendian
=no
2276 # finding both strings is unlikely to happen, but who knows?
2277 ac_cv_c_bigendian
=unknown
2281 echo "$as_me: failed program was:" >&5
2282 sed 's/^/| /' conftest.
$ac_ext >&5
2285 rm -f conftest.
$ac_objext conftest.
$ac_ext
2287 cat >conftest.
$ac_ext <<_ACEOF
2288 #line $LINENO "configure"
2291 cat confdefs.h
>>conftest.
$ac_ext
2292 cat >>conftest.
$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2297 /* Are we little or big endian? From Harbison&Steele. */
2301 char c[sizeof (long)];
2304 exit (u.c[sizeof (long) - 1] == 1);
2307 rm -f conftest
$ac_exeext
2308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2309 (eval $ac_link) 2>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 ac_cv_c_bigendian
=no
2320 echo "$as_me: program exited with status $ac_status" >&5
2321 echo "$as_me: failed program was:" >&5
2322 sed 's/^/| /' conftest.
$ac_ext >&5
2325 ac_cv_c_bigendian
=yes
2327 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2330 rm -f conftest.
$ac_objext conftest.
$ac_ext
2332 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2333 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2334 case $ac_cv_c_bigendian in
2337 cat >>confdefs.h
<<\_ACEOF
2338 #define WORDS_BIGENDIAN 1
2344 { { echo "$as_me:$LINENO: error: unknown endianness
2345 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2346 echo "$as_me: error: unknown endianness
2347 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2348 { (exit 1); exit 1; }; } ;;
2351 if test ${ac_cv_c_bigendian} = yes ; then
2352 PBYTE_ORDER
=PBIG_ENDIAN
2354 PBYTE_ORDER
=PLITTLE_ENDIAN
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PBYTE_ORDER $PBYTE_ORDER
2364 ac_cpp
='$CXXCPP $CPPFLAGS'
2365 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2366 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2367 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2370 echo "$as_me:$LINENO: checking if linker accepts -felide-constructors" >&5
2371 echo $ECHO_N "checking if linker accepts -felide-constructors... $ECHO_C" >&6
2372 cat >conftest.
$ac_ext <<_ACEOF
2373 int main(int ac,char **av) { return 0; }
2375 $CXX $CXXFLAGS -felide-constructors conftest.cc
> /dev
/null
2>&1
2376 if test $?
= 0 ; then
2377 echo "$as_me:$LINENO: result: yes" >&5
2378 echo "${ECHO_T}yes" >&6
2379 STDCXXFLAGS
="$STDCXXFLAGS -felide-constructors"
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2385 echo "$as_me:$LINENO: checking if linker accepts -Wreorder" >&5
2386 echo $ECHO_N "checking if linker accepts -Wreorder... $ECHO_C" >&6
2387 cat >conftest.
$ac_ext <<_ACEOF
2388 int main(int ac,char **av) { return 0; }
2390 $STDCXX $CXXFLAGS -Wreorder conftest.cc
> /dev
/null
2>&1
2391 if test $?
= 0 ; then
2392 echo "$as_me:$LINENO: result: yes" >&5
2393 echo "${ECHO_T}yes" >&6
2394 STDCXXFLAGS
="$STDCXXFLAGS -Wreorder"
2396 echo "$as_me:$LINENO: result: no" >&5
2397 echo "${ECHO_T}no" >&6
2400 # AC_MSG_CHECKING(if linker accepts -Woverloaded-virtual)
2401 # AC_LANG_CONFTEST([[int main(int ac,char **av) { return 0; }]])
2402 # $CXX $CFLAGS -Woverloaded-virtual conftest.cc > /dev/null 2>&1
2403 # if test $? = 0 ; then
2404 # AC_MSG_RESULT(yes)
2405 # STDCCFLAGS="$STDCCFLAGS -Woverloaded-virtual"
2410 echo "$as_me:$LINENO: checking if compiler uses RTTI by default" >&5
2411 echo $ECHO_N "checking if compiler uses RTTI by default... $ECHO_C" >&6
2412 cat >conftest.
$ac_ext <<_ACEOF
2415 int main(int ac,char **av)
2420 virtual void fred() { }
2428 A * p = dynamic_cast<A *>(&t);
2433 rm -f conftest.
$ac_objext
2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2435 (eval $ac_compile) 2>&5
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); } &&
2439 { ac_try
='test -s conftest.$ac_objext'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2447 echo "$as_me: failed program was:" >&5
2448 sed 's/^/| /' conftest.
$ac_ext >&5
2452 rm -f conftest.
$ac_objext conftest.
$ac_ext
2453 if test "$DEFAULT_RTTI" = "1" ; then
2454 echo "$as_me:$LINENO: result: yes" >&5
2455 echo "${ECHO_T}yes" >&6
2457 echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6
2459 STDCXXFLAGS
="$STDCCFLAGS -rtti"
2464 echo "$as_me:$LINENO: checking if linker accepts --gc-sections" >&5
2465 echo $ECHO_N "checking if linker accepts --gc-sections... $ECHO_C" >&6
2466 cat >conftest.
$ac_ext <<_ACEOF
2467 int main(int ac,char **av) { return 0; }
2469 $CXX $CFLAGS -Wl,--gc-sections conftest.cc
> /dev
/null
2>&1
2470 if test $?
= 0 ; then
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2474 echo "$as_me:$LINENO: checking if compiler accepts -ffunction-sections" >&5
2475 echo $ECHO_N "checking if compiler accepts -ffunction-sections... $ECHO_C" >&6
2476 cat >conftest.
$ac_ext <<_ACEOF
2477 int main(int ac,char **av) { return 0; }
2479 $CXX $CFLAGS -ffunction-sections -c conftest.cc
> /dev
/null
2>&1
2480 if test $?
= 0 ; then
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2483 STDCCFLAGS
="$STDCCFLAGS -ffunction-sections"
2486 echo "$as_me:$LINENO: result: no" >&5
2487 echo "${ECHO_T}no" >&6
2490 echo "$as_me:$LINENO: checking if compiler accepts -fdata-sections" >&5
2491 echo $ECHO_N "checking if compiler accepts -fdata-sections... $ECHO_C" >&6
2492 cat >conftest.
$ac_ext <<_ACEOF
2493 int main(int ac,char **av) { return 0; }
2495 $CXX $CFLAGS -fdata-sections -c conftest.cc
> /dev
/null
2>&1
2496 if test $?
= 0 ; then
2497 echo "$as_me:$LINENO: result: yes" >&5
2498 echo "${ECHO_T}yes" >&6
2499 STDCCFLAGS
="$STDCCFLAGS -fdata-sections"
2502 echo "$as_me:$LINENO: result: no" >&5
2503 echo "${ECHO_T}no" >&6
2507 if test $GCSECTIONS = 1; then
2508 if test "${OSTYPE}" != "Darwin" ; then
2509 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -Wl,--gc-sections"
2514 echo "$as_me:$LINENO: result: no" >&5
2515 echo "${ECHO_T}no" >&6
2519 ac_cpp
='$CXXCPP $CPPFLAGS'
2520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2526 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
2527 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
2528 if test "${ac_cv_c_long_double+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 cat >conftest.
$ac_ext <<_ACEOF
2532 #line $LINENO "configure"
2535 cat confdefs.h
>>conftest.
$ac_ext
2536 cat >>conftest.
$ac_ext <<_ACEOF
2537 /* end confdefs.h. */
2539 long double foo = 0.0;
2543 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
2544 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
2545 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
2552 rm -f conftest.
$ac_objext
2553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2554 (eval $ac_compile) 2>&5
2556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557 (exit $ac_status); } &&
2558 { ac_try
='test -s conftest.$ac_objext'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; }; then
2564 ac_cv_c_long_double
=yes
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2569 ac_cv_c_long_double
=no
2571 rm -f conftest.
$ac_objext conftest.
$ac_ext
2573 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
2574 echo "${ECHO_T}$ac_cv_c_long_double" >&6
2575 if test $ac_cv_c_long_double = yes; then
2577 cat >>confdefs.h
<<\_ACEOF
2578 #define HAVE_LONG_DOUBLE 1
2583 if test $ac_cv_c_long_double != yes ; then
2585 cat >>confdefs.h
<<\_ACEOF
2586 #define PNO_LONG_DOUBLE
2591 echo "$as_me:$LINENO: checking if readdir_r has 2 parms" >&5
2592 echo $ECHO_N "checking if readdir_r has 2 parms... $ECHO_C" >&6
2593 cat >conftest.
$ac_ext <<_ACEOF
2594 #line $LINENO "configure"
2597 cat confdefs.h
>>conftest.
$ac_ext
2598 cat >>conftest.
$ac_ext <<_ACEOF
2599 /* end confdefs.h. */
2600 #define _POSIX_PTHREAD_SEMANTICS
2605 DIR *s; struct dirent * e; readdir_r(s, e);
2610 rm -f conftest.
$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); } &&
2616 { ac_try
='test -s conftest.$ac_objext'
2617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; }; then
2622 P_HAS_POSIX_READDIR_R
=2
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.
$ac_ext >&5
2627 P_HAS_POSIX_READDIR_R
=0
2629 rm -f conftest.
$ac_objext conftest.
$ac_ext
2630 if test ${P_HAS_POSIX_READDIR_R} = 2 ; then
2631 echo "$as_me:$LINENO: result: yes" >&5
2632 echo "${ECHO_T}yes" >&6
2634 echo "$as_me:$LINENO: result: no" >&5
2635 echo "${ECHO_T}no" >&6
2636 echo "$as_me:$LINENO: checking if readdir_r has 3 parms" >&5
2637 echo $ECHO_N "checking if readdir_r has 3 parms... $ECHO_C" >&6
2638 cat >conftest.
$ac_ext <<_ACEOF
2639 #line $LINENO "configure"
2642 cat confdefs.h
>>conftest.
$ac_ext
2643 cat >>conftest.
$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2649 DIR *s; struct dirent * e; struct dirent * p; readdir_r(s, e, &p);
2654 rm -f conftest.
$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try
='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2666 P_HAS_POSIX_READDIR_R
=3
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2671 P_HAS_POSIX_READDIR_R
=0
2673 rm -f conftest.
$ac_objext conftest.
$ac_ext
2674 if test ${P_HAS_POSIX_READDIR_R} = 3 ; then
2675 echo "$as_me:$LINENO: result: yes" >&5
2676 echo "${ECHO_T}yes" >&6
2678 echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6
2682 cat >>confdefs.h
<<_ACEOF
2683 #define P_HAS_POSIX_READDIR_R ${P_HAS_POSIX_READDIR_R}
2689 echo "$as_me:$LINENO: checking if using STL streams" >&5
2690 echo $ECHO_N "checking if using STL streams... $ECHO_C" >&6
2691 cat >conftest.
$ac_ext <<_ACEOF
2692 #line $LINENO "configure"
2695 cat confdefs.h
>>conftest.
$ac_ext
2696 cat >>conftest.
$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2702 int v = (int)std::ios_base::seekdir();
2707 rm -f conftest.
$ac_objext
2708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2709 (eval $ac_compile) 2>&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); } &&
2713 { ac_try
='test -s conftest.$ac_objext'
2714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); }; }; then
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.
$ac_ext >&5
2725 rm -f conftest.
$ac_objext conftest.
$ac_ext
2726 if test ${P_HAS_STL_STREAMS} = 1 ; then
2727 echo "$as_me:$LINENO: result: yes" >&5
2728 echo "${ECHO_T}yes" >&6
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2733 cat >>confdefs.h
<<_ACEOF
2734 #define P_HAS_STL_STREAMS ${P_HAS_STL_STREAMS}
2740 P_NEEDS_GNU_CXX_NAMESPACE
=0
2741 echo "$as_me:$LINENO: checking if atomic integer available" >&5
2742 echo $ECHO_N "checking if atomic integer available... $ECHO_C" >&6
2743 cat >conftest.
$ac_ext <<_ACEOF
2744 #line $LINENO "configure"
2747 cat confdefs.h
>>conftest.
$ac_ext
2748 cat >>conftest.
$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2750 #include <bits/atomicity.h>
2759 rm -f conftest.
$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try
='test -s conftest.$ac_objext'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2773 echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.
$ac_ext >&5
2777 rm -f conftest.
$ac_objext conftest.
$ac_ext
2778 if test ${P_HAS_ATOMIC_INT} = 1 ; then
2779 echo "$as_me:$LINENO: result: yes" >&5
2780 echo "${ECHO_T}yes" >&6
2781 echo "$as_me:$LINENO: checking if __exchange_and_add is in __gnu_cxx namespace" >&5
2782 echo $ECHO_N "checking if __exchange_and_add is in __gnu_cxx namespace... $ECHO_C" >&6
2783 cat >conftest.
$ac_ext <<_ACEOF
2784 #line $LINENO "configure"
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2790 #include <bits/atomicity.h>
2794 _Atomic_word val; __gnu_cxx::__exchange_and_add(&val, 1)
2799 rm -f conftest.
$ac_objext
2800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2801 (eval $ac_compile) 2>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } &&
2805 { ac_try
='test -s conftest.$ac_objext'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; }; then
2811 P_NEEDS_GNU_CXX_NAMESPACE
=1
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2817 rm -f conftest.
$ac_objext conftest.
$ac_ext
2818 if test ${P_NEEDS_GNU_CXX_NAMESPACE} = 1 ; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2829 cat >>confdefs.h
<<_ACEOF
2830 #define P_HAS_ATOMIC_INT ${P_HAS_ATOMIC_INT}
2833 cat >>confdefs.h
<<_ACEOF
2834 #define P_NEEDS_GNU_CXX_NAMESPACE ${P_NEEDS_GNU_CXX_NAMESPACE}
2840 if test ${OSTYPE} != Darwin
; then
2841 cat >conftest.
$ac_ext <<_ACEOF
2842 #line $LINENO "configure"
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2848 #include <semaphore.h>
2852 sem_t *s; sem_init(s, 0, 0);
2857 rm -f conftest.
$ac_objext
2858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859 (eval $ac_compile) 2>&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } &&
2863 { ac_try
='test -s conftest.$ac_objext'
2864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }; }; then
2871 echo "$as_me: failed program was:" >&5
2872 sed 's/^/| /' conftest.
$ac_ext >&5
2875 rm -f conftest.
$ac_objext conftest.
$ac_ext
2876 echo "$as_me:$LINENO: checking if Unix semaphores are available" >&5
2877 echo $ECHO_N "checking if Unix semaphores are available... $ECHO_C" >&6
2878 if test "${P_HAS_SEMAPHORES}x" != "x" ; then
2879 cat >>confdefs.h
<<\_ACEOF
2880 #define P_HAS_SEMAPHORES 1
2883 echo "$as_me:$LINENO: result: yes" >&5
2884 echo "${ECHO_T}yes" >&6
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2888 { echo "$as_me:$LINENO: WARNING: This host does not support semaphores which are essential" >&5
2889 echo "$as_me: WARNING: This host does not support semaphores which are essential" >&2;}
2890 { echo "$as_me:$LINENO: WARNING: to implement 'critical sections'. This feature was added" >&5
2891 echo "$as_me: WARNING: to implement 'critical sections'. This feature was added" >&2;}
2892 { echo "$as_me:$LINENO: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&5
2893 echo "$as_me: WARNING: in PWLib 1.7.0 and improves the stability of multithreaded" >&2;}
2894 { echo "$as_me:$LINENO: WARNING: programs. This feature has been disabled for this host" >&5
2895 echo "$as_me: WARNING: programs. This feature has been disabled for this host" >&2;}
2902 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
2903 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
2904 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 ac_check_lib_save_LIBS
=$LIBS
2908 LIBS
="-lpthread $LIBS"
2909 cat >conftest.
$ac_ext <<_ACEOF
2910 #line $LINENO "configure"
2913 cat confdefs.h
>>conftest.
$ac_ext
2914 cat >>conftest.
$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2917 /* Override any gcc2 internal prototype to avoid an error. */
2921 /* We use char because int might match the return type of a gcc2
2922 builtin and then its argument prototype would still apply. */
2923 char pthread_create ();
2932 rm -f conftest.
$ac_objext conftest
$ac_exeext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2934 (eval $ac_link) 2>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } &&
2938 { ac_try
='test -s conftest$ac_exeext'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2944 ac_cv_lib_pthread_pthread_create
=yes
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.
$ac_ext >&5
2949 ac_cv_lib_pthread_pthread_create
=no
2951 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2952 LIBS
=$ac_check_lib_save_LIBS
2954 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
2955 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
2956 if test $ac_cv_lib_pthread_pthread_create = yes; then
2962 if test ${HAS_PTHREADS} = yes ; then
2963 ENDLDLIBS
="$ENDLDLIBS -lpthread"
2964 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT"
2966 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
2967 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
2968 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
2969 echo $ECHO_N "(cached) $ECHO_C" >&6
2971 ac_check_lib_save_LIBS
=$LIBS
2973 cat >conftest.
$ac_ext <<_ACEOF
2974 #line $LINENO "configure"
2977 cat confdefs.h
>>conftest.
$ac_ext
2978 cat >>conftest.
$ac_ext <<_ACEOF
2979 /* end confdefs.h. */
2981 /* Override any gcc2 internal prototype to avoid an error. */
2985 /* We use char because int might match the return type of a gcc2
2986 builtin and then its argument prototype would still apply. */
2987 char pthread_create ();
2996 rm -f conftest.
$ac_objext conftest
$ac_exeext
2997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2998 (eval $ac_link) 2>&5
3000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3001 (exit $ac_status); } &&
3002 { ac_try
='test -s conftest$ac_exeext'
3003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }; }; then
3008 ac_cv_lib_c_r_pthread_create
=yes
3010 echo "$as_me: failed program was:" >&5
3011 sed 's/^/| /' conftest.
$ac_ext >&5
3013 ac_cv_lib_c_r_pthread_create
=no
3015 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3016 LIBS
=$ac_check_lib_save_LIBS
3018 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
3019 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
3020 if test $ac_cv_lib_c_r_pthread_create = yes; then
3026 if test ${HAS_PTHREADS} = yes ; then
3027 ENDLDLIBS
="$ENDLDLIBS -pthread"
3028 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
3033 if test ${HAS_PTHREADS} != yes ; then
3034 { { echo "$as_me:$LINENO: error: must have pthreads!" >&5
3035 echo "$as_me: error: must have pthreads!" >&2;}
3036 { (exit 1); exit 1; }; }
3040 if test ${HAS_PTHREADS} = yes ; then
3041 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock in -lpthread" >&5
3042 echo $ECHO_N "checking for pthread_mutex_timedlock in -lpthread... $ECHO_C" >&6
3043 if test "${ac_cv_lib_pthread_pthread_mutex_timedlock+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 ac_check_lib_save_LIBS
=$LIBS
3047 LIBS
="-lpthread $LIBS"
3048 cat >conftest.
$ac_ext <<_ACEOF
3049 #line $LINENO "configure"
3052 cat confdefs.h
>>conftest.
$ac_ext
3053 cat >>conftest.
$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3056 /* Override any gcc2 internal prototype to avoid an error. */
3060 /* We use char because int might match the return type of a gcc2
3061 builtin and then its argument prototype would still apply. */
3062 char pthread_mutex_timedlock ();
3066 pthread_mutex_timedlock ();
3071 rm -f conftest.
$ac_objext conftest
$ac_exeext
3072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3073 (eval $ac_link) 2>&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 { ac_try
='test -s conftest$ac_exeext'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; }; then
3083 ac_cv_lib_pthread_pthread_mutex_timedlock
=yes
3085 echo "$as_me: failed program was:" >&5
3086 sed 's/^/| /' conftest.
$ac_ext >&5
3088 ac_cv_lib_pthread_pthread_mutex_timedlock
=no
3090 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3091 LIBS
=$ac_check_lib_save_LIBS
3093 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_mutex_timedlock" >&5
3094 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_mutex_timedlock" >&6
3095 if test $ac_cv_lib_pthread_pthread_mutex_timedlock = yes; then
3096 HAS_PTHREADS_XPG6
=yes
3098 HAS_PTHREADS_XPG6
=no
3101 if test ${HAS_PTHREADS_XPG6} = yes ; then
3103 cat >>confdefs.h
<<\_ACEOF
3104 #define P_PTHREADS_XPG6 1
3109 echo "$as_me:$LINENO: checking for sem_timedwait in -lpthread" >&5
3110 echo $ECHO_N "checking for sem_timedwait in -lpthread... $ECHO_C" >&6
3111 if test "${ac_cv_lib_pthread_sem_timedwait+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 ac_check_lib_save_LIBS
=$LIBS
3115 LIBS
="-lpthread $LIBS"
3116 cat >conftest.
$ac_ext <<_ACEOF
3117 #line $LINENO "configure"
3120 cat confdefs.h
>>conftest.
$ac_ext
3121 cat >>conftest.
$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3124 /* Override any gcc2 internal prototype to avoid an error. */
3128 /* We use char because int might match the return type of a gcc2
3129 builtin and then its argument prototype would still apply. */
3130 char sem_timedwait ();
3139 rm -f conftest.
$ac_objext conftest
$ac_exeext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3141 (eval $ac_link) 2>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try
='test -s conftest$ac_exeext'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; }; then
3151 ac_cv_lib_pthread_sem_timedwait
=yes
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.
$ac_ext >&5
3156 ac_cv_lib_pthread_sem_timedwait
=no
3158 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3159 LIBS
=$ac_check_lib_save_LIBS
3161 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_sem_timedwait" >&5
3162 echo "${ECHO_T}$ac_cv_lib_pthread_sem_timedwait" >&6
3163 if test $ac_cv_lib_pthread_sem_timedwait = yes; then
3164 HAS_SEMAPHORES_XPG6
=yes
3166 HAS_SEMAPHORES_XPG6
=no
3169 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
3170 echo "$as_me:$LINENO: checking if sem_timedwait is compilable" >&5
3171 echo $ECHO_N "checking if sem_timedwait is compilable... $ECHO_C" >&6
3172 cat >conftest.
$ac_ext <<_ACEOF
3173 #line $LINENO "configure"
3176 cat confdefs.h
>>conftest.
$ac_ext
3177 cat >>conftest.
$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3179 #include <semaphore.h>
3183 sem_t *s; const struct timespec * t; sem_timedwait(s, t);
3188 rm -f conftest.
$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try
='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 HAS_SEMAPHORES_XPG6
=yes
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.
$ac_ext >&5
3205 HAS_SEMAPHORES_XPG6
=no
3207 rm -f conftest.
$ac_objext conftest.
$ac_ext
3208 if test ${HAS_SEMAPHORES_XPG6} = yes ; then
3210 cat >>confdefs.h
<<\_ACEOF
3211 #define P_HAS_SEMAPHORES_XPG6 1
3214 echo "$as_me:$LINENO: result: yes" >&5
3215 echo "${ECHO_T}yes" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3223 P_HAS_RECURSIVE_MUTEX
=0
3224 echo "$as_me:$LINENO: checking if recursive mutexes are available" >&5
3225 echo $ECHO_N "checking if recursive mutexes are available... $ECHO_C" >&6
3226 cat >conftest.
$ac_ext <<_ACEOF
3227 #line $LINENO "configure"
3230 cat confdefs.h
>>conftest.
$ac_ext
3231 cat >>conftest.
$ac_ext <<_ACEOF
3232 /* end confdefs.h. */
3233 #include <pthread.h>
3237 pthread_mutexattr_t attr; pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
3242 rm -f conftest.
$ac_objext
3243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3244 (eval $ac_compile) 2>&5
3246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247 (exit $ac_status); } &&
3248 { ac_try
='test -s conftest.$ac_objext'
3249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253 (exit $ac_status); }; }; then
3254 P_HAS_RECURSIVE_MUTEX
=1
3256 echo "$as_me: failed program was:" >&5
3257 sed 's/^/| /' conftest.
$ac_ext >&5
3260 rm -f conftest.
$ac_objext conftest.
$ac_ext
3261 if test ${P_HAS_RECURSIVE_MUTEX} = 1 ; then
3262 echo "$as_me:$LINENO: result: yes" >&5
3263 echo "${ECHO_T}yes" >&6
3265 echo "$as_me:$LINENO: result: no" >&5
3266 echo "${ECHO_T}no" >&6
3268 cat >>confdefs.h
<<_ACEOF
3269 #define P_HAS_RECURSIVE_MUTEX ${P_HAS_RECURSIVE_MUTEX}
3276 ac_cpp
='$CXXCPP $CPPFLAGS'
3277 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3278 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3279 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3280 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3281 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3282 if test -z "$CXXCPP"; then
3283 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3286 # Double quotes because CXXCPP needs to be expanded
3287 for CXXCPP
in "$CXX -E" "/lib/cpp"
3290 for ac_cxx_preproc_warn_flag
in '' yes
3292 # Use a header file that comes with gcc, so configuring glibc
3293 # with a fresh cross-compiler works.
3294 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3295 # <limits.h> exists even on freestanding compilers.
3296 # On the NeXT, cc -E runs the code through the compiler's parser,
3297 # not just through cpp. "Syntax error" is here to catch this case.
3298 cat >conftest.
$ac_ext <<_ACEOF
3299 #line $LINENO "configure"
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3306 # include <limits.h>
3308 # include <assert.h>
3312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3315 grep -v '^ *+' conftest.er1
>conftest.err
3317 cat conftest.err
>&5
3318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3319 (exit $ac_status); } >/dev
/null
; then
3320 if test -s conftest.err
; then
3321 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3328 if test -z "$ac_cpp_err"; then
3331 echo "$as_me: failed program was:" >&5
3332 sed 's/^/| /' conftest.
$ac_ext >&5
3334 # Broken: fails on valid input.
3337 rm -f conftest.err conftest.
$ac_ext
3339 # OK, works on sane cases. Now check whether non-existent headers
3340 # can be detected and how.
3341 cat >conftest.
$ac_ext <<_ACEOF
3342 #line $LINENO "configure"
3345 cat confdefs.h
>>conftest.
$ac_ext
3346 cat >>conftest.
$ac_ext <<_ACEOF
3347 /* end confdefs.h. */
3348 #include <ac_nonexistent.h>
3350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3351 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3353 grep -v '^ *+' conftest.er1
>conftest.err
3355 cat conftest.err
>&5
3356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } >/dev
/null
; then
3358 if test -s conftest.err
; then
3359 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3366 if test -z "$ac_cpp_err"; then
3367 # Broken: success on invalid input.
3370 echo "$as_me: failed program was:" >&5
3371 sed 's/^/| /' conftest.
$ac_ext >&5
3373 # Passes both tests.
3377 rm -f conftest.err conftest.
$ac_ext
3380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3381 rm -f conftest.err conftest.
$ac_ext
3382 if $ac_preproc_ok; then
3387 ac_cv_prog_CXXCPP
=$CXXCPP
3390 CXXCPP
=$ac_cv_prog_CXXCPP
3392 ac_cv_prog_CXXCPP
=$CXXCPP
3394 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3395 echo "${ECHO_T}$CXXCPP" >&6
3397 for ac_cxx_preproc_warn_flag
in '' yes
3399 # Use a header file that comes with gcc, so configuring glibc
3400 # with a fresh cross-compiler works.
3401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3402 # <limits.h> exists even on freestanding compilers.
3403 # On the NeXT, cc -E runs the code through the compiler's parser,
3404 # not just through cpp. "Syntax error" is here to catch this case.
3405 cat >conftest.
$ac_ext <<_ACEOF
3406 #line $LINENO "configure"
3409 cat confdefs.h
>>conftest.
$ac_ext
3410 cat >>conftest.
$ac_ext <<_ACEOF
3411 /* end confdefs.h. */
3413 # include <limits.h>
3415 # include <assert.h>
3419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3422 grep -v '^ *+' conftest.er1
>conftest.err
3424 cat conftest.err
>&5
3425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426 (exit $ac_status); } >/dev
/null
; then
3427 if test -s conftest.err
; then
3428 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3435 if test -z "$ac_cpp_err"; then
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.
$ac_ext >&5
3441 # Broken: fails on valid input.
3444 rm -f conftest.err conftest.
$ac_ext
3446 # OK, works on sane cases. Now check whether non-existent headers
3447 # can be detected and how.
3448 cat >conftest.
$ac_ext <<_ACEOF
3449 #line $LINENO "configure"
3452 cat confdefs.h
>>conftest.
$ac_ext
3453 cat >>conftest.
$ac_ext <<_ACEOF
3454 /* end confdefs.h. */
3455 #include <ac_nonexistent.h>
3457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3458 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3460 grep -v '^ *+' conftest.er1
>conftest.err
3462 cat conftest.err
>&5
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); } >/dev
/null
; then
3465 if test -s conftest.err
; then
3466 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3473 if test -z "$ac_cpp_err"; then
3474 # Broken: success on invalid input.
3477 echo "$as_me: failed program was:" >&5
3478 sed 's/^/| /' conftest.
$ac_ext >&5
3480 # Passes both tests.
3484 rm -f conftest.err conftest.
$ac_ext
3487 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3488 rm -f conftest.err conftest.
$ac_ext
3489 if $ac_preproc_ok; then
3492 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3493 See \`config.log' for more details." >&5
3494 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3495 See \`config.log' for more details." >&2;}
3496 { (exit 1); exit 1; }; }
3500 ac_cpp
='$CXXCPP $CPPFLAGS'
3501 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3506 echo "$as_me:$LINENO: checking for egrep" >&5
3507 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3508 if test "${ac_cv_prog_egrep+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3512 then ac_cv_prog_egrep
='grep -E'
3513 else ac_cv_prog_egrep
='egrep'
3516 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3517 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3518 EGREP
=$ac_cv_prog_egrep
3521 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3522 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3523 if test "${ac_cv_header_stdc+set}" = set; then
3524 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 cat >conftest.
$ac_ext <<_ACEOF
3527 #line $LINENO "configure"
3530 cat confdefs.h
>>conftest.
$ac_ext
3531 cat >>conftest.
$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3546 rm -f conftest.
$ac_objext
3547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3548 (eval $ac_compile) 2>&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); } &&
3552 { ac_try
='test -s conftest.$ac_objext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3558 ac_cv_header_stdc
=yes
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 ac_cv_header_stdc
=no
3565 rm -f conftest.
$ac_objext conftest.
$ac_ext
3567 if test $ac_cv_header_stdc = yes; then
3568 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3569 cat >conftest.
$ac_ext <<_ACEOF
3570 #line $LINENO "configure"
3573 cat confdefs.h
>>conftest.
$ac_ext
3574 cat >>conftest.
$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3580 $EGREP "memchr" >/dev
/null
2>&1; then
3583 ac_cv_header_stdc
=no
3589 if test $ac_cv_header_stdc = yes; then
3590 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3591 cat >conftest.
$ac_ext <<_ACEOF
3592 #line $LINENO "configure"
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3602 $EGREP "free" >/dev
/null
2>&1; then
3605 ac_cv_header_stdc
=no
3611 if test $ac_cv_header_stdc = yes; then
3612 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3613 if test "$cross_compiling" = yes; then
3616 cat >conftest.
$ac_ext <<_ACEOF
3617 #line $LINENO "configure"
3620 cat confdefs.h
>>conftest.
$ac_ext
3621 cat >>conftest.
$ac_ext <<_ACEOF
3622 /* end confdefs.h. */
3624 #if ((' ' & 0x0FF) == 0x020)
3625 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3626 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3628 # define ISLOWER(c) \
3629 (('a' <= (c) && (c) <= 'i') \
3630 || ('j' <= (c) && (c) <= 'r') \
3631 || ('s' <= (c) && (c) <= 'z'))
3632 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3635 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3640 for (i = 0; i < 256; i++)
3641 if (XOR (islower (i), ISLOWER (i))
3642 || toupper (i) != TOUPPER (i))
3647 rm -f conftest
$ac_exeext
3648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3649 (eval $ac_link) 2>&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); }; }; then
3660 echo "$as_me: program exited with status $ac_status" >&5
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.
$ac_ext >&5
3665 ac_cv_header_stdc
=no
3667 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3671 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3672 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3673 if test $ac_cv_header_stdc = yes; then
3675 cat >>confdefs.h
<<\_ACEOF
3676 #define STDC_HEADERS 1
3681 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3691 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3692 inttypes.h stdint.h unistd.h
3694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3695 echo "$as_me:$LINENO: checking for $ac_header" >&5
3696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 cat >conftest.
$ac_ext <<_ACEOF
3701 #line $LINENO "configure"
3704 cat confdefs.h
>>conftest.
$ac_ext
3705 cat >>conftest.
$ac_ext <<_ACEOF
3706 /* end confdefs.h. */
3707 $ac_includes_default
3709 #include <$ac_header>
3711 rm -f conftest.
$ac_objext
3712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3713 (eval $ac_compile) 2>&5
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); } &&
3717 { ac_try
='test -s conftest.$ac_objext'
3718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); }; }; then
3723 eval "$as_ac_Header=yes"
3725 echo "$as_me: failed program was:" >&5
3726 sed 's/^/| /' conftest.
$ac_ext >&5
3728 eval "$as_ac_Header=no"
3730 rm -f conftest.
$ac_objext conftest.
$ac_ext
3732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3735 cat >>confdefs.h
<<_ACEOF
3736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3745 for ac_header
in regex.h
3747 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3749 echo "$as_me:$LINENO: checking for $ac_header" >&5
3750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3752 echo $ECHO_N "(cached) $ECHO_C" >&6
3754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3757 # Is the header compilable?
3758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3760 cat >conftest.
$ac_ext <<_ACEOF
3761 #line $LINENO "configure"
3764 cat confdefs.h
>>conftest.
$ac_ext
3765 cat >>conftest.
$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3767 $ac_includes_default
3768 #include <$ac_header>
3770 rm -f conftest.
$ac_objext
3771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3772 (eval $ac_compile) 2>&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } &&
3776 { ac_try
='test -s conftest.$ac_objext'
3777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3781 (exit $ac_status); }; }; then
3782 ac_header_compiler
=yes
3784 echo "$as_me: failed program was:" >&5
3785 sed 's/^/| /' conftest.
$ac_ext >&5
3787 ac_header_compiler
=no
3789 rm -f conftest.
$ac_objext conftest.
$ac_ext
3790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3791 echo "${ECHO_T}$ac_header_compiler" >&6
3793 # Is the header present?
3794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3796 cat >conftest.
$ac_ext <<_ACEOF
3797 #line $LINENO "configure"
3800 cat confdefs.h
>>conftest.
$ac_ext
3801 cat >>conftest.
$ac_ext <<_ACEOF
3802 /* end confdefs.h. */
3803 #include <$ac_header>
3805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3806 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3808 grep -v '^ *+' conftest.er1
>conftest.err
3810 cat conftest.err
>&5
3811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3812 (exit $ac_status); } >/dev
/null
; then
3813 if test -s conftest.err
; then
3814 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3821 if test -z "$ac_cpp_err"; then
3822 ac_header_preproc
=yes
3824 echo "$as_me: failed program was:" >&5
3825 sed 's/^/| /' conftest.
$ac_ext >&5
3827 ac_header_preproc
=no
3829 rm -f conftest.err conftest.
$ac_ext
3830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3831 echo "${ECHO_T}$ac_header_preproc" >&6
3833 # So? What about this header?
3834 case $ac_header_compiler:$ac_header_preproc in
3836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3842 ## ------------------------------------ ##
3843 ## Report this to bug-autoconf@gnu.org. ##
3844 ## ------------------------------------ ##
3847 sed "s/^/$as_me: WARNING: /" >&2
3850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3858 ## ------------------------------------ ##
3859 ## Report this to bug-autoconf@gnu.org. ##
3860 ## ------------------------------------ ##
3863 sed "s/^/$as_me: WARNING: /" >&2
3866 echo "$as_me:$LINENO: checking for $ac_header" >&5
3867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3869 echo $ECHO_N "(cached) $ECHO_C" >&6
3871 eval "$as_ac_Header=$ac_header_preproc"
3873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3878 cat >>confdefs.h
<<_ACEOF
3879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3887 # Check whether --enable-internalregex or --disable-internalregex was given.
3888 if test "${enable_internalregex+set}" = set; then
3889 enableval
="$enable_internalregex"
3890 internalregex
=$enableval
3892 if test "$internalregex" = "yes" ; then
3893 { echo "$as_me:$LINENO: Forcing use of internal regex library" >&5
3894 echo "$as_me: Forcing use of internal regex library" >&6;}
3896 if test "$HAS_REGEX" = "yes" ; then
3897 echo "$as_me:$LINENO: checking for regcomp" >&5
3898 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
3899 if test "${ac_cv_func_regcomp+set}" = set; then
3900 echo $ECHO_N "(cached) $ECHO_C" >&6
3902 cat >conftest.
$ac_ext <<_ACEOF
3903 #line $LINENO "configure"
3906 cat confdefs.h
>>conftest.
$ac_ext
3907 cat >>conftest.
$ac_ext <<_ACEOF
3908 /* end confdefs.h. */
3909 /* System header to define __stub macros and hopefully few prototypes,
3910 which can conflict with char regcomp (); below.
3911 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3912 <limits.h> exists even on freestanding compilers. */
3914 # include <limits.h>
3916 # include <assert.h>
3918 /* Override any gcc2 internal prototype to avoid an error. */
3923 /* We use char because int might match the return type of a gcc2
3924 builtin and then its argument prototype would still apply. */
3926 /* The GNU C library defines this for functions which it implements
3927 to always fail with ENOSYS. Some functions are actually named
3928 something starting with __ and the normal name is an alias. */
3929 #if defined (__stub_regcomp) || defined (__stub___regcomp)
3932 char (*f) () = regcomp;
3941 return f != regcomp;
3946 rm -f conftest.
$ac_objext conftest
$ac_exeext
3947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3948 (eval $ac_link) 2>&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); } &&
3952 { ac_try
='test -s conftest$ac_exeext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3958 ac_cv_func_regcomp
=yes
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.
$ac_ext >&5
3963 ac_cv_func_regcomp
=no
3965 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3967 echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
3968 echo "${ECHO_T}$ac_cv_func_regcomp" >&6
3969 if test $ac_cv_func_regcomp = yes; then
3973 if test "$HAS_REGEX" = "yes" ; then
3977 cat >>confdefs.h
<<\_ACEOF
3991 if test ${OSTYPE} = beos
; then
3994 cat >>confdefs.h
<<\_ACEOF
3995 #define P_DYNALINK 1
3998 elif test ${OSTYPE} = Darwin
; then
4001 cat >>confdefs.h
<<\_ACEOF
4002 #define P_DYNALINK 1
4007 for ac_header
in dlfcn.h
4009 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4011 echo "$as_me:$LINENO: checking for $ac_header" >&5
4012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4019 # Is the header compilable?
4020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4022 cat >conftest.
$ac_ext <<_ACEOF
4023 #line $LINENO "configure"
4026 cat confdefs.h
>>conftest.
$ac_ext
4027 cat >>conftest.
$ac_ext <<_ACEOF
4028 /* end confdefs.h. */
4029 $ac_includes_default
4030 #include <$ac_header>
4032 rm -f conftest.
$ac_objext
4033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4034 (eval $ac_compile) 2>&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); } &&
4038 { ac_try
='test -s conftest.$ac_objext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4044 ac_header_compiler
=yes
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.
$ac_ext >&5
4049 ac_header_compiler
=no
4051 rm -f conftest.
$ac_objext conftest.
$ac_ext
4052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4053 echo "${ECHO_T}$ac_header_compiler" >&6
4055 # Is the header present?
4056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4058 cat >conftest.
$ac_ext <<_ACEOF
4059 #line $LINENO "configure"
4062 cat confdefs.h
>>conftest.
$ac_ext
4063 cat >>conftest.
$ac_ext <<_ACEOF
4064 /* end confdefs.h. */
4065 #include <$ac_header>
4067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4068 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4070 grep -v '^ *+' conftest.er1
>conftest.err
4072 cat conftest.err
>&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); } >/dev
/null
; then
4075 if test -s conftest.err
; then
4076 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4083 if test -z "$ac_cpp_err"; then
4084 ac_header_preproc
=yes
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.
$ac_ext >&5
4089 ac_header_preproc
=no
4091 rm -f conftest.err conftest.
$ac_ext
4092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4093 echo "${ECHO_T}$ac_header_preproc" >&6
4095 # So? What about this header?
4096 case $ac_header_compiler:$ac_header_preproc in
4098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4104 ## ------------------------------------ ##
4105 ## Report this to bug-autoconf@gnu.org. ##
4106 ## ------------------------------------ ##
4109 sed "s/^/$as_me: WARNING: /" >&2
4112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4116 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4117 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4120 ## ------------------------------------ ##
4121 ## Report this to bug-autoconf@gnu.org. ##
4122 ## ------------------------------------ ##
4125 sed "s/^/$as_me: WARNING: /" >&2
4128 echo "$as_me:$LINENO: checking for $ac_header" >&5
4129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 eval "$as_ac_Header=$ac_header_preproc"
4135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4140 cat >>confdefs.h
<<_ACEOF
4141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4150 if test "$HAS_DLFCN" = yes ; then
4151 echo "$as_me:$LINENO: checking if dlopen is available" >&5
4152 echo $ECHO_N "checking if dlopen is available... $ECHO_C" >&6
4153 cat >conftest.
$ac_ext <<_ACEOF
4154 #line $LINENO "configure"
4157 cat confdefs.h
>>conftest.
$ac_ext
4158 cat >>conftest.
$ac_ext <<_ACEOF
4159 /* end confdefs.h. */
4164 void * p = dlopen("lib", 0);
4169 rm -f conftest.
$ac_objext
4170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4171 (eval $ac_compile) 2>&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); } &&
4175 { ac_try
='test -s conftest.$ac_objext'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4188 rm -f conftest.
$ac_objext conftest.
$ac_ext
4189 if test "$HAS_DLOPEN" = no
; then
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4193 echo "$as_me:$LINENO: result: yes" >&5
4194 echo "${ECHO_T}yes" >&6
4197 cat >>confdefs.h
<<\_ACEOF
4198 #define P_DYNALINK 1
4201 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4202 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4203 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 ac_check_lib_save_LIBS
=$LIBS
4208 cat >conftest.
$ac_ext <<_ACEOF
4209 #line $LINENO "configure"
4212 cat confdefs.h
>>conftest.
$ac_ext
4213 cat >>conftest.
$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4216 /* Override any gcc2 internal prototype to avoid an error. */
4220 /* We use char because int might match the return type of a gcc2
4221 builtin and then its argument prototype would still apply. */
4231 rm -f conftest.
$ac_objext conftest
$ac_exeext
4232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4233 (eval $ac_link) 2>&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } &&
4237 { ac_try
='test -s conftest$ac_exeext'
4238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242 (exit $ac_status); }; }; then
4243 ac_cv_lib_dl_dlopen
=yes
4245 echo "$as_me: failed program was:" >&5
4246 sed 's/^/| /' conftest.
$ac_ext >&5
4248 ac_cv_lib_dl_dlopen
=no
4250 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4251 LIBS
=$ac_check_lib_save_LIBS
4253 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4254 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4255 if test $ac_cv_lib_dl_dlopen = yes; then
4266 echo "$as_me:$LINENO: checking if plugins support needs to be compiled" >&5
4267 echo $ECHO_N "checking if plugins support needs to be compiled... $ECHO_C" >&6
4268 # Check whether --enable-plugins or --disable-plugins was given.
4269 if test "${enable_plugins+set}" = set; then
4270 enableval
="$enable_plugins"
4275 if test "${plugins}" = "no" ; then
4276 echo "$as_me:$LINENO: result: no" >&5
4277 echo "${ECHO_T}no" >&6
4278 elif test "${P_DYNALINK:-unset}" = "unset" ; then
4279 echo "$as_me:$LINENO: result: plugins disabled as dlopen not available" >&5
4280 echo "${ECHO_T}plugins disabled as dlopen not available" >&6
4282 echo "$as_me:$LINENO: result: plugins enabled" >&5
4283 echo "${ECHO_T}plugins enabled" >&6
4286 cat >>confdefs.h
<<\_ACEOF
4287 #define P_HAS_PLUGINS 1
4294 if test "x$LIB64" != "x" ; then
4296 cat >>confdefs.h
<<_ACEOF
4297 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib64/pwlib"
4302 cat >>confdefs.h
<<_ACEOF
4303 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib"
4310 # Check whether --enable-resolver or --disable-resolver was given.
4311 if test "${enable_resolver+set}" = set; then
4312 enableval
="$enable_resolver"
4316 if test "$resolver" = "no" ; then
4317 cat >>confdefs.h
<<\_ACEOF
4322 echo "$as_me:$LINENO: checking for res_search" >&5
4323 echo $ECHO_N "checking for res_search... $ECHO_C" >&6
4324 if test "${ac_cv_func_res_search+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4327 cat >conftest.
$ac_ext <<_ACEOF
4328 #line $LINENO "configure"
4331 cat confdefs.h
>>conftest.
$ac_ext
4332 cat >>conftest.
$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4334 /* System header to define __stub macros and hopefully few prototypes,
4335 which can conflict with char res_search (); below.
4336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4337 <limits.h> exists even on freestanding compilers. */
4339 # include <limits.h>
4341 # include <assert.h>
4343 /* Override any gcc2 internal prototype to avoid an error. */
4348 /* We use char because int might match the return type of a gcc2
4349 builtin and then its argument prototype would still apply. */
4351 /* The GNU C library defines this for functions which it implements
4352 to always fail with ENOSYS. Some functions are actually named
4353 something starting with __ and the normal name is an alias. */
4354 #if defined (__stub_res_search) || defined (__stub___res_search)
4357 char (*f) () = res_search;
4366 return f != res_search;
4371 rm -f conftest.
$ac_objext conftest
$ac_exeext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4373 (eval $ac_link) 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } &&
4377 { ac_try
='test -s conftest$ac_exeext'
4378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4382 (exit $ac_status); }; }; then
4383 ac_cv_func_res_search
=yes
4385 echo "$as_me: failed program was:" >&5
4386 sed 's/^/| /' conftest.
$ac_ext >&5
4388 ac_cv_func_res_search
=no
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4392 echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
4393 echo "${ECHO_T}$ac_cv_func_res_search" >&6
4394 if test $ac_cv_func_res_search = yes; then
4398 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4401 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
4402 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
4404 cat >conftest.
$ac_ext <<_ACEOF
4406 #include <netinet/in.h>
4408 int main(int argc,char **argv){
4409 res_search (NULL, 0, 0, NULL, 0);
4412 rm -f conftest.
$ac_objext
4413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4414 (eval $ac_compile) 2>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } &&
4418 { ac_try
='test -s conftest.$ac_objext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4430 rm -f conftest.
$ac_objext conftest.
$ac_ext
4431 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4432 echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6
4434 RESOLVER_LIBS
="-lresolv"
4436 echo "$as_me:$LINENO: checking for library containing __res_search" >&5
4437 echo $ECHO_N "checking for library containing __res_search... $ECHO_C" >&6
4438 if test "${ac_cv_search___res_search+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 ac_func_search_save_LIBS
=$LIBS
4442 ac_cv_search___res_search
=no
4443 cat >conftest.
$ac_ext <<_ACEOF
4444 #line $LINENO "configure"
4447 cat confdefs.h
>>conftest.
$ac_ext
4448 cat >>conftest.
$ac_ext <<_ACEOF
4449 /* end confdefs.h. */
4451 /* Override any gcc2 internal prototype to avoid an error. */
4455 /* We use char because int might match the return type of a gcc2
4456 builtin and then its argument prototype would still apply. */
4457 char __res_search ();
4466 rm -f conftest.
$ac_objext conftest
$ac_exeext
4467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4468 (eval $ac_link) 2>&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } &&
4472 { ac_try
='test -s conftest$ac_exeext'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4478 ac_cv_search___res_search
="none required"
4480 echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.
$ac_ext >&5
4484 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4485 if test "$ac_cv_search___res_search" = no
; then
4486 for ac_lib
in resolv
; do
4487 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4488 cat >conftest.
$ac_ext <<_ACEOF
4489 #line $LINENO "configure"
4492 cat confdefs.h
>>conftest.
$ac_ext
4493 cat >>conftest.
$ac_ext <<_ACEOF
4494 /* end confdefs.h. */
4496 /* Override any gcc2 internal prototype to avoid an error. */
4500 /* We use char because int might match the return type of a gcc2
4501 builtin and then its argument prototype would still apply. */
4502 char __res_search ();
4511 rm -f conftest.
$ac_objext conftest
$ac_exeext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4513 (eval $ac_link) 2>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } &&
4517 { ac_try
='test -s conftest$ac_exeext'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; }; then
4523 ac_cv_search___res_search
="-l$ac_lib"
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.
$ac_ext >&5
4530 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4533 LIBS
=$ac_func_search_save_LIBS
4535 echo "$as_me:$LINENO: result: $ac_cv_search___res_search" >&5
4536 echo "${ECHO_T}$ac_cv_search___res_search" >&6
4537 if test "$ac_cv_search___res_search" != no
; then
4538 test "$ac_cv_search___res_search" = "none required" || LIBS
="$ac_cv_search___res_search $LIBS"
4545 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4547 cat >>confdefs.h
<<\_ACEOF
4556 # Check whether --enable-sasl or --disable-sasl was given.
4557 if test "${enable_sasl+set}" = set; then
4558 enableval
="$enable_sasl"
4562 if test "$sasl" = "no" ; then
4563 { echo "$as_me:$LINENO: SASL disabled" >&5
4564 echo "$as_me: SASL disabled" >&6;}
4567 echo "$as_me:$LINENO: checking for sasl_version in -lsasl2" >&5
4568 echo $ECHO_N "checking for sasl_version in -lsasl2... $ECHO_C" >&6
4569 if test "${ac_cv_lib_sasl2_sasl_version+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 ac_check_lib_save_LIBS
=$LIBS
4573 LIBS
="-lsasl2 $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4574 cat >conftest.
$ac_ext <<_ACEOF
4575 #line $LINENO "configure"
4578 cat confdefs.h
>>conftest.
$ac_ext
4579 cat >>conftest.
$ac_ext <<_ACEOF
4580 /* end confdefs.h. */
4582 /* Override any gcc2 internal prototype to avoid an error. */
4586 /* We use char because int might match the return type of a gcc2
4587 builtin and then its argument prototype would still apply. */
4588 char sasl_version ();
4597 rm -f conftest.
$ac_objext conftest
$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); } &&
4603 { ac_try
='test -s conftest$ac_exeext'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 ac_cv_lib_sasl2_sasl_version
=yes
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 ac_cv_lib_sasl2_sasl_version
=no
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4617 LIBS
=$ac_check_lib_save_LIBS
4619 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_version" >&5
4620 echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_version" >&6
4621 if test $ac_cv_lib_sasl2_sasl_version = yes; then
4627 if test "${HAS_SASL2}x" = "x" ; then
4628 echo "$as_me:$LINENO: checking for sasl_client_auth in -lsasl" >&5
4629 echo $ECHO_N "checking for sasl_client_auth in -lsasl... $ECHO_C" >&6
4630 if test "${ac_cv_lib_sasl_sasl_client_auth+set}" = set; then
4631 echo $ECHO_N "(cached) $ECHO_C" >&6
4633 ac_check_lib_save_LIBS
=$LIBS
4634 LIBS
="-lsasl $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4635 cat >conftest.
$ac_ext <<_ACEOF
4636 #line $LINENO "configure"
4639 cat confdefs.h
>>conftest.
$ac_ext
4640 cat >>conftest.
$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4643 /* Override any gcc2 internal prototype to avoid an error. */
4647 /* We use char because int might match the return type of a gcc2
4648 builtin and then its argument prototype would still apply. */
4649 char sasl_client_auth ();
4653 sasl_client_auth ();
4658 rm -f conftest.
$ac_objext conftest
$ac_exeext
4659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4660 (eval $ac_link) 2>&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); } &&
4664 { ac_try
='test -s conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_sasl_sasl_client_auth
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_sasl_sasl_client_auth
=no
4677 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4678 LIBS
=$ac_check_lib_save_LIBS
4680 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl_sasl_client_auth" >&5
4681 echo "${ECHO_T}$ac_cv_lib_sasl_sasl_client_auth" >&6
4682 if test $ac_cv_lib_sasl_sasl_client_auth = yes; then
4690 echo "$as_me:$LINENO: checking if <sasl.h> works" >&5
4691 echo $ECHO_N "checking if <sasl.h> works... $ECHO_C" >&6
4692 cat >conftest.
$ac_ext <<_ACEOF
4694 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
4696 rm -f conftest.
$ac_objext
4697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4698 (eval $ac_compile) 2>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } &&
4702 { ac_try
='test -s conftest.$ac_objext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 HAS_INCLUDE_SASL_H
=1
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.
$ac_ext >&5
4714 rm -f conftest.
$ac_objext conftest.
$ac_ext
4715 if test "${HAS_INCLUDE_SASL_H}x" != "x" ; then
4716 echo "$as_me:$LINENO: result: yes" >&5
4717 echo "${ECHO_T}yes" >&6
4720 echo "$as_me:$LINENO: result: no" >&5
4721 echo "${ECHO_T}no" >&6
4722 echo "$as_me:$LINENO: checking if <sasl/sasl.h> works" >&5
4723 echo $ECHO_N "checking if <sasl/sasl.h> works... $ECHO_C" >&6
4724 cat >conftest.
$ac_ext <<_ACEOF
4725 #include <sasl/sasl.h>
4726 int main(int argc,char **argv){ int v = SASL_LOG_PASS; }
4728 rm -f conftest.
$ac_objext
4729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4730 (eval $ac_compile) 2>&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try
='test -s conftest.$ac_objext'
4735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); }; }; then
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.
$ac_ext >&5
4746 rm -f conftest.
$ac_objext conftest.
$ac_ext
4747 if test "${P_HAS_SASL_SASL_H}x" != "x" ; then
4748 echo "$as_me:$LINENO: result: yes" >&5
4749 echo "${ECHO_T}yes" >&6
4751 cat >>confdefs.h
<<\_ACEOF
4752 #define P_HAS_SASL_SASL_H 1
4756 echo "$as_me:$LINENO: result: no" >&5
4757 echo "${ECHO_T}no" >&6
4761 if test "${HAS_SASL2}x" != "x" ; then
4763 ENDLDLIBS
="$ENDLDLIBS -lsasl2"
4764 cat >>confdefs.h
<<\_ACEOF
4770 elif test "${HAS_SASL}x" != "x" ; then
4772 ENDLDLIBS
="$ENDLDLIBS -lsasl"
4773 cat >>confdefs.h
<<\_ACEOF
4786 # Check whether --enable-openldap or --disable-openldap was given.
4787 if test "${enable_openldap+set}" = set; then
4788 enableval
="$enable_openldap"
4792 if test "$openldap" = "no" ; then
4795 cat >>confdefs.h
<<\_ACEOF
4800 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4802 for ac_header
in ldap.h
4804 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4806 echo "$as_me:$LINENO: checking for $ac_header" >&5
4807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4812 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4814 # Is the header compilable?
4815 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4816 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4817 cat >conftest.
$ac_ext <<_ACEOF
4818 #line $LINENO "configure"
4821 cat confdefs.h
>>conftest.
$ac_ext
4822 cat >>conftest.
$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4824 $ac_includes_default
4825 #include <$ac_header>
4827 rm -f conftest.
$ac_objext
4828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4829 (eval $ac_compile) 2>&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); } &&
4833 { ac_try
='test -s conftest.$ac_objext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_header_compiler
=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.
$ac_ext >&5
4844 ac_header_compiler
=no
4846 rm -f conftest.
$ac_objext conftest.
$ac_ext
4847 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4848 echo "${ECHO_T}$ac_header_compiler" >&6
4850 # Is the header present?
4851 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4853 cat >conftest.
$ac_ext <<_ACEOF
4854 #line $LINENO "configure"
4857 cat confdefs.h
>>conftest.
$ac_ext
4858 cat >>conftest.
$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4860 #include <$ac_header>
4862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4865 grep -v '^ *+' conftest.er1
>conftest.err
4867 cat conftest.err
>&5
4868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869 (exit $ac_status); } >/dev
/null
; then
4870 if test -s conftest.err
; then
4871 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4878 if test -z "$ac_cpp_err"; then
4879 ac_header_preproc
=yes
4881 echo "$as_me: failed program was:" >&5
4882 sed 's/^/| /' conftest.
$ac_ext >&5
4884 ac_header_preproc
=no
4886 rm -f conftest.err conftest.
$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4888 echo "${ECHO_T}$ac_header_preproc" >&6
4890 # So? What about this header?
4891 case $ac_header_compiler:$ac_header_preproc in
4893 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4894 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4899 ## ------------------------------------ ##
4900 ## Report this to bug-autoconf@gnu.org. ##
4901 ## ------------------------------------ ##
4904 sed "s/^/$as_me: WARNING: /" >&2
4907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4915 ## ------------------------------------ ##
4916 ## Report this to bug-autoconf@gnu.org. ##
4917 ## ------------------------------------ ##
4920 sed "s/^/$as_me: WARNING: /" >&2
4923 echo "$as_me:$LINENO: checking for $ac_header" >&5
4924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 eval "$as_ac_Header=$ac_header_preproc"
4930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4935 cat >>confdefs.h
<<_ACEOF
4936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4944 if test "${OSTYPE:-unknown}" = "solaris"; then
4945 OPENLDAPSYSLIBS
=-lposix4
4948 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
4949 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
4950 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
4951 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4954 ac_check_lib_save_LIBS
=$LIBS
4955 LIBS
="-lldap -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
4956 cat >conftest.
$ac_ext <<_ACEOF
4957 #line $LINENO "configure"
4960 cat confdefs.h
>>conftest.
$ac_ext
4961 cat >>conftest.
$ac_ext <<_ACEOF
4962 /* end confdefs.h. */
4964 /* Override any gcc2 internal prototype to avoid an error. */
4968 /* We use char because int might match the return type of a gcc2
4969 builtin and then its argument prototype would still apply. */
4979 rm -f conftest.
$ac_objext conftest
$ac_exeext
4980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4981 (eval $ac_link) 2>&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); } &&
4985 { ac_try
='test -s conftest$ac_exeext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4991 ac_cv_lib_ldap_ldap_open
=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.
$ac_ext >&5
4996 ac_cv_lib_ldap_ldap_open
=no
4998 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4999 LIBS
=$ac_check_lib_save_LIBS
5001 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
5002 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
5003 if test $ac_cv_lib_ldap_ldap_open = yes; then
5010 echo "$as_me:$LINENO: checking for /usr/local/include/ldap.h" >&5
5011 echo $ECHO_N "checking for /usr/local/include/ldap.h... $ECHO_C" >&6
5012 if test "${ac_cv_file__usr_local_include_ldap_h+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 test "$cross_compiling" = yes &&
5016 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5017 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5018 { (exit 1); exit 1; }; }
5019 if test -r "/usr/local/include/ldap.h"; then
5020 ac_cv_file__usr_local_include_ldap_h
=yes
5022 ac_cv_file__usr_local_include_ldap_h
=no
5025 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ldap_h" >&5
5026 echo "${ECHO_T}$ac_cv_file__usr_local_include_ldap_h" >&6
5027 if test $ac_cv_file__usr_local_include_ldap_h = yes; then
5031 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
5032 OPENLDAPINCLUDEDIR
=/usr
/local
/include
5033 OPENLDAPLIBDIR
=/usr
/local
/lib
5034 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
5035 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
5036 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
5037 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 ac_check_lib_save_LIBS
=$LIBS
5040 LIBS
="-lldap -L/usr/local/lib -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
5041 cat >conftest.
$ac_ext <<_ACEOF
5042 #line $LINENO "configure"
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 /* Override any gcc2 internal prototype to avoid an error. */
5053 /* We use char because int might match the return type of a gcc2
5054 builtin and then its argument prototype would still apply. */
5064 rm -f conftest.
$ac_objext conftest
$ac_exeext
5065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5066 (eval $ac_link) 2>&5
5068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5069 (exit $ac_status); } &&
5070 { ac_try
='test -s conftest$ac_exeext'
5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }; }; then
5076 ac_cv_lib_ldap_ldap_open
=yes
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.
$ac_ext >&5
5081 ac_cv_lib_ldap_ldap_open
=no
5083 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5084 LIBS
=$ac_check_lib_save_LIBS
5086 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
5087 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
5088 if test $ac_cv_lib_ldap_ldap_open = yes; then
5098 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
5102 cat >>confdefs.h
<<\_ACEOF
5106 ENDLDLIBS
="-lldap -lldap_r -llber $ENDLDLIBS"
5107 if test "${OPENLDAPINCLUDEDIR}unset" != "unset" ; then
5108 STDCCFLAGS
="$STDCCFLAGS -I${OPENLDAPINCLUDEDIR}"
5110 if test "${OPENLDAPLIBDIR}unset" != "unset" ; then
5111 LDFLAGS
="$LDFLAGS -L${OPENLDAPLIBDIR}"
5119 # Check whether --enable-openssl or --disable-openssl was given.
5120 if test "${enable_openssl+set}" = set; then
5121 enableval
="$enable_openssl"
5125 if test "$openssl" = "no" ; then
5126 cat >>confdefs.h
<<\_ACEOF
5134 if test ${OPENSSLDIR:-unset} != "unset" ; then
5135 echo "$as_me:$LINENO: checking for ${OPENSSLDIR}/include/openssl/ssl.h" >&5
5136 echo $ECHO_N "checking for ${OPENSSLDIR}/include/openssl/ssl.h... $ECHO_C" >&6
5137 if test -e ${OPENSSLDIR}/include
/openssl
/ssl.h
; then
5138 echo "$as_me:$LINENO: result: yes" >&5
5139 echo "${ECHO_T}yes" >&6
5141 SSLINCLUDEDIR
="${OPENSSLDIR}/include"
5142 SSLLIBDIR
="${OPENSSLDIR}/lib"
5144 echo "$as_me:$LINENO: result: no" >&5
5145 echo "${ECHO_T}no" >&6
5150 if test "${SSLHDR:-unset}" = "unset" ; then
5152 for ac_header
in openssl
/ssl.h
5154 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5156 echo "$as_me:$LINENO: checking for $ac_header" >&5
5157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5164 # Is the header compilable?
5165 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5166 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5167 cat >conftest.
$ac_ext <<_ACEOF
5168 #line $LINENO "configure"
5171 cat confdefs.h
>>conftest.
$ac_ext
5172 cat >>conftest.
$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5174 $ac_includes_default
5175 #include <$ac_header>
5177 rm -f conftest.
$ac_objext
5178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5179 (eval $ac_compile) 2>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); } &&
5183 { ac_try
='test -s conftest.$ac_objext'
5184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); }; }; then
5189 ac_header_compiler
=yes
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.
$ac_ext >&5
5194 ac_header_compiler
=no
5196 rm -f conftest.
$ac_objext conftest.
$ac_ext
5197 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5198 echo "${ECHO_T}$ac_header_compiler" >&6
5200 # Is the header present?
5201 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5202 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5203 cat >conftest.
$ac_ext <<_ACEOF
5204 #line $LINENO "configure"
5207 cat confdefs.h
>>conftest.
$ac_ext
5208 cat >>conftest.
$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <$ac_header>
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5215 grep -v '^ *+' conftest.er1
>conftest.err
5217 cat conftest.err
>&5
5218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } >/dev
/null
; then
5220 if test -s conftest.err
; then
5221 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5228 if test -z "$ac_cpp_err"; then
5229 ac_header_preproc
=yes
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.
$ac_ext >&5
5234 ac_header_preproc
=no
5236 rm -f conftest.err conftest.
$ac_ext
5237 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5238 echo "${ECHO_T}$ac_header_preproc" >&6
5240 # So? What about this header?
5241 case $ac_header_compiler:$ac_header_preproc in
5243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5246 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5249 ## ------------------------------------ ##
5250 ## Report this to bug-autoconf@gnu.org. ##
5251 ## ------------------------------------ ##
5254 sed "s/^/$as_me: WARNING: /" >&2
5257 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5258 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5259 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5260 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5265 ## ------------------------------------ ##
5266 ## Report this to bug-autoconf@gnu.org. ##
5267 ## ------------------------------------ ##
5270 sed "s/^/$as_me: WARNING: /" >&2
5273 echo "$as_me:$LINENO: checking for $ac_header" >&5
5274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5276 echo $ECHO_N "(cached) $ECHO_C" >&6
5278 eval "$as_ac_Header=$ac_header_preproc"
5280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5281 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5284 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5285 cat >>confdefs.h
<<_ACEOF
5286 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5293 if test "${SSLHDR:-unset}" = "unset" ; then
5294 echo "$as_me:$LINENO: checking if openssl/ssl.h works with OPENSSL_NO_KRB5" >&5
5295 echo $ECHO_N "checking if openssl/ssl.h works with OPENSSL_NO_KRB5... $ECHO_C" >&6
5296 cat >conftest.
$ac_ext <<_ACEOF
5297 #define OPENSSL_NO_KRB5
5298 #include <openssl/ssl.h>
5299 int main(int argc,char **argv){}
5301 rm -f conftest.
$ac_objext
5302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5303 (eval $ac_compile) 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } &&
5307 { ac_try
='test -s conftest.$ac_objext'
5308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); }; }; then
5315 echo "$as_me: failed program was:" >&5
5316 sed 's/^/| /' conftest.
$ac_ext >&5
5319 rm -f conftest.
$ac_objext conftest.
$ac_ext
5320 if test ${SSLHDR:-unset} != "unset" ; then
5321 echo "$as_me:$LINENO: result: yes" >&5
5322 echo "${ECHO_T}yes" >&6
5323 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5324 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
5325 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5327 echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6
5333 if test "${SSLHDR:-unset}" = "unset" ; then
5335 for openssl_dir
in /usr
/local
/openssl
/usr
/local
/ssl
; do
5336 echo "$as_me:$LINENO: checking for OpenSSL in $openssl_dir" >&5
5337 echo $ECHO_N "checking for OpenSSL in $openssl_dir... $ECHO_C" >&6
5338 if test ! -f ${openssl_dir}/include
/openssl
/ssl.h
; then
5339 echo "$as_me:$LINENO: result: no" >&5
5340 echo "${ECHO_T}no" >&6
5342 cat >conftest.
$ac_ext <<_ACEOF
5343 #include "${openssl_dir}/include/openssl/ssl.h"
5344 int main(int argc,char **argv){ return 0; }
5346 $CXX $CXXFLAGS -I${openssl_dir}/include
-c conftest.cc
> /dev
/null
2>&1
5347 if test $?
= 0 ; then
5348 echo "$as_me:$LINENO: result: yes" >&5
5349 echo "${ECHO_T}yes" >&6
5352 SSLINCLUDEDIR
="${openssl_dir}/include"
5353 SSLLIBDIR
="${openssl_dir}/lib"
5356 echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6
5358 echo "$as_me:$LINENO: checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5..." >&5
5359 echo $ECHO_N "checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5...... $ECHO_C" >&6
5360 cat >conftest.
$ac_ext <<_ACEOF
5361 #define OPENSSL_NO_KRB5
5362 #include "${openssl_dir}/include/openssl/ssl.h"
5363 int main(int argc,char **argv){}
5365 $CXX $CXXFLAGS -I${openssl_dir}/openssl
/include
-c conftest.cc
> /dev
/null
2>&1
5366 if test $?
= 0 ; then
5367 echo "$as_me:$LINENO: result: yes" >&5
5368 echo "${ECHO_T}yes" >&6
5370 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5371 SSLINCLUDEDIR
="${openssl_dir}/include"
5372 SSLLIBDIR
="${openssl_dir}/lib"
5373 P_STATIC_LDFLAGS
="$P_STATIC_LDFLAGS -L/usr/kerberos/lib"
5374 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5385 if test ${SSLHDR:-unset} != "unset" ; then
5389 cat >>confdefs.h
<<\_ACEOF
5393 if test ${SSLINCLUDEDIR:-unset} != "unset" ; then
5394 STDCCFLAGS
="$STDCCFLAGS -I${SSLINCLUDEDIR}"
5396 if test ${SSLLIBDIR:-unset} != "unset" ; then
5397 LDFLAGS
="$LDFLAGS -L${SSLLIBDIR}"
5399 STDCCFLAGS
="${STDCCFLAGS}${SSLCCFLAGS}"
5400 ENDLDLIBS
="$ENDLDLIBS -lssl -lcrypto"
5409 # Check whether --enable-expat or --disable-expat was given.
5410 if test "${enable_expat+set}" = set; then
5411 enableval
="$enable_expat"
5415 if test "$expat" = "no" ; then
5418 cat >>confdefs.h
<<\_ACEOF
5425 for ac_header
in expat.h
5427 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5429 echo "$as_me:$LINENO: checking for $ac_header" >&5
5430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5432 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5437 # Is the header compilable?
5438 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5439 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5440 cat >conftest.
$ac_ext <<_ACEOF
5441 #line $LINENO "configure"
5444 cat confdefs.h
>>conftest.
$ac_ext
5445 cat >>conftest.
$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 $ac_includes_default
5448 #include <$ac_header>
5450 rm -f conftest.
$ac_objext
5451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5452 (eval $ac_compile) 2>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); } &&
5456 { ac_try
='test -s conftest.$ac_objext'
5457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); }; }; then
5462 ac_header_compiler
=yes
5464 echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.
$ac_ext >&5
5467 ac_header_compiler
=no
5469 rm -f conftest.
$ac_objext conftest.
$ac_ext
5470 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5471 echo "${ECHO_T}$ac_header_compiler" >&6
5473 # Is the header present?
5474 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5475 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5476 cat >conftest.
$ac_ext <<_ACEOF
5477 #line $LINENO "configure"
5480 cat confdefs.h
>>conftest.
$ac_ext
5481 cat >>conftest.
$ac_ext <<_ACEOF
5482 /* end confdefs.h. */
5483 #include <$ac_header>
5485 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5486 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5488 grep -v '^ *+' conftest.er1
>conftest.err
5490 cat conftest.err
>&5
5491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5492 (exit $ac_status); } >/dev
/null
; then
5493 if test -s conftest.err
; then
5494 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5501 if test -z "$ac_cpp_err"; then
5502 ac_header_preproc
=yes
5504 echo "$as_me: failed program was:" >&5
5505 sed 's/^/| /' conftest.
$ac_ext >&5
5507 ac_header_preproc
=no
5509 rm -f conftest.err conftest.
$ac_ext
5510 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5511 echo "${ECHO_T}$ac_header_preproc" >&6
5513 # So? What about this header?
5514 case $ac_header_compiler:$ac_header_preproc in
5516 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5517 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5518 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5519 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5522 ## ------------------------------------ ##
5523 ## Report this to bug-autoconf@gnu.org. ##
5524 ## ------------------------------------ ##
5527 sed "s/^/$as_me: WARNING: /" >&2
5530 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5531 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5532 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5533 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5538 ## ------------------------------------ ##
5539 ## Report this to bug-autoconf@gnu.org. ##
5540 ## ------------------------------------ ##
5543 sed "s/^/$as_me: WARNING: /" >&2
5546 echo "$as_me:$LINENO: checking for $ac_header" >&5
5547 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5548 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5549 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 eval "$as_ac_Header=$ac_header_preproc"
5553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5558 cat >>confdefs.h
<<_ACEOF
5559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5566 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5567 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
5568 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
5569 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
5570 echo $ECHO_N "(cached) $ECHO_C" >&6
5572 ac_check_lib_save_LIBS
=$LIBS
5573 LIBS
="-lexpat $LIBS"
5574 cat >conftest.
$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5578 cat confdefs.h
>>conftest.
$ac_ext
5579 cat >>conftest.
$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5582 /* Override any gcc2 internal prototype to avoid an error. */
5586 /* We use char because int might match the return type of a gcc2
5587 builtin and then its argument prototype would still apply. */
5588 char XML_ParserCreate ();
5592 XML_ParserCreate ();
5597 rm -f conftest.
$ac_objext conftest
$ac_exeext
5598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5599 (eval $ac_link) 2>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try
='test -s conftest$ac_exeext'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_lib_expat_XML_ParserCreate
=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 ac_cv_lib_expat_XML_ParserCreate
=no
5616 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5617 LIBS
=$ac_check_lib_save_LIBS
5619 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
5620 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
5621 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
5628 echo "$as_me:$LINENO: checking for /usr/local/include/expat.h" >&5
5629 echo $ECHO_N "checking for /usr/local/include/expat.h... $ECHO_C" >&6
5630 if test "${ac_cv_file__usr_local_include_expat_h+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 test "$cross_compiling" = yes &&
5634 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5635 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5636 { (exit 1); exit 1; }; }
5637 if test -r "/usr/local/include/expat.h"; then
5638 ac_cv_file__usr_local_include_expat_h
=yes
5640 ac_cv_file__usr_local_include_expat_h
=no
5643 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_expat_h" >&5
5644 echo "${ECHO_T}$ac_cv_file__usr_local_include_expat_h" >&6
5645 if test $ac_cv_file__usr_local_include_expat_h = yes; then
5649 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5650 EXPATINCLUDEDIR
=/usr
/local
/include
5651 EXPATLIBDIR
=/usr
/local
/lib
5655 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5659 cat >>confdefs.h
<<\_ACEOF
5663 if test ${EXPATINCLUDEDIR:-unset} != "unset" ; then
5664 STDCCFLAGS
="$STDCCFLAGS -I${EXPATINCLUDEDIR}"
5666 if test ${EXPATLIBDIR:-unset} != "unset" ; then
5667 LDFLAGS
="$LDFLAGS -L${EXPATLIBDIR}"
5669 ENDLDLIBS
="$ENDLDLIBS -lexpat"
5679 # Check whether --enable-ipv6 or --disable-ipv6 was given.
5680 if test "${enable_ipv6+set}" = set; then
5681 enableval
="$enable_ipv6"
5685 if test "$ipv6" = "no" ; then
5686 cat >>confdefs.h
<<\_ACEOF
5687 #define P_HAS_IPV6 0
5693 echo "$as_me:$LINENO: checking for IPv6 Support" >&5
5694 echo $ECHO_N "checking for IPv6 Support... $ECHO_C" >&6
5695 if test "${HAS_IPV6+set}" = set; then
5696 echo $ECHO_N "(cached) $ECHO_C" >&6
5698 cat >conftest.
$ac_ext <<_ACEOF
5699 #line $LINENO "configure"
5702 cat confdefs.h
>>conftest.
$ac_ext
5703 cat >>conftest.
$ac_ext <<_ACEOF
5704 /* end confdefs.h. */
5705 #include <sys/types.h>
5706 #include <netinet/in.h>
5710 struct sockaddr_in6 s; s.sin6_scope_id = 0;
5715 rm -f conftest.
$ac_objext
5716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5717 (eval $ac_compile) 2>&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); } &&
5721 { ac_try
='test -s conftest.$ac_objext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5734 rm -f conftest.
$ac_objext conftest.
$ac_ext
5736 echo "$as_me:$LINENO: result: $HAS_IPV6" >&5
5737 echo "${ECHO_T}$HAS_IPV6" >&6
5739 if test $HAS_IPV6 = yes ; then
5741 cat >>confdefs.h
<<\_ACEOF
5742 #define P_HAS_IPV6 1
5750 # Check whether --enable-qos or --disable-qos was given.
5751 if test "${enable_qos+set}" = set; then
5752 enableval
="$enable_qos"
5756 if test "$qos" = "no" ; then
5758 cat >>confdefs.h
<<\_ACEOF
5764 cat >>confdefs.h
<<\_ACEOF
5773 # Check whether --enable-sdl or --disable-sdl was given.
5774 if test "${enable_sdl+set}" = set; then
5775 enableval
="$enable_sdl"
5779 if test "$sdl" = "no" ; then
5782 cat >>confdefs.h
<<\_ACEOF
5787 if test "${SDLLIB:-unset}" = "unset" ; then
5792 for ac_header
in SDL
/SDL.h
5794 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5796 echo "$as_me:$LINENO: checking for $ac_header" >&5
5797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5804 # Is the header compilable?
5805 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5807 cat >conftest.
$ac_ext <<_ACEOF
5808 #line $LINENO "configure"
5811 cat confdefs.h
>>conftest.
$ac_ext
5812 cat >>conftest.
$ac_ext <<_ACEOF
5813 /* end confdefs.h. */
5814 $ac_includes_default
5815 #include <$ac_header>
5817 rm -f conftest.
$ac_objext
5818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5819 (eval $ac_compile) 2>&5
5821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5822 (exit $ac_status); } &&
5823 { ac_try
='test -s conftest.$ac_objext'
5824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); }; }; then
5829 ac_header_compiler
=yes
5831 echo "$as_me: failed program was:" >&5
5832 sed 's/^/| /' conftest.
$ac_ext >&5
5834 ac_header_compiler
=no
5836 rm -f conftest.
$ac_objext conftest.
$ac_ext
5837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5838 echo "${ECHO_T}$ac_header_compiler" >&6
5840 # Is the header present?
5841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5843 cat >conftest.
$ac_ext <<_ACEOF
5844 #line $LINENO "configure"
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5850 #include <$ac_header>
5852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5853 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5855 grep -v '^ *+' conftest.er1
>conftest.err
5857 cat conftest.err
>&5
5858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5859 (exit $ac_status); } >/dev
/null
; then
5860 if test -s conftest.err
; then
5861 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5868 if test -z "$ac_cpp_err"; then
5869 ac_header_preproc
=yes
5871 echo "$as_me: failed program was:" >&5
5872 sed 's/^/| /' conftest.
$ac_ext >&5
5874 ac_header_preproc
=no
5876 rm -f conftest.err conftest.
$ac_ext
5877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5878 echo "${ECHO_T}$ac_header_preproc" >&6
5880 # So? What about this header?
5881 case $ac_header_compiler:$ac_header_preproc in
5883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5889 ## ------------------------------------ ##
5890 ## Report this to bug-autoconf@gnu.org. ##
5891 ## ------------------------------------ ##
5894 sed "s/^/$as_me: WARNING: /" >&2
5897 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5898 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5899 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5900 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5902 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5905 ## ------------------------------------ ##
5906 ## Report this to bug-autoconf@gnu.org. ##
5907 ## ------------------------------------ ##
5910 sed "s/^/$as_me: WARNING: /" >&2
5913 echo "$as_me:$LINENO: checking for $ac_header" >&5
5914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 eval "$as_ac_Header=$ac_header_preproc"
5920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5924 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5925 cat >>confdefs.h
<<_ACEOF
5926 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5933 if test "${HAS_SDL:-unset}" != "unset" ; then
5934 if test "${X11LIBDIR:-unset}" == "unset" ; then
5935 X11LIBDIR
=/usr
/X11R
6/lib
5937 echo "$as_me:$LINENO: checking for SDL_CreateYUVOverlay in -lSDL" >&5
5938 echo $ECHO_N "checking for SDL_CreateYUVOverlay in -lSDL... $ECHO_C" >&6
5939 if test "${ac_cv_lib_SDL_SDL_CreateYUVOverlay+set}" = set; then
5940 echo $ECHO_N "(cached) $ECHO_C" >&6
5942 ac_check_lib_save_LIBS
=$LIBS
5943 LIBS
="-lSDL -L${X11LIBDIR} -lpthread -lX11 -lXext -laa $LIBS"
5944 cat >conftest.
$ac_ext <<_ACEOF
5945 #line $LINENO "configure"
5948 cat confdefs.h
>>conftest.
$ac_ext
5949 cat >>conftest.
$ac_ext <<_ACEOF
5950 /* end confdefs.h. */
5952 /* Override any gcc2 internal prototype to avoid an error. */
5956 /* We use char because int might match the return type of a gcc2
5957 builtin and then its argument prototype would still apply. */
5958 char SDL_CreateYUVOverlay ();
5962 SDL_CreateYUVOverlay ();
5967 rm -f conftest.
$ac_objext conftest
$ac_exeext
5968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5969 (eval $ac_link) 2>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try
='test -s conftest$ac_exeext'
5974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978 (exit $ac_status); }; }; then
5979 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=yes
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.
$ac_ext >&5
5984 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=no
5986 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5987 LIBS
=$ac_check_lib_save_LIBS
5989 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&5
5990 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&6
5991 if test $ac_cv_lib_SDL_SDL_CreateYUVOverlay = yes; then
5999 if test "${HAS_SDL:-unset}" = "unset" ; then
6000 echo "$as_me:$LINENO: checking for /usr/local/include/SDL11/SDL.h" >&5
6001 echo $ECHO_N "checking for /usr/local/include/SDL11/SDL.h... $ECHO_C" >&6
6002 if test "${ac_cv_file__usr_local_include_SDL11_SDL_h+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 test "$cross_compiling" = yes &&
6006 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
6007 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
6008 { (exit 1); exit 1; }; }
6009 if test -r "/usr/local/include/SDL11/SDL.h"; then
6010 ac_cv_file__usr_local_include_SDL11_SDL_h
=yes
6012 ac_cv_file__usr_local_include_SDL11_SDL_h
=no
6015 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_SDL11_SDL_h" >&5
6016 echo "${ECHO_T}$ac_cv_file__usr_local_include_SDL11_SDL_h" >&6
6017 if test $ac_cv_file__usr_local_include_SDL11_SDL_h = yes; then
6021 if test "${HAS_SDL:-unset}" != "unset" ; then
6026 if test "${HAS_SDL:-unset}" != "unset" ; then
6030 cat >>confdefs.h
<<\_ACEOF
6034 if test ${SDLINCLUDEDIR:-unset} != "unset" ; then
6035 STDCCFLAGS
="$STDCCFLAGS -I${SDLINCLUDEDIR}"
6037 if test ${SDLLIBDIR:-unset} != "unset" ; then
6038 LDFLAGS
="$LDFLAGS -L${SDLLIBDIR}"
6040 ENDLDLIBS
="$ENDLDLIBS -l${SDLLIB}"
6046 # Check whether --enable-video or --disable-video was given.
6047 if test "${enable_video+set}" = set; then
6048 enableval
="$enable_video"
6053 if test "$HAS_PLUGINS" = "0" ; then
6054 if test "$video" != "no" ; then
6055 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6056 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
6057 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
6058 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6059 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
6062 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
6064 # Is the header compilable?
6065 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
6066 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
6067 cat >conftest.
$ac_ext <<_ACEOF
6068 #line $LINENO "configure"
6071 cat confdefs.h
>>conftest.
$ac_ext
6072 cat >>conftest.
$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6074 $ac_includes_default
6075 #include <linux/videodev.h>
6077 rm -f conftest.
$ac_objext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6079 (eval $ac_compile) 2>&5
6081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6082 (exit $ac_status); } &&
6083 { ac_try
='test -s conftest.$ac_objext'
6084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); }; }; then
6089 ac_header_compiler
=yes
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.
$ac_ext >&5
6094 ac_header_compiler
=no
6096 rm -f conftest.
$ac_objext conftest.
$ac_ext
6097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6098 echo "${ECHO_T}$ac_header_compiler" >&6
6100 # Is the header present?
6101 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
6102 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
6103 cat >conftest.
$ac_ext <<_ACEOF
6104 #line $LINENO "configure"
6107 cat confdefs.h
>>conftest.
$ac_ext
6108 cat >>conftest.
$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6110 #include <linux/videodev.h>
6112 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6113 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6115 grep -v '^ *+' conftest.er1
>conftest.err
6117 cat conftest.err
>&5
6118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6119 (exit $ac_status); } >/dev
/null
; then
6120 if test -s conftest.err
; then
6121 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6128 if test -z "$ac_cpp_err"; then
6129 ac_header_preproc
=yes
6131 echo "$as_me: failed program was:" >&5
6132 sed 's/^/| /' conftest.
$ac_ext >&5
6134 ac_header_preproc
=no
6136 rm -f conftest.err conftest.
$ac_ext
6137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6138 echo "${ECHO_T}$ac_header_preproc" >&6
6140 # So? What about this header?
6141 case $ac_header_compiler:$ac_header_preproc in
6143 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
6144 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6145 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6146 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6149 ## ------------------------------------ ##
6150 ## Report this to bug-autoconf@gnu.org. ##
6151 ## ------------------------------------ ##
6154 sed "s/^/$as_me: WARNING: /" >&2
6157 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
6158 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
6159 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
6160 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
6161 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6162 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6165 ## ------------------------------------ ##
6166 ## Report this to bug-autoconf@gnu.org. ##
6167 ## ------------------------------------ ##
6170 sed "s/^/$as_me: WARNING: /" >&2
6173 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
6174 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
6175 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 ac_cv_header_linux_videodev_h
=$ac_header_preproc
6180 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
6181 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
6184 if test $ac_cv_header_linux_videodev_h = yes; then
6189 if test "${HAS_VIDEO_CAPTURE}" = "0" ; then
6190 { echo "$as_me:$LINENO: No Video Capture support" >&5
6191 echo "$as_me: No Video Capture support" >&6;}
6193 cat >>confdefs.h
<<\_ACEOF
6194 #define NO_VIDEO_CAPTURE
6202 # Check whether --enable-alsa or --disable-alsa was given.
6203 if test "${enable_alsa+set}" = set; then
6204 enableval
="$enable_alsa"
6205 enable_alsa
=$enableval
6209 if test "$HAS_PLUGINS" = "0" ; then
6210 if test "$enable_alsa" != "no" ; then
6211 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6212 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6213 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6214 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6218 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6220 # Is the header compilable?
6221 echo "$as_me:$LINENO: checking alsa/asoundlib.h usability" >&5
6222 echo $ECHO_N "checking alsa/asoundlib.h usability... $ECHO_C" >&6
6223 cat >conftest.
$ac_ext <<_ACEOF
6224 #line $LINENO "configure"
6227 cat confdefs.h
>>conftest.
$ac_ext
6228 cat >>conftest.
$ac_ext <<_ACEOF
6229 /* end confdefs.h. */
6230 $ac_includes_default
6231 #include <alsa/asoundlib.h>
6233 rm -f conftest.
$ac_objext
6234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6235 (eval $ac_compile) 2>&5
6237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6238 (exit $ac_status); } &&
6239 { ac_try
='test -s conftest.$ac_objext'
6240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6244 (exit $ac_status); }; }; then
6245 ac_header_compiler
=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.
$ac_ext >&5
6250 ac_header_compiler
=no
6252 rm -f conftest.
$ac_objext conftest.
$ac_ext
6253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6254 echo "${ECHO_T}$ac_header_compiler" >&6
6256 # Is the header present?
6257 echo "$as_me:$LINENO: checking alsa/asoundlib.h presence" >&5
6258 echo $ECHO_N "checking alsa/asoundlib.h presence... $ECHO_C" >&6
6259 cat >conftest.
$ac_ext <<_ACEOF
6260 #line $LINENO "configure"
6263 cat confdefs.h
>>conftest.
$ac_ext
6264 cat >>conftest.
$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6266 #include <alsa/asoundlib.h>
6268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6271 grep -v '^ *+' conftest.er1
>conftest.err
6273 cat conftest.err
>&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } >/dev
/null
; then
6276 if test -s conftest.err
; then
6277 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6284 if test -z "$ac_cpp_err"; then
6285 ac_header_preproc
=yes
6287 echo "$as_me: failed program was:" >&5
6288 sed 's/^/| /' conftest.
$ac_ext >&5
6290 ac_header_preproc
=no
6292 rm -f conftest.err conftest.
$ac_ext
6293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6294 echo "${ECHO_T}$ac_header_preproc" >&6
6296 # So? What about this header?
6297 case $ac_header_compiler:$ac_header_preproc in
6299 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
6300 echo "$as_me: WARNING: alsa/asoundlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6301 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6302 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6305 ## ------------------------------------ ##
6306 ## Report this to bug-autoconf@gnu.org. ##
6307 ## ------------------------------------ ##
6310 sed "s/^/$as_me: WARNING: /" >&2
6313 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&5
6314 echo "$as_me: WARNING: alsa/asoundlib.h: present but cannot be compiled" >&2;}
6315 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&5
6316 echo "$as_me: WARNING: alsa/asoundlib.h: check for missing prerequisite headers?" >&2;}
6317 { echo "$as_me:$LINENO: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&5
6318 echo "$as_me: WARNING: alsa/asoundlib.h: proceeding with the preprocessor's result" >&2;}
6321 ## ------------------------------------ ##
6322 ## Report this to bug-autoconf@gnu.org. ##
6323 ## ------------------------------------ ##
6326 sed "s/^/$as_me: WARNING: /" >&2
6329 echo "$as_me:$LINENO: checking for alsa/asoundlib.h" >&5
6330 echo $ECHO_N "checking for alsa/asoundlib.h... $ECHO_C" >&6
6331 if test "${ac_cv_header_alsa_asoundlib_h+set}" = set; then
6332 echo $ECHO_N "(cached) $ECHO_C" >&6
6334 ac_cv_header_alsa_asoundlib_h
=$ac_header_preproc
6336 echo "$as_me:$LINENO: result: $ac_cv_header_alsa_asoundlib_h" >&5
6337 echo "${ECHO_T}$ac_cv_header_alsa_asoundlib_h" >&6
6340 if test $ac_cv_header_alsa_asoundlib_h = yes; then
6345 echo "$as_me:$LINENO: checking for ALSA sound support" >&5
6346 echo $ECHO_N "checking for ALSA sound support... $ECHO_C" >&6
6347 if test "${HAS_ALSA}" = "1"; then
6348 echo "$as_me:$LINENO: result: yes" >&5
6349 echo "${ECHO_T}yes" >&6
6350 ENDLDLIBS
="$ENDLDLIBS -lasound"
6352 echo "$as_me:$LINENO: result: no" >&5
6353 echo "${ECHO_T}no" >&6
6359 if test "$OSTYPE" = "solaris" ; then
6362 echo "$as_me:$LINENO: checking for swab" >&5
6363 echo $ECHO_N "checking for swab... $ECHO_C" >&6
6364 if test "${ac_cv_func_swab+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 cat >conftest.
$ac_ext <<_ACEOF
6368 #line $LINENO "configure"
6371 cat confdefs.h
>>conftest.
$ac_ext
6372 cat >>conftest.
$ac_ext <<_ACEOF
6373 /* end confdefs.h. */
6374 /* System header to define __stub macros and hopefully few prototypes,
6375 which can conflict with char swab (); below.
6376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6377 <limits.h> exists even on freestanding compilers. */
6379 # include <limits.h>
6381 # include <assert.h>
6383 /* Override any gcc2 internal prototype to avoid an error. */
6388 /* We use char because int might match the return type of a gcc2
6389 builtin and then its argument prototype would still apply. */
6391 /* The GNU C library defines this for functions which it implements
6392 to always fail with ENOSYS. Some functions are actually named
6393 something starting with __ and the normal name is an alias. */
6394 #if defined (__stub_swab) || defined (__stub___swab)
6397 char (*f) () = swab;
6411 rm -f conftest.
$ac_objext conftest
$ac_exeext
6412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6413 (eval $ac_link) 2>&5
6415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416 (exit $ac_status); } &&
6417 { ac_try
='test -s conftest$ac_exeext'
6418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6422 (exit $ac_status); }; }; then
6425 echo "$as_me: failed program was:" >&5
6426 sed 's/^/| /' conftest.
$ac_ext >&5
6430 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6432 echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
6433 echo "${ECHO_T}$ac_cv_func_swab" >&6
6434 if test $ac_cv_func_swab = yes; then
6439 if test "x$ac_cv_func_swab" = "xyes" ; then
6441 cat >>confdefs.h
<<\_ACEOF
6442 #define USE_SYSTEM_SWAB
6448 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
6449 if test "${RESOLVER_LIBS:-unset}" != "unset" ; then
6450 ENDLDLIBS
="$ENDLDLIBS $RESOLVER_LIBS"
6454 if test "${OSTYPE}" != "Darwin" ; then
6455 if test ${HAS_LIBDL} = yes ; then
6456 ENDLDLIBS
="$ENDLDLIBS -ldl"
6465 # Find a good install program. We prefer a C program (faster),
6466 # so one script is as good as another. But avoid the broken or
6467 # incompatible versions:
6468 # SysV /etc/install, /usr/sbin/install
6469 # SunOS /usr/etc/install
6470 # IRIX /sbin/install
6472 # AmigaOS /C/install, which installs bootblocks on floppy discs
6473 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6474 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6475 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6476 # ./install, which can be erroneously created by make from ./install.sh.
6477 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6478 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
6479 if test -z "$INSTALL"; then
6480 if test "${ac_cv_path_install+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir
=.
6488 # Account for people who put trailing slashes in PATH elements.
6490 .
/ | .
// |
/cC
/* | \
6491 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
6494 # OSF1 and SCO ODT 3.0 have their own names for install.
6495 # Don't use installbsd from OSF since it installs stuff as root
6497 for ac_prog
in ginstall scoinst
install; do
6498 for ac_exec_ext
in '' $ac_executable_extensions; do
6499 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
6500 if test $ac_prog = install &&
6501 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6502 # AIX install. It has an incompatible calling convention.
6504 elif test $ac_prog = install &&
6505 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
6506 # program-specific install script used by HP pwplus--don't use.
6509 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
6521 if test "${ac_cv_path_install+set}" = set; then
6522 INSTALL
=$ac_cv_path_install
6524 # As a last resort, use the slow shell script. We don't cache a
6525 # path for INSTALL within a source directory, because that will
6526 # break other packages using the cache if that directory is
6527 # removed, or if the path is relative.
6528 INSTALL
=$ac_install_sh
6531 echo "$as_me:$LINENO: result: $INSTALL" >&5
6532 echo "${ECHO_T}$INSTALL" >&6
6534 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6535 # It thinks the first close brace ends the variable substitution.
6536 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6538 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
6540 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6543 ac_config_files
="$ac_config_files make/ptbuildopts.mak"
6545 ac_config_files
="$ac_config_files make/ptlib-config"
6547 ac_config_files
="$ac_config_files Makefile"
6550 #AC_CONFIG_FILES(include/ptbuildopts.h.in)
6551 ac_config_headers
="$ac_config_headers include/ptbuildopts.h"
6554 cat >confcache
<<\_ACEOF
6555 # This file is a shell script that caches the results of configure
6556 # tests run on this system so they can be shared between configure
6557 # scripts and configure runs, see configure's option --config-cache.
6558 # It is not useful on other systems. If it contains results you don't
6559 # want to keep, you may remove or edit it.
6561 # config.status only pays attention to the cache file if you give it
6562 # the --recheck option to rerun configure.
6564 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6570 # The following way of writing the cache mishandles newlines in values,
6571 # but we know of no workaround that is simple, portable, and efficient.
6572 # So, don't put newlines in cache variables' values.
6573 # Ultrix sh set writes to stderr and can't be redirected directly,
6574 # and sets the high bit in the cache file unless we assign to the vars.
6577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6579 # `set' does not quote correctly, so add quotes (double-quote
6580 # substitution turns \\\\ into \\, and sed turns \\ into \).
6583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6586 # `set' quotes correctly as required by POSIX, so do not add quotes.
6588 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6597 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6599 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6600 if test -w $cache_file; then
6601 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6602 cat confcache
>$cache_file
6604 echo "not updating unwritable cache $cache_file"
6609 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6610 # Let make expand exec_prefix.
6611 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6615 # trailing colons and then remove the whole line if VPATH becomes empty
6616 # (actually we leave an empty line to preserve line numbers).
6617 if test "x$srcdir" = x.
; then
6618 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6619 s/:*\$(srcdir):*/:/;
6620 s/:*\${srcdir}:*/:/;
6622 s/^\([^=]*=[ ]*\):*/\1/;
6628 DEFS
=-DHAVE_CONFIG_H
6632 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6633 # 1. Remove the extension, and $U if already installed.
6634 ac_i
=`echo "$ac_i" |
6635 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6637 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6638 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6642 LTLIBOBJS
=$ac_ltlibobjs
6646 : ${CONFIG_STATUS=./config.status}
6647 ac_clean_files_save
=$ac_clean_files
6648 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6649 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6650 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6651 cat >$CONFIG_STATUS <<_ACEOF
6653 # Generated by $as_me.
6654 # Run this file to recreate the current configuration.
6655 # Compiler output produced by configure, useful for debugging
6656 # configure, is in config.log if it exists.
6661 SHELL=\${CONFIG_SHELL-$SHELL}
6664 cat >>$CONFIG_STATUS <<\_ACEOF
6665 ## --------------------- ##
6666 ## M4sh Initialization. ##
6667 ## --------------------- ##
6669 # Be Bourne compatible
6670 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6673 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6674 # is contrary to our usage. Disable this feature.
6675 alias -g '${1+"$@"}'='"$@"'
6676 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6680 # Support unset when possible.
6681 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6688 # Work around bugs in pre-3.0 UWIN ksh.
6689 $as_unset ENV MAIL MAILPATH
6696 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6697 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6698 LC_TELEPHONE LC_TIME
6700 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6701 eval $as_var=C
; export $as_var
6707 # Required to use basename.
6708 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6714 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6715 as_basename
=basename
6721 # Name of the executable.
6722 as_me
=`$as_basename "$0" ||
6723 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6724 X"$0" : 'X\(//\)$' \| \
6725 X"$0" : 'X\(/\)$' \| \
6726 . : '\(.\)' 2>/dev/null ||
6728 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6729 /^X\/\(\/\/\)$/{ s//\1/; q; }
6730 /^X\/\(\/\).*/{ s//\1/; q; }
6734 # PATH needs CR, and LINENO needs CR and PATH.
6735 # Avoid depending upon Character Ranges.
6736 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6737 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6738 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6739 as_cr_digits
='0123456789'
6740 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6742 # The user is always right.
6743 if test "${PATH_SEPARATOR+set}" != set; then
6744 echo "#! /bin/sh" >conf$$.sh
6745 echo "exit 0" >>conf$$.sh
6747 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6758 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6759 test "x$as_lineno_1" != "x$as_lineno_2" &&
6760 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6761 # Find who we are. Look in the path if we contain no path at all
6764 *[\\/]* ) as_myself
=$0 ;;
6765 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6769 test -z "$as_dir" && as_dir
=.
6770 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6775 # We did not find ourselves, most probably we were run as `sh COMMAND'
6776 # in which case we are not to be found in the path.
6777 if test "x$as_myself" = x
; then
6780 if test ! -f "$as_myself"; then
6781 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6782 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6783 { (exit 1); exit 1; }; }
6785 case $CONFIG_SHELL in
6787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6788 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6791 test -z "$as_dir" && as_dir
=.
6792 for as_base
in sh bash ksh sh5
; do
6795 if ("$as_dir/$as_base" -c '
6798 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6799 test "x$as_lineno_1" != "x$as_lineno_2" &&
6800 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6801 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6802 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6803 CONFIG_SHELL
=$as_dir/$as_base
6805 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6813 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6814 # uniformly replaced by the line number. The first 'sed' inserts a
6815 # line-number line before each line; the second 'sed' does the real
6816 # work. The second script uses 'N' to pair each line-number line
6817 # with the numbered line, and appends trailing '-' during
6818 # substitution so that $LINENO is not a special case at line end.
6819 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6820 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6821 sed '=' <$as_myself |
6826 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6829 s,^['$as_cr_digits']*\n,,
6831 chmod +x
$as_me.lineno ||
6832 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6833 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6834 { (exit 1); exit 1; }; }
6836 # Don't try to exec as it changes $[0], causing all sort of problems
6837 # (the dirname of $[0] is not the place where we might find the
6838 # original and so on. Autoconf is especially sensible to this).
6840 # Exit status is that of the last command.
6845 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6846 *c
*,-n*) ECHO_N
= ECHO_C
='
6848 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6849 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6852 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6858 rm -f conf$$ conf$$.exe conf$$.
file
6860 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6861 # We could just check for DJGPP; but this test a) works b) is more generic
6862 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6863 if test -f conf$$.exe
; then
6864 # Don't use ln at all; we don't have any links
6869 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6874 rm -f conf$$ conf$$.exe conf$$.
file
6876 if mkdir
-p .
2>/dev
/null
; then
6882 as_executable_p
="test -f"
6884 # Sed expression to map a string onto a valid CPP name.
6885 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6887 # Sed expression to map a string onto a valid variable name.
6888 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6892 # We need space, tab and new line, in precisely that order.
6902 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6903 # report actual input values of CONFIG_FILES etc. instead of their
6904 # values after options handling. Logging --version etc. is OK.
6908 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6909 ## Running $as_me. ##
6914 This file was extended by $as_me, which was
6915 generated by GNU Autoconf 2.57. Invocation command line was
6917 CONFIG_FILES = $CONFIG_FILES
6918 CONFIG_HEADERS = $CONFIG_HEADERS
6919 CONFIG_LINKS = $CONFIG_LINKS
6920 CONFIG_COMMANDS = $CONFIG_COMMANDS
6924 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6928 # Files that config.status was made for.
6929 if test -n "$ac_config_files"; then
6930 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6933 if test -n "$ac_config_headers"; then
6934 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6937 if test -n "$ac_config_links"; then
6938 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6941 if test -n "$ac_config_commands"; then
6942 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6945 cat >>$CONFIG_STATUS <<\_ACEOF
6948 \`$as_me' instantiates files from templates according to the
6949 current configuration.
6951 Usage: $0 [OPTIONS] [FILE]...
6953 -h, --help print this help, then exit
6954 -V, --version print version number, then exit
6955 -q, --quiet do not print progress messages
6956 -d, --debug don't remove temporary files
6957 --recheck update $as_me by reconfiguring in the same conditions
6958 --file=FILE[:TEMPLATE]
6959 instantiate the configuration file FILE
6960 --header=FILE[:TEMPLATE]
6961 instantiate the configuration header FILE
6963 Configuration files:
6966 Configuration headers:
6969 Report bugs to <bug-autoconf@gnu.org>."
6972 cat >>$CONFIG_STATUS <<_ACEOF
6975 configured by $0, generated by GNU Autoconf 2.57,
6976 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6978 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6979 Free Software Foundation, Inc.
6980 This config.status script is free software; the Free Software Foundation
6981 gives unlimited permission to copy, distribute and modify it."
6986 cat >>$CONFIG_STATUS <<\_ACEOF
6987 # If no file are specified by the user, then we need to provide default
6988 # value. By we need to know if files were specified by the user.
6994 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6995 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7003 *) # This is not an option, so the user has probably given explicit
7006 ac_need_defaults
=false
;;
7010 # Handling of the options.
7012 cat >>$CONFIG_STATUS <<\_ACEOF
7013 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7015 --version |
--vers* |
-V )
7016 echo "$ac_cs_version"; exit 0 ;;
7018 # Conflict between --help and --header
7019 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7020 Try \`$0 --help' for more information." >&5
7021 echo "$as_me: error: ambiguous option: $1
7022 Try \`$0 --help' for more information." >&2;}
7023 { (exit 1); exit 1; }; };;
7024 --help |
--hel |
-h )
7025 echo "$ac_cs_usage"; exit 0 ;;
7026 --debug |
--d* |
-d )
7028 --file |
--fil |
--fi |
--f )
7030 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7031 ac_need_defaults
=false
;;
7032 --header |
--heade |
--head |
--hea )
7034 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7035 ac_need_defaults
=false
;;
7036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7037 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7041 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7042 Try \`$0 --help' for more information." >&5
7043 echo "$as_me: error: unrecognized option: $1
7044 Try \`$0 --help' for more information." >&2;}
7045 { (exit 1); exit 1; }; } ;;
7047 *) ac_config_targets
="$ac_config_targets $1" ;;
7053 ac_configure_extra_args
=
7055 if $ac_cs_silent; then
7057 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7061 cat >>$CONFIG_STATUS <<_ACEOF
7062 if \$ac_cs_recheck; then
7063 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7064 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7073 cat >>$CONFIG_STATUS <<\_ACEOF
7074 for ac_config_target
in $ac_config_targets
7076 case "$ac_config_target" in
7077 # Handling of arguments.
7078 "make/ptbuildopts.mak" ) CONFIG_FILES
="$CONFIG_FILES make/ptbuildopts.mak" ;;
7079 "make/ptlib-config" ) CONFIG_FILES
="$CONFIG_FILES make/ptlib-config" ;;
7080 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7081 "include/ptbuildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/ptbuildopts.h" ;;
7082 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7083 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7084 { (exit 1); exit 1; }; };;
7088 # If the user did not use the arguments to specify the items to instantiate,
7089 # then the envvar interface is used. Set only those that are not.
7090 # We use the long form for the default assignment because of an extremely
7091 # bizarre bug on SunOS 4.1.3.
7092 if $ac_need_defaults; then
7093 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7094 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7097 # Have a temporary directory for convenience. Make it in the build tree
7098 # simply because there is no reason to put it here, and in addition,
7099 # creating and moving files from /tmp can sometimes cause problems.
7100 # Create a temporary directory, and hook for its removal unless debugging.
7103 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7104 trap '{ (exit 1); exit 1; }' 1 2 13 15
7107 # Create a (secure) tmp directory for tmp files.
7110 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7111 test -n "$tmp" && test -d "$tmp"
7114 tmp
=.
/confstat$$
-$RANDOM
7115 (umask 077 && mkdir
$tmp)
7118 echo "$me: cannot create a temporary directory in ." >&2
7119 { (exit 1); exit 1; }
7124 cat >>$CONFIG_STATUS <<_ACEOF
7127 # CONFIG_FILES section.
7130 # No need to generate the scripts if there are no CONFIG_FILES.
7131 # This happens for instance when ./config.status config.h
7132 if test -n "\$CONFIG_FILES"; then
7133 # Protect against being on the right side of a sed subst in config.status.
7134 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7135 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7136 s,@SHELL@,$SHELL,;t t
7137 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7138 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7139 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7140 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7141 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7142 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7143 s,@exec_prefix@,$exec_prefix,;t t
7144 s,@prefix@,$prefix,;t t
7145 s,@program_transform_name@,$program_transform_name,;t t
7146 s,@bindir@,$bindir,;t t
7147 s,@sbindir@,$sbindir,;t t
7148 s,@libexecdir@,$libexecdir,;t t
7149 s,@datadir@,$datadir,;t t
7150 s,@sysconfdir@,$sysconfdir,;t t
7151 s,@sharedstatedir@,$sharedstatedir,;t t
7152 s,@localstatedir@,$localstatedir,;t t
7153 s,@libdir@,$libdir,;t t
7154 s,@includedir@,$includedir,;t t
7155 s,@oldincludedir@,$oldincludedir,;t t
7156 s,@infodir@,$infodir,;t t
7157 s,@mandir@,$mandir,;t t
7158 s,@build_alias@,$build_alias,;t t
7159 s,@host_alias@,$host_alias,;t t
7160 s,@target_alias@,$target_alias,;t t
7162 s,@ECHO_C@,$ECHO_C,;t t
7163 s,@ECHO_N@,$ECHO_N,;t t
7164 s,@ECHO_T@,$ECHO_T,;t t
7166 s,@subdirs@,$subdirs,;t t
7168 s,@CXXFLAGS@,$CXXFLAGS,;t t
7169 s,@LDFLAGS@,$LDFLAGS,;t t
7170 s,@CPPFLAGS@,$CPPFLAGS,;t t
7171 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7172 s,@EXEEXT@,$EXEEXT,;t t
7173 s,@OBJEXT@,$OBJEXT,;t t
7174 s,@PWLIBDIR@,$PWLIBDIR,;t t
7175 s,@PWINSTDIR@,$PWINSTDIR,;t t
7176 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7177 s,@LIBDIR@,$LIBDIR,;t t
7178 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
7179 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
7180 s,@BUILD_NUMBER@,$BUILD_NUMBER,;t t
7181 s,@PWLIB_VERSION@,$PWLIB_VERSION,;t t
7182 s,@build@,$build,;t t
7183 s,@build_cpu@,$build_cpu,;t t
7184 s,@build_vendor@,$build_vendor,;t t
7185 s,@build_os@,$build_os,;t t
7187 s,@host_cpu@,$host_cpu,;t t
7188 s,@host_vendor@,$host_vendor,;t t
7189 s,@host_os@,$host_os,;t t
7190 s,@target@,$target,;t t
7191 s,@target_cpu@,$target_cpu,;t t
7192 s,@target_vendor@,$target_vendor,;t t
7193 s,@target_os@,$target_os,;t t
7194 s,@MACHTYPE@,$MACHTYPE,;t t
7195 s,@OSTYPE@,$OSTYPE,;t t
7196 s,@OSRELEASE@,$OSRELEASE,;t t
7197 s,@TARGETDIR@,$TARGETDIR,;t t
7198 s,@SHAREDLIBEXT@,$SHAREDLIBEXT,;t t
7199 s,@CXXCPP@,$CXXCPP,;t t
7200 s,@EGREP@,$EGREP,;t t
7201 s,@HAS_REGEX@,$HAS_REGEX,;t t
7202 s,@HAS_PLUGINS@,$HAS_PLUGINS,;t t
7203 s,@HAS_SASL2@,$HAS_SASL2,;t t
7204 s,@HAS_SASL@,$HAS_SASL,;t t
7205 s,@HAS_OPENLDAP@,$HAS_OPENLDAP,;t t
7206 s,@HAS_OPENSSL@,$HAS_OPENSSL,;t t
7207 s,@P_STATIC_ENDLDLIBS@,$P_STATIC_ENDLDLIBS,;t t
7208 s,@P_STATIC_LDFLAGS@,$P_STATIC_LDFLAGS,;t t
7209 s,@HAS_EXPAT@,$HAS_EXPAT,;t t
7210 s,@HAS_IPV6@,$HAS_IPV6,;t t
7211 s,@HAS_SDL@,$HAS_SDL,;t t
7212 s,@HAS_VIDEO_CAPTURE@,$HAS_VIDEO_CAPTURE,;t t
7213 s,@HAS_ALSA@,$HAS_ALSA,;t t
7214 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7215 s,@STDCXXFLAGS@,$STDCXXFLAGS,;t t
7216 s,@OPTSTDCCFLAGS@,$OPTSTDCCFLAGS,;t t
7217 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7218 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7219 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7220 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7221 s,@LIBOBJS@,$LIBOBJS,;t t
7222 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7227 cat >>$CONFIG_STATUS <<\_ACEOF
7228 # Split the substitutions into bite-sized pieces for seds with
7229 # small command number limits, like on Digital OSF/1 and HP-UX.
7231 ac_sed_frag
=1 # Number of current file.
7232 ac_beg
=1 # First line for current file.
7233 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7236 while $ac_more_lines; do
7237 if test $ac_beg -gt 1; then
7238 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7240 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7242 if test ! -s $tmp/subs.frag
; then
7245 # The purpose of the label and of the branching condition is to
7246 # speed up the sed processing (if there are no `@' at all, there
7247 # is no need to browse any of the substitutions).
7248 # These are the two extra sed commands mentioned above.
7250 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7251 if test -z "$ac_sed_cmds"; then
7252 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7254 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7256 ac_sed_frag
=`expr $ac_sed_frag + 1`
7258 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7261 if test -z "$ac_sed_cmds"; then
7264 fi # test -n "$CONFIG_FILES"
7267 cat >>$CONFIG_STATUS <<\_ACEOF
7268 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7269 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7271 - |
*:- |
*:-:* ) # input from stdin
7273 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7274 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7275 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7276 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7277 * ) ac_file_in
=$ac_file.
in ;;
7280 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7281 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7283 X"$ac_file" : 'X\(//\)[^/]' \| \
7284 X"$ac_file" : 'X\(//\)$' \| \
7285 X"$ac_file" : 'X\(/\)' \| \
7286 . : '\(.\)' 2>/dev/null ||
7288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7290 /^X\(\/\/\)$/{ s//\1/; q; }
7291 /^X\(\/\).*/{ s//\1/; q; }
7293 { if $as_mkdir_p; then
7298 while test ! -d "$as_dir"; do
7299 as_dirs
="$as_dir $as_dirs"
7300 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7302 X"$as_dir" : 'X\(//\)[^/]' \| \
7303 X"$as_dir" : 'X\(//\)$' \| \
7304 X"$as_dir" : 'X\(/\)' \| \
7305 . : '\(.\)' 2>/dev/null ||
7307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7309 /^X\(\/\/\)$/{ s//\1/; q; }
7310 /^X\(\/\).*/{ s//\1/; q; }
7313 test ! -n "$as_dirs" || mkdir
$as_dirs
7314 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7315 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7316 { (exit 1); exit 1; }; }; }
7320 if test "$ac_dir" != .
; then
7321 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7322 # A "../" for each directory in $ac_dir_suffix.
7323 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7325 ac_dir_suffix
= ac_top_builddir
=
7329 .
) # No --srcdir option. We are building in place.
7331 if test -z "$ac_top_builddir"; then
7334 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7336 [\\/]* | ?
:[\\/]* ) # Absolute path.
7337 ac_srcdir
=$srcdir$ac_dir_suffix;
7338 ac_top_srcdir
=$srcdir ;;
7340 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7341 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7343 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7345 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7346 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7347 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7348 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7352 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7353 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7356 if test x
"$ac_file" != x-
; then
7357 { echo "$as_me:$LINENO: creating $ac_file" >&5
7358 echo "$as_me: creating $ac_file" >&6;}
7361 # Let's still pretend it is `configure' which instantiates (i.e., don't
7362 # use $as_me), people would be surprised to read:
7363 # /* config.h. Generated by config.status. */
7364 if test x
"$ac_file" = x-
; then
7367 configure_input
="$ac_file. "
7369 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7370 sed 's,.*/,,'` by configure."
7372 # First look for the input files in the build tree, otherwise in the
7374 ac_file_inputs
=`IFS=:
7375 for f in $ac_file_in; do
7377 -) echo $tmp/stdin ;;
7379 # Absolute (can't be DOS-style, as IFS=:)
7380 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7381 echo "$as_me: error: cannot find input file: $f" >&2;}
7382 { (exit 1); exit 1; }; }
7385 if test -f "$f"; then
7388 elif test -f "$srcdir/$f"; then
7393 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7394 echo "$as_me: error: cannot find input file: $f" >&2;}
7395 { (exit 1); exit 1; }; }
7398 done` ||
{ (exit 1); exit 1; }
7400 cat >>$CONFIG_STATUS <<_ACEOF
7404 cat >>$CONFIG_STATUS <<\_ACEOF
7406 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7407 s
,@configure_input@
,$configure_input,;t t
7408 s
,@srcdir@
,$ac_srcdir,;t t
7409 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7410 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7411 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7412 s
,@builddir@
,$ac_builddir,;t t
7413 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7414 s
,@top_builddir@
,$ac_top_builddir,;t t
7415 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7416 s
,@INSTALL@
,$ac_INSTALL,;t t
7417 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7419 if test x"$ac_file" != x-; then
7420 mv $tmp/out $ac_file
7426 # Run the commands associated with the file.
7428 make/ptlib-config ) chmod a+x make/ptlib-config ;;
7432 cat >>$CONFIG_STATUS <<\_ACEOF
7435 # CONFIG_HEADER section.
7438 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7439 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7441 # ac_d sets the value in "#define NAME VALUE" lines.
7442 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7443 ac_dB
='[ ].*$,\1#\2'
7446 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7447 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7448 ac_uB
='$,\1#\2define\3'
7452 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7453 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7455 - |
*:- |
*:-:* ) # input from stdin
7457 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7458 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7459 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7460 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7461 * ) ac_file_in
=$ac_file.
in ;;
7464 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7465 echo "$as_me: creating $ac_file" >&6;}
7467 # First look for the input files in the build tree, otherwise in the
7469 ac_file_inputs
=`IFS=:
7470 for f in $ac_file_in; do
7472 -) echo $tmp/stdin ;;
7474 # Absolute (can't be DOS-style, as IFS=:)
7475 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7476 echo "$as_me: error: cannot find input file: $f" >&2;}
7477 { (exit 1); exit 1; }; }
7480 if test -f "$f"; then
7483 elif test -f "$srcdir/$f"; then
7488 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7489 echo "$as_me: error: cannot find input file: $f" >&2;}
7490 { (exit 1); exit 1; }; }
7493 done` ||
{ (exit 1); exit 1; }
7494 # Remove the trailing spaces.
7495 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7499 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7500 # `conftest.undefs', that substitutes the proper values into
7501 # config.h.in to produce config.h. The first handles `#define'
7502 # templates, and the second `#undef' templates.
7503 # And first: Protect against being on the right side of a sed subst in
7504 # config.status. Protect against being in an unquoted here document
7506 rm -f conftest.defines conftest.undefs
7507 # Using a here document instead of a string reduces the quoting nightmare.
7508 # Putting comments in sed scripts is not portable.
7510 # `end' is used to avoid that the second main sed command (meant for
7511 # 0-ary CPP macros) applies to n-ary macro definitions.
7512 # See the Autoconf documentation for `clear'.
7513 cat >confdef2sed.
sed <<\_ACEOF
7518 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7520 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7523 # If some macros were called several times there might be several times
7524 # the same #defines, which is useless. Nevertheless, we may not want to
7525 # sort them, since we want the *last* AC-DEFINE to be honored.
7526 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7527 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7528 rm -f confdef2sed.sed
7530 # This sed command replaces #undef with comments. This is necessary, for
7531 # example, in the case of _POSIX_SOURCE, which is predefined and required
7532 # on some systems where configure will not decide to define it.
7533 cat >>conftest.undefs <<\_ACEOF
7534 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7537 # Break up conftest.defines because some shells have a limit on the size
7538 # of here documents, and old seds have small limits too (100 cmds).
7539 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7540 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7541 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7542 echo ' :' >>$CONFIG_STATUS
7544 while grep . conftest.defines >/dev/null
7546 # Write a limited-size here document to $tmp/defines.sed.
7547 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7548 # Speed up: don't consider the non `#define' lines.
7549 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7550 # Work around the forget-to-reset-the-flag bug.
7551 echo 't clr' >>$CONFIG_STATUS
7552 echo ': clr' >>$CONFIG_STATUS
7553 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7555 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7559 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7560 rm -f conftest.defines
7561 mv conftest.
tail conftest.defines
7563 rm -f conftest.defines
7564 echo ' fi # grep' >>$CONFIG_STATUS
7565 echo >>$CONFIG_STATUS
7567 # Break up conftest.undefs because some shells have a limit on the size
7568 # of here documents, and old seds have small limits too (100 cmds).
7569 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7571 while grep . conftest.undefs
>/dev
/null
7573 # Write a limited-size here document to $tmp/undefs.sed.
7574 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7575 # Speed up: don't consider the non
`#undef'
7576 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7577 # Work around the forget-to-reset-the-flag bug.
7578 echo 't clr' >>$CONFIG_STATUS
7579 echo ': clr' >>$CONFIG_STATUS
7580 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7582 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7586 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7587 rm -f conftest.undefs
7588 mv conftest.tail conftest.undefs
7590 rm -f conftest.undefs
7592 cat >>$CONFIG_STATUS <<\_ACEOF
7593 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7594 # use $as_me), people would be surprised to read:
7595 # /* config.h. Generated by config.status. */
7596 if test x
"$ac_file" = x-
; then
7597 echo "/* Generated by configure. */" >$tmp/config.h
7599 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7601 cat $tmp/in >>$tmp/config.h
7603 if test x
"$ac_file" != x-
; then
7604 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7605 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7606 echo "$as_me: $ac_file is unchanged" >&6;}
7608 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7609 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7610 X"$ac_file" : 'X\(//\)[^/]' \| \
7611 X"$ac_file" : 'X\(//\)$' \| \
7612 X"$ac_file" : 'X\(/\)' \| \
7613 . : '\(.\)' 2>/dev/null ||
7615 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7616 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7617 /^X\(\/\/\)$/{ s//\1/; q; }
7618 /^X\(\/\).*/{ s//\1/; q; }
7620 { if $as_mkdir_p; then
7625 while test ! -d "$as_dir"; do
7626 as_dirs
="$as_dir $as_dirs"
7627 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7628 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7629 X"$as_dir" : 'X\(//\)[^/]' \| \
7630 X"$as_dir" : 'X\(//\)$' \| \
7631 X"$as_dir" : 'X\(/\)' \| \
7632 . : '\(.\)' 2>/dev/null ||
7634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7635 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7636 /^X\(\/\/\)$/{ s//\1/; q; }
7637 /^X\(\/\).*/{ s//\1/; q; }
7640 test ! -n "$as_dirs" || mkdir
$as_dirs
7641 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7642 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7643 { (exit 1); exit 1; }; }; }
7646 mv $tmp/config.h
$ac_file
7655 cat >>$CONFIG_STATUS <<\_ACEOF
7657 { (exit 0); exit 0; }
7659 chmod +x
$CONFIG_STATUS
7660 ac_clean_files
=$ac_clean_files_save
7663 # configure is writing to config.log, and then calls config.status.
7664 # config.status does its own redirection, appending to config.log.
7665 # Unfortunately, on DOS this fails, as config.log is still kept open
7666 # by configure, so config.status won't be able to write to it; its
7667 # output is simply discarded. So we exec the FD to /dev/null,
7668 # effectively closing config.log, so it can be properly (re)opened and
7669 # appended to by config.status. When coming back to configure, we
7670 # need to make the FD available again.
7671 if test "$no_create" != yes; then
7673 ac_config_status_args
=
7674 test "$silent" = yes &&
7675 ac_config_status_args
="$ac_config_status_args --quiet"
7677 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7679 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7680 # would make configure fail if this is the last instruction.
7681 $ac_cs_success ||
{ (exit 1); exit 1; }
7685 # CONFIG_SUBDIRS section.
7687 if test "$no_recursion" != yes; then
7689 # Remove --cache-file and --srcdir arguments so they do not pile up.
7690 ac_sub_configure_args
=
7692 for ac_arg
in $ac_configure_args; do
7693 if test -n "$ac_prev"; then
7698 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7699 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7700 ac_prev
=cache_file
;;
7701 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7702 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7705 --config-cache |
-C)
7707 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7709 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7711 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7713 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7715 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7719 # Always prepend --prefix to ensure using the same prefix
7720 # in subdir configurations.
7721 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7724 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7726 # Do not complain, so a configure script can configure whichever
7727 # parts of a large source tree are present.
7728 test -d $srcdir/$ac_dir ||
continue
7730 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7731 echo "$as_me: configuring in $ac_dir" >&6;}
7732 { if $as_mkdir_p; then
7737 while test ! -d "$as_dir"; do
7738 as_dirs
="$as_dir $as_dirs"
7739 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7740 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7741 X"$as_dir" : 'X\(//\)[^/]' \| \
7742 X"$as_dir" : 'X\(//\)$' \| \
7743 X"$as_dir" : 'X\(/\)' \| \
7744 . : '\(.\)' 2>/dev/null ||
7746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7747 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7748 /^X\(\/\/\)$/{ s//\1/; q; }
7749 /^X\(\/\).*/{ s//\1/; q; }
7752 test ! -n "$as_dirs" || mkdir
$as_dirs
7753 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7754 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7755 { (exit 1); exit 1; }; }; }
7759 if test "$ac_dir" != .
; then
7760 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7761 # A "../" for each directory in $ac_dir_suffix.
7762 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7764 ac_dir_suffix
= ac_top_builddir
=
7768 .
) # No --srcdir option. We are building in place.
7770 if test -z "$ac_top_builddir"; then
7773 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7775 [\\/]* | ?
:[\\/]* ) # Absolute path.
7776 ac_srcdir
=$srcdir$ac_dir_suffix;
7777 ac_top_srcdir
=$srcdir ;;
7779 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7780 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7782 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7784 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7785 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7786 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7787 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7792 # Check for guested configure; otherwise get Cygnus style configure.
7793 if test -f $ac_srcdir/configure.gnu
; then
7794 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7795 elif test -f $ac_srcdir/configure
; then
7796 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7797 elif test -f $ac_srcdir/configure.
in; then
7798 ac_sub_configure
=$ac_configure
7800 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7801 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7805 # The recursion is here.
7806 if test -n "$ac_sub_configure"; then
7807 # Make the cache file name correct relative to the subdirectory.
7809 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7811 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7814 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7815 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7816 # The eval makes quoting arguments work.
7817 eval $ac_sub_configure $ac_sub_configure_args \
7818 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7819 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7820 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7821 { (exit 1); exit 1; }; }