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 CC CFLAGS ac_ct_CC CXXCPP EGREP HAS_REGEX HAS_PLUGINS HAS_OPENLDAP HAS_OPENSSL P_STATIC_ENDLDLIBS P_STATIC_LDFLAGS HAS_EXPAT HAS_SDL HAS_IPV6 STDCCFLAGS OPTSTDCCFLAGS ENDLDLIBS 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_CC_set
=${CC+set}
771 ac_cv_env_CC_set
=${CC+set}
772 ac_cv_env_CC_value
=$CC
773 ac_env_CFLAGS_set
=${CFLAGS+set}
774 ac_env_CFLAGS_value
=$CFLAGS
775 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
776 ac_cv_env_CFLAGS_value
=$CFLAGS
777 ac_env_CXXCPP_set
=${CXXCPP+set}
778 ac_env_CXXCPP_value
=$CXXCPP
779 ac_cv_env_CXXCPP_set
=${CXXCPP+set}
780 ac_cv_env_CXXCPP_value
=$CXXCPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --build=BUILD configure
for building on BUILD
[guessed
]
844 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
845 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
849 if test -n "$ac_init_help"; then
854 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
855 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
856 --enable-plugins enable plugins
' support in PWLIB
857 --disable-resolver disable DNS resolver support in PWLIB
858 --disable-openldap disable OpenLDAP support in PWLIB
859 --disable-openssl disable OpenSSL support in PWLIB
860 --disable-expat disable XML support in PWLIB
861 --disable-sdl disable SDL support in PWLIB
862 --disable-ipv6 disable IPV6 support in PWLIB
863 --disable-qos disable QOS support in PWLIB
864 --disable-video disable video device support in PWLIB
866 Some influential environment variables:
867 CXX C++ compiler command
868 CXXFLAGS C++ compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
873 CC C compiler command
874 CFLAGS C compiler flags
875 CXXCPP C++ preprocessor
877 Use these variables to override the choices made by `configure' or to
help
878 it to
find libraries and programs with nonstandard names
/locations.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
887 test -d $ac_dir ||
continue
890 if test "$ac_dir" != .
; then
891 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix
= ac_top_builddir
=
899 .
) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
906 [\\/]* | ?
:[\\/]* ) # Absolute path.
907 ac_srcdir
=$srcdir$ac_dir_suffix;
908 ac_top_srcdir
=$srcdir ;;
910 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
913 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
915 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
916 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
917 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
918 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
921 # Check for guested configure; otherwise get Cygnus style configure.
922 if test -f $ac_srcdir/configure.gnu
; then
924 $SHELL $ac_srcdir/configure.gnu
--help=recursive
925 elif test -f $ac_srcdir/configure
; then
927 $SHELL $ac_srcdir/configure
--help=recursive
928 elif test -f $ac_srcdir/configure.ac ||
929 test -f $ac_srcdir/configure.
in; then
933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
939 test -n "$ac_init_help" && exit 0
940 if $ac_init_version; then
943 Copyright
1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
944 Free Software Foundation
, Inc.
945 This configure
script is free software
; the Free Software Foundation
946 gives unlimited permission to copy
, distribute and modify it.
952 This file contains any messages produced by compilers while
953 running configure, to aid debugging if configure makes a mistake.
955 It was created by $as_me, which was
956 generated by GNU Autoconf 2.57. Invocation command line was
967 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
968 uname -m = `(uname -m) 2>/dev/null || echo unknown`
969 uname -r = `(uname -r) 2>/dev/null || echo unknown`
970 uname -s = `(uname -s) 2>/dev/null || echo unknown`
971 uname -v = `(uname -v) 2>/dev/null || echo unknown`
973 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
974 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
976 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
977 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
978 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
979 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
980 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
981 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
982 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
990 test -z "$as_dir" && as_dir
=.
1006 # Keep a trace of the command line.
1007 # Strip out --no-create and --no-recursion so they do not pile up.
1008 # Strip out --silent because we don't want to record it for future runs.
1009 # Also quote any args containing shell meta-characters.
1010 # Make two passes to allow for proper duplicate-argument suppression.
1015 ac_must_keep_next
=false
1021 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1022 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1023 |
-silent |
--silent |
--silen |
--sile |
--sil)
1025 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1026 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1029 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1031 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1032 if test $ac_must_keep_next = true
; then
1033 ac_must_keep_next
=false
# Got value, back to normal.
1036 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1037 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1038 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1039 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1040 case "$ac_configure_args0 " in
1041 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1044 -* ) ac_must_keep_next
=true
;;
1047 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1048 # Get rid of the leading space.
1054 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1055 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1057 # When interrupted or exit'd, cleanup temporary files, and complete
1058 # config.log. We remove comments because anyway the quotes in there
1059 # would cause problems or look ugly.
1060 # WARNING: Be sure not to use single quotes in there, as some shells,
1061 # such as our DU 5.0 friend, will then `close' the trap.
1062 trap 'exit_status=$?
1063 # Save into config.log some information that might help in debugging.
1068 ## ---------------- ##
1069 ## Cache variables. ##
1070 ## ---------------- ##
1073 # The following way of writing the cache mishandles newlines in values,
1076 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1079 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1084 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1091 ## ----------------- ##
1092 ## Output variables. ##
1093 ## ----------------- ##
1096 for ac_var in $ac_subst_vars
1098 eval ac_val=$`echo $ac_var`
1099 echo "$ac_var='"'"'$ac_val'"'"'"
1103 if test -n "$ac_subst_files"; then
1110 for ac_var in $ac_subst_files
1112 eval ac_val=$`echo $ac_var`
1113 echo "$ac_var='"'"'$ac_val'"'"'"
1118 if test -s confdefs.h; then
1125 sed "/^$/d" confdefs.h | sort
1128 test "$ac_signal" != 0 &&
1129 echo "$as_me: caught signal $ac_signal"
1130 echo "$as_me: exit $exit_status"
1132 rm -f core core.* *.core &&
1133 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1136 for ac_signal
in 1 2 13 15; do
1137 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1142 rm -rf conftest
* confdefs.h
1143 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1146 # Predefined preprocessor variables.
1148 cat >>confdefs.h
<<_ACEOF
1149 #define PACKAGE_NAME "$PACKAGE_NAME"
1153 cat >>confdefs.h
<<_ACEOF
1154 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1158 cat >>confdefs.h
<<_ACEOF
1159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1163 cat >>confdefs.h
<<_ACEOF
1164 #define PACKAGE_STRING "$PACKAGE_STRING"
1168 cat >>confdefs.h
<<_ACEOF
1169 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1173 # Let the site file select an alternate cache file if it wants to.
1174 # Prefer explicitly selected file to automatically selected ones.
1175 if test -z "$CONFIG_SITE"; then
1176 if test "x$prefix" != xNONE
; then
1177 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1179 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1182 for ac_site_file
in $CONFIG_SITE; do
1183 if test -r "$ac_site_file"; then
1184 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1185 echo "$as_me: loading site script $ac_site_file" >&6;}
1186 sed 's/^/| /' "$ac_site_file" >&5
1191 if test -r "$cache_file"; then
1192 # Some versions of bash will fail to source /dev/null (special
1193 # files actually), so we avoid doing that.
1194 if test -f "$cache_file"; then
1195 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1196 echo "$as_me: loading cache $cache_file" >&6;}
1198 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1199 *) . .
/$cache_file;;
1203 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1204 echo "$as_me: creating cache $cache_file" >&6;}
1208 # Check that the precious variables saved in the cache have kept the same
1210 ac_cache_corrupted
=false
1211 for ac_var
in `(set) 2>&1 |
1212 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1213 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1214 eval ac_new_set
=\
$ac_env_${ac_var}_set
1215 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1216 eval ac_new_val
="\$ac_env_${ac_var}_value"
1217 case $ac_old_set,$ac_new_set in
1219 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1220 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1221 ac_cache_corrupted
=: ;;
1223 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1224 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1225 ac_cache_corrupted
=: ;;
1228 if test "x$ac_old_val" != "x$ac_new_val"; then
1229 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1230 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1231 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1232 echo "$as_me: former value: $ac_old_val" >&2;}
1233 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1234 echo "$as_me: current value: $ac_new_val" >&2;}
1235 ac_cache_corrupted
=:
1238 # Pass precious variables to config.status.
1239 if test "$ac_new_set" = set; then
1241 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1242 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1243 *) ac_arg
=$ac_var=$ac_new_val ;;
1245 case " $ac_configure_args " in
1246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1247 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1251 if $ac_cache_corrupted; then
1252 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1253 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1254 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1255 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1256 { (exit 1); exit 1; }; }
1260 ac_cpp
='$CPP $CPPFLAGS'
1261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1285 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1286 if test -f $ac_dir/install-sh
; then
1288 ac_install_sh
="$ac_aux_dir/install-sh -c"
1290 elif test -f $ac_dir/install.sh
; then
1292 ac_install_sh
="$ac_aux_dir/install.sh -c"
1294 elif test -f $ac_dir/shtool
; then
1296 ac_install_sh
="$ac_aux_dir/shtool install -c"
1300 if test -z "$ac_aux_dir"; then
1301 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1302 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1303 { (exit 1); exit 1; }; }
1305 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1306 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1307 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1311 subdirs
="$subdirs plugins"
1315 ac_cpp
='$CXXCPP $CPPFLAGS'
1316 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1317 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1318 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
1319 if test -n "$ac_tool_prefix"; then
1320 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1324 echo "$as_me:$LINENO: checking for $ac_word" >&5
1325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326 if test "${ac_cv_prog_CXX+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 if test -n "$CXX"; then
1330 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir
=.
1337 for ac_exec_ext
in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349 if test -n "$CXX"; then
1350 echo "$as_me:$LINENO: result: $CXX" >&5
1351 echo "${ECHO_T}$CXX" >&6
1353 echo "$as_me:$LINENO: result: no" >&5
1354 echo "${ECHO_T}no" >&6
1357 test -n "$CXX" && break
1360 if test -z "$CXX"; then
1362 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
1364 # Extract the first word of "$ac_prog", so it can be a program name with args.
1365 set dummy
$ac_prog; ac_word
=$2
1366 echo "$as_me:$LINENO: checking for $ac_word" >&5
1367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1368 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 if test -n "$ac_ct_CXX"; then
1372 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
1374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1378 test -z "$as_dir" && as_dir
=.
1379 for ac_exec_ext
in '' $ac_executable_extensions; do
1380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1381 ac_cv_prog_ac_ct_CXX
="$ac_prog"
1382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1390 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
1391 if test -n "$ac_ct_CXX"; then
1392 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1393 echo "${ECHO_T}$ac_ct_CXX" >&6
1395 echo "$as_me:$LINENO: result: no" >&5
1396 echo "${ECHO_T}no" >&6
1399 test -n "$ac_ct_CXX" && break
1401 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
1407 # Provide some information about the compiler.
1408 echo "$as_me:$LINENO:" \
1409 "checking for C++ compiler version" >&5
1410 ac_compiler
=`set X $ac_compile; echo $2`
1411 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1412 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1415 (exit $ac_status); }
1416 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1417 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1420 (exit $ac_status); }
1421 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1422 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1425 (exit $ac_status); }
1427 cat >conftest.
$ac_ext <<_ACEOF
1428 #line $LINENO "configure"
1431 cat confdefs.h
>>conftest.
$ac_ext
1432 cat >>conftest.
$ac_ext <<_ACEOF
1433 /* end confdefs.h. */
1443 ac_clean_files_save
=$ac_clean_files
1444 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1445 # Try to create an executable without -o first, disregard a.out.
1446 # It will help us diagnose broken compilers, and finding out an intuition
1448 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
1449 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
1450 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1451 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1452 (eval $ac_link_default) 2>&5
1454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1455 (exit $ac_status); }; then
1456 # Find the output, starting from the most likely. This scheme is
1457 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1460 # Be careful to initialize this variable, since it used to be cached.
1461 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1463 # b.out is created by i960 compilers.
1464 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1466 test -f "$ac_file" ||
continue
1468 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1471 # This is the source file.
1474 # We found the default executable, but exeext='' is most
1478 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1479 # FIXME: I believe we export ac_cv_exeext for Libtool,
1480 # but it would be cool to find out if it's true. Does anybody
1481 # maintain Libtool? --akim.
1489 echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.
$ac_ext >&5
1492 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1493 See \`config.log' for more details." >&5
1494 echo "$as_me: error: C++ compiler cannot create executables
1495 See \`config.log' for more details." >&2;}
1496 { (exit 77); exit 77; }; }
1499 ac_exeext
=$ac_cv_exeext
1500 echo "$as_me:$LINENO: result: $ac_file" >&5
1501 echo "${ECHO_T}$ac_file" >&6
1503 # Check the compiler produces executables we can run. If not, either
1504 # the compiler is broken, or we cross compile.
1505 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1506 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1507 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1508 # If not cross compiling, check that we can run a simple program.
1509 if test "$cross_compiling" != yes; then
1510 if { ac_try
='./$ac_file'
1511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1515 (exit $ac_status); }; }; then
1518 if test "$cross_compiling" = maybe
; then
1521 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1522 If you meant to cross compile, use \`--host'.
1523 See \`config.log' for more details." >&5
1524 echo "$as_me: error: cannot run C++ compiled programs.
1525 If you meant to cross compile, use \`--host'.
1526 See \`config.log' for more details." >&2;}
1527 { (exit 1); exit 1; }; }
1531 echo "$as_me:$LINENO: result: yes" >&5
1532 echo "${ECHO_T}yes" >&6
1534 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1535 ac_clean_files
=$ac_clean_files_save
1536 # Check the compiler produces executables we can run. If not, either
1537 # the compiler is broken, or we cross compile.
1538 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1539 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1540 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1541 echo "${ECHO_T}$cross_compiling" >&6
1543 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1544 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1546 (eval $ac_link) 2>&5
1548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1549 (exit $ac_status); }; then
1550 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1551 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1552 # work properly (i.e., refer to `conftest.exe'), while it won't with
1554 for ac_file
in conftest.exe conftest conftest.
*; do
1555 test -f "$ac_file" ||
continue
1557 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1558 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1565 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1566 See \`config.log' for more details." >&5
1567 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1568 See \`config.log' for more details." >&2;}
1569 { (exit 1); exit 1; }; }
1572 rm -f conftest
$ac_cv_exeext
1573 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1574 echo "${ECHO_T}$ac_cv_exeext" >&6
1576 rm -f conftest.
$ac_ext
1577 EXEEXT
=$ac_cv_exeext
1579 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1580 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1581 if test "${ac_cv_objext+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 cat >conftest.
$ac_ext <<_ACEOF
1585 #line $LINENO "configure"
1588 cat confdefs.h
>>conftest.
$ac_ext
1589 cat >>conftest.
$ac_ext <<_ACEOF
1590 /* end confdefs.h. */
1600 rm -f conftest.o conftest.obj
1601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1602 (eval $ac_compile) 2>&5
1604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1605 (exit $ac_status); }; then
1606 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1608 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1609 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1614 echo "$as_me: failed program was:" >&5
1615 sed 's/^/| /' conftest.
$ac_ext >&5
1617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1618 See \`config.log' for more details." >&5
1619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1620 See \`config.log' for more details." >&2;}
1621 { (exit 1); exit 1; }; }
1624 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1626 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1627 echo "${ECHO_T}$ac_cv_objext" >&6
1628 OBJEXT
=$ac_cv_objext
1630 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1631 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1632 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1633 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 cat >conftest.
$ac_ext <<_ACEOF
1636 #line $LINENO "configure"
1639 cat confdefs.h
>>conftest.
$ac_ext
1640 cat >>conftest.
$ac_ext <<_ACEOF
1641 /* end confdefs.h. */
1654 rm -f conftest.
$ac_objext
1655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1656 (eval $ac_compile) 2>&5
1658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1659 (exit $ac_status); } &&
1660 { ac_try
='test -s conftest.$ac_objext'
1661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1665 (exit $ac_status); }; }; then
1668 echo "$as_me: failed program was:" >&5
1669 sed 's/^/| /' conftest.
$ac_ext >&5
1673 rm -f conftest.
$ac_objext conftest.
$ac_ext
1674 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
1677 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1678 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1679 GXX
=`test $ac_compiler_gnu = yes && echo yes`
1680 ac_test_CXXFLAGS
=${CXXFLAGS+set}
1681 ac_save_CXXFLAGS
=$CXXFLAGS
1683 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1684 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1685 if test "${ac_cv_prog_cxx_g+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 cat >conftest.
$ac_ext <<_ACEOF
1689 #line $LINENO "configure"
1692 cat confdefs.h
>>conftest.
$ac_ext
1693 cat >>conftest.
$ac_ext <<_ACEOF
1694 /* end confdefs.h. */
1704 rm -f conftest.
$ac_objext
1705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1706 (eval $ac_compile) 2>&5
1708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1709 (exit $ac_status); } &&
1710 { ac_try
='test -s conftest.$ac_objext'
1711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1715 (exit $ac_status); }; }; then
1716 ac_cv_prog_cxx_g
=yes
1718 echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.
$ac_ext >&5
1723 rm -f conftest.
$ac_objext conftest.
$ac_ext
1725 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1726 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1727 if test "$ac_test_CXXFLAGS" = set; then
1728 CXXFLAGS
=$ac_save_CXXFLAGS
1729 elif test $ac_cv_prog_cxx_g = yes; then
1730 if test "$GXX" = yes; then
1736 if test "$GXX" = yes; then
1742 for ac_declaration
in \
1744 '#include <stdlib.h>' \
1745 'extern "C" void std::exit (int) throw (); using std::exit;' \
1746 'extern "C" void std::exit (int); using std::exit;' \
1747 'extern "C" void exit (int) throw ();' \
1748 'extern "C" void exit (int);' \
1751 cat >conftest.
$ac_ext <<_ACEOF
1752 #line $LINENO "configure"
1755 cat confdefs.h
>>conftest.
$ac_ext
1756 cat >>conftest.
$ac_ext <<_ACEOF
1757 /* end confdefs.h. */
1768 rm -f conftest.
$ac_objext
1769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1770 (eval $ac_compile) 2>&5
1772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 (exit $ac_status); } &&
1774 { ac_try
='test -s conftest.$ac_objext'
1775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; }; then
1782 echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 rm -f conftest.
$ac_objext conftest.
$ac_ext
1788 cat >conftest.
$ac_ext <<_ACEOF
1789 #line $LINENO "configure"
1792 cat confdefs.h
>>conftest.
$ac_ext
1793 cat >>conftest.
$ac_ext <<_ACEOF
1794 /* end confdefs.h. */
1804 rm -f conftest.
$ac_objext
1805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1806 (eval $ac_compile) 2>&5
1808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1809 (exit $ac_status); } &&
1810 { ac_try
='test -s conftest.$ac_objext'
1811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1815 (exit $ac_status); }; }; then
1818 echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.
$ac_ext >&5
1822 rm -f conftest.
$ac_objext conftest.
$ac_ext
1825 if test -n "$ac_declaration"; then
1826 echo '#ifdef __cplusplus' >>confdefs.h
1827 echo $ac_declaration >>confdefs.h
1828 echo '#endif' >>confdefs.h
1832 ac_cpp
='$CPP $CPPFLAGS'
1833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1835 ac_compiler_gnu
=$ac_cv_c_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;};
1874 cat >>confdefs.h
<<_ACEOF
1875 #define PWLIB_MAJOR $MAJOR_VERSION
1878 cat >>confdefs.h
<<_ACEOF
1879 #define PWLIB_MINOR $MINOR_VERSION
1882 cat >>confdefs.h
<<_ACEOF
1883 #define PWLIB_BUILD $BUILD_NUMBER
1886 cat >>confdefs.h
<<_ACEOF
1887 #define PWLIB_VERSION "$PWLIB_VERSION"
1892 # Make sure we can run config.sub.
1893 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1894 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1895 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1896 { (exit 1); exit 1; }; }
1898 echo "$as_me:$LINENO: checking build system type" >&5
1899 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1900 if test "${ac_cv_build+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 ac_cv_build_alias
=$build_alias
1904 test -z "$ac_cv_build_alias" &&
1905 ac_cv_build_alias
=`$ac_config_guess`
1906 test -z "$ac_cv_build_alias" &&
1907 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1908 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1909 { (exit 1); exit 1; }; }
1910 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1911 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1912 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1913 { (exit 1); exit 1; }; }
1916 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1917 echo "${ECHO_T}$ac_cv_build" >&6
1919 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1920 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1921 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1924 echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 ac_cv_host_alias
=$host_alias
1930 test -z "$ac_cv_host_alias" &&
1931 ac_cv_host_alias
=$ac_cv_build_alias
1932 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1934 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1938 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1939 echo "${ECHO_T}$ac_cv_host" >&6
1941 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1942 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1943 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1946 echo "$as_me:$LINENO: checking target system type" >&5
1947 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1948 if test "${ac_cv_target+set}" = set; then
1949 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 ac_cv_target_alias
=$target_alias
1952 test "x$ac_cv_target_alias" = "x" &&
1953 ac_cv_target_alias
=$ac_cv_host_alias
1954 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1955 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1956 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1957 { (exit 1); exit 1; }; }
1960 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1961 echo "${ECHO_T}$ac_cv_target" >&6
1962 target
=$ac_cv_target
1963 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1964 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1965 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1968 # The aliases save the names the user supplied, while $host etc.
1969 # will get canonicalized.
1970 test -n "$target_alias" &&
1971 test "$program_prefix$program_suffix$program_transform_name" = \
1973 program_prefix
=${target_alias}-
1978 case "$target_os" in
1979 linux
*) OSTYPE
=linux
;
1980 OSRELEASE
=`uname -r` ;
1982 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1985 freebsd
* ) OSTYPE
=FreeBSD
;
1986 OS_TAG
="P_FREEBSD" ;
1987 if test "x$OSRELEASE" = "x"; then
1988 OSRELEASE
=`sysctl -n kern.osreldate` ;
1990 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
1993 openbsd
* ) OSTYPE
=OpenBSD
;
1994 OS_TAG
="P_OPENBSD" ;
1995 OSRELEASE
=`sysctl -n kern.osrevision` ;
1996 ENDLDLIBS
="-lossaudio" ;
1997 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2000 netbsd
* ) OSTYPE
=NetBSD
;
2002 OSRELEASE
=`/sbin/sysctl -n kern.osrevision` ;
2003 ENDLDLIBS
="-lossaudio" ;
2004 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2007 solaris
* | sunos
) OSTYPE
=solaris
;
2008 OS_TAG
="P_SOLARIS" ;
2009 OSRELEASE
=`uname -r | sed "s/5\.//g"` ;
2010 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2013 darwin
* ) OSTYPE
=Darwin
;
2015 OSRELEASE
=`uname -r | sed "s/\.//g"` ;
2016 SHAREDLIBEXT
="dylib";
2017 STDCCFLAGS
="$STDCCFLAGS -DP_USE_PRAGMA"
2020 * ) OSTYPE
="$target_os" ;
2021 OS_TAG
="P_UNKNOWN_OS" ;
2022 OSRELEASE
="${OSTYPE}_`uname -r`" ;
2023 { echo "$as_me:$LINENO: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&5
2024 echo "$as_me: WARNING: \"OS $target_os not recognized - proceed with caution!\"" >&2;} ;
2030 case "$target_cpu" in
2031 x86 | i686 | i586 | i486 | i386
) MACHTYPE
=x86
2034 x86_64
) MACHTYPE
=x86_64
;
2038 alpha | alphaev56
) MACHTYPE
=alpha
;
2042 sparc
) MACHTYPE
=sparc
;
2045 powerpc
) MACHTYPE
=ppc
;
2048 powerpc64
) MACHTYPE
=ppc
;
2052 ppc64
) MACHTYPE
=ppc
;
2056 ppc
) MACHTYPE
=ppc
;
2059 ia64
) MACHTYPE
=ia64
;
2063 s390x
) MACHTYPE
=s390x
;
2067 * ) MACHTYPE
=$target_cpu ;
2068 { echo "$as_me:$LINENO: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&5
2069 echo "$as_me: WARNING: \"CPU $target_cpu not recognized - proceed with caution!\"" >&2;} ;;
2072 { echo "$as_me:$LINENO: OSTYPE set to $OSTYPE" >&5
2073 echo "$as_me: OSTYPE set to $OSTYPE" >&6;};
2074 { echo "$as_me:$LINENO: OSRELEASE set to $OSRELEASE" >&5
2075 echo "$as_me: OSRELEASE set to $OSRELEASE" >&6;};
2076 { echo "$as_me:$LINENO: MACHTYPE set to $MACHTYPE" >&5
2077 echo "$as_me: MACHTYPE set to $MACHTYPE" >&6;};
2083 OSRELEASE
=$OSRELEASE
2085 TARGETDIR
=$TARGETDIR
2088 cat >>confdefs.h
<<_ACEOF
2089 #define $OS_TAG "$OSRELEASE"
2093 cat >>confdefs.h
<<\_ACEOF
2094 #define PHAS_TEMPLATES 1
2098 if test "x$P_64BIT" != "x" ; then
2099 cat >>confdefs.h
<<\_ACEOF
2106 cat >>confdefs.h
<<\_ACEOF
2107 #define P_PTHREADS 1
2110 if test ${OSTYPE} != Darwin
; then
2112 cat >>confdefs.h
<<\_ACEOF
2113 #define P_HAS_SEMAPHORES 1
2119 if test "x${SHAREDLIBEXT}" = "x" ; then
2122 SHAREDLIBEXT
=$SHAREDLIBEXT
2125 cat >>confdefs.h
<<\_ACEOF
2126 #define P_SHAREDLIBEXT $SHAREDLIBEXT
2133 ac_cpp
='$CPP $CPPFLAGS'
2134 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2135 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2136 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2139 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2140 echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2142 if test "${ac_cv_prog_CC+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$CC"; then
2146 ac_cv_prog_CC
="$CC" # Let the user override the test.
2148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir
=.
2153 for ac_exec_ext
in '' $ac_executable_extensions; do
2154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2155 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2165 if test -n "$CC"; then
2166 echo "$as_me:$LINENO: result: $CC" >&5
2167 echo "${ECHO_T}$CC" >&6
2169 echo "$as_me:$LINENO: result: no" >&5
2170 echo "${ECHO_T}no" >&6
2174 if test -z "$ac_cv_prog_CC"; then
2176 # Extract the first word of "gcc", so it can be a program name with args.
2177 set dummy gcc
; ac_word
=$2
2178 echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2180 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2181 echo $ECHO_N "(cached) $ECHO_C" >&6
2183 if test -n "$ac_ct_CC"; then
2184 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 for ac_exec_ext
in '' $ac_executable_extensions; do
2192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_ac_ct_CC
="gcc"
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2202 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2203 if test -n "$ac_ct_CC"; then
2204 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2205 echo "${ECHO_T}$ac_ct_CC" >&6
2207 echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6
2216 if test -z "$CC"; then
2217 if test -n "$ac_tool_prefix"; then
2218 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2219 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2220 echo "$as_me:$LINENO: checking for $ac_word" >&5
2221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2222 if test "${ac_cv_prog_CC+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 if test -n "$CC"; then
2226 ac_cv_prog_CC
="$CC" # Let the user override the test.
2228 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2232 test -z "$as_dir" && as_dir
=.
2233 for ac_exec_ext
in '' $ac_executable_extensions; do
2234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2235 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test -n "$CC"; then
2246 echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6
2249 echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6
2254 if test -z "$ac_cv_prog_CC"; then
2256 # Extract the first word of "cc", so it can be a program name with args.
2257 set dummy cc
; ac_word
=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$ac_ct_CC"; then
2264 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir
=.
2271 for ac_exec_ext
in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_ac_ct_CC
="cc"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2283 if test -n "$ac_ct_CC"; then
2284 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2285 echo "${ECHO_T}$ac_ct_CC" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2297 if test -z "$CC"; then
2298 # Extract the first word of "cc", so it can be a program name with args.
2299 set dummy cc
; ac_word
=$2
2300 echo "$as_me:$LINENO: checking for $ac_word" >&5
2301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2302 if test "${ac_cv_prog_CC+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 if test -n "$CC"; then
2306 ac_cv_prog_CC
="$CC" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2317 ac_prog_rejected
=yes
2321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327 if test $ac_prog_rejected = yes; then
2328 # We found a bogon in the path, so make sure we never use it.
2329 set dummy
$ac_cv_prog_CC
2331 if test $# != 0; then
2332 # We chose a different compiler from the bogus one.
2333 # However, it has the same basename, so the bogon will be chosen
2334 # first if we set CC to just the basename; use the full file name.
2336 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2342 if test -n "$CC"; then
2343 echo "$as_me:$LINENO: result: $CC" >&5
2344 echo "${ECHO_T}$CC" >&6
2346 echo "$as_me:$LINENO: result: no" >&5
2347 echo "${ECHO_T}no" >&6
2351 if test -z "$CC"; then
2352 if test -n "$ac_tool_prefix"; then
2355 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2356 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2357 echo "$as_me:$LINENO: checking for $ac_word" >&5
2358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2359 if test "${ac_cv_prog_CC+set}" = set; then
2360 echo $ECHO_N "(cached) $ECHO_C" >&6
2362 if test -n "$CC"; then
2363 ac_cv_prog_CC
="$CC" # Let the user override the test.
2365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir
=.
2370 for ac_exec_ext
in '' $ac_executable_extensions; do
2371 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2372 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2382 if test -n "$CC"; then
2383 echo "$as_me:$LINENO: result: $CC" >&5
2384 echo "${ECHO_T}$CC" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 test -n "$CC" && break
2393 if test -z "$CC"; then
2397 # Extract the first word of "$ac_prog", so it can be a program name with args.
2398 set dummy
$ac_prog; ac_word
=$2
2399 echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 if test -n "$ac_ct_CC"; then
2405 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 for ac_exec_ext
in '' $ac_executable_extensions; do
2413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2414 ac_cv_prog_ac_ct_CC
="$ac_prog"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2423 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2424 if test -n "$ac_ct_CC"; then
2425 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2426 echo "${ECHO_T}$ac_ct_CC" >&6
2428 echo "$as_me:$LINENO: result: no" >&5
2429 echo "${ECHO_T}no" >&6
2432 test -n "$ac_ct_CC" && break
2441 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2442 See \`config.log' for more details." >&5
2443 echo "$as_me: error: no acceptable C compiler found in \$PATH
2444 See \`config.log' for more details." >&2;}
2445 { (exit 1); exit 1; }; }
2447 # Provide some information about the compiler.
2448 echo "$as_me:$LINENO:" \
2449 "checking for C compiler version" >&5
2450 ac_compiler
=`set X $ac_compile; echo $2`
2451 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2452 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }
2456 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2457 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 (exit $ac_status); }
2461 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2462 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }
2467 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2468 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2469 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2472 cat >conftest.
$ac_ext <<_ACEOF
2473 #line $LINENO "configure"
2476 cat confdefs.h
>>conftest.
$ac_ext
2477 cat >>conftest.
$ac_ext <<_ACEOF
2478 /* end confdefs.h. */
2491 rm -f conftest.
$ac_objext
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493 (eval $ac_compile) 2>&5
2495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496 (exit $ac_status); } &&
2497 { ac_try
='test -s conftest.$ac_objext'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2505 echo "$as_me: failed program was:" >&5
2506 sed 's/^/| /' conftest.
$ac_ext >&5
2510 rm -f conftest.
$ac_objext conftest.
$ac_ext
2511 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2514 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2515 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2516 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2517 ac_test_CFLAGS
=${CFLAGS+set}
2518 ac_save_CFLAGS
=$CFLAGS
2520 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2521 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2522 if test "${ac_cv_prog_cc_g+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 cat >conftest.
$ac_ext <<_ACEOF
2526 #line $LINENO "configure"
2529 cat confdefs.h
>>conftest.
$ac_ext
2530 cat >>conftest.
$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2541 rm -f conftest.
$ac_objext
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); } &&
2547 { ac_try
='test -s conftest.$ac_objext'
2548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2552 (exit $ac_status); }; }; then
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.
$ac_ext >&5
2560 rm -f conftest.
$ac_objext conftest.
$ac_ext
2562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2563 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2564 if test "$ac_test_CFLAGS" = set; then
2565 CFLAGS
=$ac_save_CFLAGS
2566 elif test $ac_cv_prog_cc_g = yes; then
2567 if test "$GCC" = yes; then
2573 if test "$GCC" = yes; then
2579 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2580 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2581 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2582 echo $ECHO_N "(cached) $ECHO_C" >&6
2584 ac_cv_prog_cc_stdc
=no
2586 cat >conftest.
$ac_ext <<_ACEOF
2587 #line $LINENO "configure"
2590 cat confdefs.h
>>conftest.
$ac_ext
2591 cat >>conftest.
$ac_ext <<_ACEOF
2592 /* end confdefs.h. */
2595 #include <sys/types.h>
2596 #include <sys/stat.h>
2597 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2598 struct buf { int x; };
2599 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2600 static char *e (p, i)
2606 static char *f (char * (*g) (char **, int), char **p, ...)
2611 s = g (p, va_arg (v,int));
2615 int test (int i, double x);
2616 struct s1 {int (*f) (int a);};
2617 struct s2 {int (*f) (double a);};
2618 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2624 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2629 # Don't try gcc -ansi; that turns off useful extensions and
2630 # breaks some systems' header files.
2631 # AIX -qlanglvl=ansi
2632 # Ultrix and OSF/1 -std1
2633 # HP-UX 10.20 and later -Ae
2634 # HP-UX older versions -Aa -D_HPUX_SOURCE
2635 # SVR4 -Xc -D__EXTENSIONS__
2636 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2638 CC
="$ac_save_CC $ac_arg"
2639 rm -f conftest.
$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try
='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 ac_cv_prog_cc_stdc
=$ac_arg
2654 echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.
$ac_ext >&5
2658 rm -f conftest.
$ac_objext
2660 rm -f conftest.
$ac_ext conftest.
$ac_objext
2665 case "x$ac_cv_prog_cc_stdc" in
2667 echo "$as_me:$LINENO: result: none needed" >&5
2668 echo "${ECHO_T}none needed" >&6 ;;
2670 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2671 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2672 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2675 # Some people use a C++ compiler to compile C. Since we use `exit',
2676 # in C++ we need to declare it. In case someone uses the same compiler
2677 # for both compiling C and C++ we need to have the C++ compiler decide
2678 # the declaration of exit, since it's the most demanding environment.
2679 cat >conftest.
$ac_ext <<_ACEOF
2684 rm -f conftest.
$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } &&
2690 { ac_try
='test -s conftest.$ac_objext'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; }; then
2696 for ac_declaration
in \
2698 '#include <stdlib.h>' \
2699 'extern "C" void std::exit (int) throw (); using std::exit;' \
2700 'extern "C" void std::exit (int); using std::exit;' \
2701 'extern "C" void exit (int) throw ();' \
2702 'extern "C" void exit (int);' \
2705 cat >conftest.
$ac_ext <<_ACEOF
2706 #line $LINENO "configure"
2709 cat confdefs.h
>>conftest.
$ac_ext
2710 cat >>conftest.
$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2722 rm -f conftest.
$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); } &&
2728 { ac_try
='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2741 rm -f conftest.
$ac_objext conftest.
$ac_ext
2742 cat >conftest.
$ac_ext <<_ACEOF
2743 #line $LINENO "configure"
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2758 rm -f conftest.
$ac_objext
2759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2760 (eval $ac_compile) 2>&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } &&
2764 { ac_try
='test -s conftest.$ac_objext'
2765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); }; }; then
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.
$ac_ext >&5
2776 rm -f conftest.
$ac_objext conftest.
$ac_ext
2779 if test -n "$ac_declaration"; then
2780 echo '#ifdef __cplusplus' >>confdefs.h
2781 echo $ac_declaration >>confdefs.h
2782 echo '#endif' >>confdefs.h
2786 echo "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.
$ac_ext >&5
2790 rm -f conftest.
$ac_objext conftest.
$ac_ext
2792 ac_cpp
='$CPP $CPPFLAGS'
2793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2798 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
2799 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
2800 if test "${ac_cv_c_bigendian+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 # See if sys/param.h defines the BYTE_ORDER macro.
2804 cat >conftest.
$ac_ext <<_ACEOF
2805 #line $LINENO "configure"
2808 cat confdefs.h
>>conftest.
$ac_ext
2809 cat >>conftest.
$ac_ext <<_ACEOF
2810 /* end confdefs.h. */
2811 #include <sys/types.h>
2812 #include <sys/param.h>
2817 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
2825 rm -f conftest.
$ac_objext
2826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2827 (eval $ac_compile) 2>&5
2829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830 (exit $ac_status); } &&
2831 { ac_try
='test -s conftest.$ac_objext'
2832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836 (exit $ac_status); }; }; then
2837 # It does; now see whether it defined to BIG_ENDIAN or not.
2838 cat >conftest.
$ac_ext <<_ACEOF
2839 #line $LINENO "configure"
2842 cat confdefs.h
>>conftest.
$ac_ext
2843 cat >>conftest.
$ac_ext <<_ACEOF
2844 /* end confdefs.h. */
2845 #include <sys/types.h>
2846 #include <sys/param.h>
2851 #if BYTE_ORDER != BIG_ENDIAN
2859 rm -f conftest.
$ac_objext
2860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2861 (eval $ac_compile) 2>&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try
='test -s conftest.$ac_objext'
2866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; }; then
2871 ac_cv_c_bigendian
=yes
2873 echo "$as_me: failed program was:" >&5
2874 sed 's/^/| /' conftest.
$ac_ext >&5
2876 ac_cv_c_bigendian
=no
2878 rm -f conftest.
$ac_objext conftest.
$ac_ext
2880 echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.
$ac_ext >&5
2883 # It does not; compile a test program.
2884 if test "$cross_compiling" = yes; then
2885 # try to guess the endianness by grepping values into an object file
2886 ac_cv_c_bigendian
=unknown
2887 cat >conftest.
$ac_ext <<_ACEOF
2888 #line $LINENO "configure"
2891 cat confdefs.h
>>conftest.
$ac_ext
2892 cat >>conftest.
$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2894 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
2895 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
2896 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
2897 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
2898 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
2899 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
2903 _ascii (); _ebcdic ();
2908 rm -f conftest.
$ac_objext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910 (eval $ac_compile) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try
='test -s conftest.$ac_objext'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2920 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
2921 ac_cv_c_bigendian
=yes
2923 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
2924 if test "$ac_cv_c_bigendian" = unknown
; then
2925 ac_cv_c_bigendian
=no
2927 # finding both strings is unlikely to happen, but who knows?
2928 ac_cv_c_bigendian
=unknown
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.
$ac_ext >&5
2936 rm -f conftest.
$ac_objext conftest.
$ac_ext
2938 cat >conftest.
$ac_ext <<_ACEOF
2939 #line $LINENO "configure"
2942 cat confdefs.h
>>conftest.
$ac_ext
2943 cat >>conftest.
$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2948 /* Are we little or big endian? From Harbison&Steele. */
2952 char c[sizeof (long)];
2955 exit (u.c[sizeof (long) - 1] == 1);
2958 rm -f conftest
$ac_exeext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2960 (eval $ac_link) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 ac_cv_c_bigendian
=no
2971 echo "$as_me: program exited with status $ac_status" >&5
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.
$ac_ext >&5
2976 ac_cv_c_bigendian
=yes
2978 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2981 rm -f conftest.
$ac_objext conftest.
$ac_ext
2983 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
2984 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
2985 case $ac_cv_c_bigendian in
2988 cat >>confdefs.h
<<\_ACEOF
2989 #define WORDS_BIGENDIAN 1
2995 { { echo "$as_me:$LINENO: error: unknown endianness
2996 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
2997 echo "$as_me: error: unknown endianness
2998 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
2999 { (exit 1); exit 1; }; } ;;
3002 if test ${ac_cv_c_bigendian} = yes ; then
3003 PBYTE_ORDER
=PBIG_ENDIAN
3005 PBYTE_ORDER
=PLITTLE_ENDIAN
3009 cat >>confdefs.h
<<_ACEOF
3010 #define PBYTE_ORDER $PBYTE_ORDER
3015 ac_cpp
='$CXXCPP $CPPFLAGS'
3016 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3017 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3018 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3024 echo "$as_me:$LINENO: checking if linker accepts --gc-sections" >&5
3025 echo $ECHO_N "checking if linker accepts --gc-sections... $ECHO_C" >&6
3026 cat >conftest.
$ac_ext <<_ACEOF
3027 int main(int ac,char **av) { return 0; }
3029 $CC $CFLAGS -Wl,--gc-sections conftest.c
> /dev
/null
2>&1
3030 if test $?
= 0 ; then
3031 echo "$as_me:$LINENO: result: yes" >&5
3032 echo "${ECHO_T}yes" >&6
3034 echo "$as_me:$LINENO: checking if compiler accepts -ffunction-sections" >&5
3035 echo $ECHO_N "checking if compiler accepts -ffunction-sections... $ECHO_C" >&6
3036 cat >conftest.
$ac_ext <<_ACEOF
3037 int main(int ac,char **av) { return 0; }
3039 $CC $CFLAGS -ffunction-sections -c conftest.c
> /dev
/null
2>&1
3040 if test $?
= 0 ; then
3041 echo "$as_me:$LINENO: result: yes" >&5
3042 echo "${ECHO_T}yes" >&6
3043 STDCCFLAGS
="$STDCCFLAGS -ffunction-sections"
3046 echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6
3050 echo "$as_me:$LINENO: checking if compiler accepts -fdata-sections" >&5
3051 echo $ECHO_N "checking if compiler accepts -fdata-sections... $ECHO_C" >&6
3052 cat >conftest.
$ac_ext <<_ACEOF
3053 int main(int ac,char **av) { return 0; }
3055 $CC $CFLAGS -fdata-sections -c conftest.c
> /dev
/null
2>&1
3056 if test $?
= 0 ; then
3057 echo "$as_me:$LINENO: result: yes" >&5
3058 echo "${ECHO_T}yes" >&6
3059 STDCCFLAGS
="$STDCCFLAGS -fdata-sections"
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3066 echo "$as_me:$LINENO: checking if compiler accepts -fvtable-gc" >&5
3067 echo $ECHO_N "checking if compiler accepts -fvtable-gc... $ECHO_C" >&6
3068 cat >conftest.
$ac_ext <<_ACEOF
3069 int main(int ac,char **av) { return 0; }
3071 $CPLUSPLUS $CFLAGS -fvtable-gc -c conftest.c
> /dev
/null
2>&1
3072 if test $?
= 0 ; then
3073 echo "$as_me:$LINENO: result: yes" >&5
3074 echo "${ECHO_T}yes" >&6
3075 STDCCFLAGS
="$STDCCFLAGS -fvtable-gc"
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3082 if test $GCSECTIONS = 1; then
3083 if test "${OSTYPE}" != "Darwin" ; then
3084 LDFLAGS
="$LDFLAGS -Wl,--gc-sections"
3089 echo "$as_me:$LINENO: result: no" >&5
3090 echo "${ECHO_T}no" >&6
3095 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
3096 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
3097 if test "${ac_cv_c_long_double+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 cat >conftest.
$ac_ext <<_ACEOF
3101 #line $LINENO "configure"
3104 cat confdefs.h
>>conftest.
$ac_ext
3105 cat >>conftest.
$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3108 long double foo = 0.0;
3112 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
3113 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
3114 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
3121 rm -f conftest.
$ac_objext
3122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3123 (eval $ac_compile) 2>&5
3125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3126 (exit $ac_status); } &&
3127 { ac_try
='test -s conftest.$ac_objext'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; }; then
3133 ac_cv_c_long_double
=yes
3135 echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 ac_cv_c_long_double
=no
3140 rm -f conftest.
$ac_objext conftest.
$ac_ext
3142 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
3143 echo "${ECHO_T}$ac_cv_c_long_double" >&6
3144 if test $ac_cv_c_long_double = yes; then
3146 cat >>confdefs.h
<<\_ACEOF
3147 #define HAVE_LONG_DOUBLE 1
3152 if test $ac_cv_c_long_double != yes ; then
3153 cat >>confdefs.h
<<\_ACEOF
3154 #define PNO_LONG_DOUBLE 1
3162 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
3163 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
3164 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 ac_check_lib_save_LIBS
=$LIBS
3168 LIBS
="-lpthread $LIBS"
3169 cat >conftest.
$ac_ext <<_ACEOF
3170 #line $LINENO "configure"
3173 cat confdefs.h
>>conftest.
$ac_ext
3174 cat >>conftest.
$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3177 /* Override any gcc2 internal prototype to avoid an error. */
3181 /* We use char because int might match the return type of a gcc2
3182 builtin and then its argument prototype would still apply. */
3183 char pthread_create ();
3192 rm -f conftest.
$ac_objext conftest
$ac_exeext
3193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3194 (eval $ac_link) 2>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try
='test -s conftest$ac_exeext'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; }; then
3204 ac_cv_lib_pthread_pthread_create
=yes
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.
$ac_ext >&5
3209 ac_cv_lib_pthread_pthread_create
=no
3211 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3212 LIBS
=$ac_check_lib_save_LIBS
3214 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
3215 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
3216 if test $ac_cv_lib_pthread_pthread_create = yes; then
3222 if test ${HAS_PTHREADS} = yes ; then
3223 ENDLDLIBS
="$ENDLDLIBS -lpthread"
3224 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT"
3226 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
3227 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
3228 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3231 ac_check_lib_save_LIBS
=$LIBS
3233 cat >conftest.
$ac_ext <<_ACEOF
3234 #line $LINENO "configure"
3237 cat confdefs.h
>>conftest.
$ac_ext
3238 cat >>conftest.
$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3241 /* Override any gcc2 internal prototype to avoid an error. */
3245 /* We use char because int might match the return type of a gcc2
3246 builtin and then its argument prototype would still apply. */
3247 char pthread_create ();
3256 rm -f conftest.
$ac_objext conftest
$ac_exeext
3257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3258 (eval $ac_link) 2>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try
='test -s conftest$ac_exeext'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; }; then
3268 ac_cv_lib_c_r_pthread_create
=yes
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.
$ac_ext >&5
3273 ac_cv_lib_c_r_pthread_create
=no
3275 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3276 LIBS
=$ac_check_lib_save_LIBS
3278 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
3279 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
3280 if test $ac_cv_lib_c_r_pthread_create = yes; then
3286 if test ${HAS_PTHREADS} = yes ; then
3287 ENDLDLIBS
="$ENDLDLIBS -pthread"
3288 STDCCFLAGS
="$STDCCFLAGS -D_REENTRANT -pthread"
3293 if test ${HAS_PTHREADS} != yes ; then
3294 { { echo "$as_me:$LINENO: error: must have pthreads!" >&5
3295 echo "$as_me: error: must have pthreads!" >&2;}
3296 { (exit 1); exit 1; }; }
3299 echo "$as_me:$LINENO: checking for regcomp" >&5
3300 echo $ECHO_N "checking for regcomp... $ECHO_C" >&6
3301 if test "${ac_cv_func_regcomp+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 cat >conftest.
$ac_ext <<_ACEOF
3305 #line $LINENO "configure"
3308 cat confdefs.h
>>conftest.
$ac_ext
3309 cat >>conftest.
$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3311 /* System header to define __stub macros and hopefully few prototypes,
3312 which can conflict with char regcomp (); below.
3313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3314 <limits.h> exists even on freestanding compilers. */
3316 # include <limits.h>
3318 # include <assert.h>
3320 /* Override any gcc2 internal prototype to avoid an error. */
3325 /* We use char because int might match the return type of a gcc2
3326 builtin and then its argument prototype would still apply. */
3328 /* The GNU C library defines this for functions which it implements
3329 to always fail with ENOSYS. Some functions are actually named
3330 something starting with __ and the normal name is an alias. */
3331 #if defined (__stub_regcomp) || defined (__stub___regcomp)
3334 char (*f) () = regcomp;
3343 return f != regcomp;
3348 rm -f conftest.
$ac_objext conftest
$ac_exeext
3349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3350 (eval $ac_link) 2>&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); } &&
3354 { ac_try
='test -s conftest$ac_exeext'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 ac_cv_func_regcomp
=yes
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 ac_cv_func_regcomp
=no
3367 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3369 echo "$as_me:$LINENO: result: $ac_cv_func_regcomp" >&5
3370 echo "${ECHO_T}$ac_cv_func_regcomp" >&6
3371 if test $ac_cv_func_regcomp = yes; then
3375 if test "x$HAS_REGEX" != "x" ; then
3377 ac_cpp
='$CXXCPP $CPPFLAGS'
3378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3381 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
3382 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
3383 if test -z "$CXXCPP"; then
3384 if test "${ac_cv_prog_CXXCPP+set}" = set; then
3385 echo $ECHO_N "(cached) $ECHO_C" >&6
3387 # Double quotes because CXXCPP needs to be expanded
3388 for CXXCPP
in "$CXX -E" "/lib/cpp"
3391 for ac_cxx_preproc_warn_flag
in '' yes
3393 # Use a header file that comes with gcc, so configuring glibc
3394 # with a fresh cross-compiler works.
3395 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3396 # <limits.h> exists even on freestanding compilers.
3397 # On the NeXT, cc -E runs the code through the compiler's parser,
3398 # not just through cpp. "Syntax error" is here to catch this case.
3399 cat >conftest.
$ac_ext <<_ACEOF
3400 #line $LINENO "configure"
3403 cat confdefs.h
>>conftest.
$ac_ext
3404 cat >>conftest.
$ac_ext <<_ACEOF
3405 /* end confdefs.h. */
3407 # include <limits.h>
3409 # include <assert.h>
3413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3414 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3416 grep -v '^ *+' conftest.er1
>conftest.err
3418 cat conftest.err
>&5
3419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } >/dev
/null
; then
3421 if test -s conftest.err
; then
3422 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3429 if test -z "$ac_cpp_err"; then
3432 echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.
$ac_ext >&5
3435 # Broken: fails on valid input.
3438 rm -f conftest.err conftest.
$ac_ext
3440 # OK, works on sane cases. Now check whether non-existent headers
3441 # can be detected and how.
3442 cat >conftest.
$ac_ext <<_ACEOF
3443 #line $LINENO "configure"
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3449 #include <ac_nonexistent.h>
3451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3454 grep -v '^ *+' conftest.er1
>conftest.err
3456 cat conftest.err
>&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } >/dev
/null
; then
3459 if test -s conftest.err
; then
3460 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3467 if test -z "$ac_cpp_err"; then
3468 # Broken: success on invalid input.
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.
$ac_ext >&5
3474 # Passes both tests.
3478 rm -f conftest.err conftest.
$ac_ext
3481 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3482 rm -f conftest.err conftest.
$ac_ext
3483 if $ac_preproc_ok; then
3488 ac_cv_prog_CXXCPP
=$CXXCPP
3491 CXXCPP
=$ac_cv_prog_CXXCPP
3493 ac_cv_prog_CXXCPP
=$CXXCPP
3495 echo "$as_me:$LINENO: result: $CXXCPP" >&5
3496 echo "${ECHO_T}$CXXCPP" >&6
3498 for ac_cxx_preproc_warn_flag
in '' yes
3500 # Use a header file that comes with gcc, so configuring glibc
3501 # with a fresh cross-compiler works.
3502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3503 # <limits.h> exists even on freestanding compilers.
3504 # On the NeXT, cc -E runs the code through the compiler's parser,
3505 # not just through cpp. "Syntax error" is here to catch this case.
3506 cat >conftest.
$ac_ext <<_ACEOF
3507 #line $LINENO "configure"
3510 cat confdefs.h
>>conftest.
$ac_ext
3511 cat >>conftest.
$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3514 # include <limits.h>
3516 # include <assert.h>
3520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3521 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3523 grep -v '^ *+' conftest.er1
>conftest.err
3525 cat conftest.err
>&5
3526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3527 (exit $ac_status); } >/dev
/null
; then
3528 if test -s conftest.err
; then
3529 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3536 if test -z "$ac_cpp_err"; then
3539 echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.
$ac_ext >&5
3542 # Broken: fails on valid input.
3545 rm -f conftest.err conftest.
$ac_ext
3547 # OK, works on sane cases. Now check whether non-existent headers
3548 # can be detected and how.
3549 cat >conftest.
$ac_ext <<_ACEOF
3550 #line $LINENO "configure"
3553 cat confdefs.h
>>conftest.
$ac_ext
3554 cat >>conftest.
$ac_ext <<_ACEOF
3555 /* end confdefs.h. */
3556 #include <ac_nonexistent.h>
3558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3559 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3561 grep -v '^ *+' conftest.er1
>conftest.err
3563 cat conftest.err
>&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } >/dev
/null
; then
3566 if test -s conftest.err
; then
3567 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3574 if test -z "$ac_cpp_err"; then
3575 # Broken: success on invalid input.
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 # Passes both tests.
3585 rm -f conftest.err conftest.
$ac_ext
3588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3589 rm -f conftest.err conftest.
$ac_ext
3590 if $ac_preproc_ok; then
3593 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3594 See \`config.log' for more details." >&5
3595 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
3596 See \`config.log' for more details." >&2;}
3597 { (exit 1); exit 1; }; }
3601 ac_cpp
='$CXXCPP $CPPFLAGS'
3602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3607 echo "$as_me:$LINENO: checking for egrep" >&5
3608 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3609 if test "${ac_cv_prog_egrep+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3613 then ac_cv_prog_egrep
='grep -E'
3614 else ac_cv_prog_egrep
='egrep'
3617 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3618 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3619 EGREP
=$ac_cv_prog_egrep
3622 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3623 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3624 if test "${ac_cv_header_stdc+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 cat >conftest.
$ac_ext <<_ACEOF
3628 #line $LINENO "configure"
3631 cat confdefs.h
>>conftest.
$ac_ext
3632 cat >>conftest.
$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3647 rm -f conftest.
$ac_objext
3648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3649 (eval $ac_compile) 2>&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } &&
3653 { ac_try
='test -s conftest.$ac_objext'
3654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); }; }; then
3659 ac_cv_header_stdc
=yes
3661 echo "$as_me: failed program was:" >&5
3662 sed 's/^/| /' conftest.
$ac_ext >&5
3664 ac_cv_header_stdc
=no
3666 rm -f conftest.
$ac_objext conftest.
$ac_ext
3668 if test $ac_cv_header_stdc = yes; then
3669 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3670 cat >conftest.
$ac_ext <<_ACEOF
3671 #line $LINENO "configure"
3674 cat confdefs.h
>>conftest.
$ac_ext
3675 cat >>conftest.
$ac_ext <<_ACEOF
3676 /* end confdefs.h. */
3680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3681 $EGREP "memchr" >/dev
/null
2>&1; then
3684 ac_cv_header_stdc
=no
3690 if test $ac_cv_header_stdc = yes; then
3691 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3692 cat >conftest.
$ac_ext <<_ACEOF
3693 #line $LINENO "configure"
3696 cat confdefs.h
>>conftest.
$ac_ext
3697 cat >>conftest.
$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3703 $EGREP "free" >/dev
/null
2>&1; then
3706 ac_cv_header_stdc
=no
3712 if test $ac_cv_header_stdc = yes; then
3713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3714 if test "$cross_compiling" = yes; then
3717 cat >conftest.
$ac_ext <<_ACEOF
3718 #line $LINENO "configure"
3721 cat confdefs.h
>>conftest.
$ac_ext
3722 cat >>conftest.
$ac_ext <<_ACEOF
3723 /* end confdefs.h. */
3725 #if ((' ' & 0x0FF) == 0x020)
3726 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3727 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3729 # define ISLOWER(c) \
3730 (('a' <= (c) && (c) <= 'i') \
3731 || ('j' <= (c) && (c) <= 'r') \
3732 || ('s' <= (c) && (c) <= 'z'))
3733 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3736 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3741 for (i = 0; i < 256; i++)
3742 if (XOR (islower (i), ISLOWER (i))
3743 || toupper (i) != TOUPPER (i))
3748 rm -f conftest
$ac_exeext
3749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3750 (eval $ac_link) 2>&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3761 echo "$as_me: program exited with status $ac_status" >&5
3762 echo "$as_me: failed program was:" >&5
3763 sed 's/^/| /' conftest.
$ac_ext >&5
3766 ac_cv_header_stdc
=no
3768 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3772 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3773 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3774 if test $ac_cv_header_stdc = yes; then
3776 cat >>confdefs.h
<<\_ACEOF
3777 #define STDC_HEADERS 1
3782 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3792 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3793 inttypes.h stdint.h unistd.h
3795 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3796 echo "$as_me:$LINENO: checking for $ac_header" >&5
3797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 cat >conftest.
$ac_ext <<_ACEOF
3802 #line $LINENO "configure"
3805 cat confdefs.h
>>conftest.
$ac_ext
3806 cat >>conftest.
$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3808 $ac_includes_default
3810 #include <$ac_header>
3812 rm -f conftest.
$ac_objext
3813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3814 (eval $ac_compile) 2>&5
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); } &&
3818 { ac_try
='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 eval "$as_ac_Header=yes"
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.
$ac_ext >&5
3829 eval "$as_ac_Header=no"
3831 rm -f conftest.
$ac_objext conftest.
$ac_ext
3833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3836 cat >>confdefs.h
<<_ACEOF
3837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3846 for ac_header
in regex.h
3848 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3850 echo "$as_me:$LINENO: checking for $ac_header" >&5
3851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3858 # Is the header compilable?
3859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3861 cat >conftest.
$ac_ext <<_ACEOF
3862 #line $LINENO "configure"
3865 cat confdefs.h
>>conftest.
$ac_ext
3866 cat >>conftest.
$ac_ext <<_ACEOF
3867 /* end confdefs.h. */
3868 $ac_includes_default
3869 #include <$ac_header>
3871 rm -f conftest.
$ac_objext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try
='test -s conftest.$ac_objext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_header_compiler
=yes
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.
$ac_ext >&5
3888 ac_header_compiler
=no
3890 rm -f conftest.
$ac_objext conftest.
$ac_ext
3891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3892 echo "${ECHO_T}$ac_header_compiler" >&6
3894 # Is the header present?
3895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3897 cat >conftest.
$ac_ext <<_ACEOF
3898 #line $LINENO "configure"
3901 cat confdefs.h
>>conftest.
$ac_ext
3902 cat >>conftest.
$ac_ext <<_ACEOF
3903 /* end confdefs.h. */
3904 #include <$ac_header>
3906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } >/dev
/null
; then
3914 if test -s conftest.err
; then
3915 ac_cpp_err
=$ac_cxx_preproc_warn_flag
3922 if test -z "$ac_cpp_err"; then
3923 ac_header_preproc
=yes
3925 echo "$as_me: failed program was:" >&5
3926 sed 's/^/| /' conftest.
$ac_ext >&5
3928 ac_header_preproc
=no
3930 rm -f conftest.err conftest.
$ac_ext
3931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3932 echo "${ECHO_T}$ac_header_preproc" >&6
3934 # So? What about this header?
3935 case $ac_header_compiler:$ac_header_preproc in
3937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3943 ## ------------------------------------ ##
3944 ## Report this to bug-autoconf@gnu.org. ##
3945 ## ------------------------------------ ##
3948 sed "s/^/$as_me: WARNING: /" >&2
3951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3959 ## ------------------------------------ ##
3960 ## Report this to bug-autoconf@gnu.org. ##
3961 ## ------------------------------------ ##
3964 sed "s/^/$as_me: WARNING: /" >&2
3967 echo "$as_me:$LINENO: checking for $ac_header" >&5
3968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 eval "$as_ac_Header=$ac_header_preproc"
3974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3979 cat >>confdefs.h
<<_ACEOF
3980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3992 cat >>confdefs.h
<<_ACEOF
3993 #define P_REGEX $HAS_REGEX
4003 if test ${OSTYPE} = Darwin
; then
4006 cat >>confdefs.h
<<\_ACEOF
4007 #define P_DYNALINK 1
4012 for ac_header
in dlfcn.h
4014 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4016 echo "$as_me:$LINENO: checking for $ac_header" >&5
4017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4024 # Is the header compilable?
4025 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4026 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4027 cat >conftest.
$ac_ext <<_ACEOF
4028 #line $LINENO "configure"
4031 cat confdefs.h
>>conftest.
$ac_ext
4032 cat >>conftest.
$ac_ext <<_ACEOF
4033 /* end confdefs.h. */
4034 $ac_includes_default
4035 #include <$ac_header>
4037 rm -f conftest.
$ac_objext
4038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4039 (eval $ac_compile) 2>&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); } &&
4043 { ac_try
='test -s conftest.$ac_objext'
4044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4048 (exit $ac_status); }; }; then
4049 ac_header_compiler
=yes
4051 echo "$as_me: failed program was:" >&5
4052 sed 's/^/| /' conftest.
$ac_ext >&5
4054 ac_header_compiler
=no
4056 rm -f conftest.
$ac_objext conftest.
$ac_ext
4057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4058 echo "${ECHO_T}$ac_header_compiler" >&6
4060 # Is the header present?
4061 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4062 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4063 cat >conftest.
$ac_ext <<_ACEOF
4064 #line $LINENO "configure"
4067 cat confdefs.h
>>conftest.
$ac_ext
4068 cat >>conftest.
$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4070 #include <$ac_header>
4072 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4073 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4075 grep -v '^ *+' conftest.er1
>conftest.err
4077 cat conftest.err
>&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); } >/dev
/null
; then
4080 if test -s conftest.err
; then
4081 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4088 if test -z "$ac_cpp_err"; then
4089 ac_header_preproc
=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 ac_header_preproc
=no
4096 rm -f conftest.err conftest.
$ac_ext
4097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4098 echo "${ECHO_T}$ac_header_preproc" >&6
4100 # So? What about this header?
4101 case $ac_header_compiler:$ac_header_preproc in
4103 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4104 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4109 ## ------------------------------------ ##
4110 ## Report this to bug-autoconf@gnu.org. ##
4111 ## ------------------------------------ ##
4114 sed "s/^/$as_me: WARNING: /" >&2
4117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4125 ## ------------------------------------ ##
4126 ## Report this to bug-autoconf@gnu.org. ##
4127 ## ------------------------------------ ##
4130 sed "s/^/$as_me: WARNING: /" >&2
4133 echo "$as_me:$LINENO: checking for $ac_header" >&5
4134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 eval "$as_ac_Header=$ac_header_preproc"
4140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4141 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4144 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4145 cat >>confdefs.h
<<_ACEOF
4146 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4155 if test "$HAS_DLFCN" = yes ; then
4156 echo "$as_me:$LINENO: checking if dlopen is available" >&5
4157 echo $ECHO_N "checking if dlopen is available... $ECHO_C" >&6
4158 cat >conftest.
$ac_ext <<_ACEOF
4159 #line $LINENO "configure"
4162 cat confdefs.h
>>conftest.
$ac_ext
4163 cat >>conftest.
$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4169 void * p = dlopen("lib", 0);
4174 rm -f conftest.
$ac_objext
4175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176 (eval $ac_compile) 2>&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } &&
4180 { ac_try
='test -s conftest.$ac_objext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4193 rm -f conftest.
$ac_objext conftest.
$ac_ext
4194 if test "$HAS_DLOPEN" = no
; then
4195 echo "$as_me:$LINENO: result: no" >&5
4196 echo "${ECHO_T}no" >&6
4198 echo "$as_me:$LINENO: result: yes" >&5
4199 echo "${ECHO_T}yes" >&6
4202 cat >>confdefs.h
<<\_ACEOF
4203 #define P_DYNALINK 1
4206 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
4207 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
4208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
4209 echo $ECHO_N "(cached) $ECHO_C" >&6
4211 ac_check_lib_save_LIBS
=$LIBS
4213 cat >conftest.
$ac_ext <<_ACEOF
4214 #line $LINENO "configure"
4217 cat confdefs.h
>>conftest.
$ac_ext
4218 cat >>conftest.
$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4221 /* Override any gcc2 internal prototype to avoid an error. */
4225 /* We use char because int might match the return type of a gcc2
4226 builtin and then its argument prototype would still apply. */
4236 rm -f conftest.
$ac_objext conftest
$ac_exeext
4237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4238 (eval $ac_link) 2>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -s conftest$ac_exeext'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; }; then
4248 ac_cv_lib_dl_dlopen
=yes
4250 echo "$as_me: failed program was:" >&5
4251 sed 's/^/| /' conftest.
$ac_ext >&5
4253 ac_cv_lib_dl_dlopen
=no
4255 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4256 LIBS
=$ac_check_lib_save_LIBS
4258 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
4259 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
4260 if test $ac_cv_lib_dl_dlopen = yes; then
4271 echo "$as_me:$LINENO: checking if plugins support needs to be compiled" >&5
4272 echo $ECHO_N "checking if plugins support needs to be compiled... $ECHO_C" >&6
4273 # Check whether --enable-plugins or --disable-plugins was given.
4274 if test "${enable_plugins+set}" = set; then
4275 enableval
="$enable_plugins"
4279 if test "${plugins}" = "no" ; then
4280 echo "$as_me:$LINENO: result: no" >&5
4281 echo "${ECHO_T}no" >&6
4284 elif test "${P_DYNALINK:-unset}" = "unset" ; then
4285 echo "$as_me:$LINENO: result: plugins disabled as dlopen not available" >&5
4286 echo "${ECHO_T}plugins disabled as dlopen not available" >&6
4290 echo "$as_me:$LINENO: result: plugins enabled" >&5
4291 echo "${ECHO_T}plugins enabled" >&6
4295 cat >>confdefs.h
<<\_ACEOF
4296 #define P_HAS_PLUGINS 1
4301 cat >>confdefs.h
<<_ACEOF
4302 #define P_DEFAULT_PLUGIN_DIR "${INSTALLPREFIX}/lib/pwlib"
4308 # Check whether --enable-resolver or --disable-resolver was given.
4309 if test "${enable_resolver+set}" = set; then
4310 enableval
="$enable_resolver"
4314 if test "$resolver" = "no" ; then
4315 cat >>confdefs.h
<<\_ACEOF
4320 echo "$as_me:$LINENO: checking for res_search" >&5
4321 echo $ECHO_N "checking for res_search... $ECHO_C" >&6
4322 if test "${ac_cv_func_res_search+set}" = set; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 cat >conftest.
$ac_ext <<_ACEOF
4326 #line $LINENO "configure"
4329 cat confdefs.h
>>conftest.
$ac_ext
4330 cat >>conftest.
$ac_ext <<_ACEOF
4331 /* end confdefs.h. */
4332 /* System header to define __stub macros and hopefully few prototypes,
4333 which can conflict with char res_search (); below.
4334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4335 <limits.h> exists even on freestanding compilers. */
4337 # include <limits.h>
4339 # include <assert.h>
4341 /* Override any gcc2 internal prototype to avoid an error. */
4346 /* We use char because int might match the return type of a gcc2
4347 builtin and then its argument prototype would still apply. */
4349 /* The GNU C library defines this for functions which it implements
4350 to always fail with ENOSYS. Some functions are actually named
4351 something starting with __ and the normal name is an alias. */
4352 #if defined (__stub_res_search) || defined (__stub___res_search)
4355 char (*f) () = res_search;
4364 return f != res_search;
4369 rm -f conftest.
$ac_objext conftest
$ac_exeext
4370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4371 (eval $ac_link) 2>&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); } &&
4375 { ac_try
='test -s conftest$ac_exeext'
4376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; }; then
4381 ac_cv_func_res_search
=yes
4383 echo "$as_me: failed program was:" >&5
4384 sed 's/^/| /' conftest.
$ac_ext >&5
4386 ac_cv_func_res_search
=no
4388 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4390 echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
4391 echo "${ECHO_T}$ac_cv_func_res_search" >&6
4392 if test $ac_cv_func_res_search = yes; then
4396 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4399 echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
4400 echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
4402 cat >conftest.
$ac_ext <<_ACEOF
4404 #include <netinet/in.h>
4406 int main(int argc,char **argv){
4407 res_search (NULL, 0, 0, NULL, 0);
4410 rm -f conftest.
$ac_objext
4411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4412 (eval $ac_compile) 2>&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try
='test -s conftest.$ac_objext'
4417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); }; }; then
4424 echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.
$ac_ext >&5
4428 rm -f conftest.
$ac_objext conftest.
$ac_ext
4429 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4430 echo "$as_me:$LINENO: result: yes" >&5
4431 echo "${ECHO_T}yes" >&6
4432 RESOLVER_LIBS
="-lresolv"
4434 echo "$as_me:$LINENO: checking for library containing __res_search" >&5
4435 echo $ECHO_N "checking for library containing __res_search... $ECHO_C" >&6
4436 if test "${ac_cv_search___res_search+set}" = set; then
4437 echo $ECHO_N "(cached) $ECHO_C" >&6
4439 ac_func_search_save_LIBS
=$LIBS
4440 ac_cv_search___res_search
=no
4441 cat >conftest.
$ac_ext <<_ACEOF
4442 #line $LINENO "configure"
4445 cat confdefs.h
>>conftest.
$ac_ext
4446 cat >>conftest.
$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4449 /* Override any gcc2 internal prototype to avoid an error. */
4453 /* We use char because int might match the return type of a gcc2
4454 builtin and then its argument prototype would still apply. */
4455 char __res_search ();
4464 rm -f conftest.
$ac_objext conftest
$ac_exeext
4465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4466 (eval $ac_link) 2>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } &&
4470 { ac_try
='test -s conftest$ac_exeext'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; }; then
4476 ac_cv_search___res_search
="none required"
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4482 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4483 if test "$ac_cv_search___res_search" = no
; then
4484 for ac_lib
in resolv
; do
4485 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4486 cat >conftest.
$ac_ext <<_ACEOF
4487 #line $LINENO "configure"
4490 cat confdefs.h
>>conftest.
$ac_ext
4491 cat >>conftest.
$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4494 /* Override any gcc2 internal prototype to avoid an error. */
4498 /* We use char because int might match the return type of a gcc2
4499 builtin and then its argument prototype would still apply. */
4500 char __res_search ();
4509 rm -f conftest.
$ac_objext conftest
$ac_exeext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4511 (eval $ac_link) 2>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try
='test -s conftest$ac_exeext'
4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; }; then
4521 ac_cv_search___res_search
="-l$ac_lib"
4524 echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.
$ac_ext >&5
4528 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4531 LIBS
=$ac_func_search_save_LIBS
4533 echo "$as_me:$LINENO: result: $ac_cv_search___res_search" >&5
4534 echo "${ECHO_T}$ac_cv_search___res_search" >&6
4535 if test "$ac_cv_search___res_search" != no
; then
4536 test "$ac_cv_search___res_search" = "none required" || LIBS
="$ac_cv_search___res_search $LIBS"
4543 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4545 cat >>confdefs.h
<<\_ACEOF
4554 # Check whether --enable-openldap or --disable-openldap was given.
4555 if test "${enable_openldap+set}" = set; then
4556 enableval
="$enable_openldap"
4560 if test "$openldap" = "no" ; then
4563 cat >>confdefs.h
<<\_ACEOF
4568 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
4570 for ac_header
in ldap.h
4572 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4574 echo "$as_me:$LINENO: checking for $ac_header" >&5
4575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4582 # Is the header compilable?
4583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4585 cat >conftest.
$ac_ext <<_ACEOF
4586 #line $LINENO "configure"
4589 cat confdefs.h
>>conftest.
$ac_ext
4590 cat >>conftest.
$ac_ext <<_ACEOF
4591 /* end confdefs.h. */
4592 $ac_includes_default
4593 #include <$ac_header>
4595 rm -f conftest.
$ac_objext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4597 (eval $ac_compile) 2>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try
='test -s conftest.$ac_objext'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; }; then
4607 ac_header_compiler
=yes
4609 echo "$as_me: failed program was:" >&5
4610 sed 's/^/| /' conftest.
$ac_ext >&5
4612 ac_header_compiler
=no
4614 rm -f conftest.
$ac_objext conftest.
$ac_ext
4615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4616 echo "${ECHO_T}$ac_header_compiler" >&6
4618 # Is the header present?
4619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4621 cat >conftest.
$ac_ext <<_ACEOF
4622 #line $LINENO "configure"
4625 cat confdefs.h
>>conftest.
$ac_ext
4626 cat >>conftest.
$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 #include <$ac_header>
4630 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4631 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4633 grep -v '^ *+' conftest.er1
>conftest.err
4635 cat conftest.err
>&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); } >/dev
/null
; then
4638 if test -s conftest.err
; then
4639 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4646 if test -z "$ac_cpp_err"; then
4647 ac_header_preproc
=yes
4649 echo "$as_me: failed program was:" >&5
4650 sed 's/^/| /' conftest.
$ac_ext >&5
4652 ac_header_preproc
=no
4654 rm -f conftest.err conftest.
$ac_ext
4655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4656 echo "${ECHO_T}$ac_header_preproc" >&6
4658 # So? What about this header?
4659 case $ac_header_compiler:$ac_header_preproc in
4661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4664 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4667 ## ------------------------------------ ##
4668 ## Report this to bug-autoconf@gnu.org. ##
4669 ## ------------------------------------ ##
4672 sed "s/^/$as_me: WARNING: /" >&2
4675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4680 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4683 ## ------------------------------------ ##
4684 ## Report this to bug-autoconf@gnu.org. ##
4685 ## ------------------------------------ ##
4688 sed "s/^/$as_me: WARNING: /" >&2
4691 echo "$as_me:$LINENO: checking for $ac_header" >&5
4692 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 eval "$as_ac_Header=$ac_header_preproc"
4698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4703 cat >>confdefs.h
<<_ACEOF
4704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4712 if test "${OSTYPE:-unknown}" = "solaris"; then
4713 OPENLDAPSYSLIBS
=-lposix4
4716 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
4717 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
4718 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
4719 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 ac_check_lib_save_LIBS
=$LIBS
4723 LIBS
="-lldap -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
4724 cat >conftest.
$ac_ext <<_ACEOF
4725 #line $LINENO "configure"
4728 cat confdefs.h
>>conftest.
$ac_ext
4729 cat >>conftest.
$ac_ext <<_ACEOF
4730 /* end confdefs.h. */
4732 /* Override any gcc2 internal prototype to avoid an error. */
4736 /* We use char because int might match the return type of a gcc2
4737 builtin and then its argument prototype would still apply. */
4747 rm -f conftest.
$ac_objext conftest
$ac_exeext
4748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4749 (eval $ac_link) 2>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } &&
4753 { ac_try
='test -s conftest$ac_exeext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_lib_ldap_ldap_open
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4764 ac_cv_lib_ldap_ldap_open
=no
4766 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4767 LIBS
=$ac_check_lib_save_LIBS
4769 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
4770 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
4771 if test $ac_cv_lib_ldap_ldap_open = yes; then
4778 echo "$as_me:$LINENO: checking for /usr/local/include/ldap.h" >&5
4779 echo $ECHO_N "checking for /usr/local/include/ldap.h... $ECHO_C" >&6
4780 if test "${ac_cv_file__usr_local_include_ldap_h+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 test "$cross_compiling" = yes &&
4784 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4785 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4786 { (exit 1); exit 1; }; }
4787 if test -r "/usr/local/include/ldap.h"; then
4788 ac_cv_file__usr_local_include_ldap_h
=yes
4790 ac_cv_file__usr_local_include_ldap_h
=no
4793 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_ldap_h" >&5
4794 echo "${ECHO_T}$ac_cv_file__usr_local_include_ldap_h" >&6
4795 if test $ac_cv_file__usr_local_include_ldap_h = yes; then
4799 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
4800 OPENLDAPINCLUDEDIR
=/usr
/local
/include
4801 OPENLDAPLIBDIR
=/usr
/local
/lib
4802 echo "$as_me:$LINENO: checking for ldap_open in -lldap" >&5
4803 echo $ECHO_N "checking for ldap_open in -lldap... $ECHO_C" >&6
4804 if test "${ac_cv_lib_ldap_ldap_open+set}" = set; then
4805 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 ac_check_lib_save_LIBS
=$LIBS
4808 LIBS
="-lldap -L/usr/local/lib -llber -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENLDAPSYSLIBS $LIBS"
4809 cat >conftest.
$ac_ext <<_ACEOF
4810 #line $LINENO "configure"
4813 cat confdefs.h
>>conftest.
$ac_ext
4814 cat >>conftest.
$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4817 /* Override any gcc2 internal prototype to avoid an error. */
4821 /* We use char because int might match the return type of a gcc2
4822 builtin and then its argument prototype would still apply. */
4832 rm -f conftest.
$ac_objext conftest
$ac_exeext
4833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4834 (eval $ac_link) 2>&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } &&
4838 { ac_try
='test -s conftest$ac_exeext'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; }; then
4844 ac_cv_lib_ldap_ldap_open
=yes
4846 echo "$as_me: failed program was:" >&5
4847 sed 's/^/| /' conftest.
$ac_ext >&5
4849 ac_cv_lib_ldap_ldap_open
=no
4851 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4852 LIBS
=$ac_check_lib_save_LIBS
4854 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_open" >&5
4855 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_open" >&6
4856 if test $ac_cv_lib_ldap_ldap_open = yes; then
4866 if test "${HAS_OPENLDAP:-unset}" != "unset" ; then
4870 cat >>confdefs.h
<<\_ACEOF
4874 if test ${OPENLDAPINCLUDEDIR:-unset} != "unset" ; then
4875 STDCCFLAGS
="$STDCCFLAGS -I${OPENLDAPINCLUDEDIR}"
4877 if test ${OPENLDAPLIBDIR:-unset} != "unset" ; then
4878 LDFLAGS
="$LDFLAGS -L${OPENLDAPLIBDIR}"
4881 echo "$as_me:$LINENO: checking for sasl_client_auth in -lsasl" >&5
4882 echo $ECHO_N "checking for sasl_client_auth in -lsasl... $ECHO_C" >&6
4883 if test "${ac_cv_lib_sasl_sasl_client_auth+set}" = set; then
4884 echo $ECHO_N "(cached) $ECHO_C" >&6
4886 ac_check_lib_save_LIBS
=$LIBS
4887 LIBS
="-lsasl $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4888 cat >conftest.
$ac_ext <<_ACEOF
4889 #line $LINENO "configure"
4892 cat confdefs.h
>>conftest.
$ac_ext
4893 cat >>conftest.
$ac_ext <<_ACEOF
4894 /* end confdefs.h. */
4896 /* Override any gcc2 internal prototype to avoid an error. */
4900 /* We use char because int might match the return type of a gcc2
4901 builtin and then its argument prototype would still apply. */
4902 char sasl_client_auth ();
4906 sasl_client_auth ();
4911 rm -f conftest.
$ac_objext conftest
$ac_exeext
4912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4913 (eval $ac_link) 2>&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } &&
4917 { ac_try
='test -s conftest$ac_exeext'
4918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; }; then
4923 ac_cv_lib_sasl_sasl_client_auth
=yes
4925 echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.
$ac_ext >&5
4928 ac_cv_lib_sasl_sasl_client_auth
=no
4930 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4931 LIBS
=$ac_check_lib_save_LIBS
4933 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl_sasl_client_auth" >&5
4934 echo "${ECHO_T}$ac_cv_lib_sasl_sasl_client_auth" >&6
4935 if test $ac_cv_lib_sasl_sasl_client_auth = yes; then
4941 if test ${HAS_SASL:-unset} = "unset" ; then
4942 echo "$as_me:$LINENO: checking for sasl_version in -lsasl2" >&5
4943 echo $ECHO_N "checking for sasl_version in -lsasl2... $ECHO_C" >&6
4944 if test "${ac_cv_lib_sasl2_sasl_version+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 ac_check_lib_save_LIBS
=$LIBS
4948 LIBS
="-lsasl2 $LDFLAGS -llber -lldap -lldap_r $RESOLVER_LIBS $ENDLDLIBS $OPENDLAPSYSLIBS $LIBS"
4949 cat >conftest.
$ac_ext <<_ACEOF
4950 #line $LINENO "configure"
4953 cat confdefs.h
>>conftest.
$ac_ext
4954 cat >>conftest.
$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4957 /* Override any gcc2 internal prototype to avoid an error. */
4961 /* We use char because int might match the return type of a gcc2
4962 builtin and then its argument prototype would still apply. */
4963 char sasl_version ();
4972 rm -f conftest.
$ac_objext conftest
$ac_exeext
4973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4974 (eval $ac_link) 2>&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } &&
4978 { ac_try
='test -s conftest$ac_exeext'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; }; then
4984 ac_cv_lib_sasl2_sasl_version
=yes
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.
$ac_ext >&5
4989 ac_cv_lib_sasl2_sasl_version
=no
4991 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4992 LIBS
=$ac_check_lib_save_LIBS
4994 echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_version" >&5
4995 echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_version" >&6
4996 if test $ac_cv_lib_sasl2_sasl_version = yes; then
5003 if test ${HAS_SASL:-unset} != "unset" ; then
5004 ENDLDLIBS
="$ENDLDLIBS -lldap -lldap_r -llber -lsasl"
5005 elif test ${HAS_SASL2:-unset} != "unset" ; then
5006 ENDLDLIBS
="$ENDLDLIBS -lldap -lldap_r -llber -lsasl2"
5008 ENDLDLIBS
="$ENDLDLIBS -lldap -lldap_r -llber"
5015 # Check whether --enable-openldap or --disable-openldap was given.
5016 if test "${enable_openldap+set}" = set; then
5017 enableval
="$enable_openldap"
5021 if test "$openssl" = "no" ; then
5022 cat >>confdefs.h
<<\_ACEOF
5030 if test ${OPENSSLDIR:-unset} != "unset" ; then
5031 echo "$as_me:$LINENO: checking for ${OPENSSLDIR}/include/openssl/ssl.h" >&5
5032 echo $ECHO_N "checking for ${OPENSSLDIR}/include/openssl/ssl.h... $ECHO_C" >&6
5033 if test -e ${OPENSSLDIR}/include
/openssl
/ssl.h
; then
5034 echo "$as_me:$LINENO: result: yes" >&5
5035 echo "${ECHO_T}yes" >&6
5037 SSLINCLUDEDIR
="${OPENSSLDIR}/include"
5038 SSLLIBDIR
="${OPENSSLDIR}/lib"
5040 echo "$as_me:$LINENO: result: no" >&5
5041 echo "${ECHO_T}no" >&6
5046 if test "${SSLHDR:-unset}" = "unset" ; then
5048 for ac_header
in openssl
/ssl.h
5050 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5052 echo "$as_me:$LINENO: checking for $ac_header" >&5
5053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5058 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5060 # Is the header compilable?
5061 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5062 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5063 cat >conftest.
$ac_ext <<_ACEOF
5064 #line $LINENO "configure"
5067 cat confdefs.h
>>conftest.
$ac_ext
5068 cat >>conftest.
$ac_ext <<_ACEOF
5069 /* end confdefs.h. */
5070 $ac_includes_default
5071 #include <$ac_header>
5073 rm -f conftest.
$ac_objext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075 (eval $ac_compile) 2>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); } &&
5079 { ac_try
='test -s conftest.$ac_objext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 ac_header_compiler
=yes
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.
$ac_ext >&5
5090 ac_header_compiler
=no
5092 rm -f conftest.
$ac_objext conftest.
$ac_ext
5093 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5094 echo "${ECHO_T}$ac_header_compiler" >&6
5096 # Is the header present?
5097 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5099 cat >conftest.
$ac_ext <<_ACEOF
5100 #line $LINENO "configure"
5103 cat confdefs.h
>>conftest.
$ac_ext
5104 cat >>conftest.
$ac_ext <<_ACEOF
5105 /* end confdefs.h. */
5106 #include <$ac_header>
5108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5109 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5111 grep -v '^ *+' conftest.er1
>conftest.err
5113 cat conftest.err
>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } >/dev
/null
; then
5116 if test -s conftest.err
; then
5117 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5124 if test -z "$ac_cpp_err"; then
5125 ac_header_preproc
=yes
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.
$ac_ext >&5
5130 ac_header_preproc
=no
5132 rm -f conftest.err conftest.
$ac_ext
5133 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5134 echo "${ECHO_T}$ac_header_preproc" >&6
5136 # So? What about this header?
5137 case $ac_header_compiler:$ac_header_preproc in
5139 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5140 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5145 ## ------------------------------------ ##
5146 ## Report this to bug-autoconf@gnu.org. ##
5147 ## ------------------------------------ ##
5150 sed "s/^/$as_me: WARNING: /" >&2
5153 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5155 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5156 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5158 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5161 ## ------------------------------------ ##
5162 ## Report this to bug-autoconf@gnu.org. ##
5163 ## ------------------------------------ ##
5166 sed "s/^/$as_me: WARNING: /" >&2
5169 echo "$as_me:$LINENO: checking for $ac_header" >&5
5170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 eval "$as_ac_Header=$ac_header_preproc"
5176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5181 cat >>confdefs.h
<<_ACEOF
5182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5189 if test "${SSLHDR:-unset}" = "unset" ; then
5190 echo "$as_me:$LINENO: checking if openssl/ssl.h works with OPENSSL_NO_KRB5" >&5
5191 echo $ECHO_N "checking if openssl/ssl.h works with OPENSSL_NO_KRB5... $ECHO_C" >&6
5192 cat >conftest.
$ac_ext <<_ACEOF
5193 #define OPENSSL_NO_KRB5
5194 #include <openssl/ssl.h>
5195 int main(int argc,char **argv){}
5197 rm -f conftest.
$ac_objext
5198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5199 (eval $ac_compile) 2>&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); } &&
5203 { ac_try
='test -s conftest.$ac_objext'
5204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); }; }; then
5211 echo "$as_me: failed program was:" >&5
5212 sed 's/^/| /' conftest.
$ac_ext >&5
5215 rm -f conftest.
$ac_objext conftest.
$ac_ext
5216 if test ${SSLHDR:-unset} != "unset" ; then
5217 echo "$as_me:$LINENO: result: yes" >&5
5218 echo "${ECHO_T}yes" >&6
5219 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5220 P_STATIC_LDFLAGS
="-L/usr/kerberos/lib"
5221 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5232 if test "${SSLHDR:-unset}" = "unset" ; then
5235 ac_cpp
='$CPP $CPPFLAGS'
5236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5241 for openssl_dir
in /usr
/local
/openssl
/usr
/local
/ssl
; do
5242 echo "$as_me:$LINENO: checking for OpenSSL in $openssl_dir" >&5
5243 echo $ECHO_N "checking for OpenSSL in $openssl_dir... $ECHO_C" >&6
5244 if test ! -f ${openssl_dir}/include
/openssl
/ssl.h
; then
5245 echo "$as_me:$LINENO: result: no" >&5
5246 echo "${ECHO_T}no" >&6
5248 cat >conftest.
$ac_ext <<_ACEOF
5249 #include "${openssl_dir}/include/openssl/ssl.h"
5250 int main(int argc,char **argv){ return 0; }
5252 $CC $CFLAGS -I${openssl_dir}/include
-c conftest.c
> /dev
/null
2>&1
5253 if test $?
= 0 ; then
5254 echo "$as_me:$LINENO: result: yes" >&5
5255 echo "${ECHO_T}yes" >&6
5258 SSLINCLUDEDIR
="${openssl_dir}/include"
5259 SSLLIBDIR
="${openssl_dir}/lib"
5262 echo "$as_me:$LINENO: result: no" >&5
5263 echo "${ECHO_T}no" >&6
5264 echo "$as_me:$LINENO: checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5..." >&5
5265 echo $ECHO_N "checking if ${openssl_dir}/include/openssl/ssl.h works with OPENSSL_NO_KRB5...... $ECHO_C" >&6
5266 cat >conftest.
$ac_ext <<_ACEOF
5267 #define OPENSSL_NO_KRB5
5268 #include "${openssl_dir}/include/openssl/ssl.h"
5269 int main(int argc,char **argv){}
5271 $CC $CFLAGS -I${openssl_dir}/openssl
/include
-c conftest.c
> /dev
/null
2>&1
5272 if test $?
= 0 ; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5276 SSLCCFLAGS
=" -DOPENSSL_NO_KRB5"
5277 SSLINCLUDEDIR
="${openssl_dir}/include"
5278 SSLLIBDIR
="${openssl_dir}/lib"
5279 P_STATIC_LDFLAGS
="-L/usr/kerberos/lib"
5280 P_STATIC_ENDLDLIBS
="-lkrb5 -lk5crypto -lcom_err"
5283 echo "$as_me:$LINENO: result: no" >&5
5284 echo "${ECHO_T}no" >&6
5290 ac_cpp
='$CXXCPP $CPPFLAGS'
5291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5297 if test ${SSLHDR:-unset} != "unset" ; then
5301 cat >>confdefs.h
<<\_ACEOF
5305 if test ${SSLINCLUDEDIR:-unset} != "unset" ; then
5306 STDCCFLAGS
="$STDCCFLAGS -I${SSLINCLUDEDIR}"
5308 if test ${SSLLIBDIR:-unset} != "unset" ; then
5309 LDFLAGS
="$LDFLAGS -L${SSLLIBDIR}"
5311 STDCCFLAGS
="${STDCCFLAGS}${SSLCCFLAGS}"
5312 ENDLDLIBS
="$ENDLDLIBS -lssl -lcrypto"
5318 # Check whether --enable-expat or --disable-expat was given.
5319 if test "${enable_expat+set}" = set; then
5320 enableval
="$enable_expat"
5324 if test "$expat" = "no" ; then
5327 cat >>confdefs.h
<<\_ACEOF
5334 for ac_header
in expat.h
5336 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5338 echo "$as_me:$LINENO: checking for $ac_header" >&5
5339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5346 # Is the header compilable?
5347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5349 cat >conftest.
$ac_ext <<_ACEOF
5350 #line $LINENO "configure"
5353 cat confdefs.h
>>conftest.
$ac_ext
5354 cat >>conftest.
$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 $ac_includes_default
5357 #include <$ac_header>
5359 rm -f conftest.
$ac_objext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361 (eval $ac_compile) 2>&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); } &&
5365 { ac_try
='test -s conftest.$ac_objext'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; }; then
5371 ac_header_compiler
=yes
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.
$ac_ext >&5
5376 ac_header_compiler
=no
5378 rm -f conftest.
$ac_objext conftest.
$ac_ext
5379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5380 echo "${ECHO_T}$ac_header_compiler" >&6
5382 # Is the header present?
5383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5385 cat >conftest.
$ac_ext <<_ACEOF
5386 #line $LINENO "configure"
5389 cat confdefs.h
>>conftest.
$ac_ext
5390 cat >>conftest.
$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5392 #include <$ac_header>
5394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5395 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5397 grep -v '^ *+' conftest.er1
>conftest.err
5399 cat conftest.err
>&5
5400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5401 (exit $ac_status); } >/dev
/null
; then
5402 if test -s conftest.err
; then
5403 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5410 if test -z "$ac_cpp_err"; then
5411 ac_header_preproc
=yes
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.
$ac_ext >&5
5416 ac_header_preproc
=no
5418 rm -f conftest.err conftest.
$ac_ext
5419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5420 echo "${ECHO_T}$ac_header_preproc" >&6
5422 # So? What about this header?
5423 case $ac_header_compiler:$ac_header_preproc in
5425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5431 ## ------------------------------------ ##
5432 ## Report this to bug-autoconf@gnu.org. ##
5433 ## ------------------------------------ ##
5436 sed "s/^/$as_me: WARNING: /" >&2
5439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5444 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5447 ## ------------------------------------ ##
5448 ## Report this to bug-autoconf@gnu.org. ##
5449 ## ------------------------------------ ##
5452 sed "s/^/$as_me: WARNING: /" >&2
5455 echo "$as_me:$LINENO: checking for $ac_header" >&5
5456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 eval "$as_ac_Header=$ac_header_preproc"
5462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5467 cat >>confdefs.h
<<_ACEOF
5468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5475 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5476 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
5477 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
5478 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 ac_check_lib_save_LIBS
=$LIBS
5482 LIBS
="-lexpat $LIBS"
5483 cat >conftest.
$ac_ext <<_ACEOF
5484 #line $LINENO "configure"
5487 cat confdefs.h
>>conftest.
$ac_ext
5488 cat >>conftest.
$ac_ext <<_ACEOF
5489 /* end confdefs.h. */
5491 /* Override any gcc2 internal prototype to avoid an error. */
5495 /* We use char because int might match the return type of a gcc2
5496 builtin and then its argument prototype would still apply. */
5497 char XML_ParserCreate ();
5501 XML_ParserCreate ();
5506 rm -f conftest.
$ac_objext conftest
$ac_exeext
5507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5508 (eval $ac_link) 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); } &&
5512 { ac_try
='test -s conftest$ac_exeext'
5513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); }; }; then
5518 ac_cv_lib_expat_XML_ParserCreate
=yes
5520 echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.
$ac_ext >&5
5523 ac_cv_lib_expat_XML_ParserCreate
=no
5525 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5526 LIBS
=$ac_check_lib_save_LIBS
5528 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
5529 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
5530 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
5537 echo "$as_me:$LINENO: checking for /usr/local/include/expat.h" >&5
5538 echo $ECHO_N "checking for /usr/local/include/expat.h... $ECHO_C" >&6
5539 if test "${ac_cv_file__usr_local_include_expat_h+set}" = set; then
5540 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 test "$cross_compiling" = yes &&
5543 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5544 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5545 { (exit 1); exit 1; }; }
5546 if test -r "/usr/local/include/expat.h"; then
5547 ac_cv_file__usr_local_include_expat_h
=yes
5549 ac_cv_file__usr_local_include_expat_h
=no
5552 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_expat_h" >&5
5553 echo "${ECHO_T}$ac_cv_file__usr_local_include_expat_h" >&6
5554 if test $ac_cv_file__usr_local_include_expat_h = yes; then
5558 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5559 EXPATINCLUDEDIR
=/usr
/local
/include
5560 EXPATLIBDIR
=/usr
/local
/lib
5564 if test "${HAS_EXPAT:-unset}" != "unset" ; then
5568 cat >>confdefs.h
<<\_ACEOF
5572 if test ${EXPATINCLUDEDIR:-unset} != "unset" ; then
5573 STDCCFLAGS
="$STDCCFLAGS -I${EXPATINCLUDEDIR}"
5575 if test ${EXPATLIBDIR:-unset} != "unset" ; then
5576 LDFLAGS
="$LDFLAGS -L${EXPATLIBDIR}"
5578 ENDLDLIBS
="$ENDLDLIBS -lexpat"
5588 # Check whether --enable-sdl or --disable-sdl was given.
5589 if test "${enable_sdl+set}" = set; then
5590 enableval
="$enable_sdl"
5594 if test "$sdl" = "no" ; then
5597 cat >>confdefs.h
<<\_ACEOF
5602 if test "${SDLLIB:-unset}" = "unset" ; then
5607 for ac_header
in SDL
/SDL.h
5609 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5611 echo "$as_me:$LINENO: checking for $ac_header" >&5
5612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5619 # Is the header compilable?
5620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5622 cat >conftest.
$ac_ext <<_ACEOF
5623 #line $LINENO "configure"
5626 cat confdefs.h
>>conftest.
$ac_ext
5627 cat >>conftest.
$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5629 $ac_includes_default
5630 #include <$ac_header>
5632 rm -f conftest.
$ac_objext
5633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5634 (eval $ac_compile) 2>&5
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); } &&
5638 { ac_try
='test -s conftest.$ac_objext'
5639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5643 (exit $ac_status); }; }; then
5644 ac_header_compiler
=yes
5646 echo "$as_me: failed program was:" >&5
5647 sed 's/^/| /' conftest.
$ac_ext >&5
5649 ac_header_compiler
=no
5651 rm -f conftest.
$ac_objext conftest.
$ac_ext
5652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5653 echo "${ECHO_T}$ac_header_compiler" >&6
5655 # Is the header present?
5656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5658 cat >conftest.
$ac_ext <<_ACEOF
5659 #line $LINENO "configure"
5662 cat confdefs.h
>>conftest.
$ac_ext
5663 cat >>conftest.
$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5665 #include <$ac_header>
5667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5668 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5670 grep -v '^ *+' conftest.er1
>conftest.err
5672 cat conftest.err
>&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } >/dev
/null
; then
5675 if test -s conftest.err
; then
5676 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5683 if test -z "$ac_cpp_err"; then
5684 ac_header_preproc
=yes
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5689 ac_header_preproc
=no
5691 rm -f conftest.err conftest.
$ac_ext
5692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5693 echo "${ECHO_T}$ac_header_preproc" >&6
5695 # So? What about this header?
5696 case $ac_header_compiler:$ac_header_preproc in
5698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5704 ## ------------------------------------ ##
5705 ## Report this to bug-autoconf@gnu.org. ##
5706 ## ------------------------------------ ##
5709 sed "s/^/$as_me: WARNING: /" >&2
5712 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5713 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5714 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5715 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5720 ## ------------------------------------ ##
5721 ## Report this to bug-autoconf@gnu.org. ##
5722 ## ------------------------------------ ##
5725 sed "s/^/$as_me: WARNING: /" >&2
5728 echo "$as_me:$LINENO: checking for $ac_header" >&5
5729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 eval "$as_ac_Header=$ac_header_preproc"
5735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5740 cat >>confdefs.h
<<_ACEOF
5741 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5748 if test "${HAS_SDL:-unset}" != "unset" ; then
5749 echo "$as_me:$LINENO: checking for SDL_CreateYUVOverlay in -lSDL" >&5
5750 echo $ECHO_N "checking for SDL_CreateYUVOverlay in -lSDL... $ECHO_C" >&6
5751 if test "${ac_cv_lib_SDL_SDL_CreateYUVOverlay+set}" = set; then
5752 echo $ECHO_N "(cached) $ECHO_C" >&6
5754 ac_check_lib_save_LIBS
=$LIBS
5755 LIBS
="-lSDL -lpthread $LIBS"
5756 cat >conftest.
$ac_ext <<_ACEOF
5757 #line $LINENO "configure"
5760 cat confdefs.h
>>conftest.
$ac_ext
5761 cat >>conftest.
$ac_ext <<_ACEOF
5762 /* end confdefs.h. */
5764 /* Override any gcc2 internal prototype to avoid an error. */
5768 /* We use char because int might match the return type of a gcc2
5769 builtin and then its argument prototype would still apply. */
5770 char SDL_CreateYUVOverlay ();
5774 SDL_CreateYUVOverlay ();
5779 rm -f conftest.
$ac_objext conftest
$ac_exeext
5780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5781 (eval $ac_link) 2>&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); } &&
5785 { ac_try
='test -s conftest$ac_exeext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=yes
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.
$ac_ext >&5
5796 ac_cv_lib_SDL_SDL_CreateYUVOverlay
=no
5798 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
5799 LIBS
=$ac_check_lib_save_LIBS
5801 echo "$as_me:$LINENO: result: $ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&5
5802 echo "${ECHO_T}$ac_cv_lib_SDL_SDL_CreateYUVOverlay" >&6
5803 if test $ac_cv_lib_SDL_SDL_CreateYUVOverlay = yes; then
5811 if test "${HAS_SDL:-unset}" = "unset" ; then
5812 echo "$as_me:$LINENO: checking for /usr/local/include/SDL11/SDL.h" >&5
5813 echo $ECHO_N "checking for /usr/local/include/SDL11/SDL.h... $ECHO_C" >&6
5814 if test "${ac_cv_file__usr_local_include_SDL11_SDL_h+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 test "$cross_compiling" = yes &&
5818 { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5819 echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5820 { (exit 1); exit 1; }; }
5821 if test -r "/usr/local/include/SDL11/SDL.h"; then
5822 ac_cv_file__usr_local_include_SDL11_SDL_h
=yes
5824 ac_cv_file__usr_local_include_SDL11_SDL_h
=no
5827 echo "$as_me:$LINENO: result: $ac_cv_file__usr_local_include_SDL11_SDL_h" >&5
5828 echo "${ECHO_T}$ac_cv_file__usr_local_include_SDL11_SDL_h" >&6
5829 if test $ac_cv_file__usr_local_include_SDL11_SDL_h = yes; then
5833 if test "${HAS_SDL:-unset}" != "unset" ; then
5838 if test "${HAS_SDL:-unset}" != "unset" ; then
5842 cat >>confdefs.h
<<\_ACEOF
5846 if test ${SDLINCLUDEDIR:-unset} != "unset" ; then
5847 STDCCFLAGS
="$STDCCFLAGS -I${SDLINCLUDEDIR}"
5849 if test ${SDLLIBDIR:-unset} != "unset" ; then
5850 LDFLAGS
="$LDFLAGS -L${SDLLIBDIR}"
5852 ENDLDLIBS
="$ENDLDLIBS -l${SDLLIB}"
5859 # Check whether --enable-ipv6 or --disable-ipv6 was given.
5860 if test "${enable_ipv6+set}" = set; then
5861 enableval
="$enable_ipv6"
5865 if test "$ipv6" = "no" ; then
5866 cat >>confdefs.h
<<\_ACEOF
5867 #define P_HAS_IPV6 0
5873 echo "$as_me:$LINENO: checking for IPv6 Support" >&5
5874 echo $ECHO_N "checking for IPv6 Support... $ECHO_C" >&6
5875 if test "${HAS_IPV6+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5878 cat >conftest.
$ac_ext <<_ACEOF
5879 #line $LINENO "configure"
5882 cat confdefs.h
>>conftest.
$ac_ext
5883 cat >>conftest.
$ac_ext <<_ACEOF
5884 /* end confdefs.h. */
5885 #include <sys/types.h>
5886 #include <netinet/in.h>
5890 struct sockaddr_in6 s; s.sin6_scope_id = 0;
5895 rm -f conftest.
$ac_objext
5896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5897 (eval $ac_compile) 2>&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try
='test -s conftest.$ac_objext'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; }; then
5909 echo "$as_me: failed program was:" >&5
5910 sed 's/^/| /' conftest.
$ac_ext >&5
5914 rm -f conftest.
$ac_objext conftest.
$ac_ext
5916 echo "$as_me:$LINENO: result: $HAS_IPV6" >&5
5917 echo "${ECHO_T}$HAS_IPV6" >&6
5919 if test $HAS_IPV6 = yes ; then
5921 cat >>confdefs.h
<<\_ACEOF
5922 #define P_HAS_IPV6 1
5930 # Check whether --enable-qos or --disable-qos was given.
5931 if test "${enable_qos+set}" = set; then
5932 enableval
="$enable_qos"
5936 if test "$qos" = "no" ; then
5937 cat >>confdefs.h
<<\_ACEOF
5942 cat >>confdefs.h
<<\_ACEOF
5949 # Check whether --enable-video or --disable-video was given.
5950 if test "${enable_video+set}" = set; then
5951 enableval
="$enable_video"
5955 if test "$video" = "no" ; then
5956 cat >>confdefs.h
<<\_ACEOF
5957 #define NO_VIDEO_CAPTURE 0
5961 HAS_VIDEO_CAPTURE
=no
5962 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
5963 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
5964 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
5965 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
5969 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
5971 # Is the header compilable?
5972 echo "$as_me:$LINENO: checking linux/videodev.h usability" >&5
5973 echo $ECHO_N "checking linux/videodev.h usability... $ECHO_C" >&6
5974 cat >conftest.
$ac_ext <<_ACEOF
5975 #line $LINENO "configure"
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 $ac_includes_default
5982 #include <linux/videodev.h>
5984 rm -f conftest.
$ac_objext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5986 (eval $ac_compile) 2>&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } &&
5990 { ac_try
='test -s conftest.$ac_objext'
5991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; }; then
5996 ac_header_compiler
=yes
5998 echo "$as_me: failed program was:" >&5
5999 sed 's/^/| /' conftest.
$ac_ext >&5
6001 ac_header_compiler
=no
6003 rm -f conftest.
$ac_objext conftest.
$ac_ext
6004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6005 echo "${ECHO_T}$ac_header_compiler" >&6
6007 # Is the header present?
6008 echo "$as_me:$LINENO: checking linux/videodev.h presence" >&5
6009 echo $ECHO_N "checking linux/videodev.h presence... $ECHO_C" >&6
6010 cat >conftest.
$ac_ext <<_ACEOF
6011 #line $LINENO "configure"
6014 cat confdefs.h
>>conftest.
$ac_ext
6015 cat >>conftest.
$ac_ext <<_ACEOF
6016 /* end confdefs.h. */
6017 #include <linux/videodev.h>
6019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6022 grep -v '^ *+' conftest.er1
>conftest.err
6024 cat conftest.err
>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } >/dev
/null
; then
6027 if test -s conftest.err
; then
6028 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6035 if test -z "$ac_cpp_err"; then
6036 ac_header_preproc
=yes
6038 echo "$as_me: failed program was:" >&5
6039 sed 's/^/| /' conftest.
$ac_ext >&5
6041 ac_header_preproc
=no
6043 rm -f conftest.err conftest.
$ac_ext
6044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6045 echo "${ECHO_T}$ac_header_preproc" >&6
6047 # So? What about this header?
6048 case $ac_header_compiler:$ac_header_preproc in
6050 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&5
6051 echo "$as_me: WARNING: linux/videodev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6052 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6053 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6056 ## ------------------------------------ ##
6057 ## Report this to bug-autoconf@gnu.org. ##
6058 ## ------------------------------------ ##
6061 sed "s/^/$as_me: WARNING: /" >&2
6064 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: present but cannot be compiled" >&5
6065 echo "$as_me: WARNING: linux/videodev.h: present but cannot be compiled" >&2;}
6066 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&5
6067 echo "$as_me: WARNING: linux/videodev.h: check for missing prerequisite headers?" >&2;}
6068 { echo "$as_me:$LINENO: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&5
6069 echo "$as_me: WARNING: linux/videodev.h: proceeding with the preprocessor's result" >&2;}
6072 ## ------------------------------------ ##
6073 ## Report this to bug-autoconf@gnu.org. ##
6074 ## ------------------------------------ ##
6077 sed "s/^/$as_me: WARNING: /" >&2
6080 echo "$as_me:$LINENO: checking for linux/videodev.h" >&5
6081 echo $ECHO_N "checking for linux/videodev.h... $ECHO_C" >&6
6082 if test "${ac_cv_header_linux_videodev_h+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 ac_cv_header_linux_videodev_h
=$ac_header_preproc
6087 echo "$as_me:$LINENO: result: $ac_cv_header_linux_videodev_h" >&5
6088 echo "${ECHO_T}$ac_cv_header_linux_videodev_h" >&6
6091 if test $ac_cv_header_linux_videodev_h = yes; then
6092 HAS_VIDEO_CAPTURE
=yes
6096 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
6097 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
6098 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
6099 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
6100 echo $ECHO_N "(cached) $ECHO_C" >&6
6102 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
6103 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
6105 # Is the header compilable?
6106 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h usability" >&5
6107 echo $ECHO_N "checking machine/ioctl_meteor.h usability... $ECHO_C" >&6
6108 cat >conftest.
$ac_ext <<_ACEOF
6109 #line $LINENO "configure"
6112 cat confdefs.h
>>conftest.
$ac_ext
6113 cat >>conftest.
$ac_ext <<_ACEOF
6114 /* end confdefs.h. */
6115 $ac_includes_default
6116 #include <machine/ioctl_meteor.h>
6118 rm -f conftest.
$ac_objext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6120 (eval $ac_compile) 2>&5
6122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6123 (exit $ac_status); } &&
6124 { ac_try
='test -s conftest.$ac_objext'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; }; then
6130 ac_header_compiler
=yes
6132 echo "$as_me: failed program was:" >&5
6133 sed 's/^/| /' conftest.
$ac_ext >&5
6135 ac_header_compiler
=no
6137 rm -f conftest.
$ac_objext conftest.
$ac_ext
6138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6139 echo "${ECHO_T}$ac_header_compiler" >&6
6141 # Is the header present?
6142 echo "$as_me:$LINENO: checking machine/ioctl_meteor.h presence" >&5
6143 echo $ECHO_N "checking machine/ioctl_meteor.h presence... $ECHO_C" >&6
6144 cat >conftest.
$ac_ext <<_ACEOF
6145 #line $LINENO "configure"
6148 cat confdefs.h
>>conftest.
$ac_ext
6149 cat >>conftest.
$ac_ext <<_ACEOF
6150 /* end confdefs.h. */
6151 #include <machine/ioctl_meteor.h>
6153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6156 grep -v '^ *+' conftest.er1
>conftest.err
6158 cat conftest.err
>&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } >/dev
/null
; then
6161 if test -s conftest.err
; then
6162 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6169 if test -z "$ac_cpp_err"; then
6170 ac_header_preproc
=yes
6172 echo "$as_me: failed program was:" >&5
6173 sed 's/^/| /' conftest.
$ac_ext >&5
6175 ac_header_preproc
=no
6177 rm -f conftest.err conftest.
$ac_ext
6178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6179 echo "${ECHO_T}$ac_header_preproc" >&6
6181 # So? What about this header?
6182 case $ac_header_compiler:$ac_header_preproc in
6184 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
6185 echo "$as_me: WARNING: machine/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6186 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
6187 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
6190 ## ------------------------------------ ##
6191 ## Report this to bug-autoconf@gnu.org. ##
6192 ## ------------------------------------ ##
6195 sed "s/^/$as_me: WARNING: /" >&2
6198 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&5
6199 echo "$as_me: WARNING: machine/ioctl_meteor.h: present but cannot be compiled" >&2;}
6200 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&5
6201 echo "$as_me: WARNING: machine/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
6202 { echo "$as_me:$LINENO: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
6203 echo "$as_me: WARNING: machine/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
6206 ## ------------------------------------ ##
6207 ## Report this to bug-autoconf@gnu.org. ##
6208 ## ------------------------------------ ##
6211 sed "s/^/$as_me: WARNING: /" >&2
6214 echo "$as_me:$LINENO: checking for machine/ioctl_meteor.h" >&5
6215 echo $ECHO_N "checking for machine/ioctl_meteor.h... $ECHO_C" >&6
6216 if test "${ac_cv_header_machine_ioctl_meteor_h+set}" = set; then
6217 echo $ECHO_N "(cached) $ECHO_C" >&6
6219 ac_cv_header_machine_ioctl_meteor_h
=$ac_header_preproc
6221 echo "$as_me:$LINENO: result: $ac_cv_header_machine_ioctl_meteor_h" >&5
6222 echo "${ECHO_T}$ac_cv_header_machine_ioctl_meteor_h" >&6
6225 if test $ac_cv_header_machine_ioctl_meteor_h = yes; then
6226 HAS_VIDEO_CAPTURE
=yes
6230 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
6231 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
6232 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
6233 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
6237 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
6239 # Is the header compilable?
6240 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h usability" >&5
6241 echo $ECHO_N "checking i386/ioctl_meteor.h usability... $ECHO_C" >&6
6242 cat >conftest.
$ac_ext <<_ACEOF
6243 #line $LINENO "configure"
6246 cat confdefs.h
>>conftest.
$ac_ext
6247 cat >>conftest.
$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 $ac_includes_default
6250 #include <i386/ioctl_meteor.h>
6252 rm -f conftest.
$ac_objext
6253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6254 (eval $ac_compile) 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -s conftest.$ac_objext'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; }; then
6264 ac_header_compiler
=yes
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.
$ac_ext >&5
6269 ac_header_compiler
=no
6271 rm -f conftest.
$ac_objext conftest.
$ac_ext
6272 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6273 echo "${ECHO_T}$ac_header_compiler" >&6
6275 # Is the header present?
6276 echo "$as_me:$LINENO: checking i386/ioctl_meteor.h presence" >&5
6277 echo $ECHO_N "checking i386/ioctl_meteor.h presence... $ECHO_C" >&6
6278 cat >conftest.
$ac_ext <<_ACEOF
6279 #line $LINENO "configure"
6282 cat confdefs.h
>>conftest.
$ac_ext
6283 cat >>conftest.
$ac_ext <<_ACEOF
6284 /* end confdefs.h. */
6285 #include <i386/ioctl_meteor.h>
6287 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6288 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6290 grep -v '^ *+' conftest.er1
>conftest.err
6292 cat conftest.err
>&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } >/dev
/null
; then
6295 if test -s conftest.err
; then
6296 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6303 if test -z "$ac_cpp_err"; then
6304 ac_header_preproc
=yes
6306 echo "$as_me: failed program was:" >&5
6307 sed 's/^/| /' conftest.
$ac_ext >&5
6309 ac_header_preproc
=no
6311 rm -f conftest.err conftest.
$ac_ext
6312 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6313 echo "${ECHO_T}$ac_header_preproc" >&6
6315 # So? What about this header?
6316 case $ac_header_compiler:$ac_header_preproc in
6318 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&5
6319 echo "$as_me: WARNING: i386/ioctl_meteor.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6320 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
6321 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
6324 ## ------------------------------------ ##
6325 ## Report this to bug-autoconf@gnu.org. ##
6326 ## ------------------------------------ ##
6329 sed "s/^/$as_me: WARNING: /" >&2
6332 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&5
6333 echo "$as_me: WARNING: i386/ioctl_meteor.h: present but cannot be compiled" >&2;}
6334 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&5
6335 echo "$as_me: WARNING: i386/ioctl_meteor.h: check for missing prerequisite headers?" >&2;}
6336 { echo "$as_me:$LINENO: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&5
6337 echo "$as_me: WARNING: i386/ioctl_meteor.h: proceeding with the preprocessor's result" >&2;}
6340 ## ------------------------------------ ##
6341 ## Report this to bug-autoconf@gnu.org. ##
6342 ## ------------------------------------ ##
6345 sed "s/^/$as_me: WARNING: /" >&2
6348 echo "$as_me:$LINENO: checking for i386/ioctl_meteor.h" >&5
6349 echo $ECHO_N "checking for i386/ioctl_meteor.h... $ECHO_C" >&6
6350 if test "${ac_cv_header_i386_ioctl_meteor_h+set}" = set; then
6351 echo $ECHO_N "(cached) $ECHO_C" >&6
6353 ac_cv_header_i386_ioctl_meteor_h
=$ac_header_preproc
6355 echo "$as_me:$LINENO: result: $ac_cv_header_i386_ioctl_meteor_h" >&5
6356 echo "${ECHO_T}$ac_cv_header_i386_ioctl_meteor_h" >&6
6359 if test $ac_cv_header_i386_ioctl_meteor_h = yes; then
6360 HAS_VIDEO_CAPTURE
=yes
6364 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
6365 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
6366 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
6367 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
6368 echo $ECHO_N "(cached) $ECHO_C" >&6
6370 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
6371 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
6373 # Is the header compilable?
6374 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h usability" >&5
6375 echo $ECHO_N "checking dev/ic/bt8xx.h usability... $ECHO_C" >&6
6376 cat >conftest.
$ac_ext <<_ACEOF
6377 #line $LINENO "configure"
6380 cat confdefs.h
>>conftest.
$ac_ext
6381 cat >>conftest.
$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6383 $ac_includes_default
6384 #include <dev/ic/bt8xx.h>
6386 rm -f conftest.
$ac_objext
6387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6388 (eval $ac_compile) 2>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -s conftest.$ac_objext'
6393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); }; }; then
6398 ac_header_compiler
=yes
6400 echo "$as_me: failed program was:" >&5
6401 sed 's/^/| /' conftest.
$ac_ext >&5
6403 ac_header_compiler
=no
6405 rm -f conftest.
$ac_objext conftest.
$ac_ext
6406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6407 echo "${ECHO_T}$ac_header_compiler" >&6
6409 # Is the header present?
6410 echo "$as_me:$LINENO: checking dev/ic/bt8xx.h presence" >&5
6411 echo $ECHO_N "checking dev/ic/bt8xx.h presence... $ECHO_C" >&6
6412 cat >conftest.
$ac_ext <<_ACEOF
6413 #line $LINENO "configure"
6416 cat confdefs.h
>>conftest.
$ac_ext
6417 cat >>conftest.
$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6419 #include <dev/ic/bt8xx.h>
6421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6422 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6424 grep -v '^ *+' conftest.er1
>conftest.err
6426 cat conftest.err
>&5
6427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6428 (exit $ac_status); } >/dev
/null
; then
6429 if test -s conftest.err
; then
6430 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6437 if test -z "$ac_cpp_err"; then
6438 ac_header_preproc
=yes
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.
$ac_ext >&5
6443 ac_header_preproc
=no
6445 rm -f conftest.err conftest.
$ac_ext
6446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6447 echo "${ECHO_T}$ac_header_preproc" >&6
6449 # So? What about this header?
6450 case $ac_header_compiler:$ac_header_preproc in
6452 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&5
6453 echo "$as_me: WARNING: dev/ic/bt8xx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6454 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
6455 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
6458 ## ------------------------------------ ##
6459 ## Report this to bug-autoconf@gnu.org. ##
6460 ## ------------------------------------ ##
6463 sed "s/^/$as_me: WARNING: /" >&2
6466 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&5
6467 echo "$as_me: WARNING: dev/ic/bt8xx.h: present but cannot be compiled" >&2;}
6468 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&5
6469 echo "$as_me: WARNING: dev/ic/bt8xx.h: check for missing prerequisite headers?" >&2;}
6470 { echo "$as_me:$LINENO: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&5
6471 echo "$as_me: WARNING: dev/ic/bt8xx.h: proceeding with the preprocessor's result" >&2;}
6474 ## ------------------------------------ ##
6475 ## Report this to bug-autoconf@gnu.org. ##
6476 ## ------------------------------------ ##
6479 sed "s/^/$as_me: WARNING: /" >&2
6482 echo "$as_me:$LINENO: checking for dev/ic/bt8xx.h" >&5
6483 echo $ECHO_N "checking for dev/ic/bt8xx.h... $ECHO_C" >&6
6484 if test "${ac_cv_header_dev_ic_bt8xx_h+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 ac_cv_header_dev_ic_bt8xx_h
=$ac_header_preproc
6489 echo "$as_me:$LINENO: result: $ac_cv_header_dev_ic_bt8xx_h" >&5
6490 echo "${ECHO_T}$ac_cv_header_dev_ic_bt8xx_h" >&6
6493 if test $ac_cv_header_dev_ic_bt8xx_h = yes; then
6494 HAS_VIDEO_CAPTURE
=yes
6498 if test "${HAS_VIDEO_CAPTURE}" != "yes" ; then
6500 cat >>confdefs.h
<<\_ACEOF
6501 #define NO_VIDEO_CAPTURE 1
6504 { echo "$as_me:$LINENO: No Video Capture support" >&5
6505 echo "$as_me: No Video Capture support" >&6;}
6510 if test "$OSTYPE" = "solaris" ; then
6513 echo "$as_me:$LINENO: checking for swab" >&5
6514 echo $ECHO_N "checking for swab... $ECHO_C" >&6
6515 if test "${ac_cv_func_swab+set}" = set; then
6516 echo $ECHO_N "(cached) $ECHO_C" >&6
6518 cat >conftest.
$ac_ext <<_ACEOF
6519 #line $LINENO "configure"
6522 cat confdefs.h
>>conftest.
$ac_ext
6523 cat >>conftest.
$ac_ext <<_ACEOF
6524 /* end confdefs.h. */
6525 /* System header to define __stub macros and hopefully few prototypes,
6526 which can conflict with char swab (); below.
6527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6528 <limits.h> exists even on freestanding compilers. */
6530 # include <limits.h>
6532 # include <assert.h>
6534 /* Override any gcc2 internal prototype to avoid an error. */
6539 /* We use char because int might match the return type of a gcc2
6540 builtin and then its argument prototype would still apply. */
6542 /* The GNU C library defines this for functions which it implements
6543 to always fail with ENOSYS. Some functions are actually named
6544 something starting with __ and the normal name is an alias. */
6545 #if defined (__stub_swab) || defined (__stub___swab)
6548 char (*f) () = swab;
6562 rm -f conftest.
$ac_objext conftest
$ac_exeext
6563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6564 (eval $ac_link) 2>&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } &&
6568 { ac_try
='test -s conftest$ac_exeext'
6569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); }; }; then
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.
$ac_ext >&5
6581 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
6583 echo "$as_me:$LINENO: result: $ac_cv_func_swab" >&5
6584 echo "${ECHO_T}$ac_cv_func_swab" >&6
6585 if test $ac_cv_func_swab = yes; then
6590 if test "x$ac_cv_func_swab" = "xyes" ; then
6591 cat >>confdefs.h
<<\_ACEOF
6592 #define USE_SYSTEM_SWAB 1
6598 if test "${HAVE_RESOLVER:-unset}" != "unset" ; then
6599 if test "${RESOLVER_LIBS:-unset}" != "unset" ; then
6600 ENDLDLIBS
="$ENDLDLIBS $RESOLVER_LIBS"
6604 if test "${OSTYPE}" != "Darwin" ; then
6605 if test ${HAS_LIBDL} = yes ; then
6606 ENDLDLIBS
="$ENDLDLIBS -ldl"
6615 ac_config_files
="$ac_config_files make/ptbuildopts.mak"
6617 ac_config_files
="$ac_config_files make/ptlib-config"
6619 ac_config_files
="$ac_config_files Makefile"
6622 #AC_CONFIG_FILES(include/ptbuildopts.h.in)
6623 ac_config_headers
="$ac_config_headers include/ptbuildopts.h"
6626 cat >confcache
<<\_ACEOF
6627 # This file is a shell script that caches the results of configure
6628 # tests run on this system so they can be shared between configure
6629 # scripts and configure runs, see configure's option --config-cache.
6630 # It is not useful on other systems. If it contains results you don't
6631 # want to keep, you may remove or edit it.
6633 # config.status only pays attention to the cache file if you give it
6634 # the --recheck option to rerun configure.
6636 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6637 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6642 # The following way of writing the cache mishandles newlines in values,
6643 # but we know of no workaround that is simple, portable, and efficient.
6644 # So, don't put newlines in cache variables' values.
6645 # Ultrix sh set writes to stderr and can't be redirected directly,
6646 # and sets the high bit in the cache file unless we assign to the vars.
6649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6651 # `set' does not quote correctly, so add quotes (double-quote
6652 # substitution turns \\\\ into \\, and sed turns \\ into \).
6655 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6658 # `set' quotes correctly as required by POSIX, so do not add quotes.
6660 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6667 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6669 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6671 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6672 if test -w $cache_file; then
6673 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6674 cat confcache
>$cache_file
6676 echo "not updating unwritable cache $cache_file"
6681 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6682 # Let make expand exec_prefix.
6683 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6685 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6686 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6687 # trailing colons and then remove the whole line if VPATH becomes empty
6688 # (actually we leave an empty line to preserve line numbers).
6689 if test "x$srcdir" = x.
; then
6690 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6691 s/:*\$(srcdir):*/:/;
6692 s/:*\${srcdir}:*/:/;
6694 s/^\([^=]*=[ ]*\):*/\1/;
6700 DEFS
=-DHAVE_CONFIG_H
6704 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6705 # 1. Remove the extension, and $U if already installed.
6706 ac_i
=`echo "$ac_i" |
6707 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6709 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6710 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6714 LTLIBOBJS
=$ac_ltlibobjs
6718 : ${CONFIG_STATUS=./config.status}
6719 ac_clean_files_save
=$ac_clean_files
6720 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6721 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6722 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6723 cat >$CONFIG_STATUS <<_ACEOF
6725 # Generated by $as_me.
6726 # Run this file to recreate the current configuration.
6727 # Compiler output produced by configure, useful for debugging
6728 # configure, is in config.log if it exists.
6733 SHELL=\${CONFIG_SHELL-$SHELL}
6736 cat >>$CONFIG_STATUS <<\_ACEOF
6737 ## --------------------- ##
6738 ## M4sh Initialization. ##
6739 ## --------------------- ##
6741 # Be Bourne compatible
6742 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6745 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6746 # is contrary to our usage. Disable this feature.
6747 alias -g '${1+"$@"}'='"$@"'
6748 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6752 # Support unset when possible.
6753 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
6760 # Work around bugs in pre-3.0 UWIN ksh.
6761 $as_unset ENV MAIL MAILPATH
6768 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6769 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6770 LC_TELEPHONE LC_TIME
6772 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
6773 eval $as_var=C
; export $as_var
6779 # Required to use basename.
6780 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6786 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6787 as_basename
=basename
6793 # Name of the executable.
6794 as_me
=`$as_basename "$0" ||
6795 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6796 X"$0" : 'X\(//\)$' \| \
6797 X"$0" : 'X\(/\)$' \| \
6798 . : '\(.\)' 2>/dev/null ||
6800 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6801 /^X\/\(\/\/\)$/{ s//\1/; q; }
6802 /^X\/\(\/\).*/{ s//\1/; q; }
6806 # PATH needs CR, and LINENO needs CR and PATH.
6807 # Avoid depending upon Character Ranges.
6808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6811 as_cr_digits
='0123456789'
6812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6814 # The user is always right.
6815 if test "${PATH_SEPARATOR+set}" != set; then
6816 echo "#! /bin/sh" >conf$$.sh
6817 echo "exit 0" >>conf$$.sh
6819 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6830 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6831 test "x$as_lineno_1" != "x$as_lineno_2" &&
6832 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6833 # Find who we are. Look in the path if we contain no path at all
6836 *[\\/]* ) as_myself
=$0 ;;
6837 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6841 test -z "$as_dir" && as_dir
=.
6842 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6847 # We did not find ourselves, most probably we were run as `sh COMMAND'
6848 # in which case we are not to be found in the path.
6849 if test "x$as_myself" = x
; then
6852 if test ! -f "$as_myself"; then
6853 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6854 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6855 { (exit 1); exit 1; }; }
6857 case $CONFIG_SHELL in
6859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6860 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6863 test -z "$as_dir" && as_dir
=.
6864 for as_base
in sh bash ksh sh5
; do
6867 if ("$as_dir/$as_base" -c '
6870 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6871 test "x$as_lineno_1" != "x$as_lineno_2" &&
6872 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6873 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6874 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6875 CONFIG_SHELL
=$as_dir/$as_base
6877 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6885 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6886 # uniformly replaced by the line number. The first 'sed' inserts a
6887 # line-number line before each line; the second 'sed' does the real
6888 # work. The second script uses 'N' to pair each line-number line
6889 # with the numbered line, and appends trailing '-' during
6890 # substitution so that $LINENO is not a special case at line end.
6891 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6892 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6893 sed '=' <$as_myself |
6898 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6901 s,^['$as_cr_digits']*\n,,
6903 chmod +x
$as_me.lineno ||
6904 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6905 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6906 { (exit 1); exit 1; }; }
6908 # Don't try to exec as it changes $[0], causing all sort of problems
6909 # (the dirname of $[0] is not the place where we might find the
6910 # original and so on. Autoconf is especially sensible to this).
6912 # Exit status is that of the last command.
6917 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6918 *c
*,-n*) ECHO_N
= ECHO_C
='
6920 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6921 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6924 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6930 rm -f conf$$ conf$$.exe conf$$.
file
6932 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6933 # We could just check for DJGPP; but this test a) works b) is more generic
6934 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6935 if test -f conf$$.exe
; then
6936 # Don't use ln at all; we don't have any links
6941 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6946 rm -f conf$$ conf$$.exe conf$$.
file
6948 if mkdir
-p .
2>/dev
/null
; then
6954 as_executable_p
="test -f"
6956 # Sed expression to map a string onto a valid CPP name.
6957 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6959 # Sed expression to map a string onto a valid variable name.
6960 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6964 # We need space, tab and new line, in precisely that order.
6974 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6975 # report actual input values of CONFIG_FILES etc. instead of their
6976 # values after options handling. Logging --version etc. is OK.
6980 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6981 ## Running $as_me. ##
6986 This file was extended by $as_me, which was
6987 generated by GNU Autoconf 2.57. Invocation command line was
6989 CONFIG_FILES = $CONFIG_FILES
6990 CONFIG_HEADERS = $CONFIG_HEADERS
6991 CONFIG_LINKS = $CONFIG_LINKS
6992 CONFIG_COMMANDS = $CONFIG_COMMANDS
6996 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7000 # Files that config.status was made for.
7001 if test -n "$ac_config_files"; then
7002 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7005 if test -n "$ac_config_headers"; then
7006 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7009 if test -n "$ac_config_links"; then
7010 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7013 if test -n "$ac_config_commands"; then
7014 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7017 cat >>$CONFIG_STATUS <<\_ACEOF
7020 \`$as_me' instantiates files from templates according to the
7021 current configuration.
7023 Usage: $0 [OPTIONS] [FILE]...
7025 -h, --help print this help, then exit
7026 -V, --version print version number, then exit
7027 -q, --quiet do not print progress messages
7028 -d, --debug don't remove temporary files
7029 --recheck update $as_me by reconfiguring in the same conditions
7030 --file=FILE[:TEMPLATE]
7031 instantiate the configuration file FILE
7032 --header=FILE[:TEMPLATE]
7033 instantiate the configuration header FILE
7035 Configuration files:
7038 Configuration headers:
7041 Report bugs to <bug-autoconf@gnu.org>."
7044 cat >>$CONFIG_STATUS <<_ACEOF
7047 configured by $0, generated by GNU Autoconf 2.57,
7048 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7050 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7051 Free Software Foundation, Inc.
7052 This config.status script is free software; the Free Software Foundation
7053 gives unlimited permission to copy, distribute and modify it."
7057 cat >>$CONFIG_STATUS <<\_ACEOF
7058 # If no file are specified by the user, then we need to provide default
7059 # value. By we need to know if files were specified by the user.
7065 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7066 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7074 *) # This is not an option, so the user has probably given explicit
7077 ac_need_defaults
=false
;;
7081 # Handling of the options.
7083 cat >>$CONFIG_STATUS <<\_ACEOF
7084 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7086 --version |
--vers* |
-V )
7087 echo "$ac_cs_version"; exit 0 ;;
7089 # Conflict between --help and --header
7090 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7091 Try \`$0 --help' for more information." >&5
7092 echo "$as_me: error: ambiguous option: $1
7093 Try \`$0 --help' for more information." >&2;}
7094 { (exit 1); exit 1; }; };;
7095 --help |
--hel |
-h )
7096 echo "$ac_cs_usage"; exit 0 ;;
7097 --debug |
--d* |
-d )
7099 --file |
--fil |
--fi |
--f )
7101 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7102 ac_need_defaults
=false
;;
7103 --header |
--heade |
--head |
--hea )
7105 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7106 ac_need_defaults
=false
;;
7107 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7108 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7112 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7113 Try \`$0 --help' for more information." >&5
7114 echo "$as_me: error: unrecognized option: $1
7115 Try \`$0 --help' for more information." >&2;}
7116 { (exit 1); exit 1; }; } ;;
7118 *) ac_config_targets
="$ac_config_targets $1" ;;
7124 ac_configure_extra_args
=
7126 if $ac_cs_silent; then
7128 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7132 cat >>$CONFIG_STATUS <<_ACEOF
7133 if \$ac_cs_recheck; then
7134 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7135 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7144 cat >>$CONFIG_STATUS <<\_ACEOF
7145 for ac_config_target
in $ac_config_targets
7147 case "$ac_config_target" in
7148 # Handling of arguments.
7149 "make/ptbuildopts.mak" ) CONFIG_FILES
="$CONFIG_FILES make/ptbuildopts.mak" ;;
7150 "make/ptlib-config" ) CONFIG_FILES
="$CONFIG_FILES make/ptlib-config" ;;
7151 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7152 "include/ptbuildopts.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/ptbuildopts.h" ;;
7153 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7154 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7155 { (exit 1); exit 1; }; };;
7159 # If the user did not use the arguments to specify the items to instantiate,
7160 # then the envvar interface is used. Set only those that are not.
7161 # We use the long form for the default assignment because of an extremely
7162 # bizarre bug on SunOS 4.1.3.
7163 if $ac_need_defaults; then
7164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7168 # Have a temporary directory for convenience. Make it in the build tree
7169 # simply because there is no reason to put it here, and in addition,
7170 # creating and moving files from /tmp can sometimes cause problems.
7171 # Create a temporary directory, and hook for its removal unless debugging.
7174 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7175 trap '{ (exit 1); exit 1; }' 1 2 13 15
7178 # Create a (secure) tmp directory for tmp files.
7181 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7182 test -n "$tmp" && test -d "$tmp"
7185 tmp
=.
/confstat$$
-$RANDOM
7186 (umask 077 && mkdir
$tmp)
7189 echo "$me: cannot create a temporary directory in ." >&2
7190 { (exit 1); exit 1; }
7195 cat >>$CONFIG_STATUS <<_ACEOF
7198 # CONFIG_FILES section.
7201 # No need to generate the scripts if there are no CONFIG_FILES.
7202 # This happens for instance when ./config.status config.h
7203 if test -n "\$CONFIG_FILES"; then
7204 # Protect against being on the right side of a sed subst in config.status.
7205 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7206 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7207 s,@SHELL@,$SHELL,;t t
7208 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7209 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7210 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7211 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7212 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7213 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7214 s,@exec_prefix@,$exec_prefix,;t t
7215 s,@prefix@,$prefix,;t t
7216 s,@program_transform_name@,$program_transform_name,;t t
7217 s,@bindir@,$bindir,;t t
7218 s,@sbindir@,$sbindir,;t t
7219 s,@libexecdir@,$libexecdir,;t t
7220 s,@datadir@,$datadir,;t t
7221 s,@sysconfdir@,$sysconfdir,;t t
7222 s,@sharedstatedir@,$sharedstatedir,;t t
7223 s,@localstatedir@,$localstatedir,;t t
7224 s,@libdir@,$libdir,;t t
7225 s,@includedir@,$includedir,;t t
7226 s,@oldincludedir@,$oldincludedir,;t t
7227 s,@infodir@,$infodir,;t t
7228 s,@mandir@,$mandir,;t t
7229 s,@build_alias@,$build_alias,;t t
7230 s,@host_alias@,$host_alias,;t t
7231 s,@target_alias@,$target_alias,;t t
7233 s,@ECHO_C@,$ECHO_C,;t t
7234 s,@ECHO_N@,$ECHO_N,;t t
7235 s,@ECHO_T@,$ECHO_T,;t t
7237 s,@subdirs@,$subdirs,;t t
7239 s,@CXXFLAGS@,$CXXFLAGS,;t t
7240 s,@LDFLAGS@,$LDFLAGS,;t t
7241 s,@CPPFLAGS@,$CPPFLAGS,;t t
7242 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
7243 s,@EXEEXT@,$EXEEXT,;t t
7244 s,@OBJEXT@,$OBJEXT,;t t
7245 s,@PWLIBDIR@,$PWLIBDIR,;t t
7246 s,@PWINSTDIR@,$PWINSTDIR,;t t
7247 s,@INSTALLPREFIX@,$INSTALLPREFIX,;t t
7248 s,@LIBDIR@,$LIBDIR,;t t
7249 s,@MAJOR_VERSION@,$MAJOR_VERSION,;t t
7250 s,@MINOR_VERSION@,$MINOR_VERSION,;t t
7251 s,@BUILD_NUMBER@,$BUILD_NUMBER,;t t
7252 s,@PWLIB_VERSION@,$PWLIB_VERSION,;t t
7253 s,@build@,$build,;t t
7254 s,@build_cpu@,$build_cpu,;t t
7255 s,@build_vendor@,$build_vendor,;t t
7256 s,@build_os@,$build_os,;t t
7258 s,@host_cpu@,$host_cpu,;t t
7259 s,@host_vendor@,$host_vendor,;t t
7260 s,@host_os@,$host_os,;t t
7261 s,@target@,$target,;t t
7262 s,@target_cpu@,$target_cpu,;t t
7263 s,@target_vendor@,$target_vendor,;t t
7264 s,@target_os@,$target_os,;t t
7265 s,@MACHTYPE@,$MACHTYPE,;t t
7266 s,@OSTYPE@,$OSTYPE,;t t
7267 s,@OSRELEASE@,$OSRELEASE,;t t
7268 s,@TARGETDIR@,$TARGETDIR,;t t
7269 s,@SHAREDLIBEXT@,$SHAREDLIBEXT,;t t
7271 s,@CFLAGS@,$CFLAGS,;t t
7272 s,@ac_ct_CC@,$ac_ct_CC,;t t
7273 s,@CXXCPP@,$CXXCPP,;t t
7274 s,@EGREP@,$EGREP,;t t
7275 s,@HAS_REGEX@,$HAS_REGEX,;t t
7276 s,@HAS_PLUGINS@,$HAS_PLUGINS,;t t
7277 s,@HAS_OPENLDAP@,$HAS_OPENLDAP,;t t
7278 s,@HAS_OPENSSL@,$HAS_OPENSSL,;t t
7279 s,@P_STATIC_ENDLDLIBS@,$P_STATIC_ENDLDLIBS,;t t
7280 s,@P_STATIC_LDFLAGS@,$P_STATIC_LDFLAGS,;t t
7281 s,@HAS_EXPAT@,$HAS_EXPAT,;t t
7282 s,@HAS_SDL@,$HAS_SDL,;t t
7283 s,@HAS_IPV6@,$HAS_IPV6,;t t
7284 s,@STDCCFLAGS@,$STDCCFLAGS,;t t
7285 s,@OPTSTDCCFLAGS@,$OPTSTDCCFLAGS,;t t
7286 s,@ENDLDLIBS@,$ENDLDLIBS,;t t
7287 s,@LIBOBJS@,$LIBOBJS,;t t
7288 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7293 cat >>$CONFIG_STATUS <<\_ACEOF
7294 # Split the substitutions into bite-sized pieces for seds with
7295 # small command number limits, like on Digital OSF/1 and HP-UX.
7297 ac_sed_frag
=1 # Number of current file.
7298 ac_beg
=1 # First line for current file.
7299 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7302 while $ac_more_lines; do
7303 if test $ac_beg -gt 1; then
7304 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7306 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7308 if test ! -s $tmp/subs.frag
; then
7311 # The purpose of the label and of the branching condition is to
7312 # speed up the sed processing (if there are no `@' at all, there
7313 # is no need to browse any of the substitutions).
7314 # These are the two extra sed commands mentioned above.
7316 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7317 if test -z "$ac_sed_cmds"; then
7318 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7320 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7322 ac_sed_frag
=`expr $ac_sed_frag + 1`
7324 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7327 if test -z "$ac_sed_cmds"; then
7330 fi # test -n "$CONFIG_FILES"
7333 cat >>$CONFIG_STATUS <<\_ACEOF
7334 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7335 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7337 - |
*:- |
*:-:* ) # input from stdin
7339 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7340 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7341 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7342 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7343 * ) ac_file_in
=$ac_file.
in ;;
7346 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7347 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7348 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7349 X"$ac_file" : 'X\(//\)[^/]' \| \
7350 X"$ac_file" : 'X\(//\)$' \| \
7351 X"$ac_file" : 'X\(/\)' \| \
7352 . : '\(.\)' 2>/dev/null ||
7354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7355 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7356 /^X\(\/\/\)$/{ s//\1/; q; }
7357 /^X\(\/\).*/{ s//\1/; q; }
7359 { if $as_mkdir_p; then
7364 while test ! -d "$as_dir"; do
7365 as_dirs
="$as_dir $as_dirs"
7366 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7367 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7368 X"$as_dir" : 'X\(//\)[^/]' \| \
7369 X"$as_dir" : 'X\(//\)$' \| \
7370 X"$as_dir" : 'X\(/\)' \| \
7371 . : '\(.\)' 2>/dev/null ||
7373 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7374 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7375 /^X\(\/\/\)$/{ s//\1/; q; }
7376 /^X\(\/\).*/{ s//\1/; q; }
7379 test ! -n "$as_dirs" || mkdir
$as_dirs
7380 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7381 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7382 { (exit 1); exit 1; }; }; }
7386 if test "$ac_dir" != .
; then
7387 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7388 # A "../" for each directory in $ac_dir_suffix.
7389 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7391 ac_dir_suffix
= ac_top_builddir
=
7395 .
) # No --srcdir option. We are building in place.
7397 if test -z "$ac_top_builddir"; then
7400 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7402 [\\/]* | ?
:[\\/]* ) # Absolute path.
7403 ac_srcdir
=$srcdir$ac_dir_suffix;
7404 ac_top_srcdir
=$srcdir ;;
7406 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7407 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7409 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7411 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7412 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7413 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7414 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7418 if test x
"$ac_file" != x-
; then
7419 { echo "$as_me:$LINENO: creating $ac_file" >&5
7420 echo "$as_me: creating $ac_file" >&6;}
7423 # Let's still pretend it is `configure' which instantiates (i.e., don't
7424 # use $as_me), people would be surprised to read:
7425 # /* config.h. Generated by config.status. */
7426 if test x
"$ac_file" = x-
; then
7429 configure_input
="$ac_file. "
7431 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7432 sed 's,.*/,,'` by configure."
7434 # First look for the input files in the build tree, otherwise in the
7436 ac_file_inputs
=`IFS=:
7437 for f in $ac_file_in; do
7439 -) echo $tmp/stdin ;;
7441 # Absolute (can't be DOS-style, as IFS=:)
7442 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7443 echo "$as_me: error: cannot find input file: $f" >&2;}
7444 { (exit 1); exit 1; }; }
7447 if test -f "$f"; then
7450 elif test -f "$srcdir/$f"; then
7455 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7456 echo "$as_me: error: cannot find input file: $f" >&2;}
7457 { (exit 1); exit 1; }; }
7460 done` ||
{ (exit 1); exit 1; }
7462 cat >>$CONFIG_STATUS <<_ACEOF
7466 cat >>$CONFIG_STATUS <<\_ACEOF
7468 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7469 s
,@configure_input@
,$configure_input,;t t
7470 s
,@srcdir@
,$ac_srcdir,;t t
7471 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7472 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7473 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7474 s
,@builddir@
,$ac_builddir,;t t
7475 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7476 s
,@top_builddir@
,$ac_top_builddir,;t t
7477 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7478 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7480 if test x"$ac_file" != x-; then
7481 mv $tmp/out $ac_file
7487 # Run the commands associated with the file.
7489 make/ptlib-config ) chmod a+x make/ptlib-config ;;
7493 cat >>$CONFIG_STATUS <<\_ACEOF
7496 # CONFIG_HEADER section.
7499 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7500 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7502 # ac_d sets the value in "#define NAME VALUE" lines.
7503 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7504 ac_dB
='[ ].*$,\1#\2'
7507 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7508 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7509 ac_uB
='$,\1#\2define\3'
7513 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7514 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7516 - |
*:- |
*:-:* ) # input from stdin
7518 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7519 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7520 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7521 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7522 * ) ac_file_in
=$ac_file.
in ;;
7525 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7526 echo "$as_me: creating $ac_file" >&6;}
7528 # First look for the input files in the build tree, otherwise in the
7530 ac_file_inputs
=`IFS=:
7531 for f in $ac_file_in; do
7533 -) echo $tmp/stdin ;;
7535 # Absolute (can't be DOS-style, as IFS=:)
7536 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7537 echo "$as_me: error: cannot find input file: $f" >&2;}
7538 { (exit 1); exit 1; }; }
7541 if test -f "$f"; then
7544 elif test -f "$srcdir/$f"; then
7549 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7550 echo "$as_me: error: cannot find input file: $f" >&2;}
7551 { (exit 1); exit 1; }; }
7554 done` ||
{ (exit 1); exit 1; }
7555 # Remove the trailing spaces.
7556 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7560 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7561 # `conftest.undefs', that substitutes the proper values into
7562 # config.h.in to produce config.h. The first handles `#define'
7563 # templates, and the second `#undef' templates.
7564 # And first: Protect against being on the right side of a sed subst in
7565 # config.status. Protect against being in an unquoted here document
7567 rm -f conftest.defines conftest.undefs
7568 # Using a here document instead of a string reduces the quoting nightmare.
7569 # Putting comments in sed scripts is not portable.
7571 # `end' is used to avoid that the second main sed command (meant for
7572 # 0-ary CPP macros) applies to n-ary macro definitions.
7573 # See the Autoconf documentation for `clear'.
7574 cat >confdef2sed.
sed <<\_ACEOF
7579 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7581 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7584 # If some macros were called several times there might be several times
7585 # the same #defines, which is useless. Nevertheless, we may not want to
7586 # sort them, since we want the *last* AC-DEFINE to be honored.
7587 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7588 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7589 rm -f confdef2sed.sed
7591 # This sed command replaces #undef with comments. This is necessary, for
7592 # example, in the case of _POSIX_SOURCE, which is predefined and required
7593 # on some systems where configure will not decide to define it.
7594 cat >>conftest.undefs <<\_ACEOF
7595 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7598 # Break up conftest.defines because some shells have a limit on the size
7599 # of here documents, and old seds have small limits too (100 cmds).
7600 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7601 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7602 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7603 echo ' :' >>$CONFIG_STATUS
7605 while grep . conftest.defines >/dev/null
7607 # Write a limited-size here document to $tmp/defines.sed.
7608 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7609 # Speed up: don't consider the non `#define' lines.
7610 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7611 # Work around the forget-to-reset-the-flag bug.
7612 echo 't clr' >>$CONFIG_STATUS
7613 echo ': clr' >>$CONFIG_STATUS
7614 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7616 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7620 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7621 rm -f conftest.defines
7622 mv conftest.
tail conftest.defines
7624 rm -f conftest.defines
7625 echo ' fi # grep' >>$CONFIG_STATUS
7626 echo >>$CONFIG_STATUS
7628 # Break up conftest.undefs because some shells have a limit on the size
7629 # of here documents, and old seds have small limits too (100 cmds).
7630 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7632 while grep . conftest.undefs
>/dev
/null
7634 # Write a limited-size here document to $tmp/undefs.sed.
7635 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7636 # Speed up: don't consider the non
`#undef'
7637 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7638 # Work around the forget-to-reset-the-flag bug.
7639 echo 't clr' >>$CONFIG_STATUS
7640 echo ': clr' >>$CONFIG_STATUS
7641 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7643 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7647 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7648 rm -f conftest.undefs
7649 mv conftest.tail conftest.undefs
7651 rm -f conftest.undefs
7653 cat >>$CONFIG_STATUS <<\_ACEOF
7654 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7655 # use $as_me), people would be surprised to read:
7656 # /* config.h. Generated by config.status. */
7657 if test x
"$ac_file" = x-
; then
7658 echo "/* Generated by configure. */" >$tmp/config.h
7660 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7662 cat $tmp/in >>$tmp/config.h
7664 if test x
"$ac_file" != x-
; then
7665 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7666 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7667 echo "$as_me: $ac_file is unchanged" >&6;}
7669 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7670 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7671 X"$ac_file" : 'X\(//\)[^/]' \| \
7672 X"$ac_file" : 'X\(//\)$' \| \
7673 X"$ac_file" : 'X\(/\)' \| \
7674 . : '\(.\)' 2>/dev/null ||
7676 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7677 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7678 /^X\(\/\/\)$/{ s//\1/; q; }
7679 /^X\(\/\).*/{ s//\1/; q; }
7681 { if $as_mkdir_p; then
7686 while test ! -d "$as_dir"; do
7687 as_dirs
="$as_dir $as_dirs"
7688 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7689 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7690 X"$as_dir" : 'X\(//\)[^/]' \| \
7691 X"$as_dir" : 'X\(//\)$' \| \
7692 X"$as_dir" : 'X\(/\)' \| \
7693 . : '\(.\)' 2>/dev/null ||
7695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7697 /^X\(\/\/\)$/{ s//\1/; q; }
7698 /^X\(\/\).*/{ s//\1/; q; }
7701 test ! -n "$as_dirs" || mkdir
$as_dirs
7702 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7703 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7704 { (exit 1); exit 1; }; }; }
7707 mv $tmp/config.h
$ac_file
7716 cat >>$CONFIG_STATUS <<\_ACEOF
7718 { (exit 0); exit 0; }
7720 chmod +x
$CONFIG_STATUS
7721 ac_clean_files
=$ac_clean_files_save
7724 # configure is writing to config.log, and then calls config.status.
7725 # config.status does its own redirection, appending to config.log.
7726 # Unfortunately, on DOS this fails, as config.log is still kept open
7727 # by configure, so config.status won't be able to write to it; its
7728 # output is simply discarded. So we exec the FD to /dev/null,
7729 # effectively closing config.log, so it can be properly (re)opened and
7730 # appended to by config.status. When coming back to configure, we
7731 # need to make the FD available again.
7732 if test "$no_create" != yes; then
7734 ac_config_status_args
=
7735 test "$silent" = yes &&
7736 ac_config_status_args
="$ac_config_status_args --quiet"
7738 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7740 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7741 # would make configure fail if this is the last instruction.
7742 $ac_cs_success ||
{ (exit 1); exit 1; }
7746 # CONFIG_SUBDIRS section.
7748 if test "$no_recursion" != yes; then
7750 # Remove --cache-file and --srcdir arguments so they do not pile up.
7751 ac_sub_configure_args
=
7753 for ac_arg
in $ac_configure_args; do
7754 if test -n "$ac_prev"; then
7759 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
7760 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
7761 ac_prev
=cache_file
;;
7762 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
7763 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
7766 --config-cache |
-C)
7768 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
7770 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
7772 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
7774 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
7776 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
7780 # Always prepend --prefix to ensure using the same prefix
7781 # in subdir configurations.
7782 ac_sub_configure_args
="--prefix=$prefix $ac_sub_configure_args"
7785 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
7787 # Do not complain, so a configure script can configure whichever
7788 # parts of a large source tree are present.
7789 test -d $srcdir/$ac_dir ||
continue
7791 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
7792 echo "$as_me: configuring in $ac_dir" >&6;}
7793 { if $as_mkdir_p; then
7798 while test ! -d "$as_dir"; do
7799 as_dirs
="$as_dir $as_dirs"
7800 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7802 X"$as_dir" : 'X\(//\)[^/]' \| \
7803 X"$as_dir" : 'X\(//\)$' \| \
7804 X"$as_dir" : 'X\(/\)' \| \
7805 . : '\(.\)' 2>/dev/null ||
7807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7808 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7809 /^X\(\/\/\)$/{ s//\1/; q; }
7810 /^X\(\/\).*/{ s//\1/; q; }
7813 test ! -n "$as_dirs" || mkdir
$as_dirs
7814 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7815 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7816 { (exit 1); exit 1; }; }; }
7820 if test "$ac_dir" != .
; then
7821 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7822 # A "../" for each directory in $ac_dir_suffix.
7823 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7825 ac_dir_suffix
= ac_top_builddir
=
7829 .
) # No --srcdir option. We are building in place.
7831 if test -z "$ac_top_builddir"; then
7834 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7836 [\\/]* | ?
:[\\/]* ) # Absolute path.
7837 ac_srcdir
=$srcdir$ac_dir_suffix;
7838 ac_top_srcdir
=$srcdir ;;
7840 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7841 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7843 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
7845 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
7846 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
7847 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
7848 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
7853 # Check for guested configure; otherwise get Cygnus style configure.
7854 if test -f $ac_srcdir/configure.gnu
; then
7855 ac_sub_configure
="$SHELL '$ac_srcdir/configure.gnu'"
7856 elif test -f $ac_srcdir/configure
; then
7857 ac_sub_configure
="$SHELL '$ac_srcdir/configure'"
7858 elif test -f $ac_srcdir/configure.
in; then
7859 ac_sub_configure
=$ac_configure
7861 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7862 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7866 # The recursion is here.
7867 if test -n "$ac_sub_configure"; then
7868 # Make the cache file name correct relative to the subdirectory.
7870 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
7872 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
7875 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7876 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7877 # The eval makes quoting arguments work.
7878 eval $ac_sub_configure $ac_sub_configure_args \
7879 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7880 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7881 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7882 { (exit 1); exit 1; }; }