2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status=$1; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
706 ac_unique_file="entities.c"
707 # Factoring default headers for most tests.
708 ac_includes_default="\
710 #ifdef HAVE_SYS_TYPES_H
711 # include <sys/types.h>
713 #ifdef HAVE_SYS_STAT_H
714 # include <sys/stat.h>
720 # ifdef HAVE_STDLIB_H
725 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730 #ifdef HAVE_STRINGS_H
731 # include <strings.h>
733 #ifdef HAVE_INTTYPES_H
734 # include <inttypes.h>
743 ac_subst_vars='am__EXEEXT_FALSE
762 CYGWIN_EXTRA_PYTHON_LIBADD
764 WIN32_EXTRA_PYTHON_LIBADD
828 WITH_TRIO_SOURCES_FALSE
829 WITH_TRIO_SOURCES_TRUE
847 USE_VERSION_SCRIPT_FALSE
848 USE_VERSION_SCRIPT_TRUE
851 MAINTAINER_MODE_FALSE
908 INSTALL_STRIP_PROGRAM
924 LIBXML_VERSION_NUMBER
965 program_transform_name
978 enable_option_checking
979 enable_dependency_tracking
986 enable_maintainer_mode
1029 ac_precious_vars='build_alias
1040 # Initialize some variables set by options.
1042 ac_init_version=false
1043 ac_unrecognized_opts=
1044 ac_unrecognized_sep=
1045 # The variables have the same names as the options, with
1046 # dashes changed to underlines.
1047 cache_file=/dev/null
1054 program_transform_name=s,x,x,
1062 # Installation directory options.
1063 # These are left unexpanded so users can "make install exec_prefix=/foo"
1064 # and all the variables that are supposed to be based on exec_prefix
1065 # by default will actually change.
1066 # Use braces instead of parens because sh, perl, etc. also accept them.
1067 # (The list follows the same order as the GNU Coding Standards.)
1068 bindir='${exec_prefix}/bin'
1069 sbindir='${exec_prefix}/sbin'
1070 libexecdir='${exec_prefix}/libexec'
1071 datarootdir='${prefix}/share'
1072 datadir='${datarootdir}'
1073 sysconfdir='${prefix}/etc'
1074 sharedstatedir='${prefix}/com'
1075 localstatedir='${prefix}/var'
1076 includedir='${prefix}/include'
1077 oldincludedir='/usr/include'
1078 docdir='${datarootdir}/doc/${PACKAGE}'
1079 infodir='${datarootdir}/info'
1084 libdir='${exec_prefix}/lib'
1085 localedir='${datarootdir}/locale'
1086 mandir='${datarootdir}/man'
1092 # If the previous option needs an argument, assign it.
1093 if test -n "$ac_prev"; then
1094 eval $ac_prev=\$ac_option
1100 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1105 # Accept the important Cygnus configure options, so we can diagnose typos.
1107 case $ac_dashdash$ac_option in
1111 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1113 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1114 bindir=$ac_optarg ;;
1116 -build | --build | --buil | --bui | --bu)
1117 ac_prev=build_alias ;;
1118 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1119 build_alias=$ac_optarg ;;
1121 -cache-file | --cache-file | --cache-fil | --cache-fi \
1122 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1123 ac_prev=cache_file ;;
1124 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1125 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1126 cache_file=$ac_optarg ;;
1128 --config-cache | -C)
1129 cache_file=config.cache ;;
1131 -datadir | --datadir | --datadi | --datad)
1133 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1134 datadir=$ac_optarg ;;
1136 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1137 | --dataroo | --dataro | --datar)
1138 ac_prev=datarootdir ;;
1139 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1140 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1141 datarootdir=$ac_optarg ;;
1143 -disable-* | --disable-*)
1144 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1147 as_fn_error $? "invalid feature name: $ac_useropt"
1148 ac_useropt_orig=$ac_useropt
1149 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1150 case $ac_user_opts in
1152 "enable_$ac_useropt"
1154 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1155 ac_unrecognized_sep=', ';;
1157 eval enable_$ac_useropt=no ;;
1159 -docdir | --docdir | --docdi | --doc | --do)
1161 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1162 docdir=$ac_optarg ;;
1164 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1167 dvidir=$ac_optarg ;;
1169 -enable-* | --enable-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid feature name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1178 "enable_$ac_useropt"
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1183 eval enable_$ac_useropt=\$ac_optarg ;;
1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1187 | --exec | --exe | --ex)
1188 ac_prev=exec_prefix ;;
1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1191 | --exec=* | --exe=* | --ex=*)
1192 exec_prefix=$ac_optarg ;;
1194 -gas | --gas | --ga | --g)
1195 # Obsolete; use --with-gas.
1198 -help | --help | --hel | --he | -h)
1199 ac_init_help=long ;;
1200 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1201 ac_init_help=recursive ;;
1202 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1203 ac_init_help=short ;;
1205 -host | --host | --hos | --ho)
1206 ac_prev=host_alias ;;
1207 -host=* | --host=* | --hos=* | --ho=*)
1208 host_alias=$ac_optarg ;;
1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1214 htmldir=$ac_optarg ;;
1216 -includedir | --includedir | --includedi | --included | --include \
1217 | --includ | --inclu | --incl | --inc)
1218 ac_prev=includedir ;;
1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1220 | --includ=* | --inclu=* | --incl=* | --inc=*)
1221 includedir=$ac_optarg ;;
1223 -infodir | --infodir | --infodi | --infod | --info | --inf)
1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1226 infodir=$ac_optarg ;;
1228 -libdir | --libdir | --libdi | --libd)
1230 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1231 libdir=$ac_optarg ;;
1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1234 | --libexe | --libex | --libe)
1235 ac_prev=libexecdir ;;
1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1237 | --libexe=* | --libex=* | --libe=*)
1238 libexecdir=$ac_optarg ;;
1240 -localedir | --localedir | --localedi | --localed | --locale)
1241 ac_prev=localedir ;;
1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1243 localedir=$ac_optarg ;;
1245 -localstatedir | --localstatedir | --localstatedi | --localstated \
1246 | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev=localstatedir ;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1250 localstatedir=$ac_optarg ;;
1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1255 mandir=$ac_optarg ;;
1257 -nfp | --nfp | --nf)
1258 # Obsolete; use --without-fp.
1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1262 | --no-cr | --no-c | -n)
1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1271 | --oldin | --oldi | --old | --ol | --o)
1272 ac_prev=oldincludedir ;;
1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1276 oldincludedir=$ac_optarg ;;
1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1281 prefix=$ac_optarg ;;
1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1284 | --program-pre | --program-pr | --program-p)
1285 ac_prev=program_prefix ;;
1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1288 program_prefix=$ac_optarg ;;
1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1291 | --program-suf | --program-su | --program-s)
1292 ac_prev=program_suffix ;;
1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1295 program_suffix=$ac_optarg ;;
1297 -program-transform-name | --program-transform-name \
1298 | --program-transform-nam | --program-transform-na \
1299 | --program-transform-n | --program-transform- \
1300 | --program-transform | --program-transfor \
1301 | --program-transfo | --program-transf \
1302 | --program-trans | --program-tran \
1303 | --progr-tra | --program-tr | --program-t)
1304 ac_prev=program_transform_name ;;
1305 -program-transform-name=* | --program-transform-name=* \
1306 | --program-transform-nam=* | --program-transform-na=* \
1307 | --program-transform-n=* | --program-transform-=* \
1308 | --program-transform=* | --program-transfor=* \
1309 | --program-transfo=* | --program-transf=* \
1310 | --program-trans=* | --program-tran=* \
1311 | --progr-tra=* | --program-tr=* | --program-t=*)
1312 program_transform_name=$ac_optarg ;;
1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1317 pdfdir=$ac_optarg ;;
1319 -psdir | --psdir | --psdi | --psd | --ps)
1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1325 | -silent | --silent | --silen | --sile | --sil)
1328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1332 sbindir=$ac_optarg ;;
1334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1336 | --sharedst | --shareds | --shared | --share | --shar \
1338 ac_prev=sharedstatedir ;;
1339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1343 sharedstatedir=$ac_optarg ;;
1345 -site | --site | --sit)
1347 -site=* | --site=* | --sit=*)
1350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1353 srcdir=$ac_optarg ;;
1355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1356 | --syscon | --sysco | --sysc | --sys | --sy)
1357 ac_prev=sysconfdir ;;
1358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1360 sysconfdir=$ac_optarg ;;
1362 -target | --target | --targe | --targ | --tar | --ta | --t)
1363 ac_prev=target_alias ;;
1364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1365 target_alias=$ac_optarg ;;
1367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 -version | --version | --versio | --versi | --vers | -V)
1371 ac_init_version=: ;;
1374 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1377 as_fn_error $? "invalid package name: $ac_useropt"
1378 ac_useropt_orig=$ac_useropt
1379 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1380 case $ac_user_opts in
1384 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1385 ac_unrecognized_sep=', ';;
1387 eval with_$ac_useropt=\$ac_optarg ;;
1389 -without-* | --without-*)
1390 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1391 # Reject names that are not valid shell variable names.
1392 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1393 as_fn_error $? "invalid package name: $ac_useropt"
1394 ac_useropt_orig=$ac_useropt
1395 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1396 case $ac_user_opts in
1400 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1401 ac_unrecognized_sep=', ';;
1403 eval with_$ac_useropt=no ;;
1406 # Obsolete; use --with-x.
1409 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1410 | --x-incl | --x-inc | --x-in | --x-i)
1411 ac_prev=x_includes ;;
1412 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1413 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1414 x_includes=$ac_optarg ;;
1416 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1417 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1418 ac_prev=x_libraries ;;
1419 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1420 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1421 x_libraries=$ac_optarg ;;
1423 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1424 Try \`$0 --help' for more information"
1428 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1429 # Reject names that are not valid shell variable names.
1430 case $ac_envvar in #(
1431 '' | [0-9]* | *[!_$as_cr_alnum]* )
1432 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1434 eval $ac_envvar=\$ac_optarg
1435 export $ac_envvar ;;
1438 # FIXME: should be removed in autoconf 3.0.
1439 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1440 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1441 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1442 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1448 if test -n "$ac_prev"; then
1449 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1450 as_fn_error $? "missing argument to $ac_option"
1453 if test -n "$ac_unrecognized_opts"; then
1454 case $enable_option_checking in
1456 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1457 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1461 # Check all directory arguments for consistency.
1462 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1463 datadir sysconfdir sharedstatedir localstatedir includedir \
1464 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1465 libdir localedir mandir
1467 eval ac_val=\$$ac_var
1468 # Remove trailing slashes.
1471 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1472 eval $ac_var=\$ac_val;;
1474 # Be sure to have absolute directory names.
1476 [\\/$]* | ?:[\\/]* ) continue;;
1477 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1479 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1482 # There might be people who depend on the old broken behavior: `$host'
1483 # used to hold the argument of --host etc.
1484 # FIXME: To remove some day.
1487 target=$target_alias
1489 # FIXME: To remove some day.
1490 if test "x$host_alias" != x; then
1491 if test "x$build_alias" = x; then
1492 cross_compiling=maybe
1493 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1494 If a cross compiler is detected then cross compile mode will be used" >&2
1495 elif test "x$build_alias" != "x$host_alias"; then
1501 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1503 test "$silent" = yes && exec 6>/dev/null
1506 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1507 ac_ls_di=`ls -di .` &&
1508 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1509 as_fn_error $? "working directory cannot be determined"
1510 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1511 as_fn_error $? "pwd does not report name of working directory"
1514 # Find the source files, if location was not specified.
1515 if test -z "$srcdir"; then
1516 ac_srcdir_defaulted=yes
1517 # Try the directory containing this script, then the parent directory.
1518 ac_confdir=`$as_dirname -- "$as_myself" ||
1519 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1520 X"$as_myself" : 'X\(//\)[^/]' \| \
1521 X"$as_myself" : 'X\(//\)$' \| \
1522 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1523 $as_echo X"$as_myself" |
1524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1542 if test ! -r "$srcdir/$ac_unique_file"; then
1546 ac_srcdir_defaulted=no
1548 if test ! -r "$srcdir/$ac_unique_file"; then
1549 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1550 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1552 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1554 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1556 # When building in place, set srcdir=.
1557 if test "$ac_abs_confdir" = "$ac_pwd"; then
1560 # Remove unnecessary trailing slashes from srcdir.
1561 # Double slashes in file names in object file debugging info
1562 # mess up M-x gdb in Emacs.
1564 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1566 for ac_var in $ac_precious_vars; do
1567 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1568 eval ac_env_${ac_var}_value=\$${ac_var}
1569 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1570 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1574 # Report the --help message.
1576 if test "$ac_init_help" = "long"; then
1577 # Omit some internal or obsolete options to make the list less imposing.
1578 # This message is too long to be a string in the A/UX 3.1 sh.
1580 \`configure' configures this package to adapt to many kinds of systems.
1582 Usage: $0 [OPTION]... [VAR=VALUE]...
1584 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1585 VAR=VALUE. See below for descriptions of some of the useful variables.
1587 Defaults for the options are specified in brackets.
1590 -h, --help display this help and exit
1591 --help=short display options specific to this package
1592 --help=recursive display the short help of all the included packages
1593 -V, --version display version information and exit
1594 -q, --quiet, --silent do not print \`checking ...' messages
1595 --cache-file=FILE cache test results in FILE [disabled]
1596 -C, --config-cache alias for \`--cache-file=config.cache'
1597 -n, --no-create do not create output files
1598 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1600 Installation directories:
1601 --prefix=PREFIX install architecture-independent files in PREFIX
1602 [$ac_default_prefix]
1603 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1606 By default, \`make install' will install all the files in
1607 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1608 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1609 for instance \`--prefix=\$HOME'.
1611 For better control, use the options below.
1613 Fine tuning of the installation directories:
1614 --bindir=DIR user executables [EPREFIX/bin]
1615 --sbindir=DIR system admin executables [EPREFIX/sbin]
1616 --libexecdir=DIR program executables [EPREFIX/libexec]
1617 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1618 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1619 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1620 --libdir=DIR object code libraries [EPREFIX/lib]
1621 --includedir=DIR C header files [PREFIX/include]
1622 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1623 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1624 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1625 --infodir=DIR info documentation [DATAROOTDIR/info]
1626 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1627 --mandir=DIR man documentation [DATAROOTDIR/man]
1628 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1629 --htmldir=DIR html documentation [DOCDIR]
1630 --dvidir=DIR dvi documentation [DOCDIR]
1631 --pdfdir=DIR pdf documentation [DOCDIR]
1632 --psdir=DIR ps documentation [DOCDIR]
1638 --program-prefix=PREFIX prepend PREFIX to installed program names
1639 --program-suffix=SUFFIX append SUFFIX to installed program names
1640 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1643 --build=BUILD configure for building on BUILD [guessed]
1644 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1648 if test -n "$ac_init_help"; then
1653 --disable-option-checking ignore unrecognized --enable/--with options
1654 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1655 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1656 --disable-dependency-tracking speeds up one-time build
1657 --enable-dependency-tracking do not reject slow dependency extractors
1658 --enable-shared[=PKGS] build shared libraries [default=yes]
1659 --enable-static[=PKGS] build static libraries [default=yes]
1660 --enable-fast-install[=PKGS]
1661 optimize for fast installation [default=yes]
1662 --disable-libtool-lock avoid locking (might break parallel builds)
1663 --enable-maintainer-mode enable make rules and dependencies not useful
1664 (and sometimes confusing) to the casual installer
1665 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=yes]
1666 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
1669 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1670 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1671 --with-pic try to use only PIC/non-PIC objects [default=use
1673 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1674 --with-c14n add the Canonicalization support (on)
1675 --with-catalog add the Catalog support (on)
1676 --with-debug add the debugging module (on)
1677 --with-docbook add Docbook SGML support (on)
1678 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
1679 --with-ftp add the FTP support (on)
1680 --with-history add history support to xmllint shell(off)
1681 --with-html add the HTML support (on)
1682 --with-html-dir=path path to base html directory, default
1684 --with-html-subdir=path directory used under html-dir, default
1685 $PACKAGE-$VERSION/html
1686 --with-http add the HTTP support (on)
1687 --with-iconv[=DIR] add ICONV support (on)
1688 --with-icu add ICU support (off)
1689 --with-iso8859x add ISO8859X support if no iconv (on)
1690 --with-legacy add deprecated APIs for compatibility (on)
1691 --with-mem-debug add the memory debugging module (off)
1692 --with-minimum build a minimally sized library (off)
1693 --with-output add the serialization support (on)
1694 --with-pattern add the xmlPattern selection interface (on)
1695 --with-push add the PUSH parser interfaces (on)
1696 --with-python[=DIR] build Python bindings if found
1697 --with-reader add the xmlReader parsing interface (on)
1698 --with-readline=DIR use readline in DIR
1699 --with-regexps add Regular Expressions support (on)
1700 --with-run-debug add the runtime debugging module (off)
1701 --with-sax1 add the older SAX1 interface (on)
1702 --with-schemas add Relax-NG and Schemas support (on)
1703 --with-schematron add Schematron support (on)
1704 --with-threads add multithread support(on)
1705 --with-thread-alloc add per-thread memory(off)
1706 --with-tree add the DOM like tree manipulation APIs (on)
1707 --with-valid add the DTD validation support (on)
1708 --with-writer add the xmlWriter saving interface (on)
1709 --with-xinclude add the XInclude support (on)
1710 --with-xpath add the XPATH support (on)
1711 --with-xptr add the XPointer support (on)
1712 --with-modules add the dynamic modules support (on)
1713 --with-zlib[=DIR] use libz in DIR
1714 --with-coverage build for code coverage with GCC (off)
1716 Some influential environment variables:
1717 CC C compiler command
1718 CFLAGS C compiler flags
1719 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1720 nonstandard directory <lib dir>
1721 LIBS libraries to pass to the linker, e.g. -l<library>
1722 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1723 you have headers in a nonstandard directory <include dir>
1726 Use these variables to override the choices made by `configure' or to help
1727 it to find libraries and programs with nonstandard names/locations.
1729 Report bugs to the package provider.
1734 if test "$ac_init_help" = "recursive"; then
1735 # If there are subdirs, report their specific --help.
1736 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1737 test -d "$ac_dir" ||
1738 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1746 # A ".." for each directory in $ac_dir_suffix.
1747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1748 case $ac_top_builddir_sub in
1749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1753 ac_abs_top_builddir=$ac_pwd
1754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1755 # for backward compatibility:
1756 ac_top_builddir=$ac_top_build_prefix
1759 .) # We are building in place.
1761 ac_top_srcdir=$ac_top_builddir_sub
1762 ac_abs_top_srcdir=$ac_pwd ;;
1763 [\\/]* | ?:[\\/]* ) # Absolute name.
1764 ac_srcdir=$srcdir$ac_dir_suffix;
1765 ac_top_srcdir=$srcdir
1766 ac_abs_top_srcdir=$srcdir ;;
1768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1769 ac_top_srcdir=$ac_top_build_prefix$srcdir
1770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1774 cd "$ac_dir" || { ac_status=$?; continue; }
1775 # Check for guested configure.
1776 if test -f "$ac_srcdir/configure.gnu"; then
1778 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1779 elif test -f "$ac_srcdir/configure"; then
1781 $SHELL "$ac_srcdir/configure" --help=recursive
1783 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1785 cd "$ac_pwd" || { ac_status=$?; break; }
1789 test -n "$ac_init_help" && exit $ac_status
1790 if $ac_init_version; then
1793 generated by GNU Autoconf 2.67
1795 Copyright (C) 2010 Free Software Foundation, Inc.
1796 This configure script is free software; the Free Software Foundation
1797 gives unlimited permission to copy, distribute and modify it.
1802 ## ------------------------ ##
1803 ## Autoconf initialization. ##
1804 ## ------------------------ ##
1806 # ac_fn_c_try_compile LINENO
1807 # --------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_c_try_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext
1813 if { { ac_try="$ac_compile"
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_c_try_compile
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i && {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 as_fn_set_status $ac_retval
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 as_fn_set_status $ac_retval
1923 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1924 # -------------------------------------------------------
1925 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1926 # the include files in INCLUDES and setting the cache variable VAR
1928 ac_fn_c_check_header_mongrel ()
1930 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1931 if eval "test \"\${$3+set}\"" = set; then :
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval "test \"\${$3+set}\"" = set; then :
1935 $as_echo_n "(cached) " >&6
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1939 $as_echo "$ac_res" >&6; }
1941 # Is the header compilable?
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1943 $as_echo_n "checking $2 usability... " >&6; }
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1949 if ac_fn_c_try_compile "$LINENO"; then :
1950 ac_header_compiler=yes
1952 ac_header_compiler=no
1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1956 $as_echo "$ac_header_compiler" >&6; }
1958 # Is the header present?
1959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1960 $as_echo_n "checking $2 presence... " >&6; }
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1965 if ac_fn_c_try_cpp "$LINENO"; then :
1966 ac_header_preproc=yes
1968 ac_header_preproc=no
1970 rm -f conftest.err conftest.i conftest.$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1972 $as_echo "$ac_header_preproc" >&6; }
1974 # So? What about this header?
1975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1978 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1980 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1984 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1986 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1988 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1990 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1992 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1996 $as_echo_n "checking for $2... " >&6; }
1997 if eval "test \"\${$3+set}\"" = set; then :
1998 $as_echo_n "(cached) " >&6
2000 eval "$3=\$ac_header_compiler"
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2006 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008 } # ac_fn_c_check_header_mongrel
2010 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2011 # -------------------------------------------------------
2012 # Tests whether HEADER exists and can be compiled using the include files in
2013 # INCLUDES, setting the cache variable VAR accordingly.
2014 ac_fn_c_check_header_compile ()
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2018 $as_echo_n "checking for $2... " >&6; }
2019 if eval "test \"\${$3+set}\"" = set; then :
2020 $as_echo_n "(cached) " >&6
2022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2027 if ac_fn_c_try_compile "$LINENO"; then :
2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036 $as_echo "$ac_res" >&6; }
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2039 } # ac_fn_c_check_header_compile
2041 # ac_fn_c_try_link LINENO
2042 # -----------------------
2043 # Try to link conftest.$ac_ext, and return whether this succeeded.
2046 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047 rm -f conftest.$ac_objext conftest$ac_exeext
2048 if { { ac_try="$ac_link"
2050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2051 *) ac_try_echo=$ac_try;;
2053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2054 $as_echo "$ac_try_echo"; } >&5
2055 (eval "$ac_link") 2>conftest.err
2057 if test -s conftest.err; then
2058 grep -v '^ *+' conftest.err >conftest.er1
2059 cat conftest.er1 >&5
2060 mv -f conftest.er1 conftest.err
2062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2063 test $ac_status = 0; } && {
2064 test -z "$ac_c_werror_flag" ||
2065 test ! -s conftest.err
2066 } && test -s conftest$ac_exeext && {
2067 test "$cross_compiling" = yes ||
2068 $as_test_x conftest$ac_exeext
2072 $as_echo "$as_me: failed program was:" >&5
2073 sed 's/^/| /' conftest.$ac_ext >&5
2077 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2078 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2079 # interfere with the next link command; also delete a directory that is
2080 # left behind by Apple's compiler. We do this before executing the actions.
2081 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2082 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2083 as_fn_set_status $ac_retval
2085 } # ac_fn_c_try_link
2087 # ac_fn_c_check_func LINENO FUNC VAR
2088 # ----------------------------------
2089 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2090 ac_fn_c_check_func ()
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2094 $as_echo_n "checking for $2... " >&6; }
2095 if eval "test \"\${$3+set}\"" = set; then :
2096 $as_echo_n "(cached) " >&6
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2101 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2102 #define $2 innocuous_$2
2104 /* System header to define __stub macros and hopefully few prototypes,
2105 which can conflict with char $2 (); below.
2106 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2107 <limits.h> exists even on freestanding compilers. */
2110 # include <limits.h>
2112 # include <assert.h>
2117 /* Override any GCC internal prototype to avoid an error.
2118 Use char because int might match the return type of a GCC
2119 builtin and then its argument prototype would still apply. */
2124 /* The GNU C library defines this for functions which it implements
2125 to always fail with ENOSYS. Some functions are actually named
2126 something starting with __ and the normal name is an alias. */
2127 #if defined __stub_$2 || defined __stub___$2
2139 if ac_fn_c_try_link "$LINENO"; then :
2144 rm -f core conftest.err conftest.$ac_objext \
2145 conftest$ac_exeext conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2149 $as_echo "$ac_res" >&6; }
2150 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2152 } # ac_fn_c_check_func
2153 cat >config.log <<_ACEOF
2154 This file contains any messages produced by compilers while
2155 running configure, to aid debugging if configure makes a mistake.
2157 It was created by $as_me, which was
2158 generated by GNU Autoconf 2.67. Invocation command line was
2170 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2171 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2172 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2173 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2174 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2176 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2177 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2179 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2180 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2181 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2182 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2183 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2184 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2185 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 $as_echo "PATH: $as_dir"
2210 # Keep a trace of the command line.
2211 # Strip out --no-create and --no-recursion so they do not pile up.
2212 # Strip out --silent because we don't want to record it for future runs.
2213 # Also quote any args containing shell meta-characters.
2214 # Make two passes to allow for proper duplicate-argument suppression.
2218 ac_must_keep_next=false
2224 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2225 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2226 | -silent | --silent | --silen | --sile | --sil)
2229 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2232 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2234 as_fn_append ac_configure_args1 " '$ac_arg'"
2235 if test $ac_must_keep_next = true; then
2236 ac_must_keep_next=false # Got value, back to normal.
2239 *=* | --config-cache | -C | -disable-* | --disable-* \
2240 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2241 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2242 | -with-* | --with-* | -without-* | --without-* | --x)
2243 case "$ac_configure_args0 " in
2244 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2247 -* ) ac_must_keep_next=true ;;
2250 as_fn_append ac_configure_args " '$ac_arg'"
2255 { ac_configure_args0=; unset ac_configure_args0;}
2256 { ac_configure_args1=; unset ac_configure_args1;}
2258 # When interrupted or exit'd, cleanup temporary files, and complete
2259 # config.log. We remove comments because anyway the quotes in there
2260 # would cause problems or look ugly.
2261 # WARNING: Use '\'' to represent an apostrophe within the trap.
2262 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2263 trap 'exit_status=$?
2264 # Save into config.log some information that might help in debugging.
2268 $as_echo "## ---------------- ##
2269 ## Cache variables. ##
2270 ## ---------------- ##"
2272 # The following way of writing the cache mishandles newlines in values,
2274 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2275 eval ac_val=\$$ac_var
2279 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2280 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2283 _ | IFS | as_nl) ;; #(
2284 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2285 *) { eval $ac_var=; unset $ac_var;} ;;
2290 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2291 *${as_nl}ac_space=\ *)
2293 "s/'\''/'\''\\\\'\'''\''/g;
2294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2297 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2304 $as_echo "## ----------------- ##
2305 ## Output variables. ##
2306 ## ----------------- ##"
2308 for ac_var in $ac_subst_vars
2310 eval ac_val=\$$ac_var
2312 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2314 $as_echo "$ac_var='\''$ac_val'\''"
2318 if test -n "$ac_subst_files"; then
2319 $as_echo "## ------------------- ##
2320 ## File substitutions. ##
2321 ## ------------------- ##"
2323 for ac_var in $ac_subst_files
2325 eval ac_val=\$$ac_var
2327 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2329 $as_echo "$ac_var='\''$ac_val'\''"
2334 if test -s confdefs.h; then
2335 $as_echo "## ----------- ##
2342 test "$ac_signal" != 0 &&
2343 $as_echo "$as_me: caught signal $ac_signal"
2344 $as_echo "$as_me: exit $exit_status"
2346 rm -f core *.core core.conftest.* &&
2347 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2350 for ac_signal in 1 2 13 15; do
2351 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2355 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2356 rm -f -r conftest* confdefs.h
2358 $as_echo "/* confdefs.h */" > confdefs.h
2360 # Predefined preprocessor variables.
2362 cat >>confdefs.h <<_ACEOF
2363 #define PACKAGE_NAME "$PACKAGE_NAME"
2366 cat >>confdefs.h <<_ACEOF
2367 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2370 cat >>confdefs.h <<_ACEOF
2371 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2374 cat >>confdefs.h <<_ACEOF
2375 #define PACKAGE_STRING "$PACKAGE_STRING"
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2382 cat >>confdefs.h <<_ACEOF
2383 #define PACKAGE_URL "$PACKAGE_URL"
2387 # Let the site file select an alternate cache file if it wants to.
2388 # Prefer an explicitly selected file to automatically selected ones.
2391 if test -n "$CONFIG_SITE"; then
2392 # We do not want a PATH search for config.site.
2393 case $CONFIG_SITE in #((
2394 -*) ac_site_file1=./$CONFIG_SITE;;
2395 */*) ac_site_file1=$CONFIG_SITE;;
2396 *) ac_site_file1=./$CONFIG_SITE;;
2398 elif test "x$prefix" != xNONE; then
2399 ac_site_file1=$prefix/share/config.site
2400 ac_site_file2=$prefix/etc/config.site
2402 ac_site_file1=$ac_default_prefix/share/config.site
2403 ac_site_file2=$ac_default_prefix/etc/config.site
2405 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2407 test "x$ac_site_file" = xNONE && continue
2408 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2410 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2411 sed 's/^/| /' "$ac_site_file" >&5
2413 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2415 as_fn_error $? "failed to load site script $ac_site_file
2416 See \`config.log' for more details" "$LINENO" 5 ; }
2420 if test -r "$cache_file"; then
2421 # Some versions of bash will fail to source /dev/null (special files
2422 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2423 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2425 $as_echo "$as_me: loading cache $cache_file" >&6;}
2427 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2428 *) . "./$cache_file";;
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2433 $as_echo "$as_me: creating cache $cache_file" >&6;}
2437 # Check that the precious variables saved in the cache have kept the same
2439 ac_cache_corrupted=false
2440 for ac_var in $ac_precious_vars; do
2441 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2442 eval ac_new_set=\$ac_env_${ac_var}_set
2443 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2444 eval ac_new_val=\$ac_env_${ac_var}_value
2445 case $ac_old_set,$ac_new_set in
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2449 ac_cache_corrupted=: ;;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2453 ac_cache_corrupted=: ;;
2456 if test "x$ac_old_val" != "x$ac_new_val"; then
2457 # differences in whitespace do not lead to failure.
2458 ac_old_val_w=`echo x $ac_old_val`
2459 ac_new_val_w=`echo x $ac_new_val`
2460 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2463 ac_cache_corrupted=:
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2467 eval $ac_var=\$ac_old_val
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2470 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2472 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2475 # Pass precious variables to config.status.
2476 if test "$ac_new_set" = set; then
2478 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2479 *) ac_arg=$ac_var=$ac_new_val ;;
2481 case " $ac_configure_args " in
2482 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2483 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2487 if $ac_cache_corrupted; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2492 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2494 ## -------------------- ##
2495 ## Main body of script. ##
2496 ## -------------------- ##
2499 ac_cpp='$CPP $CPPFLAGS'
2500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2505 ac_config_headers="$ac_config_headers config.h"
2509 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2510 if test -f "$ac_dir/install-sh"; then
2512 ac_install_sh="$ac_aux_dir/install-sh -c"
2514 elif test -f "$ac_dir/install.sh"; then
2516 ac_install_sh="$ac_aux_dir/install.sh -c"
2518 elif test -f "$ac_dir/shtool"; then
2520 ac_install_sh="$ac_aux_dir/shtool install -c"
2524 if test -z "$ac_aux_dir"; then
2525 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2528 # These three variables are undocumented and unsupported,
2529 # and are intended to be withdrawn in a future Autoconf release.
2530 # They can cause serious problems if a builder's source tree is in a directory
2531 # whose full name contains unusual characters.
2532 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2533 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2534 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2537 # Make sure we can run config.sub.
2538 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2539 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2542 $as_echo_n "checking build system type... " >&6; }
2543 if test "${ac_cv_build+set}" = set; then :
2544 $as_echo_n "(cached) " >&6
2546 ac_build_alias=$build_alias
2547 test "x$ac_build_alias" = x &&
2548 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2549 test "x$ac_build_alias" = x &&
2550 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2551 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2552 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2556 $as_echo "$ac_cv_build" >&6; }
2557 case $ac_cv_build in
2559 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2562 ac_save_IFS=$IFS; IFS='-'
2568 # Remember, the first character of IFS is used to create $*,
2569 # except with old shells:
2572 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2576 $as_echo_n "checking host system type... " >&6; }
2577 if test "${ac_cv_host+set}" = set; then :
2578 $as_echo_n "(cached) " >&6
2580 if test "x$host_alias" = x; then
2581 ac_cv_host=$ac_cv_build
2583 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2584 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2589 $as_echo "$ac_cv_host" >&6; }
2592 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2595 ac_save_IFS=$IFS; IFS='-'
2601 # Remember, the first character of IFS is used to create $*,
2602 # except with old shells:
2605 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2609 LIBXML_MAJOR_VERSION=2
2610 LIBXML_MINOR_VERSION=7
2611 LIBXML_MICRO_VERSION=8
2612 LIBXML_MICRO_VERSION_SUFFIX=
2613 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2614 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2616 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2618 if test -f CVS/Entries ; then
2619 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2621 if test "$extra" != ""
2623 LIBXML_VERSION_EXTRA="-CVS$extra"
2625 else if test -d .svn ; then
2626 extra=`svn info | grep Revision | sed 's+Revision: ++'`
2628 if test "$extra" != ""
2630 LIBXML_VERSION_EXTRA="-SVN$extra"
2632 else if test -d .git ; then
2633 extra=`git describe | sed 's+LIBXML[0-9.]*-++'`
2635 if test "$extra" != ""
2637 LIBXML_VERSION_EXTRA="-GIT$extra"
2650 VERSION=${LIBXML_VERSION}
2652 am__api_version='1.11'
2654 # Find a good install program. We prefer a C program (faster),
2655 # so one script is as good as another. But avoid the broken or
2656 # incompatible versions:
2657 # SysV /etc/install, /usr/sbin/install
2658 # SunOS /usr/etc/install
2659 # IRIX /sbin/install
2661 # AmigaOS /C/install, which installs bootblocks on floppy discs
2662 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2663 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2664 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2665 # OS/2's system install, which has a completely different semantic
2666 # ./install, which can be erroneously created by make from ./install.sh.
2667 # Reject install programs that cannot install multiple files.
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2669 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2670 if test -z "$INSTALL"; then
2671 if test "${ac_cv_path_install+set}" = set; then :
2672 $as_echo_n "(cached) " >&6
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 # Account for people who put trailing slashes in PATH elements.
2680 case $as_dir/ in #((
2681 ./ | .// | /[cC]/* | \
2682 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2683 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2686 # OSF1 and SCO ODT 3.0 have their own names for install.
2687 # Don't use installbsd from OSF since it installs stuff as root
2689 for ac_prog in ginstall scoinst install; do
2690 for ac_exec_ext in '' $ac_executable_extensions; do
2691 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2692 if test $ac_prog = install &&
2693 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2694 # AIX install. It has an incompatible calling convention.
2696 elif test $ac_prog = install &&
2697 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2698 # program-specific install script used by HP pwplus--don't use.
2701 rm -rf conftest.one conftest.two conftest.dir
2702 echo one > conftest.one
2703 echo two > conftest.two
2705 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2706 test -s conftest.one && test -s conftest.two &&
2707 test -s conftest.dir/conftest.one &&
2708 test -s conftest.dir/conftest.two
2710 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2723 rm -rf conftest.one conftest.two conftest.dir
2726 if test "${ac_cv_path_install+set}" = set; then
2727 INSTALL=$ac_cv_path_install
2729 # As a last resort, use the slow shell script. Don't cache a
2730 # value for INSTALL within a source directory, because that will
2731 # break other packages using the cache if that directory is
2732 # removed, or if the value is a relative name.
2733 INSTALL=$ac_install_sh
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2737 $as_echo "$INSTALL" >&6; }
2739 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2740 # It thinks the first close brace ends the variable substitution.
2741 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2743 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2745 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2748 $as_echo_n "checking whether build environment is sane... " >&6; }
2751 echo timestamp > conftest.file
2752 # Reject unsafe characters in $srcdir or the absolute working directory
2753 # name. Accept space and tab only in the latter.
2757 *[\\\"\#\$\&\'\`$am_lf]*)
2758 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2761 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2762 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2765 # Do `set' in a subshell so we don't clobber the current shell's
2766 # arguments. Must try -L first in case configure is actually a
2767 # symlink; some systems play weird games with the mod time of symlinks
2768 # (eg FreeBSD returns the mod time of the symlink's containing
2771 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2772 if test "$*" = "X"; then
2774 set X `ls -t "$srcdir/configure" conftest.file`
2777 if test "$*" != "X $srcdir/configure conftest.file" \
2778 && test "$*" != "X conftest.file $srcdir/configure"; then
2780 # If neither matched, then we have a broken ls. This can happen
2781 # if, for instance, CONFIG_SHELL is bash and it inherits a
2782 # broken ls alias from the environment. This has actually
2783 # happened. Such a system could not be considered "sane".
2784 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2785 alias in your environment" "$LINENO" 5
2788 test "$2" = conftest.file
2794 as_fn_error $? "newly created file is older than distributed files!
2795 Check your system clock" "$LINENO" 5
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2798 $as_echo "yes" >&6; }
2799 test "$program_prefix" != NONE &&
2800 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2801 # Use a double $ so make ignores it.
2802 test "$program_suffix" != NONE &&
2803 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2804 # Double any \ or $.
2805 # By default was `s,x,x', remove it if useless.
2806 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2807 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2809 # expand $ac_aux_dir to an absolute path
2810 am_aux_dir=`cd $ac_aux_dir && pwd`
2812 if test x"${MISSING+set}" != xset; then
2815 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2817 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2820 # Use eval to expand $SHELL
2821 if eval "$MISSING --run true"; then
2822 am_missing_run="$MISSING --run "
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2826 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2829 if test x"${install_sh}" != xset; then
2832 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2834 install_sh="\${SHELL} $am_aux_dir/install-sh"
2838 # Installed binaries are usually stripped using `strip' when the user
2839 # run `make install-strip'. However `strip' might not be the right
2840 # tool to use in cross-compilation environments, therefore Automake
2841 # will honor the `STRIP' environment variable to overrule this program.
2842 if test "$cross_compiling" != no; then
2843 if test -n "$ac_tool_prefix"; then
2844 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2845 set dummy ${ac_tool_prefix}strip; ac_word=$2
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2847 $as_echo_n "checking for $ac_word... " >&6; }
2848 if test "${ac_cv_prog_STRIP+set}" = set; then :
2849 $as_echo_n "(cached) " >&6
2851 if test -n "$STRIP"; then
2852 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 test -z "$as_dir" && as_dir=.
2859 for ac_exec_ext in '' $ac_executable_extensions; do
2860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2861 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 STRIP=$ac_cv_prog_STRIP
2872 if test -n "$STRIP"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2874 $as_echo "$STRIP" >&6; }
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2877 $as_echo "no" >&6; }
2882 if test -z "$ac_cv_prog_STRIP"; then
2884 # Extract the first word of "strip", so it can be a program name with args.
2885 set dummy strip; ac_word=$2
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2887 $as_echo_n "checking for $ac_word... " >&6; }
2888 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2889 $as_echo_n "(cached) " >&6
2891 if test -n "$ac_ct_STRIP"; then
2892 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2898 test -z "$as_dir" && as_dir=.
2899 for ac_exec_ext in '' $ac_executable_extensions; do
2900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901 ac_cv_prog_ac_ct_STRIP="strip"
2902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2911 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2912 if test -n "$ac_ct_STRIP"; then
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2914 $as_echo "$ac_ct_STRIP" >&6; }
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917 $as_echo "no" >&6; }
2920 if test "x$ac_ct_STRIP" = x; then
2923 case $cross_compiling:$ac_tool_warned in
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2927 ac_tool_warned=yes ;;
2932 STRIP="$ac_cv_prog_STRIP"
2936 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2939 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2940 if test -z "$MKDIR_P"; then
2941 if test "${ac_cv_path_mkdir+set}" = set; then :
2942 $as_echo_n "(cached) " >&6
2944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2945 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2948 test -z "$as_dir" && as_dir=.
2949 for ac_prog in mkdir gmkdir; do
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2952 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2953 'mkdir (GNU coreutils) '* | \
2954 'mkdir (coreutils) '* | \
2955 'mkdir (fileutils) '4.1*)
2956 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2966 test -d ./--version && rmdir ./--version
2967 if test "${ac_cv_path_mkdir+set}" = set; then
2968 MKDIR_P="$ac_cv_path_mkdir -p"
2970 # As a last resort, use the slow shell script. Don't cache a
2971 # value for MKDIR_P within a source directory, because that will
2972 # break other packages using the cache if that directory is
2973 # removed, or if the value is a relative name.
2974 MKDIR_P="$ac_install_sh -d"
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2978 $as_echo "$MKDIR_P" >&6; }
2982 [\\/$]* | ?:[\\/]*) ;;
2983 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2986 for ac_prog in gawk mawk nawk awk
2988 # Extract the first word of "$ac_prog", so it can be a program name with args.
2989 set dummy $ac_prog; ac_word=$2
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991 $as_echo_n "checking for $ac_word... " >&6; }
2992 if test "${ac_cv_prog_AWK+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 if test -n "$AWK"; then
2996 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3002 test -z "$as_dir" && as_dir=.
3003 for ac_exec_ext in '' $ac_executable_extensions; do
3004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005 ac_cv_prog_AWK="$ac_prog"
3006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3016 if test -n "$AWK"; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3018 $as_echo "$AWK" >&6; }
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021 $as_echo "no" >&6; }
3025 test -n "$AWK" && break
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3029 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3031 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3032 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3033 $as_echo_n "(cached) " >&6
3035 cat >conftest.make <<\_ACEOF
3038 @echo '@@@%%%=$(MAKE)=@@@%%%'
3040 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3043 eval ac_cv_prog_make_${ac_make}_set=yes;;
3045 eval ac_cv_prog_make_${ac_make}_set=no;;
3049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3051 $as_echo "yes" >&6; }
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3056 SET_MAKE="MAKE=${MAKE-make}"
3059 rm -rf .tst 2>/dev/null
3060 mkdir .tst 2>/dev/null
3061 if test -d .tst; then
3066 rmdir .tst 2>/dev/null
3068 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3069 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3070 # is not polluted with repeated "-I."
3071 am__isrc=' -I$(srcdir)'
3072 # test to see if srcdir already configured
3073 if test -f $srcdir/config.status; then
3074 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3078 # test whether we have cygpath
3079 if test -z "$CYGPATH_W"; then
3080 if (cygpath --version) >/dev/null 2>/dev/null; then
3081 CYGPATH_W='cygpath -w'
3088 # Define the identity of the package.
3093 cat >>confdefs.h <<_ACEOF
3094 #define PACKAGE "$PACKAGE"
3098 cat >>confdefs.h <<_ACEOF
3099 #define VERSION "$VERSION"
3102 # Some tools Automake needs.
3104 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3107 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3110 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3113 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3116 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3118 # We need awk for the "check" target. The system "awk" is bad on
3120 # Always define AMTAR for backward compatibility.
3122 AMTAR=${AMTAR-"${am_missing_run}tar"}
3124 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3132 ac_cpp='$CPP $CPPFLAGS'
3133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3136 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3138 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if test "${ac_cv_prog_CC+set}" = set; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$CC"; then
3145 ac_cv_prog_CC="$CC" # Let the user override the test.
3147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir=.
3152 for ac_exec_ext in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 if test -n "$CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3167 $as_echo "$CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3175 if test -z "$ac_cv_prog_CC"; then
3177 # Extract the first word of "gcc", so it can be a program name with args.
3178 set dummy gcc; ac_word=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$ac_ct_CC"; then
3185 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir=.
3192 for ac_exec_ext in '' $ac_executable_extensions; do
3193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3194 ac_cv_prog_ac_ct_CC="gcc"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3205 if test -n "$ac_ct_CC"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3207 $as_echo "$ac_ct_CC" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3213 if test "x$ac_ct_CC" = x; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned=yes ;;
3228 if test -z "$CC"; then
3229 if test -n "$ac_tool_prefix"; then
3230 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3231 set dummy ${ac_tool_prefix}cc; ac_word=$2
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233 $as_echo_n "checking for $ac_word... " >&6; }
3234 if test "${ac_cv_prog_CC+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 if test -n "$CC"; then
3238 ac_cv_prog_CC="$CC" # Let the user override the test.
3240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3244 test -z "$as_dir" && as_dir=.
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3247 ac_cv_prog_CC="${ac_tool_prefix}cc"
3248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 if test -n "$CC"; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260 $as_echo "$CC" >&6; }
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3269 if test -z "$CC"; then
3270 # Extract the first word of "cc", so it can be a program name with args.
3271 set dummy cc; ac_word=$2
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273 $as_echo_n "checking for $ac_word... " >&6; }
3274 if test "${ac_cv_prog_CC+set}" = set; then :
3275 $as_echo_n "(cached) " >&6
3277 if test -n "$CC"; then
3278 ac_cv_prog_CC="$CC" # Let the user override the test.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3288 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3289 ac_prog_rejected=yes
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 if test $ac_prog_rejected = yes; then
3301 # We found a bogon in the path, so make sure we never use it.
3302 set dummy $ac_cv_prog_CC
3304 if test $# != 0; then
3305 # We chose a different compiler from the bogus one.
3306 # However, it has the same basename, so the bogon will be chosen
3307 # first if we set CC to just the basename; use the full file name.
3309 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3315 if test -n "$CC"; then
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3317 $as_echo "$CC" >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3320 $as_echo "no" >&6; }
3325 if test -z "$CC"; then
3326 if test -n "$ac_tool_prefix"; then
3327 for ac_prog in cl.exe
3329 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3330 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if test "${ac_cv_prog_CC+set}" = set; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$CC"; then
3337 ac_cv_prog_CC="$CC" # Let the user override the test.
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$CC"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3359 $as_echo "$CC" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$CC" && break
3369 if test -z "$CC"; then
3371 for ac_prog in cl.exe
3373 # Extract the first word of "$ac_prog", so it can be a program name with args.
3374 set dummy $ac_prog; ac_word=$2
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3376 $as_echo_n "checking for $ac_word... " >&6; }
3377 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3378 $as_echo_n "(cached) " >&6
3380 if test -n "$ac_ct_CC"; then
3381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 test -z "$as_dir" && as_dir=.
3388 for ac_exec_ext in '' $ac_executable_extensions; do
3389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3390 ac_cv_prog_ac_ct_CC="$ac_prog"
3391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3401 if test -n "$ac_ct_CC"; then
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3403 $as_echo "$ac_ct_CC" >&6; }
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 $as_echo "no" >&6; }
3410 test -n "$ac_ct_CC" && break
3413 if test "x$ac_ct_CC" = x; then
3416 case $cross_compiling:$ac_tool_warned in
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3420 ac_tool_warned=yes ;;
3429 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $? "no acceptable C compiler found in \$PATH
3432 See \`config.log' for more details" "$LINENO" 5 ; }
3434 # Provide some information about the compiler.
3435 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3438 for ac_option in --version -v -V -qversion; do
3439 { { ac_try="$ac_compiler $ac_option >&5"
3441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3448 if test -s conftest.err; then
3450 ... rest of stderr output deleted ...
3451 10q' conftest.err >conftest.er1
3452 cat conftest.er1 >&5
3454 rm -f conftest.er1 conftest.err
3455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3456 test $ac_status = 0; }
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3470 ac_clean_files_save=$ac_clean_files
3471 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3472 # Try to create an executable without -o first, disregard a.out.
3473 # It will help us diagnose broken compilers, and finding out an intuition
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3476 $as_echo_n "checking whether the C compiler works... " >&6; }
3477 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3479 # The possible output files:
3480 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3483 for ac_file in $ac_files
3486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3487 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3492 if { { ac_try="$ac_link_default"
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3498 $as_echo "$ac_try_echo"; } >&5
3499 (eval "$ac_link_default") 2>&5
3501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3502 test $ac_status = 0; }; then :
3503 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3504 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3505 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3506 # so that the user can short-circuit this test for compilers unknown to
3508 for ac_file in $ac_files ''
3510 test -f "$ac_file" || continue
3512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3515 # We found the default executable, but exeext='' is most
3519 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3521 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3523 # We set ac_cv_exeext here because the later test for it is not
3524 # safe: cross compilers may not add the suffix if given an `-o'
3525 # argument, so we may need to know it at that point already.
3526 # Even if this section looks crufty: it has the advantage of
3533 test "$ac_cv_exeext" = no && ac_cv_exeext=
3538 if test -z "$ac_file"; then :
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3540 $as_echo "no" >&6; }
3541 $as_echo "$as_me: failed program was:" >&5
3542 sed 's/^/| /' conftest.$ac_ext >&5
3544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3546 as_fn_error 77 "C compiler cannot create executables
3547 See \`config.log' for more details" "$LINENO" 5 ; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3553 $as_echo_n "checking for C compiler default output file name... " >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3555 $as_echo "$ac_file" >&6; }
3556 ac_exeext=$ac_cv_exeext
3558 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3559 ac_clean_files=$ac_clean_files_save
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3561 $as_echo_n "checking for suffix of executables... " >&6; }
3562 if { { ac_try="$ac_link"
3564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3565 *) ac_try_echo=$ac_try;;
3567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3568 $as_echo "$ac_try_echo"; } >&5
3569 (eval "$ac_link") 2>&5
3571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3572 test $ac_status = 0; }; then :
3573 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3574 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3575 # work properly (i.e., refer to `conftest.exe'), while it won't with
3577 for ac_file in conftest.exe conftest conftest.*; do
3578 test -f "$ac_file" || continue
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3581 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3589 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3590 See \`config.log' for more details" "$LINENO" 5 ; }
3592 rm -f conftest conftest$ac_cv_exeext
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3594 $as_echo "$ac_cv_exeext" >&6; }
3596 rm -f conftest.$ac_ext
3597 EXEEXT=$ac_cv_exeext
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3605 FILE *f = fopen ("conftest.out", "w");
3606 return ferror (f) || fclose (f) != 0;
3612 ac_clean_files="$ac_clean_files conftest.out"
3613 # Check that the compiler produces executables we can run. If not, either
3614 # the compiler is broken, or we cross compile.
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3616 $as_echo_n "checking whether we are cross compiling... " >&6; }
3617 if test "$cross_compiling" != yes; then
3618 { { ac_try="$ac_link"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3624 $as_echo "$ac_try_echo"; } >&5
3625 (eval "$ac_link") 2>&5
3627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3628 test $ac_status = 0; }
3629 if { ac_try='./conftest$ac_cv_exeext'
3630 { { case "(($ac_try" in
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 $as_echo "$ac_try_echo"; } >&5
3636 (eval "$ac_try") 2>&5
3638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3639 test $ac_status = 0; }; }; then
3642 if test "$cross_compiling" = maybe; then
3645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3646 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3647 as_fn_error $? "cannot run C compiled programs.
3648 If you meant to cross compile, use \`--host'.
3649 See \`config.log' for more details" "$LINENO" 5 ; }
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3654 $as_echo "$cross_compiling" >&6; }
3656 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3657 ac_clean_files=$ac_clean_files_save
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3659 $as_echo_n "checking for suffix of object files... " >&6; }
3660 if test "${ac_cv_objext+set}" = set; then :
3661 $as_echo_n "(cached) " >&6
3663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3664 /* end confdefs.h. */
3674 rm -f conftest.o conftest.obj
3675 if { { ac_try="$ac_compile"
3677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3678 *) ac_try_echo=$ac_try;;
3680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3681 $as_echo "$ac_try_echo"; } >&5
3682 (eval "$ac_compile") 2>&5
3684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3685 test $ac_status = 0; }; then :
3686 for ac_file in conftest.o conftest.obj conftest.*; do
3687 test -f "$ac_file" || continue;
3689 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3690 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3695 $as_echo "$as_me: failed program was:" >&5
3696 sed 's/^/| /' conftest.$ac_ext >&5
3698 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3700 as_fn_error $? "cannot compute suffix of object files: cannot compile
3701 See \`config.log' for more details" "$LINENO" 5 ; }
3703 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3706 $as_echo "$ac_cv_objext" >&6; }
3707 OBJEXT=$ac_cv_objext
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3710 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3711 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3712 $as_echo_n "(cached) " >&6
3714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3715 /* end confdefs.h. */
3728 if ac_fn_c_try_compile "$LINENO"; then :
3733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3738 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3739 if test $ac_compiler_gnu = yes; then
3744 ac_test_CFLAGS=${CFLAGS+set}
3745 ac_save_CFLAGS=$CFLAGS
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3747 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3748 if test "${ac_cv_prog_cc_g+set}" = set; then :
3749 $as_echo_n "(cached) " >&6
3751 ac_save_c_werror_flag=$ac_c_werror_flag
3752 ac_c_werror_flag=yes
3755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756 /* end confdefs.h. */
3766 if ac_fn_c_try_compile "$LINENO"; then :
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3781 if ac_fn_c_try_compile "$LINENO"; then :
3784 ac_c_werror_flag=$ac_save_c_werror_flag
3786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3797 if ac_fn_c_try_compile "$LINENO"; then :
3800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3805 ac_c_werror_flag=$ac_save_c_werror_flag
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3808 $as_echo "$ac_cv_prog_cc_g" >&6; }
3809 if test "$ac_test_CFLAGS" = set; then
3810 CFLAGS=$ac_save_CFLAGS
3811 elif test $ac_cv_prog_cc_g = yes; then
3812 if test "$GCC" = yes; then
3818 if test "$GCC" = yes; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3825 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3826 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3827 $as_echo_n "(cached) " >&6
3829 ac_cv_prog_cc_c89=no
3831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832 /* end confdefs.h. */
3835 #include <sys/types.h>
3836 #include <sys/stat.h>
3837 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3838 struct buf { int x; };
3839 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3840 static char *e (p, i)
3846 static char *f (char * (*g) (char **, int), char **p, ...)
3851 s = g (p, va_arg (v,int));
3856 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3857 function prototypes and stuff, but not '\xHH' hex character constants.
3858 These don't provoke an error unfortunately, instead are silently treated
3859 as 'x'. The following induces an error, until -std is added to get
3860 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3861 array size at least. It's necessary to write '\x00'==0 to get something
3862 that's true only with -std. */
3863 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3865 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3866 inside strings and character constants. */
3868 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3870 int test (int i, double x);
3871 struct s1 {int (*f) (int a);};
3872 struct s2 {int (*f) (double a);};
3873 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3879 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3884 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3885 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3887 CC="$ac_save_CC $ac_arg"
3888 if ac_fn_c_try_compile "$LINENO"; then :
3889 ac_cv_prog_cc_c89=$ac_arg
3891 rm -f core conftest.err conftest.$ac_objext
3892 test "x$ac_cv_prog_cc_c89" != "xno" && break
3894 rm -f conftest.$ac_ext
3899 case "x$ac_cv_prog_cc_c89" in
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3902 $as_echo "none needed" >&6; } ;;
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3905 $as_echo "unsupported" >&6; } ;;
3907 CC="$CC $ac_cv_prog_cc_c89"
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3909 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3911 if test "x$ac_cv_prog_cc_c89" != xno; then :
3916 ac_cpp='$CPP $CPPFLAGS'
3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3920 DEPDIR="${am__leading_dot}deps"
3922 ac_config_commands="$ac_config_commands depfiles"
3925 am_make=${MAKE-make}
3926 cat > confinc << 'END'
3928 @echo this is the am__doit target
3931 # If we don't find an include directive, just comment out the code.
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3933 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3937 # First try GNU make style include.
3938 echo "include confinc" > confmf
3939 # Ignore all kinds of additional output from `make'.
3940 case `$am_make -s -f confmf 2> /dev/null` in #(
3941 *the\ am__doit\ target*)
3947 # Now try BSD make style include.
3948 if test "$am__include" = "#"; then
3949 echo '.include "confinc"' > confmf
3950 case `$am_make -s -f confmf 2> /dev/null` in #(
3951 *the\ am__doit\ target*)
3952 am__include=.include
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3961 $as_echo "$_am_result" >&6; }
3962 rm -f confinc confmf
3964 # Check whether --enable-dependency-tracking was given.
3965 if test "${enable_dependency_tracking+set}" = set; then :
3966 enableval=$enable_dependency_tracking;
3969 if test "x$enable_dependency_tracking" != xno; then
3970 am_depcomp="$ac_aux_dir/depcomp"
3973 if test "x$enable_dependency_tracking" != xno; then
3983 depcc="$CC" am_compiler_list=
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3986 $as_echo_n "checking dependency style of $depcc... " >&6; }
3987 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3991 # We make a subdir and do the tests there. Otherwise we can end up
3992 # making bogus files that we don't know about and never remove. For
3993 # instance it was reported that on HP-UX the gcc test will end up
3994 # making a dummy file named `D' -- because `-MD' means `put the output
3997 # Copy depcomp to subdir because otherwise we won't find it if we're
3998 # using a relative directory.
3999 cp "$am_depcomp" conftest.dir
4001 # We will build objects and dependencies in a subdirectory because
4002 # it helps to detect inapplicable dependency modes. For instance
4003 # both Tru64's cc and ICC support -MD to output dependencies as a
4004 # side effect of compilation, but ICC will put the dependencies in
4005 # the current directory while Tru64 will put them in the object
4009 am_cv_CC_dependencies_compiler_type=none
4010 if test "$am_compiler_list" = ""; then
4011 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4014 case " $depcc " in #(
4015 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4018 for depmode in $am_compiler_list; do
4019 # Setup a source with many dependencies, because some compilers
4020 # like to wrap large dependency lists on column 80 (with \), and
4021 # we should not choose a depcomp mode which is confused by this.
4023 # We need to recreate these files for each test, as the compiler may
4024 # overwrite some of them when testing with obscure command lines.
4025 # This happens at least with the AIX C compiler.
4027 for i in 1 2 3 4 5 6; do
4028 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4029 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4030 # Solaris 8's {/usr,}/bin/sh.
4031 touch sub/conftst$i.h
4033 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4035 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4036 # mode. It turns out that the SunPro C++ compiler does not properly
4037 # handle `-M -o', and we need to detect this. Also, some Intel
4038 # versions had trouble with output in subdirs
4039 am__obj=sub/conftest.${OBJEXT-o}
4040 am__minus_obj="-o $am__obj"
4043 # This depmode causes a compiler race in universal mode.
4044 test "$am__universal" = false || continue
4047 # after this tag, mechanisms are not by side-effect, so they'll
4048 # only be used when explicitly requested
4049 if test "x$enable_dependency_tracking" = xyes; then
4055 msvisualcpp | msvcmsys)
4056 # This compiler won't grok `-c -o', but also, the minuso test has
4057 # not run yet. These depmodes are late enough in the game, and
4058 # so weak that their functioning should not be impacted.
4059 am__obj=conftest.${OBJEXT-o}
4064 if depmode=$depmode \
4065 source=sub/conftest.c object=$am__obj \
4066 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4067 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4068 >/dev/null 2>conftest.err &&
4069 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4070 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4071 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4072 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4073 # icc doesn't choke on unknown options, it will just issue warnings
4074 # or remarks (even with -Werror). So we grep stderr for any message
4075 # that says an option was ignored or not supported.
4076 # When given -MP, icc 7.0 and 7.1 complain thusly:
4077 # icc: Command line warning: ignoring option '-M'; no argument required
4078 # The diagnosis changed in icc 8.0:
4079 # icc: Command line remark: option '-MP' not supported
4080 if (grep 'ignoring option' conftest.err ||
4081 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4082 am_cv_CC_dependencies_compiler_type=$depmode
4091 am_cv_CC_dependencies_compiler_type=none
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4096 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4097 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4100 test "x$enable_dependency_tracking" != xno \
4101 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4103 am__fastdepCC_FALSE='#'
4105 am__fastdepCC_TRUE='#'
4106 am__fastdepCC_FALSE=
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4118 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4119 # On Suns, sometimes $CPP names a directory.
4120 if test -n "$CPP" && test -d "$CPP"; then
4123 if test -z "$CPP"; then
4124 if test "${ac_cv_prog_CPP+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 # Double quotes because CPP needs to be expanded
4128 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4131 for ac_c_preproc_warn_flag in '' yes
4133 # Use a header file that comes with gcc, so configuring glibc
4134 # with a fresh cross-compiler works.
4135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4136 # <limits.h> exists even on freestanding compilers.
4137 # On the NeXT, cc -E runs the code through the compiler's parser,
4138 # not just through cpp. "Syntax error" is here to catch this case.
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4142 # include <limits.h>
4144 # include <assert.h>
4148 if ac_fn_c_try_cpp "$LINENO"; then :
4151 # Broken: fails on valid input.
4154 rm -f conftest.err conftest.i conftest.$ac_ext
4156 # OK, works on sane cases. Now check whether nonexistent headers
4157 # can be detected and how.
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160 #include <ac_nonexistent.h>
4162 if ac_fn_c_try_cpp "$LINENO"; then :
4163 # Broken: success on invalid input.
4166 # Passes both tests.
4170 rm -f conftest.err conftest.i conftest.$ac_ext
4173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4174 rm -f conftest.i conftest.err conftest.$ac_ext
4175 if $ac_preproc_ok; then :
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4188 $as_echo "$CPP" >&6; }
4190 for ac_c_preproc_warn_flag in '' yes
4192 # Use a header file that comes with gcc, so configuring glibc
4193 # with a fresh cross-compiler works.
4194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4195 # <limits.h> exists even on freestanding compilers.
4196 # On the NeXT, cc -E runs the code through the compiler's parser,
4197 # not just through cpp. "Syntax error" is here to catch this case.
4198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4201 # include <limits.h>
4203 # include <assert.h>
4207 if ac_fn_c_try_cpp "$LINENO"; then :
4210 # Broken: fails on valid input.
4213 rm -f conftest.err conftest.i conftest.$ac_ext
4215 # OK, works on sane cases. Now check whether nonexistent headers
4216 # can be detected and how.
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219 #include <ac_nonexistent.h>
4221 if ac_fn_c_try_cpp "$LINENO"; then :
4222 # Broken: success on invalid input.
4225 # Passes both tests.
4229 rm -f conftest.err conftest.i conftest.$ac_ext
4232 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4233 rm -f conftest.i conftest.err conftest.$ac_ext
4234 if $ac_preproc_ok; then :
4237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4238 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4239 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4240 See \`config.log' for more details" "$LINENO" 5 ; }
4244 ac_cpp='$CPP $CPPFLAGS'
4245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249 # Extract the first word of "rm", so it can be a program name with args.
4250 set dummy rm; ac_word=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if test "${ac_cv_path_RM+set}" = set; then :
4254 $as_echo_n "(cached) " >&6
4258 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir=.
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4276 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4281 if test -n "$RM"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4283 $as_echo "$RM" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4290 # Extract the first word of "mv", so it can be a program name with args.
4291 set dummy mv; ac_word=$2
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293 $as_echo_n "checking for $ac_word... " >&6; }
4294 if test "${ac_cv_path_MV+set}" = set; then :
4295 $as_echo_n "(cached) " >&6
4299 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4309 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4317 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4322 if test -n "$MV"; then
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4324 $as_echo "$MV" >&6; }
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4327 $as_echo "no" >&6; }
4331 # Extract the first word of "tar", so it can be a program name with args.
4332 set dummy tar; ac_word=$2
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334 $as_echo_n "checking for $ac_word... " >&6; }
4335 if test "${ac_cv_path_TAR+set}" = set; then :
4336 $as_echo_n "(cached) " >&6
4340 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4350 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4358 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4363 if test -n "$TAR"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4365 $as_echo "$TAR" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4372 # Extract the first word of "perl", so it can be a program name with args.
4373 set dummy perl; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if test "${ac_cv_path_PERL+set}" = set; then :
4377 $as_echo_n "(cached) " >&6
4381 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388 test -z "$as_dir" && as_dir=.
4389 for ac_exec_ext in '' $ac_executable_extensions; do
4390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4391 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4399 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4403 PERL=$ac_cv_path_PERL
4404 if test -n "$PERL"; then
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4406 $as_echo "$PERL" >&6; }
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4409 $as_echo "no" >&6; }
4413 # Extract the first word of "wget", so it can be a program name with args.
4414 set dummy wget; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_path_WGET+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4422 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4429 test -z "$as_dir" && as_dir=.
4430 for ac_exec_ext in '' $ac_executable_extensions; do
4431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4432 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4444 WGET=$ac_cv_path_WGET
4445 if test -n "$WGET"; then
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4447 $as_echo "$WGET" >&6; }
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4450 $as_echo "no" >&6; }
4454 # Extract the first word of "xmllint", so it can be a program name with args.
4455 set dummy xmllint; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if test "${ac_cv_path_XMLLINT+set}" = set; then :
4459 $as_echo_n "(cached) " >&6
4463 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir=.
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4473 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4485 XMLLINT=$ac_cv_path_XMLLINT
4486 if test -n "$XMLLINT"; then
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4488 $as_echo "$XMLLINT" >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4491 $as_echo "no" >&6; }
4495 # Extract the first word of "xsltproc", so it can be a program name with args.
4496 set dummy xsltproc; ac_word=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
4500 $as_echo_n "(cached) " >&6
4504 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir=.
4512 for ac_exec_ext in '' $ac_executable_extensions; do
4513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4526 XSLTPROC=$ac_cv_path_XSLTPROC
4527 if test -n "$XSLTPROC"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4529 $as_echo "$XSLTPROC" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
4538 $as_echo_n "checking for function prototypes... " >&6; }
4539 if test "$ac_cv_prog_cc_c89" != no; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4541 $as_echo "yes" >&6; }
4543 $as_echo "#define PROTOTYPES 1" >>confdefs.h
4546 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4556 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4557 if test "${ac_cv_path_GREP+set}" = set; then :
4558 $as_echo_n "(cached) " >&6
4560 if test -z "$GREP"; then
4561 ac_path_GREP_found=false
4562 # Loop through the user's path and test for each of PROGNAME-LIST
4563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4564 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4567 test -z "$as_dir" && as_dir=.
4568 for ac_prog in grep ggrep; do
4569 for ac_exec_ext in '' $ac_executable_extensions; do
4570 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4571 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4572 # Check for GNU ac_path_GREP and select it if it is found.
4573 # Check for GNU $ac_path_GREP
4574 case `"$ac_path_GREP" --version 2>&1` in
4576 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4579 $as_echo_n 0123456789 >"conftest.in"
4582 cat "conftest.in" "conftest.in" >"conftest.tmp"
4583 mv "conftest.tmp" "conftest.in"
4584 cp "conftest.in" "conftest.nl"
4585 $as_echo 'GREP' >> "conftest.nl"
4586 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4587 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4588 as_fn_arith $ac_count + 1 && ac_count=$as_val
4589 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4590 # Best one so far, save it but keep looking for a better one
4591 ac_cv_path_GREP="$ac_path_GREP"
4592 ac_path_GREP_max=$ac_count
4594 # 10*(2^10) chars as input seems more than enough
4595 test $ac_count -gt 10 && break
4597 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4600 $ac_path_GREP_found && break 3
4605 if test -z "$ac_cv_path_GREP"; then
4606 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4609 ac_cv_path_GREP=$GREP
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4614 $as_echo "$ac_cv_path_GREP" >&6; }
4615 GREP="$ac_cv_path_GREP"
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4619 $as_echo_n "checking for egrep... " >&6; }
4620 if test "${ac_cv_path_EGREP+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4624 then ac_cv_path_EGREP="$GREP -E"
4626 if test -z "$EGREP"; then
4627 ac_path_EGREP_found=false
4628 # Loop through the user's path and test for each of PROGNAME-LIST
4629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4630 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4633 test -z "$as_dir" && as_dir=.
4634 for ac_prog in egrep; do
4635 for ac_exec_ext in '' $ac_executable_extensions; do
4636 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4637 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4638 # Check for GNU ac_path_EGREP and select it if it is found.
4639 # Check for GNU $ac_path_EGREP
4640 case `"$ac_path_EGREP" --version 2>&1` in
4642 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4645 $as_echo_n 0123456789 >"conftest.in"
4648 cat "conftest.in" "conftest.in" >"conftest.tmp"
4649 mv "conftest.tmp" "conftest.in"
4650 cp "conftest.in" "conftest.nl"
4651 $as_echo 'EGREP' >> "conftest.nl"
4652 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4654 as_fn_arith $ac_count + 1 && ac_count=$as_val
4655 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4656 # Best one so far, save it but keep looking for a better one
4657 ac_cv_path_EGREP="$ac_path_EGREP"
4658 ac_path_EGREP_max=$ac_count
4660 # 10*(2^10) chars as input seems more than enough
4661 test $ac_count -gt 10 && break
4663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4666 $ac_path_EGREP_found && break 3
4671 if test -z "$ac_cv_path_EGREP"; then
4672 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4675 ac_cv_path_EGREP=$EGREP
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4681 $as_echo "$ac_cv_path_EGREP" >&6; }
4682 EGREP="$ac_cv_path_EGREP"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4686 $as_echo_n "checking for ANSI C header files... " >&6; }
4687 if test "${ac_cv_header_stdc+set}" = set; then :
4688 $as_echo_n "(cached) " >&6
4690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4691 /* end confdefs.h. */
4705 if ac_fn_c_try_compile "$LINENO"; then :
4706 ac_cv_header_stdc=yes
4708 ac_cv_header_stdc=no
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4712 if test $ac_cv_header_stdc = yes; then
4713 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4715 /* end confdefs.h. */
4719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4720 $EGREP "memchr" >/dev/null 2>&1; then :
4723 ac_cv_header_stdc=no
4729 if test $ac_cv_header_stdc = yes; then
4730 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4737 $EGREP "free" >/dev/null 2>&1; then :
4740 ac_cv_header_stdc=no
4746 if test $ac_cv_header_stdc = yes; then
4747 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4748 if test "$cross_compiling" = yes; then :
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4755 #if ((' ' & 0x0FF) == 0x020)
4756 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4757 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4759 # define ISLOWER(c) \
4760 (('a' <= (c) && (c) <= 'i') \
4761 || ('j' <= (c) && (c) <= 'r') \
4762 || ('s' <= (c) && (c) <= 'z'))
4763 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4766 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4771 for (i = 0; i < 256; i++)
4772 if (XOR (islower (i), ISLOWER (i))
4773 || toupper (i) != TOUPPER (i))
4778 if ac_fn_c_try_run "$LINENO"; then :
4781 ac_cv_header_stdc=no
4783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4784 conftest.$ac_objext conftest.beam conftest.$ac_ext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4790 $as_echo "$ac_cv_header_stdc" >&6; }
4791 if test $ac_cv_header_stdc = yes; then
4793 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4797 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4799 inttypes.h stdint.h unistd.h
4801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4802 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4804 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4805 cat >>confdefs.h <<_ACEOF
4806 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4815 if test "$ac_cv_prog_cc_stdc" != no; then
4818 U=_ ANSI2KNR=./ansi2knr
4820 # Ensure some checks needed by ansi2knr itself.
4822 for ac_header in string.h
4824 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4825 if test "x$ac_cv_header_string_h" = x""yes; then :
4826 cat >>confdefs.h <<_ACEOF
4827 #define HAVE_STRING_H 1
4835 test "x$U" != "x" && as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5
4837 enable_win32_dll=yes
4840 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4841 if test -n "$ac_tool_prefix"; then
4842 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4843 set dummy ${ac_tool_prefix}as; ac_word=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if test "${ac_cv_prog_AS+set}" = set; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -n "$AS"; then
4850 ac_cv_prog_AS="$AS" # Let the user override the test.
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir=.
4857 for ac_exec_ext in '' $ac_executable_extensions; do
4858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4859 ac_cv_prog_AS="${ac_tool_prefix}as"
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 if test -n "$AS"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4872 $as_echo "$AS" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4880 if test -z "$ac_cv_prog_AS"; then
4882 # Extract the first word of "as", so it can be a program name with args.
4883 set dummy as; ac_word=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$ac_ct_AS"; then
4890 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_ac_ct_AS="as"
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4910 if test -n "$ac_ct_AS"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4912 $as_echo "$ac_ct_AS" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4918 if test "x$ac_ct_AS" = x; then
4921 case $cross_compiling:$ac_tool_warned in
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4925 ac_tool_warned=yes ;;
4933 if test -n "$ac_tool_prefix"; then
4934 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4935 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4937 $as_echo_n "checking for $ac_word... " >&6; }
4938 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4939 $as_echo_n "(cached) " >&6
4941 if test -n "$DLLTOOL"; then
4942 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 test -z "$as_dir" && as_dir=.
4949 for ac_exec_ext in '' $ac_executable_extensions; do
4950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4951 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4961 DLLTOOL=$ac_cv_prog_DLLTOOL
4962 if test -n "$DLLTOOL"; then
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4964 $as_echo "$DLLTOOL" >&6; }
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4967 $as_echo "no" >&6; }
4972 if test -z "$ac_cv_prog_DLLTOOL"; then
4973 ac_ct_DLLTOOL=$DLLTOOL
4974 # Extract the first word of "dlltool", so it can be a program name with args.
4975 set dummy dlltool; ac_word=$2
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4977 $as_echo_n "checking for $ac_word... " >&6; }
4978 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4979 $as_echo_n "(cached) " >&6
4981 if test -n "$ac_ct_DLLTOOL"; then
4982 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 test -z "$as_dir" && as_dir=.
4989 for ac_exec_ext in '' $ac_executable_extensions; do
4990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4991 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5001 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5002 if test -n "$ac_ct_DLLTOOL"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5004 $as_echo "$ac_ct_DLLTOOL" >&6; }
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5007 $as_echo "no" >&6; }
5010 if test "x$ac_ct_DLLTOOL" = x; then
5013 case $cross_compiling:$ac_tool_warned in
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5017 ac_tool_warned=yes ;;
5019 DLLTOOL=$ac_ct_DLLTOOL
5022 DLLTOOL="$ac_cv_prog_DLLTOOL"
5025 if test -n "$ac_tool_prefix"; then
5026 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5027 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$OBJDUMP"; then
5034 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 OBJDUMP=$ac_cv_prog_OBJDUMP
5054 if test -n "$OBJDUMP"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5056 $as_echo "$OBJDUMP" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5064 if test -z "$ac_cv_prog_OBJDUMP"; then
5065 ac_ct_OBJDUMP=$OBJDUMP
5066 # Extract the first word of "objdump", so it can be a program name with args.
5067 set dummy objdump; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$ac_ct_OBJDUMP"; then
5074 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5094 if test -n "$ac_ct_OBJDUMP"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5096 $as_echo "$ac_ct_OBJDUMP" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5102 if test "x$ac_ct_OBJDUMP" = x; then
5105 case $cross_compiling:$ac_tool_warned in
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5109 ac_tool_warned=yes ;;
5111 OBJDUMP=$ac_ct_OBJDUMP
5114 OBJDUMP="$ac_cv_prog_OBJDUMP"
5120 test -z "$AS" && AS=as
5126 test -z "$DLLTOOL" && DLLTOOL=dlltool
5132 test -z "$OBJDUMP" && OBJDUMP=objdump
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5143 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5148 macro_version='2.2.6b'
5149 macro_revision='1.3017'
5163 ltmain="$ac_aux_dir/ltmain.sh"
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5166 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5167 if test "${ac_cv_path_SED+set}" = set; then :
5168 $as_echo_n "(cached) " >&6
5170 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5171 for ac_i in 1 2 3 4 5 6 7; do
5172 ac_script="$ac_script$as_nl$ac_script"
5174 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5175 { ac_script=; unset ac_script;}
5176 if test -z "$SED"; then
5177 ac_path_SED_found=false
5178 # Loop through the user's path and test for each of PROGNAME-LIST
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir=.
5184 for ac_prog in sed gsed; do
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5187 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5188 # Check for GNU ac_path_SED and select it if it is found.
5189 # Check for GNU $ac_path_SED
5190 case `"$ac_path_SED" --version 2>&1` in
5192 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5195 $as_echo_n 0123456789 >"conftest.in"
5198 cat "conftest.in" "conftest.in" >"conftest.tmp"
5199 mv "conftest.tmp" "conftest.in"
5200 cp "conftest.in" "conftest.nl"
5201 $as_echo '' >> "conftest.nl"
5202 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5203 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5204 as_fn_arith $ac_count + 1 && ac_count=$as_val
5205 if test $ac_count -gt ${ac_path_SED_max-0}; then
5206 # Best one so far, save it but keep looking for a better one
5207 ac_cv_path_SED="$ac_path_SED"
5208 ac_path_SED_max=$ac_count
5210 # 10*(2^10) chars as input seems more than enough
5211 test $ac_count -gt 10 && break
5213 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5216 $ac_path_SED_found && break 3
5221 if test -z "$ac_cv_path_SED"; then
5222 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5230 $as_echo "$ac_cv_path_SED" >&6; }
5231 SED="$ac_cv_path_SED"
5234 test -z "$SED" && SED=sed
5235 Xsed="$SED -e 1s/^X//"
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5248 $as_echo_n "checking for fgrep... " >&6; }
5249 if test "${ac_cv_path_FGREP+set}" = set; then :
5250 $as_echo_n "(cached) " >&6
5252 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5253 then ac_cv_path_FGREP="$GREP -F"
5255 if test -z "$FGREP"; then
5256 ac_path_FGREP_found=false
5257 # Loop through the user's path and test for each of PROGNAME-LIST
5258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5259 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5262 test -z "$as_dir" && as_dir=.
5263 for ac_prog in fgrep; do
5264 for ac_exec_ext in '' $ac_executable_extensions; do
5265 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5266 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5267 # Check for GNU ac_path_FGREP and select it if it is found.
5268 # Check for GNU $ac_path_FGREP
5269 case `"$ac_path_FGREP" --version 2>&1` in
5271 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5274 $as_echo_n 0123456789 >"conftest.in"
5277 cat "conftest.in" "conftest.in" >"conftest.tmp"
5278 mv "conftest.tmp" "conftest.in"
5279 cp "conftest.in" "conftest.nl"
5280 $as_echo 'FGREP' >> "conftest.nl"
5281 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5282 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5283 as_fn_arith $ac_count + 1 && ac_count=$as_val
5284 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5285 # Best one so far, save it but keep looking for a better one
5286 ac_cv_path_FGREP="$ac_path_FGREP"
5287 ac_path_FGREP_max=$ac_count
5289 # 10*(2^10) chars as input seems more than enough
5290 test $ac_count -gt 10 && break
5292 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5295 $ac_path_FGREP_found && break 3
5300 if test -z "$ac_cv_path_FGREP"; then
5301 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5304 ac_cv_path_FGREP=$FGREP
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5310 $as_echo "$ac_cv_path_FGREP" >&6; }
5311 FGREP="$ac_cv_path_FGREP"
5314 test -z "$GREP" && GREP=grep
5334 # Check whether --with-gnu-ld was given.
5335 if test "${with_gnu_ld+set}" = set; then :
5336 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5342 if test "$GCC" = yes; then
5343 # Check if gcc -print-prog-name=ld gives a path.
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5345 $as_echo_n "checking for ld used by $CC... " >&6; }
5348 # gcc leaves a trailing carriage return which upsets mingw
5349 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5351 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5354 # Accept absolute paths.
5356 re_direlt='/[^/][^/]*/\.\./'
5357 # Canonicalize the pathname of ld
5358 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5359 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5360 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5362 test -z "$LD" && LD="$ac_prog"
5365 # If it fails, then pretend we aren't using GCC.
5369 # If it is relative, then search for the first ld in PATH.
5373 elif test "$with_gnu_ld" = yes; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5375 $as_echo_n "checking for GNU ld... " >&6; }
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5378 $as_echo_n "checking for non-GNU ld... " >&6; }
5380 if test "${lt_cv_path_LD+set}" = set; then :
5381 $as_echo_n "(cached) " >&6
5383 if test -z "$LD"; then
5384 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5385 for ac_dir in $PATH; do
5387 test -z "$ac_dir" && ac_dir=.
5388 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5389 lt_cv_path_LD="$ac_dir/$ac_prog"
5390 # Check to see if the program is GNU ld. I'd rather use --version,
5391 # but apparently some variants of GNU ld only accept -v.
5392 # Break only if it was the GNU/non-GNU ld that we prefer.
5393 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5394 *GNU* | *'with BFD'*)
5395 test "$with_gnu_ld" != no && break
5398 test "$with_gnu_ld" != yes && break
5405 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5410 if test -n "$LD"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5412 $as_echo "$LD" >&6; }
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5415 $as_echo "no" >&6; }
5417 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5419 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5420 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5423 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5424 case `$LD -v 2>&1 </dev/null` in
5425 *GNU* | *'with BFD'*)
5426 lt_cv_prog_gnu_ld=yes
5429 lt_cv_prog_gnu_ld=no
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5434 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5435 with_gnu_ld=$lt_cv_prog_gnu_ld
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5446 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5447 if test "${lt_cv_path_NM+set}" = set; then :
5448 $as_echo_n "(cached) " >&6
5450 if test -n "$NM"; then
5451 # Let the user override the test.
5454 lt_nm_to_check="${ac_tool_prefix}nm"
5455 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5456 lt_nm_to_check="$lt_nm_to_check nm"
5458 for lt_tmp_nm in $lt_nm_to_check; do
5459 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5460 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5462 test -z "$ac_dir" && ac_dir=.
5463 tmp_nm="$ac_dir/$lt_tmp_nm"
5464 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5465 # Check to see if the nm accepts a BSD-compat flag.
5466 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5467 # nm: unknown option "B" ignored
5468 # Tru64's nm complains that /dev/null is an invalid object file
5469 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5470 */dev/null* | *'Invalid file or object type'*)
5471 lt_cv_path_NM="$tmp_nm -B"
5475 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5477 lt_cv_path_NM="$tmp_nm -p"
5481 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5482 continue # so that we can try to find one that supports BSD flags
5491 : ${lt_cv_path_NM=no}
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5495 $as_echo "$lt_cv_path_NM" >&6; }
5496 if test "$lt_cv_path_NM" != "no"; then
5499 # Didn't find any BSD compatible name lister, look for dumpbin.
5500 if test -n "$ac_tool_prefix"; then
5501 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5503 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5504 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5506 $as_echo_n "checking for $ac_word... " >&6; }
5507 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -n "$DUMPBIN"; then
5511 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 test -z "$as_dir" && as_dir=.
5518 for ac_exec_ext in '' $ac_executable_extensions; do
5519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5520 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 DUMPBIN=$ac_cv_prog_DUMPBIN
5531 if test -n "$DUMPBIN"; then
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5533 $as_echo "$DUMPBIN" >&6; }
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5536 $as_echo "no" >&6; }
5540 test -n "$DUMPBIN" && break
5543 if test -z "$DUMPBIN"; then
5544 ac_ct_DUMPBIN=$DUMPBIN
5545 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5547 # Extract the first word of "$ac_prog", so it can be a program name with args.
5548 set dummy $ac_prog; ac_word=$2
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550 $as_echo_n "checking for $ac_word... " >&6; }
5551 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5552 $as_echo_n "(cached) " >&6
5554 if test -n "$ac_ct_DUMPBIN"; then
5555 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561 test -z "$as_dir" && as_dir=.
5562 for ac_exec_ext in '' $ac_executable_extensions; do
5563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5564 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5574 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5575 if test -n "$ac_ct_DUMPBIN"; then
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5577 $as_echo "$ac_ct_DUMPBIN" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }
5584 test -n "$ac_ct_DUMPBIN" && break
5587 if test "x$ac_ct_DUMPBIN" = x; then
5590 case $cross_compiling:$ac_tool_warned in
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5594 ac_tool_warned=yes ;;
5596 DUMPBIN=$ac_ct_DUMPBIN
5601 if test "$DUMPBIN" != ":"; then
5605 test -z "$NM" && NM=nm
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5613 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5614 if test "${lt_cv_nm_interface+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5617 lt_cv_nm_interface="BSD nm"
5618 echo "int some_variable = 0;" > conftest.$ac_ext
5619 (eval echo "\"\$as_me:5619: $ac_compile\"" >&5)
5620 (eval "$ac_compile" 2>conftest.err)
5621 cat conftest.err >&5
5622 (eval echo "\"\$as_me:5622: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5623 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5624 cat conftest.err >&5
5625 (eval echo "\"\$as_me:5625: output\"" >&5)
5626 cat conftest.out >&5
5627 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5628 lt_cv_nm_interface="MS dumpbin"
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5633 $as_echo "$lt_cv_nm_interface" >&6; }
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5636 $as_echo_n "checking whether ln -s works... " >&6; }
5638 if test "$LN_S" = "ln -s"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5640 $as_echo "yes" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5643 $as_echo "no, using $LN_S" >&6; }
5646 # find the maximum length of command line arguments
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5648 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5649 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5650 $as_echo_n "(cached) " >&6
5657 # On DJGPP, this test can blow up pretty badly due to problems in libc
5658 # (any single argument exceeding 2000 bytes causes a buffer overrun
5659 # during glob expansion). Even if it were fixed, the result of this
5660 # check would be larger than it should be.
5661 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5665 # Under GNU Hurd, this test is not required because there is
5666 # no limit to the length of command line arguments.
5667 # Libtool will interpret -1 as no limit whatsoever
5668 lt_cv_sys_max_cmd_len=-1;
5671 cygwin* | mingw* | cegcc*)
5672 # On Win9x/ME, this test blows up -- it succeeds, but takes
5673 # about 5 minutes as the teststring grows exponentially.
5674 # Worse, since 9x/ME are not pre-emptively multitasking,
5675 # you end up with a "frozen" computer, even though with patience
5676 # the test eventually succeeds (with a max line length of 256k).
5677 # Instead, let's just punt: use the minimum linelength reported by
5678 # all of the supported platforms: 8192 (on NT/2K/XP).
5679 lt_cv_sys_max_cmd_len=8192;
5683 # On AmigaOS with pdksh, this test takes hours, literally.
5684 # So we just punt and use a minimum line length of 8192.
5685 lt_cv_sys_max_cmd_len=8192;
5688 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5689 # This has been around since 386BSD, at least. Likely further.
5690 if test -x /sbin/sysctl; then
5691 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5692 elif test -x /usr/sbin/sysctl; then
5693 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5695 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5697 # And add a safety zone
5698 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5699 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5703 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5704 lt_cv_sys_max_cmd_len=196608
5708 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5709 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5710 # nice to cause kernel panics so lets avoid the loop below.
5711 # First set a reasonable default.
5712 lt_cv_sys_max_cmd_len=16384
5714 if test -x /sbin/sysconfig; then
5715 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5716 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5721 lt_cv_sys_max_cmd_len=102400
5723 sysv5* | sco5v6* | sysv4.2uw2*)
5724 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5725 if test -n "$kargmax"; then
5726 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5728 lt_cv_sys_max_cmd_len=32768
5732 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5733 if test -n "$lt_cv_sys_max_cmd_len"; then
5734 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5735 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5737 # Make teststring a little bigger before we do anything with it.
5738 # a 1K string should be a reasonable start.
5739 for i in 1 2 3 4 5 6 7 8 ; do
5740 teststring=$teststring$teststring
5742 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5743 # If test is not a shell built-in, we'll probably end up computing a
5744 # maximum length that is only half of the actual maximum length, but
5746 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5747 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5748 test $i != 17 # 1/2 MB should be enough
5751 teststring=$teststring$teststring
5753 # Only check the string length outside the loop.
5754 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5756 # Add a significant safety factor because C++ compilers can tack on
5757 # massive amounts of additional arguments before passing them to the
5758 # linker. It appears as though 1/2 is a usable value.
5759 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5766 if test -n $lt_cv_sys_max_cmd_len ; then
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5768 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5771 $as_echo "none" >&6; }
5773 max_cmd_len=$lt_cv_sys_max_cmd_len
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5785 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5786 # Try some XSI features
5789 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5791 && eval 'test $(( 1 + 1 )) -eq 2 \
5792 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5795 $as_echo "$xsi_shell" >&6; }
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5799 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5801 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5803 && lt_shell_append=yes
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5805 $as_echo "$lt_shell_append" >&6; }
5808 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5818 # test EBCDIC or ASCII
5819 case `echo X|tr X '\101'` in
5820 A) # ASCII based system
5821 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5822 lt_SP2NL='tr \040 \012'
5823 lt_NL2SP='tr \015\012 \040\040'
5825 *) # EBCDIC based system
5826 lt_SP2NL='tr \100 \n'
5827 lt_NL2SP='tr \r\n \100\100'
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5840 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5841 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5842 $as_echo_n "(cached) " >&6
5844 lt_cv_ld_reload_flag='-r'
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5847 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5848 reload_flag=$lt_cv_ld_reload_flag
5849 case $reload_flag in
5851 *) reload_flag=" $reload_flag" ;;
5853 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5856 if test "$GCC" = yes; then
5857 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5859 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5872 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$OBJDUMP"; then
5881 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 OBJDUMP=$ac_cv_prog_OBJDUMP
5901 if test -n "$OBJDUMP"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5903 $as_echo "$OBJDUMP" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5911 if test -z "$ac_cv_prog_OBJDUMP"; then
5912 ac_ct_OBJDUMP=$OBJDUMP
5913 # Extract the first word of "objdump", so it can be a program name with args.
5914 set dummy objdump; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$ac_ct_OBJDUMP"; then
5921 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5930 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5941 if test -n "$ac_ct_OBJDUMP"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5943 $as_echo "$ac_ct_OBJDUMP" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5949 if test "x$ac_ct_OBJDUMP" = x; then
5952 case $cross_compiling:$ac_tool_warned in
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5956 ac_tool_warned=yes ;;
5958 OBJDUMP=$ac_ct_OBJDUMP
5961 OBJDUMP="$ac_cv_prog_OBJDUMP"
5964 test -z "$OBJDUMP" && OBJDUMP=objdump
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5972 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5973 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5974 $as_echo_n "(cached) " >&6
5976 lt_cv_file_magic_cmd='$MAGIC_CMD'
5977 lt_cv_file_magic_test_file=
5978 lt_cv_deplibs_check_method='unknown'
5979 # Need to set the preceding variable on all platforms that support
5980 # interlibrary dependencies.
5981 # 'none' -- dependencies not supported.
5982 # `unknown' -- same as none, but documents that we really don't know.
5983 # 'pass_all' -- all dependencies passed with no checks.
5984 # 'test_compile' -- check by making test program.
5985 # 'file_magic [[regex]]' -- check by looking for files in library path
5986 # which responds to the $file_magic_cmd with a given extended regex.
5987 # If you have `file' or equivalent on your system and you're not sure
5988 # whether `pass_all' will *always* work, you probably want this one.
5992 lt_cv_deplibs_check_method=pass_all
5996 lt_cv_deplibs_check_method=pass_all
6000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6001 lt_cv_file_magic_cmd='/usr/bin/file -L'
6002 lt_cv_file_magic_test_file=/shlib/libc.so
6006 # func_win32_libid is a shell function defined in ltmain.sh
6007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6008 lt_cv_file_magic_cmd='func_win32_libid'
6012 # Base MSYS/MinGW do not provide the 'file' command needed by
6013 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6014 # unless we find 'file', for example because we are cross-compiling.
6015 if ( file / ) >/dev/null 2>&1; then
6016 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6017 lt_cv_file_magic_cmd='func_win32_libid'
6019 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6020 lt_cv_file_magic_cmd='$OBJDUMP -f'
6025 # use the weaker test based on 'objdump'. See mingw*.
6026 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6027 lt_cv_file_magic_cmd='$OBJDUMP -f'
6030 darwin* | rhapsody*)
6031 lt_cv_deplibs_check_method=pass_all
6034 freebsd* | dragonfly*)
6035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6038 # Not sure whether the presence of OpenBSD here was a mistake.
6039 # Let's accept both of them until this is cleared up.
6040 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6041 lt_cv_file_magic_cmd=/usr/bin/file
6042 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6046 lt_cv_deplibs_check_method=pass_all
6051 lt_cv_deplibs_check_method=pass_all
6054 hpux10.20* | hpux11*)
6055 lt_cv_file_magic_cmd=/usr/bin/file
6058 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6059 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6062 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]'
6063 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6066 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6067 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6073 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6074 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6077 irix5* | irix6* | nonstopux*)
6079 *-32|*"-32 ") libmagic=32-bit;;
6080 *-n32|*"-n32 ") libmagic=N32;;
6081 *-64|*"-64 ") libmagic=64-bit;;
6082 *) libmagic=never-match;;
6084 lt_cv_deplibs_check_method=pass_all
6087 # This must be Linux ELF.
6088 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6089 lt_cv_deplibs_check_method=pass_all
6092 netbsd* | netbsdelf*-gnu)
6093 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6094 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6096 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6101 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6102 lt_cv_file_magic_cmd=/usr/bin/file
6103 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6107 lt_cv_deplibs_check_method=pass_all
6111 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6112 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6114 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6118 osf3* | osf4* | osf5*)
6119 lt_cv_deplibs_check_method=pass_all
6123 lt_cv_deplibs_check_method=pass_all
6127 lt_cv_deplibs_check_method=pass_all
6130 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6131 lt_cv_deplibs_check_method=pass_all
6135 case $host_vendor in
6137 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]'
6138 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6141 lt_cv_deplibs_check_method=pass_all
6144 lt_cv_file_magic_cmd='/bin/file'
6145 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6148 lt_cv_file_magic_cmd='/bin/file'
6149 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6150 lt_cv_file_magic_test_file=/lib/libc.so
6153 lt_cv_deplibs_check_method=pass_all
6156 lt_cv_deplibs_check_method=pass_all
6162 lt_cv_deplibs_check_method=pass_all
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6168 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6169 file_magic_cmd=$lt_cv_file_magic_cmd
6170 deplibs_check_method=$lt_cv_deplibs_check_method
6171 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6184 if test -n "$ac_tool_prefix"; then
6185 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6186 set dummy ${ac_tool_prefix}ar; ac_word=$2
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6188 $as_echo_n "checking for $ac_word... " >&6; }
6189 if test "${ac_cv_prog_AR+set}" = set; then :
6190 $as_echo_n "(cached) " >&6
6192 if test -n "$AR"; then
6193 ac_cv_prog_AR="$AR" # Let the user override the test.
6195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6199 test -z "$as_dir" && as_dir=.
6200 for ac_exec_ext in '' $ac_executable_extensions; do
6201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6202 ac_cv_prog_AR="${ac_tool_prefix}ar"
6203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 if test -n "$AR"; then
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6215 $as_echo "$AR" >&6; }
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6223 if test -z "$ac_cv_prog_AR"; then
6225 # Extract the first word of "ar", so it can be a program name with args.
6226 set dummy ar; ac_word=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6230 $as_echo_n "(cached) " >&6
6232 if test -n "$ac_ct_AR"; then
6233 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6239 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
6241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6242 ac_cv_prog_ac_ct_AR="ar"
6243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6252 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6253 if test -n "$ac_ct_AR"; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6255 $as_echo "$ac_ct_AR" >&6; }
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6258 $as_echo "no" >&6; }
6261 if test "x$ac_ct_AR" = x; then
6264 case $cross_compiling:$ac_tool_warned in
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6268 ac_tool_warned=yes ;;
6276 test -z "$AR" && AR=ar
6277 test -z "$AR_FLAGS" && AR_FLAGS=cru
6289 if test -n "$ac_tool_prefix"; then
6290 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6291 set dummy ${ac_tool_prefix}strip; ac_word=$2
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6293 $as_echo_n "checking for $ac_word... " >&6; }
6294 if test "${ac_cv_prog_STRIP+set}" = set; then :
6295 $as_echo_n "(cached) " >&6
6297 if test -n "$STRIP"; then
6298 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6307 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 STRIP=$ac_cv_prog_STRIP
6318 if test -n "$STRIP"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6320 $as_echo "$STRIP" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323 $as_echo "no" >&6; }
6328 if test -z "$ac_cv_prog_STRIP"; then
6330 # Extract the first word of "strip", so it can be a program name with args.
6331 set dummy strip; ac_word=$2
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6333 $as_echo_n "checking for $ac_word... " >&6; }
6334 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6335 $as_echo_n "(cached) " >&6
6337 if test -n "$ac_ct_STRIP"; then
6338 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6344 test -z "$as_dir" && as_dir=.
6345 for ac_exec_ext in '' $ac_executable_extensions; do
6346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347 ac_cv_prog_ac_ct_STRIP="strip"
6348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6358 if test -n "$ac_ct_STRIP"; then
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6360 $as_echo "$ac_ct_STRIP" >&6; }
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6363 $as_echo "no" >&6; }
6366 if test "x$ac_ct_STRIP" = x; then
6369 case $cross_compiling:$ac_tool_warned in
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6372 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6373 ac_tool_warned=yes ;;
6378 STRIP="$ac_cv_prog_STRIP"
6381 test -z "$STRIP" && STRIP=:
6388 if test -n "$ac_tool_prefix"; then
6389 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6390 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6392 $as_echo_n "checking for $ac_word... " >&6; }
6393 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6394 $as_echo_n "(cached) " >&6
6396 if test -n "$RANLIB"; then
6397 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 test -z "$as_dir" && as_dir=.
6404 for ac_exec_ext in '' $ac_executable_extensions; do
6405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6406 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 RANLIB=$ac_cv_prog_RANLIB
6417 if test -n "$RANLIB"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6419 $as_echo "$RANLIB" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 $as_echo "no" >&6; }
6427 if test -z "$ac_cv_prog_RANLIB"; then
6428 ac_ct_RANLIB=$RANLIB
6429 # Extract the first word of "ranlib", so it can be a program name with args.
6430 set dummy ranlib; ac_word=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6434 $as_echo_n "(cached) " >&6
6436 if test -n "$ac_ct_RANLIB"; then
6437 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir=.
6444 for ac_exec_ext in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_ac_ct_RANLIB="ranlib"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6457 if test -n "$ac_ct_RANLIB"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6459 $as_echo "$ac_ct_RANLIB" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6465 if test "x$ac_ct_RANLIB" = x; then
6468 case $cross_compiling:$ac_tool_warned in
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6472 ac_tool_warned=yes ;;
6474 RANLIB=$ac_ct_RANLIB
6477 RANLIB="$ac_cv_prog_RANLIB"
6480 test -z "$RANLIB" && RANLIB=:
6487 # Determine commands to create old-style static archives.
6488 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6489 old_postinstall_cmds='chmod 644 $oldlib'
6490 old_postuninstall_cmds=
6492 if test -n "$RANLIB"; then
6495 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6498 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6501 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6537 # If no C compiler was specified, use CC.
6540 # If no C compiler flags were specified, use CFLAGS.
6541 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6543 # Allow CC to be a program name with arguments.
6547 # Check for command to grab the raw symbol name followed by C symbol from nm.
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6549 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6550 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6551 $as_echo_n "(cached) " >&6
6554 # These are sane defaults that work on at least a few old systems.
6555 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6557 # Character class describing NM global symbol codes.
6558 symcode='[BCDEGRST]'
6560 # Regexp to match symbols that can be accessed directly from C.
6561 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6563 # Define system-specific variables.
6568 cygwin* | mingw* | pw32* | cegcc*)
6569 symcode='[ABCDGISTW]'
6572 if test "$host_cpu" = ia64; then
6573 symcode='[ABCDEGRST]'
6577 symcode='[BCDEGRST]'
6580 symcode='[BCDEGQRST]'
6591 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6599 # If we're using GNU nm, then use its standard symbol codes.
6600 case `$NM -V 2>&1` in
6601 *GNU* | *'with BFD'*)
6602 symcode='[ABCDGIRSTW]' ;;
6605 # Transform an extracted symbol line into a proper C declaration.
6606 # Some systems (esp. on ia64) link data and code symbols differently,
6607 # so use this general approach.
6608 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6610 # Transform an extracted symbol line into symbol name and symbol address
6611 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6612 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'"
6614 # Handle CRLF in mingw tool chain
6618 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6622 # Try without a prefix underscore, then with it.
6623 for ac_symprfx in "" "_"; do
6625 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6626 symxfrm="\\1 $ac_symprfx\\2 \\2"
6628 # Write the raw and C identifiers.
6629 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6630 # Fake it for dumpbin and say T for any non-static function
6631 # and D for any global variable.
6632 # Also find C++ and __fastcall symbols from MSVC++,
6633 # which start with @ or ?.
6634 lt_cv_sys_global_symbol_pipe="$AWK '"\
6635 " {last_section=section; section=\$ 3};"\
6636 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6637 " \$ 0!~/External *\|/{next};"\
6638 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6639 " {if(hide[section]) next};"\
6640 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6641 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6642 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6643 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6644 " ' prfx=^$ac_symprfx"
6646 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6649 # Check to see that the pipe works correctly.
6653 cat > conftest.$ac_ext <<_LT_EOF
6658 void nm_test_func(void);
6659 void nm_test_func(void){}
6663 int main(){nm_test_var='a';nm_test_func();return(0);}
6666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6667 (eval $ac_compile) 2>&5
6669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6670 test $ac_status = 0; }; then
6671 # Now try to grab the symbols.
6673 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6674 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6677 test $ac_status = 0; } && test -s "$nlist"; then
6678 # Try sorting and uniquifying the output.
6679 if sort "$nlist" | uniq > "$nlist"T; then
6680 mv -f "$nlist"T "$nlist"
6685 # Make sure that we snagged all the symbols we need.
6686 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6687 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6688 cat <<_LT_EOF > conftest.$ac_ext
6694 # Now generate the symbol file.
6695 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6697 cat <<_LT_EOF >> conftest.$ac_ext
6699 /* The mapping between symbol names and symbols. */
6704 lt__PROGRAM__LTX_preloaded_symbols[] =
6706 { "@PROGRAM@", (void *) 0 },
6708 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6709 cat <<\_LT_EOF >> conftest.$ac_ext
6713 /* This works around a problem in FreeBSD linker */
6714 #ifdef FREEBSD_WORKAROUND
6715 static const void *lt_preloaded_setup() {
6716 return lt__PROGRAM__LTX_preloaded_symbols;
6724 # Now try linking the two files.
6725 mv conftest.$ac_objext conftstm.$ac_objext
6726 lt_save_LIBS="$LIBS"
6727 lt_save_CFLAGS="$CFLAGS"
6728 LIBS="conftstm.$ac_objext"
6729 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6731 (eval $ac_link) 2>&5
6733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6734 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6737 LIBS="$lt_save_LIBS"
6738 CFLAGS="$lt_save_CFLAGS"
6740 echo "cannot find nm_test_func in $nlist" >&5
6743 echo "cannot find nm_test_var in $nlist" >&5
6746 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6749 echo "$progname: failed program was:" >&5
6750 cat conftest.$ac_ext >&5
6752 rm -rf conftest* conftst*
6754 # Do not use the global_symbol_pipe unless it works.
6755 if test "$pipe_works" = yes; then
6758 lt_cv_sys_global_symbol_pipe=
6764 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6765 lt_cv_sys_global_symbol_to_cdecl=
6767 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6769 $as_echo "failed" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6772 $as_echo "ok" >&6; }
6796 # Check whether --enable-libtool-lock was given.
6797 if test "${enable_libtool_lock+set}" = set; then :
6798 enableval=$enable_libtool_lock;
6801 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6803 # Some flags need to be propagated to the compiler or linker for good
6807 # Find out which ABI we are using.
6808 echo 'int i;' > conftest.$ac_ext
6809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6810 (eval $ac_compile) 2>&5
6812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6813 test $ac_status = 0; }; then
6814 case `/usr/bin/file conftest.$ac_objext` in
6826 # Find out which ABI we are using.
6827 echo '#line 6827 "configure"' > conftest.$ac_ext
6828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6829 (eval $ac_compile) 2>&5
6831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6832 test $ac_status = 0; }; then
6833 if test "$lt_cv_prog_gnu_ld" = yes; then
6834 case `/usr/bin/file conftest.$ac_objext` in
6836 LD="${LD-ld} -melf32bsmip"
6839 LD="${LD-ld} -melf32bmipn32"
6842 LD="${LD-ld} -melf64bmip"
6846 case `/usr/bin/file conftest.$ac_objext` in
6862 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6863 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6864 # Find out which ABI we are using.
6865 echo 'int i;' > conftest.$ac_ext
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6867 (eval $ac_compile) 2>&5
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; }; then
6871 case `/usr/bin/file conftest.o` in
6874 x86_64-*kfreebsd*-gnu)
6875 LD="${LD-ld} -m elf_i386_fbsd"
6878 LD="${LD-ld} -m elf_i386"
6880 ppc64-*linux*|powerpc64-*linux*)
6881 LD="${LD-ld} -m elf32ppclinux"
6884 LD="${LD-ld} -m elf_s390"
6887 LD="${LD-ld} -m elf32_sparc"
6893 x86_64-*kfreebsd*-gnu)
6894 LD="${LD-ld} -m elf_x86_64_fbsd"
6897 LD="${LD-ld} -m elf_x86_64"
6899 ppc*-*linux*|powerpc*-*linux*)
6900 LD="${LD-ld} -m elf64ppc"
6902 s390*-*linux*|s390*-*tpf*)
6903 LD="${LD-ld} -m elf64_s390"
6906 LD="${LD-ld} -m elf64_sparc"
6916 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6917 SAVE_CFLAGS="$CFLAGS"
6918 CFLAGS="$CFLAGS -belf"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6920 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6921 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6922 $as_echo_n "(cached) " >&6
6925 ac_cpp='$CPP $CPPFLAGS'
6926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6941 if ac_fn_c_try_link "$LINENO"; then :
6942 lt_cv_cc_needs_belf=yes
6944 lt_cv_cc_needs_belf=no
6946 rm -f core conftest.err conftest.$ac_objext \
6947 conftest$ac_exeext conftest.$ac_ext
6949 ac_cpp='$CPP $CPPFLAGS'
6950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6956 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6957 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6958 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6959 CFLAGS="$SAVE_CFLAGS"
6963 # Find out which ABI we are using.
6964 echo 'int i;' > conftest.$ac_ext
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6966 (eval $ac_compile) 2>&5
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; }; then
6970 case `/usr/bin/file conftest.o` in
6972 case $lt_cv_prog_gnu_ld in
6973 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6975 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6987 need_locks="$enable_libtool_lock"
6991 rhapsody* | darwin*)
6992 if test -n "$ac_tool_prefix"; then
6993 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6994 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$DSYMUTIL"; then
7001 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7021 if test -n "$DSYMUTIL"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7023 $as_echo "$DSYMUTIL" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7031 if test -z "$ac_cv_prog_DSYMUTIL"; then
7032 ac_ct_DSYMUTIL=$DSYMUTIL
7033 # Extract the first word of "dsymutil", so it can be a program name with args.
7034 set dummy dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7061 if test -n "$ac_ct_DSYMUTIL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7063 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7069 if test "x$ac_ct_DSYMUTIL" = x; then
7072 case $cross_compiling:$ac_tool_warned in
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7076 ac_tool_warned=yes ;;
7078 DSYMUTIL=$ac_ct_DSYMUTIL
7081 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7084 if test -n "$ac_tool_prefix"; then
7085 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7086 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7090 $as_echo_n "(cached) " >&6
7092 if test -n "$NMEDIT"; then
7093 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 NMEDIT=$ac_cv_prog_NMEDIT
7113 if test -n "$NMEDIT"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7115 $as_echo "$NMEDIT" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7123 if test -z "$ac_cv_prog_NMEDIT"; then
7124 ac_ct_NMEDIT=$NMEDIT
7125 # Extract the first word of "nmedit", so it can be a program name with args.
7126 set dummy nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$ac_ct_NMEDIT"; then
7133 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7153 if test -n "$ac_ct_NMEDIT"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7155 $as_echo "$ac_ct_NMEDIT" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7161 if test "x$ac_ct_NMEDIT" = x; then
7164 case $cross_compiling:$ac_tool_warned in
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7168 ac_tool_warned=yes ;;
7170 NMEDIT=$ac_ct_NMEDIT
7173 NMEDIT="$ac_cv_prog_NMEDIT"
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if test "${ac_cv_prog_LIPO+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$LIPO"; then
7185 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 LIPO=$ac_cv_prog_LIPO
7205 if test -n "$LIPO"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7207 $as_echo "$LIPO" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_LIPO"; then
7217 # Extract the first word of "lipo", so it can be a program name with args.
7218 set dummy lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$ac_ct_LIPO"; then
7225 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_ac_ct_LIPO="lipo"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7245 if test -n "$ac_ct_LIPO"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7247 $as_echo "$ac_ct_LIPO" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253 if test "x$ac_ct_LIPO" = x; then
7256 case $cross_compiling:$ac_tool_warned in
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7265 LIPO="$ac_cv_prog_LIPO"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$OTOOL"; then
7277 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 OTOOL=$ac_cv_prog_OTOOL
7297 if test -n "$OTOOL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7299 $as_echo "$OTOOL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_OTOOL"; then
7309 # Extract the first word of "otool", so it can be a program name with args.
7310 set dummy otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_OTOOL"; then
7317 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_OTOOL="otool"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7337 if test -n "$ac_ct_OTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7339 $as_echo "$ac_ct_OTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_OTOOL" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7357 OTOOL="$ac_cv_prog_OTOOL"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$OTOOL64"; then
7369 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 OTOOL64=$ac_cv_prog_OTOOL64
7389 if test -n "$OTOOL64"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7391 $as_echo "$OTOOL64" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_OTOOL64"; then
7400 ac_ct_OTOOL64=$OTOOL64
7401 # Extract the first word of "otool64", so it can be a program name with args.
7402 set dummy otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$ac_ct_OTOOL64"; then
7409 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_OTOOL64="otool64"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7429 if test -n "$ac_ct_OTOOL64"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7431 $as_echo "$ac_ct_OTOOL64" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_OTOOL64" = x; then
7440 case $cross_compiling:$ac_tool_warned in
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7446 OTOOL64=$ac_ct_OTOOL64
7449 OTOOL64="$ac_cv_prog_OTOOL64"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7479 $as_echo_n "checking for -single_module linker flag... " >&6; }
7480 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7481 $as_echo_n "(cached) " >&6
7483 lt_cv_apple_cc_single_mod=no
7484 if test -z "${LT_MULTI_MODULE}"; then
7485 # By default we will add the -single_module flag. You can override
7486 # by either setting the environment variable LT_MULTI_MODULE
7487 # non-empty at configure time, or by adding -multi_module to the
7489 rm -rf libconftest.dylib*
7490 echo "int foo(void){return 1;}" > conftest.c
7491 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7492 -dynamiclib -Wl,-single_module conftest.c" >&5
7493 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7494 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7496 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7497 lt_cv_apple_cc_single_mod=yes
7499 cat conftest.err >&5
7501 rm -rf libconftest.dylib*
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7506 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7508 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7509 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7512 lt_cv_ld_exported_symbols_list=no
7513 save_LDFLAGS=$LDFLAGS
7514 echo "_main" > conftest.sym
7515 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7517 /* end confdefs.h. */
7527 if ac_fn_c_try_link "$LINENO"; then :
7528 lt_cv_ld_exported_symbols_list=yes
7530 lt_cv_ld_exported_symbols_list=no
7532 rm -f core conftest.err conftest.$ac_objext \
7533 conftest$ac_exeext conftest.$ac_ext
7534 LDFLAGS="$save_LDFLAGS"
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7538 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7540 rhapsody* | darwin1.[012])
7541 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7543 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7544 darwin*) # darwin 5.x on
7545 # if running on 10.5 or later, the deployment target defaults
7546 # to the OS version, if on x86, and 10.4, the deployment
7547 # target defaults to 10.4. Don't you love it?
7548 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7549 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7550 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7552 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7554 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7558 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7559 _lt_dar_single_mod='$single_module'
7561 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7562 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7564 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7566 if test "$DSYMUTIL" != ":"; then
7567 _lt_dsymutil='~$DSYMUTIL $lib || :'
7574 for ac_header in dlfcn.h
7576 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7578 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7579 cat >>confdefs.h <<_ACEOF
7580 #define HAVE_DLFCN_H 1
7597 # Check whether --enable-shared was given.
7598 if test "${enable_shared+set}" = set; then :
7599 enableval=$enable_shared; p=${PACKAGE-default}
7601 yes) enable_shared=yes ;;
7602 no) enable_shared=no ;;
7605 # Look at the argument we got. We use all the common list separators.
7606 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7607 for pkg in $enableval; do
7609 if test "X$pkg" = "X$p"; then
7628 # Check whether --enable-static was given.
7629 if test "${enable_static+set}" = set; then :
7630 enableval=$enable_static; p=${PACKAGE-default}
7632 yes) enable_static=yes ;;
7633 no) enable_static=no ;;
7636 # Look at the argument we got. We use all the common list separators.
7637 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7638 for pkg in $enableval; do
7640 if test "X$pkg" = "X$p"; then
7660 # Check whether --with-pic was given.
7661 if test "${with_pic+set}" = set; then :
7662 withval=$with_pic; pic_mode="$withval"
7668 test -z "$pic_mode" && pic_mode=default
7676 # Check whether --enable-fast-install was given.
7677 if test "${enable_fast_install+set}" = set; then :
7678 enableval=$enable_fast_install; p=${PACKAGE-default}
7680 yes) enable_fast_install=yes ;;
7681 no) enable_fast_install=no ;;
7683 enable_fast_install=no
7684 # Look at the argument we got. We use all the common list separators.
7685 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7686 for pkg in $enableval; do
7688 if test "X$pkg" = "X$p"; then
7689 enable_fast_install=yes
7696 enable_fast_install=yes
7709 # This can be used to rebuild libtool when needed
7710 LIBTOOL_DEPS="$ltmain"
7712 # Always use our own libtool.
7713 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7739 test -z "$LN_S" && LN_S="ln -s"
7754 if test -n "${ZSH_VERSION+set}" ; then
7755 setopt NO_GLOB_SUBST
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7759 $as_echo_n "checking for objdir... " >&6; }
7760 if test "${lt_cv_objdir+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7763 rm -f .libs 2>/dev/null
7764 mkdir .libs 2>/dev/null
7765 if test -d .libs; then
7768 # MS-DOS does not allow filenames that begin with a dot.
7771 rmdir .libs 2>/dev/null
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7774 $as_echo "$lt_cv_objdir" >&6; }
7775 objdir=$lt_cv_objdir
7781 cat >>confdefs.h <<_ACEOF
7782 #define LT_OBJDIR "$lt_cv_objdir/"
7803 # AIX sometimes has problems with the GCC collect2 program. For some
7804 # reason, if we set the COLLECT_NAMES environment variable, the problems
7805 # vanish in a puff of smoke.
7806 if test "X${COLLECT_NAMES+set}" != Xset; then
7808 export COLLECT_NAMES
7813 # Sed substitution that helps us do robust quoting. It backslashifies
7814 # metacharacters that are still active within double-quoted strings.
7815 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7817 # Same as above, but do not quote variable references.
7818 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7820 # Sed substitution to delay expansion of an escaped shell variable in a
7821 # double_quote_subst'ed string.
7822 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7824 # Sed substitution to delay expansion of an escaped single quote.
7825 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7827 # Sed substitution to avoid accidental globbing in evaled expressions
7828 no_glob_subst='s/\*/\\\*/g'
7832 can_build_shared=yes
7834 # All known linkers require a `.a' archive for static linking (except MSVC,
7835 # which needs '.lib').
7838 with_gnu_ld="$lt_cv_prog_gnu_ld"
7841 old_CFLAGS="$CFLAGS"
7843 # Set sane defaults for various variables
7844 test -z "$CC" && CC=cc
7845 test -z "$LTCC" && LTCC=$CC
7846 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7847 test -z "$LD" && LD=ld
7848 test -z "$ac_objext" && ac_objext=o
7850 for cc_temp in $compiler""; do
7852 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7853 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7858 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7861 # Only perform the check for file, if the check method requires it
7862 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7863 case $deplibs_check_method in
7865 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7867 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7868 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7869 $as_echo_n "(cached) " >&6
7873 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7876 lt_save_MAGIC_CMD="$MAGIC_CMD"
7877 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7878 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7879 for ac_dir in $ac_dummy; do
7881 test -z "$ac_dir" && ac_dir=.
7882 if test -f $ac_dir/${ac_tool_prefix}file; then
7883 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7884 if test -n "$file_magic_test_file"; then
7885 case $deplibs_check_method in
7887 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7888 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7889 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7890 $EGREP "$file_magic_regex" > /dev/null; then
7895 *** Warning: the command libtool uses to detect shared libraries,
7896 *** $file_magic_cmd, produces output that libtool cannot recognize.
7897 *** The result is that libtool may fail to recognize shared libraries
7898 *** as such. This will affect the creation of libtool libraries that
7899 *** depend on shared libraries, but programs linked with such libtool
7900 *** libraries will work regardless of this problem. Nevertheless, you
7901 *** may want to report the problem to your system manager and/or to
7902 *** bug-libtool@gnu.org
7912 MAGIC_CMD="$lt_save_MAGIC_CMD"
7917 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7918 if test -n "$MAGIC_CMD"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7920 $as_echo "$MAGIC_CMD" >&6; }
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923 $as_echo "no" >&6; }
7930 if test -z "$lt_cv_path_MAGIC_CMD"; then
7931 if test -n "$ac_tool_prefix"; then
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7933 $as_echo_n "checking for file... " >&6; }
7934 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7942 lt_save_MAGIC_CMD="$MAGIC_CMD"
7943 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7944 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7945 for ac_dir in $ac_dummy; do
7947 test -z "$ac_dir" && ac_dir=.
7948 if test -f $ac_dir/file; then
7949 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7950 if test -n "$file_magic_test_file"; then
7951 case $deplibs_check_method in
7953 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7955 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7956 $EGREP "$file_magic_regex" > /dev/null; then
7961 *** Warning: the command libtool uses to detect shared libraries,
7962 *** $file_magic_cmd, produces output that libtool cannot recognize.
7963 *** The result is that libtool may fail to recognize shared libraries
7964 *** as such. This will affect the creation of libtool libraries that
7965 *** depend on shared libraries, but programs linked with such libtool
7966 *** libraries will work regardless of this problem. Nevertheless, you
7967 *** may want to report the problem to your system manager and/or to
7968 *** bug-libtool@gnu.org
7978 MAGIC_CMD="$lt_save_MAGIC_CMD"
7983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7984 if test -n "$MAGIC_CMD"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7986 $as_echo "$MAGIC_CMD" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
8002 # Use C for the default configuration in the libtool script
8006 ac_cpp='$CPP $CPPFLAGS'
8007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8012 # Source file extension for C test sources.
8015 # Object file extension for compiled C test sources.
8019 # Code to be used in simple compile tests
8020 lt_simple_compile_test_code="int some_variable = 0;"
8022 # Code to be used in simple link tests
8023 lt_simple_link_test_code='int main(){return(0);}'
8031 # If no C compiler was specified, use CC.
8034 # If no C compiler flags were specified, use CFLAGS.
8035 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8037 # Allow CC to be a program name with arguments.
8040 # Save the default compiler, since it gets overwritten when the other
8041 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8042 compiler_DEFAULT=$CC
8044 # save warnings/boilerplate of simple test code
8045 ac_outfile=conftest.$ac_objext
8046 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8047 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8048 _lt_compiler_boilerplate=`cat conftest.err`
8051 ac_outfile=conftest.$ac_objext
8052 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8053 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8054 _lt_linker_boilerplate=`cat conftest.err`
8059 ## There is no encapsulation within the following macros, do not change
8060 ## the running order or otherwise move them around unless you know exactly
8061 ## what you are doing...
8062 if test -n "$compiler"; then
8064 lt_prog_compiler_no_builtin_flag=
8066 if test "$GCC" = yes; then
8067 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8070 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8071 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_prog_compiler_rtti_exceptions=no
8075 ac_outfile=conftest.$ac_objext
8076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8077 lt_compiler_flag="-fno-rtti -fno-exceptions"
8078 # Insert the option either (1) after the last *FLAGS variable, or
8079 # (2) before a word containing "conftest.", or (3) at the end.
8080 # Note that $ac_compile itself does not contain backslashes and begins
8081 # with a dollar sign (not a hyphen), so the echo should work correctly.
8082 # The option is referenced via a variable to avoid confusing sed.
8083 lt_compile=`echo "$ac_compile" | $SED \
8084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8086 -e 's:$: $lt_compiler_flag:'`
8087 (eval echo "\"\$as_me:8087: $lt_compile\"" >&5)
8088 (eval "$lt_compile" 2>conftest.err)
8090 cat conftest.err >&5
8091 echo "$as_me:8091: \$? = $ac_status" >&5
8092 if (exit $ac_status) && test -s "$ac_outfile"; then
8093 # The compiler can only warn and ignore the option if not recognized
8094 # So say no if there are warnings other than the usual output.
8095 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8096 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8097 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8098 lt_cv_prog_compiler_rtti_exceptions=yes
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8105 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8107 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8108 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8120 lt_prog_compiler_wl=
8121 lt_prog_compiler_pic=
8122 lt_prog_compiler_static=
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8125 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8127 if test "$GCC" = yes; then
8128 lt_prog_compiler_wl='-Wl,'
8129 lt_prog_compiler_static='-static'
8133 # All AIX code is PIC.
8134 if test "$host_cpu" = ia64; then
8135 # AIX 5 now supports IA64 processor
8136 lt_prog_compiler_static='-Bstatic'
8143 # see comment about AmigaOS4 .so support
8144 lt_prog_compiler_pic='-fPIC'
8147 # FIXME: we need at least 68020 code to build shared libraries, but
8148 # adding the `-m68020' flag to GCC prevents building anything better,
8150 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8155 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8156 # PIC is the default for these OSes.
8159 mingw* | cygwin* | pw32* | os2* | cegcc*)
8160 # This hack is so that the source file can tell whether it is being
8161 # built for inclusion in a dll (and should export symbols for example).
8162 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8163 # (--disable-auto-import) libraries
8164 lt_prog_compiler_pic='-DDLL_EXPORT'
8167 darwin* | rhapsody*)
8168 # PIC is the default on this platform
8169 # Common symbols not allowed in MH_DYLIB files
8170 lt_prog_compiler_pic='-fno-common'
8174 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8175 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8176 # sets the default TLS model and affects inlining.
8182 lt_prog_compiler_pic='-fPIC'
8188 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8189 # Instead, we relocate shared libraries at runtime.
8193 # Just because we use GCC doesn't mean we suddenly get shared libraries
8194 # on systems that don't support them.
8195 lt_prog_compiler_can_build_shared=no
8200 # QNX uses GNU C++, but need to define -shared option too, otherwise
8202 lt_prog_compiler_pic='-fPIC -shared'
8206 if test -d /usr/nec; then
8207 lt_prog_compiler_pic=-Kconform_pic
8212 lt_prog_compiler_pic='-fPIC'
8216 # PORTME Check for flag to pass linker flags through the system compiler.
8219 lt_prog_compiler_wl='-Wl,'
8220 if test "$host_cpu" = ia64; then
8221 # AIX 5 now supports IA64 processor
8222 lt_prog_compiler_static='-Bstatic'
8224 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8228 mingw* | cygwin* | pw32* | os2* | cegcc*)
8229 # This hack is so that the source file can tell whether it is being
8230 # built for inclusion in a dll (and should export symbols for example).
8231 lt_prog_compiler_pic='-DDLL_EXPORT'
8234 hpux9* | hpux10* | hpux11*)
8235 lt_prog_compiler_wl='-Wl,'
8236 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8243 lt_prog_compiler_pic='+Z'
8246 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8247 lt_prog_compiler_static='${wl}-a ${wl}archive'
8250 irix5* | irix6* | nonstopux*)
8251 lt_prog_compiler_wl='-Wl,'
8252 # PIC (with -KPIC) is the default.
8253 lt_prog_compiler_static='-non_shared'
8256 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8257 case $cc_basename in
8258 # old Intel for x86_64 which still supported -KPIC.
8260 lt_prog_compiler_wl='-Wl,'
8261 lt_prog_compiler_pic='-KPIC'
8262 lt_prog_compiler_static='-static'
8264 # icc used to be incompatible with GCC.
8265 # ICC 10 doesn't accept -KPIC any more.
8267 lt_prog_compiler_wl='-Wl,'
8268 lt_prog_compiler_pic='-fPIC'
8269 lt_prog_compiler_static='-static'
8271 # Lahey Fortran 8.1.
8273 lt_prog_compiler_wl='-Wl,'
8274 lt_prog_compiler_pic='--shared'
8275 lt_prog_compiler_static='--static'
8277 pgcc* | pgf77* | pgf90* | pgf95*)
8278 # Portland Group compilers (*not* the Pentium gcc compiler,
8279 # which looks to be a dead project)
8280 lt_prog_compiler_wl='-Wl,'
8281 lt_prog_compiler_pic='-fpic'
8282 lt_prog_compiler_static='-Bstatic'
8285 lt_prog_compiler_wl='-Wl,'
8286 # All Alpha code is PIC.
8287 lt_prog_compiler_static='-non_shared'
8290 # IBM XL C 8.0/Fortran 10.1 on PPC
8291 lt_prog_compiler_wl='-Wl,'
8292 lt_prog_compiler_pic='-qpic'
8293 lt_prog_compiler_static='-qstaticlink'
8296 case `$CC -V 2>&1 | sed 5q` in
8299 lt_prog_compiler_pic='-KPIC'
8300 lt_prog_compiler_static='-Bstatic'
8301 lt_prog_compiler_wl='-Wl,'
8304 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8305 lt_prog_compiler_pic='-KPIC'
8306 lt_prog_compiler_static='-Bstatic'
8307 lt_prog_compiler_wl=''
8315 lt_prog_compiler_pic='-KPIC'
8316 lt_prog_compiler_static='-Bstatic'
8320 # QNX uses GNU C++, but need to define -shared option too, otherwise
8322 lt_prog_compiler_pic='-fPIC -shared'
8325 osf3* | osf4* | osf5*)
8326 lt_prog_compiler_wl='-Wl,'
8327 # All OSF/1 code is PIC.
8328 lt_prog_compiler_static='-non_shared'
8332 lt_prog_compiler_static='-non_shared'
8336 lt_prog_compiler_pic='-KPIC'
8337 lt_prog_compiler_static='-Bstatic'
8338 case $cc_basename in
8340 lt_prog_compiler_wl='-Qoption ld ';;
8342 lt_prog_compiler_wl='-Wl,';;
8347 lt_prog_compiler_wl='-Qoption ld '
8348 lt_prog_compiler_pic='-PIC'
8349 lt_prog_compiler_static='-Bstatic'
8352 sysv4 | sysv4.2uw2* | sysv4.3*)
8353 lt_prog_compiler_wl='-Wl,'
8354 lt_prog_compiler_pic='-KPIC'
8355 lt_prog_compiler_static='-Bstatic'
8359 if test -d /usr/nec ;then
8360 lt_prog_compiler_pic='-Kconform_pic'
8361 lt_prog_compiler_static='-Bstatic'
8365 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8366 lt_prog_compiler_wl='-Wl,'
8367 lt_prog_compiler_pic='-KPIC'
8368 lt_prog_compiler_static='-Bstatic'
8372 lt_prog_compiler_wl='-Wl,'
8373 lt_prog_compiler_can_build_shared=no
8377 lt_prog_compiler_pic='-pic'
8378 lt_prog_compiler_static='-Bstatic'
8382 lt_prog_compiler_can_build_shared=no
8388 # For platforms which do not support PIC, -DPIC is meaningless:
8390 lt_prog_compiler_pic=
8393 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8397 $as_echo "$lt_prog_compiler_pic" >&6; }
8405 # Check to make sure the PIC flag actually works.
8407 if test -n "$lt_prog_compiler_pic"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8409 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8410 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8411 $as_echo_n "(cached) " >&6
8413 lt_cv_prog_compiler_pic_works=no
8414 ac_outfile=conftest.$ac_objext
8415 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8416 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8417 # Insert the option either (1) after the last *FLAGS variable, or
8418 # (2) before a word containing "conftest.", or (3) at the end.
8419 # Note that $ac_compile itself does not contain backslashes and begins
8420 # with a dollar sign (not a hyphen), so the echo should work correctly.
8421 # The option is referenced via a variable to avoid confusing sed.
8422 lt_compile=`echo "$ac_compile" | $SED \
8423 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8424 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8425 -e 's:$: $lt_compiler_flag:'`
8426 (eval echo "\"\$as_me:8426: $lt_compile\"" >&5)
8427 (eval "$lt_compile" 2>conftest.err)
8429 cat conftest.err >&5
8430 echo "$as_me:8430: \$? = $ac_status" >&5
8431 if (exit $ac_status) && test -s "$ac_outfile"; then
8432 # The compiler can only warn and ignore the option if not recognized
8433 # So say no if there are warnings other than the usual output.
8434 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8435 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8436 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8437 lt_cv_prog_compiler_pic_works=yes
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8444 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8446 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8447 case $lt_prog_compiler_pic in
8449 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8452 lt_prog_compiler_pic=
8453 lt_prog_compiler_can_build_shared=no
8464 # Check to make sure the static flag actually works.
8466 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8468 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8469 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8470 $as_echo_n "(cached) " >&6
8472 lt_cv_prog_compiler_static_works=no
8473 save_LDFLAGS="$LDFLAGS"
8474 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8475 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8476 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8477 # The linker can only warn and ignore the option if not recognized
8478 # So say no if there are warnings
8479 if test -s conftest.err; then
8480 # Append any errors to the config.log.
8481 cat conftest.err 1>&5
8482 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8483 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8484 if diff conftest.exp conftest.er2 >/dev/null; then
8485 lt_cv_prog_compiler_static_works=yes
8488 lt_cv_prog_compiler_static_works=yes
8492 LDFLAGS="$save_LDFLAGS"
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8496 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8498 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8501 lt_prog_compiler_static=
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8511 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8512 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8513 $as_echo_n "(cached) " >&6
8515 lt_cv_prog_compiler_c_o=no
8516 $RM -r conftest 2>/dev/null
8520 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8522 lt_compiler_flag="-o out/conftest2.$ac_objext"
8523 # Insert the option either (1) after the last *FLAGS variable, or
8524 # (2) before a word containing "conftest.", or (3) at the end.
8525 # Note that $ac_compile itself does not contain backslashes and begins
8526 # with a dollar sign (not a hyphen), so the echo should work correctly.
8527 lt_compile=`echo "$ac_compile" | $SED \
8528 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8529 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8530 -e 's:$: $lt_compiler_flag:'`
8531 (eval echo "\"\$as_me:8531: $lt_compile\"" >&5)
8532 (eval "$lt_compile" 2>out/conftest.err)
8534 cat out/conftest.err >&5
8535 echo "$as_me:8535: \$? = $ac_status" >&5
8536 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8538 # The compiler can only warn and ignore the option if not recognized
8539 # So say no if there are warnings
8540 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8541 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8542 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8543 lt_cv_prog_compiler_c_o=yes
8548 # SGI C++ compiler will create directory out/ii_files/ for
8549 # template instantiation
8550 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8551 $RM out/* && rmdir out
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8558 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8567 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8568 $as_echo_n "(cached) " >&6
8570 lt_cv_prog_compiler_c_o=no
8571 $RM -r conftest 2>/dev/null
8575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8577 lt_compiler_flag="-o out/conftest2.$ac_objext"
8578 # Insert the option either (1) after the last *FLAGS variable, or
8579 # (2) before a word containing "conftest.", or (3) at the end.
8580 # Note that $ac_compile itself does not contain backslashes and begins
8581 # with a dollar sign (not a hyphen), so the echo should work correctly.
8582 lt_compile=`echo "$ac_compile" | $SED \
8583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8585 -e 's:$: $lt_compiler_flag:'`
8586 (eval echo "\"\$as_me:8586: $lt_compile\"" >&5)
8587 (eval "$lt_compile" 2>out/conftest.err)
8589 cat out/conftest.err >&5
8590 echo "$as_me:8590: \$? = $ac_status" >&5
8591 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8593 # The compiler can only warn and ignore the option if not recognized
8594 # So say no if there are warnings
8595 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8596 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8597 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8598 lt_cv_prog_compiler_c_o=yes
8603 # SGI C++ compiler will create directory out/ii_files/ for
8604 # template instantiation
8605 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8606 $RM out/* && rmdir out
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8613 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8618 hard_links="nottested"
8619 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8620 # do not overwrite the value of need_locks provided by the user
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8622 $as_echo_n "checking if we can lock with hard links... " >&6; }
8625 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8627 ln conftest.a conftest.b 2>&5 || hard_links=no
8628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8630 $as_echo "$hard_links" >&6; }
8631 if test "$hard_links" = no; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8646 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8649 allow_undefined_flag=
8650 always_export_symbols=no
8652 archive_expsym_cmds=
8653 compiler_needs_object=no
8654 enable_shared_with_static_runtimes=no
8655 export_dynamic_flag_spec=
8656 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8657 hardcode_automatic=no
8659 hardcode_direct_absolute=no
8660 hardcode_libdir_flag_spec=
8661 hardcode_libdir_flag_spec_ld=
8662 hardcode_libdir_separator=
8664 hardcode_shlibpath_var=unsupported
8666 link_all_deplibs=unknown
8669 old_archive_from_new_cmds=
8670 old_archive_from_expsyms_cmds=
8671 thread_safe_flag_spec=
8672 whole_archive_flag_spec=
8673 # include_expsyms should be a list of space-separated symbols to be *always*
8674 # included in the symbol list
8676 # exclude_expsyms can be an extended regexp of symbols to exclude
8677 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8678 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8679 # as well as any symbol that contains `d'.
8680 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8681 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8682 # platforms (ab)use it in PIC code, but their linkers get confused if
8683 # the symbol is explicitly referenced. Since portable code cannot
8684 # rely on this symbol name, it's probably fine to never include it in
8685 # preloaded symbol tables.
8686 # Exclude shared library initialization/finalization symbols.
8687 extract_expsyms_cmds=
8690 cygwin* | mingw* | pw32* | cegcc*)
8691 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8692 # When not using gcc, we currently assume that we are using
8693 # Microsoft Visual C++.
8694 if test "$GCC" != yes; then
8699 # we just hope/assume this is gcc and not c89 (= MSVC++)
8705 linux* | k*bsd*-gnu)
8711 if test "$with_gnu_ld" = yes; then
8712 # If archive_cmds runs LD, not CC, wlarc should be empty
8715 # Set some defaults for GNU ld with shared library support. These
8716 # are reset later if shared libraries are not supported. Putting them
8717 # here allows them to be overridden if necessary.
8718 runpath_var=LD_RUN_PATH
8719 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8720 export_dynamic_flag_spec='${wl}--export-dynamic'
8721 # ancient GNU ld didn't support --whole-archive et. al.
8722 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8723 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8725 whole_archive_flag_spec=
8727 supports_anon_versioning=no
8728 case `$LD -v 2>&1` in
8729 *GNU\ gold*) supports_anon_versioning=yes ;;
8730 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8731 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8732 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8733 *\ 2.11.*) ;; # other 2.11 versions
8734 *) supports_anon_versioning=yes ;;
8737 # See if GNU ld supports shared libraries.
8740 # On AIX/PPC, the GNU linker is very broken
8741 if test "$host_cpu" != ia64; then
8745 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8746 *** to be unable to reliably create shared libraries on AIX.
8747 *** Therefore, libtool is disabling shared libraries support. If you
8748 *** really care for shared libraries, you may want to modify your PATH
8749 *** so that a non-GNU linker is found, and then restart.
8758 # see comment about AmigaOS4 .so support
8759 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8760 archive_expsym_cmds=''
8763 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)'
8764 hardcode_libdir_flag_spec='-L$libdir'
8765 hardcode_minus_L=yes
8771 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8772 allow_undefined_flag=unsupported
8773 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8774 # support --undefined. This deserves some investigation. FIXME
8775 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8781 cygwin* | mingw* | pw32* | cegcc*)
8782 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8783 # as there is no search path for DLLs.
8784 hardcode_libdir_flag_spec='-L$libdir'
8785 allow_undefined_flag=unsupported
8786 always_export_symbols=no
8787 enable_shared_with_static_runtimes=yes
8788 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8790 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8791 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8792 # If the export-symbols file already is a .def file (1st line
8793 # is EXPORTS), use it as is; otherwise, prepend...
8794 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8795 cp $export_symbols $output_objdir/$soname.def;
8797 echo EXPORTS > $output_objdir/$soname.def;
8798 cat $export_symbols >> $output_objdir/$soname.def;
8800 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8808 hardcode_shlibpath_var=no
8809 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8810 export_dynamic_flag_spec='${wl}-E'
8811 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8812 # Instead, shared libraries are loaded at an image base (0x10000000 by
8813 # default) and relocated if they conflict, which is a slow very memory
8814 # consuming and fragmenting process. To avoid this, we pick a random,
8815 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8816 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8817 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8818 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'
8821 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8823 if test "$host_os" = linux-dietlibc; then
8824 case $cc_basename in
8825 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8828 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8829 && test "$tmp_diet" = no
8832 tmp_sharedflag='-shared'
8833 case $cc_basename,$host_cpu in
8834 pgcc*) # Portland Group C compiler
8835 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'
8836 tmp_addflag=' $pic_flag'
8838 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8839 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'
8840 tmp_addflag=' $pic_flag -Mnomain' ;;
8841 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8842 tmp_addflag=' -i_dynamic' ;;
8843 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8844 tmp_addflag=' -i_dynamic -nofor_main' ;;
8845 ifc* | ifort*) # Intel Fortran compiler
8846 tmp_addflag=' -nofor_main' ;;
8847 lf95*) # Lahey Fortran 8.1
8848 whole_archive_flag_spec=
8849 tmp_sharedflag='--shared' ;;
8850 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8851 tmp_sharedflag='-qmkshrobj'
8854 case `$CC -V 2>&1 | sed 5q` in
8855 *Sun\ C*) # Sun C 5.9
8856 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'
8857 compiler_needs_object=yes
8858 tmp_sharedflag='-G' ;;
8859 *Sun\ F*) # Sun Fortran 8.3
8860 tmp_sharedflag='-G' ;;
8862 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8864 if test "x$supports_anon_versioning" = xyes; then
8865 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8866 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8867 echo "local: *; };" >> $output_objdir/$libname.ver~
8868 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8871 case $cc_basename in
8873 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8874 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8875 hardcode_libdir_flag_spec=
8876 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8877 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8878 if test "x$supports_anon_versioning" = xyes; then
8879 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8880 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8881 echo "local: *; };" >> $output_objdir/$libname.ver~
8882 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8891 netbsd* | netbsdelf*-gnu)
8892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8893 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8896 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8897 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8906 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8907 *** create shared libraries on Solaris systems. Therefore, libtool
8908 *** is disabling shared libraries support. We urge you to upgrade GNU
8909 *** binutils to release 2.9.1 or newer. Another option is to modify
8910 *** your PATH or compiler configuration so that the native linker is
8911 *** used, and then restart.
8914 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8915 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8916 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8922 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8923 case `$LD -v 2>&1` in
8924 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8928 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8929 *** reliably create shared libraries on SCO systems. Therefore, libtool
8930 *** is disabling shared libraries support. We urge you to upgrade GNU
8931 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8932 *** your PATH or compiler configuration so that the native linker is
8933 *** used, and then restart.
8938 # For security reasons, it is highly recommended that you always
8939 # use absolute paths for naming shared libraries, and exclude the
8940 # DT_RUNPATH tag from executables and libraries. But doing so
8941 # requires that you compile everything twice, which is a pain.
8942 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8943 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8944 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8945 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8954 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8957 hardcode_shlibpath_var=no
8961 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8962 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8963 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8970 if test "$ld_shlibs" = no; then
8972 hardcode_libdir_flag_spec=
8973 export_dynamic_flag_spec=
8974 whole_archive_flag_spec=
8977 # PORTME fill in a description of your system's linker (not GNU ld)
8980 allow_undefined_flag=unsupported
8981 always_export_symbols=yes
8982 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'
8983 # Note: this linker hardcodes the directories in LIBPATH if there
8984 # are no directories specified by -L.
8985 hardcode_minus_L=yes
8986 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8987 # Neither direct hardcoding nor static linking is supported with a
8989 hardcode_direct=unsupported
8994 if test "$host_cpu" = ia64; then
8995 # On IA64, the linker does run time linking by default, so we don't
8996 # have to do anything special.
8997 aix_use_runtimelinking=no
8998 exp_sym_flag='-Bexport'
9001 # If we're using GNU nm, then we don't want the "-C" option.
9002 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9003 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9004 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'
9006 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'
9008 aix_use_runtimelinking=no
9010 # Test if we are trying to use run time linking or normal
9011 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9012 # need to do runtime linking.
9013 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9014 for ld_flag in $LDFLAGS; do
9015 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9016 aix_use_runtimelinking=yes
9023 exp_sym_flag='-bexport'
9024 no_entry_flag='-bnoentry'
9027 # When large executables or shared objects are built, AIX ld can
9028 # have problems creating the table of contents. If linking a library
9029 # or program results in "error TOC overflow" add -mminimal-toc to
9030 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9031 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9035 hardcode_direct_absolute=yes
9036 hardcode_libdir_separator=':'
9037 link_all_deplibs=yes
9038 file_list_spec='${wl}-f,'
9040 if test "$GCC" = yes; then
9041 case $host_os in aix4.[012]|aix4.[012].*)
9042 # We only want to do this on AIX 4.2 and lower, the check
9043 # below for broken collect2 doesn't work under 4.3+
9044 collect2name=`${CC} -print-prog-name=collect2`
9045 if test -f "$collect2name" &&
9046 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9048 # We have reworked collect2
9051 # We have old collect2
9052 hardcode_direct=unsupported
9053 # It fails to find uninstalled libraries when the uninstalled
9054 # path is not listed in the libpath. Setting hardcode_minus_L
9055 # to unsupported forces relinking
9056 hardcode_minus_L=yes
9057 hardcode_libdir_flag_spec='-L$libdir'
9058 hardcode_libdir_separator=
9062 shared_flag='-shared'
9063 if test "$aix_use_runtimelinking" = yes; then
9064 shared_flag="$shared_flag "'${wl}-G'
9069 if test "$host_cpu" = ia64; then
9070 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9071 # chokes on -Wl,-G. The following line is correct:
9074 if test "$aix_use_runtimelinking" = yes; then
9075 shared_flag='${wl}-G'
9077 shared_flag='${wl}-bM:SRE'
9082 export_dynamic_flag_spec='${wl}-bexpall'
9083 # It seems that -bexpall does not export symbols beginning with
9084 # underscore (_), so it is better to generate a list of symbols to export.
9085 always_export_symbols=yes
9086 if test "$aix_use_runtimelinking" = yes; then
9087 # Warning - without using the other runtime loading flags (-brtl),
9088 # -berok will link without error, but may produce a broken library.
9089 allow_undefined_flag='-berok'
9090 # Determine the default libpath from the value encoded in an
9092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9103 if ac_fn_c_try_link "$LINENO"; then :
9105 lt_aix_libpath_sed='
9106 /Import File Strings/,/^$/ {
9112 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9113 # Check for a 64-bit object if we didn't find anything.
9114 if test -z "$aix_libpath"; then
9115 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9118 rm -f core conftest.err conftest.$ac_objext \
9119 conftest$ac_exeext conftest.$ac_ext
9120 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9122 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9123 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"
9125 if test "$host_cpu" = ia64; then
9126 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9127 allow_undefined_flag="-z nodefs"
9128 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"
9130 # Determine the default libpath from the value encoded in an
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9143 if ac_fn_c_try_link "$LINENO"; then :
9145 lt_aix_libpath_sed='
9146 /Import File Strings/,/^$/ {
9152 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9153 # Check for a 64-bit object if we didn't find anything.
9154 if test -z "$aix_libpath"; then
9155 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9158 rm -f core conftest.err conftest.$ac_objext \
9159 conftest$ac_exeext conftest.$ac_ext
9160 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9162 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9163 # Warning - without using the other run time loading flags,
9164 # -berok will link without error, but may produce a broken library.
9165 no_undefined_flag=' ${wl}-bernotok'
9166 allow_undefined_flag=' ${wl}-berok'
9167 # Exported symbols can be pulled into shared objects from archives
9168 whole_archive_flag_spec='$convenience'
9169 archive_cmds_need_lc=yes
9170 # This is similar to how AIX traditionally builds its shared libraries.
9171 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'
9179 # see comment about AmigaOS4 .so support
9180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9181 archive_expsym_cmds=''
9184 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)'
9185 hardcode_libdir_flag_spec='-L$libdir'
9186 hardcode_minus_L=yes
9192 export_dynamic_flag_spec=-rdynamic
9195 cygwin* | mingw* | pw32* | cegcc*)
9196 # When not using gcc, we currently assume that we are using
9197 # Microsoft Visual C++.
9198 # hardcode_libdir_flag_spec is actually meaningless, as there is
9199 # no search path for DLLs.
9200 hardcode_libdir_flag_spec=' '
9201 allow_undefined_flag=unsupported
9202 # Tell ltmain to make .lib files, not .a files.
9204 # Tell ltmain to make .dll files, not .so files.
9206 # FIXME: Setting linknames here is a bad hack.
9207 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9208 # The linker will automatically build a .lib file if we build a DLL.
9209 old_archive_from_new_cmds='true'
9210 # FIXME: Should let the user specify the lib program.
9211 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9212 fix_srcfile_path='`cygpath -w "$srcfile"`'
9213 enable_shared_with_static_runtimes=yes
9216 darwin* | rhapsody*)
9219 archive_cmds_need_lc=no
9221 hardcode_automatic=yes
9222 hardcode_shlibpath_var=unsupported
9223 whole_archive_flag_spec=''
9224 link_all_deplibs=yes
9225 allow_undefined_flag="$_lt_dar_allow_undefined"
9226 case $cc_basename in
9227 ifort*) _lt_dar_can_shared=yes ;;
9228 *) _lt_dar_can_shared=$GCC ;;
9230 if test "$_lt_dar_can_shared" = "yes"; then
9231 output_verbose_link_cmd=echo
9232 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9233 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9234 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}"
9235 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}"
9244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9245 hardcode_libdir_flag_spec='-L$libdir'
9246 hardcode_shlibpath_var=no
9253 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9254 # support. Future versions do this automatically, but an explicit c++rt0.o
9255 # does not break anything, and helps significantly (at the cost of a little
9258 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9259 hardcode_libdir_flag_spec='-R$libdir'
9261 hardcode_shlibpath_var=no
9264 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9266 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9268 hardcode_minus_L=yes
9269 hardcode_shlibpath_var=no
9272 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9273 freebsd* | dragonfly*)
9274 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9275 hardcode_libdir_flag_spec='-R$libdir'
9277 hardcode_shlibpath_var=no
9281 if test "$GCC" = yes; then
9282 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'
9284 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'
9286 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9287 hardcode_libdir_separator=:
9290 # hardcode_minus_L: Not really in the search PATH,
9291 # but as the default location of the library.
9292 hardcode_minus_L=yes
9293 export_dynamic_flag_spec='${wl}-E'
9297 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9298 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9300 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9302 if test "$with_gnu_ld" = no; then
9303 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9304 hardcode_libdir_flag_spec_ld='+b $libdir'
9305 hardcode_libdir_separator=:
9307 hardcode_direct_absolute=yes
9308 export_dynamic_flag_spec='${wl}-E'
9309 # hardcode_minus_L: Not really in the search PATH,
9310 # but as the default location of the library.
9311 hardcode_minus_L=yes
9316 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9319 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9322 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9325 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9331 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9334 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9337 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9341 if test "$with_gnu_ld" = no; then
9342 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9343 hardcode_libdir_separator=:
9348 hardcode_shlibpath_var=no
9352 hardcode_direct_absolute=yes
9353 export_dynamic_flag_spec='${wl}-E'
9355 # hardcode_minus_L: Not really in the search PATH,
9356 # but as the default location of the library.
9357 hardcode_minus_L=yes
9363 irix5* | irix6* | nonstopux*)
9364 if test "$GCC" = yes; then
9365 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'
9366 # Try to use the -exported_symbol ld option, if it does not
9367 # work, assume that -exports_file does not work either and
9368 # implicitly export all symbols.
9369 save_LDFLAGS="$LDFLAGS"
9370 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9375 if ac_fn_c_try_link "$LINENO"; then :
9376 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'
9379 rm -f core conftest.err conftest.$ac_objext \
9380 conftest$ac_exeext conftest.$ac_ext
9381 LDFLAGS="$save_LDFLAGS"
9383 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'
9384 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'
9386 archive_cmds_need_lc='no'
9387 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9388 hardcode_libdir_separator=:
9390 link_all_deplibs=yes
9393 netbsd* | netbsdelf*-gnu)
9394 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9395 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9397 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9399 hardcode_libdir_flag_spec='-R$libdir'
9401 hardcode_shlibpath_var=no
9405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9407 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9408 hardcode_libdir_separator=:
9409 hardcode_shlibpath_var=no
9416 if test -f /usr/libexec/ld.so; then
9418 hardcode_shlibpath_var=no
9419 hardcode_direct_absolute=yes
9420 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9421 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9422 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9423 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9424 export_dynamic_flag_spec='${wl}-E'
9427 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9428 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9429 hardcode_libdir_flag_spec='-R$libdir'
9432 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9433 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9443 hardcode_libdir_flag_spec='-L$libdir'
9444 hardcode_minus_L=yes
9445 allow_undefined_flag=unsupported
9446 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'
9447 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9451 if test "$GCC" = yes; then
9452 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9453 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'
9455 allow_undefined_flag=' -expect_unresolved \*'
9456 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'
9458 archive_cmds_need_lc='no'
9459 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9460 hardcode_libdir_separator=:
9463 osf4* | osf5*) # as osf3* with the addition of -msym flag
9464 if test "$GCC" = yes; then
9465 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9466 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'
9467 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9469 allow_undefined_flag=' -expect_unresolved \*'
9470 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'
9471 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~
9472 $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'
9474 # Both c and cxx compiler support -rpath directly
9475 hardcode_libdir_flag_spec='-rpath $libdir'
9477 archive_cmds_need_lc='no'
9478 hardcode_libdir_separator=:
9482 no_undefined_flag=' -z defs'
9483 if test "$GCC" = yes; then
9485 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9486 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9487 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9489 case `$CC -V 2>&1` in
9492 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9493 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9494 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9498 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9499 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9500 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9504 hardcode_libdir_flag_spec='-R$libdir'
9505 hardcode_shlibpath_var=no
9507 solaris2.[0-5] | solaris2.[0-5].*) ;;
9509 # The compiler driver will combine and reorder linker options,
9510 # but understands `-z linker_flag'. GCC discards it without `$wl',
9511 # but is careful enough not to reorder.
9512 # Supported since Solaris 2.6 (maybe 2.5.1?)
9513 if test "$GCC" = yes; then
9514 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9516 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9520 link_all_deplibs=yes
9524 if test "x$host_vendor" = xsequent; then
9525 # Use $CC to link under sequent, because it throws in some extra .o
9526 # files that make .init and .fini sections work.
9527 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9529 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9531 hardcode_libdir_flag_spec='-L$libdir'
9533 hardcode_minus_L=yes
9534 hardcode_shlibpath_var=no
9538 case $host_vendor in
9540 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_direct=yes # is this really true???
9544 ## LD is ld it makes a PLAMLIB
9545 ## CC just makes a GrossModule.
9546 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9547 reload_cmds='$CC -r -o $output$reload_objs'
9551 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9552 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9555 runpath_var='LD_RUN_PATH'
9556 hardcode_shlibpath_var=no
9560 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9561 hardcode_shlibpath_var=no
9562 export_dynamic_flag_spec='-Bexport'
9566 if test -d /usr/nec; then
9567 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9568 hardcode_shlibpath_var=no
9569 runpath_var=LD_RUN_PATH
9570 hardcode_runpath_var=yes
9575 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9576 no_undefined_flag='${wl}-z,text'
9577 archive_cmds_need_lc=no
9578 hardcode_shlibpath_var=no
9579 runpath_var='LD_RUN_PATH'
9581 if test "$GCC" = yes; then
9582 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9583 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9585 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9586 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9590 sysv5* | sco3.2v5* | sco5v6*)
9591 # Note: We can NOT use -z defs as we might desire, because we do not
9592 # link with -lc, and that would cause any symbols used from libc to
9593 # always be unresolved, which means just about no library would
9594 # ever link correctly. If we're not using GNU ld we use -z text
9595 # though, which does catch some bad symbols but isn't as heavy-handed
9597 no_undefined_flag='${wl}-z,text'
9598 allow_undefined_flag='${wl}-z,nodefs'
9599 archive_cmds_need_lc=no
9600 hardcode_shlibpath_var=no
9601 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9602 hardcode_libdir_separator=':'
9603 link_all_deplibs=yes
9604 export_dynamic_flag_spec='${wl}-Bexport'
9605 runpath_var='LD_RUN_PATH'
9607 if test "$GCC" = yes; then
9608 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9609 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9611 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9612 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9617 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9618 hardcode_libdir_flag_spec='-L$libdir'
9619 hardcode_shlibpath_var=no
9627 if test x$host_vendor = xsni; then
9629 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9630 export_dynamic_flag_spec='${wl}-Blargedynsym'
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9637 $as_echo "$ld_shlibs" >&6; }
9638 test "$ld_shlibs" = no && can_build_shared=no
9640 with_gnu_ld=$with_gnu_ld
9657 # Do we need to explicitly link libc?
9659 case "x$archive_cmds_need_lc" in
9661 # Assume -lc should be added
9662 archive_cmds_need_lc=yes
9664 if test "$enable_shared" = yes && test "$GCC" = yes; then
9665 case $archive_cmds in
9667 # FIXME: we may have to deal with multi-command sequences.
9670 # Test whether the compiler implicitly links with -lc since on some
9671 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9672 # to ld, don't add -lc before -lgcc.
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9674 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9676 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9678 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9679 (eval $ac_compile) 2>&5
9681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9682 test $ac_status = 0; } 2>conftest.err; then
9685 libobjs=conftest.$ac_objext
9687 wl=$lt_prog_compiler_wl
9688 pic_flag=$lt_prog_compiler_pic
9694 lt_save_allow_undefined_flag=$allow_undefined_flag
9695 allow_undefined_flag=
9696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9697 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9700 test $ac_status = 0; }
9702 archive_cmds_need_lc=no
9704 archive_cmds_need_lc=yes
9706 allow_undefined_flag=$lt_save_allow_undefined_flag
9708 cat conftest.err 1>&5
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9712 $as_echo "$archive_cmds_need_lc" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9876 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9878 if test "$GCC" = yes; then
9880 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9881 *) lt_awk_arg="/^libraries:/" ;;
9883 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9884 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9885 # if the path contains ";" then we assume it to be the separator
9886 # otherwise default to the standard path separator (i.e. ":") - it is
9887 # assumed that no part of a normal pathname contains ";" but that should
9888 # okay in the real world where ";" in dirpaths is itself problematic.
9889 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9891 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9893 # Ok, now we have the path, separated by spaces, we can step through it
9894 # and add multilib dir if necessary.
9895 lt_tmp_lt_search_path_spec=
9896 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9897 for lt_sys_path in $lt_search_path_spec; do
9898 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9899 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9901 test -d "$lt_sys_path" && \
9902 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9905 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9906 BEGIN {RS=" "; FS="/|\n";} {
9909 for (lt_i = NF; lt_i > 0; lt_i--) {
9910 if ($lt_i != "" && $lt_i != ".") {
9911 if ($lt_i == "..") {
9914 if (lt_count == 0) {
9915 lt_foo="/" $lt_i lt_foo;
9922 if (lt_foo != "") { lt_freq[lt_foo]++; }
9923 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9925 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9927 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9930 libname_spec='lib$name'
9938 shlibpath_overrides_runpath=unknown
9940 dynamic_linker="$host_os ld.so"
9941 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9942 need_lib_prefix=unknown
9943 hardcode_into_libs=no
9945 # when you set need_version to no, make sure it does not cause -set_version
9946 # flags to be left without arguments
9947 need_version=unknown
9952 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9953 shlibpath_var=LIBPATH
9955 # AIX 3 has no versioning support, so we append a major version to the name.
9956 soname_spec='${libname}${release}${shared_ext}$major'
9963 hardcode_into_libs=yes
9964 if test "$host_cpu" = ia64; then
9965 # AIX 5 supports IA64
9966 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9967 shlibpath_var=LD_LIBRARY_PATH
9969 # With GCC up to 2.95.x, collect2 would create an import file
9970 # for dependence libraries. The import file would start with
9971 # the line `#! .'. This would cause the generated library to
9972 # depend on `.', always an invalid library. This was fixed in
9973 # development snapshots of GCC prior to 3.0.
9975 aix4 | aix4.[01] | aix4.[01].*)
9976 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9978 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9985 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9986 # soname into executable. Probably we can add versioning support to
9987 # collect2, so additional links can be useful in future.
9988 if test "$aix_use_runtimelinking" = yes; then
9989 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9990 # instead of lib<name>.a to let people know that these are not
9991 # typical AIX shared libraries.
9992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9994 # We preserve .a as extension for shared libraries through AIX4.2
9995 # and later when we are not doing run time linking.
9996 library_names_spec='${libname}${release}.a $libname.a'
9997 soname_spec='${libname}${release}${shared_ext}$major'
9999 shlibpath_var=LIBPATH
10006 # Since July 2007 AmigaOS4 officially supports .so libraries.
10007 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10011 library_names_spec='$libname.ixlibrary $libname.a'
10012 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10013 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'
10019 library_names_spec='${libname}${shared_ext}'
10020 dynamic_linker="$host_os ld.so"
10021 shlibpath_var=LIBRARY_PATH
10027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028 soname_spec='${libname}${release}${shared_ext}$major'
10029 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10030 shlibpath_var=LD_LIBRARY_PATH
10031 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10032 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10033 # the default ld.so.conf also contains /usr/contrib/lib and
10034 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10035 # libtool to hard-code these into programs
10038 cygwin* | mingw* | pw32* | cegcc*)
10039 version_type=windows
10044 case $GCC,$host_os in
10045 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10046 library_names_spec='$libname.dll.a'
10047 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10048 postinstall_cmds='base_file=`basename \${file}`~
10049 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10050 dldir=$destdir/`dirname \$dlpath`~
10051 test -d \$dldir || mkdir -p \$dldir~
10052 $install_prog $dir/$dlname \$dldir/$dlname~
10053 chmod a+x \$dldir/$dlname~
10054 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10055 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10057 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10058 dlpath=$dir/\$dldll~
10060 shlibpath_overrides_runpath=yes
10064 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10065 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10066 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10069 # MinGW DLLs use traditional 'lib' prefix
10070 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10071 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10072 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10073 # It is most probably a Windows format PATH printed by
10074 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10075 # path with ; separators, and with drive letters. We can handle the
10076 # drive letters (cygwin fileutils understands them), so leave them,
10077 # especially as we might pass files found there to a mingw objdump,
10078 # which wouldn't understand a cygwinified path. Ahh.
10079 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10081 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10085 # pw32 DLLs use 'pw' prefix rather than 'lib'
10086 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10092 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10095 dynamic_linker='Win32 ld.exe'
10096 # FIXME: first we should search . and the directory the executable is in
10100 darwin* | rhapsody*)
10101 dynamic_linker="$host_os dyld"
10102 version_type=darwin
10105 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10106 soname_spec='${libname}${release}${major}$shared_ext'
10107 shlibpath_overrides_runpath=yes
10108 shlibpath_var=DYLD_LIBRARY_PATH
10109 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10111 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10112 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10119 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10120 soname_spec='${libname}${release}${shared_ext}$major'
10121 shlibpath_var=LD_LIBRARY_PATH
10128 freebsd* | dragonfly*)
10129 # DragonFly does not have aout. When/if they implement a new
10130 # versioning mechanism, adjust this.
10131 if test -x /usr/bin/objformat; then
10132 objformat=`/usr/bin/objformat`
10135 freebsd[123]*) objformat=aout ;;
10136 *) objformat=elf ;;
10139 version_type=freebsd-$objformat
10140 case $version_type in
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10147 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10151 shlibpath_var=LD_LIBRARY_PATH
10154 shlibpath_overrides_runpath=yes
10156 freebsd3.[01]* | freebsdelf3.[01]*)
10157 shlibpath_overrides_runpath=yes
10158 hardcode_into_libs=yes
10160 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10161 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10162 shlibpath_overrides_runpath=no
10163 hardcode_into_libs=yes
10165 *) # from 4.6 on, and DragonFly
10166 shlibpath_overrides_runpath=yes
10167 hardcode_into_libs=yes
10176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10177 soname_spec='${libname}${release}${shared_ext}$major'
10178 shlibpath_var=LD_LIBRARY_PATH
10179 hardcode_into_libs=yes
10182 hpux9* | hpux10* | hpux11*)
10183 # Give a soname corresponding to the major version so that dld.sl refuses to
10184 # link against other versions.
10191 hardcode_into_libs=yes
10192 dynamic_linker="$host_os dld.so"
10193 shlibpath_var=LD_LIBRARY_PATH
10194 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10196 soname_spec='${libname}${release}${shared_ext}$major'
10197 if test "X$HPUX_IA64_MODE" = X32; then
10198 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10200 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10202 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10206 hardcode_into_libs=yes
10207 dynamic_linker="$host_os dld.sl"
10208 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10209 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10211 soname_spec='${libname}${release}${shared_ext}$major'
10212 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10213 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10217 dynamic_linker="$host_os dld.sl"
10218 shlibpath_var=SHLIB_PATH
10219 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10221 soname_spec='${libname}${release}${shared_ext}$major'
10224 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10225 postinstall_cmds='chmod 555 $lib'
10232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10233 soname_spec='${libname}${release}${shared_ext}$major'
10234 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10235 shlibpath_var=LD_LIBRARY_PATH
10236 shlibpath_overrides_runpath=no
10237 hardcode_into_libs=yes
10240 irix5* | irix6* | nonstopux*)
10242 nonstopux*) version_type=nonstopux ;;
10244 if test "$lt_cv_prog_gnu_ld" = yes; then
10252 soname_spec='${libname}${release}${shared_ext}$major'
10253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10255 irix5* | nonstopux*)
10256 libsuff= shlibsuff=
10259 case $LD in # libtool.m4 will add one of these switches to LD
10260 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10261 libsuff= shlibsuff= libmagic=32-bit;;
10262 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10263 libsuff=32 shlibsuff=N32 libmagic=N32;;
10264 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10265 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10266 *) libsuff= shlibsuff= libmagic=never-match;;
10270 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10271 shlibpath_overrides_runpath=no
10272 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10273 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10274 hardcode_into_libs=yes
10277 # No shared lib support for Linux oldld, aout, or coff.
10278 linux*oldld* | linux*aout* | linux*coff*)
10282 # This must be Linux ELF.
10283 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10288 soname_spec='${libname}${release}${shared_ext}$major'
10289 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10290 shlibpath_var=LD_LIBRARY_PATH
10291 shlibpath_overrides_runpath=no
10292 # Some binutils ld are patched to set DT_RUNPATH
10293 save_LDFLAGS=$LDFLAGS
10294 save_libdir=$libdir
10295 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10296 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10310 shlibpath_overrides_runpath=yes
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 LDFLAGS=$save_LDFLAGS
10316 libdir=$save_libdir
10318 # This implies no fast_install, which is unacceptable.
10319 # Some rework will be needed to allow for fast_install
10320 # before this can be enabled.
10321 hardcode_into_libs=yes
10323 # Append ld.so.conf contents to the search path
10324 if test -f /etc/ld.so.conf; then
10325 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' ' '`
10326 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10329 # We used to test for /lib/ld.so.1 and disable shared libraries on
10330 # powerpc, because MkLinux only supported shared libraries with the
10331 # GNU dynamic linker. Since this was broken with cross compilers,
10332 # most powerpc-linux boxes support dynamic linking these days and
10333 # people can always --disable-shared, the test was removed, and we
10334 # assume the GNU/Linux dynamic linker is in use.
10335 dynamic_linker='GNU/Linux ld.so'
10342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10343 soname_spec='${libname}${release}${shared_ext}$major'
10344 shlibpath_var=LD_LIBRARY_PATH
10345 shlibpath_overrides_runpath=no
10346 hardcode_into_libs=yes
10347 dynamic_linker='NetBSD ld.elf_so'
10354 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10356 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10357 dynamic_linker='NetBSD (a.out) ld.so'
10359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10360 soname_spec='${libname}${release}${shared_ext}$major'
10361 dynamic_linker='NetBSD ld.elf_so'
10363 shlibpath_var=LD_LIBRARY_PATH
10364 shlibpath_overrides_runpath=yes
10365 hardcode_into_libs=yes
10370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10371 shlibpath_var=LD_LIBRARY_PATH
10372 shlibpath_overrides_runpath=yes
10379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380 soname_spec='${libname}${release}${shared_ext}$major'
10381 shlibpath_var=LD_LIBRARY_PATH
10382 shlibpath_overrides_runpath=no
10383 hardcode_into_libs=yes
10384 dynamic_linker='ldqnx.so'
10389 sys_lib_dlsearch_path_spec="/usr/lib"
10391 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10393 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10394 *) need_version=no ;;
10396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10397 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10398 shlibpath_var=LD_LIBRARY_PATH
10399 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10401 openbsd2.[89] | openbsd2.[89].*)
10402 shlibpath_overrides_runpath=no
10405 shlibpath_overrides_runpath=yes
10409 shlibpath_overrides_runpath=yes
10414 libname_spec='$name'
10417 library_names_spec='$libname${shared_ext} $libname.a'
10418 dynamic_linker='OS/2 ld.exe'
10419 shlibpath_var=LIBPATH
10422 osf3* | osf4* | osf5*)
10426 soname_spec='${libname}${release}${shared_ext}$major'
10427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10428 shlibpath_var=LD_LIBRARY_PATH
10429 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10430 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10442 soname_spec='${libname}${release}${shared_ext}$major'
10443 shlibpath_var=LD_LIBRARY_PATH
10444 shlibpath_overrides_runpath=yes
10445 hardcode_into_libs=yes
10446 # ldd complains unless libraries are executable
10447 postinstall_cmds='chmod +x $lib'
10452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10453 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10454 shlibpath_var=LD_LIBRARY_PATH
10455 shlibpath_overrides_runpath=yes
10456 if test "$with_gnu_ld" = yes; then
10464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10465 soname_spec='${libname}${release}${shared_ext}$major'
10466 shlibpath_var=LD_LIBRARY_PATH
10467 case $host_vendor in
10469 shlibpath_overrides_runpath=no
10471 runpath_var=LD_RUN_PATH
10479 shlibpath_overrides_runpath=no
10480 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10486 if test -d /usr/nec ;then
10488 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10489 soname_spec='$libname${shared_ext}.$major'
10490 shlibpath_var=LD_LIBRARY_PATH
10494 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10495 version_type=freebsd-elf
10498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10499 soname_spec='${libname}${release}${shared_ext}$major'
10500 shlibpath_var=LD_LIBRARY_PATH
10501 shlibpath_overrides_runpath=yes
10502 hardcode_into_libs=yes
10503 if test "$with_gnu_ld" = yes; then
10504 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10506 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10509 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10513 sys_lib_dlsearch_path_spec='/usr/lib'
10517 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522 shlibpath_var=LD_LIBRARY_PATH
10523 shlibpath_overrides_runpath=no
10524 hardcode_into_libs=yes
10529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530 soname_spec='${libname}${release}${shared_ext}$major'
10531 shlibpath_var=LD_LIBRARY_PATH
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10539 $as_echo "$dynamic_linker" >&6; }
10540 test "$dynamic_linker" = no && can_build_shared=no
10542 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10543 if test "$GCC" = yes; then
10544 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10547 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10548 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10550 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10551 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10641 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10643 if test -n "$hardcode_libdir_flag_spec" ||
10644 test -n "$runpath_var" ||
10645 test "X$hardcode_automatic" = "Xyes" ; then
10647 # We can hardcode non-existent directories.
10648 if test "$hardcode_direct" != no &&
10649 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10650 # have to relink, otherwise we might link with an installed library
10651 # when we should be linking with a yet-to-be-installed one
10652 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10653 test "$hardcode_minus_L" != no; then
10654 # Linking always hardcodes the temporary library directory.
10655 hardcode_action=relink
10657 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10658 hardcode_action=immediate
10661 # We cannot hardcode anything, or else we can only hardcode existing
10663 hardcode_action=unsupported
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10666 $as_echo "$hardcode_action" >&6; }
10668 if test "$hardcode_action" = relink ||
10669 test "$inherit_rpath" = yes; then
10670 # Fast installation is not supported
10671 enable_fast_install=no
10672 elif test "$shlibpath_overrides_runpath" = yes ||
10673 test "$enable_shared" = no; then
10674 # Fast installation is not necessary
10675 enable_fast_install=needless
10683 if test "x$enable_dlopen" != xyes; then
10684 enable_dlopen=unknown
10685 enable_dlopen_self=unknown
10686 enable_dlopen_self_static=unknown
10693 lt_cv_dlopen="load_add_on"
10695 lt_cv_dlopen_self=yes
10698 mingw* | pw32* | cegcc*)
10699 lt_cv_dlopen="LoadLibrary"
10704 lt_cv_dlopen="dlopen"
10709 # if libdl is installed we need to link against it
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10711 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10712 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10713 $as_echo_n "(cached) " >&6
10715 ac_check_lib_save_LIBS=$LIBS
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 ac_cv_lib_dl_dlopen=yes
10738 ac_cv_lib_dl_dlopen=no
10740 rm -f core conftest.err conftest.$ac_objext \
10741 conftest$ac_exeext conftest.$ac_ext
10742 LIBS=$ac_check_lib_save_LIBS
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10745 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10746 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10747 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10750 lt_cv_dlopen="dyld"
10752 lt_cv_dlopen_self=yes
10759 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10760 if test "x$ac_cv_func_shl_load" = x""yes; then :
10761 lt_cv_dlopen="shl_load"
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10764 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10765 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10766 $as_echo_n "(cached) " >&6
10768 ac_check_lib_save_LIBS=$LIBS
10770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10771 /* end confdefs.h. */
10773 /* Override any GCC internal prototype to avoid an error.
10774 Use char because int might match the return type of a GCC
10775 builtin and then its argument prototype would still apply. */
10783 return shl_load ();
10788 if ac_fn_c_try_link "$LINENO"; then :
10789 ac_cv_lib_dld_shl_load=yes
10791 ac_cv_lib_dld_shl_load=no
10793 rm -f core conftest.err conftest.$ac_objext \
10794 conftest$ac_exeext conftest.$ac_ext
10795 LIBS=$ac_check_lib_save_LIBS
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10798 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10799 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10800 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10802 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10803 if test "x$ac_cv_func_dlopen" = x""yes; then :
10804 lt_cv_dlopen="dlopen"
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10807 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10808 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10809 $as_echo_n "(cached) " >&6
10811 ac_check_lib_save_LIBS=$LIBS
10813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10831 if ac_fn_c_try_link "$LINENO"; then :
10832 ac_cv_lib_dl_dlopen=yes
10834 ac_cv_lib_dl_dlopen=no
10836 rm -f core conftest.err conftest.$ac_objext \
10837 conftest$ac_exeext conftest.$ac_ext
10838 LIBS=$ac_check_lib_save_LIBS
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10841 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10842 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10843 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10846 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10847 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10848 $as_echo_n "(cached) " >&6
10850 ac_check_lib_save_LIBS=$LIBS
10851 LIBS="-lsvld $LIBS"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10855 /* Override any GCC internal prototype to avoid an error.
10856 Use char because int might match the return type of a GCC
10857 builtin and then its argument prototype would still apply. */
10870 if ac_fn_c_try_link "$LINENO"; then :
10871 ac_cv_lib_svld_dlopen=yes
10873 ac_cv_lib_svld_dlopen=no
10875 rm -f core conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10880 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10881 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10882 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10885 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10886 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10887 $as_echo_n "(cached) " >&6
10889 ac_check_lib_save_LIBS=$LIBS
10891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10904 return dld_link ();
10909 if ac_fn_c_try_link "$LINENO"; then :
10910 ac_cv_lib_dld_dld_link=yes
10912 ac_cv_lib_dld_dld_link=no
10914 rm -f core conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10916 LIBS=$ac_check_lib_save_LIBS
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10919 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10920 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10921 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10942 if test "x$lt_cv_dlopen" != xno; then
10948 case $lt_cv_dlopen in
10950 save_CPPFLAGS="$CPPFLAGS"
10951 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10953 save_LDFLAGS="$LDFLAGS"
10954 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10957 LIBS="$lt_cv_dlopen_libs $LIBS"
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10960 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10961 if test "${lt_cv_dlopen_self+set}" = set; then :
10962 $as_echo_n "(cached) " >&6
10964 if test "$cross_compiling" = yes; then :
10965 lt_cv_dlopen_self=cross
10967 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10968 lt_status=$lt_dlunknown
10969 cat > conftest.$ac_ext <<_LT_EOF
10970 #line 10970 "configure"
10971 #include "confdefs.h"
10980 # define LT_DLGLOBAL RTLD_GLOBAL
10983 # define LT_DLGLOBAL DL_GLOBAL
10985 # define LT_DLGLOBAL 0
10989 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10990 find out it does not work in some platform. */
10991 #ifndef LT_DLLAZY_OR_NOW
10993 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10996 # define LT_DLLAZY_OR_NOW DL_LAZY
10999 # define LT_DLLAZY_OR_NOW RTLD_NOW
11002 # define LT_DLLAZY_OR_NOW DL_NOW
11004 # define LT_DLLAZY_OR_NOW 0
11011 void fnord() { int i=42;}
11014 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11015 int status = $lt_dlunknown;
11019 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11020 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11021 /* dlclose (self); */
11029 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11030 (eval $ac_link) 2>&5
11032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11033 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11034 (./conftest; exit; ) >&5 2>/dev/null
11036 case x$lt_status in
11037 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11038 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11039 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11042 # compilation failed
11043 lt_cv_dlopen_self=no
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11051 $as_echo "$lt_cv_dlopen_self" >&6; }
11053 if test "x$lt_cv_dlopen_self" = xyes; then
11054 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11056 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11057 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11058 $as_echo_n "(cached) " >&6
11060 if test "$cross_compiling" = yes; then :
11061 lt_cv_dlopen_self_static=cross
11063 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11064 lt_status=$lt_dlunknown
11065 cat > conftest.$ac_ext <<_LT_EOF
11066 #line 11066 "configure"
11067 #include "confdefs.h"
11076 # define LT_DLGLOBAL RTLD_GLOBAL
11079 # define LT_DLGLOBAL DL_GLOBAL
11081 # define LT_DLGLOBAL 0
11085 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11086 find out it does not work in some platform. */
11087 #ifndef LT_DLLAZY_OR_NOW
11089 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11092 # define LT_DLLAZY_OR_NOW DL_LAZY
11095 # define LT_DLLAZY_OR_NOW RTLD_NOW
11098 # define LT_DLLAZY_OR_NOW DL_NOW
11100 # define LT_DLLAZY_OR_NOW 0
11107 void fnord() { int i=42;}
11110 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11111 int status = $lt_dlunknown;
11115 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11116 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11117 /* dlclose (self); */
11125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11126 (eval $ac_link) 2>&5
11128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11129 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11130 (./conftest; exit; ) >&5 2>/dev/null
11132 case x$lt_status in
11133 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11134 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11135 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11138 # compilation failed
11139 lt_cv_dlopen_self_static=no
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11147 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11150 CPPFLAGS="$save_CPPFLAGS"
11151 LDFLAGS="$save_LDFLAGS"
11156 case $lt_cv_dlopen_self in
11157 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11158 *) enable_dlopen_self=unknown ;;
11161 case $lt_cv_dlopen_self_static in
11162 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11163 *) enable_dlopen_self_static=unknown ;;
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11186 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11187 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11188 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11189 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11191 $as_echo "yes" >&6; }
11193 # FIXME - insert some real tests, host_os isn't really good enough
11196 if test -n "$STRIP" ; then
11197 striplib="$STRIP -x"
11198 old_striplib="$STRIP -S"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11200 $as_echo "yes" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11203 $as_echo "no" >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11208 $as_echo "no" >&6; }
11224 # Report which library types will actually be built
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11226 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11228 $as_echo "$can_build_shared" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11231 $as_echo_n "checking whether to build shared libraries... " >&6; }
11232 test "$can_build_shared" = "no" && enable_shared=no
11234 # On AIX, shared libraries and static libraries use the same namespace, and
11235 # are all built from PIC.
11238 test "$enable_shared" = yes && enable_static=no
11239 if test -n "$RANLIB"; then
11240 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11241 postinstall_cmds='$RANLIB $lib'
11246 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11247 test "$enable_shared" = yes && enable_static=no
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11252 $as_echo "$enable_shared" >&6; }
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11255 $as_echo_n "checking whether to build static libraries... " >&6; }
11256 # Make sure either enable_shared or enable_static is yes.
11257 test "$enable_shared" = yes || enable_static=yes
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11259 $as_echo "$enable_static" >&6; }
11266 ac_cpp='$CPP $CPPFLAGS'
11267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11285 ac_config_commands="$ac_config_commands libtool"
11290 # Only expand once:
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11296 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11297 # Check whether --enable-maintainer-mode was given.
11298 if test "${enable_maintainer_mode+set}" = set; then :
11299 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11301 USE_MAINTAINER_MODE=no
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11305 $as_echo "$USE_MAINTAINER_MODE" >&6; }
11306 if test $USE_MAINTAINER_MODE = yes; then
11307 MAINTAINER_MODE_TRUE=
11308 MAINTAINER_MODE_FALSE='#'
11310 MAINTAINER_MODE_TRUE='#'
11311 MAINTAINER_MODE_FALSE=
11314 MAINT=$MAINTAINER_MODE_TRUE
11318 VERSION_SCRIPT_FLAGS=
11319 # lt_cv_prog_gnu_ld is from libtool 2.+
11320 if test "$lt_cv_prog_gnu_ld" = yes; then
11321 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
11324 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
11328 if test -n "$VERSION_SCRIPT_FLAGS"; then
11329 USE_VERSION_SCRIPT_TRUE=
11330 USE_VERSION_SCRIPT_FALSE='#'
11332 USE_VERSION_SCRIPT_TRUE='#'
11333 USE_VERSION_SCRIPT_FALSE=
11338 _cppflags="${CPPFLAGS}"
11339 _ldflags="${LDFLAGS}"
11342 # Check whether --with-c14n was given.
11343 if test "${with_c14n+set}" = set; then :
11344 withval=$with_c14n;
11348 # Check whether --with-catalog was given.
11349 if test "${with_catalog+set}" = set; then :
11350 withval=$with_catalog;
11354 # Check whether --with-debug was given.
11355 if test "${with_debug+set}" = set; then :
11356 withval=$with_debug;
11360 # Check whether --with-docbook was given.
11361 if test "${with_docbook+set}" = set; then :
11362 withval=$with_docbook;
11366 # Check whether --with-fexceptions was given.
11367 if test "${with_fexceptions+set}" = set; then :
11368 withval=$with_fexceptions;
11372 # Check whether --with-ftp was given.
11373 if test "${with_ftp+set}" = set; then :
11378 # Check whether --with-history was given.
11379 if test "${with_history+set}" = set; then :
11380 withval=$with_history;
11384 # Check whether --with-html was given.
11385 if test "${with_html+set}" = set; then :
11386 withval=$with_html;
11390 # Check whether --with-html-dir was given.
11391 if test "${with_html_dir+set}" = set; then :
11392 withval=$with_html_dir; HTML_DIR=$withval
11394 HTML_DIR='$(datadir)/doc'
11399 # Check whether --with-html-subdir was given.
11400 if test "${with_html_subdir+set}" = set; then :
11401 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
11403 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
11408 # Check whether --with-http was given.
11409 if test "${with_http+set}" = set; then :
11410 withval=$with_http;
11414 # Check whether --with-iconv was given.
11415 if test "${with_iconv+set}" = set; then :
11416 withval=$with_iconv;
11420 # Check whether --with-icu was given.
11421 if test "${with_icu+set}" = set; then :
11426 # Check whether --with-iso8859x was given.
11427 if test "${with_iso8859x+set}" = set; then :
11428 withval=$with_iso8859x;
11432 # Check whether --with-legacy was given.
11433 if test "${with_legacy+set}" = set; then :
11434 withval=$with_legacy;
11438 # Check whether --with-mem_debug was given.
11439 if test "${with_mem_debug+set}" = set; then :
11440 withval=$with_mem_debug;
11444 # Check whether --with-minimum was given.
11445 if test "${with_minimum+set}" = set; then :
11446 withval=$with_minimum;
11450 # Check whether --with-output was given.
11451 if test "${with_output+set}" = set; then :
11452 withval=$with_output;
11456 # Check whether --with-pattern was given.
11457 if test "${with_pattern+set}" = set; then :
11458 withval=$with_pattern;
11462 # Check whether --with-push was given.
11463 if test "${with_push+set}" = set; then :
11464 withval=$with_push;
11468 # Check whether --with-python was given.
11469 if test "${with_python+set}" = set; then :
11470 withval=$with_python;
11474 # Check whether --with-reader was given.
11475 if test "${with_reader+set}" = set; then :
11476 withval=$with_reader;
11480 # Check whether --with-readline was given.
11481 if test "${with_readline+set}" = set; then :
11482 withval=$with_readline;
11483 if test "$withval" != "no" -a "$withval" != "yes"; then
11485 CPPFLAGS="${CPPFLAGS} -I$withval/include"
11486 LDFLAGS="${LDFLAGS} -L$withval/lib"
11492 # Check whether --with-regexps was given.
11493 if test "${with_regexps+set}" = set; then :
11494 withval=$with_regexps;
11498 # Check whether --with-run_debug was given.
11499 if test "${with_run_debug+set}" = set; then :
11500 withval=$with_run_debug;
11504 # Check whether --with-sax1 was given.
11505 if test "${with_sax1+set}" = set; then :
11506 withval=$with_sax1;
11510 # Check whether --with-schemas was given.
11511 if test "${with_schemas+set}" = set; then :
11512 withval=$with_schemas;
11516 # Check whether --with-schematron was given.
11517 if test "${with_schematron+set}" = set; then :
11518 withval=$with_schematron;
11522 # Check whether --with-threads was given.
11523 if test "${with_threads+set}" = set; then :
11524 withval=$with_threads;
11528 # Check whether --with-thread-alloc was given.
11529 if test "${with_thread_alloc+set}" = set; then :
11530 withval=$with_thread_alloc;
11534 # Check whether --with-tree was given.
11535 if test "${with_tree+set}" = set; then :
11536 withval=$with_tree;
11540 # Check whether --with-valid was given.
11541 if test "${with_valid+set}" = set; then :
11542 withval=$with_valid;
11546 # Check whether --with-writer was given.
11547 if test "${with_writer+set}" = set; then :
11548 withval=$with_writer;
11552 # Check whether --with-xinclude was given.
11553 if test "${with_xinclude+set}" = set; then :
11554 withval=$with_xinclude;
11558 # Check whether --with-xpath was given.
11559 if test "${with_xpath+set}" = set; then :
11560 withval=$with_xpath;
11564 # Check whether --with-xptr was given.
11565 if test "${with_xptr+set}" = set; then :
11566 withval=$with_xptr;
11570 # Check whether --with-modules was given.
11571 if test "${with_modules+set}" = set; then :
11572 withval=$with_modules;
11576 # Check whether --with-zlib was given.
11577 if test "${with_zlib+set}" = set; then :
11578 withval=$with_zlib;
11579 if test "$withval" != "no" -a "$withval" != "yes"; then
11581 CPPFLAGS="${CPPFLAGS} -I$withval/include"
11582 LDFLAGS="${LDFLAGS} -L$withval/lib"
11588 # Check whether --with-coverage was given.
11589 if test "${with_coverage+set}" = set; then :
11590 withval=$with_coverage;
11594 # Check whether --enable-rebuild-docs was given.
11595 if test "${enable_rebuild_docs+set}" = set; then :
11596 enableval=$enable_rebuild_docs;
11599 if test "$enable_rebuild_docs" = "no"; then
11601 REBUILD_DOCS_FALSE='#'
11603 REBUILD_DOCS_TRUE='#'
11604 REBUILD_DOCS_FALSE=
11608 if test "$with_schemas" = "yes"
11613 if test "$with_schematron" = "yes"
11618 if test "$with_reader" = "yes"
11622 if test "$with_xptr" = "yes"
11626 if test "$with_minimum" = "yes"
11628 echo "Configuring for a minimal library"
11629 if test "$with_c14n" = ""
11633 if test "$with_catalog" = ""
11637 echo So far so good!
11638 if test "$with_debug" = ""
11642 if test "$with_docbook" = ""
11646 if test "$with_fexceptions" = ""
11648 with_fexceptions=no
11650 if test "$with_ftp" = ""
11654 if test "$with_history" = ""
11658 if test "$with_html" = ""
11662 if test "$with_http" = ""
11666 if test "$with_iconv" = ""
11670 if test "$with_iso8859x" = ""
11674 if test "$with_legacy" = ""
11678 if test "$with_mem_debug" = ""
11682 if test "$with_output" = ""
11686 if test "$with_pattern" = ""
11690 if test "$with_push" = ""
11694 if test "$with_python" = ""
11698 if test "$with_reader" = ""
11702 if test "$with_readline" = ""
11706 if test "$with_regexps" = ""
11710 if test "$with_run_debug" = ""
11714 if test "$with_sax1" = ""
11718 if test "$with_schemas" = ""
11722 if test "$with_schematron" = ""
11726 if test "$with_threads" = ""
11730 if test "$with_thread_alloc" = ""
11732 with_thread_alloc=no
11734 if test "$with_tree" = ""
11738 if test "$with_valid" = ""
11742 if test "$with_writer" = ""
11746 if test "$with_xinclude" = ""
11750 if test "$with_xpath" = ""
11754 if test "$with_xptr" = ""
11758 if test "$with_zlib" = ""
11762 if test "$with_modules" = ""
11772 if test "$with_zlib" = "no"; then
11773 echo "Disabling compression support"
11775 for ac_header in zlib.h
11777 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
11778 if test "x$ac_cv_header_zlib_h" = x""yes; then :
11779 cat >>confdefs.h <<_ACEOF
11780 #define HAVE_ZLIB_H 1
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
11783 $as_echo_n "checking for gzread in -lz... " >&6; }
11784 if test "${ac_cv_lib_z_gzread+set}" = set; then :
11785 $as_echo_n "(cached) " >&6
11787 ac_check_lib_save_LIBS=$LIBS
11789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11790 /* end confdefs.h. */
11792 /* Override any GCC internal prototype to avoid an error.
11793 Use char because int might match the return type of a GCC
11794 builtin and then its argument prototype would still apply. */
11807 if ac_fn_c_try_link "$LINENO"; then :
11808 ac_cv_lib_z_gzread=yes
11810 ac_cv_lib_z_gzread=no
11812 rm -f core conftest.err conftest.$ac_objext \
11813 conftest$ac_exeext conftest.$ac_ext
11814 LIBS=$ac_check_lib_save_LIBS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
11817 $as_echo "$ac_cv_lib_z_gzread" >&6; }
11818 if test "x$ac_cv_lib_z_gzread" = x""yes; then :
11821 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
11824 if test "x${Z_DIR}" != "x"; then
11825 Z_CFLAGS="-I${Z_DIR}/include"
11826 Z_LIBS="-L${Z_DIR}/lib -lz"
11829 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
11847 CPPFLAGS=${_cppflags}
11848 LDFLAGS=${_ldflags}
11850 echo Checking headers
11852 ac_header_dirent=no
11853 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
11854 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11856 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
11857 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
11858 $as_echo_n "(cached) " >&6
11860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11861 /* end confdefs.h. */
11862 #include <sys/types.h>
11874 if ac_fn_c_try_compile "$LINENO"; then :
11875 eval "$as_ac_Header=yes"
11877 eval "$as_ac_Header=no"
11879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11881 eval ac_res=\$$as_ac_Header
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11883 $as_echo "$ac_res" >&6; }
11884 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11885 cat >>confdefs.h <<_ACEOF
11886 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11889 ac_header_dirent=$ac_hdr; break
11893 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11894 if test $ac_header_dirent = dirent.h; then
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11896 $as_echo_n "checking for library containing opendir... " >&6; }
11897 if test "${ac_cv_search_opendir+set}" = set; then :
11898 $as_echo_n "(cached) " >&6
11900 ac_func_search_save_LIBS=$LIBS
11901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11902 /* end confdefs.h. */
11904 /* Override any GCC internal prototype to avoid an error.
11905 Use char because int might match the return type of a GCC
11906 builtin and then its argument prototype would still apply. */
11919 for ac_lib in '' dir; do
11920 if test -z "$ac_lib"; then
11921 ac_res="none required"
11924 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11926 if ac_fn_c_try_link "$LINENO"; then :
11927 ac_cv_search_opendir=$ac_res
11929 rm -f core conftest.err conftest.$ac_objext \
11931 if test "${ac_cv_search_opendir+set}" = set; then :
11935 if test "${ac_cv_search_opendir+set}" = set; then :
11938 ac_cv_search_opendir=no
11940 rm conftest.$ac_ext
11941 LIBS=$ac_func_search_save_LIBS
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11944 $as_echo "$ac_cv_search_opendir" >&6; }
11945 ac_res=$ac_cv_search_opendir
11946 if test "$ac_res" != no; then :
11947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11953 $as_echo_n "checking for library containing opendir... " >&6; }
11954 if test "${ac_cv_search_opendir+set}" = set; then :
11955 $as_echo_n "(cached) " >&6
11957 ac_func_search_save_LIBS=$LIBS
11958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11976 for ac_lib in '' x; do
11977 if test -z "$ac_lib"; then
11978 ac_res="none required"
11981 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 ac_cv_search_opendir=$ac_res
11986 rm -f core conftest.err conftest.$ac_objext \
11988 if test "${ac_cv_search_opendir+set}" = set; then :
11992 if test "${ac_cv_search_opendir+set}" = set; then :
11995 ac_cv_search_opendir=no
11997 rm conftest.$ac_ext
11998 LIBS=$ac_func_search_save_LIBS
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12001 $as_echo "$ac_cv_search_opendir" >&6; }
12002 ac_res=$ac_cv_search_opendir
12003 if test "$ac_res" != no; then :
12004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12011 $as_echo_n "checking for ANSI C header files... " >&6; }
12012 if test "${ac_cv_header_stdc+set}" = set; then :
12013 $as_echo_n "(cached) " >&6
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12017 #include <stdlib.h>
12018 #include <stdarg.h>
12019 #include <string.h>
12030 if ac_fn_c_try_compile "$LINENO"; then :
12031 ac_cv_header_stdc=yes
12033 ac_cv_header_stdc=no
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037 if test $ac_cv_header_stdc = yes; then
12038 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12040 /* end confdefs.h. */
12041 #include <string.h>
12044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12045 $EGREP "memchr" >/dev/null 2>&1; then :
12048 ac_cv_header_stdc=no
12054 if test $ac_cv_header_stdc = yes; then
12055 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12058 #include <stdlib.h>
12061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12062 $EGREP "free" >/dev/null 2>&1; then :
12065 ac_cv_header_stdc=no
12071 if test $ac_cv_header_stdc = yes; then
12072 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12073 if test "$cross_compiling" = yes; then :
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 #include <stdlib.h>
12080 #if ((' ' & 0x0FF) == 0x020)
12081 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12082 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12084 # define ISLOWER(c) \
12085 (('a' <= (c) && (c) <= 'i') \
12086 || ('j' <= (c) && (c) <= 'r') \
12087 || ('s' <= (c) && (c) <= 'z'))
12088 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12091 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12096 for (i = 0; i < 256; i++)
12097 if (XOR (islower (i), ISLOWER (i))
12098 || toupper (i) != TOUPPER (i))
12103 if ac_fn_c_try_run "$LINENO"; then :
12106 ac_cv_header_stdc=no
12108 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12109 conftest.$ac_objext conftest.beam conftest.$ac_ext
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12115 $as_echo "$ac_cv_header_stdc" >&6; }
12116 if test $ac_cv_header_stdc = yes; then
12118 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12122 for ac_header in fcntl.h
12124 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12125 if test "x$ac_cv_header_fcntl_h" = x""yes; then :
12126 cat >>confdefs.h <<_ACEOF
12127 #define HAVE_FCNTL_H 1
12134 for ac_header in unistd.h
12136 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12137 if test "x$ac_cv_header_unistd_h" = x""yes; then :
12138 cat >>confdefs.h <<_ACEOF
12139 #define HAVE_UNISTD_H 1
12146 for ac_header in ctype.h
12148 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
12149 if test "x$ac_cv_header_ctype_h" = x""yes; then :
12150 cat >>confdefs.h <<_ACEOF
12151 #define HAVE_CTYPE_H 1
12158 for ac_header in dirent.h
12160 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12161 if test "x$ac_cv_header_dirent_h" = x""yes; then :
12162 cat >>confdefs.h <<_ACEOF
12163 #define HAVE_DIRENT_H 1
12170 for ac_header in errno.h
12172 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12173 if test "x$ac_cv_header_errno_h" = x""yes; then :
12174 cat >>confdefs.h <<_ACEOF
12175 #define HAVE_ERRNO_H 1
12182 for ac_header in malloc.h
12184 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
12185 if test "x$ac_cv_header_malloc_h" = x""yes; then :
12186 cat >>confdefs.h <<_ACEOF
12187 #define HAVE_MALLOC_H 1
12194 for ac_header in stdarg.h
12196 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12197 if test "x$ac_cv_header_stdarg_h" = x""yes; then :
12198 cat >>confdefs.h <<_ACEOF
12199 #define HAVE_STDARG_H 1
12206 for ac_header in sys/stat.h
12208 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
12209 if test "x$ac_cv_header_sys_stat_h" = x""yes; then :
12210 cat >>confdefs.h <<_ACEOF
12211 #define HAVE_SYS_STAT_H 1
12218 for ac_header in sys/types.h
12220 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12221 if test "x$ac_cv_header_sys_types_h" = x""yes; then :
12222 cat >>confdefs.h <<_ACEOF
12223 #define HAVE_SYS_TYPES_H 1
12230 for ac_header in stdint.h
12232 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12233 if test "x$ac_cv_header_stdint_h" = x""yes; then :
12234 cat >>confdefs.h <<_ACEOF
12235 #define HAVE_STDINT_H 1
12242 for ac_header in inttypes.h.h
12244 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default"
12245 if test "x$ac_cv_header_inttypes_h_h" = x""yes; then :
12246 cat >>confdefs.h <<_ACEOF
12247 #define HAVE_INTTYPES_H_H 1
12254 for ac_header in time.h
12256 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
12257 if test "x$ac_cv_header_time_h" = x""yes; then :
12258 cat >>confdefs.h <<_ACEOF
12259 #define HAVE_TIME_H 1
12266 for ac_header in ansidecl.h
12268 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
12269 if test "x$ac_cv_header_ansidecl_h" = x""yes; then :
12270 cat >>confdefs.h <<_ACEOF
12271 #define HAVE_ANSIDECL_H 1
12278 for ac_header in ieeefp.h
12280 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
12281 if test "x$ac_cv_header_ieeefp_h" = x""yes; then :
12282 cat >>confdefs.h <<_ACEOF
12283 #define HAVE_IEEEFP_H 1
12290 for ac_header in nan.h
12292 ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
12293 if test "x$ac_cv_header_nan_h" = x""yes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_NAN_H 1
12302 for ac_header in math.h
12304 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
12305 if test "x$ac_cv_header_math_h" = x""yes; then :
12306 cat >>confdefs.h <<_ACEOF
12307 #define HAVE_MATH_H 1
12314 for ac_header in limits.h
12316 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
12317 if test "x$ac_cv_header_limits_h" = x""yes; then :
12318 cat >>confdefs.h <<_ACEOF
12319 #define HAVE_LIMITS_H 1
12326 for ac_header in fp_class.h
12328 ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
12329 if test "x$ac_cv_header_fp_class_h" = x""yes; then :
12330 cat >>confdefs.h <<_ACEOF
12331 #define HAVE_FP_CLASS_H 1
12338 for ac_header in float.h
12340 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
12341 if test "x$ac_cv_header_float_h" = x""yes; then :
12342 cat >>confdefs.h <<_ACEOF
12343 #define HAVE_FLOAT_H 1
12350 for ac_header in stdlib.h
12352 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12353 if test "x$ac_cv_header_stdlib_h" = x""yes; then :
12354 cat >>confdefs.h <<_ACEOF
12355 #define HAVE_STDLIB_H 1
12362 for ac_header in sys/socket.h
12364 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
12365 # include <sys/types.h>
12369 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
12370 cat >>confdefs.h <<_ACEOF
12371 #define HAVE_SYS_SOCKET_H 1
12378 for ac_header in netinet/in.h
12380 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
12381 # include <sys/types.h>
12385 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
12386 cat >>confdefs.h <<_ACEOF
12387 #define HAVE_NETINET_IN_H 1
12394 for ac_header in arpa/inet.h
12396 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
12397 # include <sys/types.h>
12399 #if HAVE_ARPA_INET_H
12400 # include <arpa/inet.h>
12404 if test "x$ac_cv_header_arpa_inet_h" = x""yes; then :
12405 cat >>confdefs.h <<_ACEOF
12406 #define HAVE_ARPA_INET_H 1
12413 for ac_header in netdb.h
12415 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
12416 if test "x$ac_cv_header_netdb_h" = x""yes; then :
12417 cat >>confdefs.h <<_ACEOF
12418 #define HAVE_NETDB_H 1
12425 for ac_header in sys/time.h
12427 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12428 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
12429 cat >>confdefs.h <<_ACEOF
12430 #define HAVE_SYS_TIME_H 1
12437 for ac_header in sys/select.h
12439 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
12440 if test "x$ac_cv_header_sys_select_h" = x""yes; then :
12441 cat >>confdefs.h <<_ACEOF
12442 #define HAVE_SYS_SELECT_H 1
12449 for ac_header in poll.h
12451 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
12452 if test "x$ac_cv_header_poll_h" = x""yes; then :
12453 cat >>confdefs.h <<_ACEOF
12454 #define HAVE_POLL_H 1
12461 for ac_header in sys/mman.h
12463 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12464 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
12465 cat >>confdefs.h <<_ACEOF
12466 #define HAVE_SYS_MMAN_H 1
12473 for ac_header in sys/timeb.h
12475 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
12476 if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
12477 cat >>confdefs.h <<_ACEOF
12478 #define HAVE_SYS_TIMEB_H 1
12485 for ac_header in signal.h
12487 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
12488 if test "x$ac_cv_header_signal_h" = x""yes; then :
12489 cat >>confdefs.h <<_ACEOF
12490 #define HAVE_SIGNAL_H 1
12497 for ac_header in arpa/nameser.h
12499 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
12500 # include <sys/types.h>
12504 if test "x$ac_cv_header_arpa_nameser_h" = x""yes; then :
12505 cat >>confdefs.h <<_ACEOF
12506 #define HAVE_ARPA_NAMESER_H 1
12513 for ac_header in resolv.h
12515 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
12516 # include <sys/types.h>
12518 #if HAVE_NETINET_IN_H
12519 # include <netinet/in.h>
12521 #if HAVE_ARPA_NAMESER_H
12522 # include <arpa/nameser.h>
12526 if test "x$ac_cv_header_resolv_h" = x""yes; then :
12527 cat >>confdefs.h <<_ACEOF
12528 #define HAVE_RESOLV_H 1
12535 for ac_header in dl.h
12537 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
12538 if test "x$ac_cv_header_dl_h" = x""yes; then :
12539 cat >>confdefs.h <<_ACEOF
12540 #define HAVE_DL_H 1
12547 for ac_header in dlfcn.h
12549 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
12550 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
12551 cat >>confdefs.h <<_ACEOF
12552 #define HAVE_DLFCN_H 1
12561 echo Checking libraries
12563 for ac_func in strftime
12565 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
12566 if test "x$ac_cv_func_strftime" = x""yes; then :
12567 cat >>confdefs.h <<_ACEOF
12568 #define HAVE_STRFTIME 1
12572 # strftime is in -lintl on SCO UNIX.
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12574 $as_echo_n "checking for strftime in -lintl... " >&6; }
12575 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
12576 $as_echo_n "(cached) " >&6
12578 ac_check_lib_save_LIBS=$LIBS
12579 LIBS="-lintl $LIBS"
12580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12593 return strftime ();
12598 if ac_fn_c_try_link "$LINENO"; then :
12599 ac_cv_lib_intl_strftime=yes
12601 ac_cv_lib_intl_strftime=no
12603 rm -f core conftest.err conftest.$ac_objext \
12604 conftest$ac_exeext conftest.$ac_ext
12605 LIBS=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12608 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12609 if test "x$ac_cv_lib_intl_strftime" = x""yes; then :
12610 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12612 LIBS="-lintl $LIBS"
12618 for ac_func in strdup strndup strerror
12620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12622 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12623 cat >>confdefs.h <<_ACEOF
12624 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12630 for ac_func in finite isnand fp_class class fpclass
12632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12634 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12635 cat >>confdefs.h <<_ACEOF
12636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12642 for ac_func in strftime localtime gettimeofday ftime
12644 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12645 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12646 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12647 cat >>confdefs.h <<_ACEOF
12648 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12654 for ac_func in stat _stat signal
12656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12659 cat >>confdefs.h <<_ACEOF
12660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12667 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
12669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12672 cat >>confdefs.h <<_ACEOF
12673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
12683 $as_echo_n "checking for va_copy... " >&6; }
12684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12685 /* end confdefs.h. */
12686 #include <stdarg.h>
12696 if ac_fn_c_try_link "$LINENO"; then :
12701 rm -f core conftest.err conftest.$ac_objext \
12702 conftest$ac_exeext conftest.$ac_ext
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
12704 $as_echo "$have_va_copy" >&6; }
12705 if test x"$have_va_copy" = x"yes"; then
12707 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
12711 $as_echo_n "checking for __va_copy... " >&6; }
12712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12714 #include <stdarg.h>
12719 __va_copy(ap1,ap2);
12724 if ac_fn_c_try_link "$LINENO"; then :
12729 rm -f core conftest.err conftest.$ac_objext \
12730 conftest$ac_exeext conftest.$ac_ext
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
12732 $as_echo "$have___va_copy" >&6; }
12733 if test x"$have___va_copy" = x"yes"; then
12735 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
12741 $as_echo_n "checking for library containing gethostent... " >&6; }
12742 if test "${ac_cv_search_gethostent+set}" = set; then :
12743 $as_echo_n "(cached) " >&6
12745 ac_func_search_save_LIBS=$LIBS
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12755 char gethostent ();
12759 return gethostent ();
12764 for ac_lib in '' nsl; do
12765 if test -z "$ac_lib"; then
12766 ac_res="none required"
12769 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_search_gethostent=$ac_res
12774 rm -f core conftest.err conftest.$ac_objext \
12776 if test "${ac_cv_search_gethostent+set}" = set; then :
12780 if test "${ac_cv_search_gethostent+set}" = set; then :
12783 ac_cv_search_gethostent=no
12785 rm conftest.$ac_ext
12786 LIBS=$ac_func_search_save_LIBS
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
12789 $as_echo "$ac_cv_search_gethostent" >&6; }
12790 ac_res=$ac_cv_search_gethostent
12791 if test "$ac_res" != no; then :
12792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
12797 $as_echo_n "checking for library containing setsockopt... " >&6; }
12798 if test "${ac_cv_search_setsockopt+set}" = set; then :
12799 $as_echo_n "(cached) " >&6
12801 ac_func_search_save_LIBS=$LIBS
12802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803 /* end confdefs.h. */
12805 /* Override any GCC internal prototype to avoid an error.
12806 Use char because int might match the return type of a GCC
12807 builtin and then its argument prototype would still apply. */
12811 char setsockopt ();
12815 return setsockopt ();
12820 for ac_lib in '' socket net network; do
12821 if test -z "$ac_lib"; then
12822 ac_res="none required"
12825 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12827 if ac_fn_c_try_link "$LINENO"; then :
12828 ac_cv_search_setsockopt=$ac_res
12830 rm -f core conftest.err conftest.$ac_objext \
12832 if test "${ac_cv_search_setsockopt+set}" = set; then :
12836 if test "${ac_cv_search_setsockopt+set}" = set; then :
12839 ac_cv_search_setsockopt=no
12841 rm conftest.$ac_ext
12842 LIBS=$ac_func_search_save_LIBS
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
12845 $as_echo "$ac_cv_search_setsockopt" >&6; }
12846 ac_res=$ac_cv_search_setsockopt
12847 if test "$ac_res" != no; then :
12848 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12853 $as_echo_n "checking for library containing connect... " >&6; }
12854 if test "${ac_cv_search_connect+set}" = set; then :
12855 $as_echo_n "(cached) " >&6
12857 ac_func_search_save_LIBS=$LIBS
12858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12859 /* end confdefs.h. */
12861 /* Override any GCC internal prototype to avoid an error.
12862 Use char because int might match the return type of a GCC
12863 builtin and then its argument prototype would still apply. */
12876 for ac_lib in '' inet; do
12877 if test -z "$ac_lib"; then
12878 ac_res="none required"
12881 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12883 if ac_fn_c_try_link "$LINENO"; then :
12884 ac_cv_search_connect=$ac_res
12886 rm -f core conftest.err conftest.$ac_objext \
12888 if test "${ac_cv_search_connect+set}" = set; then :
12892 if test "${ac_cv_search_connect+set}" = set; then :
12895 ac_cv_search_connect=no
12897 rm conftest.$ac_ext
12898 LIBS=$ac_func_search_save_LIBS
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12901 $as_echo "$ac_cv_search_connect" >&6; }
12902 ac_res=$ac_cv_search_connect
12903 if test "$ac_res" != no; then :
12904 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
12910 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
12911 cat > conftest.$ac_ext <<EOF
12912 #line 12912 "configure"
12913 #include "confdefs.h"
12915 #include <stddef.h>
12916 #include <sys/types.h>
12917 #include <sys/socket.h>
12920 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
12923 if { (eval echo configure:12923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
12927 $as_echo "socklen_t *" >&6; }
12928 XML_SOCKLEN_T=socklen_t
12930 echo "configure: failed program was:" >&5
12931 cat conftest.$ac_ext >&5
12934 cat > conftest.$ac_ext <<EOF
12935 #line 12935 "configure"
12936 #include "confdefs.h"
12938 #include <stddef.h>
12939 #include <sys/types.h>
12940 #include <sys/socket.h>
12943 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
12946 if { (eval echo configure:12946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
12950 $as_echo "size_t *" >&6; }
12951 XML_SOCKLEN_T=size_t
12953 echo "configure: failed program was:" >&5
12954 cat conftest.$ac_ext >&5
12957 cat > conftest.$ac_ext <<EOF
12958 #line 12958 "configure"
12959 #include "confdefs.h"
12961 #include <stddef.h>
12962 #include <sys/types.h>
12963 #include <sys/socket.h>
12966 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
12969 if { (eval echo configure:12969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
12973 $as_echo "int *" >&6; }
12976 echo "configure: failed program was:" >&5
12977 cat conftest.$ac_ext >&5
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
12981 $as_echo "$as_me: WARNING: could not determine" >&2;}
12982 XML_SOCKLEN_T="int"
12990 cat >>confdefs.h <<_ACEOF
12991 #define XML_SOCKLEN_T $XML_SOCKLEN_T
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
12997 $as_echo_n "checking whether to enable IPv6... " >&6; }
12998 # Check whether --enable-ipv6 was given.
12999 if test "${enable_ipv6+set}" = set; then :
13000 enableval=$enable_ipv6;
13005 if test "$with_minimum" = "yes"
13009 if test $enable_ipv6 = yes; then
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 #include <sys/types.h>
13015 #include <sys/socket.h>
13021 struct sockaddr_storage ss;
13022 socket(AF_INET6, SOCK_STREAM, 0)
13028 if ac_fn_c_try_compile "$LINENO"; then :
13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
13036 $as_echo "$have_ipv6" >&6; }
13038 if test $have_ipv6 = yes; then
13040 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
13042 have_broken_ss_family=no
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
13045 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
13046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13047 /* end confdefs.h. */
13049 #include <sys/types.h>
13050 #include <sys/socket.h>
13056 struct sockaddr_storage ss ;
13063 if ac_fn_c_try_compile "$LINENO"; then :
13069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
13071 $as_echo "$have_ss_family" >&6; }
13072 if test x$have_ss_family = xno ; then
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
13074 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
13075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13076 /* end confdefs.h. */
13078 #include <sys/types.h>
13079 #include <sys/socket.h>
13085 struct sockaddr_storage ss ;
13086 ss.__ss_family = 0 ;
13092 if ac_fn_c_try_compile "$LINENO"; then :
13093 have_broken_ss_family=yes
13095 have_broken_ss_family=no
13098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
13100 $as_echo "$have_broken_ss_family" >&6; }
13101 if test x$have_broken_ss_family = xyes ; then
13103 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
13106 $as_echo "#define ss_family __ss_family" >>confdefs.h
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
13110 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
13114 have_getaddrinfo=no
13115 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13116 if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
13117 have_getaddrinfo=yes
13120 if test $have_getaddrinfo != yes; then
13121 for lib in bsd socket inet; do
13122 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
13124 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
13125 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
13126 $as_echo_n "(cached) " >&6
13128 ac_check_lib_save_LIBS=$LIBS
13129 LIBS="-l$lib $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13139 char getaddrinfo ();
13143 return getaddrinfo ();
13148 if ac_fn_c_try_link "$LINENO"; then :
13149 eval "$as_ac_Lib=yes"
13151 eval "$as_ac_Lib=no"
13153 rm -f core conftest.err conftest.$ac_objext \
13154 conftest$ac_exeext conftest.$ac_ext
13155 LIBS=$ac_check_lib_save_LIBS
13157 eval ac_res=\$$as_ac_Lib
13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13159 $as_echo "$ac_res" >&6; }
13160 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13161 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
13167 if test $have_getaddrinfo = yes; then
13169 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
13176 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
13177 if test "x$ac_cv_func_isnan" = x""yes; then :
13179 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13183 $as_echo_n "checking for isnan in -lm... " >&6; }
13184 if test "${ac_cv_lib_m_isnan+set}" = set; then :
13185 $as_echo_n "(cached) " >&6
13187 ac_check_lib_save_LIBS=$LIBS
13189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13190 /* end confdefs.h. */
13192 /* Override any GCC internal prototype to avoid an error.
13193 Use char because int might match the return type of a GCC
13194 builtin and then its argument prototype would still apply. */
13207 if ac_fn_c_try_link "$LINENO"; then :
13208 ac_cv_lib_m_isnan=yes
13210 ac_cv_lib_m_isnan=no
13212 rm -f core conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_check_lib_save_LIBS
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
13217 $as_echo "$ac_cv_lib_m_isnan" >&6; }
13218 if test "x$ac_cv_lib_m_isnan" = x""yes; then :
13220 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13227 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
13228 if test "x$ac_cv_func_isinf" = x""yes; then :
13230 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
13234 $as_echo_n "checking for isinf in -lm... " >&6; }
13235 if test "${ac_cv_lib_m_isinf+set}" = set; then :
13236 $as_echo_n "(cached) " >&6
13238 ac_check_lib_save_LIBS=$LIBS
13240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13241 /* end confdefs.h. */
13243 /* Override any GCC internal prototype to avoid an error.
13244 Use char because int might match the return type of a GCC
13245 builtin and then its argument prototype would still apply. */
13258 if ac_fn_c_try_link "$LINENO"; then :
13259 ac_cv_lib_m_isinf=yes
13261 ac_cv_lib_m_isinf=no
13263 rm -f core conftest.err conftest.$ac_objext \
13264 conftest$ac_exeext conftest.$ac_ext
13265 LIBS=$ac_check_lib_save_LIBS
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
13268 $as_echo "$ac_cv_lib_m_isinf" >&6; }
13269 if test "x$ac_cv_lib_m_isinf" = x""yes; then :
13271 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13278 XML_LIBDIR='-L${libdir}'
13279 XML_INCLUDEDIR='-I${includedir}/libxml2'
13284 if test "${GCC}" != "yes" ; then
13287 CFLAGS="${CFLAGS} -Wp,-H30000"
13290 CFLAGS="${CFLAGS} -ieee"
13293 CFLAGS="${CFLAGS} -ieee"
13297 if test "$with_fexceptions" = "yes"
13300 # Not activated by default because this inflates the code size
13301 # Used to allow propagation of C++ exceptions through the library
13303 CFLAGS="${CFLAGS} -fexceptions"
13306 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"
13309 CFLAGS="${CFLAGS} -mieee"
13312 CFLAGS="${CFLAGS} -mieee"
13318 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
13323 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
13324 # If the host is Windows, and shared libraries are disabled, we
13325 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
13326 # work properly (without it, xmlexports.h would force the use of
13327 # DLL imports, which obviously aren't present in a static
13329 if test "x$enable_shared" = "xno"; then
13330 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
13331 CFLAGS="$CFLAGS -DLIBXML_STATIC"
13340 PYTHON_SITE_PACKAGES=
13343 if test "$with_python" != "no" ; then
13344 if test -x "$with_python/bin/python"
13346 echo Found python in $with_python/bin/python
13347 PYTHON="$with_python/bin/python"
13349 if test -x "$with_python/python.exe"
13351 echo Found python in $with_python/python.exe
13352 PYTHON="$with_python/python.exe"
13354 if test -x "$with_python"
13356 echo Found python in $with_python
13357 PYTHON="$with_python"
13359 if test -x "$PYTHON"
13361 echo Found python in environment PYTHON=$PYTHON
13362 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
13364 # 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.
13365 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13367 $as_echo_n "checking for $ac_word... " >&6; }
13368 if test "${ac_cv_path_PYTHON+set}" = set; then :
13369 $as_echo_n "(cached) " >&6
13373 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
13376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13377 for as_dir in $PATH
13380 test -z "$as_dir" && as_dir=.
13381 for ac_exec_ext in '' $ac_executable_extensions; do
13382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13383 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
13384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13394 PYTHON=$ac_cv_path_PYTHON
13395 if test -n "$PYTHON"; then
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13397 $as_echo "$PYTHON" >&6; }
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13400 $as_echo "no" >&6; }
13408 if test "$PYTHON" != ""
13410 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
13411 echo Found Python version $PYTHON_VERSION
13413 if test "$PYTHON_VERSION" != ""
13415 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
13416 -d $with_python/lib/python$PYTHON_VERSION/site-packages
13418 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
13419 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
13421 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
13423 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
13424 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
13426 if test -r /usr/include/python$PYTHON_VERSION/Python.h
13428 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
13429 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
13431 if test -r $with_python/include/Python.h -a \
13432 -d $with_python/lib/site-packages
13434 PYTHON_INCLUDES=$with_python/include
13435 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
13437 echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
13441 if test ! -d "$PYTHON_SITE_PACKAGES"
13443 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
13446 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
13448 if test "$with_python" != ""
13450 pythondir='$(PYTHON_SITE_PACKAGES)'
13452 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
13457 if test "$PYTHON_INCLUDES" != ""; then
13459 WITH_PYTHON_FALSE='#'
13461 WITH_PYTHON_TRUE='#'
13465 if test "$PYTHON_INCLUDES" != ""
13467 PYTHON_SUBDIR=python
13478 if test "$with_modules" != "no" ; then
13481 MODULE_EXTENSION=".dll"
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
13483 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
13484 if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then :
13485 $as_echo_n "(cached) " >&6
13487 ac_check_lib_save_LIBS=$LIBS
13488 LIBS="-lcygwin $LIBS"
13489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13490 /* end confdefs.h. */
13492 /* Override any GCC internal prototype to avoid an error.
13493 Use char because int might match the return type of a GCC
13494 builtin and then its argument prototype would still apply. */
13507 if ac_fn_c_try_link "$LINENO"; then :
13508 ac_cv_lib_cygwin_dlopen=yes
13510 ac_cv_lib_cygwin_dlopen=no
13512 rm -f core conftest.err conftest.$ac_objext \
13513 conftest$ac_exeext conftest.$ac_ext
13514 LIBS=$ac_check_lib_save_LIBS
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
13517 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
13518 if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then :
13521 MODULE_PLATFORM_LIBS=
13523 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
13530 MODULE_EXTENSION=".dll"
13534 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13535 if test "x$ac_cv_func_shl_load" = x""yes; then :
13536 libxml_have_shl_load=yes
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13540 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13541 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13542 $as_echo_n "(cached) " >&6
13544 ac_check_lib_save_LIBS=$LIBS
13546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13547 /* end confdefs.h. */
13549 /* Override any GCC internal prototype to avoid an error.
13550 Use char because int might match the return type of a GCC
13551 builtin and then its argument prototype would still apply. */
13559 return shl_load ();
13564 if ac_fn_c_try_link "$LINENO"; then :
13565 ac_cv_lib_dld_shl_load=yes
13567 ac_cv_lib_dld_shl_load=no
13569 rm -f core conftest.err conftest.$ac_objext \
13570 conftest$ac_exeext conftest.$ac_ext
13571 LIBS=$ac_check_lib_save_LIBS
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13574 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13575 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13577 MODULE_PLATFORM_LIBS="-ldld"
13578 libxml_have_shl_load=yes
13581 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13582 if test "x$ac_cv_func_dlopen" = x""yes; then :
13583 libxml_have_dlopen=yes
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13587 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13588 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13589 $as_echo_n "(cached) " >&6
13591 ac_check_lib_save_LIBS=$LIBS
13593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13596 /* Override any GCC internal prototype to avoid an error.
13597 Use char because int might match the return type of a GCC
13598 builtin and then its argument prototype would still apply. */
13611 if ac_fn_c_try_link "$LINENO"; then :
13612 ac_cv_lib_dl_dlopen=yes
13614 ac_cv_lib_dl_dlopen=no
13616 rm -f core conftest.err conftest.$ac_objext \
13617 conftest$ac_exeext conftest.$ac_ext
13618 LIBS=$ac_check_lib_save_LIBS
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13621 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13622 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13624 MODULE_PLATFORM_LIBS="-ldl"
13625 libxml_have_dlopen=yes
13635 if test "${libxml_have_shl_load}" = "yes"; then
13636 MODULE_EXTENSION=".sl"
13639 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
13643 if test "${libxml_have_dlopen}" = "yes"; then
13646 MODULE_EXTENSION=".sl"
13649 MODULE_EXTENSION=".so"
13655 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
13662 if test "${WITH_MODULES}" = "1"; then
13663 TEST_MODULES="ModuleTests"
13672 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
13673 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
13674 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
13676 if test "$with_minimum" != "yes"
13678 if test "${with_mem_debug}" = "" ; then
13679 echo Activating memory debugging
13680 with_mem_debug="yes"
13681 with_run_debug="yes"
13683 if test "${with_docbook}" = "" ; then
13687 if test "${GCC}" = "yes" ; then
13688 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"
13690 STATIC_BINARIES="-static"
13697 if test "${NEED_TRIO}" = "1" ; then
13698 echo Adding trio library for string functions
13703 if test "${NEED_TRIO}" = "1"; then
13704 WITH_TRIO_SOURCES_TRUE=
13705 WITH_TRIO_SOURCES_FALSE='#'
13707 WITH_TRIO_SOURCES_TRUE='#'
13708 WITH_TRIO_SOURCES_FALSE=
13713 echo Checking configuration requirements
13716 BASE_THREAD_LIBS=""
13722 if test "$with_threads" = "no" ; then
13723 echo Disabling multithreaded support
13725 echo Enabling multithreaded support
13726 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
13727 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
13728 if test "x$ac_cv_header_pthread_h" = x""yes; then :
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
13730 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
13731 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
13732 $as_echo_n "(cached) " >&6
13734 ac_check_lib_save_LIBS=$LIBS
13735 LIBS="-lpthread $LIBS"
13736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13737 /* end confdefs.h. */
13739 /* Override any GCC internal prototype to avoid an error.
13740 Use char because int might match the return type of a GCC
13741 builtin and then its argument prototype would still apply. */
13745 char pthread_join ();
13749 return pthread_join ();
13754 if ac_fn_c_try_link "$LINENO"; then :
13755 ac_cv_lib_pthread_pthread_join=yes
13757 ac_cv_lib_pthread_pthread_join=no
13759 rm -f core conftest.err conftest.$ac_objext \
13760 conftest$ac_exeext conftest.$ac_ext
13761 LIBS=$ac_check_lib_save_LIBS
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
13764 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
13765 if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then :
13767 THREAD_LIBS="-lpthread"
13769 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
13772 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
13782 *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
13784 THREADS_W32="Win32"
13785 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
13788 *cygwin*) THREAD_LIBS=""
13790 *beos*) WITH_THREADS="1"
13791 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
13794 if test "${GCC}" = "yes" ; then
13795 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
13796 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
13797 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
13798 if test "${THREAD_LIBS}" = "-lpthread" ; then
13799 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
13802 BASE_THREAD_LIBS="-lpthread"
13804 if expr ${GCC_MAJOR} \> 3 > /dev/null
13807 BASE_THREAD_LIBS="-lpthread"
13809 echo old GCC disabling weak symbols for pthread
13816 if test "$WITH_THREADS" = "1" ; then
13817 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
13818 TEST_THREADS="Threadtests"
13821 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
13822 THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
13832 if test "$with_history" = "yes" ; then
13833 echo Enabling xmllint shell history
13835 for termlib in ncurses curses termcap terminfo termlib; do
13836 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
13838 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
13839 if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
13840 $as_echo_n "(cached) " >&6
13842 ac_check_lib_save_LIBS=$LIBS
13843 LIBS="-l${termlib} $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 eval "$as_ac_Lib=yes"
13865 eval "$as_ac_Lib=no"
13867 rm -f core conftest.err conftest.$ac_objext \
13868 conftest$ac_exeext conftest.$ac_ext
13869 LIBS=$ac_check_lib_save_LIBS
13871 eval ac_res=\$$as_ac_Lib
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13873 $as_echo "$ac_res" >&6; }
13874 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13878 test -n "$tcap" && break
13881 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
13882 if test "x$ac_cv_header_readline_history_h" = x""yes; then :
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
13884 $as_echo_n "checking for append_history in -lhistory... " >&6; }
13885 if test "${ac_cv_lib_history_append_history+set}" = set; then :
13886 $as_echo_n "(cached) " >&6
13888 ac_check_lib_save_LIBS=$LIBS
13889 LIBS="-lhistory $LIBS"
13890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13891 /* end confdefs.h. */
13893 /* Override any GCC internal prototype to avoid an error.
13894 Use char because int might match the return type of a GCC
13895 builtin and then its argument prototype would still apply. */
13899 char append_history ();
13903 return append_history ();
13908 if ac_fn_c_try_link "$LINENO"; then :
13909 ac_cv_lib_history_append_history=yes
13911 ac_cv_lib_history_append_history=no
13913 rm -f core conftest.err conftest.$ac_objext \
13914 conftest$ac_exeext conftest.$ac_ext
13915 LIBS=$ac_check_lib_save_LIBS
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
13918 $as_echo "$ac_cv_lib_history_append_history" >&6; }
13919 if test "x$ac_cv_lib_history_append_history" = x""yes; then :
13921 RDL_LIBS="-lhistory"
13923 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
13930 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
13931 if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
13932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13933 $as_echo_n "checking for readline in -lreadline... " >&6; }
13934 if test "${ac_cv_lib_readline_readline+set}" = set; then :
13935 $as_echo_n "(cached) " >&6
13937 ac_check_lib_save_LIBS=$LIBS
13938 LIBS="-lreadline $tcap $LIBS"
13939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13940 /* end confdefs.h. */
13942 /* Override any GCC internal prototype to avoid an error.
13943 Use char because int might match the return type of a GCC
13944 builtin and then its argument prototype would still apply. */
13952 return readline ();
13957 if ac_fn_c_try_link "$LINENO"; then :
13958 ac_cv_lib_readline_readline=yes
13960 ac_cv_lib_readline_readline=no
13962 rm -f core conftest.err conftest.$ac_objext \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
13967 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13968 if test "x$ac_cv_lib_readline_readline" = x""yes; then :
13970 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
13972 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
13979 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
13980 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
13981 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
13985 if test "$with_tree" = "no" ; then
13986 echo Disabling DOM like tree manipulation APIs
13993 if test "$with_ftp" = "no" ; then
13994 echo Disabling FTP support
14004 if test "$with_http" = "no" ; then
14005 echo Disabling HTTP support
14010 HTTP_OBJ=nanohttp.o
14015 if test "$with_legacy" = "no" ; then
14016 echo Disabling deprecated APIs
14023 if test "$with_reader" = "no" ; then
14024 echo Disabling the xmlReader parsing interface
14029 READER_TEST=Readertests
14030 if test "$with_push" = "no" ; then
14031 echo xmlReader requires Push interface - enabling it
14038 if test "$with_writer" = "no" ; then
14039 echo Disabling the xmlWriter saving interface
14044 # WRITER_TEST=Writertests
14045 if test "$with_push" = "no" ; then
14046 echo xmlWriter requires Push interface - enabling it
14049 if test "$with_output" = "no" ; then
14050 echo xmlWriter requires Output interface - enabling it
14055 #AC_SUBST(WRITER_TEST)
14057 if test "$with_pattern" = "no" ; then
14058 echo Disabling the xmlPattern parsing interface
14063 TEST_PATTERN=Patterntests
14068 if test "$with_sax1" = "no" ; then
14069 echo Disabling the older SAX1 interface
14079 if test "$with_push" = "no" ; then
14080 echo Disabling the PUSH parser interfaces
14085 TEST_PUSH="XMLPushtests"
14090 if test "$with_html" = "no" ; then
14091 echo Disabling HTML support
14097 HTML_OBJ="HTMLparser.o HTMLtree.o"
14098 TEST_HTML=HTMLtests
14099 if test "$with_push" != "no" ; then
14100 TEST_PHTML=HTMLPushtests
14110 if test "$with_valid" = "no" ; then
14111 echo Disabling DTD validation support
14117 TEST_VALID=Validtests
14118 TEST_VTIME=VTimingtests
14124 if test "$with_catalog" = "no" ; then
14125 echo Disabling Catalog support
14131 CATALOG_OBJ="catalog.o"
14132 TEST_CATALOG=Catatests
14138 if test "$with_docbook" = "no" ; then
14139 echo Disabling Docbook support
14144 DOCB_OBJ="DOCBparser.o"
14150 if test "$with_xptr" = "no" ; then
14151 echo Disabling XPointer support
14157 XPTR_OBJ=xpointer.o
14158 TEST_XPTR=XPtrtests
14159 if test "$with_xpath" = "no" ; then
14160 echo XPointer requires XPath support - enabling it
14168 if test "$with_c14n" = "no" ; then
14169 echo Disabling C14N support
14176 TEST_C14N=C14Ntests
14177 if test "$with_xpath" = "no" ; then
14178 echo C14N requires XPath support - enabling it
14186 if test "$with_xinclude" = "no" ; then
14187 echo Disabling XInclude support
14194 XINCLUDE_OBJ=xinclude.o
14195 TEST_XINCLUDE=XIncludetests
14196 if test "$with_xpath" = "no" ; then
14197 echo XInclude requires XPath support - enabling it
14205 if test "$with_xpath" = "no" ; then
14206 echo Disabling XPATH support
14213 TEST_XPATH=XPathtests
14219 if test "$with_output" = "no" ; then
14220 echo Disabling serialization/saving support
14228 if test "$with_iconv" = "no" ; then
14229 echo Disabling ICONV support
14231 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
14232 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
14233 # Export this since our headers include iconv.h
14234 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
14235 ICONV_LIBS="-L$with_iconv/lib"
14238 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
14239 if test "x$ac_cv_header_iconv_h" = x""yes; then :
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14241 $as_echo_n "checking for iconv... " >&6; }
14242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243 /* end confdefs.h. */
14244 #include <stdlib.h>
14250 iconv_t cd = iconv_open ("","");
14251 iconv (cd, NULL, NULL, NULL, NULL);
14256 if ac_fn_c_try_link "$LINENO"; then :
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14259 $as_echo "yes" >&6; }
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14264 $as_echo "no" >&6; }
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
14266 $as_echo_n "checking for iconv in -liconv... " >&6; }
14268 _ldflags="${LDFLAGS}"
14270 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
14271 LIBS="${LIBS} -liconv"
14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14274 /* end confdefs.h. */
14275 #include <stdlib.h>
14281 iconv_t cd = iconv_open ("","");
14282 iconv (cd, NULL, NULL, NULL, NULL);
14287 if ac_fn_c_try_link "$LINENO"; then :
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14290 $as_echo "yes" >&6; }
14292 ICONV_LIBS="${ICONV_LIBS} -liconv"
14294 LDFLAGS="${_ldflags}"
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14298 $as_echo "no" >&6; }
14300 LDFLAGS="${_ldflags}"
14302 rm -f core conftest.err conftest.$ac_objext \
14303 conftest$ac_exeext conftest.$ac_ext
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14311 if test "$WITH_ICONV" = "1" ; then
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14313 $as_echo_n "checking for iconv declaration... " >&6; }
14314 if test "${xml_cv_iconv_arg2+set}" = set; then :
14315 $as_echo_n "(cached) " >&6
14318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14320 #include <stdlib.h>
14326 #if defined(__STDC__) || defined(__cplusplus)
14327 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14340 if ac_fn_c_try_compile "$LINENO"; then :
14341 xml_cv_iconv_arg2=""
14343 xml_cv_iconv_arg2="const"
14345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14349 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);"
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
14351 }$xml_cv_iconv_decl" >&5
14352 $as_echo "${xml_xxx:-
14353 }$xml_cv_iconv_decl" >&6; }
14355 cat >>confdefs.h <<_ACEOF
14356 #define ICONV_CONST $xml_cv_iconv_arg2
14372 XML_LIBTOOLLIBS="libxml2.la"
14376 if test "$with_icu" != "yes" ; then
14377 echo Disabling ICU support
14379 ICU_CONFIG=icu-config
14380 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
14382 ICU_LIBS=`icu-config --ldflags`
14383 LDFLAGS="$LDFLAGS $ICU_LIBS"
14385 echo Enabling ICU support
14387 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5
14393 if test "$WITH_ICONV" != "1" ; then
14394 if test "$with_iso8859x" = "no" ; then
14395 echo Disabling ISO8859X support
14401 if test "$with_schematron" = "no" ; then
14402 echo "Disabling Schematron support"
14406 echo "Enabled Schematron support"
14408 TEST_SCHEMATRON="Schematrontests"
14415 if test "$with_schemas" = "no" ; then
14416 echo "Disabling Schemas/Relax-NG support"
14420 echo "Enabled Schemas/Relax-NG support"
14422 TEST_SCHEMAS="Schemastests Relaxtests"
14423 if test "$PYTHON_INCLUDES" != "" ; then
14424 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
14431 if test "$with_regexps" = "no" ; then
14432 echo Disabling Regexps support
14437 TEST_REGEXPS="Regexptests Automatatests"
14442 if test "$with_debug" = "no" ; then
14443 echo Disabling DEBUG support
14449 DEBUG_OBJ=debugXML.o
14450 TEST_DEBUG=Scripttests
14456 if test "$with_mem_debug" = "yes" ; then
14457 if test "$with_thread_alloc" = "yes" ; then
14458 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
14461 echo Enabling memory debug support
14469 if test "$with_run_debug" = "yes" ; then
14470 echo Enabling runtime debug support
14477 WIN32_EXTRA_LIBADD=
14478 WIN32_EXTRA_LDFLAGS=
14479 CYGWIN_EXTRA_LDFLAGS=
14480 CYGWIN_EXTRA_PYTHON_LIBADD=
14481 WIN32_EXTRA_PYTHON_LIBADD=
14484 CPPFLAGS="$CPPFLAGS -DWIN32"
14485 WIN32_EXTRA_LIBADD="-lws2_32"
14486 WIN32_EXTRA_LDFLAGS="-no-undefined"
14488 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
14491 $as_echo "#define snprintf _snprintf" >>confdefs.h
14494 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h
14496 if test "${PYTHON}" != ""
14498 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython${PYTHON_VERSION//./}"
14502 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
14503 if test "${PYTHON}" != ""
14505 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
14515 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
14517 echo Enabling code coverage for GCC
14518 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
14519 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
14521 echo Disabling code coverage for GCC
14545 RELDATE=`date +'%a %b %e %Y'`
14549 rm -f COPYING.LIB COPYING
14550 ln -s Copyright COPYING
14552 # keep on one line for cygwin c.f. #130896
14553 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"
14555 cat >confcache <<\_ACEOF
14556 # This file is a shell script that caches the results of configure
14557 # tests run on this system so they can be shared between configure
14558 # scripts and configure runs, see configure's option --config-cache.
14559 # It is not useful on other systems. If it contains results you don't
14560 # want to keep, you may remove or edit it.
14562 # config.status only pays attention to the cache file if you give it
14563 # the --recheck option to rerun configure.
14565 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14566 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14567 # following values.
14571 # The following way of writing the cache mishandles newlines in values,
14572 # but we know of no workaround that is simple, portable, and efficient.
14573 # So, we kill variables containing newlines.
14574 # Ultrix sh set writes to stderr and can't be redirected directly,
14575 # and sets the high bit in the cache file unless we assign to the vars.
14577 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14578 eval ac_val=\$$ac_var
14582 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14583 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14586 _ | IFS | as_nl) ;; #(
14587 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14588 *) { eval $ac_var=; unset $ac_var;} ;;
14594 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14595 *${as_nl}ac_space=\ *)
14596 # `set' does not quote correctly, so add quotes: double-quote
14597 # substitution turns \\\\ into \\, and sed turns \\ into \.
14600 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14603 # `set' quotes correctly as required by POSIX, so do not add quotes.
14604 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14613 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14615 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14617 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14618 if test -w "$cache_file"; then
14619 test "x$cache_file" != "x/dev/null" &&
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14621 $as_echo "$as_me: updating cache $cache_file" >&6;}
14622 cat confcache >$cache_file
14624 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14625 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14630 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14631 # Let make expand exec_prefix.
14632 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14634 DEFS=-DHAVE_CONFIG_H
14638 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14639 # 1. Remove the extension, and $U if already installed.
14640 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14641 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14642 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14643 # will be set to the directory where LIBOBJS objects are built.
14644 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14645 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14647 LIBOBJS=$ac_libobjs
14649 LTLIBOBJS=$ac_ltlibobjs
14652 if test -n "$EXEEXT"; then
14654 am__EXEEXT_FALSE='#'
14656 am__EXEEXT_TRUE='#'
14660 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14661 as_fn_error $? "conditional \"AMDEP\" was never defined.
14662 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14664 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14665 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14666 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14668 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14669 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14670 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14672 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
14673 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
14674 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14676 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
14677 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined.
14678 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14680 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
14681 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
14682 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14684 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
14685 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
14686 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14689 : ${CONFIG_STATUS=./config.status}
14691 ac_clean_files_save=$ac_clean_files
14692 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14694 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14696 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14698 # Generated by $as_me.
14699 # Run this file to recreate the current configuration.
14700 # Compiler output produced by configure, useful for debugging
14701 # configure, is in config.log if it exists.
14704 ac_cs_recheck=false
14707 SHELL=\${CONFIG_SHELL-$SHELL}
14710 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14711 ## -------------------- ##
14712 ## M4sh Initialization. ##
14713 ## -------------------- ##
14715 # Be more Bourne compatible
14716 DUALCASE=1; export DUALCASE # for MKS sh
14717 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14720 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14721 # is contrary to our usage. Disable this feature.
14722 alias -g '${1+"$@"}'='"$@"'
14723 setopt NO_GLOB_SUBST
14725 case `(set -o) 2>/dev/null` in #(
14737 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14738 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14739 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14740 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14741 # Prefer a ksh shell builtin over an external printf program on Solaris,
14742 # but without wasting forks for bash or zsh.
14743 if test -z "$BASH_VERSION$ZSH_VERSION" \
14744 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14745 as_echo='print -r --'
14746 as_echo_n='print -rn --'
14747 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14748 as_echo='printf %s\n'
14749 as_echo_n='printf %s'
14751 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14752 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14753 as_echo_n='/usr/ucb/echo -n'
14755 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14756 as_echo_n_body='eval
14760 expr "X$arg" : "X\\(.*\\)$as_nl";
14761 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14763 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14765 export as_echo_n_body
14766 as_echo_n='sh -c $as_echo_n_body as_echo'
14768 export as_echo_body
14769 as_echo='sh -c $as_echo_body as_echo'
14772 # The user is always right.
14773 if test "${PATH_SEPARATOR+set}" != set; then
14775 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14776 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14783 # We need space, tab and new line, in precisely that order. Quoting is
14784 # there to prevent editors from complaining about space-tab.
14785 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14786 # splitting by setting IFS to empty value.)
14789 # Find who we are. Look in the path if we contain no directory separator.
14791 *[\\/]* ) as_myself=$0 ;;
14792 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14793 for as_dir in $PATH
14796 test -z "$as_dir" && as_dir=.
14797 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14803 # We did not find ourselves, most probably we were run as `sh COMMAND'
14804 # in which case we are not to be found in the path.
14805 if test "x$as_myself" = x; then
14808 if test ! -f "$as_myself"; then
14809 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14813 # Unset variables that we do not need and which cause bugs (e.g. in
14814 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14815 # suppresses any "Segmentation fault" message there. '((' could
14816 # trigger a bug in pdksh 5.2.14.
14817 for as_var in BASH_ENV ENV MAIL MAILPATH
14818 do eval test x\${$as_var+set} = xset \
14819 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14832 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14835 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14836 # ----------------------------------------
14837 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14838 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14839 # script with STATUS, using 1 if that was 0.
14842 as_status=$1; test $as_status -eq 0 && as_status=1
14844 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14845 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14847 $as_echo "$as_me: error: $2" >&2
14848 as_fn_exit $as_status
14852 # as_fn_set_status STATUS
14853 # -----------------------
14854 # Set $? to STATUS, without forking.
14855 as_fn_set_status ()
14858 } # as_fn_set_status
14860 # as_fn_exit STATUS
14861 # -----------------
14862 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14866 as_fn_set_status $1
14872 # Portably unset VAR.
14875 { eval $1=; unset $1;}
14877 as_unset=as_fn_unset
14878 # as_fn_append VAR VALUE
14879 # ----------------------
14880 # Append the text in VALUE to the end of the definition contained in VAR. Take
14881 # advantage of any shell optimizations that allow amortized linear growth over
14882 # repeated appends, instead of the typical quadratic growth present in naive
14884 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14885 eval 'as_fn_append ()
14896 # as_fn_arith ARG...
14897 # ------------------
14898 # Perform arithmetic evaluation on the ARGs, and store the result in the
14899 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14900 # must be portable across $(()) and expr.
14901 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14902 eval 'as_fn_arith ()
14909 as_val=`expr "$@" || test $? -eq 1`
14914 if expr a : '\(a\)' >/dev/null 2>&1 &&
14915 test "X`expr 00001 : '.*\(...\)'`" = X001; then
14921 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14922 as_basename=basename
14927 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14933 as_me=`$as_basename -- "$0" ||
14934 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14935 X"$0" : 'X\(//\)$' \| \
14936 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14938 sed '/^.*\/\([^/][^/]*\)\/*$/{
14952 # Avoid depending upon Character Ranges.
14953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14956 as_cr_digits='0123456789'
14957 as_cr_alnum=$as_cr_Letters$as_cr_digits
14959 ECHO_C= ECHO_N= ECHO_T=
14960 case `echo -n x` in #(((((
14962 case `echo 'xy\c'` in
14963 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14965 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14972 rm -f conf$$ conf$$.exe conf$$.file
14973 if test -d conf$$.dir; then
14974 rm -f conf$$.dir/conf$$.file
14977 mkdir conf$$.dir 2>/dev/null
14979 if (echo >conf$$.file) 2>/dev/null; then
14980 if ln -s conf$$.file conf$$ 2>/dev/null; then
14982 # ... but there are two gotchas:
14983 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14984 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14985 # In both cases, we have to default to `cp -p'.
14986 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14988 elif ln conf$$.file conf$$ 2>/dev/null; then
14996 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14997 rmdir conf$$.dir 2>/dev/null
15002 # Create "$as_dir" as a directory, including parents if necessary.
15007 -*) as_dir=./$as_dir;;
15009 test -d "$as_dir" || eval $as_mkdir_p || {
15013 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15014 *) as_qdir=$as_dir;;
15016 as_dirs="'$as_qdir' $as_dirs"
15017 as_dir=`$as_dirname -- "$as_dir" ||
15018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15019 X"$as_dir" : 'X\(//\)[^/]' \| \
15020 X"$as_dir" : 'X\(//\)$' \| \
15021 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15022 $as_echo X"$as_dir" |
15023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15027 /^X\(\/\/\)[^/].*/{
15040 test -d "$as_dir" && break
15042 test -z "$as_dirs" || eval "mkdir $as_dirs"
15043 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15047 if mkdir -p . 2>/dev/null; then
15048 as_mkdir_p='mkdir -p "$as_dir"'
15050 test -d ./-p && rmdir ./-p
15054 if test -x / >/dev/null 2>&1; then
15055 as_test_x='test -x'
15057 if ls -dL / >/dev/null 2>&1; then
15064 if test -d "$1"; then
15070 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15071 ???[sx]*):;;*)false;;esac;fi
15075 as_executable_p=$as_test_x
15077 # Sed expression to map a string onto a valid CPP name.
15078 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15080 # Sed expression to map a string onto a valid variable name.
15081 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15085 ## ----------------------------------- ##
15086 ## Main body of $CONFIG_STATUS script. ##
15087 ## ----------------------------------- ##
15089 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15091 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15092 # Save the log message, to keep $0 and so on meaningful, and to
15093 # report actual input values of CONFIG_FILES etc. instead of their
15094 # values after options handling.
15096 This file was extended by $as_me, which was
15097 generated by GNU Autoconf 2.67. Invocation command line was
15099 CONFIG_FILES = $CONFIG_FILES
15100 CONFIG_HEADERS = $CONFIG_HEADERS
15101 CONFIG_LINKS = $CONFIG_LINKS
15102 CONFIG_COMMANDS = $CONFIG_COMMANDS
15105 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15110 case $ac_config_files in *"
15111 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15114 case $ac_config_headers in *"
15115 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15120 # Files that config.status was made for.
15121 config_files="$ac_config_files"
15122 config_headers="$ac_config_headers"
15123 config_commands="$ac_config_commands"
15127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15129 \`$as_me' instantiates files and other configuration actions
15130 from templates according to the current configuration. Unless the files
15131 and actions are specified as TAGs, all are instantiated by default.
15133 Usage: $0 [OPTION]... [TAG]...
15135 -h, --help print this help, then exit
15136 -V, --version print version number and configuration settings, then exit
15137 --config print configuration, then exit
15138 -q, --quiet, --silent
15139 do not print progress messages
15140 -d, --debug don't remove temporary files
15141 --recheck update $as_me by reconfiguring in the same conditions
15142 --file=FILE[:TEMPLATE]
15143 instantiate the configuration file FILE
15144 --header=FILE[:TEMPLATE]
15145 instantiate the configuration header FILE
15147 Configuration files:
15150 Configuration headers:
15153 Configuration commands:
15156 Report bugs to the package provider."
15159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15160 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15163 configured by $0, generated by GNU Autoconf 2.67,
15164 with options \\"\$ac_cs_config\\"
15166 Copyright (C) 2010 Free Software Foundation, Inc.
15167 This config.status script is free software; the Free Software Foundation
15168 gives unlimited permission to copy, distribute and modify it."
15175 test -n "\$AWK" || AWK=awk
15178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15179 # The default lists apply if the user does not specify any file.
15185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15186 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15190 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15202 # Handling of the options.
15203 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15205 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15206 $as_echo "$ac_cs_version"; exit ;;
15207 --config | --confi | --conf | --con | --co | --c )
15208 $as_echo "$ac_cs_config"; exit ;;
15209 --debug | --debu | --deb | --de | --d | -d )
15211 --file | --fil | --fi | --f )
15214 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215 '') as_fn_error $? "missing file argument" ;;
15217 as_fn_append CONFIG_FILES " '$ac_optarg'"
15218 ac_need_defaults=false;;
15219 --header | --heade | --head | --hea )
15222 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15224 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15225 ac_need_defaults=false;;
15227 # Conflict between --help and --header
15228 as_fn_error $? "ambiguous option: \`$1'
15229 Try \`$0 --help' for more information.";;
15230 --help | --hel | -h )
15231 $as_echo "$ac_cs_usage"; exit ;;
15232 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15233 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15236 # This is an error.
15237 -*) as_fn_error $? "unrecognized option: \`$1'
15238 Try \`$0 --help' for more information." ;;
15240 *) as_fn_append ac_config_targets " $1"
15241 ac_need_defaults=false ;;
15247 ac_configure_extra_args=
15249 if $ac_cs_silent; then
15251 ac_configure_extra_args="$ac_configure_extra_args --silent"
15255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256 if \$ac_cs_recheck; then
15257 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15259 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15260 CONFIG_SHELL='$SHELL'
15261 export CONFIG_SHELL
15266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15270 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15271 ## Running $as_me. ##
15277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15281 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15284 # The HP-UX ksh and POSIX shell print the target directory to stdout
15285 # if CDPATH is set.
15286 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15288 sed_quote_subst='$sed_quote_subst'
15289 double_quote_subst='$double_quote_subst'
15290 delay_variable_subst='$delay_variable_subst'
15291 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15292 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15293 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15294 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15295 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15296 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15297 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15298 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15299 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15300 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15301 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15302 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15303 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15304 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15305 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15306 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15307 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15308 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15309 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15310 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15311 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15312 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15313 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15314 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15315 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15316 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15317 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15318 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15319 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15320 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15321 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15322 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15323 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15324 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15325 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15326 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15327 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15328 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15329 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15330 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15331 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15332 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15333 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15334 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15335 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15336 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15337 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"`'
15338 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"`'
15339 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15340 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15341 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15342 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15343 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15344 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15345 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15346 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15347 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15348 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15349 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15350 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15351 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15352 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15353 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15354 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15355 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15356 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15357 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15358 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15359 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15360 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15361 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15362 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15363 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15364 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15365 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15366 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15367 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15368 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15369 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15370 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15371 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15372 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15373 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15374 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15375 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15376 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15377 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15378 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15379 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15380 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15381 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15382 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15383 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15384 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15385 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15386 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15387 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15388 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15389 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15390 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15391 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15392 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15393 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15394 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15395 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15396 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15397 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15398 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15399 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15400 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15401 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15402 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15403 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15404 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15405 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15406 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15407 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15408 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15409 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15410 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15413 LTCFLAGS='$LTCFLAGS'
15414 compiler='$compiler_DEFAULT'
15416 # Quote evaled strings.
15427 deplibs_check_method \
15436 lt_cv_sys_global_symbol_pipe \
15437 lt_cv_sys_global_symbol_to_cdecl \
15438 lt_cv_sys_global_symbol_to_c_name_address \
15439 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15442 lt_prog_compiler_no_builtin_flag \
15443 lt_prog_compiler_wl \
15444 lt_prog_compiler_pic \
15445 lt_prog_compiler_static \
15446 lt_cv_prog_compiler_c_o \
15454 export_dynamic_flag_spec \
15455 whole_archive_flag_spec \
15456 compiler_needs_object \
15458 allow_undefined_flag \
15459 no_undefined_flag \
15460 hardcode_libdir_flag_spec \
15461 hardcode_libdir_flag_spec_ld \
15462 hardcode_libdir_separator \
15467 variables_saved_for_relink \
15469 library_names_spec \
15474 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15475 *[\\\\\\\`\\"\\\$]*)
15476 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15479 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15484 # Double-quote double-evaled strings.
15485 for var in reload_cmds \
15486 old_postinstall_cmds \
15487 old_postuninstall_cmds \
15489 extract_expsyms_cmds \
15490 old_archive_from_new_cmds \
15491 old_archive_from_expsyms_cmds \
15493 archive_expsym_cmds \
15495 module_expsym_cmds \
15496 export_symbols_cmds \
15499 postuninstall_cmds \
15501 sys_lib_search_path_spec \
15502 sys_lib_dlsearch_path_spec; do
15503 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15504 *[\\\\\\\`\\"\\\$]*)
15505 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15508 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15513 # Fix-up fallback echo if it was mangled by the above quoting rules.
15515 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15519 ac_aux_dir='$ac_aux_dir'
15520 xsi_shell='$xsi_shell'
15521 lt_shell_append='$lt_shell_append'
15523 # See if we are running on zsh, and set the options which allow our
15524 # commands through without removal of \ escapes INIT.
15525 if test -n "\${ZSH_VERSION+set}" ; then
15526 setopt NO_GLOB_SUBST
15532 TIMESTAMP='$TIMESTAMP'
15541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15543 # Handling of arguments.
15544 for ac_config_target in $ac_config_targets
15546 case $ac_config_target in
15547 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15548 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15549 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15550 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
15551 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15552 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
15553 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
15554 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15555 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
15556 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
15557 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
15558 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
15559 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
15560 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
15561 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
15562 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
15563 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
15564 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
15565 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
15567 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15572 # If the user did not use the arguments to specify the items to instantiate,
15573 # then the envvar interface is used. Set only those that are not.
15574 # We use the long form for the default assignment because of an extremely
15575 # bizarre bug on SunOS 4.1.3.
15576 if $ac_need_defaults; then
15577 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15578 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15579 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15582 # Have a temporary directory for convenience. Make it in the build tree
15583 # simply because there is no reason against having it here, and in addition,
15584 # creating and moving files from /tmp can sometimes cause problems.
15585 # Hook for its removal unless debugging.
15586 # Note that there is a small window in which the directory will not be cleaned:
15587 # after its creation but before its name has been assigned to `$tmp'.
15591 trap 'exit_status=$?
15592 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15594 trap 'as_fn_exit 1' 1 2 13 15
15596 # Create a (secure) tmp directory for tmp files.
15599 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15600 test -n "$tmp" && test -d "$tmp"
15603 tmp=./conf$$-$RANDOM
15604 (umask 077 && mkdir "$tmp")
15605 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15607 # Set up the scripts for CONFIG_FILES section.
15608 # No need to generate them if there are no CONFIG_FILES.
15609 # This happens for instance with `./config.status config.h'.
15610 if test -n "$CONFIG_FILES"; then
15613 ac_cr=`echo X | tr X '\015'`
15614 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15615 # But we know of no other shell where ac_cr would be empty at this
15616 # point, so we can use a bashism as a fallback.
15617 if test "x$ac_cr" = x; then
15618 eval ac_cr=\$\'\\r\'
15620 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15621 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15624 ac_cs_awk_cr=$ac_cr
15627 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15632 echo "cat >conf$$subs.awk <<_ACEOF" &&
15633 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15635 } >conf$$subs.sh ||
15636 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15637 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15639 for ac_last_try in false false false false false :; do
15640 . ./conf$$subs.sh ||
15641 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15643 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15644 if test $ac_delim_n = $ac_delim_num; then
15646 elif $ac_last_try; then
15647 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15649 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15652 rm -f conf$$subs.sh
15654 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15655 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15659 s/^/S["/; s/!.*/"]=/
15669 s/\(.\{148\}\)..*/\1/
15671 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15676 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15683 s/\(.\{148\}\)..*/\1/
15685 s/["\\]/\\&/g; s/^/"/; s/$/"/
15689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15694 ' <conf$$subs.awk | sed '
15699 ' >>$CONFIG_STATUS || ac_write_fail=1
15700 rm -f conf$$subs.awk
15701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15703 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15704 for (key in S) S_is_set[key] = 1
15710 nfields = split(line, field, "@")
15712 len = length(field[1])
15713 for (i = 2; i < nfields; i++) {
15715 keylen = length(key)
15716 if (S_is_set[key]) {
15718 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15719 len += length(value) + length(field[++i])
15730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15731 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15732 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15735 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15736 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15739 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15740 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15741 # trailing colons and then remove the whole line if VPATH becomes empty
15742 # (actually we leave an empty line to preserve line numbers).
15743 if test "x$srcdir" = x.; then
15744 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15763 fi # test -n "$CONFIG_FILES"
15765 # Set up the scripts for CONFIG_HEADERS section.
15766 # No need to generate them if there are no CONFIG_HEADERS.
15767 # This happens for instance with `./config.status Makefile'.
15768 if test -n "$CONFIG_HEADERS"; then
15769 cat >"$tmp/defines.awk" <<\_ACAWK ||
15773 # Transform confdefs.h into an awk script `defines.awk', embedded as
15774 # here-document in config.status, that substitutes the proper values into
15775 # config.h.in to produce config.h.
15777 # Create a delimiter string that does not exist in confdefs.h, to ease
15778 # handling of long lines.
15780 for ac_last_try in false false :; do
15781 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15782 if test -z "$ac_t"; then
15784 elif $ac_last_try; then
15785 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15787 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15791 # For the awk script, D is an array of macro values keyed by name,
15792 # likewise P contains macro parameters if any. Preserve backslash
15793 # newline sequences.
15795 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15797 s/.\{148\}/&'"$ac_delim"'/g
15800 s/^[ ]*#[ ]*define[ ][ ]*/ /
15807 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15809 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
15813 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
15814 D["\1"]=" \3\\\\\\n"\\/p
15816 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15821 s/.\{148\}/&'"$ac_delim"'/g
15826 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15829 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15831 ' <confdefs.h | sed '
15832 s/'"$ac_delim"'/"\\\
15833 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15836 for (key in D) D_is_set[key] = 1
15839 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15841 split(line, arg, " ")
15842 if (arg[1] == "#") {
15846 defundef = substr(arg[1], 2)
15849 split(mac1, mac2, "(") #)
15851 prefix = substr(line, 1, index(line, defundef) - 1)
15852 if (D_is_set[macro]) {
15853 # Preserve the white space surrounding the "#".
15854 print prefix "define", macro P[macro] D[macro]
15857 # Replace #undef with comments. This is necessary, for example,
15858 # in the case of _POSIX_SOURCE, which is predefined and required
15859 # on some systems where configure will not decide to define it.
15860 if (defundef == "undef") {
15861 print "/*", prefix defundef, macro, "*/"
15869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15870 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15871 fi # test -n "$CONFIG_HEADERS"
15874 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15879 :[FHLC]) ac_mode=$ac_tag; continue;;
15881 case $ac_mode$ac_tag in
15883 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15884 :[FH]-) ac_tag=-:-;;
15885 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15902 -) ac_f="$tmp/stdin";;
15903 *) # Look for the file first in the build tree, then in the source tree
15904 # (if the path is not absolute). The absolute path cannot be DOS-style,
15905 # because $ac_f cannot contain `:'.
15909 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15911 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15913 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15914 as_fn_append ac_file_inputs " '$ac_f'"
15917 # Let's still pretend it is `configure' which instantiates (i.e., don't
15918 # use $as_me), people would be surprised to read:
15919 # /* config.h. Generated by config.status. */
15920 configure_input='Generated from '`
15921 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15923 if test x"$ac_file" != x-; then
15924 configure_input="$ac_file. $configure_input"
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15926 $as_echo "$as_me: creating $ac_file" >&6;}
15928 # Neutralize special characters interpreted by sed in replacement strings.
15929 case $configure_input in #(
15930 *\&* | *\|* | *\\* )
15931 ac_sed_conf_input=`$as_echo "$configure_input" |
15932 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15933 *) ac_sed_conf_input=$configure_input;;
15937 *:-:* | *:-) cat >"$tmp/stdin" \
15938 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15943 ac_dir=`$as_dirname -- "$ac_file" ||
15944 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15945 X"$ac_file" : 'X\(//\)[^/]' \| \
15946 X"$ac_file" : 'X\(//\)$' \| \
15947 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15948 $as_echo X"$ac_file" |
15949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15953 /^X\(\/\/\)[^/].*/{
15966 as_dir="$ac_dir"; as_fn_mkdir_p
15970 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15972 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15973 # A ".." for each directory in $ac_dir_suffix.
15974 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15975 case $ac_top_builddir_sub in
15976 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15977 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15980 ac_abs_top_builddir=$ac_pwd
15981 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15982 # for backward compatibility:
15983 ac_top_builddir=$ac_top_build_prefix
15986 .) # We are building in place.
15988 ac_top_srcdir=$ac_top_builddir_sub
15989 ac_abs_top_srcdir=$ac_pwd ;;
15990 [\\/]* | ?:[\\/]* ) # Absolute name.
15991 ac_srcdir=$srcdir$ac_dir_suffix;
15992 ac_top_srcdir=$srcdir
15993 ac_abs_top_srcdir=$srcdir ;;
15994 *) # Relative name.
15995 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15996 ac_top_srcdir=$ac_top_build_prefix$srcdir
15997 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15999 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16009 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16010 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16012 ac_MKDIR_P=$MKDIR_P
16014 [\\/$]* | ?:[\\/]* ) ;;
16015 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16020 # If the template does not know about datarootdir, expand it.
16021 # FIXME: This hack should be removed a few years after 2.60.
16022 ac_datarootdir_hack=; ac_datarootdir_seen=
16033 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16034 *datarootdir*) ac_datarootdir_seen=yes;;
16035 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16037 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16040 ac_datarootdir_hack='
16041 s&@datadir@&$datadir&g
16042 s&@docdir@&$docdir&g
16043 s&@infodir@&$infodir&g
16044 s&@localedir@&$localedir&g
16045 s&@mandir@&$mandir&g
16046 s&\\\${datarootdir}&$datarootdir&g' ;;
16050 # Neutralize VPATH when `$srcdir' = `.'.
16051 # Shell code in configure.ac might set extrasub.
16052 # FIXME: do we really want to maintain this feature?
16053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16054 ac_sed_extra="$ac_vpsub
16057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16059 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16060 s|@configure_input@|$ac_sed_conf_input|;t t
16061 s&@top_builddir@&$ac_top_builddir_sub&;t t
16062 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16063 s&@srcdir@&$ac_srcdir&;t t
16064 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16065 s&@top_srcdir@&$ac_top_srcdir&;t t
16066 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16067 s&@builddir@&$ac_builddir&;t t
16068 s&@abs_builddir@&$ac_abs_builddir&;t t
16069 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16070 s&@INSTALL@&$ac_INSTALL&;t t
16071 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16072 $ac_datarootdir_hack
16074 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16077 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16078 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
16079 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16081 which seems to be undefined. Please make sure it is defined" >&5
16082 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16083 which seems to be undefined. Please make sure it is defined" >&2;}
16087 -) cat "$tmp/out" && rm -f "$tmp/out";;
16088 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16090 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16096 if test x"$ac_file" != x-; then
16098 $as_echo "/* $configure_input */" \
16099 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16100 } >"$tmp/config.h" \
16101 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16102 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16103 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16104 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16107 mv "$tmp/config.h" "$ac_file" \
16108 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16111 $as_echo "/* $configure_input */" \
16112 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16113 || as_fn_error $? "could not create -" "$LINENO" 5
16115 # Compute "$ac_file"'s index in $config_headers.
16118 for _am_header in $config_headers :; do
16119 case $_am_header in
16120 $_am_arg | $_am_arg:* )
16123 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16126 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16127 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16128 X"$_am_arg" : 'X\(//\)[^/]' \| \
16129 X"$_am_arg" : 'X\(//\)$' \| \
16130 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16131 $as_echo X"$_am_arg" |
16132 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16136 /^X\(\/\/\)[^/].*/{
16148 s/.*/./; q'`/stamp-h$_am_stamp_count
16151 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16152 $as_echo "$as_me: executing $ac_file commands" >&6;}
16157 case $ac_file$ac_mode in
16158 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16159 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16160 # are listed without --file. Let's play safe and only enable the eval
16161 # if we detect the quoting.
16162 case $CONFIG_FILES in
16163 *\'*) eval set x "$CONFIG_FILES" ;;
16164 *) set x $CONFIG_FILES ;;
16169 # Strip MF so we end up with the name of the file.
16170 mf=`echo "$mf" | sed -e 's/:.*$//'`
16171 # Check whether this is an Automake generated Makefile or not.
16172 # We used to match only the files named `Makefile.in', but
16173 # some people rename them; so instead we look at the file content.
16174 # Grep'ing the first line is not enough: some people post-process
16175 # each Makefile.in and add a new line on top of each file to say so.
16176 # Grep'ing the whole file is not good either: AIX grep has a line
16177 # limit of 2048, but all sed's we know have understand at least 4000.
16178 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16179 dirpart=`$as_dirname -- "$mf" ||
16180 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16181 X"$mf" : 'X\(//\)[^/]' \| \
16182 X"$mf" : 'X\(//\)$' \| \
16183 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16189 /^X\(\/\/\)[^/].*/{
16205 # Extract the definition of DEPDIR, am__include, and am__quote
16206 # from the Makefile without running `make'.
16207 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16208 test -z "$DEPDIR" && continue
16209 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16210 test -z "am__include" && continue
16211 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16212 # When using ansi2knr, U may be empty or an underscore; expand it
16213 U=`sed -n 's/^U = //p' < "$mf"`
16214 # Find all dependency output files, they are included files with
16215 # $(DEPDIR) in their names. We invoke sed twice because it is the
16216 # simplest approach to changing $(DEPDIR) to its actual value in the
16218 for file in `sed -n "
16219 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16220 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16221 # Make sure the directory exists.
16222 test -f "$dirpart/$file" && continue
16223 fdir=`$as_dirname -- "$file" ||
16224 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16225 X"$file" : 'X\(//\)[^/]' \| \
16226 X"$file" : 'X\(//\)$' \| \
16227 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16228 $as_echo X"$file" |
16229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16233 /^X\(\/\/\)[^/].*/{
16246 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16247 # echo "creating $dirpart/$file"
16248 echo '# dummy' > "$dirpart/$file"
16255 # See if we are running on zsh, and set the options which allow our
16256 # commands through without removal of \ escapes.
16257 if test -n "${ZSH_VERSION+set}" ; then
16258 setopt NO_GLOB_SUBST
16261 cfgfile="${ofile}T"
16262 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16265 cat <<_LT_EOF >> "$cfgfile"
16268 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16269 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16270 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16271 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16273 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16274 # 2006, 2007, 2008 Free Software Foundation, Inc.
16275 # Written by Gordon Matzigkeit, 1996
16277 # This file is part of GNU Libtool.
16279 # GNU Libtool is free software; you can redistribute it and/or
16280 # modify it under the terms of the GNU General Public License as
16281 # published by the Free Software Foundation; either version 2 of
16282 # the License, or (at your option) any later version.
16284 # As a special exception to the GNU General Public License,
16285 # if you distribute this file as part of a program or library that
16286 # is built using GNU Libtool, you may include this file under the
16287 # same distribution terms that you use for the rest of that program.
16289 # GNU Libtool is distributed in the hope that it will be useful,
16290 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16291 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16292 # GNU General Public License for more details.
16294 # You should have received a copy of the GNU General Public License
16295 # along with GNU Libtool; see the file COPYING. If not, a copy
16296 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16297 # obtained by writing to the Free Software Foundation, Inc.,
16298 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16301 # The names of the tagged configurations supported by this script.
16304 # ### BEGIN LIBTOOL CONFIG
16306 # Assembler program.
16309 # DLL creation program.
16312 # Object dumper program.
16315 # Which release of libtool.m4 was used?
16316 macro_version=$macro_version
16317 macro_revision=$macro_revision
16319 # Whether or not to build shared libraries.
16320 build_libtool_libs=$enable_shared
16322 # Whether or not to build static libraries.
16323 build_old_libs=$enable_static
16325 # What type of objects to build.
16328 # Whether or not to optimize for fast installation.
16329 fast_install=$enable_fast_install
16332 host_alias=$host_alias
16336 # The build system.
16337 build_alias=$build_alias
16341 # A sed program that does not truncate output.
16344 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16345 Xsed="\$SED -e 1s/^X//"
16347 # A grep program that handles long lines.
16353 # A literal string matcher.
16356 # A BSD- or MS-compatible name lister.
16359 # Whether we need soft or hard links.
16362 # What is the maximum length of a command?
16363 max_cmd_len=$max_cmd_len
16365 # Object file suffix (normally "o").
16368 # Executable file suffix (normally "").
16371 # whether the shell understands "unset".
16374 # turn spaces into newlines.
16377 # turn newlines into spaces.
16380 # How to create reloadable object files.
16381 reload_flag=$lt_reload_flag
16382 reload_cmds=$lt_reload_cmds
16384 # Method to check whether dependent libraries are shared objects.
16385 deplibs_check_method=$lt_deplibs_check_method
16387 # Command to use when deplibs_check_method == "file_magic".
16388 file_magic_cmd=$lt_file_magic_cmd
16392 AR_FLAGS=$lt_AR_FLAGS
16394 # A symbol stripping program.
16397 # Commands used to install an old-style archive.
16399 old_postinstall_cmds=$lt_old_postinstall_cmds
16400 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16405 # LTCC compiler flags.
16406 LTCFLAGS=$lt_CFLAGS
16408 # Take the output of nm and produce a listing of raw symbols and C names.
16409 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16411 # Transform the output of nm in a proper C declaration.
16412 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16414 # Transform the output of nm in a C name address pair.
16415 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16417 # Transform the output of nm in a C name address pair when lib prefix is needed.
16418 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16420 # The name of the directory that contains temporary libtool files.
16423 # Shell to use when invoking shell scripts.
16426 # An echo program that does not interpret backslashes.
16429 # Used to examine libraries when file_magic_cmd begins with "file".
16430 MAGIC_CMD=$MAGIC_CMD
16432 # Must we lock files when doing compilation?
16433 need_locks=$lt_need_locks
16435 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16436 DSYMUTIL=$lt_DSYMUTIL
16438 # Tool to change global to local symbols on Mac OS X.
16441 # Tool to manipulate fat objects and archives on Mac OS X.
16444 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16447 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16448 OTOOL64=$lt_OTOOL64
16450 # Old archive suffix (normally "a").
16453 # Shared library suffix (normally ".so").
16454 shrext_cmds=$lt_shrext_cmds
16456 # The commands to extract the exported symbol list from a shared archive.
16457 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16459 # Variables whose values should be saved in libtool wrapper scripts and
16460 # restored at link time.
16461 variables_saved_for_relink=$lt_variables_saved_for_relink
16463 # Do we need the "lib" prefix for modules?
16464 need_lib_prefix=$need_lib_prefix
16466 # Do we need a version for libraries?
16467 need_version=$need_version
16469 # Library versioning type.
16470 version_type=$version_type
16472 # Shared library runtime path variable.
16473 runpath_var=$runpath_var
16475 # Shared library path variable.
16476 shlibpath_var=$shlibpath_var
16478 # Is shlibpath searched before the hard-coded library search path?
16479 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16481 # Format of library name prefix.
16482 libname_spec=$lt_libname_spec
16484 # List of archive names. First name is the real one, the rest are links.
16485 # The last name is the one that the linker finds with -lNAME
16486 library_names_spec=$lt_library_names_spec
16488 # The coded name of the library, if different from the real name.
16489 soname_spec=$lt_soname_spec
16491 # Command to use after installation of a shared archive.
16492 postinstall_cmds=$lt_postinstall_cmds
16494 # Command to use after uninstallation of a shared archive.
16495 postuninstall_cmds=$lt_postuninstall_cmds
16497 # Commands used to finish a libtool library installation in a directory.
16498 finish_cmds=$lt_finish_cmds
16500 # As "finish_cmds", except a single script fragment to be evaled but
16502 finish_eval=$lt_finish_eval
16504 # Whether we should hardcode library paths into libraries.
16505 hardcode_into_libs=$hardcode_into_libs
16507 # Compile-time system search path for libraries.
16508 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16510 # Run-time system search path for libraries.
16511 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16513 # Whether dlopen is supported.
16514 dlopen_support=$enable_dlopen
16516 # Whether dlopen of programs is supported.
16517 dlopen_self=$enable_dlopen_self
16519 # Whether dlopen of statically linked programs is supported.
16520 dlopen_self_static=$enable_dlopen_self_static
16522 # Commands to strip libraries.
16523 old_striplib=$lt_old_striplib
16524 striplib=$lt_striplib
16527 # The linker used to build libraries.
16530 # Commands used to build an old-style archive.
16531 old_archive_cmds=$lt_old_archive_cmds
16533 # A language specific compiler.
16536 # Is the compiler the GNU compiler?
16539 # Compiler flag to turn off builtin functions.
16540 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16542 # How to pass a linker flag through the compiler.
16543 wl=$lt_lt_prog_compiler_wl
16545 # Additional compiler flags for building library objects.
16546 pic_flag=$lt_lt_prog_compiler_pic
16548 # Compiler flag to prevent dynamic linking.
16549 link_static_flag=$lt_lt_prog_compiler_static
16551 # Does compiler simultaneously support -c and -o options?
16552 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16554 # Whether or not to add -lc for building shared libraries.
16555 build_libtool_need_lc=$archive_cmds_need_lc
16557 # Whether or not to disallow shared libs when runtime libs are static.
16558 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16560 # Compiler flag to allow reflexive dlopens.
16561 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16563 # Compiler flag to generate shared objects directly from archives.
16564 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16566 # Whether the compiler copes with passing no objects directly.
16567 compiler_needs_object=$lt_compiler_needs_object
16569 # Create an old-style archive from a shared archive.
16570 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16572 # Create a temporary old-style archive to link instead of a shared archive.
16573 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16575 # Commands used to build a shared archive.
16576 archive_cmds=$lt_archive_cmds
16577 archive_expsym_cmds=$lt_archive_expsym_cmds
16579 # Commands used to build a loadable module if different from building
16580 # a shared archive.
16581 module_cmds=$lt_module_cmds
16582 module_expsym_cmds=$lt_module_expsym_cmds
16584 # Whether we are building with GNU ld or not.
16585 with_gnu_ld=$lt_with_gnu_ld
16587 # Flag that allows shared libraries with undefined symbols to be built.
16588 allow_undefined_flag=$lt_allow_undefined_flag
16590 # Flag that enforces no undefined symbols.
16591 no_undefined_flag=$lt_no_undefined_flag
16593 # Flag to hardcode \$libdir into a binary during linking.
16594 # This must work even if \$libdir does not exist
16595 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16597 # If ld is used when linking, flag to hardcode \$libdir into a binary
16598 # during linking. This must work even if \$libdir does not exist.
16599 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16601 # Whether we need a single "-rpath" flag with a separated argument.
16602 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16604 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16605 # DIR into the resulting binary.
16606 hardcode_direct=$hardcode_direct
16608 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16609 # DIR into the resulting binary and the resulting library dependency is
16610 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16611 # library is relocated.
16612 hardcode_direct_absolute=$hardcode_direct_absolute
16614 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16615 # into the resulting binary.
16616 hardcode_minus_L=$hardcode_minus_L
16618 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16619 # into the resulting binary.
16620 hardcode_shlibpath_var=$hardcode_shlibpath_var
16622 # Set to "yes" if building a shared library automatically hardcodes DIR
16623 # into the library and all subsequent libraries and executables linked
16625 hardcode_automatic=$hardcode_automatic
16627 # Set to yes if linker adds runtime paths of dependent libraries
16628 # to runtime path list.
16629 inherit_rpath=$inherit_rpath
16631 # Whether libtool must link a program against all its dependency libraries.
16632 link_all_deplibs=$link_all_deplibs
16634 # Fix the shell variable \$srcfile for the compiler.
16635 fix_srcfile_path=$lt_fix_srcfile_path
16637 # Set to "yes" if exported symbols are required.
16638 always_export_symbols=$always_export_symbols
16640 # The commands to list exported symbols.
16641 export_symbols_cmds=$lt_export_symbols_cmds
16643 # Symbols that should not be listed in the preloaded symbols.
16644 exclude_expsyms=$lt_exclude_expsyms
16646 # Symbols that must always be exported.
16647 include_expsyms=$lt_include_expsyms
16649 # Commands necessary for linking programs (against libraries) with templates.
16650 prelink_cmds=$lt_prelink_cmds
16652 # Specify filename containing input files.
16653 file_list_spec=$lt_file_list_spec
16655 # How to hardcode a shared library path into an executable.
16656 hardcode_action=$hardcode_action
16658 # ### END LIBTOOL CONFIG
16664 cat <<\_LT_EOF >> "$cfgfile"
16665 # AIX sometimes has problems with the GCC collect2 program. For some
16666 # reason, if we set the COLLECT_NAMES environment variable, the problems
16667 # vanish in a puff of smoke.
16668 if test "X${COLLECT_NAMES+set}" != Xset; then
16670 export COLLECT_NAMES
16677 ltmain="$ac_aux_dir/ltmain.sh"
16680 # We use sed instead of cat because bash on DJGPP gets confused if
16681 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16682 # text mode, it properly converts lines to CR/LF. This bash problem
16683 # is reportedly fixed, but why not run on old versions too?
16684 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16685 || (rm -f "$cfgfile"; exit 1)
16689 cat << \_LT_EOF >> "$cfgfile"
16691 # func_dirname file append nondir_replacement
16692 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16693 # otherwise set result to NONDIR_REPLACEMENT.
16697 */*) func_dirname_result="${1%/*}${2}" ;;
16698 * ) func_dirname_result="${3}" ;;
16702 # func_basename file
16705 func_basename_result="${1##*/}"
16708 # func_dirname_and_basename file append nondir_replacement
16709 # perform func_basename and func_dirname in a single function
16711 # dirname: Compute the dirname of FILE. If nonempty,
16712 # add APPEND to the result, otherwise set result
16713 # to NONDIR_REPLACEMENT.
16714 # value returned in "$func_dirname_result"
16715 # basename: Compute filename of FILE.
16716 # value retuned in "$func_basename_result"
16717 # Implementation must be kept synchronized with func_dirname
16718 # and func_basename. For efficiency, we do not delegate to
16719 # those functions but instead duplicate the functionality here.
16720 func_dirname_and_basename ()
16723 */*) func_dirname_result="${1%/*}${2}" ;;
16724 * ) func_dirname_result="${3}" ;;
16726 func_basename_result="${1##*/}"
16729 # func_stripname prefix suffix name
16730 # strip PREFIX and SUFFIX off of NAME.
16731 # PREFIX and SUFFIX must not contain globbing or regex special
16732 # characters, hashes, percent signs, but SUFFIX may contain a leading
16733 # dot (in which case that matches only a dot).
16736 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16737 # positional parameters, so assign one to ordinary parameter first.
16738 func_stripname_result=${3}
16739 func_stripname_result=${func_stripname_result#"${1}"}
16740 func_stripname_result=${func_stripname_result%"${2}"}
16746 func_opt_split_opt=${1%%=*}
16747 func_opt_split_arg=${1#*=}
16754 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16755 *) func_lo2o_result=${1} ;;
16759 # func_xform libobj-or-source
16762 func_xform_result=${1%.*}.lo
16765 # func_arith arithmetic-term...
16768 func_arith_result=$(( $* ))
16772 # STRING may not start with a hyphen.
16775 func_len_result=${#1}
16780 *) # Bourne compatible functions.
16781 cat << \_LT_EOF >> "$cfgfile"
16783 # func_dirname file append nondir_replacement
16784 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16785 # otherwise set result to NONDIR_REPLACEMENT.
16788 # Extract subdirectory from the argument.
16789 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16790 if test "X$func_dirname_result" = "X${1}"; then
16791 func_dirname_result="${3}"
16793 func_dirname_result="$func_dirname_result${2}"
16797 # func_basename file
16800 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16804 # func_stripname prefix suffix name
16805 # strip PREFIX and SUFFIX off of NAME.
16806 # PREFIX and SUFFIX must not contain globbing or regex special
16807 # characters, hashes, percent signs, but SUFFIX may contain a leading
16808 # dot (in which case that matches only a dot).
16809 # func_strip_suffix prefix name
16813 .*) func_stripname_result=`$ECHO "X${3}" \
16814 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16815 *) func_stripname_result=`$ECHO "X${3}" \
16816 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16821 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16822 my_sed_long_arg='1s/^-[^=]*=//'
16827 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16828 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16834 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16837 # func_xform libobj-or-source
16840 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16843 # func_arith arithmetic-term...
16846 func_arith_result=`expr "$@"`
16850 # STRING may not start with a hyphen.
16853 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16859 case $lt_shell_append in
16861 cat << \_LT_EOF >> "$cfgfile"
16863 # func_append var value
16864 # Append VALUE to the end of shell variable VAR.
16872 cat << \_LT_EOF >> "$cfgfile"
16874 # func_append var value
16875 # Append VALUE to the end of shell variable VAR.
16886 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16887 || (rm -f "$cfgfile"; exit 1)
16889 mv -f "$cfgfile" "$ofile" ||
16890 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16901 ac_clean_files=$ac_clean_files_save
16903 test $ac_write_fail = 0 ||
16904 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16907 # configure is writing to config.log, and then calls config.status.
16908 # config.status does its own redirection, appending to config.log.
16909 # Unfortunately, on DOS this fails, as config.log is still kept open
16910 # by configure, so config.status won't be able to write to it; its
16911 # output is simply discarded. So we exec the FD to /dev/null,
16912 # effectively closing config.log, so it can be properly (re)opened and
16913 # appended to by config.status. When coming back to configure, we
16914 # need to make the FD available again.
16915 if test "$no_create" != yes; then
16917 ac_config_status_args=
16918 test "$silent" = yes &&
16919 ac_config_status_args="$ac_config_status_args --quiet"
16921 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16923 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16924 # would make configure fail if this is the last instruction.
16925 $ac_cs_success || as_fn_exit 1
16927 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16929 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16933 chmod +x xml2-config python/setup.py
16934 echo Done configuring