2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $ECHO works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$lt_ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
619 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 # The Solaris, AIX, and Digital Unix default echo programs unquote
632 # backslashes. This makes it impossible to quote backslashes using
633 # echo "$something" | sed 's/\\/\\\\/g'
635 # So, first we look for a working echo in the user's PATH.
637 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
638 for dir
in $PATH /usr
/ucb
; do
640 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
641 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
650 if test "X$ECHO" = Xecho
; then
651 # We didn't find a better echo, so look for alternatives.
652 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654 test "X$echo_testing_string" = "X$echo_test_string"; then
655 # This shell has a builtin print -r that does the trick.
657 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
658 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
659 # If we have ksh, try running configure again with it.
660 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
661 export ORIGINAL_CONFIG_SHELL
662 CONFIG_SHELL
=/bin
/ksh
664 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670 test "X$echo_testing_string" = "X$echo_test_string"; then
673 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674 test "X$echo_testing_string" = 'X\t' &&
675 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676 test "X$echo_testing_string" = "X$echo_test_string"; then
677 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
679 SHELL
="$CONFIG_SHELL"
681 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
682 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683 test "X$echo_testing_string" = 'X\t' &&
684 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685 test "X$echo_testing_string" = "X$echo_test_string"; then
686 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
688 # maybe with a smaller string...
691 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
699 if test "$prev" != 'sed 50q "$0"'; then
700 echo_test_string
=`eval $prev`
701 export echo_test_string
702 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704 # Oops. We lost completely, so just stick with echo.
713 # Copy echo and quote the copy suitably for passing to libtool from
714 # the Makefile, instead of quoting the original, which is used later.
716 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723 exec 7<&0 </dev
/null
6>&1
726 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727 # so uname gets run too.
728 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
733 ac_default_prefix
=/usr
/local
735 ac_config_libobj_dir
=.
741 SHELL
=${CONFIG_SHELL-/bin/sh}
743 # Identity of this package.
750 ac_unique_file
="entities.c"
751 # Factoring default headers for most tests.
752 ac_includes_default
="\
754 #ifdef HAVE_SYS_TYPES_H
755 # include <sys/types.h>
757 #ifdef HAVE_SYS_STAT_H
758 # include <sys/stat.h>
764 # ifdef HAVE_STDLIB_H
769 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774 #ifdef HAVE_STRINGS_H
775 # include <strings.h>
777 #ifdef HAVE_INTTYPES_H
778 # include <inttypes.h>
787 ac_subst_vars
='am__EXEEXT_FALSE
806 CYGWIN_EXTRA_PYTHON_LIBADD
870 WITH_TRIO_SOURCES_FALSE
871 WITH_TRIO_SOURCES_TRUE
889 USE_VERSION_SCRIPT_FALSE
890 USE_VERSION_SCRIPT_TRUE
947 INSTALL_STRIP_PROGRAM
963 LIBXML_VERSION_NUMBER
1004 program_transform_name
1016 enable_option_checking
1017 enable_dependency_tracking
1065 ac_precious_vars
='build_alias
1076 # Initialize some variables set by options.
1078 ac_init_version
=false
1079 ac_unrecognized_opts
=
1080 ac_unrecognized_sep
=
1081 # The variables have the same names as the options, with
1082 # dashes changed to underlines.
1083 cache_file
=/dev
/null
1090 program_transform_name
=s
,x
,x
,
1098 # Installation directory options.
1099 # These are left unexpanded so users can "make install exec_prefix=/foo"
1100 # and all the variables that are supposed to be based on exec_prefix
1101 # by default will actually change.
1102 # Use braces instead of parens because sh, perl, etc. also accept them.
1103 # (The list follows the same order as the GNU Coding Standards.)
1104 bindir
='${exec_prefix}/bin'
1105 sbindir
='${exec_prefix}/sbin'
1106 libexecdir
='${exec_prefix}/libexec'
1107 datarootdir
='${prefix}/share'
1108 datadir
='${datarootdir}'
1109 sysconfdir
='${prefix}/etc'
1110 sharedstatedir
='${prefix}/com'
1111 localstatedir
='${prefix}/var'
1112 includedir
='${prefix}/include'
1113 oldincludedir
='/usr/include'
1114 docdir
='${datarootdir}/doc/${PACKAGE}'
1115 infodir
='${datarootdir}/info'
1120 libdir
='${exec_prefix}/lib'
1121 localedir
='${datarootdir}/locale'
1122 mandir
='${datarootdir}/man'
1128 # If the previous option needs an argument, assign it.
1129 if test -n "$ac_prev"; then
1130 eval $ac_prev=\
$ac_option
1136 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1140 # Accept the important Cygnus configure options, so we can diagnose typos.
1142 case $ac_dashdash$ac_option in
1146 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1148 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1149 bindir
=$ac_optarg ;;
1151 -build |
--build |
--buil |
--bui |
--bu)
1152 ac_prev
=build_alias
;;
1153 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1154 build_alias
=$ac_optarg ;;
1156 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1157 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1158 ac_prev
=cache_file
;;
1159 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1160 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1161 cache_file
=$ac_optarg ;;
1163 --config-cache |
-C)
1164 cache_file
=config.cache
;;
1166 -datadir |
--datadir |
--datadi |
--datad)
1168 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1169 datadir
=$ac_optarg ;;
1171 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1172 |
--dataroo |
--dataro |
--datar)
1173 ac_prev
=datarootdir
;;
1174 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1175 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1176 datarootdir
=$ac_optarg ;;
1178 -disable-* |
--disable-*)
1179 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1188 "enable_
$ac_useropt"
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval enable_
$ac_useropt=no
;;
1195 -docdir |
--docdir |
--docdi |
--doc |
--do)
1197 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1198 docdir
=$ac_optarg ;;
1200 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1202 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1203 dvidir
=$ac_optarg ;;
1205 -enable-* |
--enable-*)
1206 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1209 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1210 { (exit 1); exit 1; }; }
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1215 "enable_
$ac_useropt"
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval enable_
$ac_useropt=\
$ac_optarg ;;
1222 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1223 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1224 |
--exec |
--exe |
--ex)
1225 ac_prev
=exec_prefix
;;
1226 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1227 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1228 |
--exec=* |
--exe=* |
--ex=*)
1229 exec_prefix
=$ac_optarg ;;
1231 -gas |
--gas |
--ga |
--g)
1232 # Obsolete; use --with-gas.
1235 -help |
--help |
--hel |
--he |
-h)
1236 ac_init_help
=long
;;
1237 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1238 ac_init_help
=recursive
;;
1239 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1240 ac_init_help
=short
;;
1242 -host |
--host |
--hos |
--ho)
1243 ac_prev
=host_alias
;;
1244 -host=* |
--host=* |
--hos=* |
--ho=*)
1245 host_alias
=$ac_optarg ;;
1247 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1249 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1251 htmldir
=$ac_optarg ;;
1253 -includedir |
--includedir |
--includedi |
--included |
--include \
1254 |
--includ |
--inclu |
--incl |
--inc)
1255 ac_prev
=includedir
;;
1256 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1257 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1258 includedir
=$ac_optarg ;;
1260 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1262 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1263 infodir
=$ac_optarg ;;
1265 -libdir |
--libdir |
--libdi |
--libd)
1267 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1268 libdir
=$ac_optarg ;;
1270 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1271 |
--libexe |
--libex |
--libe)
1272 ac_prev
=libexecdir
;;
1273 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1274 |
--libexe=* |
--libex=* |
--libe=*)
1275 libexecdir
=$ac_optarg ;;
1277 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1278 ac_prev
=localedir
;;
1279 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1280 localedir
=$ac_optarg ;;
1282 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1283 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1284 ac_prev
=localstatedir
;;
1285 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1286 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1287 localstatedir
=$ac_optarg ;;
1289 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1291 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1292 mandir
=$ac_optarg ;;
1294 -nfp |
--nfp |
--nf)
1295 # Obsolete; use --without-fp.
1298 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1299 |
--no-cr |
--no-c |
-n)
1302 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1303 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1306 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1307 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1308 |
--oldin |
--oldi |
--old |
--ol |
--o)
1309 ac_prev
=oldincludedir
;;
1310 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1311 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1312 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1313 oldincludedir
=$ac_optarg ;;
1315 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1317 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1318 prefix
=$ac_optarg ;;
1320 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1321 |
--program-pre |
--program-pr |
--program-p)
1322 ac_prev
=program_prefix
;;
1323 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1324 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1325 program_prefix
=$ac_optarg ;;
1327 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1328 |
--program-suf |
--program-su |
--program-s)
1329 ac_prev
=program_suffix
;;
1330 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1331 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1332 program_suffix
=$ac_optarg ;;
1334 -program-transform-name |
--program-transform-name \
1335 |
--program-transform-nam |
--program-transform-na \
1336 |
--program-transform-n |
--program-transform- \
1337 |
--program-transform |
--program-transfor \
1338 |
--program-transfo |
--program-transf \
1339 |
--program-trans |
--program-tran \
1340 |
--progr-tra |
--program-tr |
--program-t)
1341 ac_prev
=program_transform_name
;;
1342 -program-transform-name=* |
--program-transform-name=* \
1343 |
--program-transform-nam=* |
--program-transform-na=* \
1344 |
--program-transform-n=* |
--program-transform-=* \
1345 |
--program-transform=* |
--program-transfor=* \
1346 |
--program-transfo=* |
--program-transf=* \
1347 |
--program-trans=* |
--program-tran=* \
1348 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1349 program_transform_name
=$ac_optarg ;;
1351 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1353 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1354 pdfdir
=$ac_optarg ;;
1356 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1358 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1361 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1362 |
-silent |
--silent |
--silen |
--sile |
--sil)
1365 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1367 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1369 sbindir
=$ac_optarg ;;
1371 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1372 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1373 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1375 ac_prev
=sharedstatedir
;;
1376 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1377 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1378 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1380 sharedstatedir
=$ac_optarg ;;
1382 -site |
--site |
--sit)
1384 -site=* |
--site=* |
--sit=*)
1387 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1389 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1390 srcdir
=$ac_optarg ;;
1392 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1393 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1394 ac_prev
=sysconfdir
;;
1395 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1396 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1397 sysconfdir
=$ac_optarg ;;
1399 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1400 ac_prev
=target_alias
;;
1401 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1402 target_alias
=$ac_optarg ;;
1404 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1407 -version |
--version |
--versio |
--versi |
--vers |
-V)
1408 ac_init_version
=: ;;
1411 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1414 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1415 { (exit 1); exit 1; }; }
1416 ac_useropt_orig
=$ac_useropt
1417 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1418 case $ac_user_opts in
1422 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1423 ac_unrecognized_sep
=', ';;
1425 eval with_
$ac_useropt=\
$ac_optarg ;;
1427 -without-* |
--without-*)
1428 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1429 # Reject names that are not valid shell variable names.
1430 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1431 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1432 { (exit 1); exit 1; }; }
1433 ac_useropt_orig
=$ac_useropt
1434 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1435 case $ac_user_opts in
1439 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1440 ac_unrecognized_sep
=', ';;
1442 eval with_
$ac_useropt=no
;;
1445 # Obsolete; use --with-x.
1448 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1449 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1450 ac_prev
=x_includes
;;
1451 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1452 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1453 x_includes
=$ac_optarg ;;
1455 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1456 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1457 ac_prev
=x_libraries
;;
1458 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1459 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1460 x_libraries
=$ac_optarg ;;
1462 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1463 Try \`$0 --help' for more information." >&2
1464 { (exit 1); exit 1; }; }
1468 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1469 # Reject names that are not valid shell variable names.
1470 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1471 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1472 { (exit 1); exit 1; }; }
1473 eval $ac_envvar=\
$ac_optarg
1474 export $ac_envvar ;;
1477 # FIXME: should be removed in autoconf 3.0.
1478 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1479 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1480 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1481 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1487 if test -n "$ac_prev"; then
1488 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1489 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1490 { (exit 1); exit 1; }; }
1493 if test -n "$ac_unrecognized_opts"; then
1494 case $enable_option_checking in
1496 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1497 { (exit 1); exit 1; }; } ;;
1498 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1502 # Check all directory arguments for consistency.
1503 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1504 datadir sysconfdir sharedstatedir localstatedir includedir \
1505 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1506 libdir localedir mandir
1508 eval ac_val
=\$
$ac_var
1509 # Remove trailing slashes.
1512 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1513 eval $ac_var=\
$ac_val;;
1515 # Be sure to have absolute directory names.
1517 [\\/$
]* | ?
:[\\/]* ) continue;;
1518 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1520 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1529 target
=$target_alias
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x
; then
1533 if test "x$build_alias" = x
; then
1534 cross_compiling
=maybe
1535 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1543 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1545 test "$silent" = yes && exec 6>/dev
/null
1548 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di
=`ls -di .` &&
1550 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1551 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted
=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir
=`$as_dirname -- "$as_myself" ||
1563 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$as_myself" : 'X\(//\)[^/]' \| \
1565 X"$as_myself" : 'X\(//\)$' \| \
1566 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1567 $as_echo X"$as_myself" |
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1590 ac_srcdir_defaulted
=no
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1594 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1597 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1610 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1612 for ac_var
in $ac_precious_vars; do
1613 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1614 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1615 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1616 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1620 # Report the --help message.
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1626 \`configure' configures this package to adapt to many kinds of systems.
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1633 Defaults for the options are specified in brackets.
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1657 For better control, use the options below.
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1684 --program-prefix=PREFIX prepend PREFIX to installed program names
1685 --program-suffix=SUFFIX append SUFFIX to installed program names
1686 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1689 --build=BUILD configure
for building on BUILD
[guessed
]
1690 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1694 if test -n "$ac_init_help"; then
1699 --disable-option-checking ignore unrecognized
--enable/--with options
1700 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1701 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1702 --disable-dependency-tracking speeds up one-time build
1703 --enable-dependency-tracking do not reject slow dependency extractors
1704 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1705 --enable-static[=PKGS
] build static libraries
[default
=yes]
1706 --enable-fast-install[=PKGS
]
1707 optimize
for fast installation
[default
=yes]
1708 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1709 --enable-rebuild-docs[=yes
/no
] rebuild some generated docs
[default
=yes]
1710 --enable-ipv6[=yes
/no
] enables compilation of IPv6 code
[default
=yes]
1713 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1714 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1715 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1717 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1718 --with-c14n add the Canonicalization support
(on
)
1719 --with-catalog add the Catalog support
(on
)
1720 --with-debug add the debugging module
(on
)
1721 --with-docbook add Docbook SGML support
(on
)
1722 --with-fexceptions add GCC flag
-fexceptions for C
++ exceptions
(off
)
1723 --with-ftp add the FTP support
(on
)
1724 --with-history add
history support to xmllint shell
(off
)
1725 --with-html add the HTML support
(on
)
1726 --with-html-dir=path path to base html directory
, default
1728 --with-html-subdir=path directory used under html-dir
, default
1729 $PACKAGE-$VERSION/html
1730 --with-http add the HTTP support
(on
)
1731 --with-iconv[=DIR
] add ICONV support
(on
)
1732 --with-iso8859x add ISO8859X support
if no
iconv (on
)
1733 --with-legacy add deprecated APIs
for compatibility
(on
)
1734 --with-mem-debug add the memory debugging module
(off
)
1735 --with-minimum build a minimally sized library
(off
)
1736 --with-output add the serialization support
(on
)
1737 --with-pattern add the xmlPattern selection interface
(on
)
1738 --with-push add the PUSH parser interfaces
(on
)
1739 --with-python[=DIR
] build Python bindings
if found
1740 --with-reader add the xmlReader parsing interface
(on
)
1741 --with-readline=DIR use readline
in DIR
1742 --with-regexps add Regular Expressions support
(on
)
1743 --with-run-debug add the runtime debugging module
(off
)
1744 --with-sax1 add the older SAX1 interface
(on
)
1745 --with-schemas add Relax-NG and Schemas support
(on
)
1746 --with-schematron add Schematron support
(on
)
1747 --with-threads add multithread support
(on
)
1748 --with-thread-alloc add per-thread memory
(off
)
1749 --with-tree add the DOM like tree manipulation APIs
(on
)
1750 --with-valid add the DTD validation support
(on
)
1751 --with-writer add the xmlWriter saving interface
(on
)
1752 --with-xinclude add the XInclude support
(on
)
1753 --with-xpath add the XPATH support
(on
)
1754 --with-xptr add the XPointer support
(on
)
1755 --with-modules add the dynamic modules support
(on
)
1756 --with-zlib[=DIR
] use libz
in DIR
1757 --with-coverage build
for code coverage with GCC
(off
)
1759 Some influential environment variables
:
1760 CC C compiler
command
1761 CFLAGS C compiler flags
1762 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1763 nonstandard directory
<lib dir
>
1764 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1765 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1766 you have headers
in a nonstandard directory
<include dir
>
1769 Use these variables to override the choices made by
`configure' or to help
1770 it to find libraries and programs with nonstandard names/locations.
1776 if test "$ac_init_help" = "recursive"; then
1777 # If there are subdirs, report their specific --help.
1778 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1779 test -d "$ac_dir" ||
1780 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1785 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1787 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1788 # A ".." for each directory in $ac_dir_suffix.
1789 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1790 case $ac_top_builddir_sub in
1791 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1792 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1795 ac_abs_top_builddir=$ac_pwd
1796 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1797 # for backward compatibility:
1798 ac_top_builddir=$ac_top_build_prefix
1801 .) # We are building in place.
1803 ac_top_srcdir=$ac_top_builddir_sub
1804 ac_abs_top_srcdir=$ac_pwd ;;
1805 [\\/]* | ?:[\\/]* ) # Absolute name.
1806 ac_srcdir=$srcdir$ac_dir_suffix;
1807 ac_top_srcdir=$srcdir
1808 ac_abs_top_srcdir=$srcdir ;;
1810 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1811 ac_top_srcdir=$ac_top_build_prefix$srcdir
1812 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1814 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1816 cd "$ac_dir" || { ac_status=$?; continue; }
1817 # Check for guested configure.
1818 if test -f "$ac_srcdir/configure.gnu"; then
1820 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1821 elif test -f "$ac_srcdir/configure"; then
1823 $SHELL "$ac_srcdir/configure" --help=recursive
1825 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1827 cd "$ac_pwd" || { ac_status=$?; break; }
1831 test -n "$ac_init_help" && exit $ac_status
1832 if $ac_init_version; then
1835 generated by GNU Autoconf 2.63
1837 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1838 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1839 This configure script is free software; the Free Software Foundation
1840 gives unlimited permission to copy, distribute and modify it.
1844 cat >config.log <<_ACEOF
1845 This file contains any messages produced by compilers while
1846 running configure, to aid debugging if configure makes a mistake.
1848 It was created by $as_me, which was
1849 generated by GNU Autoconf 2.63. Invocation command line was
1861 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1862 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1863 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1864 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1865 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1867 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1868 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1870 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1871 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1872 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1873 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1874 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1875 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1876 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1884 test -z "$as_dir" && as_dir=.
1885 $as_echo "PATH: $as_dir"
1901 # Keep a trace of the command line.
1902 # Strip out --no-create and --no-recursion so they do not pile up.
1903 # Strip out --silent because we don't want to record it for future runs.
1904 # Also quote any args containing shell meta-characters.
1905 # Make two passes to allow for proper duplicate-argument suppression.
1909 ac_must_keep_next=false
1915 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1917 | -silent | --silent | --silen | --sile | --sil)
1920 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1923 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1925 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1926 if test $ac_must_keep_next = true; then
1927 ac_must_keep_next=false # Got value, back to normal.
1930 *=* | --config-cache | -C | -disable-* | --disable-* \
1931 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1932 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1933 | -with-* | --with-* | -without-* | --without-* | --x)
1934 case "$ac_configure_args0 " in
1935 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1938 -* ) ac_must_keep_next=true ;;
1941 ac_configure_args="$ac_configure_args '$ac_arg'"
1946 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1947 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1949 # When interrupted or exit'd, cleanup temporary files, and complete
1950 # config.log. We remove comments because anyway the quotes in there
1951 # would cause problems or look ugly.
1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1954 trap 'exit_status=$?
1955 # Save into config.log some information that might help in debugging.
1960 ## ---------------- ##
1961 ## Cache variables. ##
1962 ## ---------------- ##
1965 # The following way of writing the cache mishandles newlines in values,
1967 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1968 eval ac_val=\$$ac_var
1972 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1976 _ | IFS | as_nl) ;; #(
1977 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1978 *) $as_unset $ac_var ;;
1983 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1984 *${as_nl}ac_space=\ *)
1986 "s/'\''/'\''\\\\'\'''\''/g;
1987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1990 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1998 ## ----------------- ##
1999 ## Output variables. ##
2000 ## ----------------- ##
2003 for ac_var in $ac_subst_vars
2005 eval ac_val=\$$ac_var
2007 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2009 $as_echo "$ac_var='\''$ac_val'\''"
2013 if test -n "$ac_subst_files"; then
2015 ## ------------------- ##
2016 ## File substitutions. ##
2017 ## ------------------- ##
2020 for ac_var in $ac_subst_files
2022 eval ac_val=\$$ac_var
2024 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2026 $as_echo "$ac_var='\''$ac_val'\''"
2031 if test -s confdefs.h; then
2041 test "$ac_signal" != 0 &&
2042 $as_echo "$as_me: caught signal $ac_signal"
2043 $as_echo "$as_me: exit $exit_status"
2045 rm -f core *.core core.conftest.* &&
2046 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2049 for ac_signal in 1 2 13 15; do
2050 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2054 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2055 rm -f -r conftest* confdefs.h
2057 # Predefined preprocessor variables.
2059 cat >>confdefs.h <<_ACEOF
2060 #define PACKAGE_NAME "$PACKAGE_NAME"
2064 cat >>confdefs.h <<_ACEOF
2065 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2069 cat >>confdefs.h <<_ACEOF
2070 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2074 cat >>confdefs.h <<_ACEOF
2075 #define PACKAGE_STRING "$PACKAGE_STRING"
2079 cat >>confdefs.h <<_ACEOF
2080 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2084 # Let the site file select an alternate cache file if it wants to.
2085 # Prefer an explicitly selected file to automatically selected ones.
2088 if test -n "$CONFIG_SITE"; then
2089 ac_site_file1=$CONFIG_SITE
2090 elif test "x$prefix" != xNONE; then
2091 ac_site_file1=$prefix/share/config.site
2092 ac_site_file2=$prefix/etc/config.site
2094 ac_site_file1=$ac_default_prefix/share/config.site
2095 ac_site_file2=$ac_default_prefix/etc/config.site
2097 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2099 test "x$ac_site_file" = xNONE && continue
2100 if test -r "$ac_site_file"; then
2101 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2102 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2103 sed 's/^/| /' "$ac_site_file" >&5
2108 if test -r "$cache_file"; then
2109 # Some versions of bash will fail to source /dev/null (special
2110 # files actually), so we avoid doing that.
2111 if test -f "$cache_file"; then
2112 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2113 $as_echo "$as_me: loading cache $cache_file" >&6;}
2115 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2116 *) . "./$cache_file";;
2120 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2121 $as_echo "$as_me: creating cache $cache_file" >&6;}
2125 # Check that the precious variables saved in the cache have kept the same
2127 ac_cache_corrupted=false
2128 for ac_var in $ac_precious_vars; do
2129 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2130 eval ac_new_set=\$ac_env_${ac_var}_set
2131 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2132 eval ac_new_val=\$ac_env_${ac_var}_value
2133 case $ac_old_set,$ac_new_set in
2135 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2136 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2137 ac_cache_corrupted=: ;;
2139 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
2140 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2141 ac_cache_corrupted=: ;;
2144 if test "x$ac_old_val" != "x$ac_new_val"; then
2145 # differences in whitespace do not lead to failure.
2146 ac_old_val_w=`echo x
$ac_old_val`
2147 ac_new_val_w=`echo x
$ac_new_val`
2148 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2149 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2150 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2151 ac_cache_corrupted=:
2153 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2154 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2155 eval $ac_var=\$ac_old_val
2157 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2158 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2159 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2160 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2163 # Pass precious variables to config.status.
2164 if test "$ac_new_set" = set; then
2166 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2167 *) ac_arg=$ac_var=$ac_new_val ;;
2169 case " $ac_configure_args " in
2170 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2171 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2175 if $ac_cache_corrupted; then
2176 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2178 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2179 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2180 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2181 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2182 { (exit 1); exit 1; }; }
2202 ac_cpp='$CPP $CPPFLAGS'
2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2208 ac_config_headers="$ac_config_headers config.h
"
2211 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2212 if test -f "$ac_dir/install-sh
"; then
2214 ac_install_sh="$ac_aux_dir/install-sh
-c"
2216 elif test -f "$ac_dir/install.sh
"; then
2218 ac_install_sh="$ac_aux_dir/install.sh
-c"
2220 elif test -f "$ac_dir/shtool
"; then
2222 ac_install_sh="$ac_aux_dir/shtool
install -c"
2226 if test -z "$ac_aux_dir"; then
2227 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2228 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2229 { (exit 1); exit 1; }; }
2232 # These three variables are undocumented and unsupported,
2233 # and are intended to be withdrawn in a future Autoconf release.
2234 # They can cause serious problems if a builder's source tree is in a directory
2235 # whose full name contains unusual characters.
2236 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2237 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2238 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2241 # Make sure we can run config.sub.
2242 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2243 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2244 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2245 { (exit 1); exit 1; }; }
2247 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2248 $as_echo_n "checking build system
type...
" >&6; }
2249 if test "${ac_cv_build+set}" = set; then
2250 $as_echo_n "(cached
) " >&6
2252 ac_build_alias=$build_alias
2253 test "x
$ac_build_alias" = x &&
2254 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2255 test "x
$ac_build_alias" = x &&
2256 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2257 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2258 { (exit 1); exit 1; }; }
2259 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2260 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2261 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2262 { (exit 1); exit 1; }; }
2265 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2266 $as_echo "$ac_cv_build" >&6; }
2267 case $ac_cv_build in
2269 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2270 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2271 { (exit 1); exit 1; }; };;
2274 ac_save_IFS=$IFS; IFS='-'
2280 # Remember, the first character of IFS is used to create $*,
2281 # except with old shells:
2284 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2287 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2288 $as_echo_n "checking
host system
type...
" >&6; }
2289 if test "${ac_cv_host+set}" = set; then
2290 $as_echo_n "(cached
) " >&6
2292 if test "x
$host_alias" = x; then
2293 ac_cv_host=$ac_cv_build
2295 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2296 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2297 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2298 { (exit 1); exit 1; }; }
2302 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2303 $as_echo "$ac_cv_host" >&6; }
2306 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2307 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2308 { (exit 1); exit 1; }; };;
2311 ac_save_IFS=$IFS; IFS='-'
2317 # Remember, the first character of IFS is used to create $*,
2318 # except with old shells:
2321 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2325 LIBXML_MAJOR_VERSION=2
2326 LIBXML_MINOR_VERSION=7
2327 LIBXML_MICRO_VERSION=6
2328 LIBXML_MICRO_VERSION_SUFFIX=
2329 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2330 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2332 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2334 if test -f CVS/Entries ; then
2335 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2337 if test "$extra" != ""
2339 LIBXML_VERSION_EXTRA="-CVS$extra"
2341 else if test -d .svn ; then
2342 extra=`svn info | grep Revision | sed 's+Revision: ++'`
2344 if test "$extra" != ""
2346 LIBXML_VERSION_EXTRA="-SVN$extra"
2348 else if test -d .git ; then
2349 extra=`git describe | sed 's+LIBXML[0-9.]*-++'`
2351 if test "$extra" != ""
2353 LIBXML_VERSION_EXTRA="-GIT$extra"
2366 VERSION=${LIBXML_VERSION}
2368 am__api_version='1.11'
2370 # Find a good install program. We prefer a C program (faster),
2371 # so one script is as good as another. But avoid the broken or
2372 # incompatible versions:
2373 # SysV /etc/install, /usr/sbin/install
2374 # SunOS /usr/etc/install
2375 # IRIX /sbin/install
2377 # AmigaOS /C/install, which installs bootblocks on floppy discs
2378 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2379 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2380 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2381 # OS/2's system install, which has a completely different semantic
2382 # ./install, which can be erroneously created by make from ./install.sh.
2383 # Reject install programs that cannot install multiple files.
2384 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2385 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2386 if test -z "$INSTALL"; then
2387 if test "${ac_cv_path_install+set}" = set; then
2388 $as_echo_n "(cached
) " >&6
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 # Account for people who put trailing slashes in PATH elements.
2397 ./ | .// | /cC/* | \
2398 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2399 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2402 # OSF1 and SCO ODT 3.0 have their own names for install.
2403 # Don't use installbsd from OSF since it installs stuff as root
2405 for ac_prog in ginstall scoinst install; do
2406 for ac_exec_ext in '' $ac_executable_extensions; do
2407 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2408 if test $ac_prog = install &&
2409 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2410 # AIX install. It has an incompatible calling convention.
2412 elif test $ac_prog = install &&
2413 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2414 # program-specific install script used by HP pwplus--don't use.
2417 rm -rf conftest.one conftest.two conftest.dir
2418 echo one > conftest.one
2419 echo two > conftest.two
2421 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2422 test -s conftest.one && test -s conftest.two &&
2423 test -s conftest.dir/conftest.one &&
2424 test -s conftest.dir/conftest.two
2426 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2439 rm -rf conftest.one conftest.two conftest.dir
2442 if test "${ac_cv_path_install+set}" = set; then
2443 INSTALL=$ac_cv_path_install
2445 # As a last resort, use the slow shell script. Don't cache a
2446 # value for INSTALL within a source directory, because that will
2447 # break other packages using the cache if that directory is
2448 # removed, or if the value is a relative name.
2449 INSTALL=$ac_install_sh
2452 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2453 $as_echo "$INSTALL" >&6; }
2455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2456 # It thinks the first close brace ends the variable substitution.
2457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2461 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2463 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2464 $as_echo_n "checking whether build environment is sane...
" >&6; }
2467 echo timestamp > conftest.file
2468 # Reject unsafe characters in $srcdir or the absolute working directory
2469 # name. Accept space and tab only in the latter.
2473 *[\\\"\#\$\&\'\`$am_lf]*)
2474 { { $as_echo "$as_me:$LINENO: error
: unsafe absolute working directory name
" >&5
2475 $as_echo "$as_me: error
: unsafe absolute working directory name
" >&2;}
2476 { (exit 1); exit 1; }; };;
2479 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2480 { { $as_echo "$as_me:$LINENO: error
: unsafe srcdir value
: \
`$srcdir'" >&5
2481 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2482 { (exit 1); exit 1; }; };;
2485 # Do `set' in a subshell so we don
't clobber the current shell's
2486 # arguments. Must try -L first in case configure is actually a
2487 # symlink; some systems play weird games with the mod time of symlinks
2488 # (eg FreeBSD returns the mod time of the symlink's containing
2491 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2492 if test "$*" = "X"; then
2494 set X
`ls -t "$srcdir/configure" conftest.file`
2497 if test "$*" != "X $srcdir/configure conftest.file" \
2498 && test "$*" != "X conftest.file $srcdir/configure"; then
2500 # If neither matched, then we have a broken ls. This can happen
2501 # if, for instance, CONFIG_SHELL is bash and it inherits a
2502 # broken ls alias from the environment. This has actually
2503 # happened. Such a system could not be considered "sane".
2504 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2505 alias in your environment" >&5
2506 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2507 alias in your environment" >&2;}
2508 { (exit 1); exit 1; }; }
2511 test "$2" = conftest.
file
2517 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2518 Check your system clock" >&5
2519 $as_echo "$as_me: error: newly created file is older than distributed files!
2520 Check your system clock" >&2;}
2521 { (exit 1); exit 1; }; }
2523 { $as_echo "$as_me:$LINENO: result: yes" >&5
2524 $as_echo "yes" >&6; }
2525 test "$program_prefix" != NONE
&&
2526 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2527 # Use a double $ so make ignores it.
2528 test "$program_suffix" != NONE
&&
2529 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2530 # Double any \ or $.
2531 # By default was `s,x,x', remove it if useless.
2532 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2533 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2535 # expand $ac_aux_dir to an absolute path
2536 am_aux_dir
=`cd $ac_aux_dir && pwd`
2538 if test x
"${MISSING+set}" != xset
; then
2541 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2543 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2546 # Use eval to expand $SHELL
2547 if eval "$MISSING --run true"; then
2548 am_missing_run
="$MISSING --run "
2551 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2552 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2555 if test x
"${install_sh}" != xset
; then
2558 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2560 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2564 # Installed binaries are usually stripped using `strip' when the user
2565 # run `make install-strip'. However `strip' might not be the right
2566 # tool to use in cross-compilation environments, therefore Automake
2567 # will honor the `STRIP' environment variable to overrule this program.
2568 if test "$cross_compiling" != no
; then
2569 if test -n "$ac_tool_prefix"; then
2570 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2571 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2572 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2573 $as_echo_n "checking for $ac_word... " >&6; }
2574 if test "${ac_cv_prog_STRIP+set}" = set; then
2575 $as_echo_n "(cached) " >&6
2577 if test -n "$STRIP"; then
2578 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2584 test -z "$as_dir" && as_dir
=.
2585 for ac_exec_ext
in '' $ac_executable_extensions; do
2586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2587 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 STRIP
=$ac_cv_prog_STRIP
2598 if test -n "$STRIP"; then
2599 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2600 $as_echo "$STRIP" >&6; }
2602 { $as_echo "$as_me:$LINENO: result: no" >&5
2603 $as_echo "no" >&6; }
2608 if test -z "$ac_cv_prog_STRIP"; then
2610 # Extract the first word of "strip", so it can be a program name with args.
2611 set dummy strip
; ac_word
=$2
2612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2613 $as_echo_n "checking for $ac_word... " >&6; }
2614 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2615 $as_echo_n "(cached) " >&6
2617 if test -n "$ac_ct_STRIP"; then
2618 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2624 test -z "$as_dir" && as_dir
=.
2625 for ac_exec_ext
in '' $ac_executable_extensions; do
2626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2627 ac_cv_prog_ac_ct_STRIP
="strip"
2628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2638 if test -n "$ac_ct_STRIP"; then
2639 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2640 $as_echo "$ac_ct_STRIP" >&6; }
2642 { $as_echo "$as_me:$LINENO: result: no" >&5
2643 $as_echo "no" >&6; }
2646 if test "x$ac_ct_STRIP" = x
; then
2649 case $cross_compiling:$ac_tool_warned in
2651 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2653 ac_tool_warned
=yes ;;
2658 STRIP
="$ac_cv_prog_STRIP"
2662 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2664 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2665 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2666 if test -z "$MKDIR_P"; then
2667 if test "${ac_cv_path_mkdir+set}" = set; then
2668 $as_echo_n "(cached) " >&6
2670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2671 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2674 test -z "$as_dir" && as_dir
=.
2675 for ac_prog
in mkdir gmkdir
; do
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2678 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2679 'mkdir (GNU coreutils) '* | \
2680 'mkdir (coreutils) '* | \
2681 'mkdir (fileutils) '4.1*)
2682 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2692 if test "${ac_cv_path_mkdir+set}" = set; then
2693 MKDIR_P
="$ac_cv_path_mkdir -p"
2695 # As a last resort, use the slow shell script. Don't cache a
2696 # value for MKDIR_P within a source directory, because that will
2697 # break other packages using the cache if that directory is
2698 # removed, or if the value is a relative name.
2699 test -d .
/--version && rmdir .
/--version
2700 MKDIR_P
="$ac_install_sh -d"
2703 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2704 $as_echo "$MKDIR_P" >&6; }
2708 [\\/$
]* | ?
:[\\/]*) ;;
2709 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2712 for ac_prog
in gawk mawk nawk
awk
2714 # Extract the first word of "$ac_prog", so it can be a program name with args.
2715 set dummy
$ac_prog; ac_word
=$2
2716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 $as_echo_n "checking for $ac_word... " >&6; }
2718 if test "${ac_cv_prog_AWK+set}" = set; then
2719 $as_echo_n "(cached) " >&6
2721 if test -n "$AWK"; then
2722 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir
=.
2729 for ac_exec_ext
in '' $ac_executable_extensions; do
2730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2731 ac_cv_prog_AWK
="$ac_prog"
2732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2742 if test -n "$AWK"; then
2743 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2744 $as_echo "$AWK" >&6; }
2746 { $as_echo "$as_me:$LINENO: result: no" >&5
2747 $as_echo "no" >&6; }
2751 test -n "$AWK" && break
2754 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2757 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2758 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2759 $as_echo_n "(cached) " >&6
2761 cat >conftest.
make <<\_ACEOF
2764 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2767 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2769 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2771 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2775 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2776 { $as_echo "$as_me:$LINENO: result: yes" >&5
2777 $as_echo "yes" >&6; }
2780 { $as_echo "$as_me:$LINENO: result: no" >&5
2781 $as_echo "no" >&6; }
2782 SET_MAKE
="MAKE=${MAKE-make}"
2785 rm -rf .tst
2>/dev
/null
2786 mkdir .tst
2>/dev
/null
2787 if test -d .tst
; then
2792 rmdir .tst
2>/dev
/null
2794 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2795 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2796 # is not polluted with repeated "-I."
2797 am__isrc
=' -I$(srcdir)'
2798 # test to see if srcdir already configured
2799 if test -f $srcdir/config.status
; then
2800 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2801 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2802 { (exit 1); exit 1; }; }
2806 # test whether we have cygpath
2807 if test -z "$CYGPATH_W"; then
2808 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2809 CYGPATH_W
='cygpath -w'
2816 # Define the identity of the package.
2821 cat >>confdefs.h
<<_ACEOF
2822 #define PACKAGE "$PACKAGE"
2826 cat >>confdefs.h
<<_ACEOF
2827 #define VERSION "$VERSION"
2830 # Some tools Automake needs.
2832 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2835 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2838 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2841 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2844 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2846 # We need awk for the "check" target. The system "awk" is bad on
2848 # Always define AMTAR for backward compatibility.
2850 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2852 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2860 ac_cpp
='$CPP $CPPFLAGS'
2861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2864 if test -n "$ac_tool_prefix"; then
2865 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2866 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2867 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2868 $as_echo_n "checking for $ac_word... " >&6; }
2869 if test "${ac_cv_prog_CC+set}" = set; then
2870 $as_echo_n "(cached) " >&6
2872 if test -n "$CC"; then
2873 ac_cv_prog_CC
="$CC" # Let the user override the test.
2875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir
=.
2880 for ac_exec_ext
in '' $ac_executable_extensions; do
2881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2882 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2883 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 if test -n "$CC"; then
2894 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2895 $as_echo "$CC" >&6; }
2897 { $as_echo "$as_me:$LINENO: result: no" >&5
2898 $as_echo "no" >&6; }
2903 if test -z "$ac_cv_prog_CC"; then
2905 # Extract the first word of "gcc", so it can be a program name with args.
2906 set dummy gcc
; ac_word
=$2
2907 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$ac_ct_CC"; then
2913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2922 ac_cv_prog_ac_ct_CC
="gcc"
2923 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2933 if test -n "$ac_ct_CC"; then
2934 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2935 $as_echo "$ac_ct_CC" >&6; }
2937 { $as_echo "$as_me:$LINENO: result: no" >&5
2938 $as_echo "no" >&6; }
2941 if test "x$ac_ct_CC" = x
; then
2944 case $cross_compiling:$ac_tool_warned in
2946 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2948 ac_tool_warned
=yes ;;
2956 if test -z "$CC"; then
2957 if test -n "$ac_tool_prefix"; then
2958 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2959 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_CC+set}" = set; then
2963 $as_echo_n "(cached) " >&6
2965 if test -n "$CC"; then
2966 ac_cv_prog_CC
="$CC" # Let the user override the test.
2968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2972 test -z "$as_dir" && as_dir
=.
2973 for ac_exec_ext
in '' $ac_executable_extensions; do
2974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2976 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2986 if test -n "$CC"; then
2987 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2988 $as_echo "$CC" >&6; }
2990 { $as_echo "$as_me:$LINENO: result: no" >&5
2991 $as_echo "no" >&6; }
2997 if test -z "$CC"; then
2998 # Extract the first word of "cc", so it can be a program name with args.
2999 set dummy cc
; ac_word
=$2
3000 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 $as_echo_n "checking for $ac_word... " >&6; }
3002 if test "${ac_cv_prog_CC+set}" = set; then
3003 $as_echo_n "(cached) " >&6
3005 if test -n "$CC"; then
3006 ac_cv_prog_CC
="$CC" # Let the user override the test.
3009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3013 test -z "$as_dir" && as_dir
=.
3014 for ac_exec_ext
in '' $ac_executable_extensions; do
3015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3016 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3017 ac_prog_rejected
=yes
3021 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3028 if test $ac_prog_rejected = yes; then
3029 # We found a bogon in the path, so make sure we never use it.
3030 set dummy
$ac_cv_prog_CC
3032 if test $# != 0; then
3033 # We chose a different compiler from the bogus one.
3034 # However, it has the same basename, so the bogon will be chosen
3035 # first if we set CC to just the basename; use the full file name.
3037 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3043 if test -n "$CC"; then
3044 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3045 $as_echo "$CC" >&6; }
3047 { $as_echo "$as_me:$LINENO: result: no" >&5
3048 $as_echo "no" >&6; }
3053 if test -z "$CC"; then
3054 if test -n "$ac_tool_prefix"; then
3055 for ac_prog
in cl.exe
3057 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3058 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3059 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3060 $as_echo_n "checking for $ac_word... " >&6; }
3061 if test "${ac_cv_prog_CC+set}" = set; then
3062 $as_echo_n "(cached) " >&6
3064 if test -n "$CC"; then
3065 ac_cv_prog_CC
="$CC" # Let the user override the test.
3067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3071 test -z "$as_dir" && as_dir
=.
3072 for ac_exec_ext
in '' $ac_executable_extensions; do
3073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3074 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3075 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3085 if test -n "$CC"; then
3086 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3087 $as_echo "$CC" >&6; }
3089 { $as_echo "$as_me:$LINENO: result: no" >&5
3090 $as_echo "no" >&6; }
3094 test -n "$CC" && break
3097 if test -z "$CC"; then
3099 for ac_prog
in cl.exe
3101 # Extract the first word of "$ac_prog", so it can be a program name with args.
3102 set dummy
$ac_prog; ac_word
=$2
3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$ac_ct_CC"; then
3109 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 ac_cv_prog_ac_ct_CC
="$ac_prog"
3119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3129 if test -n "$ac_ct_CC"; then
3130 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3131 $as_echo "$ac_ct_CC" >&6; }
3133 { $as_echo "$as_me:$LINENO: result: no" >&5
3134 $as_echo "no" >&6; }
3138 test -n "$ac_ct_CC" && break
3141 if test "x$ac_ct_CC" = x
; then
3144 case $cross_compiling:$ac_tool_warned in
3146 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3147 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3148 ac_tool_warned
=yes ;;
3157 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3160 See \`config.log' for more details." >&5
3161 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3162 See \`config.log' for more details." >&2;}
3163 { (exit 1); exit 1; }; }; }
3165 # Provide some information about the compiler.
3166 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3169 { (ac_try
="$ac_compiler --version >&5"
3171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3175 $as_echo "$ac_try_echo") >&5
3176 (eval "$ac_compiler --version >&5") 2>&5
3178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }
3180 { (ac_try="$ac_compiler -v >&5"
3182 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3183 *) ac_try_echo
=$ac_try;;
3185 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3186 $as_echo "$ac_try_echo") >&5
3187 (eval "$ac_compiler -v >&5") 2>&5
3189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }
3191 { (ac_try
="$ac_compiler -V >&5"
3193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3197 $as_echo "$ac_try_echo") >&5
3198 (eval "$ac_compiler -V >&5") 2>&5
3200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }
3203 cat >conftest.$ac_ext <<_ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h. */
3218 ac_clean_files_save=$ac_clean_files
3219 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3220 # Try to create an executable without -o first, disregard a.out.
3221 # It will help us diagnose broken compilers, and finding out an intuition
3223 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3224 $as_echo_n "checking for C compiler default output file name... " >&6; }
3225 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3227 # The possible output files:
3228 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3231 for ac_file in $ac_files
3234 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3235 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3240 if { (ac_try="$ac_link_default"
3242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3243 *) ac_try_echo
=$ac_try;;
3245 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3246 $as_echo "$ac_try_echo") >&5
3247 (eval "$ac_link_default") 2>&5
3249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; then
3251 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3252 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3253 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3254 # so that the user can short-circuit this test for compilers unknown to
3256 for ac_file
in $ac_files ''
3258 test -f "$ac_file" ||
continue
3260 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3263 # We found the default executable, but exeext='' is most
3267 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3269 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3271 # We set ac_cv_exeext here because the later test for it is not
3272 # safe: cross compilers may not add the suffix if given an `-o'
3273 # argument, so we may need to know it at that point already.
3274 # Even if this section looks crufty: it has the advantage of
3281 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3287 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3288 $as_echo "$ac_file" >&6; }
3289 if test -z "$ac_file"; then
3290 $as_echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.
$ac_ext >&5
3293 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3294 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3295 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3296 See \`config.log' for more details." >&5
3297 $as_echo "$as_me: error: C compiler cannot create executables
3298 See \`config.log' for more details." >&2;}
3299 { (exit 77); exit 77; }; }; }
3302 ac_exeext
=$ac_cv_exeext
3304 # Check that the compiler produces executables we can run. If not, either
3305 # the compiler is broken, or we cross compile.
3306 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3307 $as_echo_n "checking whether the C compiler works... " >&6; }
3308 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3309 # If not cross compiling, check that we can run a simple program.
3310 if test "$cross_compiling" != yes; then
3311 if { ac_try
='./$ac_file'
3312 { (case "(($ac_try" in
3313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3314 *) ac_try_echo=$ac_try;;
3316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3317 $as_echo "$ac_try_echo") >&5
3318 (eval "$ac_try") 2>&5
3320 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3324 if test "$cross_compiling" = maybe; then
3327 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3330 If you meant to cross compile
, use \
`--host'.
3331 See \`config.log
' for more details." >&5
3332 $as_echo "$as_me: error: cannot run C compiled programs.
3333 If you meant to cross compile, use \`--host'.
3334 See \
`config.log' for more details." >&2;}
3335 { (exit 1); exit 1; }; }; }
3339 { $as_echo "$as_me:$LINENO: result: yes" >&5
3340 $as_echo "yes" >&6; }
3342 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3343 ac_clean_files=$ac_clean_files_save
3344 # Check that the compiler produces executables we can run. If not, either
3345 # the compiler is broken, or we cross compile.
3346 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3347 $as_echo_n "checking whether we are cross compiling... " >&6; }
3348 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3349 $as_echo "$cross_compiling" >&6; }
3351 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3352 $as_echo_n "checking for suffix of executables... " >&6; }
3353 if { (ac_try="$ac_link"
3355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3356 *) ac_try_echo
=$ac_try;;
3358 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3359 $as_echo "$ac_try_echo") >&5
3360 (eval "$ac_link") 2>&5
3362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); }; then
3364 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3365 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3366 # work properly (i.e., refer to `conftest.exe'), while it won't with
3368 for ac_file
in conftest.exe conftest conftest.
*; do
3369 test -f "$ac_file" ||
continue
3371 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3372 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3378 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3380 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3381 See \`config.log' for more details." >&5
3382 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details." >&2;}
3384 { (exit 1); exit 1; }; }; }
3387 rm -f conftest
$ac_cv_exeext
3388 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3389 $as_echo "$ac_cv_exeext" >&6; }
3391 rm -f conftest.
$ac_ext
3392 EXEEXT
=$ac_cv_exeext
3394 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3395 $as_echo_n "checking for suffix of object files... " >&6; }
3396 if test "${ac_cv_objext+set}" = set; then
3397 $as_echo_n "(cached) " >&6
3399 cat >conftest.
$ac_ext <<_ACEOF
3402 cat confdefs.h
>>conftest.
$ac_ext
3403 cat >>conftest.
$ac_ext <<_ACEOF
3404 /* end confdefs.h. */
3414 rm -f conftest.o conftest.obj
3415 if { (ac_try
="$ac_compile"
3417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3418 *) ac_try_echo=$ac_try;;
3420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3421 $as_echo "$ac_try_echo") >&5
3422 (eval "$ac_compile") 2>&5
3424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); }; then
3426 for ac_file in conftest.o conftest.obj conftest.*; do
3427 test -f "$ac_file" || continue;
3429 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3430 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3435 $as_echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3438 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3441 See \
`config.log' for more details." >&5
3442 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3443 See \`config.log
' for more details." >&2;}
3444 { (exit 1); exit 1; }; }; }
3447 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3449 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3450 $as_echo "$ac_cv_objext" >&6; }
3451 OBJEXT=$ac_cv_objext
3453 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3454 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3455 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3456 $as_echo_n "(cached) " >&6
3458 cat >conftest.$ac_ext <<_ACEOF
3461 cat confdefs.h >>conftest.$ac_ext
3462 cat >>conftest.$ac_ext <<_ACEOF
3463 /* end confdefs.h. */
3476 rm -f conftest.$ac_objext
3477 if { (ac_try="$ac_compile"
3479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3480 *) ac_try_echo=$ac_try;;
3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3483 $as_echo "$ac_try_echo") >&5
3484 (eval "$ac_compile") 2>conftest.er1
3486 grep -v '^
*+' conftest.er1 >conftest.err
3488 cat conftest.err >&5
3489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } && {
3491 test -z "$ac_c_werror_flag" ||
3492 test ! -s conftest.err
3493 } && test -s conftest.$ac_objext; then
3496 $as_echo "$as_me: failed program was:" >&5
3497 sed 's
/^
/|
/' conftest.$ac_ext >&5
3502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3506 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3507 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3508 if test $ac_compiler_gnu = yes; then
3513 ac_test_CFLAGS=${CFLAGS+set}
3514 ac_save_CFLAGS=$CFLAGS
3515 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3516 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3517 if test "${ac_cv_prog_cc_g+set}" = set; then
3518 $as_echo_n "(cached) " >&6
3520 ac_save_c_werror_flag=$ac_c_werror_flag
3521 ac_c_werror_flag=yes
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3539 rm -f conftest.$ac_objext
3540 if { (ac_try="$ac_compile"
3542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3543 *) ac_try_echo=$ac_try;;
3545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3546 $as_echo "$ac_try_echo") >&5
3547 (eval "$ac_compile") 2>conftest.er1
3549 grep -v '^
*+' conftest.er1 >conftest.err
3551 cat conftest.err >&5
3552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } && {
3554 test -z "$ac_c_werror_flag" ||
3555 test ! -s conftest.err
3556 } && test -s conftest.$ac_objext; then
3559 $as_echo "$as_me: failed program was:" >&5
3560 sed 's
/^
/|
/' conftest.$ac_ext >&5
3563 cat >conftest.$ac_ext <<_ACEOF
3566 cat confdefs.h >>conftest.$ac_ext
3567 cat >>conftest.$ac_ext <<_ACEOF
3568 /* end confdefs.h. */
3578 rm -f conftest.$ac_objext
3579 if { (ac_try="$ac_compile"
3581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3582 *) ac_try_echo=$ac_try;;
3584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3585 $as_echo "$ac_try_echo") >&5
3586 (eval "$ac_compile") 2>conftest.er1
3588 grep -v '^
*+' conftest.er1 >conftest.err
3590 cat conftest.err >&5
3591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } && {
3593 test -z "$ac_c_werror_flag" ||
3594 test ! -s conftest.err
3595 } && test -s conftest.$ac_objext; then
3598 $as_echo "$as_me: failed program was:" >&5
3599 sed 's
/^
/|
/' conftest.$ac_ext >&5
3601 ac_c_werror_flag=$ac_save_c_werror_flag
3603 cat >conftest.$ac_ext <<_ACEOF
3606 cat confdefs.h >>conftest.$ac_ext
3607 cat >>conftest.$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3618 rm -f conftest.$ac_objext
3619 if { (ac_try="$ac_compile"
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3625 $as_echo "$ac_try_echo") >&5
3626 (eval "$ac_compile") 2>conftest.er1
3628 grep -v '^
*+' conftest.er1 >conftest.err
3630 cat conftest.err >&5
3631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && {
3633 test -z "$ac_c_werror_flag" ||
3634 test ! -s conftest.err
3635 } && test -s conftest.$ac_objext; then
3638 $as_echo "$as_me: failed program was:" >&5
3639 sed 's
/^
/|
/' conftest.$ac_ext >&5
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3651 ac_c_werror_flag=$ac_save_c_werror_flag
3653 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3654 $as_echo "$ac_cv_prog_cc_g" >&6; }
3655 if test "$ac_test_CFLAGS" = set; then
3656 CFLAGS=$ac_save_CFLAGS
3657 elif test $ac_cv_prog_cc_g = yes; then
3658 if test "$GCC" = yes; then
3664 if test "$GCC" = yes; then
3670 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3672 if test "${ac_cv_prog_cc_c89+set}" = set; then
3673 $as_echo_n "(cached) " >&6
3675 ac_cv_prog_cc_c89=no
3677 cat >conftest.$ac_ext <<_ACEOF
3680 cat confdefs.h >>conftest.$ac_ext
3681 cat >>conftest.$ac_ext <<_ACEOF
3682 /* end confdefs.h. */
3685 #include <sys/types.h>
3686 #include <sys/stat.h>
3687 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3688 struct buf
{ int x
; };
3689 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3690 static char
*e
(p
, i
)
3696 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3701 s
= g
(p
, va_arg
(v
,int
));
3706 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3707 function prototypes and stuff
, but not
'\xHH' hex character constants.
3708 These don
't provoke an error unfortunately, instead are silently treated
3709 as 'x
'. The following induces an error, until -std is added to get
3710 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3711 array size at least. It's necessary to
write '\x00'==0 to get something
3712 that
's true only with -std. */
3713 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3715 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3716 inside strings and character constants. */
3718 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3720 int test (int i, double x);
3721 struct s1 {int (*f) (int a);};
3722 struct s2 {int (*f) (double a);};
3723 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3729 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3734 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3735 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3737 CC="$ac_save_CC $ac_arg"
3738 rm -f conftest.$ac_objext
3739 if { (ac_try="$ac_compile"
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3745 $as_echo "$ac_try_echo") >&5
3746 (eval "$ac_compile") 2>conftest.er1
3748 grep -v '^
*+' conftest.er1 >conftest.err
3750 cat conftest.err >&5
3751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); } && {
3753 test -z "$ac_c_werror_flag" ||
3754 test ! -s conftest.err
3755 } && test -s conftest.$ac_objext; then
3756 ac_cv_prog_cc_c89=$ac_arg
3758 $as_echo "$as_me: failed program was:" >&5
3759 sed 's
/^
/|
/' conftest.$ac_ext >&5
3764 rm -f core conftest.err conftest.$ac_objext
3765 test "x$ac_cv_prog_cc_c89" != "xno" && break
3767 rm -f conftest.$ac_ext
3772 case "x$ac_cv_prog_cc_c89" in
3774 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3775 $as_echo "none needed" >&6; } ;;
3777 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3778 $as_echo "unsupported" >&6; } ;;
3780 CC="$CC $ac_cv_prog_cc_c89"
3781 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3782 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3787 ac_cpp='$CPP $CPPFLAGS'
3788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3789 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3791 DEPDIR="${am__leading_dot}deps"
3793 ac_config_commands="$ac_config_commands depfiles"
3796 am_make=${MAKE-make}
3797 cat > confinc << 'END
'
3799 @echo this is the am__doit target
3802 # If we don't
find an include directive
, just comment out the code.
3803 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3804 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3808 # First try GNU make style include.
3809 echo "include confinc" > confmf
3810 # Ignore all kinds of additional output from `make'.
3811 case `$am_make -s -f confmf 2> /dev/null` in #(
3812 *the\ am__doit\ target
*)
3818 # Now try BSD make style include.
3819 if test "$am__include" = "#"; then
3820 echo '.include "confinc"' > confmf
3821 case `$am_make -s -f confmf 2> /dev/null` in #(
3822 *the\ am__doit\ target
*)
3823 am__include
=.include
3831 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3832 $as_echo "$_am_result" >&6; }
3833 rm -f confinc confmf
3835 # Check whether --enable-dependency-tracking was given.
3836 if test "${enable_dependency_tracking+set}" = set; then
3837 enableval
=$enable_dependency_tracking;
3840 if test "x$enable_dependency_tracking" != xno
; then
3841 am_depcomp
="$ac_aux_dir/depcomp"
3844 if test "x$enable_dependency_tracking" != xno; then
3854 depcc
="$CC" am_compiler_list
=
3856 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3857 $as_echo_n "checking dependency style of $depcc... " >&6; }
3858 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3859 $as_echo_n "(cached) " >&6
3861 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3862 # We make a subdir and do the tests there. Otherwise we can end up
3863 # making bogus files that we don't know about and never remove. For
3864 # instance it was reported that on HP-UX the gcc test will end up
3865 # making a dummy file named `D' -- because `-MD' means `put the output
3868 # Copy depcomp to subdir because otherwise we won't find it if we're
3869 # using a relative directory.
3870 cp "$am_depcomp" conftest.dir
3872 # We will build objects and dependencies in a subdirectory because
3873 # it helps to detect inapplicable dependency modes. For instance
3874 # both Tru64's cc and ICC support -MD to output dependencies as a
3875 # side effect of compilation, but ICC will put the dependencies in
3876 # the current directory while Tru64 will put them in the object
3880 am_cv_CC_dependencies_compiler_type
=none
3881 if test "$am_compiler_list" = ""; then
3882 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3885 case " $depcc " in #(
3886 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3889 for depmode
in $am_compiler_list; do
3890 # Setup a source with many dependencies, because some compilers
3891 # like to wrap large dependency lists on column 80 (with \), and
3892 # we should not choose a depcomp mode which is confused by this.
3894 # We need to recreate these files for each test, as the compiler may
3895 # overwrite some of them when testing with obscure command lines.
3896 # This happens at least with the AIX C compiler.
3898 for i
in 1 2 3 4 5 6; do
3899 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3900 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3901 # Solaris 8's {/usr,}/bin/sh.
3902 touch sub
/conftst
$i.h
3904 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3906 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3907 # mode. It turns out that the SunPro C++ compiler does not properly
3908 # handle `-M -o', and we need to detect this. Also, some Intel
3909 # versions had trouble with output in subdirs
3910 am__obj
=sub
/conftest.
${OBJEXT-o}
3911 am__minus_obj
="-o $am__obj"
3914 # This depmode causes a compiler race in universal mode.
3915 test "$am__universal" = false ||
continue
3918 # after this tag, mechanisms are not by side-effect, so they'll
3919 # only be used when explicitly requested
3920 if test "x$enable_dependency_tracking" = xyes
; then
3926 msvisualcpp | msvcmsys
)
3927 # This compiler won't grok `-c -o', but also, the minuso test has
3928 # not run yet. These depmodes are late enough in the game, and
3929 # so weak that their functioning should not be impacted.
3930 am__obj
=conftest.
${OBJEXT-o}
3935 if depmode
=$depmode \
3936 source=sub
/conftest.c object
=$am__obj \
3937 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3938 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3939 >/dev
/null
2>conftest.err
&&
3940 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3941 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3942 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3943 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3944 # icc doesn't choke on unknown options, it will just issue warnings
3945 # or remarks (even with -Werror). So we grep stderr for any message
3946 # that says an option was ignored or not supported.
3947 # When given -MP, icc 7.0 and 7.1 complain thusly:
3948 # icc: Command line warning: ignoring option '-M'; no argument required
3949 # The diagnosis changed in icc 8.0:
3950 # icc: Command line remark: option '-MP' not supported
3951 if (grep 'ignoring option' conftest.err ||
3952 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3953 am_cv_CC_dependencies_compiler_type
=$depmode
3962 am_cv_CC_dependencies_compiler_type
=none
3966 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3967 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3968 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3971 test "x$enable_dependency_tracking" != xno \
3972 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3974 am__fastdepCC_FALSE
='#'
3976 am__fastdepCC_TRUE
='#'
3977 am__fastdepCC_FALSE
=
3981 # Find a good install program. We prefer a C program (faster),
3982 # so one script is as good as another. But avoid the broken or
3983 # incompatible versions:
3984 # SysV /etc/install, /usr/sbin/install
3985 # SunOS /usr/etc/install
3986 # IRIX /sbin/install
3988 # AmigaOS /C/install, which installs bootblocks on floppy discs
3989 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3990 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3991 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3992 # OS/2's system install, which has a completely different semantic
3993 # ./install, which can be erroneously created by make from ./install.sh.
3994 # Reject install programs that cannot install multiple files.
3995 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3996 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3997 if test -z "$INSTALL"; then
3998 if test "${ac_cv_path_install+set}" = set; then
3999 $as_echo_n "(cached) " >&6
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 # Account for people who put trailing slashes in PATH elements.
4008 .
/ | .
// |
/cC
/* | \
4009 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4010 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4013 # OSF1 and SCO ODT 3.0 have their own names for install.
4014 # Don't use installbsd from OSF since it installs stuff as root
4016 for ac_prog
in ginstall scoinst
install; do
4017 for ac_exec_ext
in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4019 if test $ac_prog = install &&
4020 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4021 # AIX install. It has an incompatible calling convention.
4023 elif test $ac_prog = install &&
4024 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4025 # program-specific install script used by HP pwplus--don't use.
4028 rm -rf conftest.one conftest.two conftest.dir
4029 echo one
> conftest.one
4030 echo two
> conftest.two
4032 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4033 test -s conftest.one
&& test -s conftest.two
&&
4034 test -s conftest.dir
/conftest.one
&&
4035 test -s conftest.dir
/conftest.two
4037 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4050 rm -rf conftest.one conftest.two conftest.dir
4053 if test "${ac_cv_path_install+set}" = set; then
4054 INSTALL
=$ac_cv_path_install
4056 # As a last resort, use the slow shell script. Don't cache a
4057 # value for INSTALL within a source directory, because that will
4058 # break other packages using the cache if that directory is
4059 # removed, or if the value is a relative name.
4060 INSTALL
=$ac_install_sh
4063 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4064 $as_echo "$INSTALL" >&6; }
4066 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4067 # It thinks the first close brace ends the variable substitution.
4068 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4070 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4072 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4075 ac_cpp
='$CPP $CPPFLAGS'
4076 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4079 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4081 # On Suns, sometimes $CPP names a directory.
4082 if test -n "$CPP" && test -d "$CPP"; then
4085 if test -z "$CPP"; then
4086 if test "${ac_cv_prog_CPP+set}" = set; then
4087 $as_echo_n "(cached) " >&6
4089 # Double quotes because CPP needs to be expanded
4090 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4093 for ac_c_preproc_warn_flag
in '' yes
4095 # Use a header file that comes with gcc, so configuring glibc
4096 # with a fresh cross-compiler works.
4097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4098 # <limits.h> exists even on freestanding compilers.
4099 # On the NeXT, cc -E runs the code through the compiler's parser,
4100 # not just through cpp. "Syntax error" is here to catch this case.
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4108 # include <limits.h>
4110 # include <assert.h>
4114 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4116 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4117 *) ac_try_echo=$ac_try;;
4119 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4120 $as_echo "$ac_try_echo") >&5
4121 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4123 grep -v '^ *+' conftest.er1 >conftest.err
4125 cat conftest.err >&5
4126 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); } >/dev/null && {
4128 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4129 test ! -s conftest.err
4133 $as_echo "$as_me: failed program was:" >&5
4134 sed 's/^/| /' conftest.$ac_ext >&5
4136 # Broken: fails on valid input.
4140 rm -f conftest.err conftest.$ac_ext
4142 # OK, works on sane cases. Now check whether nonexistent headers
4143 # can be detected and how.
4144 cat >conftest.$ac_ext <<_ACEOF
4147 cat confdefs.h >>conftest.$ac_ext
4148 cat >>conftest.$ac_ext <<_ACEOF
4149 /* end confdefs.h. */
4150 #include <ac_nonexistent.h>
4152 if { (ac_try="$ac_cpp conftest.$ac_ext"
4154 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4155 *) ac_try_echo
=$ac_try;;
4157 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4158 $as_echo "$ac_try_echo") >&5
4159 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4161 grep -v '^ *+' conftest.er1
>conftest.err
4163 cat conftest.err
>&5
4164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } >/dev
/null
&& {
4166 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4167 test ! -s conftest.err
4169 # Broken: success on invalid input.
4172 $as_echo "$as_me: failed program was:" >&5
4173 sed 's/^/| /' conftest.
$ac_ext >&5
4175 # Passes both tests.
4180 rm -f conftest.err conftest.
$ac_ext
4183 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4184 rm -f conftest.err conftest.
$ac_ext
4185 if $ac_preproc_ok; then
4197 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4198 $as_echo "$CPP" >&6; }
4200 for ac_c_preproc_warn_flag
in '' yes
4202 # Use a header file that comes with gcc, so configuring glibc
4203 # with a fresh cross-compiler works.
4204 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4205 # <limits.h> exists even on freestanding compilers.
4206 # On the NeXT, cc -E runs the code through the compiler's parser,
4207 # not just through cpp. "Syntax error" is here to catch this case.
4208 cat >conftest.
$ac_ext <<_ACEOF
4211 cat confdefs.h
>>conftest.
$ac_ext
4212 cat >>conftest.
$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4215 # include <limits.h>
4217 # include <assert.h>
4221 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4227 $as_echo "$ac_try_echo") >&5
4228 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4230 grep -v '^ *+' conftest.er1 >conftest.err
4232 cat conftest.err >&5
4233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); } >/dev/null && {
4235 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4236 test ! -s conftest.err
4240 $as_echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 # Broken: fails on valid input.
4247 rm -f conftest.err conftest.$ac_ext
4249 # OK, works on sane cases. Now check whether nonexistent headers
4250 # can be detected and how.
4251 cat >conftest.$ac_ext <<_ACEOF
4254 cat confdefs.h >>conftest.$ac_ext
4255 cat >>conftest.$ac_ext <<_ACEOF
4256 /* end confdefs.h. */
4257 #include <ac_nonexistent.h>
4259 if { (ac_try="$ac_cpp conftest.$ac_ext"
4261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4262 *) ac_try_echo
=$ac_try;;
4264 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4265 $as_echo "$ac_try_echo") >&5
4266 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4268 grep -v '^ *+' conftest.er1
>conftest.err
4270 cat conftest.err
>&5
4271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } >/dev
/null
&& {
4273 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4274 test ! -s conftest.err
4276 # Broken: success on invalid input.
4279 $as_echo "$as_me: failed program was:" >&5
4280 sed 's/^/| /' conftest.
$ac_ext >&5
4282 # Passes both tests.
4287 rm -f conftest.err conftest.
$ac_ext
4290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4291 rm -f conftest.err conftest.
$ac_ext
4292 if $ac_preproc_ok; then
4295 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4297 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4298 See \`config.log' for more details." >&5
4299 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4300 See \`config.log' for more details." >&2;}
4301 { (exit 1); exit 1; }; }; }
4305 ac_cpp
='$CPP $CPPFLAGS'
4306 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4310 # Extract the first word of "rm", so it can be a program name with args.
4311 set dummy
rm; ac_word
=$2
4312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 $as_echo_n "checking for $ac_word... " >&6; }
4314 if test "${ac_cv_path_RM+set}" = set; then
4315 $as_echo_n "(cached) " >&6
4319 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
4322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4326 test -z "$as_dir" && as_dir
=.
4327 for ac_exec_ext
in '' $ac_executable_extensions; do
4328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4329 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
4330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4337 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
4342 if test -n "$RM"; then
4343 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4344 $as_echo "$RM" >&6; }
4346 { $as_echo "$as_me:$LINENO: result: no" >&5
4347 $as_echo "no" >&6; }
4351 # Extract the first word of "mv", so it can be a program name with args.
4352 set dummy
mv; ac_word
=$2
4353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if test "${ac_cv_path_MV+set}" = set; then
4356 $as_echo_n "(cached) " >&6
4360 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4370 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
4371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="/bin/mv"
4383 if test -n "$MV"; then
4384 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4385 $as_echo "$MV" >&6; }
4387 { $as_echo "$as_me:$LINENO: result: no" >&5
4388 $as_echo "no" >&6; }
4392 # Extract the first word of "tar", so it can be a program name with args.
4393 set dummy
tar; ac_word
=$2
4394 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4395 $as_echo_n "checking for $ac_word... " >&6; }
4396 if test "${ac_cv_path_TAR+set}" = set; then
4397 $as_echo_n "(cached) " >&6
4401 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
4404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir
=.
4409 for ac_exec_ext
in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
4412 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4419 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="/bin/tar"
4424 if test -n "$TAR"; then
4425 { $as_echo "$as_me:$LINENO: result: $TAR" >&5
4426 $as_echo "$TAR" >&6; }
4428 { $as_echo "$as_me:$LINENO: result: no" >&5
4429 $as_echo "no" >&6; }
4433 # Extract the first word of "perl", so it can be a program name with args.
4434 set dummy perl
; ac_word
=$2
4435 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if test "${ac_cv_path_PERL+set}" = set; then
4438 $as_echo_n "(cached) " >&6
4442 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4453 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="/usr/bin/perl"
4464 PERL
=$ac_cv_path_PERL
4465 if test -n "$PERL"; then
4466 { $as_echo "$as_me:$LINENO: result: $PERL" >&5
4467 $as_echo "$PERL" >&6; }
4469 { $as_echo "$as_me:$LINENO: result: no" >&5
4470 $as_echo "no" >&6; }
4474 # Extract the first word of "wget", so it can be a program name with args.
4475 set dummy wget
; ac_word
=$2
4476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4477 $as_echo_n "checking for $ac_word... " >&6; }
4478 if test "${ac_cv_path_WGET+set}" = set; then
4479 $as_echo_n "(cached) " >&6
4483 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
4486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4490 test -z "$as_dir" && as_dir
=.
4491 for ac_exec_ext
in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
4494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4501 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
="/usr/bin/wget"
4505 WGET
=$ac_cv_path_WGET
4506 if test -n "$WGET"; then
4507 { $as_echo "$as_me:$LINENO: result: $WGET" >&5
4508 $as_echo "$WGET" >&6; }
4510 { $as_echo "$as_me:$LINENO: result: no" >&5
4511 $as_echo "no" >&6; }
4515 # Extract the first word of "xmllint", so it can be a program name with args.
4516 set dummy xmllint
; ac_word
=$2
4517 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4518 $as_echo_n "checking for $ac_word... " >&6; }
4519 if test "${ac_cv_path_XMLLINT+set}" = set; then
4520 $as_echo_n "(cached) " >&6
4524 ac_cv_path_XMLLINT
="$XMLLINT" # Let the user override the test with a path.
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir
=.
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4534 ac_cv_path_XMLLINT
="$as_dir/$ac_word$ac_exec_ext"
4535 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4542 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT
="/usr/bin/xmllint"
4546 XMLLINT
=$ac_cv_path_XMLLINT
4547 if test -n "$XMLLINT"; then
4548 { $as_echo "$as_me:$LINENO: result: $XMLLINT" >&5
4549 $as_echo "$XMLLINT" >&6; }
4551 { $as_echo "$as_me:$LINENO: result: no" >&5
4552 $as_echo "no" >&6; }
4556 # Extract the first word of "xsltproc", so it can be a program name with args.
4557 set dummy xsltproc
; ac_word
=$2
4558 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if test "${ac_cv_path_XSLTPROC+set}" = set; then
4561 $as_echo_n "(cached) " >&6
4565 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
4568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir
=.
4573 for ac_exec_ext
in '' $ac_executable_extensions; do
4574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4575 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
4576 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4583 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC
="/usr/bin/xsltproc"
4587 XSLTPROC
=$ac_cv_path_XSLTPROC
4588 if test -n "$XSLTPROC"; then
4589 { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
4590 $as_echo "$XSLTPROC" >&6; }
4592 { $as_echo "$as_me:$LINENO: result: no" >&5
4593 $as_echo "no" >&6; }
4598 { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
4599 $as_echo_n "checking for function prototypes... " >&6; }
4600 if test "$ac_cv_prog_cc_c89" != no
; then
4601 { $as_echo "$as_me:$LINENO: result: yes" >&5
4602 $as_echo "yes" >&6; }
4604 cat >>confdefs.h
<<\_ACEOF
4605 #define PROTOTYPES 1
4609 cat >>confdefs.h
<<\_ACEOF
4610 #define __PROTOTYPES 1
4614 { $as_echo "$as_me:$LINENO: result: no" >&5
4615 $as_echo "no" >&6; }
4620 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4621 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4622 if test "${ac_cv_path_GREP+set}" = set; then
4623 $as_echo_n "(cached) " >&6
4625 if test -z "$GREP"; then
4626 ac_path_GREP_found
=false
4627 # Loop through the user's path and test for each of PROGNAME-LIST
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4629 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_prog
in grep ggrep
; do
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4636 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4637 # Check for GNU ac_path_GREP and select it if it is found.
4638 # Check for GNU $ac_path_GREP
4639 case `"$ac_path_GREP" --version 2>&1` in
4641 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4644 $as_echo_n 0123456789 >"conftest.in"
4647 cat "conftest.in" "conftest.in" >"conftest.tmp"
4648 mv "conftest.tmp" "conftest.in"
4649 cp "conftest.in" "conftest.nl"
4650 $as_echo 'GREP' >> "conftest.nl"
4651 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4652 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4653 ac_count
=`expr $ac_count + 1`
4654 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4655 # Best one so far, save it but keep looking for a better one
4656 ac_cv_path_GREP
="$ac_path_GREP"
4657 ac_path_GREP_max
=$ac_count
4659 # 10*(2^10) chars as input seems more than enough
4660 test $ac_count -gt 10 && break
4662 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4665 $ac_path_GREP_found && break 3
4670 if test -z "$ac_cv_path_GREP"; then
4671 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4672 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4673 { (exit 1); exit 1; }; }
4676 ac_cv_path_GREP
=$GREP
4680 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4681 $as_echo "$ac_cv_path_GREP" >&6; }
4682 GREP
="$ac_cv_path_GREP"
4685 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4686 $as_echo_n "checking for egrep... " >&6; }
4687 if test "${ac_cv_path_EGREP+set}" = set; then
4688 $as_echo_n "(cached) " >&6
4690 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4691 then ac_cv_path_EGREP
="$GREP -E"
4693 if test -z "$EGREP"; then
4694 ac_path_EGREP_found
=false
4695 # Loop through the user's path and test for each of PROGNAME-LIST
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4697 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_prog
in egrep; do
4702 for ac_exec_ext
in '' $ac_executable_extensions; do
4703 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4704 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4705 # Check for GNU ac_path_EGREP and select it if it is found.
4706 # Check for GNU $ac_path_EGREP
4707 case `"$ac_path_EGREP" --version 2>&1` in
4709 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4712 $as_echo_n 0123456789 >"conftest.in"
4715 cat "conftest.in" "conftest.in" >"conftest.tmp"
4716 mv "conftest.tmp" "conftest.in"
4717 cp "conftest.in" "conftest.nl"
4718 $as_echo 'EGREP' >> "conftest.nl"
4719 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4720 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4721 ac_count
=`expr $ac_count + 1`
4722 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4723 # Best one so far, save it but keep looking for a better one
4724 ac_cv_path_EGREP
="$ac_path_EGREP"
4725 ac_path_EGREP_max
=$ac_count
4727 # 10*(2^10) chars as input seems more than enough
4728 test $ac_count -gt 10 && break
4730 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4733 $ac_path_EGREP_found && break 3
4738 if test -z "$ac_cv_path_EGREP"; then
4739 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4740 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4741 { (exit 1); exit 1; }; }
4744 ac_cv_path_EGREP
=$EGREP
4749 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4750 $as_echo "$ac_cv_path_EGREP" >&6; }
4751 EGREP
="$ac_cv_path_EGREP"
4754 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4755 $as_echo_n "checking for ANSI C header files... " >&6; }
4756 if test "${ac_cv_header_stdc+set}" = set; then
4757 $as_echo_n "(cached) " >&6
4759 cat >conftest.
$ac_ext <<_ACEOF
4762 cat confdefs.h
>>conftest.
$ac_ext
4763 cat >>conftest.
$ac_ext <<_ACEOF
4764 /* end confdefs.h. */
4778 rm -f conftest.
$ac_objext
4779 if { (ac_try
="$ac_compile"
4781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4782 *) ac_try_echo=$ac_try;;
4784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4785 $as_echo "$ac_try_echo") >&5
4786 (eval "$ac_compile") 2>conftest.er1
4788 grep -v '^ *+' conftest.er1 >conftest.err
4790 cat conftest.err >&5
4791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } && {
4793 test -z "$ac_c_werror_flag" ||
4794 test ! -s conftest.err
4795 } && test -s conftest.$ac_objext; then
4796 ac_cv_header_stdc=yes
4798 $as_echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4801 ac_cv_header_stdc=no
4804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806 if test $ac_cv_header_stdc = yes; then
4807 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4808 cat >conftest.$ac_ext <<_ACEOF
4811 cat confdefs.h >>conftest.$ac_ext
4812 cat >>conftest.$ac_ext <<_ACEOF
4813 /* end confdefs.h. */
4817 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4818 $EGREP "memchr" >/dev/null 2>&1; then
4821 ac_cv_header_stdc=no
4827 if test $ac_cv_header_stdc = yes; then
4828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4829 cat >conftest.$ac_ext <<_ACEOF
4832 cat confdefs.h >>conftest.$ac_ext
4833 cat >>conftest.$ac_ext <<_ACEOF
4834 /* end confdefs.h. */
4838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4839 $EGREP "free" >/dev/null 2>&1; then
4842 ac_cv_header_stdc=no
4848 if test $ac_cv_header_stdc = yes; then
4849 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4850 if test "$cross_compiling" = yes; then
4853 cat >conftest.$ac_ext <<_ACEOF
4856 cat confdefs.h >>conftest.$ac_ext
4857 cat >>conftest.$ac_ext <<_ACEOF
4858 /* end confdefs.h. */
4861 #if ((' ' & 0x0FF) == 0x020)
4862 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4863 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4865 # define ISLOWER(c) \
4866 (('a' <= (c) && (c) <= 'i') \
4867 || ('j' <= (c) && (c) <= 'r') \
4868 || ('s' <= (c) && (c) <= 'z'))
4869 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4872 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4877 for (i = 0; i < 256; i++)
4878 if (XOR (islower (i), ISLOWER (i))
4879 || toupper (i) != TOUPPER (i))
4884 rm -f conftest$ac_exeext
4885 if { (ac_try="$ac_link"
4887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4888 *) ac_try_echo
=$ac_try;;
4890 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4891 $as_echo "$ac_try_echo") >&5
4892 (eval "$ac_link") 2>&5
4894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4896 { (case "(($ac_try" in
4897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4898 *) ac_try_echo=$ac_try;;
4900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4901 $as_echo "$ac_try_echo") >&5
4902 (eval "$ac_try") 2>&5
4904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); }; }; then
4908 $as_echo "$as_me: program exited with status $ac_status" >&5
4909 $as_echo "$as_me: failed program was:" >&5
4910 sed 's/^/| /' conftest.$ac_ext >&5
4913 ac_cv_header_stdc=no
4915 rm -rf conftest.dSYM
4916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4922 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4923 $as_echo "$ac_cv_header_stdc" >&6; }
4924 if test $ac_cv_header_stdc = yes; then
4926 cat >>confdefs.h <<\_ACEOF
4927 #define STDC_HEADERS 1
4932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4942 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4943 inttypes.h stdint.h unistd.h
4945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4946 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4947 $as_echo_n "checking for $ac_header... " >&6; }
4948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4949 $as_echo_n "(cached) " >&6
4951 cat >conftest.$ac_ext <<_ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 $ac_includes_default
4959 #include <$ac_header>
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4965 *) ac_try_echo
=$ac_try;;
4967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4968 $as_echo "$ac_try_echo") >&5
4969 (eval "$ac_compile") 2>conftest.er1
4971 grep -v '^ *+' conftest.er1
>conftest.err
4973 cat conftest.err
>&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); } && {
4976 test -z "$ac_c_werror_flag" ||
4977 test ! -s conftest.err
4978 } && test -s conftest.
$ac_objext; then
4979 eval "$as_ac_Header=yes"
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.
$ac_ext >&5
4984 eval "$as_ac_Header=no"
4987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4989 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4990 $as_echo "$as_val"'`
4991 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4992 $as_echo "$ac_res" >&6; }
4993 as_val
=`eval 'as_val=${'$as_ac_Header'}
4994 $as_echo "$as_val"'`
4995 if test "x$as_val" = x
""yes; then
4996 cat >>confdefs.h
<<_ACEOF
4997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5006 if test "$ac_cv_prog_cc_stdc" != no
; then
5009 U
=_ ANSI2KNR
=.
/ansi2knr
5011 # Ensure some checks needed by ansi2knr itself.
5014 for ac_header
in string.h
5016 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5019 $as_echo_n "checking for $ac_header... " >&6; }
5020 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5021 $as_echo_n "(cached) " >&6
5023 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5024 $as_echo "$as_val"'`
5025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5026 $as_echo "$ac_res" >&6; }
5028 # Is the header compilable?
5029 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5030 $as_echo_n "checking $ac_header usability... " >&6; }
5031 cat >conftest.
$ac_ext <<_ACEOF
5034 cat confdefs.h
>>conftest.
$ac_ext
5035 cat >>conftest.
$ac_ext <<_ACEOF
5036 /* end confdefs.h. */
5037 $ac_includes_default
5038 #include <$ac_header>
5040 rm -f conftest.
$ac_objext
5041 if { (ac_try
="$ac_compile"
5043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5044 *) ac_try_echo=$ac_try;;
5046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5047 $as_echo "$ac_try_echo") >&5
5048 (eval "$ac_compile") 2>conftest.er1
5050 grep -v '^ *+' conftest.er1 >conftest.err
5052 cat conftest.err >&5
5053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054 (exit $ac_status); } && {
5055 test -z "$ac_c_werror_flag" ||
5056 test ! -s conftest.err
5057 } && test -s conftest.$ac_objext; then
5058 ac_header_compiler=yes
5060 $as_echo "$as_me: failed program was:" >&5
5061 sed 's/^/| /' conftest.$ac_ext >&5
5063 ac_header_compiler=no
5066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5068 $as_echo "$ac_header_compiler" >&6; }
5070 # Is the header present?
5071 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5072 $as_echo_n "checking $ac_header presence... " >&6; }
5073 cat >conftest.$ac_ext <<_ACEOF
5076 cat confdefs.h >>conftest.$ac_ext
5077 cat >>conftest.$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5079 #include <$ac_header>
5081 if { (ac_try="$ac_cpp conftest.$ac_ext"
5083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5084 *) ac_try_echo
=$ac_try;;
5086 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5087 $as_echo "$ac_try_echo") >&5
5088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5090 grep -v '^ *+' conftest.er1
>conftest.err
5092 cat conftest.err
>&5
5093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); } >/dev
/null
&& {
5095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5096 test ! -s conftest.err
5098 ac_header_preproc
=yes
5100 $as_echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.
$ac_ext >&5
5103 ac_header_preproc
=no
5106 rm -f conftest.err conftest.
$ac_ext
5107 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5108 $as_echo "$ac_header_preproc" >&6; }
5110 # So? What about this header?
5111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5114 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5116 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5117 ac_header_preproc
=yes
5120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5121 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5123 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5125 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5127 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5129 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5131 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5136 $as_echo_n "checking for $ac_header... " >&6; }
5137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5138 $as_echo_n "(cached) " >&6
5140 eval "$as_ac_Header=\$ac_header_preproc"
5142 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5143 $as_echo "$as_val"'`
5144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5145 $as_echo "$ac_res" >&6; }
5148 as_val
=`eval 'as_val=${'$as_ac_Header'}
5149 $as_echo "$as_val"'`
5150 if test "x$as_val" = x
""yes; then
5151 cat >>confdefs.h
<<_ACEOF
5152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5160 test "x$U" != "x" && { { $as_echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
5161 $as_echo "$as_me: error: Compiler not ANSI compliant" >&2;}
5162 { (exit 1); exit 1; }; }
5164 enable_win32_dll
=yes
5167 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-cegcc*)
5168 if test -n "$ac_tool_prefix"; then
5169 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5170 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5171 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_AS+set}" = set; then
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$AS"; then
5177 ac_cv_prog_AS
="$AS" # Let the user override the test.
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_AS
="${ac_tool_prefix}as"
5187 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 if test -n "$AS"; then
5198 { $as_echo "$as_me:$LINENO: result: $AS" >&5
5199 $as_echo "$AS" >&6; }
5201 { $as_echo "$as_me:$LINENO: result: no" >&5
5202 $as_echo "no" >&6; }
5207 if test -z "$ac_cv_prog_AS"; then
5209 # Extract the first word of "as", so it can be a program name with args.
5210 set dummy as
; ac_word
=$2
5211 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$ac_ct_AS"; then
5217 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_ac_ct_AS
="as"
5227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5237 if test -n "$ac_ct_AS"; then
5238 { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5239 $as_echo "$ac_ct_AS" >&6; }
5241 { $as_echo "$as_me:$LINENO: result: no" >&5
5242 $as_echo "no" >&6; }
5245 if test "x$ac_ct_AS" = x
; then
5248 case $cross_compiling:$ac_tool_warned in
5250 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5251 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5252 ac_tool_warned
=yes ;;
5260 if test -n "$ac_tool_prefix"; then
5261 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5262 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
5263 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5264 $as_echo_n "checking for $ac_word... " >&6; }
5265 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
5266 $as_echo_n "(cached) " >&6
5268 if test -n "$DLLTOOL"; then
5269 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
5271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5275 test -z "$as_dir" && as_dir
=.
5276 for ac_exec_ext
in '' $ac_executable_extensions; do
5277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5278 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
5279 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5288 DLLTOOL
=$ac_cv_prog_DLLTOOL
5289 if test -n "$DLLTOOL"; then
5290 { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
5291 $as_echo "$DLLTOOL" >&6; }
5293 { $as_echo "$as_me:$LINENO: result: no" >&5
5294 $as_echo "no" >&6; }
5299 if test -z "$ac_cv_prog_DLLTOOL"; then
5300 ac_ct_DLLTOOL
=$DLLTOOL
5301 # Extract the first word of "dlltool", so it can be a program name with args.
5302 set dummy dlltool
; ac_word
=$2
5303 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5304 $as_echo_n "checking for $ac_word... " >&6; }
5305 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
5306 $as_echo_n "(cached) " >&6
5308 if test -n "$ac_ct_DLLTOOL"; then
5309 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
5311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5315 test -z "$as_dir" && as_dir
=.
5316 for ac_exec_ext
in '' $ac_executable_extensions; do
5317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5318 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
5319 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5328 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
5329 if test -n "$ac_ct_DLLTOOL"; then
5330 { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
5331 $as_echo "$ac_ct_DLLTOOL" >&6; }
5333 { $as_echo "$as_me:$LINENO: result: no" >&5
5334 $as_echo "no" >&6; }
5337 if test "x$ac_ct_DLLTOOL" = x
; then
5340 case $cross_compiling:$ac_tool_warned in
5342 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5343 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5344 ac_tool_warned
=yes ;;
5346 DLLTOOL
=$ac_ct_DLLTOOL
5349 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5352 if test -n "$ac_tool_prefix"; then
5353 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5354 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5356 $as_echo_n "checking for $ac_word... " >&6; }
5357 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5358 $as_echo_n "(cached) " >&6
5360 if test -n "$OBJDUMP"; then
5361 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5367 test -z "$as_dir" && as_dir
=.
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5370 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5371 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5380 OBJDUMP
=$ac_cv_prog_OBJDUMP
5381 if test -n "$OBJDUMP"; then
5382 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5383 $as_echo "$OBJDUMP" >&6; }
5385 { $as_echo "$as_me:$LINENO: result: no" >&5
5386 $as_echo "no" >&6; }
5391 if test -z "$ac_cv_prog_OBJDUMP"; then
5392 ac_ct_OBJDUMP
=$OBJDUMP
5393 # Extract the first word of "objdump", so it can be a program name with args.
5394 set dummy objdump
; ac_word
=$2
5395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 $as_echo_n "checking for $ac_word... " >&6; }
5397 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5398 $as_echo_n "(cached) " >&6
5400 if test -n "$ac_ct_OBJDUMP"; then
5401 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5411 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5420 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5421 if test -n "$ac_ct_OBJDUMP"; then
5422 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5423 $as_echo "$ac_ct_OBJDUMP" >&6; }
5425 { $as_echo "$as_me:$LINENO: result: no" >&5
5426 $as_echo "no" >&6; }
5429 if test "x$ac_ct_OBJDUMP" = x
; then
5432 case $cross_compiling:$ac_tool_warned in
5434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5436 ac_tool_warned
=yes ;;
5438 OBJDUMP
=$ac_ct_OBJDUMP
5441 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5447 test -z "$AS" && AS
=as
5453 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5459 test -z "$OBJDUMP" && OBJDUMP
=objdump
5469 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5470 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5475 macro_version
='2.2.6'
5476 macro_revision
='1.3012'
5490 ltmain
="$ac_aux_dir/ltmain.sh"
5492 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5493 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5494 if test "${ac_cv_path_SED+set}" = set; then
5495 $as_echo_n "(cached) " >&6
5497 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5498 for ac_i
in 1 2 3 4 5 6 7; do
5499 ac_script
="$ac_script$as_nl$ac_script"
5501 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5502 $as_unset ac_script || ac_script
=
5503 if test -z "$SED"; then
5504 ac_path_SED_found
=false
5505 # Loop through the user's path and test for each of PROGNAME-LIST
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_prog
in sed gsed
; do
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5514 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5515 # Check for GNU ac_path_SED and select it if it is found.
5516 # Check for GNU $ac_path_SED
5517 case `"$ac_path_SED" --version 2>&1` in
5519 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5522 $as_echo_n 0123456789 >"conftest.in"
5525 cat "conftest.in" "conftest.in" >"conftest.tmp"
5526 mv "conftest.tmp" "conftest.in"
5527 cp "conftest.in" "conftest.nl"
5528 $as_echo '' >> "conftest.nl"
5529 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5530 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5531 ac_count
=`expr $ac_count + 1`
5532 if test $ac_count -gt ${ac_path_SED_max-0}; then
5533 # Best one so far, save it but keep looking for a better one
5534 ac_cv_path_SED
="$ac_path_SED"
5535 ac_path_SED_max
=$ac_count
5537 # 10*(2^10) chars as input seems more than enough
5538 test $ac_count -gt 10 && break
5540 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5543 $ac_path_SED_found && break 3
5548 if test -z "$ac_cv_path_SED"; then
5549 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5550 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5551 { (exit 1); exit 1; }; }
5558 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5559 $as_echo "$ac_cv_path_SED" >&6; }
5560 SED
="$ac_cv_path_SED"
5563 test -z "$SED" && SED
=sed
5564 Xsed
="$SED -e 1s/^X//"
5576 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5577 $as_echo_n "checking for fgrep... " >&6; }
5578 if test "${ac_cv_path_FGREP+set}" = set; then
5579 $as_echo_n "(cached) " >&6
5581 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5582 then ac_cv_path_FGREP
="$GREP -F"
5584 if test -z "$FGREP"; then
5585 ac_path_FGREP_found
=false
5586 # Loop through the user's path and test for each of PROGNAME-LIST
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_prog
in fgrep
; do
5593 for ac_exec_ext
in '' $ac_executable_extensions; do
5594 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5595 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5596 # Check for GNU ac_path_FGREP and select it if it is found.
5597 # Check for GNU $ac_path_FGREP
5598 case `"$ac_path_FGREP" --version 2>&1` in
5600 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5603 $as_echo_n 0123456789 >"conftest.in"
5606 cat "conftest.in" "conftest.in" >"conftest.tmp"
5607 mv "conftest.tmp" "conftest.in"
5608 cp "conftest.in" "conftest.nl"
5609 $as_echo 'FGREP' >> "conftest.nl"
5610 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5611 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5612 ac_count
=`expr $ac_count + 1`
5613 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5614 # Best one so far, save it but keep looking for a better one
5615 ac_cv_path_FGREP
="$ac_path_FGREP"
5616 ac_path_FGREP_max
=$ac_count
5618 # 10*(2^10) chars as input seems more than enough
5619 test $ac_count -gt 10 && break
5621 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5624 $ac_path_FGREP_found && break 3
5629 if test -z "$ac_cv_path_FGREP"; then
5630 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5631 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5632 { (exit 1); exit 1; }; }
5635 ac_cv_path_FGREP
=$FGREP
5640 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5641 $as_echo "$ac_cv_path_FGREP" >&6; }
5642 FGREP
="$ac_cv_path_FGREP"
5645 test -z "$GREP" && GREP
=grep
5665 # Check whether --with-gnu-ld was given.
5666 if test "${with_gnu_ld+set}" = set; then
5667 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5673 if test "$GCC" = yes; then
5674 # Check if gcc -print-prog-name=ld gives a path.
5675 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5676 $as_echo_n "checking for ld used by $CC... " >&6; }
5679 # gcc leaves a trailing carriage return which upsets mingw
5680 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5682 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5685 # Accept absolute paths.
5687 re_direlt
='/[^/][^/]*/\.\./'
5688 # Canonicalize the pathname of ld
5689 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5690 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5691 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5693 test -z "$LD" && LD
="$ac_prog"
5696 # If it fails, then pretend we aren't using GCC.
5700 # If it is relative, then search for the first ld in PATH.
5704 elif test "$with_gnu_ld" = yes; then
5705 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5706 $as_echo_n "checking for GNU ld... " >&6; }
5708 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5709 $as_echo_n "checking for non-GNU ld... " >&6; }
5711 if test "${lt_cv_path_LD+set}" = set; then
5712 $as_echo_n "(cached) " >&6
5714 if test -z "$LD"; then
5715 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5716 for ac_dir
in $PATH; do
5718 test -z "$ac_dir" && ac_dir
=.
5719 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5720 lt_cv_path_LD
="$ac_dir/$ac_prog"
5721 # Check to see if the program is GNU ld. I'd rather use --version,
5722 # but apparently some variants of GNU ld only accept -v.
5723 # Break only if it was the GNU/non-GNU ld that we prefer.
5724 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5725 *GNU
* |
*'with BFD'*)
5726 test "$with_gnu_ld" != no
&& break
5729 test "$with_gnu_ld" != yes && break
5736 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5741 if test -n "$LD"; then
5742 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5743 $as_echo "$LD" >&6; }
5745 { $as_echo "$as_me:$LINENO: result: no" >&5
5746 $as_echo "no" >&6; }
5748 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5749 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5750 { (exit 1); exit 1; }; }
5751 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5752 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5753 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5754 $as_echo_n "(cached) " >&6
5756 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5757 case `$LD -v 2>&1 </dev/null` in
5758 *GNU
* |
*'with BFD'*)
5759 lt_cv_prog_gnu_ld
=yes
5762 lt_cv_prog_gnu_ld
=no
5766 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5767 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5768 with_gnu_ld
=$lt_cv_prog_gnu_ld
5778 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5779 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5780 if test "${lt_cv_path_NM+set}" = set; then
5781 $as_echo_n "(cached) " >&6
5783 if test -n "$NM"; then
5784 # Let the user override the test.
5787 lt_nm_to_check
="${ac_tool_prefix}nm"
5788 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5789 lt_nm_to_check
="$lt_nm_to_check nm"
5791 for lt_tmp_nm
in $lt_nm_to_check; do
5792 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5793 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5795 test -z "$ac_dir" && ac_dir
=.
5796 tmp_nm
="$ac_dir/$lt_tmp_nm"
5797 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5798 # Check to see if the nm accepts a BSD-compat flag.
5799 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5800 # nm: unknown option "B" ignored
5801 # Tru64's nm complains that /dev/null is an invalid object file
5802 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5803 */dev
/null
* |
*'Invalid file or object type'*)
5804 lt_cv_path_NM
="$tmp_nm -B"
5808 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5810 lt_cv_path_NM
="$tmp_nm -p"
5814 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5815 continue # so that we can try to find one that supports BSD flags
5824 : ${lt_cv_path_NM=no}
5827 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5828 $as_echo "$lt_cv_path_NM" >&6; }
5829 if test "$lt_cv_path_NM" != "no"; then
5832 # Didn't find any BSD compatible name lister, look for dumpbin.
5833 if test -n "$ac_tool_prefix"; then
5834 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5836 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5837 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5839 $as_echo_n "checking for $ac_word... " >&6; }
5840 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5841 $as_echo_n "(cached) " >&6
5843 if test -n "$DUMPBIN"; then
5844 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5850 test -z "$as_dir" && as_dir
=.
5851 for ac_exec_ext
in '' $ac_executable_extensions; do
5852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5853 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5854 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5863 DUMPBIN
=$ac_cv_prog_DUMPBIN
5864 if test -n "$DUMPBIN"; then
5865 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5866 $as_echo "$DUMPBIN" >&6; }
5868 { $as_echo "$as_me:$LINENO: result: no" >&5
5869 $as_echo "no" >&6; }
5873 test -n "$DUMPBIN" && break
5876 if test -z "$DUMPBIN"; then
5877 ac_ct_DUMPBIN
=$DUMPBIN
5878 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5880 # Extract the first word of "$ac_prog", so it can be a program name with args.
5881 set dummy
$ac_prog; ac_word
=$2
5882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$ac_ct_DUMPBIN"; then
5888 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir
=.
5895 for ac_exec_ext
in '' $ac_executable_extensions; do
5896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5898 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5908 if test -n "$ac_ct_DUMPBIN"; then
5909 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5910 $as_echo "$ac_ct_DUMPBIN" >&6; }
5912 { $as_echo "$as_me:$LINENO: result: no" >&5
5913 $as_echo "no" >&6; }
5917 test -n "$ac_ct_DUMPBIN" && break
5920 if test "x$ac_ct_DUMPBIN" = x
; then
5923 case $cross_compiling:$ac_tool_warned in
5925 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5927 ac_tool_warned
=yes ;;
5929 DUMPBIN
=$ac_ct_DUMPBIN
5934 if test "$DUMPBIN" != ":"; then
5938 test -z "$NM" && NM
=nm
5945 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5946 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5947 if test "${lt_cv_nm_interface+set}" = set; then
5948 $as_echo_n "(cached) " >&6
5950 lt_cv_nm_interface
="BSD nm"
5951 echo "int some_variable = 0;" > conftest.
$ac_ext
5952 (eval echo "\"\$as_me:5952: $ac_compile\"" >&5)
5953 (eval "$ac_compile" 2>conftest.err
)
5954 cat conftest.err
>&5
5955 (eval echo "\"\$as_me:5955: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5956 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5957 cat conftest.err
>&5
5958 (eval echo "\"\$as_me:5958: output\"" >&5)
5959 cat conftest.out
>&5
5960 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5961 lt_cv_nm_interface
="MS dumpbin"
5965 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5966 $as_echo "$lt_cv_nm_interface" >&6; }
5968 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5969 $as_echo_n "checking whether ln -s works... " >&6; }
5971 if test "$LN_S" = "ln -s"; then
5972 { $as_echo "$as_me:$LINENO: result: yes" >&5
5973 $as_echo "yes" >&6; }
5975 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5976 $as_echo "no, using $LN_S" >&6; }
5979 # find the maximum length of command line arguments
5980 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5981 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5982 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5983 $as_echo_n "(cached) " >&6
5990 # On DJGPP, this test can blow up pretty badly due to problems in libc
5991 # (any single argument exceeding 2000 bytes causes a buffer overrun
5992 # during glob expansion). Even if it were fixed, the result of this
5993 # check would be larger than it should be.
5994 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5998 # Under GNU Hurd, this test is not required because there is
5999 # no limit to the length of command line arguments.
6000 # Libtool will interpret -1 as no limit whatsoever
6001 lt_cv_sys_max_cmd_len
=-1;
6004 cygwin
* | mingw
* | cegcc
*)
6005 # On Win9x/ME, this test blows up -- it succeeds, but takes
6006 # about 5 minutes as the teststring grows exponentially.
6007 # Worse, since 9x/ME are not pre-emptively multitasking,
6008 # you end up with a "frozen" computer, even though with patience
6009 # the test eventually succeeds (with a max line length of 256k).
6010 # Instead, let's just punt: use the minimum linelength reported by
6011 # all of the supported platforms: 8192 (on NT/2K/XP).
6012 lt_cv_sys_max_cmd_len
=8192;
6016 # On AmigaOS with pdksh, this test takes hours, literally.
6017 # So we just punt and use a minimum line length of 8192.
6018 lt_cv_sys_max_cmd_len
=8192;
6021 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6022 # This has been around since 386BSD, at least. Likely further.
6023 if test -x /sbin
/sysctl
; then
6024 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6025 elif test -x /usr
/sbin
/sysctl
; then
6026 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6028 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6030 # And add a safety zone
6031 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6032 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6036 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6037 lt_cv_sys_max_cmd_len
=196608
6041 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6042 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6043 # nice to cause kernel panics so lets avoid the loop below.
6044 # First set a reasonable default.
6045 lt_cv_sys_max_cmd_len
=16384
6047 if test -x /sbin
/sysconfig
; then
6048 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6049 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6054 lt_cv_sys_max_cmd_len
=102400
6056 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6057 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6058 if test -n "$kargmax"; then
6059 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6061 lt_cv_sys_max_cmd_len
=32768
6065 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6066 if test -n "$lt_cv_sys_max_cmd_len"; then
6067 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6068 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6070 # Make teststring a little bigger before we do anything with it.
6071 # a 1K string should be a reasonable start.
6072 for i
in 1 2 3 4 5 6 7 8 ; do
6073 teststring
=$teststring$teststring
6075 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6076 # If test is not a shell built-in, we'll probably end up computing a
6077 # maximum length that is only half of the actual maximum length, but
6079 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6080 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6081 test $i != 17 # 1/2 MB should be enough
6084 teststring
=$teststring$teststring
6086 # Only check the string length outside the loop.
6087 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6089 # Add a significant safety factor because C++ compilers can tack on
6090 # massive amounts of additional arguments before passing them to the
6091 # linker. It appears as though 1/2 is a usable value.
6092 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6099 if test -n $lt_cv_sys_max_cmd_len ; then
6100 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6101 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6103 { $as_echo "$as_me:$LINENO: result: none" >&5
6104 $as_echo "none" >&6; }
6106 max_cmd_len
=$lt_cv_sys_max_cmd_len
6117 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6118 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6119 # Try some XSI features
6122 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6124 && eval 'test $(( 1 + 1 )) -eq 2 \
6125 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6127 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6128 $as_echo "$xsi_shell" >&6; }
6131 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6132 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6134 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6136 && lt_shell_append=yes
6137 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6138 $as_echo "$lt_shell_append" >&6; }
6141 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6151 # test EBCDIC or ASCII
6152 case `echo X|tr X '\101'` in
6153 A) # ASCII based system
6154 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6155 lt_SP2NL='tr \040 \012'
6156 lt_NL2SP='tr \015\012 \040\040'
6158 *) # EBCDIC based system
6159 lt_SP2NL='tr \100 \n'
6160 lt_NL2SP='tr \r\n \100\100'
6172 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6173 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6174 if test "${lt_cv_ld_reload_flag+set}" = set; then
6175 $as_echo_n "(cached
) " >&6
6177 lt_cv_ld_reload_flag='-r'
6179 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6180 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6181 reload_flag=$lt_cv_ld_reload_flag
6182 case $reload_flag in
6184 *) reload_flag=" $reload_flag" ;;
6186 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6189 if test "$GCC" = yes; then
6190 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6192 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6207 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6208 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6209 $as_echo_n "checking
for $ac_word...
" >&6; }
6210 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6211 $as_echo_n "(cached
) " >&6
6213 if test -n "$OBJDUMP"; then
6214 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6224 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6233 OBJDUMP=$ac_cv_prog_OBJDUMP
6234 if test -n "$OBJDUMP"; then
6235 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6236 $as_echo "$OBJDUMP" >&6; }
6238 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6239 $as_echo "no
" >&6; }
6244 if test -z "$ac_cv_prog_OBJDUMP"; then
6245 ac_ct_OBJDUMP=$OBJDUMP
6246 # Extract the first word of "objdump
", so it can be a program name with args.
6247 set dummy objdump; ac_word=$2
6248 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6249 $as_echo_n "checking
for $ac_word...
" >&6; }
6250 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6251 $as_echo_n "(cached
) " >&6
6253 if test -n "$ac_ct_OBJDUMP"; then
6254 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir=.
6261 for ac_exec_ext in '' $ac_executable_extensions; do
6262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6264 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6274 if test -n "$ac_ct_OBJDUMP"; then
6275 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6276 $as_echo "$ac_ct_OBJDUMP" >&6; }
6278 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6279 $as_echo "no
" >&6; }
6282 if test "x
$ac_ct_OBJDUMP" = x; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6288 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6289 ac_tool_warned=yes ;;
6291 OBJDUMP=$ac_ct_OBJDUMP
6294 OBJDUMP="$ac_cv_prog_OBJDUMP"
6297 test -z "$OBJDUMP" && OBJDUMP=objdump
6304 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6305 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6306 if test "${lt_cv_deplibs_check_method+set}" = set; then
6307 $as_echo_n "(cached
) " >&6
6309 lt_cv_file_magic_cmd='$MAGIC_CMD'
6310 lt_cv_file_magic_test_file=
6311 lt_cv_deplibs_check_method='unknown'
6312 # Need to set the preceding variable on all platforms that support
6313 # interlibrary dependencies.
6314 # 'none' -- dependencies not supported.
6315 # `unknown' -- same as none, but documents that we really don't know.
6316 # 'pass_all' -- all dependencies passed with no checks.
6317 # 'test_compile' -- check by making test program.
6318 # 'file_magic [[regex]]' -- check by looking for files in library path
6319 # which responds to the $file_magic_cmd with a given extended regex.
6320 # If you have `file' or equivalent on your system and you're not sure
6321 # whether `pass_all' will *always* work, you probably want this one.
6325 lt_cv_deplibs_check_method=pass_all
6329 lt_cv_deplibs_check_method=pass_all
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6334 lt_cv_file_magic_cmd='/usr/bin/file -L'
6335 lt_cv_file_magic_test_file=/shlib/libc.so
6339 # func_win32_libid is a shell function defined in ltmain.sh
6340 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6341 lt_cv_file_magic_cmd='func_win32_libid'
6345 # Base MSYS/MinGW do not provide the 'file' command needed by
6346 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6347 # unless we find 'file', for example because we are cross-compiling.
6348 if ( file / ) >/dev/null 2>&1; then
6349 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6350 lt_cv_file_magic_cmd='func_win32_libid'
6352 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6353 lt_cv_file_magic_cmd='$OBJDUMP -f'
6358 # use the weaker test based on 'objdump'. See mingw*.
6359 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6360 lt_cv_file_magic_cmd='$OBJDUMP -f'
6363 darwin* | rhapsody*)
6364 lt_cv_deplibs_check_method=pass_all
6367 freebsd* | dragonfly*)
6368 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6371 # Not sure whether the presence of OpenBSD here was a mistake.
6372 # Let's accept both of them until this is cleared up.
6373 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6374 lt_cv_file_magic_cmd=/usr/bin/file
6375 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6379 lt_cv_deplibs_check_method=pass_all
6384 lt_cv_deplibs_check_method=pass_all
6387 hpux10.20* | hpux11*)
6388 lt_cv_file_magic_cmd=/usr/bin/file
6391 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6392 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6395 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6396 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6399 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6400 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6406 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6410 irix5* | irix6* | nonstopux*)
6412 *-32|*"-32 ") libmagic=32-bit;;
6413 *-n32|*"-n32 ") libmagic=N32;;
6414 *-64|*"-64 ") libmagic=64-bit;;
6415 *) libmagic=never-match;;
6417 lt_cv_deplibs_check_method=pass_all
6420 # This must be Linux ELF.
6421 linux* | k*bsd*-gnu)
6422 lt_cv_deplibs_check_method=pass_all
6426 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6434 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6435 lt_cv_file_magic_cmd=/usr/bin/file
6436 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6440 lt_cv_deplibs_check_method=pass_all
6444 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6445 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6447 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6451 osf3* | osf4* | osf5*)
6452 lt_cv_deplibs_check_method=pass_all
6456 lt_cv_deplibs_check_method=pass_all
6460 lt_cv_deplibs_check_method=pass_all
6463 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6464 lt_cv_deplibs_check_method=pass_all
6468 case $host_vendor in
6470 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]'
6471 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6474 lt_cv_deplibs_check_method=pass_all
6477 lt_cv_file_magic_cmd='/bin/file'
6478 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6481 lt_cv_file_magic_cmd='/bin/file'
6482 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6483 lt_cv_file_magic_test_file=/lib/libc.so
6486 lt_cv_deplibs_check_method=pass_all
6489 lt_cv_deplibs_check_method=pass_all
6495 lt_cv_deplibs_check_method=pass_all
6500 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6501 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6502 file_magic_cmd=$lt_cv_file_magic_cmd
6503 deplibs_check_method=$lt_cv_deplibs_check_method
6504 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6517 if test -n "$ac_tool_prefix"; then
6518 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6519 set dummy ${ac_tool_prefix}ar; ac_word=$2
6520 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6521 $as_echo_n "checking
for $ac_word...
" >&6; }
6522 if test "${ac_cv_prog_AR+set}" = set; then
6523 $as_echo_n "(cached
) " >&6
6525 if test -n "$AR"; then
6526 ac_cv_prog_AR="$AR" # Let the user override the test.
6528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6532 test -z "$as_dir" && as_dir=.
6533 for ac_exec_ext in '' $ac_executable_extensions; do
6534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6535 ac_cv_prog_AR="${ac_tool_prefix}ar"
6536 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6546 if test -n "$AR"; then
6547 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
6548 $as_echo "$AR" >&6; }
6550 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6551 $as_echo "no
" >&6; }
6556 if test -z "$ac_cv_prog_AR"; then
6558 # Extract the first word of "ar", so it can be a program name with args.
6559 set dummy ar; ac_word=$2
6560 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6561 $as_echo_n "checking
for $ac_word...
" >&6; }
6562 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6563 $as_echo_n "(cached
) " >&6
6565 if test -n "$ac_ct_AR"; then
6566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6575 ac_cv_prog_ac_ct_AR="ar"
6576 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6585 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6586 if test -n "$ac_ct_AR"; then
6587 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6588 $as_echo "$ac_ct_AR" >&6; }
6590 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6591 $as_echo "no
" >&6; }
6594 if test "x
$ac_ct_AR" = x; then
6597 case $cross_compiling:$ac_tool_warned in
6599 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6600 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6601 ac_tool_warned=yes ;;
6609 test -z "$AR" && AR=ar
6610 test -z "$AR_FLAGS" && AR_FLAGS=cru
6622 if test -n "$ac_tool_prefix"; then
6623 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6624 set dummy ${ac_tool_prefix}strip; ac_word=$2
6625 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6626 $as_echo_n "checking
for $ac_word...
" >&6; }
6627 if test "${ac_cv_prog_STRIP+set}" = set; then
6628 $as_echo_n "(cached
) " >&6
6630 if test -n "$STRIP"; then
6631 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637 test -z "$as_dir" && as_dir=.
6638 for ac_exec_ext in '' $ac_executable_extensions; do
6639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6640 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6641 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6650 STRIP=$ac_cv_prog_STRIP
6651 if test -n "$STRIP"; then
6652 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
6653 $as_echo "$STRIP" >&6; }
6655 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6656 $as_echo "no
" >&6; }
6661 if test -z "$ac_cv_prog_STRIP"; then
6663 # Extract the first word of "strip
", so it can be a program name with args.
6664 set dummy strip; ac_word=$2
6665 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6666 $as_echo_n "checking
for $ac_word...
" >&6; }
6667 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6668 $as_echo_n "(cached
) " >&6
6670 if test -n "$ac_ct_STRIP"; then
6671 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 test -z "$as_dir" && as_dir=.
6678 for ac_exec_ext in '' $ac_executable_extensions; do
6679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6680 ac_cv_prog_ac_ct_STRIP="strip
"
6681 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6690 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6691 if test -n "$ac_ct_STRIP"; then
6692 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6693 $as_echo "$ac_ct_STRIP" >&6; }
6695 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6696 $as_echo "no
" >&6; }
6699 if test "x
$ac_ct_STRIP" = x; then
6702 case $cross_compiling:$ac_tool_warned in
6704 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6705 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6706 ac_tool_warned=yes ;;
6711 STRIP="$ac_cv_prog_STRIP"
6714 test -z "$STRIP" && STRIP=:
6721 if test -n "$ac_tool_prefix"; then
6722 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6723 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6724 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6725 $as_echo_n "checking
for $ac_word...
" >&6; }
6726 if test "${ac_cv_prog_RANLIB+set}" = set; then
6727 $as_echo_n "(cached
) " >&6
6729 if test -n "$RANLIB"; then
6730 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736 test -z "$as_dir" && as_dir=.
6737 for ac_exec_ext in '' $ac_executable_extensions; do
6738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6740 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6749 RANLIB=$ac_cv_prog_RANLIB
6750 if test -n "$RANLIB"; then
6751 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
6752 $as_echo "$RANLIB" >&6; }
6754 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6755 $as_echo "no
" >&6; }
6760 if test -z "$ac_cv_prog_RANLIB"; then
6761 ac_ct_RANLIB=$RANLIB
6762 # Extract the first word of "ranlib
", so it can be a program name with args.
6763 set dummy ranlib; ac_word=$2
6764 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6765 $as_echo_n "checking
for $ac_word...
" >&6; }
6766 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6767 $as_echo_n "(cached
) " >&6
6769 if test -n "$ac_ct_RANLIB"; then
6770 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 test -z "$as_dir" && as_dir=.
6777 for ac_exec_ext in '' $ac_executable_extensions; do
6778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6779 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6780 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6789 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6790 if test -n "$ac_ct_RANLIB"; then
6791 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6792 $as_echo "$ac_ct_RANLIB" >&6; }
6794 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6795 $as_echo "no
" >&6; }
6798 if test "x
$ac_ct_RANLIB" = x; then
6801 case $cross_compiling:$ac_tool_warned in
6803 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6804 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6805 ac_tool_warned=yes ;;
6807 RANLIB=$ac_ct_RANLIB
6810 RANLIB="$ac_cv_prog_RANLIB"
6813 test -z "$RANLIB" && RANLIB=:
6820 # Determine commands to create old-style static archives.
6821 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6822 old_postinstall_cmds='chmod 644 $oldlib'
6823 old_postuninstall_cmds=
6825 if test -n "$RANLIB"; then
6828 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6831 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6834 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6870 # If no C compiler was specified, use CC.
6873 # If no C compiler flags were specified, use CFLAGS.
6874 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6876 # Allow CC to be a program name with arguments.
6880 # Check for command to grab the raw symbol name followed by C symbol from nm.
6881 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
6882 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6883 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6884 $as_echo_n "(cached
) " >&6
6887 # These are sane defaults that work on at least a few old systems.
6888 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6890 # Character class describing NM global symbol codes.
6891 symcode='[BCDEGRST]'
6893 # Regexp to match symbols that can be accessed directly from C.
6894 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6896 # Define system-specific variables.
6901 cygwin* | mingw* | pw32* | cegcc*)
6902 symcode='[ABCDGISTW]'
6905 if test "$host_cpu" = ia64; then
6906 symcode='[ABCDEGRST]'
6910 symcode='[BCDEGRST]'
6913 symcode='[BCDEGQRST]'
6924 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6932 # If we're using GNU nm, then use its standard symbol codes.
6933 case `$NM -V 2>&1` in
6934 *GNU* | *'with BFD'*)
6935 symcode='[ABCDGIRSTW]' ;;
6938 # Transform an extracted symbol line into a proper C declaration.
6939 # Some systems (esp. on ia64) link data and code symbols differently,
6940 # so use this general approach.
6941 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6943 # Transform an extracted symbol line into symbol name and symbol address
6944 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6945 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6947 # Handle CRLF in mingw tool chain
6951 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6955 # Try without a prefix underscore, then with it.
6956 for ac_symprfx in "" "_
"; do
6958 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6959 symxfrm="\\1 $ac_symprfx\\2 \\2"
6961 # Write the raw and C identifiers.
6962 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6963 # Fake it for dumpbin and say T for any non-static function
6964 # and D for any global variable.
6965 # Also find C++ and __fastcall symbols from MSVC++,
6966 # which start with @ or ?.
6967 lt_cv_sys_global_symbol_pipe="$AWK '"\
6968 " {last_section=section; section=\$ 3};"\
6969 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6970 " \$ 0!~/External *\|/{next};"\
6971 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6972 " {if(hide[section]) next};"\
6973 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6974 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6975 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6976 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6977 " ' prfx
=^
$ac_symprfx"
6979 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6982 # Check to see that the pipe works correctly.
6986 cat > conftest.$ac_ext <<_LT_EOF
6991 void nm_test_func(void);
6992 void nm_test_func(void){}
6996 int main(){nm_test_var='a';nm_test_func();return(0);}
6999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7000 (eval $ac_compile) 2>&5
7002 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7003 (exit $ac_status); }; then
7004 # Now try to grab the symbols.
7006 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7007 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7009 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7010 (exit $ac_status); } && test -s "$nlist"; then
7011 # Try sorting and uniquifying the output.
7012 if sort "$nlist" | uniq > "$nlist"T; then
7013 mv -f "$nlist"T "$nlist"
7018 # Make sure that we snagged all the symbols we need.
7019 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7020 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7021 cat <<_LT_EOF > conftest.$ac_ext
7027 # Now generate the symbol file.
7028 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7030 cat <<_LT_EOF >> conftest.$ac_ext
7032 /* The mapping between symbol names and symbols. */
7037 lt__PROGRAM__LTX_preloaded_symbols[] =
7039 { "@PROGRAM@
", (void *) 0 },
7041 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7042 cat <<\_LT_EOF >> conftest.$ac_ext
7046 /* This works around a problem in FreeBSD linker */
7047 #ifdef FREEBSD_WORKAROUND
7048 static const void *lt_preloaded_setup() {
7049 return lt__PROGRAM__LTX_preloaded_symbols;
7057 # Now try linking the two files.
7058 mv conftest.$ac_objext conftstm.$ac_objext
7059 lt_save_LIBS="$LIBS"
7060 lt_save_CFLAGS="$CFLAGS"
7061 LIBS="conftstm.
$ac_objext"
7062 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7064 (eval $ac_link) 2>&5
7066 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7067 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7070 LIBS="$lt_save_LIBS"
7071 CFLAGS="$lt_save_CFLAGS"
7073 echo "cannot
find nm_test_func
in $nlist" >&5
7076 echo "cannot
find nm_test_var
in $nlist" >&5
7079 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7082 echo "$progname: failed program was
:" >&5
7083 cat conftest.$ac_ext >&5
7085 rm -rf conftest* conftst*
7087 # Do not use the global_symbol_pipe unless it works.
7088 if test "$pipe_works" = yes; then
7091 lt_cv_sys_global_symbol_pipe=
7097 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7098 lt_cv_sys_global_symbol_to_cdecl=
7100 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7101 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
7102 $as_echo "failed
" >&6; }
7104 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
7105 $as_echo "ok
" >&6; }
7129 # Check whether --enable-libtool-lock was given.
7130 if test "${enable_libtool_lock+set}" = set; then
7131 enableval=$enable_libtool_lock;
7134 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7136 # Some flags need to be propagated to the compiler or linker for good
7140 # Find out which ABI we are using.
7141 echo 'int i;' > conftest.$ac_ext
7142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7143 (eval $ac_compile) 2>&5
7145 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7146 (exit $ac_status); }; then
7147 case `/usr/bin/file conftest.$ac_objext` in
7159 # Find out which ABI we are using.
7160 echo '#line 7160 "configure
"' > conftest.$ac_ext
7161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7162 (eval $ac_compile) 2>&5
7164 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7165 (exit $ac_status); }; then
7166 if test "$lt_cv_prog_gnu_ld" = yes; then
7167 case `/usr/bin/file conftest.$ac_objext` in
7169 LD="${LD-ld} -melf32bsmip"
7172 LD="${LD-ld} -melf32bmipn32"
7175 LD="${LD-ld} -melf64bmip"
7179 case `/usr/bin/file conftest.$ac_objext` in
7195 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7196 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7197 # Find out which ABI we are using.
7198 echo 'int i;' > conftest.$ac_ext
7199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7200 (eval $ac_compile) 2>&5
7202 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7203 (exit $ac_status); }; then
7204 case `/usr/bin/file conftest.o` in
7207 x86_64-*kfreebsd*-gnu)
7208 LD="${LD-ld} -m elf_i386_fbsd
"
7211 LD="${LD-ld} -m elf_i386
"
7213 ppc64-*linux*|powerpc64-*linux*)
7214 LD="${LD-ld} -m elf32ppclinux
"
7217 LD="${LD-ld} -m elf_s390
"
7220 LD="${LD-ld} -m elf32_sparc
"
7226 x86_64-*kfreebsd*-gnu)
7227 LD="${LD-ld} -m elf_x86_64_fbsd
"
7230 LD="${LD-ld} -m elf_x86_64
"
7232 ppc*-*linux*|powerpc*-*linux*)
7233 LD="${LD-ld} -m elf64ppc
"
7235 s390*-*linux*|s390*-*tpf*)
7236 LD="${LD-ld} -m elf64_s390
"
7239 LD="${LD-ld} -m elf64_sparc
"
7249 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7250 SAVE_CFLAGS="$CFLAGS"
7251 CFLAGS="$CFLAGS -belf"
7252 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7253 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7254 if test "${lt_cv_cc_needs_belf+set}" = set; then
7255 $as_echo_n "(cached
) " >&6
7258 ac_cpp='$CPP $CPPFLAGS'
7259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7263 cat >conftest.$ac_ext <<_ACEOF
7266 cat confdefs.h >>conftest.$ac_ext
7267 cat >>conftest.$ac_ext <<_ACEOF
7268 /* end confdefs.h. */
7278 rm -f conftest.$ac_objext conftest$ac_exeext
7279 if { (ac_try="$ac_link"
7281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7282 *) ac_try_echo=$ac_try;;
7284 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7285 $as_echo "$ac_try_echo") >&5
7286 (eval "$ac_link") 2>conftest.er1
7288 grep -v '^ *+' conftest.er1 >conftest.err
7290 cat conftest.err >&5
7291 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7292 (exit $ac_status); } && {
7293 test -z "$ac_c_werror_flag" ||
7294 test ! -s conftest.err
7295 } && test -s conftest$ac_exeext && {
7296 test "$cross_compiling" = yes ||
7297 $as_test_x conftest$ac_exeext
7299 lt_cv_cc_needs_belf=yes
7301 $as_echo "$as_me: failed program was
:" >&5
7302 sed 's/^/| /' conftest.$ac_ext >&5
7304 lt_cv_cc_needs_belf=no
7307 rm -rf conftest.dSYM
7308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7309 conftest$ac_exeext conftest.$ac_ext
7311 ac_cpp='$CPP $CPPFLAGS'
7312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7317 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7318 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7319 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7320 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7321 CFLAGS="$SAVE_CFLAGS"
7325 # Find out which ABI we are using.
7326 echo 'int i;' > conftest.$ac_ext
7327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7328 (eval $ac_compile) 2>&5
7330 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7331 (exit $ac_status); }; then
7332 case `/usr/bin/file conftest.o` in
7334 case $lt_cv_prog_gnu_ld in
7335 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7337 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7349 need_locks="$enable_libtool_lock"
7353 rhapsody* | darwin*)
7354 if test -n "$ac_tool_prefix"; then
7355 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7356 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7357 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7358 $as_echo_n "checking
for $ac_word...
" >&6; }
7359 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7360 $as_echo_n "(cached
) " >&6
7362 if test -n "$DSYMUTIL"; then
7363 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7369 test -z "$as_dir" && as_dir=.
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7372 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7373 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7382 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7383 if test -n "$DSYMUTIL"; then
7384 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7385 $as_echo "$DSYMUTIL" >&6; }
7387 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7388 $as_echo "no
" >&6; }
7393 if test -z "$ac_cv_prog_DSYMUTIL"; then
7394 ac_ct_DSYMUTIL=$DSYMUTIL
7395 # Extract the first word of "dsymutil
", so it can be a program name with args.
7396 set dummy dsymutil; ac_word=$2
7397 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7398 $as_echo_n "checking
for $ac_word...
" >&6; }
7399 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7400 $as_echo_n "(cached
) " >&6
7402 if test -n "$ac_ct_DSYMUTIL"; then
7403 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7409 test -z "$as_dir" && as_dir=.
7410 for ac_exec_ext in '' $ac_executable_extensions; do
7411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7412 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7413 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7422 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7423 if test -n "$ac_ct_DSYMUTIL"; then
7424 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7425 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7427 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7428 $as_echo "no
" >&6; }
7431 if test "x
$ac_ct_DSYMUTIL" = x; then
7434 case $cross_compiling:$ac_tool_warned in
7436 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7437 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7438 ac_tool_warned=yes ;;
7440 DSYMUTIL=$ac_ct_DSYMUTIL
7443 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7446 if test -n "$ac_tool_prefix"; then
7447 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7448 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7449 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7450 $as_echo_n "checking
for $ac_word...
" >&6; }
7451 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7452 $as_echo_n "(cached
) " >&6
7454 if test -n "$NMEDIT"; then
7455 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7461 test -z "$as_dir" && as_dir=.
7462 for ac_exec_ext in '' $ac_executable_extensions; do
7463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7464 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7465 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7474 NMEDIT=$ac_cv_prog_NMEDIT
7475 if test -n "$NMEDIT"; then
7476 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7477 $as_echo "$NMEDIT" >&6; }
7479 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7480 $as_echo "no
" >&6; }
7485 if test -z "$ac_cv_prog_NMEDIT"; then
7486 ac_ct_NMEDIT=$NMEDIT
7487 # Extract the first word of "nmedit
", so it can be a program name with args.
7488 set dummy nmedit; ac_word=$2
7489 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7490 $as_echo_n "checking
for $ac_word...
" >&6; }
7491 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7492 $as_echo_n "(cached
) " >&6
7494 if test -n "$ac_ct_NMEDIT"; then
7495 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7501 test -z "$as_dir" && as_dir=.
7502 for ac_exec_ext in '' $ac_executable_extensions; do
7503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7504 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7505 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7514 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7515 if test -n "$ac_ct_NMEDIT"; then
7516 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7517 $as_echo "$ac_ct_NMEDIT" >&6; }
7519 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7520 $as_echo "no
" >&6; }
7523 if test "x
$ac_ct_NMEDIT" = x; then
7526 case $cross_compiling:$ac_tool_warned in
7528 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7529 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7530 ac_tool_warned=yes ;;
7532 NMEDIT=$ac_ct_NMEDIT
7535 NMEDIT="$ac_cv_prog_NMEDIT"
7538 if test -n "$ac_tool_prefix"; then
7539 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7540 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7541 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7542 $as_echo_n "checking
for $ac_word...
" >&6; }
7543 if test "${ac_cv_prog_LIPO+set}" = set; then
7544 $as_echo_n "(cached
) " >&6
7546 if test -n "$LIPO"; then
7547 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7556 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7557 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7566 LIPO=$ac_cv_prog_LIPO
7567 if test -n "$LIPO"; then
7568 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
7569 $as_echo "$LIPO" >&6; }
7571 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7572 $as_echo "no
" >&6; }
7577 if test -z "$ac_cv_prog_LIPO"; then
7579 # Extract the first word of "lipo
", so it can be a program name with args.
7580 set dummy lipo; ac_word=$2
7581 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7582 $as_echo_n "checking
for $ac_word...
" >&6; }
7583 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7584 $as_echo_n "(cached
) " >&6
7586 if test -n "$ac_ct_LIPO"; then
7587 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7596 ac_cv_prog_ac_ct_LIPO="lipo
"
7597 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7606 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7607 if test -n "$ac_ct_LIPO"; then
7608 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7609 $as_echo "$ac_ct_LIPO" >&6; }
7611 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7612 $as_echo "no
" >&6; }
7615 if test "x
$ac_ct_LIPO" = x; then
7618 case $cross_compiling:$ac_tool_warned in
7620 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7621 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7622 ac_tool_warned=yes ;;
7627 LIPO="$ac_cv_prog_LIPO"
7630 if test -n "$ac_tool_prefix"; then
7631 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7632 set dummy ${ac_tool_prefix}otool; ac_word=$2
7633 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7634 $as_echo_n "checking
for $ac_word...
" >&6; }
7635 if test "${ac_cv_prog_OTOOL+set}" = set; then
7636 $as_echo_n "(cached
) " >&6
7638 if test -n "$OTOOL"; then
7639 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 test -z "$as_dir" && as_dir=.
7646 for ac_exec_ext in '' $ac_executable_extensions; do
7647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7648 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7649 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7658 OTOOL=$ac_cv_prog_OTOOL
7659 if test -n "$OTOOL"; then
7660 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
7661 $as_echo "$OTOOL" >&6; }
7663 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7664 $as_echo "no
" >&6; }
7669 if test -z "$ac_cv_prog_OTOOL"; then
7671 # Extract the first word of "otool
", so it can be a program name with args.
7672 set dummy otool; ac_word=$2
7673 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7674 $as_echo_n "checking
for $ac_word...
" >&6; }
7675 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7676 $as_echo_n "(cached
) " >&6
7678 if test -n "$ac_ct_OTOOL"; then
7679 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 test -z "$as_dir" && as_dir=.
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7688 ac_cv_prog_ac_ct_OTOOL="otool
"
7689 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7698 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7699 if test -n "$ac_ct_OTOOL"; then
7700 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7701 $as_echo "$ac_ct_OTOOL" >&6; }
7703 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7704 $as_echo "no
" >&6; }
7707 if test "x
$ac_ct_OTOOL" = x; then
7710 case $cross_compiling:$ac_tool_warned in
7712 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7713 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7714 ac_tool_warned=yes ;;
7719 OTOOL="$ac_cv_prog_OTOOL"
7722 if test -n "$ac_tool_prefix"; then
7723 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7724 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7725 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7726 $as_echo_n "checking
for $ac_word...
" >&6; }
7727 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7728 $as_echo_n "(cached
) " >&6
7730 if test -n "$OTOOL64"; then
7731 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 test -z "$as_dir" && as_dir=.
7738 for ac_exec_ext in '' $ac_executable_extensions; do
7739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7740 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7741 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7750 OTOOL64=$ac_cv_prog_OTOOL64
7751 if test -n "$OTOOL64"; then
7752 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7753 $as_echo "$OTOOL64" >&6; }
7755 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7756 $as_echo "no
" >&6; }
7761 if test -z "$ac_cv_prog_OTOOL64"; then
7762 ac_ct_OTOOL64=$OTOOL64
7763 # Extract the first word of "otool64
", so it can be a program name with args.
7764 set dummy otool64; ac_word=$2
7765 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$ac_ct_OTOOL64"; then
7771 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7781 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7791 if test -n "$ac_ct_OTOOL64"; then
7792 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7793 $as_echo "$ac_ct_OTOOL64" >&6; }
7795 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7799 if test "x
$ac_ct_OTOOL64" = x; then
7802 case $cross_compiling:$ac_tool_warned in
7804 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7805 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7806 ac_tool_warned=yes ;;
7808 OTOOL64=$ac_ct_OTOOL64
7811 OTOOL64="$ac_cv_prog_OTOOL64"
7840 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7841 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7842 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7843 $as_echo_n "(cached
) " >&6
7845 lt_cv_apple_cc_single_mod=no
7846 if test -z "${LT_MULTI_MODULE}"; then
7847 # By default we will add the -single_module flag. You can override
7848 # by either setting the environment variable LT_MULTI_MODULE
7849 # non-empty at configure time, or by adding -multi_module to the
7851 rm -rf libconftest.dylib*
7852 echo "int foo
(void
){return 1;}" > conftest.c
7853 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7854 -dynamiclib -Wl,-single_module conftest.c
" >&5
7855 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7856 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7858 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7859 lt_cv_apple_cc_single_mod=yes
7861 cat conftest.err >&5
7863 rm -rf libconftest.dylib*
7867 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
7868 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7869 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
7870 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7871 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7872 $as_echo_n "(cached
) " >&6
7874 lt_cv_ld_exported_symbols_list=no
7875 save_LDFLAGS=$LDFLAGS
7876 echo "_main
" > conftest.sym
7877 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7878 cat >conftest.$ac_ext <<_ACEOF
7881 cat confdefs.h >>conftest.$ac_ext
7882 cat >>conftest.$ac_ext <<_ACEOF
7883 /* end confdefs.h. */
7893 rm -f conftest.$ac_objext conftest$ac_exeext
7894 if { (ac_try="$ac_link"
7896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7897 *) ac_try_echo=$ac_try;;
7899 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7900 $as_echo "$ac_try_echo") >&5
7901 (eval "$ac_link") 2>conftest.er1
7903 grep -v '^ *+' conftest.er1 >conftest.err
7905 cat conftest.err >&5
7906 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7907 (exit $ac_status); } && {
7908 test -z "$ac_c_werror_flag" ||
7909 test ! -s conftest.err
7910 } && test -s conftest$ac_exeext && {
7911 test "$cross_compiling" = yes ||
7912 $as_test_x conftest$ac_exeext
7914 lt_cv_ld_exported_symbols_list=yes
7916 $as_echo "$as_me: failed program was
:" >&5
7917 sed 's/^/| /' conftest.$ac_ext >&5
7919 lt_cv_ld_exported_symbols_list=no
7922 rm -rf conftest.dSYM
7923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7924 conftest$ac_exeext conftest.$ac_ext
7925 LDFLAGS="$save_LDFLAGS"
7928 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
7929 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7931 rhapsody* | darwin1.[012])
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7934 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7935 darwin*) # darwin 5.x on
7936 # if running on 10.5 or later, the deployment target defaults
7937 # to the OS version, if on x86, and 10.4, the deployment
7938 # target defaults to 10.4. Don't you love it?
7939 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7940 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7941 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7943 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7945 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7949 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7950 _lt_dar_single_mod='$single_module'
7952 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7953 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7955 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7957 if test "$DSYMUTIL" != ":"; then
7958 _lt_dsymutil='~$DSYMUTIL $lib || :'
7966 for ac_header in dlfcn.h
7968 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
7969 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
7970 $as_echo_n "checking
for $ac_header...
" >&6; }
7971 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
7972 $as_echo_n "(cached
) " >&6
7974 cat >conftest.$ac_ext <<_ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7980 $ac_includes_default
7982 #include <$ac_header>
7984 rm -f conftest.$ac_objext
7985 if { (ac_try="$ac_compile"
7987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7988 *) ac_try_echo=$ac_try;;
7990 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7991 $as_echo "$ac_try_echo") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7994 grep -v '^ *+' conftest.er1 >conftest.err
7996 cat conftest.err >&5
7997 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.$ac_objext; then
8002 eval "$as_ac_Header=yes"
8004 $as_echo "$as_me: failed program was
:" >&5
8005 sed 's/^/| /' conftest.$ac_ext >&5
8007 eval "$as_ac_Header=no
"
8010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8012 ac_res=`eval 'as_val=${'$as_ac_Header'}
8013 $as_echo "$as_val"'`
8014 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8015 $as_echo "$ac_res" >&6; }
8016 as_val=`eval 'as_val=${'$as_ac_Header'}
8017 $as_echo "$as_val"'`
8018 if test "x
$as_val" = x""yes; then
8019 cat >>confdefs.h <<_ACEOF
8020 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8037 # Check whether --enable-shared was given.
8038 if test "${enable_shared+set}" = set; then
8039 enableval=$enable_shared; p=${PACKAGE-default}
8041 yes) enable_shared=yes ;;
8042 no) enable_shared=no ;;
8045 # Look at the argument we got. We use all the common list separators.
8046 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8047 for pkg in $enableval; do
8049 if test "X
$pkg" = "X
$p"; then
8068 # Check whether --enable-static was given.
8069 if test "${enable_static+set}" = set; then
8070 enableval=$enable_static; p=${PACKAGE-default}
8072 yes) enable_static=yes ;;
8073 no) enable_static=no ;;
8076 # Look at the argument we got. We use all the common list separators.
8077 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8078 for pkg in $enableval; do
8080 if test "X
$pkg" = "X
$p"; then
8100 # Check whether --with-pic was given.
8101 if test "${with_pic+set}" = set; then
8102 withval=$with_pic; pic_mode="$withval"
8108 test -z "$pic_mode" && pic_mode=default
8116 # Check whether --enable-fast-install was given.
8117 if test "${enable_fast_install+set}" = set; then
8118 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 yes) enable_fast_install=yes ;;
8121 no) enable_fast_install=no ;;
8123 enable_fast_install=no
8124 # Look at the argument we got. We use all the common list separators.
8125 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8126 for pkg in $enableval; do
8128 if test "X
$pkg" = "X
$p"; then
8129 enable_fast_install=yes
8136 enable_fast_install=yes
8149 # This can be used to rebuild libtool when needed
8150 LIBTOOL_DEPS="$ltmain"
8152 # Always use our own libtool.
8153 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8179 test -z "$LN_S" && LN_S="ln -s"
8194 if test -n "${ZSH_VERSION+set}" ; then
8195 setopt NO_GLOB_SUBST
8198 { $as_echo "$as_me:$LINENO: checking
for objdir
" >&5
8199 $as_echo_n "checking
for objdir...
" >&6; }
8200 if test "${lt_cv_objdir+set}" = set; then
8201 $as_echo_n "(cached
) " >&6
8203 rm -f .libs 2>/dev/null
8204 mkdir .libs 2>/dev/null
8205 if test -d .libs; then
8208 # MS-DOS does not allow filenames that begin with a dot.
8211 rmdir .libs 2>/dev/null
8213 { $as_echo "$as_me:$LINENO: result
: $lt_cv_objdir" >&5
8214 $as_echo "$lt_cv_objdir" >&6; }
8215 objdir=$lt_cv_objdir
8221 cat >>confdefs.h <<_ACEOF
8222 #define LT_OBJDIR "$lt_cv_objdir/"
8243 # AIX sometimes has problems with the GCC collect2 program. For some
8244 # reason, if we set the COLLECT_NAMES environment variable, the problems
8245 # vanish in a puff of smoke.
8246 if test "X
${COLLECT_NAMES+set}" != Xset; then
8248 export COLLECT_NAMES
8253 # Sed substitution that helps us do robust quoting. It backslashifies
8254 # metacharacters that are still active within double-quoted strings.
8255 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8257 # Same as above, but do not quote variable references.
8258 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
8260 # Sed substitution to delay expansion of an escaped shell variable in a
8261 # double_quote_subst'ed string.
8262 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8264 # Sed substitution to delay expansion of an escaped single quote.
8265 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8267 # Sed substitution to avoid accidental globbing in evaled expressions
8268 no_glob_subst
='s/\*/\\\*/g'
8272 can_build_shared
=yes
8274 # All known linkers require a `.a' archive for static linking (except MSVC,
8275 # which needs '.lib').
8278 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8281 old_CFLAGS
="$CFLAGS"
8283 # Set sane defaults for various variables
8284 test -z "$CC" && CC
=cc
8285 test -z "$LTCC" && LTCC
=$CC
8286 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8287 test -z "$LD" && LD
=ld
8288 test -z "$ac_objext" && ac_objext
=o
8290 for cc_temp
in $compiler""; do
8292 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8293 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8298 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8301 # Only perform the check for file, if the check method requires it
8302 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8303 case $deplibs_check_method in
8305 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8306 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8307 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8308 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8309 $as_echo_n "(cached) " >&6
8313 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8316 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8317 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8318 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8319 for ac_dir
in $ac_dummy; do
8321 test -z "$ac_dir" && ac_dir
=.
8322 if test -f $ac_dir/${ac_tool_prefix}file; then
8323 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8324 if test -n "$file_magic_test_file"; then
8325 case $deplibs_check_method in
8327 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8328 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8329 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8330 $EGREP "$file_magic_regex" > /dev
/null
; then
8335 *** Warning: the command libtool uses to detect shared libraries,
8336 *** $file_magic_cmd, produces output that libtool cannot recognize.
8337 *** The result is that libtool may fail to recognize shared libraries
8338 *** as such. This will affect the creation of libtool libraries that
8339 *** depend on shared libraries, but programs linked with such libtool
8340 *** libraries will work regardless of this problem. Nevertheless, you
8341 *** may want to report the problem to your system manager and/or to
8342 *** bug-libtool@gnu.org
8352 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8357 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8358 if test -n "$MAGIC_CMD"; then
8359 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8360 $as_echo "$MAGIC_CMD" >&6; }
8362 { $as_echo "$as_me:$LINENO: result: no" >&5
8363 $as_echo "no" >&6; }
8370 if test -z "$lt_cv_path_MAGIC_CMD"; then
8371 if test -n "$ac_tool_prefix"; then
8372 { $as_echo "$as_me:$LINENO: checking for file" >&5
8373 $as_echo_n "checking for file... " >&6; }
8374 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8375 $as_echo_n "(cached) " >&6
8379 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8382 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8383 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8384 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8385 for ac_dir
in $ac_dummy; do
8387 test -z "$ac_dir" && ac_dir
=.
8388 if test -f $ac_dir/file; then
8389 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8390 if test -n "$file_magic_test_file"; then
8391 case $deplibs_check_method in
8393 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8394 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8395 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8396 $EGREP "$file_magic_regex" > /dev
/null
; then
8401 *** Warning: the command libtool uses to detect shared libraries,
8402 *** $file_magic_cmd, produces output that libtool cannot recognize.
8403 *** The result is that libtool may fail to recognize shared libraries
8404 *** as such. This will affect the creation of libtool libraries that
8405 *** depend on shared libraries, but programs linked with such libtool
8406 *** libraries will work regardless of this problem. Nevertheless, you
8407 *** may want to report the problem to your system manager and/or to
8408 *** bug-libtool@gnu.org
8418 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8423 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8424 if test -n "$MAGIC_CMD"; then
8425 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8426 $as_echo "$MAGIC_CMD" >&6; }
8428 { $as_echo "$as_me:$LINENO: result: no" >&5
8429 $as_echo "no" >&6; }
8442 # Use C for the default configuration in the libtool script
8446 ac_cpp
='$CPP $CPPFLAGS'
8447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8452 # Source file extension for C test sources.
8455 # Object file extension for compiled C test sources.
8459 # Code to be used in simple compile tests
8460 lt_simple_compile_test_code
="int some_variable = 0;"
8462 # Code to be used in simple link tests
8463 lt_simple_link_test_code
='int main(){return(0);}'
8471 # If no C compiler was specified, use CC.
8474 # If no C compiler flags were specified, use CFLAGS.
8475 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8477 # Allow CC to be a program name with arguments.
8480 # Save the default compiler, since it gets overwritten when the other
8481 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8482 compiler_DEFAULT
=$CC
8484 # save warnings/boilerplate of simple test code
8485 ac_outfile
=conftest.
$ac_objext
8486 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8487 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8488 _lt_compiler_boilerplate
=`cat conftest.err`
8491 ac_outfile
=conftest.
$ac_objext
8492 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8493 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8494 _lt_linker_boilerplate
=`cat conftest.err`
8498 if test -n "$compiler"; then
8500 lt_prog_compiler_no_builtin_flag
=
8502 if test "$GCC" = yes; then
8503 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8505 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8506 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8507 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8508 $as_echo_n "(cached) " >&6
8510 lt_cv_prog_compiler_rtti_exceptions
=no
8511 ac_outfile
=conftest.
$ac_objext
8512 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8513 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8514 # Insert the option either (1) after the last *FLAGS variable, or
8515 # (2) before a word containing "conftest.", or (3) at the end.
8516 # Note that $ac_compile itself does not contain backslashes and begins
8517 # with a dollar sign (not a hyphen), so the echo should work correctly.
8518 # The option is referenced via a variable to avoid confusing sed.
8519 lt_compile
=`echo "$ac_compile" | $SED \
8520 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8521 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8522 -e 's:$: $lt_compiler_flag:'`
8523 (eval echo "\"\$as_me:8523: $lt_compile\"" >&5)
8524 (eval "$lt_compile" 2>conftest.err
)
8526 cat conftest.err
>&5
8527 echo "$as_me:8527: \$? = $ac_status" >&5
8528 if (exit $ac_status) && test -s "$ac_outfile"; then
8529 # The compiler can only warn and ignore the option if not recognized
8530 # So say no if there are warnings other than the usual output.
8531 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8532 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8533 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8534 lt_cv_prog_compiler_rtti_exceptions
=yes
8540 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8541 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8543 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8544 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8556 lt_prog_compiler_wl
=
8557 lt_prog_compiler_pic
=
8558 lt_prog_compiler_static
=
8560 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8561 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8563 if test "$GCC" = yes; then
8564 lt_prog_compiler_wl
='-Wl,'
8565 lt_prog_compiler_static
='-static'
8569 # All AIX code is PIC.
8570 if test "$host_cpu" = ia64
; then
8571 # AIX 5 now supports IA64 processor
8572 lt_prog_compiler_static
='-Bstatic'
8579 # see comment about AmigaOS4 .so support
8580 lt_prog_compiler_pic
='-fPIC'
8583 # FIXME: we need at least 68020 code to build shared libraries, but
8584 # adding the `-m68020' flag to GCC prevents building anything better,
8586 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8591 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8592 # PIC is the default for these OSes.
8595 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8596 # This hack is so that the source file can tell whether it is being
8597 # built for inclusion in a dll (and should export symbols for example).
8598 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8599 # (--disable-auto-import) libraries
8600 lt_prog_compiler_pic
='-DDLL_EXPORT'
8603 darwin
* | rhapsody
*)
8604 # PIC is the default on this platform
8605 # Common symbols not allowed in MH_DYLIB files
8606 lt_prog_compiler_pic
='-fno-common'
8610 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8611 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8612 # sets the default TLS model and affects inlining.
8618 lt_prog_compiler_pic
='-fPIC'
8624 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8625 # Instead, we relocate shared libraries at runtime.
8629 # Just because we use GCC doesn't mean we suddenly get shared libraries
8630 # on systems that don't support them.
8631 lt_prog_compiler_can_build_shared
=no
8636 # QNX uses GNU C++, but need to define -shared option too, otherwise
8638 lt_prog_compiler_pic
='-fPIC -shared'
8642 if test -d /usr
/nec
; then
8643 lt_prog_compiler_pic
=-Kconform_pic
8648 lt_prog_compiler_pic
='-fPIC'
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8655 lt_prog_compiler_wl
='-Wl,'
8656 if test "$host_cpu" = ia64
; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static
='-Bstatic'
8660 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8664 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic
='-DDLL_EXPORT'
8670 hpux9
* | hpux10
* | hpux11
*)
8671 lt_prog_compiler_wl
='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8679 lt_prog_compiler_pic
='+Z'
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8686 irix5
* | irix6
* | nonstopux
*)
8687 lt_prog_compiler_wl
='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static
='-non_shared'
8692 linux
* | k
*bsd
*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8696 lt_prog_compiler_wl
='-Wl,'
8697 lt_prog_compiler_pic
='-KPIC'
8698 lt_prog_compiler_static
='-static'
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8703 lt_prog_compiler_wl
='-Wl,'
8704 lt_prog_compiler_pic
='-fPIC'
8705 lt_prog_compiler_static
='-static'
8707 # Lahey Fortran 8.1.
8709 lt_prog_compiler_wl
='-Wl,'
8710 lt_prog_compiler_pic
='--shared'
8711 lt_prog_compiler_static
='--static'
8713 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl
='-Wl,'
8717 lt_prog_compiler_pic
='-fpic'
8718 lt_prog_compiler_static
='-Bstatic'
8721 lt_prog_compiler_wl
='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static
='-non_shared'
8726 # IBM XL C 8.0/Fortran 10.1 on PPC
8727 lt_prog_compiler_wl
='-Wl,'
8728 lt_prog_compiler_pic
='-qpic'
8729 lt_prog_compiler_static
='-qstaticlink'
8732 case `$CC -V 2>&1 | sed 5q` in
8735 lt_prog_compiler_pic
='-KPIC'
8736 lt_prog_compiler_static
='-Bstatic'
8737 lt_prog_compiler_wl
='-Wl,'
8740 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8741 lt_prog_compiler_pic
='-KPIC'
8742 lt_prog_compiler_static
='-Bstatic'
8743 lt_prog_compiler_wl
=''
8751 lt_prog_compiler_pic
='-KPIC'
8752 lt_prog_compiler_static
='-Bstatic'
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8758 lt_prog_compiler_pic
='-fPIC -shared'
8761 osf3
* | osf4
* | osf5
*)
8762 lt_prog_compiler_wl
='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static
='-non_shared'
8768 lt_prog_compiler_static
='-non_shared'
8772 lt_prog_compiler_pic
='-KPIC'
8773 lt_prog_compiler_static
='-Bstatic'
8774 case $cc_basename in
8776 lt_prog_compiler_wl
='-Qoption ld ';;
8778 lt_prog_compiler_wl
='-Wl,';;
8783 lt_prog_compiler_wl
='-Qoption ld '
8784 lt_prog_compiler_pic
='-PIC'
8785 lt_prog_compiler_static
='-Bstatic'
8788 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8789 lt_prog_compiler_wl
='-Wl,'
8790 lt_prog_compiler_pic
='-KPIC'
8791 lt_prog_compiler_static
='-Bstatic'
8795 if test -d /usr
/nec
;then
8796 lt_prog_compiler_pic
='-Kconform_pic'
8797 lt_prog_compiler_static
='-Bstatic'
8801 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8802 lt_prog_compiler_wl
='-Wl,'
8803 lt_prog_compiler_pic
='-KPIC'
8804 lt_prog_compiler_static
='-Bstatic'
8808 lt_prog_compiler_wl
='-Wl,'
8809 lt_prog_compiler_can_build_shared
=no
8813 lt_prog_compiler_pic
='-pic'
8814 lt_prog_compiler_static
='-Bstatic'
8818 lt_prog_compiler_can_build_shared
=no
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8826 lt_prog_compiler_pic
=
8829 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8832 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8841 # Check to make sure the PIC flag actually works.
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8847 $as_echo_n "(cached) " >&6
8849 lt_cv_prog_compiler_pic_works
=no
8850 ac_outfile
=conftest.
$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8852 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile
=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:8862: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err
)
8865 cat conftest.err
>&5
8866 echo "$as_me:8866: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8872 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8873 lt_cv_prog_compiler_pic_works
=yes
8879 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8882 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8883 case $lt_prog_compiler_pic in
8885 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8888 lt_prog_compiler_pic
=
8889 lt_prog_compiler_can_build_shared
=no
8900 # Check to make sure the static flag actually works.
8902 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8906 $as_echo_n "(cached) " >&6
8908 lt_cv_prog_compiler_static_works
=no
8909 save_LDFLAGS
="$LDFLAGS"
8910 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8912 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err
; then
8916 # Append any errors to the config.log.
8917 cat conftest.err
1>&5
8918 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8920 if diff conftest.exp conftest.er2
>/dev
/null
; then
8921 lt_cv_prog_compiler_static_works
=yes
8924 lt_cv_prog_compiler_static_works
=yes
8928 LDFLAGS
="$save_LDFLAGS"
8931 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8934 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8937 lt_prog_compiler_static
=
8946 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8949 $as_echo_n "(cached) " >&6
8951 lt_cv_prog_compiler_c_o
=no
8952 $RM -r conftest
2>/dev
/null
8956 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8958 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile
=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:8967: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out
/conftest.err
)
8970 cat out
/conftest.err
>&5
8971 echo "$as_me:8971: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8978 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8979 lt_cv_prog_compiler_c_o
=yes
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8987 $RM out
/* && rmdir out
8993 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9004 $as_echo_n "(cached) " >&6
9006 lt_cv_prog_compiler_c_o
=no
9007 $RM -r conftest
2>/dev
/null
9011 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9013 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile
=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:9022: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out
/conftest.err
)
9025 cat out
/conftest.err
>&5
9026 echo "$as_me:9026: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9033 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9034 lt_cv_prog_compiler_c_o
=yes
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9042 $RM out
/* && rmdir out
9048 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9054 hard_links
="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9061 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9063 ln conftest.a conftest.b
2>&5 || hard_links
=no
9064 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9065 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no
; then
9068 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9081 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9085 allow_undefined_flag
=
9086 always_export_symbols
=no
9088 archive_expsym_cmds
=
9089 compiler_needs_object
=no
9090 enable_shared_with_static_runtimes
=no
9091 export_dynamic_flag_spec
=
9092 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic
=no
9095 hardcode_direct_absolute
=no
9096 hardcode_libdir_flag_spec
=
9097 hardcode_libdir_flag_spec_ld
=
9098 hardcode_libdir_separator
=
9100 hardcode_shlibpath_var
=unsupported
9102 link_all_deplibs
=unknown
9105 old_archive_from_new_cmds
=
9106 old_archive_from_expsyms_cmds
=
9107 thread_safe_flag_spec
=
9108 whole_archive_flag_spec
=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds
=
9126 cygwin
* | mingw
* | pw32
* | cegcc
*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9144 if test "$with_gnu_ld" = yes; then
9145 # If archive_cmds runs LD, not CC, wlarc should be empty
9148 # Set some defaults for GNU ld with shared library support. These
9149 # are reset later if shared libraries are not supported. Putting them
9150 # here allows them to be overridden if necessary.
9151 runpath_var
=LD_RUN_PATH
9152 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9153 export_dynamic_flag_spec
='${wl}--export-dynamic'
9154 # ancient GNU ld didn't support --whole-archive et. al.
9155 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9156 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9158 whole_archive_flag_spec
=
9160 supports_anon_versioning
=no
9161 case `$LD -v 2>&1` in
9162 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9163 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9164 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9165 *\
2.11.
*) ;; # other 2.11 versions
9166 *) supports_anon_versioning
=yes ;;
9169 # See if GNU ld supports shared libraries.
9172 # On AIX/PPC, the GNU linker is very broken
9173 if test "$host_cpu" != ia64
; then
9177 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9178 *** to be unable to reliably create shared libraries on AIX.
9179 *** Therefore, libtool is disabling shared libraries support. If you
9180 *** really care for shared libraries, you may want to modify your PATH
9181 *** so that a non-GNU linker is found, and then restart.
9190 # see comment about AmigaOS4 .so support
9191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds
=''
9195 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)'
9196 hardcode_libdir_flag_spec
='-L$libdir'
9197 hardcode_minus_L
=yes
9203 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9204 allow_undefined_flag
=unsupported
9205 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9206 # support --undefined. This deserves some investigation. FIXME
9207 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9213 cygwin
* | mingw
* | pw32
* | cegcc
*)
9214 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9215 # as there is no search path for DLLs.
9216 hardcode_libdir_flag_spec
='-L$libdir'
9217 allow_undefined_flag
=unsupported
9218 always_export_symbols
=no
9219 enable_shared_with_static_runtimes
=yes
9220 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9222 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9223 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9224 # If the export-symbols file already is a .def file (1st line
9225 # is EXPORTS), use it as is; otherwise, prepend...
9226 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9227 cp $export_symbols $output_objdir/$soname.def;
9229 echo EXPORTS > $output_objdir/$soname.def;
9230 cat $export_symbols >> $output_objdir/$soname.def;
9232 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9240 hardcode_shlibpath_var
=no
9241 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9242 export_dynamic_flag_spec
='${wl}-E'
9243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244 # Instead, shared libraries are loaded at an image base (0x10000000 by
9245 # default) and relocated if they conflict, which is a slow very memory
9246 # consuming and fragmenting process. To avoid this, we pick a random,
9247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9249 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9253 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9255 if test "$host_os" = linux-dietlibc
; then
9256 case $cc_basename in
9257 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9260 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9261 && test "$tmp_diet" = no
9264 tmp_sharedflag
='-shared'
9265 case $cc_basename,$host_cpu in
9266 pgcc
*) # Portland Group C compiler
9267 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9268 tmp_addflag
=' $pic_flag'
9270 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9271 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9272 tmp_addflag
=' $pic_flag -Mnomain' ;;
9273 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9274 tmp_addflag
=' -i_dynamic' ;;
9275 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9276 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9277 ifc
* | ifort
*) # Intel Fortran compiler
9278 tmp_addflag
=' -nofor_main' ;;
9279 lf95
*) # Lahey Fortran 8.1
9280 whole_archive_flag_spec
=
9281 tmp_sharedflag
='--shared' ;;
9282 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9283 tmp_sharedflag
='-qmkshrobj'
9286 case `$CC -V 2>&1 | sed 5q` in
9287 *Sun\ C
*) # Sun C 5.9
9288 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9289 compiler_needs_object
=yes
9290 tmp_sharedflag
='-G' ;;
9291 *Sun\ F
*) # Sun Fortran 8.3
9292 tmp_sharedflag
='-G' ;;
9294 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9296 if test "x$supports_anon_versioning" = xyes
; then
9297 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9298 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9299 echo "local: *; };" >> $output_objdir/$libname.ver~
9300 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9303 case $cc_basename in
9305 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9306 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9307 hardcode_libdir_flag_spec
=
9308 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9309 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9310 if test "x$supports_anon_versioning" = xyes
; then
9311 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9313 echo "local: *; };" >> $output_objdir/$libname.ver~
9314 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9324 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9325 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9328 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9334 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9338 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9339 *** create shared libraries on Solaris systems. Therefore, libtool
9340 *** is disabling shared libraries support. We urge you to upgrade GNU
9341 *** binutils to release 2.9.1 or newer. Another option is to modify
9342 *** your PATH or compiler configuration so that the native linker is
9343 *** used, and then restart.
9346 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9347 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9348 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9355 case `$LD -v 2>&1` in
9356 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9360 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9361 *** reliably create shared libraries on SCO systems. Therefore, libtool
9362 *** is disabling shared libraries support. We urge you to upgrade GNU
9363 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9370 # For security reasons, it is highly recommended that you always
9371 # use absolute paths for naming shared libraries, and exclude the
9372 # DT_RUNPATH tag from executables and libraries. But doing so
9373 # requires that you compile everything twice, which is a pain.
9374 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9375 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9376 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9377 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9386 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9389 hardcode_shlibpath_var
=no
9393 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9394 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9395 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9402 if test "$ld_shlibs" = no
; then
9404 hardcode_libdir_flag_spec
=
9405 export_dynamic_flag_spec
=
9406 whole_archive_flag_spec
=
9409 # PORTME fill in a description of your system's linker (not GNU ld)
9412 allow_undefined_flag
=unsupported
9413 always_export_symbols
=yes
9414 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'
9415 # Note: this linker hardcodes the directories in LIBPATH if there
9416 # are no directories specified by -L.
9417 hardcode_minus_L
=yes
9418 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9419 # Neither direct hardcoding nor static linking is supported with a
9421 hardcode_direct
=unsupported
9426 if test "$host_cpu" = ia64
; then
9427 # On IA64, the linker does run time linking by default, so we don't
9428 # have to do anything special.
9429 aix_use_runtimelinking
=no
9430 exp_sym_flag
='-Bexport'
9433 # If we're using GNU nm, then we don't want the "-C" option.
9434 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9435 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9436 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9438 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9440 aix_use_runtimelinking
=no
9442 # Test if we are trying to use run time linking or normal
9443 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9444 # need to do runtime linking.
9445 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9446 for ld_flag
in $LDFLAGS; do
9447 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9448 aix_use_runtimelinking
=yes
9455 exp_sym_flag
='-bexport'
9456 no_entry_flag
='-bnoentry'
9459 # When large executables or shared objects are built, AIX ld can
9460 # have problems creating the table of contents. If linking a library
9461 # or program results in "error TOC overflow" add -mminimal-toc to
9462 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9463 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9467 hardcode_direct_absolute
=yes
9468 hardcode_libdir_separator
=':'
9469 link_all_deplibs
=yes
9470 file_list_spec
='${wl}-f,'
9472 if test "$GCC" = yes; then
9473 case $host_os in aix4.
[012]|aix4.
[012].
*)
9474 # We only want to do this on AIX 4.2 and lower, the check
9475 # below for broken collect2 doesn't work under 4.3+
9476 collect2name
=`${CC} -print-prog-name=collect2`
9477 if test -f "$collect2name" &&
9478 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9480 # We have reworked collect2
9483 # We have old collect2
9484 hardcode_direct
=unsupported
9485 # It fails to find uninstalled libraries when the uninstalled
9486 # path is not listed in the libpath. Setting hardcode_minus_L
9487 # to unsupported forces relinking
9488 hardcode_minus_L
=yes
9489 hardcode_libdir_flag_spec
='-L$libdir'
9490 hardcode_libdir_separator
=
9494 shared_flag
='-shared'
9495 if test "$aix_use_runtimelinking" = yes; then
9496 shared_flag
="$shared_flag "'${wl}-G'
9500 if test "$host_cpu" = ia64
; then
9501 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9502 # chokes on -Wl,-G. The following line is correct:
9505 if test "$aix_use_runtimelinking" = yes; then
9506 shared_flag
='${wl}-G'
9508 shared_flag
='${wl}-bM:SRE'
9513 export_dynamic_flag_spec
='${wl}-bexpall'
9514 # It seems that -bexpall does not export symbols beginning with
9515 # underscore (_), so it is better to generate a list of symbols to export.
9516 always_export_symbols
=yes
9517 if test "$aix_use_runtimelinking" = yes; then
9518 # Warning - without using the other runtime loading flags (-brtl),
9519 # -berok will link without error, but may produce a broken library.
9520 allow_undefined_flag
='-berok'
9521 # Determine the default libpath from the value encoded in an
9523 cat >conftest.
$ac_ext <<_ACEOF
9526 cat confdefs.h
>>conftest.
$ac_ext
9527 cat >>conftest.
$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9538 rm -f conftest.
$ac_objext conftest
$ac_exeext
9539 if { (ac_try
="$ac_link"
9541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9542 *) ac_try_echo=$ac_try;;
9544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9545 $as_echo "$ac_try_echo") >&5
9546 (eval "$ac_link") 2>conftest.er1
9548 grep -v '^ *+' conftest.er1 >conftest.err
9550 cat conftest.err >&5
9551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); } && {
9553 test -z "$ac_c_werror_flag" ||
9554 test ! -s conftest.err
9555 } && test -s conftest$ac_exeext && {
9556 test "$cross_compiling" = yes ||
9557 $as_test_x conftest$ac_exeext
9560 lt_aix_libpath_sed='
9561 /Import File Strings/,/^$/ {
9567 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9568 # Check for a 64-bit object if we didn't find anything.
9569 if test -z "$aix_libpath"; then
9570 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
9573 $as_echo "$as_me: failed program was:" >&5
9574 sed 's/^/| /' conftest.$ac_ext >&5
9579 rm -rf conftest.dSYM
9580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9581 conftest$ac_exeext conftest.$ac_ext
9582 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9584 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9585 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9587 if test "$host_cpu" = ia64; then
9588 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9589 allow_undefined_flag="-z nodefs"
9590 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9592 # Determine the default libpath from the value encoded in an
9594 cat >conftest.$ac_ext <<_ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9609 rm -f conftest.$ac_objext conftest$ac_exeext
9610 if { (ac_try="$ac_link"
9612 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9613 *) ac_try_echo
=$ac_try;;
9615 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9616 $as_echo "$ac_try_echo") >&5
9617 (eval "$ac_link") 2>conftest.er1
9619 grep -v '^ *+' conftest.er1
>conftest.err
9621 cat conftest.err
>&5
9622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } && {
9624 test -z "$ac_c_werror_flag" ||
9625 test ! -s conftest.err
9626 } && test -s conftest
$ac_exeext && {
9627 test "$cross_compiling" = yes ||
9628 $as_test_x conftest
$ac_exeext
9631 lt_aix_libpath_sed
='
9632 /Import File Strings/,/^$/ {
9638 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9639 # Check for a 64-bit object if we didn't find anything.
9640 if test -z "$aix_libpath"; then
9641 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9644 $as_echo "$as_me: failed program was:" >&5
9645 sed 's/^/| /' conftest.
$ac_ext >&5
9650 rm -rf conftest.dSYM
9651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9652 conftest
$ac_exeext conftest.
$ac_ext
9653 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9655 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9656 # Warning - without using the other run time loading flags,
9657 # -berok will link without error, but may produce a broken library.
9658 no_undefined_flag
=' ${wl}-bernotok'
9659 allow_undefined_flag
=' ${wl}-berok'
9660 # Exported symbols can be pulled into shared objects from archives
9661 whole_archive_flag_spec
='$convenience'
9662 archive_cmds_need_lc
=yes
9663 # This is similar to how AIX traditionally builds its shared libraries.
9664 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9672 # see comment about AmigaOS4 .so support
9673 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9674 archive_expsym_cmds
=''
9677 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)'
9678 hardcode_libdir_flag_spec
='-L$libdir'
9679 hardcode_minus_L
=yes
9685 export_dynamic_flag_spec
=-rdynamic
9688 cygwin
* | mingw
* | pw32
* | cegcc
*)
9689 # When not using gcc, we currently assume that we are using
9690 # Microsoft Visual C++.
9691 # hardcode_libdir_flag_spec is actually meaningless, as there is
9692 # no search path for DLLs.
9693 hardcode_libdir_flag_spec
=' '
9694 allow_undefined_flag
=unsupported
9695 # Tell ltmain to make .lib files, not .a files.
9697 # Tell ltmain to make .dll files, not .so files.
9699 # FIXME: Setting linknames here is a bad hack.
9700 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9701 # The linker will automatically build a .lib file if we build a DLL.
9702 old_archive_from_new_cmds
='true'
9703 # FIXME: Should let the user specify the lib program.
9704 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9705 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9706 enable_shared_with_static_runtimes
=yes
9709 darwin
* | rhapsody
*)
9712 archive_cmds_need_lc
=no
9714 hardcode_automatic
=yes
9715 hardcode_shlibpath_var
=unsupported
9716 whole_archive_flag_spec
=''
9717 link_all_deplibs
=yes
9718 allow_undefined_flag
="$_lt_dar_allow_undefined"
9719 case $cc_basename in
9720 ifort
*) _lt_dar_can_shared
=yes ;;
9721 *) _lt_dar_can_shared
=$GCC ;;
9723 if test "$_lt_dar_can_shared" = "yes"; then
9724 output_verbose_link_cmd
=echo
9725 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9726 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9727 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9728 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9737 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_libdir_flag_spec
='-L$libdir'
9739 hardcode_shlibpath_var
=no
9746 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9747 # support. Future versions do this automatically, but an explicit c++rt0.o
9748 # does not break anything, and helps significantly (at the cost of a little
9751 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9752 hardcode_libdir_flag_spec
='-R$libdir'
9754 hardcode_shlibpath_var
=no
9757 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9759 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9761 hardcode_minus_L
=yes
9762 hardcode_shlibpath_var
=no
9765 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9766 freebsd
* | dragonfly
*)
9767 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9768 hardcode_libdir_flag_spec
='-R$libdir'
9770 hardcode_shlibpath_var
=no
9774 if test "$GCC" = yes; then
9775 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9777 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'
9779 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9780 hardcode_libdir_separator
=:
9783 # hardcode_minus_L: Not really in the search PATH,
9784 # but as the default location of the library.
9785 hardcode_minus_L
=yes
9786 export_dynamic_flag_spec
='${wl}-E'
9790 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9791 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9793 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9795 if test "$with_gnu_ld" = no
; then
9796 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9797 hardcode_libdir_flag_spec_ld
='+b $libdir'
9798 hardcode_libdir_separator
=:
9800 hardcode_direct_absolute
=yes
9801 export_dynamic_flag_spec
='${wl}-E'
9802 # hardcode_minus_L: Not really in the search PATH,
9803 # but as the default location of the library.
9804 hardcode_minus_L
=yes
9809 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9812 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9824 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9827 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9830 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9834 if test "$with_gnu_ld" = no
; then
9835 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator
=:
9841 hardcode_shlibpath_var
=no
9845 hardcode_direct_absolute
=yes
9846 export_dynamic_flag_spec
='${wl}-E'
9848 # hardcode_minus_L: Not really in the search PATH,
9849 # but as the default location of the library.
9850 hardcode_minus_L
=yes
9856 irix5
* | irix6
* | nonstopux
*)
9857 if test "$GCC" = yes; then
9858 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9859 # Try to use the -exported_symbol ld option, if it does not
9860 # work, assume that -exports_file does not work either and
9861 # implicitly export all symbols.
9862 save_LDFLAGS
="$LDFLAGS"
9863 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9864 cat >conftest.
$ac_ext <<_ACEOF
9867 rm -f conftest.
$ac_objext conftest
$ac_exeext
9868 if { (ac_try
="$ac_link"
9870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9874 $as_echo "$ac_try_echo") >&5
9875 (eval "$ac_link") 2>conftest.er1
9877 grep -v '^ *+' conftest.er1 >conftest.err
9879 cat conftest.err >&5
9880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); } && {
9882 test -z "$ac_c_werror_flag" ||
9883 test ! -s conftest.err
9884 } && test -s conftest$ac_exeext && {
9885 test "$cross_compiling" = yes ||
9886 $as_test_x conftest$ac_exeext
9888 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9891 $as_echo "$as_me: failed program was:" >&5
9892 sed 's/^/| /' conftest.$ac_ext >&5
9897 rm -rf conftest.dSYM
9898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9899 conftest$ac_exeext conftest.$ac_ext
9900 LDFLAGS="$save_LDFLAGS"
9902 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9903 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9905 archive_cmds_need_lc='no'
9906 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9907 hardcode_libdir_separator=:
9909 link_all_deplibs=yes
9913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9914 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9918 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_shlibpath_var=no
9924 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9927 hardcode_libdir_separator=:
9928 hardcode_shlibpath_var=no
9935 if test -f /usr/libexec/ld.so; then
9937 hardcode_shlibpath_var=no
9938 hardcode_direct_absolute=yes
9939 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9940 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9942 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9943 export_dynamic_flag_spec='${wl}-E'
9946 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9947 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9948 hardcode_libdir_flag_spec='-R$libdir'
9951 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9952 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9962 hardcode_libdir_flag_spec='-L$libdir'
9963 hardcode_minus_L=yes
9964 allow_undefined_flag=unsupported
9965 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'
9966 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 if test "$GCC" = yes; then
9971 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9972 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 allow_undefined_flag=' -expect_unresolved \*'
9975 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9977 archive_cmds_need_lc='no'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9982 osf4* | osf5*) # as osf3* with the addition of -msym flag
9983 if test "$GCC" = yes; then
9984 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9985 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 allow_undefined_flag=' -expect_unresolved \*'
9989 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9990 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9991 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9993 # Both c and cxx compiler support -rpath directly
9994 hardcode_libdir_flag_spec='-rpath $libdir'
9996 archive_cmds_need_lc='no'
9997 hardcode_libdir_separator=:
10001 no_undefined_flag=' -z defs'
10002 if test "$GCC" = yes; then
10004 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10005 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10006 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 case `$CC -V 2>&1` in
10011 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10013 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10019 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10023 hardcode_libdir_flag_spec='-R$libdir'
10024 hardcode_shlibpath_var=no
10026 solaris2.[0-5] | solaris2.[0-5].*) ;;
10028 # The compiler driver will combine and reorder linker options,
10029 # but understands `-z linker_flag
'. GCC discards it without `$wl',
10030 # but is careful enough not to reorder.
10031 # Supported since Solaris 2.6 (maybe 2.5.1?)
10032 if test "$GCC" = yes; then
10033 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10039 link_all_deplibs
=yes
10043 if test "x$host_vendor" = xsequent
; then
10044 # Use $CC to link under sequent, because it throws in some extra .o
10045 # files that make .init and .fini sections work.
10046 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_libdir_flag_spec
='-L$libdir'
10051 hardcode_direct
=yes
10052 hardcode_minus_L
=yes
10053 hardcode_shlibpath_var
=no
10057 case $host_vendor in
10059 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10060 hardcode_direct
=yes # is this really true???
10063 ## LD is ld it makes a PLAMLIB
10064 ## CC just makes a GrossModule.
10065 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10066 reload_cmds
='$CC -r -o $output$reload_objs'
10070 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10071 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10074 runpath_var
='LD_RUN_PATH'
10075 hardcode_shlibpath_var
=no
10079 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080 hardcode_shlibpath_var
=no
10081 export_dynamic_flag_spec
='-Bexport'
10085 if test -d /usr
/nec
; then
10086 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10087 hardcode_shlibpath_var
=no
10088 runpath_var
=LD_RUN_PATH
10089 hardcode_runpath_var
=yes
10094 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10095 no_undefined_flag
='${wl}-z,text'
10096 archive_cmds_need_lc
=no
10097 hardcode_shlibpath_var
=no
10098 runpath_var
='LD_RUN_PATH'
10100 if test "$GCC" = yes; then
10101 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10102 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10105 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 sysv5
* | sco3.2v5
* | sco5v6
*)
10110 # Note: We can NOT use -z defs as we might desire, because we do not
10111 # link with -lc, and that would cause any symbols used from libc to
10112 # always be unresolved, which means just about no library would
10113 # ever link correctly. If we're not using GNU ld we use -z text
10114 # though, which does catch some bad symbols but isn't as heavy-handed
10116 no_undefined_flag
='${wl}-z,text'
10117 allow_undefined_flag
='${wl}-z,nodefs'
10118 archive_cmds_need_lc
=no
10119 hardcode_shlibpath_var
=no
10120 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10121 hardcode_libdir_separator
=':'
10122 link_all_deplibs
=yes
10123 export_dynamic_flag_spec
='${wl}-Bexport'
10124 runpath_var
='LD_RUN_PATH'
10126 if test "$GCC" = yes; then
10127 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10128 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10131 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10137 hardcode_libdir_flag_spec
='-L$libdir'
10138 hardcode_shlibpath_var
=no
10146 if test x
$host_vendor = xsni
; then
10148 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10149 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10155 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10156 $as_echo "$ld_shlibs" >&6; }
10157 test "$ld_shlibs" = no
&& can_build_shared
=no
10159 with_gnu_ld
=$with_gnu_ld
10176 # Do we need to explicitly link libc?
10178 case "x$archive_cmds_need_lc" in
10180 # Assume -lc should be added
10181 archive_cmds_need_lc
=yes
10183 if test "$enable_shared" = yes && test "$GCC" = yes; then
10184 case $archive_cmds in
10186 # FIXME: we may have to deal with multi-command sequences.
10189 # Test whether the compiler implicitly links with -lc since on some
10190 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10191 # to ld, don't add -lc before -lgcc.
10192 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10193 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10198 (eval $ac_compile) 2>&5
10200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); } 2>conftest.err
; then
10204 libobjs
=conftest.
$ac_objext
10206 wl
=$lt_prog_compiler_wl
10207 pic_flag
=$lt_prog_compiler_pic
10213 lt_save_allow_undefined_flag
=$allow_undefined_flag
10214 allow_undefined_flag
=
10215 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10216 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10219 (exit $ac_status); }
10221 archive_cmds_need_lc
=no
10223 archive_cmds_need_lc
=yes
10225 allow_undefined_flag
=$lt_save_allow_undefined_flag
10227 cat conftest.err
1>&5
10230 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10231 $as_echo "$archive_cmds_need_lc" >&6; }
10394 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10395 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10397 if test "$GCC" = yes; then
10399 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10400 *) lt_awk_arg
="/^libraries:/" ;;
10402 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10403 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10404 # if the path contains ";" then we assume it to be the separator
10405 # otherwise default to the standard path separator (i.e. ":") - it is
10406 # assumed that no part of a normal pathname contains ";" but that should
10407 # okay in the real world where ";" in dirpaths is itself problematic.
10408 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10410 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10412 # Ok, now we have the path, separated by spaces, we can step through it
10413 # and add multilib dir if necessary.
10414 lt_tmp_lt_search_path_spec
=
10415 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10416 for lt_sys_path
in $lt_search_path_spec; do
10417 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10418 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 test -d "$lt_sys_path" && \
10421 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10425 BEGIN {RS=" "; FS="/|\n";} {
10428 for (lt_i = NF; lt_i > 0; lt_i--) {
10429 if ($lt_i != "" && $lt_i != ".") {
10430 if ($lt_i == "..") {
10433 if (lt_count == 0) {
10434 lt_foo="/" $lt_i lt_foo;
10441 if (lt_foo != "") { lt_freq[lt_foo]++; }
10442 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10446 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10448 library_names_spec
=
10449 libname_spec
='lib$name'
10453 postuninstall_cmds
=
10457 shlibpath_overrides_runpath
=unknown
10459 dynamic_linker
="$host_os ld.so"
10460 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10461 need_lib_prefix
=unknown
10462 hardcode_into_libs
=no
10464 # when you set need_version to no, make sure it does not cause -set_version
10465 # flags to be left without arguments
10466 need_version
=unknown
10471 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10472 shlibpath_var
=LIBPATH
10474 # AIX 3 has no versioning support, so we append a major version to the name.
10475 soname_spec
='${libname}${release}${shared_ext}$major'
10482 hardcode_into_libs
=yes
10483 if test "$host_cpu" = ia64
; then
10484 # AIX 5 supports IA64
10485 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10486 shlibpath_var
=LD_LIBRARY_PATH
10488 # With GCC up to 2.95.x, collect2 would create an import file
10489 # for dependence libraries. The import file would start with
10490 # the line `#! .'. This would cause the generated library to
10491 # depend on `.', always an invalid library. This was fixed in
10492 # development snapshots of GCC prior to 3.0.
10494 aix4 | aix4.
[01] | aix4.
[01].
*)
10495 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10497 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10500 can_build_shared
=no
10504 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10505 # soname into executable. Probably we can add versioning support to
10506 # collect2, so additional links can be useful in future.
10507 if test "$aix_use_runtimelinking" = yes; then
10508 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10509 # instead of lib<name>.a to let people know that these are not
10510 # typical AIX shared libraries.
10511 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10513 # We preserve .a as extension for shared libraries through AIX4.2
10514 # and later when we are not doing run time linking.
10515 library_names_spec
='${libname}${release}.a $libname.a'
10516 soname_spec
='${libname}${release}${shared_ext}$major'
10518 shlibpath_var
=LIBPATH
10525 # Since July 2007 AmigaOS4 officially supports .so libraries.
10526 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 library_names_spec
='$libname.ixlibrary $libname.a'
10531 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10532 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'
10538 library_names_spec
='${libname}${shared_ext}'
10539 dynamic_linker
="$host_os ld.so"
10540 shlibpath_var
=LIBRARY_PATH
10546 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10547 soname_spec
='${libname}${release}${shared_ext}$major'
10548 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10549 shlibpath_var
=LD_LIBRARY_PATH
10550 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10551 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10552 # the default ld.so.conf also contains /usr/contrib/lib and
10553 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10554 # libtool to hard-code these into programs
10557 cygwin
* | mingw
* | pw32
* | cegcc
*)
10558 version_type
=windows
10563 case $GCC,$host_os in
10564 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10565 library_names_spec
='$libname.dll.a'
10566 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10567 postinstall_cmds
='base_file=`basename \${file}`~
10568 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10569 dldir=$destdir/`dirname \$dlpath`~
10570 test -d \$dldir || mkdir -p \$dldir~
10571 $install_prog $dir/$dlname \$dldir/$dlname~
10572 chmod a+x \$dldir/$dlname~
10573 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10574 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10576 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10577 dlpath=$dir/\$dldll~
10579 shlibpath_overrides_runpath
=yes
10583 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10584 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10585 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10588 # MinGW DLLs use traditional 'lib' prefix
10589 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10590 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10591 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10592 # It is most probably a Windows format PATH printed by
10593 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10594 # path with ; separators, and with drive letters. We can handle the
10595 # drive letters (cygwin fileutils understands them), so leave them,
10596 # especially as we might pass files found there to a mingw objdump,
10597 # which wouldn't understand a cygwinified path. Ahh.
10598 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10600 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10604 # pw32 DLLs use 'pw' prefix rather than 'lib'
10605 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10611 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10614 dynamic_linker
='Win32 ld.exe'
10615 # FIXME: first we should search . and the directory the executable is in
10619 darwin
* | rhapsody
*)
10620 dynamic_linker
="$host_os dyld"
10621 version_type
=darwin
10624 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10625 soname_spec
='${libname}${release}${major}$shared_ext'
10626 shlibpath_overrides_runpath
=yes
10627 shlibpath_var
=DYLD_LIBRARY_PATH
10628 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10630 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10631 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10638 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10639 soname_spec
='${libname}${release}${shared_ext}$major'
10640 shlibpath_var
=LD_LIBRARY_PATH
10647 freebsd
* | dragonfly
*)
10648 # DragonFly does not have aout. When/if they implement a new
10649 # versioning mechanism, adjust this.
10650 if test -x /usr
/bin
/objformat
; then
10651 objformat
=`/usr/bin/objformat`
10654 freebsd
[123]*) objformat
=aout
;;
10655 *) objformat
=elf
;;
10658 version_type
=freebsd-
$objformat
10659 case $version_type in
10661 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10666 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10670 shlibpath_var
=LD_LIBRARY_PATH
10673 shlibpath_overrides_runpath
=yes
10675 freebsd3.
[01]* | freebsdelf3.
[01]*)
10676 shlibpath_overrides_runpath
=yes
10677 hardcode_into_libs
=yes
10679 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10680 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10681 shlibpath_overrides_runpath
=no
10682 hardcode_into_libs
=yes
10684 *) # from 4.6 on, and DragonFly
10685 shlibpath_overrides_runpath
=yes
10686 hardcode_into_libs
=yes
10695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10696 soname_spec
='${libname}${release}${shared_ext}$major'
10697 shlibpath_var
=LD_LIBRARY_PATH
10698 hardcode_into_libs
=yes
10701 hpux9
* | hpux10
* | hpux11
*)
10702 # Give a soname corresponding to the major version so that dld.sl refuses to
10703 # link against other versions.
10710 hardcode_into_libs
=yes
10711 dynamic_linker
="$host_os dld.so"
10712 shlibpath_var
=LD_LIBRARY_PATH
10713 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10715 soname_spec
='${libname}${release}${shared_ext}$major'
10716 if test "X$HPUX_IA64_MODE" = X32
; then
10717 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10719 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10721 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10725 hardcode_into_libs
=yes
10726 dynamic_linker
="$host_os dld.sl"
10727 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10728 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10729 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10730 soname_spec
='${libname}${release}${shared_ext}$major'
10731 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10732 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10736 dynamic_linker
="$host_os dld.sl"
10737 shlibpath_var
=SHLIB_PATH
10738 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10739 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10740 soname_spec
='${libname}${release}${shared_ext}$major'
10743 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10744 postinstall_cmds
='chmod 555 $lib'
10751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10752 soname_spec
='${libname}${release}${shared_ext}$major'
10753 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10754 shlibpath_var
=LD_LIBRARY_PATH
10755 shlibpath_overrides_runpath
=no
10756 hardcode_into_libs
=yes
10759 irix5
* | irix6
* | nonstopux
*)
10761 nonstopux
*) version_type
=nonstopux
;;
10763 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 soname_spec
='${libname}${release}${shared_ext}$major'
10772 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10774 irix5
* | nonstopux
*)
10775 libsuff
= shlibsuff
=
10778 case $LD in # libtool.m4 will add one of these switches to LD
10779 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10780 libsuff
= shlibsuff
= libmagic
=32-bit;;
10781 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10782 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10783 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10784 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10785 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10789 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10790 shlibpath_overrides_runpath
=no
10791 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10792 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10793 hardcode_into_libs
=yes
10796 # No shared lib support for Linux oldld, aout, or coff.
10797 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10801 # This must be Linux ELF.
10802 linux
* | k
*bsd
*-gnu)
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 soname_spec
='${libname}${release}${shared_ext}$major'
10808 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10809 shlibpath_var
=LD_LIBRARY_PATH
10810 shlibpath_overrides_runpath
=no
10811 # Some binutils ld are patched to set DT_RUNPATH
10812 save_LDFLAGS
=$LDFLAGS
10813 save_libdir
=$libdir
10814 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10815 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10816 cat >conftest.
$ac_ext <<_ACEOF
10819 cat confdefs.h
>>conftest.
$ac_ext
10820 cat >>conftest.
$ac_ext <<_ACEOF
10821 /* end confdefs.h. */
10831 rm -f conftest.
$ac_objext conftest
$ac_exeext
10832 if { (ac_try
="$ac_link"
10833 case "(($ac_try" in
10834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10838 $as_echo "$ac_try_echo") >&5
10839 (eval "$ac_link") 2>conftest.er1
10841 grep -v '^ *+' conftest.er1 >conftest.err
10843 cat conftest.err >&5
10844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10845 (exit $ac_status); } && {
10846 test -z "$ac_c_werror_flag" ||
10847 test ! -s conftest.err
10848 } && test -s conftest$ac_exeext && {
10849 test "$cross_compiling" = yes ||
10850 $as_test_x conftest$ac_exeext
10852 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10853 shlibpath_overrides_runpath=yes
10857 $as_echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10863 rm -rf conftest.dSYM
10864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10865 conftest$ac_exeext conftest.$ac_ext
10866 LDFLAGS=$save_LDFLAGS
10867 libdir=$save_libdir
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Add ABI-specific directories to the system library path.
10875 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10877 # Append ld.so.conf contents to the search path
10878 if test -f /etc/ld.so.conf; then
10879 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc
/ld.so.conf |
$SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' |
tr '\n' ' '`
10880 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10883 # We used to test for /lib/ld.so.1 and disable shared libraries on
10884 # powerpc, because MkLinux only supported shared libraries with the
10885 # GNU dynamic linker. Since this was broken with cross compilers,
10886 # most powerpc-linux boxes support dynamic linking these days and
10887 # people can always --disable-shared, the test was removed, and we
10888 # assume the GNU/Linux dynamic linker is in use.
10889 dynamic_linker='GNU/Linux ld.so'
10896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 dynamic_linker='NetBSD (a.out) ld.so'
10901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10902 soname_spec='${libname}${release}${shared_ext}$major'
10903 dynamic_linker='NetBSD ld.elf_so'
10905 shlibpath_var=LD_LIBRARY_PATH
10906 shlibpath_overrides_runpath=yes
10907 hardcode_into_libs=yes
10912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913 shlibpath_var=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath=yes
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=no
10925 hardcode_into_libs=yes
10926 dynamic_linker='ldqnx.so'
10931 sys_lib_dlsearch_path_spec="/usr/lib"
10933 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10935 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10936 *) need_version=no ;;
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10940 shlibpath_var=LD_LIBRARY_PATH
10941 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10943 openbsd2.[89] | openbsd2.[89].*)
10944 shlibpath_overrides_runpath=no
10947 shlibpath_overrides_runpath=yes
10951 shlibpath_overrides_runpath=yes
10956 libname_spec='$name'
10959 library_names_spec='$libname${shared_ext} $libname.a'
10960 dynamic_linker='OS/2 ld.exe'
10961 shlibpath_var=LIBPATH
10964 osf3* | osf4* | osf5*)
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10972 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10984 soname_spec='${libname}${release}${shared_ext}$major'
10985 shlibpath_var=LD_LIBRARY_PATH
10986 shlibpath_overrides_runpath=yes
10987 hardcode_into_libs=yes
10988 # ldd complains unless libraries are executable
10989 postinstall_cmds='chmod +x $lib'
10994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10995 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10996 shlibpath_var=LD_LIBRARY_PATH
10997 shlibpath_overrides_runpath=yes
10998 if test "$with_gnu_ld" = yes; then
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007 soname_spec='${libname}${release}${shared_ext}$major'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 case $host_vendor in
11011 shlibpath_overrides_runpath=no
11013 runpath_var=LD_RUN_PATH
11021 shlibpath_overrides_runpath=no
11022 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11028 if test -d /usr/nec ;then
11030 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11031 soname_spec='$libname${shared_ext}.$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11037 version_type=freebsd-elf
11040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11041 soname_spec='${libname}${release}${shared_ext}$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11043 shlibpath_overrides_runpath=yes
11044 hardcode_into_libs=yes
11045 if test "$with_gnu_ld" = yes; then
11046 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11048 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11055 sys_lib_dlsearch_path_spec='/usr/lib'
11059 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=no
11066 hardcode_into_libs=yes
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11080 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11081 $as_echo "$dynamic_linker" >&6; }
11082 test "$dynamic_linker" = no && can_build_shared=no
11084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11085 if test "$GCC" = yes; then
11086 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11089 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11090 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11093 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11182 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11183 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11185 if test -n "$hardcode_libdir_flag_spec" ||
11186 test -n "$runpath_var" ||
11187 test "X$hardcode_automatic" = "Xyes" ; then
11189 # We can hardcode non-existent directories.
11190 if test "$hardcode_direct" != no &&
11191 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11192 # have to relink, otherwise we might link with an installed library
11193 # when we should be linking with a yet-to-be-installed one
11194 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11195 test "$hardcode_minus_L" != no; then
11196 # Linking always hardcodes the temporary library directory.
11197 hardcode_action=relink
11199 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11200 hardcode_action=immediate
11203 # We cannot hardcode anything, or else we can only hardcode existing
11205 hardcode_action=unsupported
11207 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11208 $as_echo "$hardcode_action" >&6; }
11210 if test "$hardcode_action" = relink ||
11211 test "$inherit_rpath" = yes; then
11212 # Fast installation is not supported
11213 enable_fast_install=no
11214 elif test "$shlibpath_overrides_runpath" = yes ||
11215 test "$enable_shared" = no; then
11216 # Fast installation is not necessary
11217 enable_fast_install=needless
11225 if test "x$enable_dlopen" != xyes; then
11226 enable_dlopen=unknown
11227 enable_dlopen_self=unknown
11228 enable_dlopen_self_static=unknown
11235 lt_cv_dlopen="load_add_on"
11237 lt_cv_dlopen_self=yes
11240 mingw* | pw32* | cegcc*)
11241 lt_cv_dlopen="LoadLibrary"
11246 lt_cv_dlopen="dlopen"
11251 # if libdl is installed we need to link against it
11252 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11253 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11254 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11255 $as_echo_n "(cached) " >&6
11257 ac_check_lib_save_LIBS=$LIBS
11259 cat >conftest.$ac_ext <<_ACEOF
11262 cat confdefs.h >>conftest.$ac_ext
11263 cat >>conftest.$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (ac_try="$ac_link"
11283 case "(($ac_try" in
11284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11285 *) ac_try_echo
=$ac_try;;
11287 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11288 $as_echo "$ac_try_echo") >&5
11289 (eval "$ac_link") 2>conftest.er1
11291 grep -v '^ *+' conftest.er1
>conftest.err
11293 cat conftest.err
>&5
11294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } && {
11296 test -z "$ac_c_werror_flag" ||
11297 test ! -s conftest.err
11298 } && test -s conftest
$ac_exeext && {
11299 test "$cross_compiling" = yes ||
11300 $as_test_x conftest
$ac_exeext
11302 ac_cv_lib_dl_dlopen
=yes
11304 $as_echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.
$ac_ext >&5
11307 ac_cv_lib_dl_dlopen
=no
11310 rm -rf conftest.dSYM
11311 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11312 conftest
$ac_exeext conftest.
$ac_ext
11313 LIBS
=$ac_check_lib_save_LIBS
11315 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11316 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11317 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11318 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11321 lt_cv_dlopen
="dyld"
11323 lt_cv_dlopen_self
=yes
11330 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11331 $as_echo_n "checking for shl_load... " >&6; }
11332 if test "${ac_cv_func_shl_load+set}" = set; then
11333 $as_echo_n "(cached) " >&6
11335 cat >conftest.
$ac_ext <<_ACEOF
11338 cat confdefs.h
>>conftest.
$ac_ext
11339 cat >>conftest.
$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11343 #define shl_load innocuous_shl_load
11345 /* System header to define __stub macros and hopefully few prototypes,
11346 which can conflict with char shl_load (); below.
11347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11348 <limits.h> exists even on freestanding compilers. */
11351 # include <limits.h>
11353 # include <assert.h>
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11365 /* The GNU C library defines this for functions which it implements
11366 to always fail with ENOSYS. Some functions are actually named
11367 something starting with __ and the normal name is an alias. */
11368 #if defined __stub_shl_load || defined __stub___shl_load
11375 return shl_load ();
11380 rm -f conftest.
$ac_objext conftest
$ac_exeext
11381 if { (ac_try
="$ac_link"
11382 case "(($ac_try" in
11383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11387 $as_echo "$ac_try_echo") >&5
11388 (eval "$ac_link") 2>conftest.er1
11390 grep -v '^ *+' conftest.er1 >conftest.err
11392 cat conftest.err >&5
11393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && {
11395 test -z "$ac_c_werror_flag" ||
11396 test ! -s conftest.err
11397 } && test -s conftest$ac_exeext && {
11398 test "$cross_compiling" = yes ||
11399 $as_test_x conftest$ac_exeext
11401 ac_cv_func_shl_load=yes
11403 $as_echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11406 ac_cv_func_shl_load=no
11409 rm -rf conftest.dSYM
11410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11411 conftest$ac_exeext conftest.$ac_ext
11413 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11414 $as_echo "$ac_cv_func_shl_load" >&6; }
11415 if test "x$ac_cv_func_shl_load" = x""yes; then
11416 lt_cv_dlopen="shl_load"
11418 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11419 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11420 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11421 $as_echo_n "(cached) " >&6
11423 ac_check_lib_save_LIBS=$LIBS
11425 cat >conftest.$ac_ext <<_ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11442 return shl_load ();
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (ac_try="$ac_link"
11449 case "(($ac_try" in
11450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11451 *) ac_try_echo
=$ac_try;;
11453 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11454 $as_echo "$ac_try_echo") >&5
11455 (eval "$ac_link") 2>conftest.er1
11457 grep -v '^ *+' conftest.er1
>conftest.err
11459 cat conftest.err
>&5
11460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } && {
11462 test -z "$ac_c_werror_flag" ||
11463 test ! -s conftest.err
11464 } && test -s conftest
$ac_exeext && {
11465 test "$cross_compiling" = yes ||
11466 $as_test_x conftest
$ac_exeext
11468 ac_cv_lib_dld_shl_load
=yes
11470 $as_echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_cv_lib_dld_shl_load
=no
11476 rm -rf conftest.dSYM
11477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11478 conftest
$ac_exeext conftest.
$ac_ext
11479 LIBS
=$ac_check_lib_save_LIBS
11481 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11482 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11483 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
11484 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11486 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11487 $as_echo_n "checking for dlopen... " >&6; }
11488 if test "${ac_cv_func_dlopen+set}" = set; then
11489 $as_echo_n "(cached) " >&6
11491 cat >conftest.
$ac_ext <<_ACEOF
11494 cat confdefs.h
>>conftest.
$ac_ext
11495 cat >>conftest.
$ac_ext <<_ACEOF
11496 /* end confdefs.h. */
11497 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11499 #define dlopen innocuous_dlopen
11501 /* System header to define __stub macros and hopefully few prototypes,
11502 which can conflict with char dlopen (); below.
11503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11504 <limits.h> exists even on freestanding compilers. */
11507 # include <limits.h>
11509 # include <assert.h>
11514 /* Override any GCC internal prototype to avoid an error.
11515 Use char because int might match the return type of a GCC
11516 builtin and then its argument prototype would still apply. */
11521 /* The GNU C library defines this for functions which it implements
11522 to always fail with ENOSYS. Some functions are actually named
11523 something starting with __ and the normal name is an alias. */
11524 #if defined __stub_dlopen || defined __stub___dlopen
11536 rm -f conftest.
$ac_objext conftest
$ac_exeext
11537 if { (ac_try
="$ac_link"
11538 case "(($ac_try" in
11539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11540 *) ac_try_echo=$ac_try;;
11542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11543 $as_echo "$ac_try_echo") >&5
11544 (eval "$ac_link") 2>conftest.er1
11546 grep -v '^ *+' conftest.er1 >conftest.err
11548 cat conftest.err >&5
11549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } && {
11551 test -z "$ac_c_werror_flag" ||
11552 test ! -s conftest.err
11553 } && test -s conftest$ac_exeext && {
11554 test "$cross_compiling" = yes ||
11555 $as_test_x conftest$ac_exeext
11557 ac_cv_func_dlopen=yes
11559 $as_echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 ac_cv_func_dlopen=no
11565 rm -rf conftest.dSYM
11566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11567 conftest$ac_exeext conftest.$ac_ext
11569 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11570 $as_echo "$ac_cv_func_dlopen" >&6; }
11571 if test "x$ac_cv_func_dlopen" = x""yes; then
11572 lt_cv_dlopen="dlopen"
11574 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11575 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11576 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11577 $as_echo_n "(cached) " >&6
11579 ac_check_lib_save_LIBS=$LIBS
11581 cat >conftest.$ac_ext <<_ACEOF
11584 cat confdefs.h >>conftest.$ac_ext
11585 cat >>conftest.$ac_ext <<_ACEOF
11586 /* end confdefs.h. */
11588 /* Override any GCC internal prototype to avoid an error.
11589 Use char because int might match the return type of a GCC
11590 builtin and then its argument prototype would still apply. */
11603 rm -f conftest.$ac_objext conftest$ac_exeext
11604 if { (ac_try="$ac_link"
11605 case "(($ac_try" in
11606 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11607 *) ac_try_echo
=$ac_try;;
11609 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11610 $as_echo "$ac_try_echo") >&5
11611 (eval "$ac_link") 2>conftest.er1
11613 grep -v '^ *+' conftest.er1
>conftest.err
11615 cat conftest.err
>&5
11616 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } && {
11618 test -z "$ac_c_werror_flag" ||
11619 test ! -s conftest.err
11620 } && test -s conftest
$ac_exeext && {
11621 test "$cross_compiling" = yes ||
11622 $as_test_x conftest
$ac_exeext
11624 ac_cv_lib_dl_dlopen
=yes
11626 $as_echo "$as_me: failed program was:" >&5
11627 sed 's/^/| /' conftest.
$ac_ext >&5
11629 ac_cv_lib_dl_dlopen
=no
11632 rm -rf conftest.dSYM
11633 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11634 conftest
$ac_exeext conftest.
$ac_ext
11635 LIBS
=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11638 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11639 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
11640 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11642 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11643 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11644 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11645 $as_echo_n "(cached) " >&6
11647 ac_check_lib_save_LIBS
=$LIBS
11648 LIBS
="-lsvld $LIBS"
11649 cat >conftest.
$ac_ext <<_ACEOF
11652 cat confdefs.h
>>conftest.
$ac_ext
11653 cat >>conftest.
$ac_ext <<_ACEOF
11654 /* end confdefs.h. */
11656 /* Override any GCC internal prototype to avoid an error.
11657 Use char because int might match the return type of a GCC
11658 builtin and then its argument prototype would still apply. */
11671 rm -f conftest.
$ac_objext conftest
$ac_exeext
11672 if { (ac_try
="$ac_link"
11673 case "(($ac_try" in
11674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11675 *) ac_try_echo=$ac_try;;
11677 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11678 $as_echo "$ac_try_echo") >&5
11679 (eval "$ac_link") 2>conftest.er1
11681 grep -v '^ *+' conftest.er1 >conftest.err
11683 cat conftest.err >&5
11684 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685 (exit $ac_status); } && {
11686 test -z "$ac_c_werror_flag" ||
11687 test ! -s conftest.err
11688 } && test -s conftest$ac_exeext && {
11689 test "$cross_compiling" = yes ||
11690 $as_test_x conftest$ac_exeext
11692 ac_cv_lib_svld_dlopen=yes
11694 $as_echo "$as_me: failed program was:" >&5
11695 sed 's/^/| /' conftest.$ac_ext >&5
11697 ac_cv_lib_svld_dlopen=no
11700 rm -rf conftest.dSYM
11701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11702 conftest$ac_exeext conftest.$ac_ext
11703 LIBS=$ac_check_lib_save_LIBS
11705 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11706 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11707 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11708 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11710 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11711 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11712 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11713 $as_echo_n "(cached) " >&6
11715 ac_check_lib_save_LIBS=$LIBS
11717 cat >conftest.$ac_ext <<_ACEOF
11720 cat confdefs.h >>conftest.$ac_ext
11721 cat >>conftest.$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11724 /* Override any GCC internal prototype to avoid an error.
11725 Use char because int might match the return type of a GCC
11726 builtin and then its argument prototype would still apply. */
11734 return dld_link ();
11739 rm -f conftest.$ac_objext conftest$ac_exeext
11740 if { (ac_try="$ac_link"
11741 case "(($ac_try" in
11742 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11743 *) ac_try_echo
=$ac_try;;
11745 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11746 $as_echo "$ac_try_echo") >&5
11747 (eval "$ac_link") 2>conftest.er1
11749 grep -v '^ *+' conftest.er1
>conftest.err
11751 cat conftest.err
>&5
11752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11753 (exit $ac_status); } && {
11754 test -z "$ac_c_werror_flag" ||
11755 test ! -s conftest.err
11756 } && test -s conftest
$ac_exeext && {
11757 test "$cross_compiling" = yes ||
11758 $as_test_x conftest
$ac_exeext
11760 ac_cv_lib_dld_dld_link
=yes
11762 $as_echo "$as_me: failed program was:" >&5
11763 sed 's/^/| /' conftest.
$ac_ext >&5
11765 ac_cv_lib_dld_dld_link
=no
11768 rm -rf conftest.dSYM
11769 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11770 conftest
$ac_exeext conftest.
$ac_ext
11771 LIBS
=$ac_check_lib_save_LIBS
11773 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11774 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11775 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
11776 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11797 if test "x$lt_cv_dlopen" != xno
; then
11803 case $lt_cv_dlopen in
11805 save_CPPFLAGS
="$CPPFLAGS"
11806 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11808 save_LDFLAGS
="$LDFLAGS"
11809 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11812 LIBS
="$lt_cv_dlopen_libs $LIBS"
11814 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11815 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11816 if test "${lt_cv_dlopen_self+set}" = set; then
11817 $as_echo_n "(cached) " >&6
11819 if test "$cross_compiling" = yes; then :
11820 lt_cv_dlopen_self
=cross
11822 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11823 lt_status
=$lt_dlunknown
11824 cat > conftest.
$ac_ext <<_LT_EOF
11825 #line 11825 "configure"
11826 #include "confdefs.h"
11835 # define LT_DLGLOBAL RTLD_GLOBAL
11838 # define LT_DLGLOBAL DL_GLOBAL
11840 # define LT_DLGLOBAL 0
11844 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11845 find out it does not work in some platform. */
11846 #ifndef LT_DLLAZY_OR_NOW
11848 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11851 # define LT_DLLAZY_OR_NOW DL_LAZY
11854 # define LT_DLLAZY_OR_NOW RTLD_NOW
11857 # define LT_DLLAZY_OR_NOW DL_NOW
11859 # define LT_DLLAZY_OR_NOW 0
11866 void fnord() { int i=42;}
11869 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11870 int status = $lt_dlunknown;
11874 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11875 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11876 /* dlclose (self); */
11884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11885 (eval $ac_link) 2>&5
11887 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11889 (.
/conftest
; exit; ) >&5 2>/dev
/null
11891 case x
$lt_status in
11892 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11893 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11894 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11897 # compilation failed
11898 lt_cv_dlopen_self
=no
11905 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11906 $as_echo "$lt_cv_dlopen_self" >&6; }
11908 if test "x$lt_cv_dlopen_self" = xyes
; then
11909 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11910 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11911 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11912 if test "${lt_cv_dlopen_self_static+set}" = set; then
11913 $as_echo_n "(cached) " >&6
11915 if test "$cross_compiling" = yes; then :
11916 lt_cv_dlopen_self_static
=cross
11918 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11919 lt_status
=$lt_dlunknown
11920 cat > conftest.
$ac_ext <<_LT_EOF
11921 #line 11921 "configure"
11922 #include "confdefs.h"
11931 # define LT_DLGLOBAL RTLD_GLOBAL
11934 # define LT_DLGLOBAL DL_GLOBAL
11936 # define LT_DLGLOBAL 0
11940 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11941 find out it does not work in some platform. */
11942 #ifndef LT_DLLAZY_OR_NOW
11944 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11947 # define LT_DLLAZY_OR_NOW DL_LAZY
11950 # define LT_DLLAZY_OR_NOW RTLD_NOW
11953 # define LT_DLLAZY_OR_NOW DL_NOW
11955 # define LT_DLLAZY_OR_NOW 0
11962 void fnord() { int i=42;}
11965 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11966 int status = $lt_dlunknown;
11970 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11971 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11972 /* dlclose (self); */
11980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11981 (eval $ac_link) 2>&5
11983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11985 (.
/conftest
; exit; ) >&5 2>/dev
/null
11987 case x
$lt_status in
11988 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11989 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11990 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11993 # compilation failed
11994 lt_cv_dlopen_self_static
=no
12001 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12002 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12005 CPPFLAGS
="$save_CPPFLAGS"
12006 LDFLAGS
="$save_LDFLAGS"
12011 case $lt_cv_dlopen_self in
12012 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12013 *) enable_dlopen_self
=unknown
;;
12016 case $lt_cv_dlopen_self_static in
12017 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12018 *) enable_dlopen_self_static
=unknown
;;
12040 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12041 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12042 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12043 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12044 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12045 { $as_echo "$as_me:$LINENO: result: yes" >&5
12046 $as_echo "yes" >&6; }
12048 # FIXME - insert some real tests, host_os isn't really good enough
12051 if test -n "$STRIP" ; then
12052 striplib
="$STRIP -x"
12053 old_striplib
="$STRIP -S"
12054 { $as_echo "$as_me:$LINENO: result: yes" >&5
12055 $as_echo "yes" >&6; }
12057 { $as_echo "$as_me:$LINENO: result: no" >&5
12058 $as_echo "no" >&6; }
12062 { $as_echo "$as_me:$LINENO: result: no" >&5
12063 $as_echo "no" >&6; }
12079 # Report which library types will actually be built
12080 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12081 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12082 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12083 $as_echo "$can_build_shared" >&6; }
12085 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12086 $as_echo_n "checking whether to build shared libraries... " >&6; }
12087 test "$can_build_shared" = "no" && enable_shared
=no
12089 # On AIX, shared libraries and static libraries use the same namespace, and
12090 # are all built from PIC.
12093 test "$enable_shared" = yes && enable_static
=no
12094 if test -n "$RANLIB"; then
12095 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12096 postinstall_cmds
='$RANLIB $lib'
12101 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12102 test "$enable_shared" = yes && enable_static
=no
12106 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12107 $as_echo "$enable_shared" >&6; }
12109 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12110 $as_echo_n "checking whether to build static libraries... " >&6; }
12111 # Make sure either enable_shared or enable_static is yes.
12112 test "$enable_shared" = yes || enable_static
=yes
12113 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12114 $as_echo "$enable_static" >&6; }
12121 ac_cpp
='$CPP $CPPFLAGS'
12122 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12123 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12124 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12140 ac_config_commands
="$ac_config_commands libtool"
12145 # Only expand once:
12149 VERSION_SCRIPT_FLAGS
=
12150 $
(/usr
/bin
/ld
--help 2>&1 |
grep -- --version-script >/dev
/null
) && \
12151 VERSION_SCRIPT_FLAGS
=-Wl,--version-script=
12152 test "`uname`" == "SunOS" && \
12153 VERSION_SCRIPT_FLAGS
="-Wl,-M -Wl,"
12155 if test -n "$VERSION_SCRIPT_FLAGS"; then
12156 USE_VERSION_SCRIPT_TRUE
=
12157 USE_VERSION_SCRIPT_FALSE
='#'
12159 USE_VERSION_SCRIPT_TRUE
='#'
12160 USE_VERSION_SCRIPT_FALSE
=
12165 _cppflags
="${CPPFLAGS}"
12166 _ldflags
="${LDFLAGS}"
12169 # Check whether --with-c14n was given.
12170 if test "${with_c14n+set}" = set; then
12171 withval
=$with_c14n;
12175 # Check whether --with-catalog was given.
12176 if test "${with_catalog+set}" = set; then
12177 withval
=$with_catalog;
12181 # Check whether --with-debug was given.
12182 if test "${with_debug+set}" = set; then
12183 withval
=$with_debug;
12187 # Check whether --with-docbook was given.
12188 if test "${with_docbook+set}" = set; then
12189 withval
=$with_docbook;
12193 # Check whether --with-fexceptions was given.
12194 if test "${with_fexceptions+set}" = set; then
12195 withval
=$with_fexceptions;
12199 # Check whether --with-ftp was given.
12200 if test "${with_ftp+set}" = set; then
12205 # Check whether --with-history was given.
12206 if test "${with_history+set}" = set; then
12207 withval
=$with_history;
12211 # Check whether --with-html was given.
12212 if test "${with_html+set}" = set; then
12213 withval
=$with_html;
12217 # Check whether --with-html-dir was given.
12218 if test "${with_html_dir+set}" = set; then
12219 withval
=$with_html_dir; HTML_DIR
=$withval
12221 HTML_DIR
='$(datadir)/doc'
12226 # Check whether --with-html-subdir was given.
12227 if test "${with_html_subdir+set}" = set; then
12228 withval
=$with_html_subdir; test "x$withval" != "x" && HTML_DIR
="$HTML_DIR/$withval"
12230 HTML_DIR
="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
12235 # Check whether --with-http was given.
12236 if test "${with_http+set}" = set; then
12237 withval
=$with_http;
12241 # Check whether --with-iconv was given.
12242 if test "${with_iconv+set}" = set; then
12243 withval
=$with_iconv;
12247 # Check whether --with-iso8859x was given.
12248 if test "${with_iso8859x+set}" = set; then
12249 withval
=$with_iso8859x;
12253 # Check whether --with-legacy was given.
12254 if test "${with_legacy+set}" = set; then
12255 withval
=$with_legacy;
12259 # Check whether --with-mem_debug was given.
12260 if test "${with_mem_debug+set}" = set; then
12261 withval
=$with_mem_debug;
12265 # Check whether --with-minimum was given.
12266 if test "${with_minimum+set}" = set; then
12267 withval
=$with_minimum;
12271 # Check whether --with-output was given.
12272 if test "${with_output+set}" = set; then
12273 withval
=$with_output;
12277 # Check whether --with-pattern was given.
12278 if test "${with_pattern+set}" = set; then
12279 withval
=$with_pattern;
12283 # Check whether --with-push was given.
12284 if test "${with_push+set}" = set; then
12285 withval
=$with_push;
12289 # Check whether --with-python was given.
12290 if test "${with_python+set}" = set; then
12291 withval
=$with_python;
12295 # Check whether --with-reader was given.
12296 if test "${with_reader+set}" = set; then
12297 withval
=$with_reader;
12301 # Check whether --with-readline was given.
12302 if test "${with_readline+set}" = set; then
12303 withval
=$with_readline;
12304 if test "$withval" != "no" -a "$withval" != "yes"; then
12306 CPPFLAGS
="${CPPFLAGS} -I$withval/include"
12307 LDFLAGS
="${LDFLAGS} -L$withval/lib"
12313 # Check whether --with-regexps was given.
12314 if test "${with_regexps+set}" = set; then
12315 withval
=$with_regexps;
12319 # Check whether --with-run_debug was given.
12320 if test "${with_run_debug+set}" = set; then
12321 withval
=$with_run_debug;
12325 # Check whether --with-sax1 was given.
12326 if test "${with_sax1+set}" = set; then
12327 withval
=$with_sax1;
12331 # Check whether --with-schemas was given.
12332 if test "${with_schemas+set}" = set; then
12333 withval
=$with_schemas;
12337 # Check whether --with-schematron was given.
12338 if test "${with_schematron+set}" = set; then
12339 withval
=$with_schematron;
12343 # Check whether --with-threads was given.
12344 if test "${with_threads+set}" = set; then
12345 withval
=$with_threads;
12349 # Check whether --with-thread-alloc was given.
12350 if test "${with_thread_alloc+set}" = set; then
12351 withval
=$with_thread_alloc;
12355 # Check whether --with-tree was given.
12356 if test "${with_tree+set}" = set; then
12357 withval
=$with_tree;
12361 # Check whether --with-valid was given.
12362 if test "${with_valid+set}" = set; then
12363 withval
=$with_valid;
12367 # Check whether --with-writer was given.
12368 if test "${with_writer+set}" = set; then
12369 withval
=$with_writer;
12373 # Check whether --with-xinclude was given.
12374 if test "${with_xinclude+set}" = set; then
12375 withval
=$with_xinclude;
12379 # Check whether --with-xpath was given.
12380 if test "${with_xpath+set}" = set; then
12381 withval
=$with_xpath;
12385 # Check whether --with-xptr was given.
12386 if test "${with_xptr+set}" = set; then
12387 withval
=$with_xptr;
12391 # Check whether --with-modules was given.
12392 if test "${with_modules+set}" = set; then
12393 withval
=$with_modules;
12397 # Check whether --with-zlib was given.
12398 if test "${with_zlib+set}" = set; then
12399 withval
=$with_zlib;
12400 if test "$withval" != "no" -a "$withval" != "yes"; then
12402 CPPFLAGS
="${CPPFLAGS} -I$withval/include"
12403 LDFLAGS
="${LDFLAGS} -L$withval/lib"
12409 # Check whether --with-coverage was given.
12410 if test "${with_coverage+set}" = set; then
12411 withval
=$with_coverage;
12415 # Check whether --enable-rebuild-docs was given.
12416 if test "${enable_rebuild_docs+set}" = set; then
12417 enableval
=$enable_rebuild_docs;
12420 if test "$enable_rebuild_docs" = "no"; then
12422 REBUILD_DOCS_FALSE
='#'
12424 REBUILD_DOCS_TRUE
='#'
12425 REBUILD_DOCS_FALSE
=
12429 if test "$with_schemas" = "yes"
12434 if test "$with_schematron" = "yes"
12439 if test "$with_reader" = "yes"
12443 if test "$with_xptr" = "yes"
12447 if test "$with_minimum" = "yes"
12449 echo "Configuring for a minimal library"
12450 if test "$with_c14n" = ""
12454 if test "$with_catalog" = ""
12458 echo So far so good
!
12459 if test "$with_debug" = ""
12463 if test "$with_docbook" = ""
12467 if test "$with_fexceptions" = ""
12469 with_fexceptions
=no
12471 if test "$with_ftp" = ""
12475 if test "$with_history" = ""
12479 if test "$with_html" = ""
12483 if test "$with_http" = ""
12487 if test "$with_iconv" = ""
12491 if test "$with_iso8859x" = ""
12495 if test "$with_legacy" = ""
12499 if test "$with_mem_debug" = ""
12503 if test "$with_output" = ""
12507 if test "$with_pattern" = ""
12511 if test "$with_push" = ""
12515 if test "$with_python" = ""
12519 if test "$with_reader" = ""
12523 if test "$with_readline" = ""
12527 if test "$with_regexps" = ""
12531 if test "$with_run_debug" = ""
12535 if test "$with_sax1" = ""
12539 if test "$with_schemas" = ""
12543 if test "$with_schematron" = ""
12547 if test "$with_threads" = ""
12551 if test "$with_thread_alloc" = ""
12553 with_thread_alloc
=no
12555 if test "$with_tree" = ""
12559 if test "$with_valid" = ""
12563 if test "$with_writer" = ""
12567 if test "$with_xinclude" = ""
12571 if test "$with_xpath" = ""
12575 if test "$with_xptr" = ""
12579 if test "$with_zlib" = ""
12583 if test "$with_modules" = ""
12593 if test "$with_zlib" = "no"; then
12594 echo "Disabling compression support"
12597 for ac_header
in zlib.h
12599 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12600 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12601 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12602 $as_echo_n "checking for $ac_header... " >&6; }
12603 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12604 $as_echo_n "(cached) " >&6
12606 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12607 $as_echo "$as_val"'`
12608 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12609 $as_echo "$ac_res" >&6; }
12611 # Is the header compilable?
12612 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12613 $as_echo_n "checking $ac_header usability... " >&6; }
12614 cat >conftest.
$ac_ext <<_ACEOF
12617 cat confdefs.h
>>conftest.
$ac_ext
12618 cat >>conftest.
$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 $ac_includes_default
12621 #include <$ac_header>
12623 rm -f conftest.
$ac_objext
12624 if { (ac_try
="$ac_compile"
12625 case "(($ac_try" in
12626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12627 *) ac_try_echo=$ac_try;;
12629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12630 $as_echo "$ac_try_echo") >&5
12631 (eval "$ac_compile") 2>conftest.er1
12633 grep -v '^ *+' conftest.er1 >conftest.err
12635 cat conftest.err >&5
12636 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12637 (exit $ac_status); } && {
12638 test -z "$ac_c_werror_flag" ||
12639 test ! -s conftest.err
12640 } && test -s conftest.$ac_objext; then
12641 ac_header_compiler=yes
12643 $as_echo "$as_me: failed program was:" >&5
12644 sed 's/^/| /' conftest.$ac_ext >&5
12646 ac_header_compiler=no
12649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12650 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12651 $as_echo "$ac_header_compiler" >&6; }
12653 # Is the header present?
12654 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12655 $as_echo_n "checking $ac_header presence... " >&6; }
12656 cat >conftest.$ac_ext <<_ACEOF
12659 cat confdefs.h >>conftest.$ac_ext
12660 cat >>conftest.$ac_ext <<_ACEOF
12661 /* end confdefs.h. */
12662 #include <$ac_header>
12664 if { (ac_try="$ac_cpp conftest.$ac_ext"
12665 case "(($ac_try" in
12666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12667 *) ac_try_echo
=$ac_try;;
12669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12670 $as_echo "$ac_try_echo") >&5
12671 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } >/dev
/null
&& {
12678 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12679 test ! -s conftest.err
12681 ac_header_preproc
=yes
12683 $as_echo "$as_me: failed program was:" >&5
12684 sed 's/^/| /' conftest.
$ac_ext >&5
12686 ac_header_preproc
=no
12689 rm -f conftest.err conftest.
$ac_ext
12690 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12691 $as_echo "$ac_header_preproc" >&6; }
12693 # So? What about this header?
12694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12697 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12700 ac_header_preproc
=yes
12703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12704 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12706 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12708 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12709 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12710 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12711 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12712 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12713 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12714 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12718 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12719 $as_echo_n "checking for $ac_header... " >&6; }
12720 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12721 $as_echo_n "(cached) " >&6
12723 eval "$as_ac_Header=\$ac_header_preproc"
12725 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12726 $as_echo "$as_val"'`
12727 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12728 $as_echo "$ac_res" >&6; }
12731 as_val
=`eval 'as_val=${'$as_ac_Header'}
12732 $as_echo "$as_val"'`
12733 if test "x$as_val" = x
""yes; then
12734 cat >>confdefs.h
<<_ACEOF
12735 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12737 { $as_echo "$as_me:$LINENO: checking for gzread in -lz" >&5
12738 $as_echo_n "checking for gzread in -lz... " >&6; }
12739 if test "${ac_cv_lib_z_gzread+set}" = set; then
12740 $as_echo_n "(cached) " >&6
12742 ac_check_lib_save_LIBS
=$LIBS
12744 cat >conftest.
$ac_ext <<_ACEOF
12747 cat confdefs.h
>>conftest.
$ac_ext
12748 cat >>conftest.
$ac_ext <<_ACEOF
12749 /* end confdefs.h. */
12751 /* Override any GCC internal prototype to avoid an error.
12752 Use char because int might match the return type of a GCC
12753 builtin and then its argument prototype would still apply. */
12766 rm -f conftest.
$ac_objext conftest
$ac_exeext
12767 if { (ac_try
="$ac_link"
12768 case "(($ac_try" in
12769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12772 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12773 $as_echo "$ac_try_echo") >&5
12774 (eval "$ac_link") 2>conftest.er1
12776 grep -v '^ *+' conftest.er1 >conftest.err
12778 cat conftest.err >&5
12779 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); } && {
12781 test -z "$ac_c_werror_flag" ||
12782 test ! -s conftest.err
12783 } && test -s conftest$ac_exeext && {
12784 test "$cross_compiling" = yes ||
12785 $as_test_x conftest$ac_exeext
12787 ac_cv_lib_z_gzread=yes
12789 $as_echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.$ac_ext >&5
12792 ac_cv_lib_z_gzread=no
12795 rm -rf conftest.dSYM
12796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12797 conftest$ac_exeext conftest.$ac_ext
12798 LIBS=$ac_check_lib_save_LIBS
12800 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
12801 $as_echo "$ac_cv_lib_z_gzread" >&6; }
12802 if test "x$ac_cv_lib_z_gzread" = x""yes; then
12805 cat >>confdefs.h <<\_ACEOF
12806 #define HAVE_LIBZ 1
12810 if test "x${Z_DIR}" != "x"; then
12811 Z_CFLAGS="-I${Z_DIR}/include"
12812 Z_LIBS="-L${Z_DIR}/lib -lz"
12815 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
12833 CPPFLAGS=${_cppflags}
12834 LDFLAGS=${_ldflags}
12836 echo Checking headers
12843 ac_header_dirent=no
12844 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12845 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
12846 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
12847 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12849 $as_echo_n "(cached) " >&6
12851 cat >conftest.$ac_ext <<_ACEOF
12854 cat confdefs.h >>conftest.$ac_ext
12855 cat >>conftest.$ac_ext <<_ACEOF
12856 /* end confdefs.h. */
12857 #include <sys/types.h>
12869 rm -f conftest.$ac_objext
12870 if { (ac_try="$ac_compile"
12871 case "(($ac_try" in
12872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12873 *) ac_try_echo
=$ac_try;;
12875 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12876 $as_echo "$ac_try_echo") >&5
12877 (eval "$ac_compile") 2>conftest.er1
12879 grep -v '^ *+' conftest.er1
>conftest.err
12881 cat conftest.err
>&5
12882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12883 (exit $ac_status); } && {
12884 test -z "$ac_c_werror_flag" ||
12885 test ! -s conftest.err
12886 } && test -s conftest.
$ac_objext; then
12887 eval "$as_ac_Header=yes"
12889 $as_echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.
$ac_ext >&5
12892 eval "$as_ac_Header=no"
12895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12897 ac_res
=`eval 'as_val=${'$as_ac_Header'}
12898 $as_echo "$as_val"'`
12899 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12900 $as_echo "$ac_res" >&6; }
12901 as_val
=`eval 'as_val=${'$as_ac_Header'}
12902 $as_echo "$as_val"'`
12903 if test "x$as_val" = x
""yes; then
12904 cat >>confdefs.h
<<_ACEOF
12905 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12908 ac_header_dirent
=$ac_hdr; break
12912 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12913 if test $ac_header_dirent = dirent.h
; then
12914 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
12915 $as_echo_n "checking for library containing opendir... " >&6; }
12916 if test "${ac_cv_search_opendir+set}" = set; then
12917 $as_echo_n "(cached) " >&6
12919 ac_func_search_save_LIBS
=$LIBS
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12942 for ac_lib
in '' dir
; do
12943 if test -z "$ac_lib"; then
12944 ac_res
="none required"
12947 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12949 rm -f conftest.
$ac_objext conftest
$ac_exeext
12950 if { (ac_try
="$ac_link"
12951 case "(($ac_try" in
12952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12953 *) ac_try_echo=$ac_try;;
12955 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12956 $as_echo "$ac_try_echo") >&5
12957 (eval "$ac_link") 2>conftest.er1
12959 grep -v '^ *+' conftest.er1 >conftest.err
12961 cat conftest.err >&5
12962 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); } && {
12964 test -z "$ac_c_werror_flag" ||
12965 test ! -s conftest.err
12966 } && test -s conftest$ac_exeext && {
12967 test "$cross_compiling" = yes ||
12968 $as_test_x conftest$ac_exeext
12970 ac_cv_search_opendir=$ac_res
12972 $as_echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12978 rm -rf conftest.dSYM
12979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12981 if test "${ac_cv_search_opendir+set}" = set; then
12985 if test "${ac_cv_search_opendir+set}" = set; then
12988 ac_cv_search_opendir=no
12990 rm conftest.$ac_ext
12991 LIBS=$ac_func_search_save_LIBS
12993 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
12994 $as_echo "$ac_cv_search_opendir" >&6; }
12995 ac_res=$ac_cv_search_opendir
12996 if test "$ac_res" != no; then
12997 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13002 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
13003 $as_echo_n "checking for library containing opendir... " >&6; }
13004 if test "${ac_cv_search_opendir+set}" = set; then
13005 $as_echo_n "(cached) " >&6
13007 ac_func_search_save_LIBS=$LIBS
13008 cat >conftest.$ac_ext <<_ACEOF
13011 cat confdefs.h >>conftest.$ac_ext
13012 cat >>conftest.$ac_ext <<_ACEOF
13013 /* end confdefs.h. */
13015 /* Override any GCC internal prototype to avoid an error.
13016 Use char because int might match the return type of a GCC
13017 builtin and then its argument prototype would still apply. */
13030 for ac_lib in '' x; do
13031 if test -z "$ac_lib"; then
13032 ac_res="none required"
13035 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13037 rm -f conftest.$ac_objext conftest$ac_exeext
13038 if { (ac_try="$ac_link"
13039 case "(($ac_try" in
13040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13041 *) ac_try_echo
=$ac_try;;
13043 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13044 $as_echo "$ac_try_echo") >&5
13045 (eval "$ac_link") 2>conftest.er1
13047 grep -v '^ *+' conftest.er1
>conftest.err
13049 cat conftest.err
>&5
13050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); } && {
13052 test -z "$ac_c_werror_flag" ||
13053 test ! -s conftest.err
13054 } && test -s conftest
$ac_exeext && {
13055 test "$cross_compiling" = yes ||
13056 $as_test_x conftest
$ac_exeext
13058 ac_cv_search_opendir
=$ac_res
13060 $as_echo "$as_me: failed program was:" >&5
13061 sed 's/^/| /' conftest.
$ac_ext >&5
13066 rm -rf conftest.dSYM
13067 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13069 if test "${ac_cv_search_opendir+set}" = set; then
13073 if test "${ac_cv_search_opendir+set}" = set; then
13076 ac_cv_search_opendir
=no
13078 rm conftest.
$ac_ext
13079 LIBS
=$ac_func_search_save_LIBS
13081 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
13082 $as_echo "$ac_cv_search_opendir" >&6; }
13083 ac_res
=$ac_cv_search_opendir
13084 if test "$ac_res" != no
; then
13085 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13091 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13092 $as_echo_n "checking for ANSI C header files... " >&6; }
13093 if test "${ac_cv_header_stdc+set}" = set; then
13094 $as_echo_n "(cached) " >&6
13096 cat >conftest.
$ac_ext <<_ACEOF
13099 cat confdefs.h
>>conftest.
$ac_ext
13100 cat >>conftest.
$ac_ext <<_ACEOF
13101 /* end confdefs.h. */
13102 #include <stdlib.h>
13103 #include <stdarg.h>
13104 #include <string.h>
13115 rm -f conftest.
$ac_objext
13116 if { (ac_try
="$ac_compile"
13117 case "(($ac_try" in
13118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13119 *) ac_try_echo=$ac_try;;
13121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13122 $as_echo "$ac_try_echo") >&5
13123 (eval "$ac_compile") 2>conftest.er1
13125 grep -v '^ *+' conftest.er1 >conftest.err
13127 cat conftest.err >&5
13128 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); } && {
13130 test -z "$ac_c_werror_flag" ||
13131 test ! -s conftest.err
13132 } && test -s conftest.$ac_objext; then
13133 ac_cv_header_stdc=yes
13135 $as_echo "$as_me: failed program was:" >&5
13136 sed 's/^/| /' conftest.$ac_ext >&5
13138 ac_cv_header_stdc=no
13141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13143 if test $ac_cv_header_stdc = yes; then
13144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13145 cat >conftest.$ac_ext <<_ACEOF
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13151 #include <string.h>
13154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13155 $EGREP "memchr" >/dev/null 2>&1; then
13158 ac_cv_header_stdc=no
13164 if test $ac_cv_header_stdc = yes; then
13165 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13166 cat >conftest.$ac_ext <<_ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13172 #include <stdlib.h>
13175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13176 $EGREP "free" >/dev/null 2>&1; then
13179 ac_cv_header_stdc=no
13185 if test $ac_cv_header_stdc = yes; then
13186 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13187 if test "$cross_compiling" = yes; then
13190 cat >conftest.$ac_ext <<_ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13197 #include <stdlib.h>
13198 #if ((' ' & 0x0FF) == 0x020)
13199 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13200 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13202 # define ISLOWER(c) \
13203 (('a' <= (c) && (c) <= 'i') \
13204 || ('j' <= (c) && (c) <= 'r') \
13205 || ('s' <= (c) && (c) <= 'z'))
13206 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13209 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13214 for (i = 0; i < 256; i++)
13215 if (XOR (islower (i), ISLOWER (i))
13216 || toupper (i) != TOUPPER (i))
13221 rm -f conftest$ac_exeext
13222 if { (ac_try="$ac_link"
13223 case "(($ac_try" in
13224 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13225 *) ac_try_echo
=$ac_try;;
13227 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13228 $as_echo "$ac_try_echo") >&5
13229 (eval "$ac_link") 2>&5
13231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13233 { (case "(($ac_try" in
13234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13235 *) ac_try_echo=$ac_try;;
13237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13238 $as_echo "$ac_try_echo") >&5
13239 (eval "$ac_try") 2>&5
13241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; }; then
13245 $as_echo "$as_me: program exited with status $ac_status" >&5
13246 $as_echo "$as_me: failed program was:" >&5
13247 sed 's/^/| /' conftest.$ac_ext >&5
13249 ( exit $ac_status )
13250 ac_cv_header_stdc=no
13252 rm -rf conftest.dSYM
13253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13259 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
13260 $as_echo "$ac_cv_header_stdc" >&6; }
13261 if test $ac_cv_header_stdc = yes; then
13263 cat >>confdefs.h <<\_ACEOF
13264 #define STDC_HEADERS 1
13270 for ac_header in fcntl.h
13272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13273 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13274 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13275 $as_echo_n "checking for $ac_header... " >&6; }
13276 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13277 $as_echo_n "(cached) " >&6
13279 ac_res=`eval 'as_val=${'$as_ac_Header'}
13280 $as_echo "$as_val"'`
13281 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13282 $as_echo "$ac_res" >&6; }
13284 # Is the header compilable?
13285 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13286 $as_echo_n "checking $ac_header usability... " >&6; }
13287 cat >conftest.$ac_ext <<_ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13293 $ac_includes_default
13294 #include <$ac_header>
13296 rm -f conftest.$ac_objext
13297 if { (ac_try="$ac_compile"
13298 case "(($ac_try" in
13299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13300 *) ac_try_echo
=$ac_try;;
13302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13303 $as_echo "$ac_try_echo") >&5
13304 (eval "$ac_compile") 2>conftest.er1
13306 grep -v '^ *+' conftest.er1
>conftest.err
13308 cat conftest.err
>&5
13309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13310 (exit $ac_status); } && {
13311 test -z "$ac_c_werror_flag" ||
13312 test ! -s conftest.err
13313 } && test -s conftest.
$ac_objext; then
13314 ac_header_compiler
=yes
13316 $as_echo "$as_me: failed program was:" >&5
13317 sed 's/^/| /' conftest.
$ac_ext >&5
13319 ac_header_compiler
=no
13322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13323 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13324 $as_echo "$ac_header_compiler" >&6; }
13326 # Is the header present?
13327 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13328 $as_echo_n "checking $ac_header presence... " >&6; }
13329 cat >conftest.
$ac_ext <<_ACEOF
13332 cat confdefs.h
>>conftest.
$ac_ext
13333 cat >>conftest.
$ac_ext <<_ACEOF
13334 /* end confdefs.h. */
13335 #include <$ac_header>
13337 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13338 case "(($ac_try" in
13339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13340 *) ac_try_echo=$ac_try;;
13342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13343 $as_echo "$ac_try_echo") >&5
13344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13346 grep -v '^ *+' conftest.er1 >conftest.err
13348 cat conftest.err >&5
13349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13350 (exit $ac_status); } >/dev/null && {
13351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13352 test ! -s conftest.err
13354 ac_header_preproc=yes
13356 $as_echo "$as_me: failed program was:" >&5
13357 sed 's/^/| /' conftest.$ac_ext >&5
13359 ac_header_preproc=no
13362 rm -f conftest.err conftest.$ac_ext
13363 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13364 $as_echo "$ac_header_preproc" >&6; }
13366 # So? What about this header?
13367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13370 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13372 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13373 ac_header_preproc=yes
13376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13377 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13379 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13381 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13382 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13383 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13384 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13385 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13386 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13387 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13391 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13392 $as_echo_n "checking for $ac_header... " >&6; }
13393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13394 $as_echo_n "(cached) " >&6
13396 eval "$as_ac_Header=\$ac_header_preproc"
13398 ac_res=`eval 'as_val=${'$as_ac_Header'}
13399 $as_echo "$as_val"'`
13400 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13401 $as_echo "$ac_res" >&6; }
13404 as_val=`eval 'as_val=${'$as_ac_Header'}
13405 $as_echo "$as_val"'`
13406 if test "x$as_val" = x""yes; then
13407 cat >>confdefs.h <<_ACEOF
13408 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13416 for ac_header in unistd.h
13418 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13420 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13421 $as_echo_n "checking for $ac_header... " >&6; }
13422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13423 $as_echo_n "(cached) " >&6
13425 ac_res=`eval 'as_val=${'$as_ac_Header'}
13426 $as_echo "$as_val"'`
13427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13428 $as_echo "$ac_res" >&6; }
13430 # Is the header compilable?
13431 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13432 $as_echo_n "checking $ac_header usability... " >&6; }
13433 cat >conftest.$ac_ext <<_ACEOF
13436 cat confdefs.h >>conftest.$ac_ext
13437 cat >>conftest.$ac_ext <<_ACEOF
13438 /* end confdefs.h. */
13439 $ac_includes_default
13440 #include <$ac_header>
13442 rm -f conftest.$ac_objext
13443 if { (ac_try="$ac_compile"
13444 case "(($ac_try" in
13445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13446 *) ac_try_echo
=$ac_try;;
13448 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13449 $as_echo "$ac_try_echo") >&5
13450 (eval "$ac_compile") 2>conftest.er1
13452 grep -v '^ *+' conftest.er1
>conftest.err
13454 cat conftest.err
>&5
13455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); } && {
13457 test -z "$ac_c_werror_flag" ||
13458 test ! -s conftest.err
13459 } && test -s conftest.
$ac_objext; then
13460 ac_header_compiler
=yes
13462 $as_echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.
$ac_ext >&5
13465 ac_header_compiler
=no
13468 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13469 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13470 $as_echo "$ac_header_compiler" >&6; }
13472 # Is the header present?
13473 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13474 $as_echo_n "checking $ac_header presence... " >&6; }
13475 cat >conftest.
$ac_ext <<_ACEOF
13478 cat confdefs.h
>>conftest.
$ac_ext
13479 cat >>conftest.
$ac_ext <<_ACEOF
13480 /* end confdefs.h. */
13481 #include <$ac_header>
13483 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13484 case "(($ac_try" in
13485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13486 *) ac_try_echo=$ac_try;;
13488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13489 $as_echo "$ac_try_echo") >&5
13490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13492 grep -v '^ *+' conftest.er1 >conftest.err
13494 cat conftest.err >&5
13495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); } >/dev/null && {
13497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13498 test ! -s conftest.err
13500 ac_header_preproc=yes
13502 $as_echo "$as_me: failed program was:" >&5
13503 sed 's/^/| /' conftest.$ac_ext >&5
13505 ac_header_preproc=no
13508 rm -f conftest.err conftest.$ac_ext
13509 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13510 $as_echo "$ac_header_preproc" >&6; }
13512 # So? What about this header?
13513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13515 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13516 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13517 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13518 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13519 ac_header_preproc=yes
13522 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13523 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13524 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13525 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13526 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13527 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13528 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13529 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13530 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13531 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13532 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13533 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13537 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13538 $as_echo_n "checking for $ac_header... " >&6; }
13539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13540 $as_echo_n "(cached) " >&6
13542 eval "$as_ac_Header=\$ac_header_preproc"
13544 ac_res=`eval 'as_val=${'$as_ac_Header'}
13545 $as_echo "$as_val"'`
13546 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13547 $as_echo "$ac_res" >&6; }
13550 as_val=`eval 'as_val=${'$as_ac_Header'}
13551 $as_echo "$as_val"'`
13552 if test "x$as_val" = x""yes; then
13553 cat >>confdefs.h <<_ACEOF
13554 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13562 for ac_header in ctype.h
13564 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13566 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13567 $as_echo_n "checking for $ac_header... " >&6; }
13568 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13569 $as_echo_n "(cached) " >&6
13571 ac_res=`eval 'as_val=${'$as_ac_Header'}
13572 $as_echo "$as_val"'`
13573 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13574 $as_echo "$ac_res" >&6; }
13576 # Is the header compilable?
13577 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13578 $as_echo_n "checking $ac_header usability... " >&6; }
13579 cat >conftest.$ac_ext <<_ACEOF
13582 cat confdefs.h >>conftest.$ac_ext
13583 cat >>conftest.$ac_ext <<_ACEOF
13584 /* end confdefs.h. */
13585 $ac_includes_default
13586 #include <$ac_header>
13588 rm -f conftest.$ac_objext
13589 if { (ac_try="$ac_compile"
13590 case "(($ac_try" in
13591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13592 *) ac_try_echo
=$ac_try;;
13594 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13595 $as_echo "$ac_try_echo") >&5
13596 (eval "$ac_compile") 2>conftest.er1
13598 grep -v '^ *+' conftest.er1
>conftest.err
13600 cat conftest.err
>&5
13601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13602 (exit $ac_status); } && {
13603 test -z "$ac_c_werror_flag" ||
13604 test ! -s conftest.err
13605 } && test -s conftest.
$ac_objext; then
13606 ac_header_compiler
=yes
13608 $as_echo "$as_me: failed program was:" >&5
13609 sed 's/^/| /' conftest.
$ac_ext >&5
13611 ac_header_compiler
=no
13614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13615 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13616 $as_echo "$ac_header_compiler" >&6; }
13618 # Is the header present?
13619 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13620 $as_echo_n "checking $ac_header presence... " >&6; }
13621 cat >conftest.
$ac_ext <<_ACEOF
13624 cat confdefs.h
>>conftest.
$ac_ext
13625 cat >>conftest.
$ac_ext <<_ACEOF
13626 /* end confdefs.h. */
13627 #include <$ac_header>
13629 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13630 case "(($ac_try" in
13631 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13635 $as_echo "$ac_try_echo") >&5
13636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13638 grep -v '^ *+' conftest.er1 >conftest.err
13640 cat conftest.err >&5
13641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } >/dev/null && {
13643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13644 test ! -s conftest.err
13646 ac_header_preproc=yes
13648 $as_echo "$as_me: failed program was:" >&5
13649 sed 's/^/| /' conftest.$ac_ext >&5
13651 ac_header_preproc=no
13654 rm -f conftest.err conftest.$ac_ext
13655 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13656 $as_echo "$ac_header_preproc" >&6; }
13658 # So? What about this header?
13659 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13661 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13662 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13663 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13664 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13665 ac_header_preproc=yes
13668 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13669 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13670 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13671 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13672 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13673 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13675 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13677 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13679 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13683 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 $as_echo_n "checking for $ac_header... " >&6; }
13685 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13686 $as_echo_n "(cached) " >&6
13688 eval "$as_ac_Header=\$ac_header_preproc"
13690 ac_res=`eval 'as_val=${'$as_ac_Header'}
13691 $as_echo "$as_val"'`
13692 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13693 $as_echo "$ac_res" >&6; }
13696 as_val=`eval 'as_val=${'$as_ac_Header'}
13697 $as_echo "$as_val"'`
13698 if test "x$as_val" = x""yes; then
13699 cat >>confdefs.h <<_ACEOF
13700 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13708 for ac_header in dirent.h
13710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13711 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13712 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13713 $as_echo_n "checking for $ac_header... " >&6; }
13714 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13715 $as_echo_n "(cached) " >&6
13717 ac_res=`eval 'as_val=${'$as_ac_Header'}
13718 $as_echo "$as_val"'`
13719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13720 $as_echo "$ac_res" >&6; }
13722 # Is the header compilable?
13723 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13724 $as_echo_n "checking $ac_header usability... " >&6; }
13725 cat >conftest.$ac_ext <<_ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 $ac_includes_default
13732 #include <$ac_header>
13734 rm -f conftest.$ac_objext
13735 if { (ac_try="$ac_compile"
13736 case "(($ac_try" in
13737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13738 *) ac_try_echo
=$ac_try;;
13740 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13741 $as_echo "$ac_try_echo") >&5
13742 (eval "$ac_compile") 2>conftest.er1
13744 grep -v '^ *+' conftest.er1
>conftest.err
13746 cat conftest.err
>&5
13747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 (exit $ac_status); } && {
13749 test -z "$ac_c_werror_flag" ||
13750 test ! -s conftest.err
13751 } && test -s conftest.
$ac_objext; then
13752 ac_header_compiler
=yes
13754 $as_echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.
$ac_ext >&5
13757 ac_header_compiler
=no
13760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13761 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13762 $as_echo "$ac_header_compiler" >&6; }
13764 # Is the header present?
13765 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13766 $as_echo_n "checking $ac_header presence... " >&6; }
13767 cat >conftest.
$ac_ext <<_ACEOF
13770 cat confdefs.h
>>conftest.
$ac_ext
13771 cat >>conftest.
$ac_ext <<_ACEOF
13772 /* end confdefs.h. */
13773 #include <$ac_header>
13775 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13776 case "(($ac_try" in
13777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13778 *) ac_try_echo=$ac_try;;
13780 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13781 $as_echo "$ac_try_echo") >&5
13782 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13784 grep -v '^ *+' conftest.er1 >conftest.err
13786 cat conftest.err >&5
13787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13788 (exit $ac_status); } >/dev/null && {
13789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13790 test ! -s conftest.err
13792 ac_header_preproc=yes
13794 $as_echo "$as_me: failed program was:" >&5
13795 sed 's/^/| /' conftest.$ac_ext >&5
13797 ac_header_preproc=no
13800 rm -f conftest.err conftest.$ac_ext
13801 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13802 $as_echo "$ac_header_preproc" >&6; }
13804 # So? What about this header?
13805 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13808 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13810 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13811 ac_header_preproc=yes
13814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13815 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13816 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13817 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13819 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13821 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13823 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13824 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13825 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13829 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13830 $as_echo_n "checking for $ac_header... " >&6; }
13831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13832 $as_echo_n "(cached) " >&6
13834 eval "$as_ac_Header=\$ac_header_preproc"
13836 ac_res=`eval 'as_val=${'$as_ac_Header'}
13837 $as_echo "$as_val"'`
13838 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13839 $as_echo "$ac_res" >&6; }
13842 as_val=`eval 'as_val=${'$as_ac_Header'}
13843 $as_echo "$as_val"'`
13844 if test "x$as_val" = x""yes; then
13845 cat >>confdefs.h <<_ACEOF
13846 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
13854 for ac_header in errno.h
13856 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
13857 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13858 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13859 $as_echo_n "checking for $ac_header... " >&6; }
13860 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13861 $as_echo_n "(cached) " >&6
13863 ac_res=`eval 'as_val=${'$as_ac_Header'}
13864 $as_echo "$as_val"'`
13865 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13866 $as_echo "$ac_res" >&6; }
13868 # Is the header compilable?
13869 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13870 $as_echo_n "checking $ac_header usability... " >&6; }
13871 cat >conftest.$ac_ext <<_ACEOF
13874 cat confdefs.h >>conftest.$ac_ext
13875 cat >>conftest.$ac_ext <<_ACEOF
13876 /* end confdefs.h. */
13877 $ac_includes_default
13878 #include <$ac_header>
13880 rm -f conftest.$ac_objext
13881 if { (ac_try="$ac_compile"
13882 case "(($ac_try" in
13883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13884 *) ac_try_echo
=$ac_try;;
13886 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13887 $as_echo "$ac_try_echo") >&5
13888 (eval "$ac_compile") 2>conftest.er1
13890 grep -v '^ *+' conftest.er1
>conftest.err
13892 cat conftest.err
>&5
13893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); } && {
13895 test -z "$ac_c_werror_flag" ||
13896 test ! -s conftest.err
13897 } && test -s conftest.
$ac_objext; then
13898 ac_header_compiler
=yes
13900 $as_echo "$as_me: failed program was:" >&5
13901 sed 's/^/| /' conftest.
$ac_ext >&5
13903 ac_header_compiler
=no
13906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13907 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13908 $as_echo "$ac_header_compiler" >&6; }
13910 # Is the header present?
13911 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13912 $as_echo_n "checking $ac_header presence... " >&6; }
13913 cat >conftest.
$ac_ext <<_ACEOF
13916 cat confdefs.h
>>conftest.
$ac_ext
13917 cat >>conftest.
$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 #include <$ac_header>
13921 if { (ac_try
="$ac_cpp conftest.$ac_ext"
13922 case "(($ac_try" in
13923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13924 *) ac_try_echo=$ac_try;;
13926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13927 $as_echo "$ac_try_echo") >&5
13928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13930 grep -v '^ *+' conftest.er1 >conftest.err
13932 cat conftest.err >&5
13933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } >/dev/null && {
13935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13936 test ! -s conftest.err
13938 ac_header_preproc=yes
13940 $as_echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13943 ac_header_preproc=no
13946 rm -f conftest.err conftest.$ac_ext
13947 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13948 $as_echo "$ac_header_preproc" >&6; }
13950 # So? What about this header?
13951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13954 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13955 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13956 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13957 ac_header_preproc=yes
13960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13961 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13963 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13965 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13967 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13969 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13971 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13975 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13976 $as_echo_n "checking for $ac_header... " >&6; }
13977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13978 $as_echo_n "(cached) " >&6
13980 eval "$as_ac_Header=\$ac_header_preproc"
13982 ac_res=`eval 'as_val=${'$as_ac_Header'}
13983 $as_echo "$as_val"'`
13984 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13985 $as_echo "$ac_res" >&6; }
13988 as_val=`eval 'as_val=${'$as_ac_Header'}
13989 $as_echo "$as_val"'`
13990 if test "x$as_val" = x""yes; then
13991 cat >>confdefs.h <<_ACEOF
13992 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14000 for ac_header in malloc.h
14002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14003 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14004 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14005 $as_echo_n "checking for $ac_header... " >&6; }
14006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14007 $as_echo_n "(cached) " >&6
14009 ac_res=`eval 'as_val=${'$as_ac_Header'}
14010 $as_echo "$as_val"'`
14011 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14012 $as_echo "$ac_res" >&6; }
14014 # Is the header compilable?
14015 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14016 $as_echo_n "checking $ac_header usability... " >&6; }
14017 cat >conftest.$ac_ext <<_ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 $ac_includes_default
14024 #include <$ac_header>
14026 rm -f conftest.$ac_objext
14027 if { (ac_try="$ac_compile"
14028 case "(($ac_try" in
14029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14030 *) ac_try_echo
=$ac_try;;
14032 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14033 $as_echo "$ac_try_echo") >&5
14034 (eval "$ac_compile") 2>conftest.er1
14036 grep -v '^ *+' conftest.er1
>conftest.err
14038 cat conftest.err
>&5
14039 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); } && {
14041 test -z "$ac_c_werror_flag" ||
14042 test ! -s conftest.err
14043 } && test -s conftest.
$ac_objext; then
14044 ac_header_compiler
=yes
14046 $as_echo "$as_me: failed program was:" >&5
14047 sed 's/^/| /' conftest.
$ac_ext >&5
14049 ac_header_compiler
=no
14052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14053 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14054 $as_echo "$ac_header_compiler" >&6; }
14056 # Is the header present?
14057 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14058 $as_echo_n "checking $ac_header presence... " >&6; }
14059 cat >conftest.
$ac_ext <<_ACEOF
14062 cat confdefs.h
>>conftest.
$ac_ext
14063 cat >>conftest.
$ac_ext <<_ACEOF
14064 /* end confdefs.h. */
14065 #include <$ac_header>
14067 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14068 case "(($ac_try" in
14069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14070 *) ac_try_echo=$ac_try;;
14072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14073 $as_echo "$ac_try_echo") >&5
14074 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14076 grep -v '^ *+' conftest.er1 >conftest.err
14078 cat conftest.err >&5
14079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } >/dev/null && {
14081 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14082 test ! -s conftest.err
14084 ac_header_preproc=yes
14086 $as_echo "$as_me: failed program was:" >&5
14087 sed 's/^/| /' conftest.$ac_ext >&5
14089 ac_header_preproc=no
14092 rm -f conftest.err conftest.$ac_ext
14093 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14094 $as_echo "$ac_header_preproc" >&6; }
14096 # So? What about this header?
14097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14099 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14100 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14102 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14103 ac_header_preproc=yes
14106 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14107 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14109 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14111 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14113 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14115 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14117 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14121 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14122 $as_echo_n "checking for $ac_header... " >&6; }
14123 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14124 $as_echo_n "(cached) " >&6
14126 eval "$as_ac_Header=\$ac_header_preproc"
14128 ac_res=`eval 'as_val=${'$as_ac_Header'}
14129 $as_echo "$as_val"'`
14130 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14131 $as_echo "$ac_res" >&6; }
14134 as_val=`eval 'as_val=${'$as_ac_Header'}
14135 $as_echo "$as_val"'`
14136 if test "x$as_val" = x""yes; then
14137 cat >>confdefs.h <<_ACEOF
14138 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14146 for ac_header in stdarg.h
14148 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14150 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14151 $as_echo_n "checking for $ac_header... " >&6; }
14152 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14153 $as_echo_n "(cached) " >&6
14155 ac_res=`eval 'as_val=${'$as_ac_Header'}
14156 $as_echo "$as_val"'`
14157 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14158 $as_echo "$ac_res" >&6; }
14160 # Is the header compilable?
14161 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14162 $as_echo_n "checking $ac_header usability... " >&6; }
14163 cat >conftest.$ac_ext <<_ACEOF
14166 cat confdefs.h >>conftest.$ac_ext
14167 cat >>conftest.$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14169 $ac_includes_default
14170 #include <$ac_header>
14172 rm -f conftest.$ac_objext
14173 if { (ac_try="$ac_compile"
14174 case "(($ac_try" in
14175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14176 *) ac_try_echo
=$ac_try;;
14178 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14179 $as_echo "$ac_try_echo") >&5
14180 (eval "$ac_compile") 2>conftest.er1
14182 grep -v '^ *+' conftest.er1
>conftest.err
14184 cat conftest.err
>&5
14185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14186 (exit $ac_status); } && {
14187 test -z "$ac_c_werror_flag" ||
14188 test ! -s conftest.err
14189 } && test -s conftest.
$ac_objext; then
14190 ac_header_compiler
=yes
14192 $as_echo "$as_me: failed program was:" >&5
14193 sed 's/^/| /' conftest.
$ac_ext >&5
14195 ac_header_compiler
=no
14198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14199 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14200 $as_echo "$ac_header_compiler" >&6; }
14202 # Is the header present?
14203 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14204 $as_echo_n "checking $ac_header presence... " >&6; }
14205 cat >conftest.
$ac_ext <<_ACEOF
14208 cat confdefs.h
>>conftest.
$ac_ext
14209 cat >>conftest.
$ac_ext <<_ACEOF
14210 /* end confdefs.h. */
14211 #include <$ac_header>
14213 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14214 case "(($ac_try" in
14215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14216 *) ac_try_echo=$ac_try;;
14218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14219 $as_echo "$ac_try_echo") >&5
14220 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14222 grep -v '^ *+' conftest.er1 >conftest.err
14224 cat conftest.err >&5
14225 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14226 (exit $ac_status); } >/dev/null && {
14227 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14228 test ! -s conftest.err
14230 ac_header_preproc=yes
14232 $as_echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.$ac_ext >&5
14235 ac_header_preproc=no
14238 rm -f conftest.err conftest.$ac_ext
14239 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14240 $as_echo "$ac_header_preproc" >&6; }
14242 # So? What about this header?
14243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14245 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14246 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14247 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14248 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14249 ac_header_preproc=yes
14252 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14253 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14254 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14255 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14256 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14257 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14258 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14259 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14260 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14261 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14262 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14263 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14267 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14268 $as_echo_n "checking for $ac_header... " >&6; }
14269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14270 $as_echo_n "(cached) " >&6
14272 eval "$as_ac_Header=\$ac_header_preproc"
14274 ac_res=`eval 'as_val=${'$as_ac_Header'}
14275 $as_echo "$as_val"'`
14276 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14277 $as_echo "$ac_res" >&6; }
14280 as_val=`eval 'as_val=${'$as_ac_Header'}
14281 $as_echo "$as_val"'`
14282 if test "x$as_val" = x""yes; then
14283 cat >>confdefs.h <<_ACEOF
14284 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14292 for ac_header in sys/stat.h
14294 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14295 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14296 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14297 $as_echo_n "checking for $ac_header... " >&6; }
14298 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14299 $as_echo_n "(cached) " >&6
14301 ac_res=`eval 'as_val=${'$as_ac_Header'}
14302 $as_echo "$as_val"'`
14303 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14304 $as_echo "$ac_res" >&6; }
14306 # Is the header compilable?
14307 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14308 $as_echo_n "checking $ac_header usability... " >&6; }
14309 cat >conftest.$ac_ext <<_ACEOF
14312 cat confdefs.h >>conftest.$ac_ext
14313 cat >>conftest.$ac_ext <<_ACEOF
14314 /* end confdefs.h. */
14315 $ac_includes_default
14316 #include <$ac_header>
14318 rm -f conftest.$ac_objext
14319 if { (ac_try="$ac_compile"
14320 case "(($ac_try" in
14321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14322 *) ac_try_echo
=$ac_try;;
14324 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14325 $as_echo "$ac_try_echo") >&5
14326 (eval "$ac_compile") 2>conftest.er1
14328 grep -v '^ *+' conftest.er1
>conftest.err
14330 cat conftest.err
>&5
14331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } && {
14333 test -z "$ac_c_werror_flag" ||
14334 test ! -s conftest.err
14335 } && test -s conftest.
$ac_objext; then
14336 ac_header_compiler
=yes
14338 $as_echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14341 ac_header_compiler
=no
14344 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14345 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14346 $as_echo "$ac_header_compiler" >&6; }
14348 # Is the header present?
14349 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14350 $as_echo_n "checking $ac_header presence... " >&6; }
14351 cat >conftest.
$ac_ext <<_ACEOF
14354 cat confdefs.h
>>conftest.
$ac_ext
14355 cat >>conftest.
$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14357 #include <$ac_header>
14359 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14360 case "(($ac_try" in
14361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14362 *) ac_try_echo=$ac_try;;
14364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14365 $as_echo "$ac_try_echo") >&5
14366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14368 grep -v '^ *+' conftest.er1 >conftest.err
14370 cat conftest.err >&5
14371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } >/dev/null && {
14373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14374 test ! -s conftest.err
14376 ac_header_preproc=yes
14378 $as_echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.$ac_ext >&5
14381 ac_header_preproc=no
14384 rm -f conftest.err conftest.$ac_ext
14385 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14386 $as_echo "$ac_header_preproc" >&6; }
14388 # So? What about this header?
14389 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14391 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14392 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14393 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14394 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14395 ac_header_preproc=yes
14398 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14399 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14400 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14401 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14403 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14405 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14407 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14409 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14413 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14414 $as_echo_n "checking for $ac_header... " >&6; }
14415 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14416 $as_echo_n "(cached) " >&6
14418 eval "$as_ac_Header=\$ac_header_preproc"
14420 ac_res=`eval 'as_val=${'$as_ac_Header'}
14421 $as_echo "$as_val"'`
14422 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14423 $as_echo "$ac_res" >&6; }
14426 as_val=`eval 'as_val=${'$as_ac_Header'}
14427 $as_echo "$as_val"'`
14428 if test "x$as_val" = x""yes; then
14429 cat >>confdefs.h <<_ACEOF
14430 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14438 for ac_header in sys/types.h
14440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14442 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14443 $as_echo_n "checking for $ac_header... " >&6; }
14444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14445 $as_echo_n "(cached) " >&6
14447 ac_res=`eval 'as_val=${'$as_ac_Header'}
14448 $as_echo "$as_val"'`
14449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14450 $as_echo "$ac_res" >&6; }
14452 # Is the header compilable?
14453 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14454 $as_echo_n "checking $ac_header usability... " >&6; }
14455 cat >conftest.$ac_ext <<_ACEOF
14458 cat confdefs.h >>conftest.$ac_ext
14459 cat >>conftest.$ac_ext <<_ACEOF
14460 /* end confdefs.h. */
14461 $ac_includes_default
14462 #include <$ac_header>
14464 rm -f conftest.$ac_objext
14465 if { (ac_try="$ac_compile"
14466 case "(($ac_try" in
14467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14468 *) ac_try_echo
=$ac_try;;
14470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14471 $as_echo "$ac_try_echo") >&5
14472 (eval "$ac_compile") 2>conftest.er1
14474 grep -v '^ *+' conftest.er1
>conftest.err
14476 cat conftest.err
>&5
14477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14478 (exit $ac_status); } && {
14479 test -z "$ac_c_werror_flag" ||
14480 test ! -s conftest.err
14481 } && test -s conftest.
$ac_objext; then
14482 ac_header_compiler
=yes
14484 $as_echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.
$ac_ext >&5
14487 ac_header_compiler
=no
14490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14491 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14492 $as_echo "$ac_header_compiler" >&6; }
14494 # Is the header present?
14495 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14496 $as_echo_n "checking $ac_header presence... " >&6; }
14497 cat >conftest.
$ac_ext <<_ACEOF
14500 cat confdefs.h
>>conftest.
$ac_ext
14501 cat >>conftest.
$ac_ext <<_ACEOF
14502 /* end confdefs.h. */
14503 #include <$ac_header>
14505 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14506 case "(($ac_try" in
14507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14508 *) ac_try_echo=$ac_try;;
14510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14511 $as_echo "$ac_try_echo") >&5
14512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14514 grep -v '^ *+' conftest.er1 >conftest.err
14516 cat conftest.err >&5
14517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); } >/dev/null && {
14519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14520 test ! -s conftest.err
14522 ac_header_preproc=yes
14524 $as_echo "$as_me: failed program was:" >&5
14525 sed 's/^/| /' conftest.$ac_ext >&5
14527 ac_header_preproc=no
14530 rm -f conftest.err conftest.$ac_ext
14531 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14532 $as_echo "$ac_header_preproc" >&6; }
14534 # So? What about this header?
14535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14538 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14540 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14541 ac_header_preproc=yes
14544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14545 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14547 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14549 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14551 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14553 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14555 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14560 $as_echo_n "checking for $ac_header... " >&6; }
14561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14562 $as_echo_n "(cached) " >&6
14564 eval "$as_ac_Header=\$ac_header_preproc"
14566 ac_res=`eval 'as_val=${'$as_ac_Header'}
14567 $as_echo "$as_val"'`
14568 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14569 $as_echo "$ac_res" >&6; }
14572 as_val=`eval 'as_val=${'$as_ac_Header'}
14573 $as_echo "$as_val"'`
14574 if test "x$as_val" = x""yes; then
14575 cat >>confdefs.h <<_ACEOF
14576 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14584 for ac_header in stdint.h
14586 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14587 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14588 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14589 $as_echo_n "checking for $ac_header... " >&6; }
14590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14591 $as_echo_n "(cached) " >&6
14593 ac_res=`eval 'as_val=${'$as_ac_Header'}
14594 $as_echo "$as_val"'`
14595 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14596 $as_echo "$ac_res" >&6; }
14598 # Is the header compilable?
14599 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14600 $as_echo_n "checking $ac_header usability... " >&6; }
14601 cat >conftest.$ac_ext <<_ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14607 $ac_includes_default
14608 #include <$ac_header>
14610 rm -f conftest.$ac_objext
14611 if { (ac_try="$ac_compile"
14612 case "(($ac_try" in
14613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14614 *) ac_try_echo
=$ac_try;;
14616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14617 $as_echo "$ac_try_echo") >&5
14618 (eval "$ac_compile") 2>conftest.er1
14620 grep -v '^ *+' conftest.er1
>conftest.err
14622 cat conftest.err
>&5
14623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14624 (exit $ac_status); } && {
14625 test -z "$ac_c_werror_flag" ||
14626 test ! -s conftest.err
14627 } && test -s conftest.
$ac_objext; then
14628 ac_header_compiler
=yes
14630 $as_echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.
$ac_ext >&5
14633 ac_header_compiler
=no
14636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14637 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14638 $as_echo "$ac_header_compiler" >&6; }
14640 # Is the header present?
14641 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14642 $as_echo_n "checking $ac_header presence... " >&6; }
14643 cat >conftest.
$ac_ext <<_ACEOF
14646 cat confdefs.h
>>conftest.
$ac_ext
14647 cat >>conftest.
$ac_ext <<_ACEOF
14648 /* end confdefs.h. */
14649 #include <$ac_header>
14651 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14652 case "(($ac_try" in
14653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14654 *) ac_try_echo=$ac_try;;
14656 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14657 $as_echo "$ac_try_echo") >&5
14658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14660 grep -v '^ *+' conftest.er1 >conftest.err
14662 cat conftest.err >&5
14663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } >/dev/null && {
14665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14666 test ! -s conftest.err
14668 ac_header_preproc=yes
14670 $as_echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14673 ac_header_preproc=no
14676 rm -f conftest.err conftest.$ac_ext
14677 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14678 $as_echo "$ac_header_preproc" >&6; }
14680 # So? What about this header?
14681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14683 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14684 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14685 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14686 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14687 ac_header_preproc=yes
14690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14691 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14692 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14693 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14694 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14695 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14696 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14697 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14698 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14699 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14700 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14701 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14705 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14706 $as_echo_n "checking for $ac_header... " >&6; }
14707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14708 $as_echo_n "(cached) " >&6
14710 eval "$as_ac_Header=\$ac_header_preproc"
14712 ac_res=`eval 'as_val=${'$as_ac_Header'}
14713 $as_echo "$as_val"'`
14714 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14715 $as_echo "$ac_res" >&6; }
14718 as_val=`eval 'as_val=${'$as_ac_Header'}
14719 $as_echo "$as_val"'`
14720 if test "x$as_val" = x""yes; then
14721 cat >>confdefs.h <<_ACEOF
14722 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14730 for ac_header in inttypes.h.h
14732 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14734 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14735 $as_echo_n "checking for $ac_header... " >&6; }
14736 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14737 $as_echo_n "(cached) " >&6
14739 ac_res=`eval 'as_val=${'$as_ac_Header'}
14740 $as_echo "$as_val"'`
14741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14742 $as_echo "$ac_res" >&6; }
14744 # Is the header compilable?
14745 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14746 $as_echo_n "checking $ac_header usability... " >&6; }
14747 cat >conftest.$ac_ext <<_ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 $ac_includes_default
14754 #include <$ac_header>
14756 rm -f conftest.$ac_objext
14757 if { (ac_try="$ac_compile"
14758 case "(($ac_try" in
14759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14760 *) ac_try_echo
=$ac_try;;
14762 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14763 $as_echo "$ac_try_echo") >&5
14764 (eval "$ac_compile") 2>conftest.er1
14766 grep -v '^ *+' conftest.er1
>conftest.err
14768 cat conftest.err
>&5
14769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770 (exit $ac_status); } && {
14771 test -z "$ac_c_werror_flag" ||
14772 test ! -s conftest.err
14773 } && test -s conftest.
$ac_objext; then
14774 ac_header_compiler
=yes
14776 $as_echo "$as_me: failed program was:" >&5
14777 sed 's/^/| /' conftest.
$ac_ext >&5
14779 ac_header_compiler
=no
14782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14783 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14784 $as_echo "$ac_header_compiler" >&6; }
14786 # Is the header present?
14787 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14788 $as_echo_n "checking $ac_header presence... " >&6; }
14789 cat >conftest.
$ac_ext <<_ACEOF
14792 cat confdefs.h
>>conftest.
$ac_ext
14793 cat >>conftest.
$ac_ext <<_ACEOF
14794 /* end confdefs.h. */
14795 #include <$ac_header>
14797 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14798 case "(($ac_try" in
14799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14802 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14803 $as_echo "$ac_try_echo") >&5
14804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14806 grep -v '^ *+' conftest.er1 >conftest.err
14808 cat conftest.err >&5
14809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); } >/dev/null && {
14811 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14812 test ! -s conftest.err
14814 ac_header_preproc=yes
14816 $as_echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 ac_header_preproc=no
14822 rm -f conftest.err conftest.$ac_ext
14823 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14824 $as_echo "$ac_header_preproc" >&6; }
14826 # So? What about this header?
14827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14830 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14832 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14833 ac_header_preproc=yes
14836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14837 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14839 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14841 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14843 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14844 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14845 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14846 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14847 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14851 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14852 $as_echo_n "checking for $ac_header... " >&6; }
14853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14854 $as_echo_n "(cached) " >&6
14856 eval "$as_ac_Header=\$ac_header_preproc"
14858 ac_res=`eval 'as_val=${'$as_ac_Header'}
14859 $as_echo "$as_val"'`
14860 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14861 $as_echo "$ac_res" >&6; }
14864 as_val=`eval 'as_val=${'$as_ac_Header'}
14865 $as_echo "$as_val"'`
14866 if test "x$as_val" = x""yes; then
14867 cat >>confdefs.h <<_ACEOF
14868 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
14876 for ac_header in time.h
14878 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
14879 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14880 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14881 $as_echo_n "checking for $ac_header... " >&6; }
14882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14883 $as_echo_n "(cached) " >&6
14885 ac_res=`eval 'as_val=${'$as_ac_Header'}
14886 $as_echo "$as_val"'`
14887 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14888 $as_echo "$ac_res" >&6; }
14890 # Is the header compilable?
14891 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
14892 $as_echo_n "checking $ac_header usability... " >&6; }
14893 cat >conftest.$ac_ext <<_ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14899 $ac_includes_default
14900 #include <$ac_header>
14902 rm -f conftest.$ac_objext
14903 if { (ac_try="$ac_compile"
14904 case "(($ac_try" in
14905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14906 *) ac_try_echo
=$ac_try;;
14908 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14909 $as_echo "$ac_try_echo") >&5
14910 (eval "$ac_compile") 2>conftest.er1
14912 grep -v '^ *+' conftest.er1
>conftest.err
14914 cat conftest.err
>&5
14915 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14916 (exit $ac_status); } && {
14917 test -z "$ac_c_werror_flag" ||
14918 test ! -s conftest.err
14919 } && test -s conftest.
$ac_objext; then
14920 ac_header_compiler
=yes
14922 $as_echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.
$ac_ext >&5
14925 ac_header_compiler
=no
14928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14929 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14930 $as_echo "$ac_header_compiler" >&6; }
14932 # Is the header present?
14933 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
14934 $as_echo_n "checking $ac_header presence... " >&6; }
14935 cat >conftest.
$ac_ext <<_ACEOF
14938 cat confdefs.h
>>conftest.
$ac_ext
14939 cat >>conftest.
$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <$ac_header>
14943 if { (ac_try
="$ac_cpp conftest.$ac_ext"
14944 case "(($ac_try" in
14945 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14946 *) ac_try_echo=$ac_try;;
14948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14949 $as_echo "$ac_try_echo") >&5
14950 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14952 grep -v '^ *+' conftest.er1 >conftest.err
14954 cat conftest.err >&5
14955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); } >/dev/null && {
14957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14958 test ! -s conftest.err
14960 ac_header_preproc=yes
14962 $as_echo "$as_me: failed program was:" >&5
14963 sed 's/^/| /' conftest.$ac_ext >&5
14965 ac_header_preproc=no
14968 rm -f conftest.err conftest.$ac_ext
14969 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14970 $as_echo "$ac_header_preproc" >&6; }
14972 # So? What about this header?
14973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14975 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14976 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14978 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14979 ac_header_preproc=yes
14982 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14983 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14984 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14985 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14986 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14987 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14988 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14989 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14990 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14991 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14992 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14993 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14997 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14998 $as_echo_n "checking for $ac_header... " >&6; }
14999 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15000 $as_echo_n "(cached) " >&6
15002 eval "$as_ac_Header=\$ac_header_preproc"
15004 ac_res=`eval 'as_val=${'$as_ac_Header'}
15005 $as_echo "$as_val"'`
15006 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15007 $as_echo "$ac_res" >&6; }
15010 as_val=`eval 'as_val=${'$as_ac_Header'}
15011 $as_echo "$as_val"'`
15012 if test "x$as_val" = x""yes; then
15013 cat >>confdefs.h <<_ACEOF
15014 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15022 for ac_header in ansidecl.h
15024 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15025 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15026 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15027 $as_echo_n "checking for $ac_header... " >&6; }
15028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15029 $as_echo_n "(cached) " >&6
15031 ac_res=`eval 'as_val=${'$as_ac_Header'}
15032 $as_echo "$as_val"'`
15033 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15034 $as_echo "$ac_res" >&6; }
15036 # Is the header compilable?
15037 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15038 $as_echo_n "checking $ac_header usability... " >&6; }
15039 cat >conftest.$ac_ext <<_ACEOF
15042 cat confdefs.h >>conftest.$ac_ext
15043 cat >>conftest.$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15045 $ac_includes_default
15046 #include <$ac_header>
15048 rm -f conftest.$ac_objext
15049 if { (ac_try="$ac_compile"
15050 case "(($ac_try" in
15051 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15052 *) ac_try_echo
=$ac_try;;
15054 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15055 $as_echo "$ac_try_echo") >&5
15056 (eval "$ac_compile") 2>conftest.er1
15058 grep -v '^ *+' conftest.er1
>conftest.err
15060 cat conftest.err
>&5
15061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } && {
15063 test -z "$ac_c_werror_flag" ||
15064 test ! -s conftest.err
15065 } && test -s conftest.
$ac_objext; then
15066 ac_header_compiler
=yes
15068 $as_echo "$as_me: failed program was:" >&5
15069 sed 's/^/| /' conftest.
$ac_ext >&5
15071 ac_header_compiler
=no
15074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15075 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15076 $as_echo "$ac_header_compiler" >&6; }
15078 # Is the header present?
15079 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15080 $as_echo_n "checking $ac_header presence... " >&6; }
15081 cat >conftest.
$ac_ext <<_ACEOF
15084 cat confdefs.h
>>conftest.
$ac_ext
15085 cat >>conftest.
$ac_ext <<_ACEOF
15086 /* end confdefs.h. */
15087 #include <$ac_header>
15089 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15090 case "(($ac_try" in
15091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15092 *) ac_try_echo=$ac_try;;
15094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15095 $as_echo "$ac_try_echo") >&5
15096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15098 grep -v '^ *+' conftest.er1 >conftest.err
15100 cat conftest.err >&5
15101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15102 (exit $ac_status); } >/dev/null && {
15103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15104 test ! -s conftest.err
15106 ac_header_preproc=yes
15108 $as_echo "$as_me: failed program was:" >&5
15109 sed 's/^/| /' conftest.$ac_ext >&5
15111 ac_header_preproc=no
15114 rm -f conftest.err conftest.$ac_ext
15115 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15116 $as_echo "$ac_header_preproc" >&6; }
15118 # So? What about this header?
15119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15122 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15125 ac_header_preproc=yes
15128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15129 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15131 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15132 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15133 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15134 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15135 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15136 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15137 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15138 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15139 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15143 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15144 $as_echo_n "checking for $ac_header... " >&6; }
15145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15146 $as_echo_n "(cached) " >&6
15148 eval "$as_ac_Header=\$ac_header_preproc"
15150 ac_res=`eval 'as_val=${'$as_ac_Header'}
15151 $as_echo "$as_val"'`
15152 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15153 $as_echo "$ac_res" >&6; }
15156 as_val=`eval 'as_val=${'$as_ac_Header'}
15157 $as_echo "$as_val"'`
15158 if test "x$as_val" = x""yes; then
15159 cat >>confdefs.h <<_ACEOF
15160 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15168 for ac_header in ieeefp.h
15170 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15171 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15172 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15173 $as_echo_n "checking for $ac_header... " >&6; }
15174 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15175 $as_echo_n "(cached) " >&6
15177 ac_res=`eval 'as_val=${'$as_ac_Header'}
15178 $as_echo "$as_val"'`
15179 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15180 $as_echo "$ac_res" >&6; }
15182 # Is the header compilable?
15183 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15184 $as_echo_n "checking $ac_header usability... " >&6; }
15185 cat >conftest.$ac_ext <<_ACEOF
15188 cat confdefs.h >>conftest.$ac_ext
15189 cat >>conftest.$ac_ext <<_ACEOF
15190 /* end confdefs.h. */
15191 $ac_includes_default
15192 #include <$ac_header>
15194 rm -f conftest.$ac_objext
15195 if { (ac_try="$ac_compile"
15196 case "(($ac_try" in
15197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15198 *) ac_try_echo
=$ac_try;;
15200 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15201 $as_echo "$ac_try_echo") >&5
15202 (eval "$ac_compile") 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest.
$ac_objext; then
15212 ac_header_compiler
=yes
15214 $as_echo "$as_me: failed program was:" >&5
15215 sed 's/^/| /' conftest.
$ac_ext >&5
15217 ac_header_compiler
=no
15220 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15221 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15222 $as_echo "$ac_header_compiler" >&6; }
15224 # Is the header present?
15225 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15226 $as_echo_n "checking $ac_header presence... " >&6; }
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15233 #include <$ac_header>
15235 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15236 case "(($ac_try" in
15237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15238 *) ac_try_echo=$ac_try;;
15240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15241 $as_echo "$ac_try_echo") >&5
15242 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15244 grep -v '^ *+' conftest.er1 >conftest.err
15246 cat conftest.err >&5
15247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); } >/dev/null && {
15249 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15250 test ! -s conftest.err
15252 ac_header_preproc=yes
15254 $as_echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_header_preproc=no
15260 rm -f conftest.err conftest.$ac_ext
15261 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15262 $as_echo "$ac_header_preproc" >&6; }
15264 # So? What about this header?
15265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15267 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15268 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15269 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15270 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15271 ac_header_preproc=yes
15274 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15275 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15276 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15277 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15278 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15279 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15280 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15281 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15282 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15283 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15285 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15289 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15290 $as_echo_n "checking for $ac_header... " >&6; }
15291 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15292 $as_echo_n "(cached) " >&6
15294 eval "$as_ac_Header=\$ac_header_preproc"
15296 ac_res=`eval 'as_val=${'$as_ac_Header'}
15297 $as_echo "$as_val"'`
15298 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15299 $as_echo "$ac_res" >&6; }
15302 as_val=`eval 'as_val=${'$as_ac_Header'}
15303 $as_echo "$as_val"'`
15304 if test "x$as_val" = x""yes; then
15305 cat >>confdefs.h <<_ACEOF
15306 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15314 for ac_header in nan.h
15316 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15318 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15319 $as_echo_n "checking for $ac_header... " >&6; }
15320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15321 $as_echo_n "(cached) " >&6
15323 ac_res=`eval 'as_val=${'$as_ac_Header'}
15324 $as_echo "$as_val"'`
15325 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15326 $as_echo "$ac_res" >&6; }
15328 # Is the header compilable?
15329 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15330 $as_echo_n "checking $ac_header usability... " >&6; }
15331 cat >conftest.$ac_ext <<_ACEOF
15334 cat confdefs.h >>conftest.$ac_ext
15335 cat >>conftest.$ac_ext <<_ACEOF
15336 /* end confdefs.h. */
15337 $ac_includes_default
15338 #include <$ac_header>
15340 rm -f conftest.$ac_objext
15341 if { (ac_try="$ac_compile"
15342 case "(($ac_try" in
15343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15344 *) ac_try_echo
=$ac_try;;
15346 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15347 $as_echo "$ac_try_echo") >&5
15348 (eval "$ac_compile") 2>conftest.er1
15350 grep -v '^ *+' conftest.er1
>conftest.err
15352 cat conftest.err
>&5
15353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); } && {
15355 test -z "$ac_c_werror_flag" ||
15356 test ! -s conftest.err
15357 } && test -s conftest.
$ac_objext; then
15358 ac_header_compiler
=yes
15360 $as_echo "$as_me: failed program was:" >&5
15361 sed 's/^/| /' conftest.
$ac_ext >&5
15363 ac_header_compiler
=no
15366 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15367 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15368 $as_echo "$ac_header_compiler" >&6; }
15370 # Is the header present?
15371 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15372 $as_echo_n "checking $ac_header presence... " >&6; }
15373 cat >conftest.
$ac_ext <<_ACEOF
15376 cat confdefs.h
>>conftest.
$ac_ext
15377 cat >>conftest.
$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15379 #include <$ac_header>
15381 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15382 case "(($ac_try" in
15383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15384 *) ac_try_echo=$ac_try;;
15386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15387 $as_echo "$ac_try_echo") >&5
15388 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15390 grep -v '^ *+' conftest.er1 >conftest.err
15392 cat conftest.err >&5
15393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15394 (exit $ac_status); } >/dev/null && {
15395 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15396 test ! -s conftest.err
15398 ac_header_preproc=yes
15400 $as_echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.$ac_ext >&5
15403 ac_header_preproc=no
15406 rm -f conftest.err conftest.$ac_ext
15407 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15408 $as_echo "$ac_header_preproc" >&6; }
15410 # So? What about this header?
15411 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15413 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15414 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15415 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15416 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15417 ac_header_preproc=yes
15420 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15421 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15422 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15423 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15424 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15425 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15426 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15427 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15428 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15429 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15430 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15431 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15435 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15436 $as_echo_n "checking for $ac_header... " >&6; }
15437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15438 $as_echo_n "(cached) " >&6
15440 eval "$as_ac_Header=\$ac_header_preproc"
15442 ac_res=`eval 'as_val=${'$as_ac_Header'}
15443 $as_echo "$as_val"'`
15444 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15445 $as_echo "$ac_res" >&6; }
15448 as_val=`eval 'as_val=${'$as_ac_Header'}
15449 $as_echo "$as_val"'`
15450 if test "x$as_val" = x""yes; then
15451 cat >>confdefs.h <<_ACEOF
15452 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15460 for ac_header in math.h
15462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15463 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15464 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15465 $as_echo_n "checking for $ac_header... " >&6; }
15466 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15467 $as_echo_n "(cached) " >&6
15469 ac_res=`eval 'as_val=${'$as_ac_Header'}
15470 $as_echo "$as_val"'`
15471 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15472 $as_echo "$ac_res" >&6; }
15474 # Is the header compilable?
15475 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15476 $as_echo_n "checking $ac_header usability... " >&6; }
15477 cat >conftest.$ac_ext <<_ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15483 $ac_includes_default
15484 #include <$ac_header>
15486 rm -f conftest.$ac_objext
15487 if { (ac_try="$ac_compile"
15488 case "(($ac_try" in
15489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15490 *) ac_try_echo
=$ac_try;;
15492 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15493 $as_echo "$ac_try_echo") >&5
15494 (eval "$ac_compile") 2>conftest.er1
15496 grep -v '^ *+' conftest.er1
>conftest.err
15498 cat conftest.err
>&5
15499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } && {
15501 test -z "$ac_c_werror_flag" ||
15502 test ! -s conftest.err
15503 } && test -s conftest.
$ac_objext; then
15504 ac_header_compiler
=yes
15506 $as_echo "$as_me: failed program was:" >&5
15507 sed 's/^/| /' conftest.
$ac_ext >&5
15509 ac_header_compiler
=no
15512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15513 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15514 $as_echo "$ac_header_compiler" >&6; }
15516 # Is the header present?
15517 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15518 $as_echo_n "checking $ac_header presence... " >&6; }
15519 cat >conftest.
$ac_ext <<_ACEOF
15522 cat confdefs.h
>>conftest.
$ac_ext
15523 cat >>conftest.
$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15525 #include <$ac_header>
15527 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15528 case "(($ac_try" in
15529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15530 *) ac_try_echo=$ac_try;;
15532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15533 $as_echo "$ac_try_echo") >&5
15534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15536 grep -v '^ *+' conftest.er1 >conftest.err
15538 cat conftest.err >&5
15539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15540 (exit $ac_status); } >/dev/null && {
15541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15542 test ! -s conftest.err
15544 ac_header_preproc=yes
15546 $as_echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 ac_header_preproc=no
15552 rm -f conftest.err conftest.$ac_ext
15553 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15554 $as_echo "$ac_header_preproc" >&6; }
15556 # So? What about this header?
15557 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15560 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15562 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15563 ac_header_preproc=yes
15566 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15567 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15569 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15571 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15573 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15575 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15577 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15581 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15582 $as_echo_n "checking for $ac_header... " >&6; }
15583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15584 $as_echo_n "(cached) " >&6
15586 eval "$as_ac_Header=\$ac_header_preproc"
15588 ac_res=`eval 'as_val=${'$as_ac_Header'}
15589 $as_echo "$as_val"'`
15590 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15591 $as_echo "$ac_res" >&6; }
15594 as_val=`eval 'as_val=${'$as_ac_Header'}
15595 $as_echo "$as_val"'`
15596 if test "x$as_val" = x""yes; then
15597 cat >>confdefs.h <<_ACEOF
15598 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15606 for ac_header in limits.h
15608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15610 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15611 $as_echo_n "checking for $ac_header... " >&6; }
15612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15613 $as_echo_n "(cached) " >&6
15615 ac_res=`eval 'as_val=${'$as_ac_Header'}
15616 $as_echo "$as_val"'`
15617 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15618 $as_echo "$ac_res" >&6; }
15620 # Is the header compilable?
15621 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15622 $as_echo_n "checking $ac_header usability... " >&6; }
15623 cat >conftest.$ac_ext <<_ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629 $ac_includes_default
15630 #include <$ac_header>
15632 rm -f conftest.$ac_objext
15633 if { (ac_try="$ac_compile"
15634 case "(($ac_try" in
15635 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15636 *) ac_try_echo
=$ac_try;;
15638 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15639 $as_echo "$ac_try_echo") >&5
15640 (eval "$ac_compile") 2>conftest.er1
15642 grep -v '^ *+' conftest.er1
>conftest.err
15644 cat conftest.err
>&5
15645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } && {
15647 test -z "$ac_c_werror_flag" ||
15648 test ! -s conftest.err
15649 } && test -s conftest.
$ac_objext; then
15650 ac_header_compiler
=yes
15652 $as_echo "$as_me: failed program was:" >&5
15653 sed 's/^/| /' conftest.
$ac_ext >&5
15655 ac_header_compiler
=no
15658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15659 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15660 $as_echo "$ac_header_compiler" >&6; }
15662 # Is the header present?
15663 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15664 $as_echo_n "checking $ac_header presence... " >&6; }
15665 cat >conftest.
$ac_ext <<_ACEOF
15668 cat confdefs.h
>>conftest.
$ac_ext
15669 cat >>conftest.
$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671 #include <$ac_header>
15673 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15674 case "(($ac_try" in
15675 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15676 *) ac_try_echo=$ac_try;;
15678 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15679 $as_echo "$ac_try_echo") >&5
15680 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15682 grep -v '^ *+' conftest.er1 >conftest.err
15684 cat conftest.err >&5
15685 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); } >/dev/null && {
15687 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15688 test ! -s conftest.err
15690 ac_header_preproc=yes
15692 $as_echo "$as_me: failed program was:" >&5
15693 sed 's/^/| /' conftest.$ac_ext >&5
15695 ac_header_preproc=no
15698 rm -f conftest.err conftest.$ac_ext
15699 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15700 $as_echo "$ac_header_preproc" >&6; }
15702 # So? What about this header?
15703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15706 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15707 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15708 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15709 ac_header_preproc=yes
15712 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15713 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15714 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15715 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15716 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15717 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15718 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15719 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15720 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15721 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15722 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15723 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15727 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15728 $as_echo_n "checking for $ac_header... " >&6; }
15729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15730 $as_echo_n "(cached) " >&6
15732 eval "$as_ac_Header=\$ac_header_preproc"
15734 ac_res=`eval 'as_val=${'$as_ac_Header'}
15735 $as_echo "$as_val"'`
15736 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15737 $as_echo "$ac_res" >&6; }
15740 as_val=`eval 'as_val=${'$as_ac_Header'}
15741 $as_echo "$as_val"'`
15742 if test "x$as_val" = x""yes; then
15743 cat >>confdefs.h <<_ACEOF
15744 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15752 for ac_header in fp_class.h
15754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15755 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15756 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15757 $as_echo_n "checking for $ac_header... " >&6; }
15758 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15759 $as_echo_n "(cached) " >&6
15761 ac_res=`eval 'as_val=${'$as_ac_Header'}
15762 $as_echo "$as_val"'`
15763 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15764 $as_echo "$ac_res" >&6; }
15766 # Is the header compilable?
15767 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15768 $as_echo_n "checking $ac_header usability... " >&6; }
15769 cat >conftest.$ac_ext <<_ACEOF
15772 cat confdefs.h >>conftest.$ac_ext
15773 cat >>conftest.$ac_ext <<_ACEOF
15774 /* end confdefs.h. */
15775 $ac_includes_default
15776 #include <$ac_header>
15778 rm -f conftest.$ac_objext
15779 if { (ac_try="$ac_compile"
15780 case "(($ac_try" in
15781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15782 *) ac_try_echo
=$ac_try;;
15784 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15785 $as_echo "$ac_try_echo") >&5
15786 (eval "$ac_compile") 2>conftest.er1
15788 grep -v '^ *+' conftest.er1
>conftest.err
15790 cat conftest.err
>&5
15791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest.
$ac_objext; then
15796 ac_header_compiler
=yes
15798 $as_echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.
$ac_ext >&5
15801 ac_header_compiler
=no
15804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15805 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15806 $as_echo "$ac_header_compiler" >&6; }
15808 # Is the header present?
15809 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15810 $as_echo_n "checking $ac_header presence... " >&6; }
15811 cat >conftest.
$ac_ext <<_ACEOF
15814 cat confdefs.h
>>conftest.
$ac_ext
15815 cat >>conftest.
$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 #include <$ac_header>
15819 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15820 case "(($ac_try" in
15821 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15822 *) ac_try_echo=$ac_try;;
15824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15825 $as_echo "$ac_try_echo") >&5
15826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15828 grep -v '^ *+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } >/dev/null && {
15833 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15834 test ! -s conftest.err
15836 ac_header_preproc=yes
15838 $as_echo "$as_me: failed program was:" >&5
15839 sed 's/^/| /' conftest.$ac_ext >&5
15841 ac_header_preproc=no
15844 rm -f conftest.err conftest.$ac_ext
15845 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15846 $as_echo "$ac_header_preproc" >&6; }
15848 # So? What about this header?
15849 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15851 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15852 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15853 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15854 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15855 ac_header_preproc=yes
15858 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15859 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15860 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15861 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15863 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15865 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15867 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15869 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15873 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15874 $as_echo_n "checking for $ac_header... " >&6; }
15875 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15876 $as_echo_n "(cached) " >&6
15878 eval "$as_ac_Header=\$ac_header_preproc"
15880 ac_res=`eval 'as_val=${'$as_ac_Header'}
15881 $as_echo "$as_val"'`
15882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15883 $as_echo "$ac_res" >&6; }
15886 as_val=`eval 'as_val=${'$as_ac_Header'}
15887 $as_echo "$as_val"'`
15888 if test "x$as_val" = x""yes; then
15889 cat >>confdefs.h <<_ACEOF
15890 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
15898 for ac_header in float.h
15900 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
15901 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15902 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15903 $as_echo_n "checking for $ac_header... " >&6; }
15904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15905 $as_echo_n "(cached) " >&6
15907 ac_res=`eval 'as_val=${'$as_ac_Header'}
15908 $as_echo "$as_val"'`
15909 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15910 $as_echo "$ac_res" >&6; }
15912 # Is the header compilable?
15913 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15914 $as_echo_n "checking $ac_header usability... " >&6; }
15915 cat >conftest.$ac_ext <<_ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 $ac_includes_default
15922 #include <$ac_header>
15924 rm -f conftest.$ac_objext
15925 if { (ac_try="$ac_compile"
15926 case "(($ac_try" in
15927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15928 *) ac_try_echo
=$ac_try;;
15930 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15931 $as_echo "$ac_try_echo") >&5
15932 (eval "$ac_compile") 2>conftest.er1
15934 grep -v '^ *+' conftest.er1
>conftest.err
15936 cat conftest.err
>&5
15937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); } && {
15939 test -z "$ac_c_werror_flag" ||
15940 test ! -s conftest.err
15941 } && test -s conftest.
$ac_objext; then
15942 ac_header_compiler
=yes
15944 $as_echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.
$ac_ext >&5
15947 ac_header_compiler
=no
15950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15951 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15952 $as_echo "$ac_header_compiler" >&6; }
15954 # Is the header present?
15955 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15956 $as_echo_n "checking $ac_header presence... " >&6; }
15957 cat >conftest.
$ac_ext <<_ACEOF
15960 cat confdefs.h
>>conftest.
$ac_ext
15961 cat >>conftest.
$ac_ext <<_ACEOF
15962 /* end confdefs.h. */
15963 #include <$ac_header>
15965 if { (ac_try
="$ac_cpp conftest.$ac_ext"
15966 case "(($ac_try" in
15967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15968 *) ac_try_echo=$ac_try;;
15970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15971 $as_echo "$ac_try_echo") >&5
15972 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15974 grep -v '^ *+' conftest.er1 >conftest.err
15976 cat conftest.err >&5
15977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); } >/dev/null && {
15979 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15980 test ! -s conftest.err
15982 ac_header_preproc=yes
15984 $as_echo "$as_me: failed program was:" >&5
15985 sed 's/^/| /' conftest.$ac_ext >&5
15987 ac_header_preproc=no
15990 rm -f conftest.err conftest.$ac_ext
15991 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15992 $as_echo "$ac_header_preproc" >&6; }
15994 # So? What about this header?
15995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15997 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15998 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15999 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16000 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16001 ac_header_preproc=yes
16004 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16005 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16006 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16007 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16008 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16009 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16010 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16011 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16012 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16013 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16014 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16015 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16019 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16020 $as_echo_n "checking for $ac_header... " >&6; }
16021 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16022 $as_echo_n "(cached) " >&6
16024 eval "$as_ac_Header=\$ac_header_preproc"
16026 ac_res=`eval 'as_val=${'$as_ac_Header'}
16027 $as_echo "$as_val"'`
16028 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16029 $as_echo "$ac_res" >&6; }
16032 as_val=`eval 'as_val=${'$as_ac_Header'}
16033 $as_echo "$as_val"'`
16034 if test "x$as_val" = x""yes; then
16035 cat >>confdefs.h <<_ACEOF
16036 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16044 for ac_header in stdlib.h
16046 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16047 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16049 $as_echo_n "checking for $ac_header... " >&6; }
16050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16051 $as_echo_n "(cached) " >&6
16053 ac_res=`eval 'as_val=${'$as_ac_Header'}
16054 $as_echo "$as_val"'`
16055 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16056 $as_echo "$ac_res" >&6; }
16058 # Is the header compilable?
16059 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16060 $as_echo_n "checking $ac_header usability... " >&6; }
16061 cat >conftest.$ac_ext <<_ACEOF
16064 cat confdefs.h >>conftest.$ac_ext
16065 cat >>conftest.$ac_ext <<_ACEOF
16066 /* end confdefs.h. */
16067 $ac_includes_default
16068 #include <$ac_header>
16070 rm -f conftest.$ac_objext
16071 if { (ac_try="$ac_compile"
16072 case "(($ac_try" in
16073 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16074 *) ac_try_echo
=$ac_try;;
16076 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16077 $as_echo "$ac_try_echo") >&5
16078 (eval "$ac_compile") 2>conftest.er1
16080 grep -v '^ *+' conftest.er1
>conftest.err
16082 cat conftest.err
>&5
16083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16084 (exit $ac_status); } && {
16085 test -z "$ac_c_werror_flag" ||
16086 test ! -s conftest.err
16087 } && test -s conftest.
$ac_objext; then
16088 ac_header_compiler
=yes
16090 $as_echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.
$ac_ext >&5
16093 ac_header_compiler
=no
16096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16097 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16098 $as_echo "$ac_header_compiler" >&6; }
16100 # Is the header present?
16101 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16102 $as_echo_n "checking $ac_header presence... " >&6; }
16103 cat >conftest.
$ac_ext <<_ACEOF
16106 cat confdefs.h
>>conftest.
$ac_ext
16107 cat >>conftest.
$ac_ext <<_ACEOF
16108 /* end confdefs.h. */
16109 #include <$ac_header>
16111 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16112 case "(($ac_try" in
16113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16114 *) ac_try_echo=$ac_try;;
16116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16117 $as_echo "$ac_try_echo") >&5
16118 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16120 grep -v '^ *+' conftest.er1 >conftest.err
16122 cat conftest.err >&5
16123 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16124 (exit $ac_status); } >/dev/null && {
16125 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16128 ac_header_preproc=yes
16130 $as_echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16133 ac_header_preproc=no
16136 rm -f conftest.err conftest.$ac_ext
16137 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16138 $as_echo "$ac_header_preproc" >&6; }
16140 # So? What about this header?
16141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16143 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16144 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16145 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16146 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16147 ac_header_preproc=yes
16150 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16151 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16152 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16153 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16154 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16155 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16156 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16157 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16158 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16159 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16160 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16161 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16165 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16166 $as_echo_n "checking for $ac_header... " >&6; }
16167 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16168 $as_echo_n "(cached) " >&6
16170 eval "$as_ac_Header=\$ac_header_preproc"
16172 ac_res=`eval 'as_val=${'$as_ac_Header'}
16173 $as_echo "$as_val"'`
16174 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16175 $as_echo "$ac_res" >&6; }
16178 as_val=`eval 'as_val=${'$as_ac_Header'}
16179 $as_echo "$as_val"'`
16180 if test "x$as_val" = x""yes; then
16181 cat >>confdefs.h <<_ACEOF
16182 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16190 for ac_header in sys/socket.h
16192 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16193 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16194 $as_echo_n "checking for $ac_header... " >&6; }
16195 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16196 $as_echo_n "(cached) " >&6
16198 cat >conftest.$ac_ext <<_ACEOF
16201 cat confdefs.h >>conftest.$ac_ext
16202 cat >>conftest.$ac_ext <<_ACEOF
16203 /* end confdefs.h. */
16204 #if HAVE_SYS_TYPES_H
16205 # include <sys/types.h>
16209 #include <$ac_header>
16211 rm -f conftest.$ac_objext
16212 if { (ac_try="$ac_compile"
16213 case "(($ac_try" in
16214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16215 *) ac_try_echo
=$ac_try;;
16217 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16218 $as_echo "$ac_try_echo") >&5
16219 (eval "$ac_compile") 2>conftest.er1
16221 grep -v '^ *+' conftest.er1
>conftest.err
16223 cat conftest.err
>&5
16224 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } && {
16226 test -z "$ac_c_werror_flag" ||
16227 test ! -s conftest.err
16228 } && test -s conftest.
$ac_objext; then
16229 eval "$as_ac_Header=yes"
16231 $as_echo "$as_me: failed program was:" >&5
16232 sed 's/^/| /' conftest.
$ac_ext >&5
16234 eval "$as_ac_Header=no"
16237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16239 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16240 $as_echo "$as_val"'`
16241 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16242 $as_echo "$ac_res" >&6; }
16243 as_val
=`eval 'as_val=${'$as_ac_Header'}
16244 $as_echo "$as_val"'`
16245 if test "x$as_val" = x
""yes; then
16246 cat >>confdefs.h
<<_ACEOF
16247 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16255 for ac_header
in netinet
/in.h
16257 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16258 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16259 $as_echo_n "checking for $ac_header... " >&6; }
16260 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16261 $as_echo_n "(cached) " >&6
16263 cat >conftest.
$ac_ext <<_ACEOF
16266 cat confdefs.h
>>conftest.
$ac_ext
16267 cat >>conftest.
$ac_ext <<_ACEOF
16268 /* end confdefs.h. */
16269 #if HAVE_SYS_TYPES_H
16270 # include <sys/types.h>
16274 #include <$ac_header>
16276 rm -f conftest.
$ac_objext
16277 if { (ac_try
="$ac_compile"
16278 case "(($ac_try" in
16279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16280 *) ac_try_echo=$ac_try;;
16282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16283 $as_echo "$ac_try_echo") >&5
16284 (eval "$ac_compile") 2>conftest.er1
16286 grep -v '^ *+' conftest.er1 >conftest.err
16288 cat conftest.err >&5
16289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16290 (exit $ac_status); } && {
16291 test -z "$ac_c_werror_flag" ||
16292 test ! -s conftest.err
16293 } && test -s conftest.$ac_objext; then
16294 eval "$as_ac_Header=yes"
16296 $as_echo "$as_me: failed program was:" >&5
16297 sed 's/^/| /' conftest.$ac_ext >&5
16299 eval "$as_ac_Header=no"
16302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16304 ac_res=`eval 'as_val=${'$as_ac_Header'}
16305 $as_echo "$as_val"'`
16306 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16307 $as_echo "$ac_res" >&6; }
16308 as_val=`eval 'as_val=${'$as_ac_Header'}
16309 $as_echo "$as_val"'`
16310 if test "x$as_val" = x""yes; then
16311 cat >>confdefs.h <<_ACEOF
16312 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
16320 for ac_header in arpa/inet.h
16322 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
16323 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16324 $as_echo_n "checking for $ac_header... " >&6; }
16325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16326 $as_echo_n "(cached) " >&6
16328 cat >conftest.$ac_ext <<_ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 #if HAVE_SYS_TYPES_H
16335 # include <sys/types.h>
16337 #if HAVE_ARPA_INET_H
16338 # include <arpa/inet.h>
16342 #include <$ac_header>
16344 rm -f conftest.$ac_objext
16345 if { (ac_try="$ac_compile"
16346 case "(($ac_try" in
16347 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16348 *) ac_try_echo
=$ac_try;;
16350 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16351 $as_echo "$ac_try_echo") >&5
16352 (eval "$ac_compile") 2>conftest.er1
16354 grep -v '^ *+' conftest.er1
>conftest.err
16356 cat conftest.err
>&5
16357 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16358 (exit $ac_status); } && {
16359 test -z "$ac_c_werror_flag" ||
16360 test ! -s conftest.err
16361 } && test -s conftest.
$ac_objext; then
16362 eval "$as_ac_Header=yes"
16364 $as_echo "$as_me: failed program was:" >&5
16365 sed 's/^/| /' conftest.
$ac_ext >&5
16367 eval "$as_ac_Header=no"
16370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16372 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16373 $as_echo "$as_val"'`
16374 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16375 $as_echo "$ac_res" >&6; }
16376 as_val
=`eval 'as_val=${'$as_ac_Header'}
16377 $as_echo "$as_val"'`
16378 if test "x$as_val" = x
""yes; then
16379 cat >>confdefs.h
<<_ACEOF
16380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16388 for ac_header
in netdb.h
16390 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16391 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16392 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16393 $as_echo_n "checking for $ac_header... " >&6; }
16394 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16395 $as_echo_n "(cached) " >&6
16397 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16398 $as_echo "$as_val"'`
16399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16400 $as_echo "$ac_res" >&6; }
16402 # Is the header compilable?
16403 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16404 $as_echo_n "checking $ac_header usability... " >&6; }
16405 cat >conftest.
$ac_ext <<_ACEOF
16408 cat confdefs.h
>>conftest.
$ac_ext
16409 cat >>conftest.
$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 $ac_includes_default
16412 #include <$ac_header>
16414 rm -f conftest.
$ac_objext
16415 if { (ac_try
="$ac_compile"
16416 case "(($ac_try" in
16417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16420 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16421 $as_echo "$ac_try_echo") >&5
16422 (eval "$ac_compile") 2>conftest.er1
16424 grep -v '^ *+' conftest.er1 >conftest.err
16426 cat conftest.err >&5
16427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); } && {
16429 test -z "$ac_c_werror_flag" ||
16430 test ! -s conftest.err
16431 } && test -s conftest.$ac_objext; then
16432 ac_header_compiler=yes
16434 $as_echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16437 ac_header_compiler=no
16440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16441 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16442 $as_echo "$ac_header_compiler" >&6; }
16444 # Is the header present?
16445 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16446 $as_echo_n "checking $ac_header presence... " >&6; }
16447 cat >conftest.$ac_ext <<_ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 #include <$ac_header>
16455 if { (ac_try="$ac_cpp conftest.$ac_ext"
16456 case "(($ac_try" in
16457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16458 *) ac_try_echo
=$ac_try;;
16460 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16461 $as_echo "$ac_try_echo") >&5
16462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16464 grep -v '^ *+' conftest.er1
>conftest.err
16466 cat conftest.err
>&5
16467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); } >/dev
/null
&& {
16469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16470 test ! -s conftest.err
16472 ac_header_preproc
=yes
16474 $as_echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 ac_header_preproc
=no
16480 rm -f conftest.err conftest.
$ac_ext
16481 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16482 $as_echo "$ac_header_preproc" >&6; }
16484 # So? What about this header?
16485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16488 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16490 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16491 ac_header_preproc
=yes
16494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16495 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16497 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16499 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16501 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16503 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16505 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16509 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16510 $as_echo_n "checking for $ac_header... " >&6; }
16511 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16512 $as_echo_n "(cached) " >&6
16514 eval "$as_ac_Header=\$ac_header_preproc"
16516 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16517 $as_echo "$as_val"'`
16518 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16519 $as_echo "$ac_res" >&6; }
16522 as_val
=`eval 'as_val=${'$as_ac_Header'}
16523 $as_echo "$as_val"'`
16524 if test "x$as_val" = x
""yes; then
16525 cat >>confdefs.h
<<_ACEOF
16526 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16534 for ac_header
in sys
/time.h
16536 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16537 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16539 $as_echo_n "checking for $ac_header... " >&6; }
16540 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16541 $as_echo_n "(cached) " >&6
16543 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16544 $as_echo "$as_val"'`
16545 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16546 $as_echo "$ac_res" >&6; }
16548 # Is the header compilable?
16549 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16550 $as_echo_n "checking $ac_header usability... " >&6; }
16551 cat >conftest.
$ac_ext <<_ACEOF
16554 cat confdefs.h
>>conftest.
$ac_ext
16555 cat >>conftest.
$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16557 $ac_includes_default
16558 #include <$ac_header>
16560 rm -f conftest.
$ac_objext
16561 if { (ac_try
="$ac_compile"
16562 case "(($ac_try" in
16563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16567 $as_echo "$ac_try_echo") >&5
16568 (eval "$ac_compile") 2>conftest.er1
16570 grep -v '^ *+' conftest.er1 >conftest.err
16572 cat conftest.err >&5
16573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest.$ac_objext; then
16578 ac_header_compiler=yes
16580 $as_echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16583 ac_header_compiler=no
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16588 $as_echo "$ac_header_compiler" >&6; }
16590 # Is the header present?
16591 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16592 $as_echo_n "checking $ac_header presence... " >&6; }
16593 cat >conftest.$ac_ext <<_ACEOF
16596 cat confdefs.h >>conftest.$ac_ext
16597 cat >>conftest.$ac_ext <<_ACEOF
16598 /* end confdefs.h. */
16599 #include <$ac_header>
16601 if { (ac_try="$ac_cpp conftest.$ac_ext"
16602 case "(($ac_try" in
16603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16604 *) ac_try_echo
=$ac_try;;
16606 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16607 $as_echo "$ac_try_echo") >&5
16608 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16610 grep -v '^ *+' conftest.er1
>conftest.err
16612 cat conftest.err
>&5
16613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); } >/dev
/null
&& {
16615 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16616 test ! -s conftest.err
16618 ac_header_preproc
=yes
16620 $as_echo "$as_me: failed program was:" >&5
16621 sed 's/^/| /' conftest.
$ac_ext >&5
16623 ac_header_preproc
=no
16626 rm -f conftest.err conftest.
$ac_ext
16627 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16628 $as_echo "$ac_header_preproc" >&6; }
16630 # So? What about this header?
16631 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16633 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16634 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16635 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16636 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16637 ac_header_preproc
=yes
16640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16641 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16642 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16643 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16644 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16645 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16646 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16647 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16649 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16651 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16655 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16656 $as_echo_n "checking for $ac_header... " >&6; }
16657 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16658 $as_echo_n "(cached) " >&6
16660 eval "$as_ac_Header=\$ac_header_preproc"
16662 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16663 $as_echo "$as_val"'`
16664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16665 $as_echo "$ac_res" >&6; }
16668 as_val
=`eval 'as_val=${'$as_ac_Header'}
16669 $as_echo "$as_val"'`
16670 if test "x$as_val" = x
""yes; then
16671 cat >>confdefs.h
<<_ACEOF
16672 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16680 for ac_header
in sys
/select.h
16682 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16683 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16684 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16685 $as_echo_n "checking for $ac_header... " >&6; }
16686 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16687 $as_echo_n "(cached) " >&6
16689 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16690 $as_echo "$as_val"'`
16691 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16692 $as_echo "$ac_res" >&6; }
16694 # Is the header compilable?
16695 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16696 $as_echo_n "checking $ac_header usability... " >&6; }
16697 cat >conftest.
$ac_ext <<_ACEOF
16700 cat confdefs.h
>>conftest.
$ac_ext
16701 cat >>conftest.
$ac_ext <<_ACEOF
16702 /* end confdefs.h. */
16703 $ac_includes_default
16704 #include <$ac_header>
16706 rm -f conftest.
$ac_objext
16707 if { (ac_try
="$ac_compile"
16708 case "(($ac_try" in
16709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16710 *) ac_try_echo=$ac_try;;
16712 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16713 $as_echo "$ac_try_echo") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16716 grep -v '^ *+' conftest.er1 >conftest.err
16718 cat conftest.err >&5
16719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 ac_header_compiler=yes
16726 $as_echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16729 ac_header_compiler=no
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16734 $as_echo "$ac_header_compiler" >&6; }
16736 # Is the header present?
16737 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16738 $as_echo_n "checking $ac_header presence... " >&6; }
16739 cat >conftest.$ac_ext <<_ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 #include <$ac_header>
16747 if { (ac_try="$ac_cpp conftest.$ac_ext"
16748 case "(($ac_try" in
16749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16750 *) ac_try_echo
=$ac_try;;
16752 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16753 $as_echo "$ac_try_echo") >&5
16754 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16756 grep -v '^ *+' conftest.er1
>conftest.err
16758 cat conftest.err
>&5
16759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16760 (exit $ac_status); } >/dev
/null
&& {
16761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16762 test ! -s conftest.err
16764 ac_header_preproc
=yes
16766 $as_echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.
$ac_ext >&5
16769 ac_header_preproc
=no
16772 rm -f conftest.err conftest.
$ac_ext
16773 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16774 $as_echo "$ac_header_preproc" >&6; }
16776 # So? What about this header?
16777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16779 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16780 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16781 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16782 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16783 ac_header_preproc
=yes
16786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16787 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16788 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16789 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16790 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16791 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16792 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16793 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16795 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16797 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16801 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16802 $as_echo_n "checking for $ac_header... " >&6; }
16803 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16804 $as_echo_n "(cached) " >&6
16806 eval "$as_ac_Header=\$ac_header_preproc"
16808 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16809 $as_echo "$as_val"'`
16810 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16811 $as_echo "$ac_res" >&6; }
16814 as_val
=`eval 'as_val=${'$as_ac_Header'}
16815 $as_echo "$as_val"'`
16816 if test "x$as_val" = x
""yes; then
16817 cat >>confdefs.h
<<_ACEOF
16818 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16826 for ac_header
in poll.h
16828 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16829 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16830 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16831 $as_echo_n "checking for $ac_header... " >&6; }
16832 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16833 $as_echo_n "(cached) " >&6
16835 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16836 $as_echo "$as_val"'`
16837 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16838 $as_echo "$ac_res" >&6; }
16840 # Is the header compilable?
16841 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16842 $as_echo_n "checking $ac_header usability... " >&6; }
16843 cat >conftest.
$ac_ext <<_ACEOF
16846 cat confdefs.h
>>conftest.
$ac_ext
16847 cat >>conftest.
$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16850 #include <$ac_header>
16852 rm -f conftest.
$ac_objext
16853 if { (ac_try
="$ac_compile"
16854 case "(($ac_try" in
16855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16856 *) ac_try_echo=$ac_try;;
16858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16859 $as_echo "$ac_try_echo") >&5
16860 (eval "$ac_compile") 2>conftest.er1
16862 grep -v '^ *+' conftest.er1 >conftest.err
16864 cat conftest.err >&5
16865 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); } && {
16867 test -z "$ac_c_werror_flag" ||
16868 test ! -s conftest.err
16869 } && test -s conftest.$ac_objext; then
16870 ac_header_compiler=yes
16872 $as_echo "$as_me: failed program was:" >&5
16873 sed 's/^/| /' conftest.$ac_ext >&5
16875 ac_header_compiler=no
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16880 $as_echo "$ac_header_compiler" >&6; }
16882 # Is the header present?
16883 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16884 $as_echo_n "checking $ac_header presence... " >&6; }
16885 cat >conftest.$ac_ext <<_ACEOF
16888 cat confdefs.h >>conftest.$ac_ext
16889 cat >>conftest.$ac_ext <<_ACEOF
16890 /* end confdefs.h. */
16891 #include <$ac_header>
16893 if { (ac_try="$ac_cpp conftest.$ac_ext"
16894 case "(($ac_try" in
16895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16896 *) ac_try_echo
=$ac_try;;
16898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16899 $as_echo "$ac_try_echo") >&5
16900 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16902 grep -v '^ *+' conftest.er1
>conftest.err
16904 cat conftest.err
>&5
16905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } >/dev
/null
&& {
16907 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16908 test ! -s conftest.err
16910 ac_header_preproc
=yes
16912 $as_echo "$as_me: failed program was:" >&5
16913 sed 's/^/| /' conftest.
$ac_ext >&5
16915 ac_header_preproc
=no
16918 rm -f conftest.err conftest.
$ac_ext
16919 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16920 $as_echo "$ac_header_preproc" >&6; }
16922 # So? What about this header?
16923 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16925 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16926 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16927 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16928 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16929 ac_header_preproc
=yes
16932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16933 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16934 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16935 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16936 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16937 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16938 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16939 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16940 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16941 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16942 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16943 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16947 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16948 $as_echo_n "checking for $ac_header... " >&6; }
16949 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16950 $as_echo_n "(cached) " >&6
16952 eval "$as_ac_Header=\$ac_header_preproc"
16954 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16955 $as_echo "$as_val"'`
16956 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16957 $as_echo "$ac_res" >&6; }
16960 as_val
=`eval 'as_val=${'$as_ac_Header'}
16961 $as_echo "$as_val"'`
16962 if test "x$as_val" = x
""yes; then
16963 cat >>confdefs.h
<<_ACEOF
16964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16972 for ac_header
in sys
/mman.h
16974 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16975 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16976 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16977 $as_echo_n "checking for $ac_header... " >&6; }
16978 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16979 $as_echo_n "(cached) " >&6
16981 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16982 $as_echo "$as_val"'`
16983 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16984 $as_echo "$ac_res" >&6; }
16986 # Is the header compilable?
16987 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16988 $as_echo_n "checking $ac_header usability... " >&6; }
16989 cat >conftest.
$ac_ext <<_ACEOF
16992 cat confdefs.h
>>conftest.
$ac_ext
16993 cat >>conftest.
$ac_ext <<_ACEOF
16994 /* end confdefs.h. */
16995 $ac_includes_default
16996 #include <$ac_header>
16998 rm -f conftest.
$ac_objext
16999 if { (ac_try
="$ac_compile"
17000 case "(($ac_try" in
17001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17002 *) ac_try_echo=$ac_try;;
17004 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17005 $as_echo "$ac_try_echo") >&5
17006 (eval "$ac_compile") 2>conftest.er1
17008 grep -v '^ *+' conftest.er1 >conftest.err
17010 cat conftest.err >&5
17011 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } && {
17013 test -z "$ac_c_werror_flag" ||
17014 test ! -s conftest.err
17015 } && test -s conftest.$ac_objext; then
17016 ac_header_compiler=yes
17018 $as_echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_header_compiler=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17026 $as_echo "$ac_header_compiler" >&6; }
17028 # Is the header present?
17029 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17030 $as_echo_n "checking $ac_header presence... " >&6; }
17031 cat >conftest.$ac_ext <<_ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 #include <$ac_header>
17039 if { (ac_try="$ac_cpp conftest.$ac_ext"
17040 case "(($ac_try" in
17041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17042 *) ac_try_echo
=$ac_try;;
17044 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17045 $as_echo "$ac_try_echo") >&5
17046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17048 grep -v '^ *+' conftest.er1
>conftest.err
17050 cat conftest.err
>&5
17051 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } >/dev
/null
&& {
17053 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17054 test ! -s conftest.err
17056 ac_header_preproc
=yes
17058 $as_echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.
$ac_ext >&5
17061 ac_header_preproc
=no
17064 rm -f conftest.err conftest.
$ac_ext
17065 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17066 $as_echo "$ac_header_preproc" >&6; }
17068 # So? What about this header?
17069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17072 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17074 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17075 ac_header_preproc
=yes
17078 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17079 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17080 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17081 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17082 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17083 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17084 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17085 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17086 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17087 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17088 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17089 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17093 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17094 $as_echo_n "checking for $ac_header... " >&6; }
17095 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17096 $as_echo_n "(cached) " >&6
17098 eval "$as_ac_Header=\$ac_header_preproc"
17100 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17101 $as_echo "$as_val"'`
17102 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17103 $as_echo "$ac_res" >&6; }
17106 as_val
=`eval 'as_val=${'$as_ac_Header'}
17107 $as_echo "$as_val"'`
17108 if test "x$as_val" = x
""yes; then
17109 cat >>confdefs.h
<<_ACEOF
17110 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17118 for ac_header
in sys
/timeb.h
17120 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17121 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17122 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17123 $as_echo_n "checking for $ac_header... " >&6; }
17124 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17125 $as_echo_n "(cached) " >&6
17127 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17128 $as_echo "$as_val"'`
17129 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17130 $as_echo "$ac_res" >&6; }
17132 # Is the header compilable?
17133 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17134 $as_echo_n "checking $ac_header usability... " >&6; }
17135 cat >conftest.
$ac_ext <<_ACEOF
17138 cat confdefs.h
>>conftest.
$ac_ext
17139 cat >>conftest.
$ac_ext <<_ACEOF
17140 /* end confdefs.h. */
17141 $ac_includes_default
17142 #include <$ac_header>
17144 rm -f conftest.
$ac_objext
17145 if { (ac_try
="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17151 $as_echo "$ac_try_echo") >&5
17152 (eval "$ac_compile") 2>conftest.er1
17154 grep -v '^ *+' conftest.er1 >conftest.err
17156 cat conftest.err >&5
17157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } && {
17159 test -z "$ac_c_werror_flag" ||
17160 test ! -s conftest.err
17161 } && test -s conftest.$ac_objext; then
17162 ac_header_compiler=yes
17164 $as_echo "$as_me: failed program was:" >&5
17165 sed 's/^/| /' conftest.$ac_ext >&5
17167 ac_header_compiler=no
17170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17172 $as_echo "$ac_header_compiler" >&6; }
17174 # Is the header present?
17175 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17176 $as_echo_n "checking $ac_header presence... " >&6; }
17177 cat >conftest.$ac_ext <<_ACEOF
17180 cat confdefs.h >>conftest.$ac_ext
17181 cat >>conftest.$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17183 #include <$ac_header>
17185 if { (ac_try="$ac_cpp conftest.$ac_ext"
17186 case "(($ac_try" in
17187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17188 *) ac_try_echo
=$ac_try;;
17190 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17191 $as_echo "$ac_try_echo") >&5
17192 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17194 grep -v '^ *+' conftest.er1
>conftest.err
17196 cat conftest.err
>&5
17197 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } >/dev
/null
&& {
17199 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17200 test ! -s conftest.err
17202 ac_header_preproc
=yes
17204 $as_echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.
$ac_ext >&5
17207 ac_header_preproc
=no
17210 rm -f conftest.err conftest.
$ac_ext
17211 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17212 $as_echo "$ac_header_preproc" >&6; }
17214 # So? What about this header?
17215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17217 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17218 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17219 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17220 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17221 ac_header_preproc
=yes
17224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17225 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17226 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17227 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17228 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17229 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17230 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17231 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17232 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17233 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17234 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17235 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17239 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17240 $as_echo_n "checking for $ac_header... " >&6; }
17241 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17242 $as_echo_n "(cached) " >&6
17244 eval "$as_ac_Header=\$ac_header_preproc"
17246 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17247 $as_echo "$as_val"'`
17248 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17249 $as_echo "$ac_res" >&6; }
17252 as_val
=`eval 'as_val=${'$as_ac_Header'}
17253 $as_echo "$as_val"'`
17254 if test "x$as_val" = x
""yes; then
17255 cat >>confdefs.h
<<_ACEOF
17256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17264 for ac_header
in signal.h
17266 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17267 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17268 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17269 $as_echo_n "checking for $ac_header... " >&6; }
17270 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17271 $as_echo_n "(cached) " >&6
17273 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17274 $as_echo "$as_val"'`
17275 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17276 $as_echo "$ac_res" >&6; }
17278 # Is the header compilable?
17279 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17280 $as_echo_n "checking $ac_header usability... " >&6; }
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17288 #include <$ac_header>
17290 rm -f conftest.
$ac_objext
17291 if { (ac_try
="$ac_compile"
17292 case "(($ac_try" in
17293 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17297 $as_echo "$ac_try_echo") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17300 grep -v '^ *+' conftest.er1 >conftest.err
17302 cat conftest.err >&5
17303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.$ac_objext; then
17308 ac_header_compiler=yes
17310 $as_echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ac_header_compiler=no
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17317 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17318 $as_echo "$ac_header_compiler" >&6; }
17320 # Is the header present?
17321 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17322 $as_echo_n "checking $ac_header presence... " >&6; }
17323 cat >conftest.$ac_ext <<_ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 #include <$ac_header>
17331 if { (ac_try="$ac_cpp conftest.$ac_ext"
17332 case "(($ac_try" in
17333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17334 *) ac_try_echo
=$ac_try;;
17336 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17337 $as_echo "$ac_try_echo") >&5
17338 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17340 grep -v '^ *+' conftest.er1
>conftest.err
17342 cat conftest.err
>&5
17343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17344 (exit $ac_status); } >/dev
/null
&& {
17345 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17346 test ! -s conftest.err
17348 ac_header_preproc
=yes
17350 $as_echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.
$ac_ext >&5
17353 ac_header_preproc
=no
17356 rm -f conftest.err conftest.
$ac_ext
17357 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17358 $as_echo "$ac_header_preproc" >&6; }
17360 # So? What about this header?
17361 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17364 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17366 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17367 ac_header_preproc
=yes
17370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17371 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17372 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17373 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17374 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17375 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17376 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17377 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17378 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17379 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17380 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17381 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17385 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17386 $as_echo_n "checking for $ac_header... " >&6; }
17387 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17388 $as_echo_n "(cached) " >&6
17390 eval "$as_ac_Header=\$ac_header_preproc"
17392 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17393 $as_echo "$as_val"'`
17394 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17395 $as_echo "$ac_res" >&6; }
17398 as_val
=`eval 'as_val=${'$as_ac_Header'}
17399 $as_echo "$as_val"'`
17400 if test "x$as_val" = x
""yes; then
17401 cat >>confdefs.h
<<_ACEOF
17402 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17410 for ac_header
in arpa
/nameser.h
17412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17413 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17414 $as_echo_n "checking for $ac_header... " >&6; }
17415 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17416 $as_echo_n "(cached) " >&6
17418 cat >conftest.
$ac_ext <<_ACEOF
17421 cat confdefs.h
>>conftest.
$ac_ext
17422 cat >>conftest.
$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424 #if HAVE_SYS_TYPES_H
17425 # include <sys/types.h>
17429 #include <$ac_header>
17431 rm -f conftest.
$ac_objext
17432 if { (ac_try
="$ac_compile"
17433 case "(($ac_try" in
17434 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17435 *) ac_try_echo=$ac_try;;
17437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17438 $as_echo "$ac_try_echo") >&5
17439 (eval "$ac_compile") 2>conftest.er1
17441 grep -v '^ *+' conftest.er1 >conftest.err
17443 cat conftest.err >&5
17444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); } && {
17446 test -z "$ac_c_werror_flag" ||
17447 test ! -s conftest.err
17448 } && test -s conftest.$ac_objext; then
17449 eval "$as_ac_Header=yes"
17451 $as_echo "$as_me: failed program was:" >&5
17452 sed 's/^/| /' conftest.$ac_ext >&5
17454 eval "$as_ac_Header=no"
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17459 ac_res=`eval 'as_val=${'$as_ac_Header'}
17460 $as_echo "$as_val"'`
17461 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17462 $as_echo "$ac_res" >&6; }
17463 as_val=`eval 'as_val=${'$as_ac_Header'}
17464 $as_echo "$as_val"'`
17465 if test "x$as_val" = x""yes; then
17466 cat >>confdefs.h <<_ACEOF
17467 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
17475 for ac_header in resolv.h
17477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
17478 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17479 $as_echo_n "checking for $ac_header... " >&6; }
17480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17481 $as_echo_n "(cached) " >&6
17483 cat >conftest.$ac_ext <<_ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489 #if HAVE_SYS_TYPES_H
17490 # include <sys/types.h>
17492 #if HAVE_NETINET_IN_H
17493 # include <netinet/in.h>
17495 #if HAVE_ARPA_NAMESER_H
17496 # include <arpa/nameser.h>
17500 #include <$ac_header>
17502 rm -f conftest.$ac_objext
17503 if { (ac_try="$ac_compile"
17504 case "(($ac_try" in
17505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17506 *) ac_try_echo
=$ac_try;;
17508 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17509 $as_echo "$ac_try_echo") >&5
17510 (eval "$ac_compile") 2>conftest.er1
17512 grep -v '^ *+' conftest.er1
>conftest.err
17514 cat conftest.err
>&5
17515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17516 (exit $ac_status); } && {
17517 test -z "$ac_c_werror_flag" ||
17518 test ! -s conftest.err
17519 } && test -s conftest.
$ac_objext; then
17520 eval "$as_ac_Header=yes"
17522 $as_echo "$as_me: failed program was:" >&5
17523 sed 's/^/| /' conftest.
$ac_ext >&5
17525 eval "$as_ac_Header=no"
17528 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17530 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17531 $as_echo "$as_val"'`
17532 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17533 $as_echo "$ac_res" >&6; }
17534 as_val
=`eval 'as_val=${'$as_ac_Header'}
17535 $as_echo "$as_val"'`
17536 if test "x$as_val" = x
""yes; then
17537 cat >>confdefs.h
<<_ACEOF
17538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17546 for ac_header
in dl.h
17548 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17549 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17550 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17551 $as_echo_n "checking for $ac_header... " >&6; }
17552 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17553 $as_echo_n "(cached) " >&6
17555 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17556 $as_echo "$as_val"'`
17557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17558 $as_echo "$ac_res" >&6; }
17560 # Is the header compilable?
17561 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17562 $as_echo_n "checking $ac_header usability... " >&6; }
17563 cat >conftest.
$ac_ext <<_ACEOF
17566 cat confdefs.h
>>conftest.
$ac_ext
17567 cat >>conftest.
$ac_ext <<_ACEOF
17568 /* end confdefs.h. */
17569 $ac_includes_default
17570 #include <$ac_header>
17572 rm -f conftest.
$ac_objext
17573 if { (ac_try
="$ac_compile"
17574 case "(($ac_try" in
17575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17576 *) ac_try_echo=$ac_try;;
17578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17579 $as_echo "$ac_try_echo") >&5
17580 (eval "$ac_compile") 2>conftest.er1
17582 grep -v '^ *+' conftest.er1 >conftest.err
17584 cat conftest.err >&5
17585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); } && {
17587 test -z "$ac_c_werror_flag" ||
17588 test ! -s conftest.err
17589 } && test -s conftest.$ac_objext; then
17590 ac_header_compiler=yes
17592 $as_echo "$as_me: failed program was:" >&5
17593 sed 's/^/| /' conftest.$ac_ext >&5
17595 ac_header_compiler=no
17598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17600 $as_echo "$ac_header_compiler" >&6; }
17602 # Is the header present?
17603 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17604 $as_echo_n "checking $ac_header presence... " >&6; }
17605 cat >conftest.$ac_ext <<_ACEOF
17608 cat confdefs.h >>conftest.$ac_ext
17609 cat >>conftest.$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <$ac_header>
17613 if { (ac_try="$ac_cpp conftest.$ac_ext"
17614 case "(($ac_try" in
17615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17616 *) ac_try_echo
=$ac_try;;
17618 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17619 $as_echo "$ac_try_echo") >&5
17620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17622 grep -v '^ *+' conftest.er1
>conftest.err
17624 cat conftest.err
>&5
17625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } >/dev
/null
&& {
17627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17628 test ! -s conftest.err
17630 ac_header_preproc
=yes
17632 $as_echo "$as_me: failed program was:" >&5
17633 sed 's/^/| /' conftest.
$ac_ext >&5
17635 ac_header_preproc
=no
17638 rm -f conftest.err conftest.
$ac_ext
17639 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17640 $as_echo "$ac_header_preproc" >&6; }
17642 # So? What about this header?
17643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17645 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17646 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17648 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17649 ac_header_preproc
=yes
17652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17653 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17655 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17657 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17659 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17661 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17663 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17667 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17668 $as_echo_n "checking for $ac_header... " >&6; }
17669 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17670 $as_echo_n "(cached) " >&6
17672 eval "$as_ac_Header=\$ac_header_preproc"
17674 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17675 $as_echo "$as_val"'`
17676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17677 $as_echo "$ac_res" >&6; }
17680 as_val
=`eval 'as_val=${'$as_ac_Header'}
17681 $as_echo "$as_val"'`
17682 if test "x$as_val" = x
""yes; then
17683 cat >>confdefs.h
<<_ACEOF
17684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17692 for ac_header
in dlfcn.h
17694 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17695 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17696 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17697 $as_echo_n "checking for $ac_header... " >&6; }
17698 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17699 $as_echo_n "(cached) " >&6
17701 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17702 $as_echo "$as_val"'`
17703 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17704 $as_echo "$ac_res" >&6; }
17706 # Is the header compilable?
17707 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17708 $as_echo_n "checking $ac_header usability... " >&6; }
17709 cat >conftest.
$ac_ext <<_ACEOF
17712 cat confdefs.h
>>conftest.
$ac_ext
17713 cat >>conftest.
$ac_ext <<_ACEOF
17714 /* end confdefs.h. */
17715 $ac_includes_default
17716 #include <$ac_header>
17718 rm -f conftest.
$ac_objext
17719 if { (ac_try
="$ac_compile"
17720 case "(($ac_try" in
17721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17722 *) ac_try_echo=$ac_try;;
17724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17725 $as_echo "$ac_try_echo") >&5
17726 (eval "$ac_compile") 2>conftest.er1
17728 grep -v '^ *+' conftest.er1 >conftest.err
17730 cat conftest.err >&5
17731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); } && {
17733 test -z "$ac_c_werror_flag" ||
17734 test ! -s conftest.err
17735 } && test -s conftest.$ac_objext; then
17736 ac_header_compiler=yes
17738 $as_echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.$ac_ext >&5
17741 ac_header_compiler=no
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17745 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17746 $as_echo "$ac_header_compiler" >&6; }
17748 # Is the header present?
17749 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17750 $as_echo_n "checking $ac_header presence... " >&6; }
17751 cat >conftest.$ac_ext <<_ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17757 #include <$ac_header>
17759 if { (ac_try="$ac_cpp conftest.$ac_ext"
17760 case "(($ac_try" in
17761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17762 *) ac_try_echo
=$ac_try;;
17764 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17765 $as_echo "$ac_try_echo") >&5
17766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17768 grep -v '^ *+' conftest.er1
>conftest.err
17770 cat conftest.err
>&5
17771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } >/dev
/null
&& {
17773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17774 test ! -s conftest.err
17776 ac_header_preproc
=yes
17778 $as_echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_header_preproc
=no
17784 rm -f conftest.err conftest.
$ac_ext
17785 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17786 $as_echo "$ac_header_preproc" >&6; }
17788 # So? What about this header?
17789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17792 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17794 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17795 ac_header_preproc
=yes
17798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17799 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17801 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17803 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17805 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17807 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17809 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17813 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17814 $as_echo_n "checking for $ac_header... " >&6; }
17815 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17816 $as_echo_n "(cached) " >&6
17818 eval "$as_ac_Header=\$ac_header_preproc"
17820 ac_res
=`eval 'as_val=${'$as_ac_Header'}
17821 $as_echo "$as_val"'`
17822 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17823 $as_echo "$ac_res" >&6; }
17826 as_val
=`eval 'as_val=${'$as_ac_Header'}
17827 $as_echo "$as_val"'`
17828 if test "x$as_val" = x
""yes; then
17829 cat >>confdefs.h
<<_ACEOF
17830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17839 echo Checking libraries
17842 for ac_func
in strftime
17844 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17845 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
17846 $as_echo_n "checking for $ac_func... " >&6; }
17847 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17848 $as_echo_n "(cached) " >&6
17850 cat >conftest.
$ac_ext <<_ACEOF
17853 cat confdefs.h
>>conftest.
$ac_ext
17854 cat >>conftest.
$ac_ext <<_ACEOF
17855 /* end confdefs.h. */
17856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17858 #define $ac_func innocuous_$ac_func
17860 /* System header to define __stub macros and hopefully few prototypes,
17861 which can conflict with char $ac_func (); below.
17862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17863 <limits.h> exists even on freestanding compilers. */
17866 # include <limits.h>
17868 # include <assert.h>
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17880 /* The GNU C library defines this for functions which it implements
17881 to always fail with ENOSYS. Some functions are actually named
17882 something starting with __ and the normal name is an alias. */
17883 #if defined __stub_$ac_func || defined __stub___$ac_func
17890 return $ac_func ();
17895 rm -f conftest.
$ac_objext conftest
$ac_exeext
17896 if { (ac_try
="$ac_link"
17897 case "(($ac_try" in
17898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17899 *) ac_try_echo=$ac_try;;
17901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17902 $as_echo "$ac_try_echo") >&5
17903 (eval "$ac_link") 2>conftest.er1
17905 grep -v '^ *+' conftest.er1 >conftest.err
17907 cat conftest.err >&5
17908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); } && {
17910 test -z "$ac_c_werror_flag" ||
17911 test ! -s conftest.err
17912 } && test -s conftest$ac_exeext && {
17913 test "$cross_compiling" = yes ||
17914 $as_test_x conftest$ac_exeext
17916 eval "$as_ac_var=yes"
17918 $as_echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17921 eval "$as_ac_var=no"
17924 rm -rf conftest.dSYM
17925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17926 conftest$ac_exeext conftest.$ac_ext
17928 ac_res=`eval 'as_val=${'$as_ac_var'}
17929 $as_echo "$as_val"'`
17930 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17931 $as_echo "$ac_res" >&6; }
17932 as_val=`eval 'as_val=${'$as_ac_var'}
17933 $as_echo "$as_val"'`
17934 if test "x$as_val" = x""yes; then
17935 cat >>confdefs.h <<_ACEOF
17936 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
17940 # strftime is in -lintl on SCO UNIX.
17941 { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
17942 $as_echo_n "checking for strftime in -lintl... " >&6; }
17943 if test "${ac_cv_lib_intl_strftime+set}" = set; then
17944 $as_echo_n "(cached) " >&6
17946 ac_check_lib_save_LIBS=$LIBS
17947 LIBS="-lintl $LIBS"
17948 cat >conftest.$ac_ext <<_ACEOF
17951 cat confdefs.h >>conftest.$ac_ext
17952 cat >>conftest.$ac_ext <<_ACEOF
17953 /* end confdefs.h. */
17955 /* Override any GCC internal prototype to avoid an error.
17956 Use char because int might match the return type of a GCC
17957 builtin and then its argument prototype would still apply. */
17965 return strftime ();
17970 rm -f conftest.$ac_objext conftest$ac_exeext
17971 if { (ac_try="$ac_link"
17972 case "(($ac_try" in
17973 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17974 *) ac_try_echo
=$ac_try;;
17976 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17977 $as_echo "$ac_try_echo") >&5
17978 (eval "$ac_link") 2>conftest.er1
17980 grep -v '^ *+' conftest.er1
>conftest.err
17982 cat conftest.err
>&5
17983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); } && {
17985 test -z "$ac_c_werror_flag" ||
17986 test ! -s conftest.err
17987 } && test -s conftest
$ac_exeext && {
17988 test "$cross_compiling" = yes ||
17989 $as_test_x conftest
$ac_exeext
17991 ac_cv_lib_intl_strftime
=yes
17993 $as_echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.
$ac_ext >&5
17996 ac_cv_lib_intl_strftime
=no
17999 rm -rf conftest.dSYM
18000 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18001 conftest
$ac_exeext conftest.
$ac_ext
18002 LIBS
=$ac_check_lib_save_LIBS
18004 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
18005 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
18006 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then
18007 cat >>confdefs.h
<<\_ACEOF
18008 #define HAVE_STRFTIME 1
18011 LIBS
="-lintl $LIBS"
18020 for ac_func
in strdup strndup strerror
18022 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18023 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18024 $as_echo_n "checking for $ac_func... " >&6; }
18025 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18026 $as_echo_n "(cached) " >&6
18028 cat >conftest.
$ac_ext <<_ACEOF
18031 cat confdefs.h
>>conftest.
$ac_ext
18032 cat >>conftest.
$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18036 #define $ac_func innocuous_$ac_func
18038 /* System header to define __stub macros and hopefully few prototypes,
18039 which can conflict with char $ac_func (); below.
18040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18041 <limits.h> exists even on freestanding compilers. */
18044 # include <limits.h>
18046 # include <assert.h>
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18058 /* The GNU C library defines this for functions which it implements
18059 to always fail with ENOSYS. Some functions are actually named
18060 something starting with __ and the normal name is an alias. */
18061 #if defined __stub_$ac_func || defined __stub___$ac_func
18068 return $ac_func ();
18073 rm -f conftest.
$ac_objext conftest
$ac_exeext
18074 if { (ac_try
="$ac_link"
18075 case "(($ac_try" in
18076 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18077 *) ac_try_echo=$ac_try;;
18079 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18080 $as_echo "$ac_try_echo") >&5
18081 (eval "$ac_link") 2>conftest.er1
18083 grep -v '^ *+' conftest.er1 >conftest.err
18085 cat conftest.err >&5
18086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } && {
18088 test -z "$ac_c_werror_flag" ||
18089 test ! -s conftest.err
18090 } && test -s conftest$ac_exeext && {
18091 test "$cross_compiling" = yes ||
18092 $as_test_x conftest$ac_exeext
18094 eval "$as_ac_var=yes"
18096 $as_echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 eval "$as_ac_var=no"
18102 rm -rf conftest.dSYM
18103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18104 conftest$ac_exeext conftest.$ac_ext
18106 ac_res=`eval 'as_val=${'$as_ac_var'}
18107 $as_echo "$as_val"'`
18108 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18109 $as_echo "$ac_res" >&6; }
18110 as_val=`eval 'as_val=${'$as_ac_var'}
18111 $as_echo "$as_val"'`
18112 if test "x$as_val" = x""yes; then
18113 cat >>confdefs.h <<_ACEOF
18114 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18125 for ac_func in finite isnand fp_class class fpclass
18127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18128 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18129 $as_echo_n "checking for $ac_func... " >&6; }
18130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18131 $as_echo_n "(cached) " >&6
18133 cat >conftest.$ac_ext <<_ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18141 #define $ac_func innocuous_$ac_func
18143 /* System header to define __stub macros and hopefully few prototypes,
18144 which can conflict with char $ac_func (); below.
18145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18146 <limits.h> exists even on freestanding compilers. */
18149 # include <limits.h>
18151 # include <assert.h>
18156 /* Override any GCC internal prototype to avoid an error.
18157 Use char because int might match the return type of a GCC
18158 builtin and then its argument prototype would still apply. */
18163 /* The GNU C library defines this for functions which it implements
18164 to always fail with ENOSYS. Some functions are actually named
18165 something starting with __ and the normal name is an alias. */
18166 #if defined __stub_$ac_func || defined __stub___$ac_func
18173 return $ac_func ();
18178 rm -f conftest.$ac_objext conftest$ac_exeext
18179 if { (ac_try="$ac_link"
18180 case "(($ac_try" in
18181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18182 *) ac_try_echo
=$ac_try;;
18184 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18185 $as_echo "$ac_try_echo") >&5
18186 (eval "$ac_link") 2>conftest.er1
18188 grep -v '^ *+' conftest.er1
>conftest.err
18190 cat conftest.err
>&5
18191 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18192 (exit $ac_status); } && {
18193 test -z "$ac_c_werror_flag" ||
18194 test ! -s conftest.err
18195 } && test -s conftest
$ac_exeext && {
18196 test "$cross_compiling" = yes ||
18197 $as_test_x conftest
$ac_exeext
18199 eval "$as_ac_var=yes"
18201 $as_echo "$as_me: failed program was:" >&5
18202 sed 's/^/| /' conftest.
$ac_ext >&5
18204 eval "$as_ac_var=no"
18207 rm -rf conftest.dSYM
18208 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18209 conftest
$ac_exeext conftest.
$ac_ext
18211 ac_res
=`eval 'as_val=${'$as_ac_var'}
18212 $as_echo "$as_val"'`
18213 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18214 $as_echo "$ac_res" >&6; }
18215 as_val
=`eval 'as_val=${'$as_ac_var'}
18216 $as_echo "$as_val"'`
18217 if test "x$as_val" = x
""yes; then
18218 cat >>confdefs.h
<<_ACEOF
18219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18229 for ac_func
in strftime localtime gettimeofday ftime
18231 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18232 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18233 $as_echo_n "checking for $ac_func... " >&6; }
18234 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18235 $as_echo_n "(cached) " >&6
18237 cat >conftest.
$ac_ext <<_ACEOF
18240 cat confdefs.h
>>conftest.
$ac_ext
18241 cat >>conftest.
$ac_ext <<_ACEOF
18242 /* end confdefs.h. */
18243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18245 #define $ac_func innocuous_$ac_func
18247 /* System header to define __stub macros and hopefully few prototypes,
18248 which can conflict with char $ac_func (); below.
18249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18250 <limits.h> exists even on freestanding compilers. */
18253 # include <limits.h>
18255 # include <assert.h>
18260 /* Override any GCC internal prototype to avoid an error.
18261 Use char because int might match the return type of a GCC
18262 builtin and then its argument prototype would still apply. */
18267 /* The GNU C library defines this for functions which it implements
18268 to always fail with ENOSYS. Some functions are actually named
18269 something starting with __ and the normal name is an alias. */
18270 #if defined __stub_$ac_func || defined __stub___$ac_func
18277 return $ac_func ();
18282 rm -f conftest.
$ac_objext conftest
$ac_exeext
18283 if { (ac_try
="$ac_link"
18284 case "(($ac_try" in
18285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18286 *) ac_try_echo=$ac_try;;
18288 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18289 $as_echo "$ac_try_echo") >&5
18290 (eval "$ac_link") 2>conftest.er1
18292 grep -v '^ *+' conftest.er1 >conftest.err
18294 cat conftest.err >&5
18295 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } && {
18297 test -z "$ac_c_werror_flag" ||
18298 test ! -s conftest.err
18299 } && test -s conftest$ac_exeext && {
18300 test "$cross_compiling" = yes ||
18301 $as_test_x conftest$ac_exeext
18303 eval "$as_ac_var=yes"
18305 $as_echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18308 eval "$as_ac_var=no"
18311 rm -rf conftest.dSYM
18312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18313 conftest$ac_exeext conftest.$ac_ext
18315 ac_res=`eval 'as_val=${'$as_ac_var'}
18316 $as_echo "$as_val"'`
18317 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18318 $as_echo "$ac_res" >&6; }
18319 as_val=`eval 'as_val=${'$as_ac_var'}
18320 $as_echo "$as_val"'`
18321 if test "x$as_val" = x""yes; then
18322 cat >>confdefs.h <<_ACEOF
18323 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18332 for ac_func in stat _stat signal
18334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18335 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18336 $as_echo_n "checking for $ac_func... " >&6; }
18337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18338 $as_echo_n "(cached) " >&6
18340 cat >conftest.$ac_ext <<_ACEOF
18343 cat confdefs.h >>conftest.$ac_ext
18344 cat >>conftest.$ac_ext <<_ACEOF
18345 /* end confdefs.h. */
18346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18348 #define $ac_func innocuous_$ac_func
18350 /* System header to define __stub macros and hopefully few prototypes,
18351 which can conflict with char $ac_func (); below.
18352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18353 <limits.h> exists even on freestanding compilers. */
18356 # include <limits.h>
18358 # include <assert.h>
18363 /* Override any GCC internal prototype to avoid an error.
18364 Use char because int might match the return type of a GCC
18365 builtin and then its argument prototype would still apply. */
18370 /* The GNU C library defines this for functions which it implements
18371 to always fail with ENOSYS. Some functions are actually named
18372 something starting with __ and the normal name is an alias. */
18373 #if defined __stub_$ac_func || defined __stub___$ac_func
18380 return $ac_func ();
18385 rm -f conftest.$ac_objext conftest$ac_exeext
18386 if { (ac_try="$ac_link"
18387 case "(($ac_try" in
18388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18389 *) ac_try_echo
=$ac_try;;
18391 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18392 $as_echo "$ac_try_echo") >&5
18393 (eval "$ac_link") 2>conftest.er1
18395 grep -v '^ *+' conftest.er1
>conftest.err
18397 cat conftest.err
>&5
18398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } && {
18400 test -z "$ac_c_werror_flag" ||
18401 test ! -s conftest.err
18402 } && test -s conftest
$ac_exeext && {
18403 test "$cross_compiling" = yes ||
18404 $as_test_x conftest
$ac_exeext
18406 eval "$as_ac_var=yes"
18408 $as_echo "$as_me: failed program was:" >&5
18409 sed 's/^/| /' conftest.
$ac_ext >&5
18411 eval "$as_ac_var=no"
18414 rm -rf conftest.dSYM
18415 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18416 conftest
$ac_exeext conftest.
$ac_ext
18418 ac_res
=`eval 'as_val=${'$as_ac_var'}
18419 $as_echo "$as_val"'`
18420 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18421 $as_echo "$ac_res" >&6; }
18422 as_val
=`eval 'as_val=${'$as_ac_var'}
18423 $as_echo "$as_val"'`
18424 if test "x$as_val" = x
""yes; then
18425 cat >>confdefs.h
<<_ACEOF
18426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18441 for ac_func
in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
18443 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18444 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
18445 $as_echo_n "checking for $ac_func... " >&6; }
18446 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18447 $as_echo_n "(cached) " >&6
18449 cat >conftest.
$ac_ext <<_ACEOF
18452 cat confdefs.h
>>conftest.
$ac_ext
18453 cat >>conftest.
$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18457 #define $ac_func innocuous_$ac_func
18459 /* System header to define __stub macros and hopefully few prototypes,
18460 which can conflict with char $ac_func (); below.
18461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18462 <limits.h> exists even on freestanding compilers. */
18465 # include <limits.h>
18467 # include <assert.h>
18472 /* Override any GCC internal prototype to avoid an error.
18473 Use char because int might match the return type of a GCC
18474 builtin and then its argument prototype would still apply. */
18479 /* The GNU C library defines this for functions which it implements
18480 to always fail with ENOSYS. Some functions are actually named
18481 something starting with __ and the normal name is an alias. */
18482 #if defined __stub_$ac_func || defined __stub___$ac_func
18489 return $ac_func ();
18494 rm -f conftest.
$ac_objext conftest
$ac_exeext
18495 if { (ac_try
="$ac_link"
18496 case "(($ac_try" in
18497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18501 $as_echo "$ac_try_echo") >&5
18502 (eval "$ac_link") 2>conftest.er1
18504 grep -v '^ *+' conftest.er1 >conftest.err
18506 cat conftest.err >&5
18507 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18508 (exit $ac_status); } && {
18509 test -z "$ac_c_werror_flag" ||
18510 test ! -s conftest.err
18511 } && test -s conftest$ac_exeext && {
18512 test "$cross_compiling" = yes ||
18513 $as_test_x conftest$ac_exeext
18515 eval "$as_ac_var=yes"
18517 $as_echo "$as_me: failed program was:" >&5
18518 sed 's/^/| /' conftest.$ac_ext >&5
18520 eval "$as_ac_var=no"
18523 rm -rf conftest.dSYM
18524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18525 conftest$ac_exeext conftest.$ac_ext
18527 ac_res=`eval 'as_val=${'$as_ac_var'}
18528 $as_echo "$as_val"'`
18529 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18530 $as_echo "$ac_res" >&6; }
18531 as_val=`eval 'as_val=${'$as_ac_var'}
18532 $as_echo "$as_val"'`
18533 if test "x$as_val" = x""yes; then
18534 cat >>confdefs.h <<_ACEOF
18535 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
18544 { $as_echo "$as_me:$LINENO: checking for va_copy" >&5
18545 $as_echo_n "checking for va_copy... " >&6; }
18546 cat >conftest.$ac_ext <<_ACEOF
18549 cat confdefs.h >>conftest.$ac_ext
18550 cat >>conftest.$ac_ext <<_ACEOF
18551 /* end confdefs.h. */
18552 #include <stdarg.h>
18562 rm -f conftest.$ac_objext conftest$ac_exeext
18563 if { (ac_try="$ac_link"
18564 case "(($ac_try" in
18565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18566 *) ac_try_echo
=$ac_try;;
18568 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18569 $as_echo "$ac_try_echo") >&5
18570 (eval "$ac_link") 2>conftest.er1
18572 grep -v '^ *+' conftest.er1
>conftest.err
18574 cat conftest.err
>&5
18575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } && {
18577 test -z "$ac_c_werror_flag" ||
18578 test ! -s conftest.err
18579 } && test -s conftest
$ac_exeext && {
18580 test "$cross_compiling" = yes ||
18581 $as_test_x conftest
$ac_exeext
18585 $as_echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.
$ac_ext >&5
18591 rm -rf conftest.dSYM
18592 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18593 conftest
$ac_exeext conftest.
$ac_ext
18594 { $as_echo "$as_me:$LINENO: result: $have_va_copy" >&5
18595 $as_echo "$have_va_copy" >&6; }
18596 if test x
"$have_va_copy" = x
"yes"; then
18598 cat >>confdefs.h
<<\_ACEOF
18599 #define HAVE_VA_COPY 1
18603 { $as_echo "$as_me:$LINENO: checking for __va_copy" >&5
18604 $as_echo_n "checking for __va_copy... " >&6; }
18605 cat >conftest.
$ac_ext <<_ACEOF
18608 cat confdefs.h
>>conftest.
$ac_ext
18609 cat >>conftest.
$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 #include <stdarg.h>
18616 __va_copy(ap1,ap2);
18621 rm -f conftest.
$ac_objext conftest
$ac_exeext
18622 if { (ac_try
="$ac_link"
18623 case "(($ac_try" in
18624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18625 *) ac_try_echo=$ac_try;;
18627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18628 $as_echo "$ac_try_echo") >&5
18629 (eval "$ac_link") 2>conftest.er1
18631 grep -v '^ *+' conftest.er1 >conftest.err
18633 cat conftest.err >&5
18634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18635 (exit $ac_status); } && {
18636 test -z "$ac_c_werror_flag" ||
18637 test ! -s conftest.err
18638 } && test -s conftest$ac_exeext && {
18639 test "$cross_compiling" = yes ||
18640 $as_test_x conftest$ac_exeext
18644 $as_echo "$as_me: failed program was:" >&5
18645 sed 's/^/| /' conftest.$ac_ext >&5
18650 rm -rf conftest.dSYM
18651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18652 conftest$ac_exeext conftest.$ac_ext
18653 { $as_echo "$as_me:$LINENO: result: $have___va_copy" >&5
18654 $as_echo "$have___va_copy" >&6; }
18655 if test x"$have___va_copy" = x"yes"; then
18657 cat >>confdefs.h <<\_ACEOF
18658 #define HAVE___VA_COPY 1
18664 { $as_echo "$as_me:$LINENO: checking for library containing gethostent" >&5
18665 $as_echo_n "checking for library containing gethostent... " >&6; }
18666 if test "${ac_cv_search_gethostent+set}" = set; then
18667 $as_echo_n "(cached) " >&6
18669 ac_func_search_save_LIBS=$LIBS
18670 cat >conftest.$ac_ext <<_ACEOF
18673 cat confdefs.h >>conftest.$ac_ext
18674 cat >>conftest.$ac_ext <<_ACEOF
18675 /* end confdefs.h. */
18677 /* Override any GCC internal prototype to avoid an error.
18678 Use char because int might match the return type of a GCC
18679 builtin and then its argument prototype would still apply. */
18683 char gethostent ();
18687 return gethostent ();
18692 for ac_lib in '' nsl; do
18693 if test -z "$ac_lib"; then
18694 ac_res="none required"
18697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18699 rm -f conftest.$ac_objext conftest$ac_exeext
18700 if { (ac_try="$ac_link"
18701 case "(($ac_try" in
18702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18703 *) ac_try_echo
=$ac_try;;
18705 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18706 $as_echo "$ac_try_echo") >&5
18707 (eval "$ac_link") 2>conftest.er1
18709 grep -v '^ *+' conftest.er1
>conftest.err
18711 cat conftest.err
>&5
18712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); } && {
18714 test -z "$ac_c_werror_flag" ||
18715 test ! -s conftest.err
18716 } && test -s conftest
$ac_exeext && {
18717 test "$cross_compiling" = yes ||
18718 $as_test_x conftest
$ac_exeext
18720 ac_cv_search_gethostent
=$ac_res
18722 $as_echo "$as_me: failed program was:" >&5
18723 sed 's/^/| /' conftest.
$ac_ext >&5
18728 rm -rf conftest.dSYM
18729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18731 if test "${ac_cv_search_gethostent+set}" = set; then
18735 if test "${ac_cv_search_gethostent+set}" = set; then
18738 ac_cv_search_gethostent
=no
18740 rm conftest.
$ac_ext
18741 LIBS
=$ac_func_search_save_LIBS
18743 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostent" >&5
18744 $as_echo "$ac_cv_search_gethostent" >&6; }
18745 ac_res
=$ac_cv_search_gethostent
18746 if test "$ac_res" != no
; then
18747 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18751 { $as_echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
18752 $as_echo_n "checking for library containing setsockopt... " >&6; }
18753 if test "${ac_cv_search_setsockopt+set}" = set; then
18754 $as_echo_n "(cached) " >&6
18756 ac_func_search_save_LIBS
=$LIBS
18757 cat >conftest.
$ac_ext <<_ACEOF
18760 cat confdefs.h
>>conftest.
$ac_ext
18761 cat >>conftest.
$ac_ext <<_ACEOF
18762 /* end confdefs.h. */
18764 /* Override any GCC internal prototype to avoid an error.
18765 Use char because int might match the return type of a GCC
18766 builtin and then its argument prototype would still apply. */
18770 char setsockopt ();
18774 return setsockopt ();
18779 for ac_lib
in '' socket net network
; do
18780 if test -z "$ac_lib"; then
18781 ac_res
="none required"
18784 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18786 rm -f conftest.
$ac_objext conftest
$ac_exeext
18787 if { (ac_try
="$ac_link"
18788 case "(($ac_try" in
18789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18793 $as_echo "$ac_try_echo") >&5
18794 (eval "$ac_link") 2>conftest.er1
18796 grep -v '^ *+' conftest.er1 >conftest.err
18798 cat conftest.err >&5
18799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest$ac_exeext && {
18804 test "$cross_compiling" = yes ||
18805 $as_test_x conftest$ac_exeext
18807 ac_cv_search_setsockopt=$ac_res
18809 $as_echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18815 rm -rf conftest.dSYM
18816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18818 if test "${ac_cv_search_setsockopt+set}" = set; then
18822 if test "${ac_cv_search_setsockopt+set}" = set; then
18825 ac_cv_search_setsockopt=no
18827 rm conftest.$ac_ext
18828 LIBS=$ac_func_search_save_LIBS
18830 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
18831 $as_echo "$ac_cv_search_setsockopt" >&6; }
18832 ac_res=$ac_cv_search_setsockopt
18833 if test "$ac_res" != no; then
18834 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18838 { $as_echo "$as_me:$LINENO: checking for library containing connect" >&5
18839 $as_echo_n "checking for library containing connect... " >&6; }
18840 if test "${ac_cv_search_connect+set}" = set; then
18841 $as_echo_n "(cached) " >&6
18843 ac_func_search_save_LIBS=$LIBS
18844 cat >conftest.$ac_ext <<_ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18851 /* Override any GCC internal prototype to avoid an error.
18852 Use char because int might match the return type of a GCC
18853 builtin and then its argument prototype would still apply. */
18866 for ac_lib in '' inet; do
18867 if test -z "$ac_lib"; then
18868 ac_res="none required"
18871 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (ac_try="$ac_link"
18875 case "(($ac_try" in
18876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18877 *) ac_try_echo
=$ac_try;;
18879 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
18880 $as_echo "$ac_try_echo") >&5
18881 (eval "$ac_link") 2>conftest.er1
18883 grep -v '^ *+' conftest.er1
>conftest.err
18885 cat conftest.err
>&5
18886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && {
18888 test -z "$ac_c_werror_flag" ||
18889 test ! -s conftest.err
18890 } && test -s conftest
$ac_exeext && {
18891 test "$cross_compiling" = yes ||
18892 $as_test_x conftest
$ac_exeext
18894 ac_cv_search_connect
=$ac_res
18896 $as_echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.
$ac_ext >&5
18902 rm -rf conftest.dSYM
18903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18905 if test "${ac_cv_search_connect+set}" = set; then
18909 if test "${ac_cv_search_connect+set}" = set; then
18912 ac_cv_search_connect
=no
18914 rm conftest.
$ac_ext
18915 LIBS
=$ac_func_search_save_LIBS
18917 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
18918 $as_echo "$ac_cv_search_connect" >&6; }
18919 ac_res
=$ac_cv_search_connect
18920 if test "$ac_res" != no
; then
18921 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18926 { $as_echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
18927 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
18928 cat > conftest.
$ac_ext <<EOF
18929 #line 18929 "configure"
18930 #include "confdefs.h"
18932 #include <stddef.h>
18933 #include <sys/types.h>
18934 #include <sys/socket.h>
18937 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
18940 if { (eval echo configure
:18940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
18943 { $as_echo "$as_me:$LINENO: result: socklen_t *" >&5
18944 $as_echo "socklen_t *" >&6; }
18945 XML_SOCKLEN_T
=socklen_t
18947 echo "configure: failed program was:" >&5
18948 cat conftest.
$ac_ext >&5
18951 cat > conftest.
$ac_ext <<EOF
18952 #line 18952 "configure"
18953 #include "confdefs.h"
18955 #include <stddef.h>
18956 #include <sys/types.h>
18957 #include <sys/socket.h>
18960 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
18963 if { (eval echo configure
:18963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
18966 { $as_echo "$as_me:$LINENO: result: size_t *" >&5
18967 $as_echo "size_t *" >&6; }
18968 XML_SOCKLEN_T
=size_t
18970 echo "configure: failed program was:" >&5
18971 cat conftest.
$ac_ext >&5
18974 cat > conftest.
$ac_ext <<EOF
18975 #line 18975 "configure"
18976 #include "confdefs.h"
18978 #include <stddef.h>
18979 #include <sys/types.h>
18980 #include <sys/socket.h>
18983 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
18986 if { (eval echo configure
:18986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
18989 { $as_echo "$as_me:$LINENO: result: int *" >&5
18990 $as_echo "int *" >&6; }
18993 echo "configure: failed program was:" >&5
18994 cat conftest.
$ac_ext >&5
18997 { $as_echo "$as_me:$LINENO: WARNING: could not determine" >&5
18998 $as_echo "$as_me: WARNING: could not determine" >&2;}
18999 XML_SOCKLEN_T
="int"
19007 cat >>confdefs.h
<<_ACEOF
19008 #define XML_SOCKLEN_T $XML_SOCKLEN_T
19013 { $as_echo "$as_me:$LINENO: checking whether to enable IPv6" >&5
19014 $as_echo_n "checking whether to enable IPv6... " >&6; }
19015 # Check whether --enable-ipv6 was given.
19016 if test "${enable_ipv6+set}" = set; then
19017 enableval
=$enable_ipv6;
19022 if test "$with_minimum" = "yes"
19026 if test $enable_ipv6 = yes; then
19028 cat >conftest.
$ac_ext <<_ACEOF
19031 cat confdefs.h
>>conftest.
$ac_ext
19032 cat >>conftest.
$ac_ext <<_ACEOF
19033 /* end confdefs.h. */
19035 #include <sys/types.h>
19036 #include <sys/socket.h>
19042 struct sockaddr_storage ss;
19043 socket(AF_INET6, SOCK_STREAM, 0)
19049 rm -f conftest.
$ac_objext
19050 if { (ac_try
="$ac_compile"
19051 case "(($ac_try" in
19052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19055 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19056 $as_echo "$ac_try_echo") >&5
19057 (eval "$ac_compile") 2>conftest.er1
19059 grep -v '^ *+' conftest.er1 >conftest.err
19061 cat conftest.err >&5
19062 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } && {
19064 test -z "$ac_c_werror_flag" ||
19065 test ! -s conftest.err
19066 } && test -s conftest.$ac_objext; then
19069 $as_echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19077 { $as_echo "$as_me:$LINENO: result: $have_ipv6" >&5
19078 $as_echo "$have_ipv6" >&6; }
19080 if test $have_ipv6 = yes; then
19082 cat >>confdefs.h <<\_ACEOF
19083 #define SUPPORT_IP6 /**/
19086 have_broken_ss_family=no
19088 { $as_echo "$as_me:$LINENO: checking struct sockaddr::ss_family" >&5
19089 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
19090 cat >conftest.$ac_ext <<_ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19097 #include <sys/types.h>
19098 #include <sys/socket.h>
19104 struct sockaddr_storage ss ;
19111 rm -f conftest.$ac_objext
19112 if { (ac_try="$ac_compile"
19113 case "(($ac_try" in
19114 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19115 *) ac_try_echo
=$ac_try;;
19117 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19118 $as_echo "$ac_try_echo") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19121 grep -v '^ *+' conftest.er1
>conftest.err
19123 cat conftest.err
>&5
19124 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.
$ac_objext; then
19131 $as_echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.
$ac_ext >&5
19138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19139 { $as_echo "$as_me:$LINENO: result: $have_ss_family" >&5
19140 $as_echo "$have_ss_family" >&6; }
19141 if test x
$have_ss_family = xno
; then
19142 { $as_echo "$as_me:$LINENO: checking broken struct sockaddr::ss_family" >&5
19143 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
19144 cat >conftest.
$ac_ext <<_ACEOF
19147 cat confdefs.h
>>conftest.
$ac_ext
19148 cat >>conftest.
$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19151 #include <sys/types.h>
19152 #include <sys/socket.h>
19158 struct sockaddr_storage ss ;
19159 ss.__ss_family = 0 ;
19165 rm -f conftest.
$ac_objext
19166 if { (ac_try
="$ac_compile"
19167 case "(($ac_try" in
19168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19169 *) ac_try_echo=$ac_try;;
19171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19172 $as_echo "$ac_try_echo") >&5
19173 (eval "$ac_compile") 2>conftest.er1
19175 grep -v '^ *+' conftest.er1 >conftest.err
19177 cat conftest.err >&5
19178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } && {
19180 test -z "$ac_c_werror_flag" ||
19181 test ! -s conftest.err
19182 } && test -s conftest.$ac_objext; then
19183 have_broken_ss_family=yes
19185 $as_echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19188 have_broken_ss_family=no
19192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19193 { $as_echo "$as_me:$LINENO: result: $have_broken_ss_family" >&5
19194 $as_echo "$have_broken_ss_family" >&6; }
19195 if test x$have_broken_ss_family = xyes ; then
19197 cat >>confdefs.h <<\_ACEOF
19198 #define HAVE_BROKEN_SS_FAMILY /**/
19202 cat >>confdefs.h <<\_ACEOF
19203 #define ss_family __ss_family
19207 { $as_echo "$as_me:$LINENO: WARNING: ss_family and __ss_family not found" >&5
19208 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
19212 have_getaddrinfo=no
19213 { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
19214 $as_echo_n "checking for getaddrinfo... " >&6; }
19215 if test "${ac_cv_func_getaddrinfo+set}" = set; then
19216 $as_echo_n "(cached) " >&6
19218 cat >conftest.$ac_ext <<_ACEOF
19221 cat confdefs.h >>conftest.$ac_ext
19222 cat >>conftest.$ac_ext <<_ACEOF
19223 /* end confdefs.h. */
19224 /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
19225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19226 #define getaddrinfo innocuous_getaddrinfo
19228 /* System header to define __stub macros and hopefully few prototypes,
19229 which can conflict with char getaddrinfo (); below.
19230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19231 <limits.h> exists even on freestanding compilers. */
19234 # include <limits.h>
19236 # include <assert.h>
19241 /* Override any GCC internal prototype to avoid an error.
19242 Use char because int might match the return type of a GCC
19243 builtin and then its argument prototype would still apply. */
19247 char getaddrinfo ();
19248 /* The GNU C library defines this for functions which it implements
19249 to always fail with ENOSYS. Some functions are actually named
19250 something starting with __ and the normal name is an alias. */
19251 #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
19258 return getaddrinfo ();
19263 rm -f conftest.$ac_objext conftest$ac_exeext
19264 if { (ac_try="$ac_link"
19265 case "(($ac_try" in
19266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19267 *) ac_try_echo
=$ac_try;;
19269 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19270 $as_echo "$ac_try_echo") >&5
19271 (eval "$ac_link") 2>conftest.er1
19273 grep -v '^ *+' conftest.er1
>conftest.err
19275 cat conftest.err
>&5
19276 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && {
19278 test -z "$ac_c_werror_flag" ||
19279 test ! -s conftest.err
19280 } && test -s conftest
$ac_exeext && {
19281 test "$cross_compiling" = yes ||
19282 $as_test_x conftest
$ac_exeext
19284 ac_cv_func_getaddrinfo
=yes
19286 $as_echo "$as_me: failed program was:" >&5
19287 sed 's/^/| /' conftest.
$ac_ext >&5
19289 ac_cv_func_getaddrinfo
=no
19292 rm -rf conftest.dSYM
19293 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19294 conftest
$ac_exeext conftest.
$ac_ext
19296 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
19297 $as_echo "$ac_cv_func_getaddrinfo" >&6; }
19298 if test "x$ac_cv_func_getaddrinfo" = x
""yes; then
19299 have_getaddrinfo
=yes
19302 if test $have_getaddrinfo != yes; then
19303 for lib
in bsd socket inet
; do
19304 as_ac_Lib
=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
19305 { $as_echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
19306 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
19307 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
19308 $as_echo_n "(cached) " >&6
19310 ac_check_lib_save_LIBS
=$LIBS
19311 LIBS
="-l$lib $LIBS"
19312 cat >conftest.
$ac_ext <<_ACEOF
19315 cat confdefs.h
>>conftest.
$ac_ext
19316 cat >>conftest.
$ac_ext <<_ACEOF
19317 /* end confdefs.h. */
19319 /* Override any GCC internal prototype to avoid an error.
19320 Use char because int might match the return type of a GCC
19321 builtin and then its argument prototype would still apply. */
19325 char getaddrinfo ();
19329 return getaddrinfo ();
19334 rm -f conftest.
$ac_objext conftest
$ac_exeext
19335 if { (ac_try
="$ac_link"
19336 case "(($ac_try" in
19337 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19338 *) ac_try_echo=$ac_try;;
19340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19341 $as_echo "$ac_try_echo") >&5
19342 (eval "$ac_link") 2>conftest.er1
19344 grep -v '^ *+' conftest.er1 >conftest.err
19346 cat conftest.err >&5
19347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19348 (exit $ac_status); } && {
19349 test -z "$ac_c_werror_flag" ||
19350 test ! -s conftest.err
19351 } && test -s conftest$ac_exeext && {
19352 test "$cross_compiling" = yes ||
19353 $as_test_x conftest$ac_exeext
19355 eval "$as_ac_Lib=yes"
19357 $as_echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19360 eval "$as_ac_Lib=no"
19363 rm -rf conftest.dSYM
19364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19365 conftest$ac_exeext conftest.$ac_ext
19366 LIBS=$ac_check_lib_save_LIBS
19368 ac_res=`eval 'as_val=${'$as_ac_Lib'}
19369 $as_echo "$as_val"'`
19370 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
19371 $as_echo "$ac_res" >&6; }
19372 as_val=`eval 'as_val=${'$as_ac_Lib'}
19373 $as_echo "$as_val"'`
19374 if test "x$as_val" = x""yes; then
19375 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
19381 if test $have_getaddrinfo = yes; then
19383 cat >>confdefs.h <<\_ACEOF
19384 #define HAVE_GETADDRINFO /**/
19392 { $as_echo "$as_me:$LINENO: checking for isnan" >&5
19393 $as_echo_n "checking for isnan... " >&6; }
19394 if test "${ac_cv_func_isnan+set}" = set; then
19395 $as_echo_n "(cached) " >&6
19397 cat >conftest.$ac_ext <<_ACEOF
19400 cat confdefs.h >>conftest.$ac_ext
19401 cat >>conftest.$ac_ext <<_ACEOF
19402 /* end confdefs.h. */
19403 /* Define isnan to an innocuous variant, in case <limits.h> declares isnan.
19404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19405 #define isnan innocuous_isnan
19407 /* System header to define __stub macros and hopefully few prototypes,
19408 which can conflict with char isnan (); below.
19409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19410 <limits.h> exists even on freestanding compilers. */
19413 # include <limits.h>
19415 # include <assert.h>
19420 /* Override any GCC internal prototype to avoid an error.
19421 Use char because int might match the return type of a GCC
19422 builtin and then its argument prototype would still apply. */
19427 /* The GNU C library defines this for functions which it implements
19428 to always fail with ENOSYS. Some functions are actually named
19429 something starting with __ and the normal name is an alias. */
19430 #if defined __stub_isnan || defined __stub___isnan
19442 rm -f conftest.$ac_objext conftest$ac_exeext
19443 if { (ac_try="$ac_link"
19444 case "(($ac_try" in
19445 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19446 *) ac_try_echo
=$ac_try;;
19448 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19449 $as_echo "$ac_try_echo") >&5
19450 (eval "$ac_link") 2>conftest.er1
19452 grep -v '^ *+' conftest.er1
>conftest.err
19454 cat conftest.err
>&5
19455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } && {
19457 test -z "$ac_c_werror_flag" ||
19458 test ! -s conftest.err
19459 } && test -s conftest
$ac_exeext && {
19460 test "$cross_compiling" = yes ||
19461 $as_test_x conftest
$ac_exeext
19463 ac_cv_func_isnan
=yes
19465 $as_echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.
$ac_ext >&5
19468 ac_cv_func_isnan
=no
19471 rm -rf conftest.dSYM
19472 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19473 conftest
$ac_exeext conftest.
$ac_ext
19475 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5
19476 $as_echo "$ac_cv_func_isnan" >&6; }
19477 if test "x$ac_cv_func_isnan" = x
""yes; then
19479 cat >>confdefs.h
<<\_ACEOF
19480 #define HAVE_ISNAN /**/
19484 { $as_echo "$as_me:$LINENO: checking for isnan in -lm" >&5
19485 $as_echo_n "checking for isnan in -lm... " >&6; }
19486 if test "${ac_cv_lib_m_isnan+set}" = set; then
19487 $as_echo_n "(cached) " >&6
19489 ac_check_lib_save_LIBS
=$LIBS
19491 cat >conftest.
$ac_ext <<_ACEOF
19494 cat confdefs.h
>>conftest.
$ac_ext
19495 cat >>conftest.
$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19498 /* Override any GCC internal prototype to avoid an error.
19499 Use char because int might match the return type of a GCC
19500 builtin and then its argument prototype would still apply. */
19513 rm -f conftest.
$ac_objext conftest
$ac_exeext
19514 if { (ac_try
="$ac_link"
19515 case "(($ac_try" in
19516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19517 *) ac_try_echo=$ac_try;;
19519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19520 $as_echo "$ac_try_echo") >&5
19521 (eval "$ac_link") 2>conftest.er1
19523 grep -v '^ *+' conftest.er1 >conftest.err
19525 cat conftest.err >&5
19526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } && {
19528 test -z "$ac_c_werror_flag" ||
19529 test ! -s conftest.err
19530 } && test -s conftest$ac_exeext && {
19531 test "$cross_compiling" = yes ||
19532 $as_test_x conftest$ac_exeext
19534 ac_cv_lib_m_isnan=yes
19536 $as_echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_lib_m_isnan=no
19542 rm -rf conftest.dSYM
19543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19544 conftest$ac_exeext conftest.$ac_ext
19545 LIBS=$ac_check_lib_save_LIBS
19547 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
19548 $as_echo "$ac_cv_lib_m_isnan" >&6; }
19549 if test "x$ac_cv_lib_m_isnan" = x""yes; then
19551 cat >>confdefs.h <<\_ACEOF
19552 #define HAVE_ISNAN /**/
19560 { $as_echo "$as_me:$LINENO: checking for isinf" >&5
19561 $as_echo_n "checking for isinf... " >&6; }
19562 if test "${ac_cv_func_isinf+set}" = set; then
19563 $as_echo_n "(cached) " >&6
19565 cat >conftest.$ac_ext <<_ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 /* Define isinf to an innocuous variant, in case <limits.h> declares isinf.
19572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19573 #define isinf innocuous_isinf
19575 /* System header to define __stub macros and hopefully few prototypes,
19576 which can conflict with char isinf (); below.
19577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19578 <limits.h> exists even on freestanding compilers. */
19581 # include <limits.h>
19583 # include <assert.h>
19588 /* Override any GCC internal prototype to avoid an error.
19589 Use char because int might match the return type of a GCC
19590 builtin and then its argument prototype would still apply. */
19595 /* The GNU C library defines this for functions which it implements
19596 to always fail with ENOSYS. Some functions are actually named
19597 something starting with __ and the normal name is an alias. */
19598 #if defined __stub_isinf || defined __stub___isinf
19610 rm -f conftest.$ac_objext conftest$ac_exeext
19611 if { (ac_try="$ac_link"
19612 case "(($ac_try" in
19613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19614 *) ac_try_echo
=$ac_try;;
19616 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19617 $as_echo "$ac_try_echo") >&5
19618 (eval "$ac_link") 2>conftest.er1
19620 grep -v '^ *+' conftest.er1
>conftest.err
19622 cat conftest.err
>&5
19623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19624 (exit $ac_status); } && {
19625 test -z "$ac_c_werror_flag" ||
19626 test ! -s conftest.err
19627 } && test -s conftest
$ac_exeext && {
19628 test "$cross_compiling" = yes ||
19629 $as_test_x conftest
$ac_exeext
19631 ac_cv_func_isinf
=yes
19633 $as_echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.
$ac_ext >&5
19636 ac_cv_func_isinf
=no
19639 rm -rf conftest.dSYM
19640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19641 conftest
$ac_exeext conftest.
$ac_ext
19643 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5
19644 $as_echo "$ac_cv_func_isinf" >&6; }
19645 if test "x$ac_cv_func_isinf" = x
""yes; then
19647 cat >>confdefs.h
<<\_ACEOF
19648 #define HAVE_ISINF /**/
19652 { $as_echo "$as_me:$LINENO: checking for isinf in -lm" >&5
19653 $as_echo_n "checking for isinf in -lm... " >&6; }
19654 if test "${ac_cv_lib_m_isinf+set}" = set; then
19655 $as_echo_n "(cached) " >&6
19657 ac_check_lib_save_LIBS
=$LIBS
19659 cat >conftest.
$ac_ext <<_ACEOF
19662 cat confdefs.h
>>conftest.
$ac_ext
19663 cat >>conftest.
$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19666 /* Override any GCC internal prototype to avoid an error.
19667 Use char because int might match the return type of a GCC
19668 builtin and then its argument prototype would still apply. */
19681 rm -f conftest.
$ac_objext conftest
$ac_exeext
19682 if { (ac_try
="$ac_link"
19683 case "(($ac_try" in
19684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19685 *) ac_try_echo=$ac_try;;
19687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19688 $as_echo "$ac_try_echo") >&5
19689 (eval "$ac_link") 2>conftest.er1
19691 grep -v '^ *+' conftest.er1 >conftest.err
19693 cat conftest.err >&5
19694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19695 (exit $ac_status); } && {
19696 test -z "$ac_c_werror_flag" ||
19697 test ! -s conftest.err
19698 } && test -s conftest$ac_exeext && {
19699 test "$cross_compiling" = yes ||
19700 $as_test_x conftest$ac_exeext
19702 ac_cv_lib_m_isinf=yes
19704 $as_echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19707 ac_cv_lib_m_isinf=no
19710 rm -rf conftest.dSYM
19711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19712 conftest$ac_exeext conftest.$ac_ext
19713 LIBS=$ac_check_lib_save_LIBS
19715 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5
19716 $as_echo "$ac_cv_lib_m_isinf" >&6; }
19717 if test "x$ac_cv_lib_m_isinf" = x""yes; then
19719 cat >>confdefs.h <<\_ACEOF
19720 #define HAVE_ISINF /**/
19728 XML_LIBDIR='-L${libdir}'
19729 XML_INCLUDEDIR='-I${includedir}/libxml2'
19734 if test "${GCC}" != "yes" ; then
19737 CFLAGS="${CFLAGS} -Wp,-H30000"
19740 CFLAGS="${CFLAGS} -ieee"
19743 CFLAGS="${CFLAGS} -ieee"
19747 if test "$with_fexceptions" = "yes"
19750 # Not activated by default because this inflates the code size
19751 # Used to allow propagation of C++ exceptions through the library
19753 CFLAGS="${CFLAGS} -fexceptions"
19756 CFLAGS="${CFLAGS} -pedantic -W -Wformat -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"
19759 CFLAGS="${CFLAGS} -mieee"
19762 CFLAGS="${CFLAGS} -mieee"
19768 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
19773 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
19774 # If the host is Windows, and shared libraries are disabled, we
19775 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
19776 # work properly (without it, xmlexports.h would force the use of
19777 # DLL imports, which obviously aren't present in a static
19779 if test "x$enable_shared" = "xno"; then
19780 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
19781 CFLAGS="$CFLAGS -DLIBXML_STATIC"
19790 PYTHON_SITE_PACKAGES=
19793 if test "$with_python" != "no" ; then
19794 if test -x "$with_python/bin/python"
19796 echo Found python in $with_python/bin/python
19797 PYTHON="$with_python/bin/python"
19799 if test -x "$with_python"
19801 echo Found python in $with_python
19802 PYTHON="$with_python"
19804 if test -x "$PYTHON"
19806 echo Found python in environment PYTHON=$PYTHON
19807 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
19809 # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
19810 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
19811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
19812 $as_echo_n "checking for $ac_word... " >&6; }
19813 if test "${ac_cv_path_PYTHON+set}" = set; then
19814 $as_echo_n "(cached) " >&6
19818 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19822 for as_dir in $PATH
19825 test -z "$as_dir" && as_dir=.
19826 for ac_exec_ext in '' $ac_executable_extensions; do
19827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19828 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19829 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19839 PYTHON=$ac_cv_path_PYTHON
19840 if test -n "$PYTHON"; then
19841 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
19842 $as_echo "$PYTHON" >&6; }
19844 { $as_echo "$as_me:$LINENO: result: no" >&5
19845 $as_echo "no" >&6; }
19852 if test "$PYTHON" != ""
19854 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
19855 echo Found Python version $PYTHON_VERSION
19857 if test "$PYTHON_VERSION" != ""
19859 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
19860 -d $with_python/lib/python$PYTHON_VERSION/site-packages
19862 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
19863 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
19865 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
19867 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
19868 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
19870 if test -r /usr/include/python$PYTHON_VERSION/Python.h
19872 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
19873 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
19875 echo could not find python$PYTHON_VERSION/Python.h
19878 if test ! -d "$PYTHON_SITE_PACKAGES"
19880 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
19883 PYTHON_LIBS=`python
$PYTHON_VERSION-config --libs`
19885 if test "$with_python" != ""
19887 pythondir='$(PYTHON_SITE_PACKAGES)'
19889 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
19894 if test "$PYTHON_INCLUDES" != ""; then
19896 WITH_PYTHON_FALSE='#'
19898 WITH_PYTHON_TRUE='#'
19902 if test "$PYTHON_INCLUDES" != ""
19904 PYTHON_SUBDIR=python
19915 if test "$with_modules" != "no" ; then
19918 MODULE_EXTENSION=".dll"
19919 { $as_echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
19920 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
19921 if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then
19922 $as_echo_n "(cached) " >&6
19924 ac_check_lib_save_LIBS=$LIBS
19925 LIBS="-lcygwin $LIBS"
19926 cat >conftest.$ac_ext <<_ACEOF
19929 cat confdefs.h >>conftest.$ac_ext
19930 cat >>conftest.$ac_ext <<_ACEOF
19931 /* end confdefs.h. */
19933 /* Override any GCC internal prototype to avoid an error.
19934 Use char because int might match the return type of a GCC
19935 builtin and then its argument prototype would still apply. */
19948 rm -f conftest.$ac_objext conftest$ac_exeext
19949 if { (ac_try="$ac_link"
19950 case "(($ac_try" in
19951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19952 *) ac_try_echo
=$ac_try;;
19954 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
19955 $as_echo "$ac_try_echo") >&5
19956 (eval "$ac_link") 2>conftest.er1
19958 grep -v '^ *+' conftest.er1
>conftest.err
19960 cat conftest.err
>&5
19961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } && {
19963 test -z "$ac_c_werror_flag" ||
19964 test ! -s conftest.err
19965 } && test -s conftest
$ac_exeext && {
19966 test "$cross_compiling" = yes ||
19967 $as_test_x conftest
$ac_exeext
19969 ac_cv_lib_cygwin_dlopen
=yes
19971 $as_echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.
$ac_ext >&5
19974 ac_cv_lib_cygwin_dlopen
=no
19977 rm -rf conftest.dSYM
19978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19979 conftest
$ac_exeext conftest.
$ac_ext
19980 LIBS
=$ac_check_lib_save_LIBS
19982 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cygwin_dlopen" >&5
19983 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
19984 if test "x$ac_cv_lib_cygwin_dlopen" = x
""yes; then
19987 MODULE_PLATFORM_LIBS
=
19989 cat >>confdefs.h
<<\_ACEOF
19990 #define HAVE_DLOPEN /**/
19998 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
19999 $as_echo_n "checking for shl_load... " >&6; }
20000 if test "${ac_cv_func_shl_load+set}" = set; then
20001 $as_echo_n "(cached) " >&6
20003 cat >conftest.
$ac_ext <<_ACEOF
20006 cat confdefs.h
>>conftest.
$ac_ext
20007 cat >>conftest.
$ac_ext <<_ACEOF
20008 /* end confdefs.h. */
20009 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
20010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20011 #define shl_load innocuous_shl_load
20013 /* System header to define __stub macros and hopefully few prototypes,
20014 which can conflict with char shl_load (); below.
20015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20016 <limits.h> exists even on freestanding compilers. */
20019 # include <limits.h>
20021 # include <assert.h>
20026 /* Override any GCC internal prototype to avoid an error.
20027 Use char because int might match the return type of a GCC
20028 builtin and then its argument prototype would still apply. */
20033 /* The GNU C library defines this for functions which it implements
20034 to always fail with ENOSYS. Some functions are actually named
20035 something starting with __ and the normal name is an alias. */
20036 #if defined __stub_shl_load || defined __stub___shl_load
20043 return shl_load ();
20048 rm -f conftest.
$ac_objext conftest
$ac_exeext
20049 if { (ac_try
="$ac_link"
20050 case "(($ac_try" in
20051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20052 *) ac_try_echo=$ac_try;;
20054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20055 $as_echo "$ac_try_echo") >&5
20056 (eval "$ac_link") 2>conftest.er1
20058 grep -v '^ *+' conftest.er1 >conftest.err
20060 cat conftest.err >&5
20061 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); } && {
20063 test -z "$ac_c_werror_flag" ||
20064 test ! -s conftest.err
20065 } && test -s conftest$ac_exeext && {
20066 test "$cross_compiling" = yes ||
20067 $as_test_x conftest$ac_exeext
20069 ac_cv_func_shl_load=yes
20071 $as_echo "$as_me: failed program was:" >&5
20072 sed 's/^/| /' conftest.$ac_ext >&5
20074 ac_cv_func_shl_load=no
20077 rm -rf conftest.dSYM
20078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20079 conftest$ac_exeext conftest.$ac_ext
20081 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
20082 $as_echo "$ac_cv_func_shl_load" >&6; }
20083 if test "x$ac_cv_func_shl_load" = x""yes; then
20084 libxml_have_shl_load=yes
20087 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
20088 $as_echo_n "checking for shl_load in -ldld... " >&6; }
20089 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
20090 $as_echo_n "(cached) " >&6
20092 ac_check_lib_save_LIBS=$LIBS
20094 cat >conftest.$ac_ext <<_ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20101 /* Override any GCC internal prototype to avoid an error.
20102 Use char because int might match the return type of a GCC
20103 builtin and then its argument prototype would still apply. */
20111 return shl_load ();
20116 rm -f conftest.$ac_objext conftest$ac_exeext
20117 if { (ac_try="$ac_link"
20118 case "(($ac_try" in
20119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20120 *) ac_try_echo
=$ac_try;;
20122 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20123 $as_echo "$ac_try_echo") >&5
20124 (eval "$ac_link") 2>conftest.er1
20126 grep -v '^ *+' conftest.er1
>conftest.err
20128 cat conftest.err
>&5
20129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); } && {
20131 test -z "$ac_c_werror_flag" ||
20132 test ! -s conftest.err
20133 } && test -s conftest
$ac_exeext && {
20134 test "$cross_compiling" = yes ||
20135 $as_test_x conftest
$ac_exeext
20137 ac_cv_lib_dld_shl_load
=yes
20139 $as_echo "$as_me: failed program was:" >&5
20140 sed 's/^/| /' conftest.
$ac_ext >&5
20142 ac_cv_lib_dld_shl_load
=no
20145 rm -rf conftest.dSYM
20146 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20147 conftest
$ac_exeext conftest.
$ac_ext
20148 LIBS
=$ac_check_lib_save_LIBS
20150 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
20151 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
20152 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
20154 MODULE_PLATFORM_LIBS
="-ldld"
20155 libxml_have_shl_load
=yes
20158 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
20159 $as_echo_n "checking for dlopen... " >&6; }
20160 if test "${ac_cv_func_dlopen+set}" = set; then
20161 $as_echo_n "(cached) " >&6
20163 cat >conftest.
$ac_ext <<_ACEOF
20166 cat confdefs.h
>>conftest.
$ac_ext
20167 cat >>conftest.
$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
20170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20171 #define dlopen innocuous_dlopen
20173 /* System header to define __stub macros and hopefully few prototypes,
20174 which can conflict with char dlopen (); below.
20175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20176 <limits.h> exists even on freestanding compilers. */
20179 # include <limits.h>
20181 # include <assert.h>
20186 /* Override any GCC internal prototype to avoid an error.
20187 Use char because int might match the return type of a GCC
20188 builtin and then its argument prototype would still apply. */
20193 /* The GNU C library defines this for functions which it implements
20194 to always fail with ENOSYS. Some functions are actually named
20195 something starting with __ and the normal name is an alias. */
20196 #if defined __stub_dlopen || defined __stub___dlopen
20208 rm -f conftest.
$ac_objext conftest
$ac_exeext
20209 if { (ac_try
="$ac_link"
20210 case "(($ac_try" in
20211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20212 *) ac_try_echo=$ac_try;;
20214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20215 $as_echo "$ac_try_echo") >&5
20216 (eval "$ac_link") 2>conftest.er1
20218 grep -v '^ *+' conftest.er1 >conftest.err
20220 cat conftest.err >&5
20221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest$ac_exeext && {
20226 test "$cross_compiling" = yes ||
20227 $as_test_x conftest$ac_exeext
20229 ac_cv_func_dlopen=yes
20231 $as_echo "$as_me: failed program was:" >&5
20232 sed 's/^/| /' conftest.$ac_ext >&5
20234 ac_cv_func_dlopen=no
20237 rm -rf conftest.dSYM
20238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20239 conftest$ac_exeext conftest.$ac_ext
20241 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
20242 $as_echo "$ac_cv_func_dlopen" >&6; }
20243 if test "x$ac_cv_func_dlopen" = x""yes; then
20244 libxml_have_dlopen=yes
20247 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
20248 $as_echo_n "checking for dlopen in -ldl... " >&6; }
20249 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
20250 $as_echo_n "(cached) " >&6
20252 ac_check_lib_save_LIBS=$LIBS
20254 cat >conftest.$ac_ext <<_ACEOF
20257 cat confdefs.h >>conftest.$ac_ext
20258 cat >>conftest.$ac_ext <<_ACEOF
20259 /* end confdefs.h. */
20261 /* Override any GCC internal prototype to avoid an error.
20262 Use char because int might match the return type of a GCC
20263 builtin and then its argument prototype would still apply. */
20276 rm -f conftest.$ac_objext conftest$ac_exeext
20277 if { (ac_try="$ac_link"
20278 case "(($ac_try" in
20279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20280 *) ac_try_echo
=$ac_try;;
20282 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20283 $as_echo "$ac_try_echo") >&5
20284 (eval "$ac_link") 2>conftest.er1
20286 grep -v '^ *+' conftest.er1
>conftest.err
20288 cat conftest.err
>&5
20289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20290 (exit $ac_status); } && {
20291 test -z "$ac_c_werror_flag" ||
20292 test ! -s conftest.err
20293 } && test -s conftest
$ac_exeext && {
20294 test "$cross_compiling" = yes ||
20295 $as_test_x conftest
$ac_exeext
20297 ac_cv_lib_dl_dlopen
=yes
20299 $as_echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.
$ac_ext >&5
20302 ac_cv_lib_dl_dlopen
=no
20305 rm -rf conftest.dSYM
20306 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20307 conftest
$ac_exeext conftest.
$ac_ext
20308 LIBS
=$ac_check_lib_save_LIBS
20310 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
20311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20312 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
20314 MODULE_PLATFORM_LIBS
="-ldl"
20315 libxml_have_dlopen
=yes
20325 if test "${libxml_have_shl_load}" = "yes"; then
20326 MODULE_EXTENSION
=".sl"
20329 cat >>confdefs.h
<<\_ACEOF
20330 #define HAVE_SHLLOAD /**/
20335 if test "${libxml_have_dlopen}" = "yes"; then
20338 MODULE_EXTENSION
=".sl"
20341 MODULE_EXTENSION
=".so"
20347 cat >>confdefs.h
<<\_ACEOF
20348 #define HAVE_DLOPEN /**/
20356 if test "${WITH_MODULES}" = "1"; then
20357 TEST_MODULES
="ModuleTests"
20366 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
20367 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
20368 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
20370 if test "$with_minimum" != "yes"
20372 if test "${with_mem_debug}" = "" ; then
20373 echo Activating memory debugging
20374 with_mem_debug
="yes"
20375 with_run_debug
="yes"
20377 if test "${with_docbook}" = "" ; then
20381 if test "${GCC}" = "yes" ; then
20382 CFLAGS
="-g -O -pedantic -W -Wformat -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 -Wall"
20384 STATIC_BINARIES
="-static"
20391 if test "${NEED_TRIO}" = "1" ; then
20392 echo Adding trio library
for string functions
20397 if test "${NEED_TRIO}" = "1"; then
20398 WITH_TRIO_SOURCES_TRUE
=
20399 WITH_TRIO_SOURCES_FALSE
='#'
20401 WITH_TRIO_SOURCES_TRUE
='#'
20402 WITH_TRIO_SOURCES_FALSE
=
20407 echo Checking configuration requirements
20410 BASE_THREAD_LIBS
=""
20416 if test "$with_threads" = "no" ; then
20417 echo Disabling multithreaded support
20419 echo Enabling multithreaded support
20420 if test "$with_threads" = "pthread" ||
test "$with_threads" = "" ||
test "$with_threads" = "yes" ; then
20421 if test "${ac_cv_header_pthread_h+set}" = set; then
20422 { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
20423 $as_echo_n "checking for pthread.h... " >&6; }
20424 if test "${ac_cv_header_pthread_h+set}" = set; then
20425 $as_echo_n "(cached) " >&6
20427 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
20428 $as_echo "$ac_cv_header_pthread_h" >&6; }
20430 # Is the header compilable?
20431 { $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
20432 $as_echo_n "checking pthread.h usability... " >&6; }
20433 cat >conftest.
$ac_ext <<_ACEOF
20436 cat confdefs.h
>>conftest.
$ac_ext
20437 cat >>conftest.
$ac_ext <<_ACEOF
20438 /* end confdefs.h. */
20439 $ac_includes_default
20440 #include <pthread.h>
20442 rm -f conftest.
$ac_objext
20443 if { (ac_try
="$ac_compile"
20444 case "(($ac_try" in
20445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20446 *) ac_try_echo=$ac_try;;
20448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20449 $as_echo "$ac_try_echo") >&5
20450 (eval "$ac_compile") 2>conftest.er1
20452 grep -v '^ *+' conftest.er1 >conftest.err
20454 cat conftest.err >&5
20455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } && {
20457 test -z "$ac_c_werror_flag" ||
20458 test ! -s conftest.err
20459 } && test -s conftest.$ac_objext; then
20460 ac_header_compiler=yes
20462 $as_echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20465 ac_header_compiler=no
20468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20469 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20470 $as_echo "$ac_header_compiler" >&6; }
20472 # Is the header present?
20473 { $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
20474 $as_echo_n "checking pthread.h presence... " >&6; }
20475 cat >conftest.$ac_ext <<_ACEOF
20478 cat confdefs.h >>conftest.$ac_ext
20479 cat >>conftest.$ac_ext <<_ACEOF
20480 /* end confdefs.h. */
20481 #include <pthread.h>
20483 if { (ac_try="$ac_cpp conftest.$ac_ext"
20484 case "(($ac_try" in
20485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20486 *) ac_try_echo
=$ac_try;;
20488 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20489 $as_echo "$ac_try_echo") >&5
20490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20492 grep -v '^ *+' conftest.er1
>conftest.err
20494 cat conftest.err
>&5
20495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } >/dev
/null
&& {
20497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20498 test ! -s conftest.err
20500 ac_header_preproc
=yes
20502 $as_echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.
$ac_ext >&5
20505 ac_header_preproc
=no
20508 rm -f conftest.err conftest.
$ac_ext
20509 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20510 $as_echo "$ac_header_preproc" >&6; }
20512 # So? What about this header?
20513 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20515 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
20516 $as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20517 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
20518 $as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
20519 ac_header_preproc
=yes
20522 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
20523 $as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
20524 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
20525 $as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
20526 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
20527 $as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
20528 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
20529 $as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
20530 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
20531 $as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
20532 { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
20533 $as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
20537 { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
20538 $as_echo_n "checking for pthread.h... " >&6; }
20539 if test "${ac_cv_header_pthread_h+set}" = set; then
20540 $as_echo_n "(cached) " >&6
20542 ac_cv_header_pthread_h
=$ac_header_preproc
20544 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
20545 $as_echo "$ac_cv_header_pthread_h" >&6; }
20548 if test "x$ac_cv_header_pthread_h" = x
""yes; then
20549 { $as_echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
20550 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
20551 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
20552 $as_echo_n "(cached) " >&6
20554 ac_check_lib_save_LIBS
=$LIBS
20555 LIBS
="-lpthread $LIBS"
20556 cat >conftest.
$ac_ext <<_ACEOF
20559 cat confdefs.h
>>conftest.
$ac_ext
20560 cat >>conftest.
$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20563 /* Override any GCC internal prototype to avoid an error.
20564 Use char because int might match the return type of a GCC
20565 builtin and then its argument prototype would still apply. */
20569 char pthread_join ();
20573 return pthread_join ();
20578 rm -f conftest.
$ac_objext conftest
$ac_exeext
20579 if { (ac_try
="$ac_link"
20580 case "(($ac_try" in
20581 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20582 *) ac_try_echo=$ac_try;;
20584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20585 $as_echo "$ac_try_echo") >&5
20586 (eval "$ac_link") 2>conftest.er1
20588 grep -v '^ *+' conftest.er1 >conftest.err
20590 cat conftest.err >&5
20591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } && {
20593 test -z "$ac_c_werror_flag" ||
20594 test ! -s conftest.err
20595 } && test -s conftest$ac_exeext && {
20596 test "$cross_compiling" = yes ||
20597 $as_test_x conftest$ac_exeext
20599 ac_cv_lib_pthread_pthread_join=yes
20601 $as_echo "$as_me: failed program was:" >&5
20602 sed 's/^/| /' conftest.$ac_ext >&5
20604 ac_cv_lib_pthread_pthread_join=no
20607 rm -rf conftest.dSYM
20608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20609 conftest$ac_exeext conftest.$ac_ext
20610 LIBS=$ac_check_lib_save_LIBS
20612 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
20613 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
20614 if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then
20616 THREAD_LIBS="-lpthread"
20618 cat >>confdefs.h <<\_ACEOF
20619 #define HAVE_LIBPTHREAD /**/
20623 cat >>confdefs.h <<\_ACEOF
20624 #define HAVE_PTHREAD_H /**/
20635 *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
20637 THREADS_W32="Win32"
20638 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
20641 *cygwin*) THREAD_LIBS=""
20643 *beos*) WITH_THREADS="1"
20644 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
20647 if test "${GCC}" = "yes" ; then
20648 GCC_VERSION=`${CC} --version |
head -1 |
awk '{print $3}'`
20649 GCC_MAJOR=`echo ${GCC_VERSION} |
sed 's+\..*++'`
20650 GCC_MEDIUM=`echo ${GCC_VERSION} |
sed 's+[0-9]*\.++' |
sed 's+\..*++'`
20651 if test "${THREAD_LIBS}" = "-lpthread" ; then
20652 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
20655 BASE_THREAD_LIBS="-lpthread"
20657 if expr ${GCC_MAJOR} \> 3 > /dev/null
20660 BASE_THREAD_LIBS="-lpthread"
20662 echo old GCC disabling weak symbols for pthread
20669 if test "$WITH_THREADS" = "1" ; then
20670 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
20671 TEST_THREADS="Threadtests"
20674 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
20675 THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
20685 if test "$with_history" = "yes" ; then
20686 echo Enabling xmllint shell history
20688 for termlib in ncurses curses termcap terminfo termlib; do
20689 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" |
$as_tr_sh`
20690 { $as_echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5
20691 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
20692 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
20693 $as_echo_n "(cached) " >&6
20695 ac_check_lib_save_LIBS=$LIBS
20696 LIBS="-l${termlib} $LIBS"
20697 cat >conftest.$ac_ext <<_ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20704 /* Override any GCC internal prototype to avoid an error.
20705 Use char because int might match the return type of a GCC
20706 builtin and then its argument prototype would still apply. */
20719 rm -f conftest.$ac_objext conftest$ac_exeext
20720 if { (ac_try="$ac_link"
20721 case "(($ac_try" in
20722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20723 *) ac_try_echo
=$ac_try;;
20725 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20726 $as_echo "$ac_try_echo") >&5
20727 (eval "$ac_link") 2>conftest.er1
20729 grep -v '^ *+' conftest.er1
>conftest.err
20731 cat conftest.err
>&5
20732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20733 (exit $ac_status); } && {
20734 test -z "$ac_c_werror_flag" ||
20735 test ! -s conftest.err
20736 } && test -s conftest
$ac_exeext && {
20737 test "$cross_compiling" = yes ||
20738 $as_test_x conftest
$ac_exeext
20740 eval "$as_ac_Lib=yes"
20742 $as_echo "$as_me: failed program was:" >&5
20743 sed 's/^/| /' conftest.
$ac_ext >&5
20745 eval "$as_ac_Lib=no"
20748 rm -rf conftest.dSYM
20749 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20750 conftest
$ac_exeext conftest.
$ac_ext
20751 LIBS
=$ac_check_lib_save_LIBS
20753 ac_res
=`eval 'as_val=${'$as_ac_Lib'}
20754 $as_echo "$as_val"'`
20755 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20756 $as_echo "$ac_res" >&6; }
20757 as_val
=`eval 'as_val=${'$as_ac_Lib'}
20758 $as_echo "$as_val"'`
20759 if test "x$as_val" = x
""yes; then
20763 test -n "$tcap" && break
20766 if test "${ac_cv_header_readline_history_h+set}" = set; then
20767 { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
20768 $as_echo_n "checking for readline/history.h... " >&6; }
20769 if test "${ac_cv_header_readline_history_h+set}" = set; then
20770 $as_echo_n "(cached) " >&6
20772 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
20773 $as_echo "$ac_cv_header_readline_history_h" >&6; }
20775 # Is the header compilable?
20776 { $as_echo "$as_me:$LINENO: checking readline/history.h usability" >&5
20777 $as_echo_n "checking readline/history.h usability... " >&6; }
20778 cat >conftest.
$ac_ext <<_ACEOF
20781 cat confdefs.h
>>conftest.
$ac_ext
20782 cat >>conftest.
$ac_ext <<_ACEOF
20783 /* end confdefs.h. */
20784 $ac_includes_default
20785 #include <readline/history.h>
20787 rm -f conftest.
$ac_objext
20788 if { (ac_try
="$ac_compile"
20789 case "(($ac_try" in
20790 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20791 *) ac_try_echo=$ac_try;;
20793 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20794 $as_echo "$ac_try_echo") >&5
20795 (eval "$ac_compile") 2>conftest.er1
20797 grep -v '^ *+' conftest.er1 >conftest.err
20799 cat conftest.err >&5
20800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } && {
20802 test -z "$ac_c_werror_flag" ||
20803 test ! -s conftest.err
20804 } && test -s conftest.$ac_objext; then
20805 ac_header_compiler=yes
20807 $as_echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20810 ac_header_compiler=no
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20815 $as_echo "$ac_header_compiler" >&6; }
20817 # Is the header present?
20818 { $as_echo "$as_me:$LINENO: checking readline/history.h presence" >&5
20819 $as_echo_n "checking readline/history.h presence... " >&6; }
20820 cat >conftest.$ac_ext <<_ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 #include <readline/history.h>
20828 if { (ac_try="$ac_cpp conftest.$ac_ext"
20829 case "(($ac_try" in
20830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20831 *) ac_try_echo
=$ac_try;;
20833 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20834 $as_echo "$ac_try_echo") >&5
20835 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20837 grep -v '^ *+' conftest.er1
>conftest.err
20839 cat conftest.err
>&5
20840 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } >/dev
/null
&& {
20842 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20843 test ! -s conftest.err
20845 ac_header_preproc
=yes
20847 $as_echo "$as_me: failed program was:" >&5
20848 sed 's/^/| /' conftest.
$ac_ext >&5
20850 ac_header_preproc
=no
20853 rm -f conftest.err conftest.
$ac_ext
20854 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20855 $as_echo "$ac_header_preproc" >&6; }
20857 # So? What about this header?
20858 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20860 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
20861 $as_echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20862 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
20863 $as_echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
20864 ac_header_preproc
=yes
20867 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
20868 $as_echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
20869 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
20870 $as_echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
20871 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
20872 $as_echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
20873 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5
20874 $as_echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;}
20875 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
20876 $as_echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
20877 { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
20878 $as_echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
20882 { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
20883 $as_echo_n "checking for readline/history.h... " >&6; }
20884 if test "${ac_cv_header_readline_history_h+set}" = set; then
20885 $as_echo_n "(cached) " >&6
20887 ac_cv_header_readline_history_h
=$ac_header_preproc
20889 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
20890 $as_echo "$ac_cv_header_readline_history_h" >&6; }
20893 if test "x$ac_cv_header_readline_history_h" = x
""yes; then
20894 { $as_echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5
20895 $as_echo_n "checking for append_history in -lhistory... " >&6; }
20896 if test "${ac_cv_lib_history_append_history+set}" = set; then
20897 $as_echo_n "(cached) " >&6
20899 ac_check_lib_save_LIBS
=$LIBS
20900 LIBS
="-lhistory $LIBS"
20901 cat >conftest.
$ac_ext <<_ACEOF
20904 cat confdefs.h
>>conftest.
$ac_ext
20905 cat >>conftest.
$ac_ext <<_ACEOF
20906 /* end confdefs.h. */
20908 /* Override any GCC internal prototype to avoid an error.
20909 Use char because int might match the return type of a GCC
20910 builtin and then its argument prototype would still apply. */
20914 char append_history ();
20918 return append_history ();
20923 rm -f conftest.
$ac_objext conftest
$ac_exeext
20924 if { (ac_try
="$ac_link"
20925 case "(($ac_try" in
20926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20927 *) ac_try_echo=$ac_try;;
20929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20930 $as_echo "$ac_try_echo") >&5
20931 (eval "$ac_link") 2>conftest.er1
20933 grep -v '^ *+' conftest.er1 >conftest.err
20935 cat conftest.err >&5
20936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20937 (exit $ac_status); } && {
20938 test -z "$ac_c_werror_flag" ||
20939 test ! -s conftest.err
20940 } && test -s conftest$ac_exeext && {
20941 test "$cross_compiling" = yes ||
20942 $as_test_x conftest$ac_exeext
20944 ac_cv_lib_history_append_history=yes
20946 $as_echo "$as_me: failed program was:" >&5
20947 sed 's/^/| /' conftest.$ac_ext >&5
20949 ac_cv_lib_history_append_history=no
20952 rm -rf conftest.dSYM
20953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20954 conftest$ac_exeext conftest.$ac_ext
20955 LIBS=$ac_check_lib_save_LIBS
20957 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5
20958 $as_echo "$ac_cv_lib_history_append_history" >&6; }
20959 if test "x$ac_cv_lib_history_append_history" = x""yes; then
20961 RDL_LIBS="-lhistory"
20963 cat >>confdefs.h <<\_ACEOF
20964 #define HAVE_LIBHISTORY /**/
20972 if test "${ac_cv_header_readline_readline_h+set}" = set; then
20973 { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
20974 $as_echo_n "checking for readline/readline.h... " >&6; }
20975 if test "${ac_cv_header_readline_readline_h+set}" = set; then
20976 $as_echo_n "(cached) " >&6
20978 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
20979 $as_echo "$ac_cv_header_readline_readline_h" >&6; }
20981 # Is the header compilable?
20982 { $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
20983 $as_echo_n "checking readline/readline.h usability... " >&6; }
20984 cat >conftest.$ac_ext <<_ACEOF
20987 cat confdefs.h >>conftest.$ac_ext
20988 cat >>conftest.$ac_ext <<_ACEOF
20989 /* end confdefs.h. */
20990 $ac_includes_default
20991 #include <readline/readline.h>
20993 rm -f conftest.$ac_objext
20994 if { (ac_try="$ac_compile"
20995 case "(($ac_try" in
20996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20997 *) ac_try_echo
=$ac_try;;
20999 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21000 $as_echo "$ac_try_echo") >&5
21001 (eval "$ac_compile") 2>conftest.er1
21003 grep -v '^ *+' conftest.er1
>conftest.err
21005 cat conftest.err
>&5
21006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); } && {
21008 test -z "$ac_c_werror_flag" ||
21009 test ! -s conftest.err
21010 } && test -s conftest.
$ac_objext; then
21011 ac_header_compiler
=yes
21013 $as_echo "$as_me: failed program was:" >&5
21014 sed 's/^/| /' conftest.
$ac_ext >&5
21016 ac_header_compiler
=no
21019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21020 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21021 $as_echo "$ac_header_compiler" >&6; }
21023 # Is the header present?
21024 { $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
21025 $as_echo_n "checking readline/readline.h presence... " >&6; }
21026 cat >conftest.
$ac_ext <<_ACEOF
21029 cat confdefs.h
>>conftest.
$ac_ext
21030 cat >>conftest.
$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 #include <readline/readline.h>
21034 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21035 case "(($ac_try" in
21036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21037 *) ac_try_echo=$ac_try;;
21039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21040 $as_echo "$ac_try_echo") >&5
21041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21043 grep -v '^ *+' conftest.er1 >conftest.err
21045 cat conftest.err >&5
21046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21047 (exit $ac_status); } >/dev/null && {
21048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21049 test ! -s conftest.err
21051 ac_header_preproc=yes
21053 $as_echo "$as_me: failed program was:" >&5
21054 sed 's/^/| /' conftest.$ac_ext >&5
21056 ac_header_preproc=no
21059 rm -f conftest.err conftest.$ac_ext
21060 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21061 $as_echo "$ac_header_preproc" >&6; }
21063 # So? What about this header?
21064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21066 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
21067 $as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21068 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
21069 $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
21070 ac_header_preproc=yes
21073 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
21074 $as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
21075 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
21076 $as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
21077 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
21078 $as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
21079 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
21080 $as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
21081 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
21082 $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
21083 { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
21084 $as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
21088 { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
21089 $as_echo_n "checking for readline/readline.h... " >&6; }
21090 if test "${ac_cv_header_readline_readline_h+set}" = set; then
21091 $as_echo_n "(cached) " >&6
21093 ac_cv_header_readline_readline_h=$ac_header_preproc
21095 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
21096 $as_echo "$ac_cv_header_readline_readline_h" >&6; }
21099 if test "x$ac_cv_header_readline_readline_h" = x""yes; then
21100 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
21101 $as_echo_n "checking for readline in -lreadline... " >&6; }
21102 if test "${ac_cv_lib_readline_readline+set}" = set; then
21103 $as_echo_n "(cached) " >&6
21105 ac_check_lib_save_LIBS=$LIBS
21106 LIBS="-lreadline $tcap $LIBS"
21107 cat >conftest.$ac_ext <<_ACEOF
21110 cat confdefs.h >>conftest.$ac_ext
21111 cat >>conftest.$ac_ext <<_ACEOF
21112 /* end confdefs.h. */
21114 /* Override any GCC internal prototype to avoid an error.
21115 Use char because int might match the return type of a GCC
21116 builtin and then its argument prototype would still apply. */
21124 return readline ();
21129 rm -f conftest.$ac_objext conftest$ac_exeext
21130 if { (ac_try="$ac_link"
21131 case "(($ac_try" in
21132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21133 *) ac_try_echo
=$ac_try;;
21135 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21136 $as_echo "$ac_try_echo") >&5
21137 (eval "$ac_link") 2>conftest.er1
21139 grep -v '^ *+' conftest.er1
>conftest.err
21141 cat conftest.err
>&5
21142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } && {
21144 test -z "$ac_c_werror_flag" ||
21145 test ! -s conftest.err
21146 } && test -s conftest
$ac_exeext && {
21147 test "$cross_compiling" = yes ||
21148 $as_test_x conftest
$ac_exeext
21150 ac_cv_lib_readline_readline
=yes
21152 $as_echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.
$ac_ext >&5
21155 ac_cv_lib_readline_readline
=no
21158 rm -rf conftest.dSYM
21159 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21160 conftest
$ac_exeext conftest.
$ac_ext
21161 LIBS
=$ac_check_lib_save_LIBS
21163 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
21164 $as_echo "$ac_cv_lib_readline_readline" >&6; }
21165 if test "x$ac_cv_lib_readline_readline" = x
""yes; then
21167 RDL_LIBS
="-lreadline $RDL_LIBS $tcap"
21169 cat >>confdefs.h
<<\_ACEOF
21170 #define HAVE_LIBREADLINE /**/
21178 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
21179 CPPFLAGS
="$CPPFLAGS -I${RDL_DIR}/include"
21180 RDL_LIBS
="-L${RDL_DIR}/lib $RDL_LIBS"
21184 if test "$with_tree" = "no" ; then
21185 echo Disabling DOM like tree manipulation APIs
21192 if test "$with_ftp" = "no" ; then
21193 echo Disabling FTP support
21203 if test "$with_http" = "no" ; then
21204 echo Disabling HTTP support
21209 HTTP_OBJ
=nanohttp.o
21214 if test "$with_legacy" = "no" ; then
21215 echo Disabling deprecated APIs
21222 if test "$with_reader" = "no" ; then
21223 echo Disabling the xmlReader parsing interface
21228 READER_TEST
=Readertests
21229 if test "$with_push" = "no" ; then
21230 echo xmlReader requires Push interface
- enabling it
21237 if test "$with_writer" = "no" ; then
21238 echo Disabling the xmlWriter saving interface
21243 # WRITER_TEST=Writertests
21244 if test "$with_push" = "no" ; then
21245 echo xmlWriter requires Push interface
- enabling it
21248 if test "$with_output" = "no" ; then
21249 echo xmlWriter requires Output interface
- enabling it
21254 #AC_SUBST(WRITER_TEST)
21256 if test "$with_pattern" = "no" ; then
21257 echo Disabling the xmlPattern parsing interface
21262 TEST_PATTERN
=Patterntests
21267 if test "$with_sax1" = "no" ; then
21268 echo Disabling the older SAX1 interface
21278 if test "$with_push" = "no" ; then
21279 echo Disabling the PUSH parser interfaces
21284 TEST_PUSH
="XMLPushtests"
21289 if test "$with_html" = "no" ; then
21290 echo Disabling HTML support
21296 HTML_OBJ
="HTMLparser.o HTMLtree.o"
21297 TEST_HTML
=HTMLtests
21298 if test "$with_push" != "no" ; then
21299 TEST_PHTML
=HTMLPushtests
21309 if test "$with_valid" = "no" ; then
21310 echo Disabling DTD validation support
21316 TEST_VALID
=Validtests
21317 TEST_VTIME
=VTimingtests
21323 if test "$with_catalog" = "no" ; then
21324 echo Disabling Catalog support
21330 CATALOG_OBJ
="catalog.o"
21331 TEST_CATALOG
=Catatests
21337 if test "$with_docbook" = "no" ; then
21338 echo Disabling Docbook support
21343 DOCB_OBJ
="DOCBparser.o"
21349 if test "$with_xptr" = "no" ; then
21350 echo Disabling XPointer support
21356 XPTR_OBJ
=xpointer.o
21357 TEST_XPTR
=XPtrtests
21358 if test "$with_xpath" = "no" ; then
21359 echo XPointer requires XPath support
- enabling it
21367 if test "$with_c14n" = "no" ; then
21368 echo Disabling C14N support
21375 TEST_C14N
=C14Ntests
21376 if test "$with_xpath" = "no" ; then
21377 echo C14N requires XPath support
- enabling it
21385 if test "$with_xinclude" = "no" ; then
21386 echo Disabling XInclude support
21393 XINCLUDE_OBJ
=xinclude.o
21394 TEST_XINCLUDE
=XIncludetests
21395 if test "$with_xpath" = "no" ; then
21396 echo XInclude requires XPath support
- enabling it
21404 if test "$with_xpath" = "no" ; then
21405 echo Disabling XPATH support
21412 TEST_XPATH
=XPathtests
21418 if test "$with_output" = "no" ; then
21419 echo Disabling serialization
/saving support
21427 if test "$with_iconv" = "no" ; then
21428 echo Disabling ICONV support
21430 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
21431 CPPFLAGS
="${CPPFLAGS} -I$with_iconv/include"
21432 # Export this since our headers include iconv.h
21433 XML_INCLUDEDIR
="${XML_INCLUDEDIR} -I$with_iconv/include"
21434 ICONV_LIBS
="-L$with_iconv/lib"
21437 if test "${ac_cv_header_iconv_h+set}" = set; then
21438 { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
21439 $as_echo_n "checking for iconv.h... " >&6; }
21440 if test "${ac_cv_header_iconv_h+set}" = set; then
21441 $as_echo_n "(cached) " >&6
21443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
21444 $as_echo "$ac_cv_header_iconv_h" >&6; }
21446 # Is the header compilable?
21447 { $as_echo "$as_me:$LINENO: checking iconv.h usability" >&5
21448 $as_echo_n "checking iconv.h usability... " >&6; }
21449 cat >conftest.
$ac_ext <<_ACEOF
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21458 rm -f conftest.
$ac_objext
21459 if { (ac_try
="$ac_compile"
21460 case "(($ac_try" in
21461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21462 *) ac_try_echo=$ac_try;;
21464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21465 $as_echo "$ac_try_echo") >&5
21466 (eval "$ac_compile") 2>conftest.er1
21468 grep -v '^ *+' conftest.er1 >conftest.err
21470 cat conftest.err >&5
21471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } && {
21473 test -z "$ac_c_werror_flag" ||
21474 test ! -s conftest.err
21475 } && test -s conftest.$ac_objext; then
21476 ac_header_compiler=yes
21478 $as_echo "$as_me: failed program was:" >&5
21479 sed 's/^/| /' conftest.$ac_ext >&5
21481 ac_header_compiler=no
21484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21485 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21486 $as_echo "$ac_header_compiler" >&6; }
21488 # Is the header present?
21489 { $as_echo "$as_me:$LINENO: checking iconv.h presence" >&5
21490 $as_echo_n "checking iconv.h presence... " >&6; }
21491 cat >conftest.$ac_ext <<_ACEOF
21494 cat confdefs.h >>conftest.$ac_ext
21495 cat >>conftest.$ac_ext <<_ACEOF
21496 /* end confdefs.h. */
21499 if { (ac_try="$ac_cpp conftest.$ac_ext"
21500 case "(($ac_try" in
21501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21502 *) ac_try_echo
=$ac_try;;
21504 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21505 $as_echo "$ac_try_echo") >&5
21506 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21508 grep -v '^ *+' conftest.er1
>conftest.err
21510 cat conftest.err
>&5
21511 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); } >/dev
/null
&& {
21513 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21514 test ! -s conftest.err
21516 ac_header_preproc
=yes
21518 $as_echo "$as_me: failed program was:" >&5
21519 sed 's/^/| /' conftest.
$ac_ext >&5
21521 ac_header_preproc
=no
21524 rm -f conftest.err conftest.
$ac_ext
21525 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21526 $as_echo "$ac_header_preproc" >&6; }
21528 # So? What about this header?
21529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21531 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
21532 $as_echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21533 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
21534 $as_echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
21535 ac_header_preproc
=yes
21538 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
21539 $as_echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
21540 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
21541 $as_echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
21542 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
21543 $as_echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
21544 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
21545 $as_echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
21546 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
21547 $as_echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
21548 { $as_echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
21549 $as_echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
21553 { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
21554 $as_echo_n "checking for iconv.h... " >&6; }
21555 if test "${ac_cv_header_iconv_h+set}" = set; then
21556 $as_echo_n "(cached) " >&6
21558 ac_cv_header_iconv_h
=$ac_header_preproc
21560 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
21561 $as_echo "$ac_cv_header_iconv_h" >&6; }
21564 if test "x$ac_cv_header_iconv_h" = x
""yes; then
21565 { $as_echo "$as_me:$LINENO: checking for iconv" >&5
21566 $as_echo_n "checking for iconv... " >&6; }
21567 cat >conftest.
$ac_ext <<_ACEOF
21570 cat confdefs.h
>>conftest.
$ac_ext
21571 cat >>conftest.
$ac_ext <<_ACEOF
21572 /* end confdefs.h. */
21573 #include <stdlib.h>
21579 iconv_t cd = iconv_open ("","");
21580 iconv (cd, NULL, NULL, NULL, NULL);
21585 rm -f conftest.
$ac_objext conftest
$ac_exeext
21586 if { (ac_try
="$ac_link"
21587 case "(($ac_try" in
21588 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21589 *) ac_try_echo=$ac_try;;
21591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21592 $as_echo "$ac_try_echo") >&5
21593 (eval "$ac_link") 2>conftest.er1
21595 grep -v '^ *+' conftest.er1 >conftest.err
21597 cat conftest.err >&5
21598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } && {
21600 test -z "$ac_c_werror_flag" ||
21601 test ! -s conftest.err
21602 } && test -s conftest$ac_exeext && {
21603 test "$cross_compiling" = yes ||
21604 $as_test_x conftest$ac_exeext
21607 { $as_echo "$as_me:$LINENO: result: yes" >&5
21608 $as_echo "yes" >&6; }
21611 $as_echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21615 { $as_echo "$as_me:$LINENO: result: no" >&5
21616 $as_echo "no" >&6; }
21617 { $as_echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
21618 $as_echo_n "checking for iconv in -liconv... " >&6; }
21620 _ldflags="${LDFLAGS}"
21622 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
21623 LIBS="${LIBS} -liconv"
21625 cat >conftest.$ac_ext <<_ACEOF
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 #include <stdlib.h>
21637 iconv_t cd = iconv_open ("","");
21638 iconv (cd, NULL, NULL, NULL, NULL);
21643 rm -f conftest.$ac_objext conftest$ac_exeext
21644 if { (ac_try="$ac_link"
21645 case "(($ac_try" in
21646 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21647 *) ac_try_echo
=$ac_try;;
21649 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21650 $as_echo "$ac_try_echo") >&5
21651 (eval "$ac_link") 2>conftest.er1
21653 grep -v '^ *+' conftest.er1
>conftest.err
21655 cat conftest.err
>&5
21656 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && {
21658 test -z "$ac_c_werror_flag" ||
21659 test ! -s conftest.err
21660 } && test -s conftest
$ac_exeext && {
21661 test "$cross_compiling" = yes ||
21662 $as_test_x conftest
$ac_exeext
21665 { $as_echo "$as_me:$LINENO: result: yes" >&5
21666 $as_echo "yes" >&6; }
21668 ICONV_LIBS
="${ICONV_LIBS} -liconv"
21670 LDFLAGS
="${_ldflags}"
21672 $as_echo "$as_me: failed program was:" >&5
21673 sed 's/^/| /' conftest.
$ac_ext >&5
21676 { $as_echo "$as_me:$LINENO: result: no" >&5
21677 $as_echo "no" >&6; }
21679 LDFLAGS
="${_ldflags}"
21682 rm -rf conftest.dSYM
21683 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21684 conftest
$ac_exeext conftest.
$ac_ext
21687 rm -rf conftest.dSYM
21688 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21689 conftest
$ac_exeext conftest.
$ac_ext
21694 if test "$WITH_ICONV" = "1" ; then
21695 { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
21696 $as_echo_n "checking for iconv declaration... " >&6; }
21697 if test "${xml_cv_iconv_arg2+set}" = set; then
21698 $as_echo_n "(cached) " >&6
21701 cat >conftest.
$ac_ext <<_ACEOF
21704 cat confdefs.h
>>conftest.
$ac_ext
21705 cat >>conftest.
$ac_ext <<_ACEOF
21706 /* end confdefs.h. */
21707 #include <stdlib.h>
21713 #if defined(__STDC__) || defined(__cplusplus)
21714 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
21727 rm -f conftest.
$ac_objext
21728 if { (ac_try
="$ac_compile"
21729 case "(($ac_try" in
21730 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21731 *) ac_try_echo=$ac_try;;
21733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21734 $as_echo "$ac_try_echo") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1 >conftest.err
21739 cat conftest.err >&5
21740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 xml_cv_iconv_arg2=""
21747 $as_echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21750 xml_cv_iconv_arg2="const"
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21757 xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
21758 { $as_echo "$as_me:$LINENO: result: ${xml_xxx:-
21759 }$xml_cv_iconv_decl" >&5
21760 $as_echo "${xml_xxx:-
21761 }$xml_cv_iconv_decl" >&6; }
21763 cat >>confdefs.h <<_ACEOF
21764 #define ICONV_CONST $xml_cv_iconv_arg2
21779 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
21780 XML_LIBTOOLLIBS="libxml2.la"
21784 if test "$WITH_ICONV" != "1" ; then
21785 if test "$with_iso8859x" = "no" ; then
21786 echo Disabling ISO8859X support
21792 if test "$with_schematron" = "no" ; then
21793 echo "Disabling Schematron support"
21797 echo "Enabled Schematron support"
21799 TEST_SCHEMATRON="Schematrontests"
21806 if test "$with_schemas" = "no" ; then
21807 echo "Disabling Schemas/Relax-NG support"
21811 echo "Enabled Schemas/Relax-NG support"
21813 TEST_SCHEMAS="Schemastests Relaxtests"
21814 if test "$PYTHON_INCLUDES" != "" ; then
21815 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
21822 if test "$with_regexps" = "no" ; then
21823 echo Disabling Regexps support
21828 TEST_REGEXPS="Regexptests Automatatests"
21833 if test "$with_debug" = "no" ; then
21834 echo Disabling DEBUG support
21840 DEBUG_OBJ=debugXML.o
21841 TEST_DEBUG=Scripttests
21847 if test "$with_mem_debug" = "yes" ; then
21848 if test "$with_thread_alloc" = "yes" ; then
21849 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
21852 echo Enabling memory debug support
21860 if test "$with_run_debug" = "yes" ; then
21861 echo Enabling runtime debug support
21868 WIN32_EXTRA_LIBADD=
21869 WIN32_EXTRA_LDFLAGS=
21870 CYGWIN_EXTRA_LDFLAGS=
21871 CYGWIN_EXTRA_PYTHON_LIBADD=
21874 CPPFLAGS="$CPPFLAGS -DWIN32"
21875 WIN32_EXTRA_LIBADD="-lws2_32"
21876 WIN32_EXTRA_LDFLAGS="-no-undefined"
21878 cat >>confdefs.h <<\_ACEOF
21879 #define _WINSOCKAPI_ 1
21883 cat >>confdefs.h <<\_ACEOF
21884 #define snprintf _snprintf
21888 cat >>confdefs.h <<\_ACEOF
21889 #define vsnprintf _vsnprintf
21894 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
21895 if test "${PYTHON}" != ""
21897 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
21906 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
21908 echo Enabling code coverage for GCC
21909 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
21910 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
21912 echo Disabling code coverage for GCC
21936 RELDATE=`date +'%a %b %e %Y'`
21940 rm -f COPYING.LIB COPYING
21941 ln -s Copyright COPYING
21943 # keep on one line for cygwin c.f. #130896
21944 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
21946 cat >confcache <<\_ACEOF
21947 # This file is a shell script that caches the results of configure
21948 # tests run on this system so they can be shared between configure
21949 # scripts and configure runs, see configure's option --config-cache.
21950 # It is not useful on other systems. If it contains results you don't
21951 # want to keep, you may remove or edit it.
21953 # config.status only pays attention to the cache file if you give it
21954 # the --recheck option to rerun configure.
21956 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
21957 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21958 # following values.
21962 # The following way of writing the cache mishandles newlines in values,
21963 # but we know of no workaround that is simple, portable, and efficient.
21964 # So, we kill variables containing newlines.
21965 # Ultrix sh set writes to stderr and can't be redirected directly,
21966 # and sets the high bit in the cache file unless we assign to the vars.
21968 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21969 eval ac_val
=\$
$ac_var
21973 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
21974 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21977 _ | IFS | as_nl
) ;; #(
21978 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21979 *) $as_unset $ac_var ;;
21985 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21986 *${as_nl}ac_space
=\
*)
21987 # `set' does not quote correctly, so add quotes (double-quote
21988 # substitution turns \\\\ into \\, and sed turns \\ into \).
21991 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21994 # `set' quotes correctly as required by POSIX, so do not add quotes.
21995 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22004 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22006 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22008 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
22009 if test -w "$cache_file"; then
22010 test "x$cache_file" != "x/dev/null" &&
22011 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
22012 $as_echo "$as_me: updating cache $cache_file" >&6;}
22013 cat confcache
>$cache_file
22015 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22016 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22021 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22022 # Let make expand exec_prefix.
22023 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22025 DEFS
=-DHAVE_CONFIG_H
22029 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
22030 # 1. Remove the extension, and $U if already installed.
22031 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
22032 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
22033 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22034 # will be set to the directory where LIBOBJS objects are built.
22035 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22036 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22038 LIBOBJS
=$ac_libobjs
22040 LTLIBOBJS
=$ac_ltlibobjs
22043 if test -n "$EXEEXT"; then
22045 am__EXEEXT_FALSE
='#'
22047 am__EXEEXT_TRUE
='#'
22051 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22052 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
22053 Usually this means the macro was only invoked conditionally." >&5
22054 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
22055 Usually this means the macro was only invoked conditionally." >&2;}
22056 { (exit 1); exit 1; }; }
22058 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22059 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
22060 Usually this means the macro was only invoked conditionally." >&5
22061 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
22062 Usually this means the macro was only invoked conditionally." >&2;}
22063 { (exit 1); exit 1; }; }
22065 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
22066 { { $as_echo "$as_me:$LINENO: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
22067 Usually this means the macro was only invoked conditionally." >&5
22068 $as_echo "$as_me: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
22069 Usually this means the macro was only invoked conditionally." >&2;}
22070 { (exit 1); exit 1; }; }
22072 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
22073 { { $as_echo "$as_me:$LINENO: error: conditional \"REBUILD_DOCS\" was never defined.
22074 Usually this means the macro was only invoked conditionally." >&5
22075 $as_echo "$as_me: error: conditional \"REBUILD_DOCS\" was never defined.
22076 Usually this means the macro was only invoked conditionally." >&2;}
22077 { (exit 1); exit 1; }; }
22079 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
22080 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
22081 Usually this means the macro was only invoked conditionally." >&5
22082 $as_echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
22083 Usually this means the macro was only invoked conditionally." >&2;}
22084 { (exit 1); exit 1; }; }
22086 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
22087 { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
22088 Usually this means the macro was only invoked conditionally." >&5
22089 $as_echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
22090 Usually this means the macro was only invoked conditionally." >&2;}
22091 { (exit 1); exit 1; }; }
22094 : ${CONFIG_STATUS=./config.status}
22096 ac_clean_files_save
=$ac_clean_files
22097 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22098 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22099 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22100 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22102 # Generated by $as_me.
22103 # Run this file to recreate the current configuration.
22104 # Compiler output produced by configure, useful for debugging
22105 # configure, is in config.log if it exists.
22108 ac_cs_recheck=false
22110 SHELL=\${CONFIG_SHELL-$SHELL}
22113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22114 ## --------------------- ##
22115 ## M4sh Initialization. ##
22116 ## --------------------- ##
22118 # Be more Bourne compatible
22119 DUALCASE
=1; export DUALCASE
# for MKS sh
22120 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
22123 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22124 # is contrary to our usage. Disable this feature.
22125 alias -g '${1+"$@"}'='"$@"'
22126 setopt NO_GLOB_SUBST
22128 case `(set -o) 2>/dev/null` in
22129 *posix
*) set -o posix
;;
22138 # Avoid depending upon Character Ranges.
22139 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22140 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22141 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22142 as_cr_digits
='0123456789'
22143 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22148 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22149 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22151 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22152 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22153 as_echo='printf %s
\n'
22154 as_echo_n='printf %s
'
22156 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22157 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22158 as_echo_n='/usr
/ucb
/echo -n'
22160 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22161 as_echo_n_body='eval
22165 expr "X$arg" : "X\\(.*\\)$as_nl";
22166 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22168 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22170 export as_echo_n_body
22171 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22173 export as_echo_body
22174 as_echo='sh
-c $as_echo_body as_echo
'
22177 # The user is always right.
22178 if test "${PATH_SEPARATOR+set}" != set; then
22180 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22181 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22186 # Support unset when possible.
22187 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22195 # We need space, tab and new line, in precisely that order. Quoting is
22196 # there to prevent editors from complaining about space-tab.
22197 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22198 # splitting by setting IFS to empty value.)
22201 # Find who we are. Look in the path if we contain no directory separator.
22203 *[\\/]* ) as_myself=$0 ;;
22204 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22205 for as_dir in $PATH
22208 test -z "$as_dir" && as_dir=.
22209 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22215 # We did not find ourselves, most probably we were run as `sh COMMAND'
22216 # in which case we are not to be found in the path.
22217 if test "x$as_myself" = x
; then
22220 if test ! -f "$as_myself"; then
22221 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22222 { (exit 1); exit 1; }
22225 # Work around bugs in pre-3.0 UWIN ksh.
22226 for as_var
in ENV MAIL MAILPATH
22227 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
22239 # Required to use basename.
22240 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22241 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22247 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22248 as_basename
=basename
22254 # Name of the executable.
22255 as_me
=`$as_basename -- "$0" ||
22256 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22257 X"$0" : 'X\(//\)$' \| \
22258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22260 sed '/^.*\/\([^/][^/]*\)\/*$/{
22279 as_lineno_1
=$LINENO
22280 as_lineno_2
=$LINENO
22281 test "x$as_lineno_1" != "x$as_lineno_2" &&
22282 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
22284 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22285 # uniformly replaced by the line number. The first 'sed' inserts a
22286 # line-number line after each line using $LINENO; the second 'sed'
22287 # does the real work. The second script uses 'N' to pair each
22288 # line-number line with the line containing $LINENO, and appends
22289 # trailing '-' during substitution so that $LINENO is not a special
22290 # case at line end.
22291 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22292 # scripts with optimization help from Paolo Bonzini. Blame Lee
22293 # E. McMahon (1931-1989) for sed's syntax. :-)
22305 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22308 ' >$as_me.lineno
&&
22309 chmod +x
"$as_me.lineno" ||
22310 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22311 { (exit 1); exit 1; }; }
22313 # Don't try to exec as it changes $[0], causing all sort of problems
22314 # (the dirname of $[0] is not the place where we might find the
22315 # original and so on. Autoconf is especially sensitive to this).
22316 .
"./$as_me.lineno"
22317 # Exit status is that of the last command.
22322 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22328 ECHO_C
= ECHO_N
= ECHO_T
=
22329 case `echo -n x` in
22331 case `echo 'x\c'` in
22332 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22338 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22339 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22345 rm -f conf$$ conf$$.exe conf$$.
file
22346 if test -d conf$$.dir
; then
22347 rm -f conf$$.dir
/conf$$.
file
22350 mkdir conf$$.dir
2>/dev
/null
22352 if (echo >conf$$.
file) 2>/dev
/null
; then
22353 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22355 # ... but there are two gotchas:
22356 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22357 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22358 # In both cases, we have to default to `cp -p'.
22359 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22361 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22369 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22370 rmdir conf$$.dir
2>/dev
/null
22372 if mkdir
-p .
2>/dev
/null
; then
22375 test -d .
/-p && rmdir .
/-p
22379 if test -x / >/dev
/null
2>&1; then
22380 as_test_x
='test -x'
22382 if ls -dL / >/dev
/null
2>&1; then
22389 if test -d "$1"; then
22395 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22396 ???[sx]*):;;*)false;;esac;fi
22400 as_executable_p
=$as_test_x
22402 # Sed expression to map a string onto a valid CPP name.
22403 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22405 # Sed expression to map a string onto a valid variable name.
22406 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22411 # Save the log message, to keep $[0] and so on meaningful, and to
22412 # report actual input values of CONFIG_FILES etc. instead of their
22413 # values after options handling.
22415 This file was extended by $as_me, which was
22416 generated by GNU Autoconf 2.63. Invocation command line was
22418 CONFIG_FILES = $CONFIG_FILES
22419 CONFIG_HEADERS = $CONFIG_HEADERS
22420 CONFIG_LINKS = $CONFIG_LINKS
22421 CONFIG_COMMANDS = $CONFIG_COMMANDS
22424 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22429 case $ac_config_files in *"
22430 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22433 case $ac_config_headers in *"
22434 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22439 # Files that config.status was made for.
22440 config_files="$ac_config_files"
22441 config_headers="$ac_config_headers"
22442 config_commands="$ac_config_commands"
22446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22448 \`$as_me' instantiates files from templates according to the
22449 current configuration.
22451 Usage: $0 [OPTION]... [FILE]...
22453 -h, --help print this help, then exit
22454 -V, --version print version number and configuration settings, then exit
22455 -q, --quiet, --silent
22456 do not print progress messages
22457 -d, --debug don't remove temporary files
22458 --recheck update $as_me by reconfiguring in the same conditions
22459 --file=FILE[:TEMPLATE]
22460 instantiate the configuration file FILE
22461 --header=FILE[:TEMPLATE]
22462 instantiate the configuration header FILE
22464 Configuration files:
22467 Configuration headers:
22470 Configuration commands:
22473 Report bugs to <bug-autoconf@gnu.org>."
22476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22479 configured by $0, generated by GNU Autoconf 2.63,
22480 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22482 Copyright (C) 2008 Free Software Foundation, Inc.
22483 This config.status script is free software; the Free Software Foundation
22484 gives unlimited permission to copy, distribute and modify it."
22491 test -n "\$AWK" || AWK=awk
22494 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22495 # The default lists apply if the user does not specify any file.
22501 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22502 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22513 # Handling of the options.
22514 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22516 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22517 $as_echo "$ac_cs_version"; exit ;;
22518 --debug |
--debu |
--deb |
--de |
--d |
-d )
22520 --file |
--fil |
--fi |
--f )
22523 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22525 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
22526 ac_need_defaults
=false
;;
22527 --header |
--heade |
--head |
--hea )
22530 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22532 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
22533 ac_need_defaults
=false
;;
22535 # Conflict between --help and --header
22536 { $as_echo "$as_me: error: ambiguous option: $1
22537 Try \`$0 --help' for more information." >&2
22538 { (exit 1); exit 1; }; };;
22539 --help |
--hel |
-h )
22540 $as_echo "$ac_cs_usage"; exit ;;
22541 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22542 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22545 # This is an error.
22546 -*) { $as_echo "$as_me: error: unrecognized option: $1
22547 Try \`$0 --help' for more information." >&2
22548 { (exit 1); exit 1; }; } ;;
22550 *) ac_config_targets
="$ac_config_targets $1"
22551 ac_need_defaults
=false
;;
22557 ac_configure_extra_args
=
22559 if $ac_cs_silent; then
22561 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22566 if \$ac_cs_recheck; then
22567 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22569 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22570 CONFIG_SHELL='$SHELL'
22571 export CONFIG_SHELL
22576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22580 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22581 ## Running $as_me. ##
22587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22591 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22594 # The HP-UX ksh and POSIX shell print the target directory to stdout
22595 # if CDPATH is set.
22596 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22598 sed_quote_subst='$sed_quote_subst'
22599 double_quote_subst='$double_quote_subst'
22600 delay_variable_subst='$delay_variable_subst'
22601 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
22602 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22603 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
22604 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
22605 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
22606 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
22607 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
22608 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
22609 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
22610 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
22611 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
22612 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
22613 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
22614 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
22615 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
22616 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
22617 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
22618 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
22619 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
22620 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
22621 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
22622 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
22623 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
22624 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
22625 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
22626 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
22627 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
22628 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
22629 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
22630 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
22631 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22632 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
22633 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
22634 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
22635 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22636 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
22637 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
22638 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22639 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22640 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22641 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
22642 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
22643 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
22644 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
22645 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
22646 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
22647 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
22648 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22649 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
22650 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
22651 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
22652 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
22653 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
22654 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
22655 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
22656 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
22657 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
22658 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
22659 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
22660 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
22661 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
22662 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
22663 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
22664 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
22665 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22666 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22667 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
22668 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
22669 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22670 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22671 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
22672 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22673 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22674 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22675 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22676 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22677 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22678 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
22679 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22680 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
22681 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
22682 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
22683 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
22684 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
22685 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
22686 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
22687 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22688 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
22689 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
22690 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
22691 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
22692 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
22693 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22694 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22695 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
22696 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22697 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
22698 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
22699 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
22700 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
22701 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
22702 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22703 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
22704 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
22705 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22706 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
22707 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
22708 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22709 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22710 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
22711 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
22712 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
22713 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22714 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
22715 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
22716 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
22717 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
22718 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
22719 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
22720 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
22723 LTCFLAGS='$LTCFLAGS'
22724 compiler='$compiler_DEFAULT'
22726 # Quote evaled strings.
22737 deplibs_check_method \
22746 lt_cv_sys_global_symbol_pipe \
22747 lt_cv_sys_global_symbol_to_cdecl \
22748 lt_cv_sys_global_symbol_to_c_name_address \
22749 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22752 lt_prog_compiler_no_builtin_flag \
22753 lt_prog_compiler_wl \
22754 lt_prog_compiler_pic \
22755 lt_prog_compiler_static \
22756 lt_cv_prog_compiler_c_o \
22764 export_dynamic_flag_spec \
22765 whole_archive_flag_spec \
22766 compiler_needs_object \
22768 allow_undefined_flag \
22769 no_undefined_flag \
22770 hardcode_libdir_flag_spec \
22771 hardcode_libdir_flag_spec_ld \
22772 hardcode_libdir_separator \
22777 variables_saved_for_relink \
22779 library_names_spec \
22784 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22785 *[\\\\\\\`\\"\\\$]*)
22786 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22789 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22794 # Double-quote double-evaled strings.
22795 for var in reload_cmds \
22796 old_postinstall_cmds \
22797 old_postuninstall_cmds \
22799 extract_expsyms_cmds \
22800 old_archive_from_new_cmds \
22801 old_archive_from_expsyms_cmds \
22803 archive_expsym_cmds \
22805 module_expsym_cmds \
22806 export_symbols_cmds \
22809 postuninstall_cmds \
22811 sys_lib_search_path_spec \
22812 sys_lib_dlsearch_path_spec; do
22813 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
22814 *[\\\\\\\`\\"\\\$]*)
22815 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22818 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22823 # Fix-up fallback echo if it was mangled by the above quoting rules.
22825 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
22829 ac_aux_dir='$ac_aux_dir'
22830 xsi_shell='$xsi_shell'
22831 lt_shell_append='$lt_shell_append'
22833 # See if we are running on zsh, and set the options which allow our
22834 # commands through without removal of \ escapes INIT.
22835 if test -n "\${ZSH_VERSION+set}" ; then
22836 setopt NO_GLOB_SUBST
22842 TIMESTAMP='$TIMESTAMP'
22851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22853 # Handling of arguments.
22854 for ac_config_target
in $ac_config_targets
22856 case $ac_config_target in
22857 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
22858 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22859 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22860 "libxml2.spec") CONFIG_FILES
="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
22861 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22862 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
22863 "include/libxml/Makefile") CONFIG_FILES
="$CONFIG_FILES include/libxml/Makefile" ;;
22864 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
22865 "doc/examples/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/examples/Makefile" ;;
22866 "doc/devhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/devhelp/Makefile" ;;
22867 "example/Makefile") CONFIG_FILES
="$CONFIG_FILES example/Makefile" ;;
22868 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
22869 "python/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES python/tests/Makefile" ;;
22870 "xstc/Makefile") CONFIG_FILES
="$CONFIG_FILES xstc/Makefile" ;;
22871 "include/libxml/xmlversion.h") CONFIG_FILES
="$CONFIG_FILES include/libxml/xmlversion.h" ;;
22872 "xml2-config") CONFIG_FILES
="$CONFIG_FILES xml2-config" ;;
22873 "libxml-2.0.pc") CONFIG_FILES
="$CONFIG_FILES libxml-2.0.pc" ;;
22874 "libxml-2.0-uninstalled.pc") CONFIG_FILES
="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
22875 "python/setup.py") CONFIG_FILES
="$CONFIG_FILES python/setup.py" ;;
22877 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22878 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22879 { (exit 1); exit 1; }; };;
22884 # If the user did not use the arguments to specify the items to instantiate,
22885 # then the envvar interface is used. Set only those that are not.
22886 # We use the long form for the default assignment because of an extremely
22887 # bizarre bug on SunOS 4.1.3.
22888 if $ac_need_defaults; then
22889 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22890 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22891 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22894 # Have a temporary directory for convenience. Make it in the build tree
22895 # simply because there is no reason against having it here, and in addition,
22896 # creating and moving files from /tmp can sometimes cause problems.
22897 # Hook for its removal unless debugging.
22898 # Note that there is a small window in which the directory will not be cleaned:
22899 # after its creation but before its name has been assigned to `$tmp'.
22903 trap 'exit_status=$?
22904 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22906 trap '{ (exit 1); exit 1; }' 1 2 13 15
22908 # Create a (secure) tmp directory for tmp files.
22911 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22912 test -n "$tmp" && test -d "$tmp"
22915 tmp
=.
/conf$$
-$RANDOM
22916 (umask 077 && mkdir
"$tmp")
22919 $as_echo "$as_me: cannot create a temporary directory in ." >&2
22920 { (exit 1); exit 1; }
22923 # Set up the scripts for CONFIG_FILES section.
22924 # No need to generate them if there are no CONFIG_FILES.
22925 # This happens for instance with `./config.status config.h'.
22926 if test -n "$CONFIG_FILES"; then
22931 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22932 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22935 ac_cs_awk_cr
=$ac_cr
22938 echo 'BEGIN {' >"$tmp/subs1.awk" &&
22943 echo "cat >conf$$subs.awk <<_ACEOF" &&
22944 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22946 } >conf$$subs.sh ||
22947 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22948 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22949 { (exit 1); exit 1; }; }
22950 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22952 for ac_last_try in false false false false false :; do
22953 . ./conf$$subs.sh ||
22954 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22955 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22956 { (exit 1); exit 1; }; }
22958 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22959 if test $ac_delim_n = $ac_delim_num; then
22961 elif $ac_last_try; then
22962 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22963 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22964 { (exit 1); exit 1; }; }
22966 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22969 rm -f conf$$subs.sh
22971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22972 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
22976 s/^/S["/; s
/!.
*/"]=/
22986 s/\(.\{148\}\).*/\1/
22988 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22993 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23000 s/\(.\{148\}\).*/\1/
23002 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23006 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23011 ' <conf$$subs.awk | sed '
23016 ' >>$CONFIG_STATUS || ac_write_fail=1
23017 rm -f conf$$subs.awk
23018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23020 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
23021 for (key in S) S_is_set[key] = 1
23027 nfields = split(line, field, "@
")
23029 len = length(field[1])
23030 for (i = 2; i < nfields; i++) {
23032 keylen = length(key)
23033 if (S_is_set[key]) {
23035 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23036 len += length(value) + length(field[++i])
23047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23048 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23049 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23052 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
23053 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
23054 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
23055 { (exit 1); exit 1; }; }
23058 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23059 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
23060 # trailing colons and then remove the whole line if VPATH becomes empty
23061 # (actually we leave an empty line to preserve line numbers).
23062 if test "x
$srcdir" = x.; then
23063 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23064 s/:*\$(srcdir):*/:/
23065 s/:*\${srcdir}:*/:/
23067 s/^\([^=]*=[ ]*\):*/\1/
23073 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23074 fi # test -n "$CONFIG_FILES"
23076 # Set up the scripts for CONFIG_HEADERS section.
23077 # No need to generate them if there are no CONFIG_HEADERS.
23078 # This happens for instance with `./config.status Makefile'.
23079 if test -n "$CONFIG_HEADERS"; then
23080 cat >"$tmp/defines.
awk" <<\_ACAWK ||
23084 # Transform confdefs.h into an awk script `defines.awk', embedded as
23085 # here-document in config.status, that substitutes the proper values into
23086 # config.h.in to produce config.h.
23088 # Create a delimiter string that does not exist in confdefs.h, to ease
23089 # handling of long lines.
23091 for ac_last_try in false false :; do
23092 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
23093 if test -z "$ac_t"; then
23095 elif $ac_last_try; then
23096 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
23097 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
23098 { (exit 1); exit 1; }; }
23100 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23104 # For the awk script, D is an array of macro values keyed by name,
23105 # likewise P contains macro parameters if any. Preserve backslash
23106 # newline sequences.
23108 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23110 s/.\{148\}/&'"$ac_delim"'/g
23113 s/^[ ]*#[ ]*define[ ][ ]*/ /
23120 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23122 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23126 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23127 D["\
1"]=" \
3\\\\\\n
"\\/p
23129 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23134 s/.\{148\}/&'"$ac_delim"'/g
23139 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23142 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23144 ' <confdefs.h | sed '
23145 s/'"$ac_delim"'/"\\\
23146 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23149 for (key in D) D_is_set[key] = 1
23152 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23154 split(line, arg, " ")
23155 if (arg[1] == "#") {
23159 defundef
= substr
(arg
[1], 2)
23162 split(mac1
, mac2
, "(") #)
23164 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23165 if (D_is_set
[macro
]) {
23166 # Preserve the white space surrounding the "#".
23167 print prefix
"define", macro P
[macro
] D
[macro
]
23170 # Replace #undef with comments. This is necessary, for example,
23171 # in the case of _POSIX_SOURCE, which is predefined and required
23172 # on some systems where configure will not decide to define it.
23173 if (defundef
== "undef") {
23174 print
"/*", prefix defundef
, macro
, "*/"
23182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23183 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
23184 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
23185 { (exit 1); exit 1; }; }
23186 fi # test -n "$CONFIG_HEADERS"
23189 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23194 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23196 case $ac_mode$ac_tag in
23198 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
23199 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
23200 { (exit 1); exit 1; }; };;
23201 :[FH
]-) ac_tag
=-:-;;
23202 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23219 -) ac_f
="$tmp/stdin";;
23220 *) # Look for the file first in the build tree, then in the source tree
23221 # (if the path is not absolute). The absolute path cannot be DOS-style,
23222 # because $ac_f cannot contain `:'.
23226 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23228 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23229 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23230 { (exit 1); exit 1; }; };;
23232 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23233 ac_file_inputs
="$ac_file_inputs '$ac_f'"
23236 # Let's still pretend it is `configure' which instantiates (i.e., don't
23237 # use $as_me), people would be surprised to read:
23238 # /* config.h. Generated by config.status. */
23239 configure_input
='Generated from '`
23240 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23242 if test x
"$ac_file" != x-
; then
23243 configure_input
="$ac_file. $configure_input"
23244 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
23245 $as_echo "$as_me: creating $ac_file" >&6;}
23247 # Neutralize special characters interpreted by sed in replacement strings.
23248 case $configure_input in #(
23249 *\
&* |
*\|
* |
*\\* )
23250 ac_sed_conf_input
=`$as_echo "$configure_input" |
23251 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23252 *) ac_sed_conf_input
=$configure_input;;
23256 *:-:* |
*:-) cat >"$tmp/stdin" \
23257 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23258 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23259 { (exit 1); exit 1; }; } ;;
23264 ac_dir
=`$as_dirname -- "$ac_file" ||
23265 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23266 X"$ac_file" : 'X\(//\)[^/]' \| \
23267 X"$ac_file" : 'X\(//\)$' \| \
23268 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23269 $as_echo X"$ac_file" |
23270 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23274 /^X\(\/\/\)[^/].*/{
23289 -*) as_dir
=.
/$as_dir;;
23291 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23295 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23296 *) as_qdir
=$as_dir;;
23298 as_dirs
="'$as_qdir' $as_dirs"
23299 as_dir
=`$as_dirname -- "$as_dir" ||
23300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23301 X"$as_dir" : 'X\(//\)[^/]' \| \
23302 X"$as_dir" : 'X\(//\)$' \| \
23303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23304 $as_echo X"$as_dir" |
23305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23309 /^X\(\/\/\)[^/].*/{
23322 test -d "$as_dir" && break
23324 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23325 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23326 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23327 { (exit 1); exit 1; }; }; }
23331 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23333 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23334 # A ".." for each directory in $ac_dir_suffix.
23335 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23336 case $ac_top_builddir_sub in
23337 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23338 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23341 ac_abs_top_builddir
=$ac_pwd
23342 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23343 # for backward compatibility:
23344 ac_top_builddir
=$ac_top_build_prefix
23347 .
) # We are building in place.
23349 ac_top_srcdir
=$ac_top_builddir_sub
23350 ac_abs_top_srcdir
=$ac_pwd ;;
23351 [\\/]* | ?
:[\\/]* ) # Absolute name.
23352 ac_srcdir
=$srcdir$ac_dir_suffix;
23353 ac_top_srcdir
=$srcdir
23354 ac_abs_top_srcdir
=$srcdir ;;
23355 *) # Relative name.
23356 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23357 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23358 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23360 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23370 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23371 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23373 ac_MKDIR_P
=$MKDIR_P
23375 [\\/$
]* | ?
:[\\/]* ) ;;
23376 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23381 # If the template does not know about datarootdir, expand it.
23382 # FIXME: This hack should be removed a few years after 2.60.
23383 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23396 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23397 *datarootdir
*) ac_datarootdir_seen
=yes;;
23398 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23399 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23400 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23403 ac_datarootdir_hack='
23404 s&@datadir@&$datadir&g
23405 s&@docdir@&$docdir&g
23406 s&@infodir@&$infodir&g
23407 s&@localedir@&$localedir&g
23408 s&@mandir@&$mandir&g
23409 s&\\\${datarootdir}&$datarootdir&g' ;;
23413 # Neutralize VPATH when `$srcdir' = `.'.
23414 # Shell code in configure.ac might set extrasub.
23415 # FIXME: do we really want to maintain this feature?
23416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23417 ac_sed_extra="$ac_vpsub
23420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23422 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23423 s|@configure_input@|
$ac_sed_conf_input|
;t t
23424 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23425 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23426 s
&@srcdir@
&$ac_srcdir&;t t
23427 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23428 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23429 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23430 s
&@builddir@
&$ac_builddir&;t t
23431 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23432 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23433 s
&@INSTALL@
&$ac_INSTALL&;t t
23434 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23435 $ac_datarootdir_hack
23437 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
23438 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
23439 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
23440 { (exit 1); exit 1; }; }
23442 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23443 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23444 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23445 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23446 which seems to be undefined. Please make sure it is defined." >&5
23447 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23448 which seems to be undefined. Please make sure it is defined." >&2;}
23452 -) cat "$tmp/out" && rm -f "$tmp/out";;
23453 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23455 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23456 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23457 { (exit 1); exit 1; }; }
23463 if test x"$ac_file" != x-; then
23465 $as_echo "/* $configure_input */" \
23466 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23467 } >"$tmp/config.h" \
23468 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23469 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23470 { (exit 1); exit 1; }; }
23471 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23472 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23473 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23476 mv "$tmp/config.h" "$ac_file" \
23477 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23478 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23479 { (exit 1); exit 1; }; }
23482 $as_echo "/* $configure_input */" \
23483 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23484 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23485 $as_echo "$as_me: error: could not create -" >&2;}
23486 { (exit 1); exit 1; }; }
23488 # Compute "$ac_file"'s index
in $config_headers.
23491 for _am_header
in $config_headers :; do
23492 case $_am_header in
23493 $_am_arg |
$_am_arg:* )
23496 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23499 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23500 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23501 X"$_am_arg" : 'X\(//\)[^/]' \| \
23502 X"$_am_arg" : 'X\(//\)$' \| \
23503 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23504 $as_echo X"$_am_arg" |
23505 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23509 /^X\(\/\/\)[^/].*/{
23521 s/.*/./; q'`/stamp-h
$_am_stamp_count
23524 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
23525 $as_echo "$as_me: executing $ac_file commands" >&6;}
23530 case $ac_file$ac_mode in
23531 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23532 # Autoconf 2.62 quotes --file arguments for eval, but not when files
23533 # are listed without --file. Let's play safe and only enable the eval
23534 # if we detect the quoting.
23535 case $CONFIG_FILES in
23536 *\'*) eval set x
"$CONFIG_FILES" ;;
23537 *) set x
$CONFIG_FILES ;;
23542 # Strip MF so we end up with the name of the file.
23543 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23544 # Check whether this is an Automake generated Makefile or not.
23545 # We used to match only the files named `Makefile.in', but
23546 # some people rename them; so instead we look at the file content.
23547 # Grep'ing the first line is not enough: some people post-process
23548 # each Makefile.in and add a new line on top of each file to say so.
23549 # Grep'ing the whole file is not good either: AIX grep has a line
23550 # limit of 2048, but all sed's we know have understand at least 4000.
23551 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23552 dirpart
=`$as_dirname -- "$mf" ||
23553 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23554 X"$mf" : 'X\(//\)[^/]' \| \
23555 X"$mf" : 'X\(//\)$' \| \
23556 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23558 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23562 /^X\(\/\/\)[^/].*/{
23578 # Extract the definition of DEPDIR, am__include, and am__quote
23579 # from the Makefile without running `make'.
23580 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23581 test -z "$DEPDIR" && continue
23582 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23583 test -z "am__include" && continue
23584 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23585 # When using ansi2knr, U may be empty or an underscore; expand it
23586 U
=`sed -n 's/^U = //p' < "$mf"`
23587 # Find all dependency output files, they are included files with
23588 # $(DEPDIR) in their names. We invoke sed twice because it is the
23589 # simplest approach to changing $(DEPDIR) to its actual value in the
23591 for file in `sed -n "
23592 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23593 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23594 # Make sure the directory exists.
23595 test -f "$dirpart/$file" && continue
23596 fdir
=`$as_dirname -- "$file" ||
23597 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23598 X"$file" : 'X\(//\)[^/]' \| \
23599 X"$file" : 'X\(//\)$' \| \
23600 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23601 $as_echo X"$file" |
23602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23606 /^X\(\/\/\)[^/].*/{
23619 { as_dir
=$dirpart/$fdir
23621 -*) as_dir
=.
/$as_dir;;
23623 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23627 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23628 *) as_qdir
=$as_dir;;
23630 as_dirs
="'$as_qdir' $as_dirs"
23631 as_dir
=`$as_dirname -- "$as_dir" ||
23632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23633 X"$as_dir" : 'X\(//\)[^/]' \| \
23634 X"$as_dir" : 'X\(//\)$' \| \
23635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23636 $as_echo X"$as_dir" |
23637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23641 /^X\(\/\/\)[^/].*/{
23654 test -d "$as_dir" && break
23656 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23657 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23658 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23659 { (exit 1); exit 1; }; }; }
23660 # echo "creating $dirpart/$file"
23661 echo '# dummy' > "$dirpart/$file"
23668 # See if we are running on zsh, and set the options which allow our
23669 # commands through without removal of \ escapes.
23670 if test -n "${ZSH_VERSION+set}" ; then
23671 setopt NO_GLOB_SUBST
23674 cfgfile
="${ofile}T"
23675 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23678 cat <<_LT_EOF >> "$cfgfile"
23681 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23682 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23683 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23684 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23686 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23687 # 2006, 2007, 2008 Free Software Foundation, Inc.
23688 # Written by Gordon Matzigkeit, 1996
23690 # This file is part of GNU Libtool.
23692 # GNU Libtool is free software; you can redistribute it and/or
23693 # modify it under the terms of the GNU General Public License as
23694 # published by the Free Software Foundation; either version 2 of
23695 # the License, or (at your option) any later version.
23697 # As a special exception to the GNU General Public License,
23698 # if you distribute this file as part of a program or library that
23699 # is built using GNU Libtool, you may include this file under the
23700 # same distribution terms that you use for the rest of that program.
23702 # GNU Libtool is distributed in the hope that it will be useful,
23703 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23704 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23705 # GNU General Public License for more details.
23707 # You should have received a copy of the GNU General Public License
23708 # along with GNU Libtool; see the file COPYING. If not, a copy
23709 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23710 # obtained by writing to the Free Software Foundation, Inc.,
23711 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23714 # The names of the tagged configurations supported by this script.
23717 # ### BEGIN LIBTOOL CONFIG
23719 # Assembler program.
23722 # DLL creation program.
23725 # Object dumper program.
23728 # Which release of libtool.m4 was used?
23729 macro_version=$macro_version
23730 macro_revision=$macro_revision
23732 # Whether or not to build shared libraries.
23733 build_libtool_libs=$enable_shared
23735 # Whether or not to build static libraries.
23736 build_old_libs=$enable_static
23738 # What type of objects to build.
23741 # Whether or not to optimize for fast installation.
23742 fast_install=$enable_fast_install
23745 host_alias=$host_alias
23749 # The build system.
23750 build_alias=$build_alias
23754 # A sed program that does not truncate output.
23757 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23758 Xsed="\$SED -e 1s/^X//"
23760 # A grep program that handles long lines.
23766 # A literal string matcher.
23769 # A BSD- or MS-compatible name lister.
23772 # Whether we need soft or hard links.
23775 # What is the maximum length of a command?
23776 max_cmd_len=$max_cmd_len
23778 # Object file suffix (normally "o").
23781 # Executable file suffix (normally "").
23784 # whether the shell understands "unset".
23787 # turn spaces into newlines.
23790 # turn newlines into spaces.
23793 # How to create reloadable object files.
23794 reload_flag=$lt_reload_flag
23795 reload_cmds=$lt_reload_cmds
23797 # Method to check whether dependent libraries are shared objects.
23798 deplibs_check_method=$lt_deplibs_check_method
23800 # Command to use when deplibs_check_method == "file_magic".
23801 file_magic_cmd=$lt_file_magic_cmd
23805 AR_FLAGS=$lt_AR_FLAGS
23807 # A symbol stripping program.
23810 # Commands used to install an old-style archive.
23812 old_postinstall_cmds=$lt_old_postinstall_cmds
23813 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23818 # LTCC compiler flags.
23819 LTCFLAGS=$lt_CFLAGS
23821 # Take the output of nm and produce a listing of raw symbols and C names.
23822 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23824 # Transform the output of nm in a proper C declaration.
23825 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23827 # Transform the output of nm in a C name address pair.
23828 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23830 # Transform the output of nm in a C name address pair when lib prefix is needed.
23831 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23833 # The name of the directory that contains temporary libtool files.
23836 # Shell to use when invoking shell scripts.
23839 # An echo program that does not interpret backslashes.
23842 # Used to examine libraries when file_magic_cmd begins with "file".
23843 MAGIC_CMD=$MAGIC_CMD
23845 # Must we lock files when doing compilation?
23846 need_locks=$lt_need_locks
23848 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23849 DSYMUTIL=$lt_DSYMUTIL
23851 # Tool to change global to local symbols on Mac OS X.
23854 # Tool to manipulate fat objects and archives on Mac OS X.
23857 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23860 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23861 OTOOL64=$lt_OTOOL64
23863 # Old archive suffix (normally "a").
23866 # Shared library suffix (normally ".so").
23867 shrext_cmds=$lt_shrext_cmds
23869 # The commands to extract the exported symbol list from a shared archive.
23870 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23872 # Variables whose values should be saved in libtool wrapper scripts and
23873 # restored at link time.
23874 variables_saved_for_relink=$lt_variables_saved_for_relink
23876 # Do we need the "lib" prefix for modules?
23877 need_lib_prefix=$need_lib_prefix
23879 # Do we need a version for libraries?
23880 need_version=$need_version
23882 # Library versioning type.
23883 version_type=$version_type
23885 # Shared library runtime path variable.
23886 runpath_var=$runpath_var
23888 # Shared library path variable.
23889 shlibpath_var=$shlibpath_var
23891 # Is shlibpath searched before the hard-coded library search path?
23892 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23894 # Format of library name prefix.
23895 libname_spec=$lt_libname_spec
23897 # List of archive names. First name is the real one, the rest are links.
23898 # The last name is the one that the linker finds with -lNAME
23899 library_names_spec=$lt_library_names_spec
23901 # The coded name of the library, if different from the real name.
23902 soname_spec=$lt_soname_spec
23904 # Command to use after installation of a shared archive.
23905 postinstall_cmds=$lt_postinstall_cmds
23907 # Command to use after uninstallation of a shared archive.
23908 postuninstall_cmds=$lt_postuninstall_cmds
23910 # Commands used to finish a libtool library installation in a directory.
23911 finish_cmds=$lt_finish_cmds
23913 # As "finish_cmds", except a single script fragment to be evaled but
23915 finish_eval=$lt_finish_eval
23917 # Whether we should hardcode library paths into libraries.
23918 hardcode_into_libs=$hardcode_into_libs
23920 # Compile-time system search path for libraries.
23921 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23923 # Run-time system search path for libraries.
23924 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23926 # Whether dlopen is supported.
23927 dlopen_support=$enable_dlopen
23929 # Whether dlopen of programs is supported.
23930 dlopen_self=$enable_dlopen_self
23932 # Whether dlopen of statically linked programs is supported.
23933 dlopen_self_static=$enable_dlopen_self_static
23935 # Commands to strip libraries.
23936 old_striplib=$lt_old_striplib
23937 striplib=$lt_striplib
23940 # The linker used to build libraries.
23943 # Commands used to build an old-style archive.
23944 old_archive_cmds=$lt_old_archive_cmds
23946 # A language specific compiler.
23949 # Is the compiler the GNU compiler?
23952 # Compiler flag to turn off builtin functions.
23953 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23955 # How to pass a linker flag through the compiler.
23956 wl=$lt_lt_prog_compiler_wl
23958 # Additional compiler flags for building library objects.
23959 pic_flag=$lt_lt_prog_compiler_pic
23961 # Compiler flag to prevent dynamic linking.
23962 link_static_flag=$lt_lt_prog_compiler_static
23964 # Does compiler simultaneously support -c and -o options?
23965 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23967 # Whether or not to add -lc for building shared libraries.
23968 build_libtool_need_lc=$archive_cmds_need_lc
23970 # Whether or not to disallow shared libs when runtime libs are static.
23971 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23973 # Compiler flag to allow reflexive dlopens.
23974 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23976 # Compiler flag to generate shared objects directly from archives.
23977 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23979 # Whether the compiler copes with passing no objects directly.
23980 compiler_needs_object=$lt_compiler_needs_object
23982 # Create an old-style archive from a shared archive.
23983 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23985 # Create a temporary old-style archive to link instead of a shared archive.
23986 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23988 # Commands used to build a shared archive.
23989 archive_cmds=$lt_archive_cmds
23990 archive_expsym_cmds=$lt_archive_expsym_cmds
23992 # Commands used to build a loadable module if different from building
23993 # a shared archive.
23994 module_cmds=$lt_module_cmds
23995 module_expsym_cmds=$lt_module_expsym_cmds
23997 # Whether we are building with GNU ld or not.
23998 with_gnu_ld=$lt_with_gnu_ld
24000 # Flag that allows shared libraries with undefined symbols to be built.
24001 allow_undefined_flag=$lt_allow_undefined_flag
24003 # Flag that enforces no undefined symbols.
24004 no_undefined_flag=$lt_no_undefined_flag
24006 # Flag to hardcode \$libdir into a binary during linking.
24007 # This must work even if \$libdir does not exist
24008 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24010 # If ld is used when linking, flag to hardcode \$libdir into a binary
24011 # during linking. This must work even if \$libdir does not exist.
24012 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
24014 # Whether we need a single "-rpath" flag with a separated argument.
24015 hardcode_libdir_separator=$lt_hardcode_libdir_separator
24017 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24018 # DIR into the resulting binary.
24019 hardcode_direct=$hardcode_direct
24021 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24022 # DIR into the resulting binary and the resulting library dependency is
24023 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24024 # library is relocated.
24025 hardcode_direct_absolute=$hardcode_direct_absolute
24027 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24028 # into the resulting binary.
24029 hardcode_minus_L=$hardcode_minus_L
24031 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24032 # into the resulting binary.
24033 hardcode_shlibpath_var=$hardcode_shlibpath_var
24035 # Set to "yes" if building a shared library automatically hardcodes DIR
24036 # into the library and all subsequent libraries and executables linked
24038 hardcode_automatic=$hardcode_automatic
24040 # Set to yes if linker adds runtime paths of dependent libraries
24041 # to runtime path list.
24042 inherit_rpath=$inherit_rpath
24044 # Whether libtool must link a program against all its dependency libraries.
24045 link_all_deplibs=$link_all_deplibs
24047 # Fix the shell variable \$srcfile for the compiler.
24048 fix_srcfile_path=$lt_fix_srcfile_path
24050 # Set to "yes" if exported symbols are required.
24051 always_export_symbols=$always_export_symbols
24053 # The commands to list exported symbols.
24054 export_symbols_cmds=$lt_export_symbols_cmds
24056 # Symbols that should not be listed in the preloaded symbols.
24057 exclude_expsyms=$lt_exclude_expsyms
24059 # Symbols that must always be exported.
24060 include_expsyms=$lt_include_expsyms
24062 # Commands necessary for linking programs (against libraries) with templates.
24063 prelink_cmds=$lt_prelink_cmds
24065 # Specify filename containing input files.
24066 file_list_spec=$lt_file_list_spec
24068 # How to hardcode a shared library path into an executable.
24069 hardcode_action=$hardcode_action
24071 # ### END LIBTOOL CONFIG
24077 cat <<\_LT_EOF
>> "$cfgfile"
24078 # AIX sometimes has problems with the GCC collect2 program. For some
24079 # reason, if we set the COLLECT_NAMES environment variable, the problems
24080 # vanish in a puff of smoke.
24081 if test "X${COLLECT_NAMES+set}" != Xset
; then
24083 export COLLECT_NAMES
24090 ltmain
="$ac_aux_dir/ltmain.sh"
24093 # We use sed instead of cat because bash on DJGPP gets confused if
24094 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24095 # text mode, it properly converts lines to CR/LF. This bash problem
24096 # is reportedly fixed, but why not run on old versions too?
24097 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
24098 ||
(rm -f "$cfgfile"; exit 1)
24102 cat << \_LT_EOF
>> "$cfgfile"
24104 # func_dirname file append nondir_replacement
24105 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24106 # otherwise set result to NONDIR_REPLACEMENT.
24110 */*) func_dirname_result
="${1%/*}${2}" ;;
24111 * ) func_dirname_result
="${3}" ;;
24115 # func_basename file
24118 func_basename_result
="${1##*/}"
24121 # func_dirname_and_basename file append nondir_replacement
24122 # perform func_basename and func_dirname in a single function
24124 # dirname: Compute the dirname of FILE. If nonempty,
24125 # add APPEND to the result, otherwise set result
24126 # to NONDIR_REPLACEMENT.
24127 # value returned in "$func_dirname_result"
24128 # basename: Compute filename of FILE.
24129 # value retuned in "$func_basename_result"
24130 # Implementation must be kept synchronized with func_dirname
24131 # and func_basename. For efficiency, we do not delegate to
24132 # those functions but instead duplicate the functionality here.
24133 func_dirname_and_basename
()
24136 */*) func_dirname_result
="${1%/*}${2}" ;;
24137 * ) func_dirname_result
="${3}" ;;
24139 func_basename_result
="${1##*/}"
24142 # func_stripname prefix suffix name
24143 # strip PREFIX and SUFFIX off of NAME.
24144 # PREFIX and SUFFIX must not contain globbing or regex special
24145 # characters, hashes, percent signs, but SUFFIX may contain a leading
24146 # dot (in which case that matches only a dot).
24149 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
24150 # positional parameters, so assign one to ordinary parameter first.
24151 func_stripname_result
=${3}
24152 func_stripname_result
=${func_stripname_result#"${1}"}
24153 func_stripname_result
=${func_stripname_result%"${2}"}
24159 func_opt_split_opt
=${1%%=*}
24160 func_opt_split_arg
=${1#*=}
24167 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
24168 *) func_lo2o_result
=${1} ;;
24172 # func_xform libobj-or-source
24175 func_xform_result
=${1%.*}.lo
24178 # func_arith arithmetic-term...
24181 func_arith_result
=$
(( $
* ))
24185 # STRING may not start with a hyphen.
24188 func_len_result
=${#1}
24193 *) # Bourne compatible functions.
24194 cat << \_LT_EOF
>> "$cfgfile"
24196 # func_dirname file append nondir_replacement
24197 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
24198 # otherwise set result to NONDIR_REPLACEMENT.
24201 # Extract subdirectory from the argument.
24202 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
24203 if test "X$func_dirname_result" = "X${1}"; then
24204 func_dirname_result
="${3}"
24206 func_dirname_result
="$func_dirname_result${2}"
24210 # func_basename file
24213 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
24217 # func_stripname prefix suffix name
24218 # strip PREFIX and SUFFIX off of NAME.
24219 # PREFIX and SUFFIX must not contain globbing or regex special
24220 # characters, hashes, percent signs, but SUFFIX may contain a leading
24221 # dot (in which case that matches only a dot).
24222 # func_strip_suffix prefix name
24226 .
*) func_stripname_result
=`$ECHO "X${3}" \
24227 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
24228 *) func_stripname_result
=`$ECHO "X${3}" \
24229 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
24234 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
24235 my_sed_long_arg
='1s/^-[^=]*=//'
24240 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
24241 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
24247 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
24250 # func_xform libobj-or-source
24253 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
24256 # func_arith arithmetic-term...
24259 func_arith_result
=`expr "$@"`
24263 # STRING may not start with a hyphen.
24266 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
24272 case $lt_shell_append in
24274 cat << \_LT_EOF
>> "$cfgfile"
24276 # func_append var value
24277 # Append VALUE to the end of shell variable VAR.
24285 cat << \_LT_EOF
>> "$cfgfile"
24287 # func_append var value
24288 # Append VALUE to the end of shell variable VAR.
24299 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
24300 ||
(rm -f "$cfgfile"; exit 1)
24302 mv -f "$cfgfile" "$ofile" ||
24303 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24312 { (exit 0); exit 0; }
24314 chmod +x
$CONFIG_STATUS
24315 ac_clean_files
=$ac_clean_files_save
24317 test $ac_write_fail = 0 ||
24318 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
24319 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
24320 { (exit 1); exit 1; }; }
24323 # configure is writing to config.log, and then calls config.status.
24324 # config.status does its own redirection, appending to config.log.
24325 # Unfortunately, on DOS this fails, as config.log is still kept open
24326 # by configure, so config.status won't be able to write to it; its
24327 # output is simply discarded. So we exec the FD to /dev/null,
24328 # effectively closing config.log, so it can be properly (re)opened and
24329 # appended to by config.status. When coming back to configure, we
24330 # need to make the FD available again.
24331 if test "$no_create" != yes; then
24333 ac_config_status_args
=
24334 test "$silent" = yes &&
24335 ac_config_status_args
="$ac_config_status_args --quiet"
24337 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24339 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24340 # would make configure fail if this is the last instruction.
24341 $ac_cs_success ||
{ (exit 1); exit 1; }
24343 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24344 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24345 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24349 chmod +x xml2-config python
/setup.py
24350 echo Done configuring