2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
200 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 PATH=/empty FPATH=/empty; export PATH FPATH
205 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207 test \$(( 1 + 1 )) = 2 || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir=.
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
246 if test "x$CONFIG_SHELL" != x; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
256 *v*x* | *x*v* ) as_opts=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir=./$as_dir;;
329 test -d "$as_dir" || eval $as_mkdir_p || {
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
406 as_val=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status=$1; test $as_status -eq 0 && as_status=1
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
537 elif ln conf$$.file conf$$ 2>/dev/null; then
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
551 test -d ./-p && rmdir ./-p
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix=/usr/local
580 ac_config_libobj_dir=.
587 # Identity of this package.
595 ac_unique_file="entities.c"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars='am__EXEEXT_FALSE
651 CYGWIN_EXTRA_PYTHON_LIBADD
653 WIN32_EXTRA_PYTHON_LIBADD
700 WITH_SAX1_SOURCES_FALSE
701 WITH_SAX1_SOURCES_TRUE
723 WITH_TRIO_SOURCES_FALSE
724 WITH_TRIO_SOURCES_TRUE
745 USE_VERSION_SCRIPT_FALSE
746 USE_VERSION_SCRIPT_TRUE
809 INSTALL_STRIP_PROGRAM
825 LIBXML_VERSION_NUMBER
840 MAINTAINER_MODE_FALSE
869 program_transform_name
882 enable_option_checking
883 enable_maintainer_mode
885 enable_dependency_tracking
915 with_python_install_dir
938 ac_precious_vars='build_alias
959 # Initialize some variables set by options.
961 ac_init_version=false
962 ac_unrecognized_opts=
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
973 program_transform_name=s,x,x,
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir='${exec_prefix}/bin'
988 sbindir='${exec_prefix}/sbin'
989 libexecdir='${exec_prefix}/libexec'
990 datarootdir='${prefix}/share'
991 datadir='${datarootdir}'
992 sysconfdir='${prefix}/etc'
993 sharedstatedir='${prefix}/com'
994 localstatedir='${prefix}/var'
995 includedir='${prefix}/include'
996 oldincludedir='/usr/include'
997 docdir='${datarootdir}/doc/${PACKAGE}'
998 infodir='${datarootdir}/info'
1003 libdir='${exec_prefix}/lib'
1004 localedir='${datarootdir}/locale'
1005 mandir='${datarootdir}/man'
1011 # If the previous option needs an argument, assign it.
1012 if test -n "$ac_prev"; then
1013 eval $ac_prev=\$ac_option
1019 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1024 # Accept the important Cygnus configure options, so we can diagnose typos.
1026 case $ac_dashdash$ac_option in
1030 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033 bindir=$ac_optarg ;;
1035 -build | --build | --buil | --bui | --bu)
1036 ac_prev=build_alias ;;
1037 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038 build_alias=$ac_optarg ;;
1040 -cache-file | --cache-file | --cache-fil | --cache-fi \
1041 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042 ac_prev=cache_file ;;
1043 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045 cache_file=$ac_optarg ;;
1047 --config-cache | -C)
1048 cache_file=config.cache ;;
1050 -datadir | --datadir | --datadi | --datad)
1052 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053 datadir=$ac_optarg ;;
1055 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056 | --dataroo | --dataro | --datar)
1057 ac_prev=datarootdir ;;
1058 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060 datarootdir=$ac_optarg ;;
1062 -disable-* | --disable-*)
1063 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066 as_fn_error $? "invalid feature name: $ac_useropt"
1067 ac_useropt_orig=$ac_useropt
1068 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_$ac_useropt"
1073 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1074 ac_unrecognized_sep=', ';;
1076 eval enable_$ac_useropt=no ;;
1078 -docdir | --docdir | --docdi | --doc | --do)
1080 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081 docdir=$ac_optarg ;;
1083 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1085 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086 dvidir=$ac_optarg ;;
1088 -enable-* | --enable-*)
1089 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090 # Reject names that are not valid shell variable names.
1091 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092 as_fn_error $? "invalid feature name: $ac_useropt"
1093 ac_useropt_orig=$ac_useropt
1094 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095 case $ac_user_opts in
1097 "enable_$ac_useropt"
1099 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100 ac_unrecognized_sep=', ';;
1102 eval enable_$ac_useropt=\$ac_optarg ;;
1104 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106 | --exec | --exe | --ex)
1107 ac_prev=exec_prefix ;;
1108 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110 | --exec=* | --exe=* | --ex=*)
1111 exec_prefix=$ac_optarg ;;
1113 -gas | --gas | --ga | --g)
1114 # Obsolete; use --with-gas.
1117 -help | --help | --hel | --he | -h)
1118 ac_init_help=long ;;
1119 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120 ac_init_help=recursive ;;
1121 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122 ac_init_help=short ;;
1124 -host | --host | --hos | --ho)
1125 ac_prev=host_alias ;;
1126 -host=* | --host=* | --hos=* | --ho=*)
1127 host_alias=$ac_optarg ;;
1129 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1131 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1133 htmldir=$ac_optarg ;;
1135 -includedir | --includedir | --includedi | --included | --include \
1136 | --includ | --inclu | --incl | --inc)
1137 ac_prev=includedir ;;
1138 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139 | --includ=* | --inclu=* | --incl=* | --inc=*)
1140 includedir=$ac_optarg ;;
1142 -infodir | --infodir | --infodi | --infod | --info | --inf)
1144 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145 infodir=$ac_optarg ;;
1147 -libdir | --libdir | --libdi | --libd)
1149 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150 libdir=$ac_optarg ;;
1152 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153 | --libexe | --libex | --libe)
1154 ac_prev=libexecdir ;;
1155 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156 | --libexe=* | --libex=* | --libe=*)
1157 libexecdir=$ac_optarg ;;
1159 -localedir | --localedir | --localedi | --localed | --locale)
1160 ac_prev=localedir ;;
1161 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162 localedir=$ac_optarg ;;
1164 -localstatedir | --localstatedir | --localstatedi | --localstated \
1165 | --localstate | --localstat | --localsta | --localst | --locals)
1166 ac_prev=localstatedir ;;
1167 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169 localstatedir=$ac_optarg ;;
1171 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1173 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174 mandir=$ac_optarg ;;
1176 -nfp | --nfp | --nf)
1177 # Obsolete; use --without-fp.
1180 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181 | --no-cr | --no-c | -n)
1184 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1188 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190 | --oldin | --oldi | --old | --ol | --o)
1191 ac_prev=oldincludedir ;;
1192 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195 oldincludedir=$ac_optarg ;;
1197 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1199 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200 prefix=$ac_optarg ;;
1202 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203 | --program-pre | --program-pr | --program-p)
1204 ac_prev=program_prefix ;;
1205 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207 program_prefix=$ac_optarg ;;
1209 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210 | --program-suf | --program-su | --program-s)
1211 ac_prev=program_suffix ;;
1212 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214 program_suffix=$ac_optarg ;;
1216 -program-transform-name | --program-transform-name \
1217 | --program-transform-nam | --program-transform-na \
1218 | --program-transform-n | --program-transform- \
1219 | --program-transform | --program-transfor \
1220 | --program-transfo | --program-transf \
1221 | --program-trans | --program-tran \
1222 | --progr-tra | --program-tr | --program-t)
1223 ac_prev=program_transform_name ;;
1224 -program-transform-name=* | --program-transform-name=* \
1225 | --program-transform-nam=* | --program-transform-na=* \
1226 | --program-transform-n=* | --program-transform-=* \
1227 | --program-transform=* | --program-transfor=* \
1228 | --program-transfo=* | --program-transf=* \
1229 | --program-trans=* | --program-tran=* \
1230 | --progr-tra=* | --program-tr=* | --program-t=*)
1231 program_transform_name=$ac_optarg ;;
1233 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1235 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236 pdfdir=$ac_optarg ;;
1238 -psdir | --psdir | --psdi | --psd | --ps)
1240 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1243 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244 | -silent | --silent | --silen | --sile | --sil)
1247 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1249 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1251 sbindir=$ac_optarg ;;
1253 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255 | --sharedst | --shareds | --shared | --share | --shar \
1257 ac_prev=sharedstatedir ;;
1258 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1262 sharedstatedir=$ac_optarg ;;
1264 -site | --site | --sit)
1266 -site=* | --site=* | --sit=*)
1269 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1271 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272 srcdir=$ac_optarg ;;
1274 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275 | --syscon | --sysco | --sysc | --sys | --sy)
1276 ac_prev=sysconfdir ;;
1277 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279 sysconfdir=$ac_optarg ;;
1281 -target | --target | --targe | --targ | --tar | --ta | --t)
1282 ac_prev=target_alias ;;
1283 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284 target_alias=$ac_optarg ;;
1286 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1289 -version | --version | --versio | --versi | --vers | -V)
1290 ac_init_version=: ;;
1293 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294 # Reject names that are not valid shell variable names.
1295 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 as_fn_error $? "invalid package name: $ac_useropt"
1297 ac_useropt_orig=$ac_useropt
1298 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299 case $ac_user_opts in
1303 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304 ac_unrecognized_sep=', ';;
1306 eval with_$ac_useropt=\$ac_optarg ;;
1308 -without-* | --without-*)
1309 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310 # Reject names that are not valid shell variable names.
1311 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312 as_fn_error $? "invalid package name: $ac_useropt"
1313 ac_useropt_orig=$ac_useropt
1314 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315 case $ac_user_opts in
1319 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320 ac_unrecognized_sep=', ';;
1322 eval with_$ac_useropt=no ;;
1325 # Obsolete; use --with-x.
1328 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329 | --x-incl | --x-inc | --x-in | --x-i)
1330 ac_prev=x_includes ;;
1331 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333 x_includes=$ac_optarg ;;
1335 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337 ac_prev=x_libraries ;;
1338 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340 x_libraries=$ac_optarg ;;
1342 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1343 Try \`$0 --help' for more information"
1347 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348 # Reject names that are not valid shell variable names.
1349 case $ac_envvar in #(
1350 '' | [0-9]* | *[!_$as_cr_alnum]* )
1351 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1353 eval $ac_envvar=\$ac_optarg
1354 export $ac_envvar ;;
1357 # FIXME: should be removed in autoconf 3.0.
1358 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1367 if test -n "$ac_prev"; then
1368 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369 as_fn_error $? "missing argument to $ac_option"
1372 if test -n "$ac_unrecognized_opts"; then
1373 case $enable_option_checking in
1375 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1376 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 # Check all directory arguments for consistency.
1381 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382 datadir sysconfdir sharedstatedir localstatedir includedir \
1383 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384 libdir localedir mandir
1386 eval ac_val=\$$ac_var
1387 # Remove trailing slashes.
1390 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391 eval $ac_var=\$ac_val;;
1393 # Be sure to have absolute directory names.
1395 [\\/$]* | ?:[\\/]* ) continue;;
1396 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1398 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1406 target=$target_alias
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410 if test "x$build_alias" = x; then
1411 cross_compiling=maybe
1412 elif test "x$build_alias" != "x$host_alias"; then
1418 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1420 test "$silent" = yes && exec 6>/dev/null
1423 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1424 ac_ls_di=`ls -di .` &&
1425 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1426 as_fn_error $? "working directory cannot be determined"
1427 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1428 as_fn_error $? "pwd does not report name of working directory"
1431 # Find the source files, if location was not specified.
1432 if test -z "$srcdir"; then
1433 ac_srcdir_defaulted=yes
1434 # Try the directory containing this script, then the parent directory.
1435 ac_confdir=`$as_dirname -- "$as_myself" ||
1436 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1437 X"$as_myself" : 'X\(//\)[^/]' \| \
1438 X"$as_myself" : 'X\(//\)$' \| \
1439 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1440 $as_echo X"$as_myself" |
1441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1459 if test ! -r "$srcdir/$ac_unique_file"; then
1463 ac_srcdir_defaulted=no
1465 if test ! -r "$srcdir/$ac_unique_file"; then
1466 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1467 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1469 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1471 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1473 # When building in place, set srcdir=.
1474 if test "$ac_abs_confdir" = "$ac_pwd"; then
1477 # Remove unnecessary trailing slashes from srcdir.
1478 # Double slashes in file names in object file debugging info
1479 # mess up M-x gdb in Emacs.
1481 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1483 for ac_var in $ac_precious_vars; do
1484 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1485 eval ac_env_${ac_var}_value=\$${ac_var}
1486 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1487 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1491 # Report the --help message.
1493 if test "$ac_init_help" = "long"; then
1494 # Omit some internal or obsolete options to make the list less imposing.
1495 # This message is too long to be a string in the A/UX 3.1 sh.
1497 \`configure' configures this package to adapt to many kinds of systems.
1499 Usage: $0 [OPTION]... [VAR=VALUE]...
1501 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1502 VAR=VALUE. See below for descriptions of some of the useful variables.
1504 Defaults for the options are specified in brackets.
1507 -h, --help display this help and exit
1508 --help=short display options specific to this package
1509 --help=recursive display the short help of all the included packages
1510 -V, --version display version information and exit
1511 -q, --quiet, --silent do not print \`checking ...' messages
1512 --cache-file=FILE cache test results in FILE [disabled]
1513 -C, --config-cache alias for \`--cache-file=config.cache'
1514 -n, --no-create do not create output files
1515 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1517 Installation directories:
1518 --prefix=PREFIX install architecture-independent files in PREFIX
1519 [$ac_default_prefix]
1520 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1523 By default, \`make install' will install all the files in
1524 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1525 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1526 for instance \`--prefix=\$HOME'.
1528 For better control, use the options below.
1530 Fine tuning of the installation directories:
1531 --bindir=DIR user executables [EPREFIX/bin]
1532 --sbindir=DIR system admin executables [EPREFIX/sbin]
1533 --libexecdir=DIR program executables [EPREFIX/libexec]
1534 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1535 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1536 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1537 --libdir=DIR object code libraries [EPREFIX/lib]
1538 --includedir=DIR C header files [PREFIX/include]
1539 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1540 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1541 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1542 --infodir=DIR info documentation [DATAROOTDIR/info]
1543 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1544 --mandir=DIR man documentation [DATAROOTDIR/man]
1545 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1546 --htmldir=DIR html documentation [DOCDIR]
1547 --dvidir=DIR dvi documentation [DOCDIR]
1548 --pdfdir=DIR pdf documentation [DOCDIR]
1549 --psdir=DIR ps documentation [DOCDIR]
1555 --program-prefix=PREFIX prepend PREFIX to installed program names
1556 --program-suffix=SUFFIX append SUFFIX to installed program names
1557 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1560 --build=BUILD configure for building on BUILD [guessed]
1561 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1565 if test -n "$ac_init_help"; then
1570 --disable-option-checking ignore unrecognized --enable/--with options
1571 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1572 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1573 --disable-maintainer-mode
1574 disable make rules and dependencies not useful (and
1575 sometimes confusing) to the casual installer
1576 --enable-silent-rules less verbose build output (undo: "make V=1")
1577 --disable-silent-rules verbose build output (undo: "make V=0")
1578 --enable-dependency-tracking
1579 do not reject slow dependency extractors
1580 --disable-dependency-tracking
1581 speeds up one-time build
1582 --enable-shared[=PKGS] build shared libraries [default=yes]
1583 --enable-static[=PKGS] build static libraries [default=yes]
1584 --enable-fast-install[=PKGS]
1585 optimize for fast installation [default=yes]
1586 --disable-libtool-lock avoid locking (might break parallel builds)
1587 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no]
1588 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
1591 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1592 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1593 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1595 --with-aix-soname=aix|svr4|both
1596 shared library versioning (aka "SONAME") variant to
1597 provide on AIX, [default=aix].
1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1599 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1600 compiler's sysroot if not specified).
1601 --with-c14n add the Canonicalization support (on)
1602 --with-catalog add the Catalog support (on)
1603 --with-debug add the debugging module (on)
1604 --with-docbook add Docbook SGML support (on)
1605 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
1606 --with-ftp add the FTP support (on)
1607 --with-history add history support to xmllint shell(off)
1608 --with-html add the HTML support (on)
1609 --with-html-dir=path path to base html directory, default
1611 --with-html-subdir=path directory used under html-dir, default
1612 $PACKAGE-$VERSION/html
1613 --with-http add the HTTP support (on)
1614 --with-iconv[=DIR] add ICONV support (on)
1615 --with-icu add ICU support (off)
1616 --with-iso8859x add ISO8859X support if no iconv (on)
1617 --with-legacy add deprecated APIs for compatibility (on)
1618 --with-mem-debug add the memory debugging module (off)
1619 --with-minimum build a minimally sized library (off)
1620 --with-output add the serialization support (on)
1621 --with-pattern add the xmlPattern selection interface (on)
1622 --with-push add the PUSH parser interfaces (on)
1623 --with-python[=DIR] build Python bindings if found
1624 --with-python-install-dir=DIR
1625 install Python bindings in DIR
1626 --with-reader add the xmlReader parsing interface (on)
1627 --with-readline=DIR use readline in DIR
1628 --with-regexps add Regular Expressions support (on)
1629 --with-run-debug add the runtime debugging module (off)
1630 --with-sax1 add the older SAX1 interface (on)
1631 --with-schemas add Relax-NG and Schemas support (on)
1632 --with-schematron add Schematron support (on)
1633 --with-threads add multithread support(on)
1634 --with-thread-alloc add per-thread memory(off)
1635 --with-tree add the DOM like tree manipulation APIs (on)
1636 --with-valid add the DTD validation support (on)
1637 --with-writer add the xmlWriter saving interface (on)
1638 --with-xinclude add the XInclude support (on)
1639 --with-xpath add the XPATH support (on)
1640 --with-xptr add the XPointer support (on)
1641 --with-modules add the dynamic modules support (on)
1642 --with-zlib[=DIR] use libz in DIR
1643 --with-lzma[=DIR] use liblzma in DIR
1644 --with-coverage build for code coverage with GCC (off)
1646 Some influential environment variables:
1647 CC C compiler command
1648 CFLAGS C compiler flags
1649 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1650 nonstandard directory <lib dir>
1651 LIBS libraries to pass to the linker, e.g. -l<library>
1652 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1653 you have headers in a nonstandard directory <include dir>
1655 PKG_CONFIG path to pkg-config utility
1657 directories to add to pkg-config's search path
1659 path overriding pkg-config's built-in search path
1661 User-defined run-time library search path.
1662 Z_CFLAGS C compiler flags for Z, overriding pkg-config
1663 Z_LIBS linker flags for Z, overriding pkg-config
1664 LZMA_CFLAGS C compiler flags for LZMA, overriding pkg-config
1665 LZMA_LIBS linker flags for LZMA, overriding pkg-config
1666 ICU_CFLAGS C compiler flags for ICU, overriding pkg-config
1667 ICU_LIBS linker flags for ICU, overriding pkg-config
1669 Use these variables to override the choices made by `configure' or to help
1670 it to find libraries and programs with nonstandard names/locations.
1672 Report bugs to the package provider.
1677 if test "$ac_init_help" = "recursive"; then
1678 # If there are subdirs, report their specific --help.
1679 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1680 test -d "$ac_dir" ||
1681 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1686 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1688 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1689 # A ".." for each directory in $ac_dir_suffix.
1690 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1691 case $ac_top_builddir_sub in
1692 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1693 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1696 ac_abs_top_builddir=$ac_pwd
1697 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1698 # for backward compatibility:
1699 ac_top_builddir=$ac_top_build_prefix
1702 .) # We are building in place.
1704 ac_top_srcdir=$ac_top_builddir_sub
1705 ac_abs_top_srcdir=$ac_pwd ;;
1706 [\\/]* | ?:[\\/]* ) # Absolute name.
1707 ac_srcdir=$srcdir$ac_dir_suffix;
1708 ac_top_srcdir=$srcdir
1709 ac_abs_top_srcdir=$srcdir ;;
1711 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1712 ac_top_srcdir=$ac_top_build_prefix$srcdir
1713 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1715 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1717 cd "$ac_dir" || { ac_status=$?; continue; }
1718 # Check for guested configure.
1719 if test -f "$ac_srcdir/configure.gnu"; then
1721 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1722 elif test -f "$ac_srcdir/configure"; then
1724 $SHELL "$ac_srcdir/configure" --help=recursive
1726 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1728 cd "$ac_pwd" || { ac_status=$?; break; }
1732 test -n "$ac_init_help" && exit $ac_status
1733 if $ac_init_version; then
1736 generated by GNU Autoconf 2.69
1738 Copyright (C) 2012 Free Software Foundation, Inc.
1739 This configure script is free software; the Free Software Foundation
1740 gives unlimited permission to copy, distribute and modify it.
1745 ## ------------------------ ##
1746 ## Autoconf initialization. ##
1747 ## ------------------------ ##
1749 # ac_fn_c_try_compile LINENO
1750 # --------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_c_try_compile ()
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext
1756 if { { ac_try="$ac_compile"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1785 } # ac_fn_c_try_compile
1787 # ac_fn_c_try_cpp LINENO
1788 # ----------------------
1789 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } > conftest.i && {
1809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1810 test ! -s conftest.err
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 as_fn_set_status $ac_retval
1824 # ac_fn_c_try_link LINENO
1825 # -----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded.
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 rm -f conftest.$ac_objext conftest$ac_exeext
1831 if { { ac_try="$ac_link"
1833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1834 *) ac_try_echo=$ac_try;;
1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>conftest.err
1840 if test -s conftest.err; then
1841 grep -v '^ *+' conftest.err >conftest.er1
1842 cat conftest.er1 >&5
1843 mv -f conftest.er1 conftest.err
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && {
1847 test -z "$ac_c_werror_flag" ||
1848 test ! -s conftest.err
1849 } && test -s conftest$ac_exeext && {
1850 test "$cross_compiling" = yes ||
1851 test -x conftest$ac_exeext
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1860 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1861 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1862 # interfere with the next link command; also delete a directory that is
1863 # left behind by Apple's compiler. We do this before executing the actions.
1864 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1866 as_fn_set_status $ac_retval
1868 } # ac_fn_c_try_link
1870 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1871 # -------------------------------------------------------
1872 # Tests whether HEADER exists and can be compiled using the include files in
1873 # INCLUDES, setting the cache variable VAR accordingly.
1874 ac_fn_c_check_header_compile ()
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1878 $as_echo_n "checking for $2... " >&6; }
1879 if eval \${$3+:} false; then :
1880 $as_echo_n "(cached) " >&6
1882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1887 if ac_fn_c_try_compile "$LINENO"; then :
1892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1896 $as_echo "$ac_res" >&6; }
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 } # ac_fn_c_check_header_compile
1901 # ac_fn_c_try_run LINENO
1902 # ----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1904 # that executables *can* be run.
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_link"
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>&5
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1919 { { case "(($ac_try" in
1920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1921 *) ac_try_echo=$ac_try;;
1923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1924 $as_echo "$ac_try_echo"; } >&5
1925 (eval "$ac_try") 2>&5
1927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1928 test $ac_status = 0; }; }; then :
1931 $as_echo "$as_me: program exited with status $ac_status" >&5
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1935 ac_retval=$ac_status
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status $ac_retval
1943 # ac_fn_c_check_func LINENO FUNC VAR
1944 # ----------------------------------
1945 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1946 ac_fn_c_check_func ()
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if eval \${$3+:} false; then :
1952 $as_echo_n "(cached) " >&6
1954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1956 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1958 #define $2 innocuous_$2
1960 /* System header to define __stub macros and hopefully few prototypes,
1961 which can conflict with char $2 (); below.
1962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1963 <limits.h> exists even on freestanding compilers. */
1966 # include <limits.h>
1968 # include <assert.h>
1973 /* Override any GCC internal prototype to avoid an error.
1974 Use char because int might match the return type of a GCC
1975 builtin and then its argument prototype would still apply. */
1980 /* The GNU C library defines this for functions which it implements
1981 to always fail with ENOSYS. Some functions are actually named
1982 something starting with __ and the normal name is an alias. */
1983 #if defined __stub_$2 || defined __stub___$2
1995 if ac_fn_c_try_link "$LINENO"; then :
2000 rm -f core conftest.err conftest.$ac_objext \
2001 conftest$ac_exeext conftest.$ac_ext
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005 $as_echo "$ac_res" >&6; }
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2008 } # ac_fn_c_check_func
2010 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2011 # -------------------------------------------------------
2012 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2013 # the include files in INCLUDES and setting the cache variable VAR
2015 ac_fn_c_check_header_mongrel ()
2017 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2018 if eval \${$3+:} false; then :
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020 $as_echo_n "checking for $2... " >&6; }
2021 if eval \${$3+:} false; then :
2022 $as_echo_n "(cached) " >&6
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2028 # Is the header compilable?
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2030 $as_echo_n "checking $2 usability... " >&6; }
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2036 if ac_fn_c_try_compile "$LINENO"; then :
2037 ac_header_compiler=yes
2039 ac_header_compiler=no
2041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2043 $as_echo "$ac_header_compiler" >&6; }
2045 # Is the header present?
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2047 $as_echo_n "checking $2 presence... " >&6; }
2048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2052 if ac_fn_c_try_cpp "$LINENO"; then :
2053 ac_header_preproc=yes
2055 ac_header_preproc=no
2057 rm -f conftest.err conftest.i conftest.$ac_ext
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2059 $as_echo "$ac_header_preproc" >&6; }
2061 # So? What about this header?
2062 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2065 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2067 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2071 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2073 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2075 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2077 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2079 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2083 $as_echo_n "checking for $2... " >&6; }
2084 if eval \${$3+:} false; then :
2085 $as_echo_n "(cached) " >&6
2087 eval "$3=\$ac_header_compiler"
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2091 $as_echo "$ac_res" >&6; }
2093 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 } # ac_fn_c_check_header_mongrel
2097 # ac_fn_c_find_uintX_t LINENO BITS VAR
2098 # ------------------------------------
2099 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2101 ac_fn_c_find_uintX_t ()
2103 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2105 $as_echo_n "checking for uint$2_t... " >&6; }
2106 if eval \${$3+:} false; then :
2107 $as_echo_n "(cached) " >&6
2110 # Order is important - never check a type that is potentially smaller
2111 # than half of the expected target width.
2112 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2113 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 $ac_includes_default
2120 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2122 return test_array [0];
2128 if ac_fn_c_try_compile "$LINENO"; then :
2133 eval "$3=\$ac_type" ;;
2136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2137 if eval test \"x\$"$3"\" = x"no"; then :
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2147 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 } # ac_fn_c_find_uintX_t
2150 cat >config.log <<_ACEOF
2151 This file contains any messages produced by compilers while
2152 running configure, to aid debugging if configure makes a mistake.
2154 It was created by $as_me, which was
2155 generated by GNU Autoconf 2.69. Invocation command line was
2167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2179 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 $as_echo "PATH: $as_dir"
2207 # Keep a trace of the command line.
2208 # Strip out --no-create and --no-recursion so they do not pile up.
2209 # Strip out --silent because we don't want to record it for future runs.
2210 # Also quote any args containing shell meta-characters.
2211 # Make two passes to allow for proper duplicate-argument suppression.
2215 ac_must_keep_next=false
2221 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2223 | -silent | --silent | --silen | --sile | --sil)
2226 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2229 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2231 as_fn_append ac_configure_args1 " '$ac_arg'"
2232 if test $ac_must_keep_next = true; then
2233 ac_must_keep_next=false # Got value, back to normal.
2236 *=* | --config-cache | -C | -disable-* | --disable-* \
2237 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2238 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2239 | -with-* | --with-* | -without-* | --without-* | --x)
2240 case "$ac_configure_args0 " in
2241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2244 -* ) ac_must_keep_next=true ;;
2247 as_fn_append ac_configure_args " '$ac_arg'"
2252 { ac_configure_args0=; unset ac_configure_args0;}
2253 { ac_configure_args1=; unset ac_configure_args1;}
2255 # When interrupted or exit'd, cleanup temporary files, and complete
2256 # config.log. We remove comments because anyway the quotes in there
2257 # would cause problems or look ugly.
2258 # WARNING: Use '\'' to represent an apostrophe within the trap.
2259 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2260 trap 'exit_status=$?
2261 # Save into config.log some information that might help in debugging.
2265 $as_echo "## ---------------- ##
2266 ## Cache variables. ##
2267 ## ---------------- ##"
2269 # The following way of writing the cache mishandles newlines in values,
2271 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2272 eval ac_val=\$$ac_var
2276 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2277 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2280 _ | IFS | as_nl) ;; #(
2281 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2282 *) { eval $ac_var=; unset $ac_var;} ;;
2287 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2288 *${as_nl}ac_space=\ *)
2290 "s/'\''/'\''\\\\'\'''\''/g;
2291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2294 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2301 $as_echo "## ----------------- ##
2302 ## Output variables. ##
2303 ## ----------------- ##"
2305 for ac_var in $ac_subst_vars
2307 eval ac_val=\$$ac_var
2309 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 $as_echo "$ac_var='\''$ac_val'\''"
2315 if test -n "$ac_subst_files"; then
2316 $as_echo "## ------------------- ##
2317 ## File substitutions. ##
2318 ## ------------------- ##"
2320 for ac_var in $ac_subst_files
2322 eval ac_val=\$$ac_var
2324 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2326 $as_echo "$ac_var='\''$ac_val'\''"
2331 if test -s confdefs.h; then
2332 $as_echo "## ----------- ##
2339 test "$ac_signal" != 0 &&
2340 $as_echo "$as_me: caught signal $ac_signal"
2341 $as_echo "$as_me: exit $exit_status"
2343 rm -f core *.core core.conftest.* &&
2344 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2347 for ac_signal in 1 2 13 15; do
2348 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2352 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2353 rm -f -r conftest* confdefs.h
2355 $as_echo "/* confdefs.h */" > confdefs.h
2357 # Predefined preprocessor variables.
2359 cat >>confdefs.h <<_ACEOF
2360 #define PACKAGE_NAME "$PACKAGE_NAME"
2363 cat >>confdefs.h <<_ACEOF
2364 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2367 cat >>confdefs.h <<_ACEOF
2368 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2371 cat >>confdefs.h <<_ACEOF
2372 #define PACKAGE_STRING "$PACKAGE_STRING"
2375 cat >>confdefs.h <<_ACEOF
2376 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2379 cat >>confdefs.h <<_ACEOF
2380 #define PACKAGE_URL "$PACKAGE_URL"
2384 # Let the site file select an alternate cache file if it wants to.
2385 # Prefer an explicitly selected file to automatically selected ones.
2388 if test -n "$CONFIG_SITE"; then
2389 # We do not want a PATH search for config.site.
2390 case $CONFIG_SITE in #((
2391 -*) ac_site_file1=./$CONFIG_SITE;;
2392 */*) ac_site_file1=$CONFIG_SITE;;
2393 *) ac_site_file1=./$CONFIG_SITE;;
2395 elif test "x$prefix" != xNONE; then
2396 ac_site_file1=$prefix/share/config.site
2397 ac_site_file2=$prefix/etc/config.site
2399 ac_site_file1=$ac_default_prefix/share/config.site
2400 ac_site_file2=$ac_default_prefix/etc/config.site
2402 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2404 test "x$ac_site_file" = xNONE && continue
2405 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2407 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2408 sed 's/^/| /' "$ac_site_file" >&5
2410 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 as_fn_error $? "failed to load site script $ac_site_file
2413 See \`config.log' for more details" "$LINENO" 5; }
2417 if test -r "$cache_file"; then
2418 # Some versions of bash will fail to source /dev/null (special files
2419 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2420 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2422 $as_echo "$as_me: loading cache $cache_file" >&6;}
2424 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2425 *) . "./$cache_file";;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2430 $as_echo "$as_me: creating cache $cache_file" >&6;}
2434 # Check that the precious variables saved in the cache have kept the same
2436 ac_cache_corrupted=false
2437 for ac_var in $ac_precious_vars; do
2438 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2439 eval ac_new_set=\$ac_env_${ac_var}_set
2440 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2441 eval ac_new_val=\$ac_env_${ac_var}_value
2442 case $ac_old_set,$ac_new_set in
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2445 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2446 ac_cache_corrupted=: ;;
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2449 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2450 ac_cache_corrupted=: ;;
2453 if test "x$ac_old_val" != "x$ac_new_val"; then
2454 # differences in whitespace do not lead to failure.
2455 ac_old_val_w=`echo x $ac_old_val`
2456 ac_new_val_w=`echo x $ac_new_val`
2457 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2459 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2460 ac_cache_corrupted=:
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2463 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2464 eval $ac_var=\$ac_old_val
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2467 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2469 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2472 # Pass precious variables to config.status.
2473 if test "$ac_new_set" = set; then
2475 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2476 *) ac_arg=$ac_var=$ac_new_val ;;
2478 case " $ac_configure_args " in
2479 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2480 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2484 if $ac_cache_corrupted; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2488 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2489 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2491 ## -------------------- ##
2492 ## Main body of script. ##
2493 ## -------------------- ##
2496 ac_cpp='$CPP $CPPFLAGS'
2497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2503 ac_config_headers="$ac_config_headers config.h"
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2507 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2508 # Check whether --enable-maintainer-mode was given.
2509 if test "${enable_maintainer_mode+set}" = set; then :
2510 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2512 USE_MAINTAINER_MODE=yes
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2516 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2517 if test $USE_MAINTAINER_MODE = yes; then
2518 MAINTAINER_MODE_TRUE=
2519 MAINTAINER_MODE_FALSE='#'
2521 MAINTAINER_MODE_TRUE='#'
2522 MAINTAINER_MODE_FALSE=
2525 MAINT=$MAINTAINER_MODE_TRUE
2530 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2531 if test -f "$ac_dir/install-sh"; then
2533 ac_install_sh="$ac_aux_dir/install-sh -c"
2535 elif test -f "$ac_dir/install.sh"; then
2537 ac_install_sh="$ac_aux_dir/install.sh -c"
2539 elif test -f "$ac_dir/shtool"; then
2541 ac_install_sh="$ac_aux_dir/shtool install -c"
2545 if test -z "$ac_aux_dir"; then
2546 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2549 # These three variables are undocumented and unsupported,
2550 # and are intended to be withdrawn in a future Autoconf release.
2551 # They can cause serious problems if a builder's source tree is in a directory
2552 # whose full name contains unusual characters.
2553 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2554 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2555 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2558 # Make sure we can run config.sub.
2559 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2560 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2563 $as_echo_n "checking build system type... " >&6; }
2564 if ${ac_cv_build+:} false; then :
2565 $as_echo_n "(cached) " >&6
2567 ac_build_alias=$build_alias
2568 test "x$ac_build_alias" = x &&
2569 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2570 test "x$ac_build_alias" = x &&
2571 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2572 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2573 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2577 $as_echo "$ac_cv_build" >&6; }
2578 case $ac_cv_build in
2580 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2583 ac_save_IFS=$IFS; IFS='-'
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2593 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2597 $as_echo_n "checking host system type... " >&6; }
2598 if ${ac_cv_host+:} false; then :
2599 $as_echo_n "(cached) " >&6
2601 if test "x$host_alias" = x; then
2602 ac_cv_host=$ac_cv_build
2604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2610 $as_echo "$ac_cv_host" >&6; }
2613 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2616 ac_save_IFS=$IFS; IFS='-'
2622 # Remember, the first character of IFS is used to create $*,
2623 # except with old shells:
2626 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2630 LIBXML_MAJOR_VERSION=2
2631 LIBXML_MINOR_VERSION=9
2632 LIBXML_MICRO_VERSION=4
2633 LIBXML_MICRO_VERSION_SUFFIX=
2634 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2635 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2637 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2639 if test -f CVS/Entries ; then
2640 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2642 if test "$extra" != ""
2644 LIBXML_VERSION_EXTRA="-CVS$extra"
2646 else if test -d .svn ; then
2647 extra=`svn info | grep Revision | sed 's+Revision: ++'`
2649 if test "$extra" != ""
2651 LIBXML_VERSION_EXTRA="-SVN$extra"
2653 else if test -d .git ; then
2654 extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'`
2656 if test "$extra" != ""
2658 LIBXML_VERSION_EXTRA="-GIT$extra"
2671 VERSION=${LIBXML_VERSION}
2673 am__api_version='1.15'
2675 # Find a good install program. We prefer a C program (faster),
2676 # so one script is as good as another. But avoid the broken or
2677 # incompatible versions:
2678 # SysV /etc/install, /usr/sbin/install
2679 # SunOS /usr/etc/install
2680 # IRIX /sbin/install
2682 # AmigaOS /C/install, which installs bootblocks on floppy discs
2683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2686 # OS/2's system install, which has a completely different semantic
2687 # ./install, which can be erroneously created by make from ./install.sh.
2688 # Reject install programs that cannot install multiple files.
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2690 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2691 if test -z "$INSTALL"; then
2692 if ${ac_cv_path_install+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir=.
2700 # Account for people who put trailing slashes in PATH elements.
2701 case $as_dir/ in #((
2702 ./ | .// | /[cC]/* | \
2703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2704 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2707 # OSF1 and SCO ODT 3.0 have their own names for install.
2708 # Don't use installbsd from OSF since it installs stuff as root
2710 for ac_prog in ginstall scoinst install; do
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2713 if test $ac_prog = install &&
2714 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2715 # AIX install. It has an incompatible calling convention.
2717 elif test $ac_prog = install &&
2718 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2719 # program-specific install script used by HP pwplus--don't use.
2722 rm -rf conftest.one conftest.two conftest.dir
2723 echo one > conftest.one
2724 echo two > conftest.two
2726 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2727 test -s conftest.one && test -s conftest.two &&
2728 test -s conftest.dir/conftest.one &&
2729 test -s conftest.dir/conftest.two
2731 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2744 rm -rf conftest.one conftest.two conftest.dir
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL=$ac_cv_path_install
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL=$ac_install_sh
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2758 $as_echo "$INSTALL" >&6; }
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2769 $as_echo_n "checking whether build environment is sane... " >&6; }
2770 # Reject unsafe characters in $srcdir or the absolute working directory
2771 # name. Accept space and tab only in the latter.
2775 *[\\\"\#\$\&\'\`$am_lf]*)
2776 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2779 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2780 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2783 # Do 'set' in a subshell so we don't clobber the current shell's
2784 # arguments. Must try -L first in case configure is actually a
2785 # symlink; some systems play weird games with the mod time of symlinks
2786 # (eg FreeBSD returns the mod time of the symlink's containing
2790 for am_try in 1 2; do
2791 echo "timestamp, slept: $am_has_slept" > conftest.file
2792 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2793 if test "$*" = "X"; then
2795 set X `ls -t "$srcdir/configure" conftest.file`
2797 if test "$*" != "X $srcdir/configure conftest.file" \
2798 && test "$*" != "X conftest.file $srcdir/configure"; then
2800 # If neither matched, then we have a broken ls. This can happen
2801 # if, for instance, CONFIG_SHELL is bash and it inherits a
2802 # broken ls alias from the environment. This has actually
2803 # happened. Such a system could not be considered "sane".
2804 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2805 alias in your environment" "$LINENO" 5
2807 if test "$2" = conftest.file || test $am_try -eq 2; then
2814 test "$2" = conftest.file
2820 as_fn_error $? "newly created file is older than distributed files!
2821 Check your system clock" "$LINENO" 5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2824 $as_echo "yes" >&6; }
2825 # If we didn't sleep, we still need to ensure time stamps of config.status and
2826 # generated files are strictly newer.
2828 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2835 test "$program_prefix" != NONE &&
2836 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2837 # Use a double $ so make ignores it.
2838 test "$program_suffix" != NONE &&
2839 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2840 # Double any \ or $.
2841 # By default was `s,x,x', remove it if useless.
2842 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2843 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2845 # Expand $ac_aux_dir to an absolute path.
2846 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2848 if test x"${MISSING+set}" != xset; then
2851 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2853 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2856 # Use eval to expand $SHELL
2857 if eval "$MISSING --is-lightweight"; then
2858 am_missing_run="$MISSING "
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2862 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2865 if test x"${install_sh+set}" != xset; then
2868 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2870 install_sh="\${SHELL} $am_aux_dir/install-sh"
2874 # Installed binaries are usually stripped using 'strip' when the user
2875 # run "make install-strip". However 'strip' might not be the right
2876 # tool to use in cross-compilation environments, therefore Automake
2877 # will honor the 'STRIP' environment variable to overrule this program.
2878 if test "$cross_compiling" != no; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}strip; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_STRIP+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$STRIP"; then
2888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 STRIP=$ac_cv_prog_STRIP
2908 if test -n "$STRIP"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2910 $as_echo "$STRIP" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2918 if test -z "$ac_cv_prog_STRIP"; then
2920 # Extract the first word of "strip", so it can be a program name with args.
2921 set dummy strip; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_STRIP"; then
2928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937 ac_cv_prog_ac_ct_STRIP="strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2948 if test -n "$ac_ct_STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2950 $as_echo "$ac_ct_STRIP" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2956 if test "x$ac_ct_STRIP" = x; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2968 STRIP="$ac_cv_prog_STRIP"
2972 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976 if test -z "$MKDIR_P"; then
2977 if ${ac_cv_path_mkdir+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2984 test -z "$as_dir" && as_dir=.
2985 for ac_prog in mkdir gmkdir; do
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2989 'mkdir (GNU coreutils) '* | \
2990 'mkdir (coreutils) '* | \
2991 'mkdir (fileutils) '4.1*)
2992 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3002 test -d ./--version && rmdir ./--version
3003 if test "${ac_cv_path_mkdir+set}" = set; then
3004 MKDIR_P="$ac_cv_path_mkdir -p"
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for MKDIR_P within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 MKDIR_P="$ac_install_sh -d"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3014 $as_echo "$MKDIR_P" >&6; }
3016 for ac_prog in gawk mawk nawk awk
3018 # Extract the first word of "$ac_prog", so it can be a program name with args.
3019 set dummy $ac_prog; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_AWK+:} false; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$AWK"; then
3026 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_AWK="$ac_prog"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 if test -n "$AWK"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3048 $as_echo "$AWK" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3055 test -n "$AWK" && break
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3059 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3061 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3062 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 cat >conftest.make <<\_ACEOF
3068 @echo '@@@%%%=$(MAKE)=@@@%%%'
3070 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3071 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3073 eval ac_cv_prog_make_${ac_make}_set=yes;;
3075 eval ac_cv_prog_make_${ac_make}_set=no;;
3079 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 SET_MAKE="MAKE=${MAKE-make}"
3089 rm -rf .tst 2>/dev/null
3090 mkdir .tst 2>/dev/null
3091 if test -d .tst; then
3096 rmdir .tst 2>/dev/null
3098 # Check whether --enable-silent-rules was given.
3099 if test "${enable_silent_rules+set}" = set; then :
3100 enableval=$enable_silent_rules;
3103 case $enable_silent_rules in # (((
3104 yes) AM_DEFAULT_VERBOSITY=0;;
3105 no) AM_DEFAULT_VERBOSITY=1;;
3106 *) AM_DEFAULT_VERBOSITY=1;;
3108 am_make=${MAKE-make}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3110 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3111 if ${am_cv_make_support_nested_variables+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if $as_echo 'TRUE=$(BAR$(V))
3120 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3121 am_cv_make_support_nested_variables=yes
3123 am_cv_make_support_nested_variables=no
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3127 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3128 if test $am_cv_make_support_nested_variables = yes; then
3130 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3132 AM_V=$AM_DEFAULT_VERBOSITY
3133 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3137 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3138 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3139 # is not polluted with repeated "-I."
3140 am__isrc=' -I$(srcdir)'
3141 # test to see if srcdir already configured
3142 if test -f $srcdir/config.status; then
3143 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3147 # test whether we have cygpath
3148 if test -z "$CYGPATH_W"; then
3149 if (cygpath --version) >/dev/null 2>/dev/null; then
3150 CYGPATH_W='cygpath -w'
3157 # Define the identity of the package.
3163 cat >>confdefs.h <<_ACEOF
3164 #define PACKAGE "$PACKAGE"
3168 cat >>confdefs.h <<_ACEOF
3169 #define VERSION "$VERSION"
3172 # Some tools Automake needs.
3174 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3177 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3180 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3183 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3186 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3188 # For better backward compatibility. To be removed once Automake 1.9.x
3189 # dies out for good. For more background, see:
3190 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3191 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3192 mkdir_p='$(MKDIR_P)'
3194 # We need awk for the "check" target (and possibly the TAP driver). The
3195 # system "awk" is bad on some platforms.
3196 # Always define AMTAR for backward compatibility. Yes, it's still used
3197 # in the wild :-( We should find a proper way to deprecate it ...
3201 # We'll loop over all known methods to create a tar archive until one works.
3202 _am_tools='gnutar pax cpio none'
3204 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3211 # POSIX will say in a future version that running "rm -f" with no argument
3212 # is OK; and we want to be able to make that assumption in our Makefile
3213 # recipes. So use an aggressive probe to check that the usage we want is
3214 # actually supported "in the wild" to an acceptable degree.
3215 # See automake bug#10828.
3216 # To make any issue more visible, cause the running configure to be aborted
3217 # by default if the 'rm' program in use doesn't match our expectations; the
3218 # user can still override this though.
3219 if rm -f && rm -fr && rm -rf; then : OK; else
3223 Your 'rm' program seems unable to run without file operands specified
3224 on the command line, even when the '-f' option is present. This is contrary
3225 to the behaviour of most rm programs out there, and not conforming with
3226 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3228 Please tell bug-automake@gnu.org about your system, including the value
3229 of your $PATH and any error possibly output before this message. This
3230 can help us improve future automake versions.
3233 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3234 echo 'Configuration will proceed anyway, since you have set the' >&2
3235 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3239 Aborting the configuration process, to ensure you take notice of the issue.
3241 You can download and install GNU coreutils to get an 'rm' implementation
3242 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3244 If you want to complete the configuration process using your problematic
3245 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3246 to "yes", and re-run configure.
3249 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3254 # Support silent build rules, requires at least automake-1.11. Disable
3255 # by either passing --disable-silent-rules to configure or passing V=1
3257 # Check whether --enable-silent-rules was given.
3258 if test "${enable_silent_rules+set}" = set; then :
3259 enableval=$enable_silent_rules;
3262 case $enable_silent_rules in # (((
3263 yes) AM_DEFAULT_VERBOSITY=0;;
3264 no) AM_DEFAULT_VERBOSITY=1;;
3265 *) AM_DEFAULT_VERBOSITY=0;;
3267 am_make=${MAKE-make}
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3269 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3270 if ${am_cv_make_support_nested_variables+:} false; then :
3271 $as_echo_n "(cached) " >&6
3273 if $as_echo 'TRUE=$(BAR$(V))
3279 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3280 am_cv_make_support_nested_variables=yes
3282 am_cv_make_support_nested_variables=no
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3286 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3287 if test $am_cv_make_support_nested_variables = yes; then
3289 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3291 AM_V=$AM_DEFAULT_VERBOSITY
3292 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3298 ac_cpp='$CPP $CPPFLAGS'
3299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 if test -n "$ac_tool_prefix"; then
3303 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3304 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3306 $as_echo_n "checking for $ac_word... " >&6; }
3307 if ${ac_cv_prog_CC+:} false; then :
3308 $as_echo_n "(cached) " >&6
3310 if test -n "$CC"; then
3311 ac_cv_prog_CC="$CC" # Let the user override the test.
3313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 test -z "$as_dir" && as_dir=.
3318 for ac_exec_ext in '' $ac_executable_extensions; do
3319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3320 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3331 if test -n "$CC"; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3333 $as_echo "$CC" >&6; }
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336 $as_echo "no" >&6; }
3341 if test -z "$ac_cv_prog_CC"; then
3343 # Extract the first word of "gcc", so it can be a program name with args.
3344 set dummy gcc; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3348 $as_echo_n "(cached) " >&6
3350 if test -n "$ac_ct_CC"; then
3351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3360 ac_cv_prog_ac_ct_CC="gcc"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3371 if test -n "$ac_ct_CC"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3373 $as_echo "$ac_ct_CC" >&6; }
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3379 if test "x$ac_ct_CC" = x; then
3382 case $cross_compiling:$ac_tool_warned in
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3386 ac_tool_warned=yes ;;
3394 if test -z "$CC"; then
3395 if test -n "$ac_tool_prefix"; then
3396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3397 set dummy ${ac_tool_prefix}cc; ac_word=$2
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if ${ac_cv_prog_CC+:} false; then :
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$CC"; then
3404 ac_cv_prog_CC="$CC" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_CC="${ac_tool_prefix}cc"
3414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 if test -n "$CC"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3426 $as_echo "$CC" >&6; }
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3429 $as_echo "no" >&6; }
3435 if test -z "$CC"; then
3436 # Extract the first word of "cc", so it can be a program name with args.
3437 set dummy cc; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if ${ac_cv_prog_CC+:} false; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$CC"; then
3444 ac_cv_prog_CC="$CC" # Let the user override the test.
3447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451 test -z "$as_dir" && as_dir=.
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3455 ac_prog_rejected=yes
3459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3466 if test $ac_prog_rejected = yes; then
3467 # We found a bogon in the path, so make sure we never use it.
3468 set dummy $ac_cv_prog_CC
3470 if test $# != 0; then
3471 # We chose a different compiler from the bogus one.
3472 # However, it has the same basename, so the bogon will be chosen
3473 # first if we set CC to just the basename; use the full file name.
3475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3481 if test -n "$CC"; then
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3483 $as_echo "$CC" >&6; }
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3491 if test -z "$CC"; then
3492 if test -n "$ac_tool_prefix"; then
3493 for ac_prog in cl.exe
3495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$CC"; then
3503 ac_cv_prog_CC="$CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3523 if test -n "$CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 $as_echo "$CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$CC" && break
3535 if test -z "$CC"; then
3537 for ac_prog in cl.exe
3539 # Extract the first word of "$ac_prog", so it can be a program name with args.
3540 set dummy $ac_prog; ac_word=$2
3541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3542 $as_echo_n "checking for $ac_word... " >&6; }
3543 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3544 $as_echo_n "(cached) " >&6
3546 if test -n "$ac_ct_CC"; then
3547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 test -z "$as_dir" && as_dir=.
3554 for ac_exec_ext in '' $ac_executable_extensions; do
3555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3556 ac_cv_prog_ac_ct_CC="$ac_prog"
3557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3567 if test -n "$ac_ct_CC"; then
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3569 $as_echo "$ac_ct_CC" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3576 test -n "$ac_ct_CC" && break
3579 if test "x$ac_ct_CC" = x; then
3582 case $cross_compiling:$ac_tool_warned in
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3586 ac_tool_warned=yes ;;
3595 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $? "no acceptable C compiler found in \$PATH
3598 See \`config.log' for more details" "$LINENO" 5; }
3600 # Provide some information about the compiler.
3601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3604 for ac_option in --version -v -V -qversion; do
3605 { { ac_try="$ac_compiler $ac_option >&5"
3607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3611 $as_echo "$ac_try_echo"; } >&5
3612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3614 if test -s conftest.err; then
3616 ... rest of stderr output deleted ...
3617 10q' conftest.err >conftest.er1
3618 cat conftest.er1 >&5
3620 rm -f conftest.er1 conftest.err
3621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3622 test $ac_status = 0; }
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 ac_clean_files_save=$ac_clean_files
3637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3638 # Try to create an executable without -o first, disregard a.out.
3639 # It will help us diagnose broken compilers, and finding out an intuition
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3642 $as_echo_n "checking whether the C compiler works... " >&6; }
3643 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3645 # The possible output files:
3646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3649 for ac_file in $ac_files
3652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3653 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3658 if { { ac_try="$ac_link_default"
3660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661 *) ac_try_echo=$ac_try;;
3663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664 $as_echo "$ac_try_echo"; } >&5
3665 (eval "$ac_link_default") 2>&5
3667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668 test $ac_status = 0; }; then :
3669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3671 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3672 # so that the user can short-circuit this test for compilers unknown to
3674 for ac_file in $ac_files ''
3676 test -f "$ac_file" || continue
3678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3681 # We found the default executable, but exeext='' is most
3685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3687 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3689 # We set ac_cv_exeext here because the later test for it is not
3690 # safe: cross compilers may not add the suffix if given an `-o'
3691 # argument, so we may need to know it at that point already.
3692 # Even if this section looks crufty: it has the advantage of
3699 test "$ac_cv_exeext" = no && ac_cv_exeext=
3704 if test -z "$ac_file"; then :
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3706 $as_echo "no" >&6; }
3707 $as_echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error 77 "C compiler cannot create executables
3713 See \`config.log' for more details" "$LINENO" 5; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3716 $as_echo "yes" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3719 $as_echo_n "checking for C compiler default output file name... " >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3721 $as_echo "$ac_file" >&6; }
3722 ac_exeext=$ac_cv_exeext
3724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3725 ac_clean_files=$ac_clean_files_save
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3727 $as_echo_n "checking for suffix of executables... " >&6; }
3728 if { { ac_try="$ac_link"
3730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3731 *) ac_try_echo=$ac_try;;
3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3734 $as_echo "$ac_try_echo"; } >&5
3735 (eval "$ac_link") 2>&5
3737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3738 test $ac_status = 0; }; then :
3739 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3740 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3741 # work properly (i.e., refer to `conftest.exe'), while it won't with
3743 for ac_file in conftest.exe conftest conftest.*; do
3744 test -f "$ac_file" || continue
3746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3747 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3756 See \`config.log' for more details" "$LINENO" 5; }
3758 rm -f conftest conftest$ac_cv_exeext
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3760 $as_echo "$ac_cv_exeext" >&6; }
3762 rm -f conftest.$ac_ext
3763 EXEEXT=$ac_cv_exeext
3765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766 /* end confdefs.h. */
3771 FILE *f = fopen ("conftest.out", "w");
3772 return ferror (f) || fclose (f) != 0;
3778 ac_clean_files="$ac_clean_files conftest.out"
3779 # Check that the compiler produces executables we can run. If not, either
3780 # the compiler is broken, or we cross compile.
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3782 $as_echo_n "checking whether we are cross compiling... " >&6; }
3783 if test "$cross_compiling" != yes; then
3784 { { ac_try="$ac_link"
3786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3787 *) ac_try_echo=$ac_try;;
3789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3790 $as_echo "$ac_try_echo"; } >&5
3791 (eval "$ac_link") 2>&5
3793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3794 test $ac_status = 0; }
3795 if { ac_try='./conftest$ac_cv_exeext'
3796 { { case "(($ac_try" in
3797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798 *) ac_try_echo=$ac_try;;
3800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801 $as_echo "$ac_try_echo"; } >&5
3802 (eval "$ac_try") 2>&5
3804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805 test $ac_status = 0; }; }; then
3808 if test "$cross_compiling" = maybe; then
3811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3813 as_fn_error $? "cannot run C compiled programs.
3814 If you meant to cross compile, use \`--host'.
3815 See \`config.log' for more details" "$LINENO" 5; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3820 $as_echo "$cross_compiling" >&6; }
3822 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3823 ac_clean_files=$ac_clean_files_save
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3825 $as_echo_n "checking for suffix of object files... " >&6; }
3826 if ${ac_cv_objext+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3830 /* end confdefs.h. */
3840 rm -f conftest.o conftest.obj
3841 if { { ac_try="$ac_compile"
3843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3844 *) ac_try_echo=$ac_try;;
3846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3847 $as_echo "$ac_try_echo"; } >&5
3848 (eval "$ac_compile") 2>&5
3850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3851 test $ac_status = 0; }; then :
3852 for ac_file in conftest.o conftest.obj conftest.*; do
3853 test -f "$ac_file" || continue;
3855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3861 $as_echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3866 as_fn_error $? "cannot compute suffix of object files: cannot compile
3867 See \`config.log' for more details" "$LINENO" 5; }
3869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3872 $as_echo "$ac_cv_objext" >&6; }
3873 OBJEXT=$ac_cv_objext
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3876 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3877 if ${ac_cv_c_compiler_gnu+:} false; then :
3878 $as_echo_n "(cached) " >&6
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3894 if ac_fn_c_try_compile "$LINENO"; then :
3899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3904 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3905 if test $ac_compiler_gnu = yes; then
3910 ac_test_CFLAGS=${CFLAGS+set}
3911 ac_save_CFLAGS=$CFLAGS
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3913 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3914 if ${ac_cv_prog_cc_g+:} false; then :
3915 $as_echo_n "(cached) " >&6
3917 ac_save_c_werror_flag=$ac_c_werror_flag
3918 ac_c_werror_flag=yes
3921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3932 if ac_fn_c_try_compile "$LINENO"; then :
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3947 if ac_fn_c_try_compile "$LINENO"; then :
3950 ac_c_werror_flag=$ac_save_c_werror_flag
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3963 if ac_fn_c_try_compile "$LINENO"; then :
3966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3971 ac_c_werror_flag=$ac_save_c_werror_flag
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3974 $as_echo "$ac_cv_prog_cc_g" >&6; }
3975 if test "$ac_test_CFLAGS" = set; then
3976 CFLAGS=$ac_save_CFLAGS
3977 elif test $ac_cv_prog_cc_g = yes; then
3978 if test "$GCC" = yes; then
3984 if test "$GCC" = yes; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3992 if ${ac_cv_prog_cc_c89+:} false; then :
3993 $as_echo_n "(cached) " >&6
3995 ac_cv_prog_cc_c89=no
3997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3998 /* end confdefs.h. */
4002 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4003 struct buf { int x; };
4004 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4005 static char *e (p, i)
4011 static char *f (char * (*g) (char **, int), char **p, ...)
4016 s = g (p, va_arg (v,int));
4021 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4022 function prototypes and stuff, but not '\xHH' hex character constants.
4023 These don't provoke an error unfortunately, instead are silently treated
4024 as 'x'. The following induces an error, until -std is added to get
4025 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4026 array size at least. It's necessary to write '\x00'==0 to get something
4027 that's true only with -std. */
4028 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4030 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4031 inside strings and character constants. */
4033 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4035 int test (int i, double x);
4036 struct s1 {int (*f) (int a);};
4037 struct s2 {int (*f) (double a);};
4038 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4044 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4049 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4050 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4052 CC="$ac_save_CC $ac_arg"
4053 if ac_fn_c_try_compile "$LINENO"; then :
4054 ac_cv_prog_cc_c89=$ac_arg
4056 rm -f core conftest.err conftest.$ac_objext
4057 test "x$ac_cv_prog_cc_c89" != "xno" && break
4059 rm -f conftest.$ac_ext
4064 case "x$ac_cv_prog_cc_c89" in
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4067 $as_echo "none needed" >&6; } ;;
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4070 $as_echo "unsupported" >&6; } ;;
4072 CC="$CC $ac_cv_prog_cc_c89"
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4074 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4076 if test "x$ac_cv_prog_cc_c89" != xno; then :
4081 ac_cpp='$CPP $CPPFLAGS'
4082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4087 ac_cpp='$CPP $CPPFLAGS'
4088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4092 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4093 if ${am_cv_prog_cc_c_o+:} false; then :
4094 $as_echo_n "(cached) " >&6
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4107 # Make sure it works both with $CC and with simple cc.
4108 # Following AC_PROG_CC_C_O, we do the test twice because some
4109 # compilers refuse to overwrite an existing .o file with -o,
4110 # though they will create one.
4111 am_cv_prog_cc_c_o=yes
4113 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4114 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4117 (exit $ac_status); } \
4118 && test -f conftest2.$ac_objext; then
4121 am_cv_prog_cc_c_o=no
4125 rm -f core conftest*
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4129 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4130 if test "$am_cv_prog_cc_c_o" != yes; then
4131 # Losing compiler, so override with the script.
4132 # FIXME: It is wrong to rewrite CC.
4133 # But if we don't then we get into trouble of one sort or another.
4134 # A longer-term fix would be to have automake use am__CC in this case,
4135 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4136 CC="$am_aux_dir/compile $CC"
4139 ac_cpp='$CPP $CPPFLAGS'
4140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4144 DEPDIR="${am__leading_dot}deps"
4146 ac_config_commands="$ac_config_commands depfiles"
4149 am_make=${MAKE-make}
4150 cat > confinc << 'END'
4152 @echo this is the am__doit target
4155 # If we don't find an include directive, just comment out the code.
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4157 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4161 # First try GNU make style include.
4162 echo "include confinc" > confmf
4163 # Ignore all kinds of additional output from 'make'.
4164 case `$am_make -s -f confmf 2> /dev/null` in #(
4165 *the\ am__doit\ target*)
4171 # Now try BSD make style include.
4172 if test "$am__include" = "#"; then
4173 echo '.include "confinc"' > confmf
4174 case `$am_make -s -f confmf 2> /dev/null` in #(
4175 *the\ am__doit\ target*)
4176 am__include=.include
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4185 $as_echo "$_am_result" >&6; }
4186 rm -f confinc confmf
4188 # Check whether --enable-dependency-tracking was given.
4189 if test "${enable_dependency_tracking+set}" = set; then :
4190 enableval=$enable_dependency_tracking;
4193 if test "x$enable_dependency_tracking" != xno; then
4194 am_depcomp="$ac_aux_dir/depcomp"
4198 if test "x$enable_dependency_tracking" != xno; then
4208 depcc="$CC" am_compiler_list=
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4211 $as_echo_n "checking dependency style of $depcc... " >&6; }
4212 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4216 # We make a subdir and do the tests there. Otherwise we can end up
4217 # making bogus files that we don't know about and never remove. For
4218 # instance it was reported that on HP-UX the gcc test will end up
4219 # making a dummy file named 'D' -- because '-MD' means "put the output
4223 # Copy depcomp to subdir because otherwise we won't find it if we're
4224 # using a relative directory.
4225 cp "$am_depcomp" conftest.dir
4227 # We will build objects and dependencies in a subdirectory because
4228 # it helps to detect inapplicable dependency modes. For instance
4229 # both Tru64's cc and ICC support -MD to output dependencies as a
4230 # side effect of compilation, but ICC will put the dependencies in
4231 # the current directory while Tru64 will put them in the object
4235 am_cv_CC_dependencies_compiler_type=none
4236 if test "$am_compiler_list" = ""; then
4237 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4240 case " $depcc " in #(
4241 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4244 for depmode in $am_compiler_list; do
4245 # Setup a source with many dependencies, because some compilers
4246 # like to wrap large dependency lists on column 80 (with \), and
4247 # we should not choose a depcomp mode which is confused by this.
4249 # We need to recreate these files for each test, as the compiler may
4250 # overwrite some of them when testing with obscure command lines.
4251 # This happens at least with the AIX C compiler.
4253 for i in 1 2 3 4 5 6; do
4254 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4255 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4256 # Solaris 10 /bin/sh.
4257 echo '/* dummy */' > sub/conftst$i.h
4259 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4261 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4262 # mode. It turns out that the SunPro C++ compiler does not properly
4263 # handle '-M -o', and we need to detect this. Also, some Intel
4264 # versions had trouble with output in subdirs.
4265 am__obj=sub/conftest.${OBJEXT-o}
4266 am__minus_obj="-o $am__obj"
4269 # This depmode causes a compiler race in universal mode.
4270 test "$am__universal" = false || continue
4273 # After this tag, mechanisms are not by side-effect, so they'll
4274 # only be used when explicitly requested.
4275 if test "x$enable_dependency_tracking" = xyes; then
4281 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4282 # This compiler won't grok '-c -o', but also, the minuso test has
4283 # not run yet. These depmodes are late enough in the game, and
4284 # so weak that their functioning should not be impacted.
4285 am__obj=conftest.${OBJEXT-o}
4290 if depmode=$depmode \
4291 source=sub/conftest.c object=$am__obj \
4292 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4293 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4294 >/dev/null 2>conftest.err &&
4295 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4296 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4297 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4298 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4299 # icc doesn't choke on unknown options, it will just issue warnings
4300 # or remarks (even with -Werror). So we grep stderr for any message
4301 # that says an option was ignored or not supported.
4302 # When given -MP, icc 7.0 and 7.1 complain thusly:
4303 # icc: Command line warning: ignoring option '-M'; no argument required
4304 # The diagnosis changed in icc 8.0:
4305 # icc: Command line remark: option '-MP' not supported
4306 if (grep 'ignoring option' conftest.err ||
4307 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4308 am_cv_CC_dependencies_compiler_type=$depmode
4317 am_cv_CC_dependencies_compiler_type=none
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4322 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4323 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4326 test "x$enable_dependency_tracking" != xno \
4327 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4329 am__fastdepCC_FALSE='#'
4331 am__fastdepCC_TRUE='#'
4332 am__fastdepCC_FALSE=
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4338 $as_echo_n "checking whether ln -s works... " >&6; }
4340 if test "$LN_S" = "ln -s"; then
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4342 $as_echo "yes" >&6; }
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4345 $as_echo "no, using $LN_S" >&6; }
4350 ac_cpp='$CPP $CPPFLAGS'
4351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4355 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4356 # On Suns, sometimes $CPP names a directory.
4357 if test -n "$CPP" && test -d "$CPP"; then
4360 if test -z "$CPP"; then
4361 if ${ac_cv_prog_CPP+:} false; then :
4362 $as_echo_n "(cached) " >&6
4364 # Double quotes because CPP needs to be expanded
4365 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4368 for ac_c_preproc_warn_flag in '' yes
4370 # Use a header file that comes with gcc, so configuring glibc
4371 # with a fresh cross-compiler works.
4372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4373 # <limits.h> exists even on freestanding compilers.
4374 # On the NeXT, cc -E runs the code through the compiler's parser,
4375 # not just through cpp. "Syntax error" is here to catch this case.
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4379 # include <limits.h>
4381 # include <assert.h>
4385 if ac_fn_c_try_cpp "$LINENO"; then :
4388 # Broken: fails on valid input.
4391 rm -f conftest.err conftest.i conftest.$ac_ext
4393 # OK, works on sane cases. Now check whether nonexistent headers
4394 # can be detected and how.
4395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4396 /* end confdefs.h. */
4397 #include <ac_nonexistent.h>
4399 if ac_fn_c_try_cpp "$LINENO"; then :
4400 # Broken: success on invalid input.
4403 # Passes both tests.
4407 rm -f conftest.err conftest.i conftest.$ac_ext
4410 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4411 rm -f conftest.i conftest.err conftest.$ac_ext
4412 if $ac_preproc_ok; then :
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4425 $as_echo "$CPP" >&6; }
4427 for ac_c_preproc_warn_flag in '' yes
4429 # Use a header file that comes with gcc, so configuring glibc
4430 # with a fresh cross-compiler works.
4431 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4432 # <limits.h> exists even on freestanding compilers.
4433 # On the NeXT, cc -E runs the code through the compiler's parser,
4434 # not just through cpp. "Syntax error" is here to catch this case.
4435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4436 /* end confdefs.h. */
4438 # include <limits.h>
4440 # include <assert.h>
4444 if ac_fn_c_try_cpp "$LINENO"; then :
4447 # Broken: fails on valid input.
4450 rm -f conftest.err conftest.i conftest.$ac_ext
4452 # OK, works on sane cases. Now check whether nonexistent headers
4453 # can be detected and how.
4454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4455 /* end confdefs.h. */
4456 #include <ac_nonexistent.h>
4458 if ac_fn_c_try_cpp "$LINENO"; then :
4459 # Broken: success on invalid input.
4462 # Passes both tests.
4466 rm -f conftest.err conftest.i conftest.$ac_ext
4469 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4470 rm -f conftest.i conftest.err conftest.$ac_ext
4471 if $ac_preproc_ok; then :
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4476 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4477 See \`config.log' for more details" "$LINENO" 5; }
4481 ac_cpp='$CPP $CPPFLAGS'
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4486 # Extract the first word of "mv", so it can be a program name with args.
4487 set dummy mv; ac_word=$2
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4489 $as_echo_n "checking for $ac_word... " >&6; }
4490 if ${ac_cv_path_MV+:} false; then :
4491 $as_echo_n "(cached) " >&6
4495 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir=.
4503 for ac_exec_ext in '' $ac_executable_extensions; do
4504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4505 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4518 if test -n "$MV"; then
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4520 $as_echo "$MV" >&6; }
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4523 $as_echo "no" >&6; }
4527 # Extract the first word of "tar", so it can be a program name with args.
4528 set dummy tar; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_path_TAR+:} false; then :
4532 $as_echo_n "(cached) " >&6
4536 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4543 test -z "$as_dir" && as_dir=.
4544 for ac_exec_ext in '' $ac_executable_extensions; do
4545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4546 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4559 if test -n "$TAR"; then
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4561 $as_echo "$TAR" >&6; }
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4564 $as_echo "no" >&6; }
4568 # Extract the first word of "perl", so it can be a program name with args.
4569 set dummy perl; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_path_PERL+:} false; then :
4573 $as_echo_n "(cached) " >&6
4577 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4587 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4599 PERL=$ac_cv_path_PERL
4600 if test -n "$PERL"; then
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4602 $as_echo "$PERL" >&6; }
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4605 $as_echo "no" >&6; }
4609 # Extract the first word of "wget", so it can be a program name with args.
4610 set dummy wget; ac_word=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if ${ac_cv_path_WGET+:} false; then :
4614 $as_echo_n "(cached) " >&6
4618 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4640 WGET=$ac_cv_path_WGET
4641 if test -n "$WGET"; then
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4643 $as_echo "$WGET" >&6; }
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4646 $as_echo "no" >&6; }
4650 # Extract the first word of "xmllint", so it can be a program name with args.
4651 set dummy xmllint; ac_word=$2
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4653 $as_echo_n "checking for $ac_word... " >&6; }
4654 if ${ac_cv_path_XMLLINT+:} false; then :
4655 $as_echo_n "(cached) " >&6
4659 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir=.
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4669 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4681 XMLLINT=$ac_cv_path_XMLLINT
4682 if test -n "$XMLLINT"; then
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4684 $as_echo "$XMLLINT" >&6; }
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4687 $as_echo "no" >&6; }
4691 # Extract the first word of "xsltproc", so it can be a program name with args.
4692 set dummy xsltproc; ac_word=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if ${ac_cv_path_XSLTPROC+:} false; then :
4696 $as_echo_n "(cached) " >&6
4700 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir=.
4708 for ac_exec_ext in '' $ac_executable_extensions; do
4709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4710 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4722 XSLTPROC=$ac_cv_path_XSLTPROC
4723 if test -n "$XSLTPROC"; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4725 $as_echo "$XSLTPROC" >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4728 $as_echo "no" >&6; }
4739 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4740 if test -n "$ac_tool_prefix"; then
4741 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4742 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4744 $as_echo_n "checking for $ac_word... " >&6; }
4745 if ${ac_cv_path_PKG_CONFIG+:} false; then :
4746 $as_echo_n "(cached) " >&6
4750 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir=.
4758 for ac_exec_ext in '' $ac_executable_extensions; do
4759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4760 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4772 if test -n "$PKG_CONFIG"; then
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4774 $as_echo "$PKG_CONFIG" >&6; }
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4777 $as_echo "no" >&6; }
4782 if test -z "$ac_cv_path_PKG_CONFIG"; then
4783 ac_pt_PKG_CONFIG=$PKG_CONFIG
4784 # Extract the first word of "pkg-config", so it can be a program name with args.
4785 set dummy pkg-config; ac_word=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4789 $as_echo_n "(cached) " >&6
4791 case $ac_pt_PKG_CONFIG in
4793 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir=.
4801 for ac_exec_ext in '' $ac_executable_extensions; do
4802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4803 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4815 if test -n "$ac_pt_PKG_CONFIG"; then
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4817 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4823 if test "x$ac_pt_PKG_CONFIG" = x; then
4826 case $cross_compiling:$ac_tool_warned in
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4830 ac_tool_warned=yes ;;
4832 PKG_CONFIG=$ac_pt_PKG_CONFIG
4835 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4839 if test -n "$PKG_CONFIG"; then
4840 _pkg_min_version=0.9.0
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4842 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4843 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4845 $as_echo "yes" >&6; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4856 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4861 macro_version='2.4.6'
4862 macro_revision='2.4.6'
4876 ltmain=$ac_aux_dir/ltmain.sh
4878 # Backslashify metacharacters that are still active within
4879 # double-quoted strings.
4880 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4882 # Same as above, but do not quote variable references.
4883 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4885 # Sed substitution to delay expansion of an escaped shell variable in a
4886 # double_quote_subst'ed string.
4887 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4889 # Sed substitution to delay expansion of an escaped single quote.
4890 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4892 # Sed substitution to avoid accidental globbing in evaled expressions
4893 no_glob_subst='s/\*/\\\*/g'
4895 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4896 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4897 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4900 $as_echo_n "checking how to print strings... " >&6; }
4901 # Test print first, because it will be a builtin if present.
4902 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4903 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4905 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4908 # Use this function as a fallback that always works.
4909 func_fallback_echo ()
4911 eval 'cat <<_LTECHO_EOF
4915 ECHO='func_fallback_echo'
4918 # func_echo_all arg...
4919 # Invoke $ECHO with all args, space-separated.
4926 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4927 $as_echo "printf" >&6; } ;;
4928 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4929 $as_echo "print -r" >&6; } ;;
4930 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4931 $as_echo "cat" >&6; } ;;
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4948 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4949 if ${ac_cv_path_SED+:} false; then :
4950 $as_echo_n "(cached) " >&6
4952 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4953 for ac_i in 1 2 3 4 5 6 7; do
4954 ac_script="$ac_script$as_nl$ac_script"
4956 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4957 { ac_script=; unset ac_script;}
4958 if test -z "$SED"; then
4959 ac_path_SED_found=false
4960 # Loop through the user's path and test for each of PROGNAME-LIST
4961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir=.
4966 for ac_prog in sed gsed; do
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4969 as_fn_executable_p "$ac_path_SED" || continue
4970 # Check for GNU ac_path_SED and select it if it is found.
4971 # Check for GNU $ac_path_SED
4972 case `"$ac_path_SED" --version 2>&1` in
4974 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4977 $as_echo_n 0123456789 >"conftest.in"
4980 cat "conftest.in" "conftest.in" >"conftest.tmp"
4981 mv "conftest.tmp" "conftest.in"
4982 cp "conftest.in" "conftest.nl"
4983 $as_echo '' >> "conftest.nl"
4984 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4985 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4986 as_fn_arith $ac_count + 1 && ac_count=$as_val
4987 if test $ac_count -gt ${ac_path_SED_max-0}; then
4988 # Best one so far, save it but keep looking for a better one
4989 ac_cv_path_SED="$ac_path_SED"
4990 ac_path_SED_max=$ac_count
4992 # 10*(2^10) chars as input seems more than enough
4993 test $ac_count -gt 10 && break
4995 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4998 $ac_path_SED_found && break 3
5003 if test -z "$ac_cv_path_SED"; then
5004 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5012 $as_echo "$ac_cv_path_SED" >&6; }
5013 SED="$ac_cv_path_SED"
5016 test -z "$SED" && SED=sed
5017 Xsed="$SED -e 1s/^X//"
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5030 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5031 if ${ac_cv_path_GREP+:} false; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -z "$GREP"; then
5035 ac_path_GREP_found=false
5036 # Loop through the user's path and test for each of PROGNAME-LIST
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5038 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5041 test -z "$as_dir" && as_dir=.
5042 for ac_prog in grep ggrep; do
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5045 as_fn_executable_p "$ac_path_GREP" || continue
5046 # Check for GNU ac_path_GREP and select it if it is found.
5047 # Check for GNU $ac_path_GREP
5048 case `"$ac_path_GREP" --version 2>&1` in
5050 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5053 $as_echo_n 0123456789 >"conftest.in"
5056 cat "conftest.in" "conftest.in" >"conftest.tmp"
5057 mv "conftest.tmp" "conftest.in"
5058 cp "conftest.in" "conftest.nl"
5059 $as_echo 'GREP' >> "conftest.nl"
5060 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5061 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5062 as_fn_arith $ac_count + 1 && ac_count=$as_val
5063 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5064 # Best one so far, save it but keep looking for a better one
5065 ac_cv_path_GREP="$ac_path_GREP"
5066 ac_path_GREP_max=$ac_count
5068 # 10*(2^10) chars as input seems more than enough
5069 test $ac_count -gt 10 && break
5071 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5074 $ac_path_GREP_found && break 3
5079 if test -z "$ac_cv_path_GREP"; then
5080 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5083 ac_cv_path_GREP=$GREP
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5088 $as_echo "$ac_cv_path_GREP" >&6; }
5089 GREP="$ac_cv_path_GREP"
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5093 $as_echo_n "checking for egrep... " >&6; }
5094 if ${ac_cv_path_EGREP+:} false; then :
5095 $as_echo_n "(cached) " >&6
5097 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5098 then ac_cv_path_EGREP="$GREP -E"
5100 if test -z "$EGREP"; then
5101 ac_path_EGREP_found=false
5102 # Loop through the user's path and test for each of PROGNAME-LIST
5103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5107 test -z "$as_dir" && as_dir=.
5108 for ac_prog in egrep; do
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5111 as_fn_executable_p "$ac_path_EGREP" || continue
5112 # Check for GNU ac_path_EGREP and select it if it is found.
5113 # Check for GNU $ac_path_EGREP
5114 case `"$ac_path_EGREP" --version 2>&1` in
5116 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5119 $as_echo_n 0123456789 >"conftest.in"
5122 cat "conftest.in" "conftest.in" >"conftest.tmp"
5123 mv "conftest.tmp" "conftest.in"
5124 cp "conftest.in" "conftest.nl"
5125 $as_echo 'EGREP' >> "conftest.nl"
5126 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5127 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5128 as_fn_arith $ac_count + 1 && ac_count=$as_val
5129 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5130 # Best one so far, save it but keep looking for a better one
5131 ac_cv_path_EGREP="$ac_path_EGREP"
5132 ac_path_EGREP_max=$ac_count
5134 # 10*(2^10) chars as input seems more than enough
5135 test $ac_count -gt 10 && break
5137 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5140 $ac_path_EGREP_found && break 3
5145 if test -z "$ac_cv_path_EGREP"; then
5146 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5149 ac_cv_path_EGREP=$EGREP
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5155 $as_echo "$ac_cv_path_EGREP" >&6; }
5156 EGREP="$ac_cv_path_EGREP"
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5160 $as_echo_n "checking for fgrep... " >&6; }
5161 if ${ac_cv_path_FGREP+:} false; then :
5162 $as_echo_n "(cached) " >&6
5164 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5165 then ac_cv_path_FGREP="$GREP -F"
5167 if test -z "$FGREP"; then
5168 ac_path_FGREP_found=false
5169 # Loop through the user's path and test for each of PROGNAME-LIST
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5174 test -z "$as_dir" && as_dir=.
5175 for ac_prog in fgrep; do
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5178 as_fn_executable_p "$ac_path_FGREP" || continue
5179 # Check for GNU ac_path_FGREP and select it if it is found.
5180 # Check for GNU $ac_path_FGREP
5181 case `"$ac_path_FGREP" --version 2>&1` in
5183 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5186 $as_echo_n 0123456789 >"conftest.in"
5189 cat "conftest.in" "conftest.in" >"conftest.tmp"
5190 mv "conftest.tmp" "conftest.in"
5191 cp "conftest.in" "conftest.nl"
5192 $as_echo 'FGREP' >> "conftest.nl"
5193 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5195 as_fn_arith $ac_count + 1 && ac_count=$as_val
5196 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5197 # Best one so far, save it but keep looking for a better one
5198 ac_cv_path_FGREP="$ac_path_FGREP"
5199 ac_path_FGREP_max=$ac_count
5201 # 10*(2^10) chars as input seems more than enough
5202 test $ac_count -gt 10 && break
5204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5207 $ac_path_FGREP_found && break 3
5212 if test -z "$ac_cv_path_FGREP"; then
5213 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5216 ac_cv_path_FGREP=$FGREP
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5222 $as_echo "$ac_cv_path_FGREP" >&6; }
5223 FGREP="$ac_cv_path_FGREP"
5226 test -z "$GREP" && GREP=grep
5246 # Check whether --with-gnu-ld was given.
5247 if test "${with_gnu_ld+set}" = set; then :
5248 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5254 if test yes = "$GCC"; then
5255 # Check if gcc -print-prog-name=ld gives a path.
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5257 $as_echo_n "checking for ld used by $CC... " >&6; }
5260 # gcc leaves a trailing carriage return, which upsets mingw
5261 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5263 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5266 # Accept absolute paths.
5268 re_direlt='/[^/][^/]*/\.\./'
5269 # Canonicalize the pathname of ld
5270 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5271 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5272 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5274 test -z "$LD" && LD=$ac_prog
5277 # If it fails, then pretend we aren't using GCC.
5281 # If it is relative, then search for the first ld in PATH.
5285 elif test yes = "$with_gnu_ld"; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5287 $as_echo_n "checking for GNU ld... " >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5290 $as_echo_n "checking for non-GNU ld... " >&6; }
5292 if ${lt_cv_path_LD+:} false; then :
5293 $as_echo_n "(cached) " >&6
5295 if test -z "$LD"; then
5296 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5297 for ac_dir in $PATH; do
5299 test -z "$ac_dir" && ac_dir=.
5300 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5301 lt_cv_path_LD=$ac_dir/$ac_prog
5302 # Check to see if the program is GNU ld. I'd rather use --version,
5303 # but apparently some variants of GNU ld only accept -v.
5304 # Break only if it was the GNU/non-GNU ld that we prefer.
5305 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5306 *GNU* | *'with BFD'*)
5307 test no != "$with_gnu_ld" && break
5310 test yes != "$with_gnu_ld" && break
5317 lt_cv_path_LD=$LD # Let the user override the test with a path.
5322 if test -n "$LD"; then
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5324 $as_echo "$LD" >&6; }
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5329 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5331 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5332 if ${lt_cv_prog_gnu_ld+:} false; then :
5333 $as_echo_n "(cached) " >&6
5335 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5336 case `$LD -v 2>&1 </dev/null` in
5337 *GNU* | *'with BFD'*)
5338 lt_cv_prog_gnu_ld=yes
5341 lt_cv_prog_gnu_ld=no
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5346 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5347 with_gnu_ld=$lt_cv_prog_gnu_ld
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5358 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5359 if ${lt_cv_path_NM+:} false; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -n "$NM"; then
5363 # Let the user override the test.
5366 lt_nm_to_check=${ac_tool_prefix}nm
5367 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5368 lt_nm_to_check="$lt_nm_to_check nm"
5370 for lt_tmp_nm in $lt_nm_to_check; do
5371 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5372 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5374 test -z "$ac_dir" && ac_dir=.
5375 tmp_nm=$ac_dir/$lt_tmp_nm
5376 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5377 # Check to see if the nm accepts a BSD-compat flag.
5378 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5379 # nm: unknown option "B" ignored
5380 # Tru64's nm complains that /dev/null is an invalid object file
5381 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5383 mingw*) lt_bad_file=conftest.nm/nofile ;;
5384 *) lt_bad_file=/dev/null ;;
5386 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5387 *$lt_bad_file* | *'Invalid file or object type'*)
5388 lt_cv_path_NM="$tmp_nm -B"
5392 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5394 lt_cv_path_NM="$tmp_nm -p"
5398 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5399 continue # so that we can try to find one that supports BSD flags
5408 : ${lt_cv_path_NM=no}
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5412 $as_echo "$lt_cv_path_NM" >&6; }
5413 if test no != "$lt_cv_path_NM"; then
5416 # Didn't find any BSD compatible name lister, look for dumpbin.
5417 if test -n "$DUMPBIN"; then :
5418 # Let the user override the test.
5420 if test -n "$ac_tool_prefix"; then
5421 for ac_prog in dumpbin "link -dump"
5423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5426 $as_echo_n "checking for $ac_word... " >&6; }
5427 if ${ac_cv_prog_DUMPBIN+:} false; then :
5428 $as_echo_n "(cached) " >&6
5430 if test -n "$DUMPBIN"; then
5431 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 test -z "$as_dir" && as_dir=.
5438 for ac_exec_ext in '' $ac_executable_extensions; do
5439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5440 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 DUMPBIN=$ac_cv_prog_DUMPBIN
5451 if test -n "$DUMPBIN"; then
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5453 $as_echo "$DUMPBIN" >&6; }
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5456 $as_echo "no" >&6; }
5460 test -n "$DUMPBIN" && break
5463 if test -z "$DUMPBIN"; then
5464 ac_ct_DUMPBIN=$DUMPBIN
5465 for ac_prog in dumpbin "link -dump"
5467 # Extract the first word of "$ac_prog", so it can be a program name with args.
5468 set dummy $ac_prog; ac_word=$2
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5470 $as_echo_n "checking for $ac_word... " >&6; }
5471 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5472 $as_echo_n "(cached) " >&6
5474 if test -n "$ac_ct_DUMPBIN"; then
5475 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 test -z "$as_dir" && as_dir=.
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5484 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5495 if test -n "$ac_ct_DUMPBIN"; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5497 $as_echo "$ac_ct_DUMPBIN" >&6; }
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5500 $as_echo "no" >&6; }
5504 test -n "$ac_ct_DUMPBIN" && break
5507 if test "x$ac_ct_DUMPBIN" = x; then
5510 case $cross_compiling:$ac_tool_warned in
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5514 ac_tool_warned=yes ;;
5516 DUMPBIN=$ac_ct_DUMPBIN
5520 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5522 DUMPBIN="$DUMPBIN -symbols -headers"
5530 if test : != "$DUMPBIN"; then
5534 test -z "$NM" && NM=nm
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5542 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5543 if ${lt_cv_nm_interface+:} false; then :
5544 $as_echo_n "(cached) " >&6
5546 lt_cv_nm_interface="BSD nm"
5547 echo "int some_variable = 0;" > conftest.$ac_ext
5548 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5549 (eval "$ac_compile" 2>conftest.err)
5550 cat conftest.err >&5
5551 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5552 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5553 cat conftest.err >&5
5554 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5555 cat conftest.out >&5
5556 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5557 lt_cv_nm_interface="MS dumpbin"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5562 $as_echo "$lt_cv_nm_interface" >&6; }
5564 # find the maximum length of command line arguments
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5566 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5567 if ${lt_cv_sys_max_cmd_len+:} false; then :
5568 $as_echo_n "(cached) " >&6
5575 # On DJGPP, this test can blow up pretty badly due to problems in libc
5576 # (any single argument exceeding 2000 bytes causes a buffer overrun
5577 # during glob expansion). Even if it were fixed, the result of this
5578 # check would be larger than it should be.
5579 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5583 # Under GNU Hurd, this test is not required because there is
5584 # no limit to the length of command line arguments.
5585 # Libtool will interpret -1 as no limit whatsoever
5586 lt_cv_sys_max_cmd_len=-1;
5589 cygwin* | mingw* | cegcc*)
5590 # On Win9x/ME, this test blows up -- it succeeds, but takes
5591 # about 5 minutes as the teststring grows exponentially.
5592 # Worse, since 9x/ME are not pre-emptively multitasking,
5593 # you end up with a "frozen" computer, even though with patience
5594 # the test eventually succeeds (with a max line length of 256k).
5595 # Instead, let's just punt: use the minimum linelength reported by
5596 # all of the supported platforms: 8192 (on NT/2K/XP).
5597 lt_cv_sys_max_cmd_len=8192;
5601 # On MiNT this can take a long time and run out of memory.
5602 lt_cv_sys_max_cmd_len=8192;
5606 # On AmigaOS with pdksh, this test takes hours, literally.
5607 # So we just punt and use a minimum line length of 8192.
5608 lt_cv_sys_max_cmd_len=8192;
5611 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5612 # This has been around since 386BSD, at least. Likely further.
5613 if test -x /sbin/sysctl; then
5614 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5615 elif test -x /usr/sbin/sysctl; then
5616 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5618 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5620 # And add a safety zone
5621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5622 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5626 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5627 lt_cv_sys_max_cmd_len=196608
5631 # The test takes a long time on OS/2.
5632 lt_cv_sys_max_cmd_len=8192
5636 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5637 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5638 # nice to cause kernel panics so lets avoid the loop below.
5639 # First set a reasonable default.
5640 lt_cv_sys_max_cmd_len=16384
5642 if test -x /sbin/sysconfig; then
5643 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5644 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5649 lt_cv_sys_max_cmd_len=102400
5651 sysv5* | sco5v6* | sysv4.2uw2*)
5652 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5653 if test -n "$kargmax"; then
5654 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5656 lt_cv_sys_max_cmd_len=32768
5660 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5661 if test -n "$lt_cv_sys_max_cmd_len" && \
5662 test undefined != "$lt_cv_sys_max_cmd_len"; then
5663 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5664 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5666 # Make teststring a little bigger before we do anything with it.
5667 # a 1K string should be a reasonable start.
5668 for i in 1 2 3 4 5 6 7 8; do
5669 teststring=$teststring$teststring
5671 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5672 # If test is not a shell built-in, we'll probably end up computing a
5673 # maximum length that is only half of the actual maximum length, but
5675 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5676 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5677 test 17 != "$i" # 1/2 MB should be enough
5680 teststring=$teststring$teststring
5682 # Only check the string length outside the loop.
5683 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5685 # Add a significant safety factor because C++ compilers can tack on
5686 # massive amounts of additional arguments before passing them to the
5687 # linker. It appears as though 1/2 is a usable value.
5688 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5695 if test -n "$lt_cv_sys_max_cmd_len"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5697 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5700 $as_echo "none" >&6; }
5702 max_cmd_len=$lt_cv_sys_max_cmd_len
5713 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5723 # test EBCDIC or ASCII
5724 case `echo X|tr X '\101'` in
5725 A) # ASCII based system
5726 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5727 lt_SP2NL='tr \040 \012'
5728 lt_NL2SP='tr \015\012 \040\040'
5730 *) # EBCDIC based system
5731 lt_SP2NL='tr \100 \n'
5732 lt_NL2SP='tr \r\n \100\100'
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5745 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5746 if ${lt_cv_to_host_file_cmd+:} false; then :
5747 $as_echo_n "(cached) " >&6
5752 *-*-mingw* ) # actually msys
5753 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5756 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5758 * ) # otherwise, assume *nix
5759 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5765 *-*-mingw* ) # actually msys
5766 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5769 lt_cv_to_host_file_cmd=func_convert_file_noop
5771 * ) # otherwise, assume *nix
5772 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5776 * ) # unhandled hosts (and "normal" native builds)
5777 lt_cv_to_host_file_cmd=func_convert_file_noop
5783 to_host_file_cmd=$lt_cv_to_host_file_cmd
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5785 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5792 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5793 if ${lt_cv_to_tool_file_cmd+:} false; then :
5794 $as_echo_n "(cached) " >&6
5796 #assume ordinary cross tools, or native build.
5797 lt_cv_to_tool_file_cmd=func_convert_file_noop
5801 *-*-mingw* ) # actually msys
5802 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5810 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5812 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5819 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5820 if ${lt_cv_ld_reload_flag+:} false; then :
5821 $as_echo_n "(cached) " >&6
5823 lt_cv_ld_reload_flag='-r'
5825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5826 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5827 reload_flag=$lt_cv_ld_reload_flag
5828 case $reload_flag in
5830 *) reload_flag=" $reload_flag" ;;
5832 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5834 cygwin* | mingw* | pw32* | cegcc*)
5835 if test yes != "$GCC"; then
5840 if test yes = "$GCC"; 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 ${ac_cv_prog_OBJDUMP+:} false; 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 as_fn_executable_p "$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 ${ac_cv_prog_ac_ct_OBJDUMP+:} false; 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 as_fn_executable_p "$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
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5959 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5960 if ${lt_cv_deplibs_check_method+:} false; then :
5961 $as_echo_n "(cached) " >&6
5963 lt_cv_file_magic_cmd='$MAGIC_CMD'
5964 lt_cv_file_magic_test_file=
5965 lt_cv_deplibs_check_method='unknown'
5966 # Need to set the preceding variable on all platforms that support
5967 # interlibrary dependencies.
5968 # 'none' -- dependencies not supported.
5969 # 'unknown' -- same as none, but documents that we really don't know.
5970 # 'pass_all' -- all dependencies passed with no checks.
5971 # 'test_compile' -- check by making test program.
5972 # 'file_magic [[regex]]' -- check by looking for files in library path
5973 # that responds to the $file_magic_cmd with a given extended regex.
5974 # If you have 'file' or equivalent on your system and you're not sure
5975 # whether 'pass_all' will *always* work, you probably want this one.
5979 lt_cv_deplibs_check_method=pass_all
5983 lt_cv_deplibs_check_method=pass_all
5987 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5988 lt_cv_file_magic_cmd='/usr/bin/file -L'
5989 lt_cv_file_magic_test_file=/shlib/libc.so
5993 # func_win32_libid is a shell function defined in ltmain.sh
5994 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5995 lt_cv_file_magic_cmd='func_win32_libid'
5999 # Base MSYS/MinGW do not provide the 'file' command needed by
6000 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6001 # unless we find 'file', for example because we are cross-compiling.
6002 if ( file / ) >/dev/null 2>&1; then
6003 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6004 lt_cv_file_magic_cmd='func_win32_libid'
6006 # Keep this pattern in sync with the one in func_win32_libid.
6007 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6008 lt_cv_file_magic_cmd='$OBJDUMP -f'
6013 # use the weaker test based on 'objdump'. See mingw*.
6014 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6015 lt_cv_file_magic_cmd='$OBJDUMP -f'
6018 darwin* | rhapsody*)
6019 lt_cv_deplibs_check_method=pass_all
6022 freebsd* | dragonfly*)
6023 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6026 # Not sure whether the presence of OpenBSD here was a mistake.
6027 # Let's accept both of them until this is cleared up.
6028 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6029 lt_cv_file_magic_cmd=/usr/bin/file
6030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6034 lt_cv_deplibs_check_method=pass_all
6039 lt_cv_deplibs_check_method=pass_all
6042 hpux10.20* | hpux11*)
6043 lt_cv_file_magic_cmd=/usr/bin/file
6046 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6047 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6051 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6054 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6055 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6061 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6062 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6065 irix5* | irix6* | nonstopux*)
6067 *-32|*"-32 ") libmagic=32-bit;;
6068 *-n32|*"-n32 ") libmagic=N32;;
6069 *-64|*"-64 ") libmagic=64-bit;;
6070 *) libmagic=never-match;;
6072 lt_cv_deplibs_check_method=pass_all
6075 # This must be glibc/ELF.
6076 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6077 lt_cv_deplibs_check_method=pass_all
6081 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6082 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6084 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6089 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6090 lt_cv_file_magic_cmd=/usr/bin/file
6091 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6095 lt_cv_deplibs_check_method=pass_all
6099 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6100 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6102 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6106 osf3* | osf4* | osf5*)
6107 lt_cv_deplibs_check_method=pass_all
6111 lt_cv_deplibs_check_method=pass_all
6115 lt_cv_deplibs_check_method=pass_all
6118 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6119 lt_cv_deplibs_check_method=pass_all
6123 case $host_vendor in
6125 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]'
6126 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6129 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_file_magic_cmd='/bin/file'
6133 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6136 lt_cv_file_magic_cmd='/bin/file'
6137 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6138 lt_cv_file_magic_test_file=/lib/libc.so
6141 lt_cv_deplibs_check_method=pass_all
6144 lt_cv_deplibs_check_method=pass_all
6150 lt_cv_deplibs_check_method=pass_all
6153 lt_cv_deplibs_check_method=pass_all
6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6159 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6163 if test "$build" = "$host"; then
6166 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6169 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6175 file_magic_cmd=$lt_cv_file_magic_cmd
6176 deplibs_check_method=$lt_cv_deplibs_check_method
6177 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6200 if test -n "$ac_tool_prefix"; then
6201 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6202 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6204 $as_echo_n "checking for $ac_word... " >&6; }
6205 if ${ac_cv_prog_DLLTOOL+:} false; then :
6206 $as_echo_n "(cached) " >&6
6208 if test -n "$DLLTOOL"; then
6209 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6218 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6228 DLLTOOL=$ac_cv_prog_DLLTOOL
6229 if test -n "$DLLTOOL"; then
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6231 $as_echo "$DLLTOOL" >&6; }
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6234 $as_echo "no" >&6; }
6239 if test -z "$ac_cv_prog_DLLTOOL"; then
6240 ac_ct_DLLTOOL=$DLLTOOL
6241 # Extract the first word of "dlltool", so it can be a program name with args.
6242 set dummy dlltool; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6246 $as_echo_n "(cached) " >&6
6248 if test -n "$ac_ct_DLLTOOL"; then
6249 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6258 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6268 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6269 if test -n "$ac_ct_DLLTOOL"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6271 $as_echo "$ac_ct_DLLTOOL" >&6; }
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6277 if test "x$ac_ct_DLLTOOL" = x; then
6280 case $cross_compiling:$ac_tool_warned in
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6283 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6284 ac_tool_warned=yes ;;
6286 DLLTOOL=$ac_ct_DLLTOOL
6289 DLLTOOL="$ac_cv_prog_DLLTOOL"
6292 test -z "$DLLTOOL" && DLLTOOL=dlltool
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6304 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6305 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6306 $as_echo_n "(cached) " >&6
6308 lt_cv_sharedlib_from_linklib_cmd='unknown'
6311 cygwin* | mingw* | pw32* | cegcc*)
6312 # two different shell functions defined in ltmain.sh;
6313 # decide which one to use based on capabilities of $DLLTOOL
6314 case `$DLLTOOL --help 2>&1` in
6315 *--identify-strict*)
6316 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6319 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6324 # fallback: assume linklib IS sharedlib
6325 lt_cv_sharedlib_from_linklib_cmd=$ECHO
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6331 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6332 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6333 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6342 if test -n "$ac_tool_prefix"; then
6345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6346 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348 $as_echo_n "checking for $ac_word... " >&6; }
6349 if ${ac_cv_prog_AR+:} false; then :
6350 $as_echo_n "(cached) " >&6
6352 if test -n "$AR"; then
6353 ac_cv_prog_AR="$AR" # Let the user override the test.
6355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359 test -z "$as_dir" && as_dir=.
6360 for ac_exec_ext in '' $ac_executable_extensions; do
6361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6362 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6373 if test -n "$AR"; then
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6375 $as_echo "$AR" >&6; }
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378 $as_echo "no" >&6; }
6382 test -n "$AR" && break
6385 if test -z "$AR"; then
6389 # Extract the first word of "$ac_prog", so it can be a program name with args.
6390 set dummy $ac_prog; ac_word=$2
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6392 $as_echo_n "checking for $ac_word... " >&6; }
6393 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6394 $as_echo_n "(cached) " >&6
6396 if test -n "$ac_ct_AR"; then
6397 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6403 test -z "$as_dir" && as_dir=.
6404 for ac_exec_ext in '' $ac_executable_extensions; do
6405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6406 ac_cv_prog_ac_ct_AR="$ac_prog"
6407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6417 if test -n "$ac_ct_AR"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6419 $as_echo "$ac_ct_AR" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 $as_echo "no" >&6; }
6426 test -n "$ac_ct_AR" && break
6429 if test "x$ac_ct_AR" = x; then
6432 case $cross_compiling:$ac_tool_warned in
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6436 ac_tool_warned=yes ;;
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6456 $as_echo_n "checking for archiver @FILE support... " >&6; }
6457 if ${lt_cv_ar_at_file+:} false; then :
6458 $as_echo_n "(cached) " >&6
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6472 if ac_fn_c_try_compile "$LINENO"; then :
6473 echo conftest.$ac_objext > conftest.lst
6474 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6475 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6476 (eval $lt_ar_try) 2>&5
6478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479 test $ac_status = 0; }
6480 if test 0 -eq "$ac_status"; then
6481 # Ensure the archiver fails upon bogus file names.
6482 rm -f conftest.$ac_objext libconftest.a
6483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6484 (eval $lt_ar_try) 2>&5
6486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6487 test $ac_status = 0; }
6488 if test 0 -ne "$ac_status"; then
6492 rm -f conftest.* libconftest.a
6495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6499 $as_echo "$lt_cv_ar_at_file" >&6; }
6501 if test no = "$lt_cv_ar_at_file"; then
6504 archiver_list_spec=$lt_cv_ar_at_file
6513 if test -n "$ac_tool_prefix"; then
6514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6515 set dummy ${ac_tool_prefix}strip; ac_word=$2
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6517 $as_echo_n "checking for $ac_word... " >&6; }
6518 if ${ac_cv_prog_STRIP+:} false; then :
6519 $as_echo_n "(cached) " >&6
6521 if test -n "$STRIP"; then
6522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6528 test -z "$as_dir" && as_dir=.
6529 for ac_exec_ext in '' $ac_executable_extensions; do
6530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6531 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 STRIP=$ac_cv_prog_STRIP
6542 if test -n "$STRIP"; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6544 $as_echo "$STRIP" >&6; }
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6547 $as_echo "no" >&6; }
6552 if test -z "$ac_cv_prog_STRIP"; then
6554 # Extract the first word of "strip", so it can be a program name with args.
6555 set dummy strip; ac_word=$2
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6557 $as_echo_n "checking for $ac_word... " >&6; }
6558 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6559 $as_echo_n "(cached) " >&6
6561 if test -n "$ac_ct_STRIP"; then
6562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6568 test -z "$as_dir" && as_dir=.
6569 for ac_exec_ext in '' $ac_executable_extensions; do
6570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6571 ac_cv_prog_ac_ct_STRIP="strip"
6572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6582 if test -n "$ac_ct_STRIP"; then
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6584 $as_echo "$ac_ct_STRIP" >&6; }
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6587 $as_echo "no" >&6; }
6590 if test "x$ac_ct_STRIP" = x; then
6593 case $cross_compiling:$ac_tool_warned in
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6597 ac_tool_warned=yes ;;
6602 STRIP="$ac_cv_prog_STRIP"
6605 test -z "$STRIP" && STRIP=:
6612 if test -n "$ac_tool_prefix"; then
6613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6614 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6616 $as_echo_n "checking for $ac_word... " >&6; }
6617 if ${ac_cv_prog_RANLIB+:} false; then :
6618 $as_echo_n "(cached) " >&6
6620 if test -n "$RANLIB"; then
6621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6627 test -z "$as_dir" && as_dir=.
6628 for ac_exec_ext in '' $ac_executable_extensions; do
6629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 RANLIB=$ac_cv_prog_RANLIB
6641 if test -n "$RANLIB"; then
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6643 $as_echo "$RANLIB" >&6; }
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6646 $as_echo "no" >&6; }
6651 if test -z "$ac_cv_prog_RANLIB"; then
6652 ac_ct_RANLIB=$RANLIB
6653 # Extract the first word of "ranlib", so it can be a program name with args.
6654 set dummy ranlib; ac_word=$2
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6656 $as_echo_n "checking for $ac_word... " >&6; }
6657 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6658 $as_echo_n "(cached) " >&6
6660 if test -n "$ac_ct_RANLIB"; then
6661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_RANLIB="ranlib"
6671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6681 if test -n "$ac_ct_RANLIB"; then
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6683 $as_echo "$ac_ct_RANLIB" >&6; }
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 $as_echo "no" >&6; }
6689 if test "x$ac_ct_RANLIB" = x; then
6692 case $cross_compiling:$ac_tool_warned in
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6696 ac_tool_warned=yes ;;
6698 RANLIB=$ac_ct_RANLIB
6701 RANLIB="$ac_cv_prog_RANLIB"
6704 test -z "$RANLIB" && RANLIB=:
6711 # Determine commands to create old-style static archives.
6712 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6713 old_postinstall_cmds='chmod 644 $oldlib'
6714 old_postuninstall_cmds=
6716 if test -n "$RANLIB"; then
6719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6725 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6730 lock_old_archive_extraction=yes ;;
6732 lock_old_archive_extraction=no ;;
6773 # If no C compiler was specified, use CC.
6776 # If no C compiler flags were specified, use CFLAGS.
6777 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6779 # Allow CC to be a program name with arguments.
6783 # Check for command to grab the raw symbol name followed by C symbol from nm.
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6785 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6786 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6787 $as_echo_n "(cached) " >&6
6790 # These are sane defaults that work on at least a few old systems.
6791 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6793 # Character class describing NM global symbol codes.
6794 symcode='[BCDEGRST]'
6796 # Regexp to match symbols that can be accessed directly from C.
6797 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6799 # Define system-specific variables.
6804 cygwin* | mingw* | pw32* | cegcc*)
6805 symcode='[ABCDGISTW]'
6808 if test ia64 = "$host_cpu"; then
6809 symcode='[ABCDEGRST]'
6813 symcode='[BCDEGRST]'
6816 symcode='[BCDEGQRST]'
6827 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6835 # If we're using GNU nm, then use its standard symbol codes.
6836 case `$NM -V 2>&1` in
6837 *GNU* | *'with BFD'*)
6838 symcode='[ABCDGIRSTW]' ;;
6841 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6842 # Gets list of data symbols to import.
6843 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6844 # Adjust the below global symbol transforms to fixup imported variables.
6845 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6846 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
6847 lt_c_name_lib_hook="\
6848 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
6849 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
6851 # Disable hooks by default.
6852 lt_cv_sys_global_symbol_to_import=
6858 # Transform an extracted symbol line into a proper C declaration.
6859 # Some systems (esp. on ia64) link data and code symbols differently,
6860 # so use this general approach.
6861 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6863 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6864 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6866 # Transform an extracted symbol line into symbol name and symbol address
6867 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6869 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6870 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
6872 # Transform an extracted symbol line into symbol name with lib prefix and
6874 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6875 $lt_c_name_lib_hook\
6876 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
6877 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
6878 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
6880 # Handle CRLF in mingw tool chain
6884 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6888 # Try without a prefix underscore, then with it.
6889 for ac_symprfx in "" "_"; do
6891 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6892 symxfrm="\\1 $ac_symprfx\\2 \\2"
6894 # Write the raw and C identifiers.
6895 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6896 # Fake it for dumpbin and say T for any non-static function,
6897 # D for any global variable and I for any imported variable.
6898 # Also find C++ and __fastcall symbols from MSVC++,
6899 # which start with @ or ?.
6900 lt_cv_sys_global_symbol_pipe="$AWK '"\
6901 " {last_section=section; section=\$ 3};"\
6902 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6903 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6904 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6905 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6906 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6907 " \$ 0!~/External *\|/{next};"\
6908 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6909 " {if(hide[section]) next};"\
6910 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6911 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6912 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6913 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6914 " ' prfx=^$ac_symprfx"
6916 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6918 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6920 # Check to see that the pipe works correctly.
6924 cat > conftest.$ac_ext <<_LT_EOF
6929 void nm_test_func(void);
6930 void nm_test_func(void){}
6934 int main(){nm_test_var='a';nm_test_func();return(0);}
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6938 (eval $ac_compile) 2>&5
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; }; then
6942 # Now try to grab the symbols.
6944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6945 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6948 test $ac_status = 0; } && test -s "$nlist"; then
6949 # Try sorting and uniquifying the output.
6950 if sort "$nlist" | uniq > "$nlist"T; then
6951 mv -f "$nlist"T "$nlist"
6956 # Make sure that we snagged all the symbols we need.
6957 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6958 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6959 cat <<_LT_EOF > conftest.$ac_ext
6960 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6961 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6962 /* DATA imports from DLLs on WIN32 can't be const, because runtime
6963 relocations are performed -- see ld's documentation on pseudo-relocs. */
6964 # define LT_DLSYM_CONST
6965 #elif defined __osf__
6966 /* This system does not cope well with relocations in const data. */
6967 # define LT_DLSYM_CONST
6969 # define LT_DLSYM_CONST const
6977 # Now generate the symbol file.
6978 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6980 cat <<_LT_EOF >> conftest.$ac_ext
6982 /* The mapping between symbol names and symbols. */
6983 LT_DLSYM_CONST struct {
6987 lt__PROGRAM__LTX_preloaded_symbols[] =
6989 { "@PROGRAM@", (void *) 0 },
6991 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6992 cat <<\_LT_EOF >> conftest.$ac_ext
6996 /* This works around a problem in FreeBSD linker */
6997 #ifdef FREEBSD_WORKAROUND
6998 static const void *lt_preloaded_setup() {
6999 return lt__PROGRAM__LTX_preloaded_symbols;
7007 # Now try linking the two files.
7008 mv conftest.$ac_objext conftstm.$ac_objext
7009 lt_globsym_save_LIBS=$LIBS
7010 lt_globsym_save_CFLAGS=$CFLAGS
7011 LIBS=conftstm.$ac_objext
7012 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7014 (eval $ac_link) 2>&5
7016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7017 test $ac_status = 0; } && test -s conftest$ac_exeext; then
7020 LIBS=$lt_globsym_save_LIBS
7021 CFLAGS=$lt_globsym_save_CFLAGS
7023 echo "cannot find nm_test_func in $nlist" >&5
7026 echo "cannot find nm_test_var in $nlist" >&5
7029 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7032 echo "$progname: failed program was:" >&5
7033 cat conftest.$ac_ext >&5
7035 rm -rf conftest* conftst*
7037 # Do not use the global_symbol_pipe unless it works.
7038 if test yes = "$pipe_works"; then
7041 lt_cv_sys_global_symbol_pipe=
7047 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7048 lt_cv_sys_global_symbol_to_cdecl=
7050 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7052 $as_echo "failed" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7055 $as_echo "ok" >&6; }
7058 # Response file support.
7059 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7060 nm_file_list_spec='@'
7061 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7062 nm_file_list_spec='@'
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7102 $as_echo_n "checking for sysroot... " >&6; }
7104 # Check whether --with-sysroot was given.
7105 if test "${with_sysroot+set}" = set; then :
7106 withval=$with_sysroot;
7113 case $with_sysroot in #(
7115 if test yes = "$GCC"; then
7116 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7120 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7126 $as_echo "$with_sysroot" >&6; }
7127 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7132 $as_echo "${lt_sysroot:-no}" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7139 $as_echo_n "checking for a working dd... " >&6; }
7140 if ${ac_cv_path_lt_DD+:} false; then :
7141 $as_echo_n "(cached) " >&6
7143 printf 0123456789abcdef0123456789abcdef >conftest.i
7144 cat conftest.i conftest.i >conftest2.i
7146 if test -z "$lt_DD"; then
7147 ac_path_lt_DD_found=false
7148 # Loop through the user's path and test for each of PROGNAME-LIST
7149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153 test -z "$as_dir" && as_dir=.
7154 for ac_prog in dd; do
7155 for ac_exec_ext in '' $ac_executable_extensions; do
7156 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7157 as_fn_executable_p "$ac_path_lt_DD" || continue
7158 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7159 cmp -s conftest.i conftest.out \
7160 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7162 $ac_path_lt_DD_found && break 3
7167 if test -z "$ac_cv_path_lt_DD"; then
7171 ac_cv_path_lt_DD=$lt_DD
7174 rm -f conftest.i conftest2.i conftest.out
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7177 $as_echo "$ac_cv_path_lt_DD" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7181 $as_echo_n "checking how to truncate binary pipes... " >&6; }
7182 if ${lt_cv_truncate_bin+:} false; then :
7183 $as_echo_n "(cached) " >&6
7185 printf 0123456789abcdef0123456789abcdef >conftest.i
7186 cat conftest.i conftest.i >conftest2.i
7188 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7189 cmp -s conftest.i conftest.out \
7190 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7192 rm -f conftest.i conftest2.i conftest.out
7193 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7196 $as_echo "$lt_cv_truncate_bin" >&6; }
7204 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
7207 for cc_temp in $*""; do
7209 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7210 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7215 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7218 # Check whether --enable-libtool-lock was given.
7219 if test "${enable_libtool_lock+set}" = set; then :
7220 enableval=$enable_libtool_lock;
7223 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7225 # Some flags need to be propagated to the compiler or linker for good
7229 # Find out what ABI is being produced by ac_compile, and set mode
7230 # options accordingly.
7231 echo 'int i;' > conftest.$ac_ext
7232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7233 (eval $ac_compile) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7236 test $ac_status = 0; }; then
7237 case `/usr/bin/file conftest.$ac_objext` in
7249 # Find out what ABI is being produced by ac_compile, and set linker
7250 # options accordingly.
7251 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7253 (eval $ac_compile) 2>&5
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; }; then
7257 if test yes = "$lt_cv_prog_gnu_ld"; then
7258 case `/usr/bin/file conftest.$ac_objext` in
7260 LD="${LD-ld} -melf32bsmip"
7263 LD="${LD-ld} -melf32bmipn32"
7266 LD="${LD-ld} -melf64bmip"
7270 case `/usr/bin/file conftest.$ac_objext` in
7287 # Find out what ABI is being produced by ac_compile, and set linker
7288 # options accordingly.
7289 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291 (eval $ac_compile) 2>&5
7293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294 test $ac_status = 0; }; then
7296 case `/usr/bin/file conftest.$ac_objext` in
7304 case `/usr/bin/file conftest.$ac_objext` in
7306 emul="${emul}btsmip"
7309 emul="${emul}ltsmip"
7312 case `/usr/bin/file conftest.$ac_objext` in
7317 LD="${LD-ld} -m $emul"
7322 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7323 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7324 # Find out what ABI is being produced by ac_compile, and set linker
7325 # options accordingly. Note that the listed cases only cover the
7326 # situations where additional linker options are needed (such as when
7327 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7328 # vice versa); the common cases where no linker options are needed do
7329 # not appear in the list.
7330 echo 'int i;' > conftest.$ac_ext
7331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7332 (eval $ac_compile) 2>&5
7334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7335 test $ac_status = 0; }; then
7336 case `/usr/bin/file conftest.o` in
7339 x86_64-*kfreebsd*-gnu)
7340 LD="${LD-ld} -m elf_i386_fbsd"
7343 case `/usr/bin/file conftest.o` in
7345 LD="${LD-ld} -m elf32_x86_64"
7348 LD="${LD-ld} -m elf_i386"
7352 powerpc64le-*linux*)
7353 LD="${LD-ld} -m elf32lppclinux"
7356 LD="${LD-ld} -m elf32ppclinux"
7359 LD="${LD-ld} -m elf_s390"
7362 LD="${LD-ld} -m elf32_sparc"
7368 x86_64-*kfreebsd*-gnu)
7369 LD="${LD-ld} -m elf_x86_64_fbsd"
7372 LD="${LD-ld} -m elf_x86_64"
7375 LD="${LD-ld} -m elf64lppc"
7378 LD="${LD-ld} -m elf64ppc"
7380 s390*-*linux*|s390*-*tpf*)
7381 LD="${LD-ld} -m elf64_s390"
7384 LD="${LD-ld} -m elf64_sparc"
7394 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7396 CFLAGS="$CFLAGS -belf"
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7398 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7399 if ${lt_cv_cc_needs_belf+:} false; then :
7400 $as_echo_n "(cached) " >&6
7403 ac_cpp='$CPP $CPPFLAGS'
7404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7419 if ac_fn_c_try_link "$LINENO"; then :
7420 lt_cv_cc_needs_belf=yes
7422 lt_cv_cc_needs_belf=no
7424 rm -f core conftest.err conftest.$ac_objext \
7425 conftest$ac_exeext conftest.$ac_ext
7427 ac_cpp='$CPP $CPPFLAGS'
7428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7434 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7435 if test yes != "$lt_cv_cc_needs_belf"; then
7436 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7441 # Find out what ABI is being produced by ac_compile, and set linker
7442 # options accordingly.
7443 echo 'int i;' > conftest.$ac_ext
7444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7445 (eval $ac_compile) 2>&5
7447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7448 test $ac_status = 0; }; then
7449 case `/usr/bin/file conftest.o` in
7451 case $lt_cv_prog_gnu_ld in
7454 i?86-*-solaris*|x86_64-*-solaris*)
7455 LD="${LD-ld} -m elf_x86_64"
7458 LD="${LD-ld} -m elf64_sparc"
7461 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7462 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7467 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7479 need_locks=$enable_libtool_lock
7481 if test -n "$ac_tool_prefix"; then
7482 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7483 set dummy ${ac_tool_prefix}mt; ac_word=$2
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7485 $as_echo_n "checking for $ac_word... " >&6; }
7486 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7487 $as_echo_n "(cached) " >&6
7489 if test -n "$MANIFEST_TOOL"; then
7490 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7496 test -z "$as_dir" && as_dir=.
7497 for ac_exec_ext in '' $ac_executable_extensions; do
7498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7499 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7509 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7510 if test -n "$MANIFEST_TOOL"; then
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7512 $as_echo "$MANIFEST_TOOL" >&6; }
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7515 $as_echo "no" >&6; }
7520 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7521 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7522 # Extract the first word of "mt", so it can be a program name with args.
7523 set dummy mt; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7527 $as_echo_n "(cached) " >&6
7529 if test -n "$ac_ct_MANIFEST_TOOL"; then
7530 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7539 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7550 if test -n "$ac_ct_MANIFEST_TOOL"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7552 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7558 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7561 case $cross_compiling:$ac_tool_warned in
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7565 ac_tool_warned=yes ;;
7567 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7570 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7573 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7575 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7576 if ${lt_cv_path_mainfest_tool+:} false; then :
7577 $as_echo_n "(cached) " >&6
7579 lt_cv_path_mainfest_tool=no
7580 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7581 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7582 cat conftest.err >&5
7583 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7584 lt_cv_path_mainfest_tool=yes
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7589 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7590 if test yes != "$lt_cv_path_mainfest_tool"; then
7600 rhapsody* | darwin*)
7601 if test -n "$ac_tool_prefix"; then
7602 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7603 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7605 $as_echo_n "checking for $ac_word... " >&6; }
7606 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7607 $as_echo_n "(cached) " >&6
7609 if test -n "$DSYMUTIL"; then
7610 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7616 test -z "$as_dir" && as_dir=.
7617 for ac_exec_ext in '' $ac_executable_extensions; do
7618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7619 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7629 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7630 if test -n "$DSYMUTIL"; then
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7632 $as_echo "$DSYMUTIL" >&6; }
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7635 $as_echo "no" >&6; }
7640 if test -z "$ac_cv_prog_DSYMUTIL"; then
7641 ac_ct_DSYMUTIL=$DSYMUTIL
7642 # Extract the first word of "dsymutil", so it can be a program name with args.
7643 set dummy dsymutil; ac_word=$2
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7645 $as_echo_n "checking for $ac_word... " >&6; }
7646 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7647 $as_echo_n "(cached) " >&6
7649 if test -n "$ac_ct_DSYMUTIL"; then
7650 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656 test -z "$as_dir" && as_dir=.
7657 for ac_exec_ext in '' $ac_executable_extensions; do
7658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7670 if test -n "$ac_ct_DSYMUTIL"; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7672 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7675 $as_echo "no" >&6; }
7678 if test "x$ac_ct_DSYMUTIL" = x; then
7681 case $cross_compiling:$ac_tool_warned in
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7685 ac_tool_warned=yes ;;
7687 DSYMUTIL=$ac_ct_DSYMUTIL
7690 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7693 if test -n "$ac_tool_prefix"; then
7694 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7695 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7697 $as_echo_n "checking for $ac_word... " >&6; }
7698 if ${ac_cv_prog_NMEDIT+:} false; then :
7699 $as_echo_n "(cached) " >&6
7701 if test -n "$NMEDIT"; then
7702 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7708 test -z "$as_dir" && as_dir=.
7709 for ac_exec_ext in '' $ac_executable_extensions; do
7710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7711 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7721 NMEDIT=$ac_cv_prog_NMEDIT
7722 if test -n "$NMEDIT"; then
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7724 $as_echo "$NMEDIT" >&6; }
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7727 $as_echo "no" >&6; }
7732 if test -z "$ac_cv_prog_NMEDIT"; then
7733 ac_ct_NMEDIT=$NMEDIT
7734 # Extract the first word of "nmedit", so it can be a program name with args.
7735 set dummy nmedit; ac_word=$2
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7737 $as_echo_n "checking for $ac_word... " >&6; }
7738 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7739 $as_echo_n "(cached) " >&6
7741 if test -n "$ac_ct_NMEDIT"; then
7742 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748 test -z "$as_dir" && as_dir=.
7749 for ac_exec_ext in '' $ac_executable_extensions; do
7750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7751 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7762 if test -n "$ac_ct_NMEDIT"; then
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7764 $as_echo "$ac_ct_NMEDIT" >&6; }
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7767 $as_echo "no" >&6; }
7770 if test "x$ac_ct_NMEDIT" = x; then
7773 case $cross_compiling:$ac_tool_warned in
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7777 ac_tool_warned=yes ;;
7779 NMEDIT=$ac_ct_NMEDIT
7782 NMEDIT="$ac_cv_prog_NMEDIT"
7785 if test -n "$ac_tool_prefix"; then
7786 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7787 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 $as_echo_n "checking for $ac_word... " >&6; }
7790 if ${ac_cv_prog_LIPO+:} false; then :
7791 $as_echo_n "(cached) " >&6
7793 if test -n "$LIPO"; then
7794 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7800 test -z "$as_dir" && as_dir=.
7801 for ac_exec_ext in '' $ac_executable_extensions; do
7802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7803 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7813 LIPO=$ac_cv_prog_LIPO
7814 if test -n "$LIPO"; then
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7816 $as_echo "$LIPO" >&6; }
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819 $as_echo "no" >&6; }
7824 if test -z "$ac_cv_prog_LIPO"; then
7826 # Extract the first word of "lipo", so it can be a program name with args.
7827 set dummy lipo; ac_word=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7831 $as_echo_n "(cached) " >&6
7833 if test -n "$ac_ct_LIPO"; then
7834 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7840 test -z "$as_dir" && as_dir=.
7841 for ac_exec_ext in '' $ac_executable_extensions; do
7842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7843 ac_cv_prog_ac_ct_LIPO="lipo"
7844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7853 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7854 if test -n "$ac_ct_LIPO"; then
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7856 $as_echo "$ac_ct_LIPO" >&6; }
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7862 if test "x$ac_ct_LIPO" = x; then
7865 case $cross_compiling:$ac_tool_warned in
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7869 ac_tool_warned=yes ;;
7874 LIPO="$ac_cv_prog_LIPO"
7877 if test -n "$ac_tool_prefix"; then
7878 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7879 set dummy ${ac_tool_prefix}otool; ac_word=$2
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7881 $as_echo_n "checking for $ac_word... " >&6; }
7882 if ${ac_cv_prog_OTOOL+:} false; then :
7883 $as_echo_n "(cached) " >&6
7885 if test -n "$OTOOL"; then
7886 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7892 test -z "$as_dir" && as_dir=.
7893 for ac_exec_ext in '' $ac_executable_extensions; do
7894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7895 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 OTOOL=$ac_cv_prog_OTOOL
7906 if test -n "$OTOOL"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7908 $as_echo "$OTOOL" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7916 if test -z "$ac_cv_prog_OTOOL"; then
7918 # Extract the first word of "otool", so it can be a program name with args.
7919 set dummy otool; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7923 $as_echo_n "(cached) " >&6
7925 if test -n "$ac_ct_OTOOL"; then
7926 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7935 ac_cv_prog_ac_ct_OTOOL="otool"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7945 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7946 if test -n "$ac_ct_OTOOL"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7948 $as_echo "$ac_ct_OTOOL" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7951 $as_echo "no" >&6; }
7954 if test "x$ac_ct_OTOOL" = x; then
7957 case $cross_compiling:$ac_tool_warned in
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7961 ac_tool_warned=yes ;;
7966 OTOOL="$ac_cv_prog_OTOOL"
7969 if test -n "$ac_tool_prefix"; then
7970 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7971 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7973 $as_echo_n "checking for $ac_word... " >&6; }
7974 if ${ac_cv_prog_OTOOL64+:} false; then :
7975 $as_echo_n "(cached) " >&6
7977 if test -n "$OTOOL64"; then
7978 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7984 test -z "$as_dir" && as_dir=.
7985 for ac_exec_ext in '' $ac_executable_extensions; do
7986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7987 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7997 OTOOL64=$ac_cv_prog_OTOOL64
7998 if test -n "$OTOOL64"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8000 $as_echo "$OTOOL64" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8008 if test -z "$ac_cv_prog_OTOOL64"; then
8009 ac_ct_OTOOL64=$OTOOL64
8010 # Extract the first word of "otool64", so it can be a program name with args.
8011 set dummy otool64; ac_word=$2
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8013 $as_echo_n "checking for $ac_word... " >&6; }
8014 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8015 $as_echo_n "(cached) " >&6
8017 if test -n "$ac_ct_OTOOL64"; then
8018 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8024 test -z "$as_dir" && as_dir=.
8025 for ac_exec_ext in '' $ac_executable_extensions; do
8026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8027 ac_cv_prog_ac_ct_OTOOL64="otool64"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8038 if test -n "$ac_ct_OTOOL64"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8040 $as_echo "$ac_ct_OTOOL64" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8046 if test "x$ac_ct_OTOOL64" = x; then
8049 case $cross_compiling:$ac_tool_warned in
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8053 ac_tool_warned=yes ;;
8055 OTOOL64=$ac_ct_OTOOL64
8058 OTOOL64="$ac_cv_prog_OTOOL64"
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8088 $as_echo_n "checking for -single_module linker flag... " >&6; }
8089 if ${lt_cv_apple_cc_single_mod+:} false; then :
8090 $as_echo_n "(cached) " >&6
8092 lt_cv_apple_cc_single_mod=no
8093 if test -z "$LT_MULTI_MODULE"; then
8094 # By default we will add the -single_module flag. You can override
8095 # by either setting the environment variable LT_MULTI_MODULE
8096 # non-empty at configure time, or by adding -multi_module to the
8098 rm -rf libconftest.dylib*
8099 echo "int foo(void){return 1;}" > conftest.c
8100 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8101 -dynamiclib -Wl,-single_module conftest.c" >&5
8102 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8103 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8105 # If there is a non-empty error log, and "single_module"
8106 # appears in it, assume the flag caused a linker warning
8107 if test -s conftest.err && $GREP single_module conftest.err; then
8108 cat conftest.err >&5
8109 # Otherwise, if the output was created with a 0 exit code from
8110 # the compiler, it worked.
8111 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8112 lt_cv_apple_cc_single_mod=yes
8114 cat conftest.err >&5
8116 rm -rf libconftest.dylib*
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8121 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8124 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8125 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8126 $as_echo_n "(cached) " >&6
8128 lt_cv_ld_exported_symbols_list=no
8129 save_LDFLAGS=$LDFLAGS
8130 echo "_main" > conftest.sym
8131 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8133 /* end confdefs.h. */
8143 if ac_fn_c_try_link "$LINENO"; then :
8144 lt_cv_ld_exported_symbols_list=yes
8146 lt_cv_ld_exported_symbols_list=no
8148 rm -f core conftest.err conftest.$ac_objext \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LDFLAGS=$save_LDFLAGS
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8154 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8157 $as_echo_n "checking for -force_load linker flag... " >&6; }
8158 if ${lt_cv_ld_force_load+:} false; then :
8159 $as_echo_n "(cached) " >&6
8161 lt_cv_ld_force_load=no
8162 cat > conftest.c << _LT_EOF
8163 int forced_loaded() { return 2;}
8165 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8166 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8167 echo "$AR cru libconftest.a conftest.o" >&5
8168 $AR cru libconftest.a conftest.o 2>&5
8169 echo "$RANLIB libconftest.a" >&5
8170 $RANLIB libconftest.a 2>&5
8171 cat > conftest.c << _LT_EOF
8172 int main() { return 0;}
8174 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8175 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8177 if test -s conftest.err && $GREP force_load conftest.err; then
8178 cat conftest.err >&5
8179 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8180 lt_cv_ld_force_load=yes
8182 cat conftest.err >&5
8184 rm -f conftest.err libconftest.a conftest conftest.c
8185 rm -rf conftest.dSYM
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8189 $as_echo "$lt_cv_ld_force_load" >&6; }
8191 rhapsody* | darwin1.[012])
8192 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8194 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8195 darwin*) # darwin 5.x on
8196 # if running on 10.5 or later, the deployment target defaults
8197 # to the OS version, if on x86, and 10.4, the deployment
8198 # target defaults to 10.4. Don't you love it?
8199 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8200 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8201 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8203 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8205 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8209 if test yes = "$lt_cv_apple_cc_single_mod"; then
8210 _lt_dar_single_mod='$single_module'
8212 if test yes = "$lt_cv_ld_exported_symbols_list"; then
8213 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8215 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8217 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8218 _lt_dsymutil='~$DSYMUTIL $lib || :'
8225 # func_munge_path_list VARIABLE PATH
8226 # -----------------------------------
8227 # VARIABLE is name of variable containing _space_ separated list of
8228 # directories to be munged by the contents of PATH, which is string
8231 # string "DIR[ DIR]" will be prepended to VARIABLE
8233 # string "DIR[ DIR]" will be appended to VARIABLE
8234 # "DIRP[:DIRP]::[DIRA:]DIRA"
8235 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8236 # "DIRA[ DIRA]" will be appended to VARIABLE
8238 # VARIABLE will be replaced by "DIR[ DIR]"
8239 func_munge_path_list ()
8245 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8248 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8251 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8252 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8255 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8262 $as_echo_n "checking for ANSI C header files... " >&6; }
8263 if ${ac_cv_header_stdc+:} false; then :
8264 $as_echo_n "(cached) " >&6
8266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8267 /* end confdefs.h. */
8281 if ac_fn_c_try_compile "$LINENO"; then :
8282 ac_cv_header_stdc=yes
8284 ac_cv_header_stdc=no
8286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8288 if test $ac_cv_header_stdc = yes; then
8289 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8291 /* end confdefs.h. */
8295 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8296 $EGREP "memchr" >/dev/null 2>&1; then :
8299 ac_cv_header_stdc=no
8305 if test $ac_cv_header_stdc = yes; then
8306 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8313 $EGREP "free" >/dev/null 2>&1; then :
8316 ac_cv_header_stdc=no
8322 if test $ac_cv_header_stdc = yes; then
8323 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8324 if test "$cross_compiling" = yes; then :
8327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8331 #if ((' ' & 0x0FF) == 0x020)
8332 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8333 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8335 # define ISLOWER(c) \
8336 (('a' <= (c) && (c) <= 'i') \
8337 || ('j' <= (c) && (c) <= 'r') \
8338 || ('s' <= (c) && (c) <= 'z'))
8339 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8342 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8347 for (i = 0; i < 256; i++)
8348 if (XOR (islower (i), ISLOWER (i))
8349 || toupper (i) != TOUPPER (i))
8354 if ac_fn_c_try_run "$LINENO"; then :
8357 ac_cv_header_stdc=no
8359 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8360 conftest.$ac_objext conftest.beam conftest.$ac_ext
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8366 $as_echo "$ac_cv_header_stdc" >&6; }
8367 if test $ac_cv_header_stdc = yes; then
8369 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8373 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8374 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8375 inttypes.h stdint.h unistd.h
8377 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8378 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8380 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8381 cat >>confdefs.h <<_ACEOF
8382 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8390 for ac_header in dlfcn.h
8392 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8394 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8395 cat >>confdefs.h <<_ACEOF
8396 #define HAVE_DLFCN_H 1
8417 # Check whether --enable-shared was given.
8418 if test "${enable_shared+set}" = set; then :
8419 enableval=$enable_shared; p=${PACKAGE-default}
8421 yes) enable_shared=yes ;;
8422 no) enable_shared=no ;;
8425 # Look at the argument we got. We use all the common list separators.
8426 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8427 for pkg in $enableval; do
8429 if test "X$pkg" = "X$p"; then
8448 # Check whether --enable-static was given.
8449 if test "${enable_static+set}" = set; then :
8450 enableval=$enable_static; p=${PACKAGE-default}
8452 yes) enable_static=yes ;;
8453 no) enable_static=no ;;
8456 # Look at the argument we got. We use all the common list separators.
8457 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8458 for pkg in $enableval; do
8460 if test "X$pkg" = "X$p"; then
8480 # Check whether --with-pic was given.
8481 if test "${with_pic+set}" = set; then :
8482 withval=$with_pic; lt_p=${PACKAGE-default}
8484 yes|no) pic_mode=$withval ;;
8487 # Look at the argument we got. We use all the common list separators.
8488 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8489 for lt_pkg in $withval; do
8491 if test "X$lt_pkg" = "X$lt_p"; then
8509 # Check whether --enable-fast-install was given.
8510 if test "${enable_fast_install+set}" = set; then :
8511 enableval=$enable_fast_install; p=${PACKAGE-default}
8513 yes) enable_fast_install=yes ;;
8514 no) enable_fast_install=no ;;
8516 enable_fast_install=no
8517 # Look at the argument we got. We use all the common list separators.
8518 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8519 for pkg in $enableval; do
8521 if test "X$pkg" = "X$p"; then
8522 enable_fast_install=yes
8529 enable_fast_install=yes
8539 shared_archive_member_spec=
8540 case $host,$enable_shared in
8541 power*-*-aix[5-9]*,yes)
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8543 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8545 # Check whether --with-aix-soname was given.
8546 if test "${with_aix_soname+set}" = set; then :
8547 withval=$with_aix_soname; case $withval in
8551 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8554 lt_cv_with_aix_soname=$with_aix_soname
8556 if ${lt_cv_with_aix_soname+:} false; then :
8557 $as_echo_n "(cached) " >&6
8559 lt_cv_with_aix_soname=aix
8562 with_aix_soname=$lt_cv_with_aix_soname
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8566 $as_echo "$with_aix_soname" >&6; }
8567 if test aix != "$with_aix_soname"; then
8568 # For the AIX way of multilib, we name the shared archive member
8569 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8570 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8571 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8572 # the AIX toolchain works better with OBJECT_MODE set (default 32).
8573 if test 64 = "${OBJECT_MODE-32}"; then
8574 shared_archive_member_spec=shr_64
8576 shared_archive_member_spec=shr
8594 # This can be used to rebuild libtool when needed
8595 LIBTOOL_DEPS=$ltmain
8597 # Always use our own libtool.
8598 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8629 test -z "$LN_S" && LN_S="ln -s"
8644 if test -n "${ZSH_VERSION+set}"; then
8645 setopt NO_GLOB_SUBST
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8649 $as_echo_n "checking for objdir... " >&6; }
8650 if ${lt_cv_objdir+:} false; then :
8651 $as_echo_n "(cached) " >&6
8653 rm -f .libs 2>/dev/null
8654 mkdir .libs 2>/dev/null
8655 if test -d .libs; then
8658 # MS-DOS does not allow filenames that begin with a dot.
8661 rmdir .libs 2>/dev/null
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8664 $as_echo "$lt_cv_objdir" >&6; }
8665 objdir=$lt_cv_objdir
8671 cat >>confdefs.h <<_ACEOF
8672 #define LT_OBJDIR "$lt_cv_objdir/"
8680 # AIX sometimes has problems with the GCC collect2 program. For some
8681 # reason, if we set the COLLECT_NAMES environment variable, the problems
8682 # vanish in a puff of smoke.
8683 if test set != "${COLLECT_NAMES+set}"; then
8685 export COLLECT_NAMES
8692 can_build_shared=yes
8694 # All known linkers require a '.a' archive for static linking (except MSVC,
8695 # which needs '.lib').
8698 with_gnu_ld=$lt_cv_prog_gnu_ld
8703 # Set sane defaults for various variables
8704 test -z "$CC" && CC=cc
8705 test -z "$LTCC" && LTCC=$CC
8706 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8707 test -z "$LD" && LD=ld
8708 test -z "$ac_objext" && ac_objext=o
8710 func_cc_basename $compiler
8711 cc_basename=$func_cc_basename_result
8714 # Only perform the check for file, if the check method requires it
8715 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8716 case $deplibs_check_method in
8718 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8720 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8721 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8722 $as_echo_n "(cached) " >&6
8726 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8729 lt_save_MAGIC_CMD=$MAGIC_CMD
8730 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8731 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8732 for ac_dir in $ac_dummy; do
8734 test -z "$ac_dir" && ac_dir=.
8735 if test -f "$ac_dir/${ac_tool_prefix}file"; then
8736 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8737 if test -n "$file_magic_test_file"; then
8738 case $deplibs_check_method in
8740 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8741 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8742 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8743 $EGREP "$file_magic_regex" > /dev/null; then
8748 *** Warning: the command libtool uses to detect shared libraries,
8749 *** $file_magic_cmd, produces output that libtool cannot recognize.
8750 *** The result is that libtool may fail to recognize shared libraries
8751 *** as such. This will affect the creation of libtool libraries that
8752 *** depend on shared libraries, but programs linked with such libtool
8753 *** libraries will work regardless of this problem. Nevertheless, you
8754 *** may want to report the problem to your system manager and/or to
8755 *** bug-libtool@gnu.org
8765 MAGIC_CMD=$lt_save_MAGIC_CMD
8770 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8771 if test -n "$MAGIC_CMD"; then
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8773 $as_echo "$MAGIC_CMD" >&6; }
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8776 $as_echo "no" >&6; }
8783 if test -z "$lt_cv_path_MAGIC_CMD"; then
8784 if test -n "$ac_tool_prefix"; then
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8786 $as_echo_n "checking for file... " >&6; }
8787 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8788 $as_echo_n "(cached) " >&6
8792 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8795 lt_save_MAGIC_CMD=$MAGIC_CMD
8796 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8797 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8798 for ac_dir in $ac_dummy; do
8800 test -z "$ac_dir" && ac_dir=.
8801 if test -f "$ac_dir/file"; then
8802 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8803 if test -n "$file_magic_test_file"; then
8804 case $deplibs_check_method in
8806 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8807 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8808 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8809 $EGREP "$file_magic_regex" > /dev/null; then
8814 *** Warning: the command libtool uses to detect shared libraries,
8815 *** $file_magic_cmd, produces output that libtool cannot recognize.
8816 *** The result is that libtool may fail to recognize shared libraries
8817 *** as such. This will affect the creation of libtool libraries that
8818 *** depend on shared libraries, but programs linked with such libtool
8819 *** libraries will work regardless of this problem. Nevertheless, you
8820 *** may want to report the problem to your system manager and/or to
8821 *** bug-libtool@gnu.org
8831 MAGIC_CMD=$lt_save_MAGIC_CMD
8836 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8837 if test -n "$MAGIC_CMD"; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8839 $as_echo "$MAGIC_CMD" >&6; }
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8842 $as_echo "no" >&6; }
8855 # Use C for the default configuration in the libtool script
8859 ac_cpp='$CPP $CPPFLAGS'
8860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8865 # Source file extension for C test sources.
8868 # Object file extension for compiled C test sources.
8872 # Code to be used in simple compile tests
8873 lt_simple_compile_test_code="int some_variable = 0;"
8875 # Code to be used in simple link tests
8876 lt_simple_link_test_code='int main(){return(0);}'
8884 # If no C compiler was specified, use CC.
8887 # If no C compiler flags were specified, use CFLAGS.
8888 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8890 # Allow CC to be a program name with arguments.
8893 # Save the default compiler, since it gets overwritten when the other
8894 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8895 compiler_DEFAULT=$CC
8897 # save warnings/boilerplate of simple test code
8898 ac_outfile=conftest.$ac_objext
8899 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8900 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8901 _lt_compiler_boilerplate=`cat conftest.err`
8904 ac_outfile=conftest.$ac_objext
8905 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8906 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8907 _lt_linker_boilerplate=`cat conftest.err`
8912 ## There is no encapsulation within the following macros, do not change
8913 ## the running order or otherwise move them around unless you know exactly
8914 ## what you are doing...
8915 if test -n "$compiler"; then
8917 lt_prog_compiler_no_builtin_flag=
8919 if test yes = "$GCC"; then
8920 case $cc_basename in
8922 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8924 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8928 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8929 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8930 $as_echo_n "(cached) " >&6
8932 lt_cv_prog_compiler_rtti_exceptions=no
8933 ac_outfile=conftest.$ac_objext
8934 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8935 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
8936 # Insert the option either (1) after the last *FLAGS variable, or
8937 # (2) before a word containing "conftest.", or (3) at the end.
8938 # Note that $ac_compile itself does not contain backslashes and begins
8939 # with a dollar sign (not a hyphen), so the echo should work correctly.
8940 # The option is referenced via a variable to avoid confusing sed.
8941 lt_compile=`echo "$ac_compile" | $SED \
8942 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8943 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8944 -e 's:$: $lt_compiler_flag:'`
8945 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8946 (eval "$lt_compile" 2>conftest.err)
8948 cat conftest.err >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 if (exit $ac_status) && test -s "$ac_outfile"; then
8951 # The compiler can only warn and ignore the option if not recognized
8952 # So say no if there are warnings other than the usual output.
8953 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8954 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8955 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8956 lt_cv_prog_compiler_rtti_exceptions=yes
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8963 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8965 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8966 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8978 lt_prog_compiler_wl=
8979 lt_prog_compiler_pic=
8980 lt_prog_compiler_static=
8983 if test yes = "$GCC"; then
8984 lt_prog_compiler_wl='-Wl,'
8985 lt_prog_compiler_static='-static'
8989 # All AIX code is PIC.
8990 if test ia64 = "$host_cpu"; then
8991 # AIX 5 now supports IA64 processor
8992 lt_prog_compiler_static='-Bstatic'
8994 lt_prog_compiler_pic='-fPIC'
9000 # see comment about AmigaOS4 .so support
9001 lt_prog_compiler_pic='-fPIC'
9004 # FIXME: we need at least 68020 code to build shared libraries, but
9005 # adding the '-m68020' flag to GCC prevents building anything better,
9007 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9012 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9013 # PIC is the default for these OSes.
9016 mingw* | cygwin* | pw32* | os2* | cegcc*)
9017 # This hack is so that the source file can tell whether it is being
9018 # built for inclusion in a dll (and should export symbols for example).
9019 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9020 # (--disable-auto-import) libraries
9021 lt_prog_compiler_pic='-DDLL_EXPORT'
9024 lt_prog_compiler_static='$wl-static'
9029 darwin* | rhapsody*)
9030 # PIC is the default on this platform
9031 # Common symbols not allowed in MH_DYLIB files
9032 lt_prog_compiler_pic='-fno-common'
9036 # PIC is the default for Haiku.
9037 # The "-static" flag exists, but is broken.
9038 lt_prog_compiler_static=
9042 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9043 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9044 # sets the default TLS model and affects inlining.
9050 lt_prog_compiler_pic='-fPIC'
9056 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9057 # Instead, we relocate shared libraries at runtime.
9061 # Just because we use GCC doesn't mean we suddenly get shared libraries
9062 # on systems that don't support them.
9063 lt_prog_compiler_can_build_shared=no
9068 # QNX uses GNU C++, but need to define -shared option too, otherwise
9070 lt_prog_compiler_pic='-fPIC -shared'
9074 if test -d /usr/nec; then
9075 lt_prog_compiler_pic=-Kconform_pic
9080 lt_prog_compiler_pic='-fPIC'
9084 case $cc_basename in
9085 nvcc*) # Cuda Compiler Driver 2.2
9086 lt_prog_compiler_wl='-Xlinker '
9087 if test -n "$lt_prog_compiler_pic"; then
9088 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9093 # PORTME Check for flag to pass linker flags through the system compiler.
9096 lt_prog_compiler_wl='-Wl,'
9097 if test ia64 = "$host_cpu"; then
9098 # AIX 5 now supports IA64 processor
9099 lt_prog_compiler_static='-Bstatic'
9101 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9105 darwin* | rhapsody*)
9106 # PIC is the default on this platform
9107 # Common symbols not allowed in MH_DYLIB files
9108 lt_prog_compiler_pic='-fno-common'
9109 case $cc_basename in
9111 # NAG Fortran compiler
9112 lt_prog_compiler_wl='-Wl,-Wl,,'
9113 lt_prog_compiler_pic='-PIC'
9114 lt_prog_compiler_static='-Bstatic'
9119 mingw* | cygwin* | pw32* | os2* | cegcc*)
9120 # This hack is so that the source file can tell whether it is being
9121 # built for inclusion in a dll (and should export symbols for example).
9122 lt_prog_compiler_pic='-DDLL_EXPORT'
9125 lt_prog_compiler_static='$wl-static'
9130 hpux9* | hpux10* | hpux11*)
9131 lt_prog_compiler_wl='-Wl,'
9132 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9139 lt_prog_compiler_pic='+Z'
9142 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9143 lt_prog_compiler_static='$wl-a ${wl}archive'
9146 irix5* | irix6* | nonstopux*)
9147 lt_prog_compiler_wl='-Wl,'
9148 # PIC (with -KPIC) is the default.
9149 lt_prog_compiler_static='-non_shared'
9152 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9153 case $cc_basename in
9154 # old Intel for x86_64, which still supported -KPIC.
9156 lt_prog_compiler_wl='-Wl,'
9157 lt_prog_compiler_pic='-KPIC'
9158 lt_prog_compiler_static='-static'
9160 # icc used to be incompatible with GCC.
9161 # ICC 10 doesn't accept -KPIC any more.
9163 lt_prog_compiler_wl='-Wl,'
9164 lt_prog_compiler_pic='-fPIC'
9165 lt_prog_compiler_static='-static'
9167 # Lahey Fortran 8.1.
9169 lt_prog_compiler_wl='-Wl,'
9170 lt_prog_compiler_pic='--shared'
9171 lt_prog_compiler_static='--static'
9174 # NAG Fortran compiler
9175 lt_prog_compiler_wl='-Wl,-Wl,,'
9176 lt_prog_compiler_pic='-PIC'
9177 lt_prog_compiler_static='-Bstatic'
9180 # Fabrice Bellard et al's Tiny C Compiler
9181 lt_prog_compiler_wl='-Wl,'
9182 lt_prog_compiler_pic='-fPIC'
9183 lt_prog_compiler_static='-static'
9185 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9186 # Portland Group compilers (*not* the Pentium gcc compiler,
9187 # which looks to be a dead project)
9188 lt_prog_compiler_wl='-Wl,'
9189 lt_prog_compiler_pic='-fpic'
9190 lt_prog_compiler_static='-Bstatic'
9193 lt_prog_compiler_wl='-Wl,'
9194 # All Alpha code is PIC.
9195 lt_prog_compiler_static='-non_shared'
9197 xl* | bgxl* | bgf* | mpixl*)
9198 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9199 lt_prog_compiler_wl='-Wl,'
9200 lt_prog_compiler_pic='-qpic'
9201 lt_prog_compiler_static='-qstaticlink'
9204 case `$CC -V 2>&1 | sed 5q` in
9205 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9206 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9207 lt_prog_compiler_pic='-KPIC'
9208 lt_prog_compiler_static='-Bstatic'
9209 lt_prog_compiler_wl=''
9211 *Sun\ F* | *Sun*Fortran*)
9212 lt_prog_compiler_pic='-KPIC'
9213 lt_prog_compiler_static='-Bstatic'
9214 lt_prog_compiler_wl='-Qoption ld '
9218 lt_prog_compiler_pic='-KPIC'
9219 lt_prog_compiler_static='-Bstatic'
9220 lt_prog_compiler_wl='-Wl,'
9222 *Intel*\ [CF]*Compiler*)
9223 lt_prog_compiler_wl='-Wl,'
9224 lt_prog_compiler_pic='-fPIC'
9225 lt_prog_compiler_static='-static'
9228 lt_prog_compiler_wl='-Wl,'
9229 lt_prog_compiler_pic='-fpic'
9230 lt_prog_compiler_static='-Bstatic'
9238 lt_prog_compiler_pic='-KPIC'
9239 lt_prog_compiler_static='-Bstatic'
9243 # QNX uses GNU C++, but need to define -shared option too, otherwise
9245 lt_prog_compiler_pic='-fPIC -shared'
9248 osf3* | osf4* | osf5*)
9249 lt_prog_compiler_wl='-Wl,'
9250 # All OSF/1 code is PIC.
9251 lt_prog_compiler_static='-non_shared'
9255 lt_prog_compiler_static='-non_shared'
9259 lt_prog_compiler_pic='-KPIC'
9260 lt_prog_compiler_static='-Bstatic'
9261 case $cc_basename in
9262 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9263 lt_prog_compiler_wl='-Qoption ld ';;
9265 lt_prog_compiler_wl='-Wl,';;
9270 lt_prog_compiler_wl='-Qoption ld '
9271 lt_prog_compiler_pic='-PIC'
9272 lt_prog_compiler_static='-Bstatic'
9275 sysv4 | sysv4.2uw2* | sysv4.3*)
9276 lt_prog_compiler_wl='-Wl,'
9277 lt_prog_compiler_pic='-KPIC'
9278 lt_prog_compiler_static='-Bstatic'
9282 if test -d /usr/nec; then
9283 lt_prog_compiler_pic='-Kconform_pic'
9284 lt_prog_compiler_static='-Bstatic'
9288 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9289 lt_prog_compiler_wl='-Wl,'
9290 lt_prog_compiler_pic='-KPIC'
9291 lt_prog_compiler_static='-Bstatic'
9295 lt_prog_compiler_wl='-Wl,'
9296 lt_prog_compiler_can_build_shared=no
9300 lt_prog_compiler_pic='-pic'
9301 lt_prog_compiler_static='-Bstatic'
9305 lt_prog_compiler_can_build_shared=no
9311 # For platforms that do not support PIC, -DPIC is meaningless:
9313 lt_prog_compiler_pic=
9316 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9321 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9322 if ${lt_cv_prog_compiler_pic+:} false; then :
9323 $as_echo_n "(cached) " >&6
9325 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9328 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9329 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9332 # Check to make sure the PIC flag actually works.
9334 if test -n "$lt_prog_compiler_pic"; then
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9336 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9337 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9338 $as_echo_n "(cached) " >&6
9340 lt_cv_prog_compiler_pic_works=no
9341 ac_outfile=conftest.$ac_objext
9342 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9343 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
9344 # Insert the option either (1) after the last *FLAGS variable, or
9345 # (2) before a word containing "conftest.", or (3) at the end.
9346 # Note that $ac_compile itself does not contain backslashes and begins
9347 # with a dollar sign (not a hyphen), so the echo should work correctly.
9348 # The option is referenced via a variable to avoid confusing sed.
9349 lt_compile=`echo "$ac_compile" | $SED \
9350 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9351 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9352 -e 's:$: $lt_compiler_flag:'`
9353 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9354 (eval "$lt_compile" 2>conftest.err)
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 if (exit $ac_status) && test -s "$ac_outfile"; then
9359 # The compiler can only warn and ignore the option if not recognized
9360 # So say no if there are warnings other than the usual output.
9361 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9362 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9363 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9364 lt_cv_prog_compiler_pic_works=yes
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9371 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9373 if test yes = "$lt_cv_prog_compiler_pic_works"; then
9374 case $lt_prog_compiler_pic in
9376 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9379 lt_prog_compiler_pic=
9380 lt_prog_compiler_can_build_shared=no
9396 # Check to make sure the static flag actually works.
9398 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9400 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9401 if ${lt_cv_prog_compiler_static_works+:} false; then :
9402 $as_echo_n "(cached) " >&6
9404 lt_cv_prog_compiler_static_works=no
9405 save_LDFLAGS=$LDFLAGS
9406 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9407 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9408 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9409 # The linker can only warn and ignore the option if not recognized
9410 # So say no if there are warnings
9411 if test -s conftest.err; then
9412 # Append any errors to the config.log.
9413 cat conftest.err 1>&5
9414 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9415 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9416 if diff conftest.exp conftest.er2 >/dev/null; then
9417 lt_cv_prog_compiler_static_works=yes
9420 lt_cv_prog_compiler_static_works=yes
9424 LDFLAGS=$save_LDFLAGS
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9428 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9430 if test yes = "$lt_cv_prog_compiler_static_works"; then
9433 lt_prog_compiler_static=
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9443 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9444 if ${lt_cv_prog_compiler_c_o+:} false; then :
9445 $as_echo_n "(cached) " >&6
9447 lt_cv_prog_compiler_c_o=no
9448 $RM -r conftest 2>/dev/null
9452 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9454 lt_compiler_flag="-o out/conftest2.$ac_objext"
9455 # Insert the option either (1) after the last *FLAGS variable, or
9456 # (2) before a word containing "conftest.", or (3) at the end.
9457 # Note that $ac_compile itself does not contain backslashes and begins
9458 # with a dollar sign (not a hyphen), so the echo should work correctly.
9459 lt_compile=`echo "$ac_compile" | $SED \
9460 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9461 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9462 -e 's:$: $lt_compiler_flag:'`
9463 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9464 (eval "$lt_compile" 2>out/conftest.err)
9466 cat out/conftest.err >&5
9467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9468 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9470 # The compiler can only warn and ignore the option if not recognized
9471 # So say no if there are warnings
9472 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9473 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9474 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9475 lt_cv_prog_compiler_c_o=yes
9480 # SGI C++ compiler will create directory out/ii_files/ for
9481 # template instantiation
9482 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9483 $RM out/* && rmdir out
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9490 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9498 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9499 if ${lt_cv_prog_compiler_c_o+:} false; then :
9500 $as_echo_n "(cached) " >&6
9502 lt_cv_prog_compiler_c_o=no
9503 $RM -r conftest 2>/dev/null
9507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9509 lt_compiler_flag="-o out/conftest2.$ac_objext"
9510 # Insert the option either (1) after the last *FLAGS variable, or
9511 # (2) before a word containing "conftest.", or (3) at the end.
9512 # Note that $ac_compile itself does not contain backslashes and begins
9513 # with a dollar sign (not a hyphen), so the echo should work correctly.
9514 lt_compile=`echo "$ac_compile" | $SED \
9515 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9516 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9517 -e 's:$: $lt_compiler_flag:'`
9518 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9519 (eval "$lt_compile" 2>out/conftest.err)
9521 cat out/conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9525 # The compiler can only warn and ignore the option if not recognized
9526 # So say no if there are warnings
9527 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9528 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9529 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9530 lt_cv_prog_compiler_c_o=yes
9535 # SGI C++ compiler will create directory out/ii_files/ for
9536 # template instantiation
9537 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9538 $RM out/* && rmdir out
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9545 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9550 hard_links=nottested
9551 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9552 # do not overwrite the value of need_locks provided by the user
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9554 $as_echo_n "checking if we can lock with hard links... " >&6; }
9557 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9559 ln conftest.a conftest.b 2>&5 || hard_links=no
9560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9562 $as_echo "$hard_links" >&6; }
9563 if test no = "$hard_links"; then
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9565 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9578 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9581 allow_undefined_flag=
9582 always_export_symbols=no
9584 archive_expsym_cmds=
9585 compiler_needs_object=no
9586 enable_shared_with_static_runtimes=no
9587 export_dynamic_flag_spec=
9588 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9589 hardcode_automatic=no
9591 hardcode_direct_absolute=no
9592 hardcode_libdir_flag_spec=
9593 hardcode_libdir_separator=
9595 hardcode_shlibpath_var=unsupported
9597 link_all_deplibs=unknown
9600 old_archive_from_new_cmds=
9601 old_archive_from_expsyms_cmds=
9602 thread_safe_flag_spec=
9603 whole_archive_flag_spec=
9604 # include_expsyms should be a list of space-separated symbols to be *always*
9605 # included in the symbol list
9607 # exclude_expsyms can be an extended regexp of symbols to exclude
9608 # it will be wrapped by ' (' and ')$', so one must not match beginning or
9609 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9610 # as well as any symbol that contains 'd'.
9611 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9612 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9613 # platforms (ab)use it in PIC code, but their linkers get confused if
9614 # the symbol is explicitly referenced. Since portable code cannot
9615 # rely on this symbol name, it's probably fine to never include it in
9616 # preloaded symbol tables.
9617 # Exclude shared library initialization/finalization symbols.
9618 extract_expsyms_cmds=
9621 cygwin* | mingw* | pw32* | cegcc*)
9622 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9623 # When not using gcc, we currently assume that we are using
9624 # Microsoft Visual C++.
9625 if test yes != "$GCC"; then
9630 # we just hope/assume this is gcc and not c89 (= MSVC++)
9640 # On some targets, GNU ld is compatible enough with the native linker
9641 # that we're better off using the native interface for both.
9642 lt_use_gnu_ld_interface=no
9643 if test yes = "$with_gnu_ld"; then
9646 # The AIX port of GNU ld has always aspired to compatibility
9647 # with the native linker. However, as the warning in the GNU ld
9648 # block says, versions before 2.19.5* couldn't really create working
9649 # shared libraries, regardless of the interface used.
9650 case `$LD -v 2>&1` in
9651 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9652 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9653 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9655 lt_use_gnu_ld_interface=yes
9660 lt_use_gnu_ld_interface=yes
9665 if test yes = "$lt_use_gnu_ld_interface"; then
9666 # If archive_cmds runs LD, not CC, wlarc should be empty
9669 # Set some defaults for GNU ld with shared library support. These
9670 # are reset later if shared libraries are not supported. Putting them
9671 # here allows them to be overridden if necessary.
9672 runpath_var=LD_RUN_PATH
9673 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9674 export_dynamic_flag_spec='$wl--export-dynamic'
9675 # ancient GNU ld didn't support --whole-archive et. al.
9676 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9677 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9679 whole_archive_flag_spec=
9681 supports_anon_versioning=no
9682 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9683 *GNU\ gold*) supports_anon_versioning=yes ;;
9684 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9685 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9686 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9687 *\ 2.11.*) ;; # other 2.11 versions
9688 *) supports_anon_versioning=yes ;;
9691 # See if GNU ld supports shared libraries.
9694 # On AIX/PPC, the GNU linker is very broken
9695 if test ia64 != "$host_cpu"; then
9699 *** Warning: the GNU linker, at least up to release 2.19, is reported
9700 *** to be unable to reliably create shared libraries on AIX.
9701 *** Therefore, libtool is disabling shared libraries support. If you
9702 *** really care for shared libraries, you may want to install binutils
9703 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9704 *** You will then need to restart the configuration process.
9713 # see comment about AmigaOS4 .so support
9714 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9715 archive_expsym_cmds=''
9718 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)'
9719 hardcode_libdir_flag_spec='-L$libdir'
9720 hardcode_minus_L=yes
9726 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9727 allow_undefined_flag=unsupported
9728 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9729 # support --undefined. This deserves some investigation. FIXME
9730 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9736 cygwin* | mingw* | pw32* | cegcc*)
9737 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9738 # as there is no search path for DLLs.
9739 hardcode_libdir_flag_spec='-L$libdir'
9740 export_dynamic_flag_spec='$wl--export-all-symbols'
9741 allow_undefined_flag=unsupported
9742 always_export_symbols=no
9743 enable_shared_with_static_runtimes=yes
9744 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9745 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9747 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9748 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9749 # If the export-symbols file already is a .def file, use it as
9750 # is; otherwise, prepend EXPORTS...
9751 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
9752 cp $export_symbols $output_objdir/$soname.def;
9754 echo EXPORTS > $output_objdir/$soname.def;
9755 cat $export_symbols >> $output_objdir/$soname.def;
9757 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9765 link_all_deplibs=yes
9769 hardcode_libdir_flag_spec='-L$libdir'
9770 hardcode_minus_L=yes
9771 allow_undefined_flag=unsupported
9773 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9774 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9775 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9776 $ECHO EXPORTS >> $output_objdir/$libname.def~
9777 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9778 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9779 emximp -o $lib $output_objdir/$libname.def'
9780 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9781 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9782 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9783 $ECHO EXPORTS >> $output_objdir/$libname.def~
9785 if test EXPORTS = "`$SED 1q $export_symbols`"; then
9786 prefix_cmds="$prefix_cmds -e 1d";
9788 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9789 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9790 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9791 emximp -o $lib $output_objdir/$libname.def'
9792 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9793 enable_shared_with_static_runtimes=yes
9798 hardcode_shlibpath_var=no
9799 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9800 export_dynamic_flag_spec='$wl-E'
9801 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9802 # Instead, shared libraries are loaded at an image base (0x10000000 by
9803 # default) and relocated if they conflict, which is a slow very memory
9804 # consuming and fragmenting process. To avoid this, we pick a random,
9805 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9806 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9807 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9808 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'
9811 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9813 if test linux-dietlibc = "$host_os"; then
9814 case $cc_basename in
9815 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9818 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9819 && test no = "$tmp_diet"
9821 tmp_addflag=' $pic_flag'
9822 tmp_sharedflag='-shared'
9823 case $cc_basename,$host_cpu in
9824 pgcc*) # Portland Group C compiler
9825 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9826 tmp_addflag=' $pic_flag'
9828 pgf77* | pgf90* | pgf95* | pgfortran*)
9829 # Portland Group f77 and f90 compilers
9830 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9831 tmp_addflag=' $pic_flag -Mnomain' ;;
9832 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9833 tmp_addflag=' -i_dynamic' ;;
9834 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9835 tmp_addflag=' -i_dynamic -nofor_main' ;;
9836 ifc* | ifort*) # Intel Fortran compiler
9837 tmp_addflag=' -nofor_main' ;;
9838 lf95*) # Lahey Fortran 8.1
9839 whole_archive_flag_spec=
9840 tmp_sharedflag='--shared' ;;
9841 nagfor*) # NAGFOR 5.3
9842 tmp_sharedflag='-Wl,-shared' ;;
9843 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9844 tmp_sharedflag='-qmkshrobj'
9846 nvcc*) # Cuda Compiler Driver 2.2
9847 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9848 compiler_needs_object=yes
9851 case `$CC -V 2>&1 | sed 5q` in
9852 *Sun\ C*) # Sun C 5.9
9853 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
9854 compiler_needs_object=yes
9855 tmp_sharedflag='-G' ;;
9856 *Sun\ F*) # Sun Fortran 8.3
9857 tmp_sharedflag='-G' ;;
9859 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9861 if test yes = "$supports_anon_versioning"; then
9862 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9863 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9864 echo "local: *; };" >> $output_objdir/$libname.ver~
9865 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9868 case $cc_basename in
9870 export_dynamic_flag_spec='-rdynamic'
9872 xlf* | bgf* | bgxlf* | mpixlf*)
9873 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9874 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9875 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9876 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9877 if test yes = "$supports_anon_versioning"; then
9878 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9879 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9880 echo "local: *; };" >> $output_objdir/$libname.ver~
9881 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9892 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9895 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9896 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9901 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9905 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9906 *** create shared libraries on Solaris systems. Therefore, libtool
9907 *** is disabling shared libraries support. We urge you to upgrade GNU
9908 *** binutils to release 2.9.1 or newer. Another option is to modify
9909 *** your PATH or compiler configuration so that the native linker is
9910 *** used, and then restart.
9913 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9914 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9915 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9921 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9922 case `$LD -v 2>&1` in
9923 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9927 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9928 *** reliably create shared libraries on SCO systems. Therefore, libtool
9929 *** is disabling shared libraries support. We urge you to upgrade GNU
9930 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9931 *** your PATH or compiler configuration so that the native linker is
9932 *** used, and then restart.
9937 # For security reasons, it is highly recommended that you always
9938 # use absolute paths for naming shared libraries, and exclude the
9939 # DT_RUNPATH tag from executables and libraries. But doing so
9940 # requires that you compile everything twice, which is a pain.
9941 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9942 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9943 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9944 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9953 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9956 hardcode_shlibpath_var=no
9960 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9961 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9962 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9969 if test no = "$ld_shlibs"; then
9971 hardcode_libdir_flag_spec=
9972 export_dynamic_flag_spec=
9973 whole_archive_flag_spec=
9976 # PORTME fill in a description of your system's linker (not GNU ld)
9979 allow_undefined_flag=unsupported
9980 always_export_symbols=yes
9981 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'
9982 # Note: this linker hardcodes the directories in LIBPATH if there
9983 # are no directories specified by -L.
9984 hardcode_minus_L=yes
9985 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9986 # Neither direct hardcoding nor static linking is supported with a
9988 hardcode_direct=unsupported
9993 if test ia64 = "$host_cpu"; then
9994 # On IA64, the linker does run time linking by default, so we don't
9995 # have to do anything special.
9996 aix_use_runtimelinking=no
9997 exp_sym_flag='-Bexport'
10000 # If we're using GNU nm, then we don't want the "-C" option.
10001 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
10002 # Without the "-l" option, or with the "-B" option, AIX nm treats
10003 # weak defined symbols like other global defined symbols, whereas
10004 # GNU nm marks them as "W".
10005 # While the 'weak' keyword is ignored in the Export File, we need
10006 # it in the Import File for the 'aix-soname' feature, so we have
10007 # to replace the "-B" option with "-P" for AIX nm.
10008 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10009 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
10011 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
10013 aix_use_runtimelinking=no
10015 # Test if we are trying to use run time linking or normal
10016 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10017 # have runtime linking enabled, and use it for executables.
10018 # For shared libraries, we enable/disable runtime linking
10019 # depending on the kind of the shared library created -
10020 # when "with_aix_soname,aix_use_runtimelinking" is:
10021 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
10022 # "aix,yes" lib.so shared, rtl:yes, for executables
10023 # lib.a static archive
10024 # "both,no" lib.so.V(shr.o) shared, rtl:yes
10025 # lib.a(lib.so.V) shared, rtl:no, for executables
10026 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10027 # lib.a(lib.so.V) shared, rtl:no
10028 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
10029 # lib.a static archive
10030 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10031 for ld_flag in $LDFLAGS; do
10032 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10033 aix_use_runtimelinking=yes
10037 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10038 # With aix-soname=svr4, we create the lib.so.V shared archives only,
10039 # so we don't have lib.a shared libs to link our executables.
10040 # We have to force runtime linking in this case.
10041 aix_use_runtimelinking=yes
10042 LDFLAGS="$LDFLAGS -Wl,-brtl"
10047 exp_sym_flag='-bexport'
10048 no_entry_flag='-bnoentry'
10051 # When large executables or shared objects are built, AIX ld can
10052 # have problems creating the table of contents. If linking a library
10053 # or program results in "error TOC overflow" add -mminimal-toc to
10054 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10055 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10058 hardcode_direct=yes
10059 hardcode_direct_absolute=yes
10060 hardcode_libdir_separator=':'
10061 link_all_deplibs=yes
10062 file_list_spec='$wl-f,'
10063 case $with_aix_soname,$aix_use_runtimelinking in
10064 aix,*) ;; # traditional, no import file
10065 svr4,* | *,yes) # use import file
10066 # The Import File defines what to hardcode.
10068 hardcode_direct_absolute=no
10072 if test yes = "$GCC"; then
10073 case $host_os in aix4.[012]|aix4.[012].*)
10074 # We only want to do this on AIX 4.2 and lower, the check
10075 # below for broken collect2 doesn't work under 4.3+
10076 collect2name=`$CC -print-prog-name=collect2`
10077 if test -f "$collect2name" &&
10078 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10080 # We have reworked collect2
10083 # We have old collect2
10084 hardcode_direct=unsupported
10085 # It fails to find uninstalled libraries when the uninstalled
10086 # path is not listed in the libpath. Setting hardcode_minus_L
10087 # to unsupported forces relinking
10088 hardcode_minus_L=yes
10089 hardcode_libdir_flag_spec='-L$libdir'
10090 hardcode_libdir_separator=
10094 shared_flag='-shared'
10095 if test yes = "$aix_use_runtimelinking"; then
10096 shared_flag="$shared_flag "'$wl-G'
10098 # Need to ensure runtime linking is disabled for the traditional
10099 # shared library, or the linker may eventually find shared libraries
10100 # /with/ Import File - we do not want to mix them.
10101 shared_flag_aix='-shared'
10102 shared_flag_svr4='-shared $wl-G'
10105 if test ia64 = "$host_cpu"; then
10106 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10107 # chokes on -Wl,-G. The following line is correct:
10110 if test yes = "$aix_use_runtimelinking"; then
10111 shared_flag='$wl-G'
10113 shared_flag='$wl-bM:SRE'
10115 shared_flag_aix='$wl-bM:SRE'
10116 shared_flag_svr4='$wl-G'
10120 export_dynamic_flag_spec='$wl-bexpall'
10121 # It seems that -bexpall does not export symbols beginning with
10122 # underscore (_), so it is better to generate a list of symbols to export.
10123 always_export_symbols=yes
10124 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10125 # Warning - without using the other runtime loading flags (-brtl),
10126 # -berok will link without error, but may produce a broken library.
10127 allow_undefined_flag='-berok'
10128 # Determine the default libpath from the value encoded in an
10129 # empty executable.
10130 if test set = "${lt_cv_aix_libpath+set}"; then
10131 aix_libpath=$lt_cv_aix_libpath
10133 if ${lt_cv_aix_libpath_+:} false; then :
10134 $as_echo_n "(cached) " >&6
10136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10147 if ac_fn_c_try_link "$LINENO"; then :
10149 lt_aix_libpath_sed='
10150 /Import File Strings/,/^$/ {
10152 s/^0 *\([^ ]*\) *$/\1/
10156 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10157 # Check for a 64-bit object if we didn't find anything.
10158 if test -z "$lt_cv_aix_libpath_"; then
10159 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10162 rm -f core conftest.err conftest.$ac_objext \
10163 conftest$ac_exeext conftest.$ac_ext
10164 if test -z "$lt_cv_aix_libpath_"; then
10165 lt_cv_aix_libpath_=/usr/lib:/lib
10170 aix_libpath=$lt_cv_aix_libpath_
10173 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10174 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10176 if test ia64 = "$host_cpu"; then
10177 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10178 allow_undefined_flag="-z nodefs"
10179 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"
10181 # Determine the default libpath from the value encoded in an
10182 # empty executable.
10183 if test set = "${lt_cv_aix_libpath+set}"; then
10184 aix_libpath=$lt_cv_aix_libpath
10186 if ${lt_cv_aix_libpath_+:} false; then :
10187 $as_echo_n "(cached) " >&6
10189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10190 /* end confdefs.h. */
10200 if ac_fn_c_try_link "$LINENO"; then :
10202 lt_aix_libpath_sed='
10203 /Import File Strings/,/^$/ {
10205 s/^0 *\([^ ]*\) *$/\1/
10209 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10210 # Check for a 64-bit object if we didn't find anything.
10211 if test -z "$lt_cv_aix_libpath_"; then
10212 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10215 rm -f core conftest.err conftest.$ac_objext \
10216 conftest$ac_exeext conftest.$ac_ext
10217 if test -z "$lt_cv_aix_libpath_"; then
10218 lt_cv_aix_libpath_=/usr/lib:/lib
10223 aix_libpath=$lt_cv_aix_libpath_
10226 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10227 # Warning - without using the other run time loading flags,
10228 # -berok will link without error, but may produce a broken library.
10229 no_undefined_flag=' $wl-bernotok'
10230 allow_undefined_flag=' $wl-berok'
10231 if test yes = "$with_gnu_ld"; then
10232 # We only use this code for GNU lds that support --whole-archive.
10233 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10235 # Exported symbols can be pulled into shared objects from archives
10236 whole_archive_flag_spec='$convenience'
10238 archive_cmds_need_lc=yes
10239 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10240 # -brtl affects multiple linker settings, -berok does not and is overridden later
10241 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10242 if test svr4 != "$with_aix_soname"; then
10243 # This is similar to how AIX traditionally builds its shared libraries.
10244 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10246 if test aix != "$with_aix_soname"; then
10247 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10249 # used by -dlpreopen to get the symbols
10250 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
10252 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10260 # see comment about AmigaOS4 .so support
10261 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10262 archive_expsym_cmds=''
10265 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)'
10266 hardcode_libdir_flag_spec='-L$libdir'
10267 hardcode_minus_L=yes
10273 export_dynamic_flag_spec=-rdynamic
10276 cygwin* | mingw* | pw32* | cegcc*)
10277 # When not using gcc, we currently assume that we are using
10278 # Microsoft Visual C++.
10279 # hardcode_libdir_flag_spec is actually meaningless, as there is
10280 # no search path for DLLs.
10281 case $cc_basename in
10284 hardcode_libdir_flag_spec=' '
10285 allow_undefined_flag=unsupported
10286 always_export_symbols=yes
10288 # Tell ltmain to make .lib files, not .a files.
10290 # Tell ltmain to make .dll files, not .so files.
10292 # FIXME: Setting linknames here is a bad hack.
10293 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10294 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
10295 cp "$export_symbols" "$output_objdir/$soname.def";
10296 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10298 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10300 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10302 # The linker will not automatically build a static lib if we build a DLL.
10303 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10304 enable_shared_with_static_runtimes=yes
10305 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10306 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10308 old_postinstall_cmds='chmod 644 $oldlib'
10309 postlink_cmds='lt_outputfile="@OUTPUT@"~
10310 lt_tool_outputfile="@TOOL_OUTPUT@"~
10311 case $lt_outputfile in
10314 lt_outputfile=$lt_outputfile.exe
10315 lt_tool_outputfile=$lt_tool_outputfile.exe
10318 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10319 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10320 $RM "$lt_outputfile.manifest";
10324 # Assume MSVC wrapper
10325 hardcode_libdir_flag_spec=' '
10326 allow_undefined_flag=unsupported
10327 # Tell ltmain to make .lib files, not .a files.
10329 # Tell ltmain to make .dll files, not .so files.
10331 # FIXME: Setting linknames here is a bad hack.
10332 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10333 # The linker will automatically build a .lib file if we build a DLL.
10334 old_archive_from_new_cmds='true'
10335 # FIXME: Should let the user specify the lib program.
10336 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337 enable_shared_with_static_runtimes=yes
10342 darwin* | rhapsody*)
10345 archive_cmds_need_lc=no
10347 hardcode_automatic=yes
10348 hardcode_shlibpath_var=unsupported
10349 if test yes = "$lt_cv_ld_force_load"; then
10350 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10353 whole_archive_flag_spec=''
10355 link_all_deplibs=yes
10356 allow_undefined_flag=$_lt_dar_allow_undefined
10357 case $cc_basename in
10358 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10359 *) _lt_dar_can_shared=$GCC ;;
10361 if test yes = "$_lt_dar_can_shared"; then
10362 output_verbose_link_cmd=func_echo_all
10363 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10364 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10365 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"
10366 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"
10375 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10376 hardcode_libdir_flag_spec='-L$libdir'
10377 hardcode_shlibpath_var=no
10380 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10381 # support. Future versions do this automatically, but an explicit c++rt0.o
10382 # does not break anything, and helps significantly (at the cost of a little
10385 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10386 hardcode_libdir_flag_spec='-R$libdir'
10387 hardcode_direct=yes
10388 hardcode_shlibpath_var=no
10391 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10393 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10394 hardcode_direct=yes
10395 hardcode_minus_L=yes
10396 hardcode_shlibpath_var=no
10399 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10400 freebsd* | dragonfly*)
10401 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10402 hardcode_libdir_flag_spec='-R$libdir'
10403 hardcode_direct=yes
10404 hardcode_shlibpath_var=no
10408 if test yes = "$GCC"; then
10409 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10411 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10413 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10414 hardcode_libdir_separator=:
10415 hardcode_direct=yes
10417 # hardcode_minus_L: Not really in the search PATH,
10418 # but as the default location of the library.
10419 hardcode_minus_L=yes
10420 export_dynamic_flag_spec='$wl-E'
10424 if test yes,no = "$GCC,$with_gnu_ld"; then
10425 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10429 if test no = "$with_gnu_ld"; then
10430 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10431 hardcode_libdir_separator=:
10432 hardcode_direct=yes
10433 hardcode_direct_absolute=yes
10434 export_dynamic_flag_spec='$wl-E'
10435 # hardcode_minus_L: Not really in the search PATH,
10436 # but as the default location of the library.
10437 hardcode_minus_L=yes
10442 if test yes,no = "$GCC,$with_gnu_ld"; then
10445 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10457 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10460 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10464 # Older versions of the 11.00 compiler do not understand -b yet
10465 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10467 $as_echo_n "checking if $CC understands -b... " >&6; }
10468 if ${lt_cv_prog_compiler__b+:} false; then :
10469 $as_echo_n "(cached) " >&6
10471 lt_cv_prog_compiler__b=no
10472 save_LDFLAGS=$LDFLAGS
10473 LDFLAGS="$LDFLAGS -b"
10474 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10475 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10476 # The linker can only warn and ignore the option if not recognized
10477 # So say no if there are warnings
10478 if test -s conftest.err; then
10479 # Append any errors to the config.log.
10480 cat conftest.err 1>&5
10481 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10482 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10483 if diff conftest.exp conftest.er2 >/dev/null; then
10484 lt_cv_prog_compiler__b=yes
10487 lt_cv_prog_compiler__b=yes
10491 LDFLAGS=$save_LDFLAGS
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10495 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10497 if test yes = "$lt_cv_prog_compiler__b"; then
10498 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10500 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10506 if test no = "$with_gnu_ld"; then
10507 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10508 hardcode_libdir_separator=:
10513 hardcode_shlibpath_var=no
10516 hardcode_direct=yes
10517 hardcode_direct_absolute=yes
10518 export_dynamic_flag_spec='$wl-E'
10520 # hardcode_minus_L: Not really in the search PATH,
10521 # but as the default location of the library.
10522 hardcode_minus_L=yes
10528 irix5* | irix6* | nonstopux*)
10529 if test yes = "$GCC"; then
10530 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10531 # Try to use the -exported_symbol ld option, if it does not
10532 # work, assume that -exports_file does not work either and
10533 # implicitly export all symbols.
10534 # This should be the same for all languages, so no per-tag cache variable.
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10536 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10537 if ${lt_cv_irix_exported_symbol+:} false; then :
10538 $as_echo_n "(cached) " >&6
10540 save_LDFLAGS=$LDFLAGS
10541 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10543 /* end confdefs.h. */
10544 int foo (void) { return 0; }
10546 if ac_fn_c_try_link "$LINENO"; then :
10547 lt_cv_irix_exported_symbol=yes
10549 lt_cv_irix_exported_symbol=no
10551 rm -f core conftest.err conftest.$ac_objext \
10552 conftest$ac_exeext conftest.$ac_ext
10553 LDFLAGS=$save_LDFLAGS
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10556 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10557 if test yes = "$lt_cv_irix_exported_symbol"; then
10558 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
10561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10562 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
10564 archive_cmds_need_lc='no'
10565 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10566 hardcode_libdir_separator=:
10568 link_all_deplibs=yes
10572 case $cc_basename in
10574 # Fabrice Bellard et al's Tiny C Compiler
10576 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10583 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10585 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10587 hardcode_libdir_flag_spec='-R$libdir'
10588 hardcode_direct=yes
10589 hardcode_shlibpath_var=no
10593 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10594 hardcode_direct=yes
10595 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10596 hardcode_libdir_separator=:
10597 hardcode_shlibpath_var=no
10603 openbsd* | bitrig*)
10604 if test -f /usr/libexec/ld.so; then
10605 hardcode_direct=yes
10606 hardcode_shlibpath_var=no
10607 hardcode_direct_absolute=yes
10608 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10609 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10610 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10611 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10612 export_dynamic_flag_spec='$wl-E'
10614 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10615 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10623 hardcode_libdir_flag_spec='-L$libdir'
10624 hardcode_minus_L=yes
10625 allow_undefined_flag=unsupported
10627 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10628 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10629 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10630 $ECHO EXPORTS >> $output_objdir/$libname.def~
10631 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10632 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10633 emximp -o $lib $output_objdir/$libname.def'
10634 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10635 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10636 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10637 $ECHO EXPORTS >> $output_objdir/$libname.def~
10638 prefix_cmds="$SED"~
10639 if test EXPORTS = "`$SED 1q $export_symbols`"; then
10640 prefix_cmds="$prefix_cmds -e 1d";
10642 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10643 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10644 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10645 emximp -o $lib $output_objdir/$libname.def'
10646 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10647 enable_shared_with_static_runtimes=yes
10651 if test yes = "$GCC"; then
10652 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10653 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10655 allow_undefined_flag=' -expect_unresolved \*'
10656 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10658 archive_cmds_need_lc='no'
10659 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10660 hardcode_libdir_separator=:
10663 osf4* | osf5*) # as osf3* with the addition of -msym flag
10664 if test yes = "$GCC"; then
10665 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10666 archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
10667 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10669 allow_undefined_flag=' -expect_unresolved \*'
10670 archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
10671 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~
10672 $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
10674 # Both c and cxx compiler support -rpath directly
10675 hardcode_libdir_flag_spec='-rpath $libdir'
10677 archive_cmds_need_lc='no'
10678 hardcode_libdir_separator=:
10682 no_undefined_flag=' -z defs'
10683 if test yes = "$GCC"; then
10685 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10686 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10687 $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10689 case `$CC -V 2>&1` in
10692 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10693 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10694 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10698 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10699 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10700 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10704 hardcode_libdir_flag_spec='-R$libdir'
10705 hardcode_shlibpath_var=no
10707 solaris2.[0-5] | solaris2.[0-5].*) ;;
10709 # The compiler driver will combine and reorder linker options,
10710 # but understands '-z linker_flag'. GCC discards it without '$wl',
10711 # but is careful enough not to reorder.
10712 # Supported since Solaris 2.6 (maybe 2.5.1?)
10713 if test yes = "$GCC"; then
10714 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10716 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10720 link_all_deplibs=yes
10724 if test sequent = "$host_vendor"; then
10725 # Use $CC to link under sequent, because it throws in some extra .o
10726 # files that make .init and .fini sections work.
10727 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10729 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10731 hardcode_libdir_flag_spec='-L$libdir'
10732 hardcode_direct=yes
10733 hardcode_minus_L=yes
10734 hardcode_shlibpath_var=no
10738 case $host_vendor in
10740 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741 hardcode_direct=yes # is this really true???
10744 ## LD is ld it makes a PLAMLIB
10745 ## CC just makes a GrossModule.
10746 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10747 reload_cmds='$CC -r -o $output$reload_objs'
10751 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10752 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10755 runpath_var='LD_RUN_PATH'
10756 hardcode_shlibpath_var=no
10760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761 hardcode_shlibpath_var=no
10762 export_dynamic_flag_spec='-Bexport'
10766 if test -d /usr/nec; then
10767 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_shlibpath_var=no
10769 runpath_var=LD_RUN_PATH
10770 hardcode_runpath_var=yes
10775 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10776 no_undefined_flag='$wl-z,text'
10777 archive_cmds_need_lc=no
10778 hardcode_shlibpath_var=no
10779 runpath_var='LD_RUN_PATH'
10781 if test yes = "$GCC"; then
10782 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10790 sysv5* | sco3.2v5* | sco5v6*)
10791 # Note: We CANNOT use -z defs as we might desire, because we do not
10792 # link with -lc, and that would cause any symbols used from libc to
10793 # always be unresolved, which means just about no library would
10794 # ever link correctly. If we're not using GNU ld we use -z text
10795 # though, which does catch some bad symbols but isn't as heavy-handed
10797 no_undefined_flag='$wl-z,text'
10798 allow_undefined_flag='$wl-z,nodefs'
10799 archive_cmds_need_lc=no
10800 hardcode_shlibpath_var=no
10801 hardcode_libdir_flag_spec='$wl-R,$libdir'
10802 hardcode_libdir_separator=':'
10803 link_all_deplibs=yes
10804 export_dynamic_flag_spec='$wl-Bexport'
10805 runpath_var='LD_RUN_PATH'
10807 if test yes = "$GCC"; then
10808 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10809 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10811 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10812 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10817 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10818 hardcode_libdir_flag_spec='-L$libdir'
10819 hardcode_shlibpath_var=no
10827 if test sni = "$host_vendor"; then
10829 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10830 export_dynamic_flag_spec='$wl-Blargedynsym'
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10837 $as_echo "$ld_shlibs" >&6; }
10838 test no = "$ld_shlibs" && can_build_shared=no
10840 with_gnu_ld=$with_gnu_ld
10857 # Do we need to explicitly link libc?
10859 case "x$archive_cmds_need_lc" in
10861 # Assume -lc should be added
10862 archive_cmds_need_lc=yes
10864 if test yes,yes = "$GCC,$enable_shared"; then
10865 case $archive_cmds in
10867 # FIXME: we may have to deal with multi-command sequences.
10870 # Test whether the compiler implicitly links with -lc since on some
10871 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10872 # to ld, don't add -lc before -lgcc.
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10874 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10875 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10876 $as_echo_n "(cached) " >&6
10879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10881 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10882 (eval $ac_compile) 2>&5
10884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10885 test $ac_status = 0; } 2>conftest.err; then
10888 libobjs=conftest.$ac_objext
10890 wl=$lt_prog_compiler_wl
10891 pic_flag=$lt_prog_compiler_pic
10897 lt_save_allow_undefined_flag=$allow_undefined_flag
10898 allow_undefined_flag=
10899 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10900 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10903 test $ac_status = 0; }
10905 lt_cv_archive_cmds_need_lc=no
10907 lt_cv_archive_cmds_need_lc=yes
10909 allow_undefined_flag=$lt_save_allow_undefined_flag
10911 cat conftest.err 1>&5
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10917 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10918 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11077 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11079 if test yes = "$GCC"; then
11081 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11082 *) lt_awk_arg='/^libraries:/' ;;
11085 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11086 *) lt_sed_strip_eq='s|=/|/|g' ;;
11088 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11089 case $lt_search_path_spec in
11091 # if the path contains ";" then we assume it to be the separator
11092 # otherwise default to the standard path separator (i.e. ":") - it is
11093 # assumed that no part of a normal pathname contains ";" but that should
11094 # okay in the real world where ";" in dirpaths is itself problematic.
11095 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11098 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11101 # Ok, now we have the path, separated by spaces, we can step through it
11102 # and add multilib dir if necessary...
11103 lt_tmp_lt_search_path_spec=
11104 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11105 # ...but if some path component already ends with the multilib dir we assume
11106 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11107 case "$lt_multi_os_dir; $lt_search_path_spec " in
11108 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11112 for lt_sys_path in $lt_search_path_spec; do
11113 if test -d "$lt_sys_path$lt_multi_os_dir"; then
11114 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11115 elif test -n "$lt_multi_os_dir"; then
11116 test -d "$lt_sys_path" && \
11117 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11120 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11121 BEGIN {RS = " "; FS = "/|\n";} {
11124 for (lt_i = NF; lt_i > 0; lt_i--) {
11125 if ($lt_i != "" && $lt_i != ".") {
11126 if ($lt_i == "..") {
11129 if (lt_count == 0) {
11130 lt_foo = "/" $lt_i lt_foo;
11137 if (lt_foo != "") { lt_freq[lt_foo]++; }
11138 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11140 # AWK program above erroneously prepends '/' to C:/dos/paths
11143 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11144 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11146 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11148 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11150 library_names_spec=
11151 libname_spec='lib$name'
11155 postuninstall_cmds=
11159 shlibpath_overrides_runpath=unknown
11161 dynamic_linker="$host_os ld.so"
11162 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11163 need_lib_prefix=unknown
11164 hardcode_into_libs=no
11166 # when you set need_version to no, make sure it does not cause -set_version
11167 # flags to be left without arguments
11168 need_version=unknown
11174 version_type=linux # correct to gnu/linux during the next big refactor
11175 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11176 shlibpath_var=LIBPATH
11178 # AIX 3 has no versioning support, so we append a major version to the name.
11179 soname_spec='$libname$release$shared_ext$major'
11183 version_type=linux # correct to gnu/linux during the next big refactor
11186 hardcode_into_libs=yes
11187 if test ia64 = "$host_cpu"; then
11188 # AIX 5 supports IA64
11189 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11190 shlibpath_var=LD_LIBRARY_PATH
11192 # With GCC up to 2.95.x, collect2 would create an import file
11193 # for dependence libraries. The import file would start with
11194 # the line '#! .'. This would cause the generated library to
11195 # depend on '.', always an invalid library. This was fixed in
11196 # development snapshots of GCC prior to 3.0.
11198 aix4 | aix4.[01] | aix4.[01].*)
11199 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11201 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11204 can_build_shared=no
11208 # Using Import Files as archive members, it is possible to support
11209 # filename-based versioning of shared library archives on AIX. While
11210 # this would work for both with and without runtime linking, it will
11211 # prevent static linking of such archives. So we do filename-based
11212 # shared library versioning with .so extension only, which is used
11213 # when both runtime linking and shared linking is enabled.
11214 # Unfortunately, runtime linking may impact performance, so we do
11215 # not want this to be the default eventually. Also, we use the
11216 # versioned .so libs for executables only if there is the -brtl
11217 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11218 # To allow for filename-based versioning support, we need to create
11219 # libNAME.so.V as an archive file, containing:
11220 # *) an Import File, referring to the versioned filename of the
11221 # archive as well as the shared archive member, telling the
11222 # bitwidth (32 or 64) of that shared object, and providing the
11223 # list of exported symbols of that shared object, eventually
11224 # decorated with the 'weak' keyword
11225 # *) the shared object with the F_LOADONLY flag set, to really avoid
11226 # it being seen by the linker.
11227 # At run time we better use the real file rather than another symlink,
11228 # but for link time we create the symlink libNAME.so -> libNAME.so.V
11230 case $with_aix_soname,$aix_use_runtimelinking in
11231 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11232 # soname into executable. Probably we can add versioning support to
11233 # collect2, so additional links can be useful in future.
11234 aix,yes) # traditional libtool
11235 dynamic_linker='AIX unversionable lib.so'
11236 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11237 # instead of lib<name>.a to let people know that these are not
11238 # typical AIX shared libraries.
11239 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11241 aix,no) # traditional AIX only
11242 dynamic_linker='AIX lib.a(lib.so.V)'
11243 # We preserve .a as extension for shared libraries through AIX4.2
11244 # and later when we are not doing run time linking.
11245 library_names_spec='$libname$release.a $libname.a'
11246 soname_spec='$libname$release$shared_ext$major'
11248 svr4,*) # full svr4 only
11249 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11250 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11251 # We do not specify a path in Import Files, so LIBPATH fires.
11252 shlibpath_overrides_runpath=yes
11254 *,yes) # both, prefer svr4
11255 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11256 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11257 # unpreferred sharedlib libNAME.a needs extra handling
11258 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11259 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11260 # We do not specify a path in Import Files, so LIBPATH fires.
11261 shlibpath_overrides_runpath=yes
11263 *,no) # both, prefer aix
11264 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11265 library_names_spec='$libname$release.a $libname.a'
11266 soname_spec='$libname$release$shared_ext$major'
11267 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11268 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11269 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11272 shlibpath_var=LIBPATH
11279 # Since July 2007 AmigaOS4 officially supports .so libraries.
11280 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11281 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11284 library_names_spec='$libname.ixlibrary $libname.a'
11285 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11286 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11292 library_names_spec='$libname$shared_ext'
11293 dynamic_linker="$host_os ld.so"
11294 shlibpath_var=LIBRARY_PATH
11298 version_type=linux # correct to gnu/linux during the next big refactor
11300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11301 soname_spec='$libname$release$shared_ext$major'
11302 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11305 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11306 # the default ld.so.conf also contains /usr/contrib/lib and
11307 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11308 # libtool to hard-code these into programs
11311 cygwin* | mingw* | pw32* | cegcc*)
11312 version_type=windows
11317 case $GCC,$cc_basename in
11320 library_names_spec='$libname.dll.a'
11321 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11322 postinstall_cmds='base_file=`basename \$file`~
11323 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11324 dldir=$destdir/`dirname \$dlpath`~
11325 test -d \$dldir || mkdir -p \$dldir~
11326 $install_prog $dir/$dlname \$dldir/$dlname~
11327 chmod a+x \$dldir/$dlname~
11328 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11329 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11331 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11332 dlpath=$dir/\$dldll~
11334 shlibpath_overrides_runpath=yes
11338 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11339 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11341 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11344 # MinGW DLLs use traditional 'lib' prefix
11345 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11348 # pw32 DLLs use 'pw' prefix rather than 'lib'
11349 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11352 dynamic_linker='Win32 ld.exe'
11357 libname_spec='$name'
11358 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11359 library_names_spec='$libname.dll.lib'
11363 sys_lib_search_path_spec=
11366 for lt_path in $LIB
11369 # Let DOS variable expansion print the short 8.3 style file name.
11370 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11371 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11374 # Convert to MSYS style.
11375 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11378 # Convert to unix form, then to dos form, then back to unix form
11379 # but this time dos style (no spaces!) so that the unix form looks
11380 # like /cygdrive/c/PROGRA~1:/cygdr...
11381 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11382 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11383 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11386 sys_lib_search_path_spec=$LIB
11387 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11388 # It is most probably a Windows format PATH.
11389 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11391 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11393 # FIXME: find the short name or the path components, as spaces are
11394 # common. (e.g. "Program Files" -> "PROGRA~1")
11398 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11399 postinstall_cmds='base_file=`basename \$file`~
11400 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11401 dldir=$destdir/`dirname \$dlpath`~
11402 test -d \$dldir || mkdir -p \$dldir~
11403 $install_prog $dir/$dlname \$dldir/$dlname'
11404 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11405 dlpath=$dir/\$dldll~
11407 shlibpath_overrides_runpath=yes
11408 dynamic_linker='Win32 link.exe'
11412 # Assume MSVC wrapper
11413 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11414 dynamic_linker='Win32 ld.exe'
11417 # FIXME: first we should search . and the directory the executable is in
11421 darwin* | rhapsody*)
11422 dynamic_linker="$host_os dyld"
11423 version_type=darwin
11426 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11427 soname_spec='$libname$release$major$shared_ext'
11428 shlibpath_overrides_runpath=yes
11429 shlibpath_var=DYLD_LIBRARY_PATH
11430 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11432 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11433 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11437 version_type=linux # correct to gnu/linux during the next big refactor
11440 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11441 soname_spec='$libname$release$shared_ext$major'
11442 shlibpath_var=LD_LIBRARY_PATH
11445 freebsd* | dragonfly*)
11446 # DragonFly does not have aout. When/if they implement a new
11447 # versioning mechanism, adjust this.
11448 if test -x /usr/bin/objformat; then
11449 objformat=`/usr/bin/objformat`
11452 freebsd[23].*) objformat=aout ;;
11453 *) objformat=elf ;;
11456 version_type=freebsd-$objformat
11457 case $version_type in
11459 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11460 soname_spec='$libname$release$shared_ext$major'
11465 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11469 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=yes
11474 freebsd3.[01]* | freebsdelf3.[01]*)
11475 shlibpath_overrides_runpath=yes
11476 hardcode_into_libs=yes
11478 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11479 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11480 shlibpath_overrides_runpath=no
11481 hardcode_into_libs=yes
11483 *) # from 4.6 on, and DragonFly
11484 shlibpath_overrides_runpath=yes
11485 hardcode_into_libs=yes
11491 version_type=linux # correct to gnu/linux during the next big refactor
11494 dynamic_linker="$host_os runtime_loader"
11495 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11496 soname_spec='$libname$release$shared_ext$major'
11497 shlibpath_var=LIBRARY_PATH
11498 shlibpath_overrides_runpath=no
11499 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11500 hardcode_into_libs=yes
11503 hpux9* | hpux10* | hpux11*)
11504 # Give a soname corresponding to the major version so that dld.sl refuses to
11505 # link against other versions.
11512 hardcode_into_libs=yes
11513 dynamic_linker="$host_os dld.so"
11514 shlibpath_var=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11516 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11517 soname_spec='$libname$release$shared_ext$major'
11518 if test 32 = "$HPUX_IA64_MODE"; then
11519 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11520 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11522 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11523 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11528 hardcode_into_libs=yes
11529 dynamic_linker="$host_os dld.sl"
11530 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11531 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11532 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11533 soname_spec='$libname$release$shared_ext$major'
11534 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11535 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11539 dynamic_linker="$host_os dld.sl"
11540 shlibpath_var=SHLIB_PATH
11541 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11542 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11543 soname_spec='$libname$release$shared_ext$major'
11546 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11547 postinstall_cmds='chmod 555 $lib'
11548 # or fails outright, so override atomically:
11549 install_override_mode=555
11553 version_type=linux # correct to gnu/linux during the next big refactor
11556 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11557 soname_spec='$libname$release$shared_ext$major'
11558 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11559 shlibpath_var=LD_LIBRARY_PATH
11560 shlibpath_overrides_runpath=no
11561 hardcode_into_libs=yes
11564 irix5* | irix6* | nonstopux*)
11566 nonstopux*) version_type=nonstopux ;;
11568 if test yes = "$lt_cv_prog_gnu_ld"; then
11569 version_type=linux # correct to gnu/linux during the next big refactor
11576 soname_spec='$libname$release$shared_ext$major'
11577 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11579 irix5* | nonstopux*)
11580 libsuff= shlibsuff=
11583 case $LD in # libtool.m4 will add one of these switches to LD
11584 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11585 libsuff= shlibsuff= libmagic=32-bit;;
11586 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11587 libsuff=32 shlibsuff=N32 libmagic=N32;;
11588 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11589 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11590 *) libsuff= shlibsuff= libmagic=never-match;;
11594 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11595 shlibpath_overrides_runpath=no
11596 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11597 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11598 hardcode_into_libs=yes
11601 # No shared lib support for Linux oldld, aout, or coff.
11602 linux*oldld* | linux*aout* | linux*coff*)
11607 version_type=none # Android doesn't support versioned libraries.
11610 library_names_spec='$libname$release$shared_ext'
11611 soname_spec='$libname$release$shared_ext'
11613 shlibpath_var=LD_LIBRARY_PATH
11614 shlibpath_overrides_runpath=yes
11616 # This implies no fast_install, which is unacceptable.
11617 # Some rework will be needed to allow for fast_install
11618 # before this can be enabled.
11619 hardcode_into_libs=yes
11621 dynamic_linker='Android linker'
11622 # Don't embed -rpath directories since the linker doesn't support them.
11623 hardcode_libdir_flag_spec='-L$libdir'
11626 # This must be glibc/ELF.
11627 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11628 version_type=linux # correct to gnu/linux during the next big refactor
11631 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11632 soname_spec='$libname$release$shared_ext$major'
11633 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11634 shlibpath_var=LD_LIBRARY_PATH
11635 shlibpath_overrides_runpath=no
11637 # Some binutils ld are patched to set DT_RUNPATH
11638 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11639 $as_echo_n "(cached) " >&6
11641 lt_cv_shlibpath_overrides_runpath=no
11642 save_LDFLAGS=$LDFLAGS
11643 save_libdir=$libdir
11644 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11645 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11659 lt_cv_shlibpath_overrides_runpath=yes
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LDFLAGS=$save_LDFLAGS
11665 libdir=$save_libdir
11669 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11671 # This implies no fast_install, which is unacceptable.
11672 # Some rework will be needed to allow for fast_install
11673 # before this can be enabled.
11674 hardcode_into_libs=yes
11676 # Add ABI-specific directories to the system library path.
11677 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11679 # Ideally, we could use ldconfig to report *all* directores which are
11680 # searched for libraries, however this is still not possible. Aside from not
11681 # being certain /sbin/ldconfig is available, command
11682 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11683 # even though it is searched at run-time. Try to do the best guess by
11684 # appending ld.so.conf contents (and includes) to the search path.
11685 if test -f /etc/ld.so.conf; then
11686 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;s/"//g;/^$/d' | tr '\n' ' '`
11687 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11690 # We used to test for /lib/ld.so.1 and disable shared libraries on
11691 # powerpc, because MkLinux only supported shared libraries with the
11692 # GNU dynamic linker. Since this was broken with cross compilers,
11693 # most powerpc-linux boxes support dynamic linking these days and
11694 # people can always --disable-shared, the test was removed, and we
11695 # assume the GNU/Linux dynamic linker is in use.
11696 dynamic_linker='GNU/Linux ld.so'
11703 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11704 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11705 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11706 dynamic_linker='NetBSD (a.out) ld.so'
11708 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11709 soname_spec='$libname$release$shared_ext$major'
11710 dynamic_linker='NetBSD ld.elf_so'
11712 shlibpath_var=LD_LIBRARY_PATH
11713 shlibpath_overrides_runpath=yes
11714 hardcode_into_libs=yes
11718 version_type=linux # correct to gnu/linux during the next big refactor
11719 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11720 shlibpath_var=LD_LIBRARY_PATH
11721 shlibpath_overrides_runpath=yes
11728 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11729 soname_spec='$libname$release$shared_ext$major'
11730 shlibpath_var=LD_LIBRARY_PATH
11731 shlibpath_overrides_runpath=no
11732 hardcode_into_libs=yes
11733 dynamic_linker='ldqnx.so'
11736 openbsd* | bitrig*)
11738 sys_lib_dlsearch_path_spec=/usr/lib
11740 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11745 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11746 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11747 shlibpath_var=LD_LIBRARY_PATH
11748 shlibpath_overrides_runpath=yes
11752 libname_spec='$name'
11753 version_type=windows
11757 # OS/2 can only load a DLL with a base name of 8 characters or less.
11758 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11759 v=$($ECHO $release$versuffix | tr -d .-);
11760 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11761 $ECHO $n$v`$shared_ext'
11762 library_names_spec='${libname}_dll.$libext'
11763 dynamic_linker='OS/2 ld.exe'
11764 shlibpath_var=BEGINLIBPATH
11765 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11767 postinstall_cmds='base_file=`basename \$file`~
11768 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11769 dldir=$destdir/`dirname \$dlpath`~
11770 test -d \$dldir || mkdir -p \$dldir~
11771 $install_prog $dir/$dlname \$dldir/$dlname~
11772 chmod a+x \$dldir/$dlname~
11773 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11774 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11776 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11777 dlpath=$dir/\$dldll~
11781 osf3* | osf4* | osf5*)
11785 soname_spec='$libname$release$shared_ext$major'
11786 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11787 shlibpath_var=LD_LIBRARY_PATH
11788 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11789 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11797 version_type=linux # correct to gnu/linux during the next big refactor
11800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11801 soname_spec='$libname$release$shared_ext$major'
11802 shlibpath_var=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath=yes
11804 hardcode_into_libs=yes
11805 # ldd complains unless libraries are executable
11806 postinstall_cmds='chmod +x $lib'
11811 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11812 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11813 shlibpath_var=LD_LIBRARY_PATH
11814 shlibpath_overrides_runpath=yes
11815 if test yes = "$with_gnu_ld"; then
11822 version_type=linux # correct to gnu/linux during the next big refactor
11823 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11824 soname_spec='$libname$release$shared_ext$major'
11825 shlibpath_var=LD_LIBRARY_PATH
11826 case $host_vendor in
11828 shlibpath_overrides_runpath=no
11830 runpath_var=LD_RUN_PATH
11838 shlibpath_overrides_runpath=no
11839 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11845 if test -d /usr/nec; then
11846 version_type=linux # correct to gnu/linux during the next big refactor
11847 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11848 soname_spec='$libname$shared_ext.$major'
11849 shlibpath_var=LD_LIBRARY_PATH
11853 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11858 soname_spec='$libname$release$shared_ext$major'
11859 shlibpath_var=LD_LIBRARY_PATH
11860 shlibpath_overrides_runpath=yes
11861 hardcode_into_libs=yes
11862 if test yes = "$with_gnu_ld"; then
11863 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11865 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11868 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11872 sys_lib_dlsearch_path_spec='/usr/lib'
11876 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11877 version_type=linux # correct to gnu/linux during the next big refactor
11880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11881 shlibpath_var=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath=no
11883 hardcode_into_libs=yes
11887 version_type=linux # correct to gnu/linux during the next big refactor
11888 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11889 soname_spec='$libname$release$shared_ext$major'
11890 shlibpath_var=LD_LIBRARY_PATH
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11898 $as_echo "$dynamic_linker" >&6; }
11899 test no = "$dynamic_linker" && can_build_shared=no
11901 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11902 if test yes = "$GCC"; then
11903 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11906 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11907 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11910 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11911 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11914 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11915 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11917 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11918 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11920 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11921 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12020 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12022 if test -n "$hardcode_libdir_flag_spec" ||
12023 test -n "$runpath_var" ||
12024 test yes = "$hardcode_automatic"; then
12026 # We can hardcode non-existent directories.
12027 if test no != "$hardcode_direct" &&
12028 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12029 # have to relink, otherwise we might link with an installed library
12030 # when we should be linking with a yet-to-be-installed one
12031 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12032 test no != "$hardcode_minus_L"; then
12033 # Linking always hardcodes the temporary library directory.
12034 hardcode_action=relink
12036 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12037 hardcode_action=immediate
12040 # We cannot hardcode anything, or else we can only hardcode existing
12042 hardcode_action=unsupported
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12045 $as_echo "$hardcode_action" >&6; }
12047 if test relink = "$hardcode_action" ||
12048 test yes = "$inherit_rpath"; then
12049 # Fast installation is not supported
12050 enable_fast_install=no
12051 elif test yes = "$shlibpath_overrides_runpath" ||
12052 test no = "$enable_shared"; then
12053 # Fast installation is not necessary
12054 enable_fast_install=needless
12062 if test yes != "$enable_dlopen"; then
12063 enable_dlopen=unknown
12064 enable_dlopen_self=unknown
12065 enable_dlopen_self_static=unknown
12072 lt_cv_dlopen=load_add_on
12074 lt_cv_dlopen_self=yes
12077 mingw* | pw32* | cegcc*)
12078 lt_cv_dlopen=LoadLibrary
12083 lt_cv_dlopen=dlopen
12088 # if libdl is installed we need to link against it
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12090 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12091 if ${ac_cv_lib_dl_dlopen+:} false; then :
12092 $as_echo_n "(cached) " >&6
12094 ac_check_lib_save_LIBS=$LIBS
12096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12114 if ac_fn_c_try_link "$LINENO"; then :
12115 ac_cv_lib_dl_dlopen=yes
12117 ac_cv_lib_dl_dlopen=no
12119 rm -f core conftest.err conftest.$ac_objext \
12120 conftest$ac_exeext conftest.$ac_ext
12121 LIBS=$ac_check_lib_save_LIBS
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12124 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12125 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12126 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12131 lt_cv_dlopen_self=yes
12138 # Don't try to run any link tests for TPF. We know it's impossible
12139 # because TPF is a cross-compiler, and we know how we open DSOs.
12140 lt_cv_dlopen=dlopen
12142 lt_cv_dlopen_self=no
12146 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12147 if test "x$ac_cv_func_shl_load" = xyes; then :
12148 lt_cv_dlopen=shl_load
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12151 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12152 if ${ac_cv_lib_dld_shl_load+:} false; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_lib_save_LIBS=$LIBS
12157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12158 /* end confdefs.h. */
12160 /* Override any GCC internal prototype to avoid an error.
12161 Use char because int might match the return type of a GCC
12162 builtin and then its argument prototype would still apply. */
12170 return shl_load ();
12175 if ac_fn_c_try_link "$LINENO"; then :
12176 ac_cv_lib_dld_shl_load=yes
12178 ac_cv_lib_dld_shl_load=no
12180 rm -f core conftest.err conftest.$ac_objext \
12181 conftest$ac_exeext conftest.$ac_ext
12182 LIBS=$ac_check_lib_save_LIBS
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12185 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12186 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12187 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12189 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12190 if test "x$ac_cv_func_dlopen" = xyes; then :
12191 lt_cv_dlopen=dlopen
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12194 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12195 if ${ac_cv_lib_dl_dlopen+:} false; then :
12196 $as_echo_n "(cached) " >&6
12198 ac_check_lib_save_LIBS=$LIBS
12200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12201 /* end confdefs.h. */
12203 /* Override any GCC internal prototype to avoid an error.
12204 Use char because int might match the return type of a GCC
12205 builtin and then its argument prototype would still apply. */
12218 if ac_fn_c_try_link "$LINENO"; then :
12219 ac_cv_lib_dl_dlopen=yes
12221 ac_cv_lib_dl_dlopen=no
12223 rm -f core conftest.err conftest.$ac_objext \
12224 conftest$ac_exeext conftest.$ac_ext
12225 LIBS=$ac_check_lib_save_LIBS
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12228 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12229 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12230 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12233 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12234 if ${ac_cv_lib_svld_dlopen+:} false; then :
12235 $as_echo_n "(cached) " >&6
12237 ac_check_lib_save_LIBS=$LIBS
12238 LIBS="-lsvld $LIBS"
12239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12240 /* end confdefs.h. */
12242 /* Override any GCC internal prototype to avoid an error.
12243 Use char because int might match the return type of a GCC
12244 builtin and then its argument prototype would still apply. */
12257 if ac_fn_c_try_link "$LINENO"; then :
12258 ac_cv_lib_svld_dlopen=yes
12260 ac_cv_lib_svld_dlopen=no
12262 rm -f core conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12264 LIBS=$ac_check_lib_save_LIBS
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12267 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12268 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12269 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12272 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12273 if ${ac_cv_lib_dld_dld_link+:} false; then :
12274 $as_echo_n "(cached) " >&6
12276 ac_check_lib_save_LIBS=$LIBS
12278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12279 /* end confdefs.h. */
12281 /* Override any GCC internal prototype to avoid an error.
12282 Use char because int might match the return type of a GCC
12283 builtin and then its argument prototype would still apply. */
12291 return dld_link ();
12296 if ac_fn_c_try_link "$LINENO"; then :
12297 ac_cv_lib_dld_dld_link=yes
12299 ac_cv_lib_dld_dld_link=no
12301 rm -f core conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12303 LIBS=$ac_check_lib_save_LIBS
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12306 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12307 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12308 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12329 if test no = "$lt_cv_dlopen"; then
12335 case $lt_cv_dlopen in
12337 save_CPPFLAGS=$CPPFLAGS
12338 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12340 save_LDFLAGS=$LDFLAGS
12341 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12344 LIBS="$lt_cv_dlopen_libs $LIBS"
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12347 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12348 if ${lt_cv_dlopen_self+:} false; then :
12349 $as_echo_n "(cached) " >&6
12351 if test yes = "$cross_compiling"; then :
12352 lt_cv_dlopen_self=cross
12354 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12355 lt_status=$lt_dlunknown
12356 cat > conftest.$ac_ext <<_LT_EOF
12357 #line $LINENO "configure"
12358 #include "confdefs.h"
12367 # define LT_DLGLOBAL RTLD_GLOBAL
12370 # define LT_DLGLOBAL DL_GLOBAL
12372 # define LT_DLGLOBAL 0
12376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12377 find out it does not work in some platform. */
12378 #ifndef LT_DLLAZY_OR_NOW
12380 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12383 # define LT_DLLAZY_OR_NOW DL_LAZY
12386 # define LT_DLLAZY_OR_NOW RTLD_NOW
12389 # define LT_DLLAZY_OR_NOW DL_NOW
12391 # define LT_DLLAZY_OR_NOW 0
12398 /* When -fvisibility=hidden is used, assume the code has been annotated
12399 correspondingly for the symbols needed. */
12400 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12401 int fnord () __attribute__((visibility("default")));
12404 int fnord () { return 42; }
12407 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12408 int status = $lt_dlunknown;
12412 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12415 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12416 else puts (dlerror ());
12418 /* dlclose (self); */
12426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12427 (eval $ac_link) 2>&5
12429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12430 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12431 (./conftest; exit; ) >&5 2>/dev/null
12433 case x$lt_status in
12434 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12435 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12436 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12439 # compilation failed
12440 lt_cv_dlopen_self=no
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12448 $as_echo "$lt_cv_dlopen_self" >&6; }
12450 if test yes = "$lt_cv_dlopen_self"; then
12451 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12453 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12454 if ${lt_cv_dlopen_self_static+:} false; then :
12455 $as_echo_n "(cached) " >&6
12457 if test yes = "$cross_compiling"; then :
12458 lt_cv_dlopen_self_static=cross
12460 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12461 lt_status=$lt_dlunknown
12462 cat > conftest.$ac_ext <<_LT_EOF
12463 #line $LINENO "configure"
12464 #include "confdefs.h"
12473 # define LT_DLGLOBAL RTLD_GLOBAL
12476 # define LT_DLGLOBAL DL_GLOBAL
12478 # define LT_DLGLOBAL 0
12482 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12483 find out it does not work in some platform. */
12484 #ifndef LT_DLLAZY_OR_NOW
12486 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12489 # define LT_DLLAZY_OR_NOW DL_LAZY
12492 # define LT_DLLAZY_OR_NOW RTLD_NOW
12495 # define LT_DLLAZY_OR_NOW DL_NOW
12497 # define LT_DLLAZY_OR_NOW 0
12504 /* When -fvisibility=hidden is used, assume the code has been annotated
12505 correspondingly for the symbols needed. */
12506 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12507 int fnord () __attribute__((visibility("default")));
12510 int fnord () { return 42; }
12513 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12514 int status = $lt_dlunknown;
12518 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12521 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12522 else puts (dlerror ());
12524 /* dlclose (self); */
12532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12533 (eval $ac_link) 2>&5
12535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12536 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12537 (./conftest; exit; ) >&5 2>/dev/null
12539 case x$lt_status in
12540 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12541 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12542 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12545 # compilation failed
12546 lt_cv_dlopen_self_static=no
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12554 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12557 CPPFLAGS=$save_CPPFLAGS
12558 LDFLAGS=$save_LDFLAGS
12563 case $lt_cv_dlopen_self in
12564 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12565 *) enable_dlopen_self=unknown ;;
12568 case $lt_cv_dlopen_self_static in
12569 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12570 *) enable_dlopen_self_static=unknown ;;
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12593 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12594 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12595 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12596 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12598 $as_echo "yes" >&6; }
12600 # FIXME - insert some real tests, host_os isn't really good enough
12603 if test -n "$STRIP"; then
12604 striplib="$STRIP -x"
12605 old_striplib="$STRIP -S"
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12607 $as_echo "yes" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12610 $as_echo "no" >&6; }
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12615 $as_echo "no" >&6; }
12631 # Report what library types will actually be built
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12633 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12635 $as_echo "$can_build_shared" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12638 $as_echo_n "checking whether to build shared libraries... " >&6; }
12639 test no = "$can_build_shared" && enable_shared=no
12641 # On AIX, shared libraries and static libraries use the same namespace, and
12642 # are all built from PIC.
12645 test yes = "$enable_shared" && enable_static=no
12646 if test -n "$RANLIB"; then
12647 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12648 postinstall_cmds='$RANLIB $lib'
12653 if test ia64 != "$host_cpu"; then
12654 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12655 yes,aix,yes) ;; # shared object as lib.so file only
12656 yes,svr4,*) ;; # shared object as lib.so archive member only
12657 yes,*) enable_static=no ;; # shared object in lib.a archive as well
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12663 $as_echo "$enable_shared" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12666 $as_echo_n "checking whether to build static libraries... " >&6; }
12667 # Make sure either enable_shared or enable_static is yes.
12668 test yes = "$enable_shared" || enable_static=yes
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12670 $as_echo "$enable_static" >&6; }
12677 ac_cpp='$CPP $CPPFLAGS'
12678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12698 ac_config_commands="$ac_config_commands libtool"
12703 # Only expand once:
12707 VERSION_SCRIPT_FLAGS=
12708 # lt_cv_prog_gnu_ld is from libtool 2.+
12709 if test "$lt_cv_prog_gnu_ld" = yes; then
12710 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
12713 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
12717 if test -n "$VERSION_SCRIPT_FLAGS"; then
12718 USE_VERSION_SCRIPT_TRUE=
12719 USE_VERSION_SCRIPT_FALSE='#'
12721 USE_VERSION_SCRIPT_TRUE='#'
12722 USE_VERSION_SCRIPT_FALSE=
12727 _cppflags="${CPPFLAGS}"
12731 # Check whether --with-c14n was given.
12732 if test "${with_c14n+set}" = set; then :
12733 withval=$with_c14n;
12737 # Check whether --with-catalog was given.
12738 if test "${with_catalog+set}" = set; then :
12739 withval=$with_catalog;
12743 # Check whether --with-debug was given.
12744 if test "${with_debug+set}" = set; then :
12745 withval=$with_debug;
12749 # Check whether --with-docbook was given.
12750 if test "${with_docbook+set}" = set; then :
12751 withval=$with_docbook;
12755 # Check whether --with-fexceptions was given.
12756 if test "${with_fexceptions+set}" = set; then :
12757 withval=$with_fexceptions;
12761 # Check whether --with-ftp was given.
12762 if test "${with_ftp+set}" = set; then :
12767 # Check whether --with-history was given.
12768 if test "${with_history+set}" = set; then :
12769 withval=$with_history;
12773 # Check whether --with-html was given.
12774 if test "${with_html+set}" = set; then :
12775 withval=$with_html;
12779 # Check whether --with-html-dir was given.
12780 if test "${with_html_dir+set}" = set; then :
12781 withval=$with_html_dir; HTML_DIR=$withval
12783 HTML_DIR='$(datadir)/doc'
12788 # Check whether --with-html-subdir was given.
12789 if test "${with_html_subdir+set}" = set; then :
12790 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
12792 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
12797 # Check whether --with-http was given.
12798 if test "${with_http+set}" = set; then :
12799 withval=$with_http;
12803 # Check whether --with-iconv was given.
12804 if test "${with_iconv+set}" = set; then :
12805 withval=$with_iconv;
12809 # Check whether --with-icu was given.
12810 if test "${with_icu+set}" = set; then :
12815 # Check whether --with-iso8859x was given.
12816 if test "${with_iso8859x+set}" = set; then :
12817 withval=$with_iso8859x;
12821 # Check whether --with-legacy was given.
12822 if test "${with_legacy+set}" = set; then :
12823 withval=$with_legacy;
12827 # Check whether --with-mem_debug was given.
12828 if test "${with_mem_debug+set}" = set; then :
12829 withval=$with_mem_debug;
12833 # Check whether --with-minimum was given.
12834 if test "${with_minimum+set}" = set; then :
12835 withval=$with_minimum;
12839 # Check whether --with-output was given.
12840 if test "${with_output+set}" = set; then :
12841 withval=$with_output;
12845 # Check whether --with-pattern was given.
12846 if test "${with_pattern+set}" = set; then :
12847 withval=$with_pattern;
12851 # Check whether --with-push was given.
12852 if test "${with_push+set}" = set; then :
12853 withval=$with_push;
12857 # Check whether --with-python was given.
12858 if test "${with_python+set}" = set; then :
12859 withval=$with_python;
12863 # Check whether --with-python_install_dir was given.
12864 if test "${with_python_install_dir+set}" = set; then :
12865 withval=$with_python_install_dir;
12869 # Check whether --with-reader was given.
12870 if test "${with_reader+set}" = set; then :
12871 withval=$with_reader;
12875 # Check whether --with-readline was given.
12876 if test "${with_readline+set}" = set; then :
12877 withval=$with_readline;
12878 if test "$withval" != "no" -a "$withval" != "yes"; then
12880 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12881 LDFLAGS="${LDFLAGS} -L$withval/lib"
12887 # Check whether --with-regexps was given.
12888 if test "${with_regexps+set}" = set; then :
12889 withval=$with_regexps;
12893 # Check whether --with-run_debug was given.
12894 if test "${with_run_debug+set}" = set; then :
12895 withval=$with_run_debug;
12899 # Check whether --with-sax1 was given.
12900 if test "${with_sax1+set}" = set; then :
12901 withval=$with_sax1;
12905 # Check whether --with-schemas was given.
12906 if test "${with_schemas+set}" = set; then :
12907 withval=$with_schemas;
12911 # Check whether --with-schematron was given.
12912 if test "${with_schematron+set}" = set; then :
12913 withval=$with_schematron;
12917 # Check whether --with-threads was given.
12918 if test "${with_threads+set}" = set; then :
12919 withval=$with_threads;
12923 # Check whether --with-thread-alloc was given.
12924 if test "${with_thread_alloc+set}" = set; then :
12925 withval=$with_thread_alloc;
12929 # Check whether --with-tree was given.
12930 if test "${with_tree+set}" = set; then :
12931 withval=$with_tree;
12935 # Check whether --with-valid was given.
12936 if test "${with_valid+set}" = set; then :
12937 withval=$with_valid;
12941 # Check whether --with-writer was given.
12942 if test "${with_writer+set}" = set; then :
12943 withval=$with_writer;
12947 # Check whether --with-xinclude was given.
12948 if test "${with_xinclude+set}" = set; then :
12949 withval=$with_xinclude;
12953 # Check whether --with-xpath was given.
12954 if test "${with_xpath+set}" = set; then :
12955 withval=$with_xpath;
12959 # Check whether --with-xptr was given.
12960 if test "${with_xptr+set}" = set; then :
12961 withval=$with_xptr;
12965 # Check whether --with-modules was given.
12966 if test "${with_modules+set}" = set; then :
12967 withval=$with_modules;
12971 # Check whether --with-zlib was given.
12972 if test "${with_zlib+set}" = set; then :
12973 withval=$with_zlib;
12974 if test "$withval" != "no" -a "$withval" != "yes"; then
12976 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12977 LDFLAGS="${LDFLAGS} -L$withval/lib"
12983 # Check whether --with-lzma was given.
12984 if test "${with_lzma+set}" = set; then :
12985 withval=$with_lzma;
12986 if test "$withval" != "no" -a "$withval" != "yes"; then
12988 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12989 LDFLAGS="${LDFLAGS} -L$withval/lib"
12995 # Check whether --with-coverage was given.
12996 if test "${with_coverage+set}" = set; then :
12997 withval=$with_coverage;
13001 # Check whether --enable-rebuild-docs was given.
13002 if test "${enable_rebuild_docs+set}" = set; then :
13003 enableval=$enable_rebuild_docs;
13006 if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then
13007 as_fn_error $? "cannot rebuild docs when builddir != srcdir" "$LINENO" 5
13009 if test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"; then
13011 REBUILD_DOCS_FALSE='#'
13013 REBUILD_DOCS_TRUE='#'
13014 REBUILD_DOCS_FALSE=
13018 if test "$with_schemas" = "yes"
13023 if test "$with_schematron" = "yes"
13029 if test "$with_reader" = "yes"
13033 if test "$with_xptr" = "yes"
13037 if test "$with_minimum" = "yes"
13039 echo "Configuring for a minimal library"
13040 if test "$with_c14n" = ""
13044 if test "$with_catalog" = ""
13048 echo So far so good!
13049 if test "$with_debug" = ""
13053 if test "$with_docbook" = ""
13057 if test "$with_fexceptions" = ""
13059 with_fexceptions=no
13061 if test "$with_ftp" = ""
13065 if test "$with_history" = ""
13069 if test "$with_html" = ""
13073 if test "$with_http" = ""
13077 if test "$with_iconv" = ""
13081 if test "$with_iso8859x" = ""
13085 if test "$with_legacy" = ""
13089 if test "$with_mem_debug" = ""
13093 if test "$with_output" = ""
13097 if test "$with_pattern" = ""
13101 if test "$with_push" = ""
13105 if test "$with_python" = ""
13109 if test "$with_reader" = ""
13113 if test "$with_readline" = ""
13117 if test "$with_regexps" = ""
13121 if test "$with_run_debug" = ""
13125 if test "$with_sax1" = ""
13129 if test "$with_schemas" = ""
13133 if test "$with_schematron" = ""
13137 if test "$with_threads" = ""
13141 if test "$with_thread_alloc" = ""
13143 with_thread_alloc=no
13145 if test "$with_tree" = ""
13149 if test "$with_valid" = ""
13153 if test "$with_writer" = ""
13157 if test "$with_xinclude" = ""
13161 if test "$with_xpath" = ""
13165 if test "$with_xptr" = ""
13169 if test "$with_zlib" = ""
13173 if test "$with_modules" = ""
13183 if test "$with_zlib" = "no"; then
13184 echo "Disabling compression support"
13186 # Try pkg-config first so that static linking works.
13187 # If this succeeeds, we ignore the WITH_ZLIB directory.
13190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Z" >&5
13191 $as_echo_n "checking for Z... " >&6; }
13193 if test -n "$Z_CFLAGS"; then
13194 pkg_cv_Z_CFLAGS="$Z_CFLAGS"
13195 elif test -n "$PKG_CONFIG"; then
13196 if test -n "$PKG_CONFIG" && \
13197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
13198 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
13200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13201 test $ac_status = 0; }; then
13202 pkg_cv_Z_CFLAGS=`$PKG_CONFIG --cflags "zlib" 2>/dev/null`
13203 test "x$?" != "x0" && pkg_failed=yes
13210 if test -n "$Z_LIBS"; then
13211 pkg_cv_Z_LIBS="$Z_LIBS"
13212 elif test -n "$PKG_CONFIG"; then
13213 if test -n "$PKG_CONFIG" && \
13214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib\""; } >&5
13215 ($PKG_CONFIG --exists --print-errors "zlib") 2>&5
13217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13218 test $ac_status = 0; }; then
13219 pkg_cv_Z_LIBS=`$PKG_CONFIG --libs "zlib" 2>/dev/null`
13220 test "x$?" != "x0" && pkg_failed=yes
13230 if test $pkg_failed = yes; then
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13232 $as_echo "no" >&6; }
13234 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13235 _pkg_short_errors_supported=yes
13237 _pkg_short_errors_supported=no
13239 if test $_pkg_short_errors_supported = yes; then
13240 Z_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib" 2>&1`
13242 Z_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib" 2>&1`
13244 # Put the nasty error message in config.log where it belongs
13245 echo "$Z_PKG_ERRORS" >&5
13248 elif test $pkg_failed = untried; then
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13250 $as_echo "no" >&6; }
13253 Z_CFLAGS=$pkg_cv_Z_CFLAGS
13254 Z_LIBS=$pkg_cv_Z_LIBS
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13256 $as_echo "yes" >&6; }
13260 if test "x$have_libz" = "xno"; then
13261 for ac_header in zlib.h
13263 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13264 if test "x$ac_cv_header_zlib_h" = xyes; then :
13265 cat >>confdefs.h <<_ACEOF
13266 #define HAVE_ZLIB_H 1
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
13269 $as_echo_n "checking for gzread in -lz... " >&6; }
13270 if ${ac_cv_lib_z_gzread+:} false; then :
13271 $as_echo_n "(cached) " >&6
13273 ac_check_lib_save_LIBS=$LIBS
13275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 /* Override any GCC internal prototype to avoid an error.
13279 Use char because int might match the return type of a GCC
13280 builtin and then its argument prototype would still apply. */
13293 if ac_fn_c_try_link "$LINENO"; then :
13294 ac_cv_lib_z_gzread=yes
13296 ac_cv_lib_z_gzread=no
13298 rm -f core conftest.err conftest.$ac_objext \
13299 conftest$ac_exeext conftest.$ac_ext
13300 LIBS=$ac_check_lib_save_LIBS
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
13303 $as_echo "$ac_cv_lib_z_gzread" >&6; }
13304 if test "x$ac_cv_lib_z_gzread" = xyes; then :
13307 if test "x${Z_DIR}" != "x"; then
13308 Z_CFLAGS="-I${Z_DIR}/include"
13309 Z_LIBS="-L${Z_DIR}/lib -lz"
13312 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
13328 # we still need to check for zlib.h header
13329 for ac_header in zlib.h
13331 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13332 if test "x$ac_cv_header_zlib_h" = xyes; then :
13333 cat >>confdefs.h <<_ACEOF
13334 #define HAVE_ZLIB_H 1
13343 # Found the library via either method?
13344 if test "x$have_libz" = "xyes"; then
13346 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
13360 if test "$with_lzma" = "no"; then
13361 echo "Disabling compression support"
13363 # Try pkg-config first so that static linking works.
13364 # If this succeeeds, we ignore the WITH_LZMA directory.
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LZMA" >&5
13368 $as_echo_n "checking for LZMA... " >&6; }
13370 if test -n "$LZMA_CFLAGS"; then
13371 pkg_cv_LZMA_CFLAGS="$LZMA_CFLAGS"
13372 elif test -n "$PKG_CONFIG"; then
13373 if test -n "$PKG_CONFIG" && \
13374 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
13375 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
13377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13378 test $ac_status = 0; }; then
13379 pkg_cv_LZMA_CFLAGS=`$PKG_CONFIG --cflags "liblzma" 2>/dev/null`
13380 test "x$?" != "x0" && pkg_failed=yes
13387 if test -n "$LZMA_LIBS"; then
13388 pkg_cv_LZMA_LIBS="$LZMA_LIBS"
13389 elif test -n "$PKG_CONFIG"; then
13390 if test -n "$PKG_CONFIG" && \
13391 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liblzma\""; } >&5
13392 ($PKG_CONFIG --exists --print-errors "liblzma") 2>&5
13394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13395 test $ac_status = 0; }; then
13396 pkg_cv_LZMA_LIBS=`$PKG_CONFIG --libs "liblzma" 2>/dev/null`
13397 test "x$?" != "x0" && pkg_failed=yes
13407 if test $pkg_failed = yes; then
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13409 $as_echo "no" >&6; }
13411 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13412 _pkg_short_errors_supported=yes
13414 _pkg_short_errors_supported=no
13416 if test $_pkg_short_errors_supported = yes; then
13417 LZMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "liblzma" 2>&1`
13419 LZMA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "liblzma" 2>&1`
13421 # Put the nasty error message in config.log where it belongs
13422 echo "$LZMA_PKG_ERRORS" >&5
13425 elif test $pkg_failed = untried; then
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13427 $as_echo "no" >&6; }
13430 LZMA_CFLAGS=$pkg_cv_LZMA_CFLAGS
13431 LZMA_LIBS=$pkg_cv_LZMA_LIBS
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13433 $as_echo "yes" >&6; }
13437 # If pkg-config failed, fall back to AC_CHECK_LIB. This
13438 # will not pick up the necessary LIBS flags for liblzma's
13439 # private dependencies, though, so static linking may fail.
13440 if test "x$have_liblzma" = "xno"; then
13441 for ac_header in lzma.h
13443 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
13444 if test "x$ac_cv_header_lzma_h" = xyes; then :
13445 cat >>confdefs.h <<_ACEOF
13446 #define HAVE_LZMA_H 1
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
13449 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
13450 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
13451 $as_echo_n "(cached) " >&6
13453 ac_check_lib_save_LIBS=$LIBS
13454 LIBS="-llzma $LIBS"
13455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13456 /* end confdefs.h. */
13458 /* Override any GCC internal prototype to avoid an error.
13459 Use char because int might match the return type of a GCC
13460 builtin and then its argument prototype would still apply. */
13468 return lzma_code ();
13473 if ac_fn_c_try_link "$LINENO"; then :
13474 ac_cv_lib_lzma_lzma_code=yes
13476 ac_cv_lib_lzma_lzma_code=no
13478 rm -f core conftest.err conftest.$ac_objext \
13479 conftest$ac_exeext conftest.$ac_ext
13480 LIBS=$ac_check_lib_save_LIBS
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
13483 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
13484 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
13487 if test "x${LZMA_DIR}" != "x"; then
13488 LZMA_CFLAGS="-I${LZMA_DIR}/include"
13489 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
13503 # we still need to check for lzma,h header
13504 for ac_header in lzma.h
13506 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
13507 if test "x$ac_cv_header_lzma_h" = xyes; then :
13508 cat >>confdefs.h <<_ACEOF
13509 #define HAVE_LZMA_H 1
13518 # Found the library via either method?
13519 if test "x$have_liblzma" = "xyes"; then
13521 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
13531 CPPFLAGS=${_cppflags}
13534 echo Checking headers
13536 ac_header_dirent=no
13537 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
13538 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
13540 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
13541 if eval \${$as_ac_Header+:} false; then :
13542 $as_echo_n "(cached) " >&6
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 #include <sys/types.h>
13558 if ac_fn_c_try_compile "$LINENO"; then :
13559 eval "$as_ac_Header=yes"
13561 eval "$as_ac_Header=no"
13563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13565 eval ac_res=\$$as_ac_Header
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13567 $as_echo "$ac_res" >&6; }
13568 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13569 cat >>confdefs.h <<_ACEOF
13570 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
13573 ac_header_dirent=$ac_hdr; break
13577 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
13578 if test $ac_header_dirent = dirent.h; then
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13580 $as_echo_n "checking for library containing opendir... " >&6; }
13581 if ${ac_cv_search_opendir+:} false; then :
13582 $as_echo_n "(cached) " >&6
13584 ac_func_search_save_LIBS=$LIBS
13585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13588 /* Override any GCC internal prototype to avoid an error.
13589 Use char because int might match the return type of a GCC
13590 builtin and then its argument prototype would still apply. */
13603 for ac_lib in '' dir; do
13604 if test -z "$ac_lib"; then
13605 ac_res="none required"
13608 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13610 if ac_fn_c_try_link "$LINENO"; then :
13611 ac_cv_search_opendir=$ac_res
13613 rm -f core conftest.err conftest.$ac_objext \
13615 if ${ac_cv_search_opendir+:} false; then :
13619 if ${ac_cv_search_opendir+:} false; then :
13622 ac_cv_search_opendir=no
13624 rm conftest.$ac_ext
13625 LIBS=$ac_func_search_save_LIBS
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13628 $as_echo "$ac_cv_search_opendir" >&6; }
13629 ac_res=$ac_cv_search_opendir
13630 if test "$ac_res" != no; then :
13631 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
13637 $as_echo_n "checking for library containing opendir... " >&6; }
13638 if ${ac_cv_search_opendir+:} false; then :
13639 $as_echo_n "(cached) " >&6
13641 ac_func_search_save_LIBS=$LIBS
13642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643 /* end confdefs.h. */
13645 /* Override any GCC internal prototype to avoid an error.
13646 Use char because int might match the return type of a GCC
13647 builtin and then its argument prototype would still apply. */
13660 for ac_lib in '' x; do
13661 if test -z "$ac_lib"; then
13662 ac_res="none required"
13665 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13667 if ac_fn_c_try_link "$LINENO"; then :
13668 ac_cv_search_opendir=$ac_res
13670 rm -f core conftest.err conftest.$ac_objext \
13672 if ${ac_cv_search_opendir+:} false; then :
13676 if ${ac_cv_search_opendir+:} false; then :
13679 ac_cv_search_opendir=no
13681 rm conftest.$ac_ext
13682 LIBS=$ac_func_search_save_LIBS
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
13685 $as_echo "$ac_cv_search_opendir" >&6; }
13686 ac_res=$ac_cv_search_opendir
13687 if test "$ac_res" != no; then :
13688 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
13695 $as_echo_n "checking for ANSI C header files... " >&6; }
13696 if ${ac_cv_header_stdc+:} false; then :
13697 $as_echo_n "(cached) " >&6
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13701 #include <stdlib.h>
13702 #include <stdarg.h>
13703 #include <string.h>
13714 if ac_fn_c_try_compile "$LINENO"; then :
13715 ac_cv_header_stdc=yes
13717 ac_cv_header_stdc=no
13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13721 if test $ac_cv_header_stdc = yes; then
13722 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13724 /* end confdefs.h. */
13725 #include <string.h>
13728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13729 $EGREP "memchr" >/dev/null 2>&1; then :
13732 ac_cv_header_stdc=no
13738 if test $ac_cv_header_stdc = yes; then
13739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13742 #include <stdlib.h>
13745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13746 $EGREP "free" >/dev/null 2>&1; then :
13749 ac_cv_header_stdc=no
13755 if test $ac_cv_header_stdc = yes; then
13756 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13757 if test "$cross_compiling" = yes; then :
13760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13761 /* end confdefs.h. */
13763 #include <stdlib.h>
13764 #if ((' ' & 0x0FF) == 0x020)
13765 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13766 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13768 # define ISLOWER(c) \
13769 (('a' <= (c) && (c) <= 'i') \
13770 || ('j' <= (c) && (c) <= 'r') \
13771 || ('s' <= (c) && (c) <= 'z'))
13772 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13775 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13780 for (i = 0; i < 256; i++)
13781 if (XOR (islower (i), ISLOWER (i))
13782 || toupper (i) != TOUPPER (i))
13787 if ac_fn_c_try_run "$LINENO"; then :
13790 ac_cv_header_stdc=no
13792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13793 conftest.$ac_objext conftest.beam conftest.$ac_ext
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13799 $as_echo "$ac_cv_header_stdc" >&6; }
13800 if test $ac_cv_header_stdc = yes; then
13802 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
13806 for ac_header in fcntl.h
13808 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
13809 if test "x$ac_cv_header_fcntl_h" = xyes; then :
13810 cat >>confdefs.h <<_ACEOF
13811 #define HAVE_FCNTL_H 1
13818 for ac_header in unistd.h
13820 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
13821 if test "x$ac_cv_header_unistd_h" = xyes; then :
13822 cat >>confdefs.h <<_ACEOF
13823 #define HAVE_UNISTD_H 1
13830 for ac_header in ctype.h
13832 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
13833 if test "x$ac_cv_header_ctype_h" = xyes; then :
13834 cat >>confdefs.h <<_ACEOF
13835 #define HAVE_CTYPE_H 1
13842 for ac_header in dirent.h
13844 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
13845 if test "x$ac_cv_header_dirent_h" = xyes; then :
13846 cat >>confdefs.h <<_ACEOF
13847 #define HAVE_DIRENT_H 1
13854 for ac_header in errno.h
13856 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
13857 if test "x$ac_cv_header_errno_h" = xyes; then :
13858 cat >>confdefs.h <<_ACEOF
13859 #define HAVE_ERRNO_H 1
13866 for ac_header in malloc.h
13868 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
13869 if test "x$ac_cv_header_malloc_h" = xyes; then :
13870 cat >>confdefs.h <<_ACEOF
13871 #define HAVE_MALLOC_H 1
13878 for ac_header in stdarg.h
13880 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13881 if test "x$ac_cv_header_stdarg_h" = xyes; then :
13882 cat >>confdefs.h <<_ACEOF
13883 #define HAVE_STDARG_H 1
13890 for ac_header in sys/stat.h
13892 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
13893 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
13894 cat >>confdefs.h <<_ACEOF
13895 #define HAVE_SYS_STAT_H 1
13902 for ac_header in sys/types.h
13904 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
13905 if test "x$ac_cv_header_sys_types_h" = xyes; then :
13906 cat >>confdefs.h <<_ACEOF
13907 #define HAVE_SYS_TYPES_H 1
13914 for ac_header in stdint.h
13916 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
13917 if test "x$ac_cv_header_stdint_h" = xyes; then :
13918 cat >>confdefs.h <<_ACEOF
13919 #define HAVE_STDINT_H 1
13926 for ac_header in inttypes.h
13928 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13929 if test "x$ac_cv_header_inttypes_h" = xyes; then :
13930 cat >>confdefs.h <<_ACEOF
13931 #define HAVE_INTTYPES_H 1
13938 for ac_header in time.h
13940 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
13941 if test "x$ac_cv_header_time_h" = xyes; then :
13942 cat >>confdefs.h <<_ACEOF
13943 #define HAVE_TIME_H 1
13950 for ac_header in ansidecl.h
13952 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
13953 if test "x$ac_cv_header_ansidecl_h" = xyes; then :
13954 cat >>confdefs.h <<_ACEOF
13955 #define HAVE_ANSIDECL_H 1
13962 for ac_header in ieeefp.h
13964 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
13965 if test "x$ac_cv_header_ieeefp_h" = xyes; then :
13966 cat >>confdefs.h <<_ACEOF
13967 #define HAVE_IEEEFP_H 1
13974 for ac_header in nan.h
13976 ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
13977 if test "x$ac_cv_header_nan_h" = xyes; then :
13978 cat >>confdefs.h <<_ACEOF
13979 #define HAVE_NAN_H 1
13986 for ac_header in math.h
13988 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
13989 if test "x$ac_cv_header_math_h" = xyes; then :
13990 cat >>confdefs.h <<_ACEOF
13991 #define HAVE_MATH_H 1
13998 for ac_header in limits.h
14000 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
14001 if test "x$ac_cv_header_limits_h" = xyes; then :
14002 cat >>confdefs.h <<_ACEOF
14003 #define HAVE_LIMITS_H 1
14010 for ac_header in fp_class.h
14012 ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
14013 if test "x$ac_cv_header_fp_class_h" = xyes; then :
14014 cat >>confdefs.h <<_ACEOF
14015 #define HAVE_FP_CLASS_H 1
14022 for ac_header in float.h
14024 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
14025 if test "x$ac_cv_header_float_h" = xyes; then :
14026 cat >>confdefs.h <<_ACEOF
14027 #define HAVE_FLOAT_H 1
14034 for ac_header in stdlib.h
14036 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14037 if test "x$ac_cv_header_stdlib_h" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_STDLIB_H 1
14046 for ac_header in sys/socket.h
14048 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
14049 # include <sys/types.h>
14053 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
14054 cat >>confdefs.h <<_ACEOF
14055 #define HAVE_SYS_SOCKET_H 1
14062 for ac_header in netinet/in.h
14064 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
14065 # include <sys/types.h>
14069 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
14070 cat >>confdefs.h <<_ACEOF
14071 #define HAVE_NETINET_IN_H 1
14078 for ac_header in arpa/inet.h
14080 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
14081 # include <sys/types.h>
14083 #if HAVE_ARPA_INET_H
14084 # include <arpa/inet.h>
14088 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
14089 cat >>confdefs.h <<_ACEOF
14090 #define HAVE_ARPA_INET_H 1
14097 for ac_header in netdb.h
14099 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
14100 if test "x$ac_cv_header_netdb_h" = xyes; then :
14101 cat >>confdefs.h <<_ACEOF
14102 #define HAVE_NETDB_H 1
14109 for ac_header in sys/time.h
14111 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
14112 if test "x$ac_cv_header_sys_time_h" = xyes; then :
14113 cat >>confdefs.h <<_ACEOF
14114 #define HAVE_SYS_TIME_H 1
14121 for ac_header in sys/select.h
14123 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
14124 if test "x$ac_cv_header_sys_select_h" = xyes; then :
14125 cat >>confdefs.h <<_ACEOF
14126 #define HAVE_SYS_SELECT_H 1
14133 for ac_header in poll.h
14135 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
14136 if test "x$ac_cv_header_poll_h" = xyes; then :
14137 cat >>confdefs.h <<_ACEOF
14138 #define HAVE_POLL_H 1
14145 for ac_header in sys/mman.h
14147 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
14148 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
14149 cat >>confdefs.h <<_ACEOF
14150 #define HAVE_SYS_MMAN_H 1
14157 for ac_header in sys/timeb.h
14159 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
14160 if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
14161 cat >>confdefs.h <<_ACEOF
14162 #define HAVE_SYS_TIMEB_H 1
14169 for ac_header in signal.h
14171 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
14172 if test "x$ac_cv_header_signal_h" = xyes; then :
14173 cat >>confdefs.h <<_ACEOF
14174 #define HAVE_SIGNAL_H 1
14181 for ac_header in arpa/nameser.h
14183 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
14184 # include <sys/types.h>
14188 if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
14189 cat >>confdefs.h <<_ACEOF
14190 #define HAVE_ARPA_NAMESER_H 1
14197 for ac_header in resolv.h
14199 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
14200 # include <sys/types.h>
14202 #if HAVE_NETINET_IN_H
14203 # include <netinet/in.h>
14205 #if HAVE_ARPA_NAMESER_H
14206 # include <arpa/nameser.h>
14210 if test "x$ac_cv_header_resolv_h" = xyes; then :
14211 cat >>confdefs.h <<_ACEOF
14212 #define HAVE_RESOLV_H 1
14219 for ac_header in dl.h
14221 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
14222 if test "x$ac_cv_header_dl_h" = xyes; then :
14223 cat >>confdefs.h <<_ACEOF
14224 #define HAVE_DL_H 1
14231 for ac_header in dlfcn.h
14233 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
14234 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
14235 cat >>confdefs.h <<_ACEOF
14236 #define HAVE_DLFCN_H 1
14245 echo Checking types
14247 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
14248 case $ac_cv_c_uint32_t in #(
14252 $as_echo "#define _UINT32_T 1" >>confdefs.h
14255 cat >>confdefs.h <<_ACEOF
14256 #define uint32_t $ac_cv_c_uint32_t
14263 echo Checking libraries
14265 for ac_func in strftime
14267 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
14268 if test "x$ac_cv_func_strftime" = xyes; then :
14269 cat >>confdefs.h <<_ACEOF
14270 #define HAVE_STRFTIME 1
14274 # strftime is in -lintl on SCO UNIX.
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
14276 $as_echo_n "checking for strftime in -lintl... " >&6; }
14277 if ${ac_cv_lib_intl_strftime+:} false; then :
14278 $as_echo_n "(cached) " >&6
14280 ac_check_lib_save_LIBS=$LIBS
14281 LIBS="-lintl $LIBS"
14282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14295 return strftime ();
14300 if ac_fn_c_try_link "$LINENO"; then :
14301 ac_cv_lib_intl_strftime=yes
14303 ac_cv_lib_intl_strftime=no
14305 rm -f core conftest.err conftest.$ac_objext \
14306 conftest$ac_exeext conftest.$ac_ext
14307 LIBS=$ac_check_lib_save_LIBS
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
14310 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
14311 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
14312 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
14314 LIBS="-lintl $LIBS"
14320 for ac_func in strdup strndup strerror
14322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14325 cat >>confdefs.h <<_ACEOF
14326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14332 for ac_func in finite isnand fp_class class fpclass
14334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14337 cat >>confdefs.h <<_ACEOF
14338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14344 for ac_func in strftime localtime gettimeofday ftime
14346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14349 cat >>confdefs.h <<_ACEOF
14350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14356 for ac_func in stat _stat signal
14358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14361 cat >>confdefs.h <<_ACEOF
14362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14368 for ac_func in rand rand_r srand time
14370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14372 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14373 cat >>confdefs.h <<_ACEOF
14374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14380 for ac_func in isascii mmap munmap putenv
14382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14384 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14385 cat >>confdefs.h <<_ACEOF
14386 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
14396 $as_echo_n "checking for va_copy... " >&6; }
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14399 #include <stdarg.h>
14409 if ac_fn_c_try_link "$LINENO"; then :
14414 rm -f core conftest.err conftest.$ac_objext \
14415 conftest$ac_exeext conftest.$ac_ext
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
14417 $as_echo "$have_va_copy" >&6; }
14418 if test x"$have_va_copy" = x"yes"; then
14420 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
14424 $as_echo_n "checking for __va_copy... " >&6; }
14425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14426 /* end confdefs.h. */
14427 #include <stdarg.h>
14432 __va_copy(ap1,ap2);
14437 if ac_fn_c_try_link "$LINENO"; then :
14442 rm -f core conftest.err conftest.$ac_objext \
14443 conftest$ac_exeext conftest.$ac_ext
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
14445 $as_echo "$have___va_copy" >&6; }
14446 if test x"$have___va_copy" = x"yes"; then
14448 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_list is an array type" >&5
14454 $as_echo_n "checking whether va_list is an array type... " >&6; }
14455 cat > conftest.$ac_ext <<EOF
14456 #line 14456 "configure"
14457 #include "confdefs.h"
14459 #include <stdarg.h>
14460 void a(va_list * ap) {}
14463 va_list ap1, ap2; a(&ap1); ap2 = (va_list) ap1
14466 if { (eval echo configure:14466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14470 $as_echo "no" >&6; }
14472 echo "configure: failed program was:" >&5
14473 cat conftest.$ac_ext >&5
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14477 $as_echo "yes" >&6; }
14479 $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
14485 $as_echo_n "checking for library containing gethostent... " >&6; }
14486 if ${ac_cv_search_gethostent+:} false; then :
14487 $as_echo_n "(cached) " >&6
14489 ac_func_search_save_LIBS=$LIBS
14490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14491 /* end confdefs.h. */
14493 /* Override any GCC internal prototype to avoid an error.
14494 Use char because int might match the return type of a GCC
14495 builtin and then its argument prototype would still apply. */
14499 char gethostent ();
14503 return gethostent ();
14508 for ac_lib in '' nsl; do
14509 if test -z "$ac_lib"; then
14510 ac_res="none required"
14513 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14515 if ac_fn_c_try_link "$LINENO"; then :
14516 ac_cv_search_gethostent=$ac_res
14518 rm -f core conftest.err conftest.$ac_objext \
14520 if ${ac_cv_search_gethostent+:} false; then :
14524 if ${ac_cv_search_gethostent+:} false; then :
14527 ac_cv_search_gethostent=no
14529 rm conftest.$ac_ext
14530 LIBS=$ac_func_search_save_LIBS
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
14533 $as_echo "$ac_cv_search_gethostent" >&6; }
14534 ac_res=$ac_cv_search_gethostent
14535 if test "$ac_res" != no; then :
14536 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
14541 $as_echo_n "checking for library containing setsockopt... " >&6; }
14542 if ${ac_cv_search_setsockopt+:} false; then :
14543 $as_echo_n "(cached) " >&6
14545 ac_func_search_save_LIBS=$LIBS
14546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14547 /* end confdefs.h. */
14549 /* Override any GCC internal prototype to avoid an error.
14550 Use char because int might match the return type of a GCC
14551 builtin and then its argument prototype would still apply. */
14555 char setsockopt ();
14559 return setsockopt ();
14564 for ac_lib in '' socket net network; do
14565 if test -z "$ac_lib"; then
14566 ac_res="none required"
14569 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14571 if ac_fn_c_try_link "$LINENO"; then :
14572 ac_cv_search_setsockopt=$ac_res
14574 rm -f core conftest.err conftest.$ac_objext \
14576 if ${ac_cv_search_setsockopt+:} false; then :
14580 if ${ac_cv_search_setsockopt+:} false; then :
14583 ac_cv_search_setsockopt=no
14585 rm conftest.$ac_ext
14586 LIBS=$ac_func_search_save_LIBS
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
14589 $as_echo "$ac_cv_search_setsockopt" >&6; }
14590 ac_res=$ac_cv_search_setsockopt
14591 if test "$ac_res" != no; then :
14592 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
14597 $as_echo_n "checking for library containing connect... " >&6; }
14598 if ${ac_cv_search_connect+:} false; then :
14599 $as_echo_n "(cached) " >&6
14601 ac_func_search_save_LIBS=$LIBS
14602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14603 /* end confdefs.h. */
14605 /* Override any GCC internal prototype to avoid an error.
14606 Use char because int might match the return type of a GCC
14607 builtin and then its argument prototype would still apply. */
14620 for ac_lib in '' inet; do
14621 if test -z "$ac_lib"; then
14622 ac_res="none required"
14625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14627 if ac_fn_c_try_link "$LINENO"; then :
14628 ac_cv_search_connect=$ac_res
14630 rm -f core conftest.err conftest.$ac_objext \
14632 if ${ac_cv_search_connect+:} false; then :
14636 if ${ac_cv_search_connect+:} false; then :
14639 ac_cv_search_connect=no
14641 rm conftest.$ac_ext
14642 LIBS=$ac_func_search_save_LIBS
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
14645 $as_echo "$ac_cv_search_connect" >&6; }
14646 ac_res=$ac_cv_search_connect
14647 if test "$ac_res" != no; then :
14648 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
14654 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
14655 cat > conftest.$ac_ext <<EOF
14656 #line 14656 "configure"
14657 #include "confdefs.h"
14659 #include <stddef.h>
14660 #include <sys/types.h>
14661 #include <sys/socket.h>
14664 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
14667 if { (eval echo configure:14667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
14671 $as_echo "socklen_t *" >&6; }
14672 XML_SOCKLEN_T=socklen_t
14674 echo "configure: failed program was:" >&5
14675 cat conftest.$ac_ext >&5
14678 cat > conftest.$ac_ext <<EOF
14679 #line 14679 "configure"
14680 #include "confdefs.h"
14682 #include <stddef.h>
14683 #include <sys/types.h>
14684 #include <sys/socket.h>
14687 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
14690 if { (eval echo configure:14690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
14694 $as_echo "size_t *" >&6; }
14695 XML_SOCKLEN_T=size_t
14697 echo "configure: failed program was:" >&5
14698 cat conftest.$ac_ext >&5
14701 cat > conftest.$ac_ext <<EOF
14702 #line 14702 "configure"
14703 #include "confdefs.h"
14705 #include <stddef.h>
14706 #include <sys/types.h>
14707 #include <sys/socket.h>
14710 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
14713 if { (eval echo configure:14713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
14717 $as_echo "int *" >&6; }
14720 echo "configure: failed program was:" >&5
14721 cat conftest.$ac_ext >&5
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
14725 $as_echo "$as_me: WARNING: could not determine" >&2;}
14726 XML_SOCKLEN_T="int"
14734 cat >>confdefs.h <<_ACEOF
14735 #define XML_SOCKLEN_T $XML_SOCKLEN_T
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const gethostbyname() argument" >&5
14740 $as_echo_n "checking for const gethostbyname() argument... " >&6; }
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14747 (void)gethostbyname((const char *)"");
14752 if ac_fn_c_try_link "$LINENO"; then :
14753 have_gethostbyname_const_arg=yes
14755 have_gethostbyname_const_arg=no
14757 rm -f core conftest.err conftest.$ac_objext \
14758 conftest$ac_exeext conftest.$ac_ext
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gethostbyname_const_arg" >&5
14760 $as_echo "$have_gethostbyname_const_arg" >&6; }
14761 if test x"$have_gethostbyname_const_arg" = x"yes"; then
14763 $as_echo "#define GETHOSTBYNAME_ARG_CAST /**/" >>confdefs.h
14767 $as_echo "#define GETHOSTBYNAME_ARG_CAST (char *)" >>confdefs.h
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const send() second argument" >&5
14772 $as_echo_n "checking for const send() second argument... " >&6; }
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14775 #include <sys/types.h>
14776 #include <sys/socket.h>
14780 (void)send(1,(const char *)"",1,1);
14785 if ac_fn_c_try_link "$LINENO"; then :
14786 have_send_const_arg2=yes
14788 have_send_const_arg2=no
14790 rm -f core conftest.err conftest.$ac_objext \
14791 conftest$ac_exeext conftest.$ac_ext
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_send_const_arg2" >&5
14793 $as_echo "$have_send_const_arg2" >&6; }
14794 if test x"$have_send_const_arg2" = x"yes"; then
14796 $as_echo "#define SEND_ARG2_CAST /**/" >>confdefs.h
14800 $as_echo "#define SEND_ARG2_CAST (char *)" >>confdefs.h
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
14806 $as_echo_n "checking whether to enable IPv6... " >&6; }
14807 # Check whether --enable-ipv6 was given.
14808 if test "${enable_ipv6+set}" = set; then :
14809 enableval=$enable_ipv6;
14814 if test "$with_minimum" = "yes"
14818 if test $enable_ipv6 = yes; then
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14823 # include <sys/types.h>
14824 # include <sys/socket.h>
14830 struct sockaddr_storage ss;
14831 socket(AF_INET6, SOCK_STREAM, 0)
14837 if ac_fn_c_try_compile "$LINENO"; then :
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
14845 $as_echo "$have_ipv6" >&6; }
14847 if test $have_ipv6 = yes; then
14849 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
14851 have_broken_ss_family=no
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
14854 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14858 # include <sys/types.h>
14859 # include <sys/socket.h>
14865 struct sockaddr_storage ss ;
14872 if ac_fn_c_try_compile "$LINENO"; then :
14878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
14880 $as_echo "$have_ss_family" >&6; }
14881 if test x$have_ss_family = xno ; then
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
14883 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
14884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14885 /* end confdefs.h. */
14887 # include <sys/types.h>
14888 # include <sys/socket.h>
14894 struct sockaddr_storage ss ;
14895 ss.__ss_family = 0 ;
14901 if ac_fn_c_try_compile "$LINENO"; then :
14902 have_broken_ss_family=yes
14904 have_broken_ss_family=no
14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
14909 $as_echo "$have_broken_ss_family" >&6; }
14910 if test x$have_broken_ss_family = xyes ; then
14912 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
14915 $as_echo "#define ss_family __ss_family" >>confdefs.h
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
14919 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
14923 have_getaddrinfo=no
14924 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
14925 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
14926 have_getaddrinfo=yes
14929 if test $have_getaddrinfo != yes; then
14930 for lib in bsd socket inet; do
14931 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
14933 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
14934 if eval \${$as_ac_Lib+:} false; then :
14935 $as_echo_n "(cached) " >&6
14937 ac_check_lib_save_LIBS=$LIBS
14938 LIBS="-l$lib $LIBS"
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14942 /* Override any GCC internal prototype to avoid an error.
14943 Use char because int might match the return type of a GCC
14944 builtin and then its argument prototype would still apply. */
14948 char getaddrinfo ();
14952 return getaddrinfo ();
14957 if ac_fn_c_try_link "$LINENO"; then :
14958 eval "$as_ac_Lib=yes"
14960 eval "$as_ac_Lib=no"
14962 rm -f core conftest.err conftest.$ac_objext \
14963 conftest$ac_exeext conftest.$ac_ext
14964 LIBS=$ac_check_lib_save_LIBS
14966 eval ac_res=\$$as_ac_Lib
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14968 $as_echo "$ac_res" >&6; }
14969 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
14970 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
14976 if test $have_getaddrinfo = yes; then
14978 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
14985 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
14986 if test "x$ac_cv_func_isnan" = xyes; then :
14988 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
14992 $as_echo_n "checking for isnan in -lm... " >&6; }
14993 if ${ac_cv_lib_m_isnan+:} false; then :
14994 $as_echo_n "(cached) " >&6
14996 ac_check_lib_save_LIBS=$LIBS
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15001 /* Override any GCC internal prototype to avoid an error.
15002 Use char because int might match the return type of a GCC
15003 builtin and then its argument prototype would still apply. */
15016 if ac_fn_c_try_link "$LINENO"; then :
15017 ac_cv_lib_m_isnan=yes
15019 ac_cv_lib_m_isnan=no
15021 rm -f core conftest.err conftest.$ac_objext \
15022 conftest$ac_exeext conftest.$ac_ext
15023 LIBS=$ac_check_lib_save_LIBS
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
15026 $as_echo "$ac_cv_lib_m_isnan" >&6; }
15027 if test "x$ac_cv_lib_m_isnan" = xyes; then :
15029 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
15036 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
15037 if test "x$ac_cv_func_isinf" = xyes; then :
15039 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
15043 $as_echo_n "checking for isinf in -lm... " >&6; }
15044 if ${ac_cv_lib_m_isinf+:} false; then :
15045 $as_echo_n "(cached) " >&6
15047 ac_check_lib_save_LIBS=$LIBS
15049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15050 /* end confdefs.h. */
15052 /* Override any GCC internal prototype to avoid an error.
15053 Use char because int might match the return type of a GCC
15054 builtin and then its argument prototype would still apply. */
15067 if ac_fn_c_try_link "$LINENO"; then :
15068 ac_cv_lib_m_isinf=yes
15070 ac_cv_lib_m_isinf=no
15072 rm -f core conftest.err conftest.$ac_objext \
15073 conftest$ac_exeext conftest.$ac_ext
15074 LIBS=$ac_check_lib_save_LIBS
15076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
15077 $as_echo "$ac_cv_lib_m_isinf" >&6; }
15078 if test "x$ac_cv_lib_m_isinf" = xyes; then :
15080 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
15087 XML_LIBDIR='-L${libdir}'
15088 XML_INCLUDEDIR='-I${includedir}/libxml2'
15093 if test "${GCC}" != "yes" ; then
15096 CFLAGS="${CFLAGS} -Wp,-H30000"
15099 CFLAGS="${CFLAGS} -ieee"
15102 CFLAGS="${CFLAGS} -ieee"
15106 if test "$with_fexceptions" = "yes"
15109 # Not activated by default because this inflates the code size
15110 # Used to allow propagation of C++ exceptions through the library
15112 CFLAGS="${CFLAGS} -fexceptions"
15115 # warnings we'd like to see
15116 CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
15117 # warnings we'd like to supress
15118 CFLAGS="${CFLAGS} -Wno-long-long"
15121 CFLAGS="${CFLAGS} -mieee"
15124 CFLAGS="${CFLAGS} -mieee"
15130 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
15135 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
15136 # If the host is Windows, and shared libraries are disabled, we
15137 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
15138 # work properly (without it, xmlexports.h would force the use of
15139 # DLL imports, which obviously aren't present in a static
15141 if test "x$enable_shared" = "xno"; then
15142 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
15143 CFLAGS="$CFLAGS -DLIBXML_STATIC"
15152 PYTHON_SITE_PACKAGES=
15155 if test "$with_python" != "no" ; then
15156 if test -x "$with_python/bin/python"
15158 echo Found python in $with_python/bin/python
15159 PYTHON="$with_python/bin/python"
15161 if test -x "$with_python/python.exe"
15163 echo Found python in $with_python/python.exe
15164 PYTHON="$with_python/python.exe"
15166 if test -x "$with_python"
15168 echo Found python in $with_python
15169 PYTHON="$with_python"
15171 if test -x "$PYTHON"
15173 echo Found python in environment PYTHON=$PYTHON
15174 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
15176 # 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.
15177 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15179 $as_echo_n "checking for $ac_word... " >&6; }
15180 if ${ac_cv_path_PYTHON+:} false; then :
15181 $as_echo_n "(cached) " >&6
15185 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15189 for as_dir in $PATH
15192 test -z "$as_dir" && as_dir=.
15193 for ac_exec_ext in '' $ac_executable_extensions; do
15194 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15195 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
15196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15206 PYTHON=$ac_cv_path_PYTHON
15207 if test -n "$PYTHON"; then
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15209 $as_echo "$PYTHON" >&6; }
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15212 $as_echo "no" >&6; }
15220 if test "$PYTHON" != ""
15222 PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())"`
15223 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
15224 # does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
15226 # PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
15227 echo Found Python version $PYTHON_VERSION
15229 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = ""
15231 if test -r $with_python/include/python$PYTHON_VERSION/Python.h
15233 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
15235 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
15237 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
15239 if test -r /usr/include/python$PYTHON_VERSION/Python.h
15241 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
15243 if test -r $with_python/include/Python.h
15245 PYTHON_INCLUDES=$with_python/include
15247 echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
15253 if test "$with_python_install_dir" != ""
15255 PYTHON_SITE_PACKAGES="$with_python_install_dir"
15257 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
15259 if test -d $libdir/python$PYTHON_VERSION/site-packages
15261 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
15263 if test -d $with_python/lib/site-packages
15265 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
15267 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
15271 pythondir='$(PYTHON_SITE_PACKAGES)'
15272 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
15276 if test "$PYTHON_INCLUDES" != ""; then
15278 WITH_PYTHON_FALSE='#'
15280 WITH_PYTHON_TRUE='#'
15284 if test "$PYTHON_INCLUDES" != ""
15286 PYTHON_SUBDIR=python
15297 if test "$with_modules" != "no" ; then
15300 MODULE_EXTENSION=".dll"
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
15302 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
15303 if ${ac_cv_lib_cygwin_dlopen+:} false; then :
15304 $as_echo_n "(cached) " >&6
15306 ac_check_lib_save_LIBS=$LIBS
15307 LIBS="-lcygwin $LIBS"
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15311 /* Override any GCC internal prototype to avoid an error.
15312 Use char because int might match the return type of a GCC
15313 builtin and then its argument prototype would still apply. */
15326 if ac_fn_c_try_link "$LINENO"; then :
15327 ac_cv_lib_cygwin_dlopen=yes
15329 ac_cv_lib_cygwin_dlopen=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15333 LIBS=$ac_check_lib_save_LIBS
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
15336 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
15337 if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then :
15340 MODULE_PLATFORM_LIBS=
15342 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
15349 MODULE_EXTENSION=".dll"
15353 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
15354 if test "x$ac_cv_func_shl_load" = xyes; then :
15355 libxml_have_shl_load=yes
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15359 $as_echo_n "checking for shl_load in -ldld... " >&6; }
15360 if ${ac_cv_lib_dld_shl_load+:} false; then :
15361 $as_echo_n "(cached) " >&6
15363 ac_check_lib_save_LIBS=$LIBS
15365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15366 /* end confdefs.h. */
15368 /* Override any GCC internal prototype to avoid an error.
15369 Use char because int might match the return type of a GCC
15370 builtin and then its argument prototype would still apply. */
15378 return shl_load ();
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 ac_cv_lib_dld_shl_load=yes
15386 ac_cv_lib_dld_shl_load=no
15388 rm -f core conftest.err conftest.$ac_objext \
15389 conftest$ac_exeext conftest.$ac_ext
15390 LIBS=$ac_check_lib_save_LIBS
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15393 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15394 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
15396 MODULE_PLATFORM_LIBS="-ldld"
15397 libxml_have_shl_load=yes
15400 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
15401 if test "x$ac_cv_func_dlopen" = xyes; then :
15402 libxml_have_dlopen=yes
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15406 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15407 if ${ac_cv_lib_dl_dlopen+:} false; then :
15408 $as_echo_n "(cached) " >&6
15410 ac_check_lib_save_LIBS=$LIBS
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15413 /* end confdefs.h. */
15415 /* Override any GCC internal prototype to avoid an error.
15416 Use char because int might match the return type of a GCC
15417 builtin and then its argument prototype would still apply. */
15430 if ac_fn_c_try_link "$LINENO"; then :
15431 ac_cv_lib_dl_dlopen=yes
15433 ac_cv_lib_dl_dlopen=no
15435 rm -f core conftest.err conftest.$ac_objext \
15436 conftest$ac_exeext conftest.$ac_ext
15437 LIBS=$ac_check_lib_save_LIBS
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15440 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15441 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15443 MODULE_PLATFORM_LIBS="-ldl"
15444 libxml_have_dlopen=yes
15454 if test "${libxml_have_shl_load}" = "yes"; then
15455 MODULE_EXTENSION=".sl"
15458 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
15462 if test "${libxml_have_dlopen}" = "yes"; then
15465 MODULE_EXTENSION=".sl"
15468 MODULE_EXTENSION=".so"
15474 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
15481 if test "${WITH_MODULES}" = "1"; then
15482 TEST_MODULES="ModuleTests"
15491 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
15492 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
15493 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
15495 if test "$with_minimum" != "yes"
15497 if test "${with_mem_debug}" = "" ; then
15498 echo Activating memory debugging
15499 with_mem_debug="yes"
15500 with_run_debug="yes"
15502 if test "${with_docbook}" = "" ; then
15506 if test "${GCC}" = "yes" ; then
15507 CFLAGS="-g -O -pedantic -W -Wformat -Wno-format-extra-args -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
15509 STATIC_BINARIES="-static"
15516 if test "${NEED_TRIO}" = "1" ; then
15517 echo Adding trio library for string functions
15522 if test "${NEED_TRIO}" = "1"; then
15523 WITH_TRIO_SOURCES_TRUE=
15524 WITH_TRIO_SOURCES_FALSE='#'
15526 WITH_TRIO_SOURCES_TRUE='#'
15527 WITH_TRIO_SOURCES_FALSE=
15532 echo Checking configuration requirements
15535 BASE_THREAD_LIBS=""
15540 WITH_THREAD_ALLOC=0
15542 if test "$with_threads" = "no" ; then
15543 echo Disabling multithreaded support
15545 echo Enabling multithreaded support
15548 *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
15551 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
15556 if test -z "$THREADS_W32"; then
15557 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
15558 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
15559 if test "x$ac_cv_header_pthread_h" = xyes; then :
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
15561 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
15562 if ${ac_cv_lib_pthread_pthread_join+:} false; then :
15563 $as_echo_n "(cached) " >&6
15565 ac_check_lib_save_LIBS=$LIBS
15566 LIBS="-lpthread $LIBS"
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15570 /* Override any GCC internal prototype to avoid an error.
15571 Use char because int might match the return type of a GCC
15572 builtin and then its argument prototype would still apply. */
15576 char pthread_join ();
15580 return pthread_join ();
15585 if ac_fn_c_try_link "$LINENO"; then :
15586 ac_cv_lib_pthread_pthread_join=yes
15588 ac_cv_lib_pthread_pthread_join=no
15590 rm -f core conftest.err conftest.$ac_objext \
15591 conftest$ac_exeext conftest.$ac_ext
15592 LIBS=$ac_check_lib_save_LIBS
15594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
15595 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
15596 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
15598 THREAD_LIBS="-lpthread"
15600 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
15603 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
15615 *cygwin*) THREAD_LIBS=""
15617 *beos*) WITH_THREADS="1"
15618 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
15621 if test "${GCC}" = "yes" ; then
15622 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
15623 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
15624 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
15625 if test "${THREAD_LIBS}" = "-lpthread" ; then
15626 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
15629 BASE_THREAD_LIBS="-lpthread"
15631 if expr ${GCC_MAJOR} \> 3 > /dev/null
15634 BASE_THREAD_LIBS="-lpthread"
15636 echo old GCC disabling weak symbols for pthread
15643 if test "$WITH_THREADS" = "1" ; then
15644 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
15645 TEST_THREADS="Threadtests"
15648 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
15649 WITH_THREAD_ALLOC=1
15658 if test -n "$THREADS_W32"; then
15660 THREADS_W32_FALSE='#'
15662 THREADS_W32_TRUE='#'
15667 if test "$with_history" = "yes" ; then
15668 echo Enabling xmllint shell history
15670 for termlib in ncurses curses termcap terminfo termlib; do
15671 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
15673 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
15674 if eval \${$as_ac_Lib+:} false; then :
15675 $as_echo_n "(cached) " >&6
15677 ac_check_lib_save_LIBS=$LIBS
15678 LIBS="-l${termlib} $LIBS"
15679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15680 /* end confdefs.h. */
15682 /* Override any GCC internal prototype to avoid an error.
15683 Use char because int might match the return type of a GCC
15684 builtin and then its argument prototype would still apply. */
15697 if ac_fn_c_try_link "$LINENO"; then :
15698 eval "$as_ac_Lib=yes"
15700 eval "$as_ac_Lib=no"
15702 rm -f core conftest.err conftest.$ac_objext \
15703 conftest$ac_exeext conftest.$ac_ext
15704 LIBS=$ac_check_lib_save_LIBS
15706 eval ac_res=\$$as_ac_Lib
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15708 $as_echo "$ac_res" >&6; }
15709 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
15713 test -n "$tcap" && break
15716 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
15717 if test "x$ac_cv_header_readline_history_h" = xyes; then :
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
15719 $as_echo_n "checking for append_history in -lhistory... " >&6; }
15720 if ${ac_cv_lib_history_append_history+:} false; then :
15721 $as_echo_n "(cached) " >&6
15723 ac_check_lib_save_LIBS=$LIBS
15724 LIBS="-lhistory $LIBS"
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15728 /* Override any GCC internal prototype to avoid an error.
15729 Use char because int might match the return type of a GCC
15730 builtin and then its argument prototype would still apply. */
15734 char append_history ();
15738 return append_history ();
15743 if ac_fn_c_try_link "$LINENO"; then :
15744 ac_cv_lib_history_append_history=yes
15746 ac_cv_lib_history_append_history=no
15748 rm -f core conftest.err conftest.$ac_objext \
15749 conftest$ac_exeext conftest.$ac_ext
15750 LIBS=$ac_check_lib_save_LIBS
15752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
15753 $as_echo "$ac_cv_lib_history_append_history" >&6; }
15754 if test "x$ac_cv_lib_history_append_history" = xyes; then :
15756 RDL_LIBS="-lhistory"
15758 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
15765 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
15766 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
15768 $as_echo_n "checking for readline in -lreadline... " >&6; }
15769 if ${ac_cv_lib_readline_readline+:} false; then :
15770 $as_echo_n "(cached) " >&6
15772 ac_check_lib_save_LIBS=$LIBS
15773 LIBS="-lreadline $tcap $LIBS"
15774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15775 /* end confdefs.h. */
15777 /* Override any GCC internal prototype to avoid an error.
15778 Use char because int might match the return type of a GCC
15779 builtin and then its argument prototype would still apply. */
15787 return readline ();
15792 if ac_fn_c_try_link "$LINENO"; then :
15793 ac_cv_lib_readline_readline=yes
15795 ac_cv_lib_readline_readline=no
15797 rm -f core conftest.err conftest.$ac_objext \
15798 conftest$ac_exeext conftest.$ac_ext
15799 LIBS=$ac_check_lib_save_LIBS
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
15802 $as_echo "$ac_cv_lib_readline_readline" >&6; }
15803 if test "x$ac_cv_lib_readline_readline" = xyes; then :
15805 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
15807 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
15814 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
15815 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
15816 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
15820 if test "$with_tree" = "no" ; then
15821 echo Disabling DOM like tree manipulation APIs
15828 if test "$with_ftp" = "no" ; then
15829 echo Disabling FTP support
15839 if test "$with_http" = "no" ; then
15840 echo Disabling HTTP support
15845 HTTP_OBJ=nanohttp.o
15850 if test "$with_legacy" = "no" ; then
15851 echo Disabling deprecated APIs
15858 if test "$with_reader" = "no" ; then
15859 echo Disabling the xmlReader parsing interface
15864 READER_TEST=Readertests
15865 if test "$with_push" = "no" ; then
15866 echo xmlReader requires Push interface - enabling it
15873 if test "$with_writer" = "no" ; then
15874 echo Disabling the xmlWriter saving interface
15879 # WRITER_TEST=Writertests
15880 if test "$with_push" = "no" ; then
15881 echo xmlWriter requires Push interface - enabling it
15884 if test "$with_output" = "no" ; then
15885 echo xmlWriter requires Output interface - enabling it
15890 #AC_SUBST(WRITER_TEST)
15892 if test "$with_pattern" = "no" ; then
15893 echo Disabling the xmlPattern parsing interface
15898 TEST_PATTERN=Patterntests
15903 if test "$with_sax1" = "no" ; then
15904 echo Disabling the older SAX1 interface
15912 if test "${WITH_TRIO}" = "1"; then
15913 WITH_SAX1_SOURCES_TRUE=
15914 WITH_SAX1_SOURCES_FALSE='#'
15916 WITH_SAX1_SOURCES_TRUE='#'
15917 WITH_SAX1_SOURCES_FALSE=
15922 if test "$with_push" = "no" ; then
15923 echo Disabling the PUSH parser interfaces
15928 TEST_PUSH="XMLPushtests"
15933 if test "$with_html" = "no" ; then
15934 echo Disabling HTML support
15940 HTML_OBJ="HTMLparser.o HTMLtree.o"
15941 TEST_HTML=HTMLtests
15942 if test "$with_push" != "no" ; then
15943 TEST_PHTML=HTMLPushtests
15953 if test "$with_valid" = "no" ; then
15954 echo Disabling DTD validation support
15960 TEST_VALID=Validtests
15961 TEST_VTIME=VTimingtests
15967 if test "$with_catalog" = "no" ; then
15968 echo Disabling Catalog support
15974 CATALOG_OBJ="catalog.o"
15975 TEST_CATALOG=Catatests
15981 if test "$with_docbook" = "no" ; then
15982 echo Disabling Docbook support
15987 DOCB_OBJ="DOCBparser.o"
15993 if test "$with_xptr" = "no" ; then
15994 echo Disabling XPointer support
16000 XPTR_OBJ=xpointer.o
16001 TEST_XPTR=XPtrtests
16002 if test "$with_xpath" = "no" ; then
16003 echo XPointer requires XPath support - enabling it
16011 if test "$with_c14n" = "no" ; then
16012 echo Disabling C14N support
16019 TEST_C14N=C14Ntests
16020 if test "$with_xpath" = "no" ; then
16021 echo C14N requires XPath support - enabling it
16029 if test "$with_xinclude" = "no" ; then
16030 echo Disabling XInclude support
16037 XINCLUDE_OBJ=xinclude.o
16038 TEST_XINCLUDE=XIncludetests
16039 if test "$with_xpath" = "no" ; then
16040 echo XInclude requires XPath support - enabling it
16048 if test "$with_xptr" = "" -a "$with_xpath" = "no" ; then
16052 if test "$with_schematron" = "" -a "$with_xpath" = "no" ; then
16056 if test "$with_schematron" = "no" ; then
16057 echo "Disabling Schematron support"
16061 echo "Enabled Schematron support"
16063 TEST_SCHEMATRON="Schematrontests"
16066 with_schematron=yes
16071 if test "$with_xpath" = "no" ; then
16072 echo Disabling XPATH support
16079 TEST_XPATH=XPathtests
16085 if test "$with_output" = "no" ; then
16086 echo Disabling serialization/saving support
16094 if test "$with_iconv" = "no" ; then
16095 echo Disabling ICONV support
16097 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
16098 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
16099 # Export this since our headers include iconv.h
16100 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
16101 ICONV_LIBS="-L$with_iconv/lib"
16104 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
16105 if test "x$ac_cv_header_iconv_h" = xyes; then :
16106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
16107 $as_echo_n "checking for iconv... " >&6; }
16108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16109 /* end confdefs.h. */
16110 #include <stdlib.h>
16116 iconv_t cd = iconv_open ("","");
16117 iconv (cd, NULL, NULL, NULL, NULL);
16122 if ac_fn_c_try_link "$LINENO"; then :
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16125 $as_echo "yes" >&6; }
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16130 $as_echo "no" >&6; }
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
16132 $as_echo_n "checking for iconv in -liconv... " >&6; }
16134 _ldflags="${LDFLAGS}"
16136 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
16137 LIBS="${LIBS} -liconv"
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16141 #include <stdlib.h>
16147 iconv_t cd = iconv_open ("","");
16148 iconv (cd, NULL, NULL, NULL, NULL);
16153 if ac_fn_c_try_link "$LINENO"; then :
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16156 $as_echo "yes" >&6; }
16158 ICONV_LIBS="${ICONV_LIBS} -liconv"
16160 LDFLAGS="${_ldflags}"
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16164 $as_echo "no" >&6; }
16166 LDFLAGS="${_ldflags}"
16168 rm -f core conftest.err conftest.$ac_objext \
16169 conftest$ac_exeext conftest.$ac_ext
16171 rm -f core conftest.err conftest.$ac_objext \
16172 conftest$ac_exeext conftest.$ac_ext
16177 if test "$WITH_ICONV" = "1" ; then
16178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
16179 $as_echo_n "checking for iconv declaration... " >&6; }
16180 if ${xml_cv_iconv_arg2+:} false; then :
16181 $as_echo_n "(cached) " >&6
16184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16185 /* end confdefs.h. */
16186 #include <stdlib.h>
16192 #if defined(__STDC__) || defined(__cplusplus)
16193 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207 xml_cv_iconv_arg2=""
16209 xml_cv_iconv_arg2="const"
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215 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);"
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
16217 }$xml_cv_iconv_decl" >&5
16218 $as_echo "${xml_xxx:-
16219 }$xml_cv_iconv_decl" >&6; }
16221 cat >>confdefs.h <<_ACEOF
16222 #define ICONV_CONST $xml_cv_iconv_arg2
16241 if test "$with_icu" != "yes" ; then
16242 echo Disabling ICU support
16244 # Try pkg-config first so that static linking works.
16245 # If this succeeeds, we ignore the WITH_ICU directory.
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICU" >&5
16249 $as_echo_n "checking for ICU... " >&6; }
16251 if test -n "$ICU_CFLAGS"; then
16252 pkg_cv_ICU_CFLAGS="$ICU_CFLAGS"
16253 elif test -n "$PKG_CONFIG"; then
16254 if test -n "$PKG_CONFIG" && \
16255 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
16256 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5
16258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16259 test $ac_status = 0; }; then
16260 pkg_cv_ICU_CFLAGS=`$PKG_CONFIG --cflags "icu-i18n" 2>/dev/null`
16261 test "x$?" != "x0" && pkg_failed=yes
16268 if test -n "$ICU_LIBS"; then
16269 pkg_cv_ICU_LIBS="$ICU_LIBS"
16270 elif test -n "$PKG_CONFIG"; then
16271 if test -n "$PKG_CONFIG" && \
16272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"icu-i18n\""; } >&5
16273 ($PKG_CONFIG --exists --print-errors "icu-i18n") 2>&5
16275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16276 test $ac_status = 0; }; then
16277 pkg_cv_ICU_LIBS=`$PKG_CONFIG --libs "icu-i18n" 2>/dev/null`
16278 test "x$?" != "x0" && pkg_failed=yes
16288 if test $pkg_failed = yes; then
16289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16290 $as_echo "no" >&6; }
16292 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16293 _pkg_short_errors_supported=yes
16295 _pkg_short_errors_supported=no
16297 if test $_pkg_short_errors_supported = yes; then
16298 ICU_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "icu-i18n" 2>&1`
16300 ICU_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "icu-i18n" 2>&1`
16302 # Put the nasty error message in config.log where it belongs
16303 echo "$ICU_PKG_ERRORS" >&5
16306 elif test $pkg_failed = untried; then
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16308 $as_echo "no" >&6; }
16311 ICU_CFLAGS=$pkg_cv_ICU_CFLAGS
16312 ICU_LIBS=$pkg_cv_ICU_LIBS
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16314 $as_echo "yes" >&6; }
16318 # If pkg-config failed, fall back to AC_CHECK_LIB. This
16319 # will not pick up the necessary LIBS flags for liblzma's
16320 # private dependencies, though, so static linking may fail.
16321 if test "x$have_libicu" = "xno"; then
16322 ICU_CONFIG=icu-config
16323 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
16325 ICU_LIBS=`${ICU_CONFIG} --ldflags`
16327 echo Enabling ICU support
16329 if test "$with_icu" != "yes" -a "$with_iconv" != "" ; then
16330 CPPFLAGS="${CPPFLAGS} -I$with_icu"
16331 # Export this since our headers include icu.h
16332 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_icu"
16335 ac_fn_c_check_header_mongrel "$LINENO" "unicode/ucnv.h" "ac_cv_header_unicode_ucnv_h" "$ac_includes_default"
16336 if test "x$ac_cv_header_unicode_ucnv_h" = xyes; then :
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu" >&5
16338 $as_echo_n "checking for icu... " >&6; }
16339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16341 #include <unicode/ucnv.h>
16346 UConverter *utf = ucnv_open("UTF-8", NULL);
16351 if ac_fn_c_try_link "$LINENO"; then :
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16354 $as_echo "yes" >&6; }
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16359 $as_echo "no" >&6; }
16360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for icu in -licucore" >&5
16361 $as_echo_n "checking for icu in -licucore... " >&6; }
16363 _ldflags="${LDFLAGS}"
16365 LDFLAGS="${LDFLAGS} ${ICU_LIBS}"
16366 LIBS="${LIBS} -licucore"
16368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16369 /* end confdefs.h. */
16370 #include <unicode/ucnv.h>
16375 UConverter *utf = ucnv_open("UTF-8", NULL);
16380 if ac_fn_c_try_link "$LINENO"; then :
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16383 $as_echo "yes" >&6; }
16385 ICU_LIBS="${ICU_LIBS} -licucore"
16387 LDFLAGS="${_ldflags}"
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16391 $as_echo "no" >&6; }
16393 LDFLAGS="${_ldflags}"
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16398 rm -f core conftest.err conftest.$ac_objext \
16399 conftest$ac_exeext conftest.$ac_ext
16406 # Found the library via either method?
16407 if test "x$have_libicu" = "xyes"; then
16411 XML_LIBS="-lxml2 $Z_LIBS $LZMA_LIBS $THREAD_LIBS $ICONV_LIBS $ICU_LIBS $M_LIBS $LIBS"
16412 XML_LIBTOOLLIBS="libxml2.la"
16416 if test "$WITH_ICONV" != "1" ; then
16417 if test "$with_iso8859x" = "no" ; then
16418 echo Disabling ISO8859X support
16424 if test "$with_schemas" = "no" ; then
16425 echo "Disabling Schemas/Relax-NG support"
16429 echo "Enabled Schemas/Relax-NG support"
16431 TEST_SCHEMAS="Schemastests Relaxtests"
16432 if test "$PYTHON_INCLUDES" != "" ; then
16433 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
16440 if test "$with_regexps" = "no" ; then
16441 echo Disabling Regexps support
16446 TEST_REGEXPS="Regexptests Automatatests"
16451 if test "$with_debug" = "no" ; then
16452 echo Disabling DEBUG support
16458 DEBUG_OBJ=debugXML.o
16459 TEST_DEBUG=Scripttests
16465 if test "$with_mem_debug" = "yes" ; then
16466 if test "$with_thread_alloc" = "yes" ; then
16467 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
16470 echo Enabling memory debug support
16478 if test "$with_run_debug" = "yes" ; then
16479 echo Enabling runtime debug support
16486 WIN32_EXTRA_LIBADD=
16487 WIN32_EXTRA_LDFLAGS=
16488 CYGWIN_EXTRA_LDFLAGS=
16489 CYGWIN_EXTRA_PYTHON_LIBADD=
16490 WIN32_EXTRA_PYTHON_LIBADD=
16493 CPPFLAGS="$CPPFLAGS -DWIN32"
16494 WIN32_EXTRA_LIBADD="-lws2_32"
16495 WIN32_EXTRA_LDFLAGS="-no-undefined"
16497 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
16499 if test "${PYTHON}" != ""
16501 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
16505 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
16506 if test "${PYTHON}" != ""
16508 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
16518 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
16520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16522 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16523 cat >>confdefs.h <<_ACEOF
16524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16533 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
16535 echo Enabling code coverage for GCC
16536 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
16537 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
16539 echo Disabling code coverage for GCC
16564 RELDATE=`date +'%a %b %e %Y'`
16568 rm -f COPYING.LIB COPYING
16569 ln -s $srcdir/Copyright COPYING
16571 # keep on one line for cygwin c.f. #130896
16572 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h libxml-2.0.pc libxml-2.0-uninstalled.pc libxml2-config.cmake"
16574 ac_config_files="$ac_config_files python/setup.py"
16576 ac_config_files="$ac_config_files xml2-config"
16578 cat >confcache <<\_ACEOF
16579 # This file is a shell script that caches the results of configure
16580 # tests run on this system so they can be shared between configure
16581 # scripts and configure runs, see configure's option --config-cache.
16582 # It is not useful on other systems. If it contains results you don't
16583 # want to keep, you may remove or edit it.
16585 # config.status only pays attention to the cache file if you give it
16586 # the --recheck option to rerun configure.
16588 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16589 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16590 # following values.
16594 # The following way of writing the cache mishandles newlines in values,
16595 # but we know of no workaround that is simple, portable, and efficient.
16596 # So, we kill variables containing newlines.
16597 # Ultrix sh set writes to stderr and can't be redirected directly,
16598 # and sets the high bit in the cache file unless we assign to the vars.
16600 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16601 eval ac_val=\$$ac_var
16605 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16606 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16609 _ | IFS | as_nl) ;; #(
16610 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16611 *) { eval $ac_var=; unset $ac_var;} ;;
16617 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16618 *${as_nl}ac_space=\ *)
16619 # `set' does not quote correctly, so add quotes: double-quote
16620 # substitution turns \\\\ into \\, and sed turns \\ into \.
16623 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16626 # `set' quotes correctly as required by POSIX, so do not add quotes.
16627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16636 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16638 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16640 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16641 if test -w "$cache_file"; then
16642 if test "x$cache_file" != "x/dev/null"; then
16643 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16644 $as_echo "$as_me: updating cache $cache_file" >&6;}
16645 if test ! -f "$cache_file" || test -h "$cache_file"; then
16646 cat confcache >"$cache_file"
16648 case $cache_file in #(
16650 mv -f confcache "$cache_file"$$ &&
16651 mv -f "$cache_file"$$ "$cache_file" ;; #(
16653 mv -f confcache "$cache_file" ;;
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16659 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16664 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16665 # Let make expand exec_prefix.
16666 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16668 DEFS=-DHAVE_CONFIG_H
16673 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16674 # 1. Remove the extension, and $U if already installed.
16675 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16676 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16677 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16678 # will be set to the directory where LIBOBJS objects are built.
16679 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16680 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16682 LIBOBJS=$ac_libobjs
16684 LTLIBOBJS=$ac_ltlibobjs
16687 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16688 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16692 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16693 if test -n "$am_sleep_pid"; then
16694 # Hide warnings about reused PIDs.
16695 wait $am_sleep_pid 2>/dev/null
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16698 $as_echo "done" >&6; }
16699 if test -n "$EXEEXT"; then
16701 am__EXEEXT_FALSE='#'
16703 am__EXEEXT_TRUE='#'
16707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16708 as_fn_error $? "conditional \"AMDEP\" was never defined.
16709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16711 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16712 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16715 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
16716 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
16717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16719 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
16720 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined.
16721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16723 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
16724 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
16725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16727 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
16728 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
16729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16731 if test -z "${THREADS_W32_TRUE}" && test -z "${THREADS_W32_FALSE}"; then
16732 as_fn_error $? "conditional \"THREADS_W32\" was never defined.
16733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16735 if test -z "${WITH_SAX1_SOURCES_TRUE}" && test -z "${WITH_SAX1_SOURCES_FALSE}"; then
16736 as_fn_error $? "conditional \"WITH_SAX1_SOURCES\" was never defined.
16737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16740 : "${CONFIG_STATUS=./config.status}"
16742 ac_clean_files_save=$ac_clean_files
16743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16749 # Generated by $as_me.
16750 # Run this file to recreate the current configuration.
16751 # Compiler output produced by configure, useful for debugging
16752 # configure, is in config.log if it exists.
16755 ac_cs_recheck=false
16758 SHELL=\${CONFIG_SHELL-$SHELL}
16761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16762 ## -------------------- ##
16763 ## M4sh Initialization. ##
16764 ## -------------------- ##
16766 # Be more Bourne compatible
16767 DUALCASE=1; export DUALCASE # for MKS sh
16768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16772 # is contrary to our usage. Disable this feature.
16773 alias -g '${1+"$@"}'='"$@"'
16774 setopt NO_GLOB_SUBST
16776 case `(set -o) 2>/dev/null` in #(
16788 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16789 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16792 # Prefer a ksh shell builtin over an external printf program on Solaris,
16793 # but without wasting forks for bash or zsh.
16794 if test -z "$BASH_VERSION$ZSH_VERSION" \
16795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16796 as_echo='print -r --'
16797 as_echo_n='print -rn --'
16798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16799 as_echo='printf %s\n'
16800 as_echo_n='printf %s'
16802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16803 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16804 as_echo_n='/usr/ucb/echo -n'
16806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16807 as_echo_n_body='eval
16811 expr "X$arg" : "X\\(.*\\)$as_nl";
16812 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16814 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16816 export as_echo_n_body
16817 as_echo_n='sh -c $as_echo_n_body as_echo'
16819 export as_echo_body
16820 as_echo='sh -c $as_echo_body as_echo'
16823 # The user is always right.
16824 if test "${PATH_SEPARATOR+set}" != set; then
16826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16834 # We need space, tab and new line, in precisely that order. Quoting is
16835 # there to prevent editors from complaining about space-tab.
16836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16837 # splitting by setting IFS to empty value.)
16840 # Find who we are. Look in the path if we contain no directory separator.
16843 *[\\/]* ) as_myself=$0 ;;
16844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16845 for as_dir in $PATH
16848 test -z "$as_dir" && as_dir=.
16849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16855 # We did not find ourselves, most probably we were run as `sh COMMAND'
16856 # in which case we are not to be found in the path.
16857 if test "x$as_myself" = x; then
16860 if test ! -f "$as_myself"; then
16861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16865 # Unset variables that we do not need and which cause bugs (e.g. in
16866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16867 # suppresses any "Segmentation fault" message there. '((' could
16868 # trigger a bug in pdksh 5.2.14.
16869 for as_var in BASH_ENV ENV MAIL MAILPATH
16870 do eval test x\${$as_var+set} = xset \
16871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16887 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16888 # ----------------------------------------
16889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16891 # script with STATUS, using 1 if that was 0.
16894 as_status=$1; test $as_status -eq 0 && as_status=1
16896 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16899 $as_echo "$as_me: error: $2" >&2
16900 as_fn_exit $as_status
16904 # as_fn_set_status STATUS
16905 # -----------------------
16906 # Set $? to STATUS, without forking.
16907 as_fn_set_status ()
16910 } # as_fn_set_status
16912 # as_fn_exit STATUS
16913 # -----------------
16914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16918 as_fn_set_status $1
16924 # Portably unset VAR.
16927 { eval $1=; unset $1;}
16929 as_unset=as_fn_unset
16930 # as_fn_append VAR VALUE
16931 # ----------------------
16932 # Append the text in VALUE to the end of the definition contained in VAR. Take
16933 # advantage of any shell optimizations that allow amortized linear growth over
16934 # repeated appends, instead of the typical quadratic growth present in naive
16936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16937 eval 'as_fn_append ()
16948 # as_fn_arith ARG...
16949 # ------------------
16950 # Perform arithmetic evaluation on the ARGs, and store the result in the
16951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16952 # must be portable across $(()) and expr.
16953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16954 eval 'as_fn_arith ()
16961 as_val=`expr "$@" || test $? -eq 1`
16966 if expr a : '\(a\)' >/dev/null 2>&1 &&
16967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16974 as_basename=basename
16979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16985 as_me=`$as_basename -- "$0" ||
16986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16987 X"$0" : 'X\(//\)$' \| \
16988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16990 sed '/^.*\/\([^/][^/]*\)\/*$/{
17004 # Avoid depending upon Character Ranges.
17005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17008 as_cr_digits='0123456789'
17009 as_cr_alnum=$as_cr_Letters$as_cr_digits
17011 ECHO_C= ECHO_N= ECHO_T=
17012 case `echo -n x` in #(((((
17014 case `echo 'xy\c'` in
17015 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17024 rm -f conf$$ conf$$.exe conf$$.file
17025 if test -d conf$$.dir; then
17026 rm -f conf$$.dir/conf$$.file
17029 mkdir conf$$.dir 2>/dev/null
17031 if (echo >conf$$.file) 2>/dev/null; then
17032 if ln -s conf$$.file conf$$ 2>/dev/null; then
17034 # ... but there are two gotchas:
17035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17037 # In both cases, we have to default to `cp -pR'.
17038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17040 elif ln conf$$.file conf$$ 2>/dev/null; then
17048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17049 rmdir conf$$.dir 2>/dev/null
17054 # Create "$as_dir" as a directory, including parents if necessary.
17059 -*) as_dir=./$as_dir;;
17061 test -d "$as_dir" || eval $as_mkdir_p || {
17065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17066 *) as_qdir=$as_dir;;
17068 as_dirs="'$as_qdir' $as_dirs"
17069 as_dir=`$as_dirname -- "$as_dir" ||
17070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17071 X"$as_dir" : 'X\(//\)[^/]' \| \
17072 X"$as_dir" : 'X\(//\)$' \| \
17073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17074 $as_echo X"$as_dir" |
17075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17079 /^X\(\/\/\)[^/].*/{
17092 test -d "$as_dir" && break
17094 test -z "$as_dirs" || eval "mkdir $as_dirs"
17095 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17099 if mkdir -p . 2>/dev/null; then
17100 as_mkdir_p='mkdir -p "$as_dir"'
17102 test -d ./-p && rmdir ./-p
17107 # as_fn_executable_p FILE
17108 # -----------------------
17109 # Test if FILE is an executable regular file.
17110 as_fn_executable_p ()
17112 test -f "$1" && test -x "$1"
17113 } # as_fn_executable_p
17114 as_test_x='test -x'
17115 as_executable_p=as_fn_executable_p
17117 # Sed expression to map a string onto a valid CPP name.
17118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17120 # Sed expression to map a string onto a valid variable name.
17121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17125 ## ----------------------------------- ##
17126 ## Main body of $CONFIG_STATUS script. ##
17127 ## ----------------------------------- ##
17129 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17132 # Save the log message, to keep $0 and so on meaningful, and to
17133 # report actual input values of CONFIG_FILES etc. instead of their
17134 # values after options handling.
17136 This file was extended by $as_me, which was
17137 generated by GNU Autoconf 2.69. Invocation command line was
17139 CONFIG_FILES = $CONFIG_FILES
17140 CONFIG_HEADERS = $CONFIG_HEADERS
17141 CONFIG_LINKS = $CONFIG_LINKS
17142 CONFIG_COMMANDS = $CONFIG_COMMANDS
17145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17150 case $ac_config_files in *"
17151 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17154 case $ac_config_headers in *"
17155 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17160 # Files that config.status was made for.
17161 config_files="$ac_config_files"
17162 config_headers="$ac_config_headers"
17163 config_commands="$ac_config_commands"
17167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17169 \`$as_me' instantiates files and other configuration actions
17170 from templates according to the current configuration. Unless the files
17171 and actions are specified as TAGs, all are instantiated by default.
17173 Usage: $0 [OPTION]... [TAG]...
17175 -h, --help print this help, then exit
17176 -V, --version print version number and configuration settings, then exit
17177 --config print configuration, then exit
17178 -q, --quiet, --silent
17179 do not print progress messages
17180 -d, --debug don't remove temporary files
17181 --recheck update $as_me by reconfiguring in the same conditions
17182 --file=FILE[:TEMPLATE]
17183 instantiate the configuration file FILE
17184 --header=FILE[:TEMPLATE]
17185 instantiate the configuration header FILE
17187 Configuration files:
17190 Configuration headers:
17193 Configuration commands:
17196 Report bugs to the package provider."
17199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17203 configured by $0, generated by GNU Autoconf 2.69,
17204 with options \\"\$ac_cs_config\\"
17206 Copyright (C) 2012 Free Software Foundation, Inc.
17207 This config.status script is free software; the Free Software Foundation
17208 gives unlimited permission to copy, distribute and modify it."
17215 test -n "\$AWK" || AWK=awk
17218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17219 # The default lists apply if the user does not specify any file.
17225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17230 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17242 # Handling of the options.
17243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17245 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17246 $as_echo "$ac_cs_version"; exit ;;
17247 --config | --confi | --conf | --con | --co | --c )
17248 $as_echo "$ac_cs_config"; exit ;;
17249 --debug | --debu | --deb | --de | --d | -d )
17251 --file | --fil | --fi | --f )
17254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17255 '') as_fn_error $? "missing file argument" ;;
17257 as_fn_append CONFIG_FILES " '$ac_optarg'"
17258 ac_need_defaults=false;;
17259 --header | --heade | --head | --hea )
17262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17264 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17265 ac_need_defaults=false;;
17267 # Conflict between --help and --header
17268 as_fn_error $? "ambiguous option: \`$1'
17269 Try \`$0 --help' for more information.";;
17270 --help | --hel | -h )
17271 $as_echo "$ac_cs_usage"; exit ;;
17272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17273 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17276 # This is an error.
17277 -*) as_fn_error $? "unrecognized option: \`$1'
17278 Try \`$0 --help' for more information." ;;
17280 *) as_fn_append ac_config_targets " $1"
17281 ac_need_defaults=false ;;
17287 ac_configure_extra_args=
17289 if $ac_cs_silent; then
17291 ac_configure_extra_args="$ac_configure_extra_args --silent"
17295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17296 if \$ac_cs_recheck; then
17297 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17300 CONFIG_SHELL='$SHELL'
17301 export CONFIG_SHELL
17306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17311 ## Running $as_me. ##
17317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17321 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17324 # The HP-UX ksh and POSIX shell print the target directory to stdout
17325 # if CDPATH is set.
17326 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17328 sed_quote_subst='$sed_quote_subst'
17329 double_quote_subst='$double_quote_subst'
17330 delay_variable_subst='$delay_variable_subst'
17331 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17332 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17333 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17334 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17335 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17336 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17337 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17338 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17339 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17340 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17341 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17342 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17343 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17344 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17345 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17346 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17347 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17348 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17349 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17350 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17351 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17352 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17353 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17354 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17355 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17356 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17357 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17358 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17359 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17360 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17361 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17362 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17363 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17364 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17365 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17366 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17367 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17368 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17369 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17370 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17371 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17372 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17373 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17374 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17375 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17376 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17377 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17378 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17379 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17380 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17381 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17382 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17383 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17384 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17385 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17386 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17387 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17388 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17389 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17390 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17391 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17392 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17393 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17394 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17395 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17396 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17397 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17398 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17399 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17400 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17401 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17402 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17403 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17404 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17405 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17406 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17407 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17408 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17409 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17410 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17411 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17412 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17413 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17414 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17415 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17416 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17417 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17418 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17419 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17420 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17421 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17422 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17423 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17424 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17425 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17426 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17427 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17428 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17429 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17430 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17431 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17432 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17433 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17434 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17435 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17436 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17437 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17438 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17439 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17440 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17441 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17442 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17443 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17444 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17445 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17446 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17447 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17448 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17449 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17450 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17451 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17452 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17453 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17454 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17455 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17456 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17457 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17458 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17459 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17460 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17461 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17462 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17463 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17464 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17465 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17468 LTCFLAGS='$LTCFLAGS'
17469 compiler='$compiler_DEFAULT'
17471 # A function that is used when there is no print builtin or printf.
17472 func_fallback_echo ()
17474 eval 'cat <<_LTECHO_EOF
17479 # Quote evaled strings.
17494 deplibs_check_method \
17499 sharedlib_from_linklib_cmd \
17502 archiver_list_spec \
17508 lt_cv_sys_global_symbol_pipe \
17509 lt_cv_sys_global_symbol_to_cdecl \
17510 lt_cv_sys_global_symbol_to_import \
17511 lt_cv_sys_global_symbol_to_c_name_address \
17512 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17513 lt_cv_nm_interface \
17514 nm_file_list_spec \
17515 lt_cv_truncate_bin \
17516 lt_prog_compiler_no_builtin_flag \
17517 lt_prog_compiler_pic \
17518 lt_prog_compiler_wl \
17519 lt_prog_compiler_static \
17520 lt_cv_prog_compiler_c_o \
17529 export_dynamic_flag_spec \
17530 whole_archive_flag_spec \
17531 compiler_needs_object \
17533 allow_undefined_flag \
17534 no_undefined_flag \
17535 hardcode_libdir_flag_spec \
17536 hardcode_libdir_separator \
17540 variables_saved_for_relink \
17542 library_names_spec \
17544 install_override_mode \
17548 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17549 *[\\\\\\\`\\"\\\$]*)
17550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17558 # Double-quote double-evaled strings.
17559 for var in reload_cmds \
17560 old_postinstall_cmds \
17561 old_postuninstall_cmds \
17563 extract_expsyms_cmds \
17564 old_archive_from_new_cmds \
17565 old_archive_from_expsyms_cmds \
17567 archive_expsym_cmds \
17569 module_expsym_cmds \
17570 export_symbols_cmds \
17574 postuninstall_cmds \
17576 sys_lib_search_path_spec \
17577 configure_time_dlsearch_path \
17578 configure_time_lt_sys_library_path; do
17579 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17580 *[\\\\\\\`\\"\\\$]*)
17581 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17584 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17589 ac_aux_dir='$ac_aux_dir'
17591 # See if we are running on zsh, and set the options that allow our
17592 # commands through without removal of \ escapes INIT.
17593 if test -n "\${ZSH_VERSION+set}"; then
17594 setopt NO_GLOB_SUBST
17608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17610 # Handling of arguments.
17611 for ac_config_target in $ac_config_targets
17613 case $ac_config_target in
17614 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17615 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17616 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17617 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
17618 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17619 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
17620 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
17621 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17622 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
17623 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
17624 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
17625 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
17626 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
17627 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
17628 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
17629 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
17630 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
17631 "libxml2-config.cmake") CONFIG_FILES="$CONFIG_FILES libxml2-config.cmake" ;;
17632 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
17633 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
17635 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17640 # If the user did not use the arguments to specify the items to instantiate,
17641 # then the envvar interface is used. Set only those that are not.
17642 # We use the long form for the default assignment because of an extremely
17643 # bizarre bug on SunOS 4.1.3.
17644 if $ac_need_defaults; then
17645 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17646 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17647 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17650 # Have a temporary directory for convenience. Make it in the build tree
17651 # simply because there is no reason against having it here, and in addition,
17652 # creating and moving files from /tmp can sometimes cause problems.
17653 # Hook for its removal unless debugging.
17654 # Note that there is a small window in which the directory will not be cleaned:
17655 # after its creation but before its name has been assigned to `$tmp'.
17659 trap 'exit_status=$?
17660 : "${ac_tmp:=$tmp}"
17661 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17663 trap 'as_fn_exit 1' 1 2 13 15
17665 # Create a (secure) tmp directory for tmp files.
17668 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17672 tmp=./conf$$-$RANDOM
17673 (umask 077 && mkdir "$tmp")
17674 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17677 # Set up the scripts for CONFIG_FILES section.
17678 # No need to generate them if there are no CONFIG_FILES.
17679 # This happens for instance with `./config.status config.h'.
17680 if test -n "$CONFIG_FILES"; then
17683 ac_cr=`echo X | tr X '\015'`
17684 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17685 # But we know of no other shell where ac_cr would be empty at this
17686 # point, so we can use a bashism as a fallback.
17687 if test "x$ac_cr" = x; then
17688 eval ac_cr=\$\'\\r\'
17690 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17691 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17694 ac_cs_awk_cr=$ac_cr
17697 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17702 echo "cat >conf$$subs.awk <<_ACEOF" &&
17703 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17705 } >conf$$subs.sh ||
17706 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17707 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17709 for ac_last_try in false false false false false :; do
17710 . ./conf$$subs.sh ||
17711 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17713 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17714 if test $ac_delim_n = $ac_delim_num; then
17716 elif $ac_last_try; then
17717 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17719 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17722 rm -f conf$$subs.sh
17724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17725 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17729 s/^/S["/; s/!.*/"]=/
17739 s/\(.\{148\}\)..*/\1/
17741 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17753 s/\(.\{148\}\)..*/\1/
17755 s/["\\]/\\&/g; s/^/"/; s/$/"/
17759 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17764 ' <conf$$subs.awk | sed '
17769 ' >>$CONFIG_STATUS || ac_write_fail=1
17770 rm -f conf$$subs.awk
17771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17773 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17774 for (key in S) S_is_set[key] = 1
17780 nfields = split(line, field, "@")
17782 len = length(field[1])
17783 for (i = 2; i < nfields; i++) {
17785 keylen = length(key)
17786 if (S_is_set[key]) {
17788 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17789 len += length(value) + length(field[++i])
17800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17801 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17802 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17805 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17806 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17809 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17810 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17811 # trailing colons and then remove the whole line if VPATH becomes empty
17812 # (actually we leave an empty line to preserve line numbers).
17813 if test "x$srcdir" = x.; then
17814 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17833 fi # test -n "$CONFIG_FILES"
17835 # Set up the scripts for CONFIG_HEADERS section.
17836 # No need to generate them if there are no CONFIG_HEADERS.
17837 # This happens for instance with `./config.status Makefile'.
17838 if test -n "$CONFIG_HEADERS"; then
17839 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17843 # Transform confdefs.h into an awk script `defines.awk', embedded as
17844 # here-document in config.status, that substitutes the proper values into
17845 # config.h.in to produce config.h.
17847 # Create a delimiter string that does not exist in confdefs.h, to ease
17848 # handling of long lines.
17850 for ac_last_try in false false :; do
17851 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17852 if test -z "$ac_tt"; then
17854 elif $ac_last_try; then
17855 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17857 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17861 # For the awk script, D is an array of macro values keyed by name,
17862 # likewise P contains macro parameters if any. Preserve backslash
17863 # newline sequences.
17865 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17867 s/.\{148\}/&'"$ac_delim"'/g
17870 s/^[ ]*#[ ]*define[ ][ ]*/ /
17877 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17879 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17883 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17884 D["\1"]=" \3\\\\\\n"\\/p
17886 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17891 s/.\{148\}/&'"$ac_delim"'/g
17896 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17899 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17901 ' <confdefs.h | sed '
17902 s/'"$ac_delim"'/"\\\
17903 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17906 for (key in D) D_is_set[key] = 1
17909 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17911 split(line, arg, " ")
17912 if (arg[1] == "#") {
17916 defundef = substr(arg[1], 2)
17919 split(mac1, mac2, "(") #)
17921 prefix = substr(line, 1, index(line, defundef) - 1)
17922 if (D_is_set[macro]) {
17923 # Preserve the white space surrounding the "#".
17924 print prefix "define", macro P[macro] D[macro]
17927 # Replace #undef with comments. This is necessary, for example,
17928 # in the case of _POSIX_SOURCE, which is predefined and required
17929 # on some systems where configure will not decide to define it.
17930 if (defundef == "undef") {
17931 print "/*", prefix defundef, macro, "*/"
17939 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17940 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17941 fi # test -n "$CONFIG_HEADERS"
17944 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17949 :[FHLC]) ac_mode=$ac_tag; continue;;
17951 case $ac_mode$ac_tag in
17953 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17954 :[FH]-) ac_tag=-:-;;
17955 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17972 -) ac_f="$ac_tmp/stdin";;
17973 *) # Look for the file first in the build tree, then in the source tree
17974 # (if the path is not absolute). The absolute path cannot be DOS-style,
17975 # because $ac_f cannot contain `:'.
17979 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17981 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17983 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17984 as_fn_append ac_file_inputs " '$ac_f'"
17987 # Let's still pretend it is `configure' which instantiates (i.e., don't
17988 # use $as_me), people would be surprised to read:
17989 # /* config.h. Generated by config.status. */
17990 configure_input='Generated from '`
17991 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17993 if test x"$ac_file" != x-; then
17994 configure_input="$ac_file. $configure_input"
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17996 $as_echo "$as_me: creating $ac_file" >&6;}
17998 # Neutralize special characters interpreted by sed in replacement strings.
17999 case $configure_input in #(
18000 *\&* | *\|* | *\\* )
18001 ac_sed_conf_input=`$as_echo "$configure_input" |
18002 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18003 *) ac_sed_conf_input=$configure_input;;
18007 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18008 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18013 ac_dir=`$as_dirname -- "$ac_file" ||
18014 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18015 X"$ac_file" : 'X\(//\)[^/]' \| \
18016 X"$ac_file" : 'X\(//\)$' \| \
18017 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18018 $as_echo X"$ac_file" |
18019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18023 /^X\(\/\/\)[^/].*/{
18036 as_dir="$ac_dir"; as_fn_mkdir_p
18040 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18042 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18043 # A ".." for each directory in $ac_dir_suffix.
18044 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18045 case $ac_top_builddir_sub in
18046 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18047 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18050 ac_abs_top_builddir=$ac_pwd
18051 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18052 # for backward compatibility:
18053 ac_top_builddir=$ac_top_build_prefix
18056 .) # We are building in place.
18058 ac_top_srcdir=$ac_top_builddir_sub
18059 ac_abs_top_srcdir=$ac_pwd ;;
18060 [\\/]* | ?:[\\/]* ) # Absolute name.
18061 ac_srcdir=$srcdir$ac_dir_suffix;
18062 ac_top_srcdir=$srcdir
18063 ac_abs_top_srcdir=$srcdir ;;
18064 *) # Relative name.
18065 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18066 ac_top_srcdir=$ac_top_build_prefix$srcdir
18067 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18069 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18079 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18080 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18082 ac_MKDIR_P=$MKDIR_P
18084 [\\/$]* | ?:[\\/]* ) ;;
18085 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18090 # If the template does not know about datarootdir, expand it.
18091 # FIXME: This hack should be removed a few years after 2.60.
18092 ac_datarootdir_hack=; ac_datarootdir_seen=
18103 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18104 *datarootdir*) ac_datarootdir_seen=yes;;
18105 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18107 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18110 ac_datarootdir_hack='
18111 s&@datadir@&$datadir&g
18112 s&@docdir@&$docdir&g
18113 s&@infodir@&$infodir&g
18114 s&@localedir@&$localedir&g
18115 s&@mandir@&$mandir&g
18116 s&\\\${datarootdir}&$datarootdir&g' ;;
18120 # Neutralize VPATH when `$srcdir' = `.'.
18121 # Shell code in configure.ac might set extrasub.
18122 # FIXME: do we really want to maintain this feature?
18123 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18124 ac_sed_extra="$ac_vpsub
18127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18129 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18130 s|@configure_input@|$ac_sed_conf_input|;t t
18131 s&@top_builddir@&$ac_top_builddir_sub&;t t
18132 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18133 s&@srcdir@&$ac_srcdir&;t t
18134 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18135 s&@top_srcdir@&$ac_top_srcdir&;t t
18136 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18137 s&@builddir@&$ac_builddir&;t t
18138 s&@abs_builddir@&$ac_abs_builddir&;t t
18139 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18140 s&@INSTALL@&$ac_INSTALL&;t t
18141 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18142 $ac_datarootdir_hack
18144 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18145 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18147 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18148 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18149 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18150 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18152 which seems to be undefined. Please make sure it is defined" >&5
18153 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18154 which seems to be undefined. Please make sure it is defined" >&2;}
18156 rm -f "$ac_tmp/stdin"
18158 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18159 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18161 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18167 if test x"$ac_file" != x-; then
18169 $as_echo "/* $configure_input */" \
18170 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18171 } >"$ac_tmp/config.h" \
18172 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18173 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18175 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18178 mv "$ac_tmp/config.h" "$ac_file" \
18179 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18182 $as_echo "/* $configure_input */" \
18183 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18184 || as_fn_error $? "could not create -" "$LINENO" 5
18186 # Compute "$ac_file"'s index in $config_headers.
18189 for _am_header in $config_headers :; do
18190 case $_am_header in
18191 $_am_arg | $_am_arg:* )
18194 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18197 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18198 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18199 X"$_am_arg" : 'X\(//\)[^/]' \| \
18200 X"$_am_arg" : 'X\(//\)$' \| \
18201 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18202 $as_echo X"$_am_arg" |
18203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18207 /^X\(\/\/\)[^/].*/{
18219 s/.*/./; q'`/stamp-h$_am_stamp_count
18222 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18223 $as_echo "$as_me: executing $ac_file commands" >&6;}
18228 case $ac_file$ac_mode in
18229 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18230 # Older Autoconf quotes --file arguments for eval, but not when files
18231 # are listed without --file. Let's play safe and only enable the eval
18232 # if we detect the quoting.
18233 case $CONFIG_FILES in
18234 *\'*) eval set x "$CONFIG_FILES" ;;
18235 *) set x $CONFIG_FILES ;;
18240 # Strip MF so we end up with the name of the file.
18241 mf=`echo "$mf" | sed -e 's/:.*$//'`
18242 # Check whether this is an Automake generated Makefile or not.
18243 # We used to match only the files named 'Makefile.in', but
18244 # some people rename them; so instead we look at the file content.
18245 # Grep'ing the first line is not enough: some people post-process
18246 # each Makefile.in and add a new line on top of each file to say so.
18247 # Grep'ing the whole file is not good either: AIX grep has a line
18248 # limit of 2048, but all sed's we know have understand at least 4000.
18249 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18250 dirpart=`$as_dirname -- "$mf" ||
18251 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18252 X"$mf" : 'X\(//\)[^/]' \| \
18253 X"$mf" : 'X\(//\)$' \| \
18254 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18260 /^X\(\/\/\)[^/].*/{
18276 # Extract the definition of DEPDIR, am__include, and am__quote
18277 # from the Makefile without running 'make'.
18278 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18279 test -z "$DEPDIR" && continue
18280 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18281 test -z "$am__include" && continue
18282 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18283 # Find all dependency output files, they are included files with
18284 # $(DEPDIR) in their names. We invoke sed twice because it is the
18285 # simplest approach to changing $(DEPDIR) to its actual value in the
18287 for file in `sed -n "
18288 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18289 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18290 # Make sure the directory exists.
18291 test -f "$dirpart/$file" && continue
18292 fdir=`$as_dirname -- "$file" ||
18293 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18294 X"$file" : 'X\(//\)[^/]' \| \
18295 X"$file" : 'X\(//\)$' \| \
18296 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18297 $as_echo X"$file" |
18298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18302 /^X\(\/\/\)[^/].*/{
18315 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18316 # echo "creating $dirpart/$file"
18317 echo '# dummy' > "$dirpart/$file"
18324 # See if we are running on zsh, and set the options that allow our
18325 # commands through without removal of \ escapes.
18326 if test -n "${ZSH_VERSION+set}"; then
18327 setopt NO_GLOB_SUBST
18331 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18334 cat <<_LT_EOF >> "$cfgfile"
18336 # Generated automatically by $as_me ($PACKAGE) $VERSION
18337 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18338 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18340 # Provide generalized library-building support services.
18341 # Written by Gordon Matzigkeit, 1996
18343 # Copyright (C) 2014 Free Software Foundation, Inc.
18344 # This is free software; see the source for copying conditions. There is NO
18345 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18347 # GNU Libtool is free software; you can redistribute it and/or modify
18348 # it under the terms of the GNU General Public License as published by
18349 # the Free Software Foundation; either version 2 of of the License, or
18350 # (at your option) any later version.
18352 # As a special exception to the GNU General Public License, if you
18353 # distribute this file as part of a program or library that is built
18354 # using GNU Libtool, you may include this file under the same
18355 # distribution terms that you use for the rest of that program.
18357 # GNU Libtool is distributed in the hope that it will be useful, but
18358 # WITHOUT ANY WARRANTY; without even the implied warranty of
18359 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18360 # GNU General Public License for more details.
18362 # You should have received a copy of the GNU General Public License
18363 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18366 # The names of the tagged configurations supported by this script.
18369 # Configured defaults for sys_lib_dlsearch_path munging.
18370 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18372 # ### BEGIN LIBTOOL CONFIG
18374 # Which release of libtool.m4 was used?
18375 macro_version=$macro_version
18376 macro_revision=$macro_revision
18378 # Whether or not to build shared libraries.
18379 build_libtool_libs=$enable_shared
18381 # Whether or not to build static libraries.
18382 build_old_libs=$enable_static
18384 # What type of objects to build.
18387 # Whether or not to optimize for fast installation.
18388 fast_install=$enable_fast_install
18390 # Shared archive member basename,for filename based shared library versioning on AIX.
18391 shared_archive_member_spec=$shared_archive_member_spec
18393 # Shell to use when invoking shell scripts.
18396 # An echo program that protects backslashes.
18399 # The PATH separator for the build system.
18400 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18403 host_alias=$host_alias
18407 # The build system.
18408 build_alias=$build_alias
18412 # A sed program that does not truncate output.
18415 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18416 Xsed="\$SED -e 1s/^X//"
18418 # A grep program that handles long lines.
18424 # A literal string matcher.
18427 # A BSD- or MS-compatible name lister.
18430 # Whether we need soft or hard links.
18433 # What is the maximum length of a command?
18434 max_cmd_len=$max_cmd_len
18436 # Object file suffix (normally "o").
18439 # Executable file suffix (normally "").
18442 # whether the shell understands "unset".
18445 # turn spaces into newlines.
18448 # turn newlines into spaces.
18451 # convert \$build file names to \$host format.
18452 to_host_file_cmd=$lt_cv_to_host_file_cmd
18454 # convert \$build files to toolchain format.
18455 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18457 # An object symbol dumper.
18458 OBJDUMP=$lt_OBJDUMP
18460 # Method to check whether dependent libraries are shared objects.
18461 deplibs_check_method=$lt_deplibs_check_method
18463 # Command to use when deplibs_check_method = "file_magic".
18464 file_magic_cmd=$lt_file_magic_cmd
18466 # How to find potential files when deplibs_check_method = "file_magic".
18467 file_magic_glob=$lt_file_magic_glob
18469 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18470 want_nocaseglob=$lt_want_nocaseglob
18472 # DLL creation program.
18473 DLLTOOL=$lt_DLLTOOL
18475 # Command to associate shared and link libraries.
18476 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18481 # Flags to create an archive.
18482 AR_FLAGS=$lt_AR_FLAGS
18484 # How to feed a file listing to the archiver.
18485 archiver_list_spec=$lt_archiver_list_spec
18487 # A symbol stripping program.
18490 # Commands used to install an old-style archive.
18492 old_postinstall_cmds=$lt_old_postinstall_cmds
18493 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18495 # Whether to use a lock for old archive extraction.
18496 lock_old_archive_extraction=$lock_old_archive_extraction
18501 # LTCC compiler flags.
18502 LTCFLAGS=$lt_CFLAGS
18504 # Take the output of nm and produce a listing of raw symbols and C names.
18505 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18507 # Transform the output of nm in a proper C declaration.
18508 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18510 # Transform the output of nm into a list of symbols to manually relocate.
18511 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18513 # Transform the output of nm in a C name address pair.
18514 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18516 # Transform the output of nm in a C name address pair when lib prefix is needed.
18517 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18519 # The name lister interface.
18520 nm_interface=$lt_lt_cv_nm_interface
18522 # Specify filename containing input files for \$NM.
18523 nm_file_list_spec=$lt_nm_file_list_spec
18525 # The root where to search for dependent libraries,and where our libraries should be installed.
18526 lt_sysroot=$lt_sysroot
18528 # Command to truncate a binary pipe.
18529 lt_truncate_bin=$lt_lt_cv_truncate_bin
18531 # The name of the directory that contains temporary libtool files.
18534 # Used to examine libraries when file_magic_cmd begins with "file".
18535 MAGIC_CMD=$MAGIC_CMD
18537 # Must we lock files when doing compilation?
18538 need_locks=$lt_need_locks
18541 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18543 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18544 DSYMUTIL=$lt_DSYMUTIL
18546 # Tool to change global to local symbols on Mac OS X.
18549 # Tool to manipulate fat objects and archives on Mac OS X.
18552 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18555 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18556 OTOOL64=$lt_OTOOL64
18558 # Old archive suffix (normally "a").
18561 # Shared library suffix (normally ".so").
18562 shrext_cmds=$lt_shrext_cmds
18564 # The commands to extract the exported symbol list from a shared archive.
18565 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18567 # Variables whose values should be saved in libtool wrapper scripts and
18568 # restored at link time.
18569 variables_saved_for_relink=$lt_variables_saved_for_relink
18571 # Do we need the "lib" prefix for modules?
18572 need_lib_prefix=$need_lib_prefix
18574 # Do we need a version for libraries?
18575 need_version=$need_version
18577 # Library versioning type.
18578 version_type=$version_type
18580 # Shared library runtime path variable.
18581 runpath_var=$runpath_var
18583 # Shared library path variable.
18584 shlibpath_var=$shlibpath_var
18586 # Is shlibpath searched before the hard-coded library search path?
18587 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18589 # Format of library name prefix.
18590 libname_spec=$lt_libname_spec
18592 # List of archive names. First name is the real one, the rest are links.
18593 # The last name is the one that the linker finds with -lNAME
18594 library_names_spec=$lt_library_names_spec
18596 # The coded name of the library, if different from the real name.
18597 soname_spec=$lt_soname_spec
18599 # Permission mode override for installation of shared libraries.
18600 install_override_mode=$lt_install_override_mode
18602 # Command to use after installation of a shared archive.
18603 postinstall_cmds=$lt_postinstall_cmds
18605 # Command to use after uninstallation of a shared archive.
18606 postuninstall_cmds=$lt_postuninstall_cmds
18608 # Commands used to finish a libtool library installation in a directory.
18609 finish_cmds=$lt_finish_cmds
18611 # As "finish_cmds", except a single script fragment to be evaled but
18613 finish_eval=$lt_finish_eval
18615 # Whether we should hardcode library paths into libraries.
18616 hardcode_into_libs=$hardcode_into_libs
18618 # Compile-time system search path for libraries.
18619 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18621 # Detected run-time system search path for libraries.
18622 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18624 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18625 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18627 # Whether dlopen is supported.
18628 dlopen_support=$enable_dlopen
18630 # Whether dlopen of programs is supported.
18631 dlopen_self=$enable_dlopen_self
18633 # Whether dlopen of statically linked programs is supported.
18634 dlopen_self_static=$enable_dlopen_self_static
18636 # Commands to strip libraries.
18637 old_striplib=$lt_old_striplib
18638 striplib=$lt_striplib
18641 # The linker used to build libraries.
18644 # How to create reloadable object files.
18645 reload_flag=$lt_reload_flag
18646 reload_cmds=$lt_reload_cmds
18648 # Commands used to build an old-style archive.
18649 old_archive_cmds=$lt_old_archive_cmds
18651 # A language specific compiler.
18654 # Is the compiler the GNU compiler?
18657 # Compiler flag to turn off builtin functions.
18658 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18660 # Additional compiler flags for building library objects.
18661 pic_flag=$lt_lt_prog_compiler_pic
18663 # How to pass a linker flag through the compiler.
18664 wl=$lt_lt_prog_compiler_wl
18666 # Compiler flag to prevent dynamic linking.
18667 link_static_flag=$lt_lt_prog_compiler_static
18669 # Does compiler simultaneously support -c and -o options?
18670 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18672 # Whether or not to add -lc for building shared libraries.
18673 build_libtool_need_lc=$archive_cmds_need_lc
18675 # Whether or not to disallow shared libs when runtime libs are static.
18676 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18678 # Compiler flag to allow reflexive dlopens.
18679 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18681 # Compiler flag to generate shared objects directly from archives.
18682 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18684 # Whether the compiler copes with passing no objects directly.
18685 compiler_needs_object=$lt_compiler_needs_object
18687 # Create an old-style archive from a shared archive.
18688 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18690 # Create a temporary old-style archive to link instead of a shared archive.
18691 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18693 # Commands used to build a shared archive.
18694 archive_cmds=$lt_archive_cmds
18695 archive_expsym_cmds=$lt_archive_expsym_cmds
18697 # Commands used to build a loadable module if different from building
18698 # a shared archive.
18699 module_cmds=$lt_module_cmds
18700 module_expsym_cmds=$lt_module_expsym_cmds
18702 # Whether we are building with GNU ld or not.
18703 with_gnu_ld=$lt_with_gnu_ld
18705 # Flag that allows shared libraries with undefined symbols to be built.
18706 allow_undefined_flag=$lt_allow_undefined_flag
18708 # Flag that enforces no undefined symbols.
18709 no_undefined_flag=$lt_no_undefined_flag
18711 # Flag to hardcode \$libdir into a binary during linking.
18712 # This must work even if \$libdir does not exist
18713 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18715 # Whether we need a single "-rpath" flag with a separated argument.
18716 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18718 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18719 # DIR into the resulting binary.
18720 hardcode_direct=$hardcode_direct
18722 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18723 # DIR into the resulting binary and the resulting library dependency is
18724 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
18725 # library is relocated.
18726 hardcode_direct_absolute=$hardcode_direct_absolute
18728 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18729 # into the resulting binary.
18730 hardcode_minus_L=$hardcode_minus_L
18732 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18733 # into the resulting binary.
18734 hardcode_shlibpath_var=$hardcode_shlibpath_var
18736 # Set to "yes" if building a shared library automatically hardcodes DIR
18737 # into the library and all subsequent libraries and executables linked
18739 hardcode_automatic=$hardcode_automatic
18741 # Set to yes if linker adds runtime paths of dependent libraries
18742 # to runtime path list.
18743 inherit_rpath=$inherit_rpath
18745 # Whether libtool must link a program against all its dependency libraries.
18746 link_all_deplibs=$link_all_deplibs
18748 # Set to "yes" if exported symbols are required.
18749 always_export_symbols=$always_export_symbols
18751 # The commands to list exported symbols.
18752 export_symbols_cmds=$lt_export_symbols_cmds
18754 # Symbols that should not be listed in the preloaded symbols.
18755 exclude_expsyms=$lt_exclude_expsyms
18757 # Symbols that must always be exported.
18758 include_expsyms=$lt_include_expsyms
18760 # Commands necessary for linking programs (against libraries) with templates.
18761 prelink_cmds=$lt_prelink_cmds
18763 # Commands necessary for finishing linking programs.
18764 postlink_cmds=$lt_postlink_cmds
18766 # Specify filename containing input files.
18767 file_list_spec=$lt_file_list_spec
18769 # How to hardcode a shared library path into an executable.
18770 hardcode_action=$hardcode_action
18772 # ### END LIBTOOL CONFIG
18776 cat <<'_LT_EOF' >> "$cfgfile"
18778 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18780 # func_munge_path_list VARIABLE PATH
18781 # -----------------------------------
18782 # VARIABLE is name of variable containing _space_ separated list of
18783 # directories to be munged by the contents of PATH, which is string
18786 # string "DIR[ DIR]" will be prepended to VARIABLE
18788 # string "DIR[ DIR]" will be appended to VARIABLE
18789 # "DIRP[:DIRP]::[DIRA:]DIRA"
18790 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18791 # "DIRA[ DIRA]" will be appended to VARIABLE
18793 # VARIABLE will be replaced by "DIR[ DIR]"
18794 func_munge_path_list ()
18800 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18803 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18806 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18807 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18810 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18816 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
18817 func_cc_basename ()
18819 for cc_temp in $*""; do
18821 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18822 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18827 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18831 # ### END FUNCTIONS SHARED WITH CONFIGURE
18837 cat <<\_LT_EOF >> "$cfgfile"
18838 # AIX sometimes has problems with the GCC collect2 program. For some
18839 # reason, if we set the COLLECT_NAMES environment variable, the problems
18840 # vanish in a puff of smoke.
18841 if test set != "${COLLECT_NAMES+set}"; then
18843 export COLLECT_NAMES
18850 ltmain=$ac_aux_dir/ltmain.sh
18853 # We use sed instead of cat because bash on DJGPP gets confused if
18854 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18855 # text mode, it properly converts lines to CR/LF. This bash problem
18856 # is reportedly fixed, but why not run on old versions too?
18857 sed '$q' "$ltmain" >> "$cfgfile" \
18858 || (rm -f "$cfgfile"; exit 1)
18860 mv -f "$cfgfile" "$ofile" ||
18861 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18865 "python/setup.py":F) chmod +x python/setup.py ;;
18866 "xml2-config":F) chmod +x xml2-config ;;
18874 ac_clean_files=$ac_clean_files_save
18876 test $ac_write_fail = 0 ||
18877 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18880 # configure is writing to config.log, and then calls config.status.
18881 # config.status does its own redirection, appending to config.log.
18882 # Unfortunately, on DOS this fails, as config.log is still kept open
18883 # by configure, so config.status won't be able to write to it; its
18884 # output is simply discarded. So we exec the FD to /dev/null,
18885 # effectively closing config.log, so it can be properly (re)opened and
18886 # appended to by config.status. When coming back to configure, we
18887 # need to make the FD available again.
18888 if test "$no_create" != yes; then
18890 ac_config_status_args=
18891 test "$silent" = yes &&
18892 ac_config_status_args="$ac_config_status_args --quiet"
18894 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18896 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18897 # would make configure fail if this is the last instruction.
18898 $ac_cs_success || as_fn_exit 1
18900 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18902 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18906 echo Done configuring