2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 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
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&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, 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
827 WITH_TRIO_SOURCES_FALSE
828 WITH_TRIO_SOURCES_TRUE
846 USE_VERSION_SCRIPT_FALSE
847 USE_VERSION_SCRIPT_TRUE
904 INSTALL_STRIP_PROGRAM
920 LIBXML_VERSION_NUMBER
961 program_transform_name
974 enable_option_checking
975 enable_dependency_tracking
1023 ac_precious_vars
='build_alias
1034 # Initialize some variables set by options.
1036 ac_init_version
=false
1037 ac_unrecognized_opts
=
1038 ac_unrecognized_sep
=
1039 # The variables have the same names as the options, with
1040 # dashes changed to underlines.
1041 cache_file
=/dev
/null
1048 program_transform_name
=s
,x
,x
,
1056 # Installation directory options.
1057 # These are left unexpanded so users can "make install exec_prefix=/foo"
1058 # and all the variables that are supposed to be based on exec_prefix
1059 # by default will actually change.
1060 # Use braces instead of parens because sh, perl, etc. also accept them.
1061 # (The list follows the same order as the GNU Coding Standards.)
1062 bindir
='${exec_prefix}/bin'
1063 sbindir
='${exec_prefix}/sbin'
1064 libexecdir
='${exec_prefix}/libexec'
1065 datarootdir
='${prefix}/share'
1066 datadir
='${datarootdir}'
1067 sysconfdir
='${prefix}/etc'
1068 sharedstatedir
='${prefix}/com'
1069 localstatedir
='${prefix}/var'
1070 includedir
='${prefix}/include'
1071 oldincludedir
='/usr/include'
1072 docdir
='${datarootdir}/doc/${PACKAGE}'
1073 infodir
='${datarootdir}/info'
1078 libdir
='${exec_prefix}/lib'
1079 localedir
='${datarootdir}/locale'
1080 mandir
='${datarootdir}/man'
1086 # If the previous option needs an argument, assign it.
1087 if test -n "$ac_prev"; then
1088 eval $ac_prev=\
$ac_option
1094 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1098 # Accept the important Cygnus configure options, so we can diagnose typos.
1100 case $ac_dashdash$ac_option in
1104 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1106 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1107 bindir
=$ac_optarg ;;
1109 -build |
--build |
--buil |
--bui |
--bu)
1110 ac_prev
=build_alias
;;
1111 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1112 build_alias
=$ac_optarg ;;
1114 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1115 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1116 ac_prev
=cache_file
;;
1117 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1118 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1119 cache_file
=$ac_optarg ;;
1121 --config-cache |
-C)
1122 cache_file
=config.cache
;;
1124 -datadir |
--datadir |
--datadi |
--datad)
1126 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1127 datadir
=$ac_optarg ;;
1129 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1130 |
--dataroo |
--dataro |
--datar)
1131 ac_prev
=datarootdir
;;
1132 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1133 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1134 datarootdir
=$ac_optarg ;;
1136 -disable-* |
--disable-*)
1137 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1138 # Reject names that are not valid shell variable names.
1139 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1140 as_fn_error
"invalid feature name: $ac_useropt"
1141 ac_useropt_orig
=$ac_useropt
1142 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1143 case $ac_user_opts in
1145 "enable_
$ac_useropt"
1147 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1148 ac_unrecognized_sep
=', ';;
1150 eval enable_
$ac_useropt=no
;;
1152 -docdir |
--docdir |
--docdi |
--doc |
--do)
1154 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1155 docdir
=$ac_optarg ;;
1157 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1159 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1160 dvidir
=$ac_optarg ;;
1162 -enable-* |
--enable-*)
1163 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1166 as_fn_error
"invalid feature name: $ac_useropt"
1167 ac_useropt_orig
=$ac_useropt
1168 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1169 case $ac_user_opts in
1171 "enable_
$ac_useropt"
1173 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1174 ac_unrecognized_sep
=', ';;
1176 eval enable_
$ac_useropt=\
$ac_optarg ;;
1178 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1179 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1180 |
--exec |
--exe |
--ex)
1181 ac_prev
=exec_prefix
;;
1182 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1183 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1184 |
--exec=* |
--exe=* |
--ex=*)
1185 exec_prefix
=$ac_optarg ;;
1187 -gas |
--gas |
--ga |
--g)
1188 # Obsolete; use --with-gas.
1191 -help |
--help |
--hel |
--he |
-h)
1192 ac_init_help
=long
;;
1193 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1194 ac_init_help
=recursive
;;
1195 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1196 ac_init_help
=short
;;
1198 -host |
--host |
--hos |
--ho)
1199 ac_prev
=host_alias
;;
1200 -host=* |
--host=* |
--hos=* |
--ho=*)
1201 host_alias
=$ac_optarg ;;
1203 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1205 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1207 htmldir
=$ac_optarg ;;
1209 -includedir |
--includedir |
--includedi |
--included |
--include \
1210 |
--includ |
--inclu |
--incl |
--inc)
1211 ac_prev
=includedir
;;
1212 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1213 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1214 includedir
=$ac_optarg ;;
1216 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1218 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1219 infodir
=$ac_optarg ;;
1221 -libdir |
--libdir |
--libdi |
--libd)
1223 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1224 libdir
=$ac_optarg ;;
1226 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1227 |
--libexe |
--libex |
--libe)
1228 ac_prev
=libexecdir
;;
1229 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1230 |
--libexe=* |
--libex=* |
--libe=*)
1231 libexecdir
=$ac_optarg ;;
1233 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1234 ac_prev
=localedir
;;
1235 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1236 localedir
=$ac_optarg ;;
1238 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1239 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1240 ac_prev
=localstatedir
;;
1241 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1242 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1243 localstatedir
=$ac_optarg ;;
1245 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1247 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1248 mandir
=$ac_optarg ;;
1250 -nfp |
--nfp |
--nf)
1251 # Obsolete; use --without-fp.
1254 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1255 |
--no-cr |
--no-c |
-n)
1258 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1259 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1262 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1263 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1264 |
--oldin |
--oldi |
--old |
--ol |
--o)
1265 ac_prev
=oldincludedir
;;
1266 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1267 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1268 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1269 oldincludedir
=$ac_optarg ;;
1271 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1273 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1274 prefix
=$ac_optarg ;;
1276 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1277 |
--program-pre |
--program-pr |
--program-p)
1278 ac_prev
=program_prefix
;;
1279 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1280 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1281 program_prefix
=$ac_optarg ;;
1283 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1284 |
--program-suf |
--program-su |
--program-s)
1285 ac_prev
=program_suffix
;;
1286 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1287 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1288 program_suffix
=$ac_optarg ;;
1290 -program-transform-name |
--program-transform-name \
1291 |
--program-transform-nam |
--program-transform-na \
1292 |
--program-transform-n |
--program-transform- \
1293 |
--program-transform |
--program-transfor \
1294 |
--program-transfo |
--program-transf \
1295 |
--program-trans |
--program-tran \
1296 |
--progr-tra |
--program-tr |
--program-t)
1297 ac_prev
=program_transform_name
;;
1298 -program-transform-name=* |
--program-transform-name=* \
1299 |
--program-transform-nam=* |
--program-transform-na=* \
1300 |
--program-transform-n=* |
--program-transform-=* \
1301 |
--program-transform=* |
--program-transfor=* \
1302 |
--program-transfo=* |
--program-transf=* \
1303 |
--program-trans=* |
--program-tran=* \
1304 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1305 program_transform_name
=$ac_optarg ;;
1307 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1309 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1310 pdfdir
=$ac_optarg ;;
1312 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1314 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1317 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1318 |
-silent |
--silent |
--silen |
--sile |
--sil)
1321 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1323 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1325 sbindir
=$ac_optarg ;;
1327 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1328 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1329 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1331 ac_prev
=sharedstatedir
;;
1332 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1333 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1334 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1336 sharedstatedir
=$ac_optarg ;;
1338 -site |
--site |
--sit)
1340 -site=* |
--site=* |
--sit=*)
1343 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1345 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1346 srcdir
=$ac_optarg ;;
1348 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1349 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1350 ac_prev
=sysconfdir
;;
1351 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1352 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1353 sysconfdir
=$ac_optarg ;;
1355 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1356 ac_prev
=target_alias
;;
1357 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1358 target_alias
=$ac_optarg ;;
1360 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1363 -version |
--version |
--versio |
--versi |
--vers |
-V)
1364 ac_init_version
=: ;;
1367 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1368 # Reject names that are not valid shell variable names.
1369 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1370 as_fn_error
"invalid package name: $ac_useropt"
1371 ac_useropt_orig
=$ac_useropt
1372 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1373 case $ac_user_opts in
1377 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1378 ac_unrecognized_sep
=', ';;
1380 eval with_
$ac_useropt=\
$ac_optarg ;;
1382 -without-* |
--without-*)
1383 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1386 as_fn_error
"invalid package name: $ac_useropt"
1387 ac_useropt_orig
=$ac_useropt
1388 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1389 case $ac_user_opts in
1393 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1394 ac_unrecognized_sep
=', ';;
1396 eval with_
$ac_useropt=no
;;
1399 # Obsolete; use --with-x.
1402 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1403 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1404 ac_prev
=x_includes
;;
1405 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1406 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1407 x_includes
=$ac_optarg ;;
1409 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1410 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1411 ac_prev
=x_libraries
;;
1412 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1413 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1414 x_libraries
=$ac_optarg ;;
1416 -*) as_fn_error
"unrecognized option: \`$ac_option'
1417 Try \`$0 --help' for more information."
1421 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1422 # Reject names that are not valid shell variable names.
1423 case $ac_envvar in #(
1424 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1425 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1427 eval $ac_envvar=\
$ac_optarg
1428 export $ac_envvar ;;
1431 # FIXME: should be removed in autoconf 3.0.
1432 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1433 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1434 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1435 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1441 if test -n "$ac_prev"; then
1442 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1443 as_fn_error
"missing argument to $ac_option"
1446 if test -n "$ac_unrecognized_opts"; then
1447 case $enable_option_checking in
1449 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1450 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1454 # Check all directory arguments for consistency.
1455 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1456 datadir sysconfdir sharedstatedir localstatedir includedir \
1457 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1458 libdir localedir mandir
1460 eval ac_val
=\$
$ac_var
1461 # Remove trailing slashes.
1464 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1465 eval $ac_var=\
$ac_val;;
1467 # Be sure to have absolute directory names.
1469 [\\/$
]* | ?
:[\\/]* ) continue;;
1470 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1472 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1475 # There might be people who depend on the old broken behavior: `$host'
1476 # used to hold the argument of --host etc.
1477 # FIXME: To remove some day.
1480 target
=$target_alias
1482 # FIXME: To remove some day.
1483 if test "x$host_alias" != x
; then
1484 if test "x$build_alias" = x
; then
1485 cross_compiling
=maybe
1486 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1487 If a cross compiler is detected then cross compile mode will be used." >&2
1488 elif test "x$build_alias" != "x$host_alias"; then
1494 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1496 test "$silent" = yes && exec 6>/dev
/null
1499 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1500 ac_ls_di
=`ls -di .` &&
1501 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1502 as_fn_error
"working directory cannot be determined"
1503 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1504 as_fn_error
"pwd does not report name of working directory"
1507 # Find the source files, if location was not specified.
1508 if test -z "$srcdir"; then
1509 ac_srcdir_defaulted
=yes
1510 # Try the directory containing this script, then the parent directory.
1511 ac_confdir
=`$as_dirname -- "$as_myself" ||
1512 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1513 X"$as_myself" : 'X\(//\)[^/]' \| \
1514 X"$as_myself" : 'X\(//\)$' \| \
1515 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1516 $as_echo X"$as_myself" |
1517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1535 if test ! -r "$srcdir/$ac_unique_file"; then
1539 ac_srcdir_defaulted
=no
1541 if test ! -r "$srcdir/$ac_unique_file"; then
1542 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1543 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1545 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1547 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1549 # When building in place, set srcdir=.
1550 if test "$ac_abs_confdir" = "$ac_pwd"; then
1553 # Remove unnecessary trailing slashes from srcdir.
1554 # Double slashes in file names in object file debugging info
1555 # mess up M-x gdb in Emacs.
1557 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1559 for ac_var
in $ac_precious_vars; do
1560 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1561 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1562 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1563 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1567 # Report the --help message.
1569 if test "$ac_init_help" = "long"; then
1570 # Omit some internal or obsolete options to make the list less imposing.
1571 # This message is too long to be a string in the A/UX 3.1 sh.
1573 \`configure' configures this package to adapt to many kinds of systems.
1575 Usage: $0 [OPTION]... [VAR=VALUE]...
1577 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1578 VAR=VALUE. See below for descriptions of some of the useful variables.
1580 Defaults for the options are specified in brackets.
1583 -h, --help display this help and exit
1584 --help=short display options specific to this package
1585 --help=recursive display the short help of all the included packages
1586 -V, --version display version information and exit
1587 -q, --quiet, --silent do not print \`checking...' messages
1588 --cache-file=FILE cache test results in FILE [disabled]
1589 -C, --config-cache alias for \`--cache-file=config.cache'
1590 -n, --no-create do not create output files
1591 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1593 Installation directories:
1594 --prefix=PREFIX install architecture-independent files in PREFIX
1595 [$ac_default_prefix]
1596 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1599 By default, \`make install' will install all the files in
1600 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1601 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1602 for instance \`--prefix=\$HOME'.
1604 For better control, use the options below.
1606 Fine tuning of the installation directories:
1607 --bindir=DIR user executables [EPREFIX/bin]
1608 --sbindir=DIR system admin executables [EPREFIX/sbin]
1609 --libexecdir=DIR program executables [EPREFIX/libexec]
1610 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1611 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1612 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1613 --libdir=DIR object code libraries [EPREFIX/lib]
1614 --includedir=DIR C header files [PREFIX/include]
1615 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1616 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1617 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1618 --infodir=DIR info documentation [DATAROOTDIR/info]
1619 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1620 --mandir=DIR man documentation [DATAROOTDIR/man]
1621 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1622 --htmldir=DIR html documentation [DOCDIR]
1623 --dvidir=DIR dvi documentation [DOCDIR]
1624 --pdfdir=DIR pdf documentation [DOCDIR]
1625 --psdir=DIR ps documentation [DOCDIR]
1631 --program-prefix=PREFIX prepend PREFIX to installed program names
1632 --program-suffix=SUFFIX append SUFFIX to installed program names
1633 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1636 --build=BUILD configure
for building on BUILD
[guessed
]
1637 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1641 if test -n "$ac_init_help"; then
1646 --disable-option-checking ignore unrecognized
--enable/--with options
1647 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1648 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1649 --disable-dependency-tracking speeds up one-time build
1650 --enable-dependency-tracking do not reject slow dependency extractors
1651 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1652 --enable-static[=PKGS
] build static libraries
[default
=yes]
1653 --enable-fast-install[=PKGS
]
1654 optimize
for fast installation
[default
=yes]
1655 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1656 --enable-rebuild-docs[=yes
/no
] rebuild some generated docs
[default
=yes]
1657 --enable-ipv6[=yes
/no
] enables compilation of IPv6 code
[default
=yes]
1660 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1661 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1662 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1664 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1665 --with-c14n add the Canonicalization support
(on
)
1666 --with-catalog add the Catalog support
(on
)
1667 --with-debug add the debugging module
(on
)
1668 --with-docbook add Docbook SGML support
(on
)
1669 --with-fexceptions add GCC flag
-fexceptions for C
++ exceptions
(off
)
1670 --with-ftp add the FTP support
(on
)
1671 --with-history add
history support to xmllint shell
(off
)
1672 --with-html add the HTML support
(on
)
1673 --with-html-dir=path path to base html directory
, default
1675 --with-html-subdir=path directory used under html-dir
, default
1676 $PACKAGE-$VERSION/html
1677 --with-http add the HTTP support
(on
)
1678 --with-iconv[=DIR
] add ICONV support
(on
)
1679 --with-iso8859x add ISO8859X support
if no
iconv (on
)
1680 --with-legacy add deprecated APIs
for compatibility
(on
)
1681 --with-mem-debug add the memory debugging module
(off
)
1682 --with-minimum build a minimally sized library
(off
)
1683 --with-output add the serialization support
(on
)
1684 --with-pattern add the xmlPattern selection interface
(on
)
1685 --with-push add the PUSH parser interfaces
(on
)
1686 --with-python[=DIR
] build Python bindings
if found
1687 --with-reader add the xmlReader parsing interface
(on
)
1688 --with-readline=DIR use readline
in DIR
1689 --with-regexps add Regular Expressions support
(on
)
1690 --with-run-debug add the runtime debugging module
(off
)
1691 --with-sax1 add the older SAX1 interface
(on
)
1692 --with-schemas add Relax-NG and Schemas support
(on
)
1693 --with-schematron add Schematron support
(on
)
1694 --with-threads add multithread support
(on
)
1695 --with-thread-alloc add per-thread memory
(off
)
1696 --with-tree add the DOM like tree manipulation APIs
(on
)
1697 --with-valid add the DTD validation support
(on
)
1698 --with-writer add the xmlWriter saving interface
(on
)
1699 --with-xinclude add the XInclude support
(on
)
1700 --with-xpath add the XPATH support
(on
)
1701 --with-xptr add the XPointer support
(on
)
1702 --with-modules add the dynamic modules support
(on
)
1703 --with-zlib[=DIR
] use libz
in DIR
1704 --with-coverage build
for code coverage with GCC
(off
)
1706 Some influential environment variables
:
1707 CC C compiler
command
1708 CFLAGS C compiler flags
1709 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1710 nonstandard directory
<lib dir
>
1711 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1712 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1713 you have headers
in a nonstandard directory
<include dir
>
1716 Use these variables to override the choices made by
`configure' or to help
1717 it to find libraries and programs with nonstandard names/locations.
1719 Report bugs to the package provider.
1724 if test "$ac_init_help" = "recursive"; then
1725 # If there are subdirs, report their specific --help.
1726 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1727 test -d "$ac_dir" ||
1728 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1733 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1735 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1736 # A ".." for each directory in $ac_dir_suffix.
1737 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1738 case $ac_top_builddir_sub in
1739 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1740 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1743 ac_abs_top_builddir=$ac_pwd
1744 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1745 # for backward compatibility:
1746 ac_top_builddir=$ac_top_build_prefix
1749 .) # We are building in place.
1751 ac_top_srcdir=$ac_top_builddir_sub
1752 ac_abs_top_srcdir=$ac_pwd ;;
1753 [\\/]* | ?:[\\/]* ) # Absolute name.
1754 ac_srcdir=$srcdir$ac_dir_suffix;
1755 ac_top_srcdir=$srcdir
1756 ac_abs_top_srcdir=$srcdir ;;
1758 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1759 ac_top_srcdir=$ac_top_build_prefix$srcdir
1760 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1762 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1764 cd "$ac_dir" || { ac_status=$?; continue; }
1765 # Check for guested configure.
1766 if test -f "$ac_srcdir/configure.gnu"; then
1768 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1769 elif test -f "$ac_srcdir/configure"; then
1771 $SHELL "$ac_srcdir/configure" --help=recursive
1773 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1775 cd "$ac_pwd" || { ac_status=$?; break; }
1779 test -n "$ac_init_help" && exit $ac_status
1780 if $ac_init_version; then
1783 generated by GNU Autoconf 2.65
1785 Copyright (C) 2009 Free Software Foundation, Inc.
1786 This configure script is free software; the Free Software Foundation
1787 gives unlimited permission to copy, distribute and modify it.
1792 ## ------------------------ ##
1793 ## Autoconf initialization. ##
1794 ## ------------------------ ##
1796 # ac_fn_c_try_compile LINENO
1797 # --------------------------
1798 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1799 ac_fn_c_try_compile ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 rm -f conftest.$ac_objext
1803 if { { ac_try="$ac_compile"
1805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1806 *) ac_try_echo
=$ac_try;;
1808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1809 $as_echo "$ac_try_echo"; } >&5
1810 (eval "$ac_compile") 2>conftest.err
1812 if test -s conftest.err
; then
1813 grep -v '^ *+' conftest.err
>conftest.er1
1814 cat conftest.er1
>&5
1815 mv -f conftest.er1 conftest.err
1817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818 test $ac_status = 0; } && {
1819 test -z "$ac_c_werror_flag" ||
1820 test ! -s conftest.err
1821 } && test -s conftest.
$ac_objext; then :
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.
$ac_ext >&5
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1830 as_fn_set_status
$ac_retval
1832 } # ac_fn_c_try_compile
1834 # ac_fn_c_try_cpp LINENO
1835 # ----------------------
1836 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1840 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } >/dev/null && {
1856 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 as_fn_set_status $ac_retval
1871 # ac_fn_c_try_run LINENO
1872 # ----------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1874 # that executables *can* be run.
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 if { { ac_try="$ac_link"
1880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1881 *) ac_try_echo
=$ac_try;;
1883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1889 { { case "(($ac_try" in
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_try") 2>&5
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; }; }; then :
1901 $as_echo "$as_me: program exited with status $ac_status" >&5
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.$ac_ext >&5
1905 ac_retval=$ac_status
1907 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1908 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1909 as_fn_set_status $ac_retval
1913 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1914 # -------------------------------------------------------
1915 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1916 # the include files in INCLUDES and setting the cache variable VAR
1918 ac_fn_c_check_header_mongrel ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1931 # Is the header compilable?
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1933 $as_echo_n "checking $2 usability... " >&6; }
1934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1939 if ac_fn_c_try_compile "$LINENO"; then :
1940 ac_header_compiler=yes
1942 ac_header_compiler=no
1944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1946 $as_echo "$ac_header_compiler" >&6; }
1948 # Is the header present?
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1950 $as_echo_n "checking $2 presence... " >&6; }
1951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1955 if ac_fn_c_try_cpp "$LINENO"; then :
1956 ac_header_preproc=yes
1958 ac_header_preproc=no
1960 rm -f conftest.err conftest.$ac_ext
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1962 $as_echo "$ac_header_preproc" >&6; }
1964 # So? What about this header?
1965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1968 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1970 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1974 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1976 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1978 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1980 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1982 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1988 $as_echo_n "(cached) " >&6
1990 eval "$3=\$ac_header_compiler"
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_header_mongrel
2000 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2001 # -------------------------------------------------------
2002 # Tests whether HEADER exists and can be compiled using the include files in
2003 # INCLUDES, setting the cache variable VAR accordingly.
2004 ac_fn_c_check_header_compile ()
2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2008 $as_echo_n "checking for $2... " >&6; }
2009 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 $as_echo_n "(cached) " >&6
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2017 if ac_fn_c_try_compile "$LINENO"; then :
2022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2029 } # ac_fn_c_check_header_compile
2031 # ac_fn_c_try_link LINENO
2032 # -----------------------
2033 # Try to link conftest.$ac_ext, and return whether this succeeded.
2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037 rm -f conftest.$ac_objext conftest$ac_exeext
2038 if { { ac_try="$ac_link"
2040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2041 *) ac_try_echo
=$ac_try;;
2043 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2044 $as_echo "$ac_try_echo"; } >&5
2045 (eval "$ac_link") 2>conftest.err
2047 if test -s conftest.err
; then
2048 grep -v '^ *+' conftest.err
>conftest.er1
2049 cat conftest.er1
>&5
2050 mv -f conftest.er1 conftest.err
2052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053 test $ac_status = 0; } && {
2054 test -z "$ac_c_werror_flag" ||
2055 test ! -s conftest.err
2056 } && test -s conftest
$ac_exeext && {
2057 test "$cross_compiling" = yes ||
2058 $as_test_x conftest
$ac_exeext
2062 $as_echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.
$ac_ext >&5
2067 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2068 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2069 # interfere with the next link command; also delete a directory that is
2070 # left behind by Apple's compiler. We do this before executing the actions.
2071 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2072 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2073 as_fn_set_status
$ac_retval
2075 } # ac_fn_c_try_link
2077 # ac_fn_c_check_func LINENO FUNC VAR
2078 # ----------------------------------
2079 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2080 ac_fn_c_check_func
()
2082 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2084 $as_echo_n "checking for $2... " >&6; }
2085 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2086 $as_echo_n "(cached) " >&6
2088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2089 /* end confdefs.h. */
2090 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2092 #define $2 innocuous_$2
2094 /* System header to define __stub macros and hopefully few prototypes,
2095 which can conflict with char $2 (); below.
2096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2097 <limits.h> exists even on freestanding compilers. */
2100 # include <limits.h>
2102 # include <assert.h>
2107 /* Override any GCC internal prototype to avoid an error.
2108 Use char because int might match the return type of a GCC
2109 builtin and then its argument prototype would still apply. */
2114 /* The GNU C library defines this for functions which it implements
2115 to always fail with ENOSYS. Some functions are actually named
2116 something starting with __ and the normal name is an alias. */
2117 #if defined __stub_$2 || defined __stub___$2
2129 if ac_fn_c_try_link
"$LINENO"; then :
2134 rm -f core conftest.err conftest.
$ac_objext \
2135 conftest
$ac_exeext conftest.
$ac_ext
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2139 $as_echo "$ac_res" >&6; }
2140 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2142 } # ac_fn_c_check_func
2143 cat >config.log
<<_ACEOF
2144 This file contains any messages produced by compilers while
2145 running configure, to aid debugging if configure makes a mistake.
2147 It was created by $as_me, which was
2148 generated by GNU Autoconf 2.65. Invocation command line was
2160 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2161 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2162 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2163 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2164 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2166 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2167 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2169 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2170 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2171 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2172 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2173 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2174 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2175 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2183 test -z "$as_dir" && as_dir
=.
2184 $as_echo "PATH: $as_dir"
2200 # Keep a trace of the command line.
2201 # Strip out --no-create and --no-recursion so they do not pile up.
2202 # Strip out --silent because we don't want to record it for future runs.
2203 # Also quote any args containing shell meta-characters.
2204 # Make two passes to allow for proper duplicate-argument suppression.
2208 ac_must_keep_next
=false
2214 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2215 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2216 |
-silent |
--silent |
--silen |
--sile |
--sil)
2219 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2222 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2224 as_fn_append ac_configure_args1
" '$ac_arg'"
2225 if test $ac_must_keep_next = true
; then
2226 ac_must_keep_next
=false
# Got value, back to normal.
2229 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2230 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2231 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2232 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2233 case "$ac_configure_args0 " in
2234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2237 -* ) ac_must_keep_next
=true
;;
2240 as_fn_append ac_configure_args
" '$ac_arg'"
2245 { ac_configure_args0
=; unset ac_configure_args0
;}
2246 { ac_configure_args1
=; unset ac_configure_args1
;}
2248 # When interrupted or exit'd, cleanup temporary files, and complete
2249 # config.log. We remove comments because anyway the quotes in there
2250 # would cause problems or look ugly.
2251 # WARNING: Use '\'' to represent an apostrophe within the trap.
2252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2253 trap 'exit_status=$?
2254 # Save into config.log some information that might help in debugging.
2259 ## ---------------- ##
2260 ## Cache variables. ##
2261 ## ---------------- ##
2264 # The following way of writing the cache mishandles newlines in values,
2266 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2267 eval ac_val=\$$ac_var
2271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2275 _ | IFS | as_nl) ;; #(
2276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2277 *) { eval $ac_var=; unset $ac_var;} ;;
2282 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2283 *${as_nl}ac_space=\ *)
2285 "s/'\''/'\''\\\\'\'''\''/g;
2286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2297 ## ----------------- ##
2298 ## Output variables. ##
2299 ## ----------------- ##
2302 for ac_var in $ac_subst_vars
2304 eval ac_val=\$$ac_var
2306 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 $as_echo "$ac_var='\''$ac_val'\''"
2312 if test -n "$ac_subst_files"; then
2314 ## ------------------- ##
2315 ## File substitutions. ##
2316 ## ------------------- ##
2319 for ac_var
in $ac_subst_files
2321 eval ac_val
=\$
$ac_var
2323 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325 $as_echo "$ac_var='\''$ac_val'\''"
2330 if test -s confdefs.h; then
2340 test "$ac_signal" != 0 &&
2341 $as_echo "$as_me: caught signal $ac_signal"
2342 $as_echo "$as_me: exit $exit_status"
2344 rm -f core *.core core.conftest.* &&
2345 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2348 for ac_signal
in 1 2 13 15; do
2349 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2353 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2354 rm -f -r conftest
* confdefs.h
2356 $as_echo "/* confdefs.h */" > confdefs.h
2358 # Predefined preprocessor variables.
2360 cat >>confdefs.h
<<_ACEOF
2361 #define PACKAGE_NAME "$PACKAGE_NAME"
2364 cat >>confdefs.h
<<_ACEOF
2365 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2368 cat >>confdefs.h
<<_ACEOF
2369 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2372 cat >>confdefs.h
<<_ACEOF
2373 #define PACKAGE_STRING "$PACKAGE_STRING"
2376 cat >>confdefs.h
<<_ACEOF
2377 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2380 cat >>confdefs.h
<<_ACEOF
2381 #define PACKAGE_URL "$PACKAGE_URL"
2385 # Let the site file select an alternate cache file if it wants to.
2386 # Prefer an explicitly selected file to automatically selected ones.
2389 if test -n "$CONFIG_SITE"; then
2390 ac_site_file1
=$CONFIG_SITE
2391 elif test "x$prefix" != xNONE
; then
2392 ac_site_file1
=$prefix/share
/config.site
2393 ac_site_file2
=$prefix/etc
/config.site
2395 ac_site_file1
=$ac_default_prefix/share
/config.site
2396 ac_site_file2
=$ac_default_prefix/etc
/config.site
2398 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2400 test "x$ac_site_file" = xNONE
&& continue
2401 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2403 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2404 sed 's/^/| /' "$ac_site_file" >&5
2409 if test -r "$cache_file"; then
2410 # Some versions of bash will fail to source /dev/null (special files
2411 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2412 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2414 $as_echo "$as_me: loading cache $cache_file" >&6;}
2416 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2417 *) .
"./$cache_file";;
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2422 $as_echo "$as_me: creating cache $cache_file" >&6;}
2426 # Check that the precious variables saved in the cache have kept the same
2428 ac_cache_corrupted
=false
2429 for ac_var
in $ac_precious_vars; do
2430 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2431 eval ac_new_set
=\
$ac_env_${ac_var}_set
2432 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2433 eval ac_new_val
=\
$ac_env_${ac_var}_value
2434 case $ac_old_set,$ac_new_set in
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2437 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2438 ac_cache_corrupted
=: ;;
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2441 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2442 ac_cache_corrupted
=: ;;
2445 if test "x$ac_old_val" != "x$ac_new_val"; then
2446 # differences in whitespace do not lead to failure.
2447 ac_old_val_w
=`echo x $ac_old_val`
2448 ac_new_val_w
=`echo x $ac_new_val`
2449 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2451 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2452 ac_cache_corrupted
=:
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2455 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2456 eval $ac_var=\
$ac_old_val
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2459 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2461 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2464 # Pass precious variables to config.status.
2465 if test "$ac_new_set" = set; then
2467 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2468 *) ac_arg
=$ac_var=$ac_new_val ;;
2470 case " $ac_configure_args " in
2471 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2472 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2476 if $ac_cache_corrupted; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2480 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2481 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2483 ## -------------------- ##
2484 ## Main body of script. ##
2485 ## -------------------- ##
2488 ac_cpp
='$CPP $CPPFLAGS'
2489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2494 ac_config_headers
="$ac_config_headers config.h"
2498 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2499 for ac_t
in install-sh
install.sh shtool
; do
2500 if test -f "$ac_dir/$ac_t"; then
2502 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2507 if test -z "$ac_aux_dir"; then
2508 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2511 # These three variables are undocumented and unsupported,
2512 # and are intended to be withdrawn in a future Autoconf release.
2513 # They can cause serious problems if a builder's source tree is in a directory
2514 # whose full name contains unusual characters.
2515 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2516 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2517 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2520 # Make sure we can run config.sub.
2521 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2522 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2525 $as_echo_n "checking build system type... " >&6; }
2526 if test "${ac_cv_build+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 ac_build_alias
=$build_alias
2530 test "x$ac_build_alias" = x
&&
2531 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2532 test "x$ac_build_alias" = x
&&
2533 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2534 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2535 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2539 $as_echo "$ac_cv_build" >&6; }
2540 case $ac_cv_build in
2542 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2545 ac_save_IFS
=$IFS; IFS
='-'
2551 # Remember, the first character of IFS is used to create $*,
2552 # except with old shells:
2555 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2559 $as_echo_n "checking host system type... " >&6; }
2560 if test "${ac_cv_host+set}" = set; then :
2561 $as_echo_n "(cached) " >&6
2563 if test "x$host_alias" = x
; then
2564 ac_cv_host
=$ac_cv_build
2566 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2567 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2572 $as_echo "$ac_cv_host" >&6; }
2575 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2578 ac_save_IFS
=$IFS; IFS
='-'
2584 # Remember, the first character of IFS is used to create $*,
2585 # except with old shells:
2588 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2592 LIBXML_MAJOR_VERSION
=2
2593 LIBXML_MINOR_VERSION
=7
2594 LIBXML_MICRO_VERSION
=7
2595 LIBXML_MICRO_VERSION_SUFFIX
=
2596 LIBXML_VERSION
=$LIBXML_MAJOR_VERSION.
$LIBXML_MINOR_VERSION.
$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2597 LIBXML_VERSION_INFO
=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2599 LIBXML_VERSION_NUMBER
=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2601 if test -f CVS
/Entries
; then
2602 extra
=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2604 if test "$extra" != ""
2606 LIBXML_VERSION_EXTRA
="-CVS$extra"
2608 else if test -d .svn
; then
2609 extra
=`svn info | grep Revision | sed 's+Revision: ++'`
2611 if test "$extra" != ""
2613 LIBXML_VERSION_EXTRA
="-SVN$extra"
2615 else if test -d .git
; then
2616 extra
=`git describe | sed 's+LIBXML[0-9.]*-++'`
2618 if test "$extra" != ""
2620 LIBXML_VERSION_EXTRA
="-GIT$extra"
2633 VERSION
=${LIBXML_VERSION}
2635 am__api_version
='1.11'
2637 # Find a good install program. We prefer a C program (faster),
2638 # so one script is as good as another. But avoid the broken or
2639 # incompatible versions:
2640 # SysV /etc/install, /usr/sbin/install
2641 # SunOS /usr/etc/install
2642 # IRIX /sbin/install
2644 # AmigaOS /C/install, which installs bootblocks on floppy discs
2645 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2646 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2647 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2648 # OS/2's system install, which has a completely different semantic
2649 # ./install, which can be erroneously created by make from ./install.sh.
2650 # Reject install programs that cannot install multiple files.
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2652 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2653 if test -z "$INSTALL"; then
2654 if test "${ac_cv_path_install+set}" = set; then :
2655 $as_echo_n "(cached) " >&6
2657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir
=.
2662 # Account for people who put trailing slashes in PATH elements.
2663 case $as_dir/ in #((
2664 .
/ | .
// |
/[cC
]/* | \
2665 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2666 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2669 # OSF1 and SCO ODT 3.0 have their own names for install.
2670 # Don't use installbsd from OSF since it installs stuff as root
2672 for ac_prog
in ginstall scoinst
install; do
2673 for ac_exec_ext
in '' $ac_executable_extensions; do
2674 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2675 if test $ac_prog = install &&
2676 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2677 # AIX install. It has an incompatible calling convention.
2679 elif test $ac_prog = install &&
2680 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2681 # program-specific install script used by HP pwplus--don't use.
2684 rm -rf conftest.one conftest.two conftest.dir
2685 echo one
> conftest.one
2686 echo two
> conftest.two
2688 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2689 test -s conftest.one
&& test -s conftest.two
&&
2690 test -s conftest.dir
/conftest.one
&&
2691 test -s conftest.dir
/conftest.two
2693 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2706 rm -rf conftest.one conftest.two conftest.dir
2709 if test "${ac_cv_path_install+set}" = set; then
2710 INSTALL
=$ac_cv_path_install
2712 # As a last resort, use the slow shell script. Don't cache a
2713 # value for INSTALL within a source directory, because that will
2714 # break other packages using the cache if that directory is
2715 # removed, or if the value is a relative name.
2716 INSTALL
=$ac_install_sh
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2720 $as_echo "$INSTALL" >&6; }
2722 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2723 # It thinks the first close brace ends the variable substitution.
2724 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2726 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2728 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2731 $as_echo_n "checking whether build environment is sane... " >&6; }
2734 echo timestamp
> conftest.
file
2735 # Reject unsafe characters in $srcdir or the absolute working directory
2736 # name. Accept space and tab only in the latter.
2740 *[\\\"\
#\$\&\'\`$am_lf]*)
2741 as_fn_error
"unsafe absolute working directory name" "$LINENO" 5;;
2744 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2745 as_fn_error
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2748 # Do `set' in a subshell so we don't clobber the current shell's
2749 # arguments. Must try -L first in case configure is actually a
2750 # symlink; some systems play weird games with the mod time of symlinks
2751 # (eg FreeBSD returns the mod time of the symlink's containing
2754 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2755 if test "$*" = "X"; then
2757 set X
`ls -t "$srcdir/configure" conftest.file`
2760 if test "$*" != "X $srcdir/configure conftest.file" \
2761 && test "$*" != "X conftest.file $srcdir/configure"; then
2763 # If neither matched, then we have a broken ls. This can happen
2764 # if, for instance, CONFIG_SHELL is bash and it inherits a
2765 # broken ls alias from the environment. This has actually
2766 # happened. Such a system could not be considered "sane".
2767 as_fn_error
"ls -t appears to fail. Make sure there is not a broken
2768 alias in your environment" "$LINENO" 5
2771 test "$2" = conftest.
file
2777 as_fn_error
"newly created file is older than distributed files!
2778 Check your system clock" "$LINENO" 5
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2781 $as_echo "yes" >&6; }
2782 test "$program_prefix" != NONE
&&
2783 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2784 # Use a double $ so make ignores it.
2785 test "$program_suffix" != NONE
&&
2786 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2787 # Double any \ or $.
2788 # By default was `s,x,x', remove it if useless.
2789 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2790 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2792 # expand $ac_aux_dir to an absolute path
2793 am_aux_dir
=`cd $ac_aux_dir && pwd`
2795 if test x
"${MISSING+set}" != xset
; then
2798 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2800 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2803 # Use eval to expand $SHELL
2804 if eval "$MISSING --run true"; then
2805 am_missing_run
="$MISSING --run "
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2809 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2812 if test x
"${install_sh}" != xset
; then
2815 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2817 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2821 # Installed binaries are usually stripped using `strip' when the user
2822 # run `make install-strip'. However `strip' might not be the right
2823 # tool to use in cross-compilation environments, therefore Automake
2824 # will honor the `STRIP' environment variable to overrule this program.
2825 if test "$cross_compiling" != no
; then
2826 if test -n "$ac_tool_prefix"; then
2827 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2828 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2830 $as_echo_n "checking for $ac_word... " >&6; }
2831 if test "${ac_cv_prog_STRIP+set}" = set; then :
2832 $as_echo_n "(cached) " >&6
2834 if test -n "$STRIP"; then
2835 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir
=.
2842 for ac_exec_ext
in '' $ac_executable_extensions; do
2843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2844 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2854 STRIP
=$ac_cv_prog_STRIP
2855 if test -n "$STRIP"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2857 $as_echo "$STRIP" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2865 if test -z "$ac_cv_prog_STRIP"; then
2867 # Extract the first word of "strip", so it can be a program name with args.
2868 set dummy strip
; ac_word
=$2
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2870 $as_echo_n "checking for $ac_word... " >&6; }
2871 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2872 $as_echo_n "(cached) " >&6
2874 if test -n "$ac_ct_STRIP"; then
2875 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2881 test -z "$as_dir" && as_dir
=.
2882 for ac_exec_ext
in '' $ac_executable_extensions; do
2883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2884 ac_cv_prog_ac_ct_STRIP
="strip"
2885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2894 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2895 if test -n "$ac_ct_STRIP"; then
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2897 $as_echo "$ac_ct_STRIP" >&6; }
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2900 $as_echo "no" >&6; }
2903 if test "x$ac_ct_STRIP" = x
; then
2906 case $cross_compiling:$ac_tool_warned in
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2910 ac_tool_warned
=yes ;;
2915 STRIP
="$ac_cv_prog_STRIP"
2919 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2922 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2923 if test -z "$MKDIR_P"; then
2924 if test "${ac_cv_path_mkdir+set}" = set; then :
2925 $as_echo_n "(cached) " >&6
2927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2928 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2931 test -z "$as_dir" && as_dir
=.
2932 for ac_prog
in mkdir gmkdir
; do
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2935 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2936 'mkdir (GNU coreutils) '* | \
2937 'mkdir (coreutils) '* | \
2938 'mkdir (fileutils) '4.1*)
2939 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2949 test -d .
/--version && rmdir .
/--version
2950 if test "${ac_cv_path_mkdir+set}" = set; then
2951 MKDIR_P
="$ac_cv_path_mkdir -p"
2953 # As a last resort, use the slow shell script. Don't cache a
2954 # value for MKDIR_P within a source directory, because that will
2955 # break other packages using the cache if that directory is
2956 # removed, or if the value is a relative name.
2957 MKDIR_P
="$ac_install_sh -d"
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2961 $as_echo "$MKDIR_P" >&6; }
2965 [\\/$
]* | ?
:[\\/]*) ;;
2966 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2969 for ac_prog
in gawk mawk nawk
awk
2971 # Extract the first word of "$ac_prog", so it can be a program name with args.
2972 set dummy
$ac_prog; ac_word
=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if test "${ac_cv_prog_AWK+set}" = set; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$AWK"; then
2979 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_AWK
="$ac_prog"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$AWK"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3001 $as_echo "$AWK" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3008 test -n "$AWK" && break
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3012 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3014 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3015 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3016 $as_echo_n "(cached) " >&6
3018 cat >conftest.
make <<\_ACEOF
3021 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3026 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3028 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3032 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3034 $as_echo "yes" >&6; }
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3038 $as_echo "no" >&6; }
3039 SET_MAKE
="MAKE=${MAKE-make}"
3042 rm -rf .tst
2>/dev
/null
3043 mkdir .tst
2>/dev
/null
3044 if test -d .tst
; then
3049 rmdir .tst
2>/dev
/null
3051 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3052 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3053 # is not polluted with repeated "-I."
3054 am__isrc
=' -I$(srcdir)'
3055 # test to see if srcdir already configured
3056 if test -f $srcdir/config.status
; then
3057 as_fn_error
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3061 # test whether we have cygpath
3062 if test -z "$CYGPATH_W"; then
3063 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3064 CYGPATH_W
='cygpath -w'
3071 # Define the identity of the package.
3076 cat >>confdefs.h
<<_ACEOF
3077 #define PACKAGE "$PACKAGE"
3081 cat >>confdefs.h
<<_ACEOF
3082 #define VERSION "$VERSION"
3085 # Some tools Automake needs.
3087 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3090 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3093 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3096 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3099 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3101 # We need awk for the "check" target. The system "awk" is bad on
3103 # Always define AMTAR for backward compatibility.
3105 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3107 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3115 ac_cpp
='$CPP $CPPFLAGS'
3116 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3119 if test -n "$ac_tool_prefix"; then
3120 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3121 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3123 $as_echo_n "checking for $ac_word... " >&6; }
3124 if test "${ac_cv_prog_CC+set}" = set; then :
3125 $as_echo_n "(cached) " >&6
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC
="$CC" # Let the user override the test.
3130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir
=.
3135 for ac_exec_ext
in '' $ac_executable_extensions; do
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3148 if test -n "$CC"; then
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3150 $as_echo "$CC" >&6; }
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3153 $as_echo "no" >&6; }
3158 if test -z "$ac_cv_prog_CC"; then
3160 # Extract the first word of "gcc", so it can be a program name with args.
3161 set dummy gcc
; ac_word
=$2
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 $as_echo_n "checking for $ac_word... " >&6; }
3164 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 if test -n "$ac_ct_CC"; then
3168 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_ac_ct_CC
="gcc"
3178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3188 if test -n "$ac_ct_CC"; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3190 $as_echo "$ac_ct_CC" >&6; }
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3193 $as_echo "no" >&6; }
3196 if test "x$ac_ct_CC" = x
; then
3199 case $cross_compiling:$ac_tool_warned in
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3203 ac_tool_warned
=yes ;;
3211 if test -z "$CC"; then
3212 if test -n "$ac_tool_prefix"; then
3213 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3214 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3216 $as_echo_n "checking for $ac_word... " >&6; }
3217 if test "${ac_cv_prog_CC+set}" = set; then :
3218 $as_echo_n "(cached) " >&6
3220 if test -n "$CC"; then
3221 ac_cv_prog_CC
="$CC" # Let the user override the test.
3223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3227 test -z "$as_dir" && as_dir
=.
3228 for ac_exec_ext
in '' $ac_executable_extensions; do
3229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3230 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3241 if test -n "$CC"; then
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3243 $as_echo "$CC" >&6; }
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3246 $as_echo "no" >&6; }
3252 if test -z "$CC"; then
3253 # Extract the first word of "cc", so it can be a program name with args.
3254 set dummy cc
; ac_word
=$2
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3256 $as_echo_n "checking for $ac_word... " >&6; }
3257 if test "${ac_cv_prog_CC+set}" = set; then :
3258 $as_echo_n "(cached) " >&6
3260 if test -n "$CC"; then
3261 ac_cv_prog_CC
="$CC" # Let the user override the test.
3264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3268 test -z "$as_dir" && as_dir
=.
3269 for ac_exec_ext
in '' $ac_executable_extensions; do
3270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3272 ac_prog_rejected
=yes
3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283 if test $ac_prog_rejected = yes; then
3284 # We found a bogon in the path, so make sure we never use it.
3285 set dummy
$ac_cv_prog_CC
3287 if test $# != 0; then
3288 # We chose a different compiler from the bogus one.
3289 # However, it has the same basename, so the bogon will be chosen
3290 # first if we set CC to just the basename; use the full file name.
3292 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3298 if test -n "$CC"; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3300 $as_echo "$CC" >&6; }
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 $as_echo "no" >&6; }
3308 if test -z "$CC"; then
3309 if test -n "$ac_tool_prefix"; then
3310 for ac_prog
in cl.exe
3312 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3313 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3315 $as_echo_n "checking for $ac_word... " >&6; }
3316 if test "${ac_cv_prog_CC+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 if test -n "$CC"; then
3320 ac_cv_prog_CC
="$CC" # Let the user override the test.
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3329 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 if test -n "$CC"; then
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3342 $as_echo "$CC" >&6; }
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3345 $as_echo "no" >&6; }
3349 test -n "$CC" && break
3352 if test -z "$CC"; then
3354 for ac_prog
in cl.exe
3356 # Extract the first word of "$ac_prog", so it can be a program name with args.
3357 set dummy
$ac_prog; ac_word
=$2
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3359 $as_echo_n "checking for $ac_word... " >&6; }
3360 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3361 $as_echo_n "(cached) " >&6
3363 if test -n "$ac_ct_CC"; then
3364 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_exec_ext
in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_ac_ct_CC
="$ac_prog"
3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3384 if test -n "$ac_ct_CC"; then
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3386 $as_echo "$ac_ct_CC" >&6; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3389 $as_echo "no" >&6; }
3393 test -n "$ac_ct_CC" && break
3396 if test "x$ac_ct_CC" = x
; then
3399 case $cross_compiling:$ac_tool_warned in
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3403 ac_tool_warned
=yes ;;
3412 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3414 as_fn_error
"no acceptable C compiler found in \$PATH
3415 See \`config.log' for more details." "$LINENO" 5; }
3417 # Provide some information about the compiler.
3418 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3421 for ac_option
in --version -v -V -qversion; do
3422 { { ac_try
="$ac_compiler $ac_option >&5"
3424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3425 *) ac_try_echo=$ac_try;;
3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3431 if test -s conftest.err; then
3433 ... rest of stderr output deleted ...
3434 10q' conftest.err >conftest.er1
3435 cat conftest.er1 >&5
3437 rm -f conftest.er1 conftest.err
3438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3439 test $ac_status = 0; }
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3453 ac_clean_files_save=$ac_clean_files
3454 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3455 # Try to create an executable without -o first, disregard a.out.
3456 # It will help us diagnose broken compilers, and finding out an intuition
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3459 $as_echo_n "checking whether the C compiler works... " >&6; }
3460 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3462 # The possible output files:
3463 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3466 for ac_file in $ac_files
3469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3470 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3475 if { { ac_try="$ac_link_default"
3477 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3478 *) ac_try_echo
=$ac_try;;
3480 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3481 $as_echo "$ac_try_echo"; } >&5
3482 (eval "$ac_link_default") 2>&5
3484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3485 test $ac_status = 0; }; then :
3486 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3487 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3488 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3489 # so that the user can short-circuit this test for compilers unknown to
3491 for ac_file
in $ac_files ''
3493 test -f "$ac_file" ||
continue
3495 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3498 # We found the default executable, but exeext='' is most
3502 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3504 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3506 # We set ac_cv_exeext here because the later test for it is not
3507 # safe: cross compilers may not add the suffix if given an `-o'
3508 # argument, so we may need to know it at that point already.
3509 # Even if this section looks crufty: it has the advantage of
3516 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3521 if test -z "$ac_file"; then :
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3523 $as_echo "no" >&6; }
3524 $as_echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.
$ac_ext >&5
3527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3529 { as_fn_set_status
77
3530 as_fn_error
"C compiler cannot create executables
3531 See \`config.log' for more details." "$LINENO" 5; }; }
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3534 $as_echo "yes" >&6; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3537 $as_echo_n "checking for C compiler default output file name... " >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3539 $as_echo "$ac_file" >&6; }
3540 ac_exeext
=$ac_cv_exeext
3542 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3543 ac_clean_files
=$ac_clean_files_save
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3545 $as_echo_n "checking for suffix of executables... " >&6; }
3546 if { { ac_try
="$ac_link"
3548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3551 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3552 $as_echo "$ac_try_echo"; } >&5
3553 (eval "$ac_link") 2>&5
3555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3556 test $ac_status = 0; }; then :
3557 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3558 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3559 # work properly (i.e., refer to `conftest.exe'), while it won't with
3561 for ac_file
in conftest.exe conftest conftest.
*; do
3562 test -f "$ac_file" ||
continue
3564 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3565 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3571 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3572 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3573 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3574 See \`config.log' for more details." "$LINENO" 5; }
3576 rm -f conftest conftest
$ac_cv_exeext
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3578 $as_echo "$ac_cv_exeext" >&6; }
3580 rm -f conftest.
$ac_ext
3581 EXEEXT
=$ac_cv_exeext
3583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3584 /* end confdefs.h. */
3589 FILE *f = fopen ("conftest.out", "w");
3590 return ferror (f) || fclose (f) != 0;
3596 ac_clean_files
="$ac_clean_files conftest.out"
3597 # Check that the compiler produces executables we can run. If not, either
3598 # the compiler is broken, or we cross compile.
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3600 $as_echo_n "checking whether we are cross compiling... " >&6; }
3601 if test "$cross_compiling" != yes; then
3602 { { ac_try
="$ac_link"
3604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3605 *) ac_try_echo=$ac_try;;
3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3608 $as_echo "$ac_try_echo"; } >&5
3609 (eval "$ac_link") 2>&5
3611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3612 test $ac_status = 0; }
3613 if { ac_try='./conftest$ac_cv_exeext'
3614 { { case "(($ac_try" in
3615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3616 *) ac_try_echo
=$ac_try;;
3618 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3619 $as_echo "$ac_try_echo"; } >&5
3620 (eval "$ac_try") 2>&5
3622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3623 test $ac_status = 0; }; }; then
3626 if test "$cross_compiling" = maybe
; then
3629 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3631 as_fn_error
"cannot run C compiled programs.
3632 If you meant to cross compile, use \`--host'.
3633 See \`config.log' for more details." "$LINENO" 5; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3638 $as_echo "$cross_compiling" >&6; }
3640 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3641 ac_clean_files
=$ac_clean_files_save
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3643 $as_echo_n "checking for suffix of object files... " >&6; }
3644 if test "${ac_cv_objext+set}" = set; then :
3645 $as_echo_n "(cached) " >&6
3647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3658 rm -f conftest.o conftest.obj
3659 if { { ac_try
="$ac_compile"
3661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3662 *) ac_try_echo=$ac_try;;
3664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3665 $as_echo "$ac_try_echo"; } >&5
3666 (eval "$ac_compile") 2>&5
3668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3669 test $ac_status = 0; }; then :
3670 for ac_file in conftest.o conftest.obj conftest.*; do
3671 test -f "$ac_file" || continue;
3673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3674 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3679 $as_echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3682 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3683 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3684 as_fn_error "cannot compute suffix of object files
: cannot compile
3685 See \
`config.log' for more details." "$LINENO" 5; }
3687 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3690 $as_echo "$ac_cv_objext" >&6; }
3691 OBJEXT=$ac_cv_objext
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3694 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3695 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3699 /* end confdefs.h. */
3712 if ac_fn_c_try_compile "$LINENO"; then :
3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3718 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3722 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3723 if test $ac_compiler_gnu = yes; then
3728 ac_test_CFLAGS=${CFLAGS+set}
3729 ac_save_CFLAGS=$CFLAGS
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3731 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3732 if test "${ac_cv_prog_cc_g+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3735 ac_save_c_werror_flag=$ac_c_werror_flag
3736 ac_c_werror_flag=yes
3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3740 /* end confdefs.h. */
3750 if ac_fn_c_try_compile "$LINENO"; then :
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3765 if ac_fn_c_try_compile "$LINENO"; then :
3768 ac_c_werror_flag=$ac_save_c_werror_flag
3770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3771 /* end confdefs.h. */
3781 if ac_fn_c_try_compile "$LINENO"; then :
3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789 ac_c_werror_flag=$ac_save_c_werror_flag
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3792 $as_echo "$ac_cv_prog_cc_g" >&6; }
3793 if test "$ac_test_CFLAGS" = set; then
3794 CFLAGS=$ac_save_CFLAGS
3795 elif test $ac_cv_prog_cc_g = yes; then
3796 if test "$GCC" = yes; then
3802 if test "$GCC" = yes; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3809 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3810 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3811 $as_echo_n "(cached) " >&6
3813 ac_cv_prog_cc_c89=no
3815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3816 /* end confdefs.h. */
3819 #include <sys/types.h>
3820 #include <sys/stat.h>
3821 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3822 struct buf { int x; };
3823 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3824 static char *e (p, i)
3830 static char *f (char * (*g) (char **, int), char **p, ...)
3835 s = g (p, va_arg (v,int));
3840 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3841 function prototypes and stuff, but not '\xHH' hex character constants.
3842 These don't provoke an error unfortunately, instead are silently treated
3843 as 'x'. The following induces an error, until -std is added to get
3844 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3845 array size at least. It's necessary to write '\x00'==0 to get something
3846 that's true only with -std. */
3847 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3849 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3850 inside strings and character constants. */
3852 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3854 int test (int i, double x);
3855 struct s1 {int (*f) (int a);};
3856 struct s2 {int (*f) (double a);};
3857 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3863 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3868 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3869 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3871 CC="$ac_save_CC $ac_arg"
3872 if ac_fn_c_try_compile "$LINENO"; then :
3873 ac_cv_prog_cc_c89=$ac_arg
3875 rm -f core conftest.err conftest.$ac_objext
3876 test "x$ac_cv_prog_cc_c89" != "xno" && break
3878 rm -f conftest.$ac_ext
3883 case "x$ac_cv_prog_cc_c89" in
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3886 $as_echo "none needed" >&6; } ;;
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3889 $as_echo "unsupported" >&6; } ;;
3891 CC="$CC $ac_cv_prog_cc_c89"
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3893 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3895 if test "x$ac_cv_prog_cc_c89" != xno; then :
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904 DEPDIR="${am__leading_dot}deps"
3906 ac_config_commands="$ac_config_commands depfiles"
3909 am_make=${MAKE-make}
3910 cat > confinc << 'END'
3912 @echo this is the am__doit target
3915 # If we don't find an include directive, just comment out the code.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3917 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3921 # First try GNU make style include.
3922 echo "include confinc" > confmf
3923 # Ignore all kinds of additional output from `make'.
3924 case `$am_make -s -f confmf 2> /dev/null` in #(
3925 *the\ am__doit\ target*)
3931 # Now try BSD make style include.
3932 if test "$am__include" = "#"; then
3933 echo '.include
"confinc"' > confmf
3934 case `$am_make -s -f confmf 2> /dev/null` in #(
3935 *the\ am__doit\ target*)
3936 am__include=.include
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3945 $as_echo "$_am_result" >&6; }
3946 rm -f confinc confmf
3948 # Check whether --enable-dependency-tracking was given.
3949 if test "${enable_dependency_tracking+set}" = set; then :
3950 enableval=$enable_dependency_tracking;
3953 if test "x$enable_dependency_tracking" != xno; then
3954 am_depcomp="$ac_aux_dir/depcomp"
3957 if test "x$enable_dependency_tracking" != xno
; then
3967 depcc
="$CC" am_compiler_list
=
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3970 $as_echo_n "checking dependency style of $depcc... " >&6; }
3971 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3972 $as_echo_n "(cached) " >&6
3974 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3975 # We make a subdir and do the tests there. Otherwise we can end up
3976 # making bogus files that we don't know about and never remove. For
3977 # instance it was reported that on HP-UX the gcc test will end up
3978 # making a dummy file named `D' -- because `-MD' means `put the output
3981 # Copy depcomp to subdir because otherwise we won't find it if we're
3982 # using a relative directory.
3983 cp "$am_depcomp" conftest.dir
3985 # We will build objects and dependencies in a subdirectory because
3986 # it helps to detect inapplicable dependency modes. For instance
3987 # both Tru64's cc and ICC support -MD to output dependencies as a
3988 # side effect of compilation, but ICC will put the dependencies in
3989 # the current directory while Tru64 will put them in the object
3993 am_cv_CC_dependencies_compiler_type
=none
3994 if test "$am_compiler_list" = ""; then
3995 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3998 case " $depcc " in #(
3999 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4002 for depmode
in $am_compiler_list; do
4003 # Setup a source with many dependencies, because some compilers
4004 # like to wrap large dependency lists on column 80 (with \), and
4005 # we should not choose a depcomp mode which is confused by this.
4007 # We need to recreate these files for each test, as the compiler may
4008 # overwrite some of them when testing with obscure command lines.
4009 # This happens at least with the AIX C compiler.
4011 for i
in 1 2 3 4 5 6; do
4012 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4013 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4014 # Solaris 8's {/usr,}/bin/sh.
4015 touch sub
/conftst
$i.h
4017 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4019 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4020 # mode. It turns out that the SunPro C++ compiler does not properly
4021 # handle `-M -o', and we need to detect this. Also, some Intel
4022 # versions had trouble with output in subdirs
4023 am__obj
=sub
/conftest.
${OBJEXT-o}
4024 am__minus_obj
="-o $am__obj"
4027 # This depmode causes a compiler race in universal mode.
4028 test "$am__universal" = false ||
continue
4031 # after this tag, mechanisms are not by side-effect, so they'll
4032 # only be used when explicitly requested
4033 if test "x$enable_dependency_tracking" = xyes
; then
4039 msvisualcpp | msvcmsys
)
4040 # This compiler won't grok `-c -o', but also, the minuso test has
4041 # not run yet. These depmodes are late enough in the game, and
4042 # so weak that their functioning should not be impacted.
4043 am__obj
=conftest.
${OBJEXT-o}
4048 if depmode
=$depmode \
4049 source=sub
/conftest.c object
=$am__obj \
4050 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4051 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4052 >/dev
/null
2>conftest.err
&&
4053 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4054 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4055 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4056 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4057 # icc doesn't choke on unknown options, it will just issue warnings
4058 # or remarks (even with -Werror). So we grep stderr for any message
4059 # that says an option was ignored or not supported.
4060 # When given -MP, icc 7.0 and 7.1 complain thusly:
4061 # icc: Command line warning: ignoring option '-M'; no argument required
4062 # The diagnosis changed in icc 8.0:
4063 # icc: Command line remark: option '-MP' not supported
4064 if (grep 'ignoring option' conftest.err ||
4065 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4066 am_cv_CC_dependencies_compiler_type
=$depmode
4075 am_cv_CC_dependencies_compiler_type
=none
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4080 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4081 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4084 test "x$enable_dependency_tracking" != xno \
4085 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4087 am__fastdepCC_FALSE
='#'
4089 am__fastdepCC_TRUE
='#'
4090 am__fastdepCC_FALSE
=
4096 ac_cpp
='$CPP $CPPFLAGS'
4097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4101 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4102 # On Suns, sometimes $CPP names a directory.
4103 if test -n "$CPP" && test -d "$CPP"; then
4106 if test -z "$CPP"; then
4107 if test "${ac_cv_prog_CPP+set}" = set; then :
4108 $as_echo_n "(cached) " >&6
4110 # Double quotes because CPP needs to be expanded
4111 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4114 for ac_c_preproc_warn_flag
in '' yes
4116 # Use a header file that comes with gcc, so configuring glibc
4117 # with a fresh cross-compiler works.
4118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 # <limits.h> exists even on freestanding compilers.
4120 # On the NeXT, cc -E runs the code through the compiler's parser,
4121 # not just through cpp. "Syntax error" is here to catch this case.
4122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4125 # include <limits.h>
4127 # include <assert.h>
4131 if ac_fn_c_try_cpp
"$LINENO"; then :
4134 # Broken: fails on valid input.
4137 rm -f conftest.err conftest.
$ac_ext
4139 # OK, works on sane cases. Now check whether nonexistent headers
4140 # can be detected and how.
4141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4143 #include <ac_nonexistent.h>
4145 if ac_fn_c_try_cpp
"$LINENO"; then :
4146 # Broken: success on invalid input.
4149 # Passes both tests.
4153 rm -f conftest.err conftest.
$ac_ext
4156 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4157 rm -f conftest.err conftest.
$ac_ext
4158 if $ac_preproc_ok; then :
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4171 $as_echo "$CPP" >&6; }
4173 for ac_c_preproc_warn_flag
in '' yes
4175 # Use a header file that comes with gcc, so configuring glibc
4176 # with a fresh cross-compiler works.
4177 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4178 # <limits.h> exists even on freestanding compilers.
4179 # On the NeXT, cc -E runs the code through the compiler's parser,
4180 # not just through cpp. "Syntax error" is here to catch this case.
4181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4184 # include <limits.h>
4186 # include <assert.h>
4190 if ac_fn_c_try_cpp
"$LINENO"; then :
4193 # Broken: fails on valid input.
4196 rm -f conftest.err conftest.
$ac_ext
4198 # OK, works on sane cases. Now check whether nonexistent headers
4199 # can be detected and how.
4200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4202 #include <ac_nonexistent.h>
4204 if ac_fn_c_try_cpp
"$LINENO"; then :
4205 # Broken: success on invalid input.
4208 # Passes both tests.
4212 rm -f conftest.err conftest.
$ac_ext
4215 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4216 rm -f conftest.err conftest.
$ac_ext
4217 if $ac_preproc_ok; then :
4220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4222 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
4223 See \`config.log' for more details." "$LINENO" 5; }
4227 ac_cpp
='$CPP $CPPFLAGS'
4228 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4232 # Extract the first word of "rm", so it can be a program name with args.
4233 set dummy
rm; ac_word
=$2
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235 $as_echo_n "checking for $ac_word... " >&6; }
4236 if test "${ac_cv_path_RM+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4241 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
4244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4248 test -z "$as_dir" && as_dir
=.
4249 for ac_exec_ext
in '' $ac_executable_extensions; do
4250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4251 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
4252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="/bin/rm"
4264 if test -n "$RM"; then
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4266 $as_echo "$RM" >&6; }
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4269 $as_echo "no" >&6; }
4273 # Extract the first word of "mv", so it can be a program name with args.
4274 set dummy
mv; ac_word
=$2
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4276 $as_echo_n "checking for $ac_word... " >&6; }
4277 if test "${ac_cv_path_MV+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4282 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
4285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4289 test -z "$as_dir" && as_dir
=.
4290 for ac_exec_ext
in '' $ac_executable_extensions; do
4291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292 ac_cv_path_MV
="$as_dir/$ac_word$ac_exec_ext"
4293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="/bin/mv"
4305 if test -n "$MV"; then
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4307 $as_echo "$MV" >&6; }
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4310 $as_echo "no" >&6; }
4314 # Extract the first word of "tar", so it can be a program name with args.
4315 set dummy
tar; ac_word
=$2
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if test "${ac_cv_path_TAR+set}" = set; then :
4319 $as_echo_n "(cached) " >&6
4323 ac_cv_path_TAR
="$TAR" # Let the user override the test with a path.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 ac_cv_path_TAR
="$as_dir/$ac_word$ac_exec_ext"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR
="/bin/tar"
4346 if test -n "$TAR"; then
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4348 $as_echo "$TAR" >&6; }
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351 $as_echo "no" >&6; }
4355 # Extract the first word of "perl", so it can be a program name with args.
4356 set dummy perl
; ac_word
=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if test "${ac_cv_path_PERL+set}" = set; then :
4360 $as_echo_n "(cached) " >&6
4364 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
4367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4371 test -z "$as_dir" && as_dir
=.
4372 for ac_exec_ext
in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="/usr/bin/perl"
4386 PERL
=$ac_cv_path_PERL
4387 if test -n "$PERL"; then
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4389 $as_echo "$PERL" >&6; }
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4392 $as_echo "no" >&6; }
4396 # Extract the first word of "wget", so it can be a program name with args.
4397 set dummy wget
; ac_word
=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if test "${ac_cv_path_WGET+set}" = set; then :
4401 $as_echo_n "(cached) " >&6
4405 ac_cv_path_WGET
="$WGET" # Let the user override the test with a path.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415 ac_cv_path_WGET
="$as_dir/$ac_word$ac_exec_ext"
4416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET
="/usr/bin/wget"
4427 WGET
=$ac_cv_path_WGET
4428 if test -n "$WGET"; then
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4430 $as_echo "$WGET" >&6; }
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4437 # Extract the first word of "xmllint", so it can be a program name with args.
4438 set dummy xmllint
; ac_word
=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_path_XMLLINT+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4446 ac_cv_path_XMLLINT
="$XMLLINT" # Let the user override the test with a path.
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_path_XMLLINT
="$as_dir/$ac_word$ac_exec_ext"
4457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT
="/usr/bin/xmllint"
4468 XMLLINT
=$ac_cv_path_XMLLINT
4469 if test -n "$XMLLINT"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4471 $as_echo "$XMLLINT" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 # Extract the first word of "xsltproc", so it can be a program name with args.
4479 set dummy xsltproc
; ac_word
=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_path_XSLTPROC+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4487 ac_cv_path_XSLTPROC
="$XSLTPROC" # Let the user override the test with a path.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497 ac_cv_path_XSLTPROC
="$as_dir/$ac_word$ac_exec_ext"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4505 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC
="/usr/bin/xsltproc"
4509 XSLTPROC
=$ac_cv_path_XSLTPROC
4510 if test -n "$XSLTPROC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4512 $as_echo "$XSLTPROC" >&6; }
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
4521 $as_echo_n "checking for function prototypes... " >&6; }
4522 if test "$ac_cv_prog_cc_c89" != no
; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4524 $as_echo "yes" >&6; }
4526 $as_echo "#define PROTOTYPES 1" >>confdefs.h
4529 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4539 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4540 if test "${ac_cv_path_GREP+set}" = set; then :
4541 $as_echo_n "(cached) " >&6
4543 if test -z "$GREP"; then
4544 ac_path_GREP_found
=false
4545 # Loop through the user's path and test for each of PROGNAME-LIST
4546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4547 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4550 test -z "$as_dir" && as_dir
=.
4551 for ac_prog
in grep ggrep
; do
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4554 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4555 # Check for GNU ac_path_GREP and select it if it is found.
4556 # Check for GNU $ac_path_GREP
4557 case `"$ac_path_GREP" --version 2>&1` in
4559 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4562 $as_echo_n 0123456789 >"conftest.in"
4565 cat "conftest.in" "conftest.in" >"conftest.tmp"
4566 mv "conftest.tmp" "conftest.in"
4567 cp "conftest.in" "conftest.nl"
4568 $as_echo 'GREP' >> "conftest.nl"
4569 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4570 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4571 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4572 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4573 # Best one so far, save it but keep looking for a better one
4574 ac_cv_path_GREP
="$ac_path_GREP"
4575 ac_path_GREP_max
=$ac_count
4577 # 10*(2^10) chars as input seems more than enough
4578 test $ac_count -gt 10 && break
4580 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4583 $ac_path_GREP_found && break 3
4588 if test -z "$ac_cv_path_GREP"; then
4589 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4592 ac_cv_path_GREP
=$GREP
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4597 $as_echo "$ac_cv_path_GREP" >&6; }
4598 GREP
="$ac_cv_path_GREP"
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4602 $as_echo_n "checking for egrep... " >&6; }
4603 if test "${ac_cv_path_EGREP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4606 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4607 then ac_cv_path_EGREP
="$GREP -E"
4609 if test -z "$EGREP"; then
4610 ac_path_EGREP_found
=false
4611 # Loop through the user's path and test for each of PROGNAME-LIST
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4613 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_prog
in egrep; do
4618 for ac_exec_ext
in '' $ac_executable_extensions; do
4619 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4620 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4621 # Check for GNU ac_path_EGREP and select it if it is found.
4622 # Check for GNU $ac_path_EGREP
4623 case `"$ac_path_EGREP" --version 2>&1` in
4625 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4628 $as_echo_n 0123456789 >"conftest.in"
4631 cat "conftest.in" "conftest.in" >"conftest.tmp"
4632 mv "conftest.tmp" "conftest.in"
4633 cp "conftest.in" "conftest.nl"
4634 $as_echo 'EGREP' >> "conftest.nl"
4635 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4636 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4637 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4638 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4639 # Best one so far, save it but keep looking for a better one
4640 ac_cv_path_EGREP
="$ac_path_EGREP"
4641 ac_path_EGREP_max
=$ac_count
4643 # 10*(2^10) chars as input seems more than enough
4644 test $ac_count -gt 10 && break
4646 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4649 $ac_path_EGREP_found && break 3
4654 if test -z "$ac_cv_path_EGREP"; then
4655 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4658 ac_cv_path_EGREP
=$EGREP
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4664 $as_echo "$ac_cv_path_EGREP" >&6; }
4665 EGREP
="$ac_cv_path_EGREP"
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4669 $as_echo_n "checking for ANSI C header files... " >&6; }
4670 if test "${ac_cv_header_stdc+set}" = set; then :
4671 $as_echo_n "(cached) " >&6
4673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4674 /* end confdefs.h. */
4688 if ac_fn_c_try_compile
"$LINENO"; then :
4689 ac_cv_header_stdc
=yes
4691 ac_cv_header_stdc
=no
4693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4695 if test $ac_cv_header_stdc = yes; then
4696 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4698 /* end confdefs.h. */
4702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4703 $EGREP "memchr" >/dev
/null
2>&1; then :
4706 ac_cv_header_stdc
=no
4712 if test $ac_cv_header_stdc = yes; then
4713 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev
/null
2>&1; then :
4723 ac_cv_header_stdc
=no
4729 if test $ac_cv_header_stdc = yes; then
4730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4731 if test "$cross_compiling" = yes; then :
4734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4738 #if ((' ' & 0x0FF) == 0x020)
4739 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4740 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4742 # define ISLOWER(c) \
4743 (('a' <= (c) && (c) <= 'i') \
4744 || ('j' <= (c) && (c) <= 'r') \
4745 || ('s' <= (c) && (c) <= 'z'))
4746 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4749 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4754 for (i = 0; i < 256; i++)
4755 if (XOR (islower (i), ISLOWER (i))
4756 || toupper (i) != TOUPPER (i))
4761 if ac_fn_c_try_run
"$LINENO"; then :
4764 ac_cv_header_stdc
=no
4766 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
4767 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4773 $as_echo "$ac_cv_header_stdc" >&6; }
4774 if test $ac_cv_header_stdc = yes; then
4776 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4780 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4781 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4782 inttypes.h stdint.h unistd.h
4784 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4785 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4787 eval as_val
=\$
$as_ac_Header
4788 if test "x$as_val" = x
""yes; then :
4789 cat >>confdefs.h
<<_ACEOF
4790 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4799 if test "$ac_cv_prog_cc_stdc" != no
; then
4802 U
=_ ANSI2KNR
=.
/ansi2knr
4804 # Ensure some checks needed by ansi2knr itself.
4806 for ac_header
in string.h
4808 ac_fn_c_check_header_mongrel
"$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
4809 if test "x$ac_cv_header_string_h" = x
""yes; then :
4810 cat >>confdefs.h
<<_ACEOF
4811 #define HAVE_STRING_H 1
4819 test "x$U" != "x" && as_fn_error
"Compiler not ANSI compliant" "$LINENO" 5
4821 enable_win32_dll
=yes
4824 *-*-cygwin* |
*-*-mingw* |
*-*-pw32* |
*-cegcc*)
4825 if test -n "$ac_tool_prefix"; then
4826 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4827 set dummy
${ac_tool_prefix}as
; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if test "${ac_cv_prog_AS+set}" = set; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$AS"; then
4834 ac_cv_prog_AS
="$AS" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_prog_AS
="${ac_tool_prefix}as"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 if test -n "$AS"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4856 $as_echo "$AS" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4864 if test -z "$ac_cv_prog_AS"; then
4866 # Extract the first word of "as", so it can be a program name with args.
4867 set dummy as
; ac_word
=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4873 if test -n "$ac_ct_AS"; then
4874 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_prog_ac_ct_AS
="as"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4894 if test -n "$ac_ct_AS"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4896 $as_echo "$ac_ct_AS" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4902 if test "x$ac_ct_AS" = x
; then
4905 case $cross_compiling:$ac_tool_warned in
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4909 ac_tool_warned
=yes ;;
4917 if test -n "$ac_tool_prefix"; then
4918 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4919 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$DLLTOOL"; then
4926 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 DLLTOOL
=$ac_cv_prog_DLLTOOL
4946 if test -n "$DLLTOOL"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4948 $as_echo "$DLLTOOL" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4956 if test -z "$ac_cv_prog_DLLTOOL"; then
4957 ac_ct_DLLTOOL
=$DLLTOOL
4958 # Extract the first word of "dlltool", so it can be a program name with args.
4959 set dummy dlltool
; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$ac_ct_DLLTOOL"; then
4966 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
4986 if test -n "$ac_ct_DLLTOOL"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4988 $as_echo "$ac_ct_DLLTOOL" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4994 if test "x$ac_ct_DLLTOOL" = x
; then
4997 case $cross_compiling:$ac_tool_warned in
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5001 ac_tool_warned
=yes ;;
5003 DLLTOOL
=$ac_ct_DLLTOOL
5006 DLLTOOL
="$ac_cv_prog_DLLTOOL"
5009 if test -n "$ac_tool_prefix"; then
5010 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5011 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$OBJDUMP"; then
5018 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 OBJDUMP
=$ac_cv_prog_OBJDUMP
5038 if test -n "$OBJDUMP"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5040 $as_echo "$OBJDUMP" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5048 if test -z "$ac_cv_prog_OBJDUMP"; then
5049 ac_ct_OBJDUMP
=$OBJDUMP
5050 # Extract the first word of "objdump", so it can be a program name with args.
5051 set dummy objdump
; ac_word
=$2
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$ac_ct_OBJDUMP"; then
5058 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5078 if test -n "$ac_ct_OBJDUMP"; then
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5080 $as_echo "$ac_ct_OBJDUMP" >&6; }
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5083 $as_echo "no" >&6; }
5086 if test "x$ac_ct_OBJDUMP" = x
; then
5089 case $cross_compiling:$ac_tool_warned in
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5093 ac_tool_warned
=yes ;;
5095 OBJDUMP
=$ac_ct_OBJDUMP
5098 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5104 test -z "$AS" && AS
=as
5110 test -z "$DLLTOOL" && DLLTOOL
=dlltool
5116 test -z "$OBJDUMP" && OBJDUMP
=objdump
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5127 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5132 macro_version
='2.2.6b'
5133 macro_revision
='1.3017'
5147 ltmain
="$ac_aux_dir/ltmain.sh"
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5150 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5151 if test "${ac_cv_path_SED+set}" = set; then :
5152 $as_echo_n "(cached) " >&6
5154 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5155 for ac_i
in 1 2 3 4 5 6 7; do
5156 ac_script
="$ac_script$as_nl$ac_script"
5158 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5159 { ac_script
=; unset ac_script
;}
5160 if test -z "$SED"; then
5161 ac_path_SED_found
=false
5162 # Loop through the user's path and test for each of PROGNAME-LIST
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_prog
in sed gsed
; do
5169 for ac_exec_ext
in '' $ac_executable_extensions; do
5170 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5171 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5172 # Check for GNU ac_path_SED and select it if it is found.
5173 # Check for GNU $ac_path_SED
5174 case `"$ac_path_SED" --version 2>&1` in
5176 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5179 $as_echo_n 0123456789 >"conftest.in"
5182 cat "conftest.in" "conftest.in" >"conftest.tmp"
5183 mv "conftest.tmp" "conftest.in"
5184 cp "conftest.in" "conftest.nl"
5185 $as_echo '' >> "conftest.nl"
5186 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5187 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5188 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5189 if test $ac_count -gt ${ac_path_SED_max-0}; then
5190 # Best one so far, save it but keep looking for a better one
5191 ac_cv_path_SED
="$ac_path_SED"
5192 ac_path_SED_max
=$ac_count
5194 # 10*(2^10) chars as input seems more than enough
5195 test $ac_count -gt 10 && break
5197 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5200 $ac_path_SED_found && break 3
5205 if test -z "$ac_cv_path_SED"; then
5206 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5214 $as_echo "$ac_cv_path_SED" >&6; }
5215 SED
="$ac_cv_path_SED"
5218 test -z "$SED" && SED
=sed
5219 Xsed
="$SED -e 1s/^X//"
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5232 $as_echo_n "checking for fgrep... " >&6; }
5233 if test "${ac_cv_path_FGREP+set}" = set; then :
5234 $as_echo_n "(cached) " >&6
5236 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5237 then ac_cv_path_FGREP
="$GREP -F"
5239 if test -z "$FGREP"; then
5240 ac_path_FGREP_found
=false
5241 # Loop through the user's path and test for each of PROGNAME-LIST
5242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5243 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5246 test -z "$as_dir" && as_dir
=.
5247 for ac_prog
in fgrep
; do
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5250 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5251 # Check for GNU ac_path_FGREP and select it if it is found.
5252 # Check for GNU $ac_path_FGREP
5253 case `"$ac_path_FGREP" --version 2>&1` in
5255 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5258 $as_echo_n 0123456789 >"conftest.in"
5261 cat "conftest.in" "conftest.in" >"conftest.tmp"
5262 mv "conftest.tmp" "conftest.in"
5263 cp "conftest.in" "conftest.nl"
5264 $as_echo 'FGREP' >> "conftest.nl"
5265 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5266 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5267 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5268 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5269 # Best one so far, save it but keep looking for a better one
5270 ac_cv_path_FGREP
="$ac_path_FGREP"
5271 ac_path_FGREP_max
=$ac_count
5273 # 10*(2^10) chars as input seems more than enough
5274 test $ac_count -gt 10 && break
5276 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5279 $ac_path_FGREP_found && break 3
5284 if test -z "$ac_cv_path_FGREP"; then
5285 as_fn_error
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5288 ac_cv_path_FGREP
=$FGREP
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5294 $as_echo "$ac_cv_path_FGREP" >&6; }
5295 FGREP
="$ac_cv_path_FGREP"
5298 test -z "$GREP" && GREP
=grep
5318 # Check whether --with-gnu-ld was given.
5319 if test "${with_gnu_ld+set}" = set; then :
5320 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5326 if test "$GCC" = yes; then
5327 # Check if gcc -print-prog-name=ld gives a path.
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5329 $as_echo_n "checking for ld used by $CC... " >&6; }
5332 # gcc leaves a trailing carriage return which upsets mingw
5333 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5335 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5338 # Accept absolute paths.
5340 re_direlt
='/[^/][^/]*/\.\./'
5341 # Canonicalize the pathname of ld
5342 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5343 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5344 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5346 test -z "$LD" && LD
="$ac_prog"
5349 # If it fails, then pretend we aren't using GCC.
5353 # If it is relative, then search for the first ld in PATH.
5357 elif test "$with_gnu_ld" = yes; then
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5359 $as_echo_n "checking for GNU ld... " >&6; }
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5362 $as_echo_n "checking for non-GNU ld... " >&6; }
5364 if test "${lt_cv_path_LD+set}" = set; then :
5365 $as_echo_n "(cached) " >&6
5367 if test -z "$LD"; then
5368 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5369 for ac_dir
in $PATH; do
5371 test -z "$ac_dir" && ac_dir
=.
5372 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5373 lt_cv_path_LD
="$ac_dir/$ac_prog"
5374 # Check to see if the program is GNU ld. I'd rather use --version,
5375 # but apparently some variants of GNU ld only accept -v.
5376 # Break only if it was the GNU/non-GNU ld that we prefer.
5377 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5378 *GNU
* |
*'with BFD'*)
5379 test "$with_gnu_ld" != no
&& break
5382 test "$with_gnu_ld" != yes && break
5389 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5394 if test -n "$LD"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5396 $as_echo "$LD" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5401 test -z "$LD" && as_fn_error
"no acceptable ld found in \$PATH" "$LINENO" 5
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5403 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5404 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5405 $as_echo_n "(cached) " >&6
5407 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5408 case `$LD -v 2>&1 </dev/null` in
5409 *GNU
* |
*'with BFD'*)
5410 lt_cv_prog_gnu_ld
=yes
5413 lt_cv_prog_gnu_ld
=no
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5418 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5419 with_gnu_ld
=$lt_cv_prog_gnu_ld
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5430 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5431 if test "${lt_cv_path_NM+set}" = set; then :
5432 $as_echo_n "(cached) " >&6
5434 if test -n "$NM"; then
5435 # Let the user override the test.
5438 lt_nm_to_check
="${ac_tool_prefix}nm"
5439 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5440 lt_nm_to_check
="$lt_nm_to_check nm"
5442 for lt_tmp_nm
in $lt_nm_to_check; do
5443 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5444 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5446 test -z "$ac_dir" && ac_dir
=.
5447 tmp_nm
="$ac_dir/$lt_tmp_nm"
5448 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5449 # Check to see if the nm accepts a BSD-compat flag.
5450 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5451 # nm: unknown option "B" ignored
5452 # Tru64's nm complains that /dev/null is an invalid object file
5453 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5454 */dev
/null
* |
*'Invalid file or object type'*)
5455 lt_cv_path_NM
="$tmp_nm -B"
5459 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5461 lt_cv_path_NM
="$tmp_nm -p"
5465 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5466 continue # so that we can try to find one that supports BSD flags
5475 : ${lt_cv_path_NM=no}
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5479 $as_echo "$lt_cv_path_NM" >&6; }
5480 if test "$lt_cv_path_NM" != "no"; then
5483 # Didn't find any BSD compatible name lister, look for dumpbin.
5484 if test -n "$ac_tool_prefix"; then
5485 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5487 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5488 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 if test -n "$DUMPBIN"; then
5495 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5501 test -z "$as_dir" && as_dir
=.
5502 for ac_exec_ext
in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514 DUMPBIN
=$ac_cv_prog_DUMPBIN
5515 if test -n "$DUMPBIN"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5517 $as_echo "$DUMPBIN" >&6; }
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5524 test -n "$DUMPBIN" && break
5527 if test -z "$DUMPBIN"; then
5528 ac_ct_DUMPBIN
=$DUMPBIN
5529 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5531 # Extract the first word of "$ac_prog", so it can be a program name with args.
5532 set dummy
$ac_prog; ac_word
=$2
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5534 $as_echo_n "checking for $ac_word... " >&6; }
5535 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -n "$ac_ct_DUMPBIN"; then
5539 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5545 test -z "$as_dir" && as_dir
=.
5546 for ac_exec_ext
in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5559 if test -n "$ac_ct_DUMPBIN"; then
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5561 $as_echo "$ac_ct_DUMPBIN" >&6; }
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5564 $as_echo "no" >&6; }
5568 test -n "$ac_ct_DUMPBIN" && break
5571 if test "x$ac_ct_DUMPBIN" = x
; then
5574 case $cross_compiling:$ac_tool_warned in
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5578 ac_tool_warned
=yes ;;
5580 DUMPBIN
=$ac_ct_DUMPBIN
5585 if test "$DUMPBIN" != ":"; then
5589 test -z "$NM" && NM
=nm
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5597 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5598 if test "${lt_cv_nm_interface+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5601 lt_cv_nm_interface
="BSD nm"
5602 echo "int some_variable = 0;" > conftest.
$ac_ext
5603 (eval echo "\"\$as_me:5603: $ac_compile\"" >&5)
5604 (eval "$ac_compile" 2>conftest.err
)
5605 cat conftest.err
>&5
5606 (eval echo "\"\$as_me:5606: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5607 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5608 cat conftest.err
>&5
5609 (eval echo "\"\$as_me:5609: output\"" >&5)
5610 cat conftest.out
>&5
5611 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5612 lt_cv_nm_interface
="MS dumpbin"
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5617 $as_echo "$lt_cv_nm_interface" >&6; }
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5620 $as_echo_n "checking whether ln -s works... " >&6; }
5622 if test "$LN_S" = "ln -s"; then
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5624 $as_echo "yes" >&6; }
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5627 $as_echo "no, using $LN_S" >&6; }
5630 # find the maximum length of command line arguments
5631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5632 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5633 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5634 $as_echo_n "(cached) " >&6
5641 # On DJGPP, this test can blow up pretty badly due to problems in libc
5642 # (any single argument exceeding 2000 bytes causes a buffer overrun
5643 # during glob expansion). Even if it were fixed, the result of this
5644 # check would be larger than it should be.
5645 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5649 # Under GNU Hurd, this test is not required because there is
5650 # no limit to the length of command line arguments.
5651 # Libtool will interpret -1 as no limit whatsoever
5652 lt_cv_sys_max_cmd_len
=-1;
5655 cygwin
* | mingw
* | cegcc
*)
5656 # On Win9x/ME, this test blows up -- it succeeds, but takes
5657 # about 5 minutes as the teststring grows exponentially.
5658 # Worse, since 9x/ME are not pre-emptively multitasking,
5659 # you end up with a "frozen" computer, even though with patience
5660 # the test eventually succeeds (with a max line length of 256k).
5661 # Instead, let's just punt: use the minimum linelength reported by
5662 # all of the supported platforms: 8192 (on NT/2K/XP).
5663 lt_cv_sys_max_cmd_len
=8192;
5667 # On AmigaOS with pdksh, this test takes hours, literally.
5668 # So we just punt and use a minimum line length of 8192.
5669 lt_cv_sys_max_cmd_len
=8192;
5672 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5673 # This has been around since 386BSD, at least. Likely further.
5674 if test -x /sbin
/sysctl
; then
5675 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5676 elif test -x /usr
/sbin
/sysctl
; then
5677 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5679 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5681 # And add a safety zone
5682 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5683 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5687 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5688 lt_cv_sys_max_cmd_len
=196608
5692 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5693 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5694 # nice to cause kernel panics so lets avoid the loop below.
5695 # First set a reasonable default.
5696 lt_cv_sys_max_cmd_len
=16384
5698 if test -x /sbin
/sysconfig
; then
5699 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5700 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5705 lt_cv_sys_max_cmd_len
=102400
5707 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5708 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5709 if test -n "$kargmax"; then
5710 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5712 lt_cv_sys_max_cmd_len
=32768
5716 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5717 if test -n "$lt_cv_sys_max_cmd_len"; then
5718 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5721 # Make teststring a little bigger before we do anything with it.
5722 # a 1K string should be a reasonable start.
5723 for i
in 1 2 3 4 5 6 7 8 ; do
5724 teststring
=$teststring$teststring
5726 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5727 # If test is not a shell built-in, we'll probably end up computing a
5728 # maximum length that is only half of the actual maximum length, but
5730 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5731 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5732 test $i != 17 # 1/2 MB should be enough
5735 teststring
=$teststring$teststring
5737 # Only check the string length outside the loop.
5738 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5740 # Add a significant safety factor because C++ compilers can tack on
5741 # massive amounts of additional arguments before passing them to the
5742 # linker. It appears as though 1/2 is a usable value.
5743 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5750 if test -n $lt_cv_sys_max_cmd_len ; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5752 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5755 $as_echo "none" >&6; }
5757 max_cmd_len
=$lt_cv_sys_max_cmd_len
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5769 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5770 # Try some XSI features
5773 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5775 && eval 'test $(( 1 + 1 )) -eq 2 \
5776 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5779 $as_echo "$xsi_shell" >&6; }
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5783 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5785 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5787 && lt_shell_append=yes
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5789 $as_echo "$lt_shell_append" >&6; }
5792 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5802 # test EBCDIC or ASCII
5803 case `echo X|tr X '\101'` in
5804 A) # ASCII based system
5805 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5806 lt_SP2NL='tr \040 \012'
5807 lt_NL2SP='tr \015\012 \040\040'
5809 *) # EBCDIC based system
5810 lt_SP2NL='tr \100 \n'
5811 lt_NL2SP='tr \r\n \100\100'
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5824 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5825 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5826 $as_echo_n "(cached
) " >&6
5828 lt_cv_ld_reload_flag='-r'
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5831 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5832 reload_flag=$lt_cv_ld_reload_flag
5833 case $reload_flag in
5835 *) reload_flag=" $reload_flag" ;;
5837 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5840 if test "$GCC" = yes; then
5841 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5843 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5856 if test -n "$ac_tool_prefix"; then
5857 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5858 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5860 $as_echo_n "checking
for $ac_word...
" >&6; }
5861 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5862 $as_echo_n "(cached
) " >&6
5864 if test -n "$OBJDUMP"; then
5865 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5871 test -z "$as_dir" && as_dir=.
5872 for ac_exec_ext in '' $ac_executable_extensions; do
5873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5874 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5884 OBJDUMP=$ac_cv_prog_OBJDUMP
5885 if test -n "$OBJDUMP"; then
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5887 $as_echo "$OBJDUMP" >&6; }
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5890 $as_echo "no
" >&6; }
5895 if test -z "$ac_cv_prog_OBJDUMP"; then
5896 ac_ct_OBJDUMP=$OBJDUMP
5897 # Extract the first word of "objdump
", so it can be a program name with args.
5898 set dummy objdump; ac_word=$2
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5900 $as_echo_n "checking
for $ac_word...
" >&6; }
5901 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5902 $as_echo_n "(cached
) " >&6
5904 if test -n "$ac_ct_OBJDUMP"; then
5905 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5911 test -z "$as_dir" && as_dir=.
5912 for ac_exec_ext in '' $ac_executable_extensions; do
5913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5914 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5924 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5925 if test -n "$ac_ct_OBJDUMP"; then
5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5927 $as_echo "$ac_ct_OBJDUMP" >&6; }
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5930 $as_echo "no
" >&6; }
5933 if test "x
$ac_ct_OBJDUMP" = x; then
5936 case $cross_compiling:$ac_tool_warned in
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5940 ac_tool_warned=yes ;;
5942 OBJDUMP=$ac_ct_OBJDUMP
5945 OBJDUMP="$ac_cv_prog_OBJDUMP"
5948 test -z "$OBJDUMP" && OBJDUMP=objdump
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5956 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5957 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5958 $as_echo_n "(cached
) " >&6
5960 lt_cv_file_magic_cmd='$MAGIC_CMD'
5961 lt_cv_file_magic_test_file=
5962 lt_cv_deplibs_check_method='unknown'
5963 # Need to set the preceding variable on all platforms that support
5964 # interlibrary dependencies.
5965 # 'none' -- dependencies not supported.
5966 # `unknown' -- same as none, but documents that we really don't know.
5967 # 'pass_all' -- all dependencies passed with no checks.
5968 # 'test_compile' -- check by making test program.
5969 # 'file_magic [[regex]]' -- check by looking for files in library path
5970 # which responds to the $file_magic_cmd with a given extended regex.
5971 # If you have `file' or equivalent on your system and you're not sure
5972 # whether `pass_all' will *always* work, you probably want this one.
5976 lt_cv_deplibs_check_method=pass_all
5980 lt_cv_deplibs_check_method=pass_all
5984 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5985 lt_cv_file_magic_cmd='/usr/bin/file -L'
5986 lt_cv_file_magic_test_file=/shlib/libc.so
5990 # func_win32_libid is a shell function defined in ltmain.sh
5991 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5992 lt_cv_file_magic_cmd='func_win32_libid'
5996 # Base MSYS/MinGW do not provide the 'file' command needed by
5997 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5998 # unless we find 'file', for example because we are cross-compiling.
5999 if ( file / ) >/dev/null 2>&1; then
6000 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6001 lt_cv_file_magic_cmd='func_win32_libid'
6003 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6004 lt_cv_file_magic_cmd='$OBJDUMP -f'
6009 # use the weaker test based on 'objdump'. See mingw*.
6010 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6011 lt_cv_file_magic_cmd='$OBJDUMP -f'
6014 darwin* | rhapsody*)
6015 lt_cv_deplibs_check_method=pass_all
6018 freebsd* | dragonfly*)
6019 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6022 # Not sure whether the presence of OpenBSD here was a mistake.
6023 # Let's accept both of them until this is cleared up.
6024 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6025 lt_cv_file_magic_cmd=/usr/bin/file
6026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6030 lt_cv_deplibs_check_method=pass_all
6035 lt_cv_deplibs_check_method=pass_all
6038 hpux10.20* | hpux11*)
6039 lt_cv_file_magic_cmd=/usr/bin/file
6042 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6043 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6046 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]'
6047 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6051 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6057 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6058 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6061 irix5* | irix6* | nonstopux*)
6063 *-32|*"-32 ") libmagic=32-bit;;
6064 *-n32|*"-n32 ") libmagic=N32;;
6065 *-64|*"-64 ") libmagic=64-bit;;
6066 *) libmagic=never-match;;
6068 lt_cv_deplibs_check_method=pass_all
6071 # This must be Linux ELF.
6072 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6073 lt_cv_deplibs_check_method=pass_all
6076 netbsd* | netbsdelf*-gnu)
6077 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6078 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6080 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6085 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6086 lt_cv_file_magic_cmd=/usr/bin/file
6087 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6091 lt_cv_deplibs_check_method=pass_all
6095 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6096 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6098 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6102 osf3* | osf4* | osf5*)
6103 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_deplibs_check_method=pass_all
6111 lt_cv_deplibs_check_method=pass_all
6114 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6115 lt_cv_deplibs_check_method=pass_all
6119 case $host_vendor in
6121 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]'
6122 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6125 lt_cv_deplibs_check_method=pass_all
6128 lt_cv_file_magic_cmd='/bin/file'
6129 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6132 lt_cv_file_magic_cmd='/bin/file'
6133 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6134 lt_cv_file_magic_test_file=/lib/libc.so
6137 lt_cv_deplibs_check_method=pass_all
6140 lt_cv_deplibs_check_method=pass_all
6146 lt_cv_deplibs_check_method=pass_all
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6152 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6153 file_magic_cmd=$lt_cv_file_magic_cmd
6154 deplibs_check_method=$lt_cv_deplibs_check_method
6155 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6168 if test -n "$ac_tool_prefix"; then
6169 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6170 set dummy ${ac_tool_prefix}ar; ac_word=$2
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6172 $as_echo_n "checking
for $ac_word...
" >&6; }
6173 if test "${ac_cv_prog_AR+set}" = set; then :
6174 $as_echo_n "(cached
) " >&6
6176 if test -n "$AR"; then
6177 ac_cv_prog_AR="$AR" # Let the user override the test.
6179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 test -z "$as_dir" && as_dir=.
6184 for ac_exec_ext in '' $ac_executable_extensions; do
6185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_prog_AR="${ac_tool_prefix}ar"
6187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6197 if test -n "$AR"; then
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6199 $as_echo "$AR" >&6; }
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6202 $as_echo "no
" >&6; }
6207 if test -z "$ac_cv_prog_AR"; then
6209 # Extract the first word of "ar", so it can be a program name with args.
6210 set dummy ar; ac_word=$2
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6212 $as_echo_n "checking
for $ac_word...
" >&6; }
6213 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6214 $as_echo_n "(cached
) " >&6
6216 if test -n "$ac_ct_AR"; then
6217 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223 test -z "$as_dir" && as_dir=.
6224 for ac_exec_ext in '' $ac_executable_extensions; do
6225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226 ac_cv_prog_ac_ct_AR="ar"
6227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6236 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6237 if test -n "$ac_ct_AR"; then
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6239 $as_echo "$ac_ct_AR" >&6; }
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6242 $as_echo "no
" >&6; }
6245 if test "x
$ac_ct_AR" = x; then
6248 case $cross_compiling:$ac_tool_warned in
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6251 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6252 ac_tool_warned=yes ;;
6260 test -z "$AR" && AR=ar
6261 test -z "$AR_FLAGS" && AR_FLAGS=cru
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}strip; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6277 $as_echo_n "checking
for $ac_word...
" >&6; }
6278 if test "${ac_cv_prog_STRIP+set}" = set; then :
6279 $as_echo_n "(cached
) " >&6
6281 if test -n "$STRIP"; then
6282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6291 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6301 STRIP=$ac_cv_prog_STRIP
6302 if test -n "$STRIP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6304 $as_echo "$STRIP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6307 $as_echo "no
" >&6; }
6312 if test -z "$ac_cv_prog_STRIP"; then
6314 # Extract the first word of "strip
", so it can be a program name with args.
6315 set dummy strip; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6317 $as_echo_n "checking
for $ac_word...
" >&6; }
6318 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6319 $as_echo_n "(cached
) " >&6
6321 if test -n "$ac_ct_STRIP"; then
6322 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_ac_ct_STRIP="strip
"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6341 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6342 if test -n "$ac_ct_STRIP"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6344 $as_echo "$ac_ct_STRIP" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6347 $as_echo "no
" >&6; }
6350 if test "x
$ac_ct_STRIP" = x; then
6353 case $cross_compiling:$ac_tool_warned in
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6356 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6357 ac_tool_warned=yes ;;
6362 STRIP="$ac_cv_prog_STRIP"
6365 test -z "$STRIP" && STRIP=:
6372 if test -n "$ac_tool_prefix"; then
6373 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6376 $as_echo_n "checking
for $ac_word...
" >&6; }
6377 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6378 $as_echo_n "(cached
) " >&6
6380 if test -n "$RANLIB"; then
6381 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6387 test -z "$as_dir" && as_dir=.
6388 for ac_exec_ext in '' $ac_executable_extensions; do
6389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6400 RANLIB=$ac_cv_prog_RANLIB
6401 if test -n "$RANLIB"; then
6402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6403 $as_echo "$RANLIB" >&6; }
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6406 $as_echo "no
" >&6; }
6411 if test -z "$ac_cv_prog_RANLIB"; then
6412 ac_ct_RANLIB=$RANLIB
6413 # Extract the first word of "ranlib
", so it can be a program name with args.
6414 set dummy ranlib; ac_word=$2
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6416 $as_echo_n "checking
for $ac_word...
" >&6; }
6417 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6418 $as_echo_n "(cached
) " >&6
6420 if test -n "$ac_ct_RANLIB"; then
6421 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 test -z "$as_dir" && as_dir=.
6428 for ac_exec_ext in '' $ac_executable_extensions; do
6429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6430 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6440 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6441 if test -n "$ac_ct_RANLIB"; then
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6443 $as_echo "$ac_ct_RANLIB" >&6; }
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6446 $as_echo "no
" >&6; }
6449 if test "x
$ac_ct_RANLIB" = x; then
6452 case $cross_compiling:$ac_tool_warned in
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6455 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6456 ac_tool_warned=yes ;;
6458 RANLIB=$ac_ct_RANLIB
6461 RANLIB="$ac_cv_prog_RANLIB"
6464 test -z "$RANLIB" && RANLIB=:
6471 # Determine commands to create old-style static archives.
6472 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6473 old_postinstall_cmds='chmod 644 $oldlib'
6474 old_postuninstall_cmds=
6476 if test -n "$RANLIB"; then
6479 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6482 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6485 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6521 # If no C compiler was specified, use CC.
6524 # If no C compiler flags were specified, use CFLAGS.
6525 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6527 # Allow CC to be a program name with arguments.
6531 # Check for command to grab the raw symbol name followed by C symbol from nm.
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6533 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6534 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6535 $as_echo_n "(cached
) " >&6
6538 # These are sane defaults that work on at least a few old systems.
6539 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6541 # Character class describing NM global symbol codes.
6542 symcode='[BCDEGRST]'
6544 # Regexp to match symbols that can be accessed directly from C.
6545 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6547 # Define system-specific variables.
6552 cygwin* | mingw* | pw32* | cegcc*)
6553 symcode='[ABCDGISTW]'
6556 if test "$host_cpu" = ia64; then
6557 symcode='[ABCDEGRST]'
6561 symcode='[BCDEGRST]'
6564 symcode='[BCDEGQRST]'
6575 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6583 # If we're using GNU nm, then use its standard symbol codes.
6584 case `$NM -V 2>&1` in
6585 *GNU* | *'with BFD'*)
6586 symcode='[ABCDGIRSTW]' ;;
6589 # Transform an extracted symbol line into a proper C declaration.
6590 # Some systems (esp. on ia64) link data and code symbols differently,
6591 # so use this general approach.
6592 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6594 # Transform an extracted symbol line into symbol name and symbol address
6595 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6596 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'"
6598 # Handle CRLF in mingw tool chain
6602 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6606 # Try without a prefix underscore, then with it.
6607 for ac_symprfx in "" "_
"; do
6609 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6610 symxfrm="\\1 $ac_symprfx\\2 \\2"
6612 # Write the raw and C identifiers.
6613 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6614 # Fake it for dumpbin and say T for any non-static function
6615 # and D for any global variable.
6616 # Also find C++ and __fastcall symbols from MSVC++,
6617 # which start with @ or ?.
6618 lt_cv_sys_global_symbol_pipe="$AWK '"\
6619 " {last_section=section; section=\$ 3};"\
6620 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6621 " \$ 0!~/External *\|/{next};"\
6622 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6623 " {if(hide[section]) next};"\
6624 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6625 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6626 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6627 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6628 " ' prfx
=^
$ac_symprfx"
6630 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6633 # Check to see that the pipe works correctly.
6637 cat > conftest.$ac_ext <<_LT_EOF
6642 void nm_test_func(void);
6643 void nm_test_func(void){}
6647 int main(){nm_test_var='a';nm_test_func();return(0);}
6650 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6651 (eval $ac_compile) 2>&5
6653 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6654 test $ac_status = 0; }; then
6655 # Now try to grab the symbols.
6657 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6658 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6660 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6661 test $ac_status = 0; } && test -s "$nlist"; then
6662 # Try sorting and uniquifying the output.
6663 if sort "$nlist" | uniq > "$nlist"T; then
6664 mv -f "$nlist"T "$nlist"
6669 # Make sure that we snagged all the symbols we need.
6670 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6671 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6672 cat <<_LT_EOF > conftest.$ac_ext
6678 # Now generate the symbol file.
6679 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6681 cat <<_LT_EOF >> conftest.$ac_ext
6683 /* The mapping between symbol names and symbols. */
6688 lt__PROGRAM__LTX_preloaded_symbols[] =
6690 { "@PROGRAM@
", (void *) 0 },
6692 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6693 cat <<\_LT_EOF >> conftest.$ac_ext
6697 /* This works around a problem in FreeBSD linker */
6698 #ifdef FREEBSD_WORKAROUND
6699 static const void *lt_preloaded_setup() {
6700 return lt__PROGRAM__LTX_preloaded_symbols;
6708 # Now try linking the two files.
6709 mv conftest.$ac_objext conftstm.$ac_objext
6710 lt_save_LIBS="$LIBS"
6711 lt_save_CFLAGS="$CFLAGS"
6712 LIBS="conftstm.
$ac_objext"
6713 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6714 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6715 (eval $ac_link) 2>&5
6717 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6718 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6721 LIBS="$lt_save_LIBS"
6722 CFLAGS="$lt_save_CFLAGS"
6724 echo "cannot
find nm_test_func
in $nlist" >&5
6727 echo "cannot
find nm_test_var
in $nlist" >&5
6730 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6733 echo "$progname: failed program was
:" >&5
6734 cat conftest.$ac_ext >&5
6736 rm -rf conftest* conftst*
6738 # Do not use the global_symbol_pipe unless it works.
6739 if test "$pipe_works" = yes; then
6742 lt_cv_sys_global_symbol_pipe=
6748 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6749 lt_cv_sys_global_symbol_to_cdecl=
6751 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6753 $as_echo "failed
" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6756 $as_echo "ok
" >&6; }
6780 # Check whether --enable-libtool-lock was given.
6781 if test "${enable_libtool_lock+set}" = set; then :
6782 enableval=$enable_libtool_lock;
6785 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6787 # Some flags need to be propagated to the compiler or linker for good
6791 # Find out which ABI we are using.
6792 echo 'int i;' > conftest.$ac_ext
6793 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6794 (eval $ac_compile) 2>&5
6796 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6797 test $ac_status = 0; }; then
6798 case `/usr/bin/file conftest.$ac_objext` in
6810 # Find out which ABI we are using.
6811 echo '#line 6811 "configure
"' > conftest.$ac_ext
6812 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6813 (eval $ac_compile) 2>&5
6815 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6816 test $ac_status = 0; }; then
6817 if test "$lt_cv_prog_gnu_ld" = yes; then
6818 case `/usr/bin/file conftest.$ac_objext` in
6820 LD="${LD-ld} -melf32bsmip"
6823 LD="${LD-ld} -melf32bmipn32"
6826 LD="${LD-ld} -melf64bmip"
6830 case `/usr/bin/file conftest.$ac_objext` in
6846 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6847 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6848 # Find out which ABI we are using.
6849 echo 'int i;' > conftest.$ac_ext
6850 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6851 (eval $ac_compile) 2>&5
6853 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6854 test $ac_status = 0; }; then
6855 case `/usr/bin/file conftest.o` in
6858 x86_64-*kfreebsd*-gnu)
6859 LD="${LD-ld} -m elf_i386_fbsd
"
6862 LD="${LD-ld} -m elf_i386
"
6864 ppc64-*linux*|powerpc64-*linux*)
6865 LD="${LD-ld} -m elf32ppclinux
"
6868 LD="${LD-ld} -m elf_s390
"
6871 LD="${LD-ld} -m elf32_sparc
"
6877 x86_64-*kfreebsd*-gnu)
6878 LD="${LD-ld} -m elf_x86_64_fbsd
"
6881 LD="${LD-ld} -m elf_x86_64
"
6883 ppc*-*linux*|powerpc*-*linux*)
6884 LD="${LD-ld} -m elf64ppc
"
6886 s390*-*linux*|s390*-*tpf*)
6887 LD="${LD-ld} -m elf64_s390
"
6890 LD="${LD-ld} -m elf64_sparc
"
6900 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6901 SAVE_CFLAGS="$CFLAGS"
6902 CFLAGS="$CFLAGS -belf"
6903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6904 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6905 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6906 $as_echo_n "(cached
) " >&6
6909 ac_cpp='$CPP $CPPFLAGS'
6910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6915 /* end confdefs.h. */
6925 if ac_fn_c_try_link "$LINENO"; then :
6926 lt_cv_cc_needs_belf=yes
6928 lt_cv_cc_needs_belf=no
6930 rm -f core conftest.err conftest.$ac_objext \
6931 conftest$ac_exeext conftest.$ac_ext
6933 ac_cpp='$CPP $CPPFLAGS'
6934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6940 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6941 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6942 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6943 CFLAGS="$SAVE_CFLAGS"
6947 # Find out which ABI we are using.
6948 echo 'int i;' > conftest.$ac_ext
6949 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6950 (eval $ac_compile) 2>&5
6952 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6953 test $ac_status = 0; }; then
6954 case `/usr/bin/file conftest.o` in
6956 case $lt_cv_prog_gnu_ld in
6957 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6959 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6971 need_locks="$enable_libtool_lock"
6975 rhapsody* | darwin*)
6976 if test -n "$ac_tool_prefix"; then
6977 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6978 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6980 $as_echo_n "checking
for $ac_word...
" >&6; }
6981 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6982 $as_echo_n "(cached
) " >&6
6984 if test -n "$DSYMUTIL"; then
6985 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 test -z "$as_dir" && as_dir=.
6992 for ac_exec_ext in '' $ac_executable_extensions; do
6993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6994 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6995 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7004 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7005 if test -n "$DSYMUTIL"; then
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7007 $as_echo "$DSYMUTIL" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7010 $as_echo "no
" >&6; }
7015 if test -z "$ac_cv_prog_DSYMUTIL"; then
7016 ac_ct_DSYMUTIL=$DSYMUTIL
7017 # Extract the first word of "dsymutil
", so it can be a program name with args.
7018 set dummy dsymutil; ac_word=$2
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7020 $as_echo_n "checking
for $ac_word...
" >&6; }
7021 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7022 $as_echo_n "(cached
) " >&6
7024 if test -n "$ac_ct_DSYMUTIL"; then
7025 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7031 test -z "$as_dir" && as_dir=.
7032 for ac_exec_ext in '' $ac_executable_extensions; do
7033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7034 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7044 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7045 if test -n "$ac_ct_DSYMUTIL"; then
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7047 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7050 $as_echo "no
" >&6; }
7053 if test "x
$ac_ct_DSYMUTIL" = x; then
7056 case $cross_compiling:$ac_tool_warned in
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7059 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7060 ac_tool_warned=yes ;;
7062 DSYMUTIL=$ac_ct_DSYMUTIL
7065 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7068 if test -n "$ac_tool_prefix"; then
7069 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7070 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7072 $as_echo_n "checking
for $ac_word...
" >&6; }
7073 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7074 $as_echo_n "(cached
) " >&6
7076 if test -n "$NMEDIT"; then
7077 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7083 test -z "$as_dir" && as_dir=.
7084 for ac_exec_ext in '' $ac_executable_extensions; do
7085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7086 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7096 NMEDIT=$ac_cv_prog_NMEDIT
7097 if test -n "$NMEDIT"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7099 $as_echo "$NMEDIT" >&6; }
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7102 $as_echo "no
" >&6; }
7107 if test -z "$ac_cv_prog_NMEDIT"; then
7108 ac_ct_NMEDIT=$NMEDIT
7109 # Extract the first word of "nmedit
", so it can be a program name with args.
7110 set dummy nmedit; ac_word=$2
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7112 $as_echo_n "checking
for $ac_word...
" >&6; }
7113 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7114 $as_echo_n "(cached
) " >&6
7116 if test -n "$ac_ct_NMEDIT"; then
7117 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 test -z "$as_dir" && as_dir=.
7124 for ac_exec_ext in '' $ac_executable_extensions; do
7125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7126 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7136 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7137 if test -n "$ac_ct_NMEDIT"; then
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7139 $as_echo "$ac_ct_NMEDIT" >&6; }
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7142 $as_echo "no
" >&6; }
7145 if test "x
$ac_ct_NMEDIT" = x; then
7148 case $cross_compiling:$ac_tool_warned in
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7151 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7152 ac_tool_warned=yes ;;
7154 NMEDIT=$ac_ct_NMEDIT
7157 NMEDIT="$ac_cv_prog_NMEDIT"
7160 if test -n "$ac_tool_prefix"; then
7161 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7162 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7164 $as_echo_n "checking
for $ac_word...
" >&6; }
7165 if test "${ac_cv_prog_LIPO+set}" = set; then :
7166 $as_echo_n "(cached
) " >&6
7168 if test -n "$LIPO"; then
7169 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175 test -z "$as_dir" && as_dir=.
7176 for ac_exec_ext in '' $ac_executable_extensions; do
7177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7178 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7188 LIPO=$ac_cv_prog_LIPO
7189 if test -n "$LIPO"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7191 $as_echo "$LIPO" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7194 $as_echo "no
" >&6; }
7199 if test -z "$ac_cv_prog_LIPO"; then
7201 # Extract the first word of "lipo
", so it can be a program name with args.
7202 set dummy lipo; ac_word=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7204 $as_echo_n "checking
for $ac_word...
" >&6; }
7205 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7206 $as_echo_n "(cached
) " >&6
7208 if test -n "$ac_ct_LIPO"; then
7209 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215 test -z "$as_dir" && as_dir=.
7216 for ac_exec_ext in '' $ac_executable_extensions; do
7217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7218 ac_cv_prog_ac_ct_LIPO="lipo
"
7219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7228 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7229 if test -n "$ac_ct_LIPO"; then
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7231 $as_echo "$ac_ct_LIPO" >&6; }
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7234 $as_echo "no
" >&6; }
7237 if test "x
$ac_ct_LIPO" = x; then
7240 case $cross_compiling:$ac_tool_warned in
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7243 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7244 ac_tool_warned=yes ;;
7249 LIPO="$ac_cv_prog_LIPO"
7252 if test -n "$ac_tool_prefix"; then
7253 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7254 set dummy ${ac_tool_prefix}otool; ac_word=$2
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7256 $as_echo_n "checking
for $ac_word...
" >&6; }
7257 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7258 $as_echo_n "(cached
) " >&6
7260 if test -n "$OTOOL"; then
7261 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 test -z "$as_dir" && as_dir=.
7268 for ac_exec_ext in '' $ac_executable_extensions; do
7269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7270 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7280 OTOOL=$ac_cv_prog_OTOOL
7281 if test -n "$OTOOL"; then
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7283 $as_echo "$OTOOL" >&6; }
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7286 $as_echo "no
" >&6; }
7291 if test -z "$ac_cv_prog_OTOOL"; then
7293 # Extract the first word of "otool
", so it can be a program name with args.
7294 set dummy otool; ac_word=$2
7295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7296 $as_echo_n "checking
for $ac_word...
" >&6; }
7297 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7298 $as_echo_n "(cached
) " >&6
7300 if test -n "$ac_ct_OTOOL"; then
7301 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 test -z "$as_dir" && as_dir=.
7308 for ac_exec_ext in '' $ac_executable_extensions; do
7309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7310 ac_cv_prog_ac_ct_OTOOL="otool
"
7311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7320 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7321 if test -n "$ac_ct_OTOOL"; then
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7323 $as_echo "$ac_ct_OTOOL" >&6; }
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7326 $as_echo "no
" >&6; }
7329 if test "x
$ac_ct_OTOOL" = x; then
7332 case $cross_compiling:$ac_tool_warned in
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7335 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7336 ac_tool_warned=yes ;;
7341 OTOOL="$ac_cv_prog_OTOOL"
7344 if test -n "$ac_tool_prefix"; then
7345 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7346 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7348 $as_echo_n "checking
for $ac_word...
" >&6; }
7349 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7350 $as_echo_n "(cached
) " >&6
7352 if test -n "$OTOOL64"; then
7353 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 test -z "$as_dir" && as_dir=.
7360 for ac_exec_ext in '' $ac_executable_extensions; do
7361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7362 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7372 OTOOL64=$ac_cv_prog_OTOOL64
7373 if test -n "$OTOOL64"; then
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7375 $as_echo "$OTOOL64" >&6; }
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7378 $as_echo "no
" >&6; }
7383 if test -z "$ac_cv_prog_OTOOL64"; then
7384 ac_ct_OTOOL64=$OTOOL64
7385 # Extract the first word of "otool64
", so it can be a program name with args.
7386 set dummy otool64; ac_word=$2
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7388 $as_echo_n "checking
for $ac_word...
" >&6; }
7389 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7390 $as_echo_n "(cached
) " >&6
7392 if test -n "$ac_ct_OTOOL64"; then
7393 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 test -z "$as_dir" && as_dir=.
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7402 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7412 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7413 if test -n "$ac_ct_OTOOL64"; then
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7415 $as_echo "$ac_ct_OTOOL64" >&6; }
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7418 $as_echo "no
" >&6; }
7421 if test "x
$ac_ct_OTOOL64" = x; then
7424 case $cross_compiling:$ac_tool_warned in
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7427 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7428 ac_tool_warned=yes ;;
7430 OTOOL64=$ac_ct_OTOOL64
7433 OTOOL64="$ac_cv_prog_OTOOL64"
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7463 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7464 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7465 $as_echo_n "(cached
) " >&6
7467 lt_cv_apple_cc_single_mod=no
7468 if test -z "${LT_MULTI_MODULE}"; then
7469 # By default we will add the -single_module flag. You can override
7470 # by either setting the environment variable LT_MULTI_MODULE
7471 # non-empty at configure time, or by adding -multi_module to the
7473 rm -rf libconftest.dylib*
7474 echo "int foo
(void
){return 1;}" > conftest.c
7475 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7476 -dynamiclib -Wl,-single_module conftest.c
" >&5
7477 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7478 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7480 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7481 lt_cv_apple_cc_single_mod=yes
7483 cat conftest.err >&5
7485 rm -rf libconftest.dylib*
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7490 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7492 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7493 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7494 $as_echo_n "(cached
) " >&6
7496 lt_cv_ld_exported_symbols_list=no
7497 save_LDFLAGS=$LDFLAGS
7498 echo "_main
" > conftest.sym
7499 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7501 /* end confdefs.h. */
7511 if ac_fn_c_try_link "$LINENO"; then :
7512 lt_cv_ld_exported_symbols_list=yes
7514 lt_cv_ld_exported_symbols_list=no
7516 rm -f core conftest.err conftest.$ac_objext \
7517 conftest$ac_exeext conftest.$ac_ext
7518 LDFLAGS="$save_LDFLAGS"
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7522 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7524 rhapsody* | darwin1.[012])
7525 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7527 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7528 darwin*) # darwin 5.x on
7529 # if running on 10.5 or later, the deployment target defaults
7530 # to the OS version, if on x86, and 10.4, the deployment
7531 # target defaults to 10.4. Don't you love it?
7532 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7533 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7534 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7536 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7538 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7542 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7543 _lt_dar_single_mod='$single_module'
7545 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7546 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7548 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7550 if test "$DSYMUTIL" != ":"; then
7551 _lt_dsymutil='~$DSYMUTIL $lib || :'
7558 for ac_header in dlfcn.h
7560 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h
" "ac_cv_header_dlfcn_h
" "$ac_includes_default
7562 if test "x
$ac_cv_header_dlfcn_h" = x""yes; then :
7563 cat >>confdefs.h <<_ACEOF
7564 #define HAVE_DLFCN_H 1
7581 # Check whether --enable-shared was given.
7582 if test "${enable_shared+set}" = set; then :
7583 enableval=$enable_shared; p=${PACKAGE-default}
7585 yes) enable_shared=yes ;;
7586 no) enable_shared=no ;;
7589 # Look at the argument we got. We use all the common list separators.
7590 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7591 for pkg in $enableval; do
7593 if test "X
$pkg" = "X
$p"; then
7612 # Check whether --enable-static was given.
7613 if test "${enable_static+set}" = set; then :
7614 enableval=$enable_static; p=${PACKAGE-default}
7616 yes) enable_static=yes ;;
7617 no) enable_static=no ;;
7620 # Look at the argument we got. We use all the common list separators.
7621 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7622 for pkg in $enableval; do
7624 if test "X
$pkg" = "X
$p"; then
7644 # Check whether --with-pic was given.
7645 if test "${with_pic+set}" = set; then :
7646 withval=$with_pic; pic_mode="$withval"
7652 test -z "$pic_mode" && pic_mode=default
7660 # Check whether --enable-fast-install was given.
7661 if test "${enable_fast_install+set}" = set; then :
7662 enableval=$enable_fast_install; p=${PACKAGE-default}
7664 yes) enable_fast_install=yes ;;
7665 no) enable_fast_install=no ;;
7667 enable_fast_install=no
7668 # Look at the argument we got. We use all the common list separators.
7669 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7670 for pkg in $enableval; do
7672 if test "X
$pkg" = "X
$p"; then
7673 enable_fast_install=yes
7680 enable_fast_install=yes
7693 # This can be used to rebuild libtool when needed
7694 LIBTOOL_DEPS="$ltmain"
7696 # Always use our own libtool.
7697 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7723 test -z "$LN_S" && LN_S="ln -s"
7738 if test -n "${ZSH_VERSION+set}" ; then
7739 setopt NO_GLOB_SUBST
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdir
" >&5
7743 $as_echo_n "checking
for objdir...
" >&6; }
7744 if test "${lt_cv_objdir+set}" = set; then :
7745 $as_echo_n "(cached
) " >&6
7747 rm -f .libs 2>/dev/null
7748 mkdir .libs 2>/dev/null
7749 if test -d .libs; then
7752 # MS-DOS does not allow filenames that begin with a dot.
7755 rmdir .libs 2>/dev/null
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_objdir" >&5
7758 $as_echo "$lt_cv_objdir" >&6; }
7759 objdir=$lt_cv_objdir
7765 cat >>confdefs.h <<_ACEOF
7766 #define LT_OBJDIR "$lt_cv_objdir/"
7787 # AIX sometimes has problems with the GCC collect2 program. For some
7788 # reason, if we set the COLLECT_NAMES environment variable, the problems
7789 # vanish in a puff of smoke.
7790 if test "X
${COLLECT_NAMES+set}" != Xset; then
7792 export COLLECT_NAMES
7797 # Sed substitution that helps us do robust quoting. It backslashifies
7798 # metacharacters that are still active within double-quoted strings.
7799 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7801 # Same as above, but do not quote variable references.
7802 double_quote_subst='s/\(["`\\]\
)/\\\
1/g
'
7804 # Sed substitution to delay expansion of an escaped shell variable in a
7805 # double_quote_subst'ed string.
7806 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
7808 # Sed substitution to delay expansion of an escaped single quote.
7809 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
7811 # Sed substitution to avoid accidental globbing in evaled expressions
7812 no_glob_subst
='s/\*/\\\*/g'
7816 can_build_shared
=yes
7818 # All known linkers require a `.a' archive for static linking (except MSVC,
7819 # which needs '.lib').
7822 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7825 old_CFLAGS
="$CFLAGS"
7827 # Set sane defaults for various variables
7828 test -z "$CC" && CC
=cc
7829 test -z "$LTCC" && LTCC
=$CC
7830 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7831 test -z "$LD" && LD
=ld
7832 test -z "$ac_objext" && ac_objext
=o
7834 for cc_temp
in $compiler""; do
7836 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7837 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7842 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7845 # Only perform the check for file, if the check method requires it
7846 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7847 case $deplibs_check_method in
7849 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7851 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7852 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7857 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7860 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7861 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7862 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7863 for ac_dir
in $ac_dummy; do
7865 test -z "$ac_dir" && ac_dir
=.
7866 if test -f $ac_dir/${ac_tool_prefix}file; then
7867 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7868 if test -n "$file_magic_test_file"; then
7869 case $deplibs_check_method in
7871 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7872 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7873 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7874 $EGREP "$file_magic_regex" > /dev
/null
; then
7879 *** Warning: the command libtool uses to detect shared libraries,
7880 *** $file_magic_cmd, produces output that libtool cannot recognize.
7881 *** The result is that libtool may fail to recognize shared libraries
7882 *** as such. This will affect the creation of libtool libraries that
7883 *** depend on shared libraries, but programs linked with such libtool
7884 *** libraries will work regardless of this problem. Nevertheless, you
7885 *** may want to report the problem to your system manager and/or to
7886 *** bug-libtool@gnu.org
7896 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7901 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7902 if test -n "$MAGIC_CMD"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7904 $as_echo "$MAGIC_CMD" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7907 $as_echo "no" >&6; }
7914 if test -z "$lt_cv_path_MAGIC_CMD"; then
7915 if test -n "$ac_tool_prefix"; then
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7917 $as_echo_n "checking for file... " >&6; }
7918 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7919 $as_echo_n "(cached) " >&6
7923 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7926 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7927 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7928 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7929 for ac_dir
in $ac_dummy; do
7931 test -z "$ac_dir" && ac_dir
=.
7932 if test -f $ac_dir/file; then
7933 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7934 if test -n "$file_magic_test_file"; then
7935 case $deplibs_check_method in
7937 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7938 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7939 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7940 $EGREP "$file_magic_regex" > /dev
/null
; then
7945 *** Warning: the command libtool uses to detect shared libraries,
7946 *** $file_magic_cmd, produces output that libtool cannot recognize.
7947 *** The result is that libtool may fail to recognize shared libraries
7948 *** as such. This will affect the creation of libtool libraries that
7949 *** depend on shared libraries, but programs linked with such libtool
7950 *** libraries will work regardless of this problem. Nevertheless, you
7951 *** may want to report the problem to your system manager and/or to
7952 *** bug-libtool@gnu.org
7962 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7967 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7968 if test -n "$MAGIC_CMD"; then
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7970 $as_echo "$MAGIC_CMD" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7973 $as_echo "no" >&6; }
7986 # Use C for the default configuration in the libtool script
7990 ac_cpp
='$CPP $CPPFLAGS'
7991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7996 # Source file extension for C test sources.
7999 # Object file extension for compiled C test sources.
8003 # Code to be used in simple compile tests
8004 lt_simple_compile_test_code
="int some_variable = 0;"
8006 # Code to be used in simple link tests
8007 lt_simple_link_test_code
='int main(){return(0);}'
8015 # If no C compiler was specified, use CC.
8018 # If no C compiler flags were specified, use CFLAGS.
8019 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8021 # Allow CC to be a program name with arguments.
8024 # Save the default compiler, since it gets overwritten when the other
8025 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8026 compiler_DEFAULT
=$CC
8028 # save warnings/boilerplate of simple test code
8029 ac_outfile
=conftest.
$ac_objext
8030 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8031 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8032 _lt_compiler_boilerplate
=`cat conftest.err`
8035 ac_outfile
=conftest.
$ac_objext
8036 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8037 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8038 _lt_linker_boilerplate
=`cat conftest.err`
8042 if test -n "$compiler"; then
8044 lt_prog_compiler_no_builtin_flag
=
8046 if test "$GCC" = yes; then
8047 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8050 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8051 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8052 $as_echo_n "(cached) " >&6
8054 lt_cv_prog_compiler_rtti_exceptions
=no
8055 ac_outfile
=conftest.
$ac_objext
8056 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8057 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8058 # Insert the option either (1) after the last *FLAGS variable, or
8059 # (2) before a word containing "conftest.", or (3) at the end.
8060 # Note that $ac_compile itself does not contain backslashes and begins
8061 # with a dollar sign (not a hyphen), so the echo should work correctly.
8062 # The option is referenced via a variable to avoid confusing sed.
8063 lt_compile
=`echo "$ac_compile" | $SED \
8064 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8065 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8066 -e 's:$: $lt_compiler_flag:'`
8067 (eval echo "\"\$as_me:8067: $lt_compile\"" >&5)
8068 (eval "$lt_compile" 2>conftest.err
)
8070 cat conftest.err
>&5
8071 echo "$as_me:8071: \$? = $ac_status" >&5
8072 if (exit $ac_status) && test -s "$ac_outfile"; then
8073 # The compiler can only warn and ignore the option if not recognized
8074 # So say no if there are warnings other than the usual output.
8075 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8076 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8077 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8078 lt_cv_prog_compiler_rtti_exceptions
=yes
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8085 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8087 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8088 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8100 lt_prog_compiler_wl
=
8101 lt_prog_compiler_pic
=
8102 lt_prog_compiler_static
=
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8105 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8107 if test "$GCC" = yes; then
8108 lt_prog_compiler_wl
='-Wl,'
8109 lt_prog_compiler_static
='-static'
8113 # All AIX code is PIC.
8114 if test "$host_cpu" = ia64
; then
8115 # AIX 5 now supports IA64 processor
8116 lt_prog_compiler_static
='-Bstatic'
8123 # see comment about AmigaOS4 .so support
8124 lt_prog_compiler_pic
='-fPIC'
8127 # FIXME: we need at least 68020 code to build shared libraries, but
8128 # adding the `-m68020' flag to GCC prevents building anything better,
8130 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8135 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8136 # PIC is the default for these OSes.
8139 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8140 # This hack is so that the source file can tell whether it is being
8141 # built for inclusion in a dll (and should export symbols for example).
8142 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8143 # (--disable-auto-import) libraries
8144 lt_prog_compiler_pic
='-DDLL_EXPORT'
8147 darwin
* | rhapsody
*)
8148 # PIC is the default on this platform
8149 # Common symbols not allowed in MH_DYLIB files
8150 lt_prog_compiler_pic
='-fno-common'
8154 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8155 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8156 # sets the default TLS model and affects inlining.
8162 lt_prog_compiler_pic
='-fPIC'
8168 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8169 # Instead, we relocate shared libraries at runtime.
8173 # Just because we use GCC doesn't mean we suddenly get shared libraries
8174 # on systems that don't support them.
8175 lt_prog_compiler_can_build_shared
=no
8180 # QNX uses GNU C++, but need to define -shared option too, otherwise
8182 lt_prog_compiler_pic
='-fPIC -shared'
8186 if test -d /usr
/nec
; then
8187 lt_prog_compiler_pic
=-Kconform_pic
8192 lt_prog_compiler_pic
='-fPIC'
8196 # PORTME Check for flag to pass linker flags through the system compiler.
8199 lt_prog_compiler_wl
='-Wl,'
8200 if test "$host_cpu" = ia64
; then
8201 # AIX 5 now supports IA64 processor
8202 lt_prog_compiler_static
='-Bstatic'
8204 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8208 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8209 # This hack is so that the source file can tell whether it is being
8210 # built for inclusion in a dll (and should export symbols for example).
8211 lt_prog_compiler_pic
='-DDLL_EXPORT'
8214 hpux9
* | hpux10
* | hpux11
*)
8215 lt_prog_compiler_wl
='-Wl,'
8216 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8223 lt_prog_compiler_pic
='+Z'
8226 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8227 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8230 irix5
* | irix6
* | nonstopux
*)
8231 lt_prog_compiler_wl
='-Wl,'
8232 # PIC (with -KPIC) is the default.
8233 lt_prog_compiler_static
='-non_shared'
8236 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8237 case $cc_basename in
8238 # old Intel for x86_64 which still supported -KPIC.
8240 lt_prog_compiler_wl
='-Wl,'
8241 lt_prog_compiler_pic
='-KPIC'
8242 lt_prog_compiler_static
='-static'
8244 # icc used to be incompatible with GCC.
8245 # ICC 10 doesn't accept -KPIC any more.
8247 lt_prog_compiler_wl
='-Wl,'
8248 lt_prog_compiler_pic
='-fPIC'
8249 lt_prog_compiler_static
='-static'
8251 # Lahey Fortran 8.1.
8253 lt_prog_compiler_wl
='-Wl,'
8254 lt_prog_compiler_pic
='--shared'
8255 lt_prog_compiler_static
='--static'
8257 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8258 # Portland Group compilers (*not* the Pentium gcc compiler,
8259 # which looks to be a dead project)
8260 lt_prog_compiler_wl
='-Wl,'
8261 lt_prog_compiler_pic
='-fpic'
8262 lt_prog_compiler_static
='-Bstatic'
8265 lt_prog_compiler_wl
='-Wl,'
8266 # All Alpha code is PIC.
8267 lt_prog_compiler_static
='-non_shared'
8270 # IBM XL C 8.0/Fortran 10.1 on PPC
8271 lt_prog_compiler_wl
='-Wl,'
8272 lt_prog_compiler_pic
='-qpic'
8273 lt_prog_compiler_static
='-qstaticlink'
8276 case `$CC -V 2>&1 | sed 5q` in
8279 lt_prog_compiler_pic
='-KPIC'
8280 lt_prog_compiler_static
='-Bstatic'
8281 lt_prog_compiler_wl
='-Wl,'
8284 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8285 lt_prog_compiler_pic
='-KPIC'
8286 lt_prog_compiler_static
='-Bstatic'
8287 lt_prog_compiler_wl
=''
8295 lt_prog_compiler_pic
='-KPIC'
8296 lt_prog_compiler_static
='-Bstatic'
8300 # QNX uses GNU C++, but need to define -shared option too, otherwise
8302 lt_prog_compiler_pic
='-fPIC -shared'
8305 osf3
* | osf4
* | osf5
*)
8306 lt_prog_compiler_wl
='-Wl,'
8307 # All OSF/1 code is PIC.
8308 lt_prog_compiler_static
='-non_shared'
8312 lt_prog_compiler_static
='-non_shared'
8316 lt_prog_compiler_pic
='-KPIC'
8317 lt_prog_compiler_static
='-Bstatic'
8318 case $cc_basename in
8320 lt_prog_compiler_wl
='-Qoption ld ';;
8322 lt_prog_compiler_wl
='-Wl,';;
8327 lt_prog_compiler_wl
='-Qoption ld '
8328 lt_prog_compiler_pic
='-PIC'
8329 lt_prog_compiler_static
='-Bstatic'
8332 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8333 lt_prog_compiler_wl
='-Wl,'
8334 lt_prog_compiler_pic
='-KPIC'
8335 lt_prog_compiler_static
='-Bstatic'
8339 if test -d /usr
/nec
;then
8340 lt_prog_compiler_pic
='-Kconform_pic'
8341 lt_prog_compiler_static
='-Bstatic'
8345 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8346 lt_prog_compiler_wl
='-Wl,'
8347 lt_prog_compiler_pic
='-KPIC'
8348 lt_prog_compiler_static
='-Bstatic'
8352 lt_prog_compiler_wl
='-Wl,'
8353 lt_prog_compiler_can_build_shared
=no
8357 lt_prog_compiler_pic
='-pic'
8358 lt_prog_compiler_static
='-Bstatic'
8362 lt_prog_compiler_can_build_shared
=no
8368 # For platforms which do not support PIC, -DPIC is meaningless:
8370 lt_prog_compiler_pic
=
8373 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8377 $as_echo "$lt_prog_compiler_pic" >&6; }
8385 # Check to make sure the PIC flag actually works.
8387 if test -n "$lt_prog_compiler_pic"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8389 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8390 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8391 $as_echo_n "(cached) " >&6
8393 lt_cv_prog_compiler_pic_works
=no
8394 ac_outfile
=conftest.
$ac_objext
8395 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8396 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8397 # Insert the option either (1) after the last *FLAGS variable, or
8398 # (2) before a word containing "conftest.", or (3) at the end.
8399 # Note that $ac_compile itself does not contain backslashes and begins
8400 # with a dollar sign (not a hyphen), so the echo should work correctly.
8401 # The option is referenced via a variable to avoid confusing sed.
8402 lt_compile
=`echo "$ac_compile" | $SED \
8403 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8404 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8405 -e 's:$: $lt_compiler_flag:'`
8406 (eval echo "\"\$as_me:8406: $lt_compile\"" >&5)
8407 (eval "$lt_compile" 2>conftest.err
)
8409 cat conftest.err
>&5
8410 echo "$as_me:8410: \$? = $ac_status" >&5
8411 if (exit $ac_status) && test -s "$ac_outfile"; then
8412 # The compiler can only warn and ignore the option if not recognized
8413 # So say no if there are warnings other than the usual output.
8414 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8415 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8416 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8417 lt_cv_prog_compiler_pic_works
=yes
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8424 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8426 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8427 case $lt_prog_compiler_pic in
8429 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8432 lt_prog_compiler_pic
=
8433 lt_prog_compiler_can_build_shared
=no
8444 # Check to make sure the static flag actually works.
8446 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8448 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8449 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8452 lt_cv_prog_compiler_static_works
=no
8453 save_LDFLAGS
="$LDFLAGS"
8454 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8455 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8456 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8457 # The linker can only warn and ignore the option if not recognized
8458 # So say no if there are warnings
8459 if test -s conftest.err
; then
8460 # Append any errors to the config.log.
8461 cat conftest.err
1>&5
8462 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8463 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8464 if diff conftest.exp conftest.er2
>/dev
/null
; then
8465 lt_cv_prog_compiler_static_works
=yes
8468 lt_cv_prog_compiler_static_works
=yes
8472 LDFLAGS
="$save_LDFLAGS"
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8476 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8478 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8481 lt_prog_compiler_static
=
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8491 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8492 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8493 $as_echo_n "(cached) " >&6
8495 lt_cv_prog_compiler_c_o
=no
8496 $RM -r conftest
2>/dev
/null
8500 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8502 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8503 # Insert the option either (1) after the last *FLAGS variable, or
8504 # (2) before a word containing "conftest.", or (3) at the end.
8505 # Note that $ac_compile itself does not contain backslashes and begins
8506 # with a dollar sign (not a hyphen), so the echo should work correctly.
8507 lt_compile
=`echo "$ac_compile" | $SED \
8508 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8509 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8510 -e 's:$: $lt_compiler_flag:'`
8511 (eval echo "\"\$as_me:8511: $lt_compile\"" >&5)
8512 (eval "$lt_compile" 2>out
/conftest.err
)
8514 cat out
/conftest.err
>&5
8515 echo "$as_me:8515: \$? = $ac_status" >&5
8516 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8518 # The compiler can only warn and ignore the option if not recognized
8519 # So say no if there are warnings
8520 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8521 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8522 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8523 lt_cv_prog_compiler_c_o
=yes
8528 # SGI C++ compiler will create directory out/ii_files/ for
8529 # template instantiation
8530 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8531 $RM out
/* && rmdir out
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8538 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8546 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8547 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8548 $as_echo_n "(cached) " >&6
8550 lt_cv_prog_compiler_c_o
=no
8551 $RM -r conftest
2>/dev
/null
8555 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8557 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8558 # Insert the option either (1) after the last *FLAGS variable, or
8559 # (2) before a word containing "conftest.", or (3) at the end.
8560 # Note that $ac_compile itself does not contain backslashes and begins
8561 # with a dollar sign (not a hyphen), so the echo should work correctly.
8562 lt_compile
=`echo "$ac_compile" | $SED \
8563 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8565 -e 's:$: $lt_compiler_flag:'`
8566 (eval echo "\"\$as_me:8566: $lt_compile\"" >&5)
8567 (eval "$lt_compile" 2>out
/conftest.err
)
8569 cat out
/conftest.err
>&5
8570 echo "$as_me:8570: \$? = $ac_status" >&5
8571 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8573 # The compiler can only warn and ignore the option if not recognized
8574 # So say no if there are warnings
8575 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8576 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8577 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8578 lt_cv_prog_compiler_c_o
=yes
8583 # SGI C++ compiler will create directory out/ii_files/ for
8584 # template instantiation
8585 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8586 $RM out
/* && rmdir out
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8593 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8598 hard_links
="nottested"
8599 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8600 # do not overwrite the value of need_locks provided by the user
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8602 $as_echo_n "checking if we can lock with hard links... " >&6; }
8605 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8607 ln conftest.a conftest.b
2>&5 || hard_links
=no
8608 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8610 $as_echo "$hard_links" >&6; }
8611 if test "$hard_links" = no
; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8613 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8626 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8629 allow_undefined_flag
=
8630 always_export_symbols
=no
8632 archive_expsym_cmds
=
8633 compiler_needs_object
=no
8634 enable_shared_with_static_runtimes
=no
8635 export_dynamic_flag_spec
=
8636 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8637 hardcode_automatic
=no
8639 hardcode_direct_absolute
=no
8640 hardcode_libdir_flag_spec
=
8641 hardcode_libdir_flag_spec_ld
=
8642 hardcode_libdir_separator
=
8644 hardcode_shlibpath_var
=unsupported
8646 link_all_deplibs
=unknown
8649 old_archive_from_new_cmds
=
8650 old_archive_from_expsyms_cmds
=
8651 thread_safe_flag_spec
=
8652 whole_archive_flag_spec
=
8653 # include_expsyms should be a list of space-separated symbols to be *always*
8654 # included in the symbol list
8656 # exclude_expsyms can be an extended regexp of symbols to exclude
8657 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8658 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8659 # as well as any symbol that contains `d'.
8660 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8661 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8662 # platforms (ab)use it in PIC code, but their linkers get confused if
8663 # the symbol is explicitly referenced. Since portable code cannot
8664 # rely on this symbol name, it's probably fine to never include it in
8665 # preloaded symbol tables.
8666 # Exclude shared library initialization/finalization symbols.
8667 extract_expsyms_cmds
=
8670 cygwin
* | mingw
* | pw32
* | cegcc
*)
8671 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8672 # When not using gcc, we currently assume that we are using
8673 # Microsoft Visual C++.
8674 if test "$GCC" != yes; then
8679 # we just hope/assume this is gcc and not c89 (= MSVC++)
8685 linux
* | k
*bsd
*-gnu)
8691 if test "$with_gnu_ld" = yes; then
8692 # If archive_cmds runs LD, not CC, wlarc should be empty
8695 # Set some defaults for GNU ld with shared library support. These
8696 # are reset later if shared libraries are not supported. Putting them
8697 # here allows them to be overridden if necessary.
8698 runpath_var
=LD_RUN_PATH
8699 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8700 export_dynamic_flag_spec
='${wl}--export-dynamic'
8701 # ancient GNU ld didn't support --whole-archive et. al.
8702 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8703 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8705 whole_archive_flag_spec
=
8707 supports_anon_versioning
=no
8708 case `$LD -v 2>&1` in
8709 *GNU\ gold
*) supports_anon_versioning
=yes ;;
8710 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8711 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8712 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8713 *\
2.11.
*) ;; # other 2.11 versions
8714 *) supports_anon_versioning
=yes ;;
8717 # See if GNU ld supports shared libraries.
8720 # On AIX/PPC, the GNU linker is very broken
8721 if test "$host_cpu" != ia64
; then
8725 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8726 *** to be unable to reliably create shared libraries on AIX.
8727 *** Therefore, libtool is disabling shared libraries support. If you
8728 *** really care for shared libraries, you may want to modify your PATH
8729 *** so that a non-GNU linker is found, and then restart.
8738 # see comment about AmigaOS4 .so support
8739 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8740 archive_expsym_cmds
=''
8743 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)'
8744 hardcode_libdir_flag_spec
='-L$libdir'
8745 hardcode_minus_L
=yes
8751 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8752 allow_undefined_flag
=unsupported
8753 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8754 # support --undefined. This deserves some investigation. FIXME
8755 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8761 cygwin
* | mingw
* | pw32
* | cegcc
*)
8762 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8763 # as there is no search path for DLLs.
8764 hardcode_libdir_flag_spec
='-L$libdir'
8765 allow_undefined_flag
=unsupported
8766 always_export_symbols
=no
8767 enable_shared_with_static_runtimes
=yes
8768 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8770 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
8771 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8772 # If the export-symbols file already is a .def file (1st line
8773 # is EXPORTS), use it as is; otherwise, prepend...
8774 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8775 cp $export_symbols $output_objdir/$soname.def;
8777 echo EXPORTS > $output_objdir/$soname.def;
8778 cat $export_symbols >> $output_objdir/$soname.def;
8780 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8788 hardcode_shlibpath_var
=no
8789 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8790 export_dynamic_flag_spec
='${wl}-E'
8791 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8792 # Instead, shared libraries are loaded at an image base (0x10000000 by
8793 # default) and relocated if they conflict, which is a slow very memory
8794 # consuming and fragmenting process. To avoid this, we pick a random,
8795 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8796 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8797 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8798 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'
8801 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
8803 if test "$host_os" = linux-dietlibc
; then
8804 case $cc_basename in
8805 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
8808 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
8809 && test "$tmp_diet" = no
8812 tmp_sharedflag
='-shared'
8813 case $cc_basename,$host_cpu in
8814 pgcc
*) # Portland Group C compiler
8815 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'
8816 tmp_addflag
=' $pic_flag'
8818 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8819 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'
8820 tmp_addflag
=' $pic_flag -Mnomain' ;;
8821 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8822 tmp_addflag
=' -i_dynamic' ;;
8823 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8824 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8825 ifc
* | ifort
*) # Intel Fortran compiler
8826 tmp_addflag
=' -nofor_main' ;;
8827 lf95
*) # Lahey Fortran 8.1
8828 whole_archive_flag_spec
=
8829 tmp_sharedflag
='--shared' ;;
8830 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8831 tmp_sharedflag
='-qmkshrobj'
8834 case `$CC -V 2>&1 | sed 5q` in
8835 *Sun\ C
*) # Sun C 5.9
8836 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'
8837 compiler_needs_object
=yes
8838 tmp_sharedflag
='-G' ;;
8839 *Sun\ F
*) # Sun Fortran 8.3
8840 tmp_sharedflag
='-G' ;;
8842 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844 if test "x$supports_anon_versioning" = xyes
; then
8845 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8846 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8847 echo "local: *; };" >> $output_objdir/$libname.ver~
8848 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8851 case $cc_basename in
8853 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8854 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8855 hardcode_libdir_flag_spec
=
8856 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8857 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8858 if test "x$supports_anon_versioning" = xyes
; then
8859 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8860 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8861 echo "local: *; };" >> $output_objdir/$libname.ver~
8862 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8871 netbsd
* | netbsdelf
*-gnu)
8872 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8873 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8876 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8877 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8882 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8886 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8887 *** create shared libraries on Solaris systems. Therefore, libtool
8888 *** is disabling shared libraries support. We urge you to upgrade GNU
8889 *** binutils to release 2.9.1 or newer. Another option is to modify
8890 *** your PATH or compiler configuration so that the native linker is
8891 *** used, and then restart.
8894 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8895 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8896 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8902 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8903 case `$LD -v 2>&1` in
8904 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8908 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8909 *** reliably create shared libraries on SCO systems. Therefore, libtool
8910 *** is disabling shared libraries support. We urge you to upgrade GNU
8911 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8912 *** your PATH or compiler configuration so that the native linker is
8913 *** used, and then restart.
8918 # For security reasons, it is highly recommended that you always
8919 # use absolute paths for naming shared libraries, and exclude the
8920 # DT_RUNPATH tag from executables and libraries. But doing so
8921 # requires that you compile everything twice, which is a pain.
8922 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8923 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8924 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8925 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8934 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8937 hardcode_shlibpath_var
=no
8941 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8942 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8943 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8950 if test "$ld_shlibs" = no
; then
8952 hardcode_libdir_flag_spec
=
8953 export_dynamic_flag_spec
=
8954 whole_archive_flag_spec
=
8957 # PORTME fill in a description of your system's linker (not GNU ld)
8960 allow_undefined_flag
=unsupported
8961 always_export_symbols
=yes
8962 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'
8963 # Note: this linker hardcodes the directories in LIBPATH if there
8964 # are no directories specified by -L.
8965 hardcode_minus_L
=yes
8966 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8967 # Neither direct hardcoding nor static linking is supported with a
8969 hardcode_direct
=unsupported
8974 if test "$host_cpu" = ia64
; then
8975 # On IA64, the linker does run time linking by default, so we don't
8976 # have to do anything special.
8977 aix_use_runtimelinking
=no
8978 exp_sym_flag
='-Bexport'
8981 # If we're using GNU nm, then we don't want the "-C" option.
8982 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8983 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8984 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'
8986 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'
8988 aix_use_runtimelinking
=no
8990 # Test if we are trying to use run time linking or normal
8991 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8992 # need to do runtime linking.
8993 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8994 for ld_flag
in $LDFLAGS; do
8995 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8996 aix_use_runtimelinking
=yes
9003 exp_sym_flag
='-bexport'
9004 no_entry_flag
='-bnoentry'
9007 # When large executables or shared objects are built, AIX ld can
9008 # have problems creating the table of contents. If linking a library
9009 # or program results in "error TOC overflow" add -mminimal-toc to
9010 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9011 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9015 hardcode_direct_absolute
=yes
9016 hardcode_libdir_separator
=':'
9017 link_all_deplibs
=yes
9018 file_list_spec
='${wl}-f,'
9020 if test "$GCC" = yes; then
9021 case $host_os in aix4.
[012]|aix4.
[012].
*)
9022 # We only want to do this on AIX 4.2 and lower, the check
9023 # below for broken collect2 doesn't work under 4.3+
9024 collect2name
=`${CC} -print-prog-name=collect2`
9025 if test -f "$collect2name" &&
9026 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9028 # We have reworked collect2
9031 # We have old collect2
9032 hardcode_direct
=unsupported
9033 # It fails to find uninstalled libraries when the uninstalled
9034 # path is not listed in the libpath. Setting hardcode_minus_L
9035 # to unsupported forces relinking
9036 hardcode_minus_L
=yes
9037 hardcode_libdir_flag_spec
='-L$libdir'
9038 hardcode_libdir_separator
=
9042 shared_flag
='-shared'
9043 if test "$aix_use_runtimelinking" = yes; then
9044 shared_flag
="$shared_flag "'${wl}-G'
9049 if test "$host_cpu" = ia64
; then
9050 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9051 # chokes on -Wl,-G. The following line is correct:
9054 if test "$aix_use_runtimelinking" = yes; then
9055 shared_flag
='${wl}-G'
9057 shared_flag
='${wl}-bM:SRE'
9062 export_dynamic_flag_spec
='${wl}-bexpall'
9063 # It seems that -bexpall does not export symbols beginning with
9064 # underscore (_), so it is better to generate a list of symbols to export.
9065 always_export_symbols
=yes
9066 if test "$aix_use_runtimelinking" = yes; then
9067 # Warning - without using the other runtime loading flags (-brtl),
9068 # -berok will link without error, but may produce a broken library.
9069 allow_undefined_flag
='-berok'
9070 # Determine the default libpath from the value encoded in an
9072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9083 if ac_fn_c_try_link
"$LINENO"; then :
9085 lt_aix_libpath_sed
='
9086 /Import File Strings/,/^$/ {
9092 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9093 # Check for a 64-bit object if we didn't find anything.
9094 if test -z "$aix_libpath"; then
9095 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9098 rm -f core conftest.err conftest.
$ac_objext \
9099 conftest
$ac_exeext conftest.
$ac_ext
9100 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9102 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9103 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"
9105 if test "$host_cpu" = ia64
; then
9106 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9107 allow_undefined_flag
="-z nodefs"
9108 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"
9110 # Determine the default libpath from the value encoded in an
9112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9123 if ac_fn_c_try_link
"$LINENO"; then :
9125 lt_aix_libpath_sed
='
9126 /Import File Strings/,/^$/ {
9132 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9133 # Check for a 64-bit object if we didn't find anything.
9134 if test -z "$aix_libpath"; then
9135 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9138 rm -f core conftest.err conftest.
$ac_objext \
9139 conftest
$ac_exeext conftest.
$ac_ext
9140 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9142 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9143 # Warning - without using the other run time loading flags,
9144 # -berok will link without error, but may produce a broken library.
9145 no_undefined_flag
=' ${wl}-bernotok'
9146 allow_undefined_flag
=' ${wl}-berok'
9147 # Exported symbols can be pulled into shared objects from archives
9148 whole_archive_flag_spec
='$convenience'
9149 archive_cmds_need_lc
=yes
9150 # This is similar to how AIX traditionally builds its shared libraries.
9151 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'
9159 # see comment about AmigaOS4 .so support
9160 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9161 archive_expsym_cmds
=''
9164 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)'
9165 hardcode_libdir_flag_spec
='-L$libdir'
9166 hardcode_minus_L
=yes
9172 export_dynamic_flag_spec
=-rdynamic
9175 cygwin
* | mingw
* | pw32
* | cegcc
*)
9176 # When not using gcc, we currently assume that we are using
9177 # Microsoft Visual C++.
9178 # hardcode_libdir_flag_spec is actually meaningless, as there is
9179 # no search path for DLLs.
9180 hardcode_libdir_flag_spec
=' '
9181 allow_undefined_flag
=unsupported
9182 # Tell ltmain to make .lib files, not .a files.
9184 # Tell ltmain to make .dll files, not .so files.
9186 # FIXME: Setting linknames here is a bad hack.
9187 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9188 # The linker will automatically build a .lib file if we build a DLL.
9189 old_archive_from_new_cmds
='true'
9190 # FIXME: Should let the user specify the lib program.
9191 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9192 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9193 enable_shared_with_static_runtimes
=yes
9196 darwin
* | rhapsody
*)
9199 archive_cmds_need_lc
=no
9201 hardcode_automatic
=yes
9202 hardcode_shlibpath_var
=unsupported
9203 whole_archive_flag_spec
=''
9204 link_all_deplibs
=yes
9205 allow_undefined_flag
="$_lt_dar_allow_undefined"
9206 case $cc_basename in
9207 ifort
*) _lt_dar_can_shared
=yes ;;
9208 *) _lt_dar_can_shared
=$GCC ;;
9210 if test "$_lt_dar_can_shared" = "yes"; then
9211 output_verbose_link_cmd
=echo
9212 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9213 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9214 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}"
9215 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}"
9224 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9225 hardcode_libdir_flag_spec
='-L$libdir'
9226 hardcode_shlibpath_var
=no
9233 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9234 # support. Future versions do this automatically, but an explicit c++rt0.o
9235 # does not break anything, and helps significantly (at the cost of a little
9238 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9239 hardcode_libdir_flag_spec
='-R$libdir'
9241 hardcode_shlibpath_var
=no
9244 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9246 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9248 hardcode_minus_L
=yes
9249 hardcode_shlibpath_var
=no
9252 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9253 freebsd
* | dragonfly
*)
9254 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9255 hardcode_libdir_flag_spec
='-R$libdir'
9257 hardcode_shlibpath_var
=no
9261 if test "$GCC" = yes; then
9262 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'
9264 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'
9266 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9267 hardcode_libdir_separator
=:
9270 # hardcode_minus_L: Not really in the search PATH,
9271 # but as the default location of the library.
9272 hardcode_minus_L
=yes
9273 export_dynamic_flag_spec
='${wl}-E'
9277 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9278 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9280 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9282 if test "$with_gnu_ld" = no
; then
9283 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9284 hardcode_libdir_flag_spec_ld
='+b $libdir'
9285 hardcode_libdir_separator
=:
9287 hardcode_direct_absolute
=yes
9288 export_dynamic_flag_spec
='${wl}-E'
9289 # hardcode_minus_L: Not really in the search PATH,
9290 # but as the default location of the library.
9291 hardcode_minus_L
=yes
9296 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9299 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9302 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9305 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9311 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9314 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9317 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9321 if test "$with_gnu_ld" = no
; then
9322 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9323 hardcode_libdir_separator
=:
9328 hardcode_shlibpath_var
=no
9332 hardcode_direct_absolute
=yes
9333 export_dynamic_flag_spec
='${wl}-E'
9335 # hardcode_minus_L: Not really in the search PATH,
9336 # but as the default location of the library.
9337 hardcode_minus_L
=yes
9343 irix5
* | irix6
* | nonstopux
*)
9344 if test "$GCC" = yes; then
9345 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'
9346 # Try to use the -exported_symbol ld option, if it does not
9347 # work, assume that -exports_file does not work either and
9348 # implicitly export all symbols.
9349 save_LDFLAGS
="$LDFLAGS"
9350 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9352 /* end confdefs.h. */
9355 if ac_fn_c_try_link
"$LINENO"; then :
9356 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'
9359 rm -f core conftest.err conftest.
$ac_objext \
9360 conftest
$ac_exeext conftest.
$ac_ext
9361 LDFLAGS
="$save_LDFLAGS"
9363 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'
9364 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'
9366 archive_cmds_need_lc
='no'
9367 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9368 hardcode_libdir_separator
=:
9370 link_all_deplibs
=yes
9373 netbsd
* | netbsdelf
*-gnu)
9374 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9375 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9377 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9379 hardcode_libdir_flag_spec
='-R$libdir'
9381 hardcode_shlibpath_var
=no
9385 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9387 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9388 hardcode_libdir_separator
=:
9389 hardcode_shlibpath_var
=no
9396 if test -f /usr
/libexec
/ld.so
; then
9398 hardcode_shlibpath_var
=no
9399 hardcode_direct_absolute
=yes
9400 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9401 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9402 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9403 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9404 export_dynamic_flag_spec
='${wl}-E'
9407 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9408 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9409 hardcode_libdir_flag_spec
='-R$libdir'
9412 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9413 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9423 hardcode_libdir_flag_spec
='-L$libdir'
9424 hardcode_minus_L
=yes
9425 allow_undefined_flag
=unsupported
9426 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'
9427 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9431 if test "$GCC" = yes; then
9432 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9433 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'
9435 allow_undefined_flag
=' -expect_unresolved \*'
9436 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'
9438 archive_cmds_need_lc
='no'
9439 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9440 hardcode_libdir_separator
=:
9443 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9444 if test "$GCC" = yes; then
9445 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9446 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'
9447 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9449 allow_undefined_flag
=' -expect_unresolved \*'
9450 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'
9451 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~
9452 $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'
9454 # Both c and cxx compiler support -rpath directly
9455 hardcode_libdir_flag_spec
='-rpath $libdir'
9457 archive_cmds_need_lc
='no'
9458 hardcode_libdir_separator
=:
9462 no_undefined_flag
=' -z defs'
9463 if test "$GCC" = yes; then
9465 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9466 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9467 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9469 case `$CC -V 2>&1` in
9472 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9473 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9474 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9478 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9479 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9480 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9484 hardcode_libdir_flag_spec
='-R$libdir'
9485 hardcode_shlibpath_var
=no
9487 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9489 # The compiler driver will combine and reorder linker options,
9490 # but understands `-z linker_flag'. GCC discards it without `$wl',
9491 # but is careful enough not to reorder.
9492 # Supported since Solaris 2.6 (maybe 2.5.1?)
9493 if test "$GCC" = yes; then
9494 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9496 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9500 link_all_deplibs
=yes
9504 if test "x$host_vendor" = xsequent
; then
9505 # Use $CC to link under sequent, because it throws in some extra .o
9506 # files that make .init and .fini sections work.
9507 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9509 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9511 hardcode_libdir_flag_spec
='-L$libdir'
9513 hardcode_minus_L
=yes
9514 hardcode_shlibpath_var
=no
9518 case $host_vendor in
9520 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9521 hardcode_direct
=yes # is this really true???
9524 ## LD is ld it makes a PLAMLIB
9525 ## CC just makes a GrossModule.
9526 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9527 reload_cmds
='$CC -r -o $output$reload_objs'
9531 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9532 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9535 runpath_var
='LD_RUN_PATH'
9536 hardcode_shlibpath_var
=no
9540 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9541 hardcode_shlibpath_var
=no
9542 export_dynamic_flag_spec
='-Bexport'
9546 if test -d /usr
/nec
; then
9547 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9548 hardcode_shlibpath_var
=no
9549 runpath_var
=LD_RUN_PATH
9550 hardcode_runpath_var
=yes
9555 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9556 no_undefined_flag
='${wl}-z,text'
9557 archive_cmds_need_lc
=no
9558 hardcode_shlibpath_var
=no
9559 runpath_var
='LD_RUN_PATH'
9561 if test "$GCC" = yes; then
9562 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9563 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9565 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9566 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9570 sysv5
* | sco3.2v5
* | sco5v6
*)
9571 # Note: We can NOT use -z defs as we might desire, because we do not
9572 # link with -lc, and that would cause any symbols used from libc to
9573 # always be unresolved, which means just about no library would
9574 # ever link correctly. If we're not using GNU ld we use -z text
9575 # though, which does catch some bad symbols but isn't as heavy-handed
9577 no_undefined_flag
='${wl}-z,text'
9578 allow_undefined_flag
='${wl}-z,nodefs'
9579 archive_cmds_need_lc
=no
9580 hardcode_shlibpath_var
=no
9581 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9582 hardcode_libdir_separator
=':'
9583 link_all_deplibs
=yes
9584 export_dynamic_flag_spec
='${wl}-Bexport'
9585 runpath_var
='LD_RUN_PATH'
9587 if test "$GCC" = yes; then
9588 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9591 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9592 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9597 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9598 hardcode_libdir_flag_spec
='-L$libdir'
9599 hardcode_shlibpath_var
=no
9607 if test x
$host_vendor = xsni
; then
9609 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9610 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9617 $as_echo "$ld_shlibs" >&6; }
9618 test "$ld_shlibs" = no
&& can_build_shared
=no
9620 with_gnu_ld
=$with_gnu_ld
9637 # Do we need to explicitly link libc?
9639 case "x$archive_cmds_need_lc" in
9641 # Assume -lc should be added
9642 archive_cmds_need_lc
=yes
9644 if test "$enable_shared" = yes && test "$GCC" = yes; then
9645 case $archive_cmds in
9647 # FIXME: we may have to deal with multi-command sequences.
9650 # Test whether the compiler implicitly links with -lc since on some
9651 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9652 # to ld, don't add -lc before -lgcc.
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9654 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9656 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9658 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9659 (eval $ac_compile) 2>&5
9661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9662 test $ac_status = 0; } 2>conftest.err
; then
9665 libobjs
=conftest.
$ac_objext
9667 wl
=$lt_prog_compiler_wl
9668 pic_flag
=$lt_prog_compiler_pic
9674 lt_save_allow_undefined_flag
=$allow_undefined_flag
9675 allow_undefined_flag
=
9676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9677 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9680 test $ac_status = 0; }
9682 archive_cmds_need_lc
=no
9684 archive_cmds_need_lc
=yes
9686 allow_undefined_flag
=$lt_save_allow_undefined_flag
9688 cat conftest.err
1>&5
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9692 $as_echo "$archive_cmds_need_lc" >&6; }
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9856 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9858 if test "$GCC" = yes; then
9860 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9861 *) lt_awk_arg
="/^libraries:/" ;;
9863 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9864 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9865 # if the path contains ";" then we assume it to be the separator
9866 # otherwise default to the standard path separator (i.e. ":") - it is
9867 # assumed that no part of a normal pathname contains ";" but that should
9868 # okay in the real world where ";" in dirpaths is itself problematic.
9869 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9871 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9873 # Ok, now we have the path, separated by spaces, we can step through it
9874 # and add multilib dir if necessary.
9875 lt_tmp_lt_search_path_spec
=
9876 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9877 for lt_sys_path
in $lt_search_path_spec; do
9878 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9879 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9881 test -d "$lt_sys_path" && \
9882 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9885 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9886 BEGIN {RS=" "; FS="/|\n";} {
9889 for (lt_i = NF; lt_i > 0; lt_i--) {
9890 if ($lt_i != "" && $lt_i != ".") {
9891 if ($lt_i == "..") {
9894 if (lt_count == 0) {
9895 lt_foo="/" $lt_i lt_foo;
9902 if (lt_foo != "") { lt_freq[lt_foo]++; }
9903 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9905 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9907 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9910 libname_spec
='lib$name'
9918 shlibpath_overrides_runpath
=unknown
9920 dynamic_linker
="$host_os ld.so"
9921 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9922 need_lib_prefix
=unknown
9923 hardcode_into_libs
=no
9925 # when you set need_version to no, make sure it does not cause -set_version
9926 # flags to be left without arguments
9927 need_version
=unknown
9932 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9933 shlibpath_var
=LIBPATH
9935 # AIX 3 has no versioning support, so we append a major version to the name.
9936 soname_spec
='${libname}${release}${shared_ext}$major'
9943 hardcode_into_libs
=yes
9944 if test "$host_cpu" = ia64
; then
9945 # AIX 5 supports IA64
9946 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9947 shlibpath_var
=LD_LIBRARY_PATH
9949 # With GCC up to 2.95.x, collect2 would create an import file
9950 # for dependence libraries. The import file would start with
9951 # the line `#! .'. This would cause the generated library to
9952 # depend on `.', always an invalid library. This was fixed in
9953 # development snapshots of GCC prior to 3.0.
9955 aix4 | aix4.
[01] | aix4.
[01].
*)
9956 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9958 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9965 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9966 # soname into executable. Probably we can add versioning support to
9967 # collect2, so additional links can be useful in future.
9968 if test "$aix_use_runtimelinking" = yes; then
9969 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9970 # instead of lib<name>.a to let people know that these are not
9971 # typical AIX shared libraries.
9972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9974 # We preserve .a as extension for shared libraries through AIX4.2
9975 # and later when we are not doing run time linking.
9976 library_names_spec
='${libname}${release}.a $libname.a'
9977 soname_spec
='${libname}${release}${shared_ext}$major'
9979 shlibpath_var
=LIBPATH
9986 # Since July 2007 AmigaOS4 officially supports .so libraries.
9987 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9988 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9991 library_names_spec
='$libname.ixlibrary $libname.a'
9992 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9993 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'
9999 library_names_spec
='${libname}${shared_ext}'
10000 dynamic_linker
="$host_os ld.so"
10001 shlibpath_var
=LIBRARY_PATH
10007 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008 soname_spec
='${libname}${release}${shared_ext}$major'
10009 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10010 shlibpath_var
=LD_LIBRARY_PATH
10011 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10012 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10013 # the default ld.so.conf also contains /usr/contrib/lib and
10014 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10015 # libtool to hard-code these into programs
10018 cygwin
* | mingw
* | pw32
* | cegcc
*)
10019 version_type
=windows
10024 case $GCC,$host_os in
10025 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10026 library_names_spec
='$libname.dll.a'
10027 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10028 postinstall_cmds
='base_file=`basename \${file}`~
10029 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10030 dldir=$destdir/`dirname \$dlpath`~
10031 test -d \$dldir || mkdir -p \$dldir~
10032 $install_prog $dir/$dlname \$dldir/$dlname~
10033 chmod a+x \$dldir/$dlname~
10034 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10035 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10037 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10038 dlpath=$dir/\$dldll~
10040 shlibpath_overrides_runpath
=yes
10044 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10045 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10046 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10049 # MinGW DLLs use traditional 'lib' prefix
10050 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10051 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10052 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10053 # It is most probably a Windows format PATH printed by
10054 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10055 # path with ; separators, and with drive letters. We can handle the
10056 # drive letters (cygwin fileutils understands them), so leave them,
10057 # especially as we might pass files found there to a mingw objdump,
10058 # which wouldn't understand a cygwinified path. Ahh.
10059 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10061 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10065 # pw32 DLLs use 'pw' prefix rather than 'lib'
10066 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10072 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10075 dynamic_linker
='Win32 ld.exe'
10076 # FIXME: first we should search . and the directory the executable is in
10080 darwin
* | rhapsody
*)
10081 dynamic_linker
="$host_os dyld"
10082 version_type
=darwin
10085 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10086 soname_spec
='${libname}${release}${major}$shared_ext'
10087 shlibpath_overrides_runpath
=yes
10088 shlibpath_var
=DYLD_LIBRARY_PATH
10089 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10091 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10092 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10100 soname_spec
='${libname}${release}${shared_ext}$major'
10101 shlibpath_var
=LD_LIBRARY_PATH
10108 freebsd
* | dragonfly
*)
10109 # DragonFly does not have aout. When/if they implement a new
10110 # versioning mechanism, adjust this.
10111 if test -x /usr
/bin
/objformat
; then
10112 objformat
=`/usr/bin/objformat`
10115 freebsd
[123]*) objformat
=aout
;;
10116 *) objformat
=elf
;;
10119 version_type
=freebsd-
$objformat
10120 case $version_type in
10122 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10127 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10131 shlibpath_var
=LD_LIBRARY_PATH
10134 shlibpath_overrides_runpath
=yes
10136 freebsd3.
[01]* | freebsdelf3.
[01]*)
10137 shlibpath_overrides_runpath
=yes
10138 hardcode_into_libs
=yes
10140 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10141 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10142 shlibpath_overrides_runpath
=no
10143 hardcode_into_libs
=yes
10145 *) # from 4.6 on, and DragonFly
10146 shlibpath_overrides_runpath
=yes
10147 hardcode_into_libs
=yes
10156 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10157 soname_spec
='${libname}${release}${shared_ext}$major'
10158 shlibpath_var
=LD_LIBRARY_PATH
10159 hardcode_into_libs
=yes
10162 hpux9
* | hpux10
* | hpux11
*)
10163 # Give a soname corresponding to the major version so that dld.sl refuses to
10164 # link against other versions.
10171 hardcode_into_libs
=yes
10172 dynamic_linker
="$host_os dld.so"
10173 shlibpath_var
=LD_LIBRARY_PATH
10174 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 soname_spec
='${libname}${release}${shared_ext}$major'
10177 if test "X$HPUX_IA64_MODE" = X32
; then
10178 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10180 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10182 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10186 hardcode_into_libs
=yes
10187 dynamic_linker
="$host_os dld.sl"
10188 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10189 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10191 soname_spec
='${libname}${release}${shared_ext}$major'
10192 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10193 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10197 dynamic_linker
="$host_os dld.sl"
10198 shlibpath_var
=SHLIB_PATH
10199 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10200 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10201 soname_spec
='${libname}${release}${shared_ext}$major'
10204 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10205 postinstall_cmds
='chmod 555 $lib'
10212 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10213 soname_spec
='${libname}${release}${shared_ext}$major'
10214 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10215 shlibpath_var
=LD_LIBRARY_PATH
10216 shlibpath_overrides_runpath
=no
10217 hardcode_into_libs
=yes
10220 irix5
* | irix6
* | nonstopux
*)
10222 nonstopux
*) version_type
=nonstopux
;;
10224 if test "$lt_cv_prog_gnu_ld" = yes; then
10232 soname_spec
='${libname}${release}${shared_ext}$major'
10233 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10235 irix5
* | nonstopux
*)
10236 libsuff
= shlibsuff
=
10239 case $LD in # libtool.m4 will add one of these switches to LD
10240 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10241 libsuff
= shlibsuff
= libmagic
=32-bit;;
10242 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10243 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10244 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10245 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10246 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10250 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10251 shlibpath_overrides_runpath
=no
10252 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10253 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10254 hardcode_into_libs
=yes
10257 # No shared lib support for Linux oldld, aout, or coff.
10258 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10262 # This must be Linux ELF.
10263 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10267 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268 soname_spec
='${libname}${release}${shared_ext}$major'
10269 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10270 shlibpath_var
=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath
=no
10272 # Some binutils ld are patched to set DT_RUNPATH
10273 save_LDFLAGS
=$LDFLAGS
10274 save_libdir
=$libdir
10275 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10276 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10278 /* end confdefs.h. */
10288 if ac_fn_c_try_link
"$LINENO"; then :
10289 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10290 shlibpath_overrides_runpath
=yes
10293 rm -f core conftest.err conftest.
$ac_objext \
10294 conftest
$ac_exeext conftest.
$ac_ext
10295 LDFLAGS
=$save_LDFLAGS
10296 libdir
=$save_libdir
10298 # This implies no fast_install, which is unacceptable.
10299 # Some rework will be needed to allow for fast_install
10300 # before this can be enabled.
10301 hardcode_into_libs
=yes
10303 # Append ld.so.conf contents to the search path
10304 if test -f /etc
/ld.so.conf
; then
10305 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' ' '`
10306 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10309 # We used to test for /lib/ld.so.1 and disable shared libraries on
10310 # powerpc, because MkLinux only supported shared libraries with the
10311 # GNU dynamic linker. Since this was broken with cross compilers,
10312 # most powerpc-linux boxes support dynamic linking these days and
10313 # people can always --disable-shared, the test was removed, and we
10314 # assume the GNU/Linux dynamic linker is in use.
10315 dynamic_linker
='GNU/Linux ld.so'
10322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10323 soname_spec
='${libname}${release}${shared_ext}$major'
10324 shlibpath_var
=LD_LIBRARY_PATH
10325 shlibpath_overrides_runpath
=no
10326 hardcode_into_libs
=yes
10327 dynamic_linker
='NetBSD ld.elf_so'
10334 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10335 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10336 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10337 dynamic_linker
='NetBSD (a.out) ld.so'
10339 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10340 soname_spec
='${libname}${release}${shared_ext}$major'
10341 dynamic_linker
='NetBSD ld.elf_so'
10343 shlibpath_var
=LD_LIBRARY_PATH
10344 shlibpath_overrides_runpath
=yes
10345 hardcode_into_libs
=yes
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351 shlibpath_var
=LD_LIBRARY_PATH
10352 shlibpath_overrides_runpath
=yes
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 shlibpath_var
=LD_LIBRARY_PATH
10362 shlibpath_overrides_runpath
=no
10363 hardcode_into_libs
=yes
10364 dynamic_linker
='ldqnx.so'
10369 sys_lib_dlsearch_path_spec
="/usr/lib"
10371 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10373 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10374 *) need_version
=no
;;
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10377 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10378 shlibpath_var
=LD_LIBRARY_PATH
10379 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10381 openbsd2.
[89] | openbsd2.
[89].
*)
10382 shlibpath_overrides_runpath
=no
10385 shlibpath_overrides_runpath
=yes
10389 shlibpath_overrides_runpath
=yes
10394 libname_spec
='$name'
10397 library_names_spec
='$libname${shared_ext} $libname.a'
10398 dynamic_linker
='OS/2 ld.exe'
10399 shlibpath_var
=LIBPATH
10402 osf3
* | osf4
* | osf5
*)
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10408 shlibpath_var
=LD_LIBRARY_PATH
10409 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10410 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10421 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10422 soname_spec
='${libname}${release}${shared_ext}$major'
10423 shlibpath_var
=LD_LIBRARY_PATH
10424 shlibpath_overrides_runpath
=yes
10425 hardcode_into_libs
=yes
10426 # ldd complains unless libraries are executable
10427 postinstall_cmds
='chmod +x $lib'
10432 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10433 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10434 shlibpath_var
=LD_LIBRARY_PATH
10435 shlibpath_overrides_runpath
=yes
10436 if test "$with_gnu_ld" = yes; then
10444 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445 soname_spec
='${libname}${release}${shared_ext}$major'
10446 shlibpath_var
=LD_LIBRARY_PATH
10447 case $host_vendor in
10449 shlibpath_overrides_runpath
=no
10451 runpath_var
=LD_RUN_PATH
10459 shlibpath_overrides_runpath
=no
10460 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10466 if test -d /usr
/nec
;then
10468 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10469 soname_spec
='$libname${shared_ext}.$major'
10470 shlibpath_var
=LD_LIBRARY_PATH
10474 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10475 version_type
=freebsd-elf
10478 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10479 soname_spec
='${libname}${release}${shared_ext}$major'
10480 shlibpath_var
=LD_LIBRARY_PATH
10481 shlibpath_overrides_runpath
=yes
10482 hardcode_into_libs
=yes
10483 if test "$with_gnu_ld" = yes; then
10484 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10486 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10489 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10493 sys_lib_dlsearch_path_spec
='/usr/lib'
10497 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10501 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 shlibpath_var
=LD_LIBRARY_PATH
10503 shlibpath_overrides_runpath
=no
10504 hardcode_into_libs
=yes
10509 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 soname_spec
='${libname}${release}${shared_ext}$major'
10511 shlibpath_var
=LD_LIBRARY_PATH
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10519 $as_echo "$dynamic_linker" >&6; }
10520 test "$dynamic_linker" = no
&& can_build_shared
=no
10522 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10523 if test "$GCC" = yes; then
10524 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10527 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10528 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10530 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10531 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10621 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10623 if test -n "$hardcode_libdir_flag_spec" ||
10624 test -n "$runpath_var" ||
10625 test "X$hardcode_automatic" = "Xyes" ; then
10627 # We can hardcode non-existent directories.
10628 if test "$hardcode_direct" != no
&&
10629 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10630 # have to relink, otherwise we might link with an installed library
10631 # when we should be linking with a yet-to-be-installed one
10632 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10633 test "$hardcode_minus_L" != no
; then
10634 # Linking always hardcodes the temporary library directory.
10635 hardcode_action
=relink
10637 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10638 hardcode_action
=immediate
10641 # We cannot hardcode anything, or else we can only hardcode existing
10643 hardcode_action
=unsupported
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10646 $as_echo "$hardcode_action" >&6; }
10648 if test "$hardcode_action" = relink ||
10649 test "$inherit_rpath" = yes; then
10650 # Fast installation is not supported
10651 enable_fast_install
=no
10652 elif test "$shlibpath_overrides_runpath" = yes ||
10653 test "$enable_shared" = no
; then
10654 # Fast installation is not necessary
10655 enable_fast_install
=needless
10663 if test "x$enable_dlopen" != xyes
; then
10664 enable_dlopen
=unknown
10665 enable_dlopen_self
=unknown
10666 enable_dlopen_self_static
=unknown
10673 lt_cv_dlopen
="load_add_on"
10675 lt_cv_dlopen_self
=yes
10678 mingw
* | pw32
* | cegcc
*)
10679 lt_cv_dlopen
="LoadLibrary"
10684 lt_cv_dlopen
="dlopen"
10689 # if libdl is installed we need to link against it
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10691 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10692 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10693 $as_echo_n "(cached) " >&6
10695 ac_check_lib_save_LIBS
=$LIBS
10697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10700 /* Override any GCC internal prototype to avoid an error.
10701 Use char because int might match the return type of a GCC
10702 builtin and then its argument prototype would still apply. */
10715 if ac_fn_c_try_link
"$LINENO"; then :
10716 ac_cv_lib_dl_dlopen
=yes
10718 ac_cv_lib_dl_dlopen
=no
10720 rm -f core conftest.err conftest.
$ac_objext \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_lib_save_LIBS
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10725 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10726 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10727 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10730 lt_cv_dlopen
="dyld"
10732 lt_cv_dlopen_self
=yes
10739 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10740 if test "x$ac_cv_func_shl_load" = x
""yes; then :
10741 lt_cv_dlopen
="shl_load"
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10744 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10745 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10746 $as_echo_n "(cached) " >&6
10748 ac_check_lib_save_LIBS
=$LIBS
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10763 return shl_load ();
10768 if ac_fn_c_try_link
"$LINENO"; then :
10769 ac_cv_lib_dld_shl_load
=yes
10771 ac_cv_lib_dld_shl_load
=no
10773 rm -f core conftest.err conftest.
$ac_objext \
10774 conftest
$ac_exeext conftest.
$ac_ext
10775 LIBS
=$ac_check_lib_save_LIBS
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10778 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10779 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
10780 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10782 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10783 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10784 lt_cv_dlopen
="dlopen"
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10787 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10789 $as_echo_n "(cached) " >&6
10791 ac_check_lib_save_LIBS
=$LIBS
10793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10796 /* Override any GCC internal prototype to avoid an error.
10797 Use char because int might match the return type of a GCC
10798 builtin and then its argument prototype would still apply. */
10811 if ac_fn_c_try_link
"$LINENO"; then :
10812 ac_cv_lib_dl_dlopen
=yes
10814 ac_cv_lib_dl_dlopen
=no
10816 rm -f core conftest.err conftest.
$ac_objext \
10817 conftest
$ac_exeext conftest.
$ac_ext
10818 LIBS
=$ac_check_lib_save_LIBS
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10821 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10822 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10823 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10826 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10827 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10828 $as_echo_n "(cached) " >&6
10830 ac_check_lib_save_LIBS
=$LIBS
10831 LIBS
="-lsvld $LIBS"
10832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10850 if ac_fn_c_try_link
"$LINENO"; then :
10851 ac_cv_lib_svld_dlopen
=yes
10853 ac_cv_lib_svld_dlopen
=no
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_lib_save_LIBS
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10860 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10861 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
10862 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10865 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10866 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_lib_save_LIBS
=$LIBS
10871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10884 return dld_link ();
10889 if ac_fn_c_try_link
"$LINENO"; then :
10890 ac_cv_lib_dld_dld_link
=yes
10892 ac_cv_lib_dld_dld_link
=no
10894 rm -f core conftest.err conftest.
$ac_objext \
10895 conftest
$ac_exeext conftest.
$ac_ext
10896 LIBS
=$ac_check_lib_save_LIBS
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10899 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10900 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
10901 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10922 if test "x$lt_cv_dlopen" != xno
; then
10928 case $lt_cv_dlopen in
10930 save_CPPFLAGS
="$CPPFLAGS"
10931 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10933 save_LDFLAGS
="$LDFLAGS"
10934 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10937 LIBS
="$lt_cv_dlopen_libs $LIBS"
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10940 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10941 if test "${lt_cv_dlopen_self+set}" = set; then :
10942 $as_echo_n "(cached) " >&6
10944 if test "$cross_compiling" = yes; then :
10945 lt_cv_dlopen_self
=cross
10947 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10948 lt_status
=$lt_dlunknown
10949 cat > conftest.
$ac_ext <<_LT_EOF
10950 #line 10950 "configure"
10951 #include "confdefs.h"
10960 # define LT_DLGLOBAL RTLD_GLOBAL
10963 # define LT_DLGLOBAL DL_GLOBAL
10965 # define LT_DLGLOBAL 0
10969 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10970 find out it does not work in some platform. */
10971 #ifndef LT_DLLAZY_OR_NOW
10973 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10976 # define LT_DLLAZY_OR_NOW DL_LAZY
10979 # define LT_DLLAZY_OR_NOW RTLD_NOW
10982 # define LT_DLLAZY_OR_NOW DL_NOW
10984 # define LT_DLLAZY_OR_NOW 0
10991 void fnord() { int i=42;}
10994 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10995 int status = $lt_dlunknown;
10999 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11000 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11001 /* dlclose (self); */
11009 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11010 (eval $ac_link) 2>&5
11012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11013 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11014 (.
/conftest
; exit; ) >&5 2>/dev
/null
11016 case x
$lt_status in
11017 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11018 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11019 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11022 # compilation failed
11023 lt_cv_dlopen_self
=no
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11031 $as_echo "$lt_cv_dlopen_self" >&6; }
11033 if test "x$lt_cv_dlopen_self" = xyes
; then
11034 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11036 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11037 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11040 if test "$cross_compiling" = yes; then :
11041 lt_cv_dlopen_self_static
=cross
11043 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11044 lt_status
=$lt_dlunknown
11045 cat > conftest.
$ac_ext <<_LT_EOF
11046 #line 11046 "configure"
11047 #include "confdefs.h"
11056 # define LT_DLGLOBAL RTLD_GLOBAL
11059 # define LT_DLGLOBAL DL_GLOBAL
11061 # define LT_DLGLOBAL 0
11065 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11066 find out it does not work in some platform. */
11067 #ifndef LT_DLLAZY_OR_NOW
11069 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11072 # define LT_DLLAZY_OR_NOW DL_LAZY
11075 # define LT_DLLAZY_OR_NOW RTLD_NOW
11078 # define LT_DLLAZY_OR_NOW DL_NOW
11080 # define LT_DLLAZY_OR_NOW 0
11087 void fnord() { int i=42;}
11090 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11091 int status = $lt_dlunknown;
11095 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11096 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11097 /* dlclose (self); */
11105 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11106 (eval $ac_link) 2>&5
11108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11109 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11110 (.
/conftest
; exit; ) >&5 2>/dev
/null
11112 case x
$lt_status in
11113 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11114 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11115 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11118 # compilation failed
11119 lt_cv_dlopen_self_static
=no
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11127 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11130 CPPFLAGS
="$save_CPPFLAGS"
11131 LDFLAGS
="$save_LDFLAGS"
11136 case $lt_cv_dlopen_self in
11137 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11138 *) enable_dlopen_self
=unknown
;;
11141 case $lt_cv_dlopen_self_static in
11142 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11143 *) enable_dlopen_self_static
=unknown
;;
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11166 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11167 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11168 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11169 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11171 $as_echo "yes" >&6; }
11173 # FIXME - insert some real tests, host_os isn't really good enough
11176 if test -n "$STRIP" ; then
11177 striplib
="$STRIP -x"
11178 old_striplib
="$STRIP -S"
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11180 $as_echo "yes" >&6; }
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11183 $as_echo "no" >&6; }
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11188 $as_echo "no" >&6; }
11204 # Report which library types will actually be built
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11206 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11208 $as_echo "$can_build_shared" >&6; }
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11211 $as_echo_n "checking whether to build shared libraries... " >&6; }
11212 test "$can_build_shared" = "no" && enable_shared
=no
11214 # On AIX, shared libraries and static libraries use the same namespace, and
11215 # are all built from PIC.
11218 test "$enable_shared" = yes && enable_static
=no
11219 if test -n "$RANLIB"; then
11220 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11221 postinstall_cmds
='$RANLIB $lib'
11226 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11227 test "$enable_shared" = yes && enable_static
=no
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11232 $as_echo "$enable_shared" >&6; }
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11235 $as_echo_n "checking whether to build static libraries... " >&6; }
11236 # Make sure either enable_shared or enable_static is yes.
11237 test "$enable_shared" = yes || enable_static
=yes
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11239 $as_echo "$enable_static" >&6; }
11246 ac_cpp
='$CPP $CPPFLAGS'
11247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11265 ac_config_commands
="$ac_config_commands libtool"
11270 # Only expand once:
11274 VERSION_SCRIPT_FLAGS
=
11275 # lt_cv_prog_gnu_ld is from libtool 2.+
11276 if test "$lt_cv_prog_gnu_ld" = yes; then
11277 VERSION_SCRIPT_FLAGS
=-Wl,--version-script=
11280 *-*-sunos*) VERSION_SCRIPT_FLAGS
="-Wl,-M -Wl,";;
11284 if test -n "$VERSION_SCRIPT_FLAGS"; then
11285 USE_VERSION_SCRIPT_TRUE
=
11286 USE_VERSION_SCRIPT_FALSE
='#'
11288 USE_VERSION_SCRIPT_TRUE
='#'
11289 USE_VERSION_SCRIPT_FALSE
=
11294 _cppflags
="${CPPFLAGS}"
11295 _ldflags
="${LDFLAGS}"
11298 # Check whether --with-c14n was given.
11299 if test "${with_c14n+set}" = set; then :
11300 withval
=$with_c14n;
11304 # Check whether --with-catalog was given.
11305 if test "${with_catalog+set}" = set; then :
11306 withval
=$with_catalog;
11310 # Check whether --with-debug was given.
11311 if test "${with_debug+set}" = set; then :
11312 withval
=$with_debug;
11316 # Check whether --with-docbook was given.
11317 if test "${with_docbook+set}" = set; then :
11318 withval
=$with_docbook;
11322 # Check whether --with-fexceptions was given.
11323 if test "${with_fexceptions+set}" = set; then :
11324 withval
=$with_fexceptions;
11328 # Check whether --with-ftp was given.
11329 if test "${with_ftp+set}" = set; then :
11334 # Check whether --with-history was given.
11335 if test "${with_history+set}" = set; then :
11336 withval
=$with_history;
11340 # Check whether --with-html was given.
11341 if test "${with_html+set}" = set; then :
11342 withval
=$with_html;
11346 # Check whether --with-html-dir was given.
11347 if test "${with_html_dir+set}" = set; then :
11348 withval
=$with_html_dir; HTML_DIR
=$withval
11350 HTML_DIR
='$(datadir)/doc'
11355 # Check whether --with-html-subdir was given.
11356 if test "${with_html_subdir+set}" = set; then :
11357 withval
=$with_html_subdir; test "x$withval" != "x" && HTML_DIR
="$HTML_DIR/$withval"
11359 HTML_DIR
="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
11364 # Check whether --with-http was given.
11365 if test "${with_http+set}" = set; then :
11366 withval
=$with_http;
11370 # Check whether --with-iconv was given.
11371 if test "${with_iconv+set}" = set; then :
11372 withval
=$with_iconv;
11376 # Check whether --with-iso8859x was given.
11377 if test "${with_iso8859x+set}" = set; then :
11378 withval
=$with_iso8859x;
11382 # Check whether --with-legacy was given.
11383 if test "${with_legacy+set}" = set; then :
11384 withval
=$with_legacy;
11388 # Check whether --with-mem_debug was given.
11389 if test "${with_mem_debug+set}" = set; then :
11390 withval
=$with_mem_debug;
11394 # Check whether --with-minimum was given.
11395 if test "${with_minimum+set}" = set; then :
11396 withval
=$with_minimum;
11400 # Check whether --with-output was given.
11401 if test "${with_output+set}" = set; then :
11402 withval
=$with_output;
11406 # Check whether --with-pattern was given.
11407 if test "${with_pattern+set}" = set; then :
11408 withval
=$with_pattern;
11412 # Check whether --with-push was given.
11413 if test "${with_push+set}" = set; then :
11414 withval
=$with_push;
11418 # Check whether --with-python was given.
11419 if test "${with_python+set}" = set; then :
11420 withval
=$with_python;
11424 # Check whether --with-reader was given.
11425 if test "${with_reader+set}" = set; then :
11426 withval
=$with_reader;
11430 # Check whether --with-readline was given.
11431 if test "${with_readline+set}" = set; then :
11432 withval
=$with_readline;
11433 if test "$withval" != "no" -a "$withval" != "yes"; then
11435 CPPFLAGS
="${CPPFLAGS} -I$withval/include"
11436 LDFLAGS
="${LDFLAGS} -L$withval/lib"
11442 # Check whether --with-regexps was given.
11443 if test "${with_regexps+set}" = set; then :
11444 withval
=$with_regexps;
11448 # Check whether --with-run_debug was given.
11449 if test "${with_run_debug+set}" = set; then :
11450 withval
=$with_run_debug;
11454 # Check whether --with-sax1 was given.
11455 if test "${with_sax1+set}" = set; then :
11456 withval
=$with_sax1;
11460 # Check whether --with-schemas was given.
11461 if test "${with_schemas+set}" = set; then :
11462 withval
=$with_schemas;
11466 # Check whether --with-schematron was given.
11467 if test "${with_schematron+set}" = set; then :
11468 withval
=$with_schematron;
11472 # Check whether --with-threads was given.
11473 if test "${with_threads+set}" = set; then :
11474 withval
=$with_threads;
11478 # Check whether --with-thread-alloc was given.
11479 if test "${with_thread_alloc+set}" = set; then :
11480 withval
=$with_thread_alloc;
11484 # Check whether --with-tree was given.
11485 if test "${with_tree+set}" = set; then :
11486 withval
=$with_tree;
11490 # Check whether --with-valid was given.
11491 if test "${with_valid+set}" = set; then :
11492 withval
=$with_valid;
11496 # Check whether --with-writer was given.
11497 if test "${with_writer+set}" = set; then :
11498 withval
=$with_writer;
11502 # Check whether --with-xinclude was given.
11503 if test "${with_xinclude+set}" = set; then :
11504 withval
=$with_xinclude;
11508 # Check whether --with-xpath was given.
11509 if test "${with_xpath+set}" = set; then :
11510 withval
=$with_xpath;
11514 # Check whether --with-xptr was given.
11515 if test "${with_xptr+set}" = set; then :
11516 withval
=$with_xptr;
11520 # Check whether --with-modules was given.
11521 if test "${with_modules+set}" = set; then :
11522 withval
=$with_modules;
11526 # Check whether --with-zlib was given.
11527 if test "${with_zlib+set}" = set; then :
11528 withval
=$with_zlib;
11529 if test "$withval" != "no" -a "$withval" != "yes"; then
11531 CPPFLAGS
="${CPPFLAGS} -I$withval/include"
11532 LDFLAGS
="${LDFLAGS} -L$withval/lib"
11538 # Check whether --with-coverage was given.
11539 if test "${with_coverage+set}" = set; then :
11540 withval
=$with_coverage;
11544 # Check whether --enable-rebuild-docs was given.
11545 if test "${enable_rebuild_docs+set}" = set; then :
11546 enableval
=$enable_rebuild_docs;
11549 if test "$enable_rebuild_docs" = "no"; then
11551 REBUILD_DOCS_FALSE
='#'
11553 REBUILD_DOCS_TRUE
='#'
11554 REBUILD_DOCS_FALSE
=
11558 if test "$with_schemas" = "yes"
11563 if test "$with_schematron" = "yes"
11568 if test "$with_reader" = "yes"
11572 if test "$with_xptr" = "yes"
11576 if test "$with_minimum" = "yes"
11578 echo "Configuring for a minimal library"
11579 if test "$with_c14n" = ""
11583 if test "$with_catalog" = ""
11587 echo So far so good
!
11588 if test "$with_debug" = ""
11592 if test "$with_docbook" = ""
11596 if test "$with_fexceptions" = ""
11598 with_fexceptions
=no
11600 if test "$with_ftp" = ""
11604 if test "$with_history" = ""
11608 if test "$with_html" = ""
11612 if test "$with_http" = ""
11616 if test "$with_iconv" = ""
11620 if test "$with_iso8859x" = ""
11624 if test "$with_legacy" = ""
11628 if test "$with_mem_debug" = ""
11632 if test "$with_output" = ""
11636 if test "$with_pattern" = ""
11640 if test "$with_push" = ""
11644 if test "$with_python" = ""
11648 if test "$with_reader" = ""
11652 if test "$with_readline" = ""
11656 if test "$with_regexps" = ""
11660 if test "$with_run_debug" = ""
11664 if test "$with_sax1" = ""
11668 if test "$with_schemas" = ""
11672 if test "$with_schematron" = ""
11676 if test "$with_threads" = ""
11680 if test "$with_thread_alloc" = ""
11682 with_thread_alloc
=no
11684 if test "$with_tree" = ""
11688 if test "$with_valid" = ""
11692 if test "$with_writer" = ""
11696 if test "$with_xinclude" = ""
11700 if test "$with_xpath" = ""
11704 if test "$with_xptr" = ""
11708 if test "$with_zlib" = ""
11712 if test "$with_modules" = ""
11722 if test "$with_zlib" = "no"; then
11723 echo "Disabling compression support"
11725 for ac_header
in zlib.h
11727 ac_fn_c_check_header_mongrel
"$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
11728 if test "x$ac_cv_header_zlib_h" = x
""yes; then :
11729 cat >>confdefs.h
<<_ACEOF
11730 #define HAVE_ZLIB_H 1
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
11733 $as_echo_n "checking for gzread in -lz... " >&6; }
11734 if test "${ac_cv_lib_z_gzread+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_check_lib_save_LIBS
=$LIBS
11739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11742 /* Override any GCC internal prototype to avoid an error.
11743 Use char because int might match the return type of a GCC
11744 builtin and then its argument prototype would still apply. */
11757 if ac_fn_c_try_link
"$LINENO"; then :
11758 ac_cv_lib_z_gzread
=yes
11760 ac_cv_lib_z_gzread
=no
11762 rm -f core conftest.err conftest.
$ac_objext \
11763 conftest
$ac_exeext conftest.
$ac_ext
11764 LIBS
=$ac_check_lib_save_LIBS
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
11767 $as_echo "$ac_cv_lib_z_gzread" >&6; }
11768 if test "x$ac_cv_lib_z_gzread" = x
""yes; then :
11771 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
11774 if test "x${Z_DIR}" != "x"; then
11775 Z_CFLAGS
="-I${Z_DIR}/include"
11776 Z_LIBS
="-L${Z_DIR}/lib -lz"
11779 Z_LIBS
="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
11797 CPPFLAGS
=${_cppflags}
11798 LDFLAGS
=${_ldflags}
11800 echo Checking headers
11802 ac_header_dirent
=no
11803 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
11804 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
11806 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
11807 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
11808 $as_echo_n "(cached) " >&6
11810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11812 #include <sys/types.h>
11824 if ac_fn_c_try_compile
"$LINENO"; then :
11825 eval "$as_ac_Header=yes"
11827 eval "$as_ac_Header=no"
11829 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11831 eval ac_res
=\$
$as_ac_Header
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11833 $as_echo "$ac_res" >&6; }
11834 eval as_val
=\$
$as_ac_Header
11835 if test "x$as_val" = x
""yes; then :
11836 cat >>confdefs.h
<<_ACEOF
11837 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11840 ac_header_dirent
=$ac_hdr; break
11844 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11845 if test $ac_header_dirent = dirent.h
; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11847 $as_echo_n "checking for library containing opendir... " >&6; }
11848 if test "${ac_cv_search_opendir+set}" = set; then :
11849 $as_echo_n "(cached) " >&6
11851 ac_func_search_save_LIBS
=$LIBS
11852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11870 for ac_lib
in '' dir
; do
11871 if test -z "$ac_lib"; then
11872 ac_res
="none required"
11875 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11877 if ac_fn_c_try_link
"$LINENO"; then :
11878 ac_cv_search_opendir
=$ac_res
11880 rm -f core conftest.err conftest.
$ac_objext \
11882 if test "${ac_cv_search_opendir+set}" = set; then :
11886 if test "${ac_cv_search_opendir+set}" = set; then :
11889 ac_cv_search_opendir
=no
11891 rm conftest.
$ac_ext
11892 LIBS
=$ac_func_search_save_LIBS
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11895 $as_echo "$ac_cv_search_opendir" >&6; }
11896 ac_res
=$ac_cv_search_opendir
11897 if test "$ac_res" != no
; then :
11898 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
11904 $as_echo_n "checking for library containing opendir... " >&6; }
11905 if test "${ac_cv_search_opendir+set}" = set; then :
11906 $as_echo_n "(cached) " >&6
11908 ac_func_search_save_LIBS
=$LIBS
11909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11927 for ac_lib
in '' x
; do
11928 if test -z "$ac_lib"; then
11929 ac_res
="none required"
11932 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11934 if ac_fn_c_try_link
"$LINENO"; then :
11935 ac_cv_search_opendir
=$ac_res
11937 rm -f core conftest.err conftest.
$ac_objext \
11939 if test "${ac_cv_search_opendir+set}" = set; then :
11943 if test "${ac_cv_search_opendir+set}" = set; then :
11946 ac_cv_search_opendir
=no
11948 rm conftest.
$ac_ext
11949 LIBS
=$ac_func_search_save_LIBS
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
11952 $as_echo "$ac_cv_search_opendir" >&6; }
11953 ac_res
=$ac_cv_search_opendir
11954 if test "$ac_res" != no
; then :
11955 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11962 $as_echo_n "checking for ANSI C header files... " >&6; }
11963 if test "${ac_cv_header_stdc+set}" = set; then :
11964 $as_echo_n "(cached) " >&6
11966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11968 #include <stdlib.h>
11969 #include <stdarg.h>
11970 #include <string.h>
11981 if ac_fn_c_try_compile
"$LINENO"; then :
11982 ac_cv_header_stdc
=yes
11984 ac_cv_header_stdc
=no
11986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11988 if test $ac_cv_header_stdc = yes; then
11989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11992 #include <string.h>
11995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11996 $EGREP "memchr" >/dev
/null
2>&1; then :
11999 ac_cv_header_stdc
=no
12005 if test $ac_cv_header_stdc = yes; then
12006 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #include <stdlib.h>
12012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12013 $EGREP "free" >/dev
/null
2>&1; then :
12016 ac_cv_header_stdc
=no
12022 if test $ac_cv_header_stdc = yes; then
12023 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12024 if test "$cross_compiling" = yes; then :
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 #include <stdlib.h>
12031 #if ((' ' & 0x0FF) == 0x020)
12032 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12033 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12035 # define ISLOWER(c) \
12036 (('a' <= (c) && (c) <= 'i') \
12037 || ('j' <= (c) && (c) <= 'r') \
12038 || ('s' <= (c) && (c) <= 'z'))
12039 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12042 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12047 for (i = 0; i < 256; i++)
12048 if (XOR (islower (i), ISLOWER (i))
12049 || toupper (i) != TOUPPER (i))
12054 if ac_fn_c_try_run
"$LINENO"; then :
12057 ac_cv_header_stdc
=no
12059 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12060 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12066 $as_echo "$ac_cv_header_stdc" >&6; }
12067 if test $ac_cv_header_stdc = yes; then
12069 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12073 for ac_header
in fcntl.h
12075 ac_fn_c_check_header_mongrel
"$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12076 if test "x$ac_cv_header_fcntl_h" = x
""yes; then :
12077 cat >>confdefs.h
<<_ACEOF
12078 #define HAVE_FCNTL_H 1
12085 for ac_header
in unistd.h
12087 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12088 if test "x$ac_cv_header_unistd_h" = x
""yes; then :
12089 cat >>confdefs.h
<<_ACEOF
12090 #define HAVE_UNISTD_H 1
12097 for ac_header
in ctype.h
12099 ac_fn_c_check_header_mongrel
"$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
12100 if test "x$ac_cv_header_ctype_h" = x
""yes; then :
12101 cat >>confdefs.h
<<_ACEOF
12102 #define HAVE_CTYPE_H 1
12109 for ac_header
in dirent.h
12111 ac_fn_c_check_header_mongrel
"$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12112 if test "x$ac_cv_header_dirent_h" = x
""yes; then :
12113 cat >>confdefs.h
<<_ACEOF
12114 #define HAVE_DIRENT_H 1
12121 for ac_header
in errno.h
12123 ac_fn_c_check_header_mongrel
"$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_errno_h" = x
""yes; then :
12125 cat >>confdefs.h
<<_ACEOF
12126 #define HAVE_ERRNO_H 1
12133 for ac_header
in malloc.h
12135 ac_fn_c_check_header_mongrel
"$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
12136 if test "x$ac_cv_header_malloc_h" = x
""yes; then :
12137 cat >>confdefs.h
<<_ACEOF
12138 #define HAVE_MALLOC_H 1
12145 for ac_header
in stdarg.h
12147 ac_fn_c_check_header_mongrel
"$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12148 if test "x$ac_cv_header_stdarg_h" = x
""yes; then :
12149 cat >>confdefs.h
<<_ACEOF
12150 #define HAVE_STDARG_H 1
12157 for ac_header
in sys
/stat.h
12159 ac_fn_c_check_header_mongrel
"$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
12160 if test "x$ac_cv_header_sys_stat_h" = x
""yes; then :
12161 cat >>confdefs.h
<<_ACEOF
12162 #define HAVE_SYS_STAT_H 1
12169 for ac_header
in sys
/types.h
12171 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12172 if test "x$ac_cv_header_sys_types_h" = x
""yes; then :
12173 cat >>confdefs.h
<<_ACEOF
12174 #define HAVE_SYS_TYPES_H 1
12181 for ac_header
in stdint.h
12183 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12184 if test "x$ac_cv_header_stdint_h" = x
""yes; then :
12185 cat >>confdefs.h
<<_ACEOF
12186 #define HAVE_STDINT_H 1
12193 for ac_header
in inttypes.h.h
12195 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h.h" "ac_cv_header_inttypes_h_h" "$ac_includes_default"
12196 if test "x$ac_cv_header_inttypes_h_h" = x
""yes; then :
12197 cat >>confdefs.h
<<_ACEOF
12198 #define HAVE_INTTYPES_H_H 1
12205 for ac_header
in time.h
12207 ac_fn_c_check_header_mongrel
"$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
12208 if test "x$ac_cv_header_time_h" = x
""yes; then :
12209 cat >>confdefs.h
<<_ACEOF
12210 #define HAVE_TIME_H 1
12217 for ac_header
in ansidecl.h
12219 ac_fn_c_check_header_mongrel
"$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
12220 if test "x$ac_cv_header_ansidecl_h" = x
""yes; then :
12221 cat >>confdefs.h
<<_ACEOF
12222 #define HAVE_ANSIDECL_H 1
12229 for ac_header
in ieeefp.h
12231 ac_fn_c_check_header_mongrel
"$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
12232 if test "x$ac_cv_header_ieeefp_h" = x
""yes; then :
12233 cat >>confdefs.h
<<_ACEOF
12234 #define HAVE_IEEEFP_H 1
12241 for ac_header
in nan.h
12243 ac_fn_c_check_header_mongrel
"$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
12244 if test "x$ac_cv_header_nan_h" = x
""yes; then :
12245 cat >>confdefs.h
<<_ACEOF
12246 #define HAVE_NAN_H 1
12253 for ac_header
in math.h
12255 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
12256 if test "x$ac_cv_header_math_h" = x
""yes; then :
12257 cat >>confdefs.h
<<_ACEOF
12258 #define HAVE_MATH_H 1
12265 for ac_header
in limits.h
12267 ac_fn_c_check_header_mongrel
"$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
12268 if test "x$ac_cv_header_limits_h" = x
""yes; then :
12269 cat >>confdefs.h
<<_ACEOF
12270 #define HAVE_LIMITS_H 1
12277 for ac_header
in fp_class.h
12279 ac_fn_c_check_header_mongrel
"$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
12280 if test "x$ac_cv_header_fp_class_h" = x
""yes; then :
12281 cat >>confdefs.h
<<_ACEOF
12282 #define HAVE_FP_CLASS_H 1
12289 for ac_header
in float.h
12291 ac_fn_c_check_header_mongrel
"$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
12292 if test "x$ac_cv_header_float_h" = x
""yes; then :
12293 cat >>confdefs.h
<<_ACEOF
12294 #define HAVE_FLOAT_H 1
12301 for ac_header
in stdlib.h
12303 ac_fn_c_check_header_mongrel
"$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12304 if test "x$ac_cv_header_stdlib_h" = x
""yes; then :
12305 cat >>confdefs.h
<<_ACEOF
12306 #define HAVE_STDLIB_H 1
12313 for ac_header
in sys
/socket.h
12315 ac_fn_c_check_header_compile
"$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
12316 # include <sys/types.h>
12320 if test "x$ac_cv_header_sys_socket_h" = x
""yes; then :
12321 cat >>confdefs.h
<<_ACEOF
12322 #define HAVE_SYS_SOCKET_H 1
12329 for ac_header
in netinet
/in.h
12331 ac_fn_c_check_header_compile
"$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
12332 # include <sys/types.h>
12336 if test "x$ac_cv_header_netinet_in_h" = x
""yes; then :
12337 cat >>confdefs.h
<<_ACEOF
12338 #define HAVE_NETINET_IN_H 1
12345 for ac_header
in arpa
/inet.h
12347 ac_fn_c_check_header_compile
"$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
12348 # include <sys/types.h>
12350 #if HAVE_ARPA_INET_H
12351 # include <arpa/inet.h>
12355 if test "x$ac_cv_header_arpa_inet_h" = x
""yes; then :
12356 cat >>confdefs.h
<<_ACEOF
12357 #define HAVE_ARPA_INET_H 1
12364 for ac_header
in netdb.h
12366 ac_fn_c_check_header_mongrel
"$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
12367 if test "x$ac_cv_header_netdb_h" = x
""yes; then :
12368 cat >>confdefs.h
<<_ACEOF
12369 #define HAVE_NETDB_H 1
12376 for ac_header
in sys
/time.h
12378 ac_fn_c_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12379 if test "x$ac_cv_header_sys_time_h" = x
""yes; then :
12380 cat >>confdefs.h
<<_ACEOF
12381 #define HAVE_SYS_TIME_H 1
12388 for ac_header
in sys
/select.h
12390 ac_fn_c_check_header_mongrel
"$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
12391 if test "x$ac_cv_header_sys_select_h" = x
""yes; then :
12392 cat >>confdefs.h
<<_ACEOF
12393 #define HAVE_SYS_SELECT_H 1
12400 for ac_header
in poll.h
12402 ac_fn_c_check_header_mongrel
"$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
12403 if test "x$ac_cv_header_poll_h" = x
""yes; then :
12404 cat >>confdefs.h
<<_ACEOF
12405 #define HAVE_POLL_H 1
12412 for ac_header
in sys
/mman.h
12414 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
12415 if test "x$ac_cv_header_sys_mman_h" = x
""yes; then :
12416 cat >>confdefs.h
<<_ACEOF
12417 #define HAVE_SYS_MMAN_H 1
12424 for ac_header
in sys
/timeb.h
12426 ac_fn_c_check_header_mongrel
"$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
12427 if test "x$ac_cv_header_sys_timeb_h" = x
""yes; then :
12428 cat >>confdefs.h
<<_ACEOF
12429 #define HAVE_SYS_TIMEB_H 1
12436 for ac_header
in signal.h
12438 ac_fn_c_check_header_mongrel
"$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
12439 if test "x$ac_cv_header_signal_h" = x
""yes; then :
12440 cat >>confdefs.h
<<_ACEOF
12441 #define HAVE_SIGNAL_H 1
12448 for ac_header
in arpa
/nameser.h
12450 ac_fn_c_check_header_compile
"$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
12451 # include <sys/types.h>
12455 if test "x$ac_cv_header_arpa_nameser_h" = x
""yes; then :
12456 cat >>confdefs.h
<<_ACEOF
12457 #define HAVE_ARPA_NAMESER_H 1
12464 for ac_header
in resolv.h
12466 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
12467 # include <sys/types.h>
12469 #if HAVE_NETINET_IN_H
12470 # include <netinet/in.h>
12472 #if HAVE_ARPA_NAMESER_H
12473 # include <arpa/nameser.h>
12477 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
12478 cat >>confdefs.h
<<_ACEOF
12479 #define HAVE_RESOLV_H 1
12486 for ac_header
in dl.h
12488 ac_fn_c_check_header_mongrel
"$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
12489 if test "x$ac_cv_header_dl_h" = x
""yes; then :
12490 cat >>confdefs.h
<<_ACEOF
12491 #define HAVE_DL_H 1
12498 for ac_header
in dlfcn.h
12500 ac_fn_c_check_header_mongrel
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
12501 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
12502 cat >>confdefs.h
<<_ACEOF
12503 #define HAVE_DLFCN_H 1
12512 echo Checking libraries
12514 for ac_func
in strftime
12516 ac_fn_c_check_func
"$LINENO" "strftime" "ac_cv_func_strftime"
12517 if test "x$ac_cv_func_strftime" = x
""yes; then :
12518 cat >>confdefs.h
<<_ACEOF
12519 #define HAVE_STRFTIME 1
12523 # strftime is in -lintl on SCO UNIX.
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
12525 $as_echo_n "checking for strftime in -lintl... " >&6; }
12526 if test "${ac_cv_lib_intl_strftime+set}" = set; then :
12527 $as_echo_n "(cached) " >&6
12529 ac_check_lib_save_LIBS
=$LIBS
12530 LIBS
="-lintl $LIBS"
12531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12544 return strftime ();
12549 if ac_fn_c_try_link
"$LINENO"; then :
12550 ac_cv_lib_intl_strftime
=yes
12552 ac_cv_lib_intl_strftime
=no
12554 rm -f core conftest.err conftest.
$ac_objext \
12555 conftest
$ac_exeext conftest.
$ac_ext
12556 LIBS
=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
12559 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
12560 if test "x$ac_cv_lib_intl_strftime" = x
""yes; then :
12561 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
12563 LIBS
="-lintl $LIBS"
12569 for ac_func
in strdup strndup strerror
12571 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12572 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12573 eval as_val
=\$
$as_ac_var
12574 if test "x$as_val" = x
""yes; then :
12575 cat >>confdefs.h
<<_ACEOF
12576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12582 for ac_func
in finite isnand fp_class class fpclass
12584 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12585 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12586 eval as_val
=\$
$as_ac_var
12587 if test "x$as_val" = x
""yes; then :
12588 cat >>confdefs.h
<<_ACEOF
12589 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12595 for ac_func
in strftime localtime gettimeofday ftime
12597 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12598 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12599 eval as_val
=\$
$as_ac_var
12600 if test "x$as_val" = x
""yes; then :
12601 cat >>confdefs.h
<<_ACEOF
12602 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12608 for ac_func
in stat _stat signal
12610 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12611 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12612 eval as_val
=\$
$as_ac_var
12613 if test "x$as_val" = x
""yes; then :
12614 cat >>confdefs.h
<<_ACEOF
12615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12622 for ac_func
in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
12624 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12625 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12626 eval as_val
=\$
$as_ac_var
12627 if test "x$as_val" = x
""yes; then :
12628 cat >>confdefs.h
<<_ACEOF
12629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
12639 $as_echo_n "checking for va_copy... " >&6; }
12640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 #include <stdarg.h>
12652 if ac_fn_c_try_link
"$LINENO"; then :
12657 rm -f core conftest.err conftest.
$ac_objext \
12658 conftest
$ac_exeext conftest.
$ac_ext
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
12660 $as_echo "$have_va_copy" >&6; }
12661 if test x
"$have_va_copy" = x
"yes"; then
12663 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
12667 $as_echo_n "checking for __va_copy... " >&6; }
12668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12669 /* end confdefs.h. */
12670 #include <stdarg.h>
12675 __va_copy(ap1,ap2);
12680 if ac_fn_c_try_link
"$LINENO"; then :
12685 rm -f core conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
12688 $as_echo "$have___va_copy" >&6; }
12689 if test x
"$have___va_copy" = x
"yes"; then
12691 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
12697 $as_echo_n "checking for library containing gethostent... " >&6; }
12698 if test "${ac_cv_search_gethostent+set}" = set; then :
12699 $as_echo_n "(cached) " >&6
12701 ac_func_search_save_LIBS
=$LIBS
12702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12703 /* end confdefs.h. */
12705 /* Override any GCC internal prototype to avoid an error.
12706 Use char because int might match the return type of a GCC
12707 builtin and then its argument prototype would still apply. */
12711 char gethostent ();
12715 return gethostent ();
12720 for ac_lib
in '' nsl
; do
12721 if test -z "$ac_lib"; then
12722 ac_res
="none required"
12725 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12727 if ac_fn_c_try_link
"$LINENO"; then :
12728 ac_cv_search_gethostent
=$ac_res
12730 rm -f core conftest.err conftest.
$ac_objext \
12732 if test "${ac_cv_search_gethostent+set}" = set; then :
12736 if test "${ac_cv_search_gethostent+set}" = set; then :
12739 ac_cv_search_gethostent
=no
12741 rm conftest.
$ac_ext
12742 LIBS
=$ac_func_search_save_LIBS
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
12745 $as_echo "$ac_cv_search_gethostent" >&6; }
12746 ac_res
=$ac_cv_search_gethostent
12747 if test "$ac_res" != no
; then :
12748 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
12753 $as_echo_n "checking for library containing setsockopt... " >&6; }
12754 if test "${ac_cv_search_setsockopt+set}" = set; then :
12755 $as_echo_n "(cached) " >&6
12757 ac_func_search_save_LIBS
=$LIBS
12758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12759 /* end confdefs.h. */
12761 /* Override any GCC internal prototype to avoid an error.
12762 Use char because int might match the return type of a GCC
12763 builtin and then its argument prototype would still apply. */
12767 char setsockopt ();
12771 return setsockopt ();
12776 for ac_lib
in '' socket net network
; do
12777 if test -z "$ac_lib"; then
12778 ac_res
="none required"
12781 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12783 if ac_fn_c_try_link
"$LINENO"; then :
12784 ac_cv_search_setsockopt
=$ac_res
12786 rm -f core conftest.err conftest.
$ac_objext \
12788 if test "${ac_cv_search_setsockopt+set}" = set; then :
12792 if test "${ac_cv_search_setsockopt+set}" = set; then :
12795 ac_cv_search_setsockopt
=no
12797 rm conftest.
$ac_ext
12798 LIBS
=$ac_func_search_save_LIBS
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
12801 $as_echo "$ac_cv_search_setsockopt" >&6; }
12802 ac_res
=$ac_cv_search_setsockopt
12803 if test "$ac_res" != no
; then :
12804 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12809 $as_echo_n "checking for library containing connect... " >&6; }
12810 if test "${ac_cv_search_connect+set}" = set; then :
12811 $as_echo_n "(cached) " >&6
12813 ac_func_search_save_LIBS
=$LIBS
12814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12832 for ac_lib
in '' inet
; do
12833 if test -z "$ac_lib"; then
12834 ac_res
="none required"
12837 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12839 if ac_fn_c_try_link
"$LINENO"; then :
12840 ac_cv_search_connect
=$ac_res
12842 rm -f core conftest.err conftest.
$ac_objext \
12844 if test "${ac_cv_search_connect+set}" = set; then :
12848 if test "${ac_cv_search_connect+set}" = set; then :
12851 ac_cv_search_connect
=no
12853 rm conftest.
$ac_ext
12854 LIBS
=$ac_func_search_save_LIBS
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12857 $as_echo "$ac_cv_search_connect" >&6; }
12858 ac_res
=$ac_cv_search_connect
12859 if test "$ac_res" != no
; then :
12860 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
12866 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
12867 cat > conftest.
$ac_ext <<EOF
12868 #line 12868 "configure"
12869 #include "confdefs.h"
12871 #include <stddef.h>
12872 #include <sys/types.h>
12873 #include <sys/socket.h>
12876 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
12879 if { (eval echo configure
:12879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
12883 $as_echo "socklen_t *" >&6; }
12884 XML_SOCKLEN_T
=socklen_t
12886 echo "configure: failed program was:" >&5
12887 cat conftest.
$ac_ext >&5
12890 cat > conftest.
$ac_ext <<EOF
12891 #line 12891 "configure"
12892 #include "confdefs.h"
12894 #include <stddef.h>
12895 #include <sys/types.h>
12896 #include <sys/socket.h>
12899 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
12902 if { (eval echo configure
:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
12906 $as_echo "size_t *" >&6; }
12907 XML_SOCKLEN_T
=size_t
12909 echo "configure: failed program was:" >&5
12910 cat conftest.
$ac_ext >&5
12913 cat > conftest.
$ac_ext <<EOF
12914 #line 12914 "configure"
12915 #include "confdefs.h"
12917 #include <stddef.h>
12918 #include <sys/types.h>
12919 #include <sys/socket.h>
12922 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
12925 if { (eval echo configure
:12925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out
=`eval $ac_compile 2>&1` && test "x$_out" = x
; }; then
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
12929 $as_echo "int *" >&6; }
12932 echo "configure: failed program was:" >&5
12933 cat conftest.
$ac_ext >&5
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
12937 $as_echo "$as_me: WARNING: could not determine" >&2;}
12938 XML_SOCKLEN_T
="int"
12946 cat >>confdefs.h
<<_ACEOF
12947 #define XML_SOCKLEN_T $XML_SOCKLEN_T
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
12953 $as_echo_n "checking whether to enable IPv6... " >&6; }
12954 # Check whether --enable-ipv6 was given.
12955 if test "${enable_ipv6+set}" = set; then :
12956 enableval
=$enable_ipv6;
12961 if test "$with_minimum" = "yes"
12965 if test $enable_ipv6 = yes; then
12967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 #include <sys/types.h>
12971 #include <sys/socket.h>
12977 struct sockaddr_storage ss;
12978 socket(AF_INET6, SOCK_STREAM, 0)
12984 if ac_fn_c_try_compile
"$LINENO"; then :
12990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
12992 $as_echo "$have_ipv6" >&6; }
12994 if test $have_ipv6 = yes; then
12996 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
12998 have_broken_ss_family
=no
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
13001 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
13002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13005 #include <sys/types.h>
13006 #include <sys/socket.h>
13012 struct sockaddr_storage ss ;
13019 if ac_fn_c_try_compile
"$LINENO"; then :
13025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
13027 $as_echo "$have_ss_family" >&6; }
13028 if test x
$have_ss_family = xno
; then
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
13030 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
13031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13032 /* end confdefs.h. */
13034 #include <sys/types.h>
13035 #include <sys/socket.h>
13041 struct sockaddr_storage ss ;
13042 ss.__ss_family = 0 ;
13048 if ac_fn_c_try_compile
"$LINENO"; then :
13049 have_broken_ss_family
=yes
13051 have_broken_ss_family
=no
13054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
13056 $as_echo "$have_broken_ss_family" >&6; }
13057 if test x
$have_broken_ss_family = xyes
; then
13059 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
13062 $as_echo "#define ss_family __ss_family" >>confdefs.h
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
13066 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
13070 have_getaddrinfo
=no
13071 ac_fn_c_check_func
"$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13072 if test "x$ac_cv_func_getaddrinfo" = x
""yes; then :
13073 have_getaddrinfo
=yes
13076 if test $have_getaddrinfo != yes; then
13077 for lib
in bsd socket inet
; do
13078 as_ac_Lib
=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
13080 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
13081 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13082 $as_echo_n "(cached) " >&6
13084 ac_check_lib_save_LIBS
=$LIBS
13085 LIBS
="-l$lib $LIBS"
13086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13089 /* Override any GCC internal prototype to avoid an error.
13090 Use char because int might match the return type of a GCC
13091 builtin and then its argument prototype would still apply. */
13095 char getaddrinfo ();
13099 return getaddrinfo ();
13104 if ac_fn_c_try_link
"$LINENO"; then :
13105 eval "$as_ac_Lib=yes"
13107 eval "$as_ac_Lib=no"
13109 rm -f core conftest.err conftest.
$ac_objext \
13110 conftest
$ac_exeext conftest.
$ac_ext
13111 LIBS
=$ac_check_lib_save_LIBS
13113 eval ac_res
=\$
$as_ac_Lib
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13115 $as_echo "$ac_res" >&6; }
13116 eval as_val
=\$
$as_ac_Lib
13117 if test "x$as_val" = x
""yes; then :
13118 LIBS
="$LIBS -l$lib";have_getaddrinfo
=yes;break
13124 if test $have_getaddrinfo = yes; then
13126 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
13133 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
13134 if test "x$ac_cv_func_isnan" = x
""yes; then :
13136 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13140 $as_echo_n "checking for isnan in -lm... " >&6; }
13141 if test "${ac_cv_lib_m_isnan+set}" = set; then :
13142 $as_echo_n "(cached) " >&6
13144 ac_check_lib_save_LIBS
=$LIBS
13146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13147 /* end confdefs.h. */
13149 /* Override any GCC internal prototype to avoid an error.
13150 Use char because int might match the return type of a GCC
13151 builtin and then its argument prototype would still apply. */
13164 if ac_fn_c_try_link
"$LINENO"; then :
13165 ac_cv_lib_m_isnan
=yes
13167 ac_cv_lib_m_isnan
=no
13169 rm -f core conftest.err conftest.
$ac_objext \
13170 conftest
$ac_exeext conftest.
$ac_ext
13171 LIBS
=$ac_check_lib_save_LIBS
13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
13174 $as_echo "$ac_cv_lib_m_isnan" >&6; }
13175 if test "x$ac_cv_lib_m_isnan" = x
""yes; then :
13177 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13184 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
13185 if test "x$ac_cv_func_isinf" = x
""yes; then :
13187 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
13191 $as_echo_n "checking for isinf in -lm... " >&6; }
13192 if test "${ac_cv_lib_m_isinf+set}" = set; then :
13193 $as_echo_n "(cached) " >&6
13195 ac_check_lib_save_LIBS
=$LIBS
13197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13200 /* Override any GCC internal prototype to avoid an error.
13201 Use char because int might match the return type of a GCC
13202 builtin and then its argument prototype would still apply. */
13215 if ac_fn_c_try_link
"$LINENO"; then :
13216 ac_cv_lib_m_isinf
=yes
13218 ac_cv_lib_m_isinf
=no
13220 rm -f core conftest.err conftest.
$ac_objext \
13221 conftest
$ac_exeext conftest.
$ac_ext
13222 LIBS
=$ac_check_lib_save_LIBS
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
13225 $as_echo "$ac_cv_lib_m_isinf" >&6; }
13226 if test "x$ac_cv_lib_m_isinf" = x
""yes; then :
13228 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13235 XML_LIBDIR
='-L${libdir}'
13236 XML_INCLUDEDIR
='-I${includedir}/libxml2'
13241 if test "${GCC}" != "yes" ; then
13244 CFLAGS
="${CFLAGS} -Wp,-H30000"
13247 CFLAGS
="${CFLAGS} -ieee"
13250 CFLAGS
="${CFLAGS} -ieee"
13254 if test "$with_fexceptions" = "yes"
13257 # Not activated by default because this inflates the code size
13258 # Used to allow propagation of C++ exceptions through the library
13260 CFLAGS
="${CFLAGS} -fexceptions"
13263 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"
13266 CFLAGS
="${CFLAGS} -mieee"
13269 CFLAGS
="${CFLAGS} -mieee"
13275 XML_LIBDIR
="${XML_LIBDIR} -R${libdir}"
13280 *-*-mingw* |
*-*-cygwin* |
*-*-msvc* )
13281 # If the host is Windows, and shared libraries are disabled, we
13282 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
13283 # work properly (without it, xmlexports.h would force the use of
13284 # DLL imports, which obviously aren't present in a static
13286 if test "x$enable_shared" = "xno"; then
13287 XML_CFLAGS
="$XML_CFLAGS -DLIBXML_STATIC"
13288 CFLAGS
="$CFLAGS -DLIBXML_STATIC"
13297 PYTHON_SITE_PACKAGES
=
13300 if test "$with_python" != "no" ; then
13301 if test -x "$with_python/bin/python"
13303 echo Found python
in $with_python/bin
/python
13304 PYTHON
="$with_python/bin/python"
13306 if test -x "$with_python"
13308 echo Found python
in $with_python
13309 PYTHON
="$with_python"
13311 if test -x "$PYTHON"
13313 echo Found python
in environment PYTHON
=$PYTHON
13314 with_python
=`$PYTHON -c "import sys; print sys.exec_prefix"`
13316 # 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.
13317 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
; ac_word
=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13319 $as_echo_n "checking for $ac_word... " >&6; }
13320 if test "${ac_cv_path_PYTHON+set}" = set; then :
13321 $as_echo_n "(cached) " >&6
13325 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
13328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13329 for as_dir
in $PATH
13332 test -z "$as_dir" && as_dir
=.
13333 for ac_exec_ext
in '' $ac_executable_extensions; do
13334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13335 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
13336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13346 PYTHON
=$ac_cv_path_PYTHON
13347 if test -n "$PYTHON"; then
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
13349 $as_echo "$PYTHON" >&6; }
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13352 $as_echo "no" >&6; }
13359 if test "$PYTHON" != ""
13361 PYTHON_VERSION
=`$PYTHON -c "import sys; print sys.version[0:3]"`
13362 echo Found Python version
$PYTHON_VERSION
13364 if test "$PYTHON_VERSION" != ""
13366 if test -r $with_python/include
/python
$PYTHON_VERSION/Python.h
-a \
13367 -d $with_python/lib
/python
$PYTHON_VERSION/site-packages
13369 PYTHON_INCLUDES
=$with_python/include
/python
$PYTHON_VERSION
13370 PYTHON_SITE_PACKAGES
=$libdir/python
$PYTHON_VERSION/site-packages
13372 if test -r $prefix/include
/python
$PYTHON_VERSION/Python.h
13374 PYTHON_INCLUDES
=$prefix/include
/python
$PYTHON_VERSION
13375 PYTHON_SITE_PACKAGES
=$libdir/python
$PYTHON_VERSION/site-packages
13377 if test -r /usr
/include
/python
$PYTHON_VERSION/Python.h
13379 PYTHON_INCLUDES
=/usr
/include
/python
$PYTHON_VERSION
13380 PYTHON_SITE_PACKAGES
=$libdir/python
$PYTHON_VERSION/site-packages
13382 echo could not
find python
$PYTHON_VERSION/Python.h
13385 if test ! -d "$PYTHON_SITE_PACKAGES"
13387 PYTHON_SITE_PACKAGES
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
13390 PYTHON_LIBS
=`python$PYTHON_VERSION-config --ldflags`
13392 if test "$with_python" != ""
13394 pythondir
='$(PYTHON_SITE_PACKAGES)'
13396 pythondir
='$(libdir)/python$(PYTHON_VERSION)/site-packages'
13401 if test "$PYTHON_INCLUDES" != ""; then
13403 WITH_PYTHON_FALSE
='#'
13405 WITH_PYTHON_TRUE
='#'
13409 if test "$PYTHON_INCLUDES" != ""
13411 PYTHON_SUBDIR
=python
13422 if test "$with_modules" != "no" ; then
13425 MODULE_EXTENSION
=".dll"
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
13427 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
13428 if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then :
13429 $as_echo_n "(cached) " >&6
13431 ac_check_lib_save_LIBS
=$LIBS
13432 LIBS
="-lcygwin $LIBS"
13433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13434 /* end confdefs.h. */
13436 /* Override any GCC internal prototype to avoid an error.
13437 Use char because int might match the return type of a GCC
13438 builtin and then its argument prototype would still apply. */
13451 if ac_fn_c_try_link
"$LINENO"; then :
13452 ac_cv_lib_cygwin_dlopen
=yes
13454 ac_cv_lib_cygwin_dlopen
=no
13456 rm -f core conftest.err conftest.
$ac_objext \
13457 conftest
$ac_exeext conftest.
$ac_ext
13458 LIBS
=$ac_check_lib_save_LIBS
13460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
13461 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
13462 if test "x$ac_cv_lib_cygwin_dlopen" = x
""yes; then :
13465 MODULE_PLATFORM_LIBS
=
13467 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
13474 MODULE_EXTENSION
=".dll"
13478 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
13479 if test "x$ac_cv_func_shl_load" = x
""yes; then :
13480 libxml_have_shl_load
=yes
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13484 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13485 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13486 $as_echo_n "(cached) " >&6
13488 ac_check_lib_save_LIBS
=$LIBS
13490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13491 /* end confdefs.h. */
13493 /* Override any GCC internal prototype to avoid an error.
13494 Use char because int might match the return type of a GCC
13495 builtin and then its argument prototype would still apply. */
13503 return shl_load ();
13508 if ac_fn_c_try_link
"$LINENO"; then :
13509 ac_cv_lib_dld_shl_load
=yes
13511 ac_cv_lib_dld_shl_load
=no
13513 rm -f core conftest.err conftest.
$ac_objext \
13514 conftest
$ac_exeext conftest.
$ac_ext
13515 LIBS
=$ac_check_lib_save_LIBS
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13518 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13519 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
13521 MODULE_PLATFORM_LIBS
="-ldld"
13522 libxml_have_shl_load
=yes
13525 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
13526 if test "x$ac_cv_func_dlopen" = x
""yes; then :
13527 libxml_have_dlopen
=yes
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13531 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13532 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13533 $as_echo_n "(cached) " >&6
13535 ac_check_lib_save_LIBS
=$LIBS
13537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13540 /* Override any GCC internal prototype to avoid an error.
13541 Use char because int might match the return type of a GCC
13542 builtin and then its argument prototype would still apply. */
13555 if ac_fn_c_try_link
"$LINENO"; then :
13556 ac_cv_lib_dl_dlopen
=yes
13558 ac_cv_lib_dl_dlopen
=no
13560 rm -f core conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13562 LIBS
=$ac_check_lib_save_LIBS
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13566 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
13568 MODULE_PLATFORM_LIBS
="-ldl"
13569 libxml_have_dlopen
=yes
13579 if test "${libxml_have_shl_load}" = "yes"; then
13580 MODULE_EXTENSION
=".sl"
13583 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
13587 if test "${libxml_have_dlopen}" = "yes"; then
13590 MODULE_EXTENSION
=".sl"
13593 MODULE_EXTENSION
=".so"
13599 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
13606 if test "${WITH_MODULES}" = "1"; then
13607 TEST_MODULES
="ModuleTests"
13616 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
13617 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
13618 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
13620 if test "$with_minimum" != "yes"
13622 if test "${with_mem_debug}" = "" ; then
13623 echo Activating memory debugging
13624 with_mem_debug
="yes"
13625 with_run_debug
="yes"
13627 if test "${with_docbook}" = "" ; then
13631 if test "${GCC}" = "yes" ; then
13632 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"
13634 STATIC_BINARIES
="-static"
13641 if test "${NEED_TRIO}" = "1" ; then
13642 echo Adding trio library
for string functions
13647 if test "${NEED_TRIO}" = "1"; then
13648 WITH_TRIO_SOURCES_TRUE
=
13649 WITH_TRIO_SOURCES_FALSE
='#'
13651 WITH_TRIO_SOURCES_TRUE
='#'
13652 WITH_TRIO_SOURCES_FALSE
=
13657 echo Checking configuration requirements
13660 BASE_THREAD_LIBS
=""
13666 if test "$with_threads" = "no" ; then
13667 echo Disabling multithreaded support
13669 echo Enabling multithreaded support
13670 if test "$with_threads" = "pthread" ||
test "$with_threads" = "" ||
test "$with_threads" = "yes" ; then
13671 ac_fn_c_check_header_mongrel
"$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
13672 if test "x$ac_cv_header_pthread_h" = x
""yes; then :
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
13674 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
13675 if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then :
13676 $as_echo_n "(cached) " >&6
13678 ac_check_lib_save_LIBS
=$LIBS
13679 LIBS
="-lpthread $LIBS"
13680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13681 /* end confdefs.h. */
13683 /* Override any GCC internal prototype to avoid an error.
13684 Use char because int might match the return type of a GCC
13685 builtin and then its argument prototype would still apply. */
13689 char pthread_join ();
13693 return pthread_join ();
13698 if ac_fn_c_try_link
"$LINENO"; then :
13699 ac_cv_lib_pthread_pthread_join
=yes
13701 ac_cv_lib_pthread_pthread_join
=no
13703 rm -f core conftest.err conftest.
$ac_objext \
13704 conftest
$ac_exeext conftest.
$ac_ext
13705 LIBS
=$ac_check_lib_save_LIBS
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
13708 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
13709 if test "x$ac_cv_lib_pthread_pthread_join" = x
""yes; then :
13711 THREAD_LIBS
="-lpthread"
13713 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
13716 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
13726 *mingw32
*) if test "$THREAD_LIBS" != "-lpthread"; then
13728 THREADS_W32
="Win32"
13729 THREAD_CFLAGS
="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
13732 *cygwin
*) THREAD_LIBS
=""
13734 *beos
*) WITH_THREADS
="1"
13735 THREAD_CFLAGS
="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
13738 if test "${GCC}" = "yes" ; then
13739 GCC_VERSION
=`${CC} --version | head -1 | awk '{print $3}'`
13740 GCC_MAJOR
=`echo ${GCC_VERSION} | sed 's+\..*++'`
13741 GCC_MEDIUM
=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
13742 if test "${THREAD_LIBS}" = "-lpthread" ; then
13743 if expr ${GCC_MEDIUM} \
> 2 \
& ${GCC_MAJOR} = 3 > /dev
/null
13746 BASE_THREAD_LIBS
="-lpthread"
13748 if expr ${GCC_MAJOR} \
> 3 > /dev
/null
13751 BASE_THREAD_LIBS
="-lpthread"
13753 echo old GCC disabling weak symbols
for pthread
13760 if test "$WITH_THREADS" = "1" ; then
13761 THREAD_CFLAGS
="$THREAD_CFLAGS -D_REENTRANT"
13762 TEST_THREADS
="Threadtests"
13765 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
13766 THREAD_CFLAGS
="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
13776 if test "$with_history" = "yes" ; then
13777 echo Enabling xmllint shell
history
13779 for termlib
in ncurses curses termcap terminfo termlib
; do
13780 as_ac_Lib
=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
13782 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
13783 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then :
13784 $as_echo_n "(cached) " >&6
13786 ac_check_lib_save_LIBS
=$LIBS
13787 LIBS
="-l${termlib} $LIBS"
13788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13789 /* end confdefs.h. */
13791 /* Override any GCC internal prototype to avoid an error.
13792 Use char because int might match the return type of a GCC
13793 builtin and then its argument prototype would still apply. */
13806 if ac_fn_c_try_link
"$LINENO"; then :
13807 eval "$as_ac_Lib=yes"
13809 eval "$as_ac_Lib=no"
13811 rm -f core conftest.err conftest.
$ac_objext \
13812 conftest
$ac_exeext conftest.
$ac_ext
13813 LIBS
=$ac_check_lib_save_LIBS
13815 eval ac_res
=\$
$as_ac_Lib
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13817 $as_echo "$ac_res" >&6; }
13818 eval as_val
=\$
$as_ac_Lib
13819 if test "x$as_val" = x
""yes; then :
13823 test -n "$tcap" && break
13826 ac_fn_c_check_header_mongrel
"$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
13827 if test "x$ac_cv_header_readline_history_h" = x
""yes; then :
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
13829 $as_echo_n "checking for append_history in -lhistory... " >&6; }
13830 if test "${ac_cv_lib_history_append_history+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13833 ac_check_lib_save_LIBS
=$LIBS
13834 LIBS
="-lhistory $LIBS"
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13838 /* Override any GCC internal prototype to avoid an error.
13839 Use char because int might match the return type of a GCC
13840 builtin and then its argument prototype would still apply. */
13844 char append_history ();
13848 return append_history ();
13853 if ac_fn_c_try_link
"$LINENO"; then :
13854 ac_cv_lib_history_append_history
=yes
13856 ac_cv_lib_history_append_history
=no
13858 rm -f core conftest.err conftest.
$ac_objext \
13859 conftest
$ac_exeext conftest.
$ac_ext
13860 LIBS
=$ac_check_lib_save_LIBS
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
13863 $as_echo "$ac_cv_lib_history_append_history" >&6; }
13864 if test "x$ac_cv_lib_history_append_history" = x
""yes; then :
13866 RDL_LIBS
="-lhistory"
13868 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
13875 ac_fn_c_check_header_mongrel
"$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
13876 if test "x$ac_cv_header_readline_readline_h" = x
""yes; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
13878 $as_echo_n "checking for readline in -lreadline... " >&6; }
13879 if test "${ac_cv_lib_readline_readline+set}" = set; then :
13880 $as_echo_n "(cached) " >&6
13882 ac_check_lib_save_LIBS
=$LIBS
13883 LIBS
="-lreadline $tcap $LIBS"
13884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13887 /* Override any GCC internal prototype to avoid an error.
13888 Use char because int might match the return type of a GCC
13889 builtin and then its argument prototype would still apply. */
13897 return readline ();
13902 if ac_fn_c_try_link
"$LINENO"; then :
13903 ac_cv_lib_readline_readline
=yes
13905 ac_cv_lib_readline_readline
=no
13907 rm -f core conftest.err conftest.
$ac_objext \
13908 conftest
$ac_exeext conftest.
$ac_ext
13909 LIBS
=$ac_check_lib_save_LIBS
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
13912 $as_echo "$ac_cv_lib_readline_readline" >&6; }
13913 if test "x$ac_cv_lib_readline_readline" = x
""yes; then :
13915 RDL_LIBS
="-lreadline $RDL_LIBS $tcap"
13917 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
13924 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
13925 CPPFLAGS
="$CPPFLAGS -I${RDL_DIR}/include"
13926 RDL_LIBS
="-L${RDL_DIR}/lib $RDL_LIBS"
13930 if test "$with_tree" = "no" ; then
13931 echo Disabling DOM like tree manipulation APIs
13938 if test "$with_ftp" = "no" ; then
13939 echo Disabling FTP support
13949 if test "$with_http" = "no" ; then
13950 echo Disabling HTTP support
13955 HTTP_OBJ
=nanohttp.o
13960 if test "$with_legacy" = "no" ; then
13961 echo Disabling deprecated APIs
13968 if test "$with_reader" = "no" ; then
13969 echo Disabling the xmlReader parsing interface
13974 READER_TEST
=Readertests
13975 if test "$with_push" = "no" ; then
13976 echo xmlReader requires Push interface
- enabling it
13983 if test "$with_writer" = "no" ; then
13984 echo Disabling the xmlWriter saving interface
13989 # WRITER_TEST=Writertests
13990 if test "$with_push" = "no" ; then
13991 echo xmlWriter requires Push interface
- enabling it
13994 if test "$with_output" = "no" ; then
13995 echo xmlWriter requires Output interface
- enabling it
14000 #AC_SUBST(WRITER_TEST)
14002 if test "$with_pattern" = "no" ; then
14003 echo Disabling the xmlPattern parsing interface
14008 TEST_PATTERN
=Patterntests
14013 if test "$with_sax1" = "no" ; then
14014 echo Disabling the older SAX1 interface
14024 if test "$with_push" = "no" ; then
14025 echo Disabling the PUSH parser interfaces
14030 TEST_PUSH
="XMLPushtests"
14035 if test "$with_html" = "no" ; then
14036 echo Disabling HTML support
14042 HTML_OBJ
="HTMLparser.o HTMLtree.o"
14043 TEST_HTML
=HTMLtests
14044 if test "$with_push" != "no" ; then
14045 TEST_PHTML
=HTMLPushtests
14055 if test "$with_valid" = "no" ; then
14056 echo Disabling DTD validation support
14062 TEST_VALID
=Validtests
14063 TEST_VTIME
=VTimingtests
14069 if test "$with_catalog" = "no" ; then
14070 echo Disabling Catalog support
14076 CATALOG_OBJ
="catalog.o"
14077 TEST_CATALOG
=Catatests
14083 if test "$with_docbook" = "no" ; then
14084 echo Disabling Docbook support
14089 DOCB_OBJ
="DOCBparser.o"
14095 if test "$with_xptr" = "no" ; then
14096 echo Disabling XPointer support
14102 XPTR_OBJ
=xpointer.o
14103 TEST_XPTR
=XPtrtests
14104 if test "$with_xpath" = "no" ; then
14105 echo XPointer requires XPath support
- enabling it
14113 if test "$with_c14n" = "no" ; then
14114 echo Disabling C14N support
14121 TEST_C14N
=C14Ntests
14122 if test "$with_xpath" = "no" ; then
14123 echo C14N requires XPath support
- enabling it
14131 if test "$with_xinclude" = "no" ; then
14132 echo Disabling XInclude support
14139 XINCLUDE_OBJ
=xinclude.o
14140 TEST_XINCLUDE
=XIncludetests
14141 if test "$with_xpath" = "no" ; then
14142 echo XInclude requires XPath support
- enabling it
14150 if test "$with_xpath" = "no" ; then
14151 echo Disabling XPATH support
14158 TEST_XPATH
=XPathtests
14164 if test "$with_output" = "no" ; then
14165 echo Disabling serialization
/saving support
14176 if test "$with_iconv" = "no" ; then
14177 echo Disabling ICONV support
14179 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
14180 CPPFLAGS
="${CPPFLAGS} -I$with_iconv/include"
14181 # Export this since our headers include iconv.h
14182 XML_INCLUDEDIR
="${XML_INCLUDEDIR} -I$with_iconv/include"
14183 ICONV_LIBS
="-L$with_iconv/lib"
14186 ac_fn_c_check_header_mongrel
"$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
14187 if test "x$ac_cv_header_iconv_h" = x
""yes; then :
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14189 $as_echo_n "checking for iconv... " >&6; }
14190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14191 /* end confdefs.h. */
14192 #include <stdlib.h>
14198 iconv_t cd = iconv_open ("","");
14199 iconv (cd, NULL, NULL, NULL, NULL);
14204 if ac_fn_c_try_link
"$LINENO"; then :
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14207 $as_echo "yes" >&6; }
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14212 $as_echo "no" >&6; }
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
14214 $as_echo_n "checking for iconv in -liconv... " >&6; }
14216 _ldflags
="${LDFLAGS}"
14218 LDFLAGS
="${LDFLAGS} ${ICONV_LIBS}"
14219 LIBS
="${LIBS} -liconv"
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14223 #include <stdlib.h>
14229 iconv_t cd = iconv_open ("","");
14230 iconv (cd, NULL, NULL, NULL, NULL);
14235 if ac_fn_c_try_link
"$LINENO"; then :
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14238 $as_echo "yes" >&6; }
14240 ICONV_LIBS
="${ICONV_LIBS} -liconv"
14242 LDFLAGS
="${_ldflags}"
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14246 $as_echo "no" >&6; }
14248 LDFLAGS
="${_ldflags}"
14250 rm -f core conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14253 rm -f core conftest.err conftest.
$ac_objext \
14254 conftest
$ac_exeext conftest.
$ac_ext
14259 if test "$WITH_ICONV" = "1" ; then
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
14261 $as_echo_n "checking for iconv declaration... " >&6; }
14262 if test "${xml_cv_iconv_arg2+set}" = set; then :
14263 $as_echo_n "(cached) " >&6
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14268 #include <stdlib.h>
14274 #if defined(__STDC__) || defined(__cplusplus)
14275 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
14288 if ac_fn_c_try_compile
"$LINENO"; then :
14289 xml_cv_iconv_arg2
=""
14291 xml_cv_iconv_arg2
="const"
14293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14297 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);"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
14299 }$xml_cv_iconv_decl" >&5
14300 $as_echo "${xml_xxx:-
14301 }$xml_cv_iconv_decl" >&6; }
14303 cat >>confdefs.h
<<_ACEOF
14304 #define ICONV_CONST $xml_cv_iconv_arg2
14319 XML_LIBS
="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
14320 XML_LIBTOOLLIBS
="libxml2.la"
14324 if test "$WITH_ICONV" != "1" ; then
14325 if test "$with_iso8859x" = "no" ; then
14326 echo Disabling ISO8859X support
14332 if test "$with_schematron" = "no" ; then
14333 echo "Disabling Schematron support"
14337 echo "Enabled Schematron support"
14339 TEST_SCHEMATRON
="Schematrontests"
14346 if test "$with_schemas" = "no" ; then
14347 echo "Disabling Schemas/Relax-NG support"
14351 echo "Enabled Schemas/Relax-NG support"
14353 TEST_SCHEMAS
="Schemastests Relaxtests"
14354 if test "$PYTHON_INCLUDES" != "" ; then
14355 PYTHON_TESTS
="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
14362 if test "$with_regexps" = "no" ; then
14363 echo Disabling Regexps support
14368 TEST_REGEXPS
="Regexptests Automatatests"
14373 if test "$with_debug" = "no" ; then
14374 echo Disabling DEBUG support
14380 DEBUG_OBJ
=debugXML.o
14381 TEST_DEBUG
=Scripttests
14387 if test "$with_mem_debug" = "yes" ; then
14388 if test "$with_thread_alloc" = "yes" ; then
14389 echo Disabling memory debug
- cannot use mem-debug with thread-alloc
!
14392 echo Enabling memory debug support
14400 if test "$with_run_debug" = "yes" ; then
14401 echo Enabling runtime debug support
14408 WIN32_EXTRA_LIBADD
=
14409 WIN32_EXTRA_LDFLAGS
=
14410 CYGWIN_EXTRA_LDFLAGS
=
14411 CYGWIN_EXTRA_PYTHON_LIBADD
=
14414 CPPFLAGS
="$CPPFLAGS -DWIN32"
14415 WIN32_EXTRA_LIBADD
="-lws2_32"
14416 WIN32_EXTRA_LDFLAGS
="-no-undefined"
14418 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
14421 $as_echo "#define snprintf _snprintf" >>confdefs.h
14424 $as_echo "#define vsnprintf _vsnprintf" >>confdefs.h
14428 CYGWIN_EXTRA_LDFLAGS
="-no-undefined"
14429 if test "${PYTHON}" != ""
14431 CYGWIN_EXTRA_PYTHON_LIBADD
="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
14440 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
14442 echo Enabling code coverage
for GCC
14443 CFLAGS
="$CFLAGS -fprofile-arcs -ftest-coverage"
14444 LDFLAGS
="$LDFLAGS -fprofile-arcs -ftest-coverage"
14446 echo Disabling code coverage
for GCC
14470 RELDATE
=`date +'%a %b %e %Y'`
14474 rm -f COPYING.LIB COPYING
14475 ln -s Copyright COPYING
14477 # keep on one line for cygwin c.f. #130896
14478 ac_config_files
="$ac_config_files include/libxml/xmlversion.h xml2-config"
14480 cat >confcache
<<\_ACEOF
14481 # This file is a shell script that caches the results of configure
14482 # tests run on this system so they can be shared between configure
14483 # scripts and configure runs, see configure's option --config-cache.
14484 # It is not useful on other systems. If it contains results you don't
14485 # want to keep, you may remove or edit it.
14487 # config.status only pays attention to the cache file if you give it
14488 # the --recheck option to rerun configure.
14490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14492 # following values.
14496 # The following way of writing the cache mishandles newlines in values,
14497 # but we know of no workaround that is simple, portable, and efficient.
14498 # So, we kill variables containing newlines.
14499 # Ultrix sh set writes to stderr and can't be redirected directly,
14500 # and sets the high bit in the cache file unless we assign to the vars.
14502 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14503 eval ac_val
=\$
$ac_var
14507 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14508 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14511 _ | IFS | as_nl
) ;; #(
14512 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14513 *) { eval $ac_var=; unset $ac_var;} ;;
14519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14520 *${as_nl}ac_space
=\
*)
14521 # `set' does not quote correctly, so add quotes: double-quote
14522 # substitution turns \\\\ into \\, and sed turns \\ into \.
14525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14528 # `set' quotes correctly as required by POSIX, so do not add quotes.
14529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14542 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14543 if test -w "$cache_file"; then
14544 test "x$cache_file" != "x/dev/null" &&
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14546 $as_echo "$as_me: updating cache $cache_file" >&6;}
14547 cat confcache
>$cache_file
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14550 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14555 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14556 # Let make expand exec_prefix.
14557 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14559 DEFS
=-DHAVE_CONFIG_H
14563 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14564 # 1. Remove the extension, and $U if already installed.
14565 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14566 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14567 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14568 # will be set to the directory where LIBOBJS objects are built.
14569 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14570 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14572 LIBOBJS
=$ac_libobjs
14574 LTLIBOBJS
=$ac_ltlibobjs
14577 if test -n "$EXEEXT"; then
14579 am__EXEEXT_FALSE
='#'
14581 am__EXEEXT_TRUE
='#'
14585 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14586 as_fn_error
"conditional \"AMDEP\" was never defined.
14587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14590 as_fn_error
"conditional \"am__fastdepCC\" was never defined.
14591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14593 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
14594 as_fn_error
"conditional \"USE_VERSION_SCRIPT\" was never defined.
14595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14597 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
14598 as_fn_error
"conditional \"REBUILD_DOCS\" was never defined.
14599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14601 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
14602 as_fn_error
"conditional \"WITH_PYTHON\" was never defined.
14603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14605 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
14606 as_fn_error
"conditional \"WITH_TRIO_SOURCES\" was never defined.
14607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14610 : ${CONFIG_STATUS=./config.status}
14612 ac_clean_files_save
=$ac_clean_files
14613 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14619 # Generated by $as_me.
14620 # Run this file to recreate the current configuration.
14621 # Compiler output produced by configure, useful for debugging
14622 # configure, is in config.log if it exists.
14625 ac_cs_recheck=false
14628 SHELL=\${CONFIG_SHELL-$SHELL}
14631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14632 ## -------------------- ##
14633 ## M4sh Initialization. ##
14634 ## -------------------- ##
14636 # Be more Bourne compatible
14637 DUALCASE
=1; export DUALCASE
# for MKS sh
14638 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14641 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14642 # is contrary to our usage. Disable this feature.
14643 alias -g '${1+"$@"}'='"$@"'
14644 setopt NO_GLOB_SUBST
14646 case `(set -o) 2>/dev/null` in #(
14658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14659 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14662 # Prefer a ksh shell builtin over an external printf program on Solaris,
14663 # but without wasting forks for bash or zsh.
14664 if test -z "$BASH_VERSION$ZSH_VERSION" \
14665 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14666 as_echo='print
-r --'
14667 as_echo_n='print
-rn --'
14668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14669 as_echo='printf %s
\n'
14670 as_echo_n='printf %s
'
14672 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14673 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14674 as_echo_n='/usr
/ucb
/echo -n'
14676 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14677 as_echo_n_body='eval
14681 expr "X$arg" : "X\\(.*\\)$as_nl";
14682 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14684 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14686 export as_echo_n_body
14687 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14689 export as_echo_body
14690 as_echo='sh
-c $as_echo_body as_echo
'
14693 # The user is always right.
14694 if test "${PATH_SEPARATOR+set}" != set; then
14696 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14697 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14704 # We need space, tab and new line, in precisely that order. Quoting is
14705 # there to prevent editors from complaining about space-tab.
14706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14707 # splitting by setting IFS to empty value.)
14710 # Find who we are. Look in the path if we contain no directory separator.
14712 *[\\/]* ) as_myself=$0 ;;
14713 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14714 for as_dir in $PATH
14717 test -z "$as_dir" && as_dir=.
14718 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14724 # We did not find ourselves, most probably we were run as `sh COMMAND'
14725 # in which case we are not to be found in the path.
14726 if test "x$as_myself" = x
; then
14729 if test ! -f "$as_myself"; then
14730 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14734 # Unset variables that we do not need and which cause bugs (e.g. in
14735 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14736 # suppresses any "Segmentation fault" message there. '((' could
14737 # trigger a bug in pdksh 5.2.14.
14738 for as_var
in BASH_ENV ENV MAIL MAILPATH
14739 do eval test x\
${$as_var+set} = xset \
14740 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14753 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14756 # as_fn_error ERROR [LINENO LOG_FD]
14757 # ---------------------------------
14758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14760 # script with status $?, using 1 if that was 0.
14763 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14765 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14766 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14768 $as_echo "$as_me: error: $1" >&2
14769 as_fn_exit
$as_status
14773 # as_fn_set_status STATUS
14774 # -----------------------
14775 # Set $? to STATUS, without forking.
14776 as_fn_set_status
()
14779 } # as_fn_set_status
14781 # as_fn_exit STATUS
14782 # -----------------
14783 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14787 as_fn_set_status
$1
14793 # Portably unset VAR.
14796 { eval $1=; unset $1;}
14798 as_unset
=as_fn_unset
14799 # as_fn_append VAR VALUE
14800 # ----------------------
14801 # Append the text in VALUE to the end of the definition contained in VAR. Take
14802 # advantage of any shell optimizations that allow amortized linear growth over
14803 # repeated appends, instead of the typical quadratic growth present in naive
14805 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14806 eval 'as_fn_append ()
14817 # as_fn_arith ARG...
14818 # ------------------
14819 # Perform arithmetic evaluation on the ARGs, and store the result in the
14820 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14821 # must be portable across $(()) and expr.
14822 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14823 eval 'as_fn_arith ()
14830 as_val
=`expr "$@" || test $? -eq 1`
14835 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14836 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14842 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14843 as_basename
=basename
14848 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14854 as_me
=`$as_basename -- "$0" ||
14855 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14856 X"$0" : 'X\(//\)$' \| \
14857 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14859 sed '/^.*\/\([^/][^/]*\)\/*$/{
14873 # Avoid depending upon Character Ranges.
14874 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14875 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14876 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14877 as_cr_digits
='0123456789'
14878 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14880 ECHO_C
= ECHO_N
= ECHO_T
=
14881 case `echo -n x` in #(((((
14883 case `echo 'xy\c'` in
14884 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14886 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14893 rm -f conf$$ conf$$.exe conf$$.
file
14894 if test -d conf$$.dir
; then
14895 rm -f conf$$.dir
/conf$$.
file
14898 mkdir conf$$.dir
2>/dev
/null
14900 if (echo >conf$$.
file) 2>/dev
/null
; then
14901 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14903 # ... but there are two gotchas:
14904 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14905 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14906 # In both cases, we have to default to `cp -p'.
14907 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14909 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14917 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14918 rmdir conf$$.dir
2>/dev
/null
14923 # Create "$as_dir" as a directory, including parents if necessary.
14928 -*) as_dir
=.
/$as_dir;;
14930 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14934 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14935 *) as_qdir
=$as_dir;;
14937 as_dirs
="'$as_qdir' $as_dirs"
14938 as_dir
=`$as_dirname -- "$as_dir" ||
14939 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14940 X"$as_dir" : 'X\(//\)[^/]' \| \
14941 X"$as_dir" : 'X\(//\)$' \| \
14942 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14943 $as_echo X"$as_dir" |
14944 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14948 /^X\(\/\/\)[^/].*/{
14961 test -d "$as_dir" && break
14963 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14964 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14968 if mkdir
-p .
2>/dev
/null
; then
14969 as_mkdir_p
='mkdir -p "$as_dir"'
14971 test -d .
/-p && rmdir .
/-p
14975 if test -x / >/dev
/null
2>&1; then
14976 as_test_x
='test -x'
14978 if ls -dL / >/dev
/null
2>&1; then
14985 if test -d "$1"; then
14991 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14992 ???[sx]*):;;*)false;;esac;fi
14996 as_executable_p
=$as_test_x
14998 # Sed expression to map a string onto a valid CPP name.
14999 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15001 # Sed expression to map a string onto a valid variable name.
15002 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15006 ## ----------------------------------- ##
15007 ## Main body of $CONFIG_STATUS script. ##
15008 ## ----------------------------------- ##
15010 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15013 # Save the log message, to keep $0 and so on meaningful, and to
15014 # report actual input values of CONFIG_FILES etc. instead of their
15015 # values after options handling.
15017 This file was extended by $as_me, which was
15018 generated by GNU Autoconf 2.65. Invocation command line was
15020 CONFIG_FILES = $CONFIG_FILES
15021 CONFIG_HEADERS = $CONFIG_HEADERS
15022 CONFIG_LINKS = $CONFIG_LINKS
15023 CONFIG_COMMANDS = $CONFIG_COMMANDS
15026 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15031 case $ac_config_files in *"
15032 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15035 case $ac_config_headers in *"
15036 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15040 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15041 # Files that config.status was made for.
15042 config_files="$ac_config_files"
15043 config_headers="$ac_config_headers"
15044 config_commands="$ac_config_commands"
15048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15050 \`$as_me' instantiates files and other configuration actions
15051 from templates according to the current configuration. Unless the files
15052 and actions are specified as TAGs, all are instantiated by default.
15054 Usage: $0 [OPTION]... [TAG]...
15056 -h, --help print this help, then exit
15057 -V, --version print version number and configuration settings, then exit
15058 --config print configuration, then exit
15059 -q, --quiet, --silent
15060 do not print progress messages
15061 -d, --debug don't remove temporary files
15062 --recheck update $as_me by reconfiguring in the same conditions
15063 --file=FILE[:TEMPLATE]
15064 instantiate the configuration file FILE
15065 --header=FILE[:TEMPLATE]
15066 instantiate the configuration header FILE
15068 Configuration files:
15071 Configuration headers:
15074 Configuration commands:
15077 Report bugs to the package provider."
15080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15081 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15084 configured by $0, generated by GNU Autoconf 2.65,
15085 with options \\"\$ac_cs_config\\"
15087 Copyright (C) 2009 Free Software Foundation, Inc.
15088 This config.status script is free software; the Free Software Foundation
15089 gives unlimited permission to copy, distribute and modify it."
15096 test -n "\$AWK" || AWK=awk
15099 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15100 # The default lists apply if the user does not specify any file.
15106 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15107 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15118 # Handling of the options.
15119 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15121 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15122 $as_echo "$ac_cs_version"; exit ;;
15123 --config |
--confi |
--conf |
--con |
--co |
--c )
15124 $as_echo "$ac_cs_config"; exit ;;
15125 --debug |
--debu |
--deb |
--de |
--d |
-d )
15127 --file |
--fil |
--fi |
--f )
15130 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15132 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15133 ac_need_defaults
=false
;;
15134 --header |
--heade |
--head |
--hea )
15137 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15139 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15140 ac_need_defaults
=false
;;
15142 # Conflict between --help and --header
15143 as_fn_error
"ambiguous option: \`$1'
15144 Try \`$0 --help' for more information.";;
15145 --help |
--hel |
-h )
15146 $as_echo "$ac_cs_usage"; exit ;;
15147 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15148 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15151 # This is an error.
15152 -*) as_fn_error
"unrecognized option: \`$1'
15153 Try \`$0 --help' for more information." ;;
15155 *) as_fn_append ac_config_targets
" $1"
15156 ac_need_defaults
=false
;;
15162 ac_configure_extra_args
=
15164 if $ac_cs_silent; then
15166 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15171 if \$ac_cs_recheck; then
15172 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15174 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15175 CONFIG_SHELL='$SHELL'
15176 export CONFIG_SHELL
15181 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15185 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15186 ## Running $as_me. ##
15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15196 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15199 # The HP-UX ksh and POSIX shell print the target directory to stdout
15200 # if CDPATH is set.
15201 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15203 sed_quote_subst='$sed_quote_subst'
15204 double_quote_subst='$double_quote_subst'
15205 delay_variable_subst='$delay_variable_subst'
15206 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
15207 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15208 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15209 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15210 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15211 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15212 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15213 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15214 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15215 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15216 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15217 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15218 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15219 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15220 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15221 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15222 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15223 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15224 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15225 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15226 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15227 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15228 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15229 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15230 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15231 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15232 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15233 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15234 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15235 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15236 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15237 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15238 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15239 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15240 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15241 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15242 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15243 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15244 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15245 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15246 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15247 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15248 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15249 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15250 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15251 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15252 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"`'
15253 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"`'
15254 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15255 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15256 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15257 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15258 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15259 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15260 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15261 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15262 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15263 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15264 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15265 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15266 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15267 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15268 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15269 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15270 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15271 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15272 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15273 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15274 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15275 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15276 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15277 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15278 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15279 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15280 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15281 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15282 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15283 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15284 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15285 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15286 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15287 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15288 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15289 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15290 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15291 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15292 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15293 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15294 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15295 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15296 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15297 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15298 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15299 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15300 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15301 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15302 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15303 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15304 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15305 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15306 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15307 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15308 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15309 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15310 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15311 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15312 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15313 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15314 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15315 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15316 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15317 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15318 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15319 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15320 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15321 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15322 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15323 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15324 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15325 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15328 LTCFLAGS='$LTCFLAGS'
15329 compiler='$compiler_DEFAULT'
15331 # Quote evaled strings.
15342 deplibs_check_method \
15351 lt_cv_sys_global_symbol_pipe \
15352 lt_cv_sys_global_symbol_to_cdecl \
15353 lt_cv_sys_global_symbol_to_c_name_address \
15354 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15357 lt_prog_compiler_no_builtin_flag \
15358 lt_prog_compiler_wl \
15359 lt_prog_compiler_pic \
15360 lt_prog_compiler_static \
15361 lt_cv_prog_compiler_c_o \
15369 export_dynamic_flag_spec \
15370 whole_archive_flag_spec \
15371 compiler_needs_object \
15373 allow_undefined_flag \
15374 no_undefined_flag \
15375 hardcode_libdir_flag_spec \
15376 hardcode_libdir_flag_spec_ld \
15377 hardcode_libdir_separator \
15382 variables_saved_for_relink \
15384 library_names_spec \
15389 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15390 *[\\\\\\\`\\"\\\$]*)
15391 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15394 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15399 # Double-quote double-evaled strings.
15400 for var in reload_cmds \
15401 old_postinstall_cmds \
15402 old_postuninstall_cmds \
15404 extract_expsyms_cmds \
15405 old_archive_from_new_cmds \
15406 old_archive_from_expsyms_cmds \
15408 archive_expsym_cmds \
15410 module_expsym_cmds \
15411 export_symbols_cmds \
15414 postuninstall_cmds \
15416 sys_lib_search_path_spec \
15417 sys_lib_dlsearch_path_spec; do
15418 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15419 *[\\\\\\\`\\"\\\$]*)
15420 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15423 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15428 # Fix-up fallback echo if it was mangled by the above quoting rules.
15430 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15434 ac_aux_dir='$ac_aux_dir'
15435 xsi_shell='$xsi_shell'
15436 lt_shell_append='$lt_shell_append'
15438 # See if we are running on zsh, and set the options which allow our
15439 # commands through without removal of \ escapes INIT.
15440 if test -n "\${ZSH_VERSION+set}" ; then
15441 setopt NO_GLOB_SUBST
15447 TIMESTAMP='$TIMESTAMP'
15456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15458 # Handling of arguments.
15459 for ac_config_target
in $ac_config_targets
15461 case $ac_config_target in
15462 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15463 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15464 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
15465 "include/libxml/xmlversion.h") CONFIG_FILES
="$CONFIG_FILES include/libxml/xmlversion.h" ;;
15466 "xml2-config") CONFIG_FILES
="$CONFIG_FILES xml2-config" ;;
15468 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15473 # If the user did not use the arguments to specify the items to instantiate,
15474 # then the envvar interface is used. Set only those that are not.
15475 # We use the long form for the default assignment because of an extremely
15476 # bizarre bug on SunOS 4.1.3.
15477 if $ac_need_defaults; then
15478 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15479 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15480 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15483 # Have a temporary directory for convenience. Make it in the build tree
15484 # simply because there is no reason against having it here, and in addition,
15485 # creating and moving files from /tmp can sometimes cause problems.
15486 # Hook for its removal unless debugging.
15487 # Note that there is a small window in which the directory will not be cleaned:
15488 # after its creation but before its name has been assigned to `$tmp'.
15492 trap 'exit_status=$?
15493 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15495 trap 'as_fn_exit 1' 1 2 13 15
15497 # Create a (secure) tmp directory for tmp files.
15500 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15501 test -n "$tmp" && test -d "$tmp"
15504 tmp
=.
/conf$$
-$RANDOM
15505 (umask 077 && mkdir
"$tmp")
15506 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15508 # Set up the scripts for CONFIG_FILES section.
15509 # No need to generate them if there are no CONFIG_FILES.
15510 # This happens for instance with `./config.status config.h'.
15511 if test -n "$CONFIG_FILES"; then
15514 ac_cr
=`echo X | tr X '\015'`
15515 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15516 # But we know of no other shell where ac_cr would be empty at this
15517 # point, so we can use a bashism as a fallback.
15518 if test "x$ac_cr" = x
; then
15519 eval ac_cr
=\$
\'\\r
\'
15521 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15525 ac_cs_awk_cr
=$ac_cr
15528 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15533 echo "cat >conf$$subs.awk <<_ACEOF" &&
15534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15536 } >conf$$subs.sh ||
15537 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15538 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15540 for ac_last_try in false false false false false :; do
15541 . ./conf$$subs.sh ||
15542 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15544 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15545 if test $ac_delim_n = $ac_delim_num; then
15547 elif $ac_last_try; then
15548 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15550 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15553 rm -f conf$$subs.sh
15555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15556 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15560 s/^/S["/; s
/!.
*/"]=/
15570 s/\(.\{148\}\)..*/\1/
15572 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15577 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15584 s/\(.\{148\}\)..*/\1/
15586 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15590 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15595 ' <conf$$subs.awk | sed '
15600 ' >>$CONFIG_STATUS || ac_write_fail=1
15601 rm -f conf$$subs.awk
15602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15604 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15605 for (key in S) S_is_set[key] = 1
15611 nfields = split(line, field, "@
")
15613 len = length(field[1])
15614 for (i = 2; i < nfields; i++) {
15616 keylen = length(key)
15617 if (S_is_set[key]) {
15619 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15620 len += length(value) + length(field[++i])
15631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15632 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15633 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15636 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15637 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15640 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15641 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15642 # trailing colons and then remove the whole line if VPATH becomes empty
15643 # (actually we leave an empty line to preserve line numbers).
15644 if test "x
$srcdir" = x.; then
15645 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15646 s/:*\$(srcdir):*/:/
15647 s/:*\${srcdir}:*/:/
15649 s/^\([^=]*=[ ]*\):*/\1/
15655 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15656 fi # test -n "$CONFIG_FILES"
15658 # Set up the scripts for CONFIG_HEADERS section.
15659 # No need to generate them if there are no CONFIG_HEADERS.
15660 # This happens for instance with `./config.status Makefile'.
15661 if test -n "$CONFIG_HEADERS"; then
15662 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15666 # Transform confdefs.h into an awk script `defines.awk', embedded as
15667 # here-document in config.status, that substitutes the proper values into
15668 # config.h.in to produce config.h.
15670 # Create a delimiter string that does not exist in confdefs.h, to ease
15671 # handling of long lines.
15673 for ac_last_try in false false :; do
15674 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15675 if test -z "$ac_t"; then
15677 elif $ac_last_try; then
15678 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15680 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15684 # For the awk script, D is an array of macro values keyed by name,
15685 # likewise P contains macro parameters if any. Preserve backslash
15686 # newline sequences.
15688 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15690 s/.\{148\}/&'"$ac_delim"'/g
15693 s/^[ ]*#[ ]*define[ ][ ]*/ /
15700 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15702 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15706 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15707 D["\
1"]=" \
3\\\\\\n
"\\/p
15709 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15714 s/.\{148\}/&'"$ac_delim"'/g
15719 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15722 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15724 ' <confdefs.h | sed '
15725 s/'"$ac_delim"'/"\\\
15726 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15729 for (key in D) D_is_set[key] = 1
15732 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15734 split(line, arg, " ")
15735 if (arg[1] == "#") {
15739 defundef
= substr
(arg
[1], 2)
15742 split(mac1
, mac2
, "(") #)
15744 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15745 if (D_is_set
[macro
]) {
15746 # Preserve the white space surrounding the "#".
15747 print prefix
"define", macro P
[macro
] D
[macro
]
15750 # Replace #undef with comments. This is necessary, for example,
15751 # in the case of _POSIX_SOURCE, which is predefined and required
15752 # on some systems where configure will not decide to define it.
15753 if (defundef
== "undef") {
15754 print
"/*", prefix defundef
, macro
, "*/"
15762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15763 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15764 fi # test -n "$CONFIG_HEADERS"
15767 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
15772 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15774 case $ac_mode$ac_tag in
15776 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15777 :[FH
]-) ac_tag
=-:-;;
15778 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15795 -) ac_f
="$tmp/stdin";;
15796 *) # Look for the file first in the build tree, then in the source tree
15797 # (if the path is not absolute). The absolute path cannot be DOS-style,
15798 # because $ac_f cannot contain `:'.
15802 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15804 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15806 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15807 as_fn_append ac_file_inputs
" '$ac_f'"
15810 # Let's still pretend it is `configure' which instantiates (i.e., don't
15811 # use $as_me), people would be surprised to read:
15812 # /* config.h. Generated by config.status. */
15813 configure_input
='Generated from '`
15814 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15816 if test x
"$ac_file" != x-
; then
15817 configure_input
="$ac_file. $configure_input"
15818 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15819 $as_echo "$as_me: creating $ac_file" >&6;}
15821 # Neutralize special characters interpreted by sed in replacement strings.
15822 case $configure_input in #(
15823 *\
&* |
*\|
* |
*\\* )
15824 ac_sed_conf_input
=`$as_echo "$configure_input" |
15825 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15826 *) ac_sed_conf_input
=$configure_input;;
15830 *:-:* |
*:-) cat >"$tmp/stdin" \
15831 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15836 ac_dir
=`$as_dirname -- "$ac_file" ||
15837 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15838 X"$ac_file" : 'X\(//\)[^/]' \| \
15839 X"$ac_file" : 'X\(//\)$' \| \
15840 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15841 $as_echo X"$ac_file" |
15842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15846 /^X\(\/\/\)[^/].*/{
15859 as_dir
="$ac_dir"; as_fn_mkdir_p
15863 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15865 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15866 # A ".." for each directory in $ac_dir_suffix.
15867 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15868 case $ac_top_builddir_sub in
15869 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15870 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15873 ac_abs_top_builddir
=$ac_pwd
15874 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15875 # for backward compatibility:
15876 ac_top_builddir
=$ac_top_build_prefix
15879 .
) # We are building in place.
15881 ac_top_srcdir
=$ac_top_builddir_sub
15882 ac_abs_top_srcdir
=$ac_pwd ;;
15883 [\\/]* | ?
:[\\/]* ) # Absolute name.
15884 ac_srcdir
=$srcdir$ac_dir_suffix;
15885 ac_top_srcdir
=$srcdir
15886 ac_abs_top_srcdir
=$srcdir ;;
15887 *) # Relative name.
15888 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15889 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15890 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15892 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15902 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15903 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15905 ac_MKDIR_P
=$MKDIR_P
15907 [\\/$
]* | ?
:[\\/]* ) ;;
15908 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
15912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15913 # If the template does not know about datarootdir, expand it.
15914 # FIXME: This hack should be removed a few years after 2.60.
15915 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15926 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15927 *datarootdir
*) ac_datarootdir_seen
=yes;;
15928 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15930 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15933 ac_datarootdir_hack='
15934 s&@datadir@&$datadir&g
15935 s&@docdir@&$docdir&g
15936 s&@infodir@&$infodir&g
15937 s&@localedir@&$localedir&g
15938 s&@mandir@&$mandir&g
15939 s&\\\${datarootdir}&$datarootdir&g' ;;
15943 # Neutralize VPATH when `$srcdir' = `.'.
15944 # Shell code in configure.ac might set extrasub.
15945 # FIXME: do we really want to maintain this feature?
15946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15947 ac_sed_extra="$ac_vpsub
15950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15952 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15953 s|@configure_input@|
$ac_sed_conf_input|
;t t
15954 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15955 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15956 s
&@srcdir@
&$ac_srcdir&;t t
15957 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15958 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15959 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15960 s
&@builddir@
&$ac_builddir&;t t
15961 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15962 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15963 s
&@INSTALL@
&$ac_INSTALL&;t t
15964 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
15965 $ac_datarootdir_hack
15967 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
15968 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15970 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15971 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15972 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15974 which seems to be undefined. Please make sure it is defined." >&5
15975 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15976 which seems to be undefined. Please make sure it is defined." >&2;}
15980 -) cat "$tmp/out" && rm -f "$tmp/out";;
15981 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15983 || as_fn_error "could not create $ac_file" "$LINENO" 5
15989 if test x"$ac_file" != x-; then
15991 $as_echo "/* $configure_input */" \
15992 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15993 } >"$tmp/config.h" \
15994 || as_fn_error "could not create $ac_file" "$LINENO" 5
15995 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15997 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16000 mv "$tmp/config.h" "$ac_file" \
16001 || as_fn_error "could not create $ac_file" "$LINENO" 5
16004 $as_echo "/* $configure_input */" \
16005 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16006 || as_fn_error "could not create -" "$LINENO" 5
16008 # Compute "$ac_file"'s index
in $config_headers.
16011 for _am_header
in $config_headers :; do
16012 case $_am_header in
16013 $_am_arg |
$_am_arg:* )
16016 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16019 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16020 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16021 X"$_am_arg" : 'X\(//\)[^/]' \| \
16022 X"$_am_arg" : 'X\(//\)$' \| \
16023 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16024 $as_echo X"$_am_arg" |
16025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16029 /^X\(\/\/\)[^/].*/{
16041 s/.*/./; q'`/stamp-h
$_am_stamp_count
16044 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16045 $as_echo "$as_me: executing $ac_file commands" >&6;}
16050 case $ac_file$ac_mode in
16051 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
16052 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16053 # are listed without --file. Let's play safe and only enable the eval
16054 # if we detect the quoting.
16055 case $CONFIG_FILES in
16056 *\'*) eval set x
"$CONFIG_FILES" ;;
16057 *) set x
$CONFIG_FILES ;;
16062 # Strip MF so we end up with the name of the file.
16063 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16064 # Check whether this is an Automake generated Makefile or not.
16065 # We used to match only the files named `Makefile.in', but
16066 # some people rename them; so instead we look at the file content.
16067 # Grep'ing the first line is not enough: some people post-process
16068 # each Makefile.in and add a new line on top of each file to say so.
16069 # Grep'ing the whole file is not good either: AIX grep has a line
16070 # limit of 2048, but all sed's we know have understand at least 4000.
16071 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
16072 dirpart
=`$as_dirname -- "$mf" ||
16073 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16074 X"$mf" : 'X\(//\)[^/]' \| \
16075 X"$mf" : 'X\(//\)$' \| \
16076 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16082 /^X\(\/\/\)[^/].*/{
16098 # Extract the definition of DEPDIR, am__include, and am__quote
16099 # from the Makefile without running `make'.
16100 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16101 test -z "$DEPDIR" && continue
16102 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
16103 test -z "am__include" && continue
16104 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
16105 # When using ansi2knr, U may be empty or an underscore; expand it
16106 U
=`sed -n 's/^U = //p' < "$mf"`
16107 # Find all dependency output files, they are included files with
16108 # $(DEPDIR) in their names. We invoke sed twice because it is the
16109 # simplest approach to changing $(DEPDIR) to its actual value in the
16111 for file in `sed -n "
16112 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16113 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16114 # Make sure the directory exists.
16115 test -f "$dirpart/$file" && continue
16116 fdir
=`$as_dirname -- "$file" ||
16117 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16118 X"$file" : 'X\(//\)[^/]' \| \
16119 X"$file" : 'X\(//\)$' \| \
16120 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16121 $as_echo X"$file" |
16122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16126 /^X\(\/\/\)[^/].*/{
16139 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
16140 # echo "creating $dirpart/$file"
16141 echo '# dummy' > "$dirpart/$file"
16148 # See if we are running on zsh, and set the options which allow our
16149 # commands through without removal of \ escapes.
16150 if test -n "${ZSH_VERSION+set}" ; then
16151 setopt NO_GLOB_SUBST
16154 cfgfile
="${ofile}T"
16155 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16158 cat <<_LT_EOF >> "$cfgfile"
16161 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16162 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16163 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16164 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
16166 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16167 # 2006, 2007, 2008 Free Software Foundation, Inc.
16168 # Written by Gordon Matzigkeit, 1996
16170 # This file is part of GNU Libtool.
16172 # GNU Libtool is free software; you can redistribute it and/or
16173 # modify it under the terms of the GNU General Public License as
16174 # published by the Free Software Foundation; either version 2 of
16175 # the License, or (at your option) any later version.
16177 # As a special exception to the GNU General Public License,
16178 # if you distribute this file as part of a program or library that
16179 # is built using GNU Libtool, you may include this file under the
16180 # same distribution terms that you use for the rest of that program.
16182 # GNU Libtool is distributed in the hope that it will be useful,
16183 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16184 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16185 # GNU General Public License for more details.
16187 # You should have received a copy of the GNU General Public License
16188 # along with GNU Libtool; see the file COPYING. If not, a copy
16189 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16190 # obtained by writing to the Free Software Foundation, Inc.,
16191 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16194 # The names of the tagged configurations supported by this script.
16197 # ### BEGIN LIBTOOL CONFIG
16199 # Assembler program.
16202 # DLL creation program.
16205 # Object dumper program.
16208 # Which release of libtool.m4 was used?
16209 macro_version=$macro_version
16210 macro_revision=$macro_revision
16212 # Whether or not to build shared libraries.
16213 build_libtool_libs=$enable_shared
16215 # Whether or not to build static libraries.
16216 build_old_libs=$enable_static
16218 # What type of objects to build.
16221 # Whether or not to optimize for fast installation.
16222 fast_install=$enable_fast_install
16225 host_alias=$host_alias
16229 # The build system.
16230 build_alias=$build_alias
16234 # A sed program that does not truncate output.
16237 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16238 Xsed="\$SED -e 1s/^X//"
16240 # A grep program that handles long lines.
16246 # A literal string matcher.
16249 # A BSD- or MS-compatible name lister.
16252 # Whether we need soft or hard links.
16255 # What is the maximum length of a command?
16256 max_cmd_len=$max_cmd_len
16258 # Object file suffix (normally "o").
16261 # Executable file suffix (normally "").
16264 # whether the shell understands "unset".
16267 # turn spaces into newlines.
16270 # turn newlines into spaces.
16273 # How to create reloadable object files.
16274 reload_flag=$lt_reload_flag
16275 reload_cmds=$lt_reload_cmds
16277 # Method to check whether dependent libraries are shared objects.
16278 deplibs_check_method=$lt_deplibs_check_method
16280 # Command to use when deplibs_check_method == "file_magic".
16281 file_magic_cmd=$lt_file_magic_cmd
16285 AR_FLAGS=$lt_AR_FLAGS
16287 # A symbol stripping program.
16290 # Commands used to install an old-style archive.
16292 old_postinstall_cmds=$lt_old_postinstall_cmds
16293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16298 # LTCC compiler flags.
16299 LTCFLAGS=$lt_CFLAGS
16301 # Take the output of nm and produce a listing of raw symbols and C names.
16302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16304 # Transform the output of nm in a proper C declaration.
16305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16307 # Transform the output of nm in a C name address pair.
16308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16310 # Transform the output of nm in a C name address pair when lib prefix is needed.
16311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16313 # The name of the directory that contains temporary libtool files.
16316 # Shell to use when invoking shell scripts.
16319 # An echo program that does not interpret backslashes.
16322 # Used to examine libraries when file_magic_cmd begins with "file".
16323 MAGIC_CMD=$MAGIC_CMD
16325 # Must we lock files when doing compilation?
16326 need_locks=$lt_need_locks
16328 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16329 DSYMUTIL=$lt_DSYMUTIL
16331 # Tool to change global to local symbols on Mac OS X.
16334 # Tool to manipulate fat objects and archives on Mac OS X.
16337 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16340 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16341 OTOOL64=$lt_OTOOL64
16343 # Old archive suffix (normally "a").
16346 # Shared library suffix (normally ".so").
16347 shrext_cmds=$lt_shrext_cmds
16349 # The commands to extract the exported symbol list from a shared archive.
16350 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16352 # Variables whose values should be saved in libtool wrapper scripts and
16353 # restored at link time.
16354 variables_saved_for_relink=$lt_variables_saved_for_relink
16356 # Do we need the "lib" prefix for modules?
16357 need_lib_prefix=$need_lib_prefix
16359 # Do we need a version for libraries?
16360 need_version=$need_version
16362 # Library versioning type.
16363 version_type=$version_type
16365 # Shared library runtime path variable.
16366 runpath_var=$runpath_var
16368 # Shared library path variable.
16369 shlibpath_var=$shlibpath_var
16371 # Is shlibpath searched before the hard-coded library search path?
16372 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16374 # Format of library name prefix.
16375 libname_spec=$lt_libname_spec
16377 # List of archive names. First name is the real one, the rest are links.
16378 # The last name is the one that the linker finds with -lNAME
16379 library_names_spec=$lt_library_names_spec
16381 # The coded name of the library, if different from the real name.
16382 soname_spec=$lt_soname_spec
16384 # Command to use after installation of a shared archive.
16385 postinstall_cmds=$lt_postinstall_cmds
16387 # Command to use after uninstallation of a shared archive.
16388 postuninstall_cmds=$lt_postuninstall_cmds
16390 # Commands used to finish a libtool library installation in a directory.
16391 finish_cmds=$lt_finish_cmds
16393 # As "finish_cmds", except a single script fragment to be evaled but
16395 finish_eval=$lt_finish_eval
16397 # Whether we should hardcode library paths into libraries.
16398 hardcode_into_libs=$hardcode_into_libs
16400 # Compile-time system search path for libraries.
16401 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16403 # Run-time system search path for libraries.
16404 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16406 # Whether dlopen is supported.
16407 dlopen_support=$enable_dlopen
16409 # Whether dlopen of programs is supported.
16410 dlopen_self=$enable_dlopen_self
16412 # Whether dlopen of statically linked programs is supported.
16413 dlopen_self_static=$enable_dlopen_self_static
16415 # Commands to strip libraries.
16416 old_striplib=$lt_old_striplib
16417 striplib=$lt_striplib
16420 # The linker used to build libraries.
16423 # Commands used to build an old-style archive.
16424 old_archive_cmds=$lt_old_archive_cmds
16426 # A language specific compiler.
16429 # Is the compiler the GNU compiler?
16432 # Compiler flag to turn off builtin functions.
16433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16435 # How to pass a linker flag through the compiler.
16436 wl=$lt_lt_prog_compiler_wl
16438 # Additional compiler flags for building library objects.
16439 pic_flag=$lt_lt_prog_compiler_pic
16441 # Compiler flag to prevent dynamic linking.
16442 link_static_flag=$lt_lt_prog_compiler_static
16444 # Does compiler simultaneously support -c and -o options?
16445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16447 # Whether or not to add -lc for building shared libraries.
16448 build_libtool_need_lc=$archive_cmds_need_lc
16450 # Whether or not to disallow shared libs when runtime libs are static.
16451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16453 # Compiler flag to allow reflexive dlopens.
16454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16456 # Compiler flag to generate shared objects directly from archives.
16457 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16459 # Whether the compiler copes with passing no objects directly.
16460 compiler_needs_object=$lt_compiler_needs_object
16462 # Create an old-style archive from a shared archive.
16463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16465 # Create a temporary old-style archive to link instead of a shared archive.
16466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16468 # Commands used to build a shared archive.
16469 archive_cmds=$lt_archive_cmds
16470 archive_expsym_cmds=$lt_archive_expsym_cmds
16472 # Commands used to build a loadable module if different from building
16473 # a shared archive.
16474 module_cmds=$lt_module_cmds
16475 module_expsym_cmds=$lt_module_expsym_cmds
16477 # Whether we are building with GNU ld or not.
16478 with_gnu_ld=$lt_with_gnu_ld
16480 # Flag that allows shared libraries with undefined symbols to be built.
16481 allow_undefined_flag=$lt_allow_undefined_flag
16483 # Flag that enforces no undefined symbols.
16484 no_undefined_flag=$lt_no_undefined_flag
16486 # Flag to hardcode \$libdir into a binary during linking.
16487 # This must work even if \$libdir does not exist
16488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16490 # If ld is used when linking, flag to hardcode \$libdir into a binary
16491 # during linking. This must work even if \$libdir does not exist.
16492 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16494 # Whether we need a single "-rpath" flag with a separated argument.
16495 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16498 # DIR into the resulting binary.
16499 hardcode_direct=$hardcode_direct
16501 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16502 # DIR into the resulting binary and the resulting library dependency is
16503 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16504 # library is relocated.
16505 hardcode_direct_absolute=$hardcode_direct_absolute
16507 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16508 # into the resulting binary.
16509 hardcode_minus_L=$hardcode_minus_L
16511 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16512 # into the resulting binary.
16513 hardcode_shlibpath_var=$hardcode_shlibpath_var
16515 # Set to "yes" if building a shared library automatically hardcodes DIR
16516 # into the library and all subsequent libraries and executables linked
16518 hardcode_automatic=$hardcode_automatic
16520 # Set to yes if linker adds runtime paths of dependent libraries
16521 # to runtime path list.
16522 inherit_rpath=$inherit_rpath
16524 # Whether libtool must link a program against all its dependency libraries.
16525 link_all_deplibs=$link_all_deplibs
16527 # Fix the shell variable \$srcfile for the compiler.
16528 fix_srcfile_path=$lt_fix_srcfile_path
16530 # Set to "yes" if exported symbols are required.
16531 always_export_symbols=$always_export_symbols
16533 # The commands to list exported symbols.
16534 export_symbols_cmds=$lt_export_symbols_cmds
16536 # Symbols that should not be listed in the preloaded symbols.
16537 exclude_expsyms=$lt_exclude_expsyms
16539 # Symbols that must always be exported.
16540 include_expsyms=$lt_include_expsyms
16542 # Commands necessary for linking programs (against libraries) with templates.
16543 prelink_cmds=$lt_prelink_cmds
16545 # Specify filename containing input files.
16546 file_list_spec=$lt_file_list_spec
16548 # How to hardcode a shared library path into an executable.
16549 hardcode_action=$hardcode_action
16551 # ### END LIBTOOL CONFIG
16557 cat <<\_LT_EOF
>> "$cfgfile"
16558 # AIX sometimes has problems with the GCC collect2 program. For some
16559 # reason, if we set the COLLECT_NAMES environment variable, the problems
16560 # vanish in a puff of smoke.
16561 if test "X${COLLECT_NAMES+set}" != Xset
; then
16563 export COLLECT_NAMES
16570 ltmain
="$ac_aux_dir/ltmain.sh"
16573 # We use sed instead of cat because bash on DJGPP gets confused if
16574 # if finds mixed CR/LF and LF-only lines. Since sed operates in
16575 # text mode, it properly converts lines to CR/LF. This bash problem
16576 # is reportedly fixed, but why not run on old versions too?
16577 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16578 ||
(rm -f "$cfgfile"; exit 1)
16582 cat << \_LT_EOF
>> "$cfgfile"
16584 # func_dirname file append nondir_replacement
16585 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16586 # otherwise set result to NONDIR_REPLACEMENT.
16590 */*) func_dirname_result
="${1%/*}${2}" ;;
16591 * ) func_dirname_result
="${3}" ;;
16595 # func_basename file
16598 func_basename_result
="${1##*/}"
16601 # func_dirname_and_basename file append nondir_replacement
16602 # perform func_basename and func_dirname in a single function
16604 # dirname: Compute the dirname of FILE. If nonempty,
16605 # add APPEND to the result, otherwise set result
16606 # to NONDIR_REPLACEMENT.
16607 # value returned in "$func_dirname_result"
16608 # basename: Compute filename of FILE.
16609 # value retuned in "$func_basename_result"
16610 # Implementation must be kept synchronized with func_dirname
16611 # and func_basename. For efficiency, we do not delegate to
16612 # those functions but instead duplicate the functionality here.
16613 func_dirname_and_basename
()
16616 */*) func_dirname_result
="${1%/*}${2}" ;;
16617 * ) func_dirname_result
="${3}" ;;
16619 func_basename_result
="${1##*/}"
16622 # func_stripname prefix suffix name
16623 # strip PREFIX and SUFFIX off of NAME.
16624 # PREFIX and SUFFIX must not contain globbing or regex special
16625 # characters, hashes, percent signs, but SUFFIX may contain a leading
16626 # dot (in which case that matches only a dot).
16629 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16630 # positional parameters, so assign one to ordinary parameter first.
16631 func_stripname_result
=${3}
16632 func_stripname_result
=${func_stripname_result#"${1}"}
16633 func_stripname_result
=${func_stripname_result%"${2}"}
16639 func_opt_split_opt
=${1%%=*}
16640 func_opt_split_arg
=${1#*=}
16647 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
16648 *) func_lo2o_result
=${1} ;;
16652 # func_xform libobj-or-source
16655 func_xform_result
=${1%.*}.lo
16658 # func_arith arithmetic-term...
16661 func_arith_result
=$
(( $
* ))
16665 # STRING may not start with a hyphen.
16668 func_len_result
=${#1}
16673 *) # Bourne compatible functions.
16674 cat << \_LT_EOF
>> "$cfgfile"
16676 # func_dirname file append nondir_replacement
16677 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
16678 # otherwise set result to NONDIR_REPLACEMENT.
16681 # Extract subdirectory from the argument.
16682 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16683 if test "X$func_dirname_result" = "X${1}"; then
16684 func_dirname_result
="${3}"
16686 func_dirname_result
="$func_dirname_result${2}"
16690 # func_basename file
16693 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
16697 # func_stripname prefix suffix name
16698 # strip PREFIX and SUFFIX off of NAME.
16699 # PREFIX and SUFFIX must not contain globbing or regex special
16700 # characters, hashes, percent signs, but SUFFIX may contain a leading
16701 # dot (in which case that matches only a dot).
16702 # func_strip_suffix prefix name
16706 .
*) func_stripname_result
=`$ECHO "X${3}" \
16707 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16708 *) func_stripname_result
=`$ECHO "X${3}" \
16709 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16714 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
16715 my_sed_long_arg
='1s/^-[^=]*=//'
16720 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16721 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16727 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16730 # func_xform libobj-or-source
16733 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16736 # func_arith arithmetic-term...
16739 func_arith_result
=`expr "$@"`
16743 # STRING may not start with a hyphen.
16746 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16752 case $lt_shell_append in
16754 cat << \_LT_EOF
>> "$cfgfile"
16756 # func_append var value
16757 # Append VALUE to the end of shell variable VAR.
16765 cat << \_LT_EOF
>> "$cfgfile"
16767 # func_append var value
16768 # Append VALUE to the end of shell variable VAR.
16779 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16780 ||
(rm -f "$cfgfile"; exit 1)
16782 mv -f "$cfgfile" "$ofile" ||
16783 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16794 ac_clean_files
=$ac_clean_files_save
16796 test $ac_write_fail = 0 ||
16797 as_fn_error
"write failure creating $CONFIG_STATUS" "$LINENO" 5
16800 # configure is writing to config.log, and then calls config.status.
16801 # config.status does its own redirection, appending to config.log.
16802 # Unfortunately, on DOS this fails, as config.log is still kept open
16803 # by configure, so config.status won't be able to write to it; its
16804 # output is simply discarded. So we exec the FD to /dev/null,
16805 # effectively closing config.log, so it can be properly (re)opened and
16806 # appended to by config.status. When coming back to configure, we
16807 # need to make the FD available again.
16808 if test "$no_create" != yes; then
16810 ac_config_status_args
=
16811 test "$silent" = yes &&
16812 ac_config_status_args
="$ac_config_status_args --quiet"
16814 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16816 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16817 # would make configure fail if this is the last instruction.
16818 $ac_cs_success || as_fn_exit $?
16820 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16822 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16826 chmod +x xml2-config
16827 echo Done configuring