2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
243 # Find the correct PATH separator. Usually this is `:', but
244 # DJGPP uses `;' like DOS.
245 if test "X${PATH_SEPARATOR+set}" != Xset; then
246 UNAME=${UNAME-`uname 2>/dev/null`}
248 *-DOS) lt_cv_sys_path_separator=';' ;;
249 *) lt_cv_sys_path_separator=':' ;;
251 PATH_SEPARATOR=$lt_cv_sys_path_separator
255 # Check that we are running under the correct shell.
256 SHELL=${CONFIG_SHELL-/bin/sh}
260 # Remove one level of quotation (which was required for Make).
261 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
266 if test "X$1" = X--no-reexec; then
267 # Discard the --no-reexec flag, and continue.
269 elif test "X$1" = X--fallback-echo; then
270 # Avoid inline document here, it may be left over
272 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
273 # Yippee, $echo works!
276 # Restart under the correct shell.
277 exec $SHELL "$0" --no-reexec ${1+"$@"}
280 if test "X$1" = X--fallback-echo; then
281 # used as fallback echo
289 # The HP-UX ksh and POSIX shell print the target directory to stdout
291 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
293 if test -z "$ECHO"; then
294 if test "X${echo_test_string+set}" != Xset; then
295 # find a string as large as possible, as long as the shell can cope with it
296 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
297 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
298 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
299 echo_test_string="`eval $cmd`" &&
300 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
307 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
308 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
309 test "X$echo_testing_string" = "X$echo_test_string"; then
312 # The Solaris, AIX, and Digital Unix default echo programs unquote
313 # backslashes. This makes it impossible to quote backslashes using
314 # echo "$something" | sed 's/\\/\\\\/g'
316 # So, first we look for a working echo in the user's PATH.
318 IFS="${IFS= }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
319 for dir in $PATH /usr/ucb; do
320 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
321 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
322 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
323 test "X$echo_testing_string" = "X$echo_test_string"; then
330 if test "X$echo" = Xecho; then
331 # We didn't find a better echo, so look for alternatives.
332 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
333 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
334 test "X$echo_testing_string" = "X$echo_test_string"; then
335 # This shell has a builtin print -r that does the trick.
337 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
338 test "X$CONFIG_SHELL" != X/bin/ksh; then
339 # If we have ksh, try running configure again with it.
340 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
341 export ORIGINAL_CONFIG_SHELL
342 CONFIG_SHELL=/bin/ksh
344 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
348 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
349 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
350 test "X$echo_testing_string" = "X$echo_test_string"; then
353 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
354 test "X$echo_testing_string" = 'X\t' &&
355 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
356 test "X$echo_testing_string" = "X$echo_test_string"; then
357 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
359 SHELL="$CONFIG_SHELL"
361 echo="$CONFIG_SHELL $0 --fallback-echo"
362 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
363 test "X$echo_testing_string" = 'X\t' &&
364 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
365 test "X$echo_testing_string" = "X$echo_test_string"; then
366 echo="$CONFIG_SHELL $0 --fallback-echo"
368 # maybe with a smaller string...
371 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
372 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
379 if test "$prev" != 'sed 50q "$0"'; then
380 echo_test_string=`eval $prev`
381 export echo_test_string
382 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
384 # Oops. We lost completely, so just stick with echo.
393 # Copy echo and quote the copy suitably for passing to libtool from
394 # the Makefile, instead of quoting the original, which is used later.
396 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
397 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
403 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
404 # so uname gets run too.
405 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
412 ac_default_prefix=/usr/local
413 ac_config_libobj_dir=.
418 SHELL=${CONFIG_SHELL-/bin/sh}
420 # Maximum number of lines to put in a shell here document.
421 # This variable seems obsolete. It should probably be removed, and
422 # only ac_max_sed_lines should be used.
423 : ${ac_max_here_lines=38}
425 # Identity of this package.
432 ac_unique_file="entities.c"
433 # Factoring default headers for most tests.
434 ac_includes_default="\
437 # include <sys/types.h>
440 # include <sys/stat.h>
451 # if !STDC_HEADERS && HAVE_MEMORY_H
457 # include <strings.h>
460 # include <inttypes.h>
470 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os LIBXML_MAJOR_VERSION LIBXML_MINOR_VERSION LIBXML_MICRO_VERSION LIBXML_VERSION LIBXML_VERSION_INFO LIBXML_VERSION_NUMBER INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE CPP RM MV TAR EGREP U ANSI2KNR LN_S ECHO RANLIB ac_ct_RANLIB LIBTOOL MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT Z_CFLAGS Z_LIBS HTML_DIR PYTHON WITH_PYTHON_TRUE WITH_PYTHON_FALSE pythondir PYTHON_SUBDIR STATIC_BINARIES WITH_TRIO_SOURCES_TRUE WITH_TRIO_SOURCES_FALSE WITH_TRIO THREAD_LIBS WITH_THREADS THREAD_CFLAGS TEST_THREADS WITH_FTP FTP_OBJ WITH_HTTP HTTP_OBJ WITH_HTML HTML_OBJ WITH_CATALOG CATALOG_OBJ WITH_DOCB DOCB_OBJ WITH_XPATH XPATH_OBJ WITH_XPTR XPTR_OBJ WITH_C14N C14N_OBJ WITH_XINCLUDE XINCLUDE_OBJ WITH_ICONV WITH_ISO8859X WITH_SCHEMAS TEST_SCHEMAS WITH_REGEXPS TEST_REGEXPS WITH_DEBUG DEBUG_OBJ WITH_MEM_DEBUG WIN32_EXTRA_LIBADD WIN32_EXTRA_LDFLAGS XML_CFLAGS XML_LIBDIR XML_LIBS ICONV_LIBS XML_INCLUDEDIR HAVE_ISNAN HAVE_ISINF PYTHON_VERSION PYTHON_INCLUDES PYTHON_SITE_PACKAGES M_LIBS RDL_LIBS RELDATE LIBOBJS LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CC_set=${CC+set}
913 ac_cv_env_CC_set=${CC+set}
914 ac_cv_env_CC_value=$CC
915 ac_env_CFLAGS_set=${CFLAGS+set}
916 ac_env_CFLAGS_value=$CFLAGS
917 ac_cv_env_CFLAGS_set=${CFLAGS+set}
918 ac_cv_env_CFLAGS_value=$CFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CPP_set=${CPP+set}
928 ac_env_CPP_value=$CPP
929 ac_cv_env_CPP_set=${CPP+set}
930 ac_cv_env_CPP_value=$CPP
933 # Report the --help message.
935 if test "$ac_init_help" = "long"; then
936 # Omit some internal or obsolete options to make the list less imposing.
937 # This message is too long to be a string in the A/UX 3.1 sh.
939 \`configure' configures this package to adapt to many kinds of systems.
941 Usage: $0 [OPTION]... [VAR=VALUE]...
943 To assign environment variables (e.g., CC, CFLAGS...), specify them as
944 VAR=VALUE. See below for descriptions of some of the useful variables.
946 Defaults for the options are specified in brackets.
949 -h, --help display this help and exit
950 --help=short display options specific to this package
951 --help=recursive display the short help of all the included packages
952 -V, --version display version information and exit
953 -q, --quiet, --silent do not print \`checking...' messages
954 --cache-file=FILE cache test results in FILE [disabled]
955 -C, --config-cache alias for \`--cache-file=config.cache'
956 -n, --no-create do not create output files
957 --srcdir=DIR find the sources in DIR [configure dir or \`..']
962 Installation directories:
963 --prefix=PREFIX install architecture-independent files in PREFIX
965 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
968 By default, \`make install' will install all the files in
969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
971 for instance \`--prefix=\$HOME'.
973 For better control, use the options below.
975 Fine tuning of the installation directories:
976 --bindir=DIR user executables [EPREFIX/bin]
977 --sbindir=DIR system admin executables [EPREFIX/sbin]
978 --libexecdir=DIR program executables [EPREFIX/libexec]
979 --datadir=DIR read-only architecture-independent data [PREFIX/share]
980 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
981 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
982 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
983 --libdir=DIR object code libraries [EPREFIX/lib]
984 --includedir=DIR C header files [PREFIX/include]
985 --oldincludedir=DIR C header files for non-gcc [/usr/include]
986 --infodir=DIR info documentation [PREFIX/info]
987 --mandir=DIR man documentation [PREFIX/man]
993 --program-prefix=PREFIX prepend PREFIX to installed program names
994 --program-suffix=SUFFIX append SUFFIX to installed program names
995 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
998 --build=BUILD configure for building on BUILD [guessed]
999 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1003 if test -n "$ac_init_help"; then
1008 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1009 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1010 --disable-dependency-tracking Speeds up one-time builds
1011 --enable-dependency-tracking Do not reject slow dependency extractors
1012 --enable-shared=PKGS build shared libraries default=yes
1013 --enable-static=PKGS build static libraries default=yes
1014 --enable-fast-install=PKGS optimize for fast installation default=yes
1015 --disable-libtool-lock avoid locking (might break parallel builds)
1016 --enable-maintainer-mode enable make rules and dependencies not useful
1017 (and sometimes confusing) to the casual installer
1018 --enable-ipv6=yes/no enables compilation of IPv6 code
1021 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1022 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1023 --with-html-dir=PATH path to installed docs
1024 --with-gnu-ld assume the C compiler uses GNU ld default=no
1025 --with-pic try to use only PIC/non-PIC objects default=use both
1026 --with-zlib[=DIR] use libz in DIR
1027 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
1028 --with-python[=DIR] build Python bindings if found
1029 --with-readline=DIR use readline in DIR
1030 --with-threads add multithread support(on)
1031 --with-thread-alloc add per-thread memory(off)
1032 --with-history add history support to xmllint shell(off)
1033 --with-ftp add the FTP support (on)
1034 --with-http add the HTTP support (on)
1035 --with-html add the HTML support (on)
1036 --with-catalog add the Catalog support (on)
1037 --with-docbook add Docbook SGML support (on)
1038 --with-xpath add the XPATH support (on)
1039 --with-xptr add the XPointer support (on)
1040 --with-c14n add the Canonicalization support (on)
1041 --with-xinclude add the XInclude support (on)
1042 --with-iconv[=DIR] add ICONV support (on)
1043 --with-iso8859x add ISO8859X support if no iconv (on)
1044 --with-schemas add experimental Schemas/RelaxNG support (on)
1045 --with-regexps add Regular Expressions support (on)
1046 --with-debug add the debugging module (on)
1047 --with-mem-debug add the memory debugging module (off)
1049 Some influential environment variables:
1050 CC C compiler command
1051 CFLAGS C compiler flags
1052 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1053 nonstandard directory <lib dir>
1054 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1055 headers in a nonstandard directory <include dir>
1058 Use these variables to override the choices made by `configure' or to help
1059 it to find libraries and programs with nonstandard names/locations.
1064 if test "$ac_init_help" = "recursive"; then
1065 # If there are subdirs, report their specific --help.
1067 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1068 test -d $ac_dir || continue
1071 if test "$ac_dir" != .; then
1072 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1073 # A "../" for each directory in $ac_dir_suffix.
1074 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1076 ac_dir_suffix= ac_top_builddir=
1080 .) # No --srcdir option. We are building in place.
1082 if test -z "$ac_top_builddir"; then
1085 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1087 [\\/]* | ?:[\\/]* ) # Absolute path.
1088 ac_srcdir=$srcdir$ac_dir_suffix;
1089 ac_top_srcdir=$srcdir ;;
1091 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1092 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1094 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1096 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1097 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1098 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1099 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1102 # Check for guested configure; otherwise get Cygnus style configure.
1103 if test -f $ac_srcdir/configure.gnu; then
1105 $SHELL $ac_srcdir/configure.gnu --help=recursive
1106 elif test -f $ac_srcdir/configure; then
1108 $SHELL $ac_srcdir/configure --help=recursive
1109 elif test -f $ac_srcdir/configure.ac ||
1110 test -f $ac_srcdir/configure.in; then
1112 $ac_configure --help
1114 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1120 test -n "$ac_init_help" && exit 0
1121 if $ac_init_version; then
1124 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1125 Free Software Foundation, Inc.
1126 This configure script is free software; the Free Software Foundation
1127 gives unlimited permission to copy, distribute and modify it.
1133 This file contains any messages produced by compilers while
1134 running configure, to aid debugging if configure makes a mistake.
1136 It was created by $as_me, which was
1137 generated by GNU Autoconf 2.57. Invocation command line was
1148 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1149 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1150 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1151 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1152 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1154 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1155 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1157 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1158 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1159 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1160 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1161 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1162 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1163 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1171 test -z "$as_dir" && as_dir=.
1172 echo "PATH: $as_dir"
1187 # Keep a trace of the command line.
1188 # Strip out --no-create and --no-recursion so they do not pile up.
1189 # Strip out --silent because we don't want to record it for future runs.
1190 # Also quote any args containing shell meta-characters.
1191 # Make two passes to allow for proper duplicate-argument suppression.
1196 ac_must_keep_next=false
1202 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1204 | -silent | --silent | --silen | --sile | --sil)
1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1210 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1212 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1213 if test $ac_must_keep_next = true; then
1214 ac_must_keep_next=false # Got value, back to normal.
1217 *=* | --config-cache | -C | -disable-* | --disable-* \
1218 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1219 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1220 | -with-* | --with-* | -without-* | --without-* | --x)
1221 case "$ac_configure_args0 " in
1222 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1225 -* ) ac_must_keep_next=true ;;
1228 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1229 # Get rid of the leading space.
1235 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1236 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1238 # When interrupted or exit'd, cleanup temporary files, and complete
1239 # config.log. We remove comments because anyway the quotes in there
1240 # would cause problems or look ugly.
1241 # WARNING: Be sure not to use single quotes in there, as some shells,
1242 # such as our DU 5.0 friend, will then `close' the trap.
1243 trap 'exit_status=$?
1244 # Save into config.log some information that might help in debugging.
1249 ## ---------------- ##
1250 ## Cache variables. ##
1251 ## ---------------- ##
1254 # The following way of writing the cache mishandles newlines in values,
1257 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1260 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1265 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1272 ## ----------------- ##
1273 ## Output variables. ##
1274 ## ----------------- ##
1277 for ac_var in $ac_subst_vars
1279 eval ac_val=$`echo $ac_var`
1280 echo "$ac_var='"'"'$ac_val'"'"'"
1284 if test -n "$ac_subst_files"; then
1291 for ac_var in $ac_subst_files
1293 eval ac_val=$`echo $ac_var`
1294 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -s confdefs.h; then
1306 sed "/^$/d" confdefs.h | sort
1309 test "$ac_signal" != 0 &&
1310 echo "$as_me: caught signal $ac_signal"
1311 echo "$as_me: exit $exit_status"
1313 rm -f core core.* *.core &&
1314 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1317 for ac_signal in 1 2 13 15; do
1318 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1322 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1323 rm -rf conftest* confdefs.h
1324 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1327 # Predefined preprocessor variables.
1329 cat >>confdefs.h <<_ACEOF
1330 #define PACKAGE_NAME "$PACKAGE_NAME"
1334 cat >>confdefs.h <<_ACEOF
1335 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1339 cat >>confdefs.h <<_ACEOF
1340 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_STRING "$PACKAGE_STRING"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1354 # Let the site file select an alternate cache file if it wants to.
1355 # Prefer explicitly selected file to automatically selected ones.
1356 if test -z "$CONFIG_SITE"; then
1357 if test "x$prefix" != xNONE; then
1358 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1360 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1363 for ac_site_file in $CONFIG_SITE; do
1364 if test -r "$ac_site_file"; then
1365 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1366 echo "$as_me: loading site script $ac_site_file" >&6;}
1367 sed 's/^/| /' "$ac_site_file" >&5
1372 if test -r "$cache_file"; then
1373 # Some versions of bash will fail to source /dev/null (special
1374 # files actually), so we avoid doing that.
1375 if test -f "$cache_file"; then
1376 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1377 echo "$as_me: loading cache $cache_file" >&6;}
1379 [\\/]* | ?:[\\/]* ) . $cache_file;;
1380 *) . ./$cache_file;;
1384 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1385 echo "$as_me: creating cache $cache_file" >&6;}
1389 # Check that the precious variables saved in the cache have kept the same
1391 ac_cache_corrupted=false
1392 for ac_var in `(set) 2>&1 |
1393 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1394 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1395 eval ac_new_set=\$ac_env_${ac_var}_set
1396 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1397 eval ac_new_val="\$ac_env_${ac_var}_value"
1398 case $ac_old_set,$ac_new_set in
1400 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1401 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1402 ac_cache_corrupted=: ;;
1404 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1405 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1406 ac_cache_corrupted=: ;;
1409 if test "x$ac_old_val" != "x$ac_new_val"; then
1410 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1411 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1412 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1413 echo "$as_me: former value: $ac_old_val" >&2;}
1414 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1415 echo "$as_me: current value: $ac_new_val" >&2;}
1416 ac_cache_corrupted=:
1419 # Pass precious variables to config.status.
1420 if test "$ac_new_set" = set; then
1422 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1423 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 *) ac_arg=$ac_var=$ac_new_val ;;
1426 case " $ac_configure_args " in
1427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1428 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1432 if $ac_cache_corrupted; then
1433 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1434 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1435 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1436 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1437 { (exit 1); exit 1; }; }
1441 ac_cpp='$CPP $CPPFLAGS'
1442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1464 # Add the stamp file to the list of files AC keeps track of,
1465 # along with our hook.
1466 ac_config_headers="$ac_config_headers config.h"
1471 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1472 if test -f $ac_dir/install-sh; then
1474 ac_install_sh="$ac_aux_dir/install-sh -c"
1476 elif test -f $ac_dir/install.sh; then
1478 ac_install_sh="$ac_aux_dir/install.sh -c"
1480 elif test -f $ac_dir/shtool; then
1482 ac_install_sh="$ac_aux_dir/shtool install -c"
1486 if test -z "$ac_aux_dir"; then
1487 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1488 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1489 { (exit 1); exit 1; }; }
1491 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1492 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1493 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1495 # Make sure we can run config.sub.
1496 $ac_config_sub sun4 >/dev/null 2>&1 ||
1497 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1498 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1499 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: checking build system type" >&5
1502 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1503 if test "${ac_cv_build+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 ac_cv_build_alias=$build_alias
1507 test -z "$ac_cv_build_alias" &&
1508 ac_cv_build_alias=`$ac_config_guess`
1509 test -z "$ac_cv_build_alias" &&
1510 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1511 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1512 { (exit 1); exit 1; }; }
1513 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1514 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1515 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1516 { (exit 1); exit 1; }; }
1519 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1520 echo "${ECHO_T}$ac_cv_build" >&6
1522 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1523 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1524 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1527 echo "$as_me:$LINENO: checking host system type" >&5
1528 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1529 if test "${ac_cv_host+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 ac_cv_host_alias=$host_alias
1533 test -z "$ac_cv_host_alias" &&
1534 ac_cv_host_alias=$ac_cv_build_alias
1535 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1536 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1537 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1538 { (exit 1); exit 1; }; }
1541 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1542 echo "${ECHO_T}$ac_cv_host" >&6
1544 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1545 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1546 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1550 LIBXML_MAJOR_VERSION=2
1551 LIBXML_MINOR_VERSION=5
1552 LIBXML_MICRO_VERSION=10
1553 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION
1554 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
1556 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
1565 VERSION=${LIBXML_VERSION}
1567 am__api_version="1.6"
1568 # Find a good install program. We prefer a C program (faster),
1569 # so one script is as good as another. But avoid the broken or
1570 # incompatible versions:
1571 # SysV /etc/install, /usr/sbin/install
1572 # SunOS /usr/etc/install
1573 # IRIX /sbin/install
1575 # AmigaOS /C/install, which installs bootblocks on floppy discs
1576 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1577 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1578 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1579 # ./install, which can be erroneously created by make from ./install.sh.
1580 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1581 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1582 if test -z "$INSTALL"; then
1583 if test "${ac_cv_path_install+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1590 test -z "$as_dir" && as_dir=.
1591 # Account for people who put trailing slashes in PATH elements.
1593 ./ | .// | /cC/* | \
1594 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1597 # OSF1 and SCO ODT 3.0 have their own names for install.
1598 # Don't use installbsd from OSF since it installs stuff as root
1600 for ac_prog in ginstall scoinst install; do
1601 for ac_exec_ext in '' $ac_executable_extensions; do
1602 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1603 if test $ac_prog = install &&
1604 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # AIX install. It has an incompatible calling convention.
1607 elif test $ac_prog = install &&
1608 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1609 # program-specific install script used by HP pwplus--don't use.
1612 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1624 if test "${ac_cv_path_install+set}" = set; then
1625 INSTALL=$ac_cv_path_install
1627 # As a last resort, use the slow shell script. We don't cache a
1628 # path for INSTALL within a source directory, because that will
1629 # break other packages using the cache if that directory is
1630 # removed, or if the path is relative.
1631 INSTALL=$ac_install_sh
1634 echo "$as_me:$LINENO: result: $INSTALL" >&5
1635 echo "${ECHO_T}$INSTALL" >&6
1637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1638 # It thinks the first close brace ends the variable substitution.
1639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1645 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1646 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1649 echo timestamp > conftest.file
1650 # Do `set' in a subshell so we don't clobber the current shell's
1651 # arguments. Must try -L first in case configure is actually a
1652 # symlink; some systems play weird games with the mod time of symlinks
1653 # (eg FreeBSD returns the mod time of the symlink's containing
1656 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1657 if test "$*" = "X"; then
1659 set X `ls -t $srcdir/configure conftest.file`
1662 if test "$*" != "X $srcdir/configure conftest.file" \
1663 && test "$*" != "X conftest.file $srcdir/configure"; then
1665 # If neither matched, then we have a broken ls. This can happen
1666 # if, for instance, CONFIG_SHELL is bash and it inherits a
1667 # broken ls alias from the environment. This has actually
1668 # happened. Such a system could not be considered "sane".
1669 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&5
1671 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1672 alias in your environment" >&2;}
1673 { (exit 1); exit 1; }; }
1676 test "$2" = conftest.file
1682 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1683 Check your system clock" >&5
1684 echo "$as_me: error: newly created file is older than distributed files!
1685 Check your system clock" >&2;}
1686 { (exit 1); exit 1; }; }
1688 echo "$as_me:$LINENO: result: yes" >&5
1689 echo "${ECHO_T}yes" >&6
1690 test "$program_prefix" != NONE &&
1691 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1692 # Use a double $ so make ignores it.
1693 test "$program_suffix" != NONE &&
1694 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1695 # Double any \ or $. echo might interpret backslashes.
1696 # By default was `s,x,x', remove it if useless.
1697 cat <<\_ACEOF >conftest.sed
1698 s/[\\$]/&&/g;s/;s,x,x,$//
1700 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1704 # expand $ac_aux_dir to an absolute path
1705 am_aux_dir=`cd $ac_aux_dir && pwd`
1707 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1708 # Use eval to expand $SHELL
1709 if eval "$MISSING --run true"; then
1710 am_missing_run="$MISSING --run "
1713 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1714 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1717 for ac_prog in gawk mawk nawk awk
1719 # Extract the first word of "$ac_prog", so it can be a program name with args.
1720 set dummy $ac_prog; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_AWK+set}" = set; then
1724 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 if test -n "$AWK"; then
1727 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1733 test -z "$as_dir" && as_dir=.
1734 for ac_exec_ext in '' $ac_executable_extensions; do
1735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736 ac_cv_prog_AWK="$ac_prog"
1737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 if test -n "$AWK"; then
1747 echo "$as_me:$LINENO: result: $AWK" >&5
1748 echo "${ECHO_T}$AWK" >&6
1750 echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1754 test -n "$AWK" && break
1757 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1758 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1759 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1760 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1763 cat >conftest.make <<\_ACEOF
1765 @echo 'ac_maketemp="$(MAKE)"'
1767 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1768 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1769 if test -n "$ac_maketemp"; then
1770 eval ac_cv_prog_make_${ac_make}_set=yes
1772 eval ac_cv_prog_make_${ac_make}_set=no
1776 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1777 echo "$as_me:$LINENO: result: yes" >&5
1778 echo "${ECHO_T}yes" >&6
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1783 SET_MAKE="MAKE=${MAKE-make}"
1786 # test to see if srcdir already configured
1787 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1788 test -f $srcdir/config.status; then
1789 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1790 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1791 { (exit 1); exit 1; }; }
1794 # Define the identity of the package.
1799 cat >>confdefs.h <<_ACEOF
1800 #define PACKAGE "$PACKAGE"
1804 cat >>confdefs.h <<_ACEOF
1805 #define VERSION "$VERSION"
1808 # Some tools Automake needs.
1810 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1813 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1816 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1819 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1822 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1825 AMTAR=${AMTAR-"${am_missing_run}tar"}
1827 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1829 # Installed binaries are usually stripped using `strip' when the user
1830 # run `make install-strip'. However `strip' might not be the right
1831 # tool to use in cross-compilation environments, therefore Automake
1832 # will honor the `STRIP' environment variable to overrule this program.
1833 if test "$cross_compiling" != no; then
1834 if test -n "$ac_tool_prefix"; then
1835 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1836 set dummy ${ac_tool_prefix}strip; ac_word=$2
1837 echo "$as_me:$LINENO: checking for $ac_word" >&5
1838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1839 if test "${ac_cv_prog_STRIP+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 if test -n "$STRIP"; then
1843 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849 test -z "$as_dir" && as_dir=.
1850 for ac_exec_ext in '' $ac_executable_extensions; do
1851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1852 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1861 STRIP=$ac_cv_prog_STRIP
1862 if test -n "$STRIP"; then
1863 echo "$as_me:$LINENO: result: $STRIP" >&5
1864 echo "${ECHO_T}$STRIP" >&6
1866 echo "$as_me:$LINENO: result: no" >&5
1867 echo "${ECHO_T}no" >&6
1871 if test -z "$ac_cv_prog_STRIP"; then
1873 # Extract the first word of "strip", so it can be a program name with args.
1874 set dummy strip; ac_word=$2
1875 echo "$as_me:$LINENO: checking for $ac_word" >&5
1876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1877 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1878 echo $ECHO_N "(cached) $ECHO_C" >&6
1880 if test -n "$ac_ct_STRIP"; then
1881 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887 test -z "$as_dir" && as_dir=.
1888 for ac_exec_ext in '' $ac_executable_extensions; do
1889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1890 ac_cv_prog_ac_ct_STRIP="strip"
1891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1897 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1900 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1901 if test -n "$ac_ct_STRIP"; then
1902 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1903 echo "${ECHO_T}$ac_ct_STRIP" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1911 STRIP="$ac_cv_prog_STRIP"
1915 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1917 # We need awk for the "check" target. The system "awk" is bad on
1924 # Check whether --with-html-dir or --without-html-dir was given.
1925 if test "${with_html_dir+set}" = set; then
1926 withval="$with_html_dir"
1931 ac_cpp='$CPP $CPPFLAGS'
1932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1935 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1937 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_CC+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 if test -n "$CC"; then
1944 ac_cv_prog_CC="$CC" # Let the user override the test.
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1950 test -z "$as_dir" && as_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1963 if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1967 echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1972 if test -z "$ac_cv_prog_CC"; then
1974 # Extract the first word of "gcc", so it can be a program name with args.
1975 set dummy gcc; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC="gcc"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2000 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2001 if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003 echo "${ECHO_T}$ac_ct_CC" >&6
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2014 if test -z "$CC"; then
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2017 set dummy ${ac_tool_prefix}cc; ac_word=$2
2018 echo "$as_me:$LINENO: checking for $ac_word" >&5
2019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2020 if test "${ac_cv_prog_CC+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2033 ac_cv_prog_CC="${ac_tool_prefix}cc"
2034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2043 if test -n "$CC"; then
2044 echo "$as_me:$LINENO: result: $CC" >&5
2045 echo "${ECHO_T}$CC" >&6
2047 echo "$as_me:$LINENO: result: no" >&5
2048 echo "${ECHO_T}no" >&6
2052 if test -z "$ac_cv_prog_CC"; then
2054 # Extract the first word of "cc", so it can be a program name with args.
2055 set dummy cc; ac_word=$2
2056 echo "$as_me:$LINENO: checking for $ac_word" >&5
2057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2059 echo $ECHO_N "(cached) $ECHO_C" >&6
2061 if test -n "$ac_ct_CC"; then
2062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2071 ac_cv_prog_ac_ct_CC="cc"
2072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2081 if test -n "$ac_ct_CC"; then
2082 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2083 echo "${ECHO_T}$ac_ct_CC" >&6
2085 echo "$as_me:$LINENO: result: no" >&5
2086 echo "${ECHO_T}no" >&6
2095 if test -z "$CC"; then
2096 # Extract the first word of "cc", so it can be a program name with args.
2097 set dummy cc; ac_word=$2
2098 echo "$as_me:$LINENO: checking for $ac_word" >&5
2099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2100 if test "${ac_cv_prog_CC+set}" = set; then
2101 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 if test -n "$CC"; then
2104 ac_cv_prog_CC="$CC" # Let the user override the test.
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2115 ac_prog_rejected=yes
2119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 if test $ac_prog_rejected = yes; then
2126 # We found a bogon in the path, so make sure we never use it.
2127 set dummy $ac_cv_prog_CC
2129 if test $# != 0; then
2130 # We chose a different compiler from the bogus one.
2131 # However, it has the same basename, so the bogon will be chosen
2132 # first if we set CC to just the basename; use the full file name.
2134 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2140 if test -n "$CC"; then
2141 echo "$as_me:$LINENO: result: $CC" >&5
2142 echo "${ECHO_T}$CC" >&6
2144 echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6
2149 if test -z "$CC"; then
2150 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC="$CC" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 echo "$as_me:$LINENO: result: $CC" >&5
2182 echo "${ECHO_T}$CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2188 test -n "$CC" && break
2191 if test -z "$CC"; then
2195 # Extract the first word of "$ac_prog", so it can be a program name with args.
2196 set dummy $ac_prog; ac_word=$2
2197 echo "$as_me:$LINENO: checking for $ac_word" >&5
2198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2202 if test -n "$ac_ct_CC"; then
2203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2212 ac_cv_prog_ac_ct_CC="$ac_prog"
2213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2221 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2222 if test -n "$ac_ct_CC"; then
2223 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2224 echo "${ECHO_T}$ac_ct_CC" >&6
2226 echo "$as_me:$LINENO: result: no" >&5
2227 echo "${ECHO_T}no" >&6
2230 test -n "$ac_ct_CC" && break
2239 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2240 See \`config.log' for more details." >&5
2241 echo "$as_me: error: no acceptable C compiler found in \$PATH
2242 See \`config.log' for more details." >&2;}
2243 { (exit 1); exit 1; }; }
2245 # Provide some information about the compiler.
2246 echo "$as_me:$LINENO:" \
2247 "checking for C compiler version" >&5
2248 ac_compiler=`set X $ac_compile; echo $2`
2249 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2250 (eval $ac_compiler --version </dev/null >&5) 2>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }
2254 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2255 (eval $ac_compiler -v </dev/null >&5) 2>&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); }
2259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2260 (eval $ac_compiler -V </dev/null >&5) 2>&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }
2265 cat >conftest.$ac_ext <<_ACEOF
2266 #line $LINENO "configure"
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2281 ac_clean_files_save=$ac_clean_files
2282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2283 # Try to create an executable without -o first, disregard a.out.
2284 # It will help us diagnose broken compilers, and finding out an intuition
2286 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2287 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2289 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2290 (eval $ac_link_default) 2>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); }; then
2294 # Find the output, starting from the most likely. This scheme is
2295 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2298 # Be careful to initialize this variable, since it used to be cached.
2299 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2301 # b.out is created by i960 compilers.
2302 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2304 test -f "$ac_file" || continue
2306 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2309 # This is the source file.
2312 # We found the default executable, but exeext='' is most
2316 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2317 # FIXME: I believe we export ac_cv_exeext for Libtool,
2318 # but it would be cool to find out if it's true. Does anybody
2319 # maintain Libtool? --akim.
2327 echo "$as_me: failed program was:" >&5
2328 sed 's/^/| /' conftest.$ac_ext >&5
2330 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2331 See \`config.log' for more details." >&5
2332 echo "$as_me: error: C compiler cannot create executables
2333 See \`config.log' for more details." >&2;}
2334 { (exit 77); exit 77; }; }
2337 ac_exeext=$ac_cv_exeext
2338 echo "$as_me:$LINENO: result: $ac_file" >&5
2339 echo "${ECHO_T}$ac_file" >&6
2341 # Check the compiler produces executables we can run. If not, either
2342 # the compiler is broken, or we cross compile.
2343 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2344 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2345 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2346 # If not cross compiling, check that we can run a simple program.
2347 if test "$cross_compiling" != yes; then
2348 if { ac_try='./$ac_file'
2349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }; }; then
2356 if test "$cross_compiling" = maybe; then
2359 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2360 If you meant to cross compile, use \`--host'.
2361 See \`config.log' for more details." >&5
2362 echo "$as_me: error: cannot run C compiled programs.
2363 If you meant to cross compile, use \`--host'.
2364 See \`config.log' for more details." >&2;}
2365 { (exit 1); exit 1; }; }
2369 echo "$as_me:$LINENO: result: yes" >&5
2370 echo "${ECHO_T}yes" >&6
2372 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2373 ac_clean_files=$ac_clean_files_save
2374 # Check the compiler produces executables we can run. If not, either
2375 # the compiler is broken, or we cross compile.
2376 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2377 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2378 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2379 echo "${ECHO_T}$cross_compiling" >&6
2381 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2382 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2389 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2390 # work properly (i.e., refer to `conftest.exe'), while it won't with
2392 for ac_file in conftest.exe conftest conftest.*; do
2393 test -f "$ac_file" || continue
2395 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2396 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2403 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2404 See \`config.log' for more details." >&5
2405 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2406 See \`config.log' for more details." >&2;}
2407 { (exit 1); exit 1; }; }
2410 rm -f conftest$ac_cv_exeext
2411 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2412 echo "${ECHO_T}$ac_cv_exeext" >&6
2414 rm -f conftest.$ac_ext
2415 EXEEXT=$ac_cv_exeext
2417 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2418 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2419 if test "${ac_cv_objext+set}" = set; then
2420 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 cat >conftest.$ac_ext <<_ACEOF
2423 #line $LINENO "configure"
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 rm -f conftest.o conftest.obj
2439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440 (eval $ac_compile) 2>&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; then
2444 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2447 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.$ac_ext >&5
2455 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2458 See \`config.log' for more details." >&2;}
2459 { (exit 1); exit 1; }; }
2462 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2464 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2465 echo "${ECHO_T}$ac_cv_objext" >&6
2466 OBJEXT=$ac_cv_objext
2468 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2469 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2470 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 cat >conftest.$ac_ext <<_ACEOF
2474 #line $LINENO "configure"
2477 cat confdefs.h >>conftest.$ac_ext
2478 cat >>conftest.$ac_ext <<_ACEOF
2479 /* end confdefs.h. */
2492 rm -f conftest.$ac_objext
2493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2494 (eval $ac_compile) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); } &&
2498 { ac_try='test -s conftest.$ac_objext'
2499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 echo "$as_me: failed program was:" >&5
2507 sed 's/^/| /' conftest.$ac_ext >&5
2511 rm -f conftest.$ac_objext conftest.$ac_ext
2512 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2515 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2516 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2517 GCC=`test $ac_compiler_gnu = yes && echo yes`
2518 ac_test_CFLAGS=${CFLAGS+set}
2519 ac_save_CFLAGS=$CFLAGS
2521 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2522 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2523 if test "${ac_cv_prog_cc_g+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 cat >conftest.$ac_ext <<_ACEOF
2527 #line $LINENO "configure"
2530 cat confdefs.h >>conftest.$ac_ext
2531 cat >>conftest.$ac_ext <<_ACEOF
2532 /* end confdefs.h. */
2542 rm -f conftest.$ac_objext
2543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2544 (eval $ac_compile) 2>&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } &&
2548 { ac_try='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2561 rm -f conftest.$ac_objext conftest.$ac_ext
2563 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2564 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2565 if test "$ac_test_CFLAGS" = set; then
2566 CFLAGS=$ac_save_CFLAGS
2567 elif test $ac_cv_prog_cc_g = yes; then
2568 if test "$GCC" = yes; then
2574 if test "$GCC" = yes; then
2580 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2581 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2582 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 ac_cv_prog_cc_stdc=no
2587 cat >conftest.$ac_ext <<_ACEOF
2588 #line $LINENO "configure"
2591 cat confdefs.h >>conftest.$ac_ext
2592 cat >>conftest.$ac_ext <<_ACEOF
2593 /* end confdefs.h. */
2596 #include <sys/types.h>
2597 #include <sys/stat.h>
2598 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2599 struct buf { int x; };
2600 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2601 static char *e (p, i)
2607 static char *f (char * (*g) (char **, int), char **p, ...)
2612 s = g (p, va_arg (v,int));
2616 int test (int i, double x);
2617 struct s1 {int (*f) (int a);};
2618 struct s2 {int (*f) (double a);};
2619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2630 # Don't try gcc -ansi; that turns off useful extensions and
2631 # breaks some systems' header files.
2632 # AIX -qlanglvl=ansi
2633 # Ultrix and OSF/1 -std1
2634 # HP-UX 10.20 and later -Ae
2635 # HP-UX older versions -Aa -D_HPUX_SOURCE
2636 # SVR4 -Xc -D__EXTENSIONS__
2637 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2639 CC="$ac_save_CC $ac_arg"
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>&5
2644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645 (exit $ac_status); } &&
2646 { ac_try='test -s conftest.$ac_objext'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; }; then
2652 ac_cv_prog_cc_stdc=$ac_arg
2655 echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2659 rm -f conftest.$ac_objext
2661 rm -f conftest.$ac_ext conftest.$ac_objext
2666 case "x$ac_cv_prog_cc_stdc" in
2668 echo "$as_me:$LINENO: result: none needed" >&5
2669 echo "${ECHO_T}none needed" >&6 ;;
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2673 CC="$CC $ac_cv_prog_cc_stdc" ;;
2676 # Some people use a C++ compiler to compile C. Since we use `exit',
2677 # in C++ we need to declare it. In case someone uses the same compiler
2678 # for both compiling C and C++ we need to have the C++ compiler decide
2679 # the declaration of exit, since it's the most demanding environment.
2680 cat >conftest.$ac_ext <<_ACEOF
2685 rm -f conftest.$ac_objext
2686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2687 (eval $ac_compile) 2>&5
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); } &&
2691 { ac_try='test -s conftest.$ac_objext'
2692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2696 (exit $ac_status); }; }; then
2697 for ac_declaration in \
2699 '#include <stdlib.h>' \
2700 'extern "C" void std::exit (int) throw (); using std::exit;' \
2701 'extern "C" void std::exit (int); using std::exit;' \
2702 'extern "C" void exit (int) throw ();' \
2703 'extern "C" void exit (int);' \
2706 cat >conftest.$ac_ext <<_ACEOF
2707 #line $LINENO "configure"
2710 cat confdefs.h >>conftest.$ac_ext
2711 cat >>conftest.$ac_ext <<_ACEOF
2712 /* end confdefs.h. */
2723 rm -f conftest.$ac_objext
2724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2725 (eval $ac_compile) 2>&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } &&
2729 { ac_try='test -s conftest.$ac_objext'
2730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); }; }; then
2737 echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.$ac_ext >&5
2742 rm -f conftest.$ac_objext conftest.$ac_ext
2743 cat >conftest.$ac_ext <<_ACEOF
2744 #line $LINENO "configure"
2747 cat confdefs.h >>conftest.$ac_ext
2748 cat >>conftest.$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2759 rm -f conftest.$ac_objext
2760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2761 (eval $ac_compile) 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); } &&
2765 { ac_try='test -s conftest.$ac_objext'
2766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770 (exit $ac_status); }; }; then
2773 echo "$as_me: failed program was:" >&5
2774 sed 's/^/| /' conftest.$ac_ext >&5
2777 rm -f conftest.$ac_objext conftest.$ac_ext
2780 if test -n "$ac_declaration"; then
2781 echo '#ifdef __cplusplus' >>confdefs.h
2782 echo $ac_declaration >>confdefs.h
2783 echo '#endif' >>confdefs.h
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2791 rm -f conftest.$ac_objext conftest.$ac_ext
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2797 rm -f .deps 2>/dev/null
2798 mkdir .deps 2>/dev/null
2799 if test -d .deps; then
2802 # MS-DOS does not allow filenames that begin with a dot.
2805 rmdir .deps 2>/dev/null
2808 ac_config_commands="$ac_config_commands depfiles"
2811 am_make=${MAKE-make}
2812 cat > confinc << 'END'
2816 # If we don't find an include directive, just comment out the code.
2817 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2818 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2822 # First try GNU make style include.
2823 echo "include confinc" > confmf
2824 # We grep out `Entering directory' and `Leaving directory'
2825 # messages which can occur if `w' ends up in MAKEFLAGS.
2826 # In particular we don't look at `^make:' because GNU make might
2827 # be invoked under some other name (usually "gmake"), in which
2828 # case it prints its new name instead of `make'.
2829 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2834 # Now try BSD make style include.
2835 if test "$am__include" = "#"; then
2836 echo '.include "confinc"' > confmf
2837 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2838 am__include=.include
2845 echo "$as_me:$LINENO: result: $_am_result" >&5
2846 echo "${ECHO_T}$_am_result" >&6
2847 rm -f confinc confmf
2849 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2850 if test "${enable_dependency_tracking+set}" = set; then
2851 enableval="$enable_dependency_tracking"
2854 if test "x$enable_dependency_tracking" != xno; then
2855 am_depcomp="$ac_aux_dir/depcomp"
2860 if test "x$enable_dependency_tracking" != xno; then
2871 depcc="$CC" am_compiler_list=
2873 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2874 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2875 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2876 echo $ECHO_N "(cached) $ECHO_C" >&6
2878 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2879 # We make a subdir and do the tests there. Otherwise we can end up
2880 # making bogus files that we don't know about and never remove. For
2881 # instance it was reported that on HP-UX the gcc test will end up
2882 # making a dummy file named `D' -- because `-MD' means `put the output
2885 # Copy depcomp to subdir because otherwise we won't find it if we're
2886 # using a relative directory.
2887 cp "$am_depcomp" conftest.dir
2890 am_cv_CC_dependencies_compiler_type=none
2891 if test "$am_compiler_list" = ""; then
2892 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2894 for depmode in $am_compiler_list; do
2895 # We need to recreate these files for each test, as the compiler may
2896 # overwrite some of them when testing with obscure command lines.
2897 # This happens at least with the AIX C compiler.
2898 echo '#include "conftest.h"' > conftest.c
2899 echo 'int i;' > conftest.h
2900 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2904 # after this tag, mechanisms are not by side-effect, so they'll
2905 # only be used when explicitly requested
2906 if test "x$enable_dependency_tracking" = xyes; then
2914 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2915 # mode. It turns out that the SunPro C++ compiler does not properly
2916 # handle `-M -o', and we need to detect this.
2917 if depmode=$depmode \
2918 source=conftest.c object=conftest.o \
2919 depfile=conftest.Po tmpdepfile=conftest.TPo \
2920 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2921 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2923 am_cv_CC_dependencies_compiler_type=$depmode
2931 am_cv_CC_dependencies_compiler_type=none
2935 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2936 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2940 # Find a good install program. We prefer a C program (faster),
2941 # so one script is as good as another. But avoid the broken or
2942 # incompatible versions:
2943 # SysV /etc/install, /usr/sbin/install
2944 # SunOS /usr/etc/install
2945 # IRIX /sbin/install
2947 # AmigaOS /C/install, which installs bootblocks on floppy discs
2948 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2949 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2950 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2951 # ./install, which can be erroneously created by make from ./install.sh.
2952 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2953 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2954 if test -z "$INSTALL"; then
2955 if test "${ac_cv_path_install+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962 test -z "$as_dir" && as_dir=.
2963 # Account for people who put trailing slashes in PATH elements.
2965 ./ | .// | /cC/* | \
2966 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2969 # OSF1 and SCO ODT 3.0 have their own names for install.
2970 # Don't use installbsd from OSF since it installs stuff as root
2972 for ac_prog in ginstall scoinst install; do
2973 for ac_exec_ext in '' $ac_executable_extensions; do
2974 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2975 if test $ac_prog = install &&
2976 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2977 # AIX install. It has an incompatible calling convention.
2979 elif test $ac_prog = install &&
2980 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2981 # program-specific install script used by HP pwplus--don't use.
2984 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2996 if test "${ac_cv_path_install+set}" = set; then
2997 INSTALL=$ac_cv_path_install
2999 # As a last resort, use the slow shell script. We don't cache a
3000 # path for INSTALL within a source directory, because that will
3001 # break other packages using the cache if that directory is
3002 # removed, or if the path is relative.
3003 INSTALL=$ac_install_sh
3006 echo "$as_me:$LINENO: result: $INSTALL" >&5
3007 echo "${ECHO_T}$INSTALL" >&6
3009 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3010 # It thinks the first close brace ends the variable substitution.
3011 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3013 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3015 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3018 ac_cpp='$CPP $CPPFLAGS'
3019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3022 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3023 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3024 # On Suns, sometimes $CPP names a directory.
3025 if test -n "$CPP" && test -d "$CPP"; then
3028 if test -z "$CPP"; then
3029 if test "${ac_cv_prog_CPP+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 # Double quotes because CPP needs to be expanded
3033 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3036 for ac_c_preproc_warn_flag in '' yes
3038 # Use a header file that comes with gcc, so configuring glibc
3039 # with a fresh cross-compiler works.
3040 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3041 # <limits.h> exists even on freestanding compilers.
3042 # On the NeXT, cc -E runs the code through the compiler's parser,
3043 # not just through cpp. "Syntax error" is here to catch this case.
3044 cat >conftest.$ac_ext <<_ACEOF
3045 #line $LINENO "configure"
3048 cat confdefs.h >>conftest.$ac_ext
3049 cat >>conftest.$ac_ext <<_ACEOF
3050 /* end confdefs.h. */
3052 # include <limits.h>
3054 # include <assert.h>
3058 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3059 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3061 grep -v '^ *+' conftest.er1 >conftest.err
3063 cat conftest.err >&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } >/dev/null; then
3066 if test -s conftest.err; then
3067 ac_cpp_err=$ac_c_preproc_warn_flag
3074 if test -z "$ac_cpp_err"; then
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3080 # Broken: fails on valid input.
3083 rm -f conftest.err conftest.$ac_ext
3085 # OK, works on sane cases. Now check whether non-existent headers
3086 # can be detected and how.
3087 cat >conftest.$ac_ext <<_ACEOF
3088 #line $LINENO "configure"
3091 cat confdefs.h >>conftest.$ac_ext
3092 cat >>conftest.$ac_ext <<_ACEOF
3093 /* end confdefs.h. */
3094 #include <ac_nonexistent.h>
3096 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3097 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } >/dev/null; then
3104 if test -s conftest.err; then
3105 ac_cpp_err=$ac_c_preproc_warn_flag
3112 if test -z "$ac_cpp_err"; then
3113 # Broken: success on invalid input.
3116 echo "$as_me: failed program was:" >&5
3117 sed 's/^/| /' conftest.$ac_ext >&5
3119 # Passes both tests.
3123 rm -f conftest.err conftest.$ac_ext
3126 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3127 rm -f conftest.err conftest.$ac_ext
3128 if $ac_preproc_ok; then
3140 echo "$as_me:$LINENO: result: $CPP" >&5
3141 echo "${ECHO_T}$CPP" >&6
3143 for ac_c_preproc_warn_flag in '' yes
3145 # Use a header file that comes with gcc, so configuring glibc
3146 # with a fresh cross-compiler works.
3147 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3148 # <limits.h> exists even on freestanding compilers.
3149 # On the NeXT, cc -E runs the code through the compiler's parser,
3150 # not just through cpp. "Syntax error" is here to catch this case.
3151 cat >conftest.$ac_ext <<_ACEOF
3152 #line $LINENO "configure"
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3159 # include <limits.h>
3161 # include <assert.h>
3165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1 >conftest.err
3170 cat conftest.err >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } >/dev/null; then
3173 if test -s conftest.err; then
3174 ac_cpp_err=$ac_c_preproc_warn_flag
3181 if test -z "$ac_cpp_err"; then
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 # Broken: fails on valid input.
3190 rm -f conftest.err conftest.$ac_ext
3192 # OK, works on sane cases. Now check whether non-existent headers
3193 # can be detected and how.
3194 cat >conftest.$ac_ext <<_ACEOF
3195 #line $LINENO "configure"
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3201 #include <ac_nonexistent.h>
3203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev/null; then
3211 if test -s conftest.err; then
3212 ac_cpp_err=$ac_c_preproc_warn_flag
3219 if test -z "$ac_cpp_err"; then
3220 # Broken: success on invalid input.
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 # Passes both tests.
3230 rm -f conftest.err conftest.$ac_ext
3233 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3234 rm -f conftest.err conftest.$ac_ext
3235 if $ac_preproc_ok; then
3238 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3239 See \`config.log' for more details." >&5
3240 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3241 See \`config.log' for more details." >&2;}
3242 { (exit 1); exit 1; }; }
3246 ac_cpp='$CPP $CPPFLAGS'
3247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3251 # Extract the first word of "rm", so it can be a program name with args.
3252 set dummy rm; ac_word=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_path_RM+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3260 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3267 test -z "$as_dir" && as_dir=.
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3270 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3277 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
3283 if test -n "$RM"; then
3284 echo "$as_me:$LINENO: result: $RM" >&5
3285 echo "${ECHO_T}$RM" >&6
3287 echo "$as_me:$LINENO: result: no" >&5
3288 echo "${ECHO_T}no" >&6
3291 # Extract the first word of "mv", so it can be a program name with args.
3292 set dummy mv; ac_word=$2
3293 echo "$as_me:$LINENO: checking for $ac_word" >&5
3294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3295 if test "${ac_cv_path_MV+set}" = set; then
3296 echo $ECHO_N "(cached) $ECHO_C" >&6
3300 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307 test -z "$as_dir" && as_dir=.
3308 for ac_exec_ext in '' $ac_executable_extensions; do
3309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3310 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
3311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3317 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
3323 if test -n "$MV"; then
3324 echo "$as_me:$LINENO: result: $MV" >&5
3325 echo "${ECHO_T}$MV" >&6
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3331 # Extract the first word of "tar", so it can be a program name with args.
3332 set dummy tar; ac_word=$2
3333 echo "$as_me:$LINENO: checking for $ac_word" >&5
3334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3335 if test "${ac_cv_path_TAR+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3347 test -z "$as_dir" && as_dir=.
3348 for ac_exec_ext in '' $ac_executable_extensions; do
3349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3350 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
3351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
3363 if test -n "$TAR"; then
3364 echo "$as_me:$LINENO: result: $TAR" >&5
3365 echo "${ECHO_T}$TAR" >&6
3367 echo "$as_me:$LINENO: result: no" >&5
3368 echo "${ECHO_T}no" >&6
3376 echo "$as_me:$LINENO: checking for ${CC-cc} option to accept ANSI C" >&5
3377 echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
3378 if test "${am_cv_prog_cc_stdc+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 am_cv_prog_cc_stdc=no
3383 # Don't try gcc -ansi; that turns off useful extensions and
3384 # breaks some systems' header files.
3385 # AIX -qlanglvl=ansi
3386 # Ultrix and OSF/1 -std1
3387 # HP-UX 10.20 and later -Ae
3388 # HP-UX older versions -Aa -D_HPUX_SOURCE
3389 # SVR4 -Xc -D__EXTENSIONS__
3390 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3392 CC="$ac_save_CC $ac_arg"
3393 cat >conftest.$ac_ext <<_ACEOF
3394 #line $LINENO "configure"
3397 cat confdefs.h >>conftest.$ac_ext
3398 cat >>conftest.$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3402 #include <sys/types.h>
3403 #include <sys/stat.h>
3404 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3405 struct buf { int x; };
3406 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3407 static char *e (p, i)
3413 static char *f (char * (*g) (char **, int), char **p, ...)
3418 s = g (p, va_arg (v,int));
3422 int test (int i, double x);
3423 struct s1 {int (*f) (int a);};
3424 struct s2 {int (*f) (double a);};
3425 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3433 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3439 rm -f conftest.$ac_objext
3440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3441 (eval $ac_compile) 2>&5
3443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3444 (exit $ac_status); } &&
3445 { ac_try='test -s conftest.$ac_objext'
3446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); }; }; then
3451 am_cv_prog_cc_stdc="$ac_arg"; break
3453 echo "$as_me: failed program was:" >&5
3454 sed 's/^/| /' conftest.$ac_ext >&5
3457 rm -f conftest.$ac_objext conftest.$ac_ext
3463 if test -z "$am_cv_prog_cc_stdc"; then
3464 echo "$as_me:$LINENO: result: none needed" >&5
3465 echo "${ECHO_T}none needed" >&6
3467 echo "$as_me:$LINENO: result: $am_cv_prog_cc_stdc" >&5
3468 echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
3470 case "x$am_cv_prog_cc_stdc" in
3472 *) CC="$CC $am_cv_prog_cc_stdc" ;;
3476 echo "$as_me:$LINENO: checking for egrep" >&5
3477 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3478 if test "${ac_cv_prog_egrep+set}" = set; then
3479 echo $ECHO_N "(cached) $ECHO_C" >&6
3481 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3482 then ac_cv_prog_egrep='grep -E'
3483 else ac_cv_prog_egrep='egrep'
3486 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3487 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3488 EGREP=$ac_cv_prog_egrep
3491 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3501 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3502 inttypes.h stdint.h unistd.h
3504 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3505 echo "$as_me:$LINENO: checking for $ac_header" >&5
3506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 cat >conftest.$ac_ext <<_ACEOF
3511 #line $LINENO "configure"
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3517 $ac_includes_default
3519 #include <$ac_header>
3521 rm -f conftest.$ac_objext
3522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3523 (eval $ac_compile) 2>&5
3525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3526 (exit $ac_status); } &&
3527 { ac_try='test -s conftest.$ac_objext'
3528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); }; }; then
3533 eval "$as_ac_Header=yes"
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.$ac_ext >&5
3538 eval "$as_ac_Header=no"
3540 rm -f conftest.$ac_objext conftest.$ac_ext
3542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3543 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3545 cat >>confdefs.h <<_ACEOF
3546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3556 echo "$as_me:$LINENO: checking for function prototypes" >&5
3557 echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
3558 if test "$am_cv_prog_cc_stdc" != no; then
3559 echo "$as_me:$LINENO: result: yes" >&5
3560 echo "${ECHO_T}yes" >&6
3562 cat >>confdefs.h <<\_ACEOF
3563 #define PROTOTYPES 1
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 U=_ ANSI2KNR=./ansi2knr
3572 # Ensure some checks needed by ansi2knr itself.
3573 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3574 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3575 if test "${ac_cv_header_stdc+set}" = set; then
3576 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 cat >conftest.$ac_ext <<_ACEOF
3579 #line $LINENO "configure"
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3598 rm -f conftest.$ac_objext
3599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3600 (eval $ac_compile) 2>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } &&
3604 { ac_try='test -s conftest.$ac_objext'
3605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); }; }; then
3610 ac_cv_header_stdc=yes
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 ac_cv_header_stdc=no
3617 rm -f conftest.$ac_objext conftest.$ac_ext
3619 if test $ac_cv_header_stdc = yes; then
3620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3621 cat >conftest.$ac_ext <<_ACEOF
3622 #line $LINENO "configure"
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3632 $EGREP "memchr" >/dev/null 2>&1; then
3635 ac_cv_header_stdc=no
3641 if test $ac_cv_header_stdc = yes; then
3642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3643 cat >conftest.$ac_ext <<_ACEOF
3644 #line $LINENO "configure"
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3654 $EGREP "free" >/dev/null 2>&1; then
3657 ac_cv_header_stdc=no
3663 if test $ac_cv_header_stdc = yes; then
3664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3665 if test "$cross_compiling" = yes; then
3668 cat >conftest.$ac_ext <<_ACEOF
3669 #line $LINENO "configure"
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3676 #if ((' ' & 0x0FF) == 0x020)
3677 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3678 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3680 # define ISLOWER(c) \
3681 (('a' <= (c) && (c) <= 'i') \
3682 || ('j' <= (c) && (c) <= 'r') \
3683 || ('s' <= (c) && (c) <= 'z'))
3684 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3687 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3692 for (i = 0; i < 256; i++)
3693 if (XOR (islower (i), ISLOWER (i))
3694 || toupper (i) != TOUPPER (i))
3699 rm -f conftest$ac_exeext
3700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3701 (eval $ac_link) 2>&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3712 echo "$as_me: program exited with status $ac_status" >&5
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.$ac_ext >&5
3717 ac_cv_header_stdc=no
3719 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3723 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3724 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3725 if test $ac_cv_header_stdc = yes; then
3727 cat >>confdefs.h <<\_ACEOF
3728 #define STDC_HEADERS 1
3734 for ac_header in string.h
3736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3738 echo "$as_me:$LINENO: checking for $ac_header" >&5
3739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3741 echo $ECHO_N "(cached) $ECHO_C" >&6
3743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3746 # Is the header compilable?
3747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3749 cat >conftest.$ac_ext <<_ACEOF
3750 #line $LINENO "configure"
3753 cat confdefs.h >>conftest.$ac_ext
3754 cat >>conftest.$ac_ext <<_ACEOF
3755 /* end confdefs.h. */
3756 $ac_includes_default
3757 #include <$ac_header>
3759 rm -f conftest.$ac_objext
3760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3761 (eval $ac_compile) 2>&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); } &&
3765 { ac_try='test -s conftest.$ac_objext'
3766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); }; }; then
3771 ac_header_compiler=yes
3773 echo "$as_me: failed program was:" >&5
3774 sed 's/^/| /' conftest.$ac_ext >&5
3776 ac_header_compiler=no
3778 rm -f conftest.$ac_objext conftest.$ac_ext
3779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3780 echo "${ECHO_T}$ac_header_compiler" >&6
3782 # Is the header present?
3783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3785 cat >conftest.$ac_ext <<_ACEOF
3786 #line $LINENO "configure"
3789 cat confdefs.h >>conftest.$ac_ext
3790 cat >>conftest.$ac_ext <<_ACEOF
3791 /* end confdefs.h. */
3792 #include <$ac_header>
3794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3797 grep -v '^ *+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null; then
3802 if test -s conftest.err; then
3803 ac_cpp_err=$ac_c_preproc_warn_flag
3810 if test -z "$ac_cpp_err"; then
3811 ac_header_preproc=yes
3813 echo "$as_me: failed program was:" >&5
3814 sed 's/^/| /' conftest.$ac_ext >&5
3816 ac_header_preproc=no
3818 rm -f conftest.err conftest.$ac_ext
3819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3820 echo "${ECHO_T}$ac_header_preproc" >&6
3822 # So? What about this header?
3823 case $ac_header_compiler:$ac_header_preproc in
3825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3831 ## ------------------------------------ ##
3832 ## Report this to bug-autoconf@gnu.org. ##
3833 ## ------------------------------------ ##
3836 sed "s/^/$as_me: WARNING: /" >&2
3839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3847 ## ------------------------------------ ##
3848 ## Report this to bug-autoconf@gnu.org. ##
3849 ## ------------------------------------ ##
3852 sed "s/^/$as_me: WARNING: /" >&2
3855 echo "$as_me:$LINENO: checking for $ac_header" >&5
3856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3858 echo $ECHO_N "(cached) $ECHO_C" >&6
3860 eval "$as_ac_Header=$ac_header_preproc"
3862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3867 cat >>confdefs.h <<_ACEOF
3868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3876 test "x$U" != "x" && { { echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
3877 echo "$as_me: error: Compiler not ANSI compliant" >&2;}
3878 { (exit 1); exit 1; }; }
3880 # Check whether --enable-shared or --disable-shared was given.
3881 if test "${enable_shared+set}" = set; then
3882 enableval="$enable_shared"
3883 p=${PACKAGE-default}
3885 yes) enable_shared=yes ;;
3886 no) enable_shared=no ;;
3889 # Look at the argument we got. We use all the common list separators.
3890 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3891 for pkg in $enableval; do
3892 if test "X$pkg" = "X$p"; then
3902 # Check whether --enable-static or --disable-static was given.
3903 if test "${enable_static+set}" = set; then
3904 enableval="$enable_static"
3905 p=${PACKAGE-default}
3907 yes) enable_static=yes ;;
3908 no) enable_static=no ;;
3911 # Look at the argument we got. We use all the common list separators.
3912 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3913 for pkg in $enableval; do
3914 if test "X$pkg" = "X$p"; then
3924 # Check whether --enable-fast-install or --disable-fast-install was given.
3925 if test "${enable_fast_install+set}" = set; then
3926 enableval="$enable_fast_install"
3927 p=${PACKAGE-default}
3929 yes) enable_fast_install=yes ;;
3930 no) enable_fast_install=no ;;
3932 enable_fast_install=no
3933 # Look at the argument we got. We use all the common list separators.
3934 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3935 for pkg in $enableval; do
3936 if test "X$pkg" = "X$p"; then
3937 enable_fast_install=yes
3944 enable_fast_install=yes
3946 # Find the correct PATH separator. Usually this is `:', but
3947 # DJGPP uses `;' like DOS.
3948 if test "X${PATH_SEPARATOR+set}" != Xset; then
3949 UNAME=${UNAME-`uname 2>/dev/null`}
3951 *-DOS) lt_cv_sys_path_separator=';' ;;
3952 *) lt_cv_sys_path_separator=':' ;;
3954 PATH_SEPARATOR=$lt_cv_sys_path_separator
3958 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3959 if test "${with_gnu_ld+set}" = set; then
3960 withval="$with_gnu_ld"
3961 test "$withval" = no || with_gnu_ld=yes
3966 if test "$GCC" = yes; then
3967 # Check if gcc -print-prog-name=ld gives a path.
3968 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3969 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3972 # gcc leaves a trailing carriage return which upsets mingw
3973 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3975 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3978 # Accept absolute paths.
3979 [\\/]* | [A-Za-z]:[\\/]*)
3980 re_direlt='/[^/][^/]*/\.\./'
3981 # Canonicalize the path of ld
3982 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3983 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3984 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3986 test -z "$LD" && LD="$ac_prog"
3989 # If it fails, then pretend we aren't using GCC.
3993 # If it is relative, then search for the first ld in PATH.
3997 elif test "$with_gnu_ld" = yes; then
3998 echo "$as_me:$LINENO: checking for GNU ld" >&5
3999 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4001 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4002 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4004 if test "${lt_cv_path_LD+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 if test -z "$LD"; then
4008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4009 for ac_dir in $PATH; do
4010 test -z "$ac_dir" && ac_dir=.
4011 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4012 lt_cv_path_LD="$ac_dir/$ac_prog"
4013 # Check to see if the program is GNU ld. I'd rather use --version,
4014 # but apparently some GNU ld's only accept -v.
4015 # Break only if it was the GNU/non-GNU ld that we prefer.
4016 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
4017 test "$with_gnu_ld" != no && break
4019 test "$with_gnu_ld" != yes && break
4025 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4030 if test -n "$LD"; then
4031 echo "$as_me:$LINENO: result: $LD" >&5
4032 echo "${ECHO_T}$LD" >&6
4034 echo "$as_me:$LINENO: result: no" >&5
4035 echo "${ECHO_T}no" >&6
4037 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4038 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4039 { (exit 1); exit 1; }; }
4040 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4041 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4042 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4046 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
4047 lt_cv_prog_gnu_ld=yes
4049 lt_cv_prog_gnu_ld=no
4052 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4053 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4054 with_gnu_ld=$lt_cv_prog_gnu_ld
4057 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4058 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4059 if test "${lt_cv_ld_reload_flag+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 lt_cv_ld_reload_flag='-r'
4064 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4065 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4066 reload_flag=$lt_cv_ld_reload_flag
4067 test -n "$reload_flag" && reload_flag=" $reload_flag"
4069 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4070 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4071 if test "${lt_cv_path_NM+set}" = set; then
4072 echo $ECHO_N "(cached) $ECHO_C" >&6
4074 if test -n "$NM"; then
4075 # Let the user override the test.
4078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4079 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4080 test -z "$ac_dir" && ac_dir=.
4081 tmp_nm=$ac_dir/${ac_tool_prefix}nm
4082 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
4083 # Check to see if the nm accepts a BSD-compat flag.
4084 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4085 # nm: unknown option "B" ignored
4086 # Tru64's nm complains that /dev/null is an invalid object file
4087 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
4088 lt_cv_path_NM="$tmp_nm -B"
4090 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
4091 lt_cv_path_NM="$tmp_nm -p"
4094 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4095 continue # so that we can try to find one that supports BSD flags
4100 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4105 echo "$as_me:$LINENO: result: $NM" >&5
4106 echo "${ECHO_T}$NM" >&6
4108 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4109 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4110 if test "${lt_cv_path_SED+set}" = set; then
4111 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 # Loop through the user's path and test for sed and gsed.
4114 # Then use that list of sed's as ones to test for truncation.
4115 as_executable_p="test -f"
4116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120 test -z "$as_dir" && as_dir=.
4121 for ac_prog in sed gsed; do
4122 for ac_exec_ext in '' $ac_executable_extensions; do
4123 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4124 _sed_list="$_sed_list $as_dir/$ac_prog$ac_exec_ext"
4130 # Create a temporary directory, and hook for its removal unless debugging.
4133 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4134 trap '{ (exit 1); exit 1; }' 1 2 13 15
4137 # Create a (secure) tmp directory for tmp files.
4140 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/sedXXXXXX") 2>/dev/null` &&
4141 test -n "$tmp" && test -d "$tmp"
4144 tmp=$TMPDIR/sed$$-$RANDOM
4145 (umask 077 && mkdir $tmp)
4148 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4149 { (exit 1); exit 1; }
4153 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4154 # along with /bin/sed that truncates output.
4155 for _sed in $_sed_list /usr/xpg4/bin/sed; do
4156 test ! -f ${_sed} && break
4157 cat /dev/null > "$tmp/sed.in"
4159 echo ${ECHO_N-$ac_n} "0123456789${ECHO_C-$ac_c}" >"$tmp/sed.in"
4160 # Check for GNU sed and select it if it is found.
4161 if "${_sed}" --version 2>&1 < /dev/null | egrep '(GNU)' > /dev/null; then
4162 lt_cv_path_SED=${_sed}
4166 cat "$tmp/sed.in" "$tmp/sed.in" >"$tmp/sed.tmp"
4167 mv "$tmp/sed.tmp" "$tmp/sed.in"
4168 cp "$tmp/sed.in" "$tmp/sed.nl"
4169 echo >>"$tmp/sed.nl"
4170 ${_sed} -e 's/a$//' < "$tmp/sed.nl" >"$tmp/sed.out" || break
4171 cmp -s "$tmp/sed.out" "$tmp/sed.nl" || break
4172 # 40000 chars as input seems more than enough
4173 test $_count -gt 10 && break
4174 _count=`expr $_count + 1`
4175 if test $_count -gt $_max; then
4177 lt_cv_path_SED=$_sed
4185 if test "X$SED" != "X"; then
4190 echo "$as_me:$LINENO: result: $SED" >&5
4191 echo "${ECHO_T}$SED" >&6
4193 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4194 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4196 if test "$LN_S" = "ln -s"; then
4197 echo "$as_me:$LINENO: result: yes" >&5
4198 echo "${ECHO_T}yes" >&6
4200 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4201 echo "${ECHO_T}no, using $LN_S" >&6
4204 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4205 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4206 if test "${lt_cv_deplibs_check_method+set}" = set; then
4207 echo $ECHO_N "(cached) $ECHO_C" >&6
4209 lt_cv_file_magic_cmd='$MAGIC_CMD'
4210 lt_cv_file_magic_test_file=
4211 lt_cv_deplibs_check_method='unknown'
4212 # Need to set the preceding variable on all platforms that support
4213 # interlibrary dependencies.
4214 # 'none' -- dependencies not supported.
4215 # `unknown' -- same as none, but documents that we really don't know.
4216 # 'pass_all' -- all dependencies passed with no checks.
4217 # 'test_compile' -- check by making test program.
4218 # 'file_magic [[regex]]' -- check by looking for files in library path
4219 # which responds to the $file_magic_cmd with a given egrep regex.
4220 # If you have `file' or equivalent on your system and you're not sure
4221 # whether `pass_all' will *always* work, you probably want this one.
4225 lt_cv_deplibs_check_method=pass_all
4229 lt_cv_deplibs_check_method=pass_all
4233 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4234 lt_cv_file_magic_cmd='/usr/bin/file -L'
4235 lt_cv_file_magic_test_file=/shlib/libc.so
4238 cygwin* | mingw* | pw32*)
4239 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4240 lt_cv_file_magic_cmd='$OBJDUMP -f'
4243 darwin* | rhapsody*)
4244 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4245 lt_cv_file_magic_cmd='/usr/bin/file -L'
4247 rhapsody* | darwin1.[012])
4248 lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1`
4251 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4257 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4260 # Not sure whether the presence of OpenBSD here was a mistake.
4261 # Let's accept both of them until this is cleared up.
4262 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4263 lt_cv_file_magic_cmd=/usr/bin/file
4264 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4268 lt_cv_deplibs_check_method=pass_all
4273 lt_cv_deplibs_check_method=pass_all
4277 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4278 lt_cv_file_magic_cmd=/usr/bin/file
4279 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4282 irix5* | irix6* | nonstopux*)
4284 irix5* | nonstopux*)
4285 # this will be overridden with pass_all, but let us keep it just in case
4286 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4290 *-32|*"-32 ") libmagic=32-bit;;
4291 *-n32|*"-n32 ") libmagic=N32;;
4292 *-64|*"-64 ") libmagic=64-bit;;
4293 *) libmagic=never-match;;
4295 # this will be overridden with pass_all, but let us keep it just in case
4296 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4299 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4300 lt_cv_deplibs_check_method=pass_all
4303 # This must be Linux ELF.
4306 alpha* | hppa* | i*86 | mips | mipsel | powerpc* | sparc* | ia64* | s390* | x86_64*)
4307 lt_cv_deplibs_check_method=pass_all ;;
4309 # glibc up to 2.1.1 does not perform some relocations on ARM
4310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4312 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4316 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4317 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4319 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4325 lt_cv_file_magic_cmd=/usr/bin/file
4326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4330 lt_cv_file_magic_cmd=/usr/bin/file
4331 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4332 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4335 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4339 osf3* | osf4* | osf5*)
4340 # this will be overridden with pass_all, but let us keep it just in case
4341 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4342 lt_cv_file_magic_test_file=/shlib/libc.so
4343 lt_cv_deplibs_check_method=pass_all
4347 lt_cv_deplibs_check_method=pass_all
4351 lt_cv_deplibs_check_method=pass_all
4352 lt_cv_file_magic_test_file=/lib/libc.so
4355 sysv5uw[78]* | sysv4*uw2*)
4356 lt_cv_deplibs_check_method=pass_all
4359 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4360 case $host_vendor in
4362 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4363 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4366 lt_cv_deplibs_check_method=pass_all
4369 lt_cv_file_magic_cmd='/bin/file'
4370 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4373 lt_cv_file_magic_cmd='/bin/file'
4374 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4375 lt_cv_file_magic_test_file=/lib/libc.so
4378 lt_cv_deplibs_check_method=pass_all
4385 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4386 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4387 file_magic_cmd=$lt_cv_file_magic_cmd
4388 deplibs_check_method=$lt_cv_deplibs_check_method
4396 # Check for command to grab the raw symbol name followed by C symbol from nm.
4397 echo "$as_me:$LINENO: checking command to parse $NM output" >&5
4398 echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
4399 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 # These are sane defaults that work on at least a few old systems.
4404 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
4406 # Character class describing NM global symbol codes.
4407 symcode='[BCDEGRST]'
4409 # Regexp to match symbols that can be accessed directly from C.
4410 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4412 # Transform the above into a raw symbol and a C symbol.
4413 symxfrm='\1 \2\3 \3'
4415 # Transform an extracted symbol line into a proper C declaration
4416 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4418 # Transform an extracted symbol line into symbol name and symbol address
4419 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4421 # Define system-specific variables.
4426 cygwin* | mingw* | pw32*)
4427 symcode='[ABCDGISTW]'
4429 hpux*) # Its linker distinguishes data from code symbols
4430 lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
4431 lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
4434 symcode='[BCDEGRST]'
4437 symcode='[BCDEGQRST]'
4447 # Handle CRLF in mingw tool chain
4451 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
4455 # If we're using GNU nm, then use its standard symbol codes.
4456 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4457 symcode='[ABCDGISTW]'
4460 # Try without a prefix undercore, then with it.
4461 for ac_symprfx in "" "_"; do
4463 # Write the raw and C identifiers.
4464 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
4466 # Check to see that the pipe works correctly.
4469 cat > conftest.$ac_ext <<EOF
4474 void nm_test_func(){}
4478 int main(){nm_test_var='a';nm_test_func();return(0);}
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); }; then
4486 # Now try to grab the symbols.
4488 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
4489 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); } && test -s "$nlist"; then
4493 # Try sorting and uniquifying the output.
4494 if sort "$nlist" | uniq > "$nlist"T; then
4495 mv -f "$nlist"T "$nlist"
4500 # Make sure that we snagged all the symbols we need.
4501 if egrep ' nm_test_var$' "$nlist" >/dev/null; then
4502 if egrep ' nm_test_func$' "$nlist" >/dev/null; then
4503 cat <<EOF > conftest.$ac_ext
4509 # Now generate the symbol file.
4510 eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'
4512 cat <<EOF >> conftest.$ac_ext
4513 #if defined (__STDC__) && __STDC__
4514 # define lt_ptr void *
4516 # define lt_ptr char *
4520 /* The mapping between symbol names and symbols. */
4525 lt_preloaded_symbols[] =
4528 sed "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext
4529 cat <<\EOF >> conftest.$ac_ext
4537 # Now try linking the two files.
4538 mv conftest.$ac_objext conftstm.$ac_objext
4540 save_CFLAGS="$CFLAGS"
4541 LIBS="conftstm.$ac_objext"
4542 CFLAGS="$CFLAGS$no_builtin_flag"
4543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4544 (eval $ac_link) 2>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } && test -s conftest$ac_exeext; then
4551 CFLAGS="$save_CFLAGS"
4553 echo "cannot find nm_test_func in $nlist" >&5
4556 echo "cannot find nm_test_var in $nlist" >&5
4559 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
4562 echo "$progname: failed program was:" >&5
4563 cat conftest.$ac_ext >&5
4565 rm -f conftest* conftst*
4567 # Do not use the global_symbol_pipe unless it works.
4568 if test "$pipe_works" = yes; then
4571 lt_cv_sys_global_symbol_pipe=
4577 global_symbol_pipe="$lt_cv_sys_global_symbol_pipe"
4578 if test -z "$lt_cv_sys_global_symbol_pipe"; then
4579 global_symbol_to_cdecl=
4580 global_symbol_to_c_name_address=
4582 global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl"
4583 global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address"
4585 if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address";
4587 echo "$as_me:$LINENO: result: failed" >&5
4588 echo "${ECHO_T}failed" >&6
4590 echo "$as_me:$LINENO: result: ok" >&5
4591 echo "${ECHO_T}ok" >&6
4595 for ac_header in dlfcn.h
4597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4599 echo "$as_me:$LINENO: checking for $ac_header" >&5
4600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4602 echo $ECHO_N "(cached) $ECHO_C" >&6
4604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4607 # Is the header compilable?
4608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4610 cat >conftest.$ac_ext <<_ACEOF
4611 #line $LINENO "configure"
4614 cat confdefs.h >>conftest.$ac_ext
4615 cat >>conftest.$ac_ext <<_ACEOF
4616 /* end confdefs.h. */
4617 $ac_includes_default
4618 #include <$ac_header>
4620 rm -f conftest.$ac_objext
4621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>&5
4624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4625 (exit $ac_status); } &&
4626 { ac_try='test -s conftest.$ac_objext'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; }; then
4632 ac_header_compiler=yes
4634 echo "$as_me: failed program was:" >&5
4635 sed 's/^/| /' conftest.$ac_ext >&5
4637 ac_header_compiler=no
4639 rm -f conftest.$ac_objext conftest.$ac_ext
4640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4641 echo "${ECHO_T}$ac_header_compiler" >&6
4643 # Is the header present?
4644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4647 #line $LINENO "configure"
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4653 #include <$ac_header>
4655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4658 grep -v '^ *+' conftest.er1 >conftest.err
4660 cat conftest.err >&5
4661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4662 (exit $ac_status); } >/dev/null; then
4663 if test -s conftest.err; then
4664 ac_cpp_err=$ac_c_preproc_warn_flag
4671 if test -z "$ac_cpp_err"; then
4672 ac_header_preproc=yes
4674 echo "$as_me: failed program was:" >&5
4675 sed 's/^/| /' conftest.$ac_ext >&5
4677 ac_header_preproc=no
4679 rm -f conftest.err conftest.$ac_ext
4680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4681 echo "${ECHO_T}$ac_header_preproc" >&6
4683 # So? What about this header?
4684 case $ac_header_compiler:$ac_header_preproc in
4686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4689 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4692 ## ------------------------------------ ##
4693 ## Report this to bug-autoconf@gnu.org. ##
4694 ## ------------------------------------ ##
4697 sed "s/^/$as_me: WARNING: /" >&2
4700 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4701 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4702 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4703 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4708 ## ------------------------------------ ##
4709 ## Report this to bug-autoconf@gnu.org. ##
4710 ## ------------------------------------ ##
4713 sed "s/^/$as_me: WARNING: /" >&2
4716 echo "$as_me:$LINENO: checking for $ac_header" >&5
4717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 eval "$as_ac_Header=$ac_header_preproc"
4723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4728 cat >>confdefs.h <<_ACEOF
4729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4741 # Only perform the check for file, if the check method requires it
4742 case $deplibs_check_method in
4744 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4745 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4746 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4747 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4755 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4758 ac_save_MAGIC_CMD="$MAGIC_CMD"
4759 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4760 ac_dummy="/usr/bin:$PATH"
4761 for ac_dir in $ac_dummy; do
4762 test -z "$ac_dir" && ac_dir=.
4763 if test -f $ac_dir/${ac_tool_prefix}file; then
4764 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4765 if test -n "$file_magic_test_file"; then
4766 case $deplibs_check_method in
4768 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4769 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4770 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4771 egrep "$file_magic_regex" > /dev/null; then
4776 *** Warning: the command libtool uses to detect shared libraries,
4777 *** $file_magic_cmd, produces output that libtool cannot recognize.
4778 *** The result is that libtool may fail to recognize shared libraries
4779 *** as such. This will affect the creation of libtool libraries that
4780 *** depend on shared libraries, but programs linked with such libtool
4781 *** libraries will work regardless of this problem. Nevertheless, you
4782 *** may want to report the problem to your system manager and/or to
4783 *** bug-libtool@gnu.org
4793 MAGIC_CMD="$ac_save_MAGIC_CMD"
4798 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4799 if test -n "$MAGIC_CMD"; then
4800 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4801 echo "${ECHO_T}$MAGIC_CMD" >&6
4803 echo "$as_me:$LINENO: result: no" >&5
4804 echo "${ECHO_T}no" >&6
4807 if test -z "$lt_cv_path_MAGIC_CMD"; then
4808 if test -n "$ac_tool_prefix"; then
4809 echo "$as_me:$LINENO: checking for file" >&5
4810 echo $ECHO_N "checking for file... $ECHO_C" >&6
4811 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4812 echo $ECHO_N "(cached) $ECHO_C" >&6
4816 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4819 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4822 ac_save_MAGIC_CMD="$MAGIC_CMD"
4823 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4824 ac_dummy="/usr/bin:$PATH"
4825 for ac_dir in $ac_dummy; do
4826 test -z "$ac_dir" && ac_dir=.
4827 if test -f $ac_dir/file; then
4828 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4829 if test -n "$file_magic_test_file"; then
4830 case $deplibs_check_method in
4832 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4833 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4834 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4835 egrep "$file_magic_regex" > /dev/null; then
4840 *** Warning: the command libtool uses to detect shared libraries,
4841 *** $file_magic_cmd, produces output that libtool cannot recognize.
4842 *** The result is that libtool may fail to recognize shared libraries
4843 *** as such. This will affect the creation of libtool libraries that
4844 *** depend on shared libraries, but programs linked with such libtool
4845 *** libraries will work regardless of this problem. Nevertheless, you
4846 *** may want to report the problem to your system manager and/or to
4847 *** bug-libtool@gnu.org
4857 MAGIC_CMD="$ac_save_MAGIC_CMD"
4862 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4863 if test -n "$MAGIC_CMD"; then
4864 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4865 echo "${ECHO_T}$MAGIC_CMD" >&6
4867 echo "$as_me:$LINENO: result: no" >&5
4868 echo "${ECHO_T}no" >&6
4880 if test -n "$ac_tool_prefix"; then
4881 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4882 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4883 echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4885 if test "${ac_cv_prog_RANLIB+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 if test -n "$RANLIB"; then
4889 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir=.
4896 for ac_exec_ext in '' $ac_executable_extensions; do
4897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4907 RANLIB=$ac_cv_prog_RANLIB
4908 if test -n "$RANLIB"; then
4909 echo "$as_me:$LINENO: result: $RANLIB" >&5
4910 echo "${ECHO_T}$RANLIB" >&6
4912 echo "$as_me:$LINENO: result: no" >&5
4913 echo "${ECHO_T}no" >&6
4917 if test -z "$ac_cv_prog_RANLIB"; then
4918 ac_ct_RANLIB=$RANLIB
4919 # Extract the first word of "ranlib", so it can be a program name with args.
4920 set dummy ranlib; ac_word=$2
4921 echo "$as_me:$LINENO: checking for $ac_word" >&5
4922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4923 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 if test -n "$ac_ct_RANLIB"; then
4927 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir=.
4934 for ac_exec_ext in '' $ac_executable_extensions; do
4935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4936 ac_cv_prog_ac_ct_RANLIB="ranlib"
4937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4946 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4947 if test -n "$ac_ct_RANLIB"; then
4948 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4949 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4951 echo "$as_me:$LINENO: result: no" >&5
4952 echo "${ECHO_T}no" >&6
4955 RANLIB=$ac_ct_RANLIB
4957 RANLIB="$ac_cv_prog_RANLIB"
4960 if test -n "$ac_tool_prefix"; then
4961 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4962 set dummy ${ac_tool_prefix}strip; ac_word=$2
4963 echo "$as_me:$LINENO: checking for $ac_word" >&5
4964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4965 if test "${ac_cv_prog_STRIP+set}" = set; then
4966 echo $ECHO_N "(cached) $ECHO_C" >&6
4968 if test -n "$STRIP"; then
4969 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir=.
4976 for ac_exec_ext in '' $ac_executable_extensions; do
4977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4978 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4987 STRIP=$ac_cv_prog_STRIP
4988 if test -n "$STRIP"; then
4989 echo "$as_me:$LINENO: result: $STRIP" >&5
4990 echo "${ECHO_T}$STRIP" >&6
4992 echo "$as_me:$LINENO: result: no" >&5
4993 echo "${ECHO_T}no" >&6
4997 if test -z "$ac_cv_prog_STRIP"; then
4999 # Extract the first word of "strip", so it can be a program name with args.
5000 set dummy strip; ac_word=$2
5001 echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5003 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 if test -n "$ac_ct_STRIP"; then
5007 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_ac_ct_STRIP="strip"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5023 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5026 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5027 if test -n "$ac_ct_STRIP"; then
5028 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5029 echo "${ECHO_T}$ac_ct_STRIP" >&6
5031 echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6
5037 STRIP="$ac_cv_prog_STRIP"
5044 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5045 if test "${enable_libtool_lock+set}" = set; then
5046 enableval="$enable_libtool_lock"
5049 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5051 # Some flags need to be propagated to the compiler or linker for good
5055 # Find out which ABI we are using.
5056 echo '#line 5056 "configure"' > conftest.$ac_ext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058 (eval $ac_compile) 2>&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; then
5062 case `/usr/bin/file conftest.$ac_objext` in
5078 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5079 SAVE_CFLAGS="$CFLAGS"
5080 CFLAGS="$CFLAGS -belf"
5081 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5082 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5083 if test "${lt_cv_cc_needs_belf+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 ac_cpp='$CPP $CPPFLAGS'
5090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5094 cat >conftest.$ac_ext <<_ACEOF
5095 #line $LINENO "configure"
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h. */
5110 rm -f conftest.$ac_objext conftest$ac_exeext
5111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5112 (eval $ac_link) 2>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); } &&
5116 { ac_try='test -s conftest$ac_exeext'
5117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); }; }; then
5122 lt_cv_cc_needs_belf=yes
5124 echo "$as_me: failed program was:" >&5
5125 sed 's/^/| /' conftest.$ac_ext >&5
5127 lt_cv_cc_needs_belf=no
5129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5131 ac_cpp='$CPP $CPPFLAGS'
5132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5137 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5138 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5139 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5140 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5141 CFLAGS="$SAVE_CFLAGS"
5148 # Sed substitution that helps us do robust quoting. It backslashifies
5149 # metacharacters that are still active within double-quoted strings.
5150 Xsed='sed -e s/^X//'
5151 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5153 # Same as above, but do not quote variable references.
5154 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5156 # Sed substitution to delay expansion of an escaped shell variable in a
5157 # double_quote_subst'ed string.
5158 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5164 default_ofile=libtool
5165 can_build_shared=yes
5167 # All known linkers require a `.a' archive for static linking (except M$VC,
5168 # which needs '.lib').
5170 ltmain="$ac_aux_dir/ltmain.sh"
5171 ofile="$default_ofile"
5172 with_gnu_ld="$lt_cv_prog_gnu_ld"
5173 need_locks="$enable_libtool_lock"
5176 old_CFLAGS="$CFLAGS"
5178 # Set sane defaults for various variables
5179 test -z "$AR" && AR=ar
5180 test -z "$AR_FLAGS" && AR_FLAGS=cru
5181 test -z "$AS" && AS=as
5182 test -z "$CC" && CC=cc
5183 test -z "$DLLTOOL" && DLLTOOL=dlltool
5184 test -z "$LD" && LD=ld
5185 test -z "$LN_S" && LN_S="ln -s"
5186 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5187 test -z "$NM" && NM=nm
5188 test -z "$OBJDUMP" && OBJDUMP=objdump
5189 test -z "$RANLIB" && RANLIB=:
5190 test -z "$STRIP" && STRIP=:
5191 test -z "$ac_objext" && ac_objext=o
5193 if test x"$host" != x"$build"; then
5194 ac_tool_prefix=${host_alias}-
5199 # Transform linux* to *-*-linux-gnu*, to support old configure scripts.
5202 linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'`
5207 # AIX sometimes has problems with the GCC collect2 program. For some
5208 # reason, if we set the COLLECT_NAMES environment variable, the problems
5209 # vanish in a puff of smoke.
5210 if test "X${COLLECT_NAMES+set}" != Xset; then
5212 export COLLECT_NAMES
5217 # Determine commands to create old-style static archives.
5218 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5219 old_postinstall_cmds='chmod 644 $oldlib'
5220 old_postuninstall_cmds=
5222 if test -n "$RANLIB"; then
5225 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5228 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5231 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5234 # Allow CC to be a program name with arguments.
5238 echo "$as_me:$LINENO: checking for objdir" >&5
5239 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5240 rm -f .libs 2>/dev/null
5241 mkdir .libs 2>/dev/null
5242 if test -d .libs; then
5245 # MS-DOS does not allow filenames that begin with a dot.
5248 rmdir .libs 2>/dev/null
5249 echo "$as_me:$LINENO: result: $objdir" >&5
5250 echo "${ECHO_T}$objdir" >&6
5254 # Check whether --with-pic or --without-pic was given.
5255 if test "${with_pic+set}" = set; then
5261 test -z "$pic_mode" && pic_mode=default
5263 # We assume here that the value for lt_cv_prog_cc_pic will not be cached
5264 # in isolation, and that seeing it set (from the cache) indicates that
5265 # the associated values are set (in the cache) correctly too.
5266 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
5267 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
5268 if test "${lt_cv_prog_cc_pic+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5272 lt_cv_prog_cc_shlib=
5274 lt_cv_prog_cc_static=
5275 lt_cv_prog_cc_no_builtin=
5276 lt_cv_prog_cc_can_build_shared=$can_build_shared
5278 if test "$GCC" = yes; then
5279 lt_cv_prog_cc_wl='-Wl,'
5280 lt_cv_prog_cc_static='-static'
5284 # Below there is a dirty hack to force normal static linking with -ldl
5285 # The problem is because libdl dynamically linked with both libc and
5286 # libC (AIX C++ library), which obviously doesn't included in libraries
5287 # list by gcc. This cause undefined symbols with -static flags.
5288 # This hack allows C programs to be linked with "-static -ldl", but
5289 # not sure about C++ programs.
5290 lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC"
5293 # FIXME: we need at least 68020 code to build shared libraries, but
5294 # adding the `-m68020' flag to GCC prevents building anything better,
5296 lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
5298 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
5299 # PIC is the default for these OSes.
5301 darwin* | rhapsody*)
5302 # PIC is the default on this platform
5303 # Common symbols not allowed in MH_DYLIB files
5304 lt_cv_prog_cc_pic='-fno-common'
5306 cygwin* | mingw* | pw32* | os2*)
5307 # This hack is so that the source file can tell whether it is being
5308 # built for inclusion in a dll (and should export symbols for example).
5309 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5312 if test -d /usr/nec; then
5313 lt_cv_prog_cc_pic=-Kconform_pic
5317 lt_cv_prog_cc_pic='-fPIC'
5321 # PORTME Check for PIC flags for the system compiler.
5323 aix3* | aix4* | aix5*)
5324 lt_cv_prog_cc_wl='-Wl,'
5325 # All AIX code is PIC.
5326 if test "$host_cpu" = ia64; then
5327 # AIX 5 now supports IA64 processor
5328 lt_cv_prog_cc_static='-Bstatic'
5330 lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp'
5334 hpux9* | hpux10* | hpux11*)
5335 # Is there a better lt_cv_prog_cc_static that works with the bundled CC?
5336 lt_cv_prog_cc_wl='-Wl,'
5337 lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive"
5338 lt_cv_prog_cc_pic='+Z'
5341 irix5* | irix6* | nonstopux*)
5342 lt_cv_prog_cc_wl='-Wl,'
5343 lt_cv_prog_cc_static='-non_shared'
5344 # PIC (with -KPIC) is the default.
5347 cygwin* | mingw* | pw32* | os2*)
5348 # This hack is so that the source file can tell whether it is being
5349 # built for inclusion in a dll (and should export symbols for example).
5350 lt_cv_prog_cc_pic='-DDLL_EXPORT'
5354 lt_cv_prog_cc_pic='-KPIC'
5355 lt_cv_prog_cc_static='-Bstatic'
5358 osf3* | osf4* | osf5*)
5359 # All OSF/1 code is PIC.
5360 lt_cv_prog_cc_wl='-Wl,'
5361 lt_cv_prog_cc_static='-non_shared'
5365 lt_cv_prog_cc_pic='-Kpic'
5366 lt_cv_prog_cc_static='-dn'
5367 lt_cv_prog_cc_shlib='-belf'
5371 lt_cv_prog_cc_pic='-KPIC'
5372 lt_cv_prog_cc_static='-Bstatic'
5373 lt_cv_prog_cc_wl='-Wl,'
5377 lt_cv_prog_cc_pic='-PIC'
5378 lt_cv_prog_cc_static='-Bstatic'
5379 lt_cv_prog_cc_wl='-Qoption ld '
5382 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
5383 lt_cv_prog_cc_pic='-KPIC'
5384 lt_cv_prog_cc_static='-Bstatic'
5385 lt_cv_prog_cc_wl='-Wl,'
5389 lt_cv_prog_cc_pic='-pic'
5390 lt_cv_prog_cc_static='-Bstatic'
5394 if test -d /usr/nec ;then
5395 lt_cv_prog_cc_pic='-Kconform_pic'
5396 lt_cv_prog_cc_static='-Bstatic'
5401 lt_cv_prog_cc_can_build_shared=no
5408 if test -z "$lt_cv_prog_cc_pic"; then
5409 echo "$as_me:$LINENO: result: none" >&5
5410 echo "${ECHO_T}none" >&6
5412 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5
5413 echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6
5415 # Check to make sure the pic_flag actually works.
5416 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5
5417 echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
5418 if test "${lt_cv_prog_cc_pic_works+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5421 save_CFLAGS="$CFLAGS"
5422 CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
5423 cat >conftest.$ac_ext <<_ACEOF
5424 #line $LINENO "configure"
5427 cat confdefs.h >>conftest.$ac_ext
5428 cat >>conftest.$ac_ext <<_ACEOF
5429 /* end confdefs.h. */
5439 rm -f conftest.$ac_objext
5440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5441 (eval $ac_compile) 2>&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); } &&
5445 { ac_try='test -s conftest.$ac_objext'
5446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); }; }; then
5452 hpux9* | hpux10* | hpux11*)
5453 # On HP-UX, both CC and GCC only warn that PIC is supported... then
5454 # they create non-PIC objects. So, if there were any warnings, we
5455 # assume that PIC is not supported.
5456 if test -s conftest.err; then
5457 lt_cv_prog_cc_pic_works=no
5459 lt_cv_prog_cc_pic_works=yes
5463 lt_cv_prog_cc_pic_works=yes
5468 echo "$as_me: failed program was:" >&5
5469 sed 's/^/| /' conftest.$ac_ext >&5
5471 lt_cv_prog_cc_pic_works=no
5474 rm -f conftest.$ac_objext conftest.$ac_ext
5475 CFLAGS="$save_CFLAGS"
5480 if test "X$lt_cv_prog_cc_pic_works" = Xno; then
5482 lt_cv_prog_cc_can_build_shared=no
5484 lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic"
5487 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5
5488 echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6
5491 # Check for any special shared library compilation flags.
5492 if test -n "$lt_cv_prog_cc_shlib"; then
5493 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5
5494 echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;}
5495 if echo "$old_CC $old_CFLAGS " | egrep -e "[ ]$lt_cv_prog_cc_shlib[ ]" >/dev/null; then :
5497 { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
5498 echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
5499 lt_cv_prog_cc_can_build_shared=no
5503 echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5
5504 echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6
5505 if test "${lt_cv_prog_cc_static_works+set}" = set; then
5506 echo $ECHO_N "(cached) $ECHO_C" >&6
5508 lt_cv_prog_cc_static_works=no
5509 save_LDFLAGS="$LDFLAGS"
5510 LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
5511 cat >conftest.$ac_ext <<_ACEOF
5512 #line $LINENO "configure"
5515 cat confdefs.h >>conftest.$ac_ext
5516 cat >>conftest.$ac_ext <<_ACEOF
5517 /* end confdefs.h. */
5527 rm -f conftest.$ac_objext conftest$ac_exeext
5528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5529 (eval $ac_link) 2>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } &&
5533 { ac_try='test -s conftest$ac_exeext'
5534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 (exit $ac_status); }; }; then
5539 lt_cv_prog_cc_static_works=yes
5541 echo "$as_me: failed program was:" >&5
5542 sed 's/^/| /' conftest.$ac_ext >&5
5545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5546 LDFLAGS="$save_LDFLAGS"
5551 # Belt *and* braces to stop my trousers falling down:
5552 test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static=
5553 echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5
5554 echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
5556 pic_flag="$lt_cv_prog_cc_pic"
5557 special_shlib_compile_flags="$lt_cv_prog_cc_shlib"
5558 wl="$lt_cv_prog_cc_wl"
5559 link_static_flag="$lt_cv_prog_cc_static"
5560 no_builtin_flag="$lt_cv_prog_cc_no_builtin"
5561 can_build_shared="$lt_cv_prog_cc_can_build_shared"
5564 # Check to see if options -o and -c are simultaneously supported by compiler
5565 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
5566 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
5567 if test "${lt_cv_compiler_c_o+set}" = set; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 $rm -r conftest 2>/dev/null
5574 echo "int some_variable = 0;" > conftest.$ac_ext
5576 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
5577 # that will create temporary files in the current directory regardless of
5578 # the output directory. Thus, making CWD read-only will cause this test
5579 # to fail, enabling locking or at least warning the user not to do parallel
5582 save_CFLAGS="$CFLAGS"
5583 CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
5585 if { (eval echo configure:5585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then
5586 # The compiler can only warn and ignore the option if not recognized
5587 # So say no if there are warnings
5588 if test -s out/conftest.err; then
5589 lt_cv_compiler_c_o=no
5591 lt_cv_compiler_c_o=yes
5594 # Append any errors to the config.log.
5595 cat out/conftest.err 1>&5
5596 lt_cv_compiler_c_o=no
5598 CFLAGS="$save_CFLAGS"
5604 $rm -r conftest 2>/dev/null
5608 compiler_c_o=$lt_cv_compiler_c_o
5609 echo "$as_me:$LINENO: result: $compiler_c_o" >&5
5610 echo "${ECHO_T}$compiler_c_o" >&6
5612 if test x"$compiler_c_o" = x"yes"; then
5613 # Check to see if we can write to a .lo
5614 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5
5615 echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6
5616 if test "${lt_cv_compiler_o_lo+set}" = set; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 lt_cv_compiler_o_lo=no
5621 save_CFLAGS="$CFLAGS"
5622 CFLAGS="$CFLAGS -c -o conftest.lo"
5623 save_objext="$ac_objext"
5625 cat >conftest.$ac_ext <<_ACEOF
5626 #line $LINENO "configure"
5629 cat confdefs.h >>conftest.$ac_ext
5630 cat >>conftest.$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5636 int some_variable = 0;
5641 rm -f conftest.$ac_objext
5642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5643 (eval $ac_compile) 2>&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); } &&
5647 { ac_try='test -s conftest.$ac_objext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 # The compiler can only warn and ignore the option if not recognized
5654 # So say no if there are warnings
5655 if test -s conftest.err; then
5656 lt_cv_compiler_o_lo=no
5658 lt_cv_compiler_o_lo=yes
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5666 rm -f conftest.$ac_objext conftest.$ac_ext
5667 ac_objext="$save_objext"
5668 CFLAGS="$save_CFLAGS"
5672 compiler_o_lo=$lt_cv_compiler_o_lo
5673 echo "$as_me:$LINENO: result: $compiler_o_lo" >&5
5674 echo "${ECHO_T}$compiler_o_lo" >&6
5679 # Check to see if we can do hard links to lock some files if needed
5680 hard_links="nottested"
5681 if test "$compiler_c_o" = no && test "$need_locks" != no; then
5682 # do not overwrite the value of need_locks provided by the user
5683 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
5684 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
5687 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5689 ln conftest.a conftest.b 2>&5 || hard_links=no
5690 ln conftest.a conftest.b 2>/dev/null && hard_links=no
5691 echo "$as_me:$LINENO: result: $hard_links" >&5
5692 echo "${ECHO_T}$hard_links" >&6
5693 if test "$hard_links" = no; then
5694 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
5695 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
5702 if test "$GCC" = yes; then
5703 # Check to see if options -fno-rtti -fno-exceptions are supported by compiler
5704 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
5705 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
5706 echo "int some_variable = 0;" > conftest.$ac_ext
5707 save_CFLAGS="$CFLAGS"
5708 CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
5709 compiler_rtti_exceptions=no
5710 cat >conftest.$ac_ext <<_ACEOF
5711 #line $LINENO "configure"
5714 cat confdefs.h >>conftest.$ac_ext
5715 cat >>conftest.$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5721 int some_variable = 0;
5726 rm -f conftest.$ac_objext
5727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5728 (eval $ac_compile) 2>&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); } &&
5732 { ac_try='test -s conftest.$ac_objext'
5733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }; }; then
5738 # The compiler can only warn and ignore the option if not recognized
5739 # So say no if there are warnings
5740 if test -s conftest.err; then
5741 compiler_rtti_exceptions=no
5743 compiler_rtti_exceptions=yes
5747 echo "$as_me: failed program was:" >&5
5748 sed 's/^/| /' conftest.$ac_ext >&5
5751 rm -f conftest.$ac_objext conftest.$ac_ext
5752 CFLAGS="$save_CFLAGS"
5753 echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5
5754 echo "${ECHO_T}$compiler_rtti_exceptions" >&6
5756 if test "$compiler_rtti_exceptions" = "yes"; then
5757 no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
5759 no_builtin_flag=' -fno-builtin'
5763 # See if the linker supports building shared libraries.
5764 echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5
5765 echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6
5767 allow_undefined_flag=
5769 need_lib_prefix=unknown
5770 need_version=unknown
5771 # when you set need_version to no, make sure it does not cause -set_version
5772 # flags to be left without arguments
5774 archive_expsym_cmds=
5775 old_archive_from_new_cmds=
5776 old_archive_from_expsyms_cmds=
5777 export_dynamic_flag_spec=
5778 whole_archive_flag_spec=
5779 thread_safe_flag_spec=
5780 hardcode_into_libs=no
5781 hardcode_libdir_flag_spec=
5782 hardcode_libdir_separator=
5785 hardcode_shlibpath_var=unsupported
5787 link_all_deplibs=unknown
5788 always_export_symbols=no
5789 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
5790 # include_expsyms should be a list of space-separated symbols to be *always*
5791 # included in the symbol list
5793 # exclude_expsyms can be an egrep regular expression of symbols to exclude
5794 # it will be wrapped by ` (' and `)$', so one must not match beginning or
5795 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
5796 # as well as any symbol that contains `d'.
5797 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
5798 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
5799 # platforms (ab)use it in PIC code, but their linkers get confused if
5800 # the symbol is explicitly referenced. Since portable code cannot
5801 # rely on this symbol name, it's probably fine to never include it in
5802 # preloaded symbol tables.
5803 extract_expsyms_cmds=
5806 cygwin* | mingw* | pw32*)
5807 # FIXME: the MSVC++ port hasn't been tested in a loooong time
5808 # When not using gcc, we currently assume that we are using
5809 # Microsoft Visual C++.
5810 if test "$GCC" != yes; then
5820 if test "$with_gnu_ld" = yes; then
5821 # If archive_cmds runs LD, not CC, wlarc should be empty
5824 # See if GNU ld supports shared libraries.
5826 aix3* | aix4* | aix5*)
5827 # On AIX, the GNU linker is very broken
5828 # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available.
5832 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
5833 *** to be unable to reliably create shared libraries on AIX.
5834 *** Therefore, libtool is disabling shared libraries support. If you
5835 *** really care for shared libraries, you may want to modify your PATH
5836 *** so that a non-GNU linker is found, and then restart.
5842 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
5843 hardcode_libdir_flag_spec='-L$libdir'
5844 hardcode_minus_L=yes
5846 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
5847 # that the semantics of dynamic libraries on AmigaOS, at least up
5848 # to version 4, is to share data among multiple programs linked
5849 # with the same dynamic library. Since this doesn't match the
5850 # behavior of shared libraries on other platforms, we can use
5856 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5857 allow_undefined_flag=unsupported
5858 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
5859 # support --undefined. This deserves some investigation. FIXME
5860 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5866 cygwin* | mingw* | pw32*)
5867 # hardcode_libdir_flag_spec is actually meaningless, as there is
5868 # no search path for DLLs.
5869 hardcode_libdir_flag_spec='-L$libdir'
5870 allow_undefined_flag=unsupported
5871 always_export_symbols=yes
5873 extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
5874 sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
5875 test -f $output_objdir/impgen.exe || (cd $output_objdir && \
5876 if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
5877 else $CC -o impgen impgen.c ; fi)~
5878 $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
5880 old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
5882 # cygwin and mingw dlls have different entry points and sets of symbols
5884 # FIXME: what about values for MSVC?
5885 dll_entry=__cygwin_dll_entry@12
5886 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
5890 dll_entry=_DllMainCRTStartup@12
5891 dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
5895 # mingw and cygwin differ, and it's simplest to just exclude the union
5896 # of the two symbol sets.
5897 dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
5899 # recent cygwin and mingw systems supply a stub DllMain which the user
5900 # can override, but on older systems we have to supply one (in ltdll.c)
5901 if test "x$lt_cv_need_dllmain" = "xyes"; then
5902 ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
5903 ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
5904 test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
5910 # Extract the symbol export list from an `--export-all' def file,
5911 # then regenerate the def file from the symbol export list, so that
5912 # the compiled dll only exports the symbol export list.
5913 # Be careful not to strip the DATA tag left be newer dlltools.
5914 export_symbols_cmds="$ltdll_cmds"'
5915 $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
5916 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
5918 # If the export-symbols file already is a .def file (1st line
5919 # is EXPORTS), use it as is.
5920 # If DATA tags from a recent dlltool are present, honour them!
5921 archive_expsym_cmds='if test "x`sed 1q $export_symbols`" = xEXPORTS; then
5922 cp $export_symbols $output_objdir/$soname-def;
5924 echo EXPORTS > $output_objdir/$soname-def;
5926 cat $export_symbols | while read symbol; do
5929 2) echo " \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
5930 4) echo " \$2 \$3 \$4 ; " >> $output_objdir/$soname-def; _lt_hint=`expr \$_lt_hint - 1`;;
5931 *) echo " \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
5933 _lt_hint=`expr 1 + \$_lt_hint`;
5937 $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5938 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
5939 $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
5940 $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
5941 $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
5945 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
5946 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
5949 archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5950 archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5955 if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
5959 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
5960 *** create shared libraries on Solaris systems. Therefore, libtool
5961 *** is disabling shared libraries support. We urge you to upgrade GNU
5962 *** binutils to release 2.9.1 or newer. Another option is to modify
5963 *** your PATH or compiler configuration so that the native linker is
5964 *** used, and then restart.
5967 elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5968 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5969 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5976 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
5979 hardcode_shlibpath_var=no
5983 if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
5984 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
5985 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
5992 if test "$ld_shlibs" = yes; then
5993 runpath_var=LD_RUN_PATH
5994 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
5995 export_dynamic_flag_spec='${wl}--export-dynamic'
5997 cygwin* | mingw* | pw32*)
5998 # dlltool doesn't understand --whole-archive et. al.
5999 whole_archive_flag_spec=
6002 # ancient GNU ld didn't support --whole-archive et. al.
6003 if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
6004 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6006 whole_archive_flag_spec=
6012 # PORTME fill in a description of your system's linker (not GNU ld)
6015 allow_undefined_flag=unsupported
6016 always_export_symbols=yes
6017 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
6018 # Note: this linker hardcodes the directories in LIBPATH if there
6019 # are no directories specified by -L.
6020 hardcode_minus_L=yes
6021 if test "$GCC" = yes && test -z "$link_static_flag"; then
6022 # Neither direct hardcoding nor static linking is supported with a
6024 hardcode_direct=unsupported
6029 if test "$host_cpu" = ia64; then
6030 # On IA64, the linker does run time linking by default, so we don't
6031 # have to do anything special.
6032 aix_use_runtimelinking=no
6033 exp_sym_flag='-Bexport'
6036 aix_use_runtimelinking=no
6038 # Test if we are trying to use run time linking or normal
6039 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6040 # need to do runtime linking.
6041 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6042 for ld_flag in $LDFLAGS; do
6045 aix_use_runtimelinking=yes
6052 exp_sym_flag='-bexport'
6053 no_entry_flag='-bnoentry'
6056 # When large executables or shared objects are built, AIX ld can
6057 # have problems creating the table of contents. If linking a library
6058 # or program results in "error TOC overflow" add -mminimal-toc to
6059 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6060 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6064 hardcode_libdir_separator=':'
6065 if test "$GCC" = yes; then
6066 case $host_os in aix4.[012]|aix4.[012].*)
6067 collect2name=`${CC} -print-prog-name=collect2`
6068 if test -f "$collect2name" && \
6069 strings "$collect2name" | grep resolve_lib_name >/dev/null
6071 # We have reworked collect2
6074 # We have old collect2
6075 hardcode_direct=unsupported
6076 # It fails to find uninstalled libraries when the uninstalled
6077 # path is not listed in the libpath. Setting hardcode_minus_L
6078 # to unsupported forces relinking
6079 hardcode_minus_L=yes
6080 hardcode_libdir_flag_spec='-L$libdir'
6081 hardcode_libdir_separator=
6085 shared_flag='-shared'
6088 if test "$host_cpu" = ia64; then
6089 shared_flag='${wl}-G'
6091 if test "$aix_use_runtimelinking" = yes; then
6092 shared_flag='${wl}-G'
6094 shared_flag='${wl}-bM:SRE'
6099 # It seems that -bexpall can do strange things, so it is better to
6100 # generate a list of symbols to export.
6101 always_export_symbols=yes
6102 if test "$aix_use_runtimelinking" = yes; then
6103 # Warning - without using the other runtime loading flags (-brtl),
6104 # -berok will link without error, but may produce a broken library.
6105 allow_undefined_flag='-berok'
6106 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib'
6107 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6109 if test "$host_cpu" = ia64; then
6110 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6111 allow_undefined_flag="-z nodefs"
6112 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
6114 hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib'
6115 # Warning - without using the other run time loading flags,
6116 # -berok will link without error, but may produce a broken library.
6117 allow_undefined_flag='${wl}-berok'
6118 # This is a bit strange, but is similar to how AIX traditionally builds
6119 # it's shared libraries.
6120 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname'
6126 archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
6127 hardcode_libdir_flag_spec='-L$libdir'
6128 hardcode_minus_L=yes
6129 # see comment about different semantics on the GNU ld section
6133 cygwin* | mingw* | pw32*)
6134 # When not using gcc, we currently assume that we are using
6135 # Microsoft Visual C++.
6136 # hardcode_libdir_flag_spec is actually meaningless, as there is
6137 # no search path for DLLs.
6138 hardcode_libdir_flag_spec=' '
6139 allow_undefined_flag=unsupported
6140 # Tell ltmain to make .lib files, not .a files.
6142 # FIXME: Setting linknames here is a bad hack.
6143 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
6144 # The linker will automatically build a .lib file if we build a DLL.
6145 old_archive_from_new_cmds='true'
6146 # FIXME: Should let the user specify the lib program.
6147 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
6148 fix_srcfile_path='`cygpath -w "$srcfile"`'
6151 darwin* | rhapsody*)
6153 rhapsody* | darwin1.[012])
6154 allow_undefined_flag='-undefined suppress'
6157 allow_undefined_flag='-flat_namespace -undefined suppress'
6160 # FIXME: Relying on posixy $() will cause problems for
6161 # cross-compilation, but unfortunately the echo tests do not
6162 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
6163 # `"' quotes if we put them in here... so don't!
6164 archive_cmds='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs && $CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib ${lib}-master.o $deplibs$linker_flags $(test .$module != .yes && echo -install_name $rpath/$soname $verstring)'
6165 # We need to add '_' to the symbols in $export_symbols first
6166 #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
6168 hardcode_shlibpath_var=no
6169 whole_archive_flag_spec='-all_load $convenience'
6176 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
6177 # support. Future versions do this automatically, but an explicit c++rt0.o
6178 # does not break anything, and helps significantly (at the cost of a little
6181 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
6182 hardcode_libdir_flag_spec='-R$libdir'
6184 hardcode_shlibpath_var=no
6187 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
6189 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6191 hardcode_minus_L=yes
6192 hardcode_shlibpath_var=no
6195 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
6197 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
6198 hardcode_libdir_flag_spec='-R$libdir'
6200 hardcode_shlibpath_var=no
6203 hpux9* | hpux10* | hpux11*)
6205 hpux9*) archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' ;;
6206 *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;;
6208 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
6209 hardcode_libdir_separator=:
6211 hardcode_minus_L=yes # Not in the search PATH, but as the default
6212 # location of the library.
6213 export_dynamic_flag_spec='${wl}-E'
6216 irix5* | irix6* | nonstopux*)
6217 if test "$GCC" = yes; then
6218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6221 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6222 hardcode_libdir_flag_spec='-rpath $libdir'
6224 hardcode_libdir_separator=:
6225 link_all_deplibs=yes
6229 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6230 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
6232 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
6234 hardcode_libdir_flag_spec='-R$libdir'
6236 hardcode_shlibpath_var=no
6240 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6243 hardcode_libdir_separator=:
6244 hardcode_shlibpath_var=no
6249 hardcode_shlibpath_var=no
6250 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6251 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6252 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6253 export_dynamic_flag_spec='${wl}-E'
6256 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
6257 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6258 hardcode_libdir_flag_spec='-R$libdir'
6261 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
6262 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6269 hardcode_libdir_flag_spec='-L$libdir'
6270 hardcode_minus_L=yes
6271 allow_undefined_flag=unsupported
6272 archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
6273 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
6277 if test "$GCC" = yes; then
6278 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6279 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6281 allow_undefined_flag=' -expect_unresolved \*'
6282 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6284 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6285 hardcode_libdir_separator=:
6288 osf4* | osf5*) # as osf3* with the addition of -msym flag
6289 if test "$GCC" = yes; then
6290 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
6291 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
6292 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
6294 allow_undefined_flag=' -expect_unresolved \*'
6295 archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
6296 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
6297 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
6299 #Both c and cxx compiler support -rpath directly
6300 hardcode_libdir_flag_spec='-rpath $libdir'
6302 hardcode_libdir_separator=:
6306 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6307 hardcode_shlibpath_var=no
6308 runpath_var=LD_RUN_PATH
6309 hardcode_runpath_var=yes
6310 export_dynamic_flag_spec='${wl}-Bexport'
6314 # gcc --version < 3.0 without binutils cannot create self contained
6315 # shared libraries reliably, requiring libgcc.a to resolve some of
6316 # the object symbols generated in some cases. Libraries that use
6317 # assert need libgcc.a to resolve __eprintf, for example. Linking
6318 # a copy of libgcc.a into every shared library to guarantee resolving
6319 # such symbols causes other problems: According to Tim Van Holder
6320 # <tim.van.holder@pandora.be>, C++ libraries end up with a separate
6321 # (to the application) exception stack for one thing.
6322 no_undefined_flag=' -z defs'
6323 if test "$GCC" = yes; then
6324 case `$CC --version 2>/dev/null` in
6328 *** Warning: Releases of GCC earlier than version 3.0 cannot reliably
6329 *** create self contained shared libraries on Solaris systems, without
6330 *** introducing a dependency on libgcc.a. Therefore, libtool is disabling
6331 *** -no-undefined support, which will at least allow you to build shared
6332 *** libraries. However, you may find that when you link such libraries
6333 *** into an application without using GCC, you have to manually add
6334 *** \`gcc --print-libgcc-file-name\` to the link command. We urge you to
6335 *** upgrade to a newer version of GCC. Another option is to rebuild your
6336 *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer.
6343 # $CC -shared without GNU ld will not create a library from C++
6344 # object files and a static libstdc++, better avoid it by now
6345 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6346 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6347 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6348 hardcode_libdir_flag_spec='-R$libdir'
6349 hardcode_shlibpath_var=no
6351 solaris2.[0-5] | solaris2.[0-5].*) ;;
6352 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
6353 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
6355 link_all_deplibs=yes
6359 if test "x$host_vendor" = xsequent; then
6360 # Use $CC to link under sequent, because it throws in some extra .o
6361 # files that make .init and .fini sections work.
6362 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
6364 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
6366 hardcode_libdir_flag_spec='-L$libdir'
6368 hardcode_minus_L=yes
6369 hardcode_shlibpath_var=no
6373 case $host_vendor in
6375 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6376 hardcode_direct=yes # is this really true???
6379 ## LD is ld it makes a PLAMLIB
6380 ## CC just makes a GrossModule.
6381 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6382 reload_cmds='$CC -r -o $output$reload_objs'
6386 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6387 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
6390 runpath_var='LD_RUN_PATH'
6391 hardcode_shlibpath_var=no
6395 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6396 hardcode_shlibpath_var=no
6397 export_dynamic_flag_spec='-Bexport'
6401 no_undefined_flag=' -z text'
6402 # $CC -shared without GNU ld will not create a library from C++
6403 # object files and a static libstdc++, better avoid it by now
6404 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
6405 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
6406 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
6407 hardcode_libdir_flag_spec=
6408 hardcode_shlibpath_var=no
6409 runpath_var='LD_RUN_PATH'
6413 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6414 hardcode_libdir_flag_spec='-L$libdir'
6415 hardcode_shlibpath_var=no
6419 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6420 hardcode_libdir_flag_spec='-L$libdir'
6421 hardcode_shlibpath_var=no
6425 if test -d /usr/nec; then
6426 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
6427 hardcode_shlibpath_var=no
6428 runpath_var=LD_RUN_PATH
6429 hardcode_runpath_var=yes
6435 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
6438 hardcode_shlibpath_var=no
6439 hardcode_runpath_var=yes
6440 runpath_var=LD_RUN_PATH
6443 sysv5uw7* | unixware7*)
6444 no_undefined_flag='${wl}-z ${wl}text'
6445 if test "$GCC" = yes; then
6446 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6448 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
6450 runpath_var='LD_RUN_PATH'
6451 hardcode_shlibpath_var=no
6459 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
6460 echo "${ECHO_T}$ld_shlibs" >&6
6461 test "$ld_shlibs" = no && can_build_shared=no
6463 # Check hardcoding attributes.
6464 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
6465 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
6467 if test -n "$hardcode_libdir_flag_spec" || \
6468 test -n "$runpath_var"; then
6470 # We can hardcode non-existant directories.
6471 if test "$hardcode_direct" != no &&
6472 # If the only mechanism to avoid hardcoding is shlibpath_var, we
6473 # have to relink, otherwise we might link with an installed library
6474 # when we should be linking with a yet-to-be-installed one
6475 ## test "$hardcode_shlibpath_var" != no &&
6476 test "$hardcode_minus_L" != no; then
6477 # Linking always hardcodes the temporary library directory.
6478 hardcode_action=relink
6480 # We can link without hardcoding, and we can hardcode nonexisting dirs.
6481 hardcode_action=immediate
6484 # We cannot hardcode anything, or else we can only hardcode existing
6486 hardcode_action=unsupported
6488 echo "$as_me:$LINENO: result: $hardcode_action" >&5
6489 echo "${ECHO_T}$hardcode_action" >&6
6493 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
6494 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
6495 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
6496 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
6497 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6505 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6506 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6508 # PORTME Fill in your ld.so characteristics
6509 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
6510 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
6512 libname_spec='lib$name'
6519 shlibpath_overrides_runpath=unknown
6521 dynamic_linker="$host_os ld.so"
6522 sys_lib_dlsearch_path_spec="/lib /usr/lib"
6523 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
6528 library_names_spec='${libname}${release}.so$versuffix $libname.a'
6529 shlibpath_var=LIBPATH
6531 # AIX has no versioning support, so we append a major version to the name.
6532 soname_spec='${libname}${release}.so$major'
6539 hardcode_into_libs=yes
6540 if test "$host_cpu" = ia64; then
6541 # AIX 5 supports IA64
6542 library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
6543 shlibpath_var=LD_LIBRARY_PATH
6545 # With GCC up to 2.95.x, collect2 would create an import file
6546 # for dependence libraries. The import file would start with
6547 # the line `#! .'. This would cause the generated library to
6548 # depend on `.', always an invalid library. This was fixed in
6549 # development snapshots of GCC prior to 3.0.
6551 aix4 | aix4.[01] | aix4.[01].*)
6552 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
6554 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
6561 # AIX (on Power*) has no versioning support, so currently we can
6562 # not hardcode correct soname into executable. Probably we can
6563 # add versioning support to collect2, so additional links can
6564 # be useful in future.
6565 if test "$aix_use_runtimelinking" = yes; then
6566 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
6567 # instead of lib<name>.a to let people know that these are not
6568 # typical AIX shared libraries.
6569 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6571 # We preserve .a as extension for shared libraries through AIX4.2
6572 # and later when we are not doing run time linking.
6573 library_names_spec='${libname}${release}.a $libname.a'
6574 soname_spec='${libname}${release}.so$major'
6576 shlibpath_var=LIBPATH
6578 hardcode_into_libs=yes
6582 library_names_spec='$libname.ixlibrary $libname.a'
6583 # Create ${libname}_ixlibrary.a entries in /sys/libs.
6584 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "(cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
6588 library_names_spec='${libname}.so'
6589 dynamic_linker="$host_os ld.so"
6590 shlibpath_var=LIBRARY_PATH
6596 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6597 soname_spec='${libname}${release}.so$major'
6598 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
6599 shlibpath_var=LD_LIBRARY_PATH
6600 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
6601 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
6602 export_dynamic_flag_spec=-rdynamic
6603 # the default ld.so.conf also contains /usr/contrib/lib and
6604 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
6605 # libtool to hard-code these into programs
6608 cygwin* | mingw* | pw32*)
6609 version_type=windows
6612 case $GCC,$host_os in
6614 library_names_spec='$libname.dll.a'
6615 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6616 postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
6617 dldir=$destdir/`dirname \$dlpath`~
6618 test -d \$dldir || mkdir -p \$dldir~
6619 $install_prog .libs/$dlname \$dldir/$dlname'
6620 postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
6621 dlpath=$dir/\$dldll~
6625 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
6626 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g" -e "s,=/,/,g"`
6629 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
6632 library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
6635 dynamic_linker='Win32 ld.exe'
6636 # FIXME: first we should search . and the directory the executable is in
6640 darwin* | rhapsody*)
6641 dynamic_linker="$host_os dyld"
6645 # FIXME: Relying on posixy $() will cause problems for
6646 # cross-compilation, but unfortunately the echo tests do not
6647 # yet detect zsh echo's removal of \ escapes.
6648 library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
6649 soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
6650 shlibpath_overrides_runpath=yes
6651 shlibpath_var=DYLD_LIBRARY_PATH
6659 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
6660 version_type=freebsd-$objformat
6661 case $version_type in
6663 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
6668 library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
6672 shlibpath_var=LD_LIBRARY_PATH
6675 shlibpath_overrides_runpath=yes
6678 shlibpath_overrides_runpath=no
6679 hardcode_into_libs=yes
6688 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
6689 soname_spec='${libname}${release}.so$major'
6690 shlibpath_var=LD_LIBRARY_PATH
6691 hardcode_into_libs=yes
6694 hpux9* | hpux10* | hpux11*)
6695 # Give a soname corresponding to the major version so that dld.sl refuses to
6696 # link against other versions.
6697 dynamic_linker="$host_os dld.sl"
6701 shlibpath_var=SHLIB_PATH
6702 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
6703 library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
6704 soname_spec='${libname}${release}.sl$major'
6705 # HP-UX runs *really* slowly unless shared libraries are mode 555.
6706 postinstall_cmds='chmod 555 $lib'
6709 irix5* | irix6* | nonstopux*)
6711 nonstopux*) version_type=nonstopux ;;
6712 *) version_type=irix ;;
6716 soname_spec='${libname}${release}.so$major'
6717 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
6719 irix5* | nonstopux*)
6723 case $LD in # libtool.m4 will add one of these switches to LD
6724 *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
6725 *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
6726 *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
6727 *) libsuff= shlibsuff= libmagic=never-match;;
6731 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
6732 shlibpath_overrides_runpath=no
6733 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
6734 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
6737 # No shared lib support for Linux oldld, aout, or coff.
6738 linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*)
6742 # This must be Linux ELF.
6747 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6748 soname_spec='${libname}${release}.so$major'
6749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
6750 shlibpath_var=LD_LIBRARY_PATH
6751 shlibpath_overrides_runpath=no
6752 # This implies no fast_install, which is unacceptable.
6753 # Some rework will be needed to allow for fast_install
6754 # before this can be enabled.
6755 hardcode_into_libs=yes
6757 # We used to test for /lib/ld.so.1 and disable shared libraries on
6758 # powerpc, because MkLinux only supported shared libraries with the
6759 # GNU dynamic linker. Since this was broken with cross compilers,
6760 # most powerpc-linux boxes support dynamic linking these days and
6761 # people can always --disable-shared, the test was removed, and we
6762 # assume the GNU/Linux dynamic linker is in use.
6763 dynamic_linker='GNU/Linux ld.so'
6765 # Find out which ABI we are using (multilib Linux x86_64 hack).
6769 echo '#line 6769 "configure"' > conftest.$ac_ext
6770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6771 (eval $ac_compile) 2>&5
6773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); }; then
6775 case `/usr/bin/file conftest.$ac_objext` in
6786 sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
6787 sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
6794 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6795 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6796 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6797 dynamic_linker='NetBSD (a.out) ld.so'
6799 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
6800 soname_spec='${libname}${release}.so$major'
6801 dynamic_linker='NetBSD ld.elf_so'
6803 shlibpath_var=LD_LIBRARY_PATH
6804 shlibpath_overrides_runpath=yes
6805 hardcode_into_libs=yes
6810 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6811 shlibpath_var=LD_LIBRARY_PATH
6812 shlibpath_overrides_runpath=yes
6819 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6821 openbsd2.[89] | openbsd2.[89].*)
6822 shlibpath_overrides_runpath=no
6825 shlibpath_overrides_runpath=yes
6829 shlibpath_overrides_runpath=yes
6831 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6832 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
6833 shlibpath_var=LD_LIBRARY_PATH
6837 libname_spec='$name'
6839 library_names_spec='$libname.dll $libname.a'
6840 dynamic_linker='OS/2 ld.exe'
6841 shlibpath_var=LIBPATH
6844 osf3* | osf4* | osf5*)
6847 soname_spec='${libname}${release}.so$major'
6848 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6849 shlibpath_var=LD_LIBRARY_PATH
6850 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
6851 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
6852 hardcode_into_libs=yes
6857 soname_spec='${libname}${release}.so$major'
6858 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6859 shlibpath_var=LD_LIBRARY_PATH
6866 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6867 soname_spec='${libname}${release}.so$major'
6868 shlibpath_var=LD_LIBRARY_PATH
6869 shlibpath_overrides_runpath=yes
6870 hardcode_into_libs=yes
6871 # ldd complains unless libraries are executable
6872 postinstall_cmds='chmod +x $lib'
6877 library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
6878 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
6879 shlibpath_var=LD_LIBRARY_PATH
6880 shlibpath_overrides_runpath=yes
6881 if test "$with_gnu_ld" = yes; then
6887 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6889 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6890 soname_spec='${libname}${release}.so$major'
6891 shlibpath_var=LD_LIBRARY_PATH
6892 case $host_vendor in
6894 shlibpath_overrides_runpath=no
6896 export_dynamic_flag_spec='${wl}-Blargedynsym'
6897 runpath_var=LD_RUN_PATH
6905 shlibpath_overrides_runpath=no
6906 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
6913 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6914 soname_spec='${libname}${release}.so$major'
6915 shlibpath_var=LD_LIBRARY_PATH
6922 library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
6923 soname_spec='${libname}${release}.so$major'
6924 shlibpath_var=LD_LIBRARY_PATH
6928 if test -d /usr/nec ;then
6930 library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
6931 soname_spec='$libname.so.$major'
6932 shlibpath_var=LD_LIBRARY_PATH
6940 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
6941 echo "${ECHO_T}$dynamic_linker" >&6
6942 test "$dynamic_linker" = no && can_build_shared=no
6944 # Report the final consequences.
6945 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
6946 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
6947 echo "$as_me:$LINENO: result: $can_build_shared" >&5
6948 echo "${ECHO_T}$can_build_shared" >&6
6950 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
6951 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
6952 test "$can_build_shared" = "no" && enable_shared=no
6954 # On AIX, shared libraries and static libraries use the same namespace, and
6955 # are all built from PIC.
6958 test "$enable_shared" = yes && enable_static=no
6959 if test -n "$RANLIB"; then
6960 archive_cmds="$archive_cmds~\$RANLIB \$lib"
6961 postinstall_cmds='$RANLIB $lib'
6966 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
6967 test "$enable_shared" = yes && enable_static=no
6971 echo "$as_me:$LINENO: result: $enable_shared" >&5
6972 echo "${ECHO_T}$enable_shared" >&6
6974 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
6975 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
6976 # Make sure either enable_shared or enable_static is yes.
6977 test "$enable_shared" = yes || enable_static=yes
6978 echo "$as_me:$LINENO: result: $enable_static" >&5
6979 echo "${ECHO_T}$enable_static" >&6
6981 if test "$hardcode_action" = relink; then
6982 # Fast installation is not supported
6983 enable_fast_install=no
6984 elif test "$shlibpath_overrides_runpath" = yes ||
6985 test "$enable_shared" = no; then
6986 # Fast installation is not necessary
6987 enable_fast_install=needless
6990 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
6991 if test "$GCC" = yes; then
6992 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
6995 if test "x$enable_dlopen" != xyes; then
6996 enable_dlopen=unknown
6997 enable_dlopen_self=unknown
6998 enable_dlopen_self_static=unknown
7005 lt_cv_dlopen="load_add_on"
7007 lt_cv_dlopen_self=yes
7010 cygwin* | mingw* | pw32*)
7011 lt_cv_dlopen="LoadLibrary"
7016 echo "$as_me:$LINENO: checking for shl_load" >&5
7017 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7018 if test "${ac_cv_func_shl_load+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 cat >conftest.$ac_ext <<_ACEOF
7022 #line $LINENO "configure"
7025 cat confdefs.h >>conftest.$ac_ext
7026 cat >>conftest.$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 /* System header to define __stub macros and hopefully few prototypes,
7029 which can conflict with char shl_load (); below.
7030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7031 <limits.h> exists even on freestanding compilers. */
7033 # include <limits.h>
7035 # include <assert.h>
7037 /* Override any gcc2 internal prototype to avoid an error. */
7042 /* We use char because int might match the return type of a gcc2
7043 builtin and then its argument prototype would still apply. */
7045 /* The GNU C library defines this for functions which it implements
7046 to always fail with ENOSYS. Some functions are actually named
7047 something starting with __ and the normal name is an alias. */
7048 #if defined (__stub_shl_load) || defined (__stub___shl_load)
7051 char (*f) () = shl_load;
7060 return f != shl_load;
7065 rm -f conftest.$ac_objext conftest$ac_exeext
7066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7067 (eval $ac_link) 2>&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); } &&
7071 { ac_try='test -s conftest$ac_exeext'
7072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); }; }; then
7077 ac_cv_func_shl_load=yes
7079 echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.$ac_ext >&5
7082 ac_cv_func_shl_load=no
7084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7086 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7087 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7088 if test $ac_cv_func_shl_load = yes; then
7089 lt_cv_dlopen="shl_load"
7091 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7092 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7093 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7094 echo $ECHO_N "(cached) $ECHO_C" >&6
7096 ac_check_lib_save_LIBS=$LIBS
7098 cat >conftest.$ac_ext <<_ACEOF
7099 #line $LINENO "configure"
7102 cat confdefs.h >>conftest.$ac_ext
7103 cat >>conftest.$ac_ext <<_ACEOF
7104 /* end confdefs.h. */
7106 /* Override any gcc2 internal prototype to avoid an error. */
7110 /* We use char because int might match the return type of a gcc2
7111 builtin and then its argument prototype would still apply. */
7121 rm -f conftest.$ac_objext conftest$ac_exeext
7122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7123 (eval $ac_link) 2>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } &&
7127 { ac_try='test -s conftest$ac_exeext'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; }; then
7133 ac_cv_lib_dld_shl_load=yes
7135 echo "$as_me: failed program was:" >&5
7136 sed 's/^/| /' conftest.$ac_ext >&5
7138 ac_cv_lib_dld_shl_load=no
7140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7141 LIBS=$ac_check_lib_save_LIBS
7143 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7144 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7145 if test $ac_cv_lib_dld_shl_load = yes; then
7146 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7148 echo "$as_me:$LINENO: checking for dlopen" >&5
7149 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7150 if test "${ac_cv_func_dlopen+set}" = set; then
7151 echo $ECHO_N "(cached) $ECHO_C" >&6
7153 cat >conftest.$ac_ext <<_ACEOF
7154 #line $LINENO "configure"
7157 cat confdefs.h >>conftest.$ac_ext
7158 cat >>conftest.$ac_ext <<_ACEOF
7159 /* end confdefs.h. */
7160 /* System header to define __stub macros and hopefully few prototypes,
7161 which can conflict with char dlopen (); below.
7162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7163 <limits.h> exists even on freestanding compilers. */
7165 # include <limits.h>
7167 # include <assert.h>
7169 /* Override any gcc2 internal prototype to avoid an error. */
7174 /* We use char because int might match the return type of a gcc2
7175 builtin and then its argument prototype would still apply. */
7177 /* The GNU C library defines this for functions which it implements
7178 to always fail with ENOSYS. Some functions are actually named
7179 something starting with __ and the normal name is an alias. */
7180 #if defined (__stub_dlopen) || defined (__stub___dlopen)
7183 char (*f) () = dlopen;
7197 rm -f conftest.$ac_objext conftest$ac_exeext
7198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7199 (eval $ac_link) 2>&5
7201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7202 (exit $ac_status); } &&
7203 { ac_try='test -s conftest$ac_exeext'
7204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); }; }; then
7209 ac_cv_func_dlopen=yes
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 ac_cv_func_dlopen=no
7216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7219 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7220 if test $ac_cv_func_dlopen = yes; then
7221 lt_cv_dlopen="dlopen"
7223 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7224 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7225 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 ac_check_lib_save_LIBS=$LIBS
7230 cat >conftest.$ac_ext <<_ACEOF
7231 #line $LINENO "configure"
7234 cat confdefs.h >>conftest.$ac_ext
7235 cat >>conftest.$ac_ext <<_ACEOF
7236 /* end confdefs.h. */
7238 /* Override any gcc2 internal prototype to avoid an error. */
7242 /* We use char because int might match the return type of a gcc2
7243 builtin and then its argument prototype would still apply. */
7253 rm -f conftest.$ac_objext conftest$ac_exeext
7254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7255 (eval $ac_link) 2>&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } &&
7259 { ac_try='test -s conftest$ac_exeext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7265 ac_cv_lib_dl_dlopen=yes
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_cv_lib_dl_dlopen=no
7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7273 LIBS=$ac_check_lib_save_LIBS
7275 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7276 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7277 if test $ac_cv_lib_dl_dlopen = yes; then
7278 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7280 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7281 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7282 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7283 echo $ECHO_N "(cached) $ECHO_C" >&6
7285 ac_check_lib_save_LIBS=$LIBS
7287 cat >conftest.$ac_ext <<_ACEOF
7288 #line $LINENO "configure"
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h. */
7295 /* Override any gcc2 internal prototype to avoid an error. */
7299 /* We use char because int might match the return type of a gcc2
7300 builtin and then its argument prototype would still apply. */
7310 rm -f conftest.$ac_objext conftest$ac_exeext
7311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7312 (eval $ac_link) 2>&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); } &&
7316 { ac_try='test -s conftest$ac_exeext'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; }; then
7322 ac_cv_lib_svld_dlopen=yes
7324 echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.$ac_ext >&5
7327 ac_cv_lib_svld_dlopen=no
7329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7330 LIBS=$ac_check_lib_save_LIBS
7332 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7333 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7334 if test $ac_cv_lib_svld_dlopen = yes; then
7335 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
7337 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
7338 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
7339 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
7340 echo $ECHO_N "(cached) $ECHO_C" >&6
7342 ac_check_lib_save_LIBS=$LIBS
7344 cat >conftest.$ac_ext <<_ACEOF
7345 #line $LINENO "configure"
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7352 /* Override any gcc2 internal prototype to avoid an error. */
7356 /* We use char because int might match the return type of a gcc2
7357 builtin and then its argument prototype would still apply. */
7367 rm -f conftest.$ac_objext conftest$ac_exeext
7368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7369 (eval $ac_link) 2>&5
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); } &&
7373 { ac_try='test -s conftest$ac_exeext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 ac_cv_lib_dld_dld_link=yes
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.$ac_ext >&5
7384 ac_cv_lib_dld_dld_link=no
7386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7387 LIBS=$ac_check_lib_save_LIBS
7389 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
7390 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
7391 if test $ac_cv_lib_dld_dld_link = yes; then
7392 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
7413 if test "x$lt_cv_dlopen" != xno; then
7419 case $lt_cv_dlopen in
7421 save_CPPFLAGS="$CPPFLAGS"
7422 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
7424 save_LDFLAGS="$LDFLAGS"
7425 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
7428 LIBS="$lt_cv_dlopen_libs $LIBS"
7430 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
7431 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
7432 if test "${lt_cv_dlopen_self+set}" = set; then
7433 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 if test "$cross_compiling" = yes; then :
7436 lt_cv_dlopen_self=cross
7438 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7439 lt_status=$lt_dlunknown
7440 cat > conftest.$ac_ext <<EOF
7441 #line 7441 "configure"
7442 #include "confdefs.h"
7451 # define LT_DLGLOBAL RTLD_GLOBAL
7454 # define LT_DLGLOBAL DL_GLOBAL
7456 # define LT_DLGLOBAL 0
7460 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7461 find out it does not work in some platform. */
7462 #ifndef LT_DLLAZY_OR_NOW
7464 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7467 # define LT_DLLAZY_OR_NOW DL_LAZY
7470 # define LT_DLLAZY_OR_NOW RTLD_NOW
7473 # define LT_DLLAZY_OR_NOW DL_NOW
7475 # define LT_DLLAZY_OR_NOW 0
7483 extern "C" void exit (int);
7486 void fnord() { int i=42;}
7489 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7490 int status = $lt_dlunknown;
7494 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7495 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7496 /* dlclose (self); */
7502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7503 (eval $ac_link) 2>&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7507 (./conftest; exit; ) 2>/dev/null
7510 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
7511 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
7512 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
7515 # compilation failed
7516 lt_cv_dlopen_self=no
7523 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
7524 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
7526 if test "x$lt_cv_dlopen_self" = xyes; then
7527 LDFLAGS="$LDFLAGS $link_static_flag"
7528 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
7529 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
7530 if test "${lt_cv_dlopen_self_static+set}" = set; then
7531 echo $ECHO_N "(cached) $ECHO_C" >&6
7533 if test "$cross_compiling" = yes; then :
7534 lt_cv_dlopen_self_static=cross
7536 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
7537 lt_status=$lt_dlunknown
7538 cat > conftest.$ac_ext <<EOF
7539 #line 7539 "configure"
7540 #include "confdefs.h"
7549 # define LT_DLGLOBAL RTLD_GLOBAL
7552 # define LT_DLGLOBAL DL_GLOBAL
7554 # define LT_DLGLOBAL 0
7558 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
7559 find out it does not work in some platform. */
7560 #ifndef LT_DLLAZY_OR_NOW
7562 # define LT_DLLAZY_OR_NOW RTLD_LAZY
7565 # define LT_DLLAZY_OR_NOW DL_LAZY
7568 # define LT_DLLAZY_OR_NOW RTLD_NOW
7571 # define LT_DLLAZY_OR_NOW DL_NOW
7573 # define LT_DLLAZY_OR_NOW 0
7581 extern "C" void exit (int);
7584 void fnord() { int i=42;}
7587 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
7588 int status = $lt_dlunknown;
7592 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
7593 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
7594 /* dlclose (self); */
7600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7601 (eval $ac_link) 2>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
7605 (./conftest; exit; ) 2>/dev/null
7608 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
7609 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
7610 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
7613 # compilation failed
7614 lt_cv_dlopen_self_static=no
7621 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
7622 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
7625 CPPFLAGS="$save_CPPFLAGS"
7626 LDFLAGS="$save_LDFLAGS"
7631 case $lt_cv_dlopen_self in
7632 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
7633 *) enable_dlopen_self=unknown ;;
7636 case $lt_cv_dlopen_self_static in
7637 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
7638 *) enable_dlopen_self_static=unknown ;;
7643 if test "$enable_shared" = yes && test "$GCC" = yes; then
7644 case $archive_cmds in
7646 # FIXME: we may have to deal with multi-command sequences.
7649 # Test whether the compiler implicitly links with -lc since on some
7650 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7651 # to ld, don't add -lc before -lgcc.
7652 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7653 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7654 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7658 echo 'static int dummy;' > conftest.$ac_ext
7660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7661 (eval $ac_compile) 2>&5
7663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7664 (exit $ac_status); }; then
7667 libobjs=conftest.$ac_objext
7669 wl=$lt_cv_prog_cc_wl
7675 save_allow_undefined_flag=$allow_undefined_flag
7676 allow_undefined_flag=
7677 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7678 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681 (exit $ac_status); }
7683 lt_cv_archive_cmds_need_lc=no
7685 lt_cv_archive_cmds_need_lc=yes
7687 allow_undefined_flag=$save_allow_undefined_flag
7689 cat conftest.err 1>&5
7693 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
7694 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
7698 need_lc=${lt_cv_archive_cmds_need_lc-yes}
7700 # The second clause should only fire when bootstrapping the
7701 # libtool distribution, otherwise you forgot to ship ltmain.sh
7702 # with your package, and you will get complaints that there are
7703 # no rules to generate ltmain.sh.
7704 if test -f "$ltmain"; then
7707 # If there is no Makefile yet, we rely on a make rule to execute
7708 # `config.status --recheck' to rerun these tests and create the
7709 # libtool script then.
7710 test -f Makefile && make "$ltmain"
7713 if test -f "$ltmain"; then
7714 trap "$rm \"${ofile}T\"; exit 1" 1 2 15
7717 echo creating $ofile
7719 # Now quote all the things that may contain metacharacters while being
7720 # careful not to overquote the AC_SUBSTed values. We take copies of the
7721 # variables and quote the copies for generation of the libtool script.
7722 for var in echo old_CC old_CFLAGS SED \
7723 AR AR_FLAGS CC LD LN_S NM SHELL \
7724 reload_flag reload_cmds wl \
7725 pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \
7726 thread_safe_flag_spec whole_archive_flag_spec libname_spec \
7727 library_names_spec soname_spec \
7728 RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \
7729 old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \
7730 postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \
7731 old_striplib striplib file_magic_cmd export_symbols_cmds \
7732 deplibs_check_method allow_undefined_flag no_undefined_flag \
7733 finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \
7734 global_symbol_to_c_name_address \
7735 hardcode_libdir_flag_spec hardcode_libdir_separator \
7736 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
7737 compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do
7740 reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \
7741 old_postinstall_cmds | old_postuninstall_cmds | \
7742 export_symbols_cmds | archive_cmds | archive_expsym_cmds | \
7743 extract_expsyms_cmds | old_archive_from_expsyms_cmds | \
7744 postinstall_cmds | postuninstall_cmds | \
7745 finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
7746 # Double-quote double-evaled strings.
7747 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
7750 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
7755 cat <<__EOF__ > "${ofile}T"
7758 # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
7759 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
7760 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
7762 # Copyright (C) 1996-2000 Free Software Foundation, Inc.
7763 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
7765 # This program is free software; you can redistribute it and/or modify
7766 # it under the terms of the GNU General Public License as published by
7767 # the Free Software Foundation; either version 2 of the License, or
7768 # (at your option) any later version.
7770 # This program is distributed in the hope that it will be useful, but
7771 # WITHOUT ANY WARRANTY; without even the implied warranty of
7772 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
7773 # General Public License for more details.
7775 # You should have received a copy of the GNU General Public License
7776 # along with this program; if not, write to the Free Software
7777 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
7779 # As a special exception to the GNU General Public License, if you
7780 # distribute this file as part of a program that contains a
7781 # configuration script generated by Autoconf, you may include it under
7782 # the same distribution terms that you use for the rest of that program.
7784 # A sed that does not truncate output.
7787 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
7788 Xsed="${SED} -e s/^X//"
7790 # The HP-UX ksh and POSIX shell print the target directory to stdout
7792 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
7794 # ### BEGIN LIBTOOL CONFIG
7796 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7798 # Shell to use when invoking shell scripts.
7801 # Whether or not to build shared libraries.
7802 build_libtool_libs=$enable_shared
7804 # Whether or not to build static libraries.
7805 build_old_libs=$enable_static
7807 # Whether or not to add -lc for building shared libraries.
7808 build_libtool_need_lc=$need_lc
7810 # Whether or not to optimize for fast installation.
7811 fast_install=$enable_fast_install
7814 host_alias=$host_alias
7817 # An echo program that does not interpret backslashes.
7822 AR_FLAGS=$lt_AR_FLAGS
7824 # The default C compiler.
7827 # Is the compiler the GNU C compiler?
7830 # The linker used to build libraries.
7833 # Whether we need hard or soft links.
7836 # A BSD-compatible nm program.
7839 # A symbol stripping program
7842 # Used to examine libraries when file_magic_cmd begins "file"
7843 MAGIC_CMD=$MAGIC_CMD
7845 # Used on cygwin: DLL creation program.
7848 # Used on cygwin: object dumper.
7851 # Used on cygwin: assembler.
7854 # The name of the directory that contains temporary libtool files.
7857 # How to create reloadable object files.
7858 reload_flag=$lt_reload_flag
7859 reload_cmds=$lt_reload_cmds
7861 # How to pass a linker flag through the compiler.
7864 # Object file suffix (normally "o").
7867 # Old archive suffix (normally "a").
7870 # Executable file suffix (normally "").
7873 # Additional compiler flags for building library objects.
7874 pic_flag=$lt_pic_flag
7877 # Does compiler simultaneously support -c and -o options?
7878 compiler_c_o=$lt_compiler_c_o
7880 # Can we write directly to a .lo ?
7881 compiler_o_lo=$lt_compiler_o_lo
7883 # Must we lock files when doing compilation ?
7884 need_locks=$lt_need_locks
7886 # Do we need the lib prefix for modules?
7887 need_lib_prefix=$need_lib_prefix
7889 # Do we need a version for libraries?
7890 need_version=$need_version
7892 # Whether dlopen is supported.
7893 dlopen_support=$enable_dlopen
7895 # Whether dlopen of programs is supported.
7896 dlopen_self=$enable_dlopen_self
7898 # Whether dlopen of statically linked programs is supported.
7899 dlopen_self_static=$enable_dlopen_self_static
7901 # Compiler flag to prevent dynamic linking.
7902 link_static_flag=$lt_link_static_flag
7904 # Compiler flag to turn off builtin functions.
7905 no_builtin_flag=$lt_no_builtin_flag
7907 # Compiler flag to allow reflexive dlopens.
7908 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
7910 # Compiler flag to generate shared objects directly from archives.
7911 whole_archive_flag_spec=$lt_whole_archive_flag_spec
7913 # Compiler flag to generate thread-safe objects.
7914 thread_safe_flag_spec=$lt_thread_safe_flag_spec
7916 # Library versioning type.
7917 version_type=$version_type
7919 # Format of library name prefix.
7920 libname_spec=$lt_libname_spec
7922 # List of archive names. First name is the real one, the rest are links.
7923 # The last name is the one that the linker finds with -lNAME.
7924 library_names_spec=$lt_library_names_spec
7926 # The coded name of the library, if different from the real name.
7927 soname_spec=$lt_soname_spec
7929 # Commands used to build and install an old-style archive.
7931 old_archive_cmds=$lt_old_archive_cmds
7932 old_postinstall_cmds=$lt_old_postinstall_cmds
7933 old_postuninstall_cmds=$lt_old_postuninstall_cmds
7935 # Create an old-style archive from a shared archive.
7936 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
7938 # Create a temporary old-style archive to link instead of a shared archive.
7939 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
7941 # Commands used to build and install a shared archive.
7942 archive_cmds=$lt_archive_cmds
7943 archive_expsym_cmds=$lt_archive_expsym_cmds
7944 postinstall_cmds=$lt_postinstall_cmds
7945 postuninstall_cmds=$lt_postuninstall_cmds
7947 # Commands to strip libraries.
7948 old_striplib=$lt_old_striplib
7949 striplib=$lt_striplib
7951 # Method to check whether dependent libraries are shared objects.
7952 deplibs_check_method=$lt_deplibs_check_method
7954 # Command to use when deplibs_check_method == file_magic.
7955 file_magic_cmd=$lt_file_magic_cmd
7957 # Flag that allows shared libraries with undefined symbols to be built.
7958 allow_undefined_flag=$lt_allow_undefined_flag
7960 # Flag that forces no undefined symbols.
7961 no_undefined_flag=$lt_no_undefined_flag
7963 # Commands used to finish a libtool library installation in a directory.
7964 finish_cmds=$lt_finish_cmds
7966 # Same as above, but a single script fragment to be evaled but not shown.
7967 finish_eval=$lt_finish_eval
7969 # Take the output of nm and produce a listing of raw symbols and C names.
7970 global_symbol_pipe=$lt_global_symbol_pipe
7972 # Transform the output of nm in a proper C declaration
7973 global_symbol_to_cdecl=$lt_global_symbol_to_cdecl
7975 # Transform the output of nm in a C name address pair
7976 global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address
7978 # This is the shared library runtime path variable.
7979 runpath_var=$runpath_var
7981 # This is the shared library path variable.
7982 shlibpath_var=$shlibpath_var
7984 # Is shlibpath searched before the hard-coded library search path?
7985 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
7987 # How to hardcode a shared library path into an executable.
7988 hardcode_action=$hardcode_action
7990 # Whether we should hardcode library paths into libraries.
7991 hardcode_into_libs=$hardcode_into_libs
7993 # Flag to hardcode \$libdir into a binary during linking.
7994 # This must work even if \$libdir does not exist.
7995 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
7997 # Whether we need a single -rpath flag with a separated argument.
7998 hardcode_libdir_separator=$lt_hardcode_libdir_separator
8000 # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
8002 hardcode_direct=$hardcode_direct
8004 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
8006 hardcode_minus_L=$hardcode_minus_L
8008 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
8009 # the resulting binary.
8010 hardcode_shlibpath_var=$hardcode_shlibpath_var
8012 # Variables whose values should be saved in libtool wrapper scripts and
8013 # restored at relink time.
8014 variables_saved_for_relink="$variables_saved_for_relink"
8016 # Whether libtool must link a program against all its dependency libraries.
8017 link_all_deplibs=$link_all_deplibs
8019 # Compile-time system search path for libraries
8020 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
8022 # Run-time system search path for libraries
8023 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8025 # Fix the shell variable \$srcfile for the compiler.
8026 fix_srcfile_path="$fix_srcfile_path"
8028 # Set to yes if exported symbols are required.
8029 always_export_symbols=$always_export_symbols
8031 # The commands to list exported symbols.
8032 export_symbols_cmds=$lt_export_symbols_cmds
8034 # The commands to extract the exported symbol list from a shared archive.
8035 extract_expsyms_cmds=$lt_extract_expsyms_cmds
8037 # Symbols that should not be listed in the preloaded symbols.
8038 exclude_expsyms=$lt_exclude_expsyms
8040 # Symbols that must always be exported.
8041 include_expsyms=$lt_include_expsyms
8043 # ### END LIBTOOL CONFIG
8049 cat <<\EOF >> "${ofile}T"
8051 # AIX sometimes has problems with the GCC collect2 program. For some
8052 # reason, if we set the COLLECT_NAMES environment variable, the problems
8053 # vanish in a puff of smoke.
8054 if test "X${COLLECT_NAMES+set}" != Xset; then
8056 export COLLECT_NAMES
8063 cygwin* | mingw* | pw32* | os2*)
8064 cat <<'EOF' >> "${ofile}T"
8065 # This is a source program that is used to create dlls on Windows
8066 # Don't remove nor modify the starting and closing comments
8067 # /* ltdll.c starts here */
8068 # #define WIN32_LEAN_AND_MEAN
8069 # #include <windows.h>
8070 # #undef WIN32_LEAN_AND_MEAN
8071 # #include <stdio.h>
8073 # #ifndef __CYGWIN__
8074 # # ifdef __CYGWIN32__
8075 # # define __CYGWIN__ __CYGWIN32__
8079 # #ifdef __cplusplus
8082 # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
8083 # #ifdef __cplusplus
8088 # #include <cygwin/cygwin_dll.h>
8089 # DECLARE_CYGWIN_DLL( DllMain );
8091 # HINSTANCE __hDllInstance_base;
8094 # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
8096 # __hDllInstance_base = hInst;
8099 # /* ltdll.c ends here */
8100 # This is a source program that is used to create import libraries
8101 # on Windows for dlls which lack them. Don't remove nor modify the
8102 # starting and closing comments
8103 # /* impgen.c starts here */
8104 # /* Copyright (C) 1999-2000 Free Software Foundation, Inc.
8106 # This file is part of GNU libtool.
8108 # This program is free software; you can redistribute it and/or modify
8109 # it under the terms of the GNU General Public License as published by
8110 # the Free Software Foundation; either version 2 of the License, or
8111 # (at your option) any later version.
8113 # This program is distributed in the hope that it will be useful,
8114 # but WITHOUT ANY WARRANTY; without even the implied warranty of
8115 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8116 # GNU General Public License for more details.
8118 # You should have received a copy of the GNU General Public License
8119 # along with this program; if not, write to the Free Software
8120 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8123 # #include <stdio.h> /* for printf() */
8124 # #include <unistd.h> /* for open(), lseek(), read() */
8125 # #include <fcntl.h> /* for O_RDONLY, O_BINARY */
8126 # #include <string.h> /* for strdup() */
8128 # /* O_BINARY isn't required (or even defined sometimes) under Unix */
8130 # #define O_BINARY 0
8133 # static unsigned int
8134 # pe_get16 (fd, offset)
8138 # unsigned char b[2];
8139 # lseek (fd, offset, SEEK_SET);
8141 # return b[0] + (b[1]<<8);
8144 # static unsigned int
8145 # pe_get32 (fd, offset)
8149 # unsigned char b[4];
8150 # lseek (fd, offset, SEEK_SET);
8152 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8155 # static unsigned int
8159 # unsigned char *b = ptr;
8160 # return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
8169 # unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
8170 # unsigned long export_rva, export_size, nsections, secptr, expptr;
8171 # unsigned long name_rvas, nexp;
8172 # unsigned char *expdata, *erva;
8173 # char *filename, *dll_name;
8175 # filename = argv[1];
8177 # dll = open(filename, O_RDONLY|O_BINARY);
8181 # dll_name = filename;
8183 # for (i=0; filename[i]; i++)
8184 # if (filename[i] == '/' || filename[i] == '\\' || filename[i] == ':')
8185 # dll_name = filename + i +1;
8187 # pe_header_offset = pe_get32 (dll, 0x3c);
8188 # opthdr_ofs = pe_header_offset + 4 + 20;
8189 # num_entries = pe_get32 (dll, opthdr_ofs + 92);
8191 # if (num_entries < 1) /* no exports */
8194 # export_rva = pe_get32 (dll, opthdr_ofs + 96);
8195 # export_size = pe_get32 (dll, opthdr_ofs + 100);
8196 # nsections = pe_get16 (dll, pe_header_offset + 4 +2);
8197 # secptr = (pe_header_offset + 4 + 20 +
8198 # pe_get16 (dll, pe_header_offset + 4 + 16));
8201 # for (i = 0; i < nsections; i++)
8204 # unsigned long secptr1 = secptr + 40 * i;
8205 # unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
8206 # unsigned long vsize = pe_get32 (dll, secptr1 + 16);
8207 # unsigned long fptr = pe_get32 (dll, secptr1 + 20);
8208 # lseek(dll, secptr1, SEEK_SET);
8209 # read(dll, sname, 8);
8210 # if (vaddr <= export_rva && vaddr+vsize > export_rva)
8212 # expptr = fptr + (export_rva - vaddr);
8213 # if (export_rva + export_size > vaddr + vsize)
8214 # export_size = vsize - (export_rva - vaddr);
8219 # expdata = (unsigned char*)malloc(export_size);
8220 # lseek (dll, expptr, SEEK_SET);
8221 # read (dll, expdata, export_size);
8222 # erva = expdata - export_rva;
8224 # nexp = pe_as32 (expdata+24);
8225 # name_rvas = pe_as32 (expdata+32);
8227 # printf ("EXPORTS\n");
8228 # for (i = 0; i<nexp; i++)
8230 # unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
8231 # printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
8236 # /* impgen.c ends here */
8242 # We use sed instead of cat because bash on DJGPP gets confused if
8243 # if finds mixed CR/LF and LF-only lines. Since sed operates in
8244 # text mode, it properly converts lines to CR/LF. This bash problem
8245 # is reportedly fixed, but why not run on old versions too?
8246 sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1)
8248 mv -f "${ofile}T" "$ofile" || \
8249 (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T")
8257 # This can be used to rebuild libtool when needed
8258 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
8260 # Always use our own libtool.
8261 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8263 # Prevent multiple expansion
8267 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
8268 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
8269 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
8270 if test "${enable_maintainer_mode+set}" = set; then
8271 enableval="$enable_maintainer_mode"
8272 USE_MAINTAINER_MODE=$enableval
8274 USE_MAINTAINER_MODE=no
8276 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
8277 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
8280 if test $USE_MAINTAINER_MODE = yes; then
8281 MAINTAINER_MODE_TRUE=
8282 MAINTAINER_MODE_FALSE='#'
8284 MAINTAINER_MODE_TRUE='#'
8285 MAINTAINER_MODE_FALSE=
8288 MAINT=$MAINTAINER_MODE_TRUE
8292 _cppflags="${CPPFLAGS}"
8293 _ldflags="${LDFLAGS}"
8297 # Check whether --with-zlib or --without-zlib was given.
8298 if test "${with_zlib+set}" = set; then
8299 withval="$with_zlib"
8301 if test "$withval" != "no" -a "$withval" != "yes"; then
8303 CPPFLAGS="${CPPFLAGS} -I$withval/include"
8304 LDFLAGS="${LDFLAGS} -L$withval/lib"
8308 if test "$with_zlib" = "no"; then
8309 echo "Disabling compression support"
8312 for ac_header in zlib.h
8314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8316 echo "$as_me:$LINENO: checking for $ac_header" >&5
8317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8319 echo $ECHO_N "(cached) $ECHO_C" >&6
8321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8324 # Is the header compilable?
8325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8327 cat >conftest.$ac_ext <<_ACEOF
8328 #line $LINENO "configure"
8331 cat confdefs.h >>conftest.$ac_ext
8332 cat >>conftest.$ac_ext <<_ACEOF
8333 /* end confdefs.h. */
8334 $ac_includes_default
8335 #include <$ac_header>
8337 rm -f conftest.$ac_objext
8338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8339 (eval $ac_compile) 2>&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); } &&
8343 { ac_try='test -s conftest.$ac_objext'
8344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8348 (exit $ac_status); }; }; then
8349 ac_header_compiler=yes
8351 echo "$as_me: failed program was:" >&5
8352 sed 's/^/| /' conftest.$ac_ext >&5
8354 ac_header_compiler=no
8356 rm -f conftest.$ac_objext conftest.$ac_ext
8357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8358 echo "${ECHO_T}$ac_header_compiler" >&6
8360 # Is the header present?
8361 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8362 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8363 cat >conftest.$ac_ext <<_ACEOF
8364 #line $LINENO "configure"
8367 cat confdefs.h >>conftest.$ac_ext
8368 cat >>conftest.$ac_ext <<_ACEOF
8369 /* end confdefs.h. */
8370 #include <$ac_header>
8372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8375 grep -v '^ *+' conftest.er1 >conftest.err
8377 cat conftest.err >&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } >/dev/null; then
8380 if test -s conftest.err; then
8381 ac_cpp_err=$ac_c_preproc_warn_flag
8388 if test -z "$ac_cpp_err"; then
8389 ac_header_preproc=yes
8391 echo "$as_me: failed program was:" >&5
8392 sed 's/^/| /' conftest.$ac_ext >&5
8394 ac_header_preproc=no
8396 rm -f conftest.err conftest.$ac_ext
8397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8398 echo "${ECHO_T}$ac_header_preproc" >&6
8400 # So? What about this header?
8401 case $ac_header_compiler:$ac_header_preproc in
8403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8409 ## ------------------------------------ ##
8410 ## Report this to bug-autoconf@gnu.org. ##
8411 ## ------------------------------------ ##
8414 sed "s/^/$as_me: WARNING: /" >&2
8417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8421 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8422 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8425 ## ------------------------------------ ##
8426 ## Report this to bug-autoconf@gnu.org. ##
8427 ## ------------------------------------ ##
8430 sed "s/^/$as_me: WARNING: /" >&2
8433 echo "$as_me:$LINENO: checking for $ac_header" >&5
8434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8436 echo $ECHO_N "(cached) $ECHO_C" >&6
8438 eval "$as_ac_Header=$ac_header_preproc"
8440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8441 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8445 cat >>confdefs.h <<_ACEOF
8446 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8448 echo "$as_me:$LINENO: checking for gzread in -lz" >&5
8449 echo $ECHO_N "checking for gzread in -lz... $ECHO_C" >&6
8450 if test "${ac_cv_lib_z_gzread+set}" = set; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 ac_check_lib_save_LIBS=$LIBS
8455 cat >conftest.$ac_ext <<_ACEOF
8456 #line $LINENO "configure"
8459 cat confdefs.h >>conftest.$ac_ext
8460 cat >>conftest.$ac_ext <<_ACEOF
8461 /* end confdefs.h. */
8463 /* Override any gcc2 internal prototype to avoid an error. */
8467 /* We use char because int might match the return type of a gcc2
8468 builtin and then its argument prototype would still apply. */
8478 rm -f conftest.$ac_objext conftest$ac_exeext
8479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8480 (eval $ac_link) 2>&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); } &&
8484 { ac_try='test -s conftest$ac_exeext'
8485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); }; }; then
8490 ac_cv_lib_z_gzread=yes
8492 echo "$as_me: failed program was:" >&5
8493 sed 's/^/| /' conftest.$ac_ext >&5
8495 ac_cv_lib_z_gzread=no
8497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8498 LIBS=$ac_check_lib_save_LIBS
8500 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
8501 echo "${ECHO_T}$ac_cv_lib_z_gzread" >&6
8502 if test $ac_cv_lib_z_gzread = yes; then
8504 cat >>confdefs.h <<\_ACEOF
8508 if test "x${Z_DIR}" != "x"; then
8509 Z_CFLAGS="-I${Z_DIR}/include"
8510 Z_LIBS="-L${Z_DIR}/lib -lz"
8513 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
8530 CPPFLAGS=${_cppflags}
8539 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
8540 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
8541 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
8542 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
8543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 cat >conftest.$ac_ext <<_ACEOF
8547 #line $LINENO "configure"
8550 cat confdefs.h >>conftest.$ac_ext
8551 cat >>conftest.$ac_ext <<_ACEOF
8552 /* end confdefs.h. */
8553 #include <sys/types.h>
8565 rm -f conftest.$ac_objext
8566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8567 (eval $ac_compile) 2>&5
8569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8570 (exit $ac_status); } &&
8571 { ac_try='test -s conftest.$ac_objext'
8572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8576 (exit $ac_status); }; }; then
8577 eval "$as_ac_Header=yes"
8579 echo "$as_me: failed program was:" >&5
8580 sed 's/^/| /' conftest.$ac_ext >&5
8582 eval "$as_ac_Header=no"
8584 rm -f conftest.$ac_objext conftest.$ac_ext
8586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8589 cat >>confdefs.h <<_ACEOF
8590 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
8593 ac_header_dirent=$ac_hdr; break
8597 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
8598 if test $ac_header_dirent = dirent.h; then
8599 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8600 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8601 if test "${ac_cv_search_opendir+set}" = set; then
8602 echo $ECHO_N "(cached) $ECHO_C" >&6
8604 ac_func_search_save_LIBS=$LIBS
8605 ac_cv_search_opendir=no
8606 cat >conftest.$ac_ext <<_ACEOF
8607 #line $LINENO "configure"
8610 cat confdefs.h >>conftest.$ac_ext
8611 cat >>conftest.$ac_ext <<_ACEOF
8612 /* end confdefs.h. */
8614 /* Override any gcc2 internal prototype to avoid an error. */
8618 /* We use char because int might match the return type of a gcc2
8619 builtin and then its argument prototype would still apply. */
8629 rm -f conftest.$ac_objext conftest$ac_exeext
8630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8631 (eval $ac_link) 2>&5
8633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8634 (exit $ac_status); } &&
8635 { ac_try='test -s conftest$ac_exeext'
8636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); }; }; then
8641 ac_cv_search_opendir="none required"
8643 echo "$as_me: failed program was:" >&5
8644 sed 's/^/| /' conftest.$ac_ext >&5
8647 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8648 if test "$ac_cv_search_opendir" = no; then
8649 for ac_lib in dir; do
8650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8651 cat >conftest.$ac_ext <<_ACEOF
8652 #line $LINENO "configure"
8655 cat confdefs.h >>conftest.$ac_ext
8656 cat >>conftest.$ac_ext <<_ACEOF
8657 /* end confdefs.h. */
8659 /* Override any gcc2 internal prototype to avoid an error. */
8663 /* We use char because int might match the return type of a gcc2
8664 builtin and then its argument prototype would still apply. */
8674 rm -f conftest.$ac_objext conftest$ac_exeext
8675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8676 (eval $ac_link) 2>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } &&
8680 { ac_try='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 ac_cv_search_opendir="-l$ac_lib"
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8696 LIBS=$ac_func_search_save_LIBS
8698 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8699 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8700 if test "$ac_cv_search_opendir" != no; then
8701 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8706 echo "$as_me:$LINENO: checking for library containing opendir" >&5
8707 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
8708 if test "${ac_cv_search_opendir+set}" = set; then
8709 echo $ECHO_N "(cached) $ECHO_C" >&6
8711 ac_func_search_save_LIBS=$LIBS
8712 ac_cv_search_opendir=no
8713 cat >conftest.$ac_ext <<_ACEOF
8714 #line $LINENO "configure"
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8721 /* Override any gcc2 internal prototype to avoid an error. */
8725 /* We use char because int might match the return type of a gcc2
8726 builtin and then its argument prototype would still apply. */
8736 rm -f conftest.$ac_objext conftest$ac_exeext
8737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8738 (eval $ac_link) 2>&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } &&
8742 { ac_try='test -s conftest$ac_exeext'
8743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8747 (exit $ac_status); }; }; then
8748 ac_cv_search_opendir="none required"
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8755 if test "$ac_cv_search_opendir" = no; then
8757 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8758 cat >conftest.$ac_ext <<_ACEOF
8759 #line $LINENO "configure"
8762 cat confdefs.h >>conftest.$ac_ext
8763 cat >>conftest.$ac_ext <<_ACEOF
8764 /* end confdefs.h. */
8766 /* Override any gcc2 internal prototype to avoid an error. */
8770 /* We use char because int might match the return type of a gcc2
8771 builtin and then its argument prototype would still apply. */
8781 rm -f conftest.$ac_objext conftest$ac_exeext
8782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8783 (eval $ac_link) 2>&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } &&
8787 { ac_try='test -s conftest$ac_exeext'
8788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8792 (exit $ac_status); }; }; then
8793 ac_cv_search_opendir="-l$ac_lib"
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8803 LIBS=$ac_func_search_save_LIBS
8805 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
8806 echo "${ECHO_T}$ac_cv_search_opendir" >&6
8807 if test "$ac_cv_search_opendir" != no; then
8808 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
8814 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8815 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8816 if test "${ac_cv_header_stdc+set}" = set; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8819 cat >conftest.$ac_ext <<_ACEOF
8820 #line $LINENO "configure"
8823 cat confdefs.h >>conftest.$ac_ext
8824 cat >>conftest.$ac_ext <<_ACEOF
8825 /* end confdefs.h. */
8839 rm -f conftest.$ac_objext
8840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8841 (eval $ac_compile) 2>&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); } &&
8845 { ac_try='test -s conftest.$ac_objext'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; }; then
8851 ac_cv_header_stdc=yes
8853 echo "$as_me: failed program was:" >&5
8854 sed 's/^/| /' conftest.$ac_ext >&5
8856 ac_cv_header_stdc=no
8858 rm -f conftest.$ac_objext conftest.$ac_ext
8860 if test $ac_cv_header_stdc = yes; then
8861 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8862 cat >conftest.$ac_ext <<_ACEOF
8863 #line $LINENO "configure"
8866 cat confdefs.h >>conftest.$ac_ext
8867 cat >>conftest.$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8873 $EGREP "memchr" >/dev/null 2>&1; then
8876 ac_cv_header_stdc=no
8882 if test $ac_cv_header_stdc = yes; then
8883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8884 cat >conftest.$ac_ext <<_ACEOF
8885 #line $LINENO "configure"
8888 cat confdefs.h >>conftest.$ac_ext
8889 cat >>conftest.$ac_ext <<_ACEOF
8890 /* end confdefs.h. */
8894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8895 $EGREP "free" >/dev/null 2>&1; then
8898 ac_cv_header_stdc=no
8904 if test $ac_cv_header_stdc = yes; then
8905 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8906 if test "$cross_compiling" = yes; then
8909 cat >conftest.$ac_ext <<_ACEOF
8910 #line $LINENO "configure"
8913 cat confdefs.h >>conftest.$ac_ext
8914 cat >>conftest.$ac_ext <<_ACEOF
8915 /* end confdefs.h. */
8917 #if ((' ' & 0x0FF) == 0x020)
8918 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8919 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8921 # define ISLOWER(c) \
8922 (('a' <= (c) && (c) <= 'i') \
8923 || ('j' <= (c) && (c) <= 'r') \
8924 || ('s' <= (c) && (c) <= 'z'))
8925 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8928 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8933 for (i = 0; i < 256; i++)
8934 if (XOR (islower (i), ISLOWER (i))
8935 || toupper (i) != TOUPPER (i))
8940 rm -f conftest$ac_exeext
8941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8942 (eval $ac_link) 2>&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; }; then
8953 echo "$as_me: program exited with status $ac_status" >&5
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.$ac_ext >&5
8958 ac_cv_header_stdc=no
8960 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8964 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8965 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8966 if test $ac_cv_header_stdc = yes; then
8968 cat >>confdefs.h <<\_ACEOF
8969 #define STDC_HEADERS 1
8975 for ac_header in fcntl.h
8977 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8979 echo "$as_me:$LINENO: checking for $ac_header" >&5
8980 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8981 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8982 echo $ECHO_N "(cached) $ECHO_C" >&6
8984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8987 # Is the header compilable?
8988 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8990 cat >conftest.$ac_ext <<_ACEOF
8991 #line $LINENO "configure"
8994 cat confdefs.h >>conftest.$ac_ext
8995 cat >>conftest.$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 $ac_includes_default
8998 #include <$ac_header>
9000 rm -f conftest.$ac_objext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9002 (eval $ac_compile) 2>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try='test -s conftest.$ac_objext'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; }; then
9012 ac_header_compiler=yes
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 ac_header_compiler=no
9019 rm -f conftest.$ac_objext conftest.$ac_ext
9020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9021 echo "${ECHO_T}$ac_header_compiler" >&6
9023 # Is the header present?
9024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9026 cat >conftest.$ac_ext <<_ACEOF
9027 #line $LINENO "configure"
9030 cat confdefs.h >>conftest.$ac_ext
9031 cat >>conftest.$ac_ext <<_ACEOF
9032 /* end confdefs.h. */
9033 #include <$ac_header>
9035 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9036 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9038 grep -v '^ *+' conftest.er1 >conftest.err
9040 cat conftest.err >&5
9041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9042 (exit $ac_status); } >/dev/null; then
9043 if test -s conftest.err; then
9044 ac_cpp_err=$ac_c_preproc_warn_flag
9051 if test -z "$ac_cpp_err"; then
9052 ac_header_preproc=yes
9054 echo "$as_me: failed program was:" >&5
9055 sed 's/^/| /' conftest.$ac_ext >&5
9057 ac_header_preproc=no
9059 rm -f conftest.err conftest.$ac_ext
9060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9061 echo "${ECHO_T}$ac_header_preproc" >&6
9063 # So? What about this header?
9064 case $ac_header_compiler:$ac_header_preproc in
9066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9072 ## ------------------------------------ ##
9073 ## Report this to bug-autoconf@gnu.org. ##
9074 ## ------------------------------------ ##
9077 sed "s/^/$as_me: WARNING: /" >&2
9080 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9081 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9082 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9083 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9085 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9088 ## ------------------------------------ ##
9089 ## Report this to bug-autoconf@gnu.org. ##
9090 ## ------------------------------------ ##
9093 sed "s/^/$as_me: WARNING: /" >&2
9096 echo "$as_me:$LINENO: checking for $ac_header" >&5
9097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 eval "$as_ac_Header=$ac_header_preproc"
9103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9107 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9108 cat >>confdefs.h <<_ACEOF
9109 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9117 for ac_header in unistd.h
9119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9121 echo "$as_me:$LINENO: checking for $ac_header" >&5
9122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9124 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9129 # Is the header compilable?
9130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9132 cat >conftest.$ac_ext <<_ACEOF
9133 #line $LINENO "configure"
9136 cat confdefs.h >>conftest.$ac_ext
9137 cat >>conftest.$ac_ext <<_ACEOF
9138 /* end confdefs.h. */
9139 $ac_includes_default
9140 #include <$ac_header>
9142 rm -f conftest.$ac_objext
9143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9144 (eval $ac_compile) 2>&5
9146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9147 (exit $ac_status); } &&
9148 { ac_try='test -s conftest.$ac_objext'
9149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153 (exit $ac_status); }; }; then
9154 ac_header_compiler=yes
9156 echo "$as_me: failed program was:" >&5
9157 sed 's/^/| /' conftest.$ac_ext >&5
9159 ac_header_compiler=no
9161 rm -f conftest.$ac_objext conftest.$ac_ext
9162 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9163 echo "${ECHO_T}$ac_header_compiler" >&6
9165 # Is the header present?
9166 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9167 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9168 cat >conftest.$ac_ext <<_ACEOF
9169 #line $LINENO "configure"
9172 cat confdefs.h >>conftest.$ac_ext
9173 cat >>conftest.$ac_ext <<_ACEOF
9174 /* end confdefs.h. */
9175 #include <$ac_header>
9177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9178 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9180 grep -v '^ *+' conftest.er1 >conftest.err
9182 cat conftest.err >&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } >/dev/null; then
9185 if test -s conftest.err; then
9186 ac_cpp_err=$ac_c_preproc_warn_flag
9193 if test -z "$ac_cpp_err"; then
9194 ac_header_preproc=yes
9196 echo "$as_me: failed program was:" >&5
9197 sed 's/^/| /' conftest.$ac_ext >&5
9199 ac_header_preproc=no
9201 rm -f conftest.err conftest.$ac_ext
9202 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9203 echo "${ECHO_T}$ac_header_preproc" >&6
9205 # So? What about this header?
9206 case $ac_header_compiler:$ac_header_preproc in
9208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9211 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9214 ## ------------------------------------ ##
9215 ## Report this to bug-autoconf@gnu.org. ##
9216 ## ------------------------------------ ##
9219 sed "s/^/$as_me: WARNING: /" >&2
9222 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9223 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9224 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9225 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9227 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9230 ## ------------------------------------ ##
9231 ## Report this to bug-autoconf@gnu.org. ##
9232 ## ------------------------------------ ##
9235 sed "s/^/$as_me: WARNING: /" >&2
9238 echo "$as_me:$LINENO: checking for $ac_header" >&5
9239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 eval "$as_ac_Header=$ac_header_preproc"
9245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9250 cat >>confdefs.h <<_ACEOF
9251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9259 for ac_header in ctype.h
9261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9263 echo "$as_me:$LINENO: checking for $ac_header" >&5
9264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9271 # Is the header compilable?
9272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9274 cat >conftest.$ac_ext <<_ACEOF
9275 #line $LINENO "configure"
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9281 $ac_includes_default
9282 #include <$ac_header>
9284 rm -f conftest.$ac_objext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9286 (eval $ac_compile) 2>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try='test -s conftest.$ac_objext'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; }; then
9296 ac_header_compiler=yes
9298 echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9301 ac_header_compiler=no
9303 rm -f conftest.$ac_objext conftest.$ac_ext
9304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9305 echo "${ECHO_T}$ac_header_compiler" >&6
9307 # Is the header present?
9308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9310 cat >conftest.$ac_ext <<_ACEOF
9311 #line $LINENO "configure"
9314 cat confdefs.h >>conftest.$ac_ext
9315 cat >>conftest.$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9317 #include <$ac_header>
9319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9320 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9322 grep -v '^ *+' conftest.er1 >conftest.err
9324 cat conftest.err >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); } >/dev/null; then
9327 if test -s conftest.err; then
9328 ac_cpp_err=$ac_c_preproc_warn_flag
9335 if test -z "$ac_cpp_err"; then
9336 ac_header_preproc=yes
9338 echo "$as_me: failed program was:" >&5
9339 sed 's/^/| /' conftest.$ac_ext >&5
9341 ac_header_preproc=no
9343 rm -f conftest.err conftest.$ac_ext
9344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9345 echo "${ECHO_T}$ac_header_preproc" >&6
9347 # So? What about this header?
9348 case $ac_header_compiler:$ac_header_preproc in
9350 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9351 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9352 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9353 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9356 ## ------------------------------------ ##
9357 ## Report this to bug-autoconf@gnu.org. ##
9358 ## ------------------------------------ ##
9361 sed "s/^/$as_me: WARNING: /" >&2
9364 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9365 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9366 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9367 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9368 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9369 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9372 ## ------------------------------------ ##
9373 ## Report this to bug-autoconf@gnu.org. ##
9374 ## ------------------------------------ ##
9377 sed "s/^/$as_me: WARNING: /" >&2
9380 echo "$as_me:$LINENO: checking for $ac_header" >&5
9381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9383 echo $ECHO_N "(cached) $ECHO_C" >&6
9385 eval "$as_ac_Header=$ac_header_preproc"
9387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9388 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9392 cat >>confdefs.h <<_ACEOF
9393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9401 for ac_header in dirent.h
9403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9405 echo "$as_me:$LINENO: checking for $ac_header" >&5
9406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9408 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9411 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9413 # Is the header compilable?
9414 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9415 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9416 cat >conftest.$ac_ext <<_ACEOF
9417 #line $LINENO "configure"
9420 cat confdefs.h >>conftest.$ac_ext
9421 cat >>conftest.$ac_ext <<_ACEOF
9422 /* end confdefs.h. */
9423 $ac_includes_default
9424 #include <$ac_header>
9426 rm -f conftest.$ac_objext
9427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9428 (eval $ac_compile) 2>&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); } &&
9432 { ac_try='test -s conftest.$ac_objext'
9433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9437 (exit $ac_status); }; }; then
9438 ac_header_compiler=yes
9440 echo "$as_me: failed program was:" >&5
9441 sed 's/^/| /' conftest.$ac_ext >&5
9443 ac_header_compiler=no
9445 rm -f conftest.$ac_objext conftest.$ac_ext
9446 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9447 echo "${ECHO_T}$ac_header_compiler" >&6
9449 # Is the header present?
9450 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9451 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9452 cat >conftest.$ac_ext <<_ACEOF
9453 #line $LINENO "configure"
9456 cat confdefs.h >>conftest.$ac_ext
9457 cat >>conftest.$ac_ext <<_ACEOF
9458 /* end confdefs.h. */
9459 #include <$ac_header>
9461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9464 grep -v '^ *+' conftest.er1 >conftest.err
9466 cat conftest.err >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 (exit $ac_status); } >/dev/null; then
9469 if test -s conftest.err; then
9470 ac_cpp_err=$ac_c_preproc_warn_flag
9477 if test -z "$ac_cpp_err"; then
9478 ac_header_preproc=yes
9480 echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.$ac_ext >&5
9483 ac_header_preproc=no
9485 rm -f conftest.err conftest.$ac_ext
9486 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9487 echo "${ECHO_T}$ac_header_preproc" >&6
9489 # So? What about this header?
9490 case $ac_header_compiler:$ac_header_preproc in
9492 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9493 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9495 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9498 ## ------------------------------------ ##
9499 ## Report this to bug-autoconf@gnu.org. ##
9500 ## ------------------------------------ ##
9503 sed "s/^/$as_me: WARNING: /" >&2
9506 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9507 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9508 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9509 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9514 ## ------------------------------------ ##
9515 ## Report this to bug-autoconf@gnu.org. ##
9516 ## ------------------------------------ ##
9519 sed "s/^/$as_me: WARNING: /" >&2
9522 echo "$as_me:$LINENO: checking for $ac_header" >&5
9523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9525 echo $ECHO_N "(cached) $ECHO_C" >&6
9527 eval "$as_ac_Header=$ac_header_preproc"
9529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9534 cat >>confdefs.h <<_ACEOF
9535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9543 for ac_header in errno.h
9545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9547 echo "$as_me:$LINENO: checking for $ac_header" >&5
9548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9555 # Is the header compilable?
9556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9558 cat >conftest.$ac_ext <<_ACEOF
9559 #line $LINENO "configure"
9562 cat confdefs.h >>conftest.$ac_ext
9563 cat >>conftest.$ac_ext <<_ACEOF
9564 /* end confdefs.h. */
9565 $ac_includes_default
9566 #include <$ac_header>
9568 rm -f conftest.$ac_objext
9569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9570 (eval $ac_compile) 2>&5
9572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9573 (exit $ac_status); } &&
9574 { ac_try='test -s conftest.$ac_objext'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; }; then
9580 ac_header_compiler=yes
9582 echo "$as_me: failed program was:" >&5
9583 sed 's/^/| /' conftest.$ac_ext >&5
9585 ac_header_compiler=no
9587 rm -f conftest.$ac_objext conftest.$ac_ext
9588 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9589 echo "${ECHO_T}$ac_header_compiler" >&6
9591 # Is the header present?
9592 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9593 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9594 cat >conftest.$ac_ext <<_ACEOF
9595 #line $LINENO "configure"
9598 cat confdefs.h >>conftest.$ac_ext
9599 cat >>conftest.$ac_ext <<_ACEOF
9600 /* end confdefs.h. */
9601 #include <$ac_header>
9603 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9604 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9606 grep -v '^ *+' conftest.er1 >conftest.err
9608 cat conftest.err >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } >/dev/null; then
9611 if test -s conftest.err; then
9612 ac_cpp_err=$ac_c_preproc_warn_flag
9619 if test -z "$ac_cpp_err"; then
9620 ac_header_preproc=yes
9622 echo "$as_me: failed program was:" >&5
9623 sed 's/^/| /' conftest.$ac_ext >&5
9625 ac_header_preproc=no
9627 rm -f conftest.err conftest.$ac_ext
9628 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9629 echo "${ECHO_T}$ac_header_preproc" >&6
9631 # So? What about this header?
9632 case $ac_header_compiler:$ac_header_preproc in
9634 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9635 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9640 ## ------------------------------------ ##
9641 ## Report this to bug-autoconf@gnu.org. ##
9642 ## ------------------------------------ ##
9645 sed "s/^/$as_me: WARNING: /" >&2
9648 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9649 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9650 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9651 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9656 ## ------------------------------------ ##
9657 ## Report this to bug-autoconf@gnu.org. ##
9658 ## ------------------------------------ ##
9661 sed "s/^/$as_me: WARNING: /" >&2
9664 echo "$as_me:$LINENO: checking for $ac_header" >&5
9665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9667 echo $ECHO_N "(cached) $ECHO_C" >&6
9669 eval "$as_ac_Header=$ac_header_preproc"
9671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9675 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9676 cat >>confdefs.h <<_ACEOF
9677 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9685 for ac_header in malloc.h
9687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9689 echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9692 echo $ECHO_N "(cached) $ECHO_C" >&6
9694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9697 # Is the header compilable?
9698 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9699 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9700 cat >conftest.$ac_ext <<_ACEOF
9701 #line $LINENO "configure"
9704 cat confdefs.h >>conftest.$ac_ext
9705 cat >>conftest.$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9707 $ac_includes_default
9708 #include <$ac_header>
9710 rm -f conftest.$ac_objext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9712 (eval $ac_compile) 2>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try='test -s conftest.$ac_objext'
9717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; }; then
9722 ac_header_compiler=yes
9724 echo "$as_me: failed program was:" >&5
9725 sed 's/^/| /' conftest.$ac_ext >&5
9727 ac_header_compiler=no
9729 rm -f conftest.$ac_objext conftest.$ac_ext
9730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9731 echo "${ECHO_T}$ac_header_compiler" >&6
9733 # Is the header present?
9734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9736 cat >conftest.$ac_ext <<_ACEOF
9737 #line $LINENO "configure"
9740 cat confdefs.h >>conftest.$ac_ext
9741 cat >>conftest.$ac_ext <<_ACEOF
9742 /* end confdefs.h. */
9743 #include <$ac_header>
9745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9748 grep -v '^ *+' conftest.er1 >conftest.err
9750 cat conftest.err >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); } >/dev/null; then
9753 if test -s conftest.err; then
9754 ac_cpp_err=$ac_c_preproc_warn_flag
9761 if test -z "$ac_cpp_err"; then
9762 ac_header_preproc=yes
9764 echo "$as_me: failed program was:" >&5
9765 sed 's/^/| /' conftest.$ac_ext >&5
9767 ac_header_preproc=no
9769 rm -f conftest.err conftest.$ac_ext
9770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9771 echo "${ECHO_T}$ac_header_preproc" >&6
9773 # So? What about this header?
9774 case $ac_header_compiler:$ac_header_preproc in
9776 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9777 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9778 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9779 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9782 ## ------------------------------------ ##
9783 ## Report this to bug-autoconf@gnu.org. ##
9784 ## ------------------------------------ ##
9787 sed "s/^/$as_me: WARNING: /" >&2
9790 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9791 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9792 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9793 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9794 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9798 ## ------------------------------------ ##
9799 ## Report this to bug-autoconf@gnu.org. ##
9800 ## ------------------------------------ ##
9803 sed "s/^/$as_me: WARNING: /" >&2
9806 echo "$as_me:$LINENO: checking for $ac_header" >&5
9807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9809 echo $ECHO_N "(cached) $ECHO_C" >&6
9811 eval "$as_ac_Header=$ac_header_preproc"
9813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9818 cat >>confdefs.h <<_ACEOF
9819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9827 for ac_header in stdarg.h
9829 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9831 echo "$as_me:$LINENO: checking for $ac_header" >&5
9832 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9839 # Is the header compilable?
9840 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9841 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9842 cat >conftest.$ac_ext <<_ACEOF
9843 #line $LINENO "configure"
9846 cat confdefs.h >>conftest.$ac_ext
9847 cat >>conftest.$ac_ext <<_ACEOF
9848 /* end confdefs.h. */
9849 $ac_includes_default
9850 #include <$ac_header>
9852 rm -f conftest.$ac_objext
9853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9854 (eval $ac_compile) 2>&5
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); } &&
9858 { ac_try='test -s conftest.$ac_objext'
9859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9863 (exit $ac_status); }; }; then
9864 ac_header_compiler=yes
9866 echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9869 ac_header_compiler=no
9871 rm -f conftest.$ac_objext conftest.$ac_ext
9872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9873 echo "${ECHO_T}$ac_header_compiler" >&6
9875 # Is the header present?
9876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9878 cat >conftest.$ac_ext <<_ACEOF
9879 #line $LINENO "configure"
9882 cat confdefs.h >>conftest.$ac_ext
9883 cat >>conftest.$ac_ext <<_ACEOF
9884 /* end confdefs.h. */
9885 #include <$ac_header>
9887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9890 grep -v '^ *+' conftest.er1 >conftest.err
9892 cat conftest.err >&5
9893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9894 (exit $ac_status); } >/dev/null; then
9895 if test -s conftest.err; then
9896 ac_cpp_err=$ac_c_preproc_warn_flag
9903 if test -z "$ac_cpp_err"; then
9904 ac_header_preproc=yes
9906 echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.$ac_ext >&5
9909 ac_header_preproc=no
9911 rm -f conftest.err conftest.$ac_ext
9912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9913 echo "${ECHO_T}$ac_header_preproc" >&6
9915 # So? What about this header?
9916 case $ac_header_compiler:$ac_header_preproc in
9918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9921 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9924 ## ------------------------------------ ##
9925 ## Report this to bug-autoconf@gnu.org. ##
9926 ## ------------------------------------ ##
9929 sed "s/^/$as_me: WARNING: /" >&2
9932 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9933 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9934 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9935 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9940 ## ------------------------------------ ##
9941 ## Report this to bug-autoconf@gnu.org. ##
9942 ## ------------------------------------ ##
9945 sed "s/^/$as_me: WARNING: /" >&2
9948 echo "$as_me:$LINENO: checking for $ac_header" >&5
9949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9951 echo $ECHO_N "(cached) $ECHO_C" >&6
9953 eval "$as_ac_Header=$ac_header_preproc"
9955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9960 cat >>confdefs.h <<_ACEOF
9961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9969 for ac_header in sys/stat.h
9971 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9973 echo "$as_me:$LINENO: checking for $ac_header" >&5
9974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9979 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9981 # Is the header compilable?
9982 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9983 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9984 cat >conftest.$ac_ext <<_ACEOF
9985 #line $LINENO "configure"
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h. */
9991 $ac_includes_default
9992 #include <$ac_header>
9994 rm -f conftest.$ac_objext
9995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9996 (eval $ac_compile) 2>&5
9998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9999 (exit $ac_status); } &&
10000 { ac_try='test -s conftest.$ac_objext'
10001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10002 (eval $ac_try) 2>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); }; }; then
10006 ac_header_compiler=yes
10008 echo "$as_me: failed program was:" >&5
10009 sed 's/^/| /' conftest.$ac_ext >&5
10011 ac_header_compiler=no
10013 rm -f conftest.$ac_objext conftest.$ac_ext
10014 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10015 echo "${ECHO_T}$ac_header_compiler" >&6
10017 # Is the header present?
10018 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10019 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10020 cat >conftest.$ac_ext <<_ACEOF
10021 #line $LINENO "configure"
10024 cat confdefs.h >>conftest.$ac_ext
10025 cat >>conftest.$ac_ext <<_ACEOF
10026 /* end confdefs.h. */
10027 #include <$ac_header>
10029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10032 grep -v '^ *+' conftest.er1 >conftest.err
10034 cat conftest.err >&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); } >/dev/null; then
10037 if test -s conftest.err; then
10038 ac_cpp_err=$ac_c_preproc_warn_flag
10045 if test -z "$ac_cpp_err"; then
10046 ac_header_preproc=yes
10048 echo "$as_me: failed program was:" >&5
10049 sed 's/^/| /' conftest.$ac_ext >&5
10051 ac_header_preproc=no
10053 rm -f conftest.err conftest.$ac_ext
10054 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10055 echo "${ECHO_T}$ac_header_preproc" >&6
10057 # So? What about this header?
10058 case $ac_header_compiler:$ac_header_preproc in
10060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10066 ## ------------------------------------ ##
10067 ## Report this to bug-autoconf@gnu.org. ##
10068 ## ------------------------------------ ##
10071 sed "s/^/$as_me: WARNING: /" >&2
10074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10082 ## ------------------------------------ ##
10083 ## Report this to bug-autoconf@gnu.org. ##
10084 ## ------------------------------------ ##
10087 sed "s/^/$as_me: WARNING: /" >&2
10090 echo "$as_me:$LINENO: checking for $ac_header" >&5
10091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 eval "$as_ac_Header=$ac_header_preproc"
10097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10098 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10102 cat >>confdefs.h <<_ACEOF
10103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10111 for ac_header in sys/types.h
10113 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10115 echo "$as_me:$LINENO: checking for $ac_header" >&5
10116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10123 # Is the header compilable?
10124 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10125 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10126 cat >conftest.$ac_ext <<_ACEOF
10127 #line $LINENO "configure"
10130 cat confdefs.h >>conftest.$ac_ext
10131 cat >>conftest.$ac_ext <<_ACEOF
10132 /* end confdefs.h. */
10133 $ac_includes_default
10134 #include <$ac_header>
10136 rm -f conftest.$ac_objext
10137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10138 (eval $ac_compile) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); } &&
10142 { ac_try='test -s conftest.$ac_objext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 ac_header_compiler=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.$ac_ext >&5
10153 ac_header_compiler=no
10155 rm -f conftest.$ac_objext conftest.$ac_ext
10156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10157 echo "${ECHO_T}$ac_header_compiler" >&6
10159 # Is the header present?
10160 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10161 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10162 cat >conftest.$ac_ext <<_ACEOF
10163 #line $LINENO "configure"
10166 cat confdefs.h >>conftest.$ac_ext
10167 cat >>conftest.$ac_ext <<_ACEOF
10168 /* end confdefs.h. */
10169 #include <$ac_header>
10171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10174 grep -v '^ *+' conftest.er1 >conftest.err
10176 cat conftest.err >&5
10177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10178 (exit $ac_status); } >/dev/null; then
10179 if test -s conftest.err; then
10180 ac_cpp_err=$ac_c_preproc_warn_flag
10187 if test -z "$ac_cpp_err"; then
10188 ac_header_preproc=yes
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_header_preproc=no
10195 rm -f conftest.err conftest.$ac_ext
10196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10197 echo "${ECHO_T}$ac_header_preproc" >&6
10199 # So? What about this header?
10200 case $ac_header_compiler:$ac_header_preproc in
10202 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10203 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10208 ## ------------------------------------ ##
10209 ## Report this to bug-autoconf@gnu.org. ##
10210 ## ------------------------------------ ##
10213 sed "s/^/$as_me: WARNING: /" >&2
10216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10224 ## ------------------------------------ ##
10225 ## Report this to bug-autoconf@gnu.org. ##
10226 ## ------------------------------------ ##
10229 sed "s/^/$as_me: WARNING: /" >&2
10232 echo "$as_me:$LINENO: checking for $ac_header" >&5
10233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 eval "$as_ac_Header=$ac_header_preproc"
10239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10244 cat >>confdefs.h <<_ACEOF
10245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10253 for ac_header in time.h
10255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10257 echo "$as_me:$LINENO: checking for $ac_header" >&5
10258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10260 echo $ECHO_N "(cached) $ECHO_C" >&6
10262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10265 # Is the header compilable?
10266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10268 cat >conftest.$ac_ext <<_ACEOF
10269 #line $LINENO "configure"
10272 cat confdefs.h >>conftest.$ac_ext
10273 cat >>conftest.$ac_ext <<_ACEOF
10274 /* end confdefs.h. */
10275 $ac_includes_default
10276 #include <$ac_header>
10278 rm -f conftest.$ac_objext
10279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10280 (eval $ac_compile) 2>&5
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } &&
10284 { ac_try='test -s conftest.$ac_objext'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; }; then
10290 ac_header_compiler=yes
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.$ac_ext >&5
10295 ac_header_compiler=no
10297 rm -f conftest.$ac_objext conftest.$ac_ext
10298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10299 echo "${ECHO_T}$ac_header_compiler" >&6
10301 # Is the header present?
10302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10304 cat >conftest.$ac_ext <<_ACEOF
10305 #line $LINENO "configure"
10308 cat confdefs.h >>conftest.$ac_ext
10309 cat >>conftest.$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 #include <$ac_header>
10313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10316 grep -v '^ *+' conftest.er1 >conftest.err
10318 cat conftest.err >&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } >/dev/null; then
10321 if test -s conftest.err; then
10322 ac_cpp_err=$ac_c_preproc_warn_flag
10329 if test -z "$ac_cpp_err"; then
10330 ac_header_preproc=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_header_preproc=no
10337 rm -f conftest.err conftest.$ac_ext
10338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10339 echo "${ECHO_T}$ac_header_preproc" >&6
10341 # So? What about this header?
10342 case $ac_header_compiler:$ac_header_preproc in
10344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10350 ## ------------------------------------ ##
10351 ## Report this to bug-autoconf@gnu.org. ##
10352 ## ------------------------------------ ##
10355 sed "s/^/$as_me: WARNING: /" >&2
10358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10366 ## ------------------------------------ ##
10367 ## Report this to bug-autoconf@gnu.org. ##
10368 ## ------------------------------------ ##
10371 sed "s/^/$as_me: WARNING: /" >&2
10374 echo "$as_me:$LINENO: checking for $ac_header" >&5
10375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 eval "$as_ac_Header=$ac_header_preproc"
10381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10386 cat >>confdefs.h <<_ACEOF
10387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10395 for ac_header in ansidecl.h
10397 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10399 echo "$as_me:$LINENO: checking for $ac_header" >&5
10400 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10401 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10402 echo $ECHO_N "(cached) $ECHO_C" >&6
10404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10407 # Is the header compilable?
10408 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10409 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10410 cat >conftest.$ac_ext <<_ACEOF
10411 #line $LINENO "configure"
10414 cat confdefs.h >>conftest.$ac_ext
10415 cat >>conftest.$ac_ext <<_ACEOF
10416 /* end confdefs.h. */
10417 $ac_includes_default
10418 #include <$ac_header>
10420 rm -f conftest.$ac_objext
10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10422 (eval $ac_compile) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } &&
10426 { ac_try='test -s conftest.$ac_objext'
10427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10428 (eval $ac_try) 2>&5
10430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); }; }; then
10432 ac_header_compiler=yes
10434 echo "$as_me: failed program was:" >&5
10435 sed 's/^/| /' conftest.$ac_ext >&5
10437 ac_header_compiler=no
10439 rm -f conftest.$ac_objext conftest.$ac_ext
10440 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10441 echo "${ECHO_T}$ac_header_compiler" >&6
10443 # Is the header present?
10444 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10445 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10446 cat >conftest.$ac_ext <<_ACEOF
10447 #line $LINENO "configure"
10450 cat confdefs.h >>conftest.$ac_ext
10451 cat >>conftest.$ac_ext <<_ACEOF
10452 /* end confdefs.h. */
10453 #include <$ac_header>
10455 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10456 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10458 grep -v '^ *+' conftest.er1 >conftest.err
10460 cat conftest.err >&5
10461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10462 (exit $ac_status); } >/dev/null; then
10463 if test -s conftest.err; then
10464 ac_cpp_err=$ac_c_preproc_warn_flag
10471 if test -z "$ac_cpp_err"; then
10472 ac_header_preproc=yes
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.$ac_ext >&5
10477 ac_header_preproc=no
10479 rm -f conftest.err conftest.$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10481 echo "${ECHO_T}$ac_header_preproc" >&6
10483 # So? What about this header?
10484 case $ac_header_compiler:$ac_header_preproc in
10486 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10487 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10488 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10489 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10492 ## ------------------------------------ ##
10493 ## Report this to bug-autoconf@gnu.org. ##
10494 ## ------------------------------------ ##
10497 sed "s/^/$as_me: WARNING: /" >&2
10500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10505 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10508 ## ------------------------------------ ##
10509 ## Report this to bug-autoconf@gnu.org. ##
10510 ## ------------------------------------ ##
10513 sed "s/^/$as_me: WARNING: /" >&2
10516 echo "$as_me:$LINENO: checking for $ac_header" >&5
10517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 eval "$as_ac_Header=$ac_header_preproc"
10523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10528 cat >>confdefs.h <<_ACEOF
10529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10537 for ac_header in ieeefp.h
10539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10541 echo "$as_me:$LINENO: checking for $ac_header" >&5
10542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10544 echo $ECHO_N "(cached) $ECHO_C" >&6
10546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10549 # Is the header compilable?
10550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10552 cat >conftest.$ac_ext <<_ACEOF
10553 #line $LINENO "configure"
10556 cat confdefs.h >>conftest.$ac_ext
10557 cat >>conftest.$ac_ext <<_ACEOF
10558 /* end confdefs.h. */
10559 $ac_includes_default
10560 #include <$ac_header>
10562 rm -f conftest.$ac_objext
10563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10564 (eval $ac_compile) 2>&5
10566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10567 (exit $ac_status); } &&
10568 { ac_try='test -s conftest.$ac_objext'
10569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10570 (eval $ac_try) 2>&5
10572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573 (exit $ac_status); }; }; then
10574 ac_header_compiler=yes
10576 echo "$as_me: failed program was:" >&5
10577 sed 's/^/| /' conftest.$ac_ext >&5
10579 ac_header_compiler=no
10581 rm -f conftest.$ac_objext conftest.$ac_ext
10582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10583 echo "${ECHO_T}$ac_header_compiler" >&6
10585 # Is the header present?
10586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10588 cat >conftest.$ac_ext <<_ACEOF
10589 #line $LINENO "configure"
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10595 #include <$ac_header>
10597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10600 grep -v '^ *+' conftest.er1 >conftest.err
10602 cat conftest.err >&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } >/dev/null; then
10605 if test -s conftest.err; then
10606 ac_cpp_err=$ac_c_preproc_warn_flag
10613 if test -z "$ac_cpp_err"; then
10614 ac_header_preproc=yes
10616 echo "$as_me: failed program was:" >&5
10617 sed 's/^/| /' conftest.$ac_ext >&5
10619 ac_header_preproc=no
10621 rm -f conftest.err conftest.$ac_ext
10622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10623 echo "${ECHO_T}$ac_header_preproc" >&6
10625 # So? What about this header?
10626 case $ac_header_compiler:$ac_header_preproc in
10628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10634 ## ------------------------------------ ##
10635 ## Report this to bug-autoconf@gnu.org. ##
10636 ## ------------------------------------ ##
10639 sed "s/^/$as_me: WARNING: /" >&2
10642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10650 ## ------------------------------------ ##
10651 ## Report this to bug-autoconf@gnu.org. ##
10652 ## ------------------------------------ ##
10655 sed "s/^/$as_me: WARNING: /" >&2
10658 echo "$as_me:$LINENO: checking for $ac_header" >&5
10659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10661 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 eval "$as_ac_Header=$ac_header_preproc"
10665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10670 cat >>confdefs.h <<_ACEOF
10671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10679 for ac_header in nan.h
10681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10683 echo "$as_me:$LINENO: checking for $ac_header" >&5
10684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10691 # Is the header compilable?
10692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10694 cat >conftest.$ac_ext <<_ACEOF
10695 #line $LINENO "configure"
10698 cat confdefs.h >>conftest.$ac_ext
10699 cat >>conftest.$ac_ext <<_ACEOF
10700 /* end confdefs.h. */
10701 $ac_includes_default
10702 #include <$ac_header>
10704 rm -f conftest.$ac_objext
10705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10706 (eval $ac_compile) 2>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try='test -s conftest.$ac_objext'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; }; then
10716 ac_header_compiler=yes
10718 echo "$as_me: failed program was:" >&5
10719 sed 's/^/| /' conftest.$ac_ext >&5
10721 ac_header_compiler=no
10723 rm -f conftest.$ac_objext conftest.$ac_ext
10724 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10725 echo "${ECHO_T}$ac_header_compiler" >&6
10727 # Is the header present?
10728 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10729 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10730 cat >conftest.$ac_ext <<_ACEOF
10731 #line $LINENO "configure"
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10737 #include <$ac_header>
10739 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10740 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10742 grep -v '^ *+' conftest.er1 >conftest.err
10744 cat conftest.err >&5
10745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10746 (exit $ac_status); } >/dev/null; then
10747 if test -s conftest.err; then
10748 ac_cpp_err=$ac_c_preproc_warn_flag
10755 if test -z "$ac_cpp_err"; then
10756 ac_header_preproc=yes
10758 echo "$as_me: failed program was:" >&5
10759 sed 's/^/| /' conftest.$ac_ext >&5
10761 ac_header_preproc=no
10763 rm -f conftest.err conftest.$ac_ext
10764 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10765 echo "${ECHO_T}$ac_header_preproc" >&6
10767 # So? What about this header?
10768 case $ac_header_compiler:$ac_header_preproc in
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10771 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10776 ## ------------------------------------ ##
10777 ## Report this to bug-autoconf@gnu.org. ##
10778 ## ------------------------------------ ##
10781 sed "s/^/$as_me: WARNING: /" >&2
10784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10792 ## ------------------------------------ ##
10793 ## Report this to bug-autoconf@gnu.org. ##
10794 ## ------------------------------------ ##
10797 sed "s/^/$as_me: WARNING: /" >&2
10800 echo "$as_me:$LINENO: checking for $ac_header" >&5
10801 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10803 echo $ECHO_N "(cached) $ECHO_C" >&6
10805 eval "$as_ac_Header=$ac_header_preproc"
10807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10812 cat >>confdefs.h <<_ACEOF
10813 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10821 for ac_header in math.h
10823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10825 echo "$as_me:$LINENO: checking for $ac_header" >&5
10826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10833 # Is the header compilable?
10834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10836 cat >conftest.$ac_ext <<_ACEOF
10837 #line $LINENO "configure"
10840 cat confdefs.h >>conftest.$ac_ext
10841 cat >>conftest.$ac_ext <<_ACEOF
10842 /* end confdefs.h. */
10843 $ac_includes_default
10844 #include <$ac_header>
10846 rm -f conftest.$ac_objext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10848 (eval $ac_compile) 2>&5
10850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10851 (exit $ac_status); } &&
10852 { ac_try='test -s conftest.$ac_objext'
10853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10854 (eval $ac_try) 2>&5
10856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10857 (exit $ac_status); }; }; then
10858 ac_header_compiler=yes
10860 echo "$as_me: failed program was:" >&5
10861 sed 's/^/| /' conftest.$ac_ext >&5
10863 ac_header_compiler=no
10865 rm -f conftest.$ac_objext conftest.$ac_ext
10866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10867 echo "${ECHO_T}$ac_header_compiler" >&6
10869 # Is the header present?
10870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10872 cat >conftest.$ac_ext <<_ACEOF
10873 #line $LINENO "configure"
10876 cat confdefs.h >>conftest.$ac_ext
10877 cat >>conftest.$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 #include <$ac_header>
10881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10884 grep -v '^ *+' conftest.er1 >conftest.err
10886 cat conftest.err >&5
10887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10888 (exit $ac_status); } >/dev/null; then
10889 if test -s conftest.err; then
10890 ac_cpp_err=$ac_c_preproc_warn_flag
10897 if test -z "$ac_cpp_err"; then
10898 ac_header_preproc=yes
10900 echo "$as_me: failed program was:" >&5
10901 sed 's/^/| /' conftest.$ac_ext >&5
10903 ac_header_preproc=no
10905 rm -f conftest.err conftest.$ac_ext
10906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10907 echo "${ECHO_T}$ac_header_preproc" >&6
10909 # So? What about this header?
10910 case $ac_header_compiler:$ac_header_preproc in
10912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10918 ## ------------------------------------ ##
10919 ## Report this to bug-autoconf@gnu.org. ##
10920 ## ------------------------------------ ##
10923 sed "s/^/$as_me: WARNING: /" >&2
10926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10930 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10931 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10934 ## ------------------------------------ ##
10935 ## Report this to bug-autoconf@gnu.org. ##
10936 ## ------------------------------------ ##
10939 sed "s/^/$as_me: WARNING: /" >&2
10942 echo "$as_me:$LINENO: checking for $ac_header" >&5
10943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10945 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 eval "$as_ac_Header=$ac_header_preproc"
10949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10954 cat >>confdefs.h <<_ACEOF
10955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10963 for ac_header in fp_class.h
10965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10967 echo "$as_me:$LINENO: checking for $ac_header" >&5
10968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10970 echo $ECHO_N "(cached) $ECHO_C" >&6
10972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10975 # Is the header compilable?
10976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10978 cat >conftest.$ac_ext <<_ACEOF
10979 #line $LINENO "configure"
10982 cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10985 $ac_includes_default
10986 #include <$ac_header>
10988 rm -f conftest.$ac_objext
10989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10990 (eval $ac_compile) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); } &&
10994 { ac_try='test -s conftest.$ac_objext'
10995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10996 (eval $ac_try) 2>&5
10998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10999 (exit $ac_status); }; }; then
11000 ac_header_compiler=yes
11002 echo "$as_me: failed program was:" >&5
11003 sed 's/^/| /' conftest.$ac_ext >&5
11005 ac_header_compiler=no
11007 rm -f conftest.$ac_objext conftest.$ac_ext
11008 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11009 echo "${ECHO_T}$ac_header_compiler" >&6
11011 # Is the header present?
11012 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11013 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11014 cat >conftest.$ac_ext <<_ACEOF
11015 #line $LINENO "configure"
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11021 #include <$ac_header>
11023 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11024 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11026 grep -v '^ *+' conftest.er1 >conftest.err
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } >/dev/null; then
11031 if test -s conftest.err; then
11032 ac_cpp_err=$ac_c_preproc_warn_flag
11039 if test -z "$ac_cpp_err"; then
11040 ac_header_preproc=yes
11042 echo "$as_me: failed program was:" >&5
11043 sed 's/^/| /' conftest.$ac_ext >&5
11045 ac_header_preproc=no
11047 rm -f conftest.err conftest.$ac_ext
11048 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11049 echo "${ECHO_T}$ac_header_preproc" >&6
11051 # So? What about this header?
11052 case $ac_header_compiler:$ac_header_preproc in
11054 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11055 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11060 ## ------------------------------------ ##
11061 ## Report this to bug-autoconf@gnu.org. ##
11062 ## ------------------------------------ ##
11065 sed "s/^/$as_me: WARNING: /" >&2
11068 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11069 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11070 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11071 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11076 ## ------------------------------------ ##
11077 ## Report this to bug-autoconf@gnu.org. ##
11078 ## ------------------------------------ ##
11081 sed "s/^/$as_me: WARNING: /" >&2
11084 echo "$as_me:$LINENO: checking for $ac_header" >&5
11085 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11087 echo $ECHO_N "(cached) $ECHO_C" >&6
11089 eval "$as_ac_Header=$ac_header_preproc"
11091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11095 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11096 cat >>confdefs.h <<_ACEOF
11097 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11105 for ac_header in float.h
11107 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11108 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11109 echo "$as_me:$LINENO: checking for $ac_header" >&5
11110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11112 echo $ECHO_N "(cached) $ECHO_C" >&6
11114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11115 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11117 # Is the header compilable?
11118 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11120 cat >conftest.$ac_ext <<_ACEOF
11121 #line $LINENO "configure"
11124 cat confdefs.h >>conftest.$ac_ext
11125 cat >>conftest.$ac_ext <<_ACEOF
11126 /* end confdefs.h. */
11127 $ac_includes_default
11128 #include <$ac_header>
11130 rm -f conftest.$ac_objext
11131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11132 (eval $ac_compile) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try='test -s conftest.$ac_objext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 ac_header_compiler=yes
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.$ac_ext >&5
11147 ac_header_compiler=no
11149 rm -f conftest.$ac_objext conftest.$ac_ext
11150 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11151 echo "${ECHO_T}$ac_header_compiler" >&6
11153 # Is the header present?
11154 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11155 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11156 cat >conftest.$ac_ext <<_ACEOF
11157 #line $LINENO "configure"
11160 cat confdefs.h >>conftest.$ac_ext
11161 cat >>conftest.$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11163 #include <$ac_header>
11165 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11166 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11168 grep -v '^ *+' conftest.er1 >conftest.err
11170 cat conftest.err >&5
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); } >/dev/null; then
11173 if test -s conftest.err; then
11174 ac_cpp_err=$ac_c_preproc_warn_flag
11181 if test -z "$ac_cpp_err"; then
11182 ac_header_preproc=yes
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_header_preproc=no
11189 rm -f conftest.err conftest.$ac_ext
11190 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11191 echo "${ECHO_T}$ac_header_preproc" >&6
11193 # So? What about this header?
11194 case $ac_header_compiler:$ac_header_preproc in
11196 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11197 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11202 ## ------------------------------------ ##
11203 ## Report this to bug-autoconf@gnu.org. ##
11204 ## ------------------------------------ ##
11207 sed "s/^/$as_me: WARNING: /" >&2
11210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11218 ## ------------------------------------ ##
11219 ## Report this to bug-autoconf@gnu.org. ##
11220 ## ------------------------------------ ##
11223 sed "s/^/$as_me: WARNING: /" >&2
11226 echo "$as_me:$LINENO: checking for $ac_header" >&5
11227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11229 echo $ECHO_N "(cached) $ECHO_C" >&6
11231 eval "$as_ac_Header=$ac_header_preproc"
11233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11237 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11238 cat >>confdefs.h <<_ACEOF
11239 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11247 for ac_header in stdlib.h
11249 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11251 echo "$as_me:$LINENO: checking for $ac_header" >&5
11252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11257 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11259 # Is the header compilable?
11260 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11261 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11262 cat >conftest.$ac_ext <<_ACEOF
11263 #line $LINENO "configure"
11266 cat confdefs.h >>conftest.$ac_ext
11267 cat >>conftest.$ac_ext <<_ACEOF
11268 /* end confdefs.h. */
11269 $ac_includes_default
11270 #include <$ac_header>
11272 rm -f conftest.$ac_objext
11273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11274 (eval $ac_compile) 2>&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } &&
11278 { ac_try='test -s conftest.$ac_objext'
11279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280 (eval $ac_try) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }; }; then
11284 ac_header_compiler=yes
11286 echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11289 ac_header_compiler=no
11291 rm -f conftest.$ac_objext conftest.$ac_ext
11292 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11293 echo "${ECHO_T}$ac_header_compiler" >&6
11295 # Is the header present?
11296 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11297 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11298 cat >conftest.$ac_ext <<_ACEOF
11299 #line $LINENO "configure"
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11305 #include <$ac_header>
11307 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11308 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11310 grep -v '^ *+' conftest.er1 >conftest.err
11312 cat conftest.err >&5
11313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314 (exit $ac_status); } >/dev/null; then
11315 if test -s conftest.err; then
11316 ac_cpp_err=$ac_c_preproc_warn_flag
11323 if test -z "$ac_cpp_err"; then
11324 ac_header_preproc=yes
11326 echo "$as_me: failed program was:" >&5
11327 sed 's/^/| /' conftest.$ac_ext >&5
11329 ac_header_preproc=no
11331 rm -f conftest.err conftest.$ac_ext
11332 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11333 echo "${ECHO_T}$ac_header_preproc" >&6
11335 # So? What about this header?
11336 case $ac_header_compiler:$ac_header_preproc in
11338 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11339 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11344 ## ------------------------------------ ##
11345 ## Report this to bug-autoconf@gnu.org. ##
11346 ## ------------------------------------ ##
11349 sed "s/^/$as_me: WARNING: /" >&2
11352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11360 ## ------------------------------------ ##
11361 ## Report this to bug-autoconf@gnu.org. ##
11362 ## ------------------------------------ ##
11365 sed "s/^/$as_me: WARNING: /" >&2
11368 echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 eval "$as_ac_Header=$ac_header_preproc"
11375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11379 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11380 cat >>confdefs.h <<_ACEOF
11381 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11389 for ac_header in sys/socket.h
11391 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11392 echo "$as_me:$LINENO: checking for $ac_header" >&5
11393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11394 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11395 echo $ECHO_N "(cached) $ECHO_C" >&6
11397 cat >conftest.$ac_ext <<_ACEOF
11398 #line $LINENO "configure"
11401 cat confdefs.h >>conftest.$ac_ext
11402 cat >>conftest.$ac_ext <<_ACEOF
11403 /* end confdefs.h. */
11404 #if HAVE_SYS_TYPES_H
11405 # include <sys/types.h>
11409 #include <$ac_header>
11411 rm -f conftest.$ac_objext
11412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11413 (eval $ac_compile) 2>&5
11415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416 (exit $ac_status); } &&
11417 { ac_try='test -s conftest.$ac_objext'
11418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11419 (eval $ac_try) 2>&5
11421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11422 (exit $ac_status); }; }; then
11423 eval "$as_ac_Header=yes"
11425 echo "$as_me: failed program was:" >&5
11426 sed 's/^/| /' conftest.$ac_ext >&5
11428 eval "$as_ac_Header=no"
11430 rm -f conftest.$ac_objext conftest.$ac_ext
11432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11435 cat >>confdefs.h <<_ACEOF
11436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11444 for ac_header in netinet/in.h
11446 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11447 echo "$as_me:$LINENO: checking for $ac_header" >&5
11448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11450 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 cat >conftest.$ac_ext <<_ACEOF
11453 #line $LINENO "configure"
11456 cat confdefs.h >>conftest.$ac_ext
11457 cat >>conftest.$ac_ext <<_ACEOF
11458 /* end confdefs.h. */
11459 #if HAVE_SYS_TYPES_H
11460 # include <sys/types.h>
11464 #include <$ac_header>
11466 rm -f conftest.$ac_objext
11467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11468 (eval $ac_compile) 2>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } &&
11472 { ac_try='test -s conftest.$ac_objext'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; }; then
11478 eval "$as_ac_Header=yes"
11480 echo "$as_me: failed program was:" >&5
11481 sed 's/^/| /' conftest.$ac_ext >&5
11483 eval "$as_ac_Header=no"
11485 rm -f conftest.$ac_objext conftest.$ac_ext
11487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11489 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11490 cat >>confdefs.h <<_ACEOF
11491 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11499 for ac_header in arpa/inet.h
11501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11502 echo "$as_me:$LINENO: checking for $ac_header" >&5
11503 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11505 echo $ECHO_N "(cached) $ECHO_C" >&6
11507 cat >conftest.$ac_ext <<_ACEOF
11508 #line $LINENO "configure"
11511 cat confdefs.h >>conftest.$ac_ext
11512 cat >>conftest.$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11514 #if HAVE_SYS_TYPES_H
11515 # include <sys/types.h>
11517 #if HAVE_ARPA_INET_H
11518 # include <arpa/inet.h>
11522 #include <$ac_header>
11524 rm -f conftest.$ac_objext
11525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11526 (eval $ac_compile) 2>&5
11528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11529 (exit $ac_status); } &&
11530 { ac_try='test -s conftest.$ac_objext'
11531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11532 (eval $ac_try) 2>&5
11534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11535 (exit $ac_status); }; }; then
11536 eval "$as_ac_Header=yes"
11538 echo "$as_me: failed program was:" >&5
11539 sed 's/^/| /' conftest.$ac_ext >&5
11541 eval "$as_ac_Header=no"
11543 rm -f conftest.$ac_objext conftest.$ac_ext
11545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11548 cat >>confdefs.h <<_ACEOF
11549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11557 for ac_header in netdb.h
11559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11561 echo "$as_me:$LINENO: checking for $ac_header" >&5
11562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11564 echo $ECHO_N "(cached) $ECHO_C" >&6
11566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11569 # Is the header compilable?
11570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11572 cat >conftest.$ac_ext <<_ACEOF
11573 #line $LINENO "configure"
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11579 $ac_includes_default
11580 #include <$ac_header>
11582 rm -f conftest.$ac_objext
11583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11584 (eval $ac_compile) 2>&5
11586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11587 (exit $ac_status); } &&
11588 { ac_try='test -s conftest.$ac_objext'
11589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11590 (eval $ac_try) 2>&5
11592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11593 (exit $ac_status); }; }; then
11594 ac_header_compiler=yes
11596 echo "$as_me: failed program was:" >&5
11597 sed 's/^/| /' conftest.$ac_ext >&5
11599 ac_header_compiler=no
11601 rm -f conftest.$ac_objext conftest.$ac_ext
11602 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11603 echo "${ECHO_T}$ac_header_compiler" >&6
11605 # Is the header present?
11606 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11607 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11608 cat >conftest.$ac_ext <<_ACEOF
11609 #line $LINENO "configure"
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11615 #include <$ac_header>
11617 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11618 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11620 grep -v '^ *+' conftest.er1 >conftest.err
11622 cat conftest.err >&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); } >/dev/null; then
11625 if test -s conftest.err; then
11626 ac_cpp_err=$ac_c_preproc_warn_flag
11633 if test -z "$ac_cpp_err"; then
11634 ac_header_preproc=yes
11636 echo "$as_me: failed program was:" >&5
11637 sed 's/^/| /' conftest.$ac_ext >&5
11639 ac_header_preproc=no
11641 rm -f conftest.err conftest.$ac_ext
11642 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11643 echo "${ECHO_T}$ac_header_preproc" >&6
11645 # So? What about this header?
11646 case $ac_header_compiler:$ac_header_preproc in
11648 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11649 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11651 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11654 ## ------------------------------------ ##
11655 ## Report this to bug-autoconf@gnu.org. ##
11656 ## ------------------------------------ ##
11659 sed "s/^/$as_me: WARNING: /" >&2
11662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11666 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11667 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11670 ## ------------------------------------ ##
11671 ## Report this to bug-autoconf@gnu.org. ##
11672 ## ------------------------------------ ##
11675 sed "s/^/$as_me: WARNING: /" >&2
11678 echo "$as_me:$LINENO: checking for $ac_header" >&5
11679 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11681 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 eval "$as_ac_Header=$ac_header_preproc"
11685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11690 cat >>confdefs.h <<_ACEOF
11691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11699 for ac_header in sys/time.h
11701 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11702 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11703 echo "$as_me:$LINENO: checking for $ac_header" >&5
11704 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11705 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11706 echo $ECHO_N "(cached) $ECHO_C" >&6
11708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11711 # Is the header compilable?
11712 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11713 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11714 cat >conftest.$ac_ext <<_ACEOF
11715 #line $LINENO "configure"
11718 cat confdefs.h >>conftest.$ac_ext
11719 cat >>conftest.$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11721 $ac_includes_default
11722 #include <$ac_header>
11724 rm -f conftest.$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); } &&
11730 { ac_try='test -s conftest.$ac_objext'
11731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11732 (eval $ac_try) 2>&5
11734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); }; }; then
11736 ac_header_compiler=yes
11738 echo "$as_me: failed program was:" >&5
11739 sed 's/^/| /' conftest.$ac_ext >&5
11741 ac_header_compiler=no
11743 rm -f conftest.$ac_objext conftest.$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11745 echo "${ECHO_T}$ac_header_compiler" >&6
11747 # Is the header present?
11748 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11750 cat >conftest.$ac_ext <<_ACEOF
11751 #line $LINENO "configure"
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11757 #include <$ac_header>
11759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11762 grep -v '^ *+' conftest.er1 >conftest.err
11764 cat conftest.err >&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); } >/dev/null; then
11767 if test -s conftest.err; then
11768 ac_cpp_err=$ac_c_preproc_warn_flag
11775 if test -z "$ac_cpp_err"; then
11776 ac_header_preproc=yes
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.$ac_ext >&5
11781 ac_header_preproc=no
11783 rm -f conftest.err conftest.$ac_ext
11784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11785 echo "${ECHO_T}$ac_header_preproc" >&6
11787 # So? What about this header?
11788 case $ac_header_compiler:$ac_header_preproc in
11790 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11791 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11796 ## ------------------------------------ ##
11797 ## Report this to bug-autoconf@gnu.org. ##
11798 ## ------------------------------------ ##
11801 sed "s/^/$as_me: WARNING: /" >&2
11804 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11805 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11806 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11807 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11809 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11812 ## ------------------------------------ ##
11813 ## Report this to bug-autoconf@gnu.org. ##
11814 ## ------------------------------------ ##
11817 sed "s/^/$as_me: WARNING: /" >&2
11820 echo "$as_me:$LINENO: checking for $ac_header" >&5
11821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11823 echo $ECHO_N "(cached) $ECHO_C" >&6
11825 eval "$as_ac_Header=$ac_header_preproc"
11827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11832 cat >>confdefs.h <<_ACEOF
11833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11841 for ac_header in sys/select.h
11843 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11845 echo "$as_me:$LINENO: checking for $ac_header" >&5
11846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11847 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11853 # Is the header compilable?
11854 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11855 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11856 cat >conftest.$ac_ext <<_ACEOF
11857 #line $LINENO "configure"
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 $ac_includes_default
11864 #include <$ac_header>
11866 rm -f conftest.$ac_objext
11867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11868 (eval $ac_compile) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); } &&
11872 { ac_try='test -s conftest.$ac_objext'
11873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11874 (eval $ac_try) 2>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); }; }; then
11878 ac_header_compiler=yes
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11883 ac_header_compiler=no
11885 rm -f conftest.$ac_objext conftest.$ac_ext
11886 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11887 echo "${ECHO_T}$ac_header_compiler" >&6
11889 # Is the header present?
11890 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11891 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11892 cat >conftest.$ac_ext <<_ACEOF
11893 #line $LINENO "configure"
11896 cat confdefs.h >>conftest.$ac_ext
11897 cat >>conftest.$ac_ext <<_ACEOF
11898 /* end confdefs.h. */
11899 #include <$ac_header>
11901 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11902 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11904 grep -v '^ *+' conftest.er1 >conftest.err
11906 cat conftest.err >&5
11907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11908 (exit $ac_status); } >/dev/null; then
11909 if test -s conftest.err; then
11910 ac_cpp_err=$ac_c_preproc_warn_flag
11917 if test -z "$ac_cpp_err"; then
11918 ac_header_preproc=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11923 ac_header_preproc=no
11925 rm -f conftest.err conftest.$ac_ext
11926 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11927 echo "${ECHO_T}$ac_header_preproc" >&6
11929 # So? What about this header?
11930 case $ac_header_compiler:$ac_header_preproc in
11932 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11933 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11938 ## ------------------------------------ ##
11939 ## Report this to bug-autoconf@gnu.org. ##
11940 ## ------------------------------------ ##
11943 sed "s/^/$as_me: WARNING: /" >&2
11946 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11947 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11948 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11949 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11951 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11954 ## ------------------------------------ ##
11955 ## Report this to bug-autoconf@gnu.org. ##
11956 ## ------------------------------------ ##
11959 sed "s/^/$as_me: WARNING: /" >&2
11962 echo "$as_me:$LINENO: checking for $ac_header" >&5
11963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11964 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11965 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 eval "$as_ac_Header=$ac_header_preproc"
11969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11970 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11974 cat >>confdefs.h <<_ACEOF
11975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11983 for ac_header in sys/mman.h
11985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11987 echo "$as_me:$LINENO: checking for $ac_header" >&5
11988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11990 echo $ECHO_N "(cached) $ECHO_C" >&6
11992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11995 # Is the header compilable?
11996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11998 cat >conftest.$ac_ext <<_ACEOF
11999 #line $LINENO "configure"
12002 cat confdefs.h >>conftest.$ac_ext
12003 cat >>conftest.$ac_ext <<_ACEOF
12004 /* end confdefs.h. */
12005 $ac_includes_default
12006 #include <$ac_header>
12008 rm -f conftest.$ac_objext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12010 (eval $ac_compile) 2>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } &&
12014 { ac_try='test -s conftest.$ac_objext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_header_compiler=yes
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 ac_header_compiler=no
12027 rm -f conftest.$ac_objext conftest.$ac_ext
12028 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12029 echo "${ECHO_T}$ac_header_compiler" >&6
12031 # Is the header present?
12032 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12033 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12034 cat >conftest.$ac_ext <<_ACEOF
12035 #line $LINENO "configure"
12038 cat confdefs.h >>conftest.$ac_ext
12039 cat >>conftest.$ac_ext <<_ACEOF
12040 /* end confdefs.h. */
12041 #include <$ac_header>
12043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12046 grep -v '^ *+' conftest.er1 >conftest.err
12048 cat conftest.err >&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } >/dev/null; then
12051 if test -s conftest.err; then
12052 ac_cpp_err=$ac_c_preproc_warn_flag
12059 if test -z "$ac_cpp_err"; then
12060 ac_header_preproc=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_header_preproc=no
12067 rm -f conftest.err conftest.$ac_ext
12068 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12069 echo "${ECHO_T}$ac_header_preproc" >&6
12071 # So? What about this header?
12072 case $ac_header_compiler:$ac_header_preproc in
12074 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12075 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12076 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12077 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12080 ## ------------------------------------ ##
12081 ## Report this to bug-autoconf@gnu.org. ##
12082 ## ------------------------------------ ##
12085 sed "s/^/$as_me: WARNING: /" >&2
12088 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12089 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12090 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12091 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12093 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12096 ## ------------------------------------ ##
12097 ## Report this to bug-autoconf@gnu.org. ##
12098 ## ------------------------------------ ##
12101 sed "s/^/$as_me: WARNING: /" >&2
12104 echo "$as_me:$LINENO: checking for $ac_header" >&5
12105 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12107 echo $ECHO_N "(cached) $ECHO_C" >&6
12109 eval "$as_ac_Header=$ac_header_preproc"
12111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12112 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12115 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12116 cat >>confdefs.h <<_ACEOF
12117 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12125 for ac_header in sys/timeb.h
12127 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12129 echo "$as_me:$LINENO: checking for $ac_header" >&5
12130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12137 # Is the header compilable?
12138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12140 cat >conftest.$ac_ext <<_ACEOF
12141 #line $LINENO "configure"
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12147 $ac_includes_default
12148 #include <$ac_header>
12150 rm -f conftest.$ac_objext
12151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12152 (eval $ac_compile) 2>&5
12154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } &&
12156 { ac_try='test -s conftest.$ac_objext'
12157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12158 (eval $ac_try) 2>&5
12160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12161 (exit $ac_status); }; }; then
12162 ac_header_compiler=yes
12164 echo "$as_me: failed program was:" >&5
12165 sed 's/^/| /' conftest.$ac_ext >&5
12167 ac_header_compiler=no
12169 rm -f conftest.$ac_objext conftest.$ac_ext
12170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12171 echo "${ECHO_T}$ac_header_compiler" >&6
12173 # Is the header present?
12174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12176 cat >conftest.$ac_ext <<_ACEOF
12177 #line $LINENO "configure"
12180 cat confdefs.h >>conftest.$ac_ext
12181 cat >>conftest.$ac_ext <<_ACEOF
12182 /* end confdefs.h. */
12183 #include <$ac_header>
12185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12188 grep -v '^ *+' conftest.er1 >conftest.err
12190 cat conftest.err >&5
12191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12192 (exit $ac_status); } >/dev/null; then
12193 if test -s conftest.err; then
12194 ac_cpp_err=$ac_c_preproc_warn_flag
12201 if test -z "$ac_cpp_err"; then
12202 ac_header_preproc=yes
12204 echo "$as_me: failed program was:" >&5
12205 sed 's/^/| /' conftest.$ac_ext >&5
12207 ac_header_preproc=no
12209 rm -f conftest.err conftest.$ac_ext
12210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12211 echo "${ECHO_T}$ac_header_preproc" >&6
12213 # So? What about this header?
12214 case $ac_header_compiler:$ac_header_preproc in
12216 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12217 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12222 ## ------------------------------------ ##
12223 ## Report this to bug-autoconf@gnu.org. ##
12224 ## ------------------------------------ ##
12227 sed "s/^/$as_me: WARNING: /" >&2
12230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12238 ## ------------------------------------ ##
12239 ## Report this to bug-autoconf@gnu.org. ##
12240 ## ------------------------------------ ##
12243 sed "s/^/$as_me: WARNING: /" >&2
12246 echo "$as_me:$LINENO: checking for $ac_header" >&5
12247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12249 echo $ECHO_N "(cached) $ECHO_C" >&6
12251 eval "$as_ac_Header=$ac_header_preproc"
12253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12258 cat >>confdefs.h <<_ACEOF
12259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12267 for ac_header in signal.h
12269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12271 echo "$as_me:$LINENO: checking for $ac_header" >&5
12272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12274 echo $ECHO_N "(cached) $ECHO_C" >&6
12276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12279 # Is the header compilable?
12280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12282 cat >conftest.$ac_ext <<_ACEOF
12283 #line $LINENO "configure"
12286 cat confdefs.h >>conftest.$ac_ext
12287 cat >>conftest.$ac_ext <<_ACEOF
12288 /* end confdefs.h. */
12289 $ac_includes_default
12290 #include <$ac_header>
12292 rm -f conftest.$ac_objext
12293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12294 (eval $ac_compile) 2>&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try='test -s conftest.$ac_objext'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; }; then
12304 ac_header_compiler=yes
12306 echo "$as_me: failed program was:" >&5
12307 sed 's/^/| /' conftest.$ac_ext >&5
12309 ac_header_compiler=no
12311 rm -f conftest.$ac_objext conftest.$ac_ext
12312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12313 echo "${ECHO_T}$ac_header_compiler" >&6
12315 # Is the header present?
12316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12318 cat >conftest.$ac_ext <<_ACEOF
12319 #line $LINENO "configure"
12322 cat confdefs.h >>conftest.$ac_ext
12323 cat >>conftest.$ac_ext <<_ACEOF
12324 /* end confdefs.h. */
12325 #include <$ac_header>
12327 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12328 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12330 grep -v '^ *+' conftest.er1 >conftest.err
12332 cat conftest.err >&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } >/dev/null; then
12335 if test -s conftest.err; then
12336 ac_cpp_err=$ac_c_preproc_warn_flag
12343 if test -z "$ac_cpp_err"; then
12344 ac_header_preproc=yes
12346 echo "$as_me: failed program was:" >&5
12347 sed 's/^/| /' conftest.$ac_ext >&5
12349 ac_header_preproc=no
12351 rm -f conftest.err conftest.$ac_ext
12352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12353 echo "${ECHO_T}$ac_header_preproc" >&6
12355 # So? What about this header?
12356 case $ac_header_compiler:$ac_header_preproc in
12358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12364 ## ------------------------------------ ##
12365 ## Report this to bug-autoconf@gnu.org. ##
12366 ## ------------------------------------ ##
12369 sed "s/^/$as_me: WARNING: /" >&2
12372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12380 ## ------------------------------------ ##
12381 ## Report this to bug-autoconf@gnu.org. ##
12382 ## ------------------------------------ ##
12385 sed "s/^/$as_me: WARNING: /" >&2
12388 echo "$as_me:$LINENO: checking for $ac_header" >&5
12389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12391 echo $ECHO_N "(cached) $ECHO_C" >&6
12393 eval "$as_ac_Header=$ac_header_preproc"
12395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12396 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12399 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12400 cat >>confdefs.h <<_ACEOF
12401 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12409 for ac_header in arpa/nameser.h
12411 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12412 echo "$as_me:$LINENO: checking for $ac_header" >&5
12413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12414 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12415 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 cat >conftest.$ac_ext <<_ACEOF
12418 #line $LINENO "configure"
12421 cat confdefs.h >>conftest.$ac_ext
12422 cat >>conftest.$ac_ext <<_ACEOF
12423 /* end confdefs.h. */
12424 #if HAVE_SYS_TYPES_H
12425 # include <sys/types.h>
12429 #include <$ac_header>
12431 rm -f conftest.$ac_objext
12432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12433 (eval $ac_compile) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } &&
12437 { ac_try='test -s conftest.$ac_objext'
12438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12439 (eval $ac_try) 2>&5
12441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442 (exit $ac_status); }; }; then
12443 eval "$as_ac_Header=yes"
12445 echo "$as_me: failed program was:" >&5
12446 sed 's/^/| /' conftest.$ac_ext >&5
12448 eval "$as_ac_Header=no"
12450 rm -f conftest.$ac_objext conftest.$ac_ext
12452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12453 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12455 cat >>confdefs.h <<_ACEOF
12456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12464 for ac_header in resolv.h
12466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12467 echo "$as_me:$LINENO: checking for $ac_header" >&5
12468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12470 echo $ECHO_N "(cached) $ECHO_C" >&6
12472 cat >conftest.$ac_ext <<_ACEOF
12473 #line $LINENO "configure"
12476 cat confdefs.h >>conftest.$ac_ext
12477 cat >>conftest.$ac_ext <<_ACEOF
12478 /* end confdefs.h. */
12479 #if HAVE_SYS_TYPES_H
12480 # include <sys/types.h>
12482 #if HAVE_NETINET_IN_H
12483 # include <netinet/in.h>
12485 #if HAVE_ARPA_NAMESER_H
12486 # include <arpa/nameser.h>
12490 #include <$ac_header>
12492 rm -f conftest.$ac_objext
12493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12494 (eval $ac_compile) 2>&5
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); } &&
12498 { ac_try='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 eval "$as_ac_Header=yes"
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12509 eval "$as_ac_Header=no"
12511 rm -f conftest.$ac_objext conftest.$ac_ext
12513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12514 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12516 cat >>confdefs.h <<_ACEOF
12517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12525 if test "x$with_html_dir" = "x" ; then
12526 HTML_DIR='$(prefix)/doc'
12528 HTML_DIR=$with_html_dir
12534 for ac_func in strftime
12536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12537 echo "$as_me:$LINENO: checking for $ac_func" >&5
12538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12539 if eval "test \"\${$as_ac_var+set}\" = set"; then
12540 echo $ECHO_N "(cached) $ECHO_C" >&6
12542 cat >conftest.$ac_ext <<_ACEOF
12543 #line $LINENO "configure"
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12549 /* System header to define __stub macros and hopefully few prototypes,
12550 which can conflict with char $ac_func (); below.
12551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12552 <limits.h> exists even on freestanding compilers. */
12554 # include <limits.h>
12556 # include <assert.h>
12558 /* Override any gcc2 internal prototype to avoid an error. */
12563 /* We use char because int might match the return type of a gcc2
12564 builtin and then its argument prototype would still apply. */
12566 /* The GNU C library defines this for functions which it implements
12567 to always fail with ENOSYS. Some functions are actually named
12568 something starting with __ and the normal name is an alias. */
12569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12572 char (*f) () = $ac_func;
12581 return f != $ac_func;
12586 rm -f conftest.$ac_objext conftest$ac_exeext
12587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12588 (eval $ac_link) 2>&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } &&
12592 { ac_try='test -s conftest$ac_exeext'
12593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12594 (eval $ac_try) 2>&5
12596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12597 (exit $ac_status); }; }; then
12598 eval "$as_ac_var=yes"
12600 echo "$as_me: failed program was:" >&5
12601 sed 's/^/| /' conftest.$ac_ext >&5
12603 eval "$as_ac_var=no"
12605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12609 if test `eval echo '${'$as_ac_var'}'` = yes; then
12610 cat >>confdefs.h <<_ACEOF
12611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12615 # strftime is in -lintl on SCO UNIX.
12616 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
12617 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
12618 if test "${ac_cv_lib_intl_strftime+set}" = set; then
12619 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 ac_check_lib_save_LIBS=$LIBS
12622 LIBS="-lintl $LIBS"
12623 cat >conftest.$ac_ext <<_ACEOF
12624 #line $LINENO "configure"
12627 cat confdefs.h >>conftest.$ac_ext
12628 cat >>conftest.$ac_ext <<_ACEOF
12629 /* end confdefs.h. */
12631 /* Override any gcc2 internal prototype to avoid an error. */
12635 /* We use char because int might match the return type of a gcc2
12636 builtin and then its argument prototype would still apply. */
12646 rm -f conftest.$ac_objext conftest$ac_exeext
12647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12648 (eval $ac_link) 2>&5
12650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12651 (exit $ac_status); } &&
12652 { ac_try='test -s conftest$ac_exeext'
12653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12654 (eval $ac_try) 2>&5
12656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12657 (exit $ac_status); }; }; then
12658 ac_cv_lib_intl_strftime=yes
12660 echo "$as_me: failed program was:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 ac_cv_lib_intl_strftime=no
12665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12666 LIBS=$ac_check_lib_save_LIBS
12668 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
12669 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
12670 if test $ac_cv_lib_intl_strftime = yes; then
12671 cat >>confdefs.h <<\_ACEOF
12672 #define HAVE_STRFTIME 1
12675 LIBS="-lintl $LIBS"
12684 for ac_func in strdup strndup strerror
12686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12687 echo "$as_me:$LINENO: checking for $ac_func" >&5
12688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12689 if eval "test \"\${$as_ac_var+set}\" = set"; then
12690 echo $ECHO_N "(cached) $ECHO_C" >&6
12692 cat >conftest.$ac_ext <<_ACEOF
12693 #line $LINENO "configure"
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699 /* System header to define __stub macros and hopefully few prototypes,
12700 which can conflict with char $ac_func (); below.
12701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12702 <limits.h> exists even on freestanding compilers. */
12704 # include <limits.h>
12706 # include <assert.h>
12708 /* Override any gcc2 internal prototype to avoid an error. */
12713 /* We use char because int might match the return type of a gcc2
12714 builtin and then its argument prototype would still apply. */
12716 /* The GNU C library defines this for functions which it implements
12717 to always fail with ENOSYS. Some functions are actually named
12718 something starting with __ and the normal name is an alias. */
12719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12722 char (*f) () = $ac_func;
12731 return f != $ac_func;
12736 rm -f conftest.$ac_objext conftest$ac_exeext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12738 (eval $ac_link) 2>&5
12740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12741 (exit $ac_status); } &&
12742 { ac_try='test -s conftest$ac_exeext'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; }; then
12748 eval "$as_ac_var=yes"
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.$ac_ext >&5
12753 eval "$as_ac_var=no"
12755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12759 if test `eval echo '${'$as_ac_var'}'` = yes; then
12760 cat >>confdefs.h <<_ACEOF
12761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12772 for ac_func in finite isnand fp_class class fpclass
12774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12775 echo "$as_me:$LINENO: checking for $ac_func" >&5
12776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12777 if eval "test \"\${$as_ac_var+set}\" = set"; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12780 cat >conftest.$ac_ext <<_ACEOF
12781 #line $LINENO "configure"
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h. */
12787 /* System header to define __stub macros and hopefully few prototypes,
12788 which can conflict with char $ac_func (); below.
12789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12790 <limits.h> exists even on freestanding compilers. */
12792 # include <limits.h>
12794 # include <assert.h>
12796 /* Override any gcc2 internal prototype to avoid an error. */
12801 /* We use char because int might match the return type of a gcc2
12802 builtin and then its argument prototype would still apply. */
12804 /* The GNU C library defines this for functions which it implements
12805 to always fail with ENOSYS. Some functions are actually named
12806 something starting with __ and the normal name is an alias. */
12807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12810 char (*f) () = $ac_func;
12819 return f != $ac_func;
12824 rm -f conftest.$ac_objext conftest$ac_exeext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12826 (eval $ac_link) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try='test -s conftest$ac_exeext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 eval "$as_ac_var=yes"
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12841 eval "$as_ac_var=no"
12843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12847 if test `eval echo '${'$as_ac_var'}'` = yes; then
12848 cat >>confdefs.h <<_ACEOF
12849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12859 for ac_func in strftime localtime gettimeofday ftime
12861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12862 echo "$as_me:$LINENO: checking for $ac_func" >&5
12863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12864 if eval "test \"\${$as_ac_var+set}\" = set"; then
12865 echo $ECHO_N "(cached) $ECHO_C" >&6
12867 cat >conftest.$ac_ext <<_ACEOF
12868 #line $LINENO "configure"
12871 cat confdefs.h >>conftest.$ac_ext
12872 cat >>conftest.$ac_ext <<_ACEOF
12873 /* end confdefs.h. */
12874 /* System header to define __stub macros and hopefully few prototypes,
12875 which can conflict with char $ac_func (); below.
12876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877 <limits.h> exists even on freestanding compilers. */
12879 # include <limits.h>
12881 # include <assert.h>
12883 /* Override any gcc2 internal prototype to avoid an error. */
12888 /* We use char because int might match the return type of a gcc2
12889 builtin and then its argument prototype would still apply. */
12891 /* The GNU C library defines this for functions which it implements
12892 to always fail with ENOSYS. Some functions are actually named
12893 something starting with __ and the normal name is an alias. */
12894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12897 char (*f) () = $ac_func;
12906 return f != $ac_func;
12911 rm -f conftest.$ac_objext conftest$ac_exeext
12912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12913 (eval $ac_link) 2>&5
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); } &&
12917 { ac_try='test -s conftest$ac_exeext'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; }; then
12923 eval "$as_ac_var=yes"
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12928 eval "$as_ac_var=no"
12930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12934 if test `eval echo '${'$as_ac_var'}'` = yes; then
12935 cat >>confdefs.h <<_ACEOF
12936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12945 for ac_func in stat _stat signal
12947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12948 echo "$as_me:$LINENO: checking for $ac_func" >&5
12949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12950 if eval "test \"\${$as_ac_var+set}\" = set"; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 cat >conftest.$ac_ext <<_ACEOF
12954 #line $LINENO "configure"
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 /* System header to define __stub macros and hopefully few prototypes,
12961 which can conflict with char $ac_func (); below.
12962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12963 <limits.h> exists even on freestanding compilers. */
12965 # include <limits.h>
12967 # include <assert.h>
12969 /* Override any gcc2 internal prototype to avoid an error. */
12974 /* We use char because int might match the return type of a gcc2
12975 builtin and then its argument prototype would still apply. */
12977 /* The GNU C library defines this for functions which it implements
12978 to always fail with ENOSYS. Some functions are actually named
12979 something starting with __ and the normal name is an alias. */
12980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12983 char (*f) () = $ac_func;
12992 return f != $ac_func;
12997 rm -f conftest.$ac_objext conftest$ac_exeext
12998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12999 (eval $ac_link) 2>&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try='test -s conftest$ac_exeext'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; }; then
13009 eval "$as_ac_var=yes"
13011 echo "$as_me: failed program was:" >&5
13012 sed 's/^/| /' conftest.$ac_ext >&5
13014 eval "$as_ac_var=no"
13016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13020 if test `eval echo '${'$as_ac_var'}'` = yes; then
13021 cat >>confdefs.h <<_ACEOF
13022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13037 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
13039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13040 echo "$as_me:$LINENO: checking for $ac_func" >&5
13041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13042 if eval "test \"\${$as_ac_var+set}\" = set"; then
13043 echo $ECHO_N "(cached) $ECHO_C" >&6
13045 cat >conftest.$ac_ext <<_ACEOF
13046 #line $LINENO "configure"
13049 cat confdefs.h >>conftest.$ac_ext
13050 cat >>conftest.$ac_ext <<_ACEOF
13051 /* end confdefs.h. */
13052 /* System header to define __stub macros and hopefully few prototypes,
13053 which can conflict with char $ac_func (); below.
13054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13055 <limits.h> exists even on freestanding compilers. */
13057 # include <limits.h>
13059 # include <assert.h>
13061 /* Override any gcc2 internal prototype to avoid an error. */
13066 /* We use char because int might match the return type of a gcc2
13067 builtin and then its argument prototype would still apply. */
13069 /* The GNU C library defines this for functions which it implements
13070 to always fail with ENOSYS. Some functions are actually named
13071 something starting with __ and the normal name is an alias. */
13072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13075 char (*f) () = $ac_func;
13084 return f != $ac_func;
13089 rm -f conftest.$ac_objext conftest$ac_exeext
13090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13091 (eval $ac_link) 2>&5
13093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13094 (exit $ac_status); } &&
13095 { ac_try='test -s conftest$ac_exeext'
13096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13097 (eval $ac_try) 2>&5
13099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13100 (exit $ac_status); }; }; then
13101 eval "$as_ac_var=yes"
13103 echo "$as_me: failed program was:" >&5
13104 sed 's/^/| /' conftest.$ac_ext >&5
13106 eval "$as_ac_var=no"
13108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13112 if test `eval echo '${'$as_ac_var'}'` = yes; then
13113 cat >>confdefs.h <<_ACEOF
13114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13123 echo "$as_me:$LINENO: checking for gethostent" >&5
13124 echo $ECHO_N "checking for gethostent... $ECHO_C" >&6
13125 if test "${ac_cv_func_gethostent+set}" = set; then
13126 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 cat >conftest.$ac_ext <<_ACEOF
13129 #line $LINENO "configure"
13132 cat confdefs.h >>conftest.$ac_ext
13133 cat >>conftest.$ac_ext <<_ACEOF
13134 /* end confdefs.h. */
13135 /* System header to define __stub macros and hopefully few prototypes,
13136 which can conflict with char gethostent (); below.
13137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13138 <limits.h> exists even on freestanding compilers. */
13140 # include <limits.h>
13142 # include <assert.h>
13144 /* Override any gcc2 internal prototype to avoid an error. */
13149 /* We use char because int might match the return type of a gcc2
13150 builtin and then its argument prototype would still apply. */
13151 char gethostent ();
13152 /* The GNU C library defines this for functions which it implements
13153 to always fail with ENOSYS. Some functions are actually named
13154 something starting with __ and the normal name is an alias. */
13155 #if defined (__stub_gethostent) || defined (__stub___gethostent)
13158 char (*f) () = gethostent;
13167 return f != gethostent;
13172 rm -f conftest.$ac_objext conftest$ac_exeext
13173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13174 (eval $ac_link) 2>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try='test -s conftest$ac_exeext'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; }; then
13184 ac_cv_func_gethostent=yes
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13189 ac_cv_func_gethostent=no
13191 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13193 echo "$as_me:$LINENO: result: $ac_cv_func_gethostent" >&5
13194 echo "${ECHO_T}$ac_cv_func_gethostent" >&6
13195 if test $ac_cv_func_gethostent = yes; then
13199 echo "$as_me:$LINENO: checking for gethostent in -lnsl" >&5
13200 echo $ECHO_N "checking for gethostent in -lnsl... $ECHO_C" >&6
13201 if test "${ac_cv_lib_nsl_gethostent+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13204 ac_check_lib_save_LIBS=$LIBS
13206 cat >conftest.$ac_ext <<_ACEOF
13207 #line $LINENO "configure"
13210 cat confdefs.h >>conftest.$ac_ext
13211 cat >>conftest.$ac_ext <<_ACEOF
13212 /* end confdefs.h. */
13214 /* Override any gcc2 internal prototype to avoid an error. */
13218 /* We use char because int might match the return type of a gcc2
13219 builtin and then its argument prototype would still apply. */
13220 char gethostent ();
13229 rm -f conftest.$ac_objext conftest$ac_exeext
13230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13231 (eval $ac_link) 2>&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try='test -s conftest$ac_exeext'
13236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13237 (eval $ac_try) 2>&5
13239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13240 (exit $ac_status); }; }; then
13241 ac_cv_lib_nsl_gethostent=yes
13243 echo "$as_me: failed program was:" >&5
13244 sed 's/^/| /' conftest.$ac_ext >&5
13246 ac_cv_lib_nsl_gethostent=no
13248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13249 LIBS=$ac_check_lib_save_LIBS
13251 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostent" >&5
13252 echo "${ECHO_T}$ac_cv_lib_nsl_gethostent" >&6
13253 if test $ac_cv_lib_nsl_gethostent = yes; then
13254 cat >>confdefs.h <<_ACEOF
13255 #define HAVE_LIBNSL 1
13264 echo "$as_me:$LINENO: checking for setsockopt" >&5
13265 echo $ECHO_N "checking for setsockopt... $ECHO_C" >&6
13266 if test "${ac_cv_func_setsockopt+set}" = set; then
13267 echo $ECHO_N "(cached) $ECHO_C" >&6
13269 cat >conftest.$ac_ext <<_ACEOF
13270 #line $LINENO "configure"
13273 cat confdefs.h >>conftest.$ac_ext
13274 cat >>conftest.$ac_ext <<_ACEOF
13275 /* end confdefs.h. */
13276 /* System header to define __stub macros and hopefully few prototypes,
13277 which can conflict with char setsockopt (); below.
13278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13279 <limits.h> exists even on freestanding compilers. */
13281 # include <limits.h>
13283 # include <assert.h>
13285 /* Override any gcc2 internal prototype to avoid an error. */
13290 /* We use char because int might match the return type of a gcc2
13291 builtin and then its argument prototype would still apply. */
13292 char setsockopt ();
13293 /* The GNU C library defines this for functions which it implements
13294 to always fail with ENOSYS. Some functions are actually named
13295 something starting with __ and the normal name is an alias. */
13296 #if defined (__stub_setsockopt) || defined (__stub___setsockopt)
13299 char (*f) () = setsockopt;
13308 return f != setsockopt;
13313 rm -f conftest.$ac_objext conftest$ac_exeext
13314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13315 (eval $ac_link) 2>&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try='test -s conftest$ac_exeext'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; }; then
13325 ac_cv_func_setsockopt=yes
13327 echo "$as_me: failed program was:" >&5
13328 sed 's/^/| /' conftest.$ac_ext >&5
13330 ac_cv_func_setsockopt=no
13332 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13334 echo "$as_me:$LINENO: result: $ac_cv_func_setsockopt" >&5
13335 echo "${ECHO_T}$ac_cv_func_setsockopt" >&6
13336 if test $ac_cv_func_setsockopt = yes; then
13340 echo "$as_me:$LINENO: checking for setsockopt in -lsocket" >&5
13341 echo $ECHO_N "checking for setsockopt in -lsocket... $ECHO_C" >&6
13342 if test "${ac_cv_lib_socket_setsockopt+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 ac_check_lib_save_LIBS=$LIBS
13346 LIBS="-lsocket $LIBS"
13347 cat >conftest.$ac_ext <<_ACEOF
13348 #line $LINENO "configure"
13351 cat confdefs.h >>conftest.$ac_ext
13352 cat >>conftest.$ac_ext <<_ACEOF
13353 /* end confdefs.h. */
13355 /* Override any gcc2 internal prototype to avoid an error. */
13359 /* We use char because int might match the return type of a gcc2
13360 builtin and then its argument prototype would still apply. */
13361 char setsockopt ();
13370 rm -f conftest.$ac_objext conftest$ac_exeext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13372 (eval $ac_link) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -s conftest$ac_exeext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 ac_cv_lib_socket_setsockopt=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.$ac_ext >&5
13387 ac_cv_lib_socket_setsockopt=no
13389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_lib_save_LIBS
13392 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_setsockopt" >&5
13393 echo "${ECHO_T}$ac_cv_lib_socket_setsockopt" >&6
13394 if test $ac_cv_lib_socket_setsockopt = yes; then
13395 cat >>confdefs.h <<_ACEOF
13396 #define HAVE_LIBSOCKET 1
13399 LIBS="-lsocket $LIBS"
13405 echo "$as_me:$LINENO: checking for connect" >&5
13406 echo $ECHO_N "checking for connect... $ECHO_C" >&6
13407 if test "${ac_cv_func_connect+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13410 cat >conftest.$ac_ext <<_ACEOF
13411 #line $LINENO "configure"
13414 cat confdefs.h >>conftest.$ac_ext
13415 cat >>conftest.$ac_ext <<_ACEOF
13416 /* end confdefs.h. */
13417 /* System header to define __stub macros and hopefully few prototypes,
13418 which can conflict with char connect (); below.
13419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13420 <limits.h> exists even on freestanding compilers. */
13422 # include <limits.h>
13424 # include <assert.h>
13426 /* Override any gcc2 internal prototype to avoid an error. */
13431 /* We use char because int might match the return type of a gcc2
13432 builtin and then its argument prototype would still apply. */
13434 /* The GNU C library defines this for functions which it implements
13435 to always fail with ENOSYS. Some functions are actually named
13436 something starting with __ and the normal name is an alias. */
13437 #if defined (__stub_connect) || defined (__stub___connect)
13440 char (*f) () = connect;
13449 return f != connect;
13454 rm -f conftest.$ac_objext conftest$ac_exeext
13455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13456 (eval $ac_link) 2>&5
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); } &&
13460 { ac_try='test -s conftest$ac_exeext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 ac_cv_func_connect=yes
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13471 ac_cv_func_connect=no
13473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13475 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
13476 echo "${ECHO_T}$ac_cv_func_connect" >&6
13477 if test $ac_cv_func_connect = yes; then
13481 echo "$as_me:$LINENO: checking for connect in -linet" >&5
13482 echo $ECHO_N "checking for connect in -linet... $ECHO_C" >&6
13483 if test "${ac_cv_lib_inet_connect+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13486 ac_check_lib_save_LIBS=$LIBS
13487 LIBS="-linet $LIBS"
13488 cat >conftest.$ac_ext <<_ACEOF
13489 #line $LINENO "configure"
13492 cat confdefs.h >>conftest.$ac_ext
13493 cat >>conftest.$ac_ext <<_ACEOF
13494 /* end confdefs.h. */
13496 /* Override any gcc2 internal prototype to avoid an error. */
13500 /* We use char because int might match the return type of a gcc2
13501 builtin and then its argument prototype would still apply. */
13511 rm -f conftest.$ac_objext conftest$ac_exeext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13513 (eval $ac_link) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -s conftest$ac_exeext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 ac_cv_lib_inet_connect=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13528 ac_cv_lib_inet_connect=no
13530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13531 LIBS=$ac_check_lib_save_LIBS
13533 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_connect" >&5
13534 echo "${ECHO_T}$ac_cv_lib_inet_connect" >&6
13535 if test $ac_cv_lib_inet_connect = yes; then
13536 cat >>confdefs.h <<_ACEOF
13537 #define HAVE_LIBINET 1
13540 LIBS="-linet $LIBS"
13547 echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
13548 echo $ECHO_N "checking for type of socket length (socklen_t)... $ECHO_C" >&6
13549 cat > conftest.$ac_ext <<EOF
13550 #line 13550 "configure"
13551 #include "confdefs.h"
13553 #include <stddef.h>
13554 #include <sys/types.h>
13555 #include <sys/socket.h>
13558 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
13561 if { (eval echo configure:13561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13564 echo "$as_me:$LINENO: result: socklen_t *" >&5
13565 echo "${ECHO_T}socklen_t *" >&6
13566 SOCKLEN_T=socklen_t
13568 echo "configure: failed program was:" >&5
13569 cat conftest.$ac_ext >&5
13572 cat > conftest.$ac_ext <<EOF
13573 #line 13573 "configure"
13574 #include "confdefs.h"
13576 #include <stddef.h>
13577 #include <sys/types.h>
13578 #include <sys/socket.h>
13581 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
13584 if { (eval echo configure:13584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13587 echo "$as_me:$LINENO: result: size_t *" >&5
13588 echo "${ECHO_T}size_t *" >&6
13591 echo "configure: failed program was:" >&5
13592 cat conftest.$ac_ext >&5
13595 cat > conftest.$ac_ext <<EOF
13596 #line 13596 "configure"
13597 #include "confdefs.h"
13599 #include <stddef.h>
13600 #include <sys/types.h>
13601 #include <sys/socket.h>
13604 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
13607 if { (eval echo configure:13607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13610 echo "$as_me:$LINENO: result: int *" >&5
13611 echo "${ECHO_T}int *" >&6
13614 echo "configure: failed program was:" >&5
13615 cat conftest.$ac_ext >&5
13618 { echo "$as_me:$LINENO: WARNING: could not determine" >&5
13619 echo "$as_me: WARNING: could not determine" >&2;}
13626 cat >>confdefs.h <<_ACEOF
13627 #define SOCKLEN_T $SOCKLEN_T
13632 echo "$as_me:$LINENO: checking whether to enable IPv6" >&5
13633 echo $ECHO_N "checking whether to enable IPv6... $ECHO_C" >&6
13634 # Check whether --enable-ipv6 or --disable-ipv6 was given.
13635 if test "${enable_ipv6+set}" = set; then
13636 enableval="$enable_ipv6"
13641 if test $enable_ipv6 = yes; then
13643 cat >conftest.$ac_ext <<_ACEOF
13644 #line $LINENO "configure"
13647 cat confdefs.h >>conftest.$ac_ext
13648 cat >>conftest.$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13651 #include <sys/socket.h>
13652 #include <sys/types.h>
13657 struct sockaddr_storage ss;
13658 socket(AF_INET6, SOCK_STREAM, 0)
13664 rm -f conftest.$ac_objext
13665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13666 (eval $ac_compile) 2>&5
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); } &&
13670 { ac_try='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13684 rm -f conftest.$ac_objext conftest.$ac_ext
13685 echo "$as_me:$LINENO: result: $have_ipv6" >&5
13686 echo "${ECHO_T}$have_ipv6" >&6
13688 if test $have_ipv6 = yes; then
13689 cat >>confdefs.h <<\_ACEOF
13690 #define SUPPORT_IP6 1
13694 have_getaddrinfo=no
13695 echo "$as_me:$LINENO: checking for getaddrinfo" >&5
13696 echo $ECHO_N "checking for getaddrinfo... $ECHO_C" >&6
13697 if test "${ac_cv_func_getaddrinfo+set}" = set; then
13698 echo $ECHO_N "(cached) $ECHO_C" >&6
13700 cat >conftest.$ac_ext <<_ACEOF
13701 #line $LINENO "configure"
13704 cat confdefs.h >>conftest.$ac_ext
13705 cat >>conftest.$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13707 /* System header to define __stub macros and hopefully few prototypes,
13708 which can conflict with char getaddrinfo (); below.
13709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13710 <limits.h> exists even on freestanding compilers. */
13712 # include <limits.h>
13714 # include <assert.h>
13716 /* Override any gcc2 internal prototype to avoid an error. */
13721 /* We use char because int might match the return type of a gcc2
13722 builtin and then its argument prototype would still apply. */
13723 char getaddrinfo ();
13724 /* The GNU C library defines this for functions which it implements
13725 to always fail with ENOSYS. Some functions are actually named
13726 something starting with __ and the normal name is an alias. */
13727 #if defined (__stub_getaddrinfo) || defined (__stub___getaddrinfo)
13730 char (*f) () = getaddrinfo;
13739 return f != getaddrinfo;
13744 rm -f conftest.$ac_objext conftest$ac_exeext
13745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13746 (eval $ac_link) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); } &&
13750 { ac_try='test -s conftest$ac_exeext'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; }; then
13756 ac_cv_func_getaddrinfo=yes
13758 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.$ac_ext >&5
13761 ac_cv_func_getaddrinfo=no
13763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13765 echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
13766 echo "${ECHO_T}$ac_cv_func_getaddrinfo" >&6
13767 if test $ac_cv_func_getaddrinfo = yes; then
13768 have_getaddrinfo=yes
13771 if test $have_getaddrinfo != yes; then
13772 for lib in bsd socket inet; do
13773 as_ac_Lib=`echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13774 echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
13775 echo $ECHO_N "checking for getaddrinfo in -l$lib... $ECHO_C" >&6
13776 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
13777 echo $ECHO_N "(cached) $ECHO_C" >&6
13779 ac_check_lib_save_LIBS=$LIBS
13780 LIBS="-l$lib $LIBS"
13781 cat >conftest.$ac_ext <<_ACEOF
13782 #line $LINENO "configure"
13785 cat confdefs.h >>conftest.$ac_ext
13786 cat >>conftest.$ac_ext <<_ACEOF
13787 /* end confdefs.h. */
13789 /* Override any gcc2 internal prototype to avoid an error. */
13793 /* We use char because int might match the return type of a gcc2
13794 builtin and then its argument prototype would still apply. */
13795 char getaddrinfo ();
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13806 (eval $ac_link) 2>&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try='test -s conftest$ac_exeext'
13811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13812 (eval $ac_try) 2>&5
13814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13815 (exit $ac_status); }; }; then
13816 eval "$as_ac_Lib=yes"
13818 echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.$ac_ext >&5
13821 eval "$as_ac_Lib=no"
13823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13824 LIBS=$ac_check_lib_save_LIBS
13826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
13827 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
13828 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
13829 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
13835 if test $have_getaddrinfo = yes; then
13836 cat >>confdefs.h <<\_ACEOF
13837 #define HAVE_GETADDRINFO 1
13845 echo "$as_me:$LINENO: checking for isnan" >&5
13846 echo $ECHO_N "checking for isnan... $ECHO_C" >&6
13847 if test "${ac_cv_func_isnan+set}" = set; then
13848 echo $ECHO_N "(cached) $ECHO_C" >&6
13850 cat >conftest.$ac_ext <<_ACEOF
13851 #line $LINENO "configure"
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13857 /* System header to define __stub macros and hopefully few prototypes,
13858 which can conflict with char isnan (); below.
13859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13860 <limits.h> exists even on freestanding compilers. */
13862 # include <limits.h>
13864 # include <assert.h>
13866 /* Override any gcc2 internal prototype to avoid an error. */
13871 /* We use char because int might match the return type of a gcc2
13872 builtin and then its argument prototype would still apply. */
13874 /* The GNU C library defines this for functions which it implements
13875 to always fail with ENOSYS. Some functions are actually named
13876 something starting with __ and the normal name is an alias. */
13877 #if defined (__stub_isnan) || defined (__stub___isnan)
13880 char (*f) () = isnan;
13894 rm -f conftest.$ac_objext conftest$ac_exeext
13895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13896 (eval $ac_link) 2>&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 (exit $ac_status); } &&
13900 { ac_try='test -s conftest$ac_exeext'
13901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13902 (eval $ac_try) 2>&5
13904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13905 (exit $ac_status); }; }; then
13906 ac_cv_func_isnan=yes
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13911 ac_cv_func_isnan=no
13913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13915 echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5
13916 echo "${ECHO_T}$ac_cv_func_isnan" >&6
13917 if test $ac_cv_func_isnan = yes; then
13920 echo "$as_me:$LINENO: checking for isnan in -lm" >&5
13921 echo $ECHO_N "checking for isnan in -lm... $ECHO_C" >&6
13922 if test "${ac_cv_lib_m_isnan+set}" = set; then
13923 echo $ECHO_N "(cached) $ECHO_C" >&6
13925 ac_check_lib_save_LIBS=$LIBS
13927 cat >conftest.$ac_ext <<_ACEOF
13928 #line $LINENO "configure"
13931 cat confdefs.h >>conftest.$ac_ext
13932 cat >>conftest.$ac_ext <<_ACEOF
13933 /* end confdefs.h. */
13935 /* Override any gcc2 internal prototype to avoid an error. */
13939 /* We use char because int might match the return type of a gcc2
13940 builtin and then its argument prototype would still apply. */
13950 rm -f conftest.$ac_objext conftest$ac_exeext
13951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13952 (eval $ac_link) 2>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try='test -s conftest$ac_exeext'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; }; then
13962 ac_cv_lib_m_isnan=yes
13964 echo "$as_me: failed program was:" >&5
13965 sed 's/^/| /' conftest.$ac_ext >&5
13967 ac_cv_lib_m_isnan=no
13969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13970 LIBS=$ac_check_lib_save_LIBS
13972 echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
13973 echo "${ECHO_T}$ac_cv_lib_m_isnan" >&6
13974 if test $ac_cv_lib_m_isnan = yes; then
13975 cat >>confdefs.h <<\_ACEOF
13976 #define HAVE_ISNAN 1
13984 echo "$as_me:$LINENO: checking for isinf" >&5
13985 echo $ECHO_N "checking for isinf... $ECHO_C" >&6
13986 if test "${ac_cv_func_isinf+set}" = set; then
13987 echo $ECHO_N "(cached) $ECHO_C" >&6
13989 cat >conftest.$ac_ext <<_ACEOF
13990 #line $LINENO "configure"
13993 cat confdefs.h >>conftest.$ac_ext
13994 cat >>conftest.$ac_ext <<_ACEOF
13995 /* end confdefs.h. */
13996 /* System header to define __stub macros and hopefully few prototypes,
13997 which can conflict with char isinf (); below.
13998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13999 <limits.h> exists even on freestanding compilers. */
14001 # include <limits.h>
14003 # include <assert.h>
14005 /* Override any gcc2 internal prototype to avoid an error. */
14010 /* We use char because int might match the return type of a gcc2
14011 builtin and then its argument prototype would still apply. */
14013 /* The GNU C library defines this for functions which it implements
14014 to always fail with ENOSYS. Some functions are actually named
14015 something starting with __ and the normal name is an alias. */
14016 #if defined (__stub_isinf) || defined (__stub___isinf)
14019 char (*f) () = isinf;
14033 rm -f conftest.$ac_objext conftest$ac_exeext
14034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14035 (eval $ac_link) 2>&5
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); } &&
14039 { ac_try='test -s conftest$ac_exeext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14045 ac_cv_func_isinf=yes
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.$ac_ext >&5
14050 ac_cv_func_isinf=no
14052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14054 echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5
14055 echo "${ECHO_T}$ac_cv_func_isinf" >&6
14056 if test $ac_cv_func_isinf = yes; then
14057 cat >>confdefs.h <<\_ACEOF
14058 #define HAVE_ISINF 1
14062 echo "$as_me:$LINENO: checking for isinf in -lm" >&5
14063 echo $ECHO_N "checking for isinf in -lm... $ECHO_C" >&6
14064 if test "${ac_cv_lib_m_isinf+set}" = set; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14067 ac_check_lib_save_LIBS=$LIBS
14069 cat >conftest.$ac_ext <<_ACEOF
14070 #line $LINENO "configure"
14073 cat confdefs.h >>conftest.$ac_ext
14074 cat >>conftest.$ac_ext <<_ACEOF
14075 /* end confdefs.h. */
14077 /* Override any gcc2 internal prototype to avoid an error. */
14081 /* We use char because int might match the return type of a gcc2
14082 builtin and then its argument prototype would still apply. */
14092 rm -f conftest.$ac_objext conftest$ac_exeext
14093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14094 (eval $ac_link) 2>&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 (exit $ac_status); } &&
14098 { ac_try='test -s conftest$ac_exeext'
14099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14100 (eval $ac_try) 2>&5
14102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14103 (exit $ac_status); }; }; then
14104 ac_cv_lib_m_isinf=yes
14106 echo "$as_me: failed program was:" >&5
14107 sed 's/^/| /' conftest.$ac_ext >&5
14109 ac_cv_lib_m_isinf=no
14111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14112 LIBS=$ac_check_lib_save_LIBS
14114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5
14115 echo "${ECHO_T}$ac_cv_lib_m_isinf" >&6
14116 if test $ac_cv_lib_m_isinf = yes; then
14117 cat >>confdefs.h <<\_ACEOF
14118 #define HAVE_ISINF 1
14126 XML_LIBDIR='-L${libdir}'
14127 XML_INCLUDEDIR='-I${includedir}/libxml2'
14133 # Check whether --with-fexceptions or --without-fexceptions was given.
14134 if test "${with_fexceptions+set}" = set; then
14135 withval="$with_fexceptions"
14138 if test "${GCC}" != "yes" ; then
14141 CFLAGS="${CFLAGS} -Wp,-H30000"
14144 CFLAGS="${CFLAGS} -ieee"
14147 CFLAGS="${CFLAGS} -ieee"
14151 if test "$with_fexceptions" = "yes"
14154 # Not activated by default because this inflates the code size
14155 # Used to allow propagation of C++ exceptions through the library
14157 CFLAGS="${CFLAGS} -fexceptions"
14160 CFLAGS="${CFLAGS} -Wall"
14163 CFLAGS="${CFLAGS} -mieee"
14166 CFLAGS="${CFLAGS} -mieee"
14172 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
14184 PYTHON_SITE_PACKAGES=
14187 # Check whether --with-python or --without-python was given.
14188 if test "${with_python+set}" = set; then
14189 withval="$with_python"
14192 if test "$with_python" != "no" ; then
14193 if test -x "$with_python/bin/python"
14195 echo Found python in $with_python/bin/python
14196 PYTHON="$with_python/bin/python"
14198 if test -x "$with_python"
14200 echo Found python in $with_python
14201 PYTHON="$with_python"
14203 # Extract the first word of "python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
14204 set dummy python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
14205 echo "$as_me:$LINENO: checking for $ac_word" >&5
14206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14207 if test "${ac_cv_path_PYTHON+set}" = set; then
14208 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14216 for as_dir in $PATH
14219 test -z "$as_dir" && as_dir=.
14220 for ac_exec_ext in '' $ac_executable_extensions; do
14221 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14222 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14223 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14232 PYTHON=$ac_cv_path_PYTHON
14234 if test -n "$PYTHON"; then
14235 echo "$as_me:$LINENO: result: $PYTHON" >&5
14236 echo "${ECHO_T}$PYTHON" >&6
14238 echo "$as_me:$LINENO: result: no" >&5
14239 echo "${ECHO_T}no" >&6
14244 if test "$PYTHON" != ""
14246 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
14247 echo Found Python version $PYTHON_VERSION
14249 if test "$PYTHON_VERSION" != ""
14251 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
14252 -d $with_python/lib/python$PYTHON_VERSION/site-packages
14254 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
14255 PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
14257 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
14259 PYTHON_INCLUDES='$(prefix)/include/python$(PYTHON_VERSION)'
14260 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14262 if test -r /usr/include/python$PYTHON_VERSION/Python.h
14264 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
14265 PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14267 echo could not find python$PYTHON_VERSION/Python.h
14270 if ! test -d "$PYTHON_SITE_PACKAGES"
14272 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
14276 if test "$with_python" != ""
14278 pythondir='$(PYTHON_SITE_PACKAGES)'
14280 pythondir='$(libdir)/python${PYTHON_VERSION}/site-packages'
14285 if test "$PYTHON_INCLUDES" != ""; then
14287 WITH_PYTHON_FALSE='#'
14289 WITH_PYTHON_TRUE='#'
14293 if test "$PYTHON_INCLUDES" != ""
14295 PYTHON_SUBDIR=python
14302 _cppflags="${CPPFLAGS}"
14303 _ldflags="${LDFLAGS}"
14306 # Check whether --with-readline or --without-readline was given.
14307 if test "${with_readline+set}" = set; then
14308 withval="$with_readline"
14310 if test "$withval" != "no" -a "$withval" != "yes"; then
14312 CPPFLAGS="${CPPFLAGS} -I$withval/include"
14313 LDFLAGS="${LDFLAGS} -L$withval/lib"
14318 if test "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ; then
14319 if test "${with_mem_debug}" = "" ; then
14320 with_mem_debug="yes"
14322 if test "${with_docbook}" = "" ; then
14325 CFLAGS="-g -O -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls "
14326 STATIC_BINARIES="-static"
14333 if test "${NEED_TRIO}" = "1" ; then
14334 echo Adding trio library for string functions
14341 if test "${NEED_TRIO}" = "1"; then
14342 WITH_TRIO_SOURCES_TRUE=
14343 WITH_TRIO_SOURCES_FALSE='#'
14345 WITH_TRIO_SOURCES_TRUE='#'
14346 WITH_TRIO_SOURCES_FALSE=
14358 # Check whether --with-threads or --without-threads was given.
14359 if test "${with_threads+set}" = set; then
14360 withval="$with_threads"
14363 if test "$with_threads" = "no" ; then
14364 echo Disabling multithreaded support
14366 echo Enabling multithreaded support
14368 if test "${ac_cv_header_pthread_h+set}" = set; then
14369 echo "$as_me:$LINENO: checking for pthread.h" >&5
14370 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
14371 if test "${ac_cv_header_pthread_h+set}" = set; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
14375 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
14377 # Is the header compilable?
14378 echo "$as_me:$LINENO: checking pthread.h usability" >&5
14379 echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6
14380 cat >conftest.$ac_ext <<_ACEOF
14381 #line $LINENO "configure"
14384 cat confdefs.h >>conftest.$ac_ext
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 $ac_includes_default
14388 #include <pthread.h>
14390 rm -f conftest.$ac_objext
14391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14392 (eval $ac_compile) 2>&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } &&
14396 { ac_try='test -s conftest.$ac_objext'
14397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398 (eval $ac_try) 2>&5
14400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401 (exit $ac_status); }; }; then
14402 ac_header_compiler=yes
14404 echo "$as_me: failed program was:" >&5
14405 sed 's/^/| /' conftest.$ac_ext >&5
14407 ac_header_compiler=no
14409 rm -f conftest.$ac_objext conftest.$ac_ext
14410 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14411 echo "${ECHO_T}$ac_header_compiler" >&6
14413 # Is the header present?
14414 echo "$as_me:$LINENO: checking pthread.h presence" >&5
14415 echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6
14416 cat >conftest.$ac_ext <<_ACEOF
14417 #line $LINENO "configure"
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423 #include <pthread.h>
14425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14426 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14428 grep -v '^ *+' conftest.er1 >conftest.err
14430 cat conftest.err >&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } >/dev/null; then
14433 if test -s conftest.err; then
14434 ac_cpp_err=$ac_c_preproc_warn_flag
14441 if test -z "$ac_cpp_err"; then
14442 ac_header_preproc=yes
14444 echo "$as_me: failed program was:" >&5
14445 sed 's/^/| /' conftest.$ac_ext >&5
14447 ac_header_preproc=no
14449 rm -f conftest.err conftest.$ac_ext
14450 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14451 echo "${ECHO_T}$ac_header_preproc" >&6
14453 # So? What about this header?
14454 case $ac_header_compiler:$ac_header_preproc in
14456 { echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
14457 echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14458 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
14459 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
14462 ## ------------------------------------ ##
14463 ## Report this to bug-autoconf@gnu.org. ##
14464 ## ------------------------------------ ##
14467 sed "s/^/$as_me: WARNING: /" >&2
14470 { echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
14471 echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
14472 { echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
14473 echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
14474 { echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
14475 echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
14478 ## ------------------------------------ ##
14479 ## Report this to bug-autoconf@gnu.org. ##
14480 ## ------------------------------------ ##
14483 sed "s/^/$as_me: WARNING: /" >&2
14486 echo "$as_me:$LINENO: checking for pthread.h" >&5
14487 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
14488 if test "${ac_cv_header_pthread_h+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14491 ac_cv_header_pthread_h=$ac_header_preproc
14493 echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
14494 echo "${ECHO_T}$ac_cv_header_pthread_h" >&6
14497 if test $ac_cv_header_pthread_h = yes; then
14498 echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
14499 echo $ECHO_N "checking for pthread_join in -lpthread... $ECHO_C" >&6
14500 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
14501 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 ac_check_lib_save_LIBS=$LIBS
14504 LIBS="-lpthread $LIBS"
14505 cat >conftest.$ac_ext <<_ACEOF
14506 #line $LINENO "configure"
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14513 /* Override any gcc2 internal prototype to avoid an error. */
14517 /* We use char because int might match the return type of a gcc2
14518 builtin and then its argument prototype would still apply. */
14519 char pthread_join ();
14528 rm -f conftest.$ac_objext conftest$ac_exeext
14529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14530 (eval $ac_link) 2>&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 (exit $ac_status); } &&
14534 { ac_try='test -s conftest$ac_exeext'
14535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14536 (eval $ac_try) 2>&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); }; }; then
14540 ac_cv_lib_pthread_pthread_join=yes
14542 echo "$as_me: failed program was:" >&5
14543 sed 's/^/| /' conftest.$ac_ext >&5
14545 ac_cv_lib_pthread_pthread_join=no
14547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14548 LIBS=$ac_check_lib_save_LIBS
14550 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
14551 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_join" >&6
14552 if test $ac_cv_lib_pthread_pthread_join = yes; then
14554 THREAD_LIBS="-lpthread"
14555 cat >>confdefs.h <<\_ACEOF
14556 #define HAVE_LIBPTHREAD 1
14559 cat >>confdefs.h <<\_ACEOF
14560 #define HAVE_PTHREAD_H 1
14570 if test "$WITH_THREADS" = "1" ; then
14571 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
14572 TEST_THREADS="Threadtests"
14576 # Check whether --with-thread-alloc or --without-thread-alloc was given.
14577 if test "${with_thread_alloc+set}" = set; then
14578 withval="$with_thread_alloc"
14581 if test "$with_threads_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
14582 THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
14591 # Check whether --with-history or --without-history was given.
14592 if test "${with_history+set}" = set; then
14593 withval="$with_history"
14596 if test "$with_history" = "yes" ; then
14597 echo Enabling xmllint shell history
14599 for termlib in ncurses curses termcap terminfo termlib; do
14600 as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
14601 echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5
14602 echo $ECHO_N "checking for tputs in -l${termlib}... $ECHO_C" >&6
14603 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14606 ac_check_lib_save_LIBS=$LIBS
14607 LIBS="-l${termlib} $LIBS"
14608 cat >conftest.$ac_ext <<_ACEOF
14609 #line $LINENO "configure"
14612 cat confdefs.h >>conftest.$ac_ext
14613 cat >>conftest.$ac_ext <<_ACEOF
14614 /* end confdefs.h. */
14616 /* Override any gcc2 internal prototype to avoid an error. */
14620 /* We use char because int might match the return type of a gcc2
14621 builtin and then its argument prototype would still apply. */
14631 rm -f conftest.$ac_objext conftest$ac_exeext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14633 (eval $ac_link) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try='test -s conftest$ac_exeext'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; }; then
14643 eval "$as_ac_Lib=yes"
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14648 eval "$as_ac_Lib=no"
14650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14651 LIBS=$ac_check_lib_save_LIBS
14653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
14654 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
14655 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
14659 test -n "$tcap" && break
14662 if test "${ac_cv_header_readline_history_h+set}" = set; then
14663 echo "$as_me:$LINENO: checking for readline/history.h" >&5
14664 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6
14665 if test "${ac_cv_header_readline_history_h+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
14669 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6
14671 # Is the header compilable?
14672 echo "$as_me:$LINENO: checking readline/history.h usability" >&5
14673 echo $ECHO_N "checking readline/history.h usability... $ECHO_C" >&6
14674 cat >conftest.$ac_ext <<_ACEOF
14675 #line $LINENO "configure"
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14682 #include <readline/history.h>
14684 rm -f conftest.$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } &&
14690 { ac_try='test -s conftest.$ac_objext'
14691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14692 (eval $ac_try) 2>&5
14694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14695 (exit $ac_status); }; }; then
14696 ac_header_compiler=yes
14698 echo "$as_me: failed program was:" >&5
14699 sed 's/^/| /' conftest.$ac_ext >&5
14701 ac_header_compiler=no
14703 rm -f conftest.$ac_objext conftest.$ac_ext
14704 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14705 echo "${ECHO_T}$ac_header_compiler" >&6
14707 # Is the header present?
14708 echo "$as_me:$LINENO: checking readline/history.h presence" >&5
14709 echo $ECHO_N "checking readline/history.h presence... $ECHO_C" >&6
14710 cat >conftest.$ac_ext <<_ACEOF
14711 #line $LINENO "configure"
14714 cat confdefs.h >>conftest.$ac_ext
14715 cat >>conftest.$ac_ext <<_ACEOF
14716 /* end confdefs.h. */
14717 #include <readline/history.h>
14719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14722 grep -v '^ *+' conftest.er1 >conftest.err
14724 cat conftest.err >&5
14725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14726 (exit $ac_status); } >/dev/null; then
14727 if test -s conftest.err; then
14728 ac_cpp_err=$ac_c_preproc_warn_flag
14735 if test -z "$ac_cpp_err"; then
14736 ac_header_preproc=yes
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_header_preproc=no
14743 rm -f conftest.err conftest.$ac_ext
14744 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14745 echo "${ECHO_T}$ac_header_preproc" >&6
14747 # So? What about this header?
14748 case $ac_header_compiler:$ac_header_preproc in
14750 { echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
14751 echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14752 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
14753 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
14756 ## ------------------------------------ ##
14757 ## Report this to bug-autoconf@gnu.org. ##
14758 ## ------------------------------------ ##
14761 sed "s/^/$as_me: WARNING: /" >&2
14764 { echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
14765 echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
14766 { echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
14767 echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
14768 { echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
14769 echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
14772 ## ------------------------------------ ##
14773 ## Report this to bug-autoconf@gnu.org. ##
14774 ## ------------------------------------ ##
14777 sed "s/^/$as_me: WARNING: /" >&2
14780 echo "$as_me:$LINENO: checking for readline/history.h" >&5
14781 echo $ECHO_N "checking for readline/history.h... $ECHO_C" >&6
14782 if test "${ac_cv_header_readline_history_h+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 ac_cv_header_readline_history_h=$ac_header_preproc
14787 echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
14788 echo "${ECHO_T}$ac_cv_header_readline_history_h" >&6
14791 if test $ac_cv_header_readline_history_h = yes; then
14792 echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5
14793 echo $ECHO_N "checking for append_history in -lhistory... $ECHO_C" >&6
14794 if test "${ac_cv_lib_history_append_history+set}" = set; then
14795 echo $ECHO_N "(cached) $ECHO_C" >&6
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lhistory $LIBS"
14799 cat >conftest.$ac_ext <<_ACEOF
14800 #line $LINENO "configure"
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14807 /* Override any gcc2 internal prototype to avoid an error. */
14811 /* We use char because int might match the return type of a gcc2
14812 builtin and then its argument prototype would still apply. */
14813 char append_history ();
14822 rm -f conftest.$ac_objext conftest$ac_exeext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14824 (eval $ac_link) 2>&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try='test -s conftest$ac_exeext'
14829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14830 (eval $ac_try) 2>&5
14832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14833 (exit $ac_status); }; }; then
14834 ac_cv_lib_history_append_history=yes
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14839 ac_cv_lib_history_append_history=no
14841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14842 LIBS=$ac_check_lib_save_LIBS
14844 echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5
14845 echo "${ECHO_T}$ac_cv_lib_history_append_history" >&6
14846 if test $ac_cv_lib_history_append_history = yes; then
14848 RDL_LIBS="-lhistory"
14849 cat >>confdefs.h <<\_ACEOF
14850 #define HAVE_LIBHISTORY 1
14858 if test "${ac_cv_header_readline_readline_h+set}" = set; then
14859 echo "$as_me:$LINENO: checking for readline/readline.h" >&5
14860 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
14861 if test "${ac_cv_header_readline_readline_h+set}" = set; then
14862 echo $ECHO_N "(cached) $ECHO_C" >&6
14864 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
14865 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
14867 # Is the header compilable?
14868 echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
14869 echo $ECHO_N "checking readline/readline.h usability... $ECHO_C" >&6
14870 cat >conftest.$ac_ext <<_ACEOF
14871 #line $LINENO "configure"
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 $ac_includes_default
14878 #include <readline/readline.h>
14880 rm -f conftest.$ac_objext
14881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14882 (eval $ac_compile) 2>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -s conftest.$ac_objext'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; }; then
14892 ac_header_compiler=yes
14894 echo "$as_me: failed program was:" >&5
14895 sed 's/^/| /' conftest.$ac_ext >&5
14897 ac_header_compiler=no
14899 rm -f conftest.$ac_objext conftest.$ac_ext
14900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14901 echo "${ECHO_T}$ac_header_compiler" >&6
14903 # Is the header present?
14904 echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
14905 echo $ECHO_N "checking readline/readline.h presence... $ECHO_C" >&6
14906 cat >conftest.$ac_ext <<_ACEOF
14907 #line $LINENO "configure"
14910 cat confdefs.h >>conftest.$ac_ext
14911 cat >>conftest.$ac_ext <<_ACEOF
14912 /* end confdefs.h. */
14913 #include <readline/readline.h>
14915 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14918 grep -v '^ *+' conftest.er1 >conftest.err
14920 cat conftest.err >&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } >/dev/null; then
14923 if test -s conftest.err; then
14924 ac_cpp_err=$ac_c_preproc_warn_flag
14931 if test -z "$ac_cpp_err"; then
14932 ac_header_preproc=yes
14934 echo "$as_me: failed program was:" >&5
14935 sed 's/^/| /' conftest.$ac_ext >&5
14937 ac_header_preproc=no
14939 rm -f conftest.err conftest.$ac_ext
14940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14941 echo "${ECHO_T}$ac_header_preproc" >&6
14943 # So? What about this header?
14944 case $ac_header_compiler:$ac_header_preproc in
14946 { echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
14947 echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14948 { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
14949 echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
14952 ## ------------------------------------ ##
14953 ## Report this to bug-autoconf@gnu.org. ##
14954 ## ------------------------------------ ##
14957 sed "s/^/$as_me: WARNING: /" >&2
14960 { echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
14961 echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
14962 { echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
14963 echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
14964 { echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
14965 echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
14968 ## ------------------------------------ ##
14969 ## Report this to bug-autoconf@gnu.org. ##
14970 ## ------------------------------------ ##
14973 sed "s/^/$as_me: WARNING: /" >&2
14976 echo "$as_me:$LINENO: checking for readline/readline.h" >&5
14977 echo $ECHO_N "checking for readline/readline.h... $ECHO_C" >&6
14978 if test "${ac_cv_header_readline_readline_h+set}" = set; then
14979 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 ac_cv_header_readline_readline_h=$ac_header_preproc
14983 echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
14984 echo "${ECHO_T}$ac_cv_header_readline_readline_h" >&6
14987 if test $ac_cv_header_readline_readline_h = yes; then
14988 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
14989 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
14990 if test "${ac_cv_lib_readline_readline+set}" = set; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 ac_check_lib_save_LIBS=$LIBS
14994 LIBS="-lreadline $tcap $LIBS"
14995 cat >conftest.$ac_ext <<_ACEOF
14996 #line $LINENO "configure"
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15003 /* Override any gcc2 internal prototype to avoid an error. */
15007 /* We use char because int might match the return type of a gcc2
15008 builtin and then its argument prototype would still apply. */
15018 rm -f conftest.$ac_objext conftest$ac_exeext
15019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15020 (eval $ac_link) 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); } &&
15024 { ac_try='test -s conftest$ac_exeext'
15025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15026 (eval $ac_try) 2>&5
15028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15029 (exit $ac_status); }; }; then
15030 ac_cv_lib_readline_readline=yes
15032 echo "$as_me: failed program was:" >&5
15033 sed 's/^/| /' conftest.$ac_ext >&5
15035 ac_cv_lib_readline_readline=no
15037 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15038 LIBS=$ac_check_lib_save_LIBS
15040 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
15041 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
15042 if test $ac_cv_lib_readline_readline = yes; then
15044 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
15045 cat >>confdefs.h <<\_ACEOF
15046 #define HAVE_LIBREADLINE 1
15054 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
15055 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
15056 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
15058 CPPFLAGS=${_cppflags}
15060 LDFLAGS=${_ldflags}
15066 # Check whether --with-ftp or --without-ftp was given.
15067 if test "${with_ftp+set}" = set; then
15068 withval="$with_ftp"
15071 if test "$with_ftp" = "no" ; then
15072 echo Disabling FTP support
15083 # Check whether --with-http or --without-http was given.
15084 if test "${with_http+set}" = set; then
15085 withval="$with_http"
15088 if test "$with_http" = "no" ; then
15089 echo Disabling HTTP support
15094 HTTP_OBJ=nanohttp.o
15100 # Check whether --with-html or --without-html was given.
15101 if test "${with_html+set}" = set; then
15102 withval="$with_html"
15105 if test "$with_html" = "no" ; then
15106 echo Disabling HTML support
15111 HTML_OBJ="HTMLparser.o HTMLtree.o"
15117 # Check whether --with-catalog or --without-catalog was given.
15118 if test "${with_catalog+set}" = set; then
15119 withval="$with_catalog"
15122 if test "$with_catalog" = "no" ; then
15123 echo Disabling Catalog support
15128 CATALOG_OBJ="catalog.o"
15134 # Check whether --with-docbook or --without-docbook was given.
15135 if test "${with_docbook+set}" = set; then
15136 withval="$with_docbook"
15139 if test "$with_docbook" = "no" ; then
15140 echo Disabling Docbook support
15145 DOCB_OBJ="DOCBparser.o"
15152 # Check whether --with-xpath or --without-xpath was given.
15153 if test "${with_xpath+set}" = set; then
15154 withval="$with_xpath"
15157 if test "$with_xpath" = "no" ; then
15158 echo Disabling XPATH support
15172 # Check whether --with-xptr or --without-xptr was given.
15173 if test "${with_xptr+set}" = set; then
15174 withval="$with_xptr"
15177 if test "$with_xptr" = "no" ; then
15178 echo Disabling XPointer support
15183 XPTR_OBJ=xpointer.o
15189 # Check whether --with-c14n or --without-c14n was given.
15190 if test "${with_c14n+set}" = set; then
15191 withval="$with_c14n"
15194 if test "$with_c14n" = "no" ; then
15195 echo Disabling C14N support
15206 # Check whether --with-xinclude or --without-xinclude was given.
15207 if test "${with_xinclude+set}" = set; then
15208 withval="$with_xinclude"
15211 if test "$with_xinclude" = "no" ; then
15212 echo Disabling XInclude support
15218 XINCLUDE_OBJ=xinclude.o
15225 # Check whether --with-iconv or --without-iconv was given.
15226 if test "${with_iconv+set}" = set; then
15227 withval="$with_iconv"
15230 if test "$with_iconv" = "no" ; then
15231 echo Disabling ICONV support
15233 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
15234 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
15235 # Export this since our headers include iconv.h
15236 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
15237 ICONV_LIBS="-L$with_iconv/lib"
15240 if test "${ac_cv_header_iconv_h+set}" = set; then
15241 echo "$as_me:$LINENO: checking for iconv.h" >&5
15242 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
15243 if test "${ac_cv_header_iconv_h+set}" = set; then
15244 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
15247 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
15249 # Is the header compilable?
15250 echo "$as_me:$LINENO: checking iconv.h usability" >&5
15251 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
15252 cat >conftest.$ac_ext <<_ACEOF
15253 #line $LINENO "configure"
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15259 $ac_includes_default
15262 rm -f conftest.$ac_objext
15263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15264 (eval $ac_compile) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); } &&
15268 { ac_try='test -s conftest.$ac_objext'
15269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15270 (eval $ac_try) 2>&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); }; }; then
15274 ac_header_compiler=yes
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.$ac_ext >&5
15279 ac_header_compiler=no
15281 rm -f conftest.$ac_objext conftest.$ac_ext
15282 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15283 echo "${ECHO_T}$ac_header_compiler" >&6
15285 # Is the header present?
15286 echo "$as_me:$LINENO: checking iconv.h presence" >&5
15287 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
15288 cat >conftest.$ac_ext <<_ACEOF
15289 #line $LINENO "configure"
15292 cat confdefs.h >>conftest.$ac_ext
15293 cat >>conftest.$ac_ext <<_ACEOF
15294 /* end confdefs.h. */
15297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15300 grep -v '^ *+' conftest.er1 >conftest.err
15302 cat conftest.err >&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); } >/dev/null; then
15305 if test -s conftest.err; then
15306 ac_cpp_err=$ac_c_preproc_warn_flag
15313 if test -z "$ac_cpp_err"; then
15314 ac_header_preproc=yes
15316 echo "$as_me: failed program was:" >&5
15317 sed 's/^/| /' conftest.$ac_ext >&5
15319 ac_header_preproc=no
15321 rm -f conftest.err conftest.$ac_ext
15322 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15323 echo "${ECHO_T}$ac_header_preproc" >&6
15325 # So? What about this header?
15326 case $ac_header_compiler:$ac_header_preproc in
15328 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
15329 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15330 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
15331 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
15334 ## ------------------------------------ ##
15335 ## Report this to bug-autoconf@gnu.org. ##
15336 ## ------------------------------------ ##
15339 sed "s/^/$as_me: WARNING: /" >&2
15342 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
15343 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
15344 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
15345 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
15346 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
15347 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
15350 ## ------------------------------------ ##
15351 ## Report this to bug-autoconf@gnu.org. ##
15352 ## ------------------------------------ ##
15355 sed "s/^/$as_me: WARNING: /" >&2
15358 echo "$as_me:$LINENO: checking for iconv.h" >&5
15359 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
15360 if test "${ac_cv_header_iconv_h+set}" = set; then
15361 echo $ECHO_N "(cached) $ECHO_C" >&6
15363 ac_cv_header_iconv_h=$ac_header_preproc
15365 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
15366 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
15369 if test $ac_cv_header_iconv_h = yes; then
15370 echo "$as_me:$LINENO: checking for iconv" >&5
15371 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
15372 cat >conftest.$ac_ext <<_ACEOF
15373 #line $LINENO "configure"
15376 cat confdefs.h >>conftest.$ac_ext
15377 cat >>conftest.$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15379 #include <stdlib.h>
15385 iconv_t cd = iconv_open ("","");
15386 iconv (cd, NULL, NULL, NULL, NULL);
15391 rm -f conftest.$ac_objext conftest$ac_exeext
15392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15393 (eval $ac_link) 2>&5
15395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15396 (exit $ac_status); } &&
15397 { ac_try='test -s conftest$ac_exeext'
15398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15399 (eval $ac_try) 2>&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); }; }; then
15404 echo "$as_me:$LINENO: result: yes" >&5
15405 echo "${ECHO_T}yes" >&6
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15412 echo "$as_me:$LINENO: result: no" >&5
15413 echo "${ECHO_T}no" >&6
15414 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
15415 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
15417 _ldflags="${LDFLAGS}"
15419 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
15420 LIBS="${LIBS} -liconv"
15422 cat >conftest.$ac_ext <<_ACEOF
15423 #line $LINENO "configure"
15426 cat confdefs.h >>conftest.$ac_ext
15427 cat >>conftest.$ac_ext <<_ACEOF
15428 /* end confdefs.h. */
15429 #include <stdlib.h>
15435 iconv_t cd = iconv_open ("","");
15436 iconv (cd, NULL, NULL, NULL, NULL);
15441 rm -f conftest.$ac_objext conftest$ac_exeext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15443 (eval $ac_link) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try='test -s conftest$ac_exeext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15454 echo "$as_me:$LINENO: result: yes" >&5
15455 echo "${ECHO_T}yes" >&6
15457 ICONV_LIBS="${ICONV_LIBS} -liconv"
15459 LDFLAGS="${_ldflags}"
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15465 echo "$as_me:$LINENO: result: no" >&5
15466 echo "${ECHO_T}no" >&6
15468 LDFLAGS="${_ldflags}"
15470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15472 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15478 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
15483 # Check whether --with-iso8859x or --without-iso8859x was given.
15484 if test "${with_iso8859x+set}" = set; then
15485 withval="$with_iso8859x"
15488 if test "$WITH_ICONV" != "1" ; then
15489 if test "$with_iso8859x" = "no" ; then
15490 echo Disabling ISO8859X support
15497 # Check whether --with-schemas or --without-schemas was given.
15498 if test "${with_schemas+set}" = set; then
15499 withval="$with_schemas"
15502 if test "$with_schemas" = "no" ; then
15503 echo "Disabled Schemas/Relax-NG support"
15507 echo "Enabled Schemas/Relax-NG support"
15509 TEST_SCHEMAS="Schemastests Relaxtests"
15516 # Check whether --with-regexps or --without-regexps was given.
15517 if test "${with_regexps+set}" = set; then
15518 withval="$with_regexps"
15521 if test "$with_regexps" = "no" ; then
15522 echo Disabling Regexps support
15527 TEST_REGEXPS="Regexptests Automatatests"
15533 # Check whether --with-debug or --without-debug was given.
15534 if test "${with_debug+set}" = set; then
15535 withval="$with_debug"
15538 if test "$with_debug" = "no" ; then
15539 echo Disabling DEBUG support
15544 DEBUG_OBJ=debugXML.o
15550 # Check whether --with-mem_debug or --without-mem_debug was given.
15551 if test "${with_mem_debug+set}" = set; then
15552 withval="$with_mem_debug"
15555 if test "$with_mem_debug" = "yes" ; then
15556 echo Enabling memory debug support
15564 WIN32_EXTRA_LIBADD=
15565 WIN32_EXTRA_LDFLAGS=
15568 WIN32_EXTRA_LIBADD="-lwsock32"
15569 WIN32_EXTRA_LDFLAGS="-no-undefined"
15571 cat >>confdefs.h <<\_ACEOF
15572 #define _WINSOCKAPI_ 1
15576 cat >>confdefs.h <<\_ACEOF
15577 #define snprintf _snprintf
15581 cat >>confdefs.h <<\_ACEOF
15582 #define vsnprintf _vsnprintf
15609 RELDATE=`date +'%a %b %e %Y'`
15612 rm -f COPYING.LIB COPYING
15613 ln -s Copyright COPYING
15615 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile example/Makefile python/Makefile python/tests/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc xml2Conf.sh python/setup.py"
15616 cat >confcache <<\_ACEOF
15617 # This file is a shell script that caches the results of configure
15618 # tests run on this system so they can be shared between configure
15619 # scripts and configure runs, see configure's option --config-cache.
15620 # It is not useful on other systems. If it contains results you don't
15621 # want to keep, you may remove or edit it.
15623 # config.status only pays attention to the cache file if you give it
15624 # the --recheck option to rerun configure.
15626 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15627 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15628 # following values.
15632 # The following way of writing the cache mishandles newlines in values,
15633 # but we know of no workaround that is simple, portable, and efficient.
15634 # So, don't put newlines in cache variables' values.
15635 # Ultrix sh set writes to stderr and can't be redirected directly,
15636 # and sets the high bit in the cache file unless we assign to the vars.
15639 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15641 # `set' does not quote correctly, so add quotes (double-quote
15642 # substitution turns \\\\ into \\, and sed turns \\ into \).
15645 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15648 # `set' quotes correctly as required by POSIX, so do not add quotes.
15650 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15659 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15661 if diff $cache_file confcache >/dev/null 2>&1; then :; else
15662 if test -w $cache_file; then
15663 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15664 cat confcache >$cache_file
15666 echo "not updating unwritable cache $cache_file"
15671 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15672 # Let make expand exec_prefix.
15673 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15675 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15676 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15677 # trailing colons and then remove the whole line if VPATH becomes empty
15678 # (actually we leave an empty line to preserve line numbers).
15679 if test "x$srcdir" = x.; then
15680 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15681 s/:*\$(srcdir):*/:/;
15682 s/:*\${srcdir}:*/:/;
15684 s/^\([^=]*=[ ]*\):*/\1/;
15690 DEFS=-DHAVE_CONFIG_H
15694 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15695 # 1. Remove the extension, and $U if already installed.
15696 ac_i=`echo "$ac_i" |
15697 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15699 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
15700 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
15702 LIBOBJS=$ac_libobjs
15704 LTLIBOBJS=$ac_ltlibobjs
15707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15708 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15709 Usually this means the macro was only invoked conditionally." >&5
15710 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15711 Usually this means the macro was only invoked conditionally." >&2;}
15712 { (exit 1); exit 1; }; }
15714 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15715 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
15716 Usually this means the macro was only invoked conditionally." >&5
15717 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
15718 Usually this means the macro was only invoked conditionally." >&2;}
15719 { (exit 1); exit 1; }; }
15721 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15722 { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
15723 Usually this means the macro was only invoked conditionally." >&5
15724 echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
15725 Usually this means the macro was only invoked conditionally." >&2;}
15726 { (exit 1); exit 1; }; }
15728 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
15729 { { echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
15730 Usually this means the macro was only invoked conditionally." >&5
15731 echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
15732 Usually this means the macro was only invoked conditionally." >&2;}
15733 { (exit 1); exit 1; }; }
15736 : ${CONFIG_STATUS=./config.status}
15737 ac_clean_files_save=$ac_clean_files
15738 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15739 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15740 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15741 cat >$CONFIG_STATUS <<_ACEOF
15743 # Generated by $as_me.
15744 # Run this file to recreate the current configuration.
15745 # Compiler output produced by configure, useful for debugging
15746 # configure, is in config.log if it exists.
15749 ac_cs_recheck=false
15751 SHELL=\${CONFIG_SHELL-$SHELL}
15754 cat >>$CONFIG_STATUS <<\_ACEOF
15755 ## --------------------- ##
15756 ## M4sh Initialization. ##
15757 ## --------------------- ##
15759 # Be Bourne compatible
15760 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15763 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15764 # is contrary to our usage. Disable this feature.
15765 alias -g '${1+"$@"}'='"$@"'
15766 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
15770 # Support unset when possible.
15771 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
15778 # Work around bugs in pre-3.0 UWIN ksh.
15779 $as_unset ENV MAIL MAILPATH