2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="include/xmlrpc-c/base.h"
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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE VERSION_INFO build build_cpu build_vendor build_os host host_cpu host_vendor host_os have_wininet_config MUST_BUILD_WININET_CLIENT have_curl_config MUST_BUILD_CURL_CLIENT have_libwww_config MUST_BUILD_LIBWWW_CLIENT LIBXMLRPC_CLIENT_LA CLIENTTEST XMLRPC_CLIENT_H XMLRPC_TRANSPORT_H SYNCH_CLIENT ASYNCH_CLIENT AUTH_CLIENT QUERY_MEERKAT ENABLE_ABYSS_SERVER ABYSS_SUBDIR LIBXMLRPC_ABYSS_SERVER_LA SERVERTEST VALIDATEE XMLRPC_ABYSS_H SERVER ENABLE_CGI_SERVER ENABLE_CPLUSPLUS LIBXMLRPC_CPP_A CPPTEST XMLRPCCPP_H XML_RPC_API2CPP_SUBDIR FEATURE_LIST CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX LSOCKET CPP EGREP HAVE_WCHAR_H_DEFINE HAVE_SYS_FILIO_H_DEFINE HAVE_SYS_IOCTL_H_DEFINE VA_LIST_IS_ARRAY_DEFINE ATTR_UNUSED DIRECTORY_SEPARATOR ENABLE_ABYSS_THREADS WININET_CONFIG WININET_CFLAGS WININET_LDADD WININET_LIBDIR WININET_RPATH WININET_WL_RPATH LIBWWW_CONFIG LIBWWW_LDADD LIBWWW_LIBDIR LIBWWW_RPATH LIBWWW_WL_RPATH CURL_CONFIG CURL_LDADD CURL_LIBDIR CURL_RPATH CURL_WL_RPATH HAVE_LIBWWW_SSL_DEFINE have_xml2_config ENABLE_LIBXML2_BACKEND C_COMPILER_GNU CXX_COMPILER_GNU CC_WARN_FLAGS CPP_WARN_FLAGS BUILDDIR RANLIB ac_ct_RANLIB LN_S LIBTOOL 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_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
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_CXX_set=${CXX+set}
770 ac_env_CXX_value=$CXX
771 ac_cv_env_CXX_set=${CXX+set}
772 ac_cv_env_CXX_value=$CXX
773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777 ac_env_CPP_set=${CPP+set}
778 ac_env_CPP_value=$CPP
779 ac_cv_env_CPP_set=${CPP+set}
780 ac_cv_env_CPP_value=$CPP
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 --program-prefix=PREFIX prepend PREFIX to installed program names
844 --program-suffix=SUFFIX append SUFFIX to installed program names
845 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
848 --build=BUILD configure for building on BUILD [guessed]
849 --host=HOST cross-compile to build programs to run on HOST [BUILD]
853 if test -n "$ac_init_help"; then
858 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
859 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
860 --disable-wininet-client Don't build the Wininet client transport
861 --disable-curl-client Don't build the Curl client transport
862 --disable-libwww-client Don't build the Libwww client transport
863 --disable-abyss-server Don't build the Abyss server module
864 --disable-cgi-server Don't build the CGI server module
865 --disable-cplusplus Don't build the C++ wrapper classes or tools
866 --disable-abyss-threads Use fork in Abyss instead of pthreads
867 --enable-libxml2-backend Use libxml2 instead of built-in expat
868 --enable-shared=PKGS build shared libraries default=yes
869 --enable-static=PKGS build static libraries default=yes
870 --enable-fast-install=PKGS optimize for fast installation default=yes
871 --disable-libtool-lock avoid locking (might break parallel builds)
874 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
875 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
876 --with-libwww-ssl Include libwww SSL capability.
878 --with-gnu-ld assume the C compiler uses GNU ld default=no
880 Some influential environment variables:
881 CC C compiler command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884 nonstandard directory <lib dir>
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886 headers in a nonstandard directory <include dir>
887 CXX C++ compiler command
888 CXXFLAGS C++ compiler flags
891 Use these variables to override the choices made by `configure' or to help
892 it to find libraries and programs with nonstandard names/locations.
897 if test "$ac_init_help" = "recursive"; then
898 # If there are subdirs, report their specific --help.
900 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
901 test -d $ac_dir || continue
904 if test "$ac_dir" != .; then
905 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
906 # A "../" for each directory in $ac_dir_suffix.
907 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
909 ac_dir_suffix= ac_top_builddir=
913 .) # No --srcdir option. We are building in place.
915 if test -z "$ac_top_builddir"; then
918 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
920 [\\/]* | ?:[\\/]* ) # Absolute path.
921 ac_srcdir=$srcdir$ac_dir_suffix;
922 ac_top_srcdir=$srcdir ;;
924 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
925 ac_top_srcdir=$ac_top_builddir$srcdir ;;
928 # Do not use `cd foo && pwd` to compute absolute paths, because
929 # the directories may not exist.
931 .) ac_abs_builddir="$ac_dir";;
934 .) ac_abs_builddir=`pwd`;;
935 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
936 *) ac_abs_builddir=`pwd`/"$ac_dir";;
939 case $ac_abs_builddir in
940 .) ac_abs_top_builddir=${ac_top_builddir}.;;
942 case ${ac_top_builddir}. in
943 .) ac_abs_top_builddir=$ac_abs_builddir;;
944 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
945 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
948 case $ac_abs_builddir in
949 .) ac_abs_srcdir=$ac_srcdir;;
952 .) ac_abs_srcdir=$ac_abs_builddir;;
953 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
954 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
957 case $ac_abs_builddir in
958 .) ac_abs_top_srcdir=$ac_top_srcdir;;
960 case $ac_top_srcdir in
961 .) ac_abs_top_srcdir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
963 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
968 # Check for guested configure; otherwise get Cygnus style configure.
969 if test -f $ac_srcdir/configure.gnu; then
971 $SHELL $ac_srcdir/configure.gnu --help=recursive
972 elif test -f $ac_srcdir/configure; then
974 $SHELL $ac_srcdir/configure --help=recursive
975 elif test -f $ac_srcdir/configure.ac ||
976 test -f $ac_srcdir/configure.in; then
980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
986 test -n "$ac_init_help" && exit 0
987 if $ac_init_version; then
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by $as_me, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next=false
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next=true ;;
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers xmlrpc_amconfig.h"
1332 ac_config_commands="$ac_config_commands default-1"
1337 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1338 if test -f $ac_dir/install-sh; then
1340 ac_install_sh="$ac_aux_dir/install-sh -c"
1342 elif test -f $ac_dir/install.sh; then
1344 ac_install_sh="$ac_aux_dir/install.sh -c"
1346 elif test -f $ac_dir/shtool; then
1348 ac_install_sh="$ac_aux_dir/shtool install -c"
1352 if test -z "$ac_aux_dir"; then
1353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1354 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1355 { (exit 1); exit 1; }; }
1357 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1358 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1359 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1361 # Find a good install program. We prefer a C program (faster),
1362 # so one script is as good as another. But avoid the broken or
1363 # incompatible versions:
1364 # SysV /etc/install, /usr/sbin/install
1365 # SunOS /usr/etc/install
1366 # IRIX /sbin/install
1368 # AmigaOS /C/install, which installs bootblocks on floppy discs
1369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1372 # OS/2's system install, which has a completely different semantic
1373 # ./install, which can be erroneously created by make from ./install.sh.
1374 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1375 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1376 if test -z "$INSTALL"; then
1377 if test "${ac_cv_path_install+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 test -z "$as_dir" && as_dir=.
1385 # Account for people who put trailing slashes in PATH elements.
1387 ./ | .// | /cC/* | \
1388 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1389 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1392 # OSF1 and SCO ODT 3.0 have their own names for install.
1393 # Don't use installbsd from OSF since it installs stuff as root
1395 for ac_prog in ginstall scoinst install; do
1396 for ac_exec_ext in '' $ac_executable_extensions; do
1397 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1398 if test $ac_prog = install &&
1399 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1400 # AIX install. It has an incompatible calling convention.
1402 elif test $ac_prog = install &&
1403 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1404 # program-specific install script used by HP pwplus--don't use.
1407 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1419 if test "${ac_cv_path_install+set}" = set; then
1420 INSTALL=$ac_cv_path_install
1422 # As a last resort, use the slow shell script. We don't cache a
1423 # path for INSTALL within a source directory, because that will
1424 # break other packages using the cache if that directory is
1425 # removed, or if the path is relative.
1426 INSTALL=$ac_install_sh
1429 echo "$as_me:$LINENO: result: $INSTALL" >&5
1430 echo "${ECHO_T}$INSTALL" >&6
1432 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1433 # It thinks the first close brace ends the variable substitution.
1434 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1436 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1438 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1440 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1441 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1444 echo timestamp > conftestfile
1445 # Do `set' in a subshell so we don't clobber the current shell's
1446 # arguments. Must try -L first in case configure is actually a
1447 # symlink; some systems play weird games with the mod time of symlinks
1448 # (eg FreeBSD returns the mod time of the symlink's containing
1451 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1452 if test "$*" = "X"; then
1454 set X `ls -t $srcdir/configure conftestfile`
1456 if test "$*" != "X $srcdir/configure conftestfile" \
1457 && test "$*" != "X conftestfile $srcdir/configure"; then
1459 # If neither matched, then we have a broken ls. This can happen
1460 # if, for instance, CONFIG_SHELL is bash and it inherits a
1461 # broken ls alias from the environment. This has actually
1462 # happened. Such a system could not be considered "sane".
1463 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1464 alias in your environment" >&5
1465 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1466 alias in your environment" >&2;}
1467 { (exit 1); exit 1; }; }
1470 test "$2" = conftestfile
1476 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1477 Check your system clock" >&5
1478 echo "$as_me: error: newly created file is older than distributed files!
1479 Check your system clock" >&2;}
1480 { (exit 1); exit 1; }; }
1483 echo "$as_me:$LINENO: result: yes" >&5
1484 echo "${ECHO_T}yes" >&6
1485 test "$program_prefix" != NONE &&
1486 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1487 # Use a double $ so make ignores it.
1488 test "$program_suffix" != NONE &&
1489 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1490 # Double any \ or $. echo might interpret backslashes.
1491 # By default was `s,x,x', remove it if useless.
1492 cat <<\_ACEOF >conftest.sed
1493 s/[\\$]/&&/g;s/;s,x,x,$//
1495 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1498 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1499 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1500 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1501 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1502 echo $ECHO_N "(cached) $ECHO_C" >&6
1504 cat >conftest.make <<\_ACEOF
1506 @echo 'ac_maketemp="$(MAKE)"'
1508 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1509 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1510 if test -n "$ac_maketemp"; then
1511 eval ac_cv_prog_make_${ac_make}_set=yes
1513 eval ac_cv_prog_make_${ac_make}_set=no
1517 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1518 echo "$as_me:$LINENO: result: yes" >&5
1519 echo "${ECHO_T}yes" >&6
1522 echo "$as_me:$LINENO: result: no" >&5
1523 echo "${ECHO_T}no" >&6
1524 SET_MAKE="MAKE=${MAKE-make}"
1532 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1533 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1534 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1535 { (exit 1); exit 1; }; }
1538 cat >>confdefs.h <<_ACEOF
1539 #define PACKAGE "$PACKAGE"
1543 cat >>confdefs.h <<_ACEOF
1544 #define VERSION "$VERSION"
1549 missing_dir=`cd $ac_aux_dir && pwd`
1550 echo "$as_me:$LINENO: checking for working aclocal" >&5
1551 echo $ECHO_N "checking for working aclocal... $ECHO_C" >&6
1552 # Run test in a subshell; some versions of sh will print an error if
1553 # an executable is not found, even if stderr is redirected.
1554 # Redirect stdin to placate older versions of autoconf. Sigh.
1555 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1557 echo "$as_me:$LINENO: result: found" >&5
1558 echo "${ECHO_T}found" >&6
1560 ACLOCAL="$missing_dir/missing aclocal"
1561 echo "$as_me:$LINENO: result: missing" >&5
1562 echo "${ECHO_T}missing" >&6
1565 echo "$as_me:$LINENO: checking for working autoconf" >&5
1566 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1567 # Run test in a subshell; some versions of sh will print an error if
1568 # an executable is not found, even if stderr is redirected.
1569 # Redirect stdin to placate older versions of autoconf. Sigh.
1570 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1572 echo "$as_me:$LINENO: result: found" >&5
1573 echo "${ECHO_T}found" >&6
1575 AUTOCONF="$missing_dir/missing autoconf"
1576 echo "$as_me:$LINENO: result: missing" >&5
1577 echo "${ECHO_T}missing" >&6
1580 echo "$as_me:$LINENO: checking for working automake" >&5
1581 echo $ECHO_N "checking for working automake... $ECHO_C" >&6
1582 # Run test in a subshell; some versions of sh will print an error if
1583 # an executable is not found, even if stderr is redirected.
1584 # Redirect stdin to placate older versions of autoconf. Sigh.
1585 if (automake --version) < /dev/null > /dev/null 2>&1; then
1587 echo "$as_me:$LINENO: result: found" >&5
1588 echo "${ECHO_T}found" >&6
1590 AUTOMAKE="$missing_dir/missing automake"
1591 echo "$as_me:$LINENO: result: missing" >&5
1592 echo "${ECHO_T}missing" >&6
1595 echo "$as_me:$LINENO: checking for working autoheader" >&5
1596 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1597 # Run test in a subshell; some versions of sh will print an error if
1598 # an executable is not found, even if stderr is redirected.
1599 # Redirect stdin to placate older versions of autoconf. Sigh.
1600 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1601 AUTOHEADER=autoheader
1602 echo "$as_me:$LINENO: result: found" >&5
1603 echo "${ECHO_T}found" >&6
1605 AUTOHEADER="$missing_dir/missing autoheader"
1606 echo "$as_me:$LINENO: result: missing" >&5
1607 echo "${ECHO_T}missing" >&6
1610 echo "$as_me:$LINENO: checking for working makeinfo" >&5
1611 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1612 # Run test in a subshell; some versions of sh will print an error if
1613 # an executable is not found, even if stderr is redirected.
1614 # Redirect stdin to placate older versions of autoconf. Sigh.
1615 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1617 echo "$as_me:$LINENO: result: found" >&5
1618 echo "${ECHO_T}found" >&6
1620 MAKEINFO="$missing_dir/missing makeinfo"
1621 echo "$as_me:$LINENO: result: missing" >&5
1622 echo "${ECHO_T}missing" >&6
1627 VERSION_INFO="-version-info 7:0:6"
1630 # Make sure we can run config.sub.
1631 $ac_config_sub sun4 >/dev/null 2>&1 ||
1632 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1633 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1634 { (exit 1); exit 1; }; }
1636 echo "$as_me:$LINENO: checking build system type" >&5
1637 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1638 if test "${ac_cv_build+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 ac_cv_build_alias=$build_alias
1642 test -z "$ac_cv_build_alias" &&
1643 ac_cv_build_alias=`$ac_config_guess`
1644 test -z "$ac_cv_build_alias" &&
1645 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1646 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1647 { (exit 1); exit 1; }; }
1648 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1649 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1650 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1651 { (exit 1); exit 1; }; }
1654 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1655 echo "${ECHO_T}$ac_cv_build" >&6
1657 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1658 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1659 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1662 echo "$as_me:$LINENO: checking host system type" >&5
1663 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1664 if test "${ac_cv_host+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 ac_cv_host_alias=$host_alias
1668 test -z "$ac_cv_host_alias" &&
1669 ac_cv_host_alias=$ac_cv_build_alias
1670 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1671 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1672 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1673 { (exit 1); exit 1; }; }
1676 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1677 echo "${ECHO_T}$ac_cv_host" >&6
1679 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1680 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1681 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 test -z "$target" && target=NONE
1690 # Check whether --enable-wininet-client or --disable-wininet-client was given.
1691 if test "${enable_wininet_client+set}" = set; then
1692 enableval="$enable_wininet_client"
1695 enable_wininet_client=maybe
1698 if test $enable_wininet_client = maybe; then
1699 # Extract the first word of "wininet-config", so it can be a program name with args.
1700 set dummy wininet-config; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_have_wininet_config+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1706 if test -n "$have_wininet_config"; then
1707 ac_cv_prog_have_wininet_config="$have_wininet_config" # Let the user override the test.
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 for ac_exec_ext in '' $ac_executable_extensions; do
1715 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1716 ac_cv_prog_have_wininet_config="yes"
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 test -z "$ac_cv_prog_have_wininet_config" && ac_cv_prog_have_wininet_config="no"
1726 have_wininet_config=$ac_cv_prog_have_wininet_config
1727 if test -n "$have_wininet_config"; then
1728 echo "$as_me:$LINENO: result: $have_wininet_config" >&5
1729 echo "${ECHO_T}$have_wininet_config" >&6
1731 echo "$as_me:$LINENO: result: no" >&5
1732 echo "${ECHO_T}no" >&6
1735 if test $have_wininet_config = no; then
1736 { echo "$as_me:$LINENO: You don't appear to have Wininet installed (no working wininet-config in your command search path), so we will not build the Wininet client XML transport" >&5
1737 echo "$as_me: You don't appear to have Wininet installed (no working wininet-config in your command search path), so we will not build the Wininet client XML transport" >&6;}
1738 MUST_BUILD_WININET_CLIENT=no
1740 MUST_BUILD_WININET_CLIENT=yes
1743 MUST_BUILD_WININET_CLIENT=$enable_wininet_client
1746 echo "$as_me:$LINENO: checking whether to build Wininet client XML transport module" >&5
1747 echo $ECHO_N "checking whether to build Wininet client XML transport module... $ECHO_C" >&6
1748 echo "$as_me:$LINENO: result: $MUST_BUILD_WININET_CLIENT" >&5
1749 echo "${ECHO_T}$MUST_BUILD_WININET_CLIENT" >&6
1753 # Check whether --enable-curl-client or --disable-curl-client was given.
1754 if test "${enable_curl_client+set}" = set; then
1755 enableval="$enable_curl_client"
1758 enable_curl_client=maybe
1761 if test $enable_curl_client = maybe; then
1762 # Extract the first word of "curl-config", so it can be a program name with args.
1763 set dummy curl-config; ac_word=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_have_curl_config+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$have_curl_config"; then
1770 ac_cv_prog_have_curl_config="$have_curl_config" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_have_curl_config="yes"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786 test -z "$ac_cv_prog_have_curl_config" && ac_cv_prog_have_curl_config="no"
1789 have_curl_config=$ac_cv_prog_have_curl_config
1790 if test -n "$have_curl_config"; then
1791 echo "$as_me:$LINENO: result: $have_curl_config" >&5
1792 echo "${ECHO_T}$have_curl_config" >&6
1794 echo "$as_me:$LINENO: result: no" >&5
1795 echo "${ECHO_T}no" >&6
1798 if test $have_curl_config = no; then
1799 { echo "$as_me:$LINENO: You don't appear to have Curl installed (no working curl-config in your command search path), so we will not build the Curl client XML transport" >&5
1800 echo "$as_me: You don't appear to have Curl installed (no working curl-config in your command search path), so we will not build the Curl client XML transport" >&6;}
1801 MUST_BUILD_CURL_CLIENT=no
1803 MUST_BUILD_CURL_CLIENT=yes
1806 MUST_BUILD_CURL_CLIENT=$enable_curl_client
1809 echo "$as_me:$LINENO: checking whether to build Curl client XML transport module" >&5
1810 echo $ECHO_N "checking whether to build Curl client XML transport module... $ECHO_C" >&6
1811 echo "$as_me:$LINENO: result: $MUST_BUILD_CURL_CLIENT" >&5
1812 echo "${ECHO_T}$MUST_BUILD_CURL_CLIENT" >&6
1816 # Check whether --enable-libwww-client or --disable-libwww-client was given.
1817 if test "${enable_libwww_client+set}" = set; then
1818 enableval="$enable_libwww_client"
1821 enable_libwww_client=maybe
1824 if test $enable_libwww_client = maybe; then
1825 # Extract the first word of "libwww-config", so it can be a program name with args.
1826 set dummy libwww-config; ac_word=$2
1827 echo "$as_me:$LINENO: checking for $ac_word" >&5
1828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1829 if test "${ac_cv_prog_have_libwww_config+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test -n "$have_libwww_config"; then
1833 ac_cv_prog_have_libwww_config="$have_libwww_config" # Let the user override the test.
1835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 test -z "$as_dir" && as_dir=.
1840 for ac_exec_ext in '' $ac_executable_extensions; do
1841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1842 ac_cv_prog_have_libwww_config="yes"
1843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1849 test -z "$ac_cv_prog_have_libwww_config" && ac_cv_prog_have_libwww_config="no"
1852 have_libwww_config=$ac_cv_prog_have_libwww_config
1853 if test -n "$have_libwww_config"; then
1854 echo "$as_me:$LINENO: result: $have_libwww_config" >&5
1855 echo "${ECHO_T}$have_libwww_config" >&6
1857 echo "$as_me:$LINENO: result: no" >&5
1858 echo "${ECHO_T}no" >&6
1861 if test $have_libwww_config = no; then
1862 { echo "$as_me:$LINENO: You don't appear to have Libwww installed (no working libwww-config in your command search path), so we will not build the Libwww client XML transport" >&5
1863 echo "$as_me: You don't appear to have Libwww installed (no working libwww-config in your command search path), so we will not build the Libwww client XML transport" >&6;}
1864 MUST_BUILD_LIBWWW_CLIENT=no
1866 MUST_BUILD_LIBWWW_CLIENT=yes
1869 MUST_BUILD_LIBWWW_CLIENT=$enable_libwww_client
1872 echo "$as_me:$LINENO: checking whether to build Libwww client XML transport module" >&5
1873 echo $ECHO_N "checking whether to build Libwww client XML transport module... $ECHO_C" >&6
1874 echo "$as_me:$LINENO: result: $MUST_BUILD_LIBWWW_CLIENT" >&5
1875 echo "${ECHO_T}$MUST_BUILD_LIBWWW_CLIENT" >&6
1879 if test "$MUST_BUILD_WININET_CLIENT $MUST_BUILD_CURL_CLIENT $MUST_BUILD_LIBWWW_CLIENT" = "no no no"; then
1880 { echo "$as_me:$LINENO: We are not building any client XML transport, therefore we will not build the client library at all." >&5
1881 echo "$as_me: We are not building any client XML transport, therefore we will not build the client library at all." >&6;}
1886 LIBXMLRPC_CLIENT_LA=libxmlrpc_client.la
1888 CLIENTTEST=clienttest
1890 XMLRPC_CLIENT_H=xmlrpc_client.h
1892 XMLRPC_TRANSPORT_H=xmlrpc_transport.h
1894 SYNCH_CLIENT=synch_client
1896 ASYNCH_CLIENT=asynch_client
1898 AUTH_CLIENT=auth_client
1900 QUERY_MEERKAT=query-meerkat
1903 if test $MUST_BUILD_WININET_CLIENT = yes; then
1904 FEATURE_LIST="wininet-client $FEATURE_LIST"
1906 if test $MUST_BUILD_CURL_CLIENT = yes; then
1907 FEATURE_LIST="curl-client $FEATURE_LIST"
1909 if test $MUST_BUILD_LIBWWW_CLIENT = yes; then
1910 FEATURE_LIST="libwww-client $FEATURE_LIST"
1913 echo "$as_me:$LINENO: checking whether to build Abyss server module" >&5
1914 echo $ECHO_N "checking whether to build Abyss server module... $ECHO_C" >&6
1915 # Check whether --enable-abyss-server or --disable-abyss-server was given.
1916 if test "${enable_abyss_server+set}" = set; then
1917 enableval="$enable_abyss_server"
1920 enable_abyss_server=yes
1922 echo "$as_me:$LINENO: result: $enable_abyss_server" >&5
1923 echo "${ECHO_T}$enable_abyss_server" >&6
1924 ENABLE_ABYSS_SERVER=$enable_abyss_server
1928 LIBXMLRPC_ABYSS_SERVER_LA=
1933 if test x"$enable_abyss_server" != xno; then
1934 FEATURE_LIST="abyss-server $FEATURE_LIST"
1936 LIBXMLRPC_ABYSS_SERVER_LA=libxmlrpc_abyss_server.la
1937 SERVERTEST=servertest
1939 XMLRPC_ABYSS_H=xmlrpc_abyss.h
1949 echo "$as_me:$LINENO: checking whether to build CGI server module" >&5
1950 echo $ECHO_N "checking whether to build CGI server module... $ECHO_C" >&6
1951 # Check whether --enable-cgi-server or --disable-cgi-server was given.
1952 if test "${enable_cgi_server+set}" = set; then
1953 enableval="$enable_cgi_server"
1956 enable_cgi_server=yes
1958 echo "$as_me:$LINENO: result: $enable_cgi_server" >&5
1959 echo "${ECHO_T}$enable_cgi_server" >&6
1960 ENABLE_CGI_SERVER=$enable_cgi_server
1963 echo "$as_me:$LINENO: checking whether to build C++ wrappers and tools" >&5
1964 echo $ECHO_N "checking whether to build C++ wrappers and tools... $ECHO_C" >&6
1965 # Check whether --enable-cplusplus or --disable-cplusplus was given.
1966 if test "${enable_cplusplus+set}" = set; then
1967 enableval="$enable_cplusplus"
1970 enable_cplusplus=yes
1972 echo "$as_me:$LINENO: result: $enable_cplusplus" >&5
1973 echo "${ECHO_T}$enable_cplusplus" >&6
1974 ENABLE_CPLUSPLUS=$enable_cplusplus
1980 XML_RPC_API2CPP_SUBDIR=
1982 INTEROP_CLIENT_SUBDIR=
1983 if test x"$enable_cplusplus" != xno; then
1984 FEATURE_LIST="c++ $FEATURE_LIST"
1985 LIBXMLRPC_CPP_A=libxmlrpc_cpp.a
1987 XMLRPCCPP_H=XmlRpcCpp.h
1989 if test $MUST_BUILD_LIBWWW_CLIENT = yes; then
1990 XML_RPC_API2CPP_SUBDIR=xml-rpc-api2cpp
1991 elif test $MUST_BUILD_CURL_CLIENT = yes; then
1992 XML_RPC_API2CPP_SUBDIR=xml-rpc-api2cpp
2006 ac_cpp='$CPP $CPPFLAGS'
2007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2010 if test -n "$ac_tool_prefix"; then
2011 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2012 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2013 echo "$as_me:$LINENO: checking for $ac_word" >&5
2014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2015 if test "${ac_cv_prog_CC+set}" = set; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2018 if test -n "$CC"; then
2019 ac_cv_prog_CC="$CC" # Let the user override the test.
2021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2025 test -z "$as_dir" && as_dir=.
2026 for ac_exec_ext in '' $ac_executable_extensions; do
2027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2028 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2038 if test -n "$CC"; then
2039 echo "$as_me:$LINENO: result: $CC" >&5
2040 echo "${ECHO_T}$CC" >&6
2042 echo "$as_me:$LINENO: result: no" >&5
2043 echo "${ECHO_T}no" >&6
2047 if test -z "$ac_cv_prog_CC"; then
2049 # Extract the first word of "gcc", so it can be a program name with args.
2050 set dummy gcc; ac_word=$2
2051 echo "$as_me:$LINENO: checking for $ac_word" >&5
2052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2053 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 if test -n "$ac_ct_CC"; then
2057 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2063 test -z "$as_dir" && as_dir=.
2064 for ac_exec_ext in '' $ac_executable_extensions; do
2065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2066 ac_cv_prog_ac_ct_CC="gcc"
2067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2075 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2076 if test -n "$ac_ct_CC"; then
2077 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2078 echo "${ECHO_T}$ac_ct_CC" >&6
2080 echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6
2089 if test -z "$CC"; then
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}cc; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC="$CC" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_CC="${ac_tool_prefix}cc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 if test -n "$CC"; then
2119 echo "$as_me:$LINENO: result: $CC" >&5
2120 echo "${ECHO_T}$CC" >&6
2122 echo "$as_me:$LINENO: result: no" >&5
2123 echo "${ECHO_T}no" >&6
2127 if test -z "$ac_cv_prog_CC"; then
2129 # Extract the first word of "cc", so it can be a program name with args.
2130 set dummy cc; ac_word=$2
2131 echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_CC"; then
2137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_ac_ct_CC="cc"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2156 if test -n "$ac_ct_CC"; then
2157 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2158 echo "${ECHO_T}$ac_ct_CC" >&6
2160 echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6
2170 if test -z "$CC"; then
2171 # Extract the first word of "cc", so it can be a program name with args.
2172 set dummy cc; ac_word=$2
2173 echo "$as_me:$LINENO: checking for $ac_word" >&5
2174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2175 if test "${ac_cv_prog_CC+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 if test -n "$CC"; then
2179 ac_cv_prog_CC="$CC" # Let the user override the test.
2182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir=.
2187 for ac_exec_ext in '' $ac_executable_extensions; do
2188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2190 ac_prog_rejected=yes
2194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test $ac_prog_rejected = yes; then
2201 # We found a bogon in the path, so make sure we never use it.
2202 set dummy $ac_cv_prog_CC
2204 if test $# != 0; then
2205 # We chose a different compiler from the bogus one.
2206 # However, it has the same basename, so the bogon will be chosen
2207 # first if we set CC to just the basename; use the full file name.
2209 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2215 if test -n "$CC"; then
2216 echo "$as_me:$LINENO: result: $CC" >&5
2217 echo "${ECHO_T}$CC" >&6
2219 echo "$as_me:$LINENO: result: no" >&5
2220 echo "${ECHO_T}no" >&6
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2230 echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC="$CC" # Let the user override the test.
2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir=.
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2245 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2255 if test -n "$CC"; then
2256 echo "$as_me:$LINENO: result: $CC" >&5
2257 echo "${ECHO_T}$CC" >&6
2259 echo "$as_me:$LINENO: result: no" >&5
2260 echo "${ECHO_T}no" >&6
2263 test -n "$CC" && break
2266 if test -z "$CC"; then
2270 # Extract the first word of "$ac_prog", so it can be a program name with args.
2271 set dummy $ac_prog; ac_word=$2
2272 echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_CC"; then
2278 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2287 ac_cv_prog_ac_ct_CC="$ac_prog"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6
2301 echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6
2305 test -n "$ac_ct_CC" && break
2314 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2315 See \`config.log' for more details." >&5
2316 echo "$as_me: error: no acceptable C compiler found in \$PATH
2317 See \`config.log' for more details." >&2;}
2318 { (exit 1); exit 1; }; }
2320 # Provide some information about the compiler.
2321 echo "$as_me:$LINENO:" \
2322 "checking for C compiler version" >&5
2323 ac_compiler=`set X $ac_compile; echo $2`
2324 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2325 (eval $ac_compiler --version </dev/null >&5) 2>&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); }
2329 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2330 (eval $ac_compiler -v </dev/null >&5) 2>&5
2332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2333 (exit $ac_status); }
2334 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2335 (eval $ac_compiler -V </dev/null >&5) 2>&5
2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2338 (exit $ac_status); }
2340 cat >conftest.$ac_ext <<_ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2355 ac_clean_files_save=$ac_clean_files
2356 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2357 # Try to create an executable without -o first, disregard a.out.
2358 # It will help us diagnose broken compilers, and finding out an intuition
2360 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2361 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2362 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2363 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2364 (eval $ac_link_default) 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }; then
2368 # Find the output, starting from the most likely. This scheme is
2369 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2372 # Be careful to initialize this variable, since it used to be cached.
2373 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2375 # b.out is created by i960 compilers.
2376 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2378 test -f "$ac_file" || continue
2380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2383 # This is the source file.
2386 # We found the default executable, but exeext='' is most
2390 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2391 # FIXME: I believe we export ac_cv_exeext for Libtool,
2392 # but it would be cool to find out if it's true. Does anybody
2393 # maintain Libtool? --akim.
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.$ac_ext >&5
2404 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2405 See \`config.log' for more details." >&5
2406 echo "$as_me: error: C compiler cannot create executables
2407 See \`config.log' for more details." >&2;}
2408 { (exit 77); exit 77; }; }
2411 ac_exeext=$ac_cv_exeext
2412 echo "$as_me:$LINENO: result: $ac_file" >&5
2413 echo "${ECHO_T}$ac_file" >&6
2415 # Check the compiler produces executables we can run. If not, either
2416 # the compiler is broken, or we cross compile.
2417 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2418 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2419 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2420 # If not cross compiling, check that we can run a simple program.
2421 if test "$cross_compiling" != yes; then
2422 if { ac_try='./$ac_file'
2423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; }; then
2430 if test "$cross_compiling" = maybe; then
2433 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2434 If you meant to cross compile, use \`--host'.
2435 See \`config.log' for more details." >&5
2436 echo "$as_me: error: cannot run C compiled programs.
2437 If you meant to cross compile, use \`--host'.
2438 See \`config.log' for more details." >&2;}
2439 { (exit 1); exit 1; }; }
2443 echo "$as_me:$LINENO: result: yes" >&5
2444 echo "${ECHO_T}yes" >&6
2446 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2447 ac_clean_files=$ac_clean_files_save
2448 # Check the compiler produces executables we can run. If not, either
2449 # the compiler is broken, or we cross compile.
2450 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2451 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2452 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2453 echo "${ECHO_T}$cross_compiling" >&6
2455 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2456 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2458 (eval $ac_link) 2>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; then
2462 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2463 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2464 # work properly (i.e., refer to `conftest.exe'), while it won't with
2466 for ac_file in conftest.exe conftest conftest.*; do
2467 test -f "$ac_file" || continue
2469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2470 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2477 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2478 See \`config.log' for more details." >&5
2479 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2480 See \`config.log' for more details." >&2;}
2481 { (exit 1); exit 1; }; }
2484 rm -f conftest$ac_cv_exeext
2485 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2486 echo "${ECHO_T}$ac_cv_exeext" >&6
2488 rm -f conftest.$ac_ext
2489 EXEEXT=$ac_cv_exeext
2491 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2492 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2493 if test "${ac_cv_objext+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 cat >conftest.$ac_ext <<_ACEOF
2499 cat confdefs.h >>conftest.$ac_ext
2500 cat >>conftest.$ac_ext <<_ACEOF
2501 /* end confdefs.h. */
2511 rm -f conftest.o conftest.obj
2512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2513 (eval $ac_compile) 2>&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; then
2517 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2520 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2528 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2529 See \`config.log' for more details." >&5
2530 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2531 See \`config.log' for more details." >&2;}
2532 { (exit 1); exit 1; }; }
2535 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2537 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2538 echo "${ECHO_T}$ac_cv_objext" >&6
2539 OBJEXT=$ac_cv_objext
2541 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2542 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2543 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 cat >conftest.$ac_ext <<_ACEOF
2549 cat confdefs.h >>conftest.$ac_ext
2550 cat >>conftest.$ac_ext <<_ACEOF
2551 /* end confdefs.h. */
2564 rm -f conftest.$ac_objext
2565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2566 (eval $ac_compile) 2>conftest.er1
2568 grep -v '^ *+' conftest.er1 >conftest.err
2570 cat conftest.err >&5
2571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2572 (exit $ac_status); } &&
2573 { ac_try='test -z "$ac_c_werror_flag"
2574 || test ! -s conftest.err'
2575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); }; } &&
2580 { ac_try='test -s conftest.$ac_objext'
2581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2585 (exit $ac_status); }; }; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2594 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2597 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2598 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2599 GCC=`test $ac_compiler_gnu = yes && echo yes`
2600 ac_test_CFLAGS=${CFLAGS+set}
2601 ac_save_CFLAGS=$CFLAGS
2603 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2604 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2605 if test "${ac_cv_prog_cc_g+set}" = set; then
2606 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 cat >conftest.$ac_ext <<_ACEOF
2611 cat confdefs.h >>conftest.$ac_ext
2612 cat >>conftest.$ac_ext <<_ACEOF
2613 /* end confdefs.h. */
2623 rm -f conftest.$ac_objext
2624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2625 (eval $ac_compile) 2>conftest.er1
2627 grep -v '^ *+' conftest.er1 >conftest.err
2629 cat conftest.err >&5
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); } &&
2632 { ac_try='test -z "$ac_c_werror_flag"
2633 || test ! -s conftest.err'
2634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); }; } &&
2639 { ac_try='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2654 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2655 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2656 if test "$ac_test_CFLAGS" = set; then
2657 CFLAGS=$ac_save_CFLAGS
2658 elif test $ac_cv_prog_cc_g = yes; then
2659 if test "$GCC" = yes; then
2665 if test "$GCC" = yes; then
2671 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2672 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2673 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2674 echo $ECHO_N "(cached) $ECHO_C" >&6
2676 ac_cv_prog_cc_stdc=no
2678 cat >conftest.$ac_ext <<_ACEOF
2681 cat confdefs.h >>conftest.$ac_ext
2682 cat >>conftest.$ac_ext <<_ACEOF
2683 /* end confdefs.h. */
2686 #include <sys/types.h>
2687 #include <sys/stat.h>
2688 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2689 struct buf { int x; };
2690 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2691 static char *e (p, i)
2697 static char *f (char * (*g) (char **, int), char **p, ...)
2702 s = g (p, va_arg (v,int));
2707 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2708 function prototypes and stuff, but not '\xHH' hex character constants.
2709 These don't provoke an error unfortunately, instead are silently treated
2710 as 'x'. The following induces an error, until -std1 is added to get
2711 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2712 array size at least. It's necessary to write '\x00'==0 to get something
2713 that's true only with -std1. */
2714 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2716 int test (int i, double x);
2717 struct s1 {int (*f) (int a);};
2718 struct s2 {int (*f) (double a);};
2719 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2725 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2730 # Don't try gcc -ansi; that turns off useful extensions and
2731 # breaks some systems' header files.
2732 # AIX -qlanglvl=ansi
2733 # Ultrix and OSF/1 -std1
2734 # HP-UX 10.20 and later -Ae
2735 # HP-UX older versions -Aa -D_HPUX_SOURCE
2736 # SVR4 -Xc -D__EXTENSIONS__
2737 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2739 CC="$ac_save_CC $ac_arg"
2740 rm -f conftest.$ac_objext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2742 (eval $ac_compile) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1 >conftest.err
2746 cat conftest.err >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try='test -z "$ac_c_werror_flag"
2750 || test ! -s conftest.err'
2751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; } &&
2756 { ac_try='test -s conftest.$ac_objext'
2757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); }; }; then
2762 ac_cv_prog_cc_stdc=$ac_arg
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2769 rm -f conftest.err conftest.$ac_objext
2771 rm -f conftest.$ac_ext conftest.$ac_objext
2776 case "x$ac_cv_prog_cc_stdc" in
2778 echo "$as_me:$LINENO: result: none needed" >&5
2779 echo "${ECHO_T}none needed" >&6 ;;
2781 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2782 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2783 CC="$CC $ac_cv_prog_cc_stdc" ;;
2786 # Some people use a C++ compiler to compile C. Since we use `exit',
2787 # in C++ we need to declare it. In case someone uses the same compiler
2788 # for both compiling C and C++ we need to have the C++ compiler decide
2789 # the declaration of exit, since it's the most demanding environment.
2790 cat >conftest.$ac_ext <<_ACEOF
2795 rm -f conftest.$ac_objext
2796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2797 (eval $ac_compile) 2>conftest.er1
2799 grep -v '^ *+' conftest.er1 >conftest.err
2801 cat conftest.err >&5
2802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803 (exit $ac_status); } &&
2804 { ac_try='test -z "$ac_c_werror_flag"
2805 || test ! -s conftest.err'
2806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); }; } &&
2811 { ac_try='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 for ac_declaration in \
2819 'extern "C" void std::exit (int) throw (); using std::exit;' \
2820 'extern "C" void std::exit (int); using std::exit;' \
2821 'extern "C" void exit (int) throw ();' \
2822 'extern "C" void exit (int);' \
2825 cat >conftest.$ac_ext <<_ACEOF
2828 cat confdefs.h >>conftest.$ac_ext
2829 cat >>conftest.$ac_ext <<_ACEOF
2830 /* end confdefs.h. */
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2845 grep -v '^ *+' conftest.er1 >conftest.err
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2865 echo "$as_me: failed program was:" >&5
2866 sed 's/^/| /' conftest.$ac_ext >&5
2870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2871 cat >conftest.$ac_ext <<_ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2886 rm -f conftest.$ac_objext
2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2888 (eval $ac_compile) 2>conftest.er1
2890 grep -v '^ *+' conftest.er1 >conftest.err
2892 cat conftest.err >&5
2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894 (exit $ac_status); } &&
2895 { ac_try='test -z "$ac_c_werror_flag"
2896 || test ! -s conftest.err'
2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }; } &&
2902 { ac_try='test -s conftest.$ac_objext'
2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2907 (exit $ac_status); }; }; then
2910 echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2917 if test -n "$ac_declaration"; then
2918 echo '#ifdef __cplusplus' >>confdefs.h
2919 echo $ac_declaration >>confdefs.h
2920 echo '#endif' >>confdefs.h
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_cpp='$CPP $CPPFLAGS'
2931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2935 if test x"$enable_cplusplus" != xno; then
2937 ac_cpp='$CXXCPP $CPPFLAGS'
2938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2941 if test -n "$ac_tool_prefix"; then
2942 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2944 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2945 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2946 echo "$as_me:$LINENO: checking for $ac_word" >&5
2947 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2948 if test "${ac_cv_prog_CXX+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 if test -n "$CXX"; then
2952 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 test -z "$as_dir" && as_dir=.
2959 for ac_exec_ext in '' $ac_executable_extensions; do
2960 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2961 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2962 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2971 if test -n "$CXX"; then
2972 echo "$as_me:$LINENO: result: $CXX" >&5
2973 echo "${ECHO_T}$CXX" >&6
2975 echo "$as_me:$LINENO: result: no" >&5
2976 echo "${ECHO_T}no" >&6
2979 test -n "$CXX" && break
2982 if test -z "$CXX"; then
2984 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2986 # Extract the first word of "$ac_prog", so it can be a program name with args.
2987 set dummy $ac_prog; ac_word=$2
2988 echo "$as_me:$LINENO: checking for $ac_word" >&5
2989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2990 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2991 echo $ECHO_N "(cached) $ECHO_C" >&6
2993 if test -n "$ac_ct_CXX"; then
2994 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir=.
3001 for ac_exec_ext in '' $ac_executable_extensions; do
3002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3003 ac_cv_prog_ac_ct_CXX="$ac_prog"
3004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3012 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3013 if test -n "$ac_ct_CXX"; then
3014 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3015 echo "${ECHO_T}$ac_ct_CXX" >&6
3017 echo "$as_me:$LINENO: result: no" >&5
3018 echo "${ECHO_T}no" >&6
3021 test -n "$ac_ct_CXX" && break
3023 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3029 # Provide some information about the compiler.
3030 echo "$as_me:$LINENO:" \
3031 "checking for C++ compiler version" >&5
3032 ac_compiler=`set X $ac_compile; echo $2`
3033 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3034 (eval $ac_compiler --version </dev/null >&5) 2>&5
3036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037 (exit $ac_status); }
3038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3039 (eval $ac_compiler -v </dev/null >&5) 2>&5
3041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042 (exit $ac_status); }
3043 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3044 (eval $ac_compiler -V </dev/null >&5) 2>&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); }
3049 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3050 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3051 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3052 echo $ECHO_N "(cached) $ECHO_C" >&6
3054 cat >conftest.$ac_ext <<_ACEOF
3057 cat confdefs.h >>conftest.$ac_ext
3058 cat >>conftest.$ac_ext <<_ACEOF
3059 /* end confdefs.h. */
3072 rm -f conftest.$ac_objext
3073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074 (eval $ac_compile) 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } &&
3081 { ac_try='test -z "$ac_cxx_werror_flag"
3082 || test ! -s conftest.err'
3083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }; } &&
3088 { ac_try='test -s conftest.$ac_objext'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; }; then
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3102 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3105 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3106 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3107 GXX=`test $ac_compiler_gnu = yes && echo yes`
3108 ac_test_CXXFLAGS=${CXXFLAGS+set}
3109 ac_save_CXXFLAGS=$CXXFLAGS
3111 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3112 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3113 if test "${ac_cv_prog_cxx_g+set}" = set; then
3114 echo $ECHO_N "(cached) $ECHO_C" >&6
3116 cat >conftest.$ac_ext <<_ACEOF
3119 cat confdefs.h >>conftest.$ac_ext
3120 cat >>conftest.$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3131 rm -f conftest.$ac_objext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3133 (eval $ac_compile) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1 >conftest.err
3137 cat conftest.err >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try='test -z "$ac_cxx_werror_flag"
3141 || test ! -s conftest.err'
3142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }; } &&
3147 { ac_try='test -s conftest.$ac_objext'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; }; then
3153 ac_cv_prog_cxx_g=yes
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3163 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3164 if test "$ac_test_CXXFLAGS" = set; then
3165 CXXFLAGS=$ac_save_CXXFLAGS
3166 elif test $ac_cv_prog_cxx_g = yes; then
3167 if test "$GXX" = yes; then
3173 if test "$GXX" = yes; then
3179 for ac_declaration in \
3181 'extern "C" void std::exit (int) throw (); using std::exit;' \
3182 'extern "C" void std::exit (int); using std::exit;' \
3183 'extern "C" void exit (int) throw ();' \
3184 'extern "C" void exit (int);' \
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3203 rm -f conftest.$ac_objext
3204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3205 (eval $ac_compile) 2>conftest.er1
3207 grep -v '^ *+' conftest.er1 >conftest.err
3209 cat conftest.err >&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -z "$ac_cxx_werror_flag"
3213 || test ! -s conftest.err'
3214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); }; } &&
3219 { ac_try='test -s conftest.$ac_objext'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; }; then
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1 >conftest.err
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_cxx_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3279 if test -n "$ac_declaration"; then
3280 echo '#ifdef __cplusplus' >>confdefs.h
3281 echo $ac_declaration >>confdefs.h
3282 echo '#endif' >>confdefs.h
3286 ac_cpp='$CPP $CPPFLAGS'
3287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3295 # Code by albert chin <china@thewrittenword.com> to check for various
3296 # oddball networking libraries. Solaris and some other operating systems
3297 # hide their networking code in various places. (Yes, this links too many
3298 # of our libraries against -lsocket, but a finer-grained mechanism would
3299 # require too much testing.)
3300 echo "$as_me:$LINENO: checking for socket" >&5
3301 echo $ECHO_N "checking for socket... $ECHO_C" >&6
3302 if test "${ac_cv_func_socket+set}" = set; then
3303 echo $ECHO_N "(cached) $ECHO_C" >&6
3305 cat >conftest.$ac_ext <<_ACEOF
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3311 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
3312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3313 #define socket innocuous_socket
3315 /* System header to define __stub macros and hopefully few prototypes,
3316 which can conflict with char socket (); below.
3317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3318 <limits.h> exists even on freestanding compilers. */
3321 # include <limits.h>
3323 # include <assert.h>
3328 /* Override any gcc2 internal prototype to avoid an error. */
3333 /* We use char because int might match the return type of a gcc2
3334 builtin and then its argument prototype would still apply. */
3336 /* The GNU C library defines this for functions which it implements
3337 to always fail with ENOSYS. Some functions are actually named
3338 something starting with __ and the normal name is an alias. */
3339 #if defined (__stub_socket) || defined (__stub___socket)
3342 char (*f) () = socket;
3356 rm -f conftest.$ac_objext conftest$ac_exeext
3357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3358 (eval $ac_link) 2>conftest.er1
3360 grep -v '^ *+' conftest.er1 >conftest.err
3362 cat conftest.err >&5
3363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364 (exit $ac_status); } &&
3365 { ac_try='test -z "$ac_c_werror_flag"
3366 || test ! -s conftest.err'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; } &&
3372 { ac_try='test -s conftest$ac_exeext'
3373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); }; }; then
3378 ac_cv_func_socket=yes
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 ac_cv_func_socket=no
3385 rm -f conftest.err conftest.$ac_objext \
3386 conftest$ac_exeext conftest.$ac_ext
3388 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
3389 echo "${ECHO_T}$ac_cv_func_socket" >&6
3390 if test $ac_cv_func_socket = yes; then
3394 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3395 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3396 if test "${ac_cv_lib_socket_socket+set}" = set; then
3397 echo $ECHO_N "(cached) $ECHO_C" >&6
3399 ac_check_lib_save_LIBS=$LIBS
3400 LIBS="-lsocket $LIBS"
3402 cat >conftest.$ac_ext <<_ACEOF
3405 cat confdefs.h >>conftest.$ac_ext
3406 cat >>conftest.$ac_ext <<_ACEOF
3407 /* end confdefs.h. */
3409 /* Override any gcc2 internal prototype to avoid an error. */
3413 /* We use char because int might match the return type of a gcc2
3414 builtin and then its argument prototype would still apply. */
3424 rm -f conftest.$ac_objext conftest$ac_exeext
3425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3426 (eval $ac_link) 2>conftest.er1
3428 grep -v '^ *+' conftest.er1 >conftest.err
3430 cat conftest.err >&5
3431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432 (exit $ac_status); } &&
3433 { ac_try='test -z "$ac_c_werror_flag"
3434 || test ! -s conftest.err'
3435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); }; } &&
3440 { ac_try='test -s conftest$ac_exeext'
3441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); }; }; then
3446 ac_cv_lib_socket_socket=yes
3448 echo "$as_me: failed program was:" >&5
3449 sed 's/^/| /' conftest.$ac_ext >&5
3451 ac_cv_lib_socket_socket=no
3453 rm -f conftest.err conftest.$ac_objext \
3454 conftest$ac_exeext conftest.$ac_ext
3455 LIBS=$ac_check_lib_save_LIBS
3457 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3458 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3459 if test $ac_cv_lib_socket_socket = yes; then
3460 cat >>confdefs.h <<_ACEOF
3461 #define HAVE_LIBSOCKET 1
3464 LIBS="-lsocket $LIBS"
3471 # Above sets LIBS, which is not all that useful because we don't want
3472 # to include every library in every link. It also sets
3473 # ac_cv_lib_socket_socket, which we use to pass more specific information
3474 # to the configuration files.
3476 if test x"$ac_cv_lib_socket_socket" = xyes; then
3483 # For some reason, we don't seem to need this on Solaris. If you do
3484 # need it, go ahead and try it.
3485 # AC_CHECK_FUNC(gethostent, , AC_CHECK_LIB(nsl, gethostent))
3490 ac_cpp='$CPP $CPPFLAGS'
3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3494 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3495 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3496 # On Suns, sometimes $CPP names a directory.
3497 if test -n "$CPP" && test -d "$CPP"; then
3500 if test -z "$CPP"; then
3501 if test "${ac_cv_prog_CPP+set}" = set; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 # Double quotes because CPP needs to be expanded
3505 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3508 for ac_c_preproc_warn_flag in '' yes
3510 # Use a header file that comes with gcc, so configuring glibc
3511 # with a fresh cross-compiler works.
3512 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3513 # <limits.h> exists even on freestanding compilers.
3514 # On the NeXT, cc -E runs the code through the compiler's parser,
3515 # not just through cpp. "Syntax error" is here to catch this case.
3516 cat >conftest.$ac_ext <<_ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3523 # include <limits.h>
3525 # include <assert.h>
3529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3530 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3532 grep -v '^ *+' conftest.er1 >conftest.err
3534 cat conftest.err >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } >/dev/null; then
3537 if test -s conftest.err; then
3538 ac_cpp_err=$ac_c_preproc_warn_flag
3539 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3546 if test -z "$ac_cpp_err"; then
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.$ac_ext >&5
3552 # Broken: fails on valid input.
3555 rm -f conftest.err conftest.$ac_ext
3557 # OK, works on sane cases. Now check whether non-existent headers
3558 # can be detected and how.
3559 cat >conftest.$ac_ext <<_ACEOF
3562 cat confdefs.h >>conftest.$ac_ext
3563 cat >>conftest.$ac_ext <<_ACEOF
3564 /* end confdefs.h. */
3565 #include <ac_nonexistent.h>
3567 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3568 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3570 grep -v '^ *+' conftest.er1 >conftest.err
3572 cat conftest.err >&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } >/dev/null; then
3575 if test -s conftest.err; then
3576 ac_cpp_err=$ac_c_preproc_warn_flag
3577 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3584 if test -z "$ac_cpp_err"; then
3585 # Broken: success on invalid input.
3588 echo "$as_me: failed program was:" >&5
3589 sed 's/^/| /' conftest.$ac_ext >&5
3591 # Passes both tests.
3595 rm -f conftest.err conftest.$ac_ext
3598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3599 rm -f conftest.err conftest.$ac_ext
3600 if $ac_preproc_ok; then
3612 echo "$as_me:$LINENO: result: $CPP" >&5
3613 echo "${ECHO_T}$CPP" >&6
3615 for ac_c_preproc_warn_flag in '' yes
3617 # Use a header file that comes with gcc, so configuring glibc
3618 # with a fresh cross-compiler works.
3619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3620 # <limits.h> exists even on freestanding compilers.
3621 # On the NeXT, cc -E runs the code through the compiler's parser,
3622 # not just through cpp. "Syntax error" is here to catch this case.
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3630 # include <limits.h>
3632 # include <assert.h>
3636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3639 grep -v '^ *+' conftest.er1 >conftest.err
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null; then
3644 if test -s conftest.err; then
3645 ac_cpp_err=$ac_c_preproc_warn_flag
3646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3653 if test -z "$ac_cpp_err"; then
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3659 # Broken: fails on valid input.
3662 rm -f conftest.err conftest.$ac_ext
3664 # OK, works on sane cases. Now check whether non-existent headers
3665 # can be detected and how.
3666 cat >conftest.$ac_ext <<_ACEOF
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3672 #include <ac_nonexistent.h>
3674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1 >conftest.err
3679 cat conftest.err >&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } >/dev/null; then
3682 if test -s conftest.err; then
3683 ac_cpp_err=$ac_c_preproc_warn_flag
3684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3691 if test -z "$ac_cpp_err"; then
3692 # Broken: success on invalid input.
3695 echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 # Passes both tests.
3702 rm -f conftest.err conftest.$ac_ext
3705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3706 rm -f conftest.err conftest.$ac_ext
3707 if $ac_preproc_ok; then
3710 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3711 See \`config.log' for more details." >&5
3712 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3713 See \`config.log' for more details." >&2;}
3714 { (exit 1); exit 1; }; }
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3724 echo "$as_me:$LINENO: checking for egrep" >&5
3725 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3726 if test "${ac_cv_prog_egrep+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3730 then ac_cv_prog_egrep='grep -E'
3731 else ac_cv_prog_egrep='egrep'
3734 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3735 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3736 EGREP=$ac_cv_prog_egrep
3739 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3740 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3741 if test "${ac_cv_header_stdc+set}" = set; then
3742 echo $ECHO_N "(cached) $ECHO_C" >&6
3744 cat >conftest.$ac_ext <<_ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h. */
3763 rm -f conftest.$ac_objext
3764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3765 (eval $ac_compile) 2>conftest.er1
3767 grep -v '^ *+' conftest.er1 >conftest.err
3769 cat conftest.err >&5
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } &&
3772 { ac_try='test -z "$ac_c_werror_flag"
3773 || test ! -s conftest.err'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; } &&
3779 { ac_try='test -s conftest.$ac_objext'
3780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); }; }; then
3785 ac_cv_header_stdc=yes
3787 echo "$as_me: failed program was:" >&5
3788 sed 's/^/| /' conftest.$ac_ext >&5
3790 ac_cv_header_stdc=no
3792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3794 if test $ac_cv_header_stdc = yes; then
3795 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3796 cat >conftest.$ac_ext <<_ACEOF
3799 cat confdefs.h >>conftest.$ac_ext
3800 cat >>conftest.$ac_ext <<_ACEOF
3801 /* end confdefs.h. */
3805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3806 $EGREP "memchr" >/dev/null 2>&1; then
3809 ac_cv_header_stdc=no
3815 if test $ac_cv_header_stdc = yes; then
3816 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3817 cat >conftest.$ac_ext <<_ACEOF
3820 cat confdefs.h >>conftest.$ac_ext
3821 cat >>conftest.$ac_ext <<_ACEOF
3822 /* end confdefs.h. */
3826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3827 $EGREP "free" >/dev/null 2>&1; then
3830 ac_cv_header_stdc=no
3836 if test $ac_cv_header_stdc = yes; then
3837 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3838 if test "$cross_compiling" = yes; then
3841 cat >conftest.$ac_ext <<_ACEOF
3844 cat confdefs.h >>conftest.$ac_ext
3845 cat >>conftest.$ac_ext <<_ACEOF
3846 /* end confdefs.h. */
3848 #if ((' ' & 0x0FF) == 0x020)
3849 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3850 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3852 # define ISLOWER(c) \
3853 (('a' <= (c) && (c) <= 'i') \
3854 || ('j' <= (c) && (c) <= 'r') \
3855 || ('s' <= (c) && (c) <= 'z'))
3856 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3859 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3864 for (i = 0; i < 256; i++)
3865 if (XOR (islower (i), ISLOWER (i))
3866 || toupper (i) != TOUPPER (i))
3871 rm -f conftest$ac_exeext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3873 (eval $ac_link) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3884 echo "$as_me: program exited with status $ac_status" >&5
3885 echo "$as_me: failed program was:" >&5
3886 sed 's/^/| /' conftest.$ac_ext >&5
3889 ac_cv_header_stdc=no
3891 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3895 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3896 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3897 if test $ac_cv_header_stdc = yes; then
3899 cat >>confdefs.h <<\_ACEOF
3900 #define STDC_HEADERS 1
3907 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3917 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3918 inttypes.h stdint.h unistd.h
3920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3921 echo "$as_me:$LINENO: checking for $ac_header" >&5
3922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3924 echo $ECHO_N "(cached) $ECHO_C" >&6
3926 cat >conftest.$ac_ext <<_ACEOF
3929 cat confdefs.h >>conftest.$ac_ext
3930 cat >>conftest.$ac_ext <<_ACEOF
3931 /* end confdefs.h. */
3932 $ac_includes_default
3934 #include <$ac_header>
3936 rm -f conftest.$ac_objext
3937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3938 (eval $ac_compile) 2>conftest.er1
3940 grep -v '^ *+' conftest.er1 >conftest.err
3942 cat conftest.err >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); } &&
3945 { ac_try='test -z "$ac_c_werror_flag"
3946 || test ! -s conftest.err'
3947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3951 (exit $ac_status); }; } &&
3952 { ac_try='test -s conftest.$ac_objext'
3953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3957 (exit $ac_status); }; }; then
3958 eval "$as_ac_Header=yes"
3960 echo "$as_me: failed program was:" >&5
3961 sed 's/^/| /' conftest.$ac_ext >&5
3963 eval "$as_ac_Header=no"
3965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3970 cat >>confdefs.h <<_ACEOF
3971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3980 for ac_header in wchar.h
3982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3984 echo "$as_me:$LINENO: checking for $ac_header" >&5
3985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3987 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3992 # Is the header compilable?
3993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3995 cat >conftest.$ac_ext <<_ACEOF
3998 cat confdefs.h >>conftest.$ac_ext
3999 cat >>conftest.$ac_ext <<_ACEOF
4000 /* end confdefs.h. */
4001 $ac_includes_default
4002 #include <$ac_header>
4004 rm -f conftest.$ac_objext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4006 (eval $ac_compile) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1 >conftest.err
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try='test -z "$ac_c_werror_flag"
4014 || test ! -s conftest.err'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; } &&
4020 { ac_try='test -s conftest.$ac_objext'
4021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); }; }; then
4026 ac_header_compiler=yes
4028 echo "$as_me: failed program was:" >&5
4029 sed 's/^/| /' conftest.$ac_ext >&5
4031 ac_header_compiler=no
4033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4035 echo "${ECHO_T}$ac_header_compiler" >&6
4037 # Is the header present?
4038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4040 cat >conftest.$ac_ext <<_ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4046 #include <$ac_header>
4048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4049 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4051 grep -v '^ *+' conftest.er1 >conftest.err
4053 cat conftest.err >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); } >/dev/null; then
4056 if test -s conftest.err; then
4057 ac_cpp_err=$ac_c_preproc_warn_flag
4058 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4065 if test -z "$ac_cpp_err"; then
4066 ac_header_preproc=yes
4068 echo "$as_me: failed program was:" >&5
4069 sed 's/^/| /' conftest.$ac_ext >&5
4071 ac_header_preproc=no
4073 rm -f conftest.err conftest.$ac_ext
4074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4075 echo "${ECHO_T}$ac_header_preproc" >&6
4077 # So? What about this header?
4078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4080 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4084 ac_header_preproc=yes
4087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4091 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4093 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4094 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4097 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4101 ## ------------------------------------------ ##
4102 ## Report this to the AC_PACKAGE_NAME lists. ##
4103 ## ------------------------------------------ ##
4106 sed "s/^/$as_me: WARNING: /" >&2
4109 echo "$as_me:$LINENO: checking for $ac_header" >&5
4110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 eval "$as_ac_Header=\$ac_header_preproc"
4116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4121 cat >>confdefs.h <<_ACEOF
4122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4130 if test x"$ac_cv_header_wchar_h" = xyes; then
4131 HAVE_WCHAR_H_DEFINE=1
4133 HAVE_WCHAR_H_DEFINE=0
4137 # Needed by Abyss on Solaris:
4140 for ac_header in sys/filio.h
4142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4143 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4144 echo "$as_me:$LINENO: checking for $ac_header" >&5
4145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4147 echo $ECHO_N "(cached) $ECHO_C" >&6
4149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4150 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4152 # Is the header compilable?
4153 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4154 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4155 cat >conftest.$ac_ext <<_ACEOF
4158 cat confdefs.h >>conftest.$ac_ext
4159 cat >>conftest.$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4161 $ac_includes_default
4162 #include <$ac_header>
4164 rm -f conftest.$ac_objext
4165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4166 (eval $ac_compile) 2>conftest.er1
4168 grep -v '^ *+' conftest.er1 >conftest.err
4170 cat conftest.err >&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try='test -z "$ac_c_werror_flag"
4174 || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&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
4186 ac_header_compiler=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 ac_header_compiler=no
4193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4194 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4195 echo "${ECHO_T}$ac_header_compiler" >&6
4197 # Is the header present?
4198 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4200 cat >conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h >>conftest.$ac_ext
4204 cat >>conftest.$ac_ext <<_ACEOF
4205 /* end confdefs.h. */
4206 #include <$ac_header>
4208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4211 grep -v '^ *+' conftest.er1 >conftest.err
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } >/dev/null; then
4216 if test -s conftest.err; then
4217 ac_cpp_err=$ac_c_preproc_warn_flag
4218 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4225 if test -z "$ac_cpp_err"; then
4226 ac_header_preproc=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.$ac_ext >&5
4231 ac_header_preproc=no
4233 rm -f conftest.err conftest.$ac_ext
4234 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4235 echo "${ECHO_T}$ac_header_preproc" >&6
4237 # So? What about this header?
4238 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4240 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4241 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4243 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4244 ac_header_preproc=yes
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4248 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4250 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4252 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4254 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4255 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4256 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4257 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4258 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4261 ## ------------------------------------------ ##
4262 ## Report this to the AC_PACKAGE_NAME lists. ##
4263 ## ------------------------------------------ ##
4266 sed "s/^/$as_me: WARNING: /" >&2
4269 echo "$as_me:$LINENO: checking for $ac_header" >&5
4270 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 eval "$as_ac_Header=\$ac_header_preproc"
4276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4280 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4281 cat >>confdefs.h <<_ACEOF
4282 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4289 if test x"$ac_cv_header_sys_filio_h" = xyes; then
4290 HAVE_SYS_FILIO_H_DEFINE=1
4292 HAVE_SYS_FILIO_H_DEFINE=0
4296 # Needed by Abyss on Solaris:
4299 for ac_header in sys/ioctl.h
4301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4303 echo "$as_me:$LINENO: checking for $ac_header" >&5
4304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4311 # Is the header compilable?
4312 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4313 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4320 $ac_includes_default
4321 #include <$ac_header>
4323 rm -f conftest.$ac_objext
4324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4325 (eval $ac_compile) 2>conftest.er1
4327 grep -v '^ *+' conftest.er1 >conftest.err
4329 cat conftest.err >&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try='test -z "$ac_c_werror_flag"
4333 || test ! -s conftest.err'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; } &&
4339 { ac_try='test -s conftest.$ac_objext'
4340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); }; }; then
4345 ac_header_compiler=yes
4347 echo "$as_me: failed program was:" >&5
4348 sed 's/^/| /' conftest.$ac_ext >&5
4350 ac_header_compiler=no
4352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4353 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4354 echo "${ECHO_T}$ac_header_compiler" >&6
4356 # Is the header present?
4357 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4358 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4359 cat >conftest.$ac_ext <<_ACEOF
4362 cat confdefs.h >>conftest.$ac_ext
4363 cat >>conftest.$ac_ext <<_ACEOF
4364 /* end confdefs.h. */
4365 #include <$ac_header>
4367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4370 grep -v '^ *+' conftest.er1 >conftest.err
4372 cat conftest.err >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); } >/dev/null; then
4375 if test -s conftest.err; then
4376 ac_cpp_err=$ac_c_preproc_warn_flag
4377 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4384 if test -z "$ac_cpp_err"; then
4385 ac_header_preproc=yes
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.$ac_ext >&5
4390 ac_header_preproc=no
4392 rm -f conftest.err conftest.$ac_ext
4393 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4394 echo "${ECHO_T}$ac_header_preproc" >&6
4396 # So? What about this header?
4397 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4402 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4403 ac_header_preproc=yes
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4411 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4413 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4416 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4417 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4420 ## ------------------------------------------ ##
4421 ## Report this to the AC_PACKAGE_NAME lists. ##
4422 ## ------------------------------------------ ##
4425 sed "s/^/$as_me: WARNING: /" >&2
4428 echo "$as_me:$LINENO: checking for $ac_header" >&5
4429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 eval "$as_ac_Header=\$ac_header_preproc"
4435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4439 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4440 cat >>confdefs.h <<_ACEOF
4441 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4448 if test x"$ac_cv_header_sys_ioctl_h" = xyes; then
4449 HAVE_SYS_IOCTL_H_DEFINE=1
4451 HAVE_SYS_IOCTL_H_DEFINE=0
4457 for ac_header in stdarg.h
4459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4461 echo "$as_me:$LINENO: checking for $ac_header" >&5
4462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4464 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4469 # Is the header compilable?
4470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4472 cat >conftest.$ac_ext <<_ACEOF
4475 cat confdefs.h >>conftest.$ac_ext
4476 cat >>conftest.$ac_ext <<_ACEOF
4477 /* end confdefs.h. */
4478 $ac_includes_default
4479 #include <$ac_header>
4481 rm -f conftest.$ac_objext
4482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4483 (eval $ac_compile) 2>conftest.er1
4485 grep -v '^ *+' conftest.er1 >conftest.err
4487 cat conftest.err >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); } &&
4490 { ac_try='test -z "$ac_c_werror_flag"
4491 || test ! -s conftest.err'
4492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4496 (exit $ac_status); }; } &&
4497 { ac_try='test -s conftest.$ac_objext'
4498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4502 (exit $ac_status); }; }; then
4503 ac_header_compiler=yes
4505 echo "$as_me: failed program was:" >&5
4506 sed 's/^/| /' conftest.$ac_ext >&5
4508 ac_header_compiler=no
4510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4511 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4512 echo "${ECHO_T}$ac_header_compiler" >&6
4514 # Is the header present?
4515 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4516 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4517 cat >conftest.$ac_ext <<_ACEOF
4520 cat confdefs.h >>conftest.$ac_ext
4521 cat >>conftest.$ac_ext <<_ACEOF
4522 /* end confdefs.h. */
4523 #include <$ac_header>
4525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4528 grep -v '^ *+' conftest.er1 >conftest.err
4530 cat conftest.err >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } >/dev/null; then
4533 if test -s conftest.err; then
4534 ac_cpp_err=$ac_c_preproc_warn_flag
4535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4542 if test -z "$ac_cpp_err"; then
4543 ac_header_preproc=yes
4545 echo "$as_me: failed program was:" >&5
4546 sed 's/^/| /' conftest.$ac_ext >&5
4548 ac_header_preproc=no
4550 rm -f conftest.err conftest.$ac_ext
4551 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4552 echo "${ECHO_T}$ac_header_preproc" >&6
4554 # So? What about this header?
4555 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4558 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4560 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4561 ac_header_preproc=yes
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4565 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4566 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4567 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4568 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4569 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4570 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4571 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4573 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4574 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4575 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4578 ## ------------------------------------------ ##
4579 ## Report this to the AC_PACKAGE_NAME lists. ##
4580 ## ------------------------------------------ ##
4583 sed "s/^/$as_me: WARNING: /" >&2
4586 echo "$as_me:$LINENO: checking for $ac_header" >&5
4587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4589 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 eval "$as_ac_Header=\$ac_header_preproc"
4593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4594 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4598 cat >>confdefs.h <<_ACEOF
4599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4604 { { echo "$as_me:$LINENO: error: stdarg.h is required to build this library" >&5
4605 echo "$as_me: error: stdarg.h is required to build this library" >&2;}
4606 { (exit 1); exit 1; }; }
4615 echo "$as_me:$LINENO: checking for size_t" >&5
4616 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4617 if test "${ac_cv_type_size_t+set}" = set; then
4618 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 cat >conftest.$ac_ext <<_ACEOF
4623 cat confdefs.h >>conftest.$ac_ext
4624 cat >>conftest.$ac_ext <<_ACEOF
4625 /* end confdefs.h. */
4626 $ac_includes_default
4632 if (sizeof (size_t))
4638 rm -f conftest.$ac_objext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4640 (eval $ac_compile) 2>conftest.er1
4642 grep -v '^ *+' conftest.er1 >conftest.err
4644 cat conftest.err >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try='test -z "$ac_c_werror_flag"
4648 || test ! -s conftest.err'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest.$ac_objext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 ac_cv_type_size_t=yes
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.$ac_ext >&5
4665 ac_cv_type_size_t=no
4667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4669 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4670 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4671 if test $ac_cv_type_size_t = yes; then
4675 cat >>confdefs.h <<_ACEOF
4676 #define size_t unsigned
4683 echo "$as_me:$LINENO: checking whether va_list is an array" >&5
4684 echo $ECHO_N "checking whether va_list is an array... $ECHO_C" >&6
4685 cat >conftest.$ac_ext <<_ACEOF
4688 cat confdefs.h >>conftest.$ac_ext
4689 cat >>conftest.$ac_ext <<_ACEOF
4690 /* end confdefs.h. */
4697 va_list list1, list2; list1 = list2;
4702 rm -f conftest.$ac_objext
4703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4704 (eval $ac_compile) 2>conftest.er1
4706 grep -v '^ *+' conftest.er1 >conftest.err
4708 cat conftest.err >&5
4709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } &&
4711 { ac_try='test -z "$ac_c_werror_flag"
4712 || test ! -s conftest.err'
4713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4717 (exit $ac_status); }; } &&
4718 { ac_try='test -s conftest.$ac_objext'
4719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4723 (exit $ac_status); }; }; then
4726 echo "$as_me: failed program was:" >&5
4727 sed 's/^/| /' conftest.$ac_ext >&5
4729 va_list_is_array=yes
4731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4732 echo "$as_me:$LINENO: result: $va_list_is_array" >&5
4733 echo "${ECHO_T}$va_list_is_array" >&6
4734 if test x"$va_list_is_array" = xyes; then
4735 VA_LIST_IS_ARRAY_DEFINE=1
4737 VA_LIST_IS_ARRAY_DEFINE=0
4741 echo "$as_me:$LINENO: checking whether compiler has __attribute__" >&5
4742 echo $ECHO_N "checking whether compiler has __attribute__... $ECHO_C" >&6
4743 cat >conftest.$ac_ext <<_ACEOF
4746 cat confdefs.h >>conftest.$ac_ext
4747 cat >>conftest.$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4753 int x __attribute__((__unused__));
4758 rm -f conftest.$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760 (eval $ac_compile) 2>conftest.er1
4762 grep -v '^ *+' conftest.er1 >conftest.err
4764 cat conftest.err >&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try='test -z "$ac_c_werror_flag"
4768 || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 compiler_has_attribute=yes
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.$ac_ext >&5
4785 compiler_has_attribute=no
4787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4788 echo "$as_me:$LINENO: result: $compiler_has_attribute" >&5
4789 echo "${ECHO_T}$compiler_has_attribute" >&6
4790 if test x"$compiler_has_attribute" = xyes; then
4791 ATTR_UNUSED="__attribute__((__unused__))"
4799 echo "$as_me:$LINENO: checking for vsnprintf" >&5
4800 echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
4801 if test "${ac_cv_func_vsnprintf+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 cat >conftest.$ac_ext <<_ACEOF
4807 cat confdefs.h >>conftest.$ac_ext
4808 cat >>conftest.$ac_ext <<_ACEOF
4809 /* end confdefs.h. */
4810 /* Define vsnprintf to an innocuous variant, in case <limits.h> declares vsnprintf.
4811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4812 #define vsnprintf innocuous_vsnprintf
4814 /* System header to define __stub macros and hopefully few prototypes,
4815 which can conflict with char vsnprintf (); below.
4816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4817 <limits.h> exists even on freestanding compilers. */
4820 # include <limits.h>
4822 # include <assert.h>
4827 /* Override any gcc2 internal prototype to avoid an error. */
4832 /* We use char because int might match the return type of a gcc2
4833 builtin and then its argument prototype would still apply. */
4835 /* The GNU C library defines this for functions which it implements
4836 to always fail with ENOSYS. Some functions are actually named
4837 something starting with __ and the normal name is an alias. */
4838 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
4841 char (*f) () = vsnprintf;
4850 return f != vsnprintf;
4855 rm -f conftest.$ac_objext conftest$ac_exeext
4856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4857 (eval $ac_link) 2>conftest.er1
4859 grep -v '^ *+' conftest.er1 >conftest.err
4861 cat conftest.err >&5
4862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863 (exit $ac_status); } &&
4864 { ac_try='test -z "$ac_c_werror_flag"
4865 || test ! -s conftest.err'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; } &&
4871 { ac_try='test -s conftest$ac_exeext'
4872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876 (exit $ac_status); }; }; then
4877 ac_cv_func_vsnprintf=yes
4879 echo "$as_me: failed program was:" >&5
4880 sed 's/^/| /' conftest.$ac_ext >&5
4882 ac_cv_func_vsnprintf=no
4884 rm -f conftest.err conftest.$ac_objext \
4885 conftest$ac_exeext conftest.$ac_ext
4887 echo "$as_me:$LINENO: result: $ac_cv_func_vsnprintf" >&5
4888 echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6
4889 if test $ac_cv_func_vsnprintf = yes; then
4893 { { echo "$as_me:$LINENO: error: your C library does not provide vsnprintf" >&5
4894 echo "$as_me: error: your C library does not provide vsnprintf" >&2;}
4895 { (exit 1); exit 1; }; }
4901 for ac_func in wcsncmp
4903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4904 echo "$as_me:$LINENO: checking for $ac_func" >&5
4905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4906 if eval "test \"\${$as_ac_var+set}\" = set"; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 cat >conftest.$ac_ext <<_ACEOF
4912 cat confdefs.h >>conftest.$ac_ext
4913 cat >>conftest.$ac_ext <<_ACEOF
4914 /* end confdefs.h. */
4915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4917 #define $ac_func innocuous_$ac_func
4919 /* System header to define __stub macros and hopefully few prototypes,
4920 which can conflict with char $ac_func (); below.
4921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4922 <limits.h> exists even on freestanding compilers. */
4925 # include <limits.h>
4927 # include <assert.h>
4932 /* Override any gcc2 internal prototype to avoid an error. */
4937 /* We use char because int might match the return type of a gcc2
4938 builtin and then its argument prototype would still apply. */
4940 /* The GNU C library defines this for functions which it implements
4941 to always fail with ENOSYS. Some functions are actually named
4942 something starting with __ and the normal name is an alias. */
4943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4946 char (*f) () = $ac_func;
4955 return f != $ac_func;
4960 rm -f conftest.$ac_objext conftest$ac_exeext
4961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4962 (eval $ac_link) 2>conftest.er1
4964 grep -v '^ *+' conftest.er1 >conftest.err
4966 cat conftest.err >&5
4967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4968 (exit $ac_status); } &&
4969 { ac_try='test -z "$ac_c_werror_flag"
4970 || test ! -s conftest.err'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; } &&
4976 { ac_try='test -s conftest$ac_exeext'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4982 eval "$as_ac_var=yes"
4984 echo "$as_me: failed program was:" >&5
4985 sed 's/^/| /' conftest.$ac_ext >&5
4987 eval "$as_ac_var=no"
4989 rm -f conftest.err conftest.$ac_objext \
4990 conftest$ac_exeext conftest.$ac_ext
4992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4994 if test `eval echo '${'$as_ac_var'}'` = yes; then
4995 cat >>confdefs.h <<_ACEOF
4996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5004 for ac_func in setgroups
5006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5007 echo "$as_me:$LINENO: checking for $ac_func" >&5
5008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5009 if eval "test \"\${$as_ac_var+set}\" = set"; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 cat >conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h >>conftest.$ac_ext
5016 cat >>conftest.$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5020 #define $ac_func innocuous_$ac_func
5022 /* System header to define __stub macros and hopefully few prototypes,
5023 which can conflict with char $ac_func (); below.
5024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5025 <limits.h> exists even on freestanding compilers. */
5028 # include <limits.h>
5030 # include <assert.h>
5035 /* Override any gcc2 internal prototype to avoid an error. */
5040 /* We use char because int might match the return type of a gcc2
5041 builtin and then its argument prototype would still apply. */
5043 /* The GNU C library defines this for functions which it implements
5044 to always fail with ENOSYS. Some functions are actually named
5045 something starting with __ and the normal name is an alias. */
5046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5049 char (*f) () = $ac_func;
5058 return f != $ac_func;
5063 rm -f conftest.$ac_objext conftest$ac_exeext
5064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5065 (eval $ac_link) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1 >conftest.err
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } &&
5072 { ac_try='test -z "$ac_c_werror_flag"
5073 || test ! -s conftest.err'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; } &&
5079 { ac_try='test -s conftest$ac_exeext'
5080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5084 (exit $ac_status); }; }; then
5085 eval "$as_ac_var=yes"
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 eval "$as_ac_var=no"
5092 rm -f conftest.err conftest.$ac_objext \
5093 conftest$ac_exeext conftest.$ac_ext
5095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5097 if test `eval echo '${'$as_ac_var'}'` = yes; then
5098 cat >>confdefs.h <<_ACEOF
5099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5107 for ac_func in asprintf
5109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5110 echo "$as_me:$LINENO: checking for $ac_func" >&5
5111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5112 if eval "test \"\${$as_ac_var+set}\" = set"; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5123 #define $ac_func innocuous_$ac_func
5125 /* System header to define __stub macros and hopefully few prototypes,
5126 which can conflict with char $ac_func (); below.
5127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5128 <limits.h> exists even on freestanding compilers. */
5131 # include <limits.h>
5133 # include <assert.h>
5138 /* Override any gcc2 internal prototype to avoid an error. */
5143 /* We use char because int might match the return type of a gcc2
5144 builtin and then its argument prototype would still apply. */
5146 /* The GNU C library defines this for functions which it implements
5147 to always fail with ENOSYS. Some functions are actually named
5148 something starting with __ and the normal name is an alias. */
5149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5152 char (*f) () = $ac_func;
5161 return f != $ac_func;
5166 rm -f conftest.$ac_objext conftest$ac_exeext
5167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5168 (eval $ac_link) 2>conftest.er1
5170 grep -v '^ *+' conftest.er1 >conftest.err
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } &&
5175 { ac_try='test -z "$ac_c_werror_flag"
5176 || test ! -s conftest.err'
5177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); }; } &&
5182 { ac_try='test -s conftest$ac_exeext'
5183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5187 (exit $ac_status); }; }; then
5188 eval "$as_ac_var=yes"
5190 echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.$ac_ext >&5
5193 eval "$as_ac_var=no"
5195 rm -f conftest.err conftest.$ac_objext \
5196 conftest$ac_exeext conftest.$ac_ext
5198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5200 if test `eval echo '${'$as_ac_var'}'` = yes; then
5201 cat >>confdefs.h <<_ACEOF
5202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5210 for ac_func in setenv
5212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5213 echo "$as_me:$LINENO: checking for $ac_func" >&5
5214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5215 if eval "test \"\${$as_ac_var+set}\" = set"; then
5216 echo $ECHO_N "(cached) $ECHO_C" >&6
5218 cat >conftest.$ac_ext <<_ACEOF
5221 cat confdefs.h >>conftest.$ac_ext
5222 cat >>conftest.$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5224 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5226 #define $ac_func innocuous_$ac_func
5228 /* System header to define __stub macros and hopefully few prototypes,
5229 which can conflict with char $ac_func (); below.
5230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5231 <limits.h> exists even on freestanding compilers. */
5234 # include <limits.h>
5236 # include <assert.h>
5241 /* Override any gcc2 internal prototype to avoid an error. */
5246 /* We use char because int might match the return type of a gcc2
5247 builtin and then its argument prototype would still apply. */
5249 /* The GNU C library defines this for functions which it implements
5250 to always fail with ENOSYS. Some functions are actually named
5251 something starting with __ and the normal name is an alias. */
5252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5255 char (*f) () = $ac_func;
5264 return f != $ac_func;
5269 rm -f conftest.$ac_objext conftest$ac_exeext
5270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5271 (eval $ac_link) 2>conftest.er1
5273 grep -v '^ *+' conftest.er1 >conftest.err
5275 cat conftest.err >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); } &&
5278 { ac_try='test -z "$ac_c_werror_flag"
5279 || test ! -s conftest.err'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; } &&
5285 { ac_try='test -s conftest$ac_exeext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5291 eval "$as_ac_var=yes"
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5296 eval "$as_ac_var=no"
5298 rm -f conftest.err conftest.$ac_objext \
5299 conftest$ac_exeext conftest.$ac_ext
5301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5303 if test `eval echo '${'$as_ac_var'}'` = yes; then
5304 cat >>confdefs.h <<_ACEOF
5305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5314 DIRECTORY_SEPARATOR="/"
5319 echo "$as_me:$LINENO: checking whether to use Abyss pthread function" >&5
5320 echo $ECHO_N "checking whether to use Abyss pthread function... $ECHO_C" >&6
5321 # Check whether --enable-abyss-threads or --disable-abyss-threads was given.
5322 if test "${enable_abyss_threads+set}" = set; then
5323 enableval="$enable_abyss_threads"
5326 enable_abyss_threads=yes
5328 echo "$as_me:$LINENO: result: $enable_abyss_threads" >&5
5329 echo "${ECHO_T}$enable_abyss_threads" >&6
5331 ENABLE_ABYSS_THREADS=$enable_abyss_threads
5334 if test x"$enable_abyss_threads" != xno; then
5335 CFLAGS="$CFLAGS -D_THREAD"
5340 if test $MUST_BUILD_WININET_CLIENT = yes; then
5342 for ac_prog in wininet-xmlrpc-config wininet-config
5344 # Extract the first word of "$ac_prog", so it can be a program name with args.
5345 set dummy $ac_prog; ac_word=$2
5346 echo "$as_me:$LINENO: checking for $ac_word" >&5
5347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5348 if test "${ac_cv_path_WININET_CONFIG+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 case $WININET_CONFIG in
5353 ac_cv_path_WININET_CONFIG="$WININET_CONFIG" # Let the user override the test with a path.
5356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5360 test -z "$as_dir" && as_dir=.
5361 for ac_exec_ext in '' $ac_executable_extensions; do
5362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5363 ac_cv_path_WININET_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 WININET_CONFIG=$ac_cv_path_WININET_CONFIG
5375 if test -n "$WININET_CONFIG"; then
5376 echo "$as_me:$LINENO: result: $WININET_CONFIG" >&5
5377 echo "${ECHO_T}$WININET_CONFIG" >&6
5379 echo "$as_me:$LINENO: result: no" >&5
5380 echo "${ECHO_T}no" >&6
5383 test -n "$WININET_CONFIG" && break
5385 test -n "$WININET_CONFIG" || WININET_CONFIG="no"
5387 if test "x$WININET_CONFIG" = "xno"; then
5388 { { echo "$as_me:$LINENO: error: wininet lib not found; see './configure --help'" >&5
5389 echo "$as_me: error: wininet lib not found; see './configure --help'" >&2;}
5390 { (exit 1); exit 1; }; }
5393 echo "$as_me:$LINENO: checking for wininet version >= 1.0.0" >&5
5394 echo $ECHO_N "checking for wininet version >= 1.0.0... $ECHO_C" >&6
5395 W3VER=`$WININET_CONFIG --version`
5397 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
5399 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
5401 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
5402 echo "$as_me:$LINENO: result: $WININET_MAJOR.$WININET_MINOR.$WININET_MICRO" >&5
5403 echo "${ECHO_T}$WININET_MAJOR.$WININET_MINOR.$WININET_MICRO" >&6
5405 WININET_VERSION_OK=yes
5406 if test $WININET_MAJOR -lt 1; then
5407 WININET_VERSION_OK=no
5409 if test $WININET_MAJOR -eq 1 -a $WININET_MINOR -lt 0; then
5410 WININET_VERSION_OK=no
5412 if test $WININET_MAJOR -eq 1 -a $WININET_MINOR -eq 0 \
5413 -a $WININET_MICRO -lt 0; then
5414 WININET_VERSION_OK=no
5418 if test "x$WININET_VERSION_OK" = "xno"; then
5419 { { echo "$as_me:$LINENO: error: wininet version >= 1.0.0 required" >&5
5420 echo "$as_me: error: wininet version >= 1.0.0 required" >&2;}
5421 { (exit 1); exit 1; }; }
5424 WININET_CFLAGS="`$WININET_CONFIG --cflags`"
5426 CFLAGS="$CFLAGS $WININET_CFLAGS"
5428 WININET_LDADD="`$WININET_CONFIG --libs`"
5431 echo "$as_me:$LINENO: checking for wininet library directory" >&5
5432 echo $ECHO_N "checking for wininet library directory... $ECHO_C" >&6
5433 if $WININET_CONFIG --rpath-dir > /dev/null 2>&1; then
5434 WININET_LIBDIR="`$WININET_CONFIG --rpath-dir`"
5436 WININET_LIBDIR="`$WININET_CONFIG --prefix`/lib"
5438 echo "$as_me:$LINENO: result: $WININET_LIBDIR" >&5
5439 echo "${ECHO_T}$WININET_LIBDIR" >&6
5441 WININET_RPATH="-rpath $WININET_LIBDIR"
5443 WININET_WL_RPATH="-Wl,--rpath -Wl,$WININET_LIBDIR"
5446 fi # MUST_BUILD_WININET_CLIENT
5449 if test $MUST_BUILD_LIBWWW_CLIENT = yes; then
5451 for ac_prog in libwww-xmlrpc-config libwww-config
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy $ac_prog; ac_word=$2
5455 echo "$as_me:$LINENO: checking for $ac_word" >&5
5456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5457 if test "${ac_cv_path_LIBWWW_CONFIG+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5460 case $LIBWWW_CONFIG in
5462 ac_cv_path_LIBWWW_CONFIG="$LIBWWW_CONFIG" # Let the user override the test with a path.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_path_LIBWWW_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5473 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 LIBWWW_CONFIG=$ac_cv_path_LIBWWW_CONFIG
5484 if test -n "$LIBWWW_CONFIG"; then
5485 echo "$as_me:$LINENO: result: $LIBWWW_CONFIG" >&5
5486 echo "${ECHO_T}$LIBWWW_CONFIG" >&6
5488 echo "$as_me:$LINENO: result: no" >&5
5489 echo "${ECHO_T}no" >&6
5492 test -n "$LIBWWW_CONFIG" && break
5494 test -n "$LIBWWW_CONFIG" || LIBWWW_CONFIG="no"
5496 if test "x$LIBWWW_CONFIG" = "xno"; then
5497 { { echo "$as_me:$LINENO: error: w3c-libwww not found; see './configure --help'" >&5
5498 echo "$as_me: error: w3c-libwww not found; see './configure --help'" >&2;}
5499 { (exit 1); exit 1; }; }
5502 echo "$as_me:$LINENO: checking for w3c-libwww version >= 5.2.8" >&5
5503 echo $ECHO_N "checking for w3c-libwww version >= 5.2.8... $ECHO_C" >&6
5504 W3VER=`$LIBWWW_CONFIG --version`
5506 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
5508 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
5510 `echo $W3VER|sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
5511 echo "$as_me:$LINENO: result: $LIBWWW_MAJOR.$LIBWWW_MINOR.$LIBWWW_MICRO" >&5
5512 echo "${ECHO_T}$LIBWWW_MAJOR.$LIBWWW_MINOR.$LIBWWW_MICRO" >&6
5514 LIBWWW_VERSION_OK=yes
5515 if test $LIBWWW_MAJOR -lt 5; then
5516 LIBWWW_VERSION_OK=no
5518 if test $LIBWWW_MAJOR -eq 5 -a $LIBWWW_MINOR -lt 2; then
5519 LIBWWW_VERSION_OK=no
5521 if test $LIBWWW_MAJOR -eq 5 -a $LIBWWW_MINOR -eq 2 \
5522 -a $LIBWWW_MICRO -lt 8; then
5523 LIBWWW_VERSION_OK=no
5527 if test "x$LIBWWW_VERSION_OK" = "xno"; then
5528 { { echo "$as_me:$LINENO: error: w3c-libwww version >= 5.2.8 required" >&5
5529 echo "$as_me: error: w3c-libwww version >= 5.2.8 required" >&2;}
5530 { (exit 1); exit 1; }; }
5533 LIBWWW_LDADD="`$LIBWWW_CONFIG --libs`"
5536 echo "$as_me:$LINENO: checking for libwww library directory" >&5
5537 echo $ECHO_N "checking for libwww library directory... $ECHO_C" >&6
5538 if $LIBWWW_CONFIG --rpath-dir > /dev/null 2>&1; then
5539 LIBWWW_LIBDIR="`$LIBWWW_CONFIG --rpath-dir`"
5541 LIBWWW_LIBDIR="`$LIBWWW_CONFIG --prefix`/lib"
5543 echo "$as_me:$LINENO: result: $LIBWWW_LIBDIR" >&5
5544 echo "${ECHO_T}$LIBWWW_LIBDIR" >&6
5547 # Some ancient rpath stuff, now disabled. I turned this off because it
5548 # breaks Debian (and Mandrake?) policy, and we don't use it anymore.
5549 # If you have multiple copies of w3c-libwww lying around, you can turn
5551 #LIBWWW_RPATH="-rpath $LIBWWW_LIBDIR"
5554 #LIBWWW_WL_RPATH="-Wl,--rpath -Wl,$LIBWWW_LIBDIR"
5558 fi # MUST_BUILD_LIBWWW_CLIENT
5562 if test $MUST_BUILD_CURL_CLIENT = yes; then
5564 for ac_prog in curl-xmlrpc-config curl-config
5566 # Extract the first word of "$ac_prog", so it can be a program name with args.
5567 set dummy $ac_prog; ac_word=$2
5568 echo "$as_me:$LINENO: checking for $ac_word" >&5
5569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5570 if test "${ac_cv_path_CURL_CONFIG+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 case $CURL_CONFIG in
5575 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path.
5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5582 test -z "$as_dir" && as_dir=.
5583 for ac_exec_ext in '' $ac_executable_extensions; do
5584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5585 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595 CURL_CONFIG=$ac_cv_path_CURL_CONFIG
5597 if test -n "$CURL_CONFIG"; then
5598 echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
5599 echo "${ECHO_T}$CURL_CONFIG" >&6
5601 echo "$as_me:$LINENO: result: no" >&5
5602 echo "${ECHO_T}no" >&6
5605 test -n "$CURL_CONFIG" && break
5607 test -n "$CURL_CONFIG" || CURL_CONFIG="no"
5609 if test "x$CURL_CONFIG" = "xno"; then
5610 { { echo "$as_me:$LINENO: error: cURL not found; see './configure --help'" >&5
5611 echo "$as_me: error: cURL not found; see './configure --help'" >&2;}
5612 { (exit 1); exit 1; }; }
5616 CURL_LDADD=`$CURL_CONFIG --libs`
5619 echo "$as_me:$LINENO: checking for curl library directory" >&5
5620 echo $ECHO_N "checking for curl library directory... $ECHO_C" >&6
5621 CURL_LIBDIR="`$CURL_CONFIG --prefix`/lib"
5623 echo "$as_me:$LINENO: result: $CURL_LIBDIR" >&5
5624 echo "${ECHO_T}$CURL_LIBDIR" >&6
5626 CURL_RPATH="-rpath $CURL_LIBDIR"
5628 CURL_WL_RPATH="-Wl,--rpath -Wl,$CURL_LIBDIR"
5631 fi # MUST_BUILD_CURL_CLIENT
5636 # Check whether --with-libwww-ssl or --without-libwww-ssl was given.
5637 if test "${with_libwww_ssl+set}" = set; then
5638 withval="$with_libwww_ssl"
5642 if test x"$enable_libwww_client" != xno; then
5643 echo "$as_me:$LINENO: checking whether to use SSL with libwww" >&5
5644 echo $ECHO_N "checking whether to use SSL with libwww... $ECHO_C" >&6
5645 if test x"$with_libwww_ssl" = xyes; then
5646 echo "$as_me:$LINENO: result: yes" >&5
5647 echo "${ECHO_T}yes" >&6
5648 HAVE_LIBWWW_SSL_DEFINE=1
5650 echo "$as_me:$LINENO: result: no" >&5
5651 echo "${ECHO_T}no" >&6
5652 HAVE_LIBWWW_SSL_DEFINE=0
5657 # Check whether --enable-libxml2-backend or --disable-libxml2-backend was given.
5658 if test "${enable_libxml2_backend+set}" = set; then
5659 enableval="$enable_libxml2_backend"
5662 enable_libxml2_backend=no
5664 echo "$as_me:$LINENO: checking whether to build the libxml2 backend" >&5
5665 echo $ECHO_N "checking whether to build the libxml2 backend... $ECHO_C" >&6
5666 echo "$as_me:$LINENO: result: $enable_libxml2_backend" >&5
5667 echo "${ECHO_T}$enable_libxml2_backend" >&6
5669 if test $enable_libxml2_backend = yes; then
5670 # Extract the first word of "xml2-config", so it can be a program name with args.
5671 set dummy xml2-config; ac_word=$2
5672 echo "$as_me:$LINENO: checking for $ac_word" >&5
5673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5674 if test "${ac_cv_prog_have_xml2_config+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 if test -n "$have_xml2_config"; then
5678 ac_cv_prog_have_xml2_config="$have_xml2_config" # Let the user override the test.
5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 test -z "$as_dir" && as_dir=.
5685 for ac_exec_ext in '' $ac_executable_extensions; do
5686 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5687 ac_cv_prog_have_xml2_config="yes"
5688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5694 test -z "$ac_cv_prog_have_xml2_config" && ac_cv_prog_have_xml2_config="no"
5697 have_xml2_config=$ac_cv_prog_have_xml2_config
5698 if test -n "$have_xml2_config"; then
5699 echo "$as_me:$LINENO: result: $have_xml2_config" >&5
5700 echo "${ECHO_T}$have_xml2_config" >&6
5702 echo "$as_me:$LINENO: result: no" >&5
5703 echo "${ECHO_T}no" >&6
5706 if test $have_xml2_config = no; then
5707 { { echo "$as_me:$LINENO: error: You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no working xml2-config inyour command search path), so we cannot not build for libxml2" >&5
5708 echo "$as_me: error: You specified --enable-libxml2_backend, but don't appear to have libxml2 installed (no working xml2-config inyour command search path), so we cannot not build for libxml2" >&2;}
5709 { (exit 1); exit 1; }; }
5712 ENABLE_LIBXML2_BACKEND=$enable_libxml2_backend
5715 C_COMPILER_GNU=$ac_cv_c_compiler_gnu
5717 CXX_COMPILER_GNU=$ac_cv_cxx_compiler_gnu
5729 # Check whether --enable-shared or --disable-shared was given.
5730 if test "${enable_shared+set}" = set; then
5731 enableval="$enable_shared"
5732 p=${PACKAGE-default}
5733 case "$enableval" in
5734 yes) enable_shared=yes ;;
5735 no) enable_shared=no ;;
5738 # Look at the argument we got. We use all the common list separators.
5739 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5740 for pkg in $enableval; do
5741 if test "X$pkg" = "X$p"; then
5751 # Check whether --enable-static or --disable-static was given.
5752 if test "${enable_static+set}" = set; then
5753 enableval="$enable_static"
5754 p=${PACKAGE-default}
5755 case "$enableval" in
5756 yes) enable_static=yes ;;
5757 no) enable_static=no ;;
5760 # Look at the argument we got. We use all the common list separators.
5761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5762 for pkg in $enableval; do
5763 if test "X$pkg" = "X$p"; then
5773 # Check whether --enable-fast-install or --disable-fast-install was given.
5774 if test "${enable_fast_install+set}" = set; then
5775 enableval="$enable_fast_install"
5776 p=${PACKAGE-default}
5777 case "$enableval" in
5778 yes) enable_fast_install=yes ;;
5779 no) enable_fast_install=no ;;
5781 enable_fast_install=no
5782 # Look at the argument we got. We use all the common list separators.
5783 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
5784 for pkg in $enableval; do
5785 if test "X$pkg" = "X$p"; then
5786 enable_fast_install=yes
5793 enable_fast_install=yes
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5798 echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5800 if test "${ac_cv_prog_RANLIB+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 if test -n "$RANLIB"; then
5804 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824 echo "$as_me:$LINENO: result: $RANLIB" >&5
5825 echo "${ECHO_T}$RANLIB" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5864 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5870 RANLIB=$ac_ct_RANLIB
5872 RANLIB="$ac_cv_prog_RANLIB"
5876 # Check whether --with-gnu-ld or --without-gnu-ld was given.
5877 if test "${with_gnu_ld+set}" = set; then
5878 withval="$with_gnu_ld"
5879 test "$withval" = no || with_gnu_ld=yes
5884 if test "$ac_cv_c_compiler_gnu" = yes; then
5885 # Check if gcc -print-prog-name=ld gives a path.
5886 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
5887 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
5888 ac_prog=`($CC -print-prog-name=ld) 2>&5`
5890 # Accept absolute paths.
5891 [\\/]* | [A-Za-z]:[\\/]*)
5892 re_direlt='/[^/][^/]*/\.\./'
5893 # Canonicalize the path of ld
5894 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
5895 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
5896 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
5898 test -z "$LD" && LD="$ac_prog"
5901 # If it fails, then pretend we aren't using GCC.
5905 # If it is relative, then search for the first ld in PATH.
5909 elif test "$with_gnu_ld" = yes; then
5910 echo "$as_me:$LINENO: checking for GNU ld" >&5
5911 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
5913 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5914 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
5916 if test "${ac_cv_path_LD+set}" = set; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6
5919 if test -z "$LD"; then
5920 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5921 for ac_dir in $PATH; do
5922 test -z "$ac_dir" && ac_dir=.
5923 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5924 ac_cv_path_LD="$ac_dir/$ac_prog"
5925 # Check to see if the program is GNU ld. I'd rather use --version,
5926 # but apparently some GNU ld's only accept -v.
5927 # Break only if it was the GNU/non-GNU ld that we prefer.
5928 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
5929 test "$with_gnu_ld" != no && break
5931 test "$with_gnu_ld" != yes && break
5937 ac_cv_path_LD="$LD" # Let the user override the test with a path.
5942 if test -n "$LD"; then
5943 echo "$as_me:$LINENO: result: $LD" >&5
5944 echo "${ECHO_T}$LD" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5949 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5950 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5951 { (exit 1); exit 1; }; }
5952 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5953 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
5954 if test "${ac_cv_prog_gnu_ld+set}" = set; then
5955 echo $ECHO_N "(cached) $ECHO_C" >&6
5957 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
5958 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
5959 ac_cv_prog_gnu_ld=yes
5961 ac_cv_prog_gnu_ld=no
5964 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5
5965 echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
5968 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
5969 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
5970 if test "${ac_cv_path_NM+set}" = set; then
5971 echo $ECHO_N "(cached) $ECHO_C" >&6
5973 if test -n "$NM"; then
5974 # Let the user override the test.
5977 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
5978 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
5979 test -z "$ac_dir" && ac_dir=.
5980 if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
5981 # Check to see if the nm accepts a BSD-compat flag.
5982 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5983 # nm: unknown option "B" ignored
5984 if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5985 ac_cv_path_NM="$ac_dir/nm -B"
5987 elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
5988 ac_cv_path_NM="$ac_dir/nm -p"
5991 ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
5992 continue # so that we can try to find one that supports BSD flags
5997 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
6002 echo "$as_me:$LINENO: result: $NM" >&5
6003 echo "${ECHO_T}$NM" >&6
6005 echo "$as_me:$LINENO: checking whether ln -s works" >&5
6006 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
6008 if test "$LN_S" = "ln -s"; then
6009 echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6
6012 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6013 echo "${ECHO_T}no, using $LN_S" >&6
6018 NONE) lt_target="$host" ;;
6019 *) lt_target="$target" ;;
6022 # Check for any special flags to pass to ltconfig.
6024 # the following will cause an existing older ltconfig to fail, so
6025 # we ignore this at the expense of the cache file... Checking this
6026 # will just take longer ... bummer!
6027 #libtool_flags="--cache-file=$cache_file"
6029 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
6030 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
6031 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
6032 test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
6033 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
6036 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6037 if test "${enable_libtool_lock+set}" = set; then
6038 enableval="$enable_libtool_lock"
6041 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
6042 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
6044 # Some flags need to be propagated to the compiler or linker for good
6046 case "$lt_target" in
6048 # Find out which ABI we are using.
6049 echo '#line 6049 "configure"' > conftest.$ac_ext
6050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6051 (eval $ac_compile) 2>&5
6053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054 (exit $ac_status); }; then
6055 case "`/usr/bin/file conftest.o`" in
6071 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6072 SAVE_CFLAGS="$CFLAGS"
6073 CFLAGS="$CFLAGS -belf"
6074 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6075 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
6076 if test "${lt_cv_cc_needs_belf+set}" = set; then
6077 echo $ECHO_N "(cached) $ECHO_C" >&6
6079 cat >conftest.$ac_ext <<_ACEOF
6082 cat confdefs.h >>conftest.$ac_ext
6083 cat >>conftest.$ac_ext <<_ACEOF
6084 /* end confdefs.h. */
6094 rm -f conftest.$ac_objext conftest$ac_exeext
6095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6096 (eval $ac_link) 2>conftest.er1
6098 grep -v '^ *+' conftest.er1 >conftest.err
6100 cat conftest.err >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } &&
6103 { ac_try='test -z "$ac_c_werror_flag"
6104 || test ! -s conftest.err'
6105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6109 (exit $ac_status); }; } &&
6110 { ac_try='test -s conftest$ac_exeext'
6111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6115 (exit $ac_status); }; }; then
6116 lt_cv_cc_needs_belf=yes
6118 echo "$as_me: failed program was:" >&5
6119 sed 's/^/| /' conftest.$ac_ext >&5
6121 lt_cv_cc_needs_belf=no
6123 rm -f conftest.err conftest.$ac_objext \
6124 conftest$ac_exeext conftest.$ac_ext
6126 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6127 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
6128 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6129 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6130 CFLAGS="$SAVE_CFLAGS"
6138 # Save cache, so that ltconfig can load it
6139 cat >confcache <<\_ACEOF
6140 # This file is a shell script that caches the results of configure
6141 # tests run on this system so they can be shared between configure
6142 # scripts and configure runs, see configure's option --config-cache.
6143 # It is not useful on other systems. If it contains results you don't
6144 # want to keep, you may remove or edit it.
6146 # config.status only pays attention to the cache file if you give it
6147 # the --recheck option to rerun configure.
6149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6155 # The following way of writing the cache mishandles newlines in values,
6156 # but we know of no workaround that is simple, portable, and efficient.
6157 # So, don't put newlines in cache variables' values.
6158 # Ultrix sh set writes to stderr and can't be redirected directly,
6159 # and sets the high bit in the cache file unless we assign to the vars.
6162 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6164 # `set' does not quote correctly, so add quotes (double-quote
6165 # substitution turns \\\\ into \\, and sed turns \\ into \).
6168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6171 # `set' quotes correctly as required by POSIX, so do not add quotes.
6173 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6180 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6182 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6184 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6185 if test -w $cache_file; then
6186 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6187 cat confcache >$cache_file
6189 echo "not updating unwritable cache $cache_file"
6194 # Actually configure libtool. ac_aux_dir is where install-sh is found.
6195 CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
6196 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
6197 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
6198 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
6199 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
6200 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
6201 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
6202 echo "$as_me: error: libtool configure failed" >&2;}
6203 { (exit 1); exit 1; }; }
6205 # Reload cache, that may have been modified by ltconfig
6206 if test -r "$cache_file"; then
6207 # Some versions of bash will fail to source /dev/null (special
6208 # files actually), so we avoid doing that.
6209 if test -f "$cache_file"; then
6210 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
6211 echo "$as_me: loading cache $cache_file" >&6;}
6213 [\\/]* | ?:[\\/]* ) . $cache_file;;
6214 *) . ./$cache_file;;
6218 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
6219 echo "$as_me: creating cache $cache_file" >&6;}
6224 # This can be used to rebuild libtool when needed
6225 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
6227 # Always use our own libtool.
6228 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6230 # Redirect the config.log output again, so that the ltconfig log is not
6231 # clobbered by the next message.
6232 exec 5>>./config.log
6238 ac_config_files="$ac_config_files xmlrpc-c-config xmlrpc-c-config.test Makefile.config xmlrpc_config.h"
6239 cat >confcache <<\_ACEOF
6240 # This file is a shell script that caches the results of configure
6241 # tests run on this system so they can be shared between configure
6242 # scripts and configure runs, see configure's option --config-cache.
6243 # It is not useful on other systems. If it contains results you don't
6244 # want to keep, you may remove or edit it.
6246 # config.status only pays attention to the cache file if you give it
6247 # the --recheck option to rerun configure.
6249 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6250 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6255 # The following way of writing the cache mishandles newlines in values,
6256 # but we know of no workaround that is simple, portable, and efficient.
6257 # So, don't put newlines in cache variables' values.
6258 # Ultrix sh set writes to stderr and can't be redirected directly,
6259 # and sets the high bit in the cache file unless we assign to the vars.
6262 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6264 # `set' does not quote correctly, so add quotes (double-quote
6265 # substitution turns \\\\ into \\, and sed turns \\ into \).
6268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6271 # `set' quotes correctly as required by POSIX, so do not add quotes.
6273 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6282 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6284 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6285 if test -w $cache_file; then
6286 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6287 cat confcache >$cache_file
6289 echo "not updating unwritable cache $cache_file"
6294 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6295 # Let make expand exec_prefix.
6296 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6298 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6299 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6300 # trailing colons and then remove the whole line if VPATH becomes empty
6301 # (actually we leave an empty line to preserve line numbers).
6302 if test "x$srcdir" = x.; then
6303 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6304 s/:*\$(srcdir):*/:/;
6305 s/:*\${srcdir}:*/:/;
6307 s/^\([^=]*=[ ]*\):*/\1/;
6313 DEFS=-DHAVE_CONFIG_H
6317 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6318 # 1. Remove the extension, and $U if already installed.
6319 ac_i=`echo "$ac_i" |
6320 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6322 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6323 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6327 LTLIBOBJS=$ac_ltlibobjs
6331 : ${CONFIG_STATUS=./config.status}
6332 ac_clean_files_save=$ac_clean_files
6333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6334 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6335 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6336 cat >$CONFIG_STATUS <<_ACEOF
6338 # Generated by $as_me.
6339 # Run this file to recreate the current configuration.
6340 # Compiler output produced by configure, useful for debugging
6341 # configure, is in config.log if it exists.
6346 SHELL=\${CONFIG_SHELL-$SHELL}
6349 cat >>$CONFIG_STATUS <<\_ACEOF
6350 ## --------------------- ##
6351 ## M4sh Initialization. ##
6352 ## --------------------- ##
6354 # Be Bourne compatible
6355 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6358 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6359 # is contrary to our usage. Disable this feature.
6360 alias -g '${1+"$@"}'='"$@"'
6361 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6364 DUALCASE=1; export DUALCASE # for MKS sh
6366 # Support unset when possible.
6367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6374 # Work around bugs in pre-3.0 UWIN ksh.
6375 $as_unset ENV MAIL MAILPATH
6382 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6383 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6384 LC_TELEPHONE LC_TIME
6386 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6387 eval $as_var=C; export $as_var
6393 # Required to use basename.
6394 if expr a : '\(a\)' >/dev/null 2>&1; then
6400 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6401 as_basename=basename
6407 # Name of the executable.
6408 as_me=`$as_basename "$0" ||
6409 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6410 X"$0" : 'X\(//\)$' \| \
6411 X"$0" : 'X\(/\)$' \| \
6412 . : '\(.\)' 2>/dev/null ||
6414 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6415 /^X\/\(\/\/\)$/{ s//\1/; q; }
6416 /^X\/\(\/\).*/{ s//\1/; q; }
6420 # PATH needs CR, and LINENO needs CR and PATH.
6421 # Avoid depending upon Character Ranges.
6422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6425 as_cr_digits='0123456789'
6426 as_cr_alnum=$as_cr_Letters$as_cr_digits
6428 # The user is always right.
6429 if test "${PATH_SEPARATOR+set}" != set; then
6430 echo "#! /bin/sh" >conf$$.sh
6431 echo "exit 0" >>conf$$.sh
6433 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6444 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6445 test "x$as_lineno_1" != "x$as_lineno_2" &&
6446 test "x$as_lineno_3" = "x$as_lineno_2" || {
6447 # Find who we are. Look in the path if we contain no path at all
6450 *[\\/]* ) as_myself=$0 ;;
6451 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6455 test -z "$as_dir" && as_dir=.
6456 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6461 # We did not find ourselves, most probably we were run as `sh COMMAND'
6462 # in which case we are not to be found in the path.
6463 if test "x$as_myself" = x; then
6466 if test ! -f "$as_myself"; then
6467 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6468 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6469 { (exit 1); exit 1; }; }
6471 case $CONFIG_SHELL in
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6477 test -z "$as_dir" && as_dir=.
6478 for as_base in sh bash ksh sh5; do
6481 if ("$as_dir/$as_base" -c '
6484 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6485 test "x$as_lineno_1" != "x$as_lineno_2" &&
6486 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6487 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6488 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6489 CONFIG_SHELL=$as_dir/$as_base
6491 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6499 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6500 # uniformly replaced by the line number. The first 'sed' inserts a
6501 # line-number line before each line; the second 'sed' does the real
6502 # work. The second script uses 'N' to pair each line-number line
6503 # with the numbered line, and appends trailing '-' during
6504 # substitution so that $LINENO is not a special case at line end.
6505 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6506 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6507 sed '=' <$as_myself |
6512 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6515 s,^['$as_cr_digits']*\n,,
6517 chmod +x $as_me.lineno ||
6518 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6519 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6520 { (exit 1); exit 1; }; }
6522 # Don't try to exec as it changes $[0], causing all sort of problems
6523 # (the dirname of $[0] is not the place where we might find the
6524 # original and so on. Autoconf is especially sensible to this).
6526 # Exit status is that of the last command.
6531 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6532 *c*,-n*) ECHO_N= ECHO_C='
6534 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6535 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6538 if expr a : '\(a\)' >/dev/null 2>&1; then
6544 rm -f conf$$ conf$$.exe conf$$.file
6546 if ln -s conf$$.file conf$$ 2>/dev/null; then
6547 # We could just check for DJGPP; but this test a) works b) is more generic
6548 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6549 if test -f conf$$.exe; then
6550 # Don't use ln at all; we don't have any links
6555 elif ln conf$$.file conf$$ 2>/dev/null; then
6560 rm -f conf$$ conf$$.exe conf$$.file
6562 if mkdir -p . 2>/dev/null; then
6565 test -d ./-p && rmdir ./-p
6569 as_executable_p="test -f"
6571 # Sed expression to map a string onto a valid CPP name.
6572 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6574 # Sed expression to map a string onto a valid variable name.
6575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6579 # We need space, tab and new line, in precisely that order.
6589 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6590 # report actual input values of CONFIG_FILES etc. instead of their
6591 # values after options handling. Logging --version etc. is OK.
6595 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6596 ## Running $as_me. ##
6601 This file was extended by $as_me, which was
6602 generated by GNU Autoconf 2.59. Invocation command line was
6604 CONFIG_FILES = $CONFIG_FILES
6605 CONFIG_HEADERS = $CONFIG_HEADERS
6606 CONFIG_LINKS = $CONFIG_LINKS
6607 CONFIG_COMMANDS = $CONFIG_COMMANDS
6611 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6615 # Files that config.status was made for.
6616 if test -n "$ac_config_files"; then
6617 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6620 if test -n "$ac_config_headers"; then
6621 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6624 if test -n "$ac_config_links"; then
6625 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6628 if test -n "$ac_config_commands"; then
6629 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6632 cat >>$CONFIG_STATUS <<\_ACEOF
6635 \`$as_me' instantiates files from templates according to the
6636 current configuration.
6638 Usage: $0 [OPTIONS] [FILE]...
6640 -h, --help print this help, then exit
6641 -V, --version print version number, then exit
6642 -q, --quiet do not print progress messages
6643 -d, --debug don't remove temporary files
6644 --recheck update $as_me by reconfiguring in the same conditions
6645 --file=FILE[:TEMPLATE]
6646 instantiate the configuration file FILE
6647 --header=FILE[:TEMPLATE]
6648 instantiate the configuration header FILE
6650 Configuration files:
6653 Configuration headers:
6656 Configuration commands:
6659 Report bugs to <bug-autoconf@gnu.org>."
6662 cat >>$CONFIG_STATUS <<_ACEOF
6665 configured by $0, generated by GNU Autoconf 2.59,
6666 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6668 Copyright (C) 2003 Free Software Foundation, Inc.
6669 This config.status script is free software; the Free Software Foundation
6670 gives unlimited permission to copy, distribute and modify it."
6675 cat >>$CONFIG_STATUS <<\_ACEOF
6676 # If no file are specified by the user, then we need to provide default
6677 # value. By we need to know if files were specified by the user.
6683 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6684 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6692 *) # This is not an option, so the user has probably given explicit
6695 ac_need_defaults=false;;
6699 # Handling of the options.
6701 cat >>$CONFIG_STATUS <<\_ACEOF
6702 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6704 --version | --vers* | -V )
6705 echo "$ac_cs_version"; exit 0 ;;
6707 # Conflict between --help and --header
6708 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6709 Try \`$0 --help' for more information." >&5
6710 echo "$as_me: error: ambiguous option: $1
6711 Try \`$0 --help' for more information." >&2;}
6712 { (exit 1); exit 1; }; };;
6713 --help | --hel | -h )
6714 echo "$ac_cs_usage"; exit 0 ;;
6715 --debug | --d* | -d )
6717 --file | --fil | --fi | --f )
6719 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6720 ac_need_defaults=false;;
6721 --header | --heade | --head | --hea )
6723 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6724 ac_need_defaults=false;;
6725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6726 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6730 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6731 Try \`$0 --help' for more information." >&5
6732 echo "$as_me: error: unrecognized option: $1
6733 Try \`$0 --help' for more information." >&2;}
6734 { (exit 1); exit 1; }; } ;;
6736 *) ac_config_targets="$ac_config_targets $1" ;;
6742 ac_configure_extra_args=
6744 if $ac_cs_silent; then
6746 ac_configure_extra_args="$ac_configure_extra_args --silent"
6750 cat >>$CONFIG_STATUS <<_ACEOF
6751 if \$ac_cs_recheck; then
6752 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6753 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6758 cat >>$CONFIG_STATUS <<_ACEOF
6760 # INIT-COMMANDS section.
6769 cat >>$CONFIG_STATUS <<\_ACEOF
6770 for ac_config_target in $ac_config_targets
6772 case "$ac_config_target" in
6773 # Handling of arguments.
6774 "xmlrpc-c-config" ) CONFIG_FILES="$CONFIG_FILES xmlrpc-c-config" ;;
6775 "xmlrpc-c-config.test" ) CONFIG_FILES="$CONFIG_FILES xmlrpc-c-config.test" ;;
6776 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
6777 "xmlrpc_config.h" ) CONFIG_FILES="$CONFIG_FILES xmlrpc_config.h" ;;
6778 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
6779 "xmlrpc_amconfig.h" ) CONFIG_HEADERS="$CONFIG_HEADERS xmlrpc_amconfig.h" ;;
6780 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6781 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6782 { (exit 1); exit 1; }; };;
6786 # If the user did not use the arguments to specify the items to instantiate,
6787 # then the envvar interface is used. Set only those that are not.
6788 # We use the long form for the default assignment because of an extremely
6789 # bizarre bug on SunOS 4.1.3.
6790 if $ac_need_defaults; then
6791 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6792 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6793 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6796 # Have a temporary directory for convenience. Make it in the build tree
6797 # simply because there is no reason to put it here, and in addition,
6798 # creating and moving files from /tmp can sometimes cause problems.
6799 # Create a temporary directory, and hook for its removal unless debugging.
6802 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6803 trap '{ (exit 1); exit 1; }' 1 2 13 15
6806 # Create a (secure) tmp directory for tmp files.
6809 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6810 test -n "$tmp" && test -d "$tmp"
6813 tmp=./confstat$$-$RANDOM
6814 (umask 077 && mkdir $tmp)
6817 echo "$me: cannot create a temporary directory in ." >&2
6818 { (exit 1); exit 1; }
6823 cat >>$CONFIG_STATUS <<_ACEOF
6826 # CONFIG_FILES section.
6829 # No need to generate the scripts if there are no CONFIG_FILES.
6830 # This happens for instance when ./config.status config.h
6831 if test -n "\$CONFIG_FILES"; then
6832 # Protect against being on the right side of a sed subst in config.status.
6833 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6834 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6835 s,@SHELL@,$SHELL,;t t
6836 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6837 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6838 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6839 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6840 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6841 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6842 s,@exec_prefix@,$exec_prefix,;t t
6843 s,@prefix@,$prefix,;t t
6844 s,@program_transform_name@,$program_transform_name,;t t
6845 s,@bindir@,$bindir,;t t
6846 s,@sbindir@,$sbindir,;t t
6847 s,@libexecdir@,$libexecdir,;t t
6848 s,@datadir@,$datadir,;t t
6849 s,@sysconfdir@,$sysconfdir,;t t
6850 s,@sharedstatedir@,$sharedstatedir,;t t
6851 s,@localstatedir@,$localstatedir,;t t
6852 s,@libdir@,$libdir,;t t
6853 s,@includedir@,$includedir,;t t
6854 s,@oldincludedir@,$oldincludedir,;t t
6855 s,@infodir@,$infodir,;t t
6856 s,@mandir@,$mandir,;t t
6857 s,@build_alias@,$build_alias,;t t
6858 s,@host_alias@,$host_alias,;t t
6859 s,@target_alias@,$target_alias,;t t
6861 s,@ECHO_C@,$ECHO_C,;t t
6862 s,@ECHO_N@,$ECHO_N,;t t
6863 s,@ECHO_T@,$ECHO_T,;t t
6865 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6866 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6867 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6868 s,@PACKAGE@,$PACKAGE,;t t
6869 s,@VERSION@,$VERSION,;t t
6870 s,@ACLOCAL@,$ACLOCAL,;t t
6871 s,@AUTOCONF@,$AUTOCONF,;t t
6872 s,@AUTOMAKE@,$AUTOMAKE,;t t
6873 s,@AUTOHEADER@,$AUTOHEADER,;t t
6874 s,@MAKEINFO@,$MAKEINFO,;t t
6875 s,@SET_MAKE@,$SET_MAKE,;t t
6876 s,@VERSION_INFO@,$VERSION_INFO,;t t
6877 s,@build@,$build,;t t
6878 s,@build_cpu@,$build_cpu,;t t
6879 s,@build_vendor@,$build_vendor,;t t
6880 s,@build_os@,$build_os,;t t
6882 s,@host_cpu@,$host_cpu,;t t
6883 s,@host_vendor@,$host_vendor,;t t
6884 s,@host_os@,$host_os,;t t
6885 s,@have_wininet_config@,$have_wininet_config,;t t
6886 s,@MUST_BUILD_WININET_CLIENT@,$MUST_BUILD_WININET_CLIENT,;t t
6887 s,@have_curl_config@,$have_curl_config,;t t
6888 s,@MUST_BUILD_CURL_CLIENT@,$MUST_BUILD_CURL_CLIENT,;t t
6889 s,@have_libwww_config@,$have_libwww_config,;t t
6890 s,@MUST_BUILD_LIBWWW_CLIENT@,$MUST_BUILD_LIBWWW_CLIENT,;t t
6891 s,@LIBXMLRPC_CLIENT_LA@,$LIBXMLRPC_CLIENT_LA,;t t
6892 s,@CLIENTTEST@,$CLIENTTEST,;t t
6893 s,@XMLRPC_CLIENT_H@,$XMLRPC_CLIENT_H,;t t
6894 s,@XMLRPC_TRANSPORT_H@,$XMLRPC_TRANSPORT_H,;t t
6895 s,@SYNCH_CLIENT@,$SYNCH_CLIENT,;t t
6896 s,@ASYNCH_CLIENT@,$ASYNCH_CLIENT,;t t
6897 s,@AUTH_CLIENT@,$AUTH_CLIENT,;t t
6898 s,@QUERY_MEERKAT@,$QUERY_MEERKAT,;t t
6899 s,@ENABLE_ABYSS_SERVER@,$ENABLE_ABYSS_SERVER,;t t
6900 s,@ABYSS_SUBDIR@,$ABYSS_SUBDIR,;t t
6901 s,@LIBXMLRPC_ABYSS_SERVER_LA@,$LIBXMLRPC_ABYSS_SERVER_LA,;t t
6902 s,@SERVERTEST@,$SERVERTEST,;t t
6903 s,@VALIDATEE@,$VALIDATEE,;t t
6904 s,@XMLRPC_ABYSS_H@,$XMLRPC_ABYSS_H,;t t
6905 s,@SERVER@,$SERVER,;t t
6906 s,@ENABLE_CGI_SERVER@,$ENABLE_CGI_SERVER,;t t
6907 s,@ENABLE_CPLUSPLUS@,$ENABLE_CPLUSPLUS,;t t
6908 s,@LIBXMLRPC_CPP_A@,$LIBXMLRPC_CPP_A,;t t
6909 s,@CPPTEST@,$CPPTEST,;t t
6910 s,@XMLRPCCPP_H@,$XMLRPCCPP_H,;t t
6911 s,@XML_RPC_API2CPP_SUBDIR@,$XML_RPC_API2CPP_SUBDIR,;t t
6912 s,@FEATURE_LIST@,$FEATURE_LIST,;t t
6914 s,@CFLAGS@,$CFLAGS,;t t
6915 s,@LDFLAGS@,$LDFLAGS,;t t
6916 s,@CPPFLAGS@,$CPPFLAGS,;t t
6917 s,@ac_ct_CC@,$ac_ct_CC,;t t
6918 s,@EXEEXT@,$EXEEXT,;t t
6919 s,@OBJEXT@,$OBJEXT,;t t
6921 s,@CXXFLAGS@,$CXXFLAGS,;t t
6922 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
6923 s,@LSOCKET@,$LSOCKET,;t t
6925 s,@EGREP@,$EGREP,;t t
6926 s,@HAVE_WCHAR_H_DEFINE@,$HAVE_WCHAR_H_DEFINE,;t t
6927 s,@HAVE_SYS_FILIO_H_DEFINE@,$HAVE_SYS_FILIO_H_DEFINE,;t t
6928 s,@HAVE_SYS_IOCTL_H_DEFINE@,$HAVE_SYS_IOCTL_H_DEFINE,;t t
6929 s,@VA_LIST_IS_ARRAY_DEFINE@,$VA_LIST_IS_ARRAY_DEFINE,;t t
6930 s,@ATTR_UNUSED@,$ATTR_UNUSED,;t t
6931 s,@DIRECTORY_SEPARATOR@,$DIRECTORY_SEPARATOR,;t t
6932 s,@ENABLE_ABYSS_THREADS@,$ENABLE_ABYSS_THREADS,;t t
6933 s,@WININET_CONFIG@,$WININET_CONFIG,;t t
6934 s,@WININET_CFLAGS@,$WININET_CFLAGS,;t t
6935 s,@WININET_LDADD@,$WININET_LDADD,;t t
6936 s,@WININET_LIBDIR@,$WININET_LIBDIR,;t t
6937 s,@WININET_RPATH@,$WININET_RPATH,;t t
6938 s,@WININET_WL_RPATH@,$WININET_WL_RPATH,;t t
6939 s,@LIBWWW_CONFIG@,$LIBWWW_CONFIG,;t t
6940 s,@LIBWWW_LDADD@,$LIBWWW_LDADD,;t t
6941 s,@LIBWWW_LIBDIR@,$LIBWWW_LIBDIR,;t t
6942 s,@LIBWWW_RPATH@,$LIBWWW_RPATH,;t t
6943 s,@LIBWWW_WL_RPATH@,$LIBWWW_WL_RPATH,;t t
6944 s,@CURL_CONFIG@,$CURL_CONFIG,;t t
6945 s,@CURL_LDADD@,$CURL_LDADD,;t t
6946 s,@CURL_LIBDIR@,$CURL_LIBDIR,;t t
6947 s,@CURL_RPATH@,$CURL_RPATH,;t t
6948 s,@CURL_WL_RPATH@,$CURL_WL_RPATH,;t t
6949 s,@HAVE_LIBWWW_SSL_DEFINE@,$HAVE_LIBWWW_SSL_DEFINE,;t t
6950 s,@have_xml2_config@,$have_xml2_config,;t t
6951 s,@ENABLE_LIBXML2_BACKEND@,$ENABLE_LIBXML2_BACKEND,;t t
6952 s,@C_COMPILER_GNU@,$C_COMPILER_GNU,;t t
6953 s,@CXX_COMPILER_GNU@,$CXX_COMPILER_GNU,;t t
6954 s,@CC_WARN_FLAGS@,$CC_WARN_FLAGS,;t t
6955 s,@CPP_WARN_FLAGS@,$CPP_WARN_FLAGS,;t t
6956 s,@BUILDDIR@,$BUILDDIR,;t t
6957 s,@RANLIB@,$RANLIB,;t t
6958 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6960 s,@LIBTOOL@,$LIBTOOL,;t t
6961 s,@LIBOBJS@,$LIBOBJS,;t t
6962 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6967 cat >>$CONFIG_STATUS <<\_ACEOF
6968 # Split the substitutions into bite-sized pieces for seds with
6969 # small command number limits, like on Digital OSF/1 and HP-UX.
6971 ac_sed_frag=1 # Number of current file.
6972 ac_beg=1 # First line for current file.
6973 ac_end=$ac_max_sed_lines # Line after last line for current file.
6976 while $ac_more_lines; do
6977 if test $ac_beg -gt 1; then
6978 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6980 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6982 if test ! -s $tmp/subs.frag; then
6985 # The purpose of the label and of the branching condition is to
6986 # speed up the sed processing (if there are no `@' at all, there
6987 # is no need to browse any of the substitutions).
6988 # These are the two extra sed commands mentioned above.
6990 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6991 if test -z "$ac_sed_cmds"; then
6992 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6994 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6996 ac_sed_frag=`expr $ac_sed_frag + 1`
6998 ac_end=`expr $ac_end + $ac_max_sed_lines`
7001 if test -z "$ac_sed_cmds"; then
7004 fi # test -n "$CONFIG_FILES"
7007 cat >>$CONFIG_STATUS <<\_ACEOF
7008 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7009 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7011 - | *:- | *:-:* ) # input from stdin
7013 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7014 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7015 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7016 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7017 * ) ac_file_in=$ac_file.in ;;
7020 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7021 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7022 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7023 X"$ac_file" : 'X\(//\)[^/]' \| \
7024 X"$ac_file" : 'X\(//\)$' \| \
7025 X"$ac_file" : 'X\(/\)' \| \
7026 . : '\(.\)' 2>/dev/null ||
7028 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7029 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7030 /^X\(\/\/\)$/{ s//\1/; q; }
7031 /^X\(\/\).*/{ s//\1/; q; }
7033 { if $as_mkdir_p; then
7038 while test ! -d "$as_dir"; do
7039 as_dirs="$as_dir $as_dirs"
7040 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7041 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7042 X"$as_dir" : 'X\(//\)[^/]' \| \
7043 X"$as_dir" : 'X\(//\)$' \| \
7044 X"$as_dir" : 'X\(/\)' \| \
7045 . : '\(.\)' 2>/dev/null ||
7047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7048 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7049 /^X\(\/\/\)$/{ s//\1/; q; }
7050 /^X\(\/\).*/{ s//\1/; q; }
7053 test ! -n "$as_dirs" || mkdir $as_dirs
7054 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7055 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7056 { (exit 1); exit 1; }; }; }
7060 if test "$ac_dir" != .; then
7061 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7062 # A "../" for each directory in $ac_dir_suffix.
7063 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7065 ac_dir_suffix= ac_top_builddir=
7069 .) # No --srcdir option. We are building in place.
7071 if test -z "$ac_top_builddir"; then
7074 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7076 [\\/]* | ?:[\\/]* ) # Absolute path.
7077 ac_srcdir=$srcdir$ac_dir_suffix;
7078 ac_top_srcdir=$srcdir ;;
7080 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7081 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7084 # Do not use `cd foo && pwd` to compute absolute paths, because
7085 # the directories may not exist.
7087 .) ac_abs_builddir="$ac_dir";;
7090 .) ac_abs_builddir=`pwd`;;
7091 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7092 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7095 case $ac_abs_builddir in
7096 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7098 case ${ac_top_builddir}. in
7099 .) ac_abs_top_builddir=$ac_abs_builddir;;
7100 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7101 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7104 case $ac_abs_builddir in
7105 .) ac_abs_srcdir=$ac_srcdir;;
7108 .) ac_abs_srcdir=$ac_abs_builddir;;
7109 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7110 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7113 case $ac_abs_builddir in
7114 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7116 case $ac_top_srcdir in
7117 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7118 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7119 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7125 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7126 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7129 if test x"$ac_file" != x-; then
7130 { echo "$as_me:$LINENO: creating $ac_file" >&5
7131 echo "$as_me: creating $ac_file" >&6;}
7134 # Let's still pretend it is `configure' which instantiates (i.e., don't
7135 # use $as_me), people would be surprised to read:
7136 # /* config.h. Generated by config.status. */
7137 if test x"$ac_file" = x-; then
7140 configure_input="$ac_file. "
7142 configure_input=$configure_input"Generated from `echo $ac_file_in |
7143 sed 's,.*/,,'` by configure."
7145 # First look for the input files in the build tree, otherwise in the
7147 ac_file_inputs=`IFS=:
7148 for f in $ac_file_in; do
7150 -) echo $tmp/stdin ;;
7152 # Absolute (can't be DOS-style, as IFS=:)
7153 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7154 echo "$as_me: error: cannot find input file: $f" >&2;}
7155 { (exit 1); exit 1; }; }
7158 if test -f "$f"; then
7161 elif test -f "$srcdir/$f"; then
7166 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7167 echo "$as_me: error: cannot find input file: $f" >&2;}
7168 { (exit 1); exit 1; }; }
7171 done` || { (exit 1); exit 1; }
7173 cat >>$CONFIG_STATUS <<_ACEOF
7177 cat >>$CONFIG_STATUS <<\_ACEOF
7179 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7180 s,@configure_input@,$configure_input,;t t
7181 s,@srcdir@,$ac_srcdir,;t t
7182 s,@abs_srcdir@,$ac_abs_srcdir,;t t
7183 s,@top_srcdir@,$ac_top_srcdir,;t t
7184 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7185 s,@builddir@,$ac_builddir,;t t
7186 s,@abs_builddir@,$ac_abs_builddir,;t t
7187 s,@top_builddir@,$ac_top_builddir,;t t
7188 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7189 s,@INSTALL@,$ac_INSTALL,;t t
7190 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7192 if test x"$ac_file" != x-; then
7193 mv $tmp/out $ac_file
7201 cat >>$CONFIG_STATUS <<\_ACEOF
7204 # CONFIG_HEADER section.
7207 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7208 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7210 # ac_d sets the value in "#define NAME VALUE" lines.
7211 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7212 ac_dB='[ ].*$,\1#\2'
7215 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7216 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7217 ac_uB='$,\1#\2define\3'
7221 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7222 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7224 - | *:- | *:-:* ) # input from stdin
7226 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7227 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7228 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7230 * ) ac_file_in=$ac_file.in ;;
7233 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7234 echo "$as_me: creating $ac_file" >&6;}
7236 # First look for the input files in the build tree, otherwise in the
7238 ac_file_inputs=`IFS=:
7239 for f in $ac_file_in; do
7241 -) echo $tmp/stdin ;;
7243 # Absolute (can't be DOS-style, as IFS=:)
7244 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7245 echo "$as_me: error: cannot find input file: $f" >&2;}
7246 { (exit 1); exit 1; }; }
7247 # Do quote $f, to prevent DOS paths from being IFS'd.
7250 if test -f "$f"; then
7253 elif test -f "$srcdir/$f"; then
7258 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7259 echo "$as_me: error: cannot find input file: $f" >&2;}
7260 { (exit 1); exit 1; }; }
7263 done` || { (exit 1); exit 1; }
7264 # Remove the trailing spaces.
7265 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7269 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7270 # `conftest.undefs', that substitutes the proper values into
7271 # config.h.in to produce config.h. The first handles `#define'
7272 # templates, and the second `#undef' templates.
7273 # And first: Protect against being on the right side of a sed subst in
7274 # config.status. Protect against being in an unquoted here document
7276 rm -f conftest.defines conftest.undefs
7277 # Using a here document instead of a string reduces the quoting nightmare.
7278 # Putting comments in sed scripts is not portable.
7280 # `end' is used to avoid that the second main sed command (meant for
7281 # 0-ary CPP macros) applies to n-ary macro definitions.
7282 # See the Autoconf documentation for `clear'.
7283 cat >confdef2sed.sed <<\_ACEOF
7288 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7290 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7293 # If some macros were called several times there might be several times
7294 # the same #defines, which is useless. Nevertheless, we may not want to
7295 # sort them, since we want the *last* AC-DEFINE to be honored.
7296 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7297 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7298 rm -f confdef2sed.sed
7300 # This sed command replaces #undef with comments. This is necessary, for
7301 # example, in the case of _POSIX_SOURCE, which is predefined and required
7302 # on some systems where configure will not decide to define it.
7303 cat >>conftest.undefs <<\_ACEOF
7304 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7307 # Break up conftest.defines because some shells have a limit on the size
7308 # of here documents, and old seds have small limits too (100 cmds).
7309 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7310 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7311 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7312 echo ' :' >>$CONFIG_STATUS
7314 while grep . conftest.defines >/dev/null
7316 # Write a limited-size here document to $tmp/defines.sed.
7317 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7318 # Speed up: don't consider the non `#define' lines.
7319 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7320 # Work around the forget-to-reset-the-flag bug.
7321 echo 't clr' >>$CONFIG_STATUS
7322 echo ': clr' >>$CONFIG_STATUS
7323 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7325 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7329 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7330 rm -f conftest.defines
7331 mv conftest.tail conftest.defines
7333 rm -f conftest.defines
7334 echo ' fi # grep' >>$CONFIG_STATUS
7335 echo >>$CONFIG_STATUS
7337 # Break up conftest.undefs because some shells have a limit on the size
7338 # of here documents, and old seds have small limits too (100 cmds).
7339 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7341 while grep . conftest.undefs >/dev/null
7343 # Write a limited-size here document to $tmp/undefs.sed.
7344 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7345 # Speed up: don't consider the non `#undef'
7346 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7347 # Work around the forget-to-reset-the-flag bug.
7348 echo 't clr' >>$CONFIG_STATUS
7349 echo ': clr' >>$CONFIG_STATUS
7350 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7352 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7356 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7357 rm -f conftest.undefs
7358 mv conftest.tail conftest.undefs
7360 rm -f conftest.undefs
7362 cat >>$CONFIG_STATUS <<\_ACEOF
7363 # Let's still pretend it is `configure' which instantiates (i.e., don't
7364 # use $as_me), people would be surprised to read:
7365 # /* config.h. Generated by config.status. */
7366 if test x"$ac_file" = x-; then
7367 echo "/* Generated by configure. */" >$tmp/config.h
7369 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7371 cat $tmp/in >>$tmp/config.h
7373 if test x"$ac_file" != x-; then
7374 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7375 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7376 echo "$as_me: $ac_file is unchanged" >&6;}
7378 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7380 X"$ac_file" : 'X\(//\)[^/]' \| \
7381 X"$ac_file" : 'X\(//\)$' \| \
7382 X"$ac_file" : 'X\(/\)' \| \
7383 . : '\(.\)' 2>/dev/null ||
7385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7387 /^X\(\/\/\)$/{ s//\1/; q; }
7388 /^X\(\/\).*/{ s//\1/; q; }
7390 { if $as_mkdir_p; then
7395 while test ! -d "$as_dir"; do
7396 as_dirs="$as_dir $as_dirs"
7397 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7399 X"$as_dir" : 'X\(//\)[^/]' \| \
7400 X"$as_dir" : 'X\(//\)$' \| \
7401 X"$as_dir" : 'X\(/\)' \| \
7402 . : '\(.\)' 2>/dev/null ||
7404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7405 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7406 /^X\(\/\/\)$/{ s//\1/; q; }
7407 /^X\(\/\).*/{ s//\1/; q; }
7410 test ! -n "$as_dirs" || mkdir $as_dirs
7411 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7412 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7413 { (exit 1); exit 1; }; }; }
7416 mv $tmp/config.h $ac_file
7424 cat >>$CONFIG_STATUS <<\_ACEOF
7427 # CONFIG_COMMANDS section.
7429 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7430 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7431 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7432 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7433 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7434 X"$ac_dest" : 'X\(//\)[^/]' \| \
7435 X"$ac_dest" : 'X\(//\)$' \| \
7436 X"$ac_dest" : 'X\(/\)' \| \
7437 . : '\(.\)' 2>/dev/null ||
7439 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7440 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7441 /^X\(\/\/\)$/{ s//\1/; q; }
7442 /^X\(\/\).*/{ s//\1/; q; }
7444 { if $as_mkdir_p; then
7449 while test ! -d "$as_dir"; do
7450 as_dirs="$as_dir $as_dirs"
7451 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7453 X"$as_dir" : 'X\(//\)[^/]' \| \
7454 X"$as_dir" : 'X\(//\)$' \| \
7455 X"$as_dir" : 'X\(/\)' \| \
7456 . : '\(.\)' 2>/dev/null ||
7458 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7459 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7460 /^X\(\/\/\)$/{ s//\1/; q; }
7461 /^X\(\/\).*/{ s//\1/; q; }
7464 test ! -n "$as_dirs" || mkdir $as_dirs
7465 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7466 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7467 { (exit 1); exit 1; }; }; }
7471 if test "$ac_dir" != .; then
7472 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7473 # A "../" for each directory in $ac_dir_suffix.
7474 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7476 ac_dir_suffix= ac_top_builddir=
7480 .) # No --srcdir option. We are building in place.
7482 if test -z "$ac_top_builddir"; then
7485 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7487 [\\/]* | ?:[\\/]* ) # Absolute path.
7488 ac_srcdir=$srcdir$ac_dir_suffix;
7489 ac_top_srcdir=$srcdir ;;
7491 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7492 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7495 # Do not use `cd foo && pwd` to compute absolute paths, because
7496 # the directories may not exist.
7498 .) ac_abs_builddir="$ac_dir";;
7501 .) ac_abs_builddir=`pwd`;;
7502 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7503 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7506 case $ac_abs_builddir in
7507 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7509 case ${ac_top_builddir}. in
7510 .) ac_abs_top_builddir=$ac_abs_builddir;;
7511 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7512 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7515 case $ac_abs_builddir in
7516 .) ac_abs_srcdir=$ac_srcdir;;
7519 .) ac_abs_srcdir=$ac_abs_builddir;;
7520 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7521 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7524 case $ac_abs_builddir in
7525 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7527 case $ac_top_srcdir in
7528 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7529 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7530 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7535 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7536 echo "$as_me: executing $ac_dest commands" >&6;}
7538 default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
7543 cat >>$CONFIG_STATUS <<\_ACEOF
7545 { (exit 0); exit 0; }
7547 chmod +x $CONFIG_STATUS
7548 ac_clean_files=$ac_clean_files_save
7551 # configure is writing to config.log, and then calls config.status.
7552 # config.status does its own redirection, appending to config.log.
7553 # Unfortunately, on DOS this fails, as config.log is still kept open
7554 # by configure, so config.status won't be able to write to it; its
7555 # output is simply discarded. So we exec the FD to /dev/null,
7556 # effectively closing config.log, so it can be properly (re)opened and
7557 # appended to by config.status. When coming back to configure, we
7558 # need to make the FD available again.
7559 if test "$no_create" != yes; then
7561 ac_config_status_args=
7562 test "$silent" = yes &&
7563 ac_config_status_args="$ac_config_status_args --quiet"
7565 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7567 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7568 # would make configure fail if this is the last instruction.
7569 $ac_cs_success || { (exit 1); exit 1; }
7572 chmod +x xmlrpc-c-config
7573 chmod +x xmlrpc-c-config.test