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
699 WITH_SAX1_SOURCES_FALSE
700 WITH_SAX1_SOURCES_TRUE
722 WITH_TRIO_SOURCES_FALSE
723 WITH_TRIO_SOURCES_TRUE
744 USE_VERSION_SCRIPT_FALSE
745 USE_VERSION_SCRIPT_TRUE
804 INSTALL_STRIP_PROGRAM
820 LIBXML_VERSION_NUMBER
861 program_transform_name
874 enable_option_checking
876 enable_dependency_tracking
927 ac_precious_vars='build_alias
938 # Initialize some variables set by options.
940 ac_init_version=false
941 ac_unrecognized_opts=
943 # The variables have the same names as the options, with
944 # dashes changed to underlines.
952 program_transform_name=s,x,x,
960 # Installation directory options.
961 # These are left unexpanded so users can "make install exec_prefix=/foo"
962 # and all the variables that are supposed to be based on exec_prefix
963 # by default will actually change.
964 # Use braces instead of parens because sh, perl, etc. also accept them.
965 # (The list follows the same order as the GNU Coding Standards.)
966 bindir='${exec_prefix}/bin'
967 sbindir='${exec_prefix}/sbin'
968 libexecdir='${exec_prefix}/libexec'
969 datarootdir='${prefix}/share'
970 datadir='${datarootdir}'
971 sysconfdir='${prefix}/etc'
972 sharedstatedir='${prefix}/com'
973 localstatedir='${prefix}/var'
974 includedir='${prefix}/include'
975 oldincludedir='/usr/include'
976 docdir='${datarootdir}/doc/${PACKAGE}'
977 infodir='${datarootdir}/info'
982 libdir='${exec_prefix}/lib'
983 localedir='${datarootdir}/locale'
984 mandir='${datarootdir}/man'
990 # If the previous option needs an argument, assign it.
991 if test -n "$ac_prev"; then
992 eval $ac_prev=\$ac_option
998 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1003 # Accept the important Cygnus configure options, so we can diagnose typos.
1005 case $ac_dashdash$ac_option in
1009 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1011 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1012 bindir=$ac_optarg ;;
1014 -build | --build | --buil | --bui | --bu)
1015 ac_prev=build_alias ;;
1016 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1017 build_alias=$ac_optarg ;;
1019 -cache-file | --cache-file | --cache-fil | --cache-fi \
1020 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1021 ac_prev=cache_file ;;
1022 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1023 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1024 cache_file=$ac_optarg ;;
1026 --config-cache | -C)
1027 cache_file=config.cache ;;
1029 -datadir | --datadir | --datadi | --datad)
1031 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1032 datadir=$ac_optarg ;;
1034 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1035 | --dataroo | --dataro | --datar)
1036 ac_prev=datarootdir ;;
1037 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1038 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1039 datarootdir=$ac_optarg ;;
1041 -disable-* | --disable-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid feature name: $ac_useropt"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "enable_$ac_useropt"
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval enable_$ac_useropt=no ;;
1057 -docdir | --docdir | --docdi | --doc | --do)
1059 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1060 docdir=$ac_optarg ;;
1062 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1064 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1065 dvidir=$ac_optarg ;;
1067 -enable-* | --enable-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 as_fn_error $? "invalid feature name: $ac_useropt"
1072 ac_useropt_orig=$ac_useropt
1073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1076 "enable_$ac_useropt"
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1081 eval enable_$ac_useropt=\$ac_optarg ;;
1083 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1084 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1085 | --exec | --exe | --ex)
1086 ac_prev=exec_prefix ;;
1087 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1088 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1089 | --exec=* | --exe=* | --ex=*)
1090 exec_prefix=$ac_optarg ;;
1092 -gas | --gas | --ga | --g)
1093 # Obsolete; use --with-gas.
1096 -help | --help | --hel | --he | -h)
1097 ac_init_help=long ;;
1098 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1099 ac_init_help=recursive ;;
1100 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1101 ac_init_help=short ;;
1103 -host | --host | --hos | --ho)
1104 ac_prev=host_alias ;;
1105 -host=* | --host=* | --hos=* | --ho=*)
1106 host_alias=$ac_optarg ;;
1108 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112 htmldir=$ac_optarg ;;
1114 -includedir | --includedir | --includedi | --included | --include \
1115 | --includ | --inclu | --incl | --inc)
1116 ac_prev=includedir ;;
1117 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1118 | --includ=* | --inclu=* | --incl=* | --inc=*)
1119 includedir=$ac_optarg ;;
1121 -infodir | --infodir | --infodi | --infod | --info | --inf)
1123 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1124 infodir=$ac_optarg ;;
1126 -libdir | --libdir | --libdi | --libd)
1128 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1129 libdir=$ac_optarg ;;
1131 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1132 | --libexe | --libex | --libe)
1133 ac_prev=libexecdir ;;
1134 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1135 | --libexe=* | --libex=* | --libe=*)
1136 libexecdir=$ac_optarg ;;
1138 -localedir | --localedir | --localedi | --localed | --locale)
1139 ac_prev=localedir ;;
1140 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1141 localedir=$ac_optarg ;;
1143 -localstatedir | --localstatedir | --localstatedi | --localstated \
1144 | --localstate | --localstat | --localsta | --localst | --locals)
1145 ac_prev=localstatedir ;;
1146 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1147 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1148 localstatedir=$ac_optarg ;;
1150 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1153 mandir=$ac_optarg ;;
1155 -nfp | --nfp | --nf)
1156 # Obsolete; use --without-fp.
1159 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1160 | --no-cr | --no-c | -n)
1163 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1164 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1167 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1168 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1169 | --oldin | --oldi | --old | --ol | --o)
1170 ac_prev=oldincludedir ;;
1171 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1172 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1173 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1174 oldincludedir=$ac_optarg ;;
1176 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1179 prefix=$ac_optarg ;;
1181 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1182 | --program-pre | --program-pr | --program-p)
1183 ac_prev=program_prefix ;;
1184 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1185 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1186 program_prefix=$ac_optarg ;;
1188 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1189 | --program-suf | --program-su | --program-s)
1190 ac_prev=program_suffix ;;
1191 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1192 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1193 program_suffix=$ac_optarg ;;
1195 -program-transform-name | --program-transform-name \
1196 | --program-transform-nam | --program-transform-na \
1197 | --program-transform-n | --program-transform- \
1198 | --program-transform | --program-transfor \
1199 | --program-transfo | --program-transf \
1200 | --program-trans | --program-tran \
1201 | --progr-tra | --program-tr | --program-t)
1202 ac_prev=program_transform_name ;;
1203 -program-transform-name=* | --program-transform-name=* \
1204 | --program-transform-nam=* | --program-transform-na=* \
1205 | --program-transform-n=* | --program-transform-=* \
1206 | --program-transform=* | --program-transfor=* \
1207 | --program-transfo=* | --program-transf=* \
1208 | --program-trans=* | --program-tran=* \
1209 | --progr-tra=* | --program-tr=* | --program-t=*)
1210 program_transform_name=$ac_optarg ;;
1212 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1215 pdfdir=$ac_optarg ;;
1217 -psdir | --psdir | --psdi | --psd | --ps)
1219 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223 | -silent | --silent | --silen | --sile | --sil)
1226 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230 sbindir=$ac_optarg ;;
1232 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1233 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1234 | --sharedst | --shareds | --shared | --share | --shar \
1236 ac_prev=sharedstatedir ;;
1237 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1238 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1239 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241 sharedstatedir=$ac_optarg ;;
1243 -site | --site | --sit)
1245 -site=* | --site=* | --sit=*)
1248 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1251 srcdir=$ac_optarg ;;
1253 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1254 | --syscon | --sysco | --sysc | --sys | --sy)
1255 ac_prev=sysconfdir ;;
1256 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1257 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1258 sysconfdir=$ac_optarg ;;
1260 -target | --target | --targe | --targ | --tar | --ta | --t)
1261 ac_prev=target_alias ;;
1262 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1263 target_alias=$ac_optarg ;;
1265 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1268 -version | --version | --versio | --versi | --vers | -V)
1269 ac_init_version=: ;;
1272 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error $? "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1285 eval with_$ac_useropt=\$ac_optarg ;;
1287 -without-* | --without-*)
1288 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1291 as_fn_error $? "invalid package name: $ac_useropt"
1292 ac_useropt_orig=$ac_useropt
1293 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1294 case $ac_user_opts in
1298 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1299 ac_unrecognized_sep=', ';;
1301 eval with_$ac_useropt=no ;;
1304 # Obsolete; use --with-x.
1307 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1308 | --x-incl | --x-inc | --x-in | --x-i)
1309 ac_prev=x_includes ;;
1310 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1311 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1312 x_includes=$ac_optarg ;;
1314 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1315 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1316 ac_prev=x_libraries ;;
1317 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1318 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1319 x_libraries=$ac_optarg ;;
1321 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1322 Try \`$0 --help' for more information"
1326 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1327 # Reject names that are not valid shell variable names.
1328 case $ac_envvar in #(
1329 '' | [0-9]* | *[!_$as_cr_alnum]* )
1330 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1332 eval $ac_envvar=\$ac_optarg
1333 export $ac_envvar ;;
1336 # FIXME: should be removed in autoconf 3.0.
1337 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1338 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1339 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1340 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1346 if test -n "$ac_prev"; then
1347 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1348 as_fn_error $? "missing argument to $ac_option"
1351 if test -n "$ac_unrecognized_opts"; then
1352 case $enable_option_checking in
1354 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1355 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val=\$$ac_var
1366 # Remove trailing slashes.
1369 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$]* | ?:[\\/]* ) continue;;
1375 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1377 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1380 # There might be people who depend on the old broken behavior: `$host'
1381 # used to hold the argument of --host etc.
1382 # FIXME: To remove some day.
1385 target=$target_alias
1387 # FIXME: To remove some day.
1388 if test "x$host_alias" != x; then
1389 if test "x$build_alias" = x; then
1390 cross_compiling=maybe
1391 elif test "x$build_alias" != "x$host_alias"; then
1397 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1399 test "$silent" = yes && exec 6>/dev/null
1402 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1403 ac_ls_di=`ls -di .` &&
1404 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1405 as_fn_error $? "working directory cannot be determined"
1406 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1407 as_fn_error $? "pwd does not report name of working directory"
1410 # Find the source files, if location was not specified.
1411 if test -z "$srcdir"; then
1412 ac_srcdir_defaulted=yes
1413 # Try the directory containing this script, then the parent directory.
1414 ac_confdir=`$as_dirname -- "$as_myself" ||
1415 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1416 X"$as_myself" : 'X\(//\)[^/]' \| \
1417 X"$as_myself" : 'X\(//\)$' \| \
1418 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1419 $as_echo X"$as_myself" |
1420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1438 if test ! -r "$srcdir/$ac_unique_file"; then
1442 ac_srcdir_defaulted=no
1444 if test ! -r "$srcdir/$ac_unique_file"; then
1445 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1446 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1448 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1450 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1452 # When building in place, set srcdir=.
1453 if test "$ac_abs_confdir" = "$ac_pwd"; then
1456 # Remove unnecessary trailing slashes from srcdir.
1457 # Double slashes in file names in object file debugging info
1458 # mess up M-x gdb in Emacs.
1460 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1462 for ac_var in $ac_precious_vars; do
1463 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1464 eval ac_env_${ac_var}_value=\$${ac_var}
1465 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1466 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1470 # Report the --help message.
1472 if test "$ac_init_help" = "long"; then
1473 # Omit some internal or obsolete options to make the list less imposing.
1474 # This message is too long to be a string in the A/UX 3.1 sh.
1476 \`configure' configures this package to adapt to many kinds of systems.
1478 Usage: $0 [OPTION]... [VAR=VALUE]...
1480 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1481 VAR=VALUE. See below for descriptions of some of the useful variables.
1483 Defaults for the options are specified in brackets.
1486 -h, --help display this help and exit
1487 --help=short display options specific to this package
1488 --help=recursive display the short help of all the included packages
1489 -V, --version display version information and exit
1490 -q, --quiet, --silent do not print \`checking ...' messages
1491 --cache-file=FILE cache test results in FILE [disabled]
1492 -C, --config-cache alias for \`--cache-file=config.cache'
1493 -n, --no-create do not create output files
1494 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1496 Installation directories:
1497 --prefix=PREFIX install architecture-independent files in PREFIX
1498 [$ac_default_prefix]
1499 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1502 By default, \`make install' will install all the files in
1503 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1504 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1505 for instance \`--prefix=\$HOME'.
1507 For better control, use the options below.
1509 Fine tuning of the installation directories:
1510 --bindir=DIR user executables [EPREFIX/bin]
1511 --sbindir=DIR system admin executables [EPREFIX/sbin]
1512 --libexecdir=DIR program executables [EPREFIX/libexec]
1513 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1514 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1515 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1516 --libdir=DIR object code libraries [EPREFIX/lib]
1517 --includedir=DIR C header files [PREFIX/include]
1518 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1519 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1520 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1521 --infodir=DIR info documentation [DATAROOTDIR/info]
1522 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1523 --mandir=DIR man documentation [DATAROOTDIR/man]
1524 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1525 --htmldir=DIR html documentation [DOCDIR]
1526 --dvidir=DIR dvi documentation [DOCDIR]
1527 --pdfdir=DIR pdf documentation [DOCDIR]
1528 --psdir=DIR ps documentation [DOCDIR]
1534 --program-prefix=PREFIX prepend PREFIX to installed program names
1535 --program-suffix=SUFFIX append SUFFIX to installed program names
1536 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1539 --build=BUILD configure for building on BUILD [guessed]
1540 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1544 if test -n "$ac_init_help"; then
1549 --disable-option-checking ignore unrecognized --enable/--with options
1550 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1551 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1552 --enable-silent-rules less verbose build output (undo: `make V=1')
1553 --disable-silent-rules verbose build output (undo: `make V=0')
1554 --disable-dependency-tracking speeds up one-time build
1555 --enable-dependency-tracking do not reject slow dependency extractors
1556 --enable-shared[=PKGS] build shared libraries [default=yes]
1557 --enable-static[=PKGS] build static libraries [default=yes]
1558 --enable-fast-install[=PKGS]
1559 optimize for fast installation [default=yes]
1560 --disable-libtool-lock avoid locking (might break parallel builds)
1561 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=no]
1562 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
1565 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1566 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1567 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1570 --with-sysroot=DIR Search for dependent libraries within DIR
1571 (or the compiler's sysroot if not specified).
1572 --with-c14n add the Canonicalization support (on)
1573 --with-catalog add the Catalog support (on)
1574 --with-debug add the debugging module (on)
1575 --with-docbook add Docbook SGML support (on)
1576 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
1577 --with-ftp add the FTP support (on)
1578 --with-history add history support to xmllint shell(off)
1579 --with-html add the HTML support (on)
1580 --with-html-dir=path path to base html directory, default
1582 --with-html-subdir=path directory used under html-dir, default
1583 $PACKAGE-$VERSION/html
1584 --with-http add the HTTP support (on)
1585 --with-iconv[=DIR] add ICONV support (on)
1586 --with-icu add ICU support (off)
1587 --with-iso8859x add ISO8859X support if no iconv (on)
1588 --with-legacy add deprecated APIs for compatibility (on)
1589 --with-mem-debug add the memory debugging module (off)
1590 --with-minimum build a minimally sized library (off)
1591 --with-output add the serialization support (on)
1592 --with-pattern add the xmlPattern selection interface (on)
1593 --with-push add the PUSH parser interfaces (on)
1594 --with-python[=DIR] build Python bindings if found
1595 --with-reader add the xmlReader parsing interface (on)
1596 --with-readline=DIR use readline in DIR
1597 --with-regexps add Regular Expressions support (on)
1598 --with-run-debug add the runtime debugging module (off)
1599 --with-sax1 add the older SAX1 interface (on)
1600 --with-schemas add Relax-NG and Schemas support (on)
1601 --with-schematron add Schematron support (on)
1602 --with-threads add multithread support(on)
1603 --with-thread-alloc add per-thread memory(off)
1604 --with-tree add the DOM like tree manipulation APIs (on)
1605 --with-valid add the DTD validation support (on)
1606 --with-writer add the xmlWriter saving interface (on)
1607 --with-xinclude add the XInclude support (on)
1608 --with-xpath add the XPATH support (on)
1609 --with-xptr add the XPointer support (on)
1610 --with-modules add the dynamic modules support (on)
1611 --with-zlib[=DIR] use libz in DIR
1612 --with-lzma[=DIR] use liblzma in DIR
1613 --with-coverage build for code coverage with GCC (off)
1615 Some influential environment variables:
1616 CC C compiler command
1617 CFLAGS C compiler flags
1618 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1619 nonstandard directory <lib dir>
1620 LIBS libraries to pass to the linker, e.g. -l<library>
1621 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1622 you have headers in a nonstandard directory <include dir>
1625 Use these variables to override the choices made by `configure' or to help
1626 it to find libraries and programs with nonstandard names/locations.
1628 Report bugs to the package provider.
1633 if test "$ac_init_help" = "recursive"; then
1634 # If there are subdirs, report their specific --help.
1635 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1636 test -d "$ac_dir" ||
1637 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1642 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1644 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1645 # A ".." for each directory in $ac_dir_suffix.
1646 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1647 case $ac_top_builddir_sub in
1648 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1649 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1652 ac_abs_top_builddir=$ac_pwd
1653 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1654 # for backward compatibility:
1655 ac_top_builddir=$ac_top_build_prefix
1658 .) # We are building in place.
1660 ac_top_srcdir=$ac_top_builddir_sub
1661 ac_abs_top_srcdir=$ac_pwd ;;
1662 [\\/]* | ?:[\\/]* ) # Absolute name.
1663 ac_srcdir=$srcdir$ac_dir_suffix;
1664 ac_top_srcdir=$srcdir
1665 ac_abs_top_srcdir=$srcdir ;;
1667 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1668 ac_top_srcdir=$ac_top_build_prefix$srcdir
1669 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1671 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1673 cd "$ac_dir" || { ac_status=$?; continue; }
1674 # Check for guested configure.
1675 if test -f "$ac_srcdir/configure.gnu"; then
1677 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1678 elif test -f "$ac_srcdir/configure"; then
1680 $SHELL "$ac_srcdir/configure" --help=recursive
1682 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1684 cd "$ac_pwd" || { ac_status=$?; break; }
1688 test -n "$ac_init_help" && exit $ac_status
1689 if $ac_init_version; then
1692 generated by GNU Autoconf 2.69
1694 Copyright (C) 2012 Free Software Foundation, Inc.
1695 This configure script is free software; the Free Software Foundation
1696 gives unlimited permission to copy, distribute and modify it.
1701 ## ------------------------ ##
1702 ## Autoconf initialization. ##
1703 ## ------------------------ ##
1705 # ac_fn_c_try_compile LINENO
1706 # --------------------------
1707 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1708 ac_fn_c_try_compile ()
1710 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711 rm -f conftest.$ac_objext
1712 if { { ac_try="$ac_compile"
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_compile") 2>conftest.err
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } && {
1728 test -z "$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 } && test -s conftest.$ac_objext; then :
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1738 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 as_fn_set_status $ac_retval
1741 } # ac_fn_c_try_compile
1743 # ac_fn_c_try_cpp LINENO
1744 # ----------------------
1745 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 if { { ac_try="$ac_cpp conftest.$ac_ext"
1751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752 *) ac_try_echo=$ac_try;;
1754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755 $as_echo "$ac_try_echo"; } >&5
1756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1758 if test -s conftest.err; then
1759 grep -v '^ *+' conftest.err >conftest.er1
1760 cat conftest.er1 >&5
1761 mv -f conftest.er1 conftest.err
1763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1764 test $ac_status = 0; } > conftest.i && {
1765 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1766 test ! -s conftest.err
1770 $as_echo "$as_me: failed program was:" >&5
1771 sed 's/^/| /' conftest.$ac_ext >&5
1775 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1776 as_fn_set_status $ac_retval
1780 # ac_fn_c_try_link LINENO
1781 # -----------------------
1782 # Try to link conftest.$ac_ext, and return whether this succeeded.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 rm -f conftest.$ac_objext conftest$ac_exeext
1787 if { { ac_try="$ac_link"
1789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1790 *) ac_try_echo=$ac_try;;
1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1793 $as_echo "$ac_try_echo"; } >&5
1794 (eval "$ac_link") 2>conftest.err
1796 if test -s conftest.err; then
1797 grep -v '^ *+' conftest.err >conftest.er1
1798 cat conftest.er1 >&5
1799 mv -f conftest.er1 conftest.err
1801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1802 test $ac_status = 0; } && {
1803 test -z "$ac_c_werror_flag" ||
1804 test ! -s conftest.err
1805 } && test -s conftest$ac_exeext && {
1806 test "$cross_compiling" = yes ||
1807 test -x conftest$ac_exeext
1811 $as_echo "$as_me: failed program was:" >&5
1812 sed 's/^/| /' conftest.$ac_ext >&5
1816 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1817 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1818 # interfere with the next link command; also delete a directory that is
1819 # left behind by Apple's compiler. We do this before executing the actions.
1820 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1821 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822 as_fn_set_status $ac_retval
1824 } # ac_fn_c_try_link
1826 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827 # -------------------------------------------------------
1828 # Tests whether HEADER exists and can be compiled using the include files in
1829 # INCLUDES, setting the cache variable VAR accordingly.
1830 ac_fn_c_check_header_compile ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834 $as_echo_n "checking for $2... " >&6; }
1835 if eval \${$3+:} false; then :
1836 $as_echo_n "(cached) " >&6
1838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839 /* end confdefs.h. */
1843 if ac_fn_c_try_compile "$LINENO"; then :
1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852 $as_echo "$ac_res" >&6; }
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 } # ac_fn_c_check_header_compile
1857 # ac_fn_c_try_run LINENO
1858 # ----------------------
1859 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1860 # that executables *can* be run.
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 if { { ac_try="$ac_link"
1866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867 *) ac_try_echo=$ac_try;;
1869 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870 $as_echo "$ac_try_echo"; } >&5
1871 (eval "$ac_link") 2>&5
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1875 { { case "(($ac_try" in
1876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_try") 2>&5
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; }; }; then :
1887 $as_echo "$as_me: program exited with status $ac_status" >&5
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1891 ac_retval=$ac_status
1893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 as_fn_set_status $ac_retval
1899 # ac_fn_c_check_func LINENO FUNC VAR
1900 # ----------------------------------
1901 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1902 ac_fn_c_check_func ()
1904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if eval \${$3+:} false; then :
1908 $as_echo_n "(cached) " >&6
1910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1912 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1914 #define $2 innocuous_$2
1916 /* System header to define __stub macros and hopefully few prototypes,
1917 which can conflict with char $2 (); below.
1918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1919 <limits.h> exists even on freestanding compilers. */
1922 # include <limits.h>
1924 # include <assert.h>
1929 /* Override any GCC internal prototype to avoid an error.
1930 Use char because int might match the return type of a GCC
1931 builtin and then its argument prototype would still apply. */
1936 /* The GNU C library defines this for functions which it implements
1937 to always fail with ENOSYS. Some functions are actually named
1938 something starting with __ and the normal name is an alias. */
1939 #if defined __stub_$2 || defined __stub___$2
1951 if ac_fn_c_try_link "$LINENO"; then :
1956 rm -f core conftest.err conftest.$ac_objext \
1957 conftest$ac_exeext conftest.$ac_ext
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1961 $as_echo "$ac_res" >&6; }
1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1964 } # ac_fn_c_check_func
1966 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1967 # -------------------------------------------------------
1968 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1969 # the include files in INCLUDES and setting the cache variable VAR
1971 ac_fn_c_check_header_mongrel ()
1973 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1974 if eval \${$3+:} false; then :
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1976 $as_echo_n "checking for $2... " >&6; }
1977 if eval \${$3+:} false; then :
1978 $as_echo_n "(cached) " >&6
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1982 $as_echo "$ac_res" >&6; }
1984 # Is the header compilable?
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1986 $as_echo_n "checking $2 usability... " >&6; }
1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1992 if ac_fn_c_try_compile "$LINENO"; then :
1993 ac_header_compiler=yes
1995 ac_header_compiler=no
1997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1999 $as_echo "$ac_header_compiler" >&6; }
2001 # Is the header present?
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2003 $as_echo_n "checking $2 presence... " >&6; }
2004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2008 if ac_fn_c_try_cpp "$LINENO"; then :
2009 ac_header_preproc=yes
2011 ac_header_preproc=no
2013 rm -f conftest.err conftest.i conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2015 $as_echo "$ac_header_preproc" >&6; }
2017 # So? What about this header?
2018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2021 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2023 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2027 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2029 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2031 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2033 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2035 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if eval \${$3+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 eval "$3=\$ac_header_compiler"
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2051 } # ac_fn_c_check_header_mongrel
2053 # ac_fn_c_find_uintX_t LINENO BITS VAR
2054 # ------------------------------------
2055 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2057 ac_fn_c_find_uintX_t ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2061 $as_echo_n "checking for uint$2_t... " >&6; }
2062 if eval \${$3+:} false; then :
2063 $as_echo_n "(cached) " >&6
2066 # Order is important - never check a type that is potentially smaller
2067 # than half of the expected target width.
2068 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2069 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2072 $ac_includes_default
2076 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2078 return test_array [0];
2084 if ac_fn_c_try_compile "$LINENO"; then :
2089 eval "$3=\$ac_type" ;;
2092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2093 if eval test \"x\$"$3"\" = x"no"; then :
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105 } # ac_fn_c_find_uintX_t
2106 cat >config.log <<_ACEOF
2107 This file contains any messages produced by compilers while
2108 running configure, to aid debugging if configure makes a mistake.
2110 It was created by $as_me, which was
2111 generated by GNU Autoconf 2.69. Invocation command line was
2123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2130 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2132 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2133 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2135 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 $as_echo "PATH: $as_dir"
2163 # Keep a trace of the command line.
2164 # Strip out --no-create and --no-recursion so they do not pile up.
2165 # Strip out --silent because we don't want to record it for future runs.
2166 # Also quote any args containing shell meta-characters.
2167 # Make two passes to allow for proper duplicate-argument suppression.
2171 ac_must_keep_next=false
2177 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2178 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2179 | -silent | --silent | --silen | --sile | --sil)
2182 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2187 as_fn_append ac_configure_args1 " '$ac_arg'"
2188 if test $ac_must_keep_next = true; then
2189 ac_must_keep_next=false # Got value, back to normal.
2192 *=* | --config-cache | -C | -disable-* | --disable-* \
2193 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2194 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2195 | -with-* | --with-* | -without-* | --without-* | --x)
2196 case "$ac_configure_args0 " in
2197 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2200 -* ) ac_must_keep_next=true ;;
2203 as_fn_append ac_configure_args " '$ac_arg'"
2208 { ac_configure_args0=; unset ac_configure_args0;}
2209 { ac_configure_args1=; unset ac_configure_args1;}
2211 # When interrupted or exit'd, cleanup temporary files, and complete
2212 # config.log. We remove comments because anyway the quotes in there
2213 # would cause problems or look ugly.
2214 # WARNING: Use '\'' to represent an apostrophe within the trap.
2215 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2216 trap 'exit_status=$?
2217 # Save into config.log some information that might help in debugging.
2221 $as_echo "## ---------------- ##
2222 ## Cache variables. ##
2223 ## ---------------- ##"
2225 # The following way of writing the cache mishandles newlines in values,
2227 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2228 eval ac_val=\$$ac_var
2232 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2236 _ | IFS | as_nl) ;; #(
2237 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2238 *) { eval $ac_var=; unset $ac_var;} ;;
2243 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2244 *${as_nl}ac_space=\ *)
2246 "s/'\''/'\''\\\\'\'''\''/g;
2247 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2257 $as_echo "## ----------------- ##
2258 ## Output variables. ##
2259 ## ----------------- ##"
2261 for ac_var in $ac_subst_vars
2263 eval ac_val=\$$ac_var
2265 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2267 $as_echo "$ac_var='\''$ac_val'\''"
2271 if test -n "$ac_subst_files"; then
2272 $as_echo "## ------------------- ##
2273 ## File substitutions. ##
2274 ## ------------------- ##"
2276 for ac_var in $ac_subst_files
2278 eval ac_val=\$$ac_var
2280 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2282 $as_echo "$ac_var='\''$ac_val'\''"
2287 if test -s confdefs.h; then
2288 $as_echo "## ----------- ##
2295 test "$ac_signal" != 0 &&
2296 $as_echo "$as_me: caught signal $ac_signal"
2297 $as_echo "$as_me: exit $exit_status"
2299 rm -f core *.core core.conftest.* &&
2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 for ac_signal in 1 2 13 15; do
2304 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2309 rm -f -r conftest* confdefs.h
2311 $as_echo "/* confdefs.h */" > confdefs.h
2313 # Predefined preprocessor variables.
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_STRING "$PACKAGE_STRING"
2331 cat >>confdefs.h <<_ACEOF
2332 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335 cat >>confdefs.h <<_ACEOF
2336 #define PACKAGE_URL "$PACKAGE_URL"
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer an explicitly selected file to automatically selected ones.
2344 if test -n "$CONFIG_SITE"; then
2345 # We do not want a PATH search for config.site.
2346 case $CONFIG_SITE in #((
2347 -*) ac_site_file1=./$CONFIG_SITE;;
2348 */*) ac_site_file1=$CONFIG_SITE;;
2349 *) ac_site_file1=./$CONFIG_SITE;;
2351 elif test "x$prefix" != xNONE; then
2352 ac_site_file1=$prefix/share/config.site
2353 ac_site_file2=$prefix/etc/config.site
2355 ac_site_file1=$ac_default_prefix/share/config.site
2356 ac_site_file2=$ac_default_prefix/etc/config.site
2358 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2360 test "x$ac_site_file" = xNONE && continue
2361 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2363 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2364 sed 's/^/| /' "$ac_site_file" >&5
2366 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368 as_fn_error $? "failed to load site script $ac_site_file
2369 See \`config.log' for more details" "$LINENO" 5; }
2373 if test -r "$cache_file"; then
2374 # Some versions of bash will fail to source /dev/null (special files
2375 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2376 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2378 $as_echo "$as_me: loading cache $cache_file" >&6;}
2380 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2381 *) . "./$cache_file";;
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2386 $as_echo "$as_me: creating cache $cache_file" >&6;}
2390 # Check that the precious variables saved in the cache have kept the same
2392 ac_cache_corrupted=false
2393 for ac_var in $ac_precious_vars; do
2394 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2395 eval ac_new_set=\$ac_env_${ac_var}_set
2396 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2397 eval ac_new_val=\$ac_env_${ac_var}_value
2398 case $ac_old_set,$ac_new_set in
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2401 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2402 ac_cache_corrupted=: ;;
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2405 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2406 ac_cache_corrupted=: ;;
2409 if test "x$ac_old_val" != "x$ac_new_val"; then
2410 # differences in whitespace do not lead to failure.
2411 ac_old_val_w=`echo x $ac_old_val`
2412 ac_new_val_w=`echo x $ac_new_val`
2413 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2415 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2416 ac_cache_corrupted=:
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2419 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2420 eval $ac_var=\$ac_old_val
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2423 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2425 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2428 # Pass precious variables to config.status.
2429 if test "$ac_new_set" = set; then
2431 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2432 *) ac_arg=$ac_var=$ac_new_val ;;
2434 case " $ac_configure_args " in
2435 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2436 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2440 if $ac_cache_corrupted; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2444 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2445 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2447 ## -------------------- ##
2448 ## Main body of script. ##
2449 ## -------------------- ##
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2459 ac_config_headers="$ac_config_headers config.h"
2463 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2464 if test -f "$ac_dir/install-sh"; then
2466 ac_install_sh="$ac_aux_dir/install-sh -c"
2468 elif test -f "$ac_dir/install.sh"; then
2470 ac_install_sh="$ac_aux_dir/install.sh -c"
2472 elif test -f "$ac_dir/shtool"; then
2474 ac_install_sh="$ac_aux_dir/shtool install -c"
2478 if test -z "$ac_aux_dir"; then
2479 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2482 # These three variables are undocumented and unsupported,
2483 # and are intended to be withdrawn in a future Autoconf release.
2484 # They can cause serious problems if a builder's source tree is in a directory
2485 # whose full name contains unusual characters.
2486 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2487 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2488 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2491 # Make sure we can run config.sub.
2492 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2493 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2496 $as_echo_n "checking build system type... " >&6; }
2497 if ${ac_cv_build+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 ac_build_alias=$build_alias
2501 test "x$ac_build_alias" = x &&
2502 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2503 test "x$ac_build_alias" = x &&
2504 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2505 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2506 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2510 $as_echo "$ac_cv_build" >&6; }
2511 case $ac_cv_build in
2513 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2516 ac_save_IFS=$IFS; IFS='-'
2522 # Remember, the first character of IFS is used to create $*,
2523 # except with old shells:
2526 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2530 $as_echo_n "checking host system type... " >&6; }
2531 if ${ac_cv_host+:} false; then :
2532 $as_echo_n "(cached) " >&6
2534 if test "x$host_alias" = x; then
2535 ac_cv_host=$ac_cv_build
2537 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2538 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2543 $as_echo "$ac_cv_host" >&6; }
2546 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2549 ac_save_IFS=$IFS; IFS='-'
2555 # Remember, the first character of IFS is used to create $*,
2556 # except with old shells:
2559 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2563 LIBXML_MAJOR_VERSION=2
2564 LIBXML_MINOR_VERSION=9
2565 LIBXML_MICRO_VERSION=1
2566 LIBXML_MICRO_VERSION_SUFFIX=
2567 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2568 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2570 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2572 if test -f CVS/Entries ; then
2573 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2575 if test "$extra" != ""
2577 LIBXML_VERSION_EXTRA="-CVS$extra"
2579 else if test -d .svn ; then
2580 extra=`svn info | grep Revision | sed 's+Revision: ++'`
2582 if test "$extra" != ""
2584 LIBXML_VERSION_EXTRA="-SVN$extra"
2586 else if test -d .git ; then
2587 extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'`
2589 if test "$extra" != ""
2591 LIBXML_VERSION_EXTRA="-GIT$extra"
2604 VERSION=${LIBXML_VERSION}
2606 am__api_version='1.11'
2608 # Find a good install program. We prefer a C program (faster),
2609 # so one script is as good as another. But avoid the broken or
2610 # incompatible versions:
2611 # SysV /etc/install, /usr/sbin/install
2612 # SunOS /usr/etc/install
2613 # IRIX /sbin/install
2615 # AmigaOS /C/install, which installs bootblocks on floppy discs
2616 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2617 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2618 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2619 # OS/2's system install, which has a completely different semantic
2620 # ./install, which can be erroneously created by make from ./install.sh.
2621 # Reject install programs that cannot install multiple files.
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2623 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2624 if test -z "$INSTALL"; then
2625 if ${ac_cv_path_install+:} false; then :
2626 $as_echo_n "(cached) " >&6
2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632 test -z "$as_dir" && as_dir=.
2633 # Account for people who put trailing slashes in PATH elements.
2634 case $as_dir/ in #((
2635 ./ | .// | /[cC]/* | \
2636 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2637 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2640 # OSF1 and SCO ODT 3.0 have their own names for install.
2641 # Don't use installbsd from OSF since it installs stuff as root
2643 for ac_prog in ginstall scoinst install; do
2644 for ac_exec_ext in '' $ac_executable_extensions; do
2645 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2646 if test $ac_prog = install &&
2647 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2648 # AIX install. It has an incompatible calling convention.
2650 elif test $ac_prog = install &&
2651 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2652 # program-specific install script used by HP pwplus--don't use.
2655 rm -rf conftest.one conftest.two conftest.dir
2656 echo one > conftest.one
2657 echo two > conftest.two
2659 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2660 test -s conftest.one && test -s conftest.two &&
2661 test -s conftest.dir/conftest.one &&
2662 test -s conftest.dir/conftest.two
2664 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2677 rm -rf conftest.one conftest.two conftest.dir
2680 if test "${ac_cv_path_install+set}" = set; then
2681 INSTALL=$ac_cv_path_install
2683 # As a last resort, use the slow shell script. Don't cache a
2684 # value for INSTALL within a source directory, because that will
2685 # break other packages using the cache if that directory is
2686 # removed, or if the value is a relative name.
2687 INSTALL=$ac_install_sh
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2691 $as_echo "$INSTALL" >&6; }
2693 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2694 # It thinks the first close brace ends the variable substitution.
2695 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2697 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2699 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2702 $as_echo_n "checking whether build environment is sane... " >&6; }
2705 echo timestamp > conftest.file
2706 # Reject unsafe characters in $srcdir or the absolute working directory
2707 # name. Accept space and tab only in the latter.
2711 *[\\\"\#\$\&\'\`$am_lf]*)
2712 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2715 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2716 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2719 # Do `set' in a subshell so we don't clobber the current shell's
2720 # arguments. Must try -L first in case configure is actually a
2721 # symlink; some systems play weird games with the mod time of symlinks
2722 # (eg FreeBSD returns the mod time of the symlink's containing
2725 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2726 if test "$*" = "X"; then
2728 set X `ls -t "$srcdir/configure" conftest.file`
2731 if test "$*" != "X $srcdir/configure conftest.file" \
2732 && test "$*" != "X conftest.file $srcdir/configure"; then
2734 # If neither matched, then we have a broken ls. This can happen
2735 # if, for instance, CONFIG_SHELL is bash and it inherits a
2736 # broken ls alias from the environment. This has actually
2737 # happened. Such a system could not be considered "sane".
2738 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2739 alias in your environment" "$LINENO" 5
2742 test "$2" = conftest.file
2748 as_fn_error $? "newly created file is older than distributed files!
2749 Check your system clock" "$LINENO" 5
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2752 $as_echo "yes" >&6; }
2753 test "$program_prefix" != NONE &&
2754 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2755 # Use a double $ so make ignores it.
2756 test "$program_suffix" != NONE &&
2757 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2758 # Double any \ or $.
2759 # By default was `s,x,x', remove it if useless.
2760 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2761 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2763 # expand $ac_aux_dir to an absolute path
2764 am_aux_dir=`cd $ac_aux_dir && pwd`
2766 if test x"${MISSING+set}" != xset; then
2769 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2771 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2774 # Use eval to expand $SHELL
2775 if eval "$MISSING --run true"; then
2776 am_missing_run="$MISSING --run "
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2780 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2783 if test x"${install_sh}" != xset; then
2786 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2788 install_sh="\${SHELL} $am_aux_dir/install-sh"
2792 # Installed binaries are usually stripped using `strip' when the user
2793 # run `make install-strip'. However `strip' might not be the right
2794 # tool to use in cross-compilation environments, therefore Automake
2795 # will honor the `STRIP' environment variable to overrule this program.
2796 if test "$cross_compiling" != no; then
2797 if test -n "$ac_tool_prefix"; then
2798 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2799 set dummy ${ac_tool_prefix}strip; ac_word=$2
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2801 $as_echo_n "checking for $ac_word... " >&6; }
2802 if ${ac_cv_prog_STRIP+:} false; then :
2803 $as_echo_n "(cached) " >&6
2805 if test -n "$STRIP"; then
2806 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 STRIP=$ac_cv_prog_STRIP
2826 if test -n "$STRIP"; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2828 $as_echo "$STRIP" >&6; }
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2831 $as_echo "no" >&6; }
2836 if test -z "$ac_cv_prog_STRIP"; then
2838 # Extract the first word of "strip", so it can be a program name with args.
2839 set dummy strip; ac_word=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$ac_ct_STRIP"; then
2846 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_STRIP="strip"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2865 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2866 if test -n "$ac_ct_STRIP"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2868 $as_echo "$ac_ct_STRIP" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2874 if test "x$ac_ct_STRIP" = x; then
2877 case $cross_compiling:$ac_tool_warned in
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881 ac_tool_warned=yes ;;
2886 STRIP="$ac_cv_prog_STRIP"
2890 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2893 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2894 if test -z "$MKDIR_P"; then
2895 if ${ac_cv_path_mkdir+:} false; then :
2896 $as_echo_n "(cached) " >&6
2898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2902 test -z "$as_dir" && as_dir=.
2903 for ac_prog in mkdir gmkdir; do
2904 for ac_exec_ext in '' $ac_executable_extensions; do
2905 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2906 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2907 'mkdir (GNU coreutils) '* | \
2908 'mkdir (coreutils) '* | \
2909 'mkdir (fileutils) '4.1*)
2910 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2920 test -d ./--version && rmdir ./--version
2921 if test "${ac_cv_path_mkdir+set}" = set; then
2922 MKDIR_P="$ac_cv_path_mkdir -p"
2924 # As a last resort, use the slow shell script. Don't cache a
2925 # value for MKDIR_P within a source directory, because that will
2926 # break other packages using the cache if that directory is
2927 # removed, or if the value is a relative name.
2928 MKDIR_P="$ac_install_sh -d"
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2932 $as_echo "$MKDIR_P" >&6; }
2936 [\\/$]* | ?:[\\/]*) ;;
2937 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2940 for ac_prog in gawk mawk nawk awk
2942 # Extract the first word of "$ac_prog", so it can be a program name with args.
2943 set dummy $ac_prog; ac_word=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_AWK+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$AWK"; then
2950 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir=.
2957 for ac_exec_ext in '' $ac_executable_extensions; do
2958 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2959 ac_cv_prog_AWK="$ac_prog"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 if test -n "$AWK"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2972 $as_echo "$AWK" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2979 test -n "$AWK" && break
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2983 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2985 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2986 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2987 $as_echo_n "(cached) " >&6
2989 cat >conftest.make <<\_ACEOF
2992 @echo '@@@%%%=$(MAKE)=@@@%%%'
2994 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2995 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2997 eval ac_cv_prog_make_${ac_make}_set=yes;;
2999 eval ac_cv_prog_make_${ac_make}_set=no;;
3003 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3005 $as_echo "yes" >&6; }
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3009 $as_echo "no" >&6; }
3010 SET_MAKE="MAKE=${MAKE-make}"
3013 rm -rf .tst 2>/dev/null
3014 mkdir .tst 2>/dev/null
3015 if test -d .tst; then
3020 rmdir .tst 2>/dev/null
3022 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3023 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3024 # is not polluted with repeated "-I."
3025 am__isrc=' -I$(srcdir)'
3026 # test to see if srcdir already configured
3027 if test -f $srcdir/config.status; then
3028 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3032 # test whether we have cygpath
3033 if test -z "$CYGPATH_W"; then
3034 if (cygpath --version) >/dev/null 2>/dev/null; then
3035 CYGPATH_W='cygpath -w'
3042 # Define the identity of the package.
3047 cat >>confdefs.h <<_ACEOF
3048 #define PACKAGE "$PACKAGE"
3052 cat >>confdefs.h <<_ACEOF
3053 #define VERSION "$VERSION"
3056 # Some tools Automake needs.
3058 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3061 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3064 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3067 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3070 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3072 # We need awk for the "check" target. The system "awk" is bad on
3074 # Always define AMTAR for backward compatibility. Yes, it's still used
3075 # in the wild :-( We should find a proper way to deprecate it ...
3078 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3085 # Support silent build rules, requires at least automake-1.11. Disable
3086 # by either passing --disable-silent-rules to configure or passing V=1
3088 # Check whether --enable-silent-rules was given.
3089 if test "${enable_silent_rules+set}" = set; then :
3090 enableval=$enable_silent_rules;
3093 case $enable_silent_rules in
3094 yes) AM_DEFAULT_VERBOSITY=0;;
3095 no) AM_DEFAULT_VERBOSITY=1;;
3096 *) AM_DEFAULT_VERBOSITY=0;;
3098 am_make=${MAKE-make}
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3100 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3101 if ${am_cv_make_support_nested_variables+:} false; then :
3102 $as_echo_n "(cached) " >&6
3104 if $as_echo 'TRUE=$(BAR$(V))
3110 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3111 am_cv_make_support_nested_variables=yes
3113 am_cv_make_support_nested_variables=no
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3117 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3118 if test $am_cv_make_support_nested_variables = yes; then
3120 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3122 AM_V=$AM_DEFAULT_VERBOSITY
3123 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3129 ac_cpp='$CPP $CPPFLAGS'
3130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3133 if test -n "$ac_tool_prefix"; then
3134 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3137 $as_echo_n "checking for $ac_word... " >&6; }
3138 if ${ac_cv_prog_CC+:} false; then :
3139 $as_echo_n "(cached) " >&6
3141 if test -n "$CC"; then
3142 ac_cv_prog_CC="$CC" # Let the user override the test.
3144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3148 test -z "$as_dir" && as_dir=.
3149 for ac_exec_ext in '' $ac_executable_extensions; do
3150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3151 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 if test -n "$CC"; then
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3164 $as_echo "$CC" >&6; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3172 if test -z "$ac_cv_prog_CC"; then
3174 # Extract the first word of "gcc", so it can be a program name with args.
3175 set dummy gcc; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$ac_ct_CC"; then
3182 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_ac_ct_CC="gcc"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3202 if test -n "$ac_ct_CC"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3204 $as_echo "$ac_ct_CC" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3210 if test "x$ac_ct_CC" = x; then
3213 case $cross_compiling:$ac_tool_warned in
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3217 ac_tool_warned=yes ;;
3225 if test -z "$CC"; then
3226 if test -n "$ac_tool_prefix"; then
3227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3228 set dummy ${ac_tool_prefix}cc; ac_word=$2
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230 $as_echo_n "checking for $ac_word... " >&6; }
3231 if ${ac_cv_prog_CC+:} false; then :
3232 $as_echo_n "(cached) " >&6
3234 if test -n "$CC"; then
3235 ac_cv_prog_CC="$CC" # Let the user override the test.
3237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241 test -z "$as_dir" && as_dir=.
3242 for ac_exec_ext in '' $ac_executable_extensions; do
3243 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244 ac_cv_prog_CC="${ac_tool_prefix}cc"
3245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255 if test -n "$CC"; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257 $as_echo "$CC" >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3266 if test -z "$CC"; then
3267 # Extract the first word of "cc", so it can be a program name with args.
3268 set dummy cc; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if ${ac_cv_prog_CC+:} false; then :
3272 $as_echo_n "(cached) " >&6
3274 if test -n "$CC"; then
3275 ac_cv_prog_CC="$CC" # Let the user override the test.
3278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3282 test -z "$as_dir" && as_dir=.
3283 for ac_exec_ext in '' $ac_executable_extensions; do
3284 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3286 ac_prog_rejected=yes
3290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 if test $ac_prog_rejected = yes; then
3298 # We found a bogon in the path, so make sure we never use it.
3299 set dummy $ac_cv_prog_CC
3301 if test $# != 0; then
3302 # We chose a different compiler from the bogus one.
3303 # However, it has the same basename, so the bogon will be chosen
3304 # first if we set CC to just the basename; use the full file name.
3306 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3312 if test -n "$CC"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3314 $as_echo "$CC" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3322 if test -z "$CC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 for ac_prog in cl.exe
3326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329 $as_echo_n "checking for $ac_word... " >&6; }
3330 if ${ac_cv_prog_CC+:} false; then :
3331 $as_echo_n "(cached) " >&6
3333 if test -n "$CC"; then
3334 ac_cv_prog_CC="$CC" # Let the user override the test.
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354 if test -n "$CC"; then
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356 $as_echo "$CC" >&6; }
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359 $as_echo "no" >&6; }
3363 test -n "$CC" && break
3366 if test -z "$CC"; then
3368 for ac_prog in cl.exe
3370 # Extract the first word of "$ac_prog", so it can be a program name with args.
3371 set dummy $ac_prog; ac_word=$2
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3373 $as_echo_n "checking for $ac_word... " >&6; }
3374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3375 $as_echo_n "(cached) " >&6
3377 if test -n "$ac_ct_CC"; then
3378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384 test -z "$as_dir" && as_dir=.
3385 for ac_exec_ext in '' $ac_executable_extensions; do
3386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3387 ac_cv_prog_ac_ct_CC="$ac_prog"
3388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3398 if test -n "$ac_ct_CC"; then
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3400 $as_echo "$ac_ct_CC" >&6; }
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3403 $as_echo "no" >&6; }
3407 test -n "$ac_ct_CC" && break
3410 if test "x$ac_ct_CC" = x; then
3413 case $cross_compiling:$ac_tool_warned in
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3417 ac_tool_warned=yes ;;
3426 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "no acceptable C compiler found in \$PATH
3429 See \`config.log' for more details" "$LINENO" 5; }
3431 # Provide some information about the compiler.
3432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3435 for ac_option in --version -v -V -qversion; do
3436 { { ac_try="$ac_compiler $ac_option >&5"
3438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3439 *) ac_try_echo=$ac_try;;
3441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3442 $as_echo "$ac_try_echo"; } >&5
3443 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3445 if test -s conftest.err; then
3447 ... rest of stderr output deleted ...
3448 10q' conftest.err >conftest.er1
3449 cat conftest.er1 >&5
3451 rm -f conftest.er1 conftest.err
3452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3453 test $ac_status = 0; }
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 ac_clean_files_save=$ac_clean_files
3468 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3469 # Try to create an executable without -o first, disregard a.out.
3470 # It will help us diagnose broken compilers, and finding out an intuition
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3473 $as_echo_n "checking whether the C compiler works... " >&6; }
3474 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3476 # The possible output files:
3477 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3480 for ac_file in $ac_files
3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3484 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3489 if { { ac_try="$ac_link_default"
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3495 $as_echo "$ac_try_echo"; } >&5
3496 (eval "$ac_link_default") 2>&5
3498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3499 test $ac_status = 0; }; then :
3500 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3501 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3502 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3503 # so that the user can short-circuit this test for compilers unknown to
3505 for ac_file in $ac_files ''
3507 test -f "$ac_file" || continue
3509 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3512 # We found the default executable, but exeext='' is most
3516 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3518 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3520 # We set ac_cv_exeext here because the later test for it is not
3521 # safe: cross compilers may not add the suffix if given an `-o'
3522 # argument, so we may need to know it at that point already.
3523 # Even if this section looks crufty: it has the advantage of
3530 test "$ac_cv_exeext" = no && ac_cv_exeext=
3535 if test -z "$ac_file"; then :
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3538 $as_echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 as_fn_error 77 "C compiler cannot create executables
3544 See \`config.log' for more details" "$LINENO" 5; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3547 $as_echo "yes" >&6; }
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3550 $as_echo_n "checking for C compiler default output file name... " >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3552 $as_echo "$ac_file" >&6; }
3553 ac_exeext=$ac_cv_exeext
3555 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3556 ac_clean_files=$ac_clean_files_save
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3558 $as_echo_n "checking for suffix of executables... " >&6; }
3559 if { { ac_try="$ac_link"
3561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3562 *) ac_try_echo=$ac_try;;
3564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3565 $as_echo "$ac_try_echo"; } >&5
3566 (eval "$ac_link") 2>&5
3568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3569 test $ac_status = 0; }; then :
3570 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3571 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3572 # work properly (i.e., refer to `conftest.exe'), while it won't with
3574 for ac_file in conftest.exe conftest conftest.*; do
3575 test -f "$ac_file" || continue
3577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3578 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3587 See \`config.log' for more details" "$LINENO" 5; }
3589 rm -f conftest conftest$ac_cv_exeext
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3591 $as_echo "$ac_cv_exeext" >&6; }
3593 rm -f conftest.$ac_ext
3594 EXEEXT=$ac_cv_exeext
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3602 FILE *f = fopen ("conftest.out", "w");
3603 return ferror (f) || fclose (f) != 0;
3609 ac_clean_files="$ac_clean_files conftest.out"
3610 # Check that the compiler produces executables we can run. If not, either
3611 # the compiler is broken, or we cross compile.
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3613 $as_echo_n "checking whether we are cross compiling... " >&6; }
3614 if test "$cross_compiling" != yes; then
3615 { { ac_try="$ac_link"
3617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3618 *) ac_try_echo=$ac_try;;
3620 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3621 $as_echo "$ac_try_echo"; } >&5
3622 (eval "$ac_link") 2>&5
3624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3625 test $ac_status = 0; }
3626 if { ac_try='./conftest$ac_cv_exeext'
3627 { { case "(($ac_try" in
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3632 $as_echo "$ac_try_echo"; } >&5
3633 (eval "$ac_try") 2>&5
3635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3636 test $ac_status = 0; }; }; then
3639 if test "$cross_compiling" = maybe; then
3642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3644 as_fn_error $? "cannot run C compiled programs.
3645 If you meant to cross compile, use \`--host'.
3646 See \`config.log' for more details" "$LINENO" 5; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3651 $as_echo "$cross_compiling" >&6; }
3653 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3654 ac_clean_files=$ac_clean_files_save
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3656 $as_echo_n "checking for suffix of object files... " >&6; }
3657 if ${ac_cv_objext+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661 /* end confdefs.h. */
3671 rm -f conftest.o conftest.obj
3672 if { { ac_try="$ac_compile"
3674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3675 *) ac_try_echo=$ac_try;;
3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3678 $as_echo "$ac_try_echo"; } >&5
3679 (eval "$ac_compile") 2>&5
3681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3682 test $ac_status = 0; }; then :
3683 for ac_file in conftest.o conftest.obj conftest.*; do
3684 test -f "$ac_file" || continue;
3686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3687 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3692 $as_echo "$as_me: failed program was:" >&5
3693 sed 's/^/| /' conftest.$ac_ext >&5
3695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697 as_fn_error $? "cannot compute suffix of object files: cannot compile
3698 See \`config.log' for more details" "$LINENO" 5; }
3700 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3703 $as_echo "$ac_cv_objext" >&6; }
3704 OBJEXT=$ac_cv_objext
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3707 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3708 if ${ac_cv_c_compiler_gnu+:} false; then :
3709 $as_echo_n "(cached) " >&6
3711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3712 /* end confdefs.h. */
3725 if ac_fn_c_try_compile "$LINENO"; then :
3730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3735 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3736 if test $ac_compiler_gnu = yes; then
3741 ac_test_CFLAGS=${CFLAGS+set}
3742 ac_save_CFLAGS=$CFLAGS
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3744 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3745 if ${ac_cv_prog_cc_g+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 ac_save_c_werror_flag=$ac_c_werror_flag
3749 ac_c_werror_flag=yes
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753 /* end confdefs.h. */
3763 if ac_fn_c_try_compile "$LINENO"; then :
3767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3768 /* end confdefs.h. */
3778 if ac_fn_c_try_compile "$LINENO"; then :
3781 ac_c_werror_flag=$ac_save_c_werror_flag
3783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3784 /* end confdefs.h. */
3794 if ac_fn_c_try_compile "$LINENO"; then :
3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3802 ac_c_werror_flag=$ac_save_c_werror_flag
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3805 $as_echo "$ac_cv_prog_cc_g" >&6; }
3806 if test "$ac_test_CFLAGS" = set; then
3807 CFLAGS=$ac_save_CFLAGS
3808 elif test $ac_cv_prog_cc_g = yes; then
3809 if test "$GCC" = yes; then
3815 if test "$GCC" = yes; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3823 if ${ac_cv_prog_cc_c89+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 ac_cv_prog_cc_c89=no
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3833 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3834 struct buf { int x; };
3835 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3836 static char *e (p, i)
3842 static char *f (char * (*g) (char **, int), char **p, ...)
3847 s = g (p, va_arg (v,int));
3852 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3853 function prototypes and stuff, but not '\xHH' hex character constants.
3854 These don't provoke an error unfortunately, instead are silently treated
3855 as 'x'. The following induces an error, until -std is added to get
3856 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3857 array size at least. It's necessary to write '\x00'==0 to get something
3858 that's true only with -std. */
3859 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3861 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3862 inside strings and character constants. */
3864 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3866 int test (int i, double x);
3867 struct s1 {int (*f) (int a);};
3868 struct s2 {int (*f) (double a);};
3869 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3875 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3880 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3881 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3883 CC="$ac_save_CC $ac_arg"
3884 if ac_fn_c_try_compile "$LINENO"; then :
3885 ac_cv_prog_cc_c89=$ac_arg
3887 rm -f core conftest.err conftest.$ac_objext
3888 test "x$ac_cv_prog_cc_c89" != "xno" && break
3890 rm -f conftest.$ac_ext
3895 case "x$ac_cv_prog_cc_c89" in
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3898 $as_echo "none needed" >&6; } ;;
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3901 $as_echo "unsupported" >&6; } ;;
3903 CC="$CC $ac_cv_prog_cc_c89"
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3905 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3907 if test "x$ac_cv_prog_cc_c89" != xno; then :
3912 ac_cpp='$CPP $CPPFLAGS'
3913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916 DEPDIR="${am__leading_dot}deps"
3918 ac_config_commands="$ac_config_commands depfiles"
3921 am_make=${MAKE-make}
3922 cat > confinc << 'END'
3924 @echo this is the am__doit target
3927 # If we don't find an include directive, just comment out the code.
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3929 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3933 # First try GNU make style include.
3934 echo "include confinc" > confmf
3935 # Ignore all kinds of additional output from `make'.
3936 case `$am_make -s -f confmf 2> /dev/null` in #(
3937 *the\ am__doit\ target*)
3943 # Now try BSD make style include.
3944 if test "$am__include" = "#"; then
3945 echo '.include "confinc"' > confmf
3946 case `$am_make -s -f confmf 2> /dev/null` in #(
3947 *the\ am__doit\ target*)
3948 am__include=.include
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3957 $as_echo "$_am_result" >&6; }
3958 rm -f confinc confmf
3960 # Check whether --enable-dependency-tracking was given.
3961 if test "${enable_dependency_tracking+set}" = set; then :
3962 enableval=$enable_dependency_tracking;
3965 if test "x$enable_dependency_tracking" != xno; then
3966 am_depcomp="$ac_aux_dir/depcomp"
3970 if test "x$enable_dependency_tracking" != xno; then
3980 depcc="$CC" am_compiler_list=
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3983 $as_echo_n "checking dependency style of $depcc... " >&6; }
3984 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3985 $as_echo_n "(cached) " >&6
3987 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3988 # We make a subdir and do the tests there. Otherwise we can end up
3989 # making bogus files that we don't know about and never remove. For
3990 # instance it was reported that on HP-UX the gcc test will end up
3991 # making a dummy file named `D' -- because `-MD' means `put the output
3995 # Copy depcomp to subdir because otherwise we won't find it if we're
3996 # using a relative directory.
3997 cp "$am_depcomp" conftest.dir
3999 # We will build objects and dependencies in a subdirectory because
4000 # it helps to detect inapplicable dependency modes. For instance
4001 # both Tru64's cc and ICC support -MD to output dependencies as a
4002 # side effect of compilation, but ICC will put the dependencies in
4003 # the current directory while Tru64 will put them in the object
4007 am_cv_CC_dependencies_compiler_type=none
4008 if test "$am_compiler_list" = ""; then
4009 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4012 case " $depcc " in #(
4013 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4016 for depmode in $am_compiler_list; do
4017 # Setup a source with many dependencies, because some compilers
4018 # like to wrap large dependency lists on column 80 (with \), and
4019 # we should not choose a depcomp mode which is confused by this.
4021 # We need to recreate these files for each test, as the compiler may
4022 # overwrite some of them when testing with obscure command lines.
4023 # This happens at least with the AIX C compiler.
4025 for i in 1 2 3 4 5 6; do
4026 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4027 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4028 # Solaris 8's {/usr,}/bin/sh.
4029 touch sub/conftst$i.h
4031 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4033 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4034 # mode. It turns out that the SunPro C++ compiler does not properly
4035 # handle `-M -o', and we need to detect this. Also, some Intel
4036 # versions had trouble with output in subdirs
4037 am__obj=sub/conftest.${OBJEXT-o}
4038 am__minus_obj="-o $am__obj"
4041 # This depmode causes a compiler race in universal mode.
4042 test "$am__universal" = false || continue
4045 # after this tag, mechanisms are not by side-effect, so they'll
4046 # only be used when explicitly requested
4047 if test "x$enable_dependency_tracking" = xyes; then
4053 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4054 # This compiler won't grok `-c -o', but also, the minuso test has
4055 # not run yet. These depmodes are late enough in the game, and
4056 # so weak that their functioning should not be impacted.
4057 am__obj=conftest.${OBJEXT-o}
4062 if depmode=$depmode \
4063 source=sub/conftest.c object=$am__obj \
4064 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4065 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4066 >/dev/null 2>conftest.err &&
4067 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4068 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4069 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4070 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4071 # icc doesn't choke on unknown options, it will just issue warnings
4072 # or remarks (even with -Werror). So we grep stderr for any message
4073 # that says an option was ignored or not supported.
4074 # When given -MP, icc 7.0 and 7.1 complain thusly:
4075 # icc: Command line warning: ignoring option '-M'; no argument required
4076 # The diagnosis changed in icc 8.0:
4077 # icc: Command line remark: option '-MP' not supported
4078 if (grep 'ignoring option' conftest.err ||
4079 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4080 am_cv_CC_dependencies_compiler_type=$depmode
4089 am_cv_CC_dependencies_compiler_type=none
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4094 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4095 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4098 test "x$enable_dependency_tracking" != xno \
4099 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4101 am__fastdepCC_FALSE='#'
4103 am__fastdepCC_TRUE='#'
4104 am__fastdepCC_FALSE=
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4110 $as_echo_n "checking whether ln -s works... " >&6; }
4112 if test "$LN_S" = "ln -s"; then
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4114 $as_echo "yes" >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4117 $as_echo "no, using $LN_S" >&6; }
4122 ac_cpp='$CPP $CPPFLAGS'
4123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4128 # On Suns, sometimes $CPP names a directory.
4129 if test -n "$CPP" && test -d "$CPP"; then
4132 if test -z "$CPP"; then
4133 if ${ac_cv_prog_CPP+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 # Double quotes because CPP needs to be expanded
4137 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4140 for ac_c_preproc_warn_flag in '' yes
4142 # Use a header file that comes with gcc, so configuring glibc
4143 # with a fresh cross-compiler works.
4144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4145 # <limits.h> exists even on freestanding compilers.
4146 # On the NeXT, cc -E runs the code through the compiler's parser,
4147 # not just through cpp. "Syntax error" is here to catch this case.
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4151 # include <limits.h>
4153 # include <assert.h>
4157 if ac_fn_c_try_cpp "$LINENO"; then :
4160 # Broken: fails on valid input.
4163 rm -f conftest.err conftest.i conftest.$ac_ext
4165 # OK, works on sane cases. Now check whether nonexistent headers
4166 # can be detected and how.
4167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4168 /* end confdefs.h. */
4169 #include <ac_nonexistent.h>
4171 if ac_fn_c_try_cpp "$LINENO"; then :
4172 # Broken: success on invalid input.
4175 # Passes both tests.
4179 rm -f conftest.err conftest.i conftest.$ac_ext
4182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4183 rm -f conftest.i conftest.err conftest.$ac_ext
4184 if $ac_preproc_ok; then :
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4197 $as_echo "$CPP" >&6; }
4199 for ac_c_preproc_warn_flag in '' yes
4201 # Use a header file that comes with gcc, so configuring glibc
4202 # with a fresh cross-compiler works.
4203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4204 # <limits.h> exists even on freestanding compilers.
4205 # On the NeXT, cc -E runs the code through the compiler's parser,
4206 # not just through cpp. "Syntax error" is here to catch this case.
4207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4210 # include <limits.h>
4212 # include <assert.h>
4216 if ac_fn_c_try_cpp "$LINENO"; then :
4219 # Broken: fails on valid input.
4222 rm -f conftest.err conftest.i conftest.$ac_ext
4224 # OK, works on sane cases. Now check whether nonexistent headers
4225 # can be detected and how.
4226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4227 /* end confdefs.h. */
4228 #include <ac_nonexistent.h>
4230 if ac_fn_c_try_cpp "$LINENO"; then :
4231 # Broken: success on invalid input.
4234 # Passes both tests.
4238 rm -f conftest.err conftest.i conftest.$ac_ext
4241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4242 rm -f conftest.i conftest.err conftest.$ac_ext
4243 if $ac_preproc_ok; then :
4246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4248 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4249 See \`config.log' for more details" "$LINENO" 5; }
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4258 # Extract the first word of "mv", so it can be a program name with args.
4259 set dummy mv; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_path_MV+:} false; then :
4263 $as_echo_n "(cached) " >&6
4267 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir=.
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4290 if test -n "$MV"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4292 $as_echo "$MV" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 # Extract the first word of "tar", so it can be a program name with args.
4300 set dummy tar; ac_word=$2
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4302 $as_echo_n "checking for $ac_word... " >&6; }
4303 if ${ac_cv_path_TAR+:} false; then :
4304 $as_echo_n "(cached) " >&6
4308 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir=.
4316 for ac_exec_ext in '' $ac_executable_extensions; do
4317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4318 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4331 if test -n "$TAR"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4333 $as_echo "$TAR" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4340 # Extract the first word of "perl", so it can be a program name with args.
4341 set dummy perl; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if ${ac_cv_path_PERL+:} false; then :
4345 $as_echo_n "(cached) " >&6
4349 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir=.
4357 for ac_exec_ext in '' $ac_executable_extensions; do
4358 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4359 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4367 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4371 PERL=$ac_cv_path_PERL
4372 if test -n "$PERL"; then
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4374 $as_echo "$PERL" >&6; }
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4377 $as_echo "no" >&6; }
4381 # Extract the first word of "wget", so it can be a program name with args.
4382 set dummy wget; ac_word=$2
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4384 $as_echo_n "checking for $ac_word... " >&6; }
4385 if ${ac_cv_path_WGET+:} false; then :
4386 $as_echo_n "(cached) " >&6
4390 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397 test -z "$as_dir" && as_dir=.
4398 for ac_exec_ext in '' $ac_executable_extensions; do
4399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4400 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4408 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4412 WGET=$ac_cv_path_WGET
4413 if test -n "$WGET"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4415 $as_echo "$WGET" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4422 # Extract the first word of "xmllint", so it can be a program name with args.
4423 set dummy xmllint; ac_word=$2
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4425 $as_echo_n "checking for $ac_word... " >&6; }
4426 if ${ac_cv_path_XMLLINT+:} false; then :
4427 $as_echo_n "(cached) " >&6
4431 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4438 test -z "$as_dir" && as_dir=.
4439 for ac_exec_ext in '' $ac_executable_extensions; do
4440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4441 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4449 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4453 XMLLINT=$ac_cv_path_XMLLINT
4454 if test -n "$XMLLINT"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4456 $as_echo "$XMLLINT" >&6; }
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4463 # Extract the first word of "xsltproc", so it can be a program name with args.
4464 set dummy xsltproc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_path_XSLTPROC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4472 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4479 test -z "$as_dir" && as_dir=.
4480 for ac_exec_ext in '' $ac_executable_extensions; do
4481 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4482 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4494 XSLTPROC=$ac_cv_path_XSLTPROC
4495 if test -n "$XSLTPROC"; then
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4497 $as_echo "$XSLTPROC" >&6; }
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4500 $as_echo "no" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4508 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4513 macro_version='2.4.2'
4514 macro_revision='1.3337'
4528 ltmain="$ac_aux_dir/ltmain.sh"
4530 # Backslashify metacharacters that are still active within
4531 # double-quoted strings.
4532 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4534 # Same as above, but do not quote variable references.
4535 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4537 # Sed substitution to delay expansion of an escaped shell variable in a
4538 # double_quote_subst'ed string.
4539 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4541 # Sed substitution to delay expansion of an escaped single quote.
4542 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4544 # Sed substitution to avoid accidental globbing in evaled expressions
4545 no_glob_subst='s/\*/\\\*/g'
4547 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4548 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4549 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4552 $as_echo_n "checking how to print strings... " >&6; }
4553 # Test print first, because it will be a builtin if present.
4554 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4555 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4557 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4560 # Use this function as a fallback that always works.
4561 func_fallback_echo ()
4563 eval 'cat <<_LTECHO_EOF
4567 ECHO='func_fallback_echo'
4570 # func_echo_all arg...
4571 # Invoke $ECHO with all args, space-separated.
4578 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4579 $as_echo "printf" >&6; } ;;
4580 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4581 $as_echo "print -r" >&6; } ;;
4582 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4583 $as_echo "cat" >&6; } ;;
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4600 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4601 if ${ac_cv_path_SED+:} false; then :
4602 $as_echo_n "(cached) " >&6
4604 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4605 for ac_i in 1 2 3 4 5 6 7; do
4606 ac_script="$ac_script$as_nl$ac_script"
4608 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4609 { ac_script=; unset ac_script;}
4610 if test -z "$SED"; then
4611 ac_path_SED_found=false
4612 # Loop through the user's path and test for each of PROGNAME-LIST
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir=.
4618 for ac_prog in sed gsed; do
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4621 as_fn_executable_p "$ac_path_SED" || continue
4622 # Check for GNU ac_path_SED and select it if it is found.
4623 # Check for GNU $ac_path_SED
4624 case `"$ac_path_SED" --version 2>&1` in
4626 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4629 $as_echo_n 0123456789 >"conftest.in"
4632 cat "conftest.in" "conftest.in" >"conftest.tmp"
4633 mv "conftest.tmp" "conftest.in"
4634 cp "conftest.in" "conftest.nl"
4635 $as_echo '' >> "conftest.nl"
4636 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4637 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4638 as_fn_arith $ac_count + 1 && ac_count=$as_val
4639 if test $ac_count -gt ${ac_path_SED_max-0}; then
4640 # Best one so far, save it but keep looking for a better one
4641 ac_cv_path_SED="$ac_path_SED"
4642 ac_path_SED_max=$ac_count
4644 # 10*(2^10) chars as input seems more than enough
4645 test $ac_count -gt 10 && break
4647 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4650 $ac_path_SED_found && break 3
4655 if test -z "$ac_cv_path_SED"; then
4656 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4664 $as_echo "$ac_cv_path_SED" >&6; }
4665 SED="$ac_cv_path_SED"
4668 test -z "$SED" && SED=sed
4669 Xsed="$SED -e 1s/^X//"
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4682 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4683 if ${ac_cv_path_GREP+:} false; then :
4684 $as_echo_n "(cached) " >&6
4686 if test -z "$GREP"; then
4687 ac_path_GREP_found=false
4688 # Loop through the user's path and test for each of PROGNAME-LIST
4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4693 test -z "$as_dir" && as_dir=.
4694 for ac_prog in grep ggrep; do
4695 for ac_exec_ext in '' $ac_executable_extensions; do
4696 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4697 as_fn_executable_p "$ac_path_GREP" || continue
4698 # Check for GNU ac_path_GREP and select it if it is found.
4699 # Check for GNU $ac_path_GREP
4700 case `"$ac_path_GREP" --version 2>&1` in
4702 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4705 $as_echo_n 0123456789 >"conftest.in"
4708 cat "conftest.in" "conftest.in" >"conftest.tmp"
4709 mv "conftest.tmp" "conftest.in"
4710 cp "conftest.in" "conftest.nl"
4711 $as_echo 'GREP' >> "conftest.nl"
4712 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714 as_fn_arith $ac_count + 1 && ac_count=$as_val
4715 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4716 # Best one so far, save it but keep looking for a better one
4717 ac_cv_path_GREP="$ac_path_GREP"
4718 ac_path_GREP_max=$ac_count
4720 # 10*(2^10) chars as input seems more than enough
4721 test $ac_count -gt 10 && break
4723 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4726 $ac_path_GREP_found && break 3
4731 if test -z "$ac_cv_path_GREP"; then
4732 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4735 ac_cv_path_GREP=$GREP
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4740 $as_echo "$ac_cv_path_GREP" >&6; }
4741 GREP="$ac_cv_path_GREP"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4745 $as_echo_n "checking for egrep... " >&6; }
4746 if ${ac_cv_path_EGREP+:} false; then :
4747 $as_echo_n "(cached) " >&6
4749 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4750 then ac_cv_path_EGREP="$GREP -E"
4752 if test -z "$EGREP"; then
4753 ac_path_EGREP_found=false
4754 # Loop through the user's path and test for each of PROGNAME-LIST
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4756 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4759 test -z "$as_dir" && as_dir=.
4760 for ac_prog in egrep; do
4761 for ac_exec_ext in '' $ac_executable_extensions; do
4762 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4763 as_fn_executable_p "$ac_path_EGREP" || continue
4764 # Check for GNU ac_path_EGREP and select it if it is found.
4765 # Check for GNU $ac_path_EGREP
4766 case `"$ac_path_EGREP" --version 2>&1` in
4768 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4771 $as_echo_n 0123456789 >"conftest.in"
4774 cat "conftest.in" "conftest.in" >"conftest.tmp"
4775 mv "conftest.tmp" "conftest.in"
4776 cp "conftest.in" "conftest.nl"
4777 $as_echo 'EGREP' >> "conftest.nl"
4778 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4779 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4780 as_fn_arith $ac_count + 1 && ac_count=$as_val
4781 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4782 # Best one so far, save it but keep looking for a better one
4783 ac_cv_path_EGREP="$ac_path_EGREP"
4784 ac_path_EGREP_max=$ac_count
4786 # 10*(2^10) chars as input seems more than enough
4787 test $ac_count -gt 10 && break
4789 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4792 $ac_path_EGREP_found && break 3
4797 if test -z "$ac_cv_path_EGREP"; then
4798 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4801 ac_cv_path_EGREP=$EGREP
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4807 $as_echo "$ac_cv_path_EGREP" >&6; }
4808 EGREP="$ac_cv_path_EGREP"
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4812 $as_echo_n "checking for fgrep... " >&6; }
4813 if ${ac_cv_path_FGREP+:} false; then :
4814 $as_echo_n "(cached) " >&6
4816 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4817 then ac_cv_path_FGREP="$GREP -F"
4819 if test -z "$FGREP"; then
4820 ac_path_FGREP_found=false
4821 # Loop through the user's path and test for each of PROGNAME-LIST
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4826 test -z "$as_dir" && as_dir=.
4827 for ac_prog in fgrep; do
4828 for ac_exec_ext in '' $ac_executable_extensions; do
4829 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4830 as_fn_executable_p "$ac_path_FGREP" || continue
4831 # Check for GNU ac_path_FGREP and select it if it is found.
4832 # Check for GNU $ac_path_FGREP
4833 case `"$ac_path_FGREP" --version 2>&1` in
4835 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4838 $as_echo_n 0123456789 >"conftest.in"
4841 cat "conftest.in" "conftest.in" >"conftest.tmp"
4842 mv "conftest.tmp" "conftest.in"
4843 cp "conftest.in" "conftest.nl"
4844 $as_echo 'FGREP' >> "conftest.nl"
4845 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4846 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4847 as_fn_arith $ac_count + 1 && ac_count=$as_val
4848 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4849 # Best one so far, save it but keep looking for a better one
4850 ac_cv_path_FGREP="$ac_path_FGREP"
4851 ac_path_FGREP_max=$ac_count
4853 # 10*(2^10) chars as input seems more than enough
4854 test $ac_count -gt 10 && break
4856 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4859 $ac_path_FGREP_found && break 3
4864 if test -z "$ac_cv_path_FGREP"; then
4865 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4868 ac_cv_path_FGREP=$FGREP
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4874 $as_echo "$ac_cv_path_FGREP" >&6; }
4875 FGREP="$ac_cv_path_FGREP"
4878 test -z "$GREP" && GREP=grep
4898 # Check whether --with-gnu-ld was given.
4899 if test "${with_gnu_ld+set}" = set; then :
4900 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4906 if test "$GCC" = yes; then
4907 # Check if gcc -print-prog-name=ld gives a path.
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4909 $as_echo_n "checking for ld used by $CC... " >&6; }
4912 # gcc leaves a trailing carriage return which upsets mingw
4913 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4915 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4918 # Accept absolute paths.
4920 re_direlt='/[^/][^/]*/\.\./'
4921 # Canonicalize the pathname of ld
4922 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4923 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4924 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4926 test -z "$LD" && LD="$ac_prog"
4929 # If it fails, then pretend we aren't using GCC.
4933 # If it is relative, then search for the first ld in PATH.
4937 elif test "$with_gnu_ld" = yes; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4939 $as_echo_n "checking for GNU ld... " >&6; }
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4942 $as_echo_n "checking for non-GNU ld... " >&6; }
4944 if ${lt_cv_path_LD+:} false; then :
4945 $as_echo_n "(cached) " >&6
4947 if test -z "$LD"; then
4948 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4949 for ac_dir in $PATH; do
4951 test -z "$ac_dir" && ac_dir=.
4952 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4953 lt_cv_path_LD="$ac_dir/$ac_prog"
4954 # Check to see if the program is GNU ld. I'd rather use --version,
4955 # but apparently some variants of GNU ld only accept -v.
4956 # Break only if it was the GNU/non-GNU ld that we prefer.
4957 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4958 *GNU* | *'with BFD'*)
4959 test "$with_gnu_ld" != no && break
4962 test "$with_gnu_ld" != yes && break
4969 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4974 if test -n "$LD"; then
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4976 $as_echo "$LD" >&6; }
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4981 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4983 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4984 if ${lt_cv_prog_gnu_ld+:} false; then :
4985 $as_echo_n "(cached) " >&6
4987 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4988 case `$LD -v 2>&1 </dev/null` in
4989 *GNU* | *'with BFD'*)
4990 lt_cv_prog_gnu_ld=yes
4993 lt_cv_prog_gnu_ld=no
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4998 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4999 with_gnu_ld=$lt_cv_prog_gnu_ld
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5010 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5011 if ${lt_cv_path_NM+:} false; then :
5012 $as_echo_n "(cached) " >&6
5014 if test -n "$NM"; then
5015 # Let the user override the test.
5018 lt_nm_to_check="${ac_tool_prefix}nm"
5019 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5020 lt_nm_to_check="$lt_nm_to_check nm"
5022 for lt_tmp_nm in $lt_nm_to_check; do
5023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5024 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5026 test -z "$ac_dir" && ac_dir=.
5027 tmp_nm="$ac_dir/$lt_tmp_nm"
5028 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5029 # Check to see if the nm accepts a BSD-compat flag.
5030 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5031 # nm: unknown option "B" ignored
5032 # Tru64's nm complains that /dev/null is an invalid object file
5033 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5034 */dev/null* | *'Invalid file or object type'*)
5035 lt_cv_path_NM="$tmp_nm -B"
5039 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5041 lt_cv_path_NM="$tmp_nm -p"
5045 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5046 continue # so that we can try to find one that supports BSD flags
5055 : ${lt_cv_path_NM=no}
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5059 $as_echo "$lt_cv_path_NM" >&6; }
5060 if test "$lt_cv_path_NM" != "no"; then
5063 # Didn't find any BSD compatible name lister, look for dumpbin.
5064 if test -n "$DUMPBIN"; then :
5065 # Let the user override the test.
5067 if test -n "$ac_tool_prefix"; then
5068 for ac_prog in dumpbin "link -dump"
5070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5071 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_DUMPBIN+:} false; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$DUMPBIN"; then
5078 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 DUMPBIN=$ac_cv_prog_DUMPBIN
5098 if test -n "$DUMPBIN"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5100 $as_echo "$DUMPBIN" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5107 test -n "$DUMPBIN" && break
5110 if test -z "$DUMPBIN"; then
5111 ac_ct_DUMPBIN=$DUMPBIN
5112 for ac_prog in dumpbin "link -dump"
5114 # Extract the first word of "$ac_prog", so it can be a program name with args.
5115 set dummy $ac_prog; ac_word=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$ac_ct_DUMPBIN"; then
5122 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir=.
5129 for ac_exec_ext in '' $ac_executable_extensions; do
5130 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5142 if test -n "$ac_ct_DUMPBIN"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5144 $as_echo "$ac_ct_DUMPBIN" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5151 test -n "$ac_ct_DUMPBIN" && break
5154 if test "x$ac_ct_DUMPBIN" = x; then
5157 case $cross_compiling:$ac_tool_warned in
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5161 ac_tool_warned=yes ;;
5163 DUMPBIN=$ac_ct_DUMPBIN
5167 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5169 DUMPBIN="$DUMPBIN -symbols"
5177 if test "$DUMPBIN" != ":"; then
5181 test -z "$NM" && NM=nm
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5189 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5190 if ${lt_cv_nm_interface+:} false; then :
5191 $as_echo_n "(cached) " >&6
5193 lt_cv_nm_interface="BSD nm"
5194 echo "int some_variable = 0;" > conftest.$ac_ext
5195 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5196 (eval "$ac_compile" 2>conftest.err)
5197 cat conftest.err >&5
5198 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5199 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5200 cat conftest.err >&5
5201 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5202 cat conftest.out >&5
5203 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5204 lt_cv_nm_interface="MS dumpbin"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5209 $as_echo "$lt_cv_nm_interface" >&6; }
5211 # find the maximum length of command line arguments
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5213 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5214 if ${lt_cv_sys_max_cmd_len+:} false; then :
5215 $as_echo_n "(cached) " >&6
5222 # On DJGPP, this test can blow up pretty badly due to problems in libc
5223 # (any single argument exceeding 2000 bytes causes a buffer overrun
5224 # during glob expansion). Even if it were fixed, the result of this
5225 # check would be larger than it should be.
5226 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5230 # Under GNU Hurd, this test is not required because there is
5231 # no limit to the length of command line arguments.
5232 # Libtool will interpret -1 as no limit whatsoever
5233 lt_cv_sys_max_cmd_len=-1;
5236 cygwin* | mingw* | cegcc*)
5237 # On Win9x/ME, this test blows up -- it succeeds, but takes
5238 # about 5 minutes as the teststring grows exponentially.
5239 # Worse, since 9x/ME are not pre-emptively multitasking,
5240 # you end up with a "frozen" computer, even though with patience
5241 # the test eventually succeeds (with a max line length of 256k).
5242 # Instead, let's just punt: use the minimum linelength reported by
5243 # all of the supported platforms: 8192 (on NT/2K/XP).
5244 lt_cv_sys_max_cmd_len=8192;
5248 # On MiNT this can take a long time and run out of memory.
5249 lt_cv_sys_max_cmd_len=8192;
5253 # On AmigaOS with pdksh, this test takes hours, literally.
5254 # So we just punt and use a minimum line length of 8192.
5255 lt_cv_sys_max_cmd_len=8192;
5258 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5259 # This has been around since 386BSD, at least. Likely further.
5260 if test -x /sbin/sysctl; then
5261 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5262 elif test -x /usr/sbin/sysctl; then
5263 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5265 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5267 # And add a safety zone
5268 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5269 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5273 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5274 lt_cv_sys_max_cmd_len=196608
5278 # The test takes a long time on OS/2.
5279 lt_cv_sys_max_cmd_len=8192
5283 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5284 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5285 # nice to cause kernel panics so lets avoid the loop below.
5286 # First set a reasonable default.
5287 lt_cv_sys_max_cmd_len=16384
5289 if test -x /sbin/sysconfig; then
5290 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5291 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5296 lt_cv_sys_max_cmd_len=102400
5298 sysv5* | sco5v6* | sysv4.2uw2*)
5299 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5300 if test -n "$kargmax"; then
5301 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5303 lt_cv_sys_max_cmd_len=32768
5307 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5308 if test -n "$lt_cv_sys_max_cmd_len"; then
5309 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5310 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5312 # Make teststring a little bigger before we do anything with it.
5313 # a 1K string should be a reasonable start.
5314 for i in 1 2 3 4 5 6 7 8 ; do
5315 teststring=$teststring$teststring
5317 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5318 # If test is not a shell built-in, we'll probably end up computing a
5319 # maximum length that is only half of the actual maximum length, but
5321 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5322 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5323 test $i != 17 # 1/2 MB should be enough
5326 teststring=$teststring$teststring
5328 # Only check the string length outside the loop.
5329 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5331 # Add a significant safety factor because C++ compilers can tack on
5332 # massive amounts of additional arguments before passing them to the
5333 # linker. It appears as though 1/2 is a usable value.
5334 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5341 if test -n $lt_cv_sys_max_cmd_len ; then
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5343 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5346 $as_echo "none" >&6; }
5348 max_cmd_len=$lt_cv_sys_max_cmd_len
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5360 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5361 # Try some XSI features
5364 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5366 && eval 'test $(( 1 + 1 )) -eq 2 \
5367 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5370 $as_echo "$xsi_shell" >&6; }
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5374 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5376 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5378 && lt_shell_append=yes
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5380 $as_echo "$lt_shell_append" >&6; }
5383 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5393 # test EBCDIC or ASCII
5394 case `echo X|tr X '\101'` in
5395 A) # ASCII based system
5396 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5397 lt_SP2NL='tr \040 \012'
5398 lt_NL2SP='tr \015\012 \040\040'
5400 *) # EBCDIC based system
5401 lt_SP2NL='tr \100 \n'
5402 lt_NL2SP='tr \r\n \100\100'
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5415 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5416 if ${lt_cv_to_host_file_cmd+:} false; then :
5417 $as_echo_n "(cached) " >&6
5422 *-*-mingw* ) # actually msys
5423 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5426 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5428 * ) # otherwise, assume *nix
5429 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5435 *-*-mingw* ) # actually msys
5436 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5439 lt_cv_to_host_file_cmd=func_convert_file_noop
5441 * ) # otherwise, assume *nix
5442 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5446 * ) # unhandled hosts (and "normal" native builds)
5447 lt_cv_to_host_file_cmd=func_convert_file_noop
5453 to_host_file_cmd=$lt_cv_to_host_file_cmd
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5455 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5462 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5463 if ${lt_cv_to_tool_file_cmd+:} false; then :
5464 $as_echo_n "(cached) " >&6
5466 #assume ordinary cross tools, or native build.
5467 lt_cv_to_tool_file_cmd=func_convert_file_noop
5471 *-*-mingw* ) # actually msys
5472 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5480 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5482 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5489 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5490 if ${lt_cv_ld_reload_flag+:} false; then :
5491 $as_echo_n "(cached) " >&6
5493 lt_cv_ld_reload_flag='-r'
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5496 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5497 reload_flag=$lt_cv_ld_reload_flag
5498 case $reload_flag in
5500 *) reload_flag=" $reload_flag" ;;
5502 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5504 cygwin* | mingw* | pw32* | cegcc*)
5505 if test "$GCC" != yes; then
5510 if test "$GCC" = yes; then
5511 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5513 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5526 if test -n "$ac_tool_prefix"; then
5527 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5528 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5530 $as_echo_n "checking for $ac_word... " >&6; }
5531 if ${ac_cv_prog_OBJDUMP+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 if test -n "$OBJDUMP"; then
5535 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5544 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 OBJDUMP=$ac_cv_prog_OBJDUMP
5555 if test -n "$OBJDUMP"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5557 $as_echo "$OBJDUMP" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5560 $as_echo "no" >&6; }
5565 if test -z "$ac_cv_prog_OBJDUMP"; then
5566 ac_ct_OBJDUMP=$OBJDUMP
5567 # Extract the first word of "objdump", so it can be a program name with args.
5568 set dummy objdump; ac_word=$2
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5570 $as_echo_n "checking for $ac_word... " >&6; }
5571 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5572 $as_echo_n "(cached) " >&6
5574 if test -n "$ac_ct_OBJDUMP"; then
5575 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581 test -z "$as_dir" && as_dir=.
5582 for ac_exec_ext in '' $ac_executable_extensions; do
5583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5584 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5594 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5595 if test -n "$ac_ct_OBJDUMP"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5597 $as_echo "$ac_ct_OBJDUMP" >&6; }
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }
5603 if test "x$ac_ct_OBJDUMP" = x; then
5606 case $cross_compiling:$ac_tool_warned in
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5610 ac_tool_warned=yes ;;
5612 OBJDUMP=$ac_ct_OBJDUMP
5615 OBJDUMP="$ac_cv_prog_OBJDUMP"
5618 test -z "$OBJDUMP" && OBJDUMP=objdump
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5629 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5630 if ${lt_cv_deplibs_check_method+:} false; then :
5631 $as_echo_n "(cached) " >&6
5633 lt_cv_file_magic_cmd='$MAGIC_CMD'
5634 lt_cv_file_magic_test_file=
5635 lt_cv_deplibs_check_method='unknown'
5636 # Need to set the preceding variable on all platforms that support
5637 # interlibrary dependencies.
5638 # 'none' -- dependencies not supported.
5639 # `unknown' -- same as none, but documents that we really don't know.
5640 # 'pass_all' -- all dependencies passed with no checks.
5641 # 'test_compile' -- check by making test program.
5642 # 'file_magic [[regex]]' -- check by looking for files in library path
5643 # which responds to the $file_magic_cmd with a given extended regex.
5644 # If you have `file' or equivalent on your system and you're not sure
5645 # whether `pass_all' will *always* work, you probably want this one.
5649 lt_cv_deplibs_check_method=pass_all
5653 lt_cv_deplibs_check_method=pass_all
5657 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5658 lt_cv_file_magic_cmd='/usr/bin/file -L'
5659 lt_cv_file_magic_test_file=/shlib/libc.so
5663 # func_win32_libid is a shell function defined in ltmain.sh
5664 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5665 lt_cv_file_magic_cmd='func_win32_libid'
5669 # Base MSYS/MinGW do not provide the 'file' command needed by
5670 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5671 # unless we find 'file', for example because we are cross-compiling.
5672 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5673 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5674 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5675 lt_cv_file_magic_cmd='func_win32_libid'
5677 # Keep this pattern in sync with the one in func_win32_libid.
5678 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5679 lt_cv_file_magic_cmd='$OBJDUMP -f'
5684 # use the weaker test based on 'objdump'. See mingw*.
5685 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5686 lt_cv_file_magic_cmd='$OBJDUMP -f'
5689 darwin* | rhapsody*)
5690 lt_cv_deplibs_check_method=pass_all
5693 freebsd* | dragonfly*)
5694 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5697 # Not sure whether the presence of OpenBSD here was a mistake.
5698 # Let's accept both of them until this is cleared up.
5699 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5700 lt_cv_file_magic_cmd=/usr/bin/file
5701 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5705 lt_cv_deplibs_check_method=pass_all
5710 lt_cv_deplibs_check_method=pass_all
5714 lt_cv_deplibs_check_method=pass_all
5717 hpux10.20* | hpux11*)
5718 lt_cv_file_magic_cmd=/usr/bin/file
5721 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5722 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5725 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]'
5726 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5729 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5730 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5736 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5737 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5740 irix5* | irix6* | nonstopux*)
5742 *-32|*"-32 ") libmagic=32-bit;;
5743 *-n32|*"-n32 ") libmagic=N32;;
5744 *-64|*"-64 ") libmagic=64-bit;;
5745 *) libmagic=never-match;;
5747 lt_cv_deplibs_check_method=pass_all
5750 # This must be glibc/ELF.
5751 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5752 lt_cv_deplibs_check_method=pass_all
5756 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5757 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5759 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5764 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5765 lt_cv_file_magic_cmd=/usr/bin/file
5766 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5770 lt_cv_deplibs_check_method=pass_all
5774 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5775 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5777 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5781 osf3* | osf4* | osf5*)
5782 lt_cv_deplibs_check_method=pass_all
5786 lt_cv_deplibs_check_method=pass_all
5790 lt_cv_deplibs_check_method=pass_all
5793 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5794 lt_cv_deplibs_check_method=pass_all
5798 case $host_vendor in
5800 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]'
5801 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5804 lt_cv_deplibs_check_method=pass_all
5807 lt_cv_file_magic_cmd='/bin/file'
5808 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5811 lt_cv_file_magic_cmd='/bin/file'
5812 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5813 lt_cv_file_magic_test_file=/lib/libc.so
5816 lt_cv_deplibs_check_method=pass_all
5819 lt_cv_deplibs_check_method=pass_all
5825 lt_cv_deplibs_check_method=pass_all
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5831 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5835 if test "$build" = "$host"; then
5838 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5841 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5847 file_magic_cmd=$lt_cv_file_magic_cmd
5848 deplibs_check_method=$lt_cv_deplibs_check_method
5849 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5872 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5876 $as_echo_n "checking for $ac_word... " >&6; }
5877 if ${ac_cv_prog_DLLTOOL+:} false; then :
5878 $as_echo_n "(cached) " >&6
5880 if test -n "$DLLTOOL"; then
5881 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5900 DLLTOOL=$ac_cv_prog_DLLTOOL
5901 if test -n "$DLLTOOL"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5903 $as_echo "$DLLTOOL" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5906 $as_echo "no" >&6; }
5911 if test -z "$ac_cv_prog_DLLTOOL"; then
5912 ac_ct_DLLTOOL=$DLLTOOL
5913 # Extract the first word of "dlltool", so it can be a program name with args.
5914 set dummy dlltool; ac_word=$2
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5916 $as_echo_n "checking for $ac_word... " >&6; }
5917 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5918 $as_echo_n "(cached) " >&6
5920 if test -n "$ac_ct_DLLTOOL"; then
5921 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir=.
5928 for ac_exec_ext in '' $ac_executable_extensions; do
5929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5930 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5940 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5941 if test -n "$ac_ct_DLLTOOL"; then
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5943 $as_echo "$ac_ct_DLLTOOL" >&6; }
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5946 $as_echo "no" >&6; }
5949 if test "x$ac_ct_DLLTOOL" = x; then
5952 case $cross_compiling:$ac_tool_warned in
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5956 ac_tool_warned=yes ;;
5958 DLLTOOL=$ac_ct_DLLTOOL
5961 DLLTOOL="$ac_cv_prog_DLLTOOL"
5964 test -z "$DLLTOOL" && DLLTOOL=dlltool
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5976 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5977 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5978 $as_echo_n "(cached) " >&6
5980 lt_cv_sharedlib_from_linklib_cmd='unknown'
5983 cygwin* | mingw* | pw32* | cegcc*)
5984 # two different shell functions defined in ltmain.sh
5985 # decide which to use based on capabilities of $DLLTOOL
5986 case `$DLLTOOL --help 2>&1` in
5987 *--identify-strict*)
5988 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5991 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5996 # fallback: assume linklib IS sharedlib
5997 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6003 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6004 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6005 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6014 if test -n "$ac_tool_prefix"; then
6017 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6018 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6020 $as_echo_n "checking for $ac_word... " >&6; }
6021 if ${ac_cv_prog_AR+:} false; then :
6022 $as_echo_n "(cached) " >&6
6024 if test -n "$AR"; then
6025 ac_cv_prog_AR="$AR" # Let the user override the test.
6027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6031 test -z "$as_dir" && as_dir=.
6032 for ac_exec_ext in '' $ac_executable_extensions; do
6033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6034 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6045 if test -n "$AR"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6047 $as_echo "$AR" >&6; }
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 test -n "$AR" && break
6057 if test -z "$AR"; then
6061 # Extract the first word of "$ac_prog", so it can be a program name with args.
6062 set dummy $ac_prog; ac_word=$2
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 $as_echo_n "checking for $ac_word... " >&6; }
6065 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6066 $as_echo_n "(cached) " >&6
6068 if test -n "$ac_ct_AR"; then
6069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6075 test -z "$as_dir" && as_dir=.
6076 for ac_exec_ext in '' $ac_executable_extensions; do
6077 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6078 ac_cv_prog_ac_ct_AR="$ac_prog"
6079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6089 if test -n "$ac_ct_AR"; then
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6091 $as_echo "$ac_ct_AR" >&6; }
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6094 $as_echo "no" >&6; }
6098 test -n "$ac_ct_AR" && break
6101 if test "x$ac_ct_AR" = x; then
6104 case $cross_compiling:$ac_tool_warned in
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6107 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6108 ac_tool_warned=yes ;;
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6128 $as_echo_n "checking for archiver @FILE support... " >&6; }
6129 if ${lt_cv_ar_at_file+:} false; then :
6130 $as_echo_n "(cached) " >&6
6133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6134 /* end confdefs.h. */
6144 if ac_fn_c_try_compile "$LINENO"; then :
6145 echo conftest.$ac_objext > conftest.lst
6146 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6147 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6148 (eval $lt_ar_try) 2>&5
6150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6151 test $ac_status = 0; }
6152 if test "$ac_status" -eq 0; then
6153 # Ensure the archiver fails upon bogus file names.
6154 rm -f conftest.$ac_objext libconftest.a
6155 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6156 (eval $lt_ar_try) 2>&5
6158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6159 test $ac_status = 0; }
6160 if test "$ac_status" -ne 0; then
6164 rm -f conftest.* libconftest.a
6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6171 $as_echo "$lt_cv_ar_at_file" >&6; }
6173 if test "x$lt_cv_ar_at_file" = xno; then
6176 archiver_list_spec=$lt_cv_ar_at_file
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}strip; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_STRIP+:} false; then :
6191 $as_echo_n "(cached) " >&6
6193 if test -n "$STRIP"; then
6194 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6203 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 STRIP=$ac_cv_prog_STRIP
6214 if test -n "$STRIP"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6216 $as_echo "$STRIP" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6224 if test -z "$ac_cv_prog_STRIP"; then
6226 # Extract the first word of "strip", so it can be a program name with args.
6227 set dummy strip; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -n "$ac_ct_STRIP"; then
6234 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_ac_ct_STRIP="strip"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6254 if test -n "$ac_ct_STRIP"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6256 $as_echo "$ac_ct_STRIP" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6262 if test "x$ac_ct_STRIP" = x; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned=yes ;;
6274 STRIP="$ac_cv_prog_STRIP"
6277 test -z "$STRIP" && STRIP=:
6284 if test -n "$ac_tool_prefix"; then
6285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if ${ac_cv_prog_RANLIB+:} false; then :
6290 $as_echo_n "(cached) " >&6
6292 if test -n "$RANLIB"; then
6293 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6312 RANLIB=$ac_cv_prog_RANLIB
6313 if test -n "$RANLIB"; then
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6315 $as_echo "$RANLIB" >&6; }
6317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318 $as_echo "no" >&6; }
6323 if test -z "$ac_cv_prog_RANLIB"; then
6324 ac_ct_RANLIB=$RANLIB
6325 # Extract the first word of "ranlib", so it can be a program name with args.
6326 set dummy ranlib; ac_word=$2
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6328 $as_echo_n "checking for $ac_word... " >&6; }
6329 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6330 $as_echo_n "(cached) " >&6
6332 if test -n "$ac_ct_RANLIB"; then
6333 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6339 test -z "$as_dir" && as_dir=.
6340 for ac_exec_ext in '' $ac_executable_extensions; do
6341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6342 ac_cv_prog_ac_ct_RANLIB="ranlib"
6343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6352 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6353 if test -n "$ac_ct_RANLIB"; then
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6355 $as_echo "$ac_ct_RANLIB" >&6; }
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6358 $as_echo "no" >&6; }
6361 if test "x$ac_ct_RANLIB" = x; then
6364 case $cross_compiling:$ac_tool_warned in
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6368 ac_tool_warned=yes ;;
6370 RANLIB=$ac_ct_RANLIB
6373 RANLIB="$ac_cv_prog_RANLIB"
6376 test -z "$RANLIB" && RANLIB=:
6383 # Determine commands to create old-style static archives.
6384 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6385 old_postinstall_cmds='chmod 644 $oldlib'
6386 old_postuninstall_cmds=
6388 if test -n "$RANLIB"; then
6391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6394 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6397 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6402 lock_old_archive_extraction=yes ;;
6404 lock_old_archive_extraction=no ;;
6445 # If no C compiler was specified, use CC.
6448 # If no C compiler flags were specified, use CFLAGS.
6449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6451 # Allow CC to be a program name with arguments.
6455 # Check for command to grab the raw symbol name followed by C symbol from nm.
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6457 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6458 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6459 $as_echo_n "(cached) " >&6
6462 # These are sane defaults that work on at least a few old systems.
6463 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6465 # Character class describing NM global symbol codes.
6466 symcode='[BCDEGRST]'
6468 # Regexp to match symbols that can be accessed directly from C.
6469 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6471 # Define system-specific variables.
6476 cygwin* | mingw* | pw32* | cegcc*)
6477 symcode='[ABCDGISTW]'
6480 if test "$host_cpu" = ia64; then
6481 symcode='[ABCDEGRST]'
6485 symcode='[BCDEGRST]'
6488 symcode='[BCDEGQRST]'
6499 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6507 # If we're using GNU nm, then use its standard symbol codes.
6508 case `$NM -V 2>&1` in
6509 *GNU* | *'with BFD'*)
6510 symcode='[ABCDGIRSTW]' ;;
6513 # Transform an extracted symbol line into a proper C declaration.
6514 # Some systems (esp. on ia64) link data and code symbols differently,
6515 # so use this general approach.
6516 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6518 # Transform an extracted symbol line into symbol name and symbol address
6519 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6520 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6522 # Handle CRLF in mingw tool chain
6526 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6530 # Try without a prefix underscore, then with it.
6531 for ac_symprfx in "" "_"; do
6533 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6534 symxfrm="\\1 $ac_symprfx\\2 \\2"
6536 # Write the raw and C identifiers.
6537 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6538 # Fake it for dumpbin and say T for any non-static function
6539 # and D for any global variable.
6540 # Also find C++ and __fastcall symbols from MSVC++,
6541 # which start with @ or ?.
6542 lt_cv_sys_global_symbol_pipe="$AWK '"\
6543 " {last_section=section; section=\$ 3};"\
6544 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6545 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6546 " \$ 0!~/External *\|/{next};"\
6547 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6548 " {if(hide[section]) next};"\
6549 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6550 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6551 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6552 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6553 " ' prfx=^$ac_symprfx"
6555 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6557 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6559 # Check to see that the pipe works correctly.
6563 cat > conftest.$ac_ext <<_LT_EOF
6568 void nm_test_func(void);
6569 void nm_test_func(void){}
6573 int main(){nm_test_var='a';nm_test_func();return(0);}
6576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6577 (eval $ac_compile) 2>&5
6579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6580 test $ac_status = 0; }; then
6581 # Now try to grab the symbols.
6583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6584 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6587 test $ac_status = 0; } && test -s "$nlist"; then
6588 # Try sorting and uniquifying the output.
6589 if sort "$nlist" | uniq > "$nlist"T; then
6590 mv -f "$nlist"T "$nlist"
6595 # Make sure that we snagged all the symbols we need.
6596 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6597 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6598 cat <<_LT_EOF > conftest.$ac_ext
6599 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6600 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6601 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6602 relocations are performed -- see ld's documentation on pseudo-relocs. */
6603 # define LT_DLSYM_CONST
6604 #elif defined(__osf__)
6605 /* This system does not cope well with relocations in const data. */
6606 # define LT_DLSYM_CONST
6608 # define LT_DLSYM_CONST const
6616 # Now generate the symbol file.
6617 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6619 cat <<_LT_EOF >> conftest.$ac_ext
6621 /* The mapping between symbol names and symbols. */
6622 LT_DLSYM_CONST struct {
6626 lt__PROGRAM__LTX_preloaded_symbols[] =
6628 { "@PROGRAM@", (void *) 0 },
6630 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6631 cat <<\_LT_EOF >> conftest.$ac_ext
6635 /* This works around a problem in FreeBSD linker */
6636 #ifdef FREEBSD_WORKAROUND
6637 static const void *lt_preloaded_setup() {
6638 return lt__PROGRAM__LTX_preloaded_symbols;
6646 # Now try linking the two files.
6647 mv conftest.$ac_objext conftstm.$ac_objext
6648 lt_globsym_save_LIBS=$LIBS
6649 lt_globsym_save_CFLAGS=$CFLAGS
6650 LIBS="conftstm.$ac_objext"
6651 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6653 (eval $ac_link) 2>&5
6655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6656 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6659 LIBS=$lt_globsym_save_LIBS
6660 CFLAGS=$lt_globsym_save_CFLAGS
6662 echo "cannot find nm_test_func in $nlist" >&5
6665 echo "cannot find nm_test_var in $nlist" >&5
6668 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6671 echo "$progname: failed program was:" >&5
6672 cat conftest.$ac_ext >&5
6674 rm -rf conftest* conftst*
6676 # Do not use the global_symbol_pipe unless it works.
6677 if test "$pipe_works" = yes; then
6680 lt_cv_sys_global_symbol_pipe=
6686 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6687 lt_cv_sys_global_symbol_to_cdecl=
6689 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6691 $as_echo "failed" >&6; }
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6694 $as_echo "ok" >&6; }
6697 # Response file support.
6698 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6699 nm_file_list_spec='@'
6700 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6701 nm_file_list_spec='@'
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6731 $as_echo_n "checking for sysroot... " >&6; }
6733 # Check whether --with-sysroot was given.
6734 if test "${with_sysroot+set}" = set; then :
6735 withval=$with_sysroot;
6742 case ${with_sysroot} in #(
6744 if test "$GCC" = yes; then
6745 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6749 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6755 $as_echo "${with_sysroot}" >&6; }
6756 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6761 $as_echo "${lt_sysroot:-no}" >&6; }
6767 # Check whether --enable-libtool-lock was given.
6768 if test "${enable_libtool_lock+set}" = set; then :
6769 enableval=$enable_libtool_lock;
6772 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6774 # Some flags need to be propagated to the compiler or linker for good
6778 # Find out which ABI we are using.
6779 echo 'int i;' > conftest.$ac_ext
6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6781 (eval $ac_compile) 2>&5
6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6784 test $ac_status = 0; }; then
6785 case `/usr/bin/file conftest.$ac_objext` in
6797 # Find out which ABI we are using.
6798 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6800 (eval $ac_compile) 2>&5
6802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6803 test $ac_status = 0; }; then
6804 if test "$lt_cv_prog_gnu_ld" = yes; then
6805 case `/usr/bin/file conftest.$ac_objext` in
6807 LD="${LD-ld} -melf32bsmip"
6810 LD="${LD-ld} -melf32bmipn32"
6813 LD="${LD-ld} -melf64bmip"
6817 case `/usr/bin/file conftest.$ac_objext` in
6833 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6834 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6835 # Find out which ABI we are using.
6836 echo 'int i;' > conftest.$ac_ext
6837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6838 (eval $ac_compile) 2>&5
6840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6841 test $ac_status = 0; }; then
6842 case `/usr/bin/file conftest.o` in
6845 x86_64-*kfreebsd*-gnu)
6846 LD="${LD-ld} -m elf_i386_fbsd"
6849 LD="${LD-ld} -m elf_i386"
6851 ppc64-*linux*|powerpc64-*linux*)
6852 LD="${LD-ld} -m elf32ppclinux"
6855 LD="${LD-ld} -m elf_s390"
6858 LD="${LD-ld} -m elf32_sparc"
6864 x86_64-*kfreebsd*-gnu)
6865 LD="${LD-ld} -m elf_x86_64_fbsd"
6868 LD="${LD-ld} -m elf_x86_64"
6870 ppc*-*linux*|powerpc*-*linux*)
6871 LD="${LD-ld} -m elf64ppc"
6873 s390*-*linux*|s390*-*tpf*)
6874 LD="${LD-ld} -m elf64_s390"
6877 LD="${LD-ld} -m elf64_sparc"
6887 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6888 SAVE_CFLAGS="$CFLAGS"
6889 CFLAGS="$CFLAGS -belf"
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6891 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6892 if ${lt_cv_cc_needs_belf+:} false; then :
6893 $as_echo_n "(cached) " >&6
6896 ac_cpp='$CPP $CPPFLAGS'
6897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6902 /* end confdefs.h. */
6912 if ac_fn_c_try_link "$LINENO"; then :
6913 lt_cv_cc_needs_belf=yes
6915 lt_cv_cc_needs_belf=no
6917 rm -f core conftest.err conftest.$ac_objext \
6918 conftest$ac_exeext conftest.$ac_ext
6920 ac_cpp='$CPP $CPPFLAGS'
6921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6927 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6928 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6929 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6930 CFLAGS="$SAVE_CFLAGS"
6934 # Find out which ABI we are using.
6935 echo 'int i;' > conftest.$ac_ext
6936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6937 (eval $ac_compile) 2>&5
6939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6940 test $ac_status = 0; }; then
6941 case `/usr/bin/file conftest.o` in
6943 case $lt_cv_prog_gnu_ld in
6947 LD="${LD-ld} -m elf_x86_64"
6950 LD="${LD-ld} -m elf64_sparc"
6953 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6954 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6959 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6971 need_locks="$enable_libtool_lock"
6973 if test -n "$ac_tool_prefix"; then
6974 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6975 set dummy ${ac_tool_prefix}mt; ac_word=$2
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6977 $as_echo_n "checking for $ac_word... " >&6; }
6978 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6979 $as_echo_n "(cached) " >&6
6981 if test -n "$MANIFEST_TOOL"; then
6982 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6988 test -z "$as_dir" && as_dir=.
6989 for ac_exec_ext in '' $ac_executable_extensions; do
6990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6991 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7001 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7002 if test -n "$MANIFEST_TOOL"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7004 $as_echo "$MANIFEST_TOOL" >&6; }
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7007 $as_echo "no" >&6; }
7012 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7013 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7014 # Extract the first word of "mt", so it can be a program name with args.
7015 set dummy mt; ac_word=$2
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7017 $as_echo_n "checking for $ac_word... " >&6; }
7018 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7019 $as_echo_n "(cached) " >&6
7021 if test -n "$ac_ct_MANIFEST_TOOL"; then
7022 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7028 test -z "$as_dir" && as_dir=.
7029 for ac_exec_ext in '' $ac_executable_extensions; do
7030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7031 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7041 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7042 if test -n "$ac_ct_MANIFEST_TOOL"; then
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7044 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7047 $as_echo "no" >&6; }
7050 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7053 case $cross_compiling:$ac_tool_warned in
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7057 ac_tool_warned=yes ;;
7059 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7062 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7065 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7067 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7068 if ${lt_cv_path_mainfest_tool+:} false; then :
7069 $as_echo_n "(cached) " >&6
7071 lt_cv_path_mainfest_tool=no
7072 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7073 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7074 cat conftest.err >&5
7075 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7076 lt_cv_path_mainfest_tool=yes
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7081 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7082 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7092 rhapsody* | darwin*)
7093 if test -n "$ac_tool_prefix"; then
7094 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7095 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097 $as_echo_n "checking for $ac_word... " >&6; }
7098 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7099 $as_echo_n "(cached) " >&6
7101 if test -n "$DSYMUTIL"; then
7102 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7108 test -z "$as_dir" && as_dir=.
7109 for ac_exec_ext in '' $ac_executable_extensions; do
7110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7111 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7122 if test -n "$DSYMUTIL"; then
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7124 $as_echo "$DSYMUTIL" >&6; }
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127 $as_echo "no" >&6; }
7132 if test -z "$ac_cv_prog_DSYMUTIL"; then
7133 ac_ct_DSYMUTIL=$DSYMUTIL
7134 # Extract the first word of "dsymutil", so it can be a program name with args.
7135 set dummy dsymutil; ac_word=$2
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137 $as_echo_n "checking for $ac_word... " >&6; }
7138 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7139 $as_echo_n "(cached) " >&6
7141 if test -n "$ac_ct_DSYMUTIL"; then
7142 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148 test -z "$as_dir" && as_dir=.
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7162 if test -n "$ac_ct_DSYMUTIL"; then
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7164 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 $as_echo "no" >&6; }
7170 if test "x$ac_ct_DSYMUTIL" = x; then
7173 case $cross_compiling:$ac_tool_warned in
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177 ac_tool_warned=yes ;;
7179 DSYMUTIL=$ac_ct_DSYMUTIL
7182 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189 $as_echo_n "checking for $ac_word... " >&6; }
7190 if ${ac_cv_prog_NMEDIT+:} false; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$NMEDIT"; then
7194 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 test -z "$as_dir" && as_dir=.
7201 for ac_exec_ext in '' $ac_executable_extensions; do
7202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 NMEDIT=$ac_cv_prog_NMEDIT
7214 if test -n "$NMEDIT"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7216 $as_echo "$NMEDIT" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7224 if test -z "$ac_cv_prog_NMEDIT"; then
7225 ac_ct_NMEDIT=$NMEDIT
7226 # Extract the first word of "nmedit", so it can be a program name with args.
7227 set dummy nmedit; ac_word=$2
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229 $as_echo_n "checking for $ac_word... " >&6; }
7230 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7231 $as_echo_n "(cached) " >&6
7233 if test -n "$ac_ct_NMEDIT"; then
7234 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 test -z "$as_dir" && as_dir=.
7241 for ac_exec_ext in '' $ac_executable_extensions; do
7242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7254 if test -n "$ac_ct_NMEDIT"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7256 $as_echo "$ac_ct_NMEDIT" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7262 if test "x$ac_ct_NMEDIT" = x; then
7265 case $cross_compiling:$ac_tool_warned in
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269 ac_tool_warned=yes ;;
7271 NMEDIT=$ac_ct_NMEDIT
7274 NMEDIT="$ac_cv_prog_NMEDIT"
7277 if test -n "$ac_tool_prefix"; then
7278 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7279 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7281 $as_echo_n "checking for $ac_word... " >&6; }
7282 if ${ac_cv_prog_LIPO+:} false; then :
7283 $as_echo_n "(cached) " >&6
7285 if test -n "$LIPO"; then
7286 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir=.
7293 for ac_exec_ext in '' $ac_executable_extensions; do
7294 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7295 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7305 LIPO=$ac_cv_prog_LIPO
7306 if test -n "$LIPO"; then
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7308 $as_echo "$LIPO" >&6; }
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7311 $as_echo "no" >&6; }
7316 if test -z "$ac_cv_prog_LIPO"; then
7318 # Extract the first word of "lipo", so it can be a program name with args.
7319 set dummy lipo; ac_word=$2
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7321 $as_echo_n "checking for $ac_word... " >&6; }
7322 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7323 $as_echo_n "(cached) " >&6
7325 if test -n "$ac_ct_LIPO"; then
7326 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 test -z "$as_dir" && as_dir=.
7333 for ac_exec_ext in '' $ac_executable_extensions; do
7334 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7335 ac_cv_prog_ac_ct_LIPO="lipo"
7336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7345 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7346 if test -n "$ac_ct_LIPO"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7348 $as_echo "$ac_ct_LIPO" >&6; }
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7351 $as_echo "no" >&6; }
7354 if test "x$ac_ct_LIPO" = x; then
7357 case $cross_compiling:$ac_tool_warned in
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7361 ac_tool_warned=yes ;;
7366 LIPO="$ac_cv_prog_LIPO"
7369 if test -n "$ac_tool_prefix"; then
7370 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7371 set dummy ${ac_tool_prefix}otool; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_prog_OTOOL+:} false; then :
7375 $as_echo_n "(cached) " >&6
7377 if test -n "$OTOOL"; then
7378 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 OTOOL=$ac_cv_prog_OTOOL
7398 if test -n "$OTOOL"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7400 $as_echo "$OTOOL" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7408 if test -z "$ac_cv_prog_OTOOL"; then
7410 # Extract the first word of "otool", so it can be a program name with args.
7411 set dummy otool; ac_word=$2
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 $as_echo_n "checking for $ac_word... " >&6; }
7414 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 if test -n "$ac_ct_OTOOL"; then
7418 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 test -z "$as_dir" && as_dir=.
7425 for ac_exec_ext in '' $ac_executable_extensions; do
7426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7427 ac_cv_prog_ac_ct_OTOOL="otool"
7428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7437 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7438 if test -n "$ac_ct_OTOOL"; then
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7440 $as_echo "$ac_ct_OTOOL" >&6; }
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7443 $as_echo "no" >&6; }
7446 if test "x$ac_ct_OTOOL" = x; then
7449 case $cross_compiling:$ac_tool_warned in
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7453 ac_tool_warned=yes ;;
7458 OTOOL="$ac_cv_prog_OTOOL"
7461 if test -n "$ac_tool_prefix"; then
7462 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7463 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465 $as_echo_n "checking for $ac_word... " >&6; }
7466 if ${ac_cv_prog_OTOOL64+:} false; then :
7467 $as_echo_n "(cached) " >&6
7469 if test -n "$OTOOL64"; then
7470 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 test -z "$as_dir" && as_dir=.
7477 for ac_exec_ext in '' $ac_executable_extensions; do
7478 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7479 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 OTOOL64=$ac_cv_prog_OTOOL64
7490 if test -n "$OTOOL64"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7492 $as_echo "$OTOOL64" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7495 $as_echo "no" >&6; }
7500 if test -z "$ac_cv_prog_OTOOL64"; then
7501 ac_ct_OTOOL64=$OTOOL64
7502 # Extract the first word of "otool64", so it can be a program name with args.
7503 set dummy otool64; ac_word=$2
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505 $as_echo_n "checking for $ac_word... " >&6; }
7506 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7507 $as_echo_n "(cached) " >&6
7509 if test -n "$ac_ct_OTOOL64"; then
7510 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 test -z "$as_dir" && as_dir=.
7517 for ac_exec_ext in '' $ac_executable_extensions; do
7518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7519 ac_cv_prog_ac_ct_OTOOL64="otool64"
7520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7529 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7530 if test -n "$ac_ct_OTOOL64"; then
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7532 $as_echo "$ac_ct_OTOOL64" >&6; }
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7535 $as_echo "no" >&6; }
7538 if test "x$ac_ct_OTOOL64" = x; then
7541 case $cross_compiling:$ac_tool_warned in
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7545 ac_tool_warned=yes ;;
7547 OTOOL64=$ac_ct_OTOOL64
7550 OTOOL64="$ac_cv_prog_OTOOL64"
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7580 $as_echo_n "checking for -single_module linker flag... " >&6; }
7581 if ${lt_cv_apple_cc_single_mod+:} false; then :
7582 $as_echo_n "(cached) " >&6
7584 lt_cv_apple_cc_single_mod=no
7585 if test -z "${LT_MULTI_MODULE}"; then
7586 # By default we will add the -single_module flag. You can override
7587 # by either setting the environment variable LT_MULTI_MODULE
7588 # non-empty at configure time, or by adding -multi_module to the
7590 rm -rf libconftest.dylib*
7591 echo "int foo(void){return 1;}" > conftest.c
7592 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7593 -dynamiclib -Wl,-single_module conftest.c" >&5
7594 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7595 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7597 # If there is a non-empty error log, and "single_module"
7598 # appears in it, assume the flag caused a linker warning
7599 if test -s conftest.err && $GREP single_module conftest.err; then
7600 cat conftest.err >&5
7601 # Otherwise, if the output was created with a 0 exit code from
7602 # the compiler, it worked.
7603 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7604 lt_cv_apple_cc_single_mod=yes
7606 cat conftest.err >&5
7608 rm -rf libconftest.dylib*
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7613 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7616 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7617 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7618 $as_echo_n "(cached) " >&6
7620 lt_cv_ld_exported_symbols_list=no
7621 save_LDFLAGS=$LDFLAGS
7622 echo "_main" > conftest.sym
7623 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7635 if ac_fn_c_try_link "$LINENO"; then :
7636 lt_cv_ld_exported_symbols_list=yes
7638 lt_cv_ld_exported_symbols_list=no
7640 rm -f core conftest.err conftest.$ac_objext \
7641 conftest$ac_exeext conftest.$ac_ext
7642 LDFLAGS="$save_LDFLAGS"
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7646 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7649 $as_echo_n "checking for -force_load linker flag... " >&6; }
7650 if ${lt_cv_ld_force_load+:} false; then :
7651 $as_echo_n "(cached) " >&6
7653 lt_cv_ld_force_load=no
7654 cat > conftest.c << _LT_EOF
7655 int forced_loaded() { return 2;}
7657 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7658 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7659 echo "$AR cru libconftest.a conftest.o" >&5
7660 $AR cru libconftest.a conftest.o 2>&5
7661 echo "$RANLIB libconftest.a" >&5
7662 $RANLIB libconftest.a 2>&5
7663 cat > conftest.c << _LT_EOF
7664 int main() { return 0;}
7666 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7667 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7669 if test -s conftest.err && $GREP force_load conftest.err; then
7670 cat conftest.err >&5
7671 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7672 lt_cv_ld_force_load=yes
7674 cat conftest.err >&5
7676 rm -f conftest.err libconftest.a conftest conftest.c
7677 rm -rf conftest.dSYM
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7681 $as_echo "$lt_cv_ld_force_load" >&6; }
7683 rhapsody* | darwin1.[012])
7684 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7686 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7687 darwin*) # darwin 5.x on
7688 # if running on 10.5 or later, the deployment target defaults
7689 # to the OS version, if on x86, and 10.4, the deployment
7690 # target defaults to 10.4. Don't you love it?
7691 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7692 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7693 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7695 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7697 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7701 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7702 _lt_dar_single_mod='$single_module'
7704 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7705 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7707 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7709 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7710 _lt_dsymutil='~$DSYMUTIL $lib || :'
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7719 $as_echo_n "checking for ANSI C header files... " >&6; }
7720 if ${ac_cv_header_stdc+:} false; then :
7721 $as_echo_n "(cached) " >&6
7723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7724 /* end confdefs.h. */
7738 if ac_fn_c_try_compile "$LINENO"; then :
7739 ac_cv_header_stdc=yes
7741 ac_cv_header_stdc=no
7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7745 if test $ac_cv_header_stdc = yes; then
7746 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7748 /* end confdefs.h. */
7752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7753 $EGREP "memchr" >/dev/null 2>&1; then :
7756 ac_cv_header_stdc=no
7762 if test $ac_cv_header_stdc = yes; then
7763 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7765 /* end confdefs.h. */
7769 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7770 $EGREP "free" >/dev/null 2>&1; then :
7773 ac_cv_header_stdc=no
7779 if test $ac_cv_header_stdc = yes; then
7780 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7781 if test "$cross_compiling" = yes; then :
7784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7785 /* end confdefs.h. */
7788 #if ((' ' & 0x0FF) == 0x020)
7789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7792 # define ISLOWER(c) \
7793 (('a' <= (c) && (c) <= 'i') \
7794 || ('j' <= (c) && (c) <= 'r') \
7795 || ('s' <= (c) && (c) <= 'z'))
7796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7804 for (i = 0; i < 256; i++)
7805 if (XOR (islower (i), ISLOWER (i))
7806 || toupper (i) != TOUPPER (i))
7811 if ac_fn_c_try_run "$LINENO"; then :
7814 ac_cv_header_stdc=no
7816 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7817 conftest.$ac_objext conftest.beam conftest.$ac_ext
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7823 $as_echo "$ac_cv_header_stdc" >&6; }
7824 if test $ac_cv_header_stdc = yes; then
7826 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7830 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7831 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7832 inttypes.h stdint.h unistd.h
7834 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7835 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7837 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7838 cat >>confdefs.h <<_ACEOF
7839 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7847 for ac_header in dlfcn.h
7849 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7851 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_DLFCN_H 1
7874 # Check whether --enable-shared was given.
7875 if test "${enable_shared+set}" = set; then :
7876 enableval=$enable_shared; p=${PACKAGE-default}
7878 yes) enable_shared=yes ;;
7879 no) enable_shared=no ;;
7882 # Look at the argument we got. We use all the common list separators.
7883 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7884 for pkg in $enableval; do
7886 if test "X$pkg" = "X$p"; then
7905 # Check whether --enable-static was given.
7906 if test "${enable_static+set}" = set; then :
7907 enableval=$enable_static; p=${PACKAGE-default}
7909 yes) enable_static=yes ;;
7910 no) enable_static=no ;;
7913 # Look at the argument we got. We use all the common list separators.
7914 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7915 for pkg in $enableval; do
7917 if test "X$pkg" = "X$p"; then
7937 # Check whether --with-pic was given.
7938 if test "${with_pic+set}" = set; then :
7939 withval=$with_pic; lt_p=${PACKAGE-default}
7941 yes|no) pic_mode=$withval ;;
7944 # Look at the argument we got. We use all the common list separators.
7945 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7946 for lt_pkg in $withval; do
7948 if test "X$lt_pkg" = "X$lt_p"; then
7960 test -z "$pic_mode" && pic_mode=default
7968 # Check whether --enable-fast-install was given.
7969 if test "${enable_fast_install+set}" = set; then :
7970 enableval=$enable_fast_install; p=${PACKAGE-default}
7972 yes) enable_fast_install=yes ;;
7973 no) enable_fast_install=no ;;
7975 enable_fast_install=no
7976 # Look at the argument we got. We use all the common list separators.
7977 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7978 for pkg in $enableval; do
7980 if test "X$pkg" = "X$p"; then
7981 enable_fast_install=yes
7988 enable_fast_install=yes
8001 # This can be used to rebuild libtool when needed
8002 LIBTOOL_DEPS="$ltmain"
8004 # Always use our own libtool.
8005 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8036 test -z "$LN_S" && LN_S="ln -s"
8051 if test -n "${ZSH_VERSION+set}" ; then
8052 setopt NO_GLOB_SUBST
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8056 $as_echo_n "checking for objdir... " >&6; }
8057 if ${lt_cv_objdir+:} false; then :
8058 $as_echo_n "(cached) " >&6
8060 rm -f .libs 2>/dev/null
8061 mkdir .libs 2>/dev/null
8062 if test -d .libs; then
8065 # MS-DOS does not allow filenames that begin with a dot.
8068 rmdir .libs 2>/dev/null
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8071 $as_echo "$lt_cv_objdir" >&6; }
8072 objdir=$lt_cv_objdir
8078 cat >>confdefs.h <<_ACEOF
8079 #define LT_OBJDIR "$lt_cv_objdir/"
8087 # AIX sometimes has problems with the GCC collect2 program. For some
8088 # reason, if we set the COLLECT_NAMES environment variable, the problems
8089 # vanish in a puff of smoke.
8090 if test "X${COLLECT_NAMES+set}" != Xset; then
8092 export COLLECT_NAMES
8099 can_build_shared=yes
8101 # All known linkers require a `.a' archive for static linking (except MSVC,
8102 # which needs '.lib').
8105 with_gnu_ld="$lt_cv_prog_gnu_ld"
8108 old_CFLAGS="$CFLAGS"
8110 # Set sane defaults for various variables
8111 test -z "$CC" && CC=cc
8112 test -z "$LTCC" && LTCC=$CC
8113 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8114 test -z "$LD" && LD=ld
8115 test -z "$ac_objext" && ac_objext=o
8117 for cc_temp in $compiler""; do
8119 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8120 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8125 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8128 # Only perform the check for file, if the check method requires it
8129 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8130 case $deplibs_check_method in
8132 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8134 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8135 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8136 $as_echo_n "(cached) " >&6
8140 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8143 lt_save_MAGIC_CMD="$MAGIC_CMD"
8144 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8145 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8146 for ac_dir in $ac_dummy; do
8148 test -z "$ac_dir" && ac_dir=.
8149 if test -f $ac_dir/${ac_tool_prefix}file; then
8150 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8151 if test -n "$file_magic_test_file"; then
8152 case $deplibs_check_method in
8154 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8155 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8156 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8157 $EGREP "$file_magic_regex" > /dev/null; then
8162 *** Warning: the command libtool uses to detect shared libraries,
8163 *** $file_magic_cmd, produces output that libtool cannot recognize.
8164 *** The result is that libtool may fail to recognize shared libraries
8165 *** as such. This will affect the creation of libtool libraries that
8166 *** depend on shared libraries, but programs linked with such libtool
8167 *** libraries will work regardless of this problem. Nevertheless, you
8168 *** may want to report the problem to your system manager and/or to
8169 *** bug-libtool@gnu.org
8179 MAGIC_CMD="$lt_save_MAGIC_CMD"
8184 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8185 if test -n "$MAGIC_CMD"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8187 $as_echo "$MAGIC_CMD" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8190 $as_echo "no" >&6; }
8197 if test -z "$lt_cv_path_MAGIC_CMD"; then
8198 if test -n "$ac_tool_prefix"; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8200 $as_echo_n "checking for file... " >&6; }
8201 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8202 $as_echo_n "(cached) " >&6
8206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209 lt_save_MAGIC_CMD="$MAGIC_CMD"
8210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8211 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8212 for ac_dir in $ac_dummy; do
8214 test -z "$ac_dir" && ac_dir=.
8215 if test -f $ac_dir/file; then
8216 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8217 if test -n "$file_magic_test_file"; then
8218 case $deplibs_check_method in
8220 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8221 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8222 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8223 $EGREP "$file_magic_regex" > /dev/null; then
8228 *** Warning: the command libtool uses to detect shared libraries,
8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
8230 *** The result is that libtool may fail to recognize shared libraries
8231 *** as such. This will affect the creation of libtool libraries that
8232 *** depend on shared libraries, but programs linked with such libtool
8233 *** libraries will work regardless of this problem. Nevertheless, you
8234 *** may want to report the problem to your system manager and/or to
8235 *** bug-libtool@gnu.org
8245 MAGIC_CMD="$lt_save_MAGIC_CMD"
8250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8251 if test -n "$MAGIC_CMD"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8253 $as_echo "$MAGIC_CMD" >&6; }
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8269 # Use C for the default configuration in the libtool script
8273 ac_cpp='$CPP $CPPFLAGS'
8274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8279 # Source file extension for C test sources.
8282 # Object file extension for compiled C test sources.
8286 # Code to be used in simple compile tests
8287 lt_simple_compile_test_code="int some_variable = 0;"
8289 # Code to be used in simple link tests
8290 lt_simple_link_test_code='int main(){return(0);}'
8298 # If no C compiler was specified, use CC.
8301 # If no C compiler flags were specified, use CFLAGS.
8302 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8304 # Allow CC to be a program name with arguments.
8307 # Save the default compiler, since it gets overwritten when the other
8308 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8309 compiler_DEFAULT=$CC
8311 # save warnings/boilerplate of simple test code
8312 ac_outfile=conftest.$ac_objext
8313 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8314 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8315 _lt_compiler_boilerplate=`cat conftest.err`
8318 ac_outfile=conftest.$ac_objext
8319 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8320 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8321 _lt_linker_boilerplate=`cat conftest.err`
8326 ## There is no encapsulation within the following macros, do not change
8327 ## the running order or otherwise move them around unless you know exactly
8328 ## what you are doing...
8329 if test -n "$compiler"; then
8331 lt_prog_compiler_no_builtin_flag=
8333 if test "$GCC" = yes; then
8334 case $cc_basename in
8336 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8338 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8342 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8343 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8344 $as_echo_n "(cached) " >&6
8346 lt_cv_prog_compiler_rtti_exceptions=no
8347 ac_outfile=conftest.$ac_objext
8348 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8349 lt_compiler_flag="-fno-rtti -fno-exceptions"
8350 # Insert the option either (1) after the last *FLAGS variable, or
8351 # (2) before a word containing "conftest.", or (3) at the end.
8352 # Note that $ac_compile itself does not contain backslashes and begins
8353 # with a dollar sign (not a hyphen), so the echo should work correctly.
8354 # The option is referenced via a variable to avoid confusing sed.
8355 lt_compile=`echo "$ac_compile" | $SED \
8356 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8357 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8358 -e 's:$: $lt_compiler_flag:'`
8359 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8360 (eval "$lt_compile" 2>conftest.err)
8362 cat conftest.err >&5
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 if (exit $ac_status) && test -s "$ac_outfile"; then
8365 # The compiler can only warn and ignore the option if not recognized
8366 # So say no if there are warnings other than the usual output.
8367 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8368 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8369 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8370 lt_cv_prog_compiler_rtti_exceptions=yes
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8377 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8379 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8380 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8392 lt_prog_compiler_wl=
8393 lt_prog_compiler_pic=
8394 lt_prog_compiler_static=
8397 if test "$GCC" = yes; then
8398 lt_prog_compiler_wl='-Wl,'
8399 lt_prog_compiler_static='-static'
8403 # All AIX code is PIC.
8404 if test "$host_cpu" = ia64; then
8405 # AIX 5 now supports IA64 processor
8406 lt_prog_compiler_static='-Bstatic'
8413 # see comment about AmigaOS4 .so support
8414 lt_prog_compiler_pic='-fPIC'
8417 # FIXME: we need at least 68020 code to build shared libraries, but
8418 # adding the `-m68020' flag to GCC prevents building anything better,
8420 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8425 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8426 # PIC is the default for these OSes.
8429 mingw* | cygwin* | pw32* | os2* | cegcc*)
8430 # This hack is so that the source file can tell whether it is being
8431 # built for inclusion in a dll (and should export symbols for example).
8432 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8433 # (--disable-auto-import) libraries
8434 lt_prog_compiler_pic='-DDLL_EXPORT'
8437 darwin* | rhapsody*)
8438 # PIC is the default on this platform
8439 # Common symbols not allowed in MH_DYLIB files
8440 lt_prog_compiler_pic='-fno-common'
8444 # PIC is the default for Haiku.
8445 # The "-static" flag exists, but is broken.
8446 lt_prog_compiler_static=
8450 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8451 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8452 # sets the default TLS model and affects inlining.
8458 lt_prog_compiler_pic='-fPIC'
8464 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8465 # Instead, we relocate shared libraries at runtime.
8469 # Just because we use GCC doesn't mean we suddenly get shared libraries
8470 # on systems that don't support them.
8471 lt_prog_compiler_can_build_shared=no
8476 # QNX uses GNU C++, but need to define -shared option too, otherwise
8478 lt_prog_compiler_pic='-fPIC -shared'
8482 if test -d /usr/nec; then
8483 lt_prog_compiler_pic=-Kconform_pic
8488 lt_prog_compiler_pic='-fPIC'
8492 case $cc_basename in
8493 nvcc*) # Cuda Compiler Driver 2.2
8494 lt_prog_compiler_wl='-Xlinker '
8495 if test -n "$lt_prog_compiler_pic"; then
8496 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8501 # PORTME Check for flag to pass linker flags through the system compiler.
8504 lt_prog_compiler_wl='-Wl,'
8505 if test "$host_cpu" = ia64; then
8506 # AIX 5 now supports IA64 processor
8507 lt_prog_compiler_static='-Bstatic'
8509 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8513 mingw* | cygwin* | pw32* | os2* | cegcc*)
8514 # This hack is so that the source file can tell whether it is being
8515 # built for inclusion in a dll (and should export symbols for example).
8516 lt_prog_compiler_pic='-DDLL_EXPORT'
8519 hpux9* | hpux10* | hpux11*)
8520 lt_prog_compiler_wl='-Wl,'
8521 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8528 lt_prog_compiler_pic='+Z'
8531 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8532 lt_prog_compiler_static='${wl}-a ${wl}archive'
8535 irix5* | irix6* | nonstopux*)
8536 lt_prog_compiler_wl='-Wl,'
8537 # PIC (with -KPIC) is the default.
8538 lt_prog_compiler_static='-non_shared'
8541 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8542 case $cc_basename in
8543 # old Intel for x86_64 which still supported -KPIC.
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_pic='-KPIC'
8547 lt_prog_compiler_static='-static'
8549 # icc used to be incompatible with GCC.
8550 # ICC 10 doesn't accept -KPIC any more.
8552 lt_prog_compiler_wl='-Wl,'
8553 lt_prog_compiler_pic='-fPIC'
8554 lt_prog_compiler_static='-static'
8556 # Lahey Fortran 8.1.
8558 lt_prog_compiler_wl='-Wl,'
8559 lt_prog_compiler_pic='--shared'
8560 lt_prog_compiler_static='--static'
8563 # NAG Fortran compiler
8564 lt_prog_compiler_wl='-Wl,-Wl,,'
8565 lt_prog_compiler_pic='-PIC'
8566 lt_prog_compiler_static='-Bstatic'
8568 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8569 # Portland Group compilers (*not* the Pentium gcc compiler,
8570 # which looks to be a dead project)
8571 lt_prog_compiler_wl='-Wl,'
8572 lt_prog_compiler_pic='-fpic'
8573 lt_prog_compiler_static='-Bstatic'
8576 lt_prog_compiler_wl='-Wl,'
8577 # All Alpha code is PIC.
8578 lt_prog_compiler_static='-non_shared'
8580 xl* | bgxl* | bgf* | mpixl*)
8581 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8582 lt_prog_compiler_wl='-Wl,'
8583 lt_prog_compiler_pic='-qpic'
8584 lt_prog_compiler_static='-qstaticlink'
8587 case `$CC -V 2>&1 | sed 5q` in
8588 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8589 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8590 lt_prog_compiler_pic='-KPIC'
8591 lt_prog_compiler_static='-Bstatic'
8592 lt_prog_compiler_wl=''
8594 *Sun\ F* | *Sun*Fortran*)
8595 lt_prog_compiler_pic='-KPIC'
8596 lt_prog_compiler_static='-Bstatic'
8597 lt_prog_compiler_wl='-Qoption ld '
8601 lt_prog_compiler_pic='-KPIC'
8602 lt_prog_compiler_static='-Bstatic'
8603 lt_prog_compiler_wl='-Wl,'
8605 *Intel*\ [CF]*Compiler*)
8606 lt_prog_compiler_wl='-Wl,'
8607 lt_prog_compiler_pic='-fPIC'
8608 lt_prog_compiler_static='-static'
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-fpic'
8613 lt_prog_compiler_static='-Bstatic'
8621 lt_prog_compiler_pic='-KPIC'
8622 lt_prog_compiler_static='-Bstatic'
8626 # QNX uses GNU C++, but need to define -shared option too, otherwise
8628 lt_prog_compiler_pic='-fPIC -shared'
8631 osf3* | osf4* | osf5*)
8632 lt_prog_compiler_wl='-Wl,'
8633 # All OSF/1 code is PIC.
8634 lt_prog_compiler_static='-non_shared'
8638 lt_prog_compiler_static='-non_shared'
8642 lt_prog_compiler_pic='-KPIC'
8643 lt_prog_compiler_static='-Bstatic'
8644 case $cc_basename in
8645 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8646 lt_prog_compiler_wl='-Qoption ld ';;
8648 lt_prog_compiler_wl='-Wl,';;
8653 lt_prog_compiler_wl='-Qoption ld '
8654 lt_prog_compiler_pic='-PIC'
8655 lt_prog_compiler_static='-Bstatic'
8658 sysv4 | sysv4.2uw2* | sysv4.3*)
8659 lt_prog_compiler_wl='-Wl,'
8660 lt_prog_compiler_pic='-KPIC'
8661 lt_prog_compiler_static='-Bstatic'
8665 if test -d /usr/nec ;then
8666 lt_prog_compiler_pic='-Kconform_pic'
8667 lt_prog_compiler_static='-Bstatic'
8671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8672 lt_prog_compiler_wl='-Wl,'
8673 lt_prog_compiler_pic='-KPIC'
8674 lt_prog_compiler_static='-Bstatic'
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_can_build_shared=no
8683 lt_prog_compiler_pic='-pic'
8684 lt_prog_compiler_static='-Bstatic'
8688 lt_prog_compiler_can_build_shared=no
8694 # For platforms which do not support PIC, -DPIC is meaningless:
8696 lt_prog_compiler_pic=
8699 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8704 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8705 if ${lt_cv_prog_compiler_pic+:} false; then :
8706 $as_echo_n "(cached) " >&6
8708 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8711 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8712 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8715 # Check to make sure the PIC flag actually works.
8717 if test -n "$lt_prog_compiler_pic"; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8719 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8720 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8721 $as_echo_n "(cached) " >&6
8723 lt_cv_prog_compiler_pic_works=no
8724 ac_outfile=conftest.$ac_objext
8725 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8726 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8727 # Insert the option either (1) after the last *FLAGS variable, or
8728 # (2) before a word containing "conftest.", or (3) at the end.
8729 # Note that $ac_compile itself does not contain backslashes and begins
8730 # with a dollar sign (not a hyphen), so the echo should work correctly.
8731 # The option is referenced via a variable to avoid confusing sed.
8732 lt_compile=`echo "$ac_compile" | $SED \
8733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8735 -e 's:$: $lt_compiler_flag:'`
8736 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8737 (eval "$lt_compile" 2>conftest.err)
8739 cat conftest.err >&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 if (exit $ac_status) && test -s "$ac_outfile"; then
8742 # The compiler can only warn and ignore the option if not recognized
8743 # So say no if there are warnings other than the usual output.
8744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8745 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8746 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8747 lt_cv_prog_compiler_pic_works=yes
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8754 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8756 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8757 case $lt_prog_compiler_pic in
8759 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8762 lt_prog_compiler_pic=
8763 lt_prog_compiler_can_build_shared=no
8779 # Check to make sure the static flag actually works.
8781 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8783 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8784 if ${lt_cv_prog_compiler_static_works+:} false; then :
8785 $as_echo_n "(cached) " >&6
8787 lt_cv_prog_compiler_static_works=no
8788 save_LDFLAGS="$LDFLAGS"
8789 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8790 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8791 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8792 # The linker can only warn and ignore the option if not recognized
8793 # So say no if there are warnings
8794 if test -s conftest.err; then
8795 # Append any errors to the config.log.
8796 cat conftest.err 1>&5
8797 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8798 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8799 if diff conftest.exp conftest.er2 >/dev/null; then
8800 lt_cv_prog_compiler_static_works=yes
8803 lt_cv_prog_compiler_static_works=yes
8807 LDFLAGS="$save_LDFLAGS"
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8811 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8813 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8816 lt_prog_compiler_static=
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8826 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8827 if ${lt_cv_prog_compiler_c_o+:} false; then :
8828 $as_echo_n "(cached) " >&6
8830 lt_cv_prog_compiler_c_o=no
8831 $RM -r conftest 2>/dev/null
8835 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8837 lt_compiler_flag="-o out/conftest2.$ac_objext"
8838 # Insert the option either (1) after the last *FLAGS variable, or
8839 # (2) before a word containing "conftest.", or (3) at the end.
8840 # Note that $ac_compile itself does not contain backslashes and begins
8841 # with a dollar sign (not a hyphen), so the echo should work correctly.
8842 lt_compile=`echo "$ac_compile" | $SED \
8843 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8844 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8845 -e 's:$: $lt_compiler_flag:'`
8846 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8847 (eval "$lt_compile" 2>out/conftest.err)
8849 cat out/conftest.err >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8853 # The compiler can only warn and ignore the option if not recognized
8854 # So say no if there are warnings
8855 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8856 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8857 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8858 lt_cv_prog_compiler_c_o=yes
8863 # SGI C++ compiler will create directory out/ii_files/ for
8864 # template instantiation
8865 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8866 $RM out/* && rmdir out
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8873 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8881 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8882 if ${lt_cv_prog_compiler_c_o+:} false; then :
8883 $as_echo_n "(cached) " >&6
8885 lt_cv_prog_compiler_c_o=no
8886 $RM -r conftest 2>/dev/null
8890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8892 lt_compiler_flag="-o out/conftest2.$ac_objext"
8893 # Insert the option either (1) after the last *FLAGS variable, or
8894 # (2) before a word containing "conftest.", or (3) at the end.
8895 # Note that $ac_compile itself does not contain backslashes and begins
8896 # with a dollar sign (not a hyphen), so the echo should work correctly.
8897 lt_compile=`echo "$ac_compile" | $SED \
8898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8900 -e 's:$: $lt_compiler_flag:'`
8901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8902 (eval "$lt_compile" 2>out/conftest.err)
8904 cat out/conftest.err >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8908 # The compiler can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8911 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8912 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8913 lt_cv_prog_compiler_c_o=yes
8918 # SGI C++ compiler will create directory out/ii_files/ for
8919 # template instantiation
8920 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8921 $RM out/* && rmdir out
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8928 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8933 hard_links="nottested"
8934 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8935 # do not overwrite the value of need_locks provided by the user
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8937 $as_echo_n "checking if we can lock with hard links... " >&6; }
8940 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8942 ln conftest.a conftest.b 2>&5 || hard_links=no
8943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8945 $as_echo "$hard_links" >&6; }
8946 if test "$hard_links" = no; then
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8948 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8961 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8964 allow_undefined_flag=
8965 always_export_symbols=no
8967 archive_expsym_cmds=
8968 compiler_needs_object=no
8969 enable_shared_with_static_runtimes=no
8970 export_dynamic_flag_spec=
8971 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8972 hardcode_automatic=no
8974 hardcode_direct_absolute=no
8975 hardcode_libdir_flag_spec=
8976 hardcode_libdir_separator=
8978 hardcode_shlibpath_var=unsupported
8980 link_all_deplibs=unknown
8983 old_archive_from_new_cmds=
8984 old_archive_from_expsyms_cmds=
8985 thread_safe_flag_spec=
8986 whole_archive_flag_spec=
8987 # include_expsyms should be a list of space-separated symbols to be *always*
8988 # included in the symbol list
8990 # exclude_expsyms can be an extended regexp of symbols to exclude
8991 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8992 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8993 # as well as any symbol that contains `d'.
8994 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8995 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8996 # platforms (ab)use it in PIC code, but their linkers get confused if
8997 # the symbol is explicitly referenced. Since portable code cannot
8998 # rely on this symbol name, it's probably fine to never include it in
8999 # preloaded symbol tables.
9000 # Exclude shared library initialization/finalization symbols.
9001 extract_expsyms_cmds=
9004 cygwin* | mingw* | pw32* | cegcc*)
9005 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9006 # When not using gcc, we currently assume that we are using
9007 # Microsoft Visual C++.
9008 if test "$GCC" != yes; then
9013 # we just hope/assume this is gcc and not c89 (= MSVC++)
9023 # On some targets, GNU ld is compatible enough with the native linker
9024 # that we're better off using the native interface for both.
9025 lt_use_gnu_ld_interface=no
9026 if test "$with_gnu_ld" = yes; then
9029 # The AIX port of GNU ld has always aspired to compatibility
9030 # with the native linker. However, as the warning in the GNU ld
9031 # block says, versions before 2.19.5* couldn't really create working
9032 # shared libraries, regardless of the interface used.
9033 case `$LD -v 2>&1` in
9034 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9035 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9036 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9038 lt_use_gnu_ld_interface=yes
9043 lt_use_gnu_ld_interface=yes
9048 if test "$lt_use_gnu_ld_interface" = yes; then
9049 # If archive_cmds runs LD, not CC, wlarc should be empty
9052 # Set some defaults for GNU ld with shared library support. These
9053 # are reset later if shared libraries are not supported. Putting them
9054 # here allows them to be overridden if necessary.
9055 runpath_var=LD_RUN_PATH
9056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9057 export_dynamic_flag_spec='${wl}--export-dynamic'
9058 # ancient GNU ld didn't support --whole-archive et. al.
9059 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9060 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9062 whole_archive_flag_spec=
9064 supports_anon_versioning=no
9065 case `$LD -v 2>&1` in
9066 *GNU\ gold*) supports_anon_versioning=yes ;;
9067 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9068 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9069 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9070 *\ 2.11.*) ;; # other 2.11 versions
9071 *) supports_anon_versioning=yes ;;
9074 # See if GNU ld supports shared libraries.
9077 # On AIX/PPC, the GNU linker is very broken
9078 if test "$host_cpu" != ia64; then
9082 *** Warning: the GNU linker, at least up to release 2.19, is reported
9083 *** to be unable to reliably create shared libraries on AIX.
9084 *** Therefore, libtool is disabling shared libraries support. If you
9085 *** really care for shared libraries, you may want to install binutils
9086 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9087 *** You will then need to restart the configuration process.
9096 # see comment about AmigaOS4 .so support
9097 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098 archive_expsym_cmds=''
9101 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)'
9102 hardcode_libdir_flag_spec='-L$libdir'
9103 hardcode_minus_L=yes
9109 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9110 allow_undefined_flag=unsupported
9111 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9112 # support --undefined. This deserves some investigation. FIXME
9113 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9119 cygwin* | mingw* | pw32* | cegcc*)
9120 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9121 # as there is no search path for DLLs.
9122 hardcode_libdir_flag_spec='-L$libdir'
9123 export_dynamic_flag_spec='${wl}--export-all-symbols'
9124 allow_undefined_flag=unsupported
9125 always_export_symbols=no
9126 enable_shared_with_static_runtimes=yes
9127 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'
9128 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9130 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9131 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9132 # If the export-symbols file already is a .def file (1st line
9133 # is EXPORTS), use it as is; otherwise, prepend...
9134 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9135 cp $export_symbols $output_objdir/$soname.def;
9137 echo EXPORTS > $output_objdir/$soname.def;
9138 cat $export_symbols >> $output_objdir/$soname.def;
9140 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9147 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148 link_all_deplibs=yes
9153 hardcode_shlibpath_var=no
9154 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9155 export_dynamic_flag_spec='${wl}-E'
9156 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9157 # Instead, shared libraries are loaded at an image base (0x10000000 by
9158 # default) and relocated if they conflict, which is a slow very memory
9159 # consuming and fragmenting process. To avoid this, we pick a random,
9160 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9161 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9162 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9163 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'
9166 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9168 if test "$host_os" = linux-dietlibc; then
9169 case $cc_basename in
9170 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9173 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9174 && test "$tmp_diet" = no
9176 tmp_addflag=' $pic_flag'
9177 tmp_sharedflag='-shared'
9178 case $cc_basename,$host_cpu in
9179 pgcc*) # Portland Group C compiler
9180 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'
9181 tmp_addflag=' $pic_flag'
9183 pgf77* | pgf90* | pgf95* | pgfortran*)
9184 # Portland Group f77 and f90 compilers
9185 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'
9186 tmp_addflag=' $pic_flag -Mnomain' ;;
9187 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9188 tmp_addflag=' -i_dynamic' ;;
9189 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9190 tmp_addflag=' -i_dynamic -nofor_main' ;;
9191 ifc* | ifort*) # Intel Fortran compiler
9192 tmp_addflag=' -nofor_main' ;;
9193 lf95*) # Lahey Fortran 8.1
9194 whole_archive_flag_spec=
9195 tmp_sharedflag='--shared' ;;
9196 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9197 tmp_sharedflag='-qmkshrobj'
9199 nvcc*) # Cuda Compiler Driver 2.2
9200 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'
9201 compiler_needs_object=yes
9204 case `$CC -V 2>&1 | sed 5q` in
9205 *Sun\ C*) # Sun C 5.9
9206 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'
9207 compiler_needs_object=yes
9208 tmp_sharedflag='-G' ;;
9209 *Sun\ F*) # Sun Fortran 8.3
9210 tmp_sharedflag='-G' ;;
9212 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9214 if test "x$supports_anon_versioning" = xyes; then
9215 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9216 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9217 echo "local: *; };" >> $output_objdir/$libname.ver~
9218 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9221 case $cc_basename in
9222 xlf* | bgf* | bgxlf* | mpixlf*)
9223 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9224 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9225 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9226 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9227 if test "x$supports_anon_versioning" = xyes; then
9228 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9229 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9230 echo "local: *; };" >> $output_objdir/$libname.ver~
9231 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9241 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9242 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9245 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9246 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9251 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9255 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9256 *** create shared libraries on Solaris systems. Therefore, libtool
9257 *** is disabling shared libraries support. We urge you to upgrade GNU
9258 *** binutils to release 2.9.1 or newer. Another option is to modify
9259 *** your PATH or compiler configuration so that the native linker is
9260 *** used, and then restart.
9263 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9264 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9265 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9271 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9272 case `$LD -v 2>&1` in
9273 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9277 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9278 *** reliably create shared libraries on SCO systems. Therefore, libtool
9279 *** is disabling shared libraries support. We urge you to upgrade GNU
9280 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9281 *** your PATH or compiler configuration so that the native linker is
9282 *** used, and then restart.
9287 # For security reasons, it is highly recommended that you always
9288 # use absolute paths for naming shared libraries, and exclude the
9289 # DT_RUNPATH tag from executables and libraries. But doing so
9290 # requires that you compile everything twice, which is a pain.
9291 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9292 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9293 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9294 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9306 hardcode_shlibpath_var=no
9310 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9311 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9312 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9319 if test "$ld_shlibs" = no; then
9321 hardcode_libdir_flag_spec=
9322 export_dynamic_flag_spec=
9323 whole_archive_flag_spec=
9326 # PORTME fill in a description of your system's linker (not GNU ld)
9329 allow_undefined_flag=unsupported
9330 always_export_symbols=yes
9331 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'
9332 # Note: this linker hardcodes the directories in LIBPATH if there
9333 # are no directories specified by -L.
9334 hardcode_minus_L=yes
9335 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9336 # Neither direct hardcoding nor static linking is supported with a
9338 hardcode_direct=unsupported
9343 if test "$host_cpu" = ia64; then
9344 # On IA64, the linker does run time linking by default, so we don't
9345 # have to do anything special.
9346 aix_use_runtimelinking=no
9347 exp_sym_flag='-Bexport'
9350 # If we're using GNU nm, then we don't want the "-C" option.
9351 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9352 # Also, AIX nm treats weak defined symbols like other global
9353 # defined symbols, whereas GNU nm marks them as "W".
9354 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9355 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9357 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9359 aix_use_runtimelinking=no
9361 # Test if we are trying to use run time linking or normal
9362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9363 # need to do runtime linking.
9364 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9365 for ld_flag in $LDFLAGS; do
9366 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9367 aix_use_runtimelinking=yes
9374 exp_sym_flag='-bexport'
9375 no_entry_flag='-bnoentry'
9378 # When large executables or shared objects are built, AIX ld can
9379 # have problems creating the table of contents. If linking a library
9380 # or program results in "error TOC overflow" add -mminimal-toc to
9381 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9382 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9386 hardcode_direct_absolute=yes
9387 hardcode_libdir_separator=':'
9388 link_all_deplibs=yes
9389 file_list_spec='${wl}-f,'
9391 if test "$GCC" = yes; then
9392 case $host_os in aix4.[012]|aix4.[012].*)
9393 # We only want to do this on AIX 4.2 and lower, the check
9394 # below for broken collect2 doesn't work under 4.3+
9395 collect2name=`${CC} -print-prog-name=collect2`
9396 if test -f "$collect2name" &&
9397 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9399 # We have reworked collect2
9402 # We have old collect2
9403 hardcode_direct=unsupported
9404 # It fails to find uninstalled libraries when the uninstalled
9405 # path is not listed in the libpath. Setting hardcode_minus_L
9406 # to unsupported forces relinking
9407 hardcode_minus_L=yes
9408 hardcode_libdir_flag_spec='-L$libdir'
9409 hardcode_libdir_separator=
9413 shared_flag='-shared'
9414 if test "$aix_use_runtimelinking" = yes; then
9415 shared_flag="$shared_flag "'${wl}-G'
9419 if test "$host_cpu" = ia64; then
9420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9421 # chokes on -Wl,-G. The following line is correct:
9424 if test "$aix_use_runtimelinking" = yes; then
9425 shared_flag='${wl}-G'
9427 shared_flag='${wl}-bM:SRE'
9432 export_dynamic_flag_spec='${wl}-bexpall'
9433 # It seems that -bexpall does not export symbols beginning with
9434 # underscore (_), so it is better to generate a list of symbols to export.
9435 always_export_symbols=yes
9436 if test "$aix_use_runtimelinking" = yes; then
9437 # Warning - without using the other runtime loading flags (-brtl),
9438 # -berok will link without error, but may produce a broken library.
9439 allow_undefined_flag='-berok'
9440 # Determine the default libpath from the value encoded in an
9442 if test "${lt_cv_aix_libpath+set}" = set; then
9443 aix_libpath=$lt_cv_aix_libpath
9445 if ${lt_cv_aix_libpath_+:} false; then :
9446 $as_echo_n "(cached) " >&6
9448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449 /* end confdefs.h. */
9459 if ac_fn_c_try_link "$LINENO"; then :
9461 lt_aix_libpath_sed='
9462 /Import File Strings/,/^$/ {
9464 s/^0 *\([^ ]*\) *$/\1/
9468 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9469 # Check for a 64-bit object if we didn't find anything.
9470 if test -z "$lt_cv_aix_libpath_"; then
9471 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9474 rm -f core conftest.err conftest.$ac_objext \
9475 conftest$ac_exeext conftest.$ac_ext
9476 if test -z "$lt_cv_aix_libpath_"; then
9477 lt_cv_aix_libpath_="/usr/lib:/lib"
9482 aix_libpath=$lt_cv_aix_libpath_
9485 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9486 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9488 if test "$host_cpu" = ia64; then
9489 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9490 allow_undefined_flag="-z nodefs"
9491 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"
9493 # Determine the default libpath from the value encoded in an
9495 if test "${lt_cv_aix_libpath+set}" = set; then
9496 aix_libpath=$lt_cv_aix_libpath
9498 if ${lt_cv_aix_libpath_+:} false; then :
9499 $as_echo_n "(cached) " >&6
9501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502 /* end confdefs.h. */
9512 if ac_fn_c_try_link "$LINENO"; then :
9514 lt_aix_libpath_sed='
9515 /Import File Strings/,/^$/ {
9517 s/^0 *\([^ ]*\) *$/\1/
9521 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9522 # Check for a 64-bit object if we didn't find anything.
9523 if test -z "$lt_cv_aix_libpath_"; then
9524 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 if test -z "$lt_cv_aix_libpath_"; then
9530 lt_cv_aix_libpath_="/usr/lib:/lib"
9535 aix_libpath=$lt_cv_aix_libpath_
9538 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9539 # Warning - without using the other run time loading flags,
9540 # -berok will link without error, but may produce a broken library.
9541 no_undefined_flag=' ${wl}-bernotok'
9542 allow_undefined_flag=' ${wl}-berok'
9543 if test "$with_gnu_ld" = yes; then
9544 # We only use this code for GNU lds that support --whole-archive.
9545 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9547 # Exported symbols can be pulled into shared objects from archives
9548 whole_archive_flag_spec='$convenience'
9550 archive_cmds_need_lc=yes
9551 # This is similar to how AIX traditionally builds its shared libraries.
9552 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9560 # see comment about AmigaOS4 .so support
9561 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9562 archive_expsym_cmds=''
9565 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)'
9566 hardcode_libdir_flag_spec='-L$libdir'
9567 hardcode_minus_L=yes
9573 export_dynamic_flag_spec=-rdynamic
9576 cygwin* | mingw* | pw32* | cegcc*)
9577 # When not using gcc, we currently assume that we are using
9578 # Microsoft Visual C++.
9579 # hardcode_libdir_flag_spec is actually meaningless, as there is
9580 # no search path for DLLs.
9581 case $cc_basename in
9584 hardcode_libdir_flag_spec=' '
9585 allow_undefined_flag=unsupported
9586 always_export_symbols=yes
9588 # Tell ltmain to make .lib files, not .a files.
9590 # Tell ltmain to make .dll files, not .so files.
9592 # FIXME: Setting linknames here is a bad hack.
9593 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9594 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9595 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9597 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9599 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9601 # The linker will not automatically build a static lib if we build a DLL.
9602 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9603 enable_shared_with_static_runtimes=yes
9604 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9605 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9607 old_postinstall_cmds='chmod 644 $oldlib'
9608 postlink_cmds='lt_outputfile="@OUTPUT@"~
9609 lt_tool_outputfile="@TOOL_OUTPUT@"~
9610 case $lt_outputfile in
9613 lt_outputfile="$lt_outputfile.exe"
9614 lt_tool_outputfile="$lt_tool_outputfile.exe"
9617 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9618 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9619 $RM "$lt_outputfile.manifest";
9623 # Assume MSVC wrapper
9624 hardcode_libdir_flag_spec=' '
9625 allow_undefined_flag=unsupported
9626 # Tell ltmain to make .lib files, not .a files.
9628 # Tell ltmain to make .dll files, not .so files.
9630 # FIXME: Setting linknames here is a bad hack.
9631 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9632 # The linker will automatically build a .lib file if we build a DLL.
9633 old_archive_from_new_cmds='true'
9634 # FIXME: Should let the user specify the lib program.
9635 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9636 enable_shared_with_static_runtimes=yes
9641 darwin* | rhapsody*)
9644 archive_cmds_need_lc=no
9646 hardcode_automatic=yes
9647 hardcode_shlibpath_var=unsupported
9648 if test "$lt_cv_ld_force_load" = "yes"; then
9649 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\"`'
9652 whole_archive_flag_spec=''
9654 link_all_deplibs=yes
9655 allow_undefined_flag="$_lt_dar_allow_undefined"
9656 case $cc_basename in
9657 ifort*) _lt_dar_can_shared=yes ;;
9658 *) _lt_dar_can_shared=$GCC ;;
9660 if test "$_lt_dar_can_shared" = "yes"; then
9661 output_verbose_link_cmd=func_echo_all
9662 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9663 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9664 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}"
9665 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}"
9674 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9675 hardcode_libdir_flag_spec='-L$libdir'
9676 hardcode_shlibpath_var=no
9679 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9680 # support. Future versions do this automatically, but an explicit c++rt0.o
9681 # does not break anything, and helps significantly (at the cost of a little
9684 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9685 hardcode_libdir_flag_spec='-R$libdir'
9687 hardcode_shlibpath_var=no
9690 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9692 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9694 hardcode_minus_L=yes
9695 hardcode_shlibpath_var=no
9698 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9699 freebsd* | dragonfly*)
9700 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9701 hardcode_libdir_flag_spec='-R$libdir'
9703 hardcode_shlibpath_var=no
9707 if test "$GCC" = yes; then
9708 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9710 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9712 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9713 hardcode_libdir_separator=:
9716 # hardcode_minus_L: Not really in the search PATH,
9717 # but as the default location of the library.
9718 hardcode_minus_L=yes
9719 export_dynamic_flag_spec='${wl}-E'
9723 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9724 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9726 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9728 if test "$with_gnu_ld" = no; then
9729 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9730 hardcode_libdir_separator=:
9732 hardcode_direct_absolute=yes
9733 export_dynamic_flag_spec='${wl}-E'
9734 # hardcode_minus_L: Not really in the search PATH,
9735 # but as the default location of the library.
9736 hardcode_minus_L=yes
9741 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9744 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9747 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9750 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9756 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9759 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763 # Older versions of the 11.00 compiler do not understand -b yet
9764 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9766 $as_echo_n "checking if $CC understands -b... " >&6; }
9767 if ${lt_cv_prog_compiler__b+:} false; then :
9768 $as_echo_n "(cached) " >&6
9770 lt_cv_prog_compiler__b=no
9771 save_LDFLAGS="$LDFLAGS"
9772 LDFLAGS="$LDFLAGS -b"
9773 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9774 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9775 # The linker can only warn and ignore the option if not recognized
9776 # So say no if there are warnings
9777 if test -s conftest.err; then
9778 # Append any errors to the config.log.
9779 cat conftest.err 1>&5
9780 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9782 if diff conftest.exp conftest.er2 >/dev/null; then
9783 lt_cv_prog_compiler__b=yes
9786 lt_cv_prog_compiler__b=yes
9790 LDFLAGS="$save_LDFLAGS"
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9794 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9796 if test x"$lt_cv_prog_compiler__b" = xyes; then
9797 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9799 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9805 if test "$with_gnu_ld" = no; then
9806 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9807 hardcode_libdir_separator=:
9812 hardcode_shlibpath_var=no
9816 hardcode_direct_absolute=yes
9817 export_dynamic_flag_spec='${wl}-E'
9819 # hardcode_minus_L: Not really in the search PATH,
9820 # but as the default location of the library.
9821 hardcode_minus_L=yes
9827 irix5* | irix6* | nonstopux*)
9828 if test "$GCC" = yes; then
9829 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'
9830 # Try to use the -exported_symbol ld option, if it does not
9831 # work, assume that -exports_file does not work either and
9832 # implicitly export all symbols.
9833 # This should be the same for all languages, so no per-tag cache variable.
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9835 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9836 if ${lt_cv_irix_exported_symbol+:} false; then :
9837 $as_echo_n "(cached) " >&6
9839 save_LDFLAGS="$LDFLAGS"
9840 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9843 int foo (void) { return 0; }
9845 if ac_fn_c_try_link "$LINENO"; then :
9846 lt_cv_irix_exported_symbol=yes
9848 lt_cv_irix_exported_symbol=no
9850 rm -f core conftest.err conftest.$ac_objext \
9851 conftest$ac_exeext conftest.$ac_ext
9852 LDFLAGS="$save_LDFLAGS"
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9855 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9856 if test "$lt_cv_irix_exported_symbol" = yes; then
9857 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'
9860 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'
9861 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'
9863 archive_cmds_need_lc='no'
9864 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9865 hardcode_libdir_separator=:
9867 link_all_deplibs=yes
9871 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9874 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9876 hardcode_libdir_flag_spec='-R$libdir'
9878 hardcode_shlibpath_var=no
9882 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9884 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9885 hardcode_libdir_separator=:
9886 hardcode_shlibpath_var=no
9893 if test -f /usr/libexec/ld.so; then
9895 hardcode_shlibpath_var=no
9896 hardcode_direct_absolute=yes
9897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9898 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9899 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9900 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9901 export_dynamic_flag_spec='${wl}-E'
9904 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9905 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9906 hardcode_libdir_flag_spec='-R$libdir'
9909 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9910 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9920 hardcode_libdir_flag_spec='-L$libdir'
9921 hardcode_minus_L=yes
9922 allow_undefined_flag=unsupported
9923 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9924 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9928 if test "$GCC" = yes; then
9929 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9930 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'
9932 allow_undefined_flag=' -expect_unresolved \*'
9933 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'
9935 archive_cmds_need_lc='no'
9936 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9937 hardcode_libdir_separator=:
9940 osf4* | osf5*) # as osf3* with the addition of -msym flag
9941 if test "$GCC" = yes; then
9942 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9943 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'
9944 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9946 allow_undefined_flag=' -expect_unresolved \*'
9947 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'
9948 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~
9949 $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'
9951 # Both c and cxx compiler support -rpath directly
9952 hardcode_libdir_flag_spec='-rpath $libdir'
9954 archive_cmds_need_lc='no'
9955 hardcode_libdir_separator=:
9959 no_undefined_flag=' -z defs'
9960 if test "$GCC" = yes; then
9962 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9963 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9964 $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'
9966 case `$CC -V 2>&1` in
9969 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9970 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9971 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9975 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9976 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9977 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9981 hardcode_libdir_flag_spec='-R$libdir'
9982 hardcode_shlibpath_var=no
9984 solaris2.[0-5] | solaris2.[0-5].*) ;;
9986 # The compiler driver will combine and reorder linker options,
9987 # but understands `-z linker_flag'. GCC discards it without `$wl',
9988 # but is careful enough not to reorder.
9989 # Supported since Solaris 2.6 (maybe 2.5.1?)
9990 if test "$GCC" = yes; then
9991 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9993 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9997 link_all_deplibs=yes
10001 if test "x$host_vendor" = xsequent; then
10002 # Use $CC to link under sequent, because it throws in some extra .o
10003 # files that make .init and .fini sections work.
10004 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_libdir_flag_spec='-L$libdir'
10009 hardcode_direct=yes
10010 hardcode_minus_L=yes
10011 hardcode_shlibpath_var=no
10015 case $host_vendor in
10017 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 hardcode_direct=yes # is this really true???
10021 ## LD is ld it makes a PLAMLIB
10022 ## CC just makes a GrossModule.
10023 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10024 reload_cmds='$CC -r -o $output$reload_objs'
10028 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10029 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10032 runpath_var='LD_RUN_PATH'
10033 hardcode_shlibpath_var=no
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_shlibpath_var=no
10039 export_dynamic_flag_spec='-Bexport'
10043 if test -d /usr/nec; then
10044 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10045 hardcode_shlibpath_var=no
10046 runpath_var=LD_RUN_PATH
10047 hardcode_runpath_var=yes
10052 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10053 no_undefined_flag='${wl}-z,text'
10054 archive_cmds_need_lc=no
10055 hardcode_shlibpath_var=no
10056 runpath_var='LD_RUN_PATH'
10058 if test "$GCC" = yes; then
10059 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10067 sysv5* | sco3.2v5* | sco5v6*)
10068 # Note: We can NOT use -z defs as we might desire, because we do not
10069 # link with -lc, and that would cause any symbols used from libc to
10070 # always be unresolved, which means just about no library would
10071 # ever link correctly. If we're not using GNU ld we use -z text
10072 # though, which does catch some bad symbols but isn't as heavy-handed
10074 no_undefined_flag='${wl}-z,text'
10075 allow_undefined_flag='${wl}-z,nodefs'
10076 archive_cmds_need_lc=no
10077 hardcode_shlibpath_var=no
10078 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10079 hardcode_libdir_separator=':'
10080 link_all_deplibs=yes
10081 export_dynamic_flag_spec='${wl}-Bexport'
10082 runpath_var='LD_RUN_PATH'
10084 if test "$GCC" = yes; then
10085 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10086 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10095 hardcode_libdir_flag_spec='-L$libdir'
10096 hardcode_shlibpath_var=no
10104 if test x$host_vendor = xsni; then
10106 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10107 export_dynamic_flag_spec='${wl}-Blargedynsym'
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10114 $as_echo "$ld_shlibs" >&6; }
10115 test "$ld_shlibs" = no && can_build_shared=no
10117 with_gnu_ld=$with_gnu_ld
10134 # Do we need to explicitly link libc?
10136 case "x$archive_cmds_need_lc" in
10138 # Assume -lc should be added
10139 archive_cmds_need_lc=yes
10141 if test "$enable_shared" = yes && test "$GCC" = yes; then
10142 case $archive_cmds in
10144 # FIXME: we may have to deal with multi-command sequences.
10147 # Test whether the compiler implicitly links with -lc since on some
10148 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10149 # to ld, don't add -lc before -lgcc.
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10151 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10152 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10153 $as_echo_n "(cached) " >&6
10156 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10159 (eval $ac_compile) 2>&5
10161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10162 test $ac_status = 0; } 2>conftest.err; then
10165 libobjs=conftest.$ac_objext
10167 wl=$lt_prog_compiler_wl
10168 pic_flag=$lt_prog_compiler_pic
10174 lt_save_allow_undefined_flag=$allow_undefined_flag
10175 allow_undefined_flag=
10176 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10177 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10180 test $ac_status = 0; }
10182 lt_cv_archive_cmds_need_lc=no
10184 lt_cv_archive_cmds_need_lc=yes
10186 allow_undefined_flag=$lt_save_allow_undefined_flag
10188 cat conftest.err 1>&5
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10194 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10195 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10354 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10356 if test "$GCC" = yes; then
10358 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10359 *) lt_awk_arg="/^libraries:/" ;;
10362 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10363 *) lt_sed_strip_eq="s,=/,/,g" ;;
10365 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10366 case $lt_search_path_spec in
10368 # if the path contains ";" then we assume it to be the separator
10369 # otherwise default to the standard path separator (i.e. ":") - it is
10370 # assumed that no part of a normal pathname contains ";" but that should
10371 # okay in the real world where ";" in dirpaths is itself problematic.
10372 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10375 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10378 # Ok, now we have the path, separated by spaces, we can step through it
10379 # and add multilib dir if necessary.
10380 lt_tmp_lt_search_path_spec=
10381 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10382 for lt_sys_path in $lt_search_path_spec; do
10383 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10384 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10386 test -d "$lt_sys_path" && \
10387 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10390 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10391 BEGIN {RS=" "; FS="/|\n";} {
10394 for (lt_i = NF; lt_i > 0; lt_i--) {
10395 if ($lt_i != "" && $lt_i != ".") {
10396 if ($lt_i == "..") {
10399 if (lt_count == 0) {
10400 lt_foo="/" $lt_i lt_foo;
10407 if (lt_foo != "") { lt_freq[lt_foo]++; }
10408 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10410 # AWK program above erroneously prepends '/' to C:/dos/paths
10413 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10414 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10416 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10418 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10420 library_names_spec=
10421 libname_spec='lib$name'
10425 postuninstall_cmds=
10429 shlibpath_overrides_runpath=unknown
10431 dynamic_linker="$host_os ld.so"
10432 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10433 need_lib_prefix=unknown
10434 hardcode_into_libs=no
10436 # when you set need_version to no, make sure it does not cause -set_version
10437 # flags to be left without arguments
10438 need_version=unknown
10442 version_type=linux # correct to gnu/linux during the next big refactor
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10444 shlibpath_var=LIBPATH
10446 # AIX 3 has no versioning support, so we append a major version to the name.
10447 soname_spec='${libname}${release}${shared_ext}$major'
10451 version_type=linux # correct to gnu/linux during the next big refactor
10454 hardcode_into_libs=yes
10455 if test "$host_cpu" = ia64; then
10456 # AIX 5 supports IA64
10457 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10458 shlibpath_var=LD_LIBRARY_PATH
10460 # With GCC up to 2.95.x, collect2 would create an import file
10461 # for dependence libraries. The import file would start with
10462 # the line `#! .'. This would cause the generated library to
10463 # depend on `.', always an invalid library. This was fixed in
10464 # development snapshots of GCC prior to 3.0.
10466 aix4 | aix4.[01] | aix4.[01].*)
10467 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10469 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10472 can_build_shared=no
10476 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10477 # soname into executable. Probably we can add versioning support to
10478 # collect2, so additional links can be useful in future.
10479 if test "$aix_use_runtimelinking" = yes; then
10480 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10481 # instead of lib<name>.a to let people know that these are not
10482 # typical AIX shared libraries.
10483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10485 # We preserve .a as extension for shared libraries through AIX4.2
10486 # and later when we are not doing run time linking.
10487 library_names_spec='${libname}${release}.a $libname.a'
10488 soname_spec='${libname}${release}${shared_ext}$major'
10490 shlibpath_var=LIBPATH
10497 # Since July 2007 AmigaOS4 officially supports .so libraries.
10498 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502 library_names_spec='$libname.ixlibrary $libname.a'
10503 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10504 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10510 library_names_spec='${libname}${shared_ext}'
10511 dynamic_linker="$host_os ld.so"
10512 shlibpath_var=LIBRARY_PATH
10516 version_type=linux # correct to gnu/linux during the next big refactor
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 soname_spec='${libname}${release}${shared_ext}$major'
10520 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10521 shlibpath_var=LD_LIBRARY_PATH
10522 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10523 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10524 # the default ld.so.conf also contains /usr/contrib/lib and
10525 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10526 # libtool to hard-code these into programs
10529 cygwin* | mingw* | pw32* | cegcc*)
10530 version_type=windows
10535 case $GCC,$cc_basename in
10538 library_names_spec='$libname.dll.a'
10539 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10540 postinstall_cmds='base_file=`basename \${file}`~
10541 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10542 dldir=$destdir/`dirname \$dlpath`~
10543 test -d \$dldir || mkdir -p \$dldir~
10544 $install_prog $dir/$dlname \$dldir/$dlname~
10545 chmod a+x \$dldir/$dlname~
10546 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10547 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10549 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10550 dlpath=$dir/\$dldll~
10552 shlibpath_overrides_runpath=yes
10556 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10557 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10559 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10562 # MinGW DLLs use traditional 'lib' prefix
10563 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10566 # pw32 DLLs use 'pw' prefix rather than 'lib'
10567 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10570 dynamic_linker='Win32 ld.exe'
10575 libname_spec='$name'
10576 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 library_names_spec='${libname}.dll.lib'
10581 sys_lib_search_path_spec=
10584 for lt_path in $LIB
10587 # Let DOS variable expansion print the short 8.3 style file name.
10588 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10589 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10592 # Convert to MSYS style.
10593 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10596 # Convert to unix form, then to dos form, then back to unix form
10597 # but this time dos style (no spaces!) so that the unix form looks
10598 # like /cygdrive/c/PROGRA~1:/cygdr...
10599 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10600 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10601 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10604 sys_lib_search_path_spec="$LIB"
10605 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10606 # It is most probably a Windows format PATH.
10607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10609 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10611 # FIXME: find the short name or the path components, as spaces are
10612 # common. (e.g. "Program Files" -> "PROGRA~1")
10616 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10617 postinstall_cmds='base_file=`basename \${file}`~
10618 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10619 dldir=$destdir/`dirname \$dlpath`~
10620 test -d \$dldir || mkdir -p \$dldir~
10621 $install_prog $dir/$dlname \$dldir/$dlname'
10622 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10623 dlpath=$dir/\$dldll~
10625 shlibpath_overrides_runpath=yes
10626 dynamic_linker='Win32 link.exe'
10630 # Assume MSVC wrapper
10631 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10632 dynamic_linker='Win32 ld.exe'
10635 # FIXME: first we should search . and the directory the executable is in
10639 darwin* | rhapsody*)
10640 dynamic_linker="$host_os dyld"
10641 version_type=darwin
10644 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10645 soname_spec='${libname}${release}${major}$shared_ext'
10646 shlibpath_overrides_runpath=yes
10647 shlibpath_var=DYLD_LIBRARY_PATH
10648 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10650 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10651 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10655 version_type=linux # correct to gnu/linux during the next big refactor
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10663 freebsd* | dragonfly*)
10664 # DragonFly does not have aout. When/if they implement a new
10665 # versioning mechanism, adjust this.
10666 if test -x /usr/bin/objformat; then
10667 objformat=`/usr/bin/objformat`
10670 freebsd[23].*) objformat=aout ;;
10671 *) objformat=elf ;;
10674 version_type=freebsd-$objformat
10675 case $version_type in
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10686 shlibpath_var=LD_LIBRARY_PATH
10689 shlibpath_overrides_runpath=yes
10691 freebsd3.[01]* | freebsdelf3.[01]*)
10692 shlibpath_overrides_runpath=yes
10693 hardcode_into_libs=yes
10695 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10696 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10697 shlibpath_overrides_runpath=no
10698 hardcode_into_libs=yes
10700 *) # from 4.6 on, and DragonFly
10701 shlibpath_overrides_runpath=yes
10702 hardcode_into_libs=yes
10708 version_type=linux # correct to gnu/linux during the next big refactor
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath=no
10715 hardcode_into_libs=yes
10719 version_type=linux # correct to gnu/linux during the next big refactor
10722 dynamic_linker="$host_os runtime_loader"
10723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10724 soname_spec='${libname}${release}${shared_ext}$major'
10725 shlibpath_var=LIBRARY_PATH
10726 shlibpath_overrides_runpath=yes
10727 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10728 hardcode_into_libs=yes
10731 hpux9* | hpux10* | hpux11*)
10732 # Give a soname corresponding to the major version so that dld.sl refuses to
10733 # link against other versions.
10740 hardcode_into_libs=yes
10741 dynamic_linker="$host_os dld.so"
10742 shlibpath_var=LD_LIBRARY_PATH
10743 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 if test "X$HPUX_IA64_MODE" = X32; then
10747 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10749 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10751 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10755 hardcode_into_libs=yes
10756 dynamic_linker="$host_os dld.sl"
10757 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10758 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10761 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10762 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10766 dynamic_linker="$host_os dld.sl"
10767 shlibpath_var=SHLIB_PATH
10768 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 soname_spec='${libname}${release}${shared_ext}$major'
10773 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10774 postinstall_cmds='chmod 555 $lib'
10775 # or fails outright, so override atomically:
10776 install_override_mode=555
10780 version_type=linux # correct to gnu/linux during the next big refactor
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10785 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10786 shlibpath_var=LD_LIBRARY_PATH
10787 shlibpath_overrides_runpath=no
10788 hardcode_into_libs=yes
10791 irix5* | irix6* | nonstopux*)
10793 nonstopux*) version_type=nonstopux ;;
10795 if test "$lt_cv_prog_gnu_ld" = yes; then
10796 version_type=linux # correct to gnu/linux during the next big refactor
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10806 irix5* | nonstopux*)
10807 libsuff= shlibsuff=
10810 case $LD in # libtool.m4 will add one of these switches to LD
10811 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10812 libsuff= shlibsuff= libmagic=32-bit;;
10813 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10814 libsuff=32 shlibsuff=N32 libmagic=N32;;
10815 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10816 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10817 *) libsuff= shlibsuff= libmagic=never-match;;
10821 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10822 shlibpath_overrides_runpath=no
10823 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10824 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10825 hardcode_into_libs=yes
10828 # No shared lib support for Linux oldld, aout, or coff.
10829 linux*oldld* | linux*aout* | linux*coff*)
10833 # This must be glibc/ELF.
10834 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10835 version_type=linux # correct to gnu/linux during the next big refactor
10838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10839 soname_spec='${libname}${release}${shared_ext}$major'
10840 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10841 shlibpath_var=LD_LIBRARY_PATH
10842 shlibpath_overrides_runpath=no
10844 # Some binutils ld are patched to set DT_RUNPATH
10845 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10846 $as_echo_n "(cached) " >&6
10848 lt_cv_shlibpath_overrides_runpath=no
10849 save_LDFLAGS=$LDFLAGS
10850 save_libdir=$libdir
10851 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10852 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10854 /* end confdefs.h. */
10864 if ac_fn_c_try_link "$LINENO"; then :
10865 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10866 lt_cv_shlibpath_overrides_runpath=yes
10869 rm -f core conftest.err conftest.$ac_objext \
10870 conftest$ac_exeext conftest.$ac_ext
10871 LDFLAGS=$save_LDFLAGS
10872 libdir=$save_libdir
10876 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10878 # This implies no fast_install, which is unacceptable.
10879 # Some rework will be needed to allow for fast_install
10880 # before this can be enabled.
10881 hardcode_into_libs=yes
10883 # Add ABI-specific directories to the system library path.
10884 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10886 # Append ld.so.conf contents to the search path
10887 if test -f /etc/ld.so.conf; then
10888 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' ' '`
10889 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10893 # We used to test for /lib/ld.so.1 and disable shared libraries on
10894 # powerpc, because MkLinux only supported shared libraries with the
10895 # GNU dynamic linker. Since this was broken with cross compilers,
10896 # most powerpc-linux boxes support dynamic linking these days and
10897 # people can always --disable-shared, the test was removed, and we
10898 # assume the GNU/Linux dynamic linker is in use.
10899 dynamic_linker='GNU/Linux ld.so'
10906 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10908 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10909 dynamic_linker='NetBSD (a.out) ld.so'
10911 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10912 soname_spec='${libname}${release}${shared_ext}$major'
10913 dynamic_linker='NetBSD ld.elf_so'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 hardcode_into_libs=yes
10921 version_type=linux # correct to gnu/linux during the next big refactor
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=yes
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=no
10935 hardcode_into_libs=yes
10936 dynamic_linker='ldqnx.so'
10941 sys_lib_dlsearch_path_spec="/usr/lib"
10943 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10945 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10946 *) need_version=no ;;
10948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10949 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10953 openbsd2.[89] | openbsd2.[89].*)
10954 shlibpath_overrides_runpath=no
10957 shlibpath_overrides_runpath=yes
10961 shlibpath_overrides_runpath=yes
10966 libname_spec='$name'
10969 library_names_spec='$libname${shared_ext} $libname.a'
10970 dynamic_linker='OS/2 ld.exe'
10971 shlibpath_var=LIBPATH
10974 osf3* | osf4* | osf5*)
10978 soname_spec='${libname}${release}${shared_ext}$major'
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10982 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10990 version_type=linux # correct to gnu/linux during the next big refactor
10993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994 soname_spec='${libname}${release}${shared_ext}$major'
10995 shlibpath_var=LD_LIBRARY_PATH
10996 shlibpath_overrides_runpath=yes
10997 hardcode_into_libs=yes
10998 # ldd complains unless libraries are executable
10999 postinstall_cmds='chmod +x $lib'
11004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11005 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11006 shlibpath_var=LD_LIBRARY_PATH
11007 shlibpath_overrides_runpath=yes
11008 if test "$with_gnu_ld" = yes; then
11015 version_type=linux # correct to gnu/linux during the next big refactor
11016 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11017 soname_spec='${libname}${release}${shared_ext}$major'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 case $host_vendor in
11021 shlibpath_overrides_runpath=no
11023 runpath_var=LD_RUN_PATH
11031 shlibpath_overrides_runpath=no
11032 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11038 if test -d /usr/nec ;then
11039 version_type=linux # correct to gnu/linux during the next big refactor
11040 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11041 soname_spec='$libname${shared_ext}.$major'
11042 shlibpath_var=LD_LIBRARY_PATH
11046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11047 version_type=freebsd-elf
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 if test "$with_gnu_ld" = yes; then
11056 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11058 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11061 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11065 sys_lib_dlsearch_path_spec='/usr/lib'
11069 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11070 version_type=linux # correct to gnu/linux during the next big refactor
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 shlibpath_var=LD_LIBRARY_PATH
11075 shlibpath_overrides_runpath=no
11076 hardcode_into_libs=yes
11080 version_type=linux # correct to gnu/linux during the next big refactor
11081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11082 soname_spec='${libname}${release}${shared_ext}$major'
11083 shlibpath_var=LD_LIBRARY_PATH
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11091 $as_echo "$dynamic_linker" >&6; }
11092 test "$dynamic_linker" = no && can_build_shared=no
11094 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11095 if test "$GCC" = yes; then
11096 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11099 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11100 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11102 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11103 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11200 if test -n "$hardcode_libdir_flag_spec" ||
11201 test -n "$runpath_var" ||
11202 test "X$hardcode_automatic" = "Xyes" ; then
11204 # We can hardcode non-existent directories.
11205 if test "$hardcode_direct" != no &&
11206 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11207 # have to relink, otherwise we might link with an installed library
11208 # when we should be linking with a yet-to-be-installed one
11209 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11210 test "$hardcode_minus_L" != no; then
11211 # Linking always hardcodes the temporary library directory.
11212 hardcode_action=relink
11214 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11215 hardcode_action=immediate
11218 # We cannot hardcode anything, or else we can only hardcode existing
11220 hardcode_action=unsupported
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11223 $as_echo "$hardcode_action" >&6; }
11225 if test "$hardcode_action" = relink ||
11226 test "$inherit_rpath" = yes; then
11227 # Fast installation is not supported
11228 enable_fast_install=no
11229 elif test "$shlibpath_overrides_runpath" = yes ||
11230 test "$enable_shared" = no; then
11231 # Fast installation is not necessary
11232 enable_fast_install=needless
11240 if test "x$enable_dlopen" != xyes; then
11241 enable_dlopen=unknown
11242 enable_dlopen_self=unknown
11243 enable_dlopen_self_static=unknown
11250 lt_cv_dlopen="load_add_on"
11252 lt_cv_dlopen_self=yes
11255 mingw* | pw32* | cegcc*)
11256 lt_cv_dlopen="LoadLibrary"
11261 lt_cv_dlopen="dlopen"
11266 # if libdl is installed we need to link against it
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11269 if ${ac_cv_lib_dl_dlopen+:} false; then :
11270 $as_echo_n "(cached) " >&6
11272 ac_check_lib_save_LIBS=$LIBS
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_dl_dlopen=yes
11295 ac_cv_lib_dl_dlopen=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11303 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11307 lt_cv_dlopen="dyld"
11309 lt_cv_dlopen_self=yes
11316 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11317 if test "x$ac_cv_func_shl_load" = xyes; then :
11318 lt_cv_dlopen="shl_load"
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11321 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11322 if ${ac_cv_lib_dld_shl_load+:} false; then :
11323 $as_echo_n "(cached) " >&6
11325 ac_check_lib_save_LIBS=$LIBS
11327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11328 /* end confdefs.h. */
11330 /* Override any GCC internal prototype to avoid an error.
11331 Use char because int might match the return type of a GCC
11332 builtin and then its argument prototype would still apply. */
11340 return shl_load ();
11345 if ac_fn_c_try_link "$LINENO"; then :
11346 ac_cv_lib_dld_shl_load=yes
11348 ac_cv_lib_dld_shl_load=no
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_lib_save_LIBS
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11356 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11357 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11359 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11360 if test "x$ac_cv_func_dlopen" = xyes; then :
11361 lt_cv_dlopen="dlopen"
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11365 if ${ac_cv_lib_dl_dlopen+:} false; then :
11366 $as_echo_n "(cached) " >&6
11368 ac_check_lib_save_LIBS=$LIBS
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_dl_dlopen=yes
11391 ac_cv_lib_dl_dlopen=no
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11399 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11403 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11404 if ${ac_cv_lib_svld_dlopen+:} false; then :
11405 $as_echo_n "(cached) " >&6
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-lsvld $LIBS"
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_svld_dlopen=yes
11430 ac_cv_lib_svld_dlopen=no
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11438 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11439 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11443 if ${ac_cv_lib_dld_dld_link+:} false; then :
11444 $as_echo_n "(cached) " >&6
11446 ac_check_lib_save_LIBS=$LIBS
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11461 return dld_link ();
11466 if ac_fn_c_try_link "$LINENO"; then :
11467 ac_cv_lib_dld_dld_link=yes
11469 ac_cv_lib_dld_dld_link=no
11471 rm -f core conftest.err conftest.$ac_objext \
11472 conftest$ac_exeext conftest.$ac_ext
11473 LIBS=$ac_check_lib_save_LIBS
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11477 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11478 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 if test "x$lt_cv_dlopen" != xno; then
11505 case $lt_cv_dlopen in
11507 save_CPPFLAGS="$CPPFLAGS"
11508 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11510 save_LDFLAGS="$LDFLAGS"
11511 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11514 LIBS="$lt_cv_dlopen_libs $LIBS"
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11518 if ${lt_cv_dlopen_self+:} false; then :
11519 $as_echo_n "(cached) " >&6
11521 if test "$cross_compiling" = yes; then :
11522 lt_cv_dlopen_self=cross
11524 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11525 lt_status=$lt_dlunknown
11526 cat > conftest.$ac_ext <<_LT_EOF
11527 #line $LINENO "configure"
11528 #include "confdefs.h"
11537 # define LT_DLGLOBAL RTLD_GLOBAL
11540 # define LT_DLGLOBAL DL_GLOBAL
11542 # define LT_DLGLOBAL 0
11546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11547 find out it does not work in some platform. */
11548 #ifndef LT_DLLAZY_OR_NOW
11550 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # define LT_DLLAZY_OR_NOW DL_NOW
11561 # define LT_DLLAZY_OR_NOW 0
11568 /* When -fvisbility=hidden is used, assume the code has been annotated
11569 correspondingly for the symbols needed. */
11570 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11571 int fnord () __attribute__((visibility("default")));
11574 int fnord () { return 42; }
11577 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11578 int status = $lt_dlunknown;
11582 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11586 else puts (dlerror ());
11588 /* dlclose (self); */
11596 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11597 (eval $ac_link) 2>&5
11599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11600 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11601 (./conftest; exit; ) >&5 2>/dev/null
11603 case x$lt_status in
11604 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11605 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11606 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 # compilation failed
11610 lt_cv_dlopen_self=no
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11618 $as_echo "$lt_cv_dlopen_self" >&6; }
11620 if test "x$lt_cv_dlopen_self" = xyes; then
11621 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11623 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11624 if ${lt_cv_dlopen_self_static+:} false; then :
11625 $as_echo_n "(cached) " >&6
11627 if test "$cross_compiling" = yes; then :
11628 lt_cv_dlopen_self_static=cross
11630 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11631 lt_status=$lt_dlunknown
11632 cat > conftest.$ac_ext <<_LT_EOF
11633 #line $LINENO "configure"
11634 #include "confdefs.h"
11643 # define LT_DLGLOBAL RTLD_GLOBAL
11646 # define LT_DLGLOBAL DL_GLOBAL
11648 # define LT_DLGLOBAL 0
11652 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11653 find out it does not work in some platform. */
11654 #ifndef LT_DLLAZY_OR_NOW
11656 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # define LT_DLLAZY_OR_NOW DL_NOW
11667 # define LT_DLLAZY_OR_NOW 0
11674 /* When -fvisbility=hidden is used, assume the code has been annotated
11675 correspondingly for the symbols needed. */
11676 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11677 int fnord () __attribute__((visibility("default")));
11680 int fnord () { return 42; }
11683 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11684 int status = $lt_dlunknown;
11688 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11692 else puts (dlerror ());
11694 /* dlclose (self); */
11702 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11703 (eval $ac_link) 2>&5
11705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11706 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11707 (./conftest; exit; ) >&5 2>/dev/null
11709 case x$lt_status in
11710 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11711 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11712 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 # compilation failed
11716 lt_cv_dlopen_self_static=no
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11724 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11727 CPPFLAGS="$save_CPPFLAGS"
11728 LDFLAGS="$save_LDFLAGS"
11733 case $lt_cv_dlopen_self in
11734 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11735 *) enable_dlopen_self=unknown ;;
11738 case $lt_cv_dlopen_self_static in
11739 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11740 *) enable_dlopen_self_static=unknown ;;
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11763 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11764 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11765 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11766 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11768 $as_echo "yes" >&6; }
11770 # FIXME - insert some real tests, host_os isn't really good enough
11773 if test -n "$STRIP" ; then
11774 striplib="$STRIP -x"
11775 old_striplib="$STRIP -S"
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11777 $as_echo "yes" >&6; }
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11780 $as_echo "no" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11785 $as_echo "no" >&6; }
11801 # Report which library types will actually be built
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11803 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11805 $as_echo "$can_build_shared" >&6; }
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11808 $as_echo_n "checking whether to build shared libraries... " >&6; }
11809 test "$can_build_shared" = "no" && enable_shared=no
11811 # On AIX, shared libraries and static libraries use the same namespace, and
11812 # are all built from PIC.
11815 test "$enable_shared" = yes && enable_static=no
11816 if test -n "$RANLIB"; then
11817 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11818 postinstall_cmds='$RANLIB $lib'
11823 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11824 test "$enable_shared" = yes && enable_static=no
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11829 $as_echo "$enable_shared" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11832 $as_echo_n "checking whether to build static libraries... " >&6; }
11833 # Make sure either enable_shared or enable_static is yes.
11834 test "$enable_shared" = yes || enable_static=yes
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11836 $as_echo "$enable_static" >&6; }
11843 ac_cpp='$CPP $CPPFLAGS'
11844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11864 ac_config_commands="$ac_config_commands libtool"
11869 # Only expand once:
11873 VERSION_SCRIPT_FLAGS=
11874 # lt_cv_prog_gnu_ld is from libtool 2.+
11875 if test "$lt_cv_prog_gnu_ld" = yes; then
11876 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
11879 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
11883 if test -n "$VERSION_SCRIPT_FLAGS"; then
11884 USE_VERSION_SCRIPT_TRUE=
11885 USE_VERSION_SCRIPT_FALSE='#'
11887 USE_VERSION_SCRIPT_TRUE='#'
11888 USE_VERSION_SCRIPT_FALSE=
11893 _cppflags="${CPPFLAGS}"
11897 # Check whether --with-c14n was given.
11898 if test "${with_c14n+set}" = set; then :
11899 withval=$with_c14n;
11903 # Check whether --with-catalog was given.
11904 if test "${with_catalog+set}" = set; then :
11905 withval=$with_catalog;
11909 # Check whether --with-debug was given.
11910 if test "${with_debug+set}" = set; then :
11911 withval=$with_debug;
11915 # Check whether --with-docbook was given.
11916 if test "${with_docbook+set}" = set; then :
11917 withval=$with_docbook;
11921 # Check whether --with-fexceptions was given.
11922 if test "${with_fexceptions+set}" = set; then :
11923 withval=$with_fexceptions;
11927 # Check whether --with-ftp was given.
11928 if test "${with_ftp+set}" = set; then :
11933 # Check whether --with-history was given.
11934 if test "${with_history+set}" = set; then :
11935 withval=$with_history;
11939 # Check whether --with-html was given.
11940 if test "${with_html+set}" = set; then :
11941 withval=$with_html;
11945 # Check whether --with-html-dir was given.
11946 if test "${with_html_dir+set}" = set; then :
11947 withval=$with_html_dir; HTML_DIR=$withval
11949 HTML_DIR='$(datadir)/doc'
11954 # Check whether --with-html-subdir was given.
11955 if test "${with_html_subdir+set}" = set; then :
11956 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
11958 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
11963 # Check whether --with-http was given.
11964 if test "${with_http+set}" = set; then :
11965 withval=$with_http;
11969 # Check whether --with-iconv was given.
11970 if test "${with_iconv+set}" = set; then :
11971 withval=$with_iconv;
11975 # Check whether --with-icu was given.
11976 if test "${with_icu+set}" = set; then :
11981 # Check whether --with-iso8859x was given.
11982 if test "${with_iso8859x+set}" = set; then :
11983 withval=$with_iso8859x;
11987 # Check whether --with-legacy was given.
11988 if test "${with_legacy+set}" = set; then :
11989 withval=$with_legacy;
11993 # Check whether --with-mem_debug was given.
11994 if test "${with_mem_debug+set}" = set; then :
11995 withval=$with_mem_debug;
11999 # Check whether --with-minimum was given.
12000 if test "${with_minimum+set}" = set; then :
12001 withval=$with_minimum;
12005 # Check whether --with-output was given.
12006 if test "${with_output+set}" = set; then :
12007 withval=$with_output;
12011 # Check whether --with-pattern was given.
12012 if test "${with_pattern+set}" = set; then :
12013 withval=$with_pattern;
12017 # Check whether --with-push was given.
12018 if test "${with_push+set}" = set; then :
12019 withval=$with_push;
12023 # Check whether --with-python was given.
12024 if test "${with_python+set}" = set; then :
12025 withval=$with_python;
12029 # Check whether --with-reader was given.
12030 if test "${with_reader+set}" = set; then :
12031 withval=$with_reader;
12035 # Check whether --with-readline was given.
12036 if test "${with_readline+set}" = set; then :
12037 withval=$with_readline;
12038 if test "$withval" != "no" -a "$withval" != "yes"; then
12040 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12041 LIBS="${LIBS} -L$withval/lib"
12047 # Check whether --with-regexps was given.
12048 if test "${with_regexps+set}" = set; then :
12049 withval=$with_regexps;
12053 # Check whether --with-run_debug was given.
12054 if test "${with_run_debug+set}" = set; then :
12055 withval=$with_run_debug;
12059 # Check whether --with-sax1 was given.
12060 if test "${with_sax1+set}" = set; then :
12061 withval=$with_sax1;
12065 # Check whether --with-schemas was given.
12066 if test "${with_schemas+set}" = set; then :
12067 withval=$with_schemas;
12071 # Check whether --with-schematron was given.
12072 if test "${with_schematron+set}" = set; then :
12073 withval=$with_schematron;
12077 # Check whether --with-threads was given.
12078 if test "${with_threads+set}" = set; then :
12079 withval=$with_threads;
12083 # Check whether --with-thread-alloc was given.
12084 if test "${with_thread_alloc+set}" = set; then :
12085 withval=$with_thread_alloc;
12089 # Check whether --with-tree was given.
12090 if test "${with_tree+set}" = set; then :
12091 withval=$with_tree;
12095 # Check whether --with-valid was given.
12096 if test "${with_valid+set}" = set; then :
12097 withval=$with_valid;
12101 # Check whether --with-writer was given.
12102 if test "${with_writer+set}" = set; then :
12103 withval=$with_writer;
12107 # Check whether --with-xinclude was given.
12108 if test "${with_xinclude+set}" = set; then :
12109 withval=$with_xinclude;
12113 # Check whether --with-xpath was given.
12114 if test "${with_xpath+set}" = set; then :
12115 withval=$with_xpath;
12119 # Check whether --with-xptr was given.
12120 if test "${with_xptr+set}" = set; then :
12121 withval=$with_xptr;
12125 # Check whether --with-modules was given.
12126 if test "${with_modules+set}" = set; then :
12127 withval=$with_modules;
12131 # Check whether --with-zlib was given.
12132 if test "${with_zlib+set}" = set; then :
12133 withval=$with_zlib;
12134 if test "$withval" != "no" -a "$withval" != "yes"; then
12136 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12137 LIBS="${LIBS} -L$withval/lib"
12143 # Check whether --with-lzma was given.
12144 if test "${with_lzma+set}" = set; then :
12145 withval=$with_lzma;
12146 if test "$withval" != "no" -a "$withval" != "yes"; then
12148 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12149 LIBS="${LIBS} -L$withval/lib"
12155 # Check whether --with-coverage was given.
12156 if test "${with_coverage+set}" = set; then :
12157 withval=$with_coverage;
12161 # Check whether --enable-rebuild-docs was given.
12162 if test "${enable_rebuild_docs+set}" = set; then :
12163 enableval=$enable_rebuild_docs;
12166 if test "$enable_rebuild_docs" = "yes" -a "$srcdir" != "."; then
12167 as_fn_error $? "cannot rebuild docs when builddir != srcdir" "$LINENO" 5
12169 if test "$enable_rebuild_docs" = "yes" -o "$USER" = "veillard"; then
12171 REBUILD_DOCS_FALSE='#'
12173 REBUILD_DOCS_TRUE='#'
12174 REBUILD_DOCS_FALSE=
12178 if test "$with_schemas" = "yes"
12183 if test "$with_schematron" = "yes"
12188 if test "$with_reader" = "yes"
12192 if test "$with_xptr" = "yes"
12196 if test "$with_minimum" = "yes"
12198 echo "Configuring for a minimal library"
12199 if test "$with_c14n" = ""
12203 if test "$with_catalog" = ""
12207 echo So far so good!
12208 if test "$with_debug" = ""
12212 if test "$with_docbook" = ""
12216 if test "$with_fexceptions" = ""
12218 with_fexceptions=no
12220 if test "$with_ftp" = ""
12224 if test "$with_history" = ""
12228 if test "$with_html" = ""
12232 if test "$with_http" = ""
12236 if test "$with_iconv" = ""
12240 if test "$with_iso8859x" = ""
12244 if test "$with_legacy" = ""
12248 if test "$with_mem_debug" = ""
12252 if test "$with_output" = ""
12256 if test "$with_pattern" = ""
12260 if test "$with_push" = ""
12264 if test "$with_python" = ""
12268 if test "$with_reader" = ""
12272 if test "$with_readline" = ""
12276 if test "$with_regexps" = ""
12280 if test "$with_run_debug" = ""
12284 if test "$with_sax1" = ""
12288 if test "$with_schemas" = ""
12292 if test "$with_schematron" = ""
12296 if test "$with_threads" = ""
12300 if test "$with_thread_alloc" = ""
12302 with_thread_alloc=no
12304 if test "$with_tree" = ""
12308 if test "$with_valid" = ""
12312 if test "$with_writer" = ""
12316 if test "$with_xinclude" = ""
12320 if test "$with_xpath" = ""
12324 if test "$with_xptr" = ""
12328 if test "$with_zlib" = ""
12332 if test "$with_modules" = ""
12342 if test "$with_zlib" = "no"; then
12343 echo "Disabling compression support"
12345 for ac_header in zlib.h
12347 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12348 if test "x$ac_cv_header_zlib_h" = xyes; then :
12349 cat >>confdefs.h <<_ACEOF
12350 #define HAVE_ZLIB_H 1
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
12353 $as_echo_n "checking for gzread in -lz... " >&6; }
12354 if ${ac_cv_lib_z_gzread+:} false; then :
12355 $as_echo_n "(cached) " >&6
12357 ac_check_lib_save_LIBS=$LIBS
12359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12360 /* end confdefs.h. */
12362 /* Override any GCC internal prototype to avoid an error.
12363 Use char because int might match the return type of a GCC
12364 builtin and then its argument prototype would still apply. */
12377 if ac_fn_c_try_link "$LINENO"; then :
12378 ac_cv_lib_z_gzread=yes
12380 ac_cv_lib_z_gzread=no
12382 rm -f core conftest.err conftest.$ac_objext \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_lib_save_LIBS
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
12387 $as_echo "$ac_cv_lib_z_gzread" >&6; }
12388 if test "x$ac_cv_lib_z_gzread" = xyes; then :
12391 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12394 if test "x${Z_DIR}" != "x"; then
12395 Z_CFLAGS="-I${Z_DIR}/include"
12396 Z_LIBS="-L${Z_DIR}/lib -lz"
12399 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
12421 if test "$with_lzma" = "no"; then
12422 echo "Disabling compression support"
12424 for ac_header in lzma.h
12426 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
12427 if test "x$ac_cv_header_lzma_h" = xyes; then :
12428 cat >>confdefs.h <<_ACEOF
12429 #define HAVE_LZMA_H 1
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
12432 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
12433 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
12434 $as_echo_n "(cached) " >&6
12436 ac_check_lib_save_LIBS=$LIBS
12437 LIBS="-llzma $LIBS"
12438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12439 /* end confdefs.h. */
12441 /* Override any GCC internal prototype to avoid an error.
12442 Use char because int might match the return type of a GCC
12443 builtin and then its argument prototype would still apply. */
12451 return lzma_code ();
12456 if ac_fn_c_try_link "$LINENO"; then :
12457 ac_cv_lib_lzma_lzma_code=yes
12459 ac_cv_lib_lzma_lzma_code=no
12461 rm -f core conftest.err conftest.$ac_objext \
12462 conftest$ac_exeext conftest.$ac_ext
12463 LIBS=$ac_check_lib_save_LIBS
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
12466 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
12467 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
12470 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
12473 if test "x${LZMA_DIR}" != "x"; then
12474 LZMA_CFLAGS="-I${LZMA_DIR}/include"
12475 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
12491 CPPFLAGS=${_cppflags}
12494 echo Checking headers
12496 ac_header_dirent=no
12497 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12498 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12500 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12501 if eval \${$as_ac_Header+:} false; then :
12502 $as_echo_n "(cached) " >&6
12504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12505 /* end confdefs.h. */
12506 #include <sys/types.h>
12518 if ac_fn_c_try_compile "$LINENO"; then :
12519 eval "$as_ac_Header=yes"
12521 eval "$as_ac_Header=no"
12523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12525 eval ac_res=\$$as_ac_Header
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12527 $as_echo "$ac_res" >&6; }
12528 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12529 cat >>confdefs.h <<_ACEOF
12530 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12533 ac_header_dirent=$ac_hdr; break
12537 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12538 if test $ac_header_dirent = dirent.h; then
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12540 $as_echo_n "checking for library containing opendir... " >&6; }
12541 if ${ac_cv_search_opendir+:} false; then :
12542 $as_echo_n "(cached) " >&6
12544 ac_func_search_save_LIBS=$LIBS
12545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12546 /* end confdefs.h. */
12548 /* Override any GCC internal prototype to avoid an error.
12549 Use char because int might match the return type of a GCC
12550 builtin and then its argument prototype would still apply. */
12563 for ac_lib in '' dir; do
12564 if test -z "$ac_lib"; then
12565 ac_res="none required"
12568 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12570 if ac_fn_c_try_link "$LINENO"; then :
12571 ac_cv_search_opendir=$ac_res
12573 rm -f core conftest.err conftest.$ac_objext \
12575 if ${ac_cv_search_opendir+:} false; then :
12579 if ${ac_cv_search_opendir+:} false; then :
12582 ac_cv_search_opendir=no
12584 rm conftest.$ac_ext
12585 LIBS=$ac_func_search_save_LIBS
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12588 $as_echo "$ac_cv_search_opendir" >&6; }
12589 ac_res=$ac_cv_search_opendir
12590 if test "$ac_res" != no; then :
12591 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12597 $as_echo_n "checking for library containing opendir... " >&6; }
12598 if ${ac_cv_search_opendir+:} false; then :
12599 $as_echo_n "(cached) " >&6
12601 ac_func_search_save_LIBS=$LIBS
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12620 for ac_lib in '' x; do
12621 if test -z "$ac_lib"; then
12622 ac_res="none required"
12625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12627 if ac_fn_c_try_link "$LINENO"; then :
12628 ac_cv_search_opendir=$ac_res
12630 rm -f core conftest.err conftest.$ac_objext \
12632 if ${ac_cv_search_opendir+:} false; then :
12636 if ${ac_cv_search_opendir+:} false; then :
12639 ac_cv_search_opendir=no
12641 rm conftest.$ac_ext
12642 LIBS=$ac_func_search_save_LIBS
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12645 $as_echo "$ac_cv_search_opendir" >&6; }
12646 ac_res=$ac_cv_search_opendir
12647 if test "$ac_res" != no; then :
12648 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12655 $as_echo_n "checking for ANSI C header files... " >&6; }
12656 if ${ac_cv_header_stdc+:} false; then :
12657 $as_echo_n "(cached) " >&6
12659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660 /* end confdefs.h. */
12661 #include <stdlib.h>
12662 #include <stdarg.h>
12663 #include <string.h>
12674 if ac_fn_c_try_compile "$LINENO"; then :
12675 ac_cv_header_stdc=yes
12677 ac_cv_header_stdc=no
12679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12681 if test $ac_cv_header_stdc = yes; then
12682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12684 /* end confdefs.h. */
12685 #include <string.h>
12688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12689 $EGREP "memchr" >/dev/null 2>&1; then :
12692 ac_cv_header_stdc=no
12698 if test $ac_cv_header_stdc = yes; then
12699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12701 /* end confdefs.h. */
12702 #include <stdlib.h>
12705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12706 $EGREP "free" >/dev/null 2>&1; then :
12709 ac_cv_header_stdc=no
12715 if test $ac_cv_header_stdc = yes; then
12716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12717 if test "$cross_compiling" = yes; then :
12720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12723 #include <stdlib.h>
12724 #if ((' ' & 0x0FF) == 0x020)
12725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12728 # define ISLOWER(c) \
12729 (('a' <= (c) && (c) <= 'i') \
12730 || ('j' <= (c) && (c) <= 'r') \
12731 || ('s' <= (c) && (c) <= 'z'))
12732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12740 for (i = 0; i < 256; i++)
12741 if (XOR (islower (i), ISLOWER (i))
12742 || toupper (i) != TOUPPER (i))
12747 if ac_fn_c_try_run "$LINENO"; then :
12750 ac_cv_header_stdc=no
12752 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12753 conftest.$ac_objext conftest.beam conftest.$ac_ext
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12759 $as_echo "$ac_cv_header_stdc" >&6; }
12760 if test $ac_cv_header_stdc = yes; then
12762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12766 for ac_header in fcntl.h
12768 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12769 if test "x$ac_cv_header_fcntl_h" = xyes; then :
12770 cat >>confdefs.h <<_ACEOF
12771 #define HAVE_FCNTL_H 1
12778 for ac_header in unistd.h
12780 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12781 if test "x$ac_cv_header_unistd_h" = xyes; then :
12782 cat >>confdefs.h <<_ACEOF
12783 #define HAVE_UNISTD_H 1
12790 for ac_header in ctype.h
12792 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
12793 if test "x$ac_cv_header_ctype_h" = xyes; then :
12794 cat >>confdefs.h <<_ACEOF
12795 #define HAVE_CTYPE_H 1
12802 for ac_header in dirent.h
12804 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12805 if test "x$ac_cv_header_dirent_h" = xyes; then :
12806 cat >>confdefs.h <<_ACEOF
12807 #define HAVE_DIRENT_H 1
12814 for ac_header in errno.h
12816 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12817 if test "x$ac_cv_header_errno_h" = xyes; then :
12818 cat >>confdefs.h <<_ACEOF
12819 #define HAVE_ERRNO_H 1
12826 for ac_header in malloc.h
12828 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
12829 if test "x$ac_cv_header_malloc_h" = xyes; then :
12830 cat >>confdefs.h <<_ACEOF
12831 #define HAVE_MALLOC_H 1
12838 for ac_header in stdarg.h
12840 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
12841 if test "x$ac_cv_header_stdarg_h" = xyes; then :
12842 cat >>confdefs.h <<_ACEOF
12843 #define HAVE_STDARG_H 1
12850 for ac_header in sys/stat.h
12852 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
12853 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
12854 cat >>confdefs.h <<_ACEOF
12855 #define HAVE_SYS_STAT_H 1
12862 for ac_header in sys/types.h
12864 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
12865 if test "x$ac_cv_header_sys_types_h" = xyes; then :
12866 cat >>confdefs.h <<_ACEOF
12867 #define HAVE_SYS_TYPES_H 1
12874 for ac_header in stdint.h
12876 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
12877 if test "x$ac_cv_header_stdint_h" = xyes; then :
12878 cat >>confdefs.h <<_ACEOF
12879 #define HAVE_STDINT_H 1
12886 for ac_header in inttypes.h
12888 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12889 if test "x$ac_cv_header_inttypes_h" = xyes; then :
12890 cat >>confdefs.h <<_ACEOF
12891 #define HAVE_INTTYPES_H 1
12898 for ac_header in time.h
12900 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
12901 if test "x$ac_cv_header_time_h" = xyes; then :
12902 cat >>confdefs.h <<_ACEOF
12903 #define HAVE_TIME_H 1
12910 for ac_header in ansidecl.h
12912 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
12913 if test "x$ac_cv_header_ansidecl_h" = xyes; then :
12914 cat >>confdefs.h <<_ACEOF
12915 #define HAVE_ANSIDECL_H 1
12922 for ac_header in ieeefp.h
12924 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
12925 if test "x$ac_cv_header_ieeefp_h" = xyes; then :
12926 cat >>confdefs.h <<_ACEOF
12927 #define HAVE_IEEEFP_H 1
12934 for ac_header in nan.h
12936 ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
12937 if test "x$ac_cv_header_nan_h" = xyes; then :
12938 cat >>confdefs.h <<_ACEOF
12939 #define HAVE_NAN_H 1
12946 for ac_header in math.h
12948 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
12949 if test "x$ac_cv_header_math_h" = xyes; then :
12950 cat >>confdefs.h <<_ACEOF
12951 #define HAVE_MATH_H 1
12958 for ac_header in limits.h
12960 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
12961 if test "x$ac_cv_header_limits_h" = xyes; then :
12962 cat >>confdefs.h <<_ACEOF
12963 #define HAVE_LIMITS_H 1
12970 for ac_header in fp_class.h
12972 ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
12973 if test "x$ac_cv_header_fp_class_h" = xyes; then :
12974 cat >>confdefs.h <<_ACEOF
12975 #define HAVE_FP_CLASS_H 1
12982 for ac_header in float.h
12984 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
12985 if test "x$ac_cv_header_float_h" = xyes; then :
12986 cat >>confdefs.h <<_ACEOF
12987 #define HAVE_FLOAT_H 1
12994 for ac_header in stdlib.h
12996 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12997 if test "x$ac_cv_header_stdlib_h" = xyes; then :
12998 cat >>confdefs.h <<_ACEOF
12999 #define HAVE_STDLIB_H 1
13006 for ac_header in sys/socket.h
13008 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
13009 # include <sys/types.h>
13013 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
13014 cat >>confdefs.h <<_ACEOF
13015 #define HAVE_SYS_SOCKET_H 1
13022 for ac_header in netinet/in.h
13024 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
13025 # include <sys/types.h>
13029 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13030 cat >>confdefs.h <<_ACEOF
13031 #define HAVE_NETINET_IN_H 1
13038 for ac_header in arpa/inet.h
13040 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
13041 # include <sys/types.h>
13043 #if HAVE_ARPA_INET_H
13044 # include <arpa/inet.h>
13048 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
13049 cat >>confdefs.h <<_ACEOF
13050 #define HAVE_ARPA_INET_H 1
13057 for ac_header in netdb.h
13059 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
13060 if test "x$ac_cv_header_netdb_h" = xyes; then :
13061 cat >>confdefs.h <<_ACEOF
13062 #define HAVE_NETDB_H 1
13069 for ac_header in sys/time.h
13071 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13072 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13073 cat >>confdefs.h <<_ACEOF
13074 #define HAVE_SYS_TIME_H 1
13081 for ac_header in sys/select.h
13083 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13084 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13085 cat >>confdefs.h <<_ACEOF
13086 #define HAVE_SYS_SELECT_H 1
13093 for ac_header in poll.h
13095 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
13096 if test "x$ac_cv_header_poll_h" = xyes; then :
13097 cat >>confdefs.h <<_ACEOF
13098 #define HAVE_POLL_H 1
13105 for ac_header in sys/mman.h
13107 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13108 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
13109 cat >>confdefs.h <<_ACEOF
13110 #define HAVE_SYS_MMAN_H 1
13117 for ac_header in sys/timeb.h
13119 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
13120 if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
13121 cat >>confdefs.h <<_ACEOF
13122 #define HAVE_SYS_TIMEB_H 1
13129 for ac_header in signal.h
13131 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
13132 if test "x$ac_cv_header_signal_h" = xyes; then :
13133 cat >>confdefs.h <<_ACEOF
13134 #define HAVE_SIGNAL_H 1
13141 for ac_header in arpa/nameser.h
13143 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
13144 # include <sys/types.h>
13148 if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
13149 cat >>confdefs.h <<_ACEOF
13150 #define HAVE_ARPA_NAMESER_H 1
13157 for ac_header in resolv.h
13159 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
13160 # include <sys/types.h>
13162 #if HAVE_NETINET_IN_H
13163 # include <netinet/in.h>
13165 #if HAVE_ARPA_NAMESER_H
13166 # include <arpa/nameser.h>
13170 if test "x$ac_cv_header_resolv_h" = xyes; then :
13171 cat >>confdefs.h <<_ACEOF
13172 #define HAVE_RESOLV_H 1
13179 for ac_header in dl.h
13181 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
13182 if test "x$ac_cv_header_dl_h" = xyes; then :
13183 cat >>confdefs.h <<_ACEOF
13184 #define HAVE_DL_H 1
13191 for ac_header in dlfcn.h
13193 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
13194 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13195 cat >>confdefs.h <<_ACEOF
13196 #define HAVE_DLFCN_H 1
13205 echo Checking types
13207 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
13208 case $ac_cv_c_uint32_t in #(
13212 $as_echo "#define _UINT32_T 1" >>confdefs.h
13215 cat >>confdefs.h <<_ACEOF
13216 #define uint32_t $ac_cv_c_uint32_t
13223 echo Checking libraries
13225 for ac_func in strftime
13227 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13228 if test "x$ac_cv_func_strftime" = xyes; then :
13229 cat >>confdefs.h <<_ACEOF
13230 #define HAVE_STRFTIME 1
13234 # strftime is in -lintl on SCO UNIX.
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13236 $as_echo_n "checking for strftime in -lintl... " >&6; }
13237 if ${ac_cv_lib_intl_strftime+:} false; then :
13238 $as_echo_n "(cached) " >&6
13240 ac_check_lib_save_LIBS=$LIBS
13241 LIBS="-lintl $LIBS"
13242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13255 return strftime ();
13260 if ac_fn_c_try_link "$LINENO"; then :
13261 ac_cv_lib_intl_strftime=yes
13263 ac_cv_lib_intl_strftime=no
13265 rm -f core conftest.err conftest.$ac_objext \
13266 conftest$ac_exeext conftest.$ac_ext
13267 LIBS=$ac_check_lib_save_LIBS
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13270 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
13271 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13272 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13274 LIBS="-lintl $LIBS"
13280 for ac_func in strdup strndup strerror
13282 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13283 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13284 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13285 cat >>confdefs.h <<_ACEOF
13286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13292 for ac_func in finite isnand fp_class class fpclass
13294 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13295 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13296 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13297 cat >>confdefs.h <<_ACEOF
13298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13304 for ac_func in strftime localtime gettimeofday ftime
13306 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13307 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13308 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13309 cat >>confdefs.h <<_ACEOF
13310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13316 for ac_func in stat _stat signal
13318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13321 cat >>confdefs.h <<_ACEOF
13322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13328 for ac_func in rand rand_r srand time
13330 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13331 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13332 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13333 cat >>confdefs.h <<_ACEOF
13334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13340 for ac_func in isascii mmap munmap putenv
13342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13344 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13345 cat >>confdefs.h <<_ACEOF
13346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
13356 $as_echo_n "checking for va_copy... " >&6; }
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13359 #include <stdarg.h>
13369 if ac_fn_c_try_link "$LINENO"; then :
13374 rm -f core conftest.err conftest.$ac_objext \
13375 conftest$ac_exeext conftest.$ac_ext
13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
13377 $as_echo "$have_va_copy" >&6; }
13378 if test x"$have_va_copy" = x"yes"; then
13380 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
13384 $as_echo_n "checking for __va_copy... " >&6; }
13385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13386 /* end confdefs.h. */
13387 #include <stdarg.h>
13392 __va_copy(ap1,ap2);
13397 if ac_fn_c_try_link "$LINENO"; then :
13402 rm -f core conftest.err conftest.$ac_objext \
13403 conftest$ac_exeext conftest.$ac_ext
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
13405 $as_echo "$have___va_copy" >&6; }
13406 if test x"$have___va_copy" = x"yes"; then
13408 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
13414 $as_echo_n "checking for library containing gethostent... " >&6; }
13415 if ${ac_cv_search_gethostent+:} false; then :
13416 $as_echo_n "(cached) " >&6
13418 ac_func_search_save_LIBS=$LIBS
13419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13420 /* end confdefs.h. */
13422 /* Override any GCC internal prototype to avoid an error.
13423 Use char because int might match the return type of a GCC
13424 builtin and then its argument prototype would still apply. */
13428 char gethostent ();
13432 return gethostent ();
13437 for ac_lib in '' nsl; do
13438 if test -z "$ac_lib"; then
13439 ac_res="none required"
13442 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13444 if ac_fn_c_try_link "$LINENO"; then :
13445 ac_cv_search_gethostent=$ac_res
13447 rm -f core conftest.err conftest.$ac_objext \
13449 if ${ac_cv_search_gethostent+:} false; then :
13453 if ${ac_cv_search_gethostent+:} false; then :
13456 ac_cv_search_gethostent=no
13458 rm conftest.$ac_ext
13459 LIBS=$ac_func_search_save_LIBS
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
13462 $as_echo "$ac_cv_search_gethostent" >&6; }
13463 ac_res=$ac_cv_search_gethostent
13464 if test "$ac_res" != no; then :
13465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
13470 $as_echo_n "checking for library containing setsockopt... " >&6; }
13471 if ${ac_cv_search_setsockopt+:} false; then :
13472 $as_echo_n "(cached) " >&6
13474 ac_func_search_save_LIBS=$LIBS
13475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13484 char setsockopt ();
13488 return setsockopt ();
13493 for ac_lib in '' socket net network; do
13494 if test -z "$ac_lib"; then
13495 ac_res="none required"
13498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13500 if ac_fn_c_try_link "$LINENO"; then :
13501 ac_cv_search_setsockopt=$ac_res
13503 rm -f core conftest.err conftest.$ac_objext \
13505 if ${ac_cv_search_setsockopt+:} false; then :
13509 if ${ac_cv_search_setsockopt+:} false; then :
13512 ac_cv_search_setsockopt=no
13514 rm conftest.$ac_ext
13515 LIBS=$ac_func_search_save_LIBS
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
13518 $as_echo "$ac_cv_search_setsockopt" >&6; }
13519 ac_res=$ac_cv_search_setsockopt
13520 if test "$ac_res" != no; then :
13521 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13526 $as_echo_n "checking for library containing connect... " >&6; }
13527 if ${ac_cv_search_connect+:} false; then :
13528 $as_echo_n "(cached) " >&6
13530 ac_func_search_save_LIBS=$LIBS
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13534 /* Override any GCC internal prototype to avoid an error.
13535 Use char because int might match the return type of a GCC
13536 builtin and then its argument prototype would still apply. */
13549 for ac_lib in '' inet; do
13550 if test -z "$ac_lib"; then
13551 ac_res="none required"
13554 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13556 if ac_fn_c_try_link "$LINENO"; then :
13557 ac_cv_search_connect=$ac_res
13559 rm -f core conftest.err conftest.$ac_objext \
13561 if ${ac_cv_search_connect+:} false; then :
13565 if ${ac_cv_search_connect+:} false; then :
13568 ac_cv_search_connect=no
13570 rm conftest.$ac_ext
13571 LIBS=$ac_func_search_save_LIBS
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13574 $as_echo "$ac_cv_search_connect" >&6; }
13575 ac_res=$ac_cv_search_connect
13576 if test "$ac_res" != no; then :
13577 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
13583 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
13584 cat > conftest.$ac_ext <<EOF
13585 #line 13585 "configure"
13586 #include "confdefs.h"
13588 #include <stddef.h>
13589 #include <sys/types.h>
13590 #include <sys/socket.h>
13593 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
13596 if { (eval echo configure:13596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
13600 $as_echo "socklen_t *" >&6; }
13601 XML_SOCKLEN_T=socklen_t
13603 echo "configure: failed program was:" >&5
13604 cat conftest.$ac_ext >&5
13607 cat > conftest.$ac_ext <<EOF
13608 #line 13608 "configure"
13609 #include "confdefs.h"
13611 #include <stddef.h>
13612 #include <sys/types.h>
13613 #include <sys/socket.h>
13616 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
13619 if { (eval echo configure:13619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
13623 $as_echo "size_t *" >&6; }
13624 XML_SOCKLEN_T=size_t
13626 echo "configure: failed program was:" >&5
13627 cat conftest.$ac_ext >&5
13630 cat > conftest.$ac_ext <<EOF
13631 #line 13631 "configure"
13632 #include "confdefs.h"
13634 #include <stddef.h>
13635 #include <sys/types.h>
13636 #include <sys/socket.h>
13639 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
13642 if { (eval echo configure:13642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
13646 $as_echo "int *" >&6; }
13649 echo "configure: failed program was:" >&5
13650 cat conftest.$ac_ext >&5
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
13654 $as_echo "$as_me: WARNING: could not determine" >&2;}
13655 XML_SOCKLEN_T="int"
13663 cat >>confdefs.h <<_ACEOF
13664 #define XML_SOCKLEN_T $XML_SOCKLEN_T
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
13670 $as_echo_n "checking whether to enable IPv6... " >&6; }
13671 # Check whether --enable-ipv6 was given.
13672 if test "${enable_ipv6+set}" = set; then :
13673 enableval=$enable_ipv6;
13678 if test "$with_minimum" = "yes"
13682 if test $enable_ipv6 = yes; then
13684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13685 /* end confdefs.h. */
13687 # include <sys/types.h>
13688 # include <sys/socket.h>
13694 struct sockaddr_storage ss;
13695 socket(AF_INET6, SOCK_STREAM, 0)
13701 if ac_fn_c_try_compile "$LINENO"; then :
13707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
13709 $as_echo "$have_ipv6" >&6; }
13711 if test $have_ipv6 = yes; then
13713 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
13715 have_broken_ss_family=no
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
13718 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
13719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13720 /* end confdefs.h. */
13722 # include <sys/types.h>
13723 # include <sys/socket.h>
13729 struct sockaddr_storage ss ;
13736 if ac_fn_c_try_compile "$LINENO"; then :
13742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
13744 $as_echo "$have_ss_family" >&6; }
13745 if test x$have_ss_family = xno ; then
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
13747 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13751 # include <sys/types.h>
13752 # include <sys/socket.h>
13758 struct sockaddr_storage ss ;
13759 ss.__ss_family = 0 ;
13765 if ac_fn_c_try_compile "$LINENO"; then :
13766 have_broken_ss_family=yes
13768 have_broken_ss_family=no
13771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
13773 $as_echo "$have_broken_ss_family" >&6; }
13774 if test x$have_broken_ss_family = xyes ; then
13776 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
13779 $as_echo "#define ss_family __ss_family" >>confdefs.h
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
13783 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
13787 have_getaddrinfo=no
13788 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13789 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13790 have_getaddrinfo=yes
13793 if test $have_getaddrinfo != yes; then
13794 for lib in bsd socket inet; do
13795 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
13797 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
13798 if eval \${$as_ac_Lib+:} false; then :
13799 $as_echo_n "(cached) " >&6
13801 ac_check_lib_save_LIBS=$LIBS
13802 LIBS="-l$lib $LIBS"
13803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804 /* end confdefs.h. */
13806 /* Override any GCC internal prototype to avoid an error.
13807 Use char because int might match the return type of a GCC
13808 builtin and then its argument prototype would still apply. */
13812 char getaddrinfo ();
13816 return getaddrinfo ();
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 eval "$as_ac_Lib=yes"
13824 eval "$as_ac_Lib=no"
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS=$ac_check_lib_save_LIBS
13830 eval ac_res=\$$as_ac_Lib
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13832 $as_echo "$ac_res" >&6; }
13833 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13834 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
13840 if test $have_getaddrinfo = yes; then
13842 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
13849 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
13850 if test "x$ac_cv_func_isnan" = xyes; then :
13852 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13856 $as_echo_n "checking for isnan in -lm... " >&6; }
13857 if ${ac_cv_lib_m_isnan+:} false; then :
13858 $as_echo_n "(cached) " >&6
13860 ac_check_lib_save_LIBS=$LIBS
13862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13863 /* end confdefs.h. */
13865 /* Override any GCC internal prototype to avoid an error.
13866 Use char because int might match the return type of a GCC
13867 builtin and then its argument prototype would still apply. */
13880 if ac_fn_c_try_link "$LINENO"; then :
13881 ac_cv_lib_m_isnan=yes
13883 ac_cv_lib_m_isnan=no
13885 rm -f core conftest.err conftest.$ac_objext \
13886 conftest$ac_exeext conftest.$ac_ext
13887 LIBS=$ac_check_lib_save_LIBS
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
13890 $as_echo "$ac_cv_lib_m_isnan" >&6; }
13891 if test "x$ac_cv_lib_m_isnan" = xyes; then :
13893 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13900 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
13901 if test "x$ac_cv_func_isinf" = xyes; then :
13903 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
13907 $as_echo_n "checking for isinf in -lm... " >&6; }
13908 if ${ac_cv_lib_m_isinf+:} false; then :
13909 $as_echo_n "(cached) " >&6
13911 ac_check_lib_save_LIBS=$LIBS
13913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13914 /* end confdefs.h. */
13916 /* Override any GCC internal prototype to avoid an error.
13917 Use char because int might match the return type of a GCC
13918 builtin and then its argument prototype would still apply. */
13931 if ac_fn_c_try_link "$LINENO"; then :
13932 ac_cv_lib_m_isinf=yes
13934 ac_cv_lib_m_isinf=no
13936 rm -f core conftest.err conftest.$ac_objext \
13937 conftest$ac_exeext conftest.$ac_ext
13938 LIBS=$ac_check_lib_save_LIBS
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
13941 $as_echo "$ac_cv_lib_m_isinf" >&6; }
13942 if test "x$ac_cv_lib_m_isinf" = xyes; then :
13944 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
13951 XML_LIBDIR='-L${libdir}'
13952 XML_INCLUDEDIR='-I${includedir}/libxml2'
13957 if test "${GCC}" != "yes" ; then
13960 CFLAGS="${CFLAGS} -Wp,-H30000"
13963 CFLAGS="${CFLAGS} -ieee"
13966 CFLAGS="${CFLAGS} -ieee"
13970 if test "$with_fexceptions" = "yes"
13973 # Not activated by default because this inflates the code size
13974 # Used to allow propagation of C++ exceptions through the library
13976 CFLAGS="${CFLAGS} -fexceptions"
13979 # warnings we'd like to see
13980 CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
13981 # warnings we'd like to supress
13982 CFLAGS="${CFLAGS} -Wno-long-long"
13985 CFLAGS="${CFLAGS} -mieee"
13988 CFLAGS="${CFLAGS} -mieee"
13994 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
13999 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
14000 # If the host is Windows, and shared libraries are disabled, we
14001 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
14002 # work properly (without it, xmlexports.h would force the use of
14003 # DLL imports, which obviously aren't present in a static
14005 if test "x$enable_shared" = "xno"; then
14006 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
14007 CFLAGS="$CFLAGS -DLIBXML_STATIC"
14016 PYTHON_SITE_PACKAGES=
14019 if test "$with_python" != "no" ; then
14020 if test -x "$with_python/bin/python"
14022 echo Found python in $with_python/bin/python
14023 PYTHON="$with_python/bin/python"
14025 if test -x "$with_python/python.exe"
14027 echo Found python in $with_python/python.exe
14028 PYTHON="$with_python/python.exe"
14030 if test -x "$with_python"
14032 echo Found python in $with_python
14033 PYTHON="$with_python"
14035 if test -x "$PYTHON"
14037 echo Found python in environment PYTHON=$PYTHON
14038 with_python=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
14040 # 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.
14041 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14043 $as_echo_n "checking for $ac_word... " >&6; }
14044 if ${ac_cv_path_PYTHON+:} false; then :
14045 $as_echo_n "(cached) " >&6
14049 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14053 for as_dir in $PATH
14056 test -z "$as_dir" && as_dir=.
14057 for ac_exec_ext in '' $ac_executable_extensions; do
14058 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14070 PYTHON=$ac_cv_path_PYTHON
14071 if test -n "$PYTHON"; then
14072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14073 $as_echo "$PYTHON" >&6; }
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14076 $as_echo "no" >&6; }
14084 if test "$PYTHON" != ""
14086 PYTHON_VERSION=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_version())"`
14087 PYTHON_INCLUDES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_inc())"`
14088 # does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
14090 # PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
14091 echo Found Python version $PYTHON_VERSION
14093 if test "$PYTHON_VERSION" != "" -a "$PYTHON_INCLUDES" = ""
14095 if test -r $with_python/include/python$PYTHON_VERSION/Python.h
14097 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
14099 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
14101 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
14103 if test -r /usr/include/python$PYTHON_VERSION/Python.h
14105 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
14107 if test -r $with_python/include/Python.h
14109 PYTHON_INCLUDES=$with_python/include
14111 echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
14117 if test "$PYTHON_VERSION" != "" -a "$PYTHON_SITE_PACKAGES" = ""
14119 if test -d $libdir/python$PYTHON_VERSION/site-packages
14121 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14123 if test -d $with_python/lib/site-packages
14125 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
14127 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib())"`
14131 pythondir='$(PYTHON_SITE_PACKAGES)'
14132 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
14136 if test "$PYTHON_INCLUDES" != ""; then
14138 WITH_PYTHON_FALSE='#'
14140 WITH_PYTHON_TRUE='#'
14144 if test "$PYTHON_INCLUDES" != ""
14146 PYTHON_SUBDIR=python
14157 if test "$with_modules" != "no" ; then
14160 MODULE_EXTENSION=".dll"
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
14162 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
14163 if ${ac_cv_lib_cygwin_dlopen+:} false; then :
14164 $as_echo_n "(cached) " >&6
14166 ac_check_lib_save_LIBS=$LIBS
14167 LIBS="-lcygwin $LIBS"
14168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14169 /* end confdefs.h. */
14171 /* Override any GCC internal prototype to avoid an error.
14172 Use char because int might match the return type of a GCC
14173 builtin and then its argument prototype would still apply. */
14186 if ac_fn_c_try_link "$LINENO"; then :
14187 ac_cv_lib_cygwin_dlopen=yes
14189 ac_cv_lib_cygwin_dlopen=no
14191 rm -f core conftest.err conftest.$ac_objext \
14192 conftest$ac_exeext conftest.$ac_ext
14193 LIBS=$ac_check_lib_save_LIBS
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
14196 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
14197 if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then :
14200 MODULE_PLATFORM_LIBS=
14202 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14209 MODULE_EXTENSION=".dll"
14213 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14214 if test "x$ac_cv_func_shl_load" = xyes; then :
14215 libxml_have_shl_load=yes
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14219 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14220 if ${ac_cv_lib_dld_shl_load+:} false; then :
14221 $as_echo_n "(cached) " >&6
14223 ac_check_lib_save_LIBS=$LIBS
14225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14226 /* end confdefs.h. */
14228 /* Override any GCC internal prototype to avoid an error.
14229 Use char because int might match the return type of a GCC
14230 builtin and then its argument prototype would still apply. */
14238 return shl_load ();
14243 if ac_fn_c_try_link "$LINENO"; then :
14244 ac_cv_lib_dld_shl_load=yes
14246 ac_cv_lib_dld_shl_load=no
14248 rm -f core conftest.err conftest.$ac_objext \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_lib_save_LIBS
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14253 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14254 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14256 MODULE_PLATFORM_LIBS="-ldld"
14257 libxml_have_shl_load=yes
14260 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14261 if test "x$ac_cv_func_dlopen" = xyes; then :
14262 libxml_have_dlopen=yes
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14267 if ${ac_cv_lib_dl_dlopen+:} false; then :
14268 $as_echo_n "(cached) " >&6
14270 ac_check_lib_save_LIBS=$LIBS
14272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14273 /* end confdefs.h. */
14275 /* Override any GCC internal prototype to avoid an error.
14276 Use char because int might match the return type of a GCC
14277 builtin and then its argument prototype would still apply. */
14290 if ac_fn_c_try_link "$LINENO"; then :
14291 ac_cv_lib_dl_dlopen=yes
14293 ac_cv_lib_dl_dlopen=no
14295 rm -f core conftest.err conftest.$ac_objext \
14296 conftest$ac_exeext conftest.$ac_ext
14297 LIBS=$ac_check_lib_save_LIBS
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14300 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14301 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14303 MODULE_PLATFORM_LIBS="-ldl"
14304 libxml_have_dlopen=yes
14314 if test "${libxml_have_shl_load}" = "yes"; then
14315 MODULE_EXTENSION=".sl"
14318 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
14322 if test "${libxml_have_dlopen}" = "yes"; then
14325 MODULE_EXTENSION=".sl"
14328 MODULE_EXTENSION=".so"
14334 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14341 if test "${WITH_MODULES}" = "1"; then
14342 TEST_MODULES="ModuleTests"
14351 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
14352 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
14353 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
14355 if test "$with_minimum" != "yes"
14357 if test "${with_mem_debug}" = "" ; then
14358 echo Activating memory debugging
14359 with_mem_debug="yes"
14360 with_run_debug="yes"
14362 if test "${with_docbook}" = "" ; then
14366 if test "${GCC}" = "yes" ; then
14367 CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
14369 STATIC_BINARIES="-static"
14376 if test "${NEED_TRIO}" = "1" ; then
14377 echo Adding trio library for string functions
14382 if test "${NEED_TRIO}" = "1"; then
14383 WITH_TRIO_SOURCES_TRUE=
14384 WITH_TRIO_SOURCES_FALSE='#'
14386 WITH_TRIO_SOURCES_TRUE='#'
14387 WITH_TRIO_SOURCES_FALSE=
14392 echo Checking configuration requirements
14395 BASE_THREAD_LIBS=""
14400 WITH_THREAD_ALLOC=0
14402 if test "$with_threads" = "no" ; then
14403 echo Disabling multithreaded support
14405 echo Enabling multithreaded support
14408 *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
14411 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
14416 if test -z "$THREADS_W32"; then
14417 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
14418 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14419 if test "x$ac_cv_header_pthread_h" = xyes; then :
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
14421 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
14422 if ${ac_cv_lib_pthread_pthread_join+:} false; then :
14423 $as_echo_n "(cached) " >&6
14425 ac_check_lib_save_LIBS=$LIBS
14426 LIBS="-lpthread $LIBS"
14427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14428 /* end confdefs.h. */
14430 /* Override any GCC internal prototype to avoid an error.
14431 Use char because int might match the return type of a GCC
14432 builtin and then its argument prototype would still apply. */
14436 char pthread_join ();
14440 return pthread_join ();
14445 if ac_fn_c_try_link "$LINENO"; then :
14446 ac_cv_lib_pthread_pthread_join=yes
14448 ac_cv_lib_pthread_pthread_join=no
14450 rm -f core conftest.err conftest.$ac_objext \
14451 conftest$ac_exeext conftest.$ac_ext
14452 LIBS=$ac_check_lib_save_LIBS
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
14455 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
14456 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
14458 THREAD_LIBS="-lpthread"
14460 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
14463 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
14475 *cygwin*) THREAD_LIBS=""
14477 *beos*) WITH_THREADS="1"
14478 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
14481 if test "${GCC}" = "yes" ; then
14482 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
14483 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
14484 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
14485 if test "${THREAD_LIBS}" = "-lpthread" ; then
14486 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
14489 BASE_THREAD_LIBS="-lpthread"
14491 if expr ${GCC_MAJOR} \> 3 > /dev/null
14494 BASE_THREAD_LIBS="-lpthread"
14496 echo old GCC disabling weak symbols for pthread
14503 if test "$WITH_THREADS" = "1" ; then
14504 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
14505 TEST_THREADS="Threadtests"
14508 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
14509 WITH_THREAD_ALLOC=1
14518 if test -n "$THREADS_W32"; then
14520 THREADS_W32_FALSE='#'
14522 THREADS_W32_TRUE='#'
14527 if test "$with_history" = "yes" ; then
14528 echo Enabling xmllint shell history
14530 for termlib in ncurses curses termcap terminfo termlib; do
14531 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
14532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
14533 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
14534 if eval \${$as_ac_Lib+:} false; then :
14535 $as_echo_n "(cached) " >&6
14537 ac_check_lib_save_LIBS=$LIBS
14538 LIBS="-l${termlib} $LIBS"
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14542 /* Override any GCC internal prototype to avoid an error.
14543 Use char because int might match the return type of a GCC
14544 builtin and then its argument prototype would still apply. */
14557 if ac_fn_c_try_link "$LINENO"; then :
14558 eval "$as_ac_Lib=yes"
14560 eval "$as_ac_Lib=no"
14562 rm -f core conftest.err conftest.$ac_objext \
14563 conftest$ac_exeext conftest.$ac_ext
14564 LIBS=$ac_check_lib_save_LIBS
14566 eval ac_res=\$$as_ac_Lib
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14568 $as_echo "$ac_res" >&6; }
14569 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
14573 test -n "$tcap" && break
14576 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
14577 if test "x$ac_cv_header_readline_history_h" = xyes; then :
14578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
14579 $as_echo_n "checking for append_history in -lhistory... " >&6; }
14580 if ${ac_cv_lib_history_append_history+:} false; then :
14581 $as_echo_n "(cached) " >&6
14583 ac_check_lib_save_LIBS=$LIBS
14584 LIBS="-lhistory $LIBS"
14585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14586 /* end confdefs.h. */
14588 /* Override any GCC internal prototype to avoid an error.
14589 Use char because int might match the return type of a GCC
14590 builtin and then its argument prototype would still apply. */
14594 char append_history ();
14598 return append_history ();
14603 if ac_fn_c_try_link "$LINENO"; then :
14604 ac_cv_lib_history_append_history=yes
14606 ac_cv_lib_history_append_history=no
14608 rm -f core conftest.err conftest.$ac_objext \
14609 conftest$ac_exeext conftest.$ac_ext
14610 LIBS=$ac_check_lib_save_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
14613 $as_echo "$ac_cv_lib_history_append_history" >&6; }
14614 if test "x$ac_cv_lib_history_append_history" = xyes; then :
14616 RDL_LIBS="-lhistory"
14618 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
14625 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
14626 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14628 $as_echo_n "checking for readline in -lreadline... " >&6; }
14629 if ${ac_cv_lib_readline_readline+:} false; then :
14630 $as_echo_n "(cached) " >&6
14632 ac_check_lib_save_LIBS=$LIBS
14633 LIBS="-lreadline $tcap $LIBS"
14634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14635 /* end confdefs.h. */
14637 /* Override any GCC internal prototype to avoid an error.
14638 Use char because int might match the return type of a GCC
14639 builtin and then its argument prototype would still apply. */
14647 return readline ();
14652 if ac_fn_c_try_link "$LINENO"; then :
14653 ac_cv_lib_readline_readline=yes
14655 ac_cv_lib_readline_readline=no
14657 rm -f core conftest.err conftest.$ac_objext \
14658 conftest$ac_exeext conftest.$ac_ext
14659 LIBS=$ac_check_lib_save_LIBS
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14662 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14663 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14665 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
14667 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
14674 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
14675 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
14676 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
14680 if test "$with_tree" = "no" ; then
14681 echo Disabling DOM like tree manipulation APIs
14688 if test "$with_ftp" = "no" ; then
14689 echo Disabling FTP support
14699 if test "$with_http" = "no" ; then
14700 echo Disabling HTTP support
14705 HTTP_OBJ=nanohttp.o
14710 if test "$with_legacy" = "no" ; then
14711 echo Disabling deprecated APIs
14718 if test "$with_reader" = "no" ; then
14719 echo Disabling the xmlReader parsing interface
14724 READER_TEST=Readertests
14725 if test "$with_push" = "no" ; then
14726 echo xmlReader requires Push interface - enabling it
14733 if test "$with_writer" = "no" ; then
14734 echo Disabling the xmlWriter saving interface
14739 # WRITER_TEST=Writertests
14740 if test "$with_push" = "no" ; then
14741 echo xmlWriter requires Push interface - enabling it
14744 if test "$with_output" = "no" ; then
14745 echo xmlWriter requires Output interface - enabling it
14750 #AC_SUBST(WRITER_TEST)
14752 if test "$with_pattern" = "no" ; then
14753 echo Disabling the xmlPattern parsing interface
14758 TEST_PATTERN=Patterntests
14763 if test "$with_sax1" = "no" ; then
14764 echo Disabling the older SAX1 interface
14772 if test "${WITH_TRIO}" = "1"; then
14773 WITH_SAX1_SOURCES_TRUE=
14774 WITH_SAX1_SOURCES_FALSE='#'
14776 WITH_SAX1_SOURCES_TRUE='#'
14777 WITH_SAX1_SOURCES_FALSE=
14782 if test "$with_push" = "no" ; then
14783 echo Disabling the PUSH parser interfaces
14788 TEST_PUSH="XMLPushtests"
14793 if test "$with_html" = "no" ; then
14794 echo Disabling HTML support
14800 HTML_OBJ="HTMLparser.o HTMLtree.o"
14801 TEST_HTML=HTMLtests
14802 if test "$with_push" != "no" ; then
14803 TEST_PHTML=HTMLPushtests
14813 if test "$with_valid" = "no" ; then
14814 echo Disabling DTD validation support
14820 TEST_VALID=Validtests
14821 TEST_VTIME=VTimingtests
14827 if test "$with_catalog" = "no" ; then
14828 echo Disabling Catalog support
14834 CATALOG_OBJ="catalog.o"
14835 TEST_CATALOG=Catatests
14841 if test "$with_docbook" = "no" ; then
14842 echo Disabling Docbook support
14847 DOCB_OBJ="DOCBparser.o"
14853 if test "$with_xptr" = "no" ; then
14854 echo Disabling XPointer support
14860 XPTR_OBJ=xpointer.o
14861 TEST_XPTR=XPtrtests
14862 if test "$with_xpath" = "no" ; then
14863 echo XPointer requires XPath support - enabling it
14871 if test "$with_c14n" = "no" ; then
14872 echo Disabling C14N support
14879 TEST_C14N=C14Ntests
14880 if test "$with_xpath" = "no" ; then
14881 echo C14N requires XPath support - enabling it
14889 if test "$with_xinclude" = "no" ; then
14890 echo Disabling XInclude support
14897 XINCLUDE_OBJ=xinclude.o
14898 TEST_XINCLUDE=XIncludetests
14899 if test "$with_xpath" = "no" ; then
14900 echo XInclude requires XPath support - enabling it
14908 if test "$with_xpath" = "no" ; then
14909 echo Disabling XPATH support
14916 TEST_XPATH=XPathtests
14922 if test "$with_output" = "no" ; then
14923 echo Disabling serialization/saving support
14931 if test "$with_iconv" = "no" ; then
14932 echo Disabling ICONV support
14934 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
14935 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
14936 # Export this since our headers include iconv.h
14937 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
14938 ICONV_LIBS="-L$with_iconv/lib"
14941 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
14942 if test "x$ac_cv_header_iconv_h" = xyes; then :
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14944 $as_echo_n "checking for iconv... " >&6; }
14945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14946 /* end confdefs.h. */
14947 #include <stdlib.h>
14953 iconv_t cd = iconv_open ("","");
14954 iconv (cd, NULL, NULL, NULL, NULL);
14959 if ac_fn_c_try_link "$LINENO"; then :
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14962 $as_echo "yes" >&6; }
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14967 $as_echo "no" >&6; }
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
14969 $as_echo_n "checking for iconv in -liconv... " >&6; }
14971 _ldflags="${LDFLAGS}"
14973 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
14974 LIBS="${LIBS} -liconv"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14978 #include <stdlib.h>
14984 iconv_t cd = iconv_open ("","");
14985 iconv (cd, NULL, NULL, NULL, NULL);
14990 if ac_fn_c_try_link "$LINENO"; then :
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14993 $as_echo "yes" >&6; }
14995 ICONV_LIBS="${ICONV_LIBS} -liconv"
14997 LDFLAGS="${_ldflags}"
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15003 LDFLAGS="${_ldflags}"
15005 rm -f core conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15008 rm -f core conftest.err conftest.$ac_objext \
15009 conftest$ac_exeext conftest.$ac_ext
15014 if test "$WITH_ICONV" = "1" ; then
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15016 $as_echo_n "checking for iconv declaration... " >&6; }
15017 if ${xml_cv_iconv_arg2+:} false; then :
15018 $as_echo_n "(cached) " >&6
15021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15022 /* end confdefs.h. */
15023 #include <stdlib.h>
15029 #if defined(__STDC__) || defined(__cplusplus)
15030 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15043 if ac_fn_c_try_compile "$LINENO"; then :
15044 xml_cv_iconv_arg2=""
15046 xml_cv_iconv_arg2="const"
15048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15052 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);"
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
15054 }$xml_cv_iconv_decl" >&5
15055 $as_echo "${xml_xxx:-
15056 }$xml_cv_iconv_decl" >&6; }
15058 cat >>confdefs.h <<_ACEOF
15059 #define ICONV_CONST $xml_cv_iconv_arg2
15074 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
15075 XML_LIBTOOLLIBS="libxml2.la"
15080 if test "$with_icu" != "yes" ; then
15081 echo Disabling ICU support
15083 ICU_CONFIG=icu-config
15084 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
15086 ICU_LIBS=`${ICU_CONFIG} --ldflags`
15088 echo Enabling ICU support
15090 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5
15097 if test "$WITH_ICONV" != "1" ; then
15098 if test "$with_iso8859x" = "no" ; then
15099 echo Disabling ISO8859X support
15105 if test "$with_schematron" = "no" ; then
15106 echo "Disabling Schematron support"
15110 echo "Enabled Schematron support"
15112 TEST_SCHEMATRON="Schematrontests"
15119 if test "$with_schemas" = "no" ; then
15120 echo "Disabling Schemas/Relax-NG support"
15124 echo "Enabled Schemas/Relax-NG support"
15126 TEST_SCHEMAS="Schemastests Relaxtests"
15127 if test "$PYTHON_INCLUDES" != "" ; then
15128 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
15135 if test "$with_regexps" = "no" ; then
15136 echo Disabling Regexps support
15141 TEST_REGEXPS="Regexptests Automatatests"
15146 if test "$with_debug" = "no" ; then
15147 echo Disabling DEBUG support
15153 DEBUG_OBJ=debugXML.o
15154 TEST_DEBUG=Scripttests
15160 if test "$with_mem_debug" = "yes" ; then
15161 if test "$with_thread_alloc" = "yes" ; then
15162 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
15165 echo Enabling memory debug support
15173 if test "$with_run_debug" = "yes" ; then
15174 echo Enabling runtime debug support
15181 WIN32_EXTRA_LIBADD=
15182 WIN32_EXTRA_LDFLAGS=
15183 CYGWIN_EXTRA_LDFLAGS=
15184 CYGWIN_EXTRA_PYTHON_LIBADD=
15185 WIN32_EXTRA_PYTHON_LIBADD=
15188 CPPFLAGS="$CPPFLAGS -DWIN32"
15189 WIN32_EXTRA_LIBADD="-lws2_32"
15190 WIN32_EXTRA_LDFLAGS="-no-undefined"
15192 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
15194 if test "${PYTHON}" != ""
15196 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
15200 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
15201 if test "${PYTHON}" != ""
15203 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
15213 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
15215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15217 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15218 cat >>confdefs.h <<_ACEOF
15219 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15228 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
15230 echo Enabling code coverage for GCC
15231 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
15232 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
15234 echo Disabling code coverage for GCC
15258 RELDATE=`date +'%a %b %e %Y'`
15262 rm -f COPYING.LIB COPYING
15263 ln -s $srcdir/Copyright COPYING
15265 # keep on one line for cygwin c.f. #130896
15266 ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
15268 cat >confcache <<\_ACEOF
15269 # This file is a shell script that caches the results of configure
15270 # tests run on this system so they can be shared between configure
15271 # scripts and configure runs, see configure's option --config-cache.
15272 # It is not useful on other systems. If it contains results you don't
15273 # want to keep, you may remove or edit it.
15275 # config.status only pays attention to the cache file if you give it
15276 # the --recheck option to rerun configure.
15278 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15279 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15280 # following values.
15284 # The following way of writing the cache mishandles newlines in values,
15285 # but we know of no workaround that is simple, portable, and efficient.
15286 # So, we kill variables containing newlines.
15287 # Ultrix sh set writes to stderr and can't be redirected directly,
15288 # and sets the high bit in the cache file unless we assign to the vars.
15290 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15291 eval ac_val=\$$ac_var
15295 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15296 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15299 _ | IFS | as_nl) ;; #(
15300 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15301 *) { eval $ac_var=; unset $ac_var;} ;;
15307 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15308 *${as_nl}ac_space=\ *)
15309 # `set' does not quote correctly, so add quotes: double-quote
15310 # substitution turns \\\\ into \\, and sed turns \\ into \.
15313 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15316 # `set' quotes correctly as required by POSIX, so do not add quotes.
15317 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15326 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15328 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15330 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15331 if test -w "$cache_file"; then
15332 if test "x$cache_file" != "x/dev/null"; then
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15334 $as_echo "$as_me: updating cache $cache_file" >&6;}
15335 if test ! -f "$cache_file" || test -h "$cache_file"; then
15336 cat confcache >"$cache_file"
15338 case $cache_file in #(
15340 mv -f confcache "$cache_file"$$ &&
15341 mv -f "$cache_file"$$ "$cache_file" ;; #(
15343 mv -f confcache "$cache_file" ;;
15348 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15349 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15354 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15355 # Let make expand exec_prefix.
15356 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15358 DEFS=-DHAVE_CONFIG_H
15363 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15364 # 1. Remove the extension, and $U if already installed.
15365 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15366 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15367 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15368 # will be set to the directory where LIBOBJS objects are built.
15369 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15370 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15372 LIBOBJS=$ac_libobjs
15374 LTLIBOBJS=$ac_ltlibobjs
15377 if test -n "$EXEEXT"; then
15379 am__EXEEXT_FALSE='#'
15381 am__EXEEXT_TRUE='#'
15385 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15386 as_fn_error $? "conditional \"AMDEP\" was never defined.
15387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15389 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15390 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15393 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
15394 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
15395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15397 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
15398 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined.
15399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15401 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15402 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15405 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
15406 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
15407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15409 if test -z "${THREADS_W32_TRUE}" && test -z "${THREADS_W32_FALSE}"; then
15410 as_fn_error $? "conditional \"THREADS_W32\" was never defined.
15411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15413 if test -z "${WITH_SAX1_SOURCES_TRUE}" && test -z "${WITH_SAX1_SOURCES_FALSE}"; then
15414 as_fn_error $? "conditional \"WITH_SAX1_SOURCES\" was never defined.
15415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15418 : "${CONFIG_STATUS=./config.status}"
15420 ac_clean_files_save=$ac_clean_files
15421 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15423 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15425 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15427 # Generated by $as_me.
15428 # Run this file to recreate the current configuration.
15429 # Compiler output produced by configure, useful for debugging
15430 # configure, is in config.log if it exists.
15433 ac_cs_recheck=false
15436 SHELL=\${CONFIG_SHELL-$SHELL}
15439 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15440 ## -------------------- ##
15441 ## M4sh Initialization. ##
15442 ## -------------------- ##
15444 # Be more Bourne compatible
15445 DUALCASE=1; export DUALCASE # for MKS sh
15446 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15449 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15450 # is contrary to our usage. Disable this feature.
15451 alias -g '${1+"$@"}'='"$@"'
15452 setopt NO_GLOB_SUBST
15454 case `(set -o) 2>/dev/null` in #(
15466 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15467 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15469 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15470 # Prefer a ksh shell builtin over an external printf program on Solaris,
15471 # but without wasting forks for bash or zsh.
15472 if test -z "$BASH_VERSION$ZSH_VERSION" \
15473 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15474 as_echo='print -r --'
15475 as_echo_n='print -rn --'
15476 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15477 as_echo='printf %s\n'
15478 as_echo_n='printf %s'
15480 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15481 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15482 as_echo_n='/usr/ucb/echo -n'
15484 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15485 as_echo_n_body='eval
15489 expr "X$arg" : "X\\(.*\\)$as_nl";
15490 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15492 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15494 export as_echo_n_body
15495 as_echo_n='sh -c $as_echo_n_body as_echo'
15497 export as_echo_body
15498 as_echo='sh -c $as_echo_body as_echo'
15501 # The user is always right.
15502 if test "${PATH_SEPARATOR+set}" != set; then
15504 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15505 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15512 # We need space, tab and new line, in precisely that order. Quoting is
15513 # there to prevent editors from complaining about space-tab.
15514 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15515 # splitting by setting IFS to empty value.)
15518 # Find who we are. Look in the path if we contain no directory separator.
15521 *[\\/]* ) as_myself=$0 ;;
15522 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15523 for as_dir in $PATH
15526 test -z "$as_dir" && as_dir=.
15527 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15533 # We did not find ourselves, most probably we were run as `sh COMMAND'
15534 # in which case we are not to be found in the path.
15535 if test "x$as_myself" = x; then
15538 if test ! -f "$as_myself"; then
15539 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15543 # Unset variables that we do not need and which cause bugs (e.g. in
15544 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15545 # suppresses any "Segmentation fault" message there. '((' could
15546 # trigger a bug in pdksh 5.2.14.
15547 for as_var in BASH_ENV ENV MAIL MAILPATH
15548 do eval test x\${$as_var+set} = xset \
15549 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15562 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15565 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15566 # ----------------------------------------
15567 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15568 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15569 # script with STATUS, using 1 if that was 0.
15572 as_status=$1; test $as_status -eq 0 && as_status=1
15574 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15575 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15577 $as_echo "$as_me: error: $2" >&2
15578 as_fn_exit $as_status
15582 # as_fn_set_status STATUS
15583 # -----------------------
15584 # Set $? to STATUS, without forking.
15585 as_fn_set_status ()
15588 } # as_fn_set_status
15590 # as_fn_exit STATUS
15591 # -----------------
15592 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15596 as_fn_set_status $1
15602 # Portably unset VAR.
15605 { eval $1=; unset $1;}
15607 as_unset=as_fn_unset
15608 # as_fn_append VAR VALUE
15609 # ----------------------
15610 # Append the text in VALUE to the end of the definition contained in VAR. Take
15611 # advantage of any shell optimizations that allow amortized linear growth over
15612 # repeated appends, instead of the typical quadratic growth present in naive
15614 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15615 eval 'as_fn_append ()
15626 # as_fn_arith ARG...
15627 # ------------------
15628 # Perform arithmetic evaluation on the ARGs, and store the result in the
15629 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15630 # must be portable across $(()) and expr.
15631 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15632 eval 'as_fn_arith ()
15639 as_val=`expr "$@" || test $? -eq 1`
15644 if expr a : '\(a\)' >/dev/null 2>&1 &&
15645 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15651 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15652 as_basename=basename
15657 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15663 as_me=`$as_basename -- "$0" ||
15664 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15665 X"$0" : 'X\(//\)$' \| \
15666 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15668 sed '/^.*\/\([^/][^/]*\)\/*$/{
15682 # Avoid depending upon Character Ranges.
15683 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15684 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15685 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15686 as_cr_digits='0123456789'
15687 as_cr_alnum=$as_cr_Letters$as_cr_digits
15689 ECHO_C= ECHO_N= ECHO_T=
15690 case `echo -n x` in #(((((
15692 case `echo 'xy\c'` in
15693 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15695 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15702 rm -f conf$$ conf$$.exe conf$$.file
15703 if test -d conf$$.dir; then
15704 rm -f conf$$.dir/conf$$.file
15707 mkdir conf$$.dir 2>/dev/null
15709 if (echo >conf$$.file) 2>/dev/null; then
15710 if ln -s conf$$.file conf$$ 2>/dev/null; then
15712 # ... but there are two gotchas:
15713 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15714 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15715 # In both cases, we have to default to `cp -pR'.
15716 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15718 elif ln conf$$.file conf$$ 2>/dev/null; then
15726 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15727 rmdir conf$$.dir 2>/dev/null
15732 # Create "$as_dir" as a directory, including parents if necessary.
15737 -*) as_dir=./$as_dir;;
15739 test -d "$as_dir" || eval $as_mkdir_p || {
15743 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15744 *) as_qdir=$as_dir;;
15746 as_dirs="'$as_qdir' $as_dirs"
15747 as_dir=`$as_dirname -- "$as_dir" ||
15748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15749 X"$as_dir" : 'X\(//\)[^/]' \| \
15750 X"$as_dir" : 'X\(//\)$' \| \
15751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15752 $as_echo X"$as_dir" |
15753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15757 /^X\(\/\/\)[^/].*/{
15770 test -d "$as_dir" && break
15772 test -z "$as_dirs" || eval "mkdir $as_dirs"
15773 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15777 if mkdir -p . 2>/dev/null; then
15778 as_mkdir_p='mkdir -p "$as_dir"'
15780 test -d ./-p && rmdir ./-p
15785 # as_fn_executable_p FILE
15786 # -----------------------
15787 # Test if FILE is an executable regular file.
15788 as_fn_executable_p ()
15790 test -f "$1" && test -x "$1"
15791 } # as_fn_executable_p
15792 as_test_x='test -x'
15793 as_executable_p=as_fn_executable_p
15795 # Sed expression to map a string onto a valid CPP name.
15796 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15798 # Sed expression to map a string onto a valid variable name.
15799 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15803 ## ----------------------------------- ##
15804 ## Main body of $CONFIG_STATUS script. ##
15805 ## ----------------------------------- ##
15807 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15810 # Save the log message, to keep $0 and so on meaningful, and to
15811 # report actual input values of CONFIG_FILES etc. instead of their
15812 # values after options handling.
15814 This file was extended by $as_me, which was
15815 generated by GNU Autoconf 2.69. Invocation command line was
15817 CONFIG_FILES = $CONFIG_FILES
15818 CONFIG_HEADERS = $CONFIG_HEADERS
15819 CONFIG_LINKS = $CONFIG_LINKS
15820 CONFIG_COMMANDS = $CONFIG_COMMANDS
15823 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15828 case $ac_config_files in *"
15829 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15832 case $ac_config_headers in *"
15833 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15838 # Files that config.status was made for.
15839 config_files="$ac_config_files"
15840 config_headers="$ac_config_headers"
15841 config_commands="$ac_config_commands"
15845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15847 \`$as_me' instantiates files and other configuration actions
15848 from templates according to the current configuration. Unless the files
15849 and actions are specified as TAGs, all are instantiated by default.
15851 Usage: $0 [OPTION]... [TAG]...
15853 -h, --help print this help, then exit
15854 -V, --version print version number and configuration settings, then exit
15855 --config print configuration, then exit
15856 -q, --quiet, --silent
15857 do not print progress messages
15858 -d, --debug don't remove temporary files
15859 --recheck update $as_me by reconfiguring in the same conditions
15860 --file=FILE[:TEMPLATE]
15861 instantiate the configuration file FILE
15862 --header=FILE[:TEMPLATE]
15863 instantiate the configuration header FILE
15865 Configuration files:
15868 Configuration headers:
15871 Configuration commands:
15874 Report bugs to the package provider."
15877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15878 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15881 configured by $0, generated by GNU Autoconf 2.69,
15882 with options \\"\$ac_cs_config\\"
15884 Copyright (C) 2012 Free Software Foundation, Inc.
15885 This config.status script is free software; the Free Software Foundation
15886 gives unlimited permission to copy, distribute and modify it."
15893 test -n "\$AWK" || AWK=awk
15896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15897 # The default lists apply if the user does not specify any file.
15903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15904 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15908 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15920 # Handling of the options.
15921 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15923 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15924 $as_echo "$ac_cs_version"; exit ;;
15925 --config | --confi | --conf | --con | --co | --c )
15926 $as_echo "$ac_cs_config"; exit ;;
15927 --debug | --debu | --deb | --de | --d | -d )
15929 --file | --fil | --fi | --f )
15932 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15933 '') as_fn_error $? "missing file argument" ;;
15935 as_fn_append CONFIG_FILES " '$ac_optarg'"
15936 ac_need_defaults=false;;
15937 --header | --heade | --head | --hea )
15940 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15942 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15943 ac_need_defaults=false;;
15945 # Conflict between --help and --header
15946 as_fn_error $? "ambiguous option: \`$1'
15947 Try \`$0 --help' for more information.";;
15948 --help | --hel | -h )
15949 $as_echo "$ac_cs_usage"; exit ;;
15950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15951 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15954 # This is an error.
15955 -*) as_fn_error $? "unrecognized option: \`$1'
15956 Try \`$0 --help' for more information." ;;
15958 *) as_fn_append ac_config_targets " $1"
15959 ac_need_defaults=false ;;
15965 ac_configure_extra_args=
15967 if $ac_cs_silent; then
15969 ac_configure_extra_args="$ac_configure_extra_args --silent"
15973 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15974 if \$ac_cs_recheck; then
15975 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15977 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15978 CONFIG_SHELL='$SHELL'
15979 export CONFIG_SHELL
15984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15988 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15989 ## Running $as_me. ##
15995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15999 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16002 # The HP-UX ksh and POSIX shell print the target directory to stdout
16003 # if CDPATH is set.
16004 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16006 sed_quote_subst='$sed_quote_subst'
16007 double_quote_subst='$double_quote_subst'
16008 delay_variable_subst='$delay_variable_subst'
16009 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16010 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16011 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16012 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16013 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16014 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16015 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16016 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16017 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16018 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16019 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16020 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16021 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16022 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16023 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16024 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16025 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16026 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16027 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16028 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16029 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16030 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16031 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16032 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16033 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16034 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16035 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16036 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16037 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16038 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16039 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16040 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16041 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16042 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16043 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16044 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16045 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16046 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16047 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16048 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16049 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16050 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16051 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16052 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16053 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16054 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16055 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16056 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16057 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16058 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16059 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16060 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16061 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16062 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16063 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16064 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16065 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"`'
16066 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16067 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16068 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16069 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16070 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16071 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16072 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16073 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16074 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16075 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16076 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16077 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16078 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16079 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16080 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16081 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16082 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16083 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16084 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16085 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16086 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16087 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16088 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16089 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16090 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16091 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16092 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16093 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16094 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16095 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16096 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16097 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16098 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16099 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16100 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16101 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16102 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16103 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16104 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16105 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16106 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16107 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16108 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16109 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16110 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16111 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16112 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16113 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16114 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16115 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16116 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16117 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16118 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16119 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16120 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16121 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16122 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16123 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16124 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16125 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16126 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16127 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16128 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16129 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16130 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16131 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16132 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16133 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16134 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16135 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16136 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16137 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16138 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16141 LTCFLAGS='$LTCFLAGS'
16142 compiler='$compiler_DEFAULT'
16144 # A function that is used when there is no print builtin or printf.
16145 func_fallback_echo ()
16147 eval 'cat <<_LTECHO_EOF
16152 # Quote evaled strings.
16167 deplibs_check_method \
16172 sharedlib_from_linklib_cmd \
16175 archiver_list_spec \
16181 lt_cv_sys_global_symbol_pipe \
16182 lt_cv_sys_global_symbol_to_cdecl \
16183 lt_cv_sys_global_symbol_to_c_name_address \
16184 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16185 nm_file_list_spec \
16186 lt_prog_compiler_no_builtin_flag \
16187 lt_prog_compiler_pic \
16188 lt_prog_compiler_wl \
16189 lt_prog_compiler_static \
16190 lt_cv_prog_compiler_c_o \
16199 export_dynamic_flag_spec \
16200 whole_archive_flag_spec \
16201 compiler_needs_object \
16203 allow_undefined_flag \
16204 no_undefined_flag \
16205 hardcode_libdir_flag_spec \
16206 hardcode_libdir_separator \
16210 variables_saved_for_relink \
16212 library_names_spec \
16214 install_override_mode \
16218 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16219 *[\\\\\\\`\\"\\\$]*)
16220 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16223 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16228 # Double-quote double-evaled strings.
16229 for var in reload_cmds \
16230 old_postinstall_cmds \
16231 old_postuninstall_cmds \
16233 extract_expsyms_cmds \
16234 old_archive_from_new_cmds \
16235 old_archive_from_expsyms_cmds \
16237 archive_expsym_cmds \
16239 module_expsym_cmds \
16240 export_symbols_cmds \
16244 postuninstall_cmds \
16246 sys_lib_search_path_spec \
16247 sys_lib_dlsearch_path_spec; do
16248 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16249 *[\\\\\\\`\\"\\\$]*)
16250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16258 ac_aux_dir='$ac_aux_dir'
16259 xsi_shell='$xsi_shell'
16260 lt_shell_append='$lt_shell_append'
16262 # See if we are running on zsh, and set the options which allow our
16263 # commands through without removal of \ escapes INIT.
16264 if test -n "\${ZSH_VERSION+set}" ; then
16265 setopt NO_GLOB_SUBST
16271 TIMESTAMP='$TIMESTAMP'
16280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16282 # Handling of arguments.
16283 for ac_config_target in $ac_config_targets
16285 case $ac_config_target in
16286 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16287 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16288 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16289 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
16290 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16291 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16292 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
16293 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16294 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
16295 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
16296 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
16297 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16298 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
16299 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
16300 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
16301 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
16302 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
16303 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
16304 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
16306 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16311 # If the user did not use the arguments to specify the items to instantiate,
16312 # then the envvar interface is used. Set only those that are not.
16313 # We use the long form for the default assignment because of an extremely
16314 # bizarre bug on SunOS 4.1.3.
16315 if $ac_need_defaults; then
16316 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16317 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16318 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16321 # Have a temporary directory for convenience. Make it in the build tree
16322 # simply because there is no reason against having it here, and in addition,
16323 # creating and moving files from /tmp can sometimes cause problems.
16324 # Hook for its removal unless debugging.
16325 # Note that there is a small window in which the directory will not be cleaned:
16326 # after its creation but before its name has been assigned to `$tmp'.
16330 trap 'exit_status=$?
16331 : "${ac_tmp:=$tmp}"
16332 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16334 trap 'as_fn_exit 1' 1 2 13 15
16336 # Create a (secure) tmp directory for tmp files.
16339 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16343 tmp=./conf$$-$RANDOM
16344 (umask 077 && mkdir "$tmp")
16345 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16348 # Set up the scripts for CONFIG_FILES section.
16349 # No need to generate them if there are no CONFIG_FILES.
16350 # This happens for instance with `./config.status config.h'.
16351 if test -n "$CONFIG_FILES"; then
16354 ac_cr=`echo X | tr X '\015'`
16355 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16356 # But we know of no other shell where ac_cr would be empty at this
16357 # point, so we can use a bashism as a fallback.
16358 if test "x$ac_cr" = x; then
16359 eval ac_cr=\$\'\\r\'
16361 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16362 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16365 ac_cs_awk_cr=$ac_cr
16368 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16373 echo "cat >conf$$subs.awk <<_ACEOF" &&
16374 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16376 } >conf$$subs.sh ||
16377 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16378 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16380 for ac_last_try in false false false false false :; do
16381 . ./conf$$subs.sh ||
16382 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16384 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16385 if test $ac_delim_n = $ac_delim_num; then
16387 elif $ac_last_try; then
16388 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16393 rm -f conf$$subs.sh
16395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16396 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16400 s/^/S["/; s/!.*/"]=/
16410 s/\(.\{148\}\)..*/\1/
16412 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16417 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16424 s/\(.\{148\}\)..*/\1/
16426 s/["\\]/\\&/g; s/^/"/; s/$/"/
16430 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16435 ' <conf$$subs.awk | sed '
16440 ' >>$CONFIG_STATUS || ac_write_fail=1
16441 rm -f conf$$subs.awk
16442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16444 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16445 for (key in S) S_is_set[key] = 1
16451 nfields = split(line, field, "@")
16453 len = length(field[1])
16454 for (i = 2; i < nfields; i++) {
16456 keylen = length(key)
16457 if (S_is_set[key]) {
16459 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16460 len += length(value) + length(field[++i])
16471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16472 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16473 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16476 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16477 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16480 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16481 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16482 # trailing colons and then remove the whole line if VPATH becomes empty
16483 # (actually we leave an empty line to preserve line numbers).
16484 if test "x$srcdir" = x.; then
16485 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16504 fi # test -n "$CONFIG_FILES"
16506 # Set up the scripts for CONFIG_HEADERS section.
16507 # No need to generate them if there are no CONFIG_HEADERS.
16508 # This happens for instance with `./config.status Makefile'.
16509 if test -n "$CONFIG_HEADERS"; then
16510 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16514 # Transform confdefs.h into an awk script `defines.awk', embedded as
16515 # here-document in config.status, that substitutes the proper values into
16516 # config.h.in to produce config.h.
16518 # Create a delimiter string that does not exist in confdefs.h, to ease
16519 # handling of long lines.
16521 for ac_last_try in false false :; do
16522 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16523 if test -z "$ac_tt"; then
16525 elif $ac_last_try; then
16526 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16528 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16532 # For the awk script, D is an array of macro values keyed by name,
16533 # likewise P contains macro parameters if any. Preserve backslash
16534 # newline sequences.
16536 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16538 s/.\{148\}/&'"$ac_delim"'/g
16541 s/^[ ]*#[ ]*define[ ][ ]*/ /
16548 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16550 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16554 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16555 D["\1"]=" \3\\\\\\n"\\/p
16557 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16562 s/.\{148\}/&'"$ac_delim"'/g
16567 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16570 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16572 ' <confdefs.h | sed '
16573 s/'"$ac_delim"'/"\\\
16574 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16577 for (key in D) D_is_set[key] = 1
16580 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16582 split(line, arg, " ")
16583 if (arg[1] == "#") {
16587 defundef = substr(arg[1], 2)
16590 split(mac1, mac2, "(") #)
16592 prefix = substr(line, 1, index(line, defundef) - 1)
16593 if (D_is_set[macro]) {
16594 # Preserve the white space surrounding the "#".
16595 print prefix "define", macro P[macro] D[macro]
16598 # Replace #undef with comments. This is necessary, for example,
16599 # in the case of _POSIX_SOURCE, which is predefined and required
16600 # on some systems where configure will not decide to define it.
16601 if (defundef == "undef") {
16602 print "/*", prefix defundef, macro, "*/"
16610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16611 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16612 fi # test -n "$CONFIG_HEADERS"
16615 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16620 :[FHLC]) ac_mode=$ac_tag; continue;;
16622 case $ac_mode$ac_tag in
16624 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16625 :[FH]-) ac_tag=-:-;;
16626 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16643 -) ac_f="$ac_tmp/stdin";;
16644 *) # Look for the file first in the build tree, then in the source tree
16645 # (if the path is not absolute). The absolute path cannot be DOS-style,
16646 # because $ac_f cannot contain `:'.
16650 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16652 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16654 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16655 as_fn_append ac_file_inputs " '$ac_f'"
16658 # Let's still pretend it is `configure' which instantiates (i.e., don't
16659 # use $as_me), people would be surprised to read:
16660 # /* config.h. Generated by config.status. */
16661 configure_input='Generated from '`
16662 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16664 if test x"$ac_file" != x-; then
16665 configure_input="$ac_file. $configure_input"
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16667 $as_echo "$as_me: creating $ac_file" >&6;}
16669 # Neutralize special characters interpreted by sed in replacement strings.
16670 case $configure_input in #(
16671 *\&* | *\|* | *\\* )
16672 ac_sed_conf_input=`$as_echo "$configure_input" |
16673 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16674 *) ac_sed_conf_input=$configure_input;;
16678 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16679 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16684 ac_dir=`$as_dirname -- "$ac_file" ||
16685 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16686 X"$ac_file" : 'X\(//\)[^/]' \| \
16687 X"$ac_file" : 'X\(//\)$' \| \
16688 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16689 $as_echo X"$ac_file" |
16690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16694 /^X\(\/\/\)[^/].*/{
16707 as_dir="$ac_dir"; as_fn_mkdir_p
16711 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16713 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16714 # A ".." for each directory in $ac_dir_suffix.
16715 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16716 case $ac_top_builddir_sub in
16717 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16718 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16721 ac_abs_top_builddir=$ac_pwd
16722 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16723 # for backward compatibility:
16724 ac_top_builddir=$ac_top_build_prefix
16727 .) # We are building in place.
16729 ac_top_srcdir=$ac_top_builddir_sub
16730 ac_abs_top_srcdir=$ac_pwd ;;
16731 [\\/]* | ?:[\\/]* ) # Absolute name.
16732 ac_srcdir=$srcdir$ac_dir_suffix;
16733 ac_top_srcdir=$srcdir
16734 ac_abs_top_srcdir=$srcdir ;;
16735 *) # Relative name.
16736 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16737 ac_top_srcdir=$ac_top_build_prefix$srcdir
16738 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16740 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16750 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16751 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16753 ac_MKDIR_P=$MKDIR_P
16755 [\\/$]* | ?:[\\/]* ) ;;
16756 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16761 # If the template does not know about datarootdir, expand it.
16762 # FIXME: This hack should be removed a few years after 2.60.
16763 ac_datarootdir_hack=; ac_datarootdir_seen=
16774 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16775 *datarootdir*) ac_datarootdir_seen=yes;;
16776 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16778 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16781 ac_datarootdir_hack='
16782 s&@datadir@&$datadir&g
16783 s&@docdir@&$docdir&g
16784 s&@infodir@&$infodir&g
16785 s&@localedir@&$localedir&g
16786 s&@mandir@&$mandir&g
16787 s&\\\${datarootdir}&$datarootdir&g' ;;
16791 # Neutralize VPATH when `$srcdir' = `.'.
16792 # Shell code in configure.ac might set extrasub.
16793 # FIXME: do we really want to maintain this feature?
16794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16795 ac_sed_extra="$ac_vpsub
16798 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16800 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16801 s|@configure_input@|$ac_sed_conf_input|;t t
16802 s&@top_builddir@&$ac_top_builddir_sub&;t t
16803 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16804 s&@srcdir@&$ac_srcdir&;t t
16805 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16806 s&@top_srcdir@&$ac_top_srcdir&;t t
16807 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16808 s&@builddir@&$ac_builddir&;t t
16809 s&@abs_builddir@&$ac_abs_builddir&;t t
16810 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16811 s&@INSTALL@&$ac_INSTALL&;t t
16812 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16813 $ac_datarootdir_hack
16815 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16816 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16818 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16819 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16820 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16821 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16823 which seems to be undefined. Please make sure it is defined" >&5
16824 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16825 which seems to be undefined. Please make sure it is defined" >&2;}
16827 rm -f "$ac_tmp/stdin"
16829 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16830 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16832 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16838 if test x"$ac_file" != x-; then
16840 $as_echo "/* $configure_input */" \
16841 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16842 } >"$ac_tmp/config.h" \
16843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16844 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16846 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16849 mv "$ac_tmp/config.h" "$ac_file" \
16850 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16853 $as_echo "/* $configure_input */" \
16854 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16855 || as_fn_error $? "could not create -" "$LINENO" 5
16857 # Compute "$ac_file"'s index in $config_headers.
16860 for _am_header in $config_headers :; do
16861 case $_am_header in
16862 $_am_arg | $_am_arg:* )
16865 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16868 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16869 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16870 X"$_am_arg" : 'X\(//\)[^/]' \| \
16871 X"$_am_arg" : 'X\(//\)$' \| \
16872 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16873 $as_echo X"$_am_arg" |
16874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16878 /^X\(\/\/\)[^/].*/{
16890 s/.*/./; q'`/stamp-h$_am_stamp_count
16893 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16894 $as_echo "$as_me: executing $ac_file commands" >&6;}
16899 case $ac_file$ac_mode in
16900 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16901 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16902 # are listed without --file. Let's play safe and only enable the eval
16903 # if we detect the quoting.
16904 case $CONFIG_FILES in
16905 *\'*) eval set x "$CONFIG_FILES" ;;
16906 *) set x $CONFIG_FILES ;;
16911 # Strip MF so we end up with the name of the file.
16912 mf=`echo "$mf" | sed -e 's/:.*$//'`
16913 # Check whether this is an Automake generated Makefile or not.
16914 # We used to match only the files named `Makefile.in', but
16915 # some people rename them; so instead we look at the file content.
16916 # Grep'ing the first line is not enough: some people post-process
16917 # each Makefile.in and add a new line on top of each file to say so.
16918 # Grep'ing the whole file is not good either: AIX grep has a line
16919 # limit of 2048, but all sed's we know have understand at least 4000.
16920 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16921 dirpart=`$as_dirname -- "$mf" ||
16922 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16923 X"$mf" : 'X\(//\)[^/]' \| \
16924 X"$mf" : 'X\(//\)$' \| \
16925 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16927 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16931 /^X\(\/\/\)[^/].*/{
16947 # Extract the definition of DEPDIR, am__include, and am__quote
16948 # from the Makefile without running `make'.
16949 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16950 test -z "$DEPDIR" && continue
16951 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16952 test -z "am__include" && continue
16953 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16954 # When using ansi2knr, U may be empty or an underscore; expand it
16955 U=`sed -n 's/^U = //p' < "$mf"`
16956 # Find all dependency output files, they are included files with
16957 # $(DEPDIR) in their names. We invoke sed twice because it is the
16958 # simplest approach to changing $(DEPDIR) to its actual value in the
16960 for file in `sed -n "
16961 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16962 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16963 # Make sure the directory exists.
16964 test -f "$dirpart/$file" && continue
16965 fdir=`$as_dirname -- "$file" ||
16966 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16967 X"$file" : 'X\(//\)[^/]' \| \
16968 X"$file" : 'X\(//\)$' \| \
16969 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16970 $as_echo X"$file" |
16971 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16975 /^X\(\/\/\)[^/].*/{
16988 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16989 # echo "creating $dirpart/$file"
16990 echo '# dummy' > "$dirpart/$file"
16997 # See if we are running on zsh, and set the options which allow our
16998 # commands through without removal of \ escapes.
16999 if test -n "${ZSH_VERSION+set}" ; then
17000 setopt NO_GLOB_SUBST
17003 cfgfile="${ofile}T"
17004 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17007 cat <<_LT_EOF >> "$cfgfile"
17010 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17011 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17012 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17013 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17015 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17016 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17018 # Written by Gordon Matzigkeit, 1996
17020 # This file is part of GNU Libtool.
17022 # GNU Libtool is free software; you can redistribute it and/or
17023 # modify it under the terms of the GNU General Public License as
17024 # published by the Free Software Foundation; either version 2 of
17025 # the License, or (at your option) any later version.
17027 # As a special exception to the GNU General Public License,
17028 # if you distribute this file as part of a program or library that
17029 # is built using GNU Libtool, you may include this file under the
17030 # same distribution terms that you use for the rest of that program.
17032 # GNU Libtool is distributed in the hope that it will be useful,
17033 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17034 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17035 # GNU General Public License for more details.
17037 # You should have received a copy of the GNU General Public License
17038 # along with GNU Libtool; see the file COPYING. If not, a copy
17039 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17040 # obtained by writing to the Free Software Foundation, Inc.,
17041 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17044 # The names of the tagged configurations supported by this script.
17047 # ### BEGIN LIBTOOL CONFIG
17049 # Which release of libtool.m4 was used?
17050 macro_version=$macro_version
17051 macro_revision=$macro_revision
17053 # Whether or not to build shared libraries.
17054 build_libtool_libs=$enable_shared
17056 # Whether or not to build static libraries.
17057 build_old_libs=$enable_static
17059 # What type of objects to build.
17062 # Whether or not to optimize for fast installation.
17063 fast_install=$enable_fast_install
17065 # Shell to use when invoking shell scripts.
17068 # An echo program that protects backslashes.
17071 # The PATH separator for the build system.
17072 PATH_SEPARATOR=$lt_PATH_SEPARATOR
17075 host_alias=$host_alias
17079 # The build system.
17080 build_alias=$build_alias
17084 # A sed program that does not truncate output.
17087 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17088 Xsed="\$SED -e 1s/^X//"
17090 # A grep program that handles long lines.
17096 # A literal string matcher.
17099 # A BSD- or MS-compatible name lister.
17102 # Whether we need soft or hard links.
17105 # What is the maximum length of a command?
17106 max_cmd_len=$max_cmd_len
17108 # Object file suffix (normally "o").
17111 # Executable file suffix (normally "").
17114 # whether the shell understands "unset".
17117 # turn spaces into newlines.
17120 # turn newlines into spaces.
17123 # convert \$build file names to \$host format.
17124 to_host_file_cmd=$lt_cv_to_host_file_cmd
17126 # convert \$build files to toolchain format.
17127 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17129 # An object symbol dumper.
17130 OBJDUMP=$lt_OBJDUMP
17132 # Method to check whether dependent libraries are shared objects.
17133 deplibs_check_method=$lt_deplibs_check_method
17135 # Command to use when deplibs_check_method = "file_magic".
17136 file_magic_cmd=$lt_file_magic_cmd
17138 # How to find potential files when deplibs_check_method = "file_magic".
17139 file_magic_glob=$lt_file_magic_glob
17141 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17142 want_nocaseglob=$lt_want_nocaseglob
17144 # DLL creation program.
17145 DLLTOOL=$lt_DLLTOOL
17147 # Command to associate shared and link libraries.
17148 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17153 # Flags to create an archive.
17154 AR_FLAGS=$lt_AR_FLAGS
17156 # How to feed a file listing to the archiver.
17157 archiver_list_spec=$lt_archiver_list_spec
17159 # A symbol stripping program.
17162 # Commands used to install an old-style archive.
17164 old_postinstall_cmds=$lt_old_postinstall_cmds
17165 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17167 # Whether to use a lock for old archive extraction.
17168 lock_old_archive_extraction=$lock_old_archive_extraction
17173 # LTCC compiler flags.
17174 LTCFLAGS=$lt_CFLAGS
17176 # Take the output of nm and produce a listing of raw symbols and C names.
17177 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17179 # Transform the output of nm in a proper C declaration.
17180 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17182 # Transform the output of nm in a C name address pair.
17183 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17185 # Transform the output of nm in a C name address pair when lib prefix is needed.
17186 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17188 # Specify filename containing input files for \$NM.
17189 nm_file_list_spec=$lt_nm_file_list_spec
17191 # The root where to search for dependent libraries,and in which our libraries should be installed.
17192 lt_sysroot=$lt_sysroot
17194 # The name of the directory that contains temporary libtool files.
17197 # Used to examine libraries when file_magic_cmd begins with "file".
17198 MAGIC_CMD=$MAGIC_CMD
17200 # Must we lock files when doing compilation?
17201 need_locks=$lt_need_locks
17204 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17206 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17207 DSYMUTIL=$lt_DSYMUTIL
17209 # Tool to change global to local symbols on Mac OS X.
17212 # Tool to manipulate fat objects and archives on Mac OS X.
17215 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17218 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17219 OTOOL64=$lt_OTOOL64
17221 # Old archive suffix (normally "a").
17224 # Shared library suffix (normally ".so").
17225 shrext_cmds=$lt_shrext_cmds
17227 # The commands to extract the exported symbol list from a shared archive.
17228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17230 # Variables whose values should be saved in libtool wrapper scripts and
17231 # restored at link time.
17232 variables_saved_for_relink=$lt_variables_saved_for_relink
17234 # Do we need the "lib" prefix for modules?
17235 need_lib_prefix=$need_lib_prefix
17237 # Do we need a version for libraries?
17238 need_version=$need_version
17240 # Library versioning type.
17241 version_type=$version_type
17243 # Shared library runtime path variable.
17244 runpath_var=$runpath_var
17246 # Shared library path variable.
17247 shlibpath_var=$shlibpath_var
17249 # Is shlibpath searched before the hard-coded library search path?
17250 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17252 # Format of library name prefix.
17253 libname_spec=$lt_libname_spec
17255 # List of archive names. First name is the real one, the rest are links.
17256 # The last name is the one that the linker finds with -lNAME
17257 library_names_spec=$lt_library_names_spec
17259 # The coded name of the library, if different from the real name.
17260 soname_spec=$lt_soname_spec
17262 # Permission mode override for installation of shared libraries.
17263 install_override_mode=$lt_install_override_mode
17265 # Command to use after installation of a shared archive.
17266 postinstall_cmds=$lt_postinstall_cmds
17268 # Command to use after uninstallation of a shared archive.
17269 postuninstall_cmds=$lt_postuninstall_cmds
17271 # Commands used to finish a libtool library installation in a directory.
17272 finish_cmds=$lt_finish_cmds
17274 # As "finish_cmds", except a single script fragment to be evaled but
17276 finish_eval=$lt_finish_eval
17278 # Whether we should hardcode library paths into libraries.
17279 hardcode_into_libs=$hardcode_into_libs
17281 # Compile-time system search path for libraries.
17282 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17284 # Run-time system search path for libraries.
17285 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17287 # Whether dlopen is supported.
17288 dlopen_support=$enable_dlopen
17290 # Whether dlopen of programs is supported.
17291 dlopen_self=$enable_dlopen_self
17293 # Whether dlopen of statically linked programs is supported.
17294 dlopen_self_static=$enable_dlopen_self_static
17296 # Commands to strip libraries.
17297 old_striplib=$lt_old_striplib
17298 striplib=$lt_striplib
17301 # The linker used to build libraries.
17304 # How to create reloadable object files.
17305 reload_flag=$lt_reload_flag
17306 reload_cmds=$lt_reload_cmds
17308 # Commands used to build an old-style archive.
17309 old_archive_cmds=$lt_old_archive_cmds
17311 # A language specific compiler.
17314 # Is the compiler the GNU compiler?
17317 # Compiler flag to turn off builtin functions.
17318 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17320 # Additional compiler flags for building library objects.
17321 pic_flag=$lt_lt_prog_compiler_pic
17323 # How to pass a linker flag through the compiler.
17324 wl=$lt_lt_prog_compiler_wl
17326 # Compiler flag to prevent dynamic linking.
17327 link_static_flag=$lt_lt_prog_compiler_static
17329 # Does compiler simultaneously support -c and -o options?
17330 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17332 # Whether or not to add -lc for building shared libraries.
17333 build_libtool_need_lc=$archive_cmds_need_lc
17335 # Whether or not to disallow shared libs when runtime libs are static.
17336 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17338 # Compiler flag to allow reflexive dlopens.
17339 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17341 # Compiler flag to generate shared objects directly from archives.
17342 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17344 # Whether the compiler copes with passing no objects directly.
17345 compiler_needs_object=$lt_compiler_needs_object
17347 # Create an old-style archive from a shared archive.
17348 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17350 # Create a temporary old-style archive to link instead of a shared archive.
17351 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17353 # Commands used to build a shared archive.
17354 archive_cmds=$lt_archive_cmds
17355 archive_expsym_cmds=$lt_archive_expsym_cmds
17357 # Commands used to build a loadable module if different from building
17358 # a shared archive.
17359 module_cmds=$lt_module_cmds
17360 module_expsym_cmds=$lt_module_expsym_cmds
17362 # Whether we are building with GNU ld or not.
17363 with_gnu_ld=$lt_with_gnu_ld
17365 # Flag that allows shared libraries with undefined symbols to be built.
17366 allow_undefined_flag=$lt_allow_undefined_flag
17368 # Flag that enforces no undefined symbols.
17369 no_undefined_flag=$lt_no_undefined_flag
17371 # Flag to hardcode \$libdir into a binary during linking.
17372 # This must work even if \$libdir does not exist
17373 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17375 # Whether we need a single "-rpath" flag with a separated argument.
17376 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17378 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17379 # DIR into the resulting binary.
17380 hardcode_direct=$hardcode_direct
17382 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17383 # DIR into the resulting binary and the resulting library dependency is
17384 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17385 # library is relocated.
17386 hardcode_direct_absolute=$hardcode_direct_absolute
17388 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17389 # into the resulting binary.
17390 hardcode_minus_L=$hardcode_minus_L
17392 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17393 # into the resulting binary.
17394 hardcode_shlibpath_var=$hardcode_shlibpath_var
17396 # Set to "yes" if building a shared library automatically hardcodes DIR
17397 # into the library and all subsequent libraries and executables linked
17399 hardcode_automatic=$hardcode_automatic
17401 # Set to yes if linker adds runtime paths of dependent libraries
17402 # to runtime path list.
17403 inherit_rpath=$inherit_rpath
17405 # Whether libtool must link a program against all its dependency libraries.
17406 link_all_deplibs=$link_all_deplibs
17408 # Set to "yes" if exported symbols are required.
17409 always_export_symbols=$always_export_symbols
17411 # The commands to list exported symbols.
17412 export_symbols_cmds=$lt_export_symbols_cmds
17414 # Symbols that should not be listed in the preloaded symbols.
17415 exclude_expsyms=$lt_exclude_expsyms
17417 # Symbols that must always be exported.
17418 include_expsyms=$lt_include_expsyms
17420 # Commands necessary for linking programs (against libraries) with templates.
17421 prelink_cmds=$lt_prelink_cmds
17423 # Commands necessary for finishing linking programs.
17424 postlink_cmds=$lt_postlink_cmds
17426 # Specify filename containing input files.
17427 file_list_spec=$lt_file_list_spec
17429 # How to hardcode a shared library path into an executable.
17430 hardcode_action=$hardcode_action
17432 # ### END LIBTOOL CONFIG
17438 cat <<\_LT_EOF >> "$cfgfile"
17439 # AIX sometimes has problems with the GCC collect2 program. For some
17440 # reason, if we set the COLLECT_NAMES environment variable, the problems
17441 # vanish in a puff of smoke.
17442 if test "X${COLLECT_NAMES+set}" != Xset; then
17444 export COLLECT_NAMES
17451 ltmain="$ac_aux_dir/ltmain.sh"
17454 # We use sed instead of cat because bash on DJGPP gets confused if
17455 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17456 # text mode, it properly converts lines to CR/LF. This bash problem
17457 # is reportedly fixed, but why not run on old versions too?
17458 sed '$q' "$ltmain" >> "$cfgfile" \
17459 || (rm -f "$cfgfile"; exit 1)
17461 if test x"$xsi_shell" = xyes; then
17462 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17466 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17467 \ * ) func_dirname_result="${3}" ;;\
17469 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17470 && mv -f "$cfgfile.tmp" "$cfgfile" \
17471 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17472 test 0 -eq $? || _lt_function_replace_fail=:
17475 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17478 \ func_basename_result="${1##*/}"\
17479 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17480 && mv -f "$cfgfile.tmp" "$cfgfile" \
17481 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17482 test 0 -eq $? || _lt_function_replace_fail=:
17485 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17486 func_dirname_and_basename ()\
17489 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17490 \ * ) func_dirname_result="${3}" ;;\
17492 \ func_basename_result="${1##*/}"\
17493 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17494 && mv -f "$cfgfile.tmp" "$cfgfile" \
17495 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17496 test 0 -eq $? || _lt_function_replace_fail=:
17499 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17502 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17503 \ # positional parameters, so assign one to ordinary parameter first.\
17504 \ func_stripname_result=${3}\
17505 \ func_stripname_result=${func_stripname_result#"${1}"}\
17506 \ func_stripname_result=${func_stripname_result%"${2}"}\
17507 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17508 && mv -f "$cfgfile.tmp" "$cfgfile" \
17509 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17510 test 0 -eq $? || _lt_function_replace_fail=:
17513 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17514 func_split_long_opt ()\
17516 \ func_split_long_opt_name=${1%%=*}\
17517 \ func_split_long_opt_arg=${1#*=}\
17518 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17519 && mv -f "$cfgfile.tmp" "$cfgfile" \
17520 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17521 test 0 -eq $? || _lt_function_replace_fail=:
17524 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17525 func_split_short_opt ()\
17527 \ func_split_short_opt_arg=${1#??}\
17528 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17529 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17530 && mv -f "$cfgfile.tmp" "$cfgfile" \
17531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17532 test 0 -eq $? || _lt_function_replace_fail=:
17535 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17539 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17540 \ *) func_lo2o_result=${1} ;;\
17542 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17543 && mv -f "$cfgfile.tmp" "$cfgfile" \
17544 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17545 test 0 -eq $? || _lt_function_replace_fail=:
17548 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17551 func_xform_result=${1%.*}.lo\
17552 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17553 && mv -f "$cfgfile.tmp" "$cfgfile" \
17554 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17555 test 0 -eq $? || _lt_function_replace_fail=:
17558 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17561 func_arith_result=$(( $* ))\
17562 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17563 && mv -f "$cfgfile.tmp" "$cfgfile" \
17564 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17565 test 0 -eq $? || _lt_function_replace_fail=:
17568 sed -e '/^func_len ()$/,/^} # func_len /c\
17571 func_len_result=${#1}\
17572 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17573 && mv -f "$cfgfile.tmp" "$cfgfile" \
17574 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17575 test 0 -eq $? || _lt_function_replace_fail=:
17579 if test x"$lt_shell_append" = xyes; then
17580 sed -e '/^func_append ()$/,/^} # func_append /c\
17583 eval "${1}+=\\${2}"\
17584 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17585 && mv -f "$cfgfile.tmp" "$cfgfile" \
17586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17590 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17591 func_append_quoted ()\
17593 \ func_quote_for_eval "${2}"\
17594 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17595 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17596 && mv -f "$cfgfile.tmp" "$cfgfile" \
17597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17598 test 0 -eq $? || _lt_function_replace_fail=:
17601 # Save a `func_append' function call where possible by direct use of '+='
17602 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17603 && mv -f "$cfgfile.tmp" "$cfgfile" \
17604 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17605 test 0 -eq $? || _lt_function_replace_fail=:
17607 # Save a `func_append' function call even when '+=' is not available
17608 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17609 && mv -f "$cfgfile.tmp" "$cfgfile" \
17610 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17611 test 0 -eq $? || _lt_function_replace_fail=:
17614 if test x"$_lt_function_replace_fail" = x":"; then
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17616 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17620 mv -f "$cfgfile" "$ofile" ||
17621 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17632 ac_clean_files=$ac_clean_files_save
17634 test $ac_write_fail = 0 ||
17635 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17638 # configure is writing to config.log, and then calls config.status.
17639 # config.status does its own redirection, appending to config.log.
17640 # Unfortunately, on DOS this fails, as config.log is still kept open
17641 # by configure, so config.status won't be able to write to it; its
17642 # output is simply discarded. So we exec the FD to /dev/null,
17643 # effectively closing config.log, so it can be properly (re)opened and
17644 # appended to by config.status. When coming back to configure, we
17645 # need to make the FD available again.
17646 if test "$no_create" != yes; then
17648 ac_config_status_args=
17649 test "$silent" = yes &&
17650 ac_config_status_args="$ac_config_status_args --quiet"
17652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17655 # would make configure fail if this is the last instruction.
17656 $ac_cs_success || as_fn_exit 1
17658 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17660 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17664 chmod +x xml2-config python/setup.py
17665 echo Done configuring