2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180 PATH=/empty FPATH=/empty; export PATH FPATH
181 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183 test \$(( 1 + 1 )) = 2 || exit 1"
184 if (eval "$as_required") 2>/dev/null; then :
189 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 test -z "$as_dir" && as_dir=.
201 for as_base in sh bash ksh sh5; do
202 # Try only shells that exist, to save several forks.
203 as_shell=$as_dir/$as_base
204 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 CONFIG_SHELL=$as_shell as_have_required=yes
207 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217 CONFIG_SHELL=$SHELL as_have_required=yes
222 if test "x$CONFIG_SHELL" != x; then :
223 # We cannot yet assume a decent shell, so we have to provide a
224 # neutralization value for shells without unset; and this also
225 # works around shells that cannot unset nonexistent variables.
226 # Preserve -v and -x to the replacement shell.
229 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 *v*x* | *x*v* ) as_opts=-vx ;;
237 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240 if test x$as_have_required = xno; then :
241 $as_echo "$0: This script requires a shell more modern than all"
242 $as_echo "$0: the shells that I found on your system."
243 if test x${ZSH_VERSION+set} = xset ; then
244 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
247 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248 $0: including any error possibly output before this
249 $0: message. Then install a modern shell, or manually run
250 $0: the script under such a shell if you do have one."
256 SHELL=${CONFIG_SHELL-/bin/sh}
258 # Unset more variables known to interfere with behavior of common tools.
259 CLICOLOR_FORCE= GREP_OPTIONS=
260 unset CLICOLOR_FORCE GREP_OPTIONS
262 ## --------------------- ##
263 ## M4sh Shell Functions. ##
264 ## --------------------- ##
267 # Portably unset VAR.
270 { eval $1=; unset $1;}
274 # as_fn_set_status STATUS
275 # -----------------------
276 # Set $? to STATUS, without forking.
284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294 # Create "$as_dir" as a directory, including parents if necessary.
299 -*) as_dir=./$as_dir;;
301 test -d "$as_dir" || eval $as_mkdir_p || {
305 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308 as_dirs="'$as_qdir' $as_dirs"
309 as_dir=`$as_dirname -- "$as_dir" ||
310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311 X"$as_dir" : 'X\(//\)[^/]' \| \
312 X"$as_dir" : 'X\(//\)$' \| \
313 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314 $as_echo X"$as_dir" |
315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332 test -d "$as_dir" && break
334 test -z "$as_dirs" || eval "mkdir $as_dirs"
335 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339 # as_fn_append VAR VALUE
340 # ----------------------
341 # Append the text in VALUE to the end of the definition contained in VAR. Take
342 # advantage of any shell optimizations that allow amortized linear growth over
343 # repeated appends, instead of the typical quadratic growth present in naive
345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346 eval 'as_fn_append ()
359 # Perform arithmetic evaluation on the ARGs, and store the result in the
360 # global $as_val. Take advantage of shells that can avoid forks. The arguments
361 # must be portable across $(()) and expr.
362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370 as_val=`expr "$@" || test $? -eq 1`
375 # as_fn_error STATUS ERROR [LINENO LOG_FD]
376 # ----------------------------------------
377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379 # script with STATUS, using 1 if that was 0.
382 as_status=$1; test $as_status -eq 0 && as_status=1
384 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387 $as_echo "$as_me: error: $2" >&2
388 as_fn_exit $as_status
391 if expr a : '\(a\)' >/dev/null 2>&1 &&
392 test "X`expr 00001 : '.*\(...\)'`" = X001; then
398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410 as_me=`$as_basename -- "$0" ||
411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412 X"$0" : 'X\(//\)$' \| \
413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415 sed '/^.*\/\([^/][^/]*\)\/*$/{
429 # Avoid depending upon Character Ranges.
430 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433 as_cr_digits='0123456789'
434 as_cr_alnum=$as_cr_Letters$as_cr_digits
437 as_lineno_1=$LINENO as_lineno_1a=$LINENO
438 as_lineno_2=$LINENO as_lineno_2a=$LINENO
439 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 chmod +x "$as_me.lineno" ||
458 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
468 ECHO_C= ECHO_N= ECHO_T=
469 case `echo -n x` in #(((((
471 case `echo 'xy\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
474 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481 rm -f conf$$ conf$$.exe conf$$.file
482 if test -d conf$$.dir; then
483 rm -f conf$$.dir/conf$$.file
486 mkdir conf$$.dir 2>/dev/null
488 if (echo >conf$$.file) 2>/dev/null; then
489 if ln -s conf$$.file conf$$ 2>/dev/null; then
491 # ... but there are two gotchas:
492 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494 # In both cases, we have to default to `cp -p'.
495 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497 elif ln conf$$.file conf$$ 2>/dev/null; then
505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506 rmdir conf$$.dir 2>/dev/null
508 if mkdir -p . 2>/dev/null; then
509 as_mkdir_p='mkdir -p "$as_dir"'
511 test -d ./-p && rmdir ./-p
515 if test -x / >/dev/null 2>&1; then
518 if ls -dL / >/dev/null 2>&1; then
525 if test -d "$1"; then
531 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532 ???[sx]*):;;*)false;;esac;fi
536 as_executable_p=$as_test_x
538 # Sed expression to map a string onto a valid CPP name.
539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541 # Sed expression to map a string onto a valid variable name.
542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544 SHELL=${CONFIG_SHELL-/bin/sh}
547 test -n "$DJDIR" || exec 7<&0 </dev/null
551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552 # so uname gets run too.
553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558 ac_default_prefix=/usr/local
560 ac_config_libobj_dir=.
567 # Identity of this package.
575 ac_unique_file="entities.c"
576 # Factoring default headers for most tests.
577 ac_includes_default="\
579 #ifdef HAVE_SYS_TYPES_H
580 # include <sys/types.h>
582 #ifdef HAVE_SYS_STAT_H
583 # include <sys/stat.h>
589 # ifdef HAVE_STDLIB_H
594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599 #ifdef HAVE_STRINGS_H
600 # include <strings.h>
602 #ifdef HAVE_INTTYPES_H
603 # include <inttypes.h>
612 ac_subst_vars='am__EXEEXT_FALSE
631 CYGWIN_EXTRA_PYTHON_LIBADD
633 WIN32_EXTRA_PYTHON_LIBADD
697 WITH_TRIO_SOURCES_FALSE
698 WITH_TRIO_SOURCES_TRUE
719 USE_VERSION_SCRIPT_FALSE
720 USE_VERSION_SCRIPT_TRUE
778 INSTALL_STRIP_PROGRAM
794 LIBXML_VERSION_NUMBER
835 program_transform_name
848 enable_option_checking
850 enable_dependency_tracking
901 ac_precious_vars='build_alias
912 # Initialize some variables set by options.
914 ac_init_version=false
915 ac_unrecognized_opts=
917 # The variables have the same names as the options, with
918 # dashes changed to underlines.
926 program_transform_name=s,x,x,
934 # Installation directory options.
935 # These are left unexpanded so users can "make install exec_prefix=/foo"
936 # and all the variables that are supposed to be based on exec_prefix
937 # by default will actually change.
938 # Use braces instead of parens because sh, perl, etc. also accept them.
939 # (The list follows the same order as the GNU Coding Standards.)
940 bindir='${exec_prefix}/bin'
941 sbindir='${exec_prefix}/sbin'
942 libexecdir='${exec_prefix}/libexec'
943 datarootdir='${prefix}/share'
944 datadir='${datarootdir}'
945 sysconfdir='${prefix}/etc'
946 sharedstatedir='${prefix}/com'
947 localstatedir='${prefix}/var'
948 includedir='${prefix}/include'
949 oldincludedir='/usr/include'
950 docdir='${datarootdir}/doc/${PACKAGE}'
951 infodir='${datarootdir}/info'
956 libdir='${exec_prefix}/lib'
957 localedir='${datarootdir}/locale'
958 mandir='${datarootdir}/man'
964 # If the previous option needs an argument, assign it.
965 if test -n "$ac_prev"; then
966 eval $ac_prev=\$ac_option
972 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 # Accept the important Cygnus configure options, so we can diagnose typos.
979 case $ac_dashdash$ac_option in
983 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
988 -build | --build | --buil | --bui | --bu)
989 ac_prev=build_alias ;;
990 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
991 build_alias=$ac_optarg ;;
993 -cache-file | --cache-file | --cache-fil | --cache-fi \
994 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
995 ac_prev=cache_file ;;
996 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
997 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
998 cache_file=$ac_optarg ;;
1000 --config-cache | -C)
1001 cache_file=config.cache ;;
1003 -datadir | --datadir | --datadi | --datad)
1005 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1006 datadir=$ac_optarg ;;
1008 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1009 | --dataroo | --dataro | --datar)
1010 ac_prev=datarootdir ;;
1011 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1012 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1013 datarootdir=$ac_optarg ;;
1015 -disable-* | --disable-*)
1016 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1017 # Reject names that are not valid shell variable names.
1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019 as_fn_error $? "invalid feature name: $ac_useropt"
1020 ac_useropt_orig=$ac_useropt
1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022 case $ac_user_opts in
1024 "enable_$ac_useropt"
1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1027 ac_unrecognized_sep=', ';;
1029 eval enable_$ac_useropt=no ;;
1031 -docdir | --docdir | --docdi | --doc | --do)
1033 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1034 docdir=$ac_optarg ;;
1036 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1039 dvidir=$ac_optarg ;;
1041 -enable-* | --enable-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
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--enable-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1055 eval enable_$ac_useropt=\$ac_optarg ;;
1057 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1058 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1059 | --exec | --exe | --ex)
1060 ac_prev=exec_prefix ;;
1061 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1062 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1063 | --exec=* | --exe=* | --ex=*)
1064 exec_prefix=$ac_optarg ;;
1066 -gas | --gas | --ga | --g)
1067 # Obsolete; use --with-gas.
1070 -help | --help | --hel | --he | -h)
1071 ac_init_help=long ;;
1072 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1073 ac_init_help=recursive ;;
1074 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1075 ac_init_help=short ;;
1077 -host | --host | --hos | --ho)
1078 ac_prev=host_alias ;;
1079 -host=* | --host=* | --hos=* | --ho=*)
1080 host_alias=$ac_optarg ;;
1082 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 htmldir=$ac_optarg ;;
1088 -includedir | --includedir | --includedi | --included | --include \
1089 | --includ | --inclu | --incl | --inc)
1090 ac_prev=includedir ;;
1091 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1092 | --includ=* | --inclu=* | --incl=* | --inc=*)
1093 includedir=$ac_optarg ;;
1095 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1098 infodir=$ac_optarg ;;
1100 -libdir | --libdir | --libdi | --libd)
1102 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1103 libdir=$ac_optarg ;;
1105 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1106 | --libexe | --libex | --libe)
1107 ac_prev=libexecdir ;;
1108 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1109 | --libexe=* | --libex=* | --libe=*)
1110 libexecdir=$ac_optarg ;;
1112 -localedir | --localedir | --localedi | --localed | --locale)
1113 ac_prev=localedir ;;
1114 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1115 localedir=$ac_optarg ;;
1117 -localstatedir | --localstatedir | --localstatedi | --localstated \
1118 | --localstate | --localstat | --localsta | --localst | --locals)
1119 ac_prev=localstatedir ;;
1120 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1121 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1122 localstatedir=$ac_optarg ;;
1124 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1127 mandir=$ac_optarg ;;
1129 -nfp | --nfp | --nf)
1130 # Obsolete; use --without-fp.
1133 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1134 | --no-cr | --no-c | -n)
1137 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1138 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1141 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1142 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1143 | --oldin | --oldi | --old | --ol | --o)
1144 ac_prev=oldincludedir ;;
1145 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1146 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1147 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1148 oldincludedir=$ac_optarg ;;
1150 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1153 prefix=$ac_optarg ;;
1155 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1156 | --program-pre | --program-pr | --program-p)
1157 ac_prev=program_prefix ;;
1158 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1159 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1160 program_prefix=$ac_optarg ;;
1162 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1163 | --program-suf | --program-su | --program-s)
1164 ac_prev=program_suffix ;;
1165 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1166 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1167 program_suffix=$ac_optarg ;;
1169 -program-transform-name | --program-transform-name \
1170 | --program-transform-nam | --program-transform-na \
1171 | --program-transform-n | --program-transform- \
1172 | --program-transform | --program-transfor \
1173 | --program-transfo | --program-transf \
1174 | --program-trans | --program-tran \
1175 | --progr-tra | --program-tr | --program-t)
1176 ac_prev=program_transform_name ;;
1177 -program-transform-name=* | --program-transform-name=* \
1178 | --program-transform-nam=* | --program-transform-na=* \
1179 | --program-transform-n=* | --program-transform-=* \
1180 | --program-transform=* | --program-transfor=* \
1181 | --program-transfo=* | --program-transf=* \
1182 | --program-trans=* | --program-tran=* \
1183 | --progr-tra=* | --program-tr=* | --program-t=*)
1184 program_transform_name=$ac_optarg ;;
1186 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1189 pdfdir=$ac_optarg ;;
1191 -psdir | --psdir | --psdi | --psd | --ps)
1193 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1197 | -silent | --silent | --silen | --sile | --sil)
1200 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 sbindir=$ac_optarg ;;
1206 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1207 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1208 | --sharedst | --shareds | --shared | --share | --shar \
1210 ac_prev=sharedstatedir ;;
1211 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1212 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1213 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 sharedstatedir=$ac_optarg ;;
1217 -site | --site | --sit)
1219 -site=* | --site=* | --sit=*)
1222 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1225 srcdir=$ac_optarg ;;
1227 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1228 | --syscon | --sysco | --sysc | --sys | --sy)
1229 ac_prev=sysconfdir ;;
1230 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1231 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1232 sysconfdir=$ac_optarg ;;
1234 -target | --target | --targe | --targ | --tar | --ta | --t)
1235 ac_prev=target_alias ;;
1236 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1237 target_alias=$ac_optarg ;;
1239 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1242 -version | --version | --versio | --versi | --vers | -V)
1243 ac_init_version=: ;;
1246 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error $? "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1259 eval with_$ac_useropt=\$ac_optarg ;;
1261 -without-* | --without-*)
1262 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1263 # Reject names that are not valid shell variable names.
1264 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1265 as_fn_error $? "invalid package name: $ac_useropt"
1266 ac_useropt_orig=$ac_useropt
1267 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1268 case $ac_user_opts in
1272 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1273 ac_unrecognized_sep=', ';;
1275 eval with_$ac_useropt=no ;;
1278 # Obsolete; use --with-x.
1281 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1282 | --x-incl | --x-inc | --x-in | --x-i)
1283 ac_prev=x_includes ;;
1284 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1285 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1286 x_includes=$ac_optarg ;;
1288 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1289 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1290 ac_prev=x_libraries ;;
1291 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1292 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1293 x_libraries=$ac_optarg ;;
1295 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1296 Try \`$0 --help' for more information"
1300 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1301 # Reject names that are not valid shell variable names.
1302 case $ac_envvar in #(
1303 '' | [0-9]* | *[!_$as_cr_alnum]* )
1304 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1306 eval $ac_envvar=\$ac_optarg
1307 export $ac_envvar ;;
1310 # FIXME: should be removed in autoconf 3.0.
1311 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1312 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1313 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1314 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1320 if test -n "$ac_prev"; then
1321 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1322 as_fn_error $? "missing argument to $ac_option"
1325 if test -n "$ac_unrecognized_opts"; then
1326 case $enable_option_checking in
1328 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1329 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 # Check all directory arguments for consistency.
1334 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1335 datadir sysconfdir sharedstatedir localstatedir includedir \
1336 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1337 libdir localedir mandir
1339 eval ac_val=\$$ac_var
1340 # Remove trailing slashes.
1343 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1344 eval $ac_var=\$ac_val;;
1346 # Be sure to have absolute directory names.
1348 [\\/$]* | ?:[\\/]* ) continue;;
1349 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1354 # There might be people who depend on the old broken behavior: `$host'
1355 # used to hold the argument of --host etc.
1356 # FIXME: To remove some day.
1359 target=$target_alias
1361 # FIXME: To remove some day.
1362 if test "x$host_alias" != x; then
1363 if test "x$build_alias" = x; then
1364 cross_compiling=maybe
1365 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1366 If a cross compiler is detected then cross compile mode will be used" >&2
1367 elif test "x$build_alias" != "x$host_alias"; then
1373 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1375 test "$silent" = yes && exec 6>/dev/null
1378 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1379 ac_ls_di=`ls -di .` &&
1380 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1381 as_fn_error $? "working directory cannot be determined"
1382 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1383 as_fn_error $? "pwd does not report name of working directory"
1386 # Find the source files, if location was not specified.
1387 if test -z "$srcdir"; then
1388 ac_srcdir_defaulted=yes
1389 # Try the directory containing this script, then the parent directory.
1390 ac_confdir=`$as_dirname -- "$as_myself" ||
1391 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1392 X"$as_myself" : 'X\(//\)[^/]' \| \
1393 X"$as_myself" : 'X\(//\)$' \| \
1394 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1395 $as_echo X"$as_myself" |
1396 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1414 if test ! -r "$srcdir/$ac_unique_file"; then
1418 ac_srcdir_defaulted=no
1420 if test ! -r "$srcdir/$ac_unique_file"; then
1421 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1422 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1424 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1428 # When building in place, set srcdir=.
1429 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 # Remove unnecessary trailing slashes from srcdir.
1433 # Double slashes in file names in object file debugging info
1434 # mess up M-x gdb in Emacs.
1436 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 for ac_var in $ac_precious_vars; do
1439 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1440 eval ac_env_${ac_var}_value=\$${ac_var}
1441 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1442 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 # Report the --help message.
1448 if test "$ac_init_help" = "long"; then
1449 # Omit some internal or obsolete options to make the list less imposing.
1450 # This message is too long to be a string in the A/UX 3.1 sh.
1452 \`configure' configures this package to adapt to many kinds of systems.
1454 Usage: $0 [OPTION]... [VAR=VALUE]...
1456 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1457 VAR=VALUE. See below for descriptions of some of the useful variables.
1459 Defaults for the options are specified in brackets.
1462 -h, --help display this help and exit
1463 --help=short display options specific to this package
1464 --help=recursive display the short help of all the included packages
1465 -V, --version display version information and exit
1466 -q, --quiet, --silent do not print \`checking ...' messages
1467 --cache-file=FILE cache test results in FILE [disabled]
1468 -C, --config-cache alias for \`--cache-file=config.cache'
1469 -n, --no-create do not create output files
1470 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472 Installation directories:
1473 --prefix=PREFIX install architecture-independent files in PREFIX
1474 [$ac_default_prefix]
1475 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 By default, \`make install' will install all the files in
1479 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1480 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1481 for instance \`--prefix=\$HOME'.
1483 For better control, use the options below.
1485 Fine tuning of the installation directories:
1486 --bindir=DIR user executables [EPREFIX/bin]
1487 --sbindir=DIR system admin executables [EPREFIX/sbin]
1488 --libexecdir=DIR program executables [EPREFIX/libexec]
1489 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1490 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1491 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1492 --libdir=DIR object code libraries [EPREFIX/lib]
1493 --includedir=DIR C header files [PREFIX/include]
1494 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1495 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1496 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1497 --infodir=DIR info documentation [DATAROOTDIR/info]
1498 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1499 --mandir=DIR man documentation [DATAROOTDIR/man]
1500 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1501 --htmldir=DIR html documentation [DOCDIR]
1502 --dvidir=DIR dvi documentation [DOCDIR]
1503 --pdfdir=DIR pdf documentation [DOCDIR]
1504 --psdir=DIR ps documentation [DOCDIR]
1510 --program-prefix=PREFIX prepend PREFIX to installed program names
1511 --program-suffix=SUFFIX append SUFFIX to installed program names
1512 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515 --build=BUILD configure for building on BUILD [guessed]
1516 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 if test -n "$ac_init_help"; then
1525 --disable-option-checking ignore unrecognized --enable/--with options
1526 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1527 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1528 --enable-silent-rules less verbose build output (undo: `make V=1')
1529 --disable-silent-rules verbose build output (undo: `make V=0')
1530 --disable-dependency-tracking speeds up one-time build
1531 --enable-dependency-tracking do not reject slow dependency extractors
1532 --enable-shared[=PKGS] build shared libraries [default=yes]
1533 --enable-static[=PKGS] build static libraries [default=yes]
1534 --enable-fast-install[=PKGS]
1535 optimize for fast installation [default=yes]
1536 --disable-libtool-lock avoid locking (might break parallel builds)
1537 --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=yes]
1538 --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
1541 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1542 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1543 --with-pic try to use only PIC/non-PIC objects [default=use
1545 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1546 --with-sysroot=DIR Search for dependent libraries within DIR
1547 (or the compiler's sysroot if not specified).
1548 --with-c14n add the Canonicalization support (on)
1549 --with-catalog add the Catalog support (on)
1550 --with-debug add the debugging module (on)
1551 --with-docbook add Docbook SGML support (on)
1552 --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
1553 --with-ftp add the FTP support (on)
1554 --with-history add history support to xmllint shell(off)
1555 --with-html add the HTML support (on)
1556 --with-html-dir=path path to base html directory, default
1558 --with-html-subdir=path directory used under html-dir, default
1559 $PACKAGE-$VERSION/html
1560 --with-http add the HTTP support (on)
1561 --with-iconv[=DIR] add ICONV support (on)
1562 --with-icu add ICU support (off)
1563 --with-iso8859x add ISO8859X support if no iconv (on)
1564 --with-legacy add deprecated APIs for compatibility (on)
1565 --with-mem-debug add the memory debugging module (off)
1566 --with-minimum build a minimally sized library (off)
1567 --with-output add the serialization support (on)
1568 --with-pattern add the xmlPattern selection interface (on)
1569 --with-push add the PUSH parser interfaces (on)
1570 --with-python[=DIR] build Python bindings if found
1571 --with-reader add the xmlReader parsing interface (on)
1572 --with-readline=DIR use readline in DIR
1573 --with-regexps add Regular Expressions support (on)
1574 --with-run-debug add the runtime debugging module (off)
1575 --with-sax1 add the older SAX1 interface (on)
1576 --with-schemas add Relax-NG and Schemas support (on)
1577 --with-schematron add Schematron support (on)
1578 --with-threads add multithread support(on)
1579 --with-thread-alloc add per-thread memory(off)
1580 --with-tree add the DOM like tree manipulation APIs (on)
1581 --with-valid add the DTD validation support (on)
1582 --with-writer add the xmlWriter saving interface (on)
1583 --with-xinclude add the XInclude support (on)
1584 --with-xpath add the XPATH support (on)
1585 --with-xptr add the XPointer support (on)
1586 --with-modules add the dynamic modules support (on)
1587 --with-zlib[=DIR] use libz in DIR
1588 --with-lzma[=DIR] use liblzma in DIR
1589 --with-coverage build for code coverage with GCC (off)
1591 Some influential environment variables:
1592 CC C compiler command
1593 CFLAGS C compiler flags
1594 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1595 nonstandard directory <lib dir>
1596 LIBS libraries to pass to the linker, e.g. -l<library>
1597 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1598 you have headers in a nonstandard directory <include dir>
1601 Use these variables to override the choices made by `configure' or to help
1602 it to find libraries and programs with nonstandard names/locations.
1604 Report bugs to the package provider.
1609 if test "$ac_init_help" = "recursive"; then
1610 # If there are subdirs, report their specific --help.
1611 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1612 test -d "$ac_dir" ||
1613 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1618 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1620 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1621 # A ".." for each directory in $ac_dir_suffix.
1622 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1623 case $ac_top_builddir_sub in
1624 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1625 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1628 ac_abs_top_builddir=$ac_pwd
1629 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1630 # for backward compatibility:
1631 ac_top_builddir=$ac_top_build_prefix
1634 .) # We are building in place.
1636 ac_top_srcdir=$ac_top_builddir_sub
1637 ac_abs_top_srcdir=$ac_pwd ;;
1638 [\\/]* | ?:[\\/]* ) # Absolute name.
1639 ac_srcdir=$srcdir$ac_dir_suffix;
1640 ac_top_srcdir=$srcdir
1641 ac_abs_top_srcdir=$srcdir ;;
1643 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1644 ac_top_srcdir=$ac_top_build_prefix$srcdir
1645 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1647 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1649 cd "$ac_dir" || { ac_status=$?; continue; }
1650 # Check for guested configure.
1651 if test -f "$ac_srcdir/configure.gnu"; then
1653 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1654 elif test -f "$ac_srcdir/configure"; then
1656 $SHELL "$ac_srcdir/configure" --help=recursive
1658 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1660 cd "$ac_pwd" || { ac_status=$?; break; }
1664 test -n "$ac_init_help" && exit $ac_status
1665 if $ac_init_version; then
1668 generated by GNU Autoconf 2.68
1670 Copyright (C) 2010 Free Software Foundation, Inc.
1671 This configure script is free software; the Free Software Foundation
1672 gives unlimited permission to copy, distribute and modify it.
1677 ## ------------------------ ##
1678 ## Autoconf initialization. ##
1679 ## ------------------------ ##
1681 # ac_fn_c_try_compile LINENO
1682 # --------------------------
1683 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1684 ac_fn_c_try_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 rm -f conftest.$ac_objext
1688 if { { ac_try="$ac_compile"
1690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1691 *) ac_try_echo=$ac_try;;
1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1694 $as_echo "$ac_try_echo"; } >&5
1695 (eval "$ac_compile") 2>conftest.err
1697 if test -s conftest.err; then
1698 grep -v '^ *+' conftest.err >conftest.er1
1699 cat conftest.er1 >&5
1700 mv -f conftest.er1 conftest.err
1702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703 test $ac_status = 0; } && {
1704 test -z "$ac_c_werror_flag" ||
1705 test ! -s conftest.err
1706 } && test -s conftest.$ac_objext; then :
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1715 as_fn_set_status $ac_retval
1717 } # ac_fn_c_try_compile
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err; then
1735 grep -v '^ *+' conftest.err >conftest.er1
1736 cat conftest.er1 >&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } > conftest.i && {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1752 as_fn_set_status $ac_retval
1756 # ac_fn_c_try_link LINENO
1757 # -----------------------
1758 # Try to link conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 rm -f conftest.$ac_objext conftest$ac_exeext
1763 if { { ac_try="$ac_link"
1765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766 *) ac_try_echo=$ac_try;;
1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769 $as_echo "$ac_try_echo"; } >&5
1770 (eval "$ac_link") 2>conftest.err
1772 if test -s conftest.err; then
1773 grep -v '^ *+' conftest.err >conftest.er1
1774 cat conftest.er1 >&5
1775 mv -f conftest.er1 conftest.err
1777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778 test $ac_status = 0; } && {
1779 test -z "$ac_c_werror_flag" ||
1780 test ! -s conftest.err
1781 } && test -s conftest$ac_exeext && {
1782 test "$cross_compiling" = yes ||
1783 $as_test_x conftest$ac_exeext
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1794 # interfere with the next link command; also delete a directory that is
1795 # left behind by Apple's compiler. We do this before executing the actions.
1796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1798 as_fn_set_status $ac_retval
1800 } # ac_fn_c_try_link
1802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1803 # -------------------------------------------------------
1804 # Tests whether HEADER exists and can be compiled using the include files in
1805 # INCLUDES, setting the cache variable VAR accordingly.
1806 ac_fn_c_check_header_compile ()
1808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval \${$3+:} false; then :
1812 $as_echo_n "(cached) " >&6
1814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815 /* end confdefs.h. */
1819 if ac_fn_c_try_compile "$LINENO"; then :
1824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1828 $as_echo "$ac_res" >&6; }
1829 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 } # ac_fn_c_check_header_compile
1833 # ac_fn_c_try_run LINENO
1834 # ----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1836 # that executables *can* be run.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 if { { ac_try="$ac_link"
1842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>&5
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1851 { { case "(($ac_try" in
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_try") 2>&5
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; }; }; then :
1863 $as_echo "$as_me: program exited with status $ac_status" >&5
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1867 ac_retval=$ac_status
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1875 # ac_fn_c_check_func LINENO FUNC VAR
1876 # ----------------------------------
1877 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1878 ac_fn_c_check_func ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if eval \${$3+:} false; then :
1884 $as_echo_n "(cached) " >&6
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1890 #define $2 innocuous_$2
1892 /* System header to define __stub macros and hopefully few prototypes,
1893 which can conflict with char $2 (); below.
1894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1895 <limits.h> exists even on freestanding compilers. */
1898 # include <limits.h>
1900 # include <assert.h>
1905 /* Override any GCC internal prototype to avoid an error.
1906 Use char because int might match the return type of a GCC
1907 builtin and then its argument prototype would still apply. */
1912 /* The GNU C library defines this for functions which it implements
1913 to always fail with ENOSYS. Some functions are actually named
1914 something starting with __ and the normal name is an alias. */
1915 #if defined __stub_$2 || defined __stub___$2
1927 if ac_fn_c_try_link "$LINENO"; then :
1932 rm -f core conftest.err conftest.$ac_objext \
1933 conftest$ac_exeext conftest.$ac_ext
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1937 $as_echo "$ac_res" >&6; }
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 } # ac_fn_c_check_func
1942 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1943 # -------------------------------------------------------
1944 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1945 # the include files in INCLUDES and setting the cache variable VAR
1947 ac_fn_c_check_header_mongrel ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 if eval \${$3+:} false; then :
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1958 $as_echo "$ac_res" >&6; }
1960 # Is the header compilable?
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1962 $as_echo_n "checking $2 usability... " >&6; }
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1968 if ac_fn_c_try_compile "$LINENO"; then :
1969 ac_header_compiler=yes
1971 ac_header_compiler=no
1973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1975 $as_echo "$ac_header_compiler" >&6; }
1977 # Is the header present?
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1979 $as_echo_n "checking $2 presence... " >&6; }
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1984 if ac_fn_c_try_cpp "$LINENO"; then :
1985 ac_header_preproc=yes
1987 ac_header_preproc=no
1989 rm -f conftest.err conftest.i conftest.$ac_ext
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1991 $as_echo "$ac_header_preproc" >&6; }
1993 # So? What about this header?
1994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1997 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1999 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2003 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2005 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2007 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2009 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2011 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval \${$3+:} false; then :
2017 $as_echo_n "(cached) " >&6
2019 eval "$3=\$ac_header_compiler"
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2023 $as_echo "$ac_res" >&6; }
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 } # ac_fn_c_check_header_mongrel
2028 cat >config.log <<_ACEOF
2029 This file contains any messages produced by compilers while
2030 running configure, to aid debugging if configure makes a mistake.
2032 It was created by $as_me, which was
2033 generated by GNU Autoconf 2.68. Invocation command line was
2045 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2046 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2047 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2048 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2049 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2051 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2052 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2054 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2055 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2056 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2057 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2058 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2059 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2060 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 $as_echo "PATH: $as_dir"
2085 # Keep a trace of the command line.
2086 # Strip out --no-create and --no-recursion so they do not pile up.
2087 # Strip out --silent because we don't want to record it for future runs.
2088 # Also quote any args containing shell meta-characters.
2089 # Make two passes to allow for proper duplicate-argument suppression.
2093 ac_must_keep_next=false
2099 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2100 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2101 | -silent | --silent | --silen | --sile | --sil)
2104 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2107 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2109 as_fn_append ac_configure_args1 " '$ac_arg'"
2110 if test $ac_must_keep_next = true; then
2111 ac_must_keep_next=false # Got value, back to normal.
2114 *=* | --config-cache | -C | -disable-* | --disable-* \
2115 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2116 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2117 | -with-* | --with-* | -without-* | --without-* | --x)
2118 case "$ac_configure_args0 " in
2119 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2122 -* ) ac_must_keep_next=true ;;
2125 as_fn_append ac_configure_args " '$ac_arg'"
2130 { ac_configure_args0=; unset ac_configure_args0;}
2131 { ac_configure_args1=; unset ac_configure_args1;}
2133 # When interrupted or exit'd, cleanup temporary files, and complete
2134 # config.log. We remove comments because anyway the quotes in there
2135 # would cause problems or look ugly.
2136 # WARNING: Use '\'' to represent an apostrophe within the trap.
2137 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2138 trap 'exit_status=$?
2139 # Save into config.log some information that might help in debugging.
2143 $as_echo "## ---------------- ##
2144 ## Cache variables. ##
2145 ## ---------------- ##"
2147 # The following way of writing the cache mishandles newlines in values,
2149 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2150 eval ac_val=\$$ac_var
2154 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2158 _ | IFS | as_nl) ;; #(
2159 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2160 *) { eval $ac_var=; unset $ac_var;} ;;
2165 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2166 *${as_nl}ac_space=\ *)
2168 "s/'\''/'\''\\\\'\'''\''/g;
2169 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 $as_echo "## ----------------- ##
2180 ## Output variables. ##
2181 ## ----------------- ##"
2183 for ac_var in $ac_subst_vars
2185 eval ac_val=\$$ac_var
2187 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2189 $as_echo "$ac_var='\''$ac_val'\''"
2193 if test -n "$ac_subst_files"; then
2194 $as_echo "## ------------------- ##
2195 ## File substitutions. ##
2196 ## ------------------- ##"
2198 for ac_var in $ac_subst_files
2200 eval ac_val=\$$ac_var
2202 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2204 $as_echo "$ac_var='\''$ac_val'\''"
2209 if test -s confdefs.h; then
2210 $as_echo "## ----------- ##
2217 test "$ac_signal" != 0 &&
2218 $as_echo "$as_me: caught signal $ac_signal"
2219 $as_echo "$as_me: exit $exit_status"
2221 rm -f core *.core core.conftest.* &&
2222 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2225 for ac_signal in 1 2 13 15; do
2226 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2233 $as_echo "/* confdefs.h */" > confdefs.h
2235 # Predefined preprocessor variables.
2237 cat >>confdefs.h <<_ACEOF
2238 #define PACKAGE_NAME "$PACKAGE_NAME"
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2249 cat >>confdefs.h <<_ACEOF
2250 #define PACKAGE_STRING "$PACKAGE_STRING"
2253 cat >>confdefs.h <<_ACEOF
2254 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_URL "$PACKAGE_URL"
2262 # Let the site file select an alternate cache file if it wants to.
2263 # Prefer an explicitly selected file to automatically selected ones.
2266 if test -n "$CONFIG_SITE"; then
2267 # We do not want a PATH search for config.site.
2268 case $CONFIG_SITE in #((
2269 -*) ac_site_file1=./$CONFIG_SITE;;
2270 */*) ac_site_file1=$CONFIG_SITE;;
2271 *) ac_site_file1=./$CONFIG_SITE;;
2273 elif test "x$prefix" != xNONE; then
2274 ac_site_file1=$prefix/share/config.site
2275 ac_site_file2=$prefix/etc/config.site
2277 ac_site_file1=$ac_default_prefix/share/config.site
2278 ac_site_file2=$ac_default_prefix/etc/config.site
2280 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2282 test "x$ac_site_file" = xNONE && continue
2283 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2285 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2286 sed 's/^/| /' "$ac_site_file" >&5
2288 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2290 as_fn_error $? "failed to load site script $ac_site_file
2291 See \`config.log' for more details" "$LINENO" 5; }
2295 if test -r "$cache_file"; then
2296 # Some versions of bash will fail to source /dev/null (special files
2297 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2298 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2300 $as_echo "$as_me: loading cache $cache_file" >&6;}
2302 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2303 *) . "./$cache_file";;
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2308 $as_echo "$as_me: creating cache $cache_file" >&6;}
2312 # Check that the precious variables saved in the cache have kept the same
2314 ac_cache_corrupted=false
2315 for ac_var in $ac_precious_vars; do
2316 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2317 eval ac_new_set=\$ac_env_${ac_var}_set
2318 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2319 eval ac_new_val=\$ac_env_${ac_var}_value
2320 case $ac_old_set,$ac_new_set in
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2323 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2324 ac_cache_corrupted=: ;;
2326 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2327 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2328 ac_cache_corrupted=: ;;
2331 if test "x$ac_old_val" != "x$ac_new_val"; then
2332 # differences in whitespace do not lead to failure.
2333 ac_old_val_w=`echo x $ac_old_val`
2334 ac_new_val_w=`echo x $ac_new_val`
2335 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2337 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2338 ac_cache_corrupted=:
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2341 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2342 eval $ac_var=\$ac_old_val
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2345 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2347 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2350 # Pass precious variables to config.status.
2351 if test "$ac_new_set" = set; then
2353 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2354 *) ac_arg=$ac_var=$ac_new_val ;;
2356 case " $ac_configure_args " in
2357 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2358 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2362 if $ac_cache_corrupted; then
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2366 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2367 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2369 ## -------------------- ##
2370 ## Main body of script. ##
2371 ## -------------------- ##
2374 ac_cpp='$CPP $CPPFLAGS'
2375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2380 ac_config_headers="$ac_config_headers config.h"
2384 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2385 if test -f "$ac_dir/install-sh"; then
2387 ac_install_sh="$ac_aux_dir/install-sh -c"
2389 elif test -f "$ac_dir/install.sh"; then
2391 ac_install_sh="$ac_aux_dir/install.sh -c"
2393 elif test -f "$ac_dir/shtool"; then
2395 ac_install_sh="$ac_aux_dir/shtool install -c"
2399 if test -z "$ac_aux_dir"; then
2400 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2403 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release.
2405 # They can cause serious problems if a builder's source tree is in a directory
2406 # whose full name contains unusual characters.
2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2409 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2412 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2417 $as_echo_n "checking build system type... " >&6; }
2418 if ${ac_cv_build+:} false; then :
2419 $as_echo_n "(cached) " >&6
2421 ac_build_alias=$build_alias
2422 test "x$ac_build_alias" = x &&
2423 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2424 test "x$ac_build_alias" = x &&
2425 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2426 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2427 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2431 $as_echo "$ac_cv_build" >&6; }
2432 case $ac_cv_build in
2434 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2437 ac_save_IFS=$IFS; IFS='-'
2443 # Remember, the first character of IFS is used to create $*,
2444 # except with old shells:
2447 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2451 $as_echo_n "checking host system type... " >&6; }
2452 if ${ac_cv_host+:} false; then :
2453 $as_echo_n "(cached) " >&6
2455 if test "x$host_alias" = x; then
2456 ac_cv_host=$ac_cv_build
2458 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2459 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2464 $as_echo "$ac_cv_host" >&6; }
2467 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2470 ac_save_IFS=$IFS; IFS='-'
2476 # Remember, the first character of IFS is used to create $*,
2477 # except with old shells:
2480 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2484 LIBXML_MAJOR_VERSION=2
2485 LIBXML_MINOR_VERSION=8
2486 LIBXML_MICRO_VERSION=0
2487 LIBXML_MICRO_VERSION_SUFFIX=
2488 LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2489 LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
2491 LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
2493 if test -f CVS/Entries ; then
2494 extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
2496 if test "$extra" != ""
2498 LIBXML_VERSION_EXTRA="-CVS$extra"
2500 else if test -d .svn ; then
2501 extra=`svn info | grep Revision | sed 's+Revision: ++'`
2503 if test "$extra" != ""
2505 LIBXML_VERSION_EXTRA="-SVN$extra"
2507 else if test -d .git ; then
2508 extra=`git describe 2>/dev/null | sed 's+LIBXML[0-9.]*-++'`
2510 if test "$extra" != ""
2512 LIBXML_VERSION_EXTRA="-GIT$extra"
2525 VERSION=${LIBXML_VERSION}
2527 am__api_version='1.11'
2529 # Find a good install program. We prefer a C program (faster),
2530 # so one script is as good as another. But avoid the broken or
2531 # incompatible versions:
2532 # SysV /etc/install, /usr/sbin/install
2533 # SunOS /usr/etc/install
2534 # IRIX /sbin/install
2536 # AmigaOS /C/install, which installs bootblocks on floppy discs
2537 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2538 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2539 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2540 # OS/2's system install, which has a completely different semantic
2541 # ./install, which can be erroneously created by make from ./install.sh.
2542 # Reject install programs that cannot install multiple files.
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2544 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2545 if test -z "$INSTALL"; then
2546 if ${ac_cv_path_install+:} false; then :
2547 $as_echo_n "(cached) " >&6
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 # Account for people who put trailing slashes in PATH elements.
2555 case $as_dir/ in #((
2556 ./ | .// | /[cC]/* | \
2557 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2558 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2561 # OSF1 and SCO ODT 3.0 have their own names for install.
2562 # Don't use installbsd from OSF since it installs stuff as root
2564 for ac_prog in ginstall scoinst install; do
2565 for ac_exec_ext in '' $ac_executable_extensions; do
2566 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2567 if test $ac_prog = install &&
2568 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2569 # AIX install. It has an incompatible calling convention.
2571 elif test $ac_prog = install &&
2572 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2573 # program-specific install script used by HP pwplus--don't use.
2576 rm -rf conftest.one conftest.two conftest.dir
2577 echo one > conftest.one
2578 echo two > conftest.two
2580 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2581 test -s conftest.one && test -s conftest.two &&
2582 test -s conftest.dir/conftest.one &&
2583 test -s conftest.dir/conftest.two
2585 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2598 rm -rf conftest.one conftest.two conftest.dir
2601 if test "${ac_cv_path_install+set}" = set; then
2602 INSTALL=$ac_cv_path_install
2604 # As a last resort, use the slow shell script. Don't cache a
2605 # value for INSTALL within a source directory, because that will
2606 # break other packages using the cache if that directory is
2607 # removed, or if the value is a relative name.
2608 INSTALL=$ac_install_sh
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2612 $as_echo "$INSTALL" >&6; }
2614 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2615 # It thinks the first close brace ends the variable substitution.
2616 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2618 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2620 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2623 $as_echo_n "checking whether build environment is sane... " >&6; }
2626 echo timestamp > conftest.file
2627 # Reject unsafe characters in $srcdir or the absolute working directory
2628 # name. Accept space and tab only in the latter.
2632 *[\\\"\#\$\&\'\`$am_lf]*)
2633 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2636 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2637 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2640 # Do `set' in a subshell so we don't clobber the current shell's
2641 # arguments. Must try -L first in case configure is actually a
2642 # symlink; some systems play weird games with the mod time of symlinks
2643 # (eg FreeBSD returns the mod time of the symlink's containing
2646 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2647 if test "$*" = "X"; then
2649 set X `ls -t "$srcdir/configure" conftest.file`
2652 if test "$*" != "X $srcdir/configure conftest.file" \
2653 && test "$*" != "X conftest.file $srcdir/configure"; then
2655 # If neither matched, then we have a broken ls. This can happen
2656 # if, for instance, CONFIG_SHELL is bash and it inherits a
2657 # broken ls alias from the environment. This has actually
2658 # happened. Such a system could not be considered "sane".
2659 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2660 alias in your environment" "$LINENO" 5
2663 test "$2" = conftest.file
2669 as_fn_error $? "newly created file is older than distributed files!
2670 Check your system clock" "$LINENO" 5
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2673 $as_echo "yes" >&6; }
2674 test "$program_prefix" != NONE &&
2675 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2676 # Use a double $ so make ignores it.
2677 test "$program_suffix" != NONE &&
2678 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2679 # Double any \ or $.
2680 # By default was `s,x,x', remove it if useless.
2681 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2682 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2684 # expand $ac_aux_dir to an absolute path
2685 am_aux_dir=`cd $ac_aux_dir && pwd`
2687 if test x"${MISSING+set}" != xset; then
2690 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2692 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2695 # Use eval to expand $SHELL
2696 if eval "$MISSING --run true"; then
2697 am_missing_run="$MISSING --run "
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2701 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2704 if test x"${install_sh}" != xset; then
2707 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2709 install_sh="\${SHELL} $am_aux_dir/install-sh"
2713 # Installed binaries are usually stripped using `strip' when the user
2714 # run `make install-strip'. However `strip' might not be the right
2715 # tool to use in cross-compilation environments, therefore Automake
2716 # will honor the `STRIP' environment variable to overrule this program.
2717 if test "$cross_compiling" != no; then
2718 if test -n "$ac_tool_prefix"; then
2719 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2720 set dummy ${ac_tool_prefix}strip; ac_word=$2
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722 $as_echo_n "checking for $ac_word... " >&6; }
2723 if ${ac_cv_prog_STRIP+:} false; then :
2724 $as_echo_n "(cached) " >&6
2726 if test -n "$STRIP"; then
2727 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 test -z "$as_dir" && as_dir=.
2734 for ac_exec_ext in '' $ac_executable_extensions; do
2735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2736 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2746 STRIP=$ac_cv_prog_STRIP
2747 if test -n "$STRIP"; then
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2749 $as_echo "$STRIP" >&6; }
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752 $as_echo "no" >&6; }
2757 if test -z "$ac_cv_prog_STRIP"; then
2759 # Extract the first word of "strip", so it can be a program name with args.
2760 set dummy strip; ac_word=$2
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 $as_echo_n "checking for $ac_word... " >&6; }
2763 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2764 $as_echo_n "(cached) " >&6
2766 if test -n "$ac_ct_STRIP"; then
2767 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2773 test -z "$as_dir" && as_dir=.
2774 for ac_exec_ext in '' $ac_executable_extensions; do
2775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2776 ac_cv_prog_ac_ct_STRIP="strip"
2777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2787 if test -n "$ac_ct_STRIP"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2789 $as_echo "$ac_ct_STRIP" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2795 if test "x$ac_ct_STRIP" = x; then
2798 case $cross_compiling:$ac_tool_warned in
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2801 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2802 ac_tool_warned=yes ;;
2807 STRIP="$ac_cv_prog_STRIP"
2811 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2814 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2815 if test -z "$MKDIR_P"; then
2816 if ${ac_cv_path_mkdir+:} false; then :
2817 $as_echo_n "(cached) " >&6
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2823 test -z "$as_dir" && as_dir=.
2824 for ac_prog in mkdir gmkdir; do
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2827 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2828 'mkdir (GNU coreutils) '* | \
2829 'mkdir (coreutils) '* | \
2830 'mkdir (fileutils) '4.1*)
2831 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2841 test -d ./--version && rmdir ./--version
2842 if test "${ac_cv_path_mkdir+set}" = set; then
2843 MKDIR_P="$ac_cv_path_mkdir -p"
2845 # As a last resort, use the slow shell script. Don't cache a
2846 # value for MKDIR_P within a source directory, because that will
2847 # break other packages using the cache if that directory is
2848 # removed, or if the value is a relative name.
2849 MKDIR_P="$ac_install_sh -d"
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2853 $as_echo "$MKDIR_P" >&6; }
2857 [\\/$]* | ?:[\\/]*) ;;
2858 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2861 for ac_prog in gawk mawk nawk awk
2863 # Extract the first word of "$ac_prog", so it can be a program name with args.
2864 set dummy $ac_prog; ac_word=$2
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2866 $as_echo_n "checking for $ac_word... " >&6; }
2867 if ${ac_cv_prog_AWK+:} false; then :
2868 $as_echo_n "(cached) " >&6
2870 if test -n "$AWK"; then
2871 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 test -z "$as_dir" && as_dir=.
2878 for ac_exec_ext in '' $ac_executable_extensions; do
2879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2880 ac_cv_prog_AWK="$ac_prog"
2881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2891 if test -n "$AWK"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2893 $as_echo "$AWK" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2900 test -n "$AWK" && break
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2904 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2906 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2907 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2908 $as_echo_n "(cached) " >&6
2910 cat >conftest.make <<\_ACEOF
2913 @echo '@@@%%%=$(MAKE)=@@@%%%'
2915 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2916 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2918 eval ac_cv_prog_make_${ac_make}_set=yes;;
2920 eval ac_cv_prog_make_${ac_make}_set=no;;
2924 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2926 $as_echo "yes" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2931 SET_MAKE="MAKE=${MAKE-make}"
2934 rm -rf .tst 2>/dev/null
2935 mkdir .tst 2>/dev/null
2936 if test -d .tst; then
2941 rmdir .tst 2>/dev/null
2943 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945 # is not polluted with repeated "-I."
2946 am__isrc=' -I$(srcdir)'
2947 # test to see if srcdir already configured
2948 if test -f $srcdir/config.status; then
2949 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 # test whether we have cygpath
2954 if test -z "$CYGPATH_W"; then
2955 if (cygpath --version) >/dev/null 2>/dev/null; then
2956 CYGPATH_W='cygpath -w'
2963 # Define the identity of the package.
2968 cat >>confdefs.h <<_ACEOF
2969 #define PACKAGE "$PACKAGE"
2973 cat >>confdefs.h <<_ACEOF
2974 #define VERSION "$VERSION"
2977 # Some tools Automake needs.
2979 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2982 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2985 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2988 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2991 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2993 # We need awk for the "check" target. The system "awk" is bad on
2995 # Always define AMTAR for backward compatibility.
2997 AMTAR=${AMTAR-"${am_missing_run}tar"}
2999 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3006 # Support silent build rules, requires at least automake-1.11. Disable
3007 # by either passing --disable-silent-rules to configure or passing V=1
3009 # Check whether --enable-silent-rules was given.
3010 if test "${enable_silent_rules+set}" = set; then :
3011 enableval=$enable_silent_rules;
3014 case $enable_silent_rules in
3015 yes) AM_DEFAULT_VERBOSITY=0;;
3016 no) AM_DEFAULT_VERBOSITY=1;;
3017 *) AM_DEFAULT_VERBOSITY=0;;
3023 ac_cpp='$CPP $CPPFLAGS'
3024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027 if test -n "$ac_tool_prefix"; then
3028 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031 $as_echo_n "checking for $ac_word... " >&6; }
3032 if ${ac_cv_prog_CC+:} false; then :
3033 $as_echo_n "(cached) " >&6
3035 if test -n "$CC"; then
3036 ac_cv_prog_CC="$CC" # Let the user override the test.
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 test -z "$as_dir" && as_dir=.
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3045 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$ac_cv_prog_CC"; then
3068 # Extract the first word of "gcc", so it can be a program name with args.
3069 set dummy gcc; ac_word=$2
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071 $as_echo_n "checking for $ac_word... " >&6; }
3072 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3073 $as_echo_n "(cached) " >&6
3075 if test -n "$ac_ct_CC"; then
3076 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3082 test -z "$as_dir" && as_dir=.
3083 for ac_exec_ext in '' $ac_executable_extensions; do
3084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3085 ac_cv_prog_ac_ct_CC="gcc"
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3095 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096 if test -n "$ac_ct_CC"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098 $as_echo "$ac_ct_CC" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101 $as_echo "no" >&6; }
3104 if test "x$ac_ct_CC" = x; then
3107 case $cross_compiling:$ac_tool_warned in
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111 ac_tool_warned=yes ;;
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122 set dummy ${ac_tool_prefix}cc; ac_word=$2
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124 $as_echo_n "checking for $ac_word... " >&6; }
3125 if ${ac_cv_prog_CC+:} false; then :
3126 $as_echo_n "(cached) " >&6
3128 if test -n "$CC"; then
3129 ac_cv_prog_CC="$CC" # Let the user override the test.
3131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3135 test -z "$as_dir" && as_dir=.
3136 for ac_exec_ext in '' $ac_executable_extensions; do
3137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3138 ac_cv_prog_CC="${ac_tool_prefix}cc"
3139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3149 if test -n "$CC"; then
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151 $as_echo "$CC" >&6; }
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3160 if test -z "$CC"; then
3161 # Extract the first word of "cc", so it can be a program name with args.
3162 set dummy cc; ac_word=$2
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164 $as_echo_n "checking for $ac_word... " >&6; }
3165 if ${ac_cv_prog_CC+:} false; then :
3166 $as_echo_n "(cached) " >&6
3168 if test -n "$CC"; then
3169 ac_cv_prog_CC="$CC" # Let the user override the test.
3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 test -z "$as_dir" && as_dir=.
3177 for ac_exec_ext in '' $ac_executable_extensions; do
3178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180 ac_prog_rejected=yes
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3191 if test $ac_prog_rejected = yes; then
3192 # We found a bogon in the path, so make sure we never use it.
3193 set dummy $ac_cv_prog_CC
3195 if test $# != 0; then
3196 # We chose a different compiler from the bogus one.
3197 # However, it has the same basename, so the bogon will be chosen
3198 # first if we set CC to just the basename; use the full file name.
3200 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3206 if test -n "$CC"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208 $as_echo "$CC" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3216 if test -z "$CC"; then
3217 if test -n "$ac_tool_prefix"; then
3218 for ac_prog in cl.exe
3220 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_CC+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$CC"; then
3228 ac_cv_prog_CC="$CC" # Let the user override the test.
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir=.
3235 for ac_exec_ext in '' $ac_executable_extensions; do
3236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3237 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3248 if test -n "$CC"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250 $as_echo "$CC" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$CC" && break
3260 if test -z "$CC"; then
3262 for ac_prog in cl.exe
3264 # Extract the first word of "$ac_prog", so it can be a program name with args.
3265 set dummy $ac_prog; ac_word=$2
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267 $as_echo_n "checking for $ac_word... " >&6; }
3268 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269 $as_echo_n "(cached) " >&6
3271 if test -n "$ac_ct_CC"; then
3272 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 test -z "$as_dir" && as_dir=.
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3281 ac_cv_prog_ac_ct_CC="$ac_prog"
3282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3291 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292 if test -n "$ac_ct_CC"; then
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294 $as_echo "$ac_ct_CC" >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297 $as_echo "no" >&6; }
3301 test -n "$ac_ct_CC" && break
3304 if test "x$ac_ct_CC" = x; then
3307 case $cross_compiling:$ac_tool_warned in
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311 ac_tool_warned=yes ;;
3320 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322 as_fn_error $? "no acceptable C compiler found in \$PATH
3323 See \`config.log' for more details" "$LINENO" 5; }
3325 # Provide some information about the compiler.
3326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3329 for ac_option in --version -v -V -qversion; do
3330 { { ac_try="$ac_compiler $ac_option >&5"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336 $as_echo "$ac_try_echo"; } >&5
3337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3339 if test -s conftest.err; then
3341 ... rest of stderr output deleted ...
3342 10q' conftest.err >conftest.er1
3343 cat conftest.er1 >&5
3345 rm -f conftest.er1 conftest.err
3346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347 test $ac_status = 0; }
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3361 ac_clean_files_save=$ac_clean_files
3362 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363 # Try to create an executable without -o first, disregard a.out.
3364 # It will help us diagnose broken compilers, and finding out an intuition
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367 $as_echo_n "checking whether the C compiler works... " >&6; }
3368 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3370 # The possible output files:
3371 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3374 for ac_file in $ac_files
3377 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3383 if { { ac_try="$ac_link_default"
3385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link_default") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }; then :
3394 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3397 # so that the user can short-circuit this test for compilers unknown to
3399 for ac_file in $ac_files ''
3401 test -f "$ac_file" || continue
3403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3406 # We found the default executable, but exeext='' is most
3410 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3412 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3414 # We set ac_cv_exeext here because the later test for it is not
3415 # safe: cross compilers may not add the suffix if given an `-o'
3416 # argument, so we may need to know it at that point already.
3417 # Even if this section looks crufty: it has the advantage of
3424 test "$ac_cv_exeext" = no && ac_cv_exeext=
3429 if test -z "$ac_file"; then :
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3432 $as_echo "$as_me: failed program was:" >&5
3433 sed 's/^/| /' conftest.$ac_ext >&5
3435 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437 as_fn_error 77 "C compiler cannot create executables
3438 See \`config.log' for more details" "$LINENO" 5; }
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444 $as_echo_n "checking for C compiler default output file name... " >&6; }
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446 $as_echo "$ac_file" >&6; }
3447 ac_exeext=$ac_cv_exeext
3449 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450 ac_clean_files=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452 $as_echo_n "checking for suffix of executables... " >&6; }
3453 if { { ac_try="$ac_link"
3455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456 *) ac_try_echo=$ac_try;;
3458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459 $as_echo "$ac_try_echo"; } >&5
3460 (eval "$ac_link") 2>&5
3462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463 test $ac_status = 0; }; then :
3464 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3466 # work properly (i.e., refer to `conftest.exe'), while it won't with
3468 for ac_file in conftest.exe conftest conftest.*; do
3469 test -f "$ac_file" || continue
3471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481 See \`config.log' for more details" "$LINENO" 5; }
3483 rm -f conftest conftest$ac_cv_exeext
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485 $as_echo "$ac_cv_exeext" >&6; }
3487 rm -f conftest.$ac_ext
3488 EXEEXT=$ac_cv_exeext
3490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491 /* end confdefs.h. */
3496 FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3503 ac_clean_files="$ac_clean_files conftest.out"
3504 # Check that the compiler produces executables we can run. If not, either
3505 # the compiler is broken, or we cross compile.
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507 $as_echo_n "checking whether we are cross compiling... " >&6; }
3508 if test "$cross_compiling" != yes; then
3509 { { ac_try="$ac_link"
3511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512 *) ac_try_echo=$ac_try;;
3514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515 $as_echo "$ac_try_echo"; } >&5
3516 (eval "$ac_link") 2>&5
3518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519 test $ac_status = 0; }
3520 if { ac_try='./conftest$ac_cv_exeext'
3521 { { case "(($ac_try" in
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_try") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }; }; then
3533 if test "$cross_compiling" = maybe; then
3536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538 as_fn_error $? "cannot run C compiled programs.
3539 If you meant to cross compile, use \`--host'.
3540 See \`config.log' for more details" "$LINENO" 5; }
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545 $as_echo "$cross_compiling" >&6; }
3547 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548 ac_clean_files=$ac_clean_files_save
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550 $as_echo_n "checking for suffix of object files... " >&6; }
3551 if ${ac_cv_objext+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555 /* end confdefs.h. */
3565 rm -f conftest.o conftest.obj
3566 if { { ac_try="$ac_compile"
3568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569 *) ac_try_echo=$ac_try;;
3571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572 $as_echo "$ac_try_echo"; } >&5
3573 (eval "$ac_compile") 2>&5
3575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576 test $ac_status = 0; }; then :
3577 for ac_file in conftest.o conftest.obj conftest.*; do
3578 test -f "$ac_file" || continue;
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3586 $as_echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.$ac_ext >&5
3589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591 as_fn_error $? "cannot compute suffix of object files: cannot compile
3592 See \`config.log' for more details" "$LINENO" 5; }
3594 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597 $as_echo "$ac_cv_objext" >&6; }
3598 OBJEXT=$ac_cv_objext
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602 if ${ac_cv_c_compiler_gnu+:} false; then :
3603 $as_echo_n "(cached) " >&6
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3619 if ac_fn_c_try_compile "$LINENO"; then :
3624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630 if test $ac_compiler_gnu = yes; then
3635 ac_test_CFLAGS=${CFLAGS+set}
3636 ac_save_CFLAGS=$CFLAGS
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3639 if ${ac_cv_prog_cc_g+:} false; then :
3640 $as_echo_n "(cached) " >&6
3642 ac_save_c_werror_flag=$ac_c_werror_flag
3643 ac_c_werror_flag=yes
3646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647 /* end confdefs.h. */
3657 if ac_fn_c_try_compile "$LINENO"; then :
3661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662 /* end confdefs.h. */
3672 if ac_fn_c_try_compile "$LINENO"; then :
3675 ac_c_werror_flag=$ac_save_c_werror_flag
3677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678 /* end confdefs.h. */
3688 if ac_fn_c_try_compile "$LINENO"; then :
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696 ac_c_werror_flag=$ac_save_c_werror_flag
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699 $as_echo "$ac_cv_prog_cc_g" >&6; }
3700 if test "$ac_test_CFLAGS" = set; then
3701 CFLAGS=$ac_save_CFLAGS
3702 elif test $ac_cv_prog_cc_g = yes; then
3703 if test "$GCC" = yes; then
3709 if test "$GCC" = yes; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717 if ${ac_cv_prog_cc_c89+:} false; then :
3718 $as_echo_n "(cached) " >&6
3720 ac_cv_prog_cc_c89=no
3722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723 /* end confdefs.h. */
3726 #include <sys/types.h>
3727 #include <sys/stat.h>
3728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3729 struct buf { int x; };
3730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3731 static char *e (p, i)
3737 static char *f (char * (*g) (char **, int), char **p, ...)
3742 s = g (p, va_arg (v,int));
3747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3748 function prototypes and stuff, but not '\xHH' hex character constants.
3749 These don't provoke an error unfortunately, instead are silently treated
3750 as 'x'. The following induces an error, until -std is added to get
3751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3752 array size at least. It's necessary to write '\x00'==0 to get something
3753 that's true only with -std. */
3754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3757 inside strings and character constants. */
3759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3761 int test (int i, double x);
3762 struct s1 {int (*f) (int a);};
3763 struct s2 {int (*f) (double a);};
3764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3778 CC="$ac_save_CC $ac_arg"
3779 if ac_fn_c_try_compile "$LINENO"; then :
3780 ac_cv_prog_cc_c89=$ac_arg
3782 rm -f core conftest.err conftest.$ac_objext
3783 test "x$ac_cv_prog_cc_c89" != "xno" && break
3785 rm -f conftest.$ac_ext
3790 case "x$ac_cv_prog_cc_c89" in
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3793 $as_echo "none needed" >&6; } ;;
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3796 $as_echo "unsupported" >&6; } ;;
3798 CC="$CC $ac_cv_prog_cc_c89"
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3802 if test "x$ac_cv_prog_cc_c89" != xno; then :
3807 ac_cpp='$CPP $CPPFLAGS'
3808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3811 DEPDIR="${am__leading_dot}deps"
3813 ac_config_commands="$ac_config_commands depfiles"
3816 am_make=${MAKE-make}
3817 cat > confinc << 'END'
3819 @echo this is the am__doit target
3822 # If we don't find an include directive, just comment out the code.
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3824 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3828 # First try GNU make style include.
3829 echo "include confinc" > confmf
3830 # Ignore all kinds of additional output from `make'.
3831 case `$am_make -s -f confmf 2> /dev/null` in #(
3832 *the\ am__doit\ target*)
3838 # Now try BSD make style include.
3839 if test "$am__include" = "#"; then
3840 echo '.include "confinc"' > confmf
3841 case `$am_make -s -f confmf 2> /dev/null` in #(
3842 *the\ am__doit\ target*)
3843 am__include=.include
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3852 $as_echo "$_am_result" >&6; }
3853 rm -f confinc confmf
3855 # Check whether --enable-dependency-tracking was given.
3856 if test "${enable_dependency_tracking+set}" = set; then :
3857 enableval=$enable_dependency_tracking;
3860 if test "x$enable_dependency_tracking" != xno; then
3861 am_depcomp="$ac_aux_dir/depcomp"
3864 if test "x$enable_dependency_tracking" != xno; then
3874 depcc="$CC" am_compiler_list=
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3877 $as_echo_n "checking dependency style of $depcc... " >&6; }
3878 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3882 # We make a subdir and do the tests there. Otherwise we can end up
3883 # making bogus files that we don't know about and never remove. For
3884 # instance it was reported that on HP-UX the gcc test will end up
3885 # making a dummy file named `D' -- because `-MD' means `put the output
3888 # Copy depcomp to subdir because otherwise we won't find it if we're
3889 # using a relative directory.
3890 cp "$am_depcomp" conftest.dir
3892 # We will build objects and dependencies in a subdirectory because
3893 # it helps to detect inapplicable dependency modes. For instance
3894 # both Tru64's cc and ICC support -MD to output dependencies as a
3895 # side effect of compilation, but ICC will put the dependencies in
3896 # the current directory while Tru64 will put them in the object
3900 am_cv_CC_dependencies_compiler_type=none
3901 if test "$am_compiler_list" = ""; then
3902 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3905 case " $depcc " in #(
3906 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3909 for depmode in $am_compiler_list; do
3910 # Setup a source with many dependencies, because some compilers
3911 # like to wrap large dependency lists on column 80 (with \), and
3912 # we should not choose a depcomp mode which is confused by this.
3914 # We need to recreate these files for each test, as the compiler may
3915 # overwrite some of them when testing with obscure command lines.
3916 # This happens at least with the AIX C compiler.
3918 for i in 1 2 3 4 5 6; do
3919 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3920 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3921 # Solaris 8's {/usr,}/bin/sh.
3922 touch sub/conftst$i.h
3924 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3926 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3927 # mode. It turns out that the SunPro C++ compiler does not properly
3928 # handle `-M -o', and we need to detect this. Also, some Intel
3929 # versions had trouble with output in subdirs
3930 am__obj=sub/conftest.${OBJEXT-o}
3931 am__minus_obj="-o $am__obj"
3934 # This depmode causes a compiler race in universal mode.
3935 test "$am__universal" = false || continue
3938 # after this tag, mechanisms are not by side-effect, so they'll
3939 # only be used when explicitly requested
3940 if test "x$enable_dependency_tracking" = xyes; then
3946 msvisualcpp | msvcmsys)
3947 # This compiler won't grok `-c -o', but also, the minuso test has
3948 # not run yet. These depmodes are late enough in the game, and
3949 # so weak that their functioning should not be impacted.
3950 am__obj=conftest.${OBJEXT-o}
3955 if depmode=$depmode \
3956 source=sub/conftest.c object=$am__obj \
3957 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3958 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3959 >/dev/null 2>conftest.err &&
3960 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3961 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3962 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3963 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3964 # icc doesn't choke on unknown options, it will just issue warnings
3965 # or remarks (even with -Werror). So we grep stderr for any message
3966 # that says an option was ignored or not supported.
3967 # When given -MP, icc 7.0 and 7.1 complain thusly:
3968 # icc: Command line warning: ignoring option '-M'; no argument required
3969 # The diagnosis changed in icc 8.0:
3970 # icc: Command line remark: option '-MP' not supported
3971 if (grep 'ignoring option' conftest.err ||
3972 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3973 am_cv_CC_dependencies_compiler_type=$depmode
3982 am_cv_CC_dependencies_compiler_type=none
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3987 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3988 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3991 test "x$enable_dependency_tracking" != xno \
3992 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3994 am__fastdepCC_FALSE='#'
3996 am__fastdepCC_TRUE='#'
3997 am__fastdepCC_FALSE=
4004 ac_cpp='$CPP $CPPFLAGS'
4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4009 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4010 # On Suns, sometimes $CPP names a directory.
4011 if test -n "$CPP" && test -d "$CPP"; then
4014 if test -z "$CPP"; then
4015 if ${ac_cv_prog_CPP+:} false; then :
4016 $as_echo_n "(cached) " >&6
4018 # Double quotes because CPP needs to be expanded
4019 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4022 for ac_c_preproc_warn_flag in '' yes
4024 # Use a header file that comes with gcc, so configuring glibc
4025 # with a fresh cross-compiler works.
4026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4027 # <limits.h> exists even on freestanding compilers.
4028 # On the NeXT, cc -E runs the code through the compiler's parser,
4029 # not just through cpp. "Syntax error" is here to catch this case.
4030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4031 /* end confdefs.h. */
4033 # include <limits.h>
4035 # include <assert.h>
4039 if ac_fn_c_try_cpp "$LINENO"; then :
4042 # Broken: fails on valid input.
4045 rm -f conftest.err conftest.i conftest.$ac_ext
4047 # OK, works on sane cases. Now check whether nonexistent headers
4048 # can be detected and how.
4049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4050 /* end confdefs.h. */
4051 #include <ac_nonexistent.h>
4053 if ac_fn_c_try_cpp "$LINENO"; then :
4054 # Broken: success on invalid input.
4057 # Passes both tests.
4061 rm -f conftest.err conftest.i conftest.$ac_ext
4064 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4065 rm -f conftest.i conftest.err conftest.$ac_ext
4066 if $ac_preproc_ok; then :
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4079 $as_echo "$CPP" >&6; }
4081 for ac_c_preproc_warn_flag in '' yes
4083 # Use a header file that comes with gcc, so configuring glibc
4084 # with a fresh cross-compiler works.
4085 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4086 # <limits.h> exists even on freestanding compilers.
4087 # On the NeXT, cc -E runs the code through the compiler's parser,
4088 # not just through cpp. "Syntax error" is here to catch this case.
4089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090 /* end confdefs.h. */
4092 # include <limits.h>
4094 # include <assert.h>
4098 if ac_fn_c_try_cpp "$LINENO"; then :
4101 # Broken: fails on valid input.
4104 rm -f conftest.err conftest.i conftest.$ac_ext
4106 # OK, works on sane cases. Now check whether nonexistent headers
4107 # can be detected and how.
4108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4109 /* end confdefs.h. */
4110 #include <ac_nonexistent.h>
4112 if ac_fn_c_try_cpp "$LINENO"; then :
4113 # Broken: success on invalid input.
4116 # Passes both tests.
4120 rm -f conftest.err conftest.i conftest.$ac_ext
4123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4124 rm -f conftest.i conftest.err conftest.$ac_ext
4125 if $ac_preproc_ok; then :
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4131 See \`config.log' for more details" "$LINENO" 5; }
4135 ac_cpp='$CPP $CPPFLAGS'
4136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4140 # Extract the first word of "rm", so it can be a program name with args.
4141 set dummy rm; ac_word=$2
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4143 $as_echo_n "checking for $ac_word... " >&6; }
4144 if ${ac_cv_path_RM+:} false; then :
4145 $as_echo_n "(cached) " >&6
4149 ac_cv_path_RM="$RM" # Let the user override the test with a path.
4152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4156 test -z "$as_dir" && as_dir=.
4157 for ac_exec_ext in '' $ac_executable_extensions; do
4158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4159 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
4160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4167 test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
4172 if test -n "$RM"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4174 $as_echo "$RM" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4181 # Extract the first word of "mv", so it can be a program name with args.
4182 set dummy mv; ac_word=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if ${ac_cv_path_MV+:} false; then :
4186 $as_echo_n "(cached) " >&6
4190 ac_cv_path_MV="$MV" # Let the user override the test with a path.
4193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4197 test -z "$as_dir" && as_dir=.
4198 for ac_exec_ext in '' $ac_executable_extensions; do
4199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4200 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
4201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
4213 if test -n "$MV"; then
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4215 $as_echo "$MV" >&6; }
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4218 $as_echo "no" >&6; }
4222 # Extract the first word of "tar", so it can be a program name with args.
4223 set dummy tar; ac_word=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_path_TAR+:} false; then :
4227 $as_echo_n "(cached) " >&6
4231 ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
4234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir=.
4239 for ac_exec_ext in '' $ac_executable_extensions; do
4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241 ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
4254 if test -n "$TAR"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TAR" >&5
4256 $as_echo "$TAR" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 # Extract the first word of "perl", so it can be a program name with args.
4264 set dummy perl; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_path_PERL+:} false; then :
4268 $as_echo_n "(cached) " >&6
4272 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4279 test -z "$as_dir" && as_dir=.
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4282 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
4294 PERL=$ac_cv_path_PERL
4295 if test -n "$PERL"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
4297 $as_echo "$PERL" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 # Extract the first word of "wget", so it can be a program name with args.
4305 set dummy wget; ac_word=$2
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4307 $as_echo_n "checking for $ac_word... " >&6; }
4308 if ${ac_cv_path_WGET+:} false; then :
4309 $as_echo_n "(cached) " >&6
4313 ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
4316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir=.
4321 for ac_exec_ext in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
4335 WGET=$ac_cv_path_WGET
4336 if test -n "$WGET"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WGET" >&5
4338 $as_echo "$WGET" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 # Extract the first word of "xmllint", so it can be a program name with args.
4346 set dummy xmllint; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_path_XMLLINT+:} false; then :
4350 $as_echo_n "(cached) " >&6
4354 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 test -z "$as_dir" && as_dir=.
4362 for ac_exec_ext in '' $ac_executable_extensions; do
4363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4364 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
4365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
4376 XMLLINT=$ac_cv_path_XMLLINT
4377 if test -n "$XMLLINT"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4379 $as_echo "$XMLLINT" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 # Extract the first word of "xsltproc", so it can be a program name with args.
4387 set dummy xsltproc; ac_word=$2
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4389 $as_echo_n "checking for $ac_word... " >&6; }
4390 if ${ac_cv_path_XSLTPROC+:} false; then :
4391 $as_echo_n "(cached) " >&6
4395 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir=.
4403 for ac_exec_ext in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
4417 XSLTPROC=$ac_cv_path_XSLTPROC
4418 if test -n "$XSLTPROC"; then
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4420 $as_echo "$XSLTPROC" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4423 $as_echo "no" >&6; }
4428 enable_win32_dll=yes
4431 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4432 if test -n "$ac_tool_prefix"; then
4433 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4434 set dummy ${ac_tool_prefix}as; ac_word=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if ${ac_cv_prog_AS+:} false; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$AS"; then
4441 ac_cv_prog_AS="$AS" # Let the user override the test.
4443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir=.
4448 for ac_exec_ext in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450 ac_cv_prog_AS="${ac_tool_prefix}as"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4461 if test -n "$AS"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4463 $as_echo "$AS" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4471 if test -z "$ac_cv_prog_AS"; then
4473 # Extract the first word of "as", so it can be a program name with args.
4474 set dummy as; ac_word=$2
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4476 $as_echo_n "checking for $ac_word... " >&6; }
4477 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4478 $as_echo_n "(cached) " >&6
4480 if test -n "$ac_ct_AS"; then
4481 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 test -z "$as_dir" && as_dir=.
4488 for ac_exec_ext in '' $ac_executable_extensions; do
4489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4490 ac_cv_prog_ac_ct_AS="as"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4500 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4501 if test -n "$ac_ct_AS"; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4503 $as_echo "$ac_ct_AS" >&6; }
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4506 $as_echo "no" >&6; }
4509 if test "x$ac_ct_AS" = x; then
4512 case $cross_compiling:$ac_tool_warned in
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4516 ac_tool_warned=yes ;;
4524 if test -n "$ac_tool_prefix"; then
4525 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4526 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_DLLTOOL+:} false; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$DLLTOOL"; then
4533 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 DLLTOOL=$ac_cv_prog_DLLTOOL
4553 if test -n "$DLLTOOL"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4555 $as_echo "$DLLTOOL" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4563 if test -z "$ac_cv_prog_DLLTOOL"; then
4564 ac_ct_DLLTOOL=$DLLTOOL
4565 # Extract the first word of "dlltool", so it can be a program name with args.
4566 set dummy dlltool; ac_word=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$ac_ct_DLLTOOL"; then
4573 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir=.
4580 for ac_exec_ext in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4593 if test -n "$ac_ct_DLLTOOL"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4595 $as_echo "$ac_ct_DLLTOOL" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4601 if test "x$ac_ct_DLLTOOL" = x; then
4604 case $cross_compiling:$ac_tool_warned in
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4608 ac_tool_warned=yes ;;
4610 DLLTOOL=$ac_ct_DLLTOOL
4613 DLLTOOL="$ac_cv_prog_DLLTOOL"
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4618 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 $as_echo_n "checking for $ac_word... " >&6; }
4621 if ${ac_cv_prog_OBJDUMP+:} false; then :
4622 $as_echo_n "(cached) " >&6
4624 if test -n "$OBJDUMP"; then
4625 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4631 test -z "$as_dir" && as_dir=.
4632 for ac_exec_ext in '' $ac_executable_extensions; do
4633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 OBJDUMP=$ac_cv_prog_OBJDUMP
4645 if test -n "$OBJDUMP"; then
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4647 $as_echo "$OBJDUMP" >&6; }
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4650 $as_echo "no" >&6; }
4655 if test -z "$ac_cv_prog_OBJDUMP"; then
4656 ac_ct_OBJDUMP=$OBJDUMP
4657 # Extract the first word of "objdump", so it can be a program name with args.
4658 set dummy objdump; ac_word=$2
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660 $as_echo_n "checking for $ac_word... " >&6; }
4661 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4662 $as_echo_n "(cached) " >&6
4664 if test -n "$ac_ct_OBJDUMP"; then
4665 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 test -z "$as_dir" && as_dir=.
4672 for ac_exec_ext in '' $ac_executable_extensions; do
4673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4685 if test -n "$ac_ct_OBJDUMP"; then
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4687 $as_echo "$ac_ct_OBJDUMP" >&6; }
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690 $as_echo "no" >&6; }
4693 if test "x$ac_ct_OBJDUMP" = x; then
4696 case $cross_compiling:$ac_tool_warned in
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4700 ac_tool_warned=yes ;;
4702 OBJDUMP=$ac_ct_OBJDUMP
4705 OBJDUMP="$ac_cv_prog_OBJDUMP"
4711 test -z "$AS" && AS=as
4717 test -z "$DLLTOOL" && DLLTOOL=dlltool
4723 test -z "$OBJDUMP" && OBJDUMP=objdump
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4734 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4740 macro_revision='1.3293'
4754 ltmain="$ac_aux_dir/ltmain.sh"
4756 # Backslashify metacharacters that are still active within
4757 # double-quoted strings.
4758 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4760 # Same as above, but do not quote variable references.
4761 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4763 # Sed substitution to delay expansion of an escaped shell variable in a
4764 # double_quote_subst'ed string.
4765 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4767 # Sed substitution to delay expansion of an escaped single quote.
4768 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4770 # Sed substitution to avoid accidental globbing in evaled expressions
4771 no_glob_subst='s/\*/\\\*/g'
4773 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4774 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4775 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4778 $as_echo_n "checking how to print strings... " >&6; }
4779 # Test print first, because it will be a builtin if present.
4780 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4781 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4783 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4786 # Use this function as a fallback that always works.
4787 func_fallback_echo ()
4789 eval 'cat <<_LTECHO_EOF
4793 ECHO='func_fallback_echo'
4796 # func_echo_all arg...
4797 # Invoke $ECHO with all args, space-separated.
4804 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4805 $as_echo "printf" >&6; } ;;
4806 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4807 $as_echo "print -r" >&6; } ;;
4808 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4809 $as_echo "cat" >&6; } ;;
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4826 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4827 if ${ac_cv_path_SED+:} false; then :
4828 $as_echo_n "(cached) " >&6
4830 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4831 for ac_i in 1 2 3 4 5 6 7; do
4832 ac_script="$ac_script$as_nl$ac_script"
4834 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4835 { ac_script=; unset ac_script;}
4836 if test -z "$SED"; then
4837 ac_path_SED_found=false
4838 # Loop through the user's path and test for each of PROGNAME-LIST
4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir=.
4844 for ac_prog in sed gsed; do
4845 for ac_exec_ext in '' $ac_executable_extensions; do
4846 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4847 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4848 # Check for GNU ac_path_SED and select it if it is found.
4849 # Check for GNU $ac_path_SED
4850 case `"$ac_path_SED" --version 2>&1` in
4852 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4855 $as_echo_n 0123456789 >"conftest.in"
4858 cat "conftest.in" "conftest.in" >"conftest.tmp"
4859 mv "conftest.tmp" "conftest.in"
4860 cp "conftest.in" "conftest.nl"
4861 $as_echo '' >> "conftest.nl"
4862 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4863 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4864 as_fn_arith $ac_count + 1 && ac_count=$as_val
4865 if test $ac_count -gt ${ac_path_SED_max-0}; then
4866 # Best one so far, save it but keep looking for a better one
4867 ac_cv_path_SED="$ac_path_SED"
4868 ac_path_SED_max=$ac_count
4870 # 10*(2^10) chars as input seems more than enough
4871 test $ac_count -gt 10 && break
4873 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4876 $ac_path_SED_found && break 3
4881 if test -z "$ac_cv_path_SED"; then
4882 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4890 $as_echo "$ac_cv_path_SED" >&6; }
4891 SED="$ac_cv_path_SED"
4894 test -z "$SED" && SED=sed
4895 Xsed="$SED -e 1s/^X//"
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4908 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4909 if ${ac_cv_path_GREP+:} false; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -z "$GREP"; then
4913 ac_path_GREP_found=false
4914 # Loop through the user's path and test for each of PROGNAME-LIST
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4919 test -z "$as_dir" && as_dir=.
4920 for ac_prog in grep ggrep; do
4921 for ac_exec_ext in '' $ac_executable_extensions; do
4922 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4923 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4924 # Check for GNU ac_path_GREP and select it if it is found.
4925 # Check for GNU $ac_path_GREP
4926 case `"$ac_path_GREP" --version 2>&1` in
4928 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4931 $as_echo_n 0123456789 >"conftest.in"
4934 cat "conftest.in" "conftest.in" >"conftest.tmp"
4935 mv "conftest.tmp" "conftest.in"
4936 cp "conftest.in" "conftest.nl"
4937 $as_echo 'GREP' >> "conftest.nl"
4938 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4939 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4940 as_fn_arith $ac_count + 1 && ac_count=$as_val
4941 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4942 # Best one so far, save it but keep looking for a better one
4943 ac_cv_path_GREP="$ac_path_GREP"
4944 ac_path_GREP_max=$ac_count
4946 # 10*(2^10) chars as input seems more than enough
4947 test $ac_count -gt 10 && break
4949 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4952 $ac_path_GREP_found && break 3
4957 if test -z "$ac_cv_path_GREP"; then
4958 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4961 ac_cv_path_GREP=$GREP
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4966 $as_echo "$ac_cv_path_GREP" >&6; }
4967 GREP="$ac_cv_path_GREP"
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4971 $as_echo_n "checking for egrep... " >&6; }
4972 if ${ac_cv_path_EGREP+:} false; then :
4973 $as_echo_n "(cached) " >&6
4975 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4976 then ac_cv_path_EGREP="$GREP -E"
4978 if test -z "$EGREP"; then
4979 ac_path_EGREP_found=false
4980 # Loop through the user's path and test for each of PROGNAME-LIST
4981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4982 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4985 test -z "$as_dir" && as_dir=.
4986 for ac_prog in egrep; do
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4989 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4990 # Check for GNU ac_path_EGREP and select it if it is found.
4991 # Check for GNU $ac_path_EGREP
4992 case `"$ac_path_EGREP" --version 2>&1` in
4994 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4997 $as_echo_n 0123456789 >"conftest.in"
5000 cat "conftest.in" "conftest.in" >"conftest.tmp"
5001 mv "conftest.tmp" "conftest.in"
5002 cp "conftest.in" "conftest.nl"
5003 $as_echo 'EGREP' >> "conftest.nl"
5004 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5005 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5006 as_fn_arith $ac_count + 1 && ac_count=$as_val
5007 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5008 # Best one so far, save it but keep looking for a better one
5009 ac_cv_path_EGREP="$ac_path_EGREP"
5010 ac_path_EGREP_max=$ac_count
5012 # 10*(2^10) chars as input seems more than enough
5013 test $ac_count -gt 10 && break
5015 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5018 $ac_path_EGREP_found && break 3
5023 if test -z "$ac_cv_path_EGREP"; then
5024 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5027 ac_cv_path_EGREP=$EGREP
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5033 $as_echo "$ac_cv_path_EGREP" >&6; }
5034 EGREP="$ac_cv_path_EGREP"
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5038 $as_echo_n "checking for fgrep... " >&6; }
5039 if ${ac_cv_path_FGREP+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5043 then ac_cv_path_FGREP="$GREP -F"
5045 if test -z "$FGREP"; then
5046 ac_path_FGREP_found=false
5047 # Loop through the user's path and test for each of PROGNAME-LIST
5048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5052 test -z "$as_dir" && as_dir=.
5053 for ac_prog in fgrep; do
5054 for ac_exec_ext in '' $ac_executable_extensions; do
5055 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5056 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5057 # Check for GNU ac_path_FGREP and select it if it is found.
5058 # Check for GNU $ac_path_FGREP
5059 case `"$ac_path_FGREP" --version 2>&1` in
5061 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5064 $as_echo_n 0123456789 >"conftest.in"
5067 cat "conftest.in" "conftest.in" >"conftest.tmp"
5068 mv "conftest.tmp" "conftest.in"
5069 cp "conftest.in" "conftest.nl"
5070 $as_echo 'FGREP' >> "conftest.nl"
5071 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5072 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5073 as_fn_arith $ac_count + 1 && ac_count=$as_val
5074 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5075 # Best one so far, save it but keep looking for a better one
5076 ac_cv_path_FGREP="$ac_path_FGREP"
5077 ac_path_FGREP_max=$ac_count
5079 # 10*(2^10) chars as input seems more than enough
5080 test $ac_count -gt 10 && break
5082 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5085 $ac_path_FGREP_found && break 3
5090 if test -z "$ac_cv_path_FGREP"; then
5091 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5094 ac_cv_path_FGREP=$FGREP
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5100 $as_echo "$ac_cv_path_FGREP" >&6; }
5101 FGREP="$ac_cv_path_FGREP"
5104 test -z "$GREP" && GREP=grep
5124 # Check whether --with-gnu-ld was given.
5125 if test "${with_gnu_ld+set}" = set; then :
5126 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5132 if test "$GCC" = yes; then
5133 # Check if gcc -print-prog-name=ld gives a path.
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5135 $as_echo_n "checking for ld used by $CC... " >&6; }
5138 # gcc leaves a trailing carriage return which upsets mingw
5139 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5141 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5144 # Accept absolute paths.
5146 re_direlt='/[^/][^/]*/\.\./'
5147 # Canonicalize the pathname of ld
5148 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5149 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5150 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5152 test -z "$LD" && LD="$ac_prog"
5155 # If it fails, then pretend we aren't using GCC.
5159 # If it is relative, then search for the first ld in PATH.
5163 elif test "$with_gnu_ld" = yes; then
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5165 $as_echo_n "checking for GNU ld... " >&6; }
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5168 $as_echo_n "checking for non-GNU ld... " >&6; }
5170 if ${lt_cv_path_LD+:} false; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -z "$LD"; then
5174 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5175 for ac_dir in $PATH; do
5177 test -z "$ac_dir" && ac_dir=.
5178 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5179 lt_cv_path_LD="$ac_dir/$ac_prog"
5180 # Check to see if the program is GNU ld. I'd rather use --version,
5181 # but apparently some variants of GNU ld only accept -v.
5182 # Break only if it was the GNU/non-GNU ld that we prefer.
5183 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5184 *GNU* | *'with BFD'*)
5185 test "$with_gnu_ld" != no && break
5188 test "$with_gnu_ld" != yes && break
5195 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5200 if test -n "$LD"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5202 $as_echo "$LD" >&6; }
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5207 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5209 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5210 if ${lt_cv_prog_gnu_ld+:} false; then :
5211 $as_echo_n "(cached) " >&6
5213 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5214 case `$LD -v 2>&1 </dev/null` in
5215 *GNU* | *'with BFD'*)
5216 lt_cv_prog_gnu_ld=yes
5219 lt_cv_prog_gnu_ld=no
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5224 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5225 with_gnu_ld=$lt_cv_prog_gnu_ld
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5236 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5237 if ${lt_cv_path_NM+:} false; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$NM"; then
5241 # Let the user override the test.
5244 lt_nm_to_check="${ac_tool_prefix}nm"
5245 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5246 lt_nm_to_check="$lt_nm_to_check nm"
5248 for lt_tmp_nm in $lt_nm_to_check; do
5249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5250 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5252 test -z "$ac_dir" && ac_dir=.
5253 tmp_nm="$ac_dir/$lt_tmp_nm"
5254 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5255 # Check to see if the nm accepts a BSD-compat flag.
5256 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5257 # nm: unknown option "B" ignored
5258 # Tru64's nm complains that /dev/null is an invalid object file
5259 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5260 */dev/null* | *'Invalid file or object type'*)
5261 lt_cv_path_NM="$tmp_nm -B"
5265 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5267 lt_cv_path_NM="$tmp_nm -p"
5271 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5272 continue # so that we can try to find one that supports BSD flags
5281 : ${lt_cv_path_NM=no}
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5285 $as_echo "$lt_cv_path_NM" >&6; }
5286 if test "$lt_cv_path_NM" != "no"; then
5289 # Didn't find any BSD compatible name lister, look for dumpbin.
5290 if test -n "$DUMPBIN"; then :
5291 # Let the user override the test.
5293 if test -n "$ac_tool_prefix"; then
5294 for ac_prog in dumpbin "link -dump"
5296 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5297 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if ${ac_cv_prog_DUMPBIN+:} false; then :
5301 $as_echo_n "(cached) " >&6
5303 if test -n "$DUMPBIN"; then
5304 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5323 DUMPBIN=$ac_cv_prog_DUMPBIN
5324 if test -n "$DUMPBIN"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5326 $as_echo "$DUMPBIN" >&6; }
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5333 test -n "$DUMPBIN" && break
5336 if test -z "$DUMPBIN"; then
5337 ac_ct_DUMPBIN=$DUMPBIN
5338 for ac_prog in dumpbin "link -dump"
5340 # Extract the first word of "$ac_prog", so it can be a program name with args.
5341 set dummy $ac_prog; ac_word=$2
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5343 $as_echo_n "checking for $ac_word... " >&6; }
5344 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5345 $as_echo_n "(cached) " >&6
5347 if test -n "$ac_ct_DUMPBIN"; then
5348 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5354 test -z "$as_dir" && as_dir=.
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5368 if test -n "$ac_ct_DUMPBIN"; then
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5370 $as_echo "$ac_ct_DUMPBIN" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5373 $as_echo "no" >&6; }
5377 test -n "$ac_ct_DUMPBIN" && break
5380 if test "x$ac_ct_DUMPBIN" = x; then
5383 case $cross_compiling:$ac_tool_warned in
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5386 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5387 ac_tool_warned=yes ;;
5389 DUMPBIN=$ac_ct_DUMPBIN
5393 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5395 DUMPBIN="$DUMPBIN -symbols"
5403 if test "$DUMPBIN" != ":"; then
5407 test -z "$NM" && NM=nm
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5415 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5416 if ${lt_cv_nm_interface+:} false; then :
5417 $as_echo_n "(cached) " >&6
5419 lt_cv_nm_interface="BSD nm"
5420 echo "int some_variable = 0;" > conftest.$ac_ext
5421 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5422 (eval "$ac_compile" 2>conftest.err)
5423 cat conftest.err >&5
5424 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5425 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5426 cat conftest.err >&5
5427 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5428 cat conftest.out >&5
5429 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5430 lt_cv_nm_interface="MS dumpbin"
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5435 $as_echo "$lt_cv_nm_interface" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5438 $as_echo_n "checking whether ln -s works... " >&6; }
5440 if test "$LN_S" = "ln -s"; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5442 $as_echo "yes" >&6; }
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5445 $as_echo "no, using $LN_S" >&6; }
5448 # find the maximum length of command line arguments
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5450 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5451 if ${lt_cv_sys_max_cmd_len+:} false; then :
5452 $as_echo_n "(cached) " >&6
5459 # On DJGPP, this test can blow up pretty badly due to problems in libc
5460 # (any single argument exceeding 2000 bytes causes a buffer overrun
5461 # during glob expansion). Even if it were fixed, the result of this
5462 # check would be larger than it should be.
5463 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5467 # Under GNU Hurd, this test is not required because there is
5468 # no limit to the length of command line arguments.
5469 # Libtool will interpret -1 as no limit whatsoever
5470 lt_cv_sys_max_cmd_len=-1;
5473 cygwin* | mingw* | cegcc*)
5474 # On Win9x/ME, this test blows up -- it succeeds, but takes
5475 # about 5 minutes as the teststring grows exponentially.
5476 # Worse, since 9x/ME are not pre-emptively multitasking,
5477 # you end up with a "frozen" computer, even though with patience
5478 # the test eventually succeeds (with a max line length of 256k).
5479 # Instead, let's just punt: use the minimum linelength reported by
5480 # all of the supported platforms: 8192 (on NT/2K/XP).
5481 lt_cv_sys_max_cmd_len=8192;
5485 # On MiNT this can take a long time and run out of memory.
5486 lt_cv_sys_max_cmd_len=8192;
5490 # On AmigaOS with pdksh, this test takes hours, literally.
5491 # So we just punt and use a minimum line length of 8192.
5492 lt_cv_sys_max_cmd_len=8192;
5495 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5496 # This has been around since 386BSD, at least. Likely further.
5497 if test -x /sbin/sysctl; then
5498 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5499 elif test -x /usr/sbin/sysctl; then
5500 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5502 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5504 # And add a safety zone
5505 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5506 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5510 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5511 lt_cv_sys_max_cmd_len=196608
5515 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5516 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5517 # nice to cause kernel panics so lets avoid the loop below.
5518 # First set a reasonable default.
5519 lt_cv_sys_max_cmd_len=16384
5521 if test -x /sbin/sysconfig; then
5522 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5523 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5528 lt_cv_sys_max_cmd_len=102400
5530 sysv5* | sco5v6* | sysv4.2uw2*)
5531 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5532 if test -n "$kargmax"; then
5533 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5535 lt_cv_sys_max_cmd_len=32768
5539 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5540 if test -n "$lt_cv_sys_max_cmd_len"; then
5541 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5542 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5544 # Make teststring a little bigger before we do anything with it.
5545 # a 1K string should be a reasonable start.
5546 for i in 1 2 3 4 5 6 7 8 ; do
5547 teststring=$teststring$teststring
5549 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5550 # If test is not a shell built-in, we'll probably end up computing a
5551 # maximum length that is only half of the actual maximum length, but
5553 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5554 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5555 test $i != 17 # 1/2 MB should be enough
5558 teststring=$teststring$teststring
5560 # Only check the string length outside the loop.
5561 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5563 # Add a significant safety factor because C++ compilers can tack on
5564 # massive amounts of additional arguments before passing them to the
5565 # linker. It appears as though 1/2 is a usable value.
5566 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5573 if test -n $lt_cv_sys_max_cmd_len ; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5575 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5578 $as_echo "none" >&6; }
5580 max_cmd_len=$lt_cv_sys_max_cmd_len
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5592 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5593 # Try some XSI features
5596 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5598 && eval 'test $(( 1 + 1 )) -eq 2 \
5599 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5602 $as_echo "$xsi_shell" >&6; }
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5606 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5608 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5610 && lt_shell_append=yes
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5612 $as_echo "$lt_shell_append" >&6; }
5615 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5625 # test EBCDIC or ASCII
5626 case `echo X|tr X '\101'` in
5627 A) # ASCII based system
5628 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5629 lt_SP2NL='tr \040 \012'
5630 lt_NL2SP='tr \015\012 \040\040'
5632 *) # EBCDIC based system
5633 lt_SP2NL='tr \100 \n'
5634 lt_NL2SP='tr \r\n \100\100'
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5647 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5648 if ${lt_cv_to_host_file_cmd+:} false; then :
5649 $as_echo_n "(cached) " >&6
5654 *-*-mingw* ) # actually msys
5655 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5658 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5660 * ) # otherwise, assume *nix
5661 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5667 *-*-mingw* ) # actually msys
5668 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5671 lt_cv_to_host_file_cmd=func_convert_file_noop
5673 * ) # otherwise, assume *nix
5674 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5678 * ) # unhandled hosts (and "normal" native builds)
5679 lt_cv_to_host_file_cmd=func_convert_file_noop
5685 to_host_file_cmd=$lt_cv_to_host_file_cmd
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5687 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5694 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5695 if ${lt_cv_to_tool_file_cmd+:} false; then :
5696 $as_echo_n "(cached) " >&6
5698 #assume ordinary cross tools, or native build.
5699 lt_cv_to_tool_file_cmd=func_convert_file_noop
5703 *-*-mingw* ) # actually msys
5704 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5712 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5714 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5721 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5722 if ${lt_cv_ld_reload_flag+:} false; then :
5723 $as_echo_n "(cached) " >&6
5725 lt_cv_ld_reload_flag='-r'
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5728 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5729 reload_flag=$lt_cv_ld_reload_flag
5730 case $reload_flag in
5732 *) reload_flag=" $reload_flag" ;;
5734 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5736 cygwin* | mingw* | pw32* | cegcc*)
5737 if test "$GCC" != yes; then
5742 if test "$GCC" = yes; then
5743 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5745 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5758 if test -n "$ac_tool_prefix"; then
5759 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5760 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if ${ac_cv_prog_OBJDUMP+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 if test -n "$OBJDUMP"; then
5767 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5786 OBJDUMP=$ac_cv_prog_OBJDUMP
5787 if test -n "$OBJDUMP"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5789 $as_echo "$OBJDUMP" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5797 if test -z "$ac_cv_prog_OBJDUMP"; then
5798 ac_ct_OBJDUMP=$OBJDUMP
5799 # Extract the first word of "objdump", so it can be a program name with args.
5800 set dummy objdump; ac_word=$2
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5802 $as_echo_n "checking for $ac_word... " >&6; }
5803 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5804 $as_echo_n "(cached) " >&6
5806 if test -n "$ac_ct_OBJDUMP"; then
5807 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5816 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5827 if test -n "$ac_ct_OBJDUMP"; then
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5829 $as_echo "$ac_ct_OBJDUMP" >&6; }
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5832 $as_echo "no" >&6; }
5835 if test "x$ac_ct_OBJDUMP" = x; then
5838 case $cross_compiling:$ac_tool_warned in
5840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5841 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5842 ac_tool_warned=yes ;;
5844 OBJDUMP=$ac_ct_OBJDUMP
5847 OBJDUMP="$ac_cv_prog_OBJDUMP"
5850 test -z "$OBJDUMP" && OBJDUMP=objdump
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5858 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5859 if ${lt_cv_deplibs_check_method+:} false; then :
5860 $as_echo_n "(cached) " >&6
5862 lt_cv_file_magic_cmd='$MAGIC_CMD'
5863 lt_cv_file_magic_test_file=
5864 lt_cv_deplibs_check_method='unknown'
5865 # Need to set the preceding variable on all platforms that support
5866 # interlibrary dependencies.
5867 # 'none' -- dependencies not supported.
5868 # `unknown' -- same as none, but documents that we really don't know.
5869 # 'pass_all' -- all dependencies passed with no checks.
5870 # 'test_compile' -- check by making test program.
5871 # 'file_magic [[regex]]' -- check by looking for files in library path
5872 # which responds to the $file_magic_cmd with a given extended regex.
5873 # If you have `file' or equivalent on your system and you're not sure
5874 # whether `pass_all' will *always* work, you probably want this one.
5878 lt_cv_deplibs_check_method=pass_all
5882 lt_cv_deplibs_check_method=pass_all
5886 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5887 lt_cv_file_magic_cmd='/usr/bin/file -L'
5888 lt_cv_file_magic_test_file=/shlib/libc.so
5892 # func_win32_libid is a shell function defined in ltmain.sh
5893 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5894 lt_cv_file_magic_cmd='func_win32_libid'
5898 # Base MSYS/MinGW do not provide the 'file' command needed by
5899 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5900 # unless we find 'file', for example because we are cross-compiling.
5901 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5902 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5904 lt_cv_file_magic_cmd='func_win32_libid'
5906 # Keep this pattern in sync with the one in func_win32_libid.
5907 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5908 lt_cv_file_magic_cmd='$OBJDUMP -f'
5913 # use the weaker test based on 'objdump'. See mingw*.
5914 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5915 lt_cv_file_magic_cmd='$OBJDUMP -f'
5918 darwin* | rhapsody*)
5919 lt_cv_deplibs_check_method=pass_all
5922 freebsd* | dragonfly*)
5923 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5926 # Not sure whether the presence of OpenBSD here was a mistake.
5927 # Let's accept both of them until this is cleared up.
5928 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5929 lt_cv_file_magic_cmd=/usr/bin/file
5930 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5934 lt_cv_deplibs_check_method=pass_all
5939 lt_cv_deplibs_check_method=pass_all
5943 lt_cv_deplibs_check_method=pass_all
5946 hpux10.20* | hpux11*)
5947 lt_cv_file_magic_cmd=/usr/bin/file
5950 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5951 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5954 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]'
5955 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5958 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5959 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5965 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5966 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5969 irix5* | irix6* | nonstopux*)
5971 *-32|*"-32 ") libmagic=32-bit;;
5972 *-n32|*"-n32 ") libmagic=N32;;
5973 *-64|*"-64 ") libmagic=64-bit;;
5974 *) libmagic=never-match;;
5976 lt_cv_deplibs_check_method=pass_all
5979 # This must be Linux ELF.
5980 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5981 lt_cv_deplibs_check_method=pass_all
5985 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5986 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5988 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5993 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5994 lt_cv_file_magic_cmd=/usr/bin/file
5995 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5999 lt_cv_deplibs_check_method=pass_all
6003 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6004 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6006 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6010 osf3* | osf4* | osf5*)
6011 lt_cv_deplibs_check_method=pass_all
6015 lt_cv_deplibs_check_method=pass_all
6019 lt_cv_deplibs_check_method=pass_all
6022 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6023 lt_cv_deplibs_check_method=pass_all
6027 case $host_vendor in
6029 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]'
6030 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6033 lt_cv_deplibs_check_method=pass_all
6036 lt_cv_file_magic_cmd='/bin/file'
6037 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6040 lt_cv_file_magic_cmd='/bin/file'
6041 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6042 lt_cv_file_magic_test_file=/lib/libc.so
6045 lt_cv_deplibs_check_method=pass_all
6048 lt_cv_deplibs_check_method=pass_all
6054 lt_cv_deplibs_check_method=pass_all
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6060 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6064 if test "$build" = "$host"; then
6067 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6070 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6076 file_magic_cmd=$lt_cv_file_magic_cmd
6077 deplibs_check_method=$lt_cv_deplibs_check_method
6078 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_DLLTOOL+:} false; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$DLLTOOL"; then
6110 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6119 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 DLLTOOL=$ac_cv_prog_DLLTOOL
6130 if test -n "$DLLTOOL"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6132 $as_echo "$DLLTOOL" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if test -z "$ac_cv_prog_DLLTOOL"; then
6141 ac_ct_DLLTOOL=$DLLTOOL
6142 # Extract the first word of "dlltool", so it can be a program name with args.
6143 set dummy dlltool; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6147 $as_echo_n "(cached) " >&6
6149 if test -n "$ac_ct_DLLTOOL"; then
6150 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6159 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6170 if test -n "$ac_ct_DLLTOOL"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6172 $as_echo "$ac_ct_DLLTOOL" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6178 if test "x$ac_ct_DLLTOOL" = x; then
6181 case $cross_compiling:$ac_tool_warned in
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6187 DLLTOOL=$ac_ct_DLLTOOL
6190 DLLTOOL="$ac_cv_prog_DLLTOOL"
6193 test -z "$DLLTOOL" && DLLTOOL=dlltool
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6202 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6203 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6204 $as_echo_n "(cached) " >&6
6206 lt_cv_sharedlib_from_linklib_cmd='unknown'
6209 cygwin* | mingw* | pw32* | cegcc*)
6210 # two different shell functions defined in ltmain.sh
6211 # decide which to use based on capabilities of $DLLTOOL
6212 case `$DLLTOOL --help 2>&1` in
6213 *--identify-strict*)
6214 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6217 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6222 # fallback: assume linklib IS sharedlib
6223 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6229 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6230 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6231 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6240 if test -n "$ac_tool_prefix"; then
6243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_prog_AR+:} false; then :
6248 $as_echo_n "(cached) " >&6
6250 if test -n "$AR"; then
6251 ac_cv_prog_AR="$AR" # Let the user override the test.
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6260 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 if test -n "$AR"; then
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6273 $as_echo "$AR" >&6; }
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276 $as_echo "no" >&6; }
6280 test -n "$AR" && break
6283 if test -z "$AR"; then
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290 $as_echo_n "checking for $ac_word... " >&6; }
6291 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6292 $as_echo_n "(cached) " >&6
6294 if test -n "$ac_ct_AR"; then
6295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 test -z "$as_dir" && as_dir=.
6302 for ac_exec_ext in '' $ac_executable_extensions; do
6303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304 ac_cv_prog_ac_ct_AR="$ac_prog"
6305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6315 if test -n "$ac_ct_AR"; then
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6317 $as_echo "$ac_ct_AR" >&6; }
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320 $as_echo "no" >&6; }
6324 test -n "$ac_ct_AR" && break
6327 if test "x$ac_ct_AR" = x; then
6330 case $cross_compiling:$ac_tool_warned in
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6333 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6334 ac_tool_warned=yes ;;
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6354 $as_echo_n "checking for archiver @FILE support... " >&6; }
6355 if ${lt_cv_ar_at_file+:} false; then :
6356 $as_echo_n "(cached) " >&6
6359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360 /* end confdefs.h. */
6370 if ac_fn_c_try_compile "$LINENO"; then :
6371 echo conftest.$ac_objext > conftest.lst
6372 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6373 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6374 (eval $lt_ar_try) 2>&5
6376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6377 test $ac_status = 0; }
6378 if test "$ac_status" -eq 0; then
6379 # Ensure the archiver fails upon bogus file names.
6380 rm -f conftest.$ac_objext libconftest.a
6381 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6382 (eval $lt_ar_try) 2>&5
6384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6385 test $ac_status = 0; }
6386 if test "$ac_status" -ne 0; then
6390 rm -f conftest.* libconftest.a
6393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6397 $as_echo "$lt_cv_ar_at_file" >&6; }
6399 if test "x$lt_cv_ar_at_file" = xno; then
6402 archiver_list_spec=$lt_cv_ar_at_file
6411 if test -n "$ac_tool_prefix"; then
6412 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6413 set dummy ${ac_tool_prefix}strip; ac_word=$2
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6415 $as_echo_n "checking for $ac_word... " >&6; }
6416 if ${ac_cv_prog_STRIP+:} false; then :
6417 $as_echo_n "(cached) " >&6
6419 if test -n "$STRIP"; then
6420 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 test -z "$as_dir" && as_dir=.
6427 for ac_exec_ext in '' $ac_executable_extensions; do
6428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6429 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439 STRIP=$ac_cv_prog_STRIP
6440 if test -n "$STRIP"; then
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6442 $as_echo "$STRIP" >&6; }
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6445 $as_echo "no" >&6; }
6450 if test -z "$ac_cv_prog_STRIP"; then
6452 # Extract the first word of "strip", so it can be a program name with args.
6453 set dummy strip; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6455 $as_echo_n "checking for $ac_word... " >&6; }
6456 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6457 $as_echo_n "(cached) " >&6
6459 if test -n "$ac_ct_STRIP"; then
6460 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_ac_ct_STRIP="strip"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6479 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6480 if test -n "$ac_ct_STRIP"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6482 $as_echo "$ac_ct_STRIP" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6485 $as_echo "no" >&6; }
6488 if test "x$ac_ct_STRIP" = x; then
6491 case $cross_compiling:$ac_tool_warned in
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6495 ac_tool_warned=yes ;;
6500 STRIP="$ac_cv_prog_STRIP"
6503 test -z "$STRIP" && STRIP=:
6510 if test -n "$ac_tool_prefix"; then
6511 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6512 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if ${ac_cv_prog_RANLIB+:} false; then :
6516 $as_echo_n "(cached) " >&6
6518 if test -n "$RANLIB"; then
6519 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6538 RANLIB=$ac_cv_prog_RANLIB
6539 if test -n "$RANLIB"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6541 $as_echo "$RANLIB" >&6; }
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6549 if test -z "$ac_cv_prog_RANLIB"; then
6550 ac_ct_RANLIB=$RANLIB
6551 # Extract the first word of "ranlib", so it can be a program name with args.
6552 set dummy ranlib; ac_word=$2
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6554 $as_echo_n "checking for $ac_word... " >&6; }
6555 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6556 $as_echo_n "(cached) " >&6
6558 if test -n "$ac_ct_RANLIB"; then
6559 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6565 test -z "$as_dir" && as_dir=.
6566 for ac_exec_ext in '' $ac_executable_extensions; do
6567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6568 ac_cv_prog_ac_ct_RANLIB="ranlib"
6569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6579 if test -n "$ac_ct_RANLIB"; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6581 $as_echo "$ac_ct_RANLIB" >&6; }
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6584 $as_echo "no" >&6; }
6587 if test "x$ac_ct_RANLIB" = x; then
6590 case $cross_compiling:$ac_tool_warned in
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6594 ac_tool_warned=yes ;;
6596 RANLIB=$ac_ct_RANLIB
6599 RANLIB="$ac_cv_prog_RANLIB"
6602 test -z "$RANLIB" && RANLIB=:
6609 # Determine commands to create old-style static archives.
6610 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6611 old_postinstall_cmds='chmod 644 $oldlib'
6612 old_postuninstall_cmds=
6614 if test -n "$RANLIB"; then
6617 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6620 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6623 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6628 lock_old_archive_extraction=yes ;;
6630 lock_old_archive_extraction=no ;;
6671 # If no C compiler was specified, use CC.
6674 # If no C compiler flags were specified, use CFLAGS.
6675 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6677 # Allow CC to be a program name with arguments.
6681 # Check for command to grab the raw symbol name followed by C symbol from nm.
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6683 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6684 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6685 $as_echo_n "(cached) " >&6
6688 # These are sane defaults that work on at least a few old systems.
6689 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6691 # Character class describing NM global symbol codes.
6692 symcode='[BCDEGRST]'
6694 # Regexp to match symbols that can be accessed directly from C.
6695 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6697 # Define system-specific variables.
6702 cygwin* | mingw* | pw32* | cegcc*)
6703 symcode='[ABCDGISTW]'
6706 if test "$host_cpu" = ia64; then
6707 symcode='[ABCDEGRST]'
6711 symcode='[BCDEGRST]'
6714 symcode='[BCDEGQRST]'
6725 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6733 # If we're using GNU nm, then use its standard symbol codes.
6734 case `$NM -V 2>&1` in
6735 *GNU* | *'with BFD'*)
6736 symcode='[ABCDGIRSTW]' ;;
6739 # Transform an extracted symbol line into a proper C declaration.
6740 # Some systems (esp. on ia64) link data and code symbols differently,
6741 # so use this general approach.
6742 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6744 # Transform an extracted symbol line into symbol name and symbol address
6745 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6746 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'"
6748 # Handle CRLF in mingw tool chain
6752 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6756 # Try without a prefix underscore, then with it.
6757 for ac_symprfx in "" "_"; do
6759 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6760 symxfrm="\\1 $ac_symprfx\\2 \\2"
6762 # Write the raw and C identifiers.
6763 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6764 # Fake it for dumpbin and say T for any non-static function
6765 # and D for any global variable.
6766 # Also find C++ and __fastcall symbols from MSVC++,
6767 # which start with @ or ?.
6768 lt_cv_sys_global_symbol_pipe="$AWK '"\
6769 " {last_section=section; section=\$ 3};"\
6770 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6771 " \$ 0!~/External *\|/{next};"\
6772 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6773 " {if(hide[section]) next};"\
6774 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6775 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6776 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6777 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6778 " ' prfx=^$ac_symprfx"
6780 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6782 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6784 # Check to see that the pipe works correctly.
6788 cat > conftest.$ac_ext <<_LT_EOF
6793 void nm_test_func(void);
6794 void nm_test_func(void){}
6798 int main(){nm_test_var='a';nm_test_func();return(0);}
6801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6802 (eval $ac_compile) 2>&5
6804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6805 test $ac_status = 0; }; then
6806 # Now try to grab the symbols.
6808 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6809 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6812 test $ac_status = 0; } && test -s "$nlist"; then
6813 # Try sorting and uniquifying the output.
6814 if sort "$nlist" | uniq > "$nlist"T; then
6815 mv -f "$nlist"T "$nlist"
6820 # Make sure that we snagged all the symbols we need.
6821 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6822 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6823 cat <<_LT_EOF > conftest.$ac_ext
6824 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6825 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6826 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6827 relocations are performed -- see ld's documentation on pseudo-relocs. */
6828 # define LT_DLSYM_CONST
6829 #elif defined(__osf__)
6830 /* This system does not cope well with relocations in const data. */
6831 # define LT_DLSYM_CONST
6833 # define LT_DLSYM_CONST const
6841 # Now generate the symbol file.
6842 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6844 cat <<_LT_EOF >> conftest.$ac_ext
6846 /* The mapping between symbol names and symbols. */
6847 LT_DLSYM_CONST struct {
6851 lt__PROGRAM__LTX_preloaded_symbols[] =
6853 { "@PROGRAM@", (void *) 0 },
6855 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6856 cat <<\_LT_EOF >> conftest.$ac_ext
6860 /* This works around a problem in FreeBSD linker */
6861 #ifdef FREEBSD_WORKAROUND
6862 static const void *lt_preloaded_setup() {
6863 return lt__PROGRAM__LTX_preloaded_symbols;
6871 # Now try linking the two files.
6872 mv conftest.$ac_objext conftstm.$ac_objext
6873 lt_globsym_save_LIBS=$LIBS
6874 lt_globsym_save_CFLAGS=$CFLAGS
6875 LIBS="conftstm.$ac_objext"
6876 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6877 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6878 (eval $ac_link) 2>&5
6880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6881 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6884 LIBS=$lt_globsym_save_LIBS
6885 CFLAGS=$lt_globsym_save_CFLAGS
6887 echo "cannot find nm_test_func in $nlist" >&5
6890 echo "cannot find nm_test_var in $nlist" >&5
6893 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6896 echo "$progname: failed program was:" >&5
6897 cat conftest.$ac_ext >&5
6899 rm -rf conftest* conftst*
6901 # Do not use the global_symbol_pipe unless it works.
6902 if test "$pipe_works" = yes; then
6905 lt_cv_sys_global_symbol_pipe=
6911 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6912 lt_cv_sys_global_symbol_to_cdecl=
6914 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6916 $as_echo "failed" >&6; }
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6919 $as_echo "ok" >&6; }
6922 # Response file support.
6923 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6924 nm_file_list_spec='@'
6925 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6926 nm_file_list_spec='@'
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6956 $as_echo_n "checking for sysroot... " >&6; }
6958 # Check whether --with-sysroot was given.
6959 if test "${with_sysroot+set}" = set; then :
6960 withval=$with_sysroot;
6967 case ${with_sysroot} in #(
6969 if test "$GCC" = yes; then
6970 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6974 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6980 $as_echo "${with_sysroot}" >&6; }
6981 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6986 $as_echo "${lt_sysroot:-no}" >&6; }
6992 # Check whether --enable-libtool-lock was given.
6993 if test "${enable_libtool_lock+set}" = set; then :
6994 enableval=$enable_libtool_lock;
6997 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6999 # Some flags need to be propagated to the compiler or linker for good
7003 # Find out which ABI we are using.
7004 echo 'int i;' > conftest.$ac_ext
7005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7006 (eval $ac_compile) 2>&5
7008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7009 test $ac_status = 0; }; then
7010 case `/usr/bin/file conftest.$ac_objext` in
7022 # Find out which ABI we are using.
7023 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7024 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7025 (eval $ac_compile) 2>&5
7027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7028 test $ac_status = 0; }; then
7029 if test "$lt_cv_prog_gnu_ld" = yes; then
7030 case `/usr/bin/file conftest.$ac_objext` in
7032 LD="${LD-ld} -melf32bsmip"
7035 LD="${LD-ld} -melf32bmipn32"
7038 LD="${LD-ld} -melf64bmip"
7042 case `/usr/bin/file conftest.$ac_objext` in
7058 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7059 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7060 # Find out which ABI we are using.
7061 echo 'int i;' > conftest.$ac_ext
7062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7063 (eval $ac_compile) 2>&5
7065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066 test $ac_status = 0; }; then
7067 case `/usr/bin/file conftest.o` in
7070 x86_64-*kfreebsd*-gnu)
7071 LD="${LD-ld} -m elf_i386_fbsd"
7074 LD="${LD-ld} -m elf_i386"
7076 ppc64-*linux*|powerpc64-*linux*)
7077 LD="${LD-ld} -m elf32ppclinux"
7080 LD="${LD-ld} -m elf_s390"
7083 LD="${LD-ld} -m elf32_sparc"
7089 x86_64-*kfreebsd*-gnu)
7090 LD="${LD-ld} -m elf_x86_64_fbsd"
7093 LD="${LD-ld} -m elf_x86_64"
7095 ppc*-*linux*|powerpc*-*linux*)
7096 LD="${LD-ld} -m elf64ppc"
7098 s390*-*linux*|s390*-*tpf*)
7099 LD="${LD-ld} -m elf64_s390"
7102 LD="${LD-ld} -m elf64_sparc"
7112 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7113 SAVE_CFLAGS="$CFLAGS"
7114 CFLAGS="$CFLAGS -belf"
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7116 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7117 if ${lt_cv_cc_needs_belf+:} false; then :
7118 $as_echo_n "(cached) " >&6
7121 ac_cpp='$CPP $CPPFLAGS'
7122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7137 if ac_fn_c_try_link "$LINENO"; then :
7138 lt_cv_cc_needs_belf=yes
7140 lt_cv_cc_needs_belf=no
7142 rm -f core conftest.err conftest.$ac_objext \
7143 conftest$ac_exeext conftest.$ac_ext
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7152 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7153 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7154 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7155 CFLAGS="$SAVE_CFLAGS"
7159 # Find out which ABI we are using.
7160 echo 'int i;' > conftest.$ac_ext
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162 (eval $ac_compile) 2>&5
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; }; then
7166 case `/usr/bin/file conftest.o` in
7168 case $lt_cv_prog_gnu_ld in
7169 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7171 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7183 need_locks="$enable_libtool_lock"
7185 if test -n "$ac_tool_prefix"; then
7186 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7187 set dummy ${ac_tool_prefix}mt; 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_MANIFEST_TOOL+:} false; then :
7191 $as_echo_n "(cached) " >&6
7193 if test -n "$MANIFEST_TOOL"; then
7194 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7203 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7214 if test -n "$MANIFEST_TOOL"; then
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7216 $as_echo "$MANIFEST_TOOL" >&6; }
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219 $as_echo "no" >&6; }
7224 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7225 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7226 # Extract the first word of "mt", so it can be a program name with args.
7227 set dummy mt; 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_MANIFEST_TOOL+:} false; then :
7231 $as_echo_n "(cached) " >&6
7233 if test -n "$ac_ct_MANIFEST_TOOL"; then
7234 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7254 if test -n "$ac_ct_MANIFEST_TOOL"; then
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7256 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259 $as_echo "no" >&6; }
7262 if test "x$ac_ct_MANIFEST_TOOL" = 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 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7274 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7277 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7279 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7280 if ${lt_cv_path_mainfest_tool+:} false; then :
7281 $as_echo_n "(cached) " >&6
7283 lt_cv_path_mainfest_tool=no
7284 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7285 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7286 cat conftest.err >&5
7287 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7288 lt_cv_path_mainfest_tool=yes
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7293 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7294 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7304 rhapsody* | darwin*)
7305 if test -n "$ac_tool_prefix"; then
7306 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7307 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7309 $as_echo_n "checking for $ac_word... " >&6; }
7310 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7311 $as_echo_n "(cached) " >&6
7313 if test -n "$DSYMUTIL"; then
7314 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7320 test -z "$as_dir" && as_dir=.
7321 for ac_exec_ext in '' $ac_executable_extensions; do
7322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7323 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7333 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7334 if test -n "$DSYMUTIL"; then
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7336 $as_echo "$DSYMUTIL" >&6; }
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7339 $as_echo "no" >&6; }
7344 if test -z "$ac_cv_prog_DSYMUTIL"; then
7345 ac_ct_DSYMUTIL=$DSYMUTIL
7346 # Extract the first word of "dsymutil", so it can be a program name with args.
7347 set dummy dsymutil; ac_word=$2
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7349 $as_echo_n "checking for $ac_word... " >&6; }
7350 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7351 $as_echo_n "(cached) " >&6
7353 if test -n "$ac_ct_DSYMUTIL"; then
7354 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7360 test -z "$as_dir" && as_dir=.
7361 for ac_exec_ext in '' $ac_executable_extensions; do
7362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7363 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7373 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7374 if test -n "$ac_ct_DSYMUTIL"; then
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7376 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7379 $as_echo "no" >&6; }
7382 if test "x$ac_ct_DSYMUTIL" = x; then
7385 case $cross_compiling:$ac_tool_warned in
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7389 ac_tool_warned=yes ;;
7391 DSYMUTIL=$ac_ct_DSYMUTIL
7394 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7397 if test -n "$ac_tool_prefix"; then
7398 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7399 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 $as_echo_n "checking for $ac_word... " >&6; }
7402 if ${ac_cv_prog_NMEDIT+:} false; then :
7403 $as_echo_n "(cached) " >&6
7405 if test -n "$NMEDIT"; then
7406 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7412 test -z "$as_dir" && as_dir=.
7413 for ac_exec_ext in '' $ac_executable_extensions; do
7414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7415 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 NMEDIT=$ac_cv_prog_NMEDIT
7426 if test -n "$NMEDIT"; then
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7428 $as_echo "$NMEDIT" >&6; }
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7436 if test -z "$ac_cv_prog_NMEDIT"; then
7437 ac_ct_NMEDIT=$NMEDIT
7438 # Extract the first word of "nmedit", so it can be a program name with args.
7439 set dummy nmedit; ac_word=$2
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7441 $as_echo_n "checking for $ac_word... " >&6; }
7442 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7443 $as_echo_n "(cached) " >&6
7445 if test -n "$ac_ct_NMEDIT"; then
7446 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7452 test -z "$as_dir" && as_dir=.
7453 for ac_exec_ext in '' $ac_executable_extensions; do
7454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7455 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7465 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7466 if test -n "$ac_ct_NMEDIT"; then
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7468 $as_echo "$ac_ct_NMEDIT" >&6; }
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7471 $as_echo "no" >&6; }
7474 if test "x$ac_ct_NMEDIT" = x; then
7477 case $cross_compiling:$ac_tool_warned in
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7481 ac_tool_warned=yes ;;
7483 NMEDIT=$ac_ct_NMEDIT
7486 NMEDIT="$ac_cv_prog_NMEDIT"
7489 if test -n "$ac_tool_prefix"; then
7490 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_LIPO+:} false; then :
7495 $as_echo_n "(cached) " >&6
7497 if test -n "$LIPO"; then
7498 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517 LIPO=$ac_cv_prog_LIPO
7518 if test -n "$LIPO"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7520 $as_echo "$LIPO" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7528 if test -z "$ac_cv_prog_LIPO"; then
7530 # Extract the first word of "lipo", so it can be a program name with args.
7531 set dummy lipo; ac_word=$2
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7533 $as_echo_n "checking for $ac_word... " >&6; }
7534 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7535 $as_echo_n "(cached) " >&6
7537 if test -n "$ac_ct_LIPO"; then
7538 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_ac_ct_LIPO="lipo"
7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7558 if test -n "$ac_ct_LIPO"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7560 $as_echo "$ac_ct_LIPO" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7566 if test "x$ac_ct_LIPO" = x; then
7569 case $cross_compiling:$ac_tool_warned in
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7573 ac_tool_warned=yes ;;
7578 LIPO="$ac_cv_prog_LIPO"
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}otool; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_OTOOL+:} false; then :
7587 $as_echo_n "(cached) " >&6
7589 if test -n "$OTOOL"; then
7590 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 OTOOL=$ac_cv_prog_OTOOL
7610 if test -n "$OTOOL"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7612 $as_echo "$OTOOL" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7620 if test -z "$ac_cv_prog_OTOOL"; then
7622 # Extract the first word of "otool", so it can be a program name with args.
7623 set dummy otool; ac_word=$2
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7625 $as_echo_n "checking for $ac_word... " >&6; }
7626 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7627 $as_echo_n "(cached) " >&6
7629 if test -n "$ac_ct_OTOOL"; then
7630 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_ac_ct_OTOOL="otool"
7640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7649 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7650 if test -n "$ac_ct_OTOOL"; then
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7652 $as_echo "$ac_ct_OTOOL" >&6; }
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7655 $as_echo "no" >&6; }
7658 if test "x$ac_ct_OTOOL" = x; then
7661 case $cross_compiling:$ac_tool_warned in
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7665 ac_tool_warned=yes ;;
7670 OTOOL="$ac_cv_prog_OTOOL"
7673 if test -n "$ac_tool_prefix"; then
7674 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7675 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if ${ac_cv_prog_OTOOL64+:} false; then :
7679 $as_echo_n "(cached) " >&6
7681 if test -n "$OTOOL64"; then
7682 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 test -z "$as_dir" && as_dir=.
7689 for ac_exec_ext in '' $ac_executable_extensions; do
7690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7691 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 OTOOL64=$ac_cv_prog_OTOOL64
7702 if test -n "$OTOOL64"; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7704 $as_echo "$OTOOL64" >&6; }
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7712 if test -z "$ac_cv_prog_OTOOL64"; then
7713 ac_ct_OTOOL64=$OTOOL64
7714 # Extract the first word of "otool64", so it can be a program name with args.
7715 set dummy otool64; ac_word=$2
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7717 $as_echo_n "checking for $ac_word... " >&6; }
7718 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7719 $as_echo_n "(cached) " >&6
7721 if test -n "$ac_ct_OTOOL64"; then
7722 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 ac_cv_prog_ac_ct_OTOOL64="otool64"
7732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7741 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7742 if test -n "$ac_ct_OTOOL64"; then
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7744 $as_echo "$ac_ct_OTOOL64" >&6; }
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7747 $as_echo "no" >&6; }
7750 if test "x$ac_ct_OTOOL64" = x; then
7753 case $cross_compiling:$ac_tool_warned in
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7757 ac_tool_warned=yes ;;
7759 OTOOL64=$ac_ct_OTOOL64
7762 OTOOL64="$ac_cv_prog_OTOOL64"
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7792 $as_echo_n "checking for -single_module linker flag... " >&6; }
7793 if ${lt_cv_apple_cc_single_mod+:} false; then :
7794 $as_echo_n "(cached) " >&6
7796 lt_cv_apple_cc_single_mod=no
7797 if test -z "${LT_MULTI_MODULE}"; then
7798 # By default we will add the -single_module flag. You can override
7799 # by either setting the environment variable LT_MULTI_MODULE
7800 # non-empty at configure time, or by adding -multi_module to the
7802 rm -rf libconftest.dylib*
7803 echo "int foo(void){return 1;}" > conftest.c
7804 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7805 -dynamiclib -Wl,-single_module conftest.c" >&5
7806 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7807 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7809 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7810 lt_cv_apple_cc_single_mod=yes
7812 cat conftest.err >&5
7814 rm -rf libconftest.dylib*
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7819 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7821 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7822 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7823 $as_echo_n "(cached) " >&6
7825 lt_cv_ld_exported_symbols_list=no
7826 save_LDFLAGS=$LDFLAGS
7827 echo "_main" > conftest.sym
7828 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7830 /* end confdefs.h. */
7840 if ac_fn_c_try_link "$LINENO"; then :
7841 lt_cv_ld_exported_symbols_list=yes
7843 lt_cv_ld_exported_symbols_list=no
7845 rm -f core conftest.err conftest.$ac_objext \
7846 conftest$ac_exeext conftest.$ac_ext
7847 LDFLAGS="$save_LDFLAGS"
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7851 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7853 $as_echo_n "checking for -force_load linker flag... " >&6; }
7854 if ${lt_cv_ld_force_load+:} false; then :
7855 $as_echo_n "(cached) " >&6
7857 lt_cv_ld_force_load=no
7858 cat > conftest.c << _LT_EOF
7859 int forced_loaded() { return 2;}
7861 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7862 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7863 echo "$AR cru libconftest.a conftest.o" >&5
7864 $AR cru libconftest.a conftest.o 2>&5
7865 echo "$RANLIB libconftest.a" >&5
7866 $RANLIB libconftest.a 2>&5
7867 cat > conftest.c << _LT_EOF
7868 int main() { return 0;}
7870 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7871 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7873 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7874 lt_cv_ld_force_load=yes
7876 cat conftest.err >&5
7878 rm -f conftest.err libconftest.a conftest conftest.c
7879 rm -rf conftest.dSYM
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7883 $as_echo "$lt_cv_ld_force_load" >&6; }
7885 rhapsody* | darwin1.[012])
7886 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7888 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7889 darwin*) # darwin 5.x on
7890 # if running on 10.5 or later, the deployment target defaults
7891 # to the OS version, if on x86, and 10.4, the deployment
7892 # target defaults to 10.4. Don't you love it?
7893 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7894 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7895 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7897 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7899 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7903 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7904 _lt_dar_single_mod='$single_module'
7906 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7907 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7909 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7911 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7912 _lt_dsymutil='~$DSYMUTIL $lib || :'
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7921 $as_echo_n "checking for ANSI C header files... " >&6; }
7922 if ${ac_cv_header_stdc+:} false; then :
7923 $as_echo_n "(cached) " >&6
7925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7926 /* end confdefs.h. */
7940 if ac_fn_c_try_compile "$LINENO"; then :
7941 ac_cv_header_stdc=yes
7943 ac_cv_header_stdc=no
7945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7947 if test $ac_cv_header_stdc = yes; then
7948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7950 /* end confdefs.h. */
7954 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7955 $EGREP "memchr" >/dev/null 2>&1; then :
7958 ac_cv_header_stdc=no
7964 if test $ac_cv_header_stdc = yes; then
7965 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7967 /* end confdefs.h. */
7971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7972 $EGREP "free" >/dev/null 2>&1; then :
7975 ac_cv_header_stdc=no
7981 if test $ac_cv_header_stdc = yes; then
7982 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7983 if test "$cross_compiling" = yes; then :
7986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7987 /* end confdefs.h. */
7990 #if ((' ' & 0x0FF) == 0x020)
7991 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7992 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7994 # define ISLOWER(c) \
7995 (('a' <= (c) && (c) <= 'i') \
7996 || ('j' <= (c) && (c) <= 'r') \
7997 || ('s' <= (c) && (c) <= 'z'))
7998 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8001 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8006 for (i = 0; i < 256; i++)
8007 if (XOR (islower (i), ISLOWER (i))
8008 || toupper (i) != TOUPPER (i))
8013 if ac_fn_c_try_run "$LINENO"; then :
8016 ac_cv_header_stdc=no
8018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8019 conftest.$ac_objext conftest.beam conftest.$ac_ext
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8025 $as_echo "$ac_cv_header_stdc" >&6; }
8026 if test $ac_cv_header_stdc = yes; then
8028 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8032 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8033 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8034 inttypes.h stdint.h unistd.h
8036 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8037 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8039 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8040 cat >>confdefs.h <<_ACEOF
8041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8049 for ac_header in dlfcn.h
8051 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8053 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8054 cat >>confdefs.h <<_ACEOF
8055 #define HAVE_DLFCN_H 1
8074 # Check whether --enable-shared was given.
8075 if test "${enable_shared+set}" = set; then :
8076 enableval=$enable_shared; p=${PACKAGE-default}
8078 yes) enable_shared=yes ;;
8079 no) enable_shared=no ;;
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8086 if test "X$pkg" = "X$p"; then
8105 # Check whether --enable-static was given.
8106 if test "${enable_static+set}" = set; then :
8107 enableval=$enable_static; p=${PACKAGE-default}
8109 yes) enable_static=yes ;;
8110 no) enable_static=no ;;
8113 # Look at the argument we got. We use all the common list separators.
8114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115 for pkg in $enableval; do
8117 if test "X$pkg" = "X$p"; then
8137 # Check whether --with-pic was given.
8138 if test "${with_pic+set}" = set; then :
8139 withval=$with_pic; pic_mode="$withval"
8145 test -z "$pic_mode" && pic_mode=default
8153 # Check whether --enable-fast-install was given.
8154 if test "${enable_fast_install+set}" = set; then :
8155 enableval=$enable_fast_install; p=${PACKAGE-default}
8157 yes) enable_fast_install=yes ;;
8158 no) enable_fast_install=no ;;
8160 enable_fast_install=no
8161 # Look at the argument we got. We use all the common list separators.
8162 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8163 for pkg in $enableval; do
8165 if test "X$pkg" = "X$p"; then
8166 enable_fast_install=yes
8173 enable_fast_install=yes
8186 # This can be used to rebuild libtool when needed
8187 LIBTOOL_DEPS="$ltmain"
8189 # Always use our own libtool.
8190 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8217 test -z "$LN_S" && LN_S="ln -s"
8232 if test -n "${ZSH_VERSION+set}" ; then
8233 setopt NO_GLOB_SUBST
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8237 $as_echo_n "checking for objdir... " >&6; }
8238 if ${lt_cv_objdir+:} false; then :
8239 $as_echo_n "(cached) " >&6
8241 rm -f .libs 2>/dev/null
8242 mkdir .libs 2>/dev/null
8243 if test -d .libs; then
8246 # MS-DOS does not allow filenames that begin with a dot.
8249 rmdir .libs 2>/dev/null
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8252 $as_echo "$lt_cv_objdir" >&6; }
8253 objdir=$lt_cv_objdir
8259 cat >>confdefs.h <<_ACEOF
8260 #define LT_OBJDIR "$lt_cv_objdir/"
8268 # AIX sometimes has problems with the GCC collect2 program. For some
8269 # reason, if we set the COLLECT_NAMES environment variable, the problems
8270 # vanish in a puff of smoke.
8271 if test "X${COLLECT_NAMES+set}" != Xset; then
8273 export COLLECT_NAMES
8280 can_build_shared=yes
8282 # All known linkers require a `.a' archive for static linking (except MSVC,
8283 # which needs '.lib').
8286 with_gnu_ld="$lt_cv_prog_gnu_ld"
8289 old_CFLAGS="$CFLAGS"
8291 # Set sane defaults for various variables
8292 test -z "$CC" && CC=cc
8293 test -z "$LTCC" && LTCC=$CC
8294 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8295 test -z "$LD" && LD=ld
8296 test -z "$ac_objext" && ac_objext=o
8298 for cc_temp in $compiler""; do
8300 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8301 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8306 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8309 # Only perform the check for file, if the check method requires it
8310 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8311 case $deplibs_check_method in
8313 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8315 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8316 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8317 $as_echo_n "(cached) " >&6
8321 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8324 lt_save_MAGIC_CMD="$MAGIC_CMD"
8325 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8326 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8327 for ac_dir in $ac_dummy; do
8329 test -z "$ac_dir" && ac_dir=.
8330 if test -f $ac_dir/${ac_tool_prefix}file; then
8331 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8332 if test -n "$file_magic_test_file"; then
8333 case $deplibs_check_method in
8335 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8336 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8337 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8338 $EGREP "$file_magic_regex" > /dev/null; then
8343 *** Warning: the command libtool uses to detect shared libraries,
8344 *** $file_magic_cmd, produces output that libtool cannot recognize.
8345 *** The result is that libtool may fail to recognize shared libraries
8346 *** as such. This will affect the creation of libtool libraries that
8347 *** depend on shared libraries, but programs linked with such libtool
8348 *** libraries will work regardless of this problem. Nevertheless, you
8349 *** may want to report the problem to your system manager and/or to
8350 *** bug-libtool@gnu.org
8360 MAGIC_CMD="$lt_save_MAGIC_CMD"
8365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8366 if test -n "$MAGIC_CMD"; then
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8368 $as_echo "$MAGIC_CMD" >&6; }
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8371 $as_echo "no" >&6; }
8378 if test -z "$lt_cv_path_MAGIC_CMD"; then
8379 if test -n "$ac_tool_prefix"; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8381 $as_echo_n "checking for file... " >&6; }
8382 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8383 $as_echo_n "(cached) " >&6
8387 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8390 lt_save_MAGIC_CMD="$MAGIC_CMD"
8391 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8392 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8393 for ac_dir in $ac_dummy; do
8395 test -z "$ac_dir" && ac_dir=.
8396 if test -f $ac_dir/file; then
8397 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8398 if test -n "$file_magic_test_file"; then
8399 case $deplibs_check_method in
8401 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8402 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8403 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8404 $EGREP "$file_magic_regex" > /dev/null; then
8409 *** Warning: the command libtool uses to detect shared libraries,
8410 *** $file_magic_cmd, produces output that libtool cannot recognize.
8411 *** The result is that libtool may fail to recognize shared libraries
8412 *** as such. This will affect the creation of libtool libraries that
8413 *** depend on shared libraries, but programs linked with such libtool
8414 *** libraries will work regardless of this problem. Nevertheless, you
8415 *** may want to report the problem to your system manager and/or to
8416 *** bug-libtool@gnu.org
8426 MAGIC_CMD="$lt_save_MAGIC_CMD"
8431 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8432 if test -n "$MAGIC_CMD"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8434 $as_echo "$MAGIC_CMD" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8437 $as_echo "no" >&6; }
8450 # Use C for the default configuration in the libtool script
8454 ac_cpp='$CPP $CPPFLAGS'
8455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8460 # Source file extension for C test sources.
8463 # Object file extension for compiled C test sources.
8467 # Code to be used in simple compile tests
8468 lt_simple_compile_test_code="int some_variable = 0;"
8470 # Code to be used in simple link tests
8471 lt_simple_link_test_code='int main(){return(0);}'
8479 # If no C compiler was specified, use CC.
8482 # If no C compiler flags were specified, use CFLAGS.
8483 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8485 # Allow CC to be a program name with arguments.
8488 # Save the default compiler, since it gets overwritten when the other
8489 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8490 compiler_DEFAULT=$CC
8492 # save warnings/boilerplate of simple test code
8493 ac_outfile=conftest.$ac_objext
8494 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8495 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8496 _lt_compiler_boilerplate=`cat conftest.err`
8499 ac_outfile=conftest.$ac_objext
8500 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8501 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8502 _lt_linker_boilerplate=`cat conftest.err`
8507 ## There is no encapsulation within the following macros, do not change
8508 ## the running order or otherwise move them around unless you know exactly
8509 ## what you are doing...
8510 if test -n "$compiler"; then
8512 lt_prog_compiler_no_builtin_flag=
8514 if test "$GCC" = yes; then
8515 case $cc_basename in
8517 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8519 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8523 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8524 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8525 $as_echo_n "(cached) " >&6
8527 lt_cv_prog_compiler_rtti_exceptions=no
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8530 lt_compiler_flag="-fno-rtti -fno-exceptions"
8531 # Insert the option either (1) after the last *FLAGS variable, or
8532 # (2) before a word containing "conftest.", or (3) at the end.
8533 # Note that $ac_compile itself does not contain backslashes and begins
8534 # with a dollar sign (not a hyphen), so the echo should work correctly.
8535 # The option is referenced via a variable to avoid confusing sed.
8536 lt_compile=`echo "$ac_compile" | $SED \
8537 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8538 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8539 -e 's:$: $lt_compiler_flag:'`
8540 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8541 (eval "$lt_compile" 2>conftest.err)
8543 cat conftest.err >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 if (exit $ac_status) && test -s "$ac_outfile"; then
8546 # The compiler can only warn and ignore the option if not recognized
8547 # So say no if there are warnings other than the usual output.
8548 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8549 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8550 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8551 lt_cv_prog_compiler_rtti_exceptions=yes
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8558 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8560 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8561 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8573 lt_prog_compiler_wl=
8574 lt_prog_compiler_pic=
8575 lt_prog_compiler_static=
8578 if test "$GCC" = yes; then
8579 lt_prog_compiler_wl='-Wl,'
8580 lt_prog_compiler_static='-static'
8584 # All AIX code is PIC.
8585 if test "$host_cpu" = ia64; then
8586 # AIX 5 now supports IA64 processor
8587 lt_prog_compiler_static='-Bstatic'
8594 # see comment about AmigaOS4 .so support
8595 lt_prog_compiler_pic='-fPIC'
8598 # FIXME: we need at least 68020 code to build shared libraries, but
8599 # adding the `-m68020' flag to GCC prevents building anything better,
8601 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8606 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8607 # PIC is the default for these OSes.
8610 mingw* | cygwin* | pw32* | os2* | cegcc*)
8611 # This hack is so that the source file can tell whether it is being
8612 # built for inclusion in a dll (and should export symbols for example).
8613 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8614 # (--disable-auto-import) libraries
8615 lt_prog_compiler_pic='-DDLL_EXPORT'
8618 darwin* | rhapsody*)
8619 # PIC is the default on this platform
8620 # Common symbols not allowed in MH_DYLIB files
8621 lt_prog_compiler_pic='-fno-common'
8625 # PIC is the default for Haiku.
8626 # The "-static" flag exists, but is broken.
8627 lt_prog_compiler_static=
8631 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8632 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8633 # sets the default TLS model and affects inlining.
8639 lt_prog_compiler_pic='-fPIC'
8645 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8646 # Instead, we relocate shared libraries at runtime.
8650 # Just because we use GCC doesn't mean we suddenly get shared libraries
8651 # on systems that don't support them.
8652 lt_prog_compiler_can_build_shared=no
8657 # QNX uses GNU C++, but need to define -shared option too, otherwise
8659 lt_prog_compiler_pic='-fPIC -shared'
8663 if test -d /usr/nec; then
8664 lt_prog_compiler_pic=-Kconform_pic
8669 lt_prog_compiler_pic='-fPIC'
8673 case $cc_basename in
8674 nvcc*) # Cuda Compiler Driver 2.2
8675 lt_prog_compiler_wl='-Xlinker '
8676 lt_prog_compiler_pic='-Xcompiler -fPIC'
8680 # PORTME Check for flag to pass linker flags through the system compiler.
8683 lt_prog_compiler_wl='-Wl,'
8684 if test "$host_cpu" = ia64; then
8685 # AIX 5 now supports IA64 processor
8686 lt_prog_compiler_static='-Bstatic'
8688 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8692 mingw* | cygwin* | pw32* | os2* | cegcc*)
8693 # This hack is so that the source file can tell whether it is being
8694 # built for inclusion in a dll (and should export symbols for example).
8695 lt_prog_compiler_pic='-DDLL_EXPORT'
8698 hpux9* | hpux10* | hpux11*)
8699 lt_prog_compiler_wl='-Wl,'
8700 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8707 lt_prog_compiler_pic='+Z'
8710 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8711 lt_prog_compiler_static='${wl}-a ${wl}archive'
8714 irix5* | irix6* | nonstopux*)
8715 lt_prog_compiler_wl='-Wl,'
8716 # PIC (with -KPIC) is the default.
8717 lt_prog_compiler_static='-non_shared'
8720 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8721 case $cc_basename in
8722 # old Intel for x86_64 which still supported -KPIC.
8724 lt_prog_compiler_wl='-Wl,'
8725 lt_prog_compiler_pic='-KPIC'
8726 lt_prog_compiler_static='-static'
8728 # icc used to be incompatible with GCC.
8729 # ICC 10 doesn't accept -KPIC any more.
8731 lt_prog_compiler_wl='-Wl,'
8732 lt_prog_compiler_pic='-fPIC'
8733 lt_prog_compiler_static='-static'
8735 # Lahey Fortran 8.1.
8737 lt_prog_compiler_wl='-Wl,'
8738 lt_prog_compiler_pic='--shared'
8739 lt_prog_compiler_static='--static'
8742 # NAG Fortran compiler
8743 lt_prog_compiler_wl='-Wl,-Wl,,'
8744 lt_prog_compiler_pic='-PIC'
8745 lt_prog_compiler_static='-Bstatic'
8747 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8748 # Portland Group compilers (*not* the Pentium gcc compiler,
8749 # which looks to be a dead project)
8750 lt_prog_compiler_wl='-Wl,'
8751 lt_prog_compiler_pic='-fpic'
8752 lt_prog_compiler_static='-Bstatic'
8755 lt_prog_compiler_wl='-Wl,'
8756 # All Alpha code is PIC.
8757 lt_prog_compiler_static='-non_shared'
8759 xl* | bgxl* | bgf* | mpixl*)
8760 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-qpic'
8763 lt_prog_compiler_static='-qstaticlink'
8766 case `$CC -V 2>&1 | sed 5q` in
8767 *Sun\ F* | *Sun*Fortran*)
8768 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8769 lt_prog_compiler_pic='-KPIC'
8770 lt_prog_compiler_static='-Bstatic'
8771 lt_prog_compiler_wl=''
8775 lt_prog_compiler_pic='-KPIC'
8776 lt_prog_compiler_static='-Bstatic'
8777 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8790 # QNX uses GNU C++, but need to define -shared option too, otherwise
8792 lt_prog_compiler_pic='-fPIC -shared'
8795 osf3* | osf4* | osf5*)
8796 lt_prog_compiler_wl='-Wl,'
8797 # All OSF/1 code is PIC.
8798 lt_prog_compiler_static='-non_shared'
8802 lt_prog_compiler_static='-non_shared'
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 case $cc_basename in
8809 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8810 lt_prog_compiler_wl='-Qoption ld ';;
8812 lt_prog_compiler_wl='-Wl,';;
8817 lt_prog_compiler_wl='-Qoption ld '
8818 lt_prog_compiler_pic='-PIC'
8819 lt_prog_compiler_static='-Bstatic'
8822 sysv4 | sysv4.2uw2* | sysv4.3*)
8823 lt_prog_compiler_wl='-Wl,'
8824 lt_prog_compiler_pic='-KPIC'
8825 lt_prog_compiler_static='-Bstatic'
8829 if test -d /usr/nec ;then
8830 lt_prog_compiler_pic='-Kconform_pic'
8831 lt_prog_compiler_static='-Bstatic'
8835 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8836 lt_prog_compiler_wl='-Wl,'
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8842 lt_prog_compiler_wl='-Wl,'
8843 lt_prog_compiler_can_build_shared=no
8847 lt_prog_compiler_pic='-pic'
8848 lt_prog_compiler_static='-Bstatic'
8852 lt_prog_compiler_can_build_shared=no
8858 # For platforms which do not support PIC, -DPIC is meaningless:
8860 lt_prog_compiler_pic=
8863 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8868 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8869 if ${lt_cv_prog_compiler_pic+:} false; then :
8870 $as_echo_n "(cached) " >&6
8872 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8876 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8879 # Check to make sure the PIC flag actually works.
8881 if test -n "$lt_prog_compiler_pic"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8883 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8884 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8885 $as_echo_n "(cached) " >&6
8887 lt_cv_prog_compiler_pic_works=no
8888 ac_outfile=conftest.$ac_objext
8889 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8890 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8891 # Insert the option either (1) after the last *FLAGS variable, or
8892 # (2) before a word containing "conftest.", or (3) at the end.
8893 # Note that $ac_compile itself does not contain backslashes and begins
8894 # with a dollar sign (not a hyphen), so the echo should work correctly.
8895 # The option is referenced via a variable to avoid confusing sed.
8896 lt_compile=`echo "$ac_compile" | $SED \
8897 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8898 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8899 -e 's:$: $lt_compiler_flag:'`
8900 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8901 (eval "$lt_compile" 2>conftest.err)
8903 cat conftest.err >&5
8904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8905 if (exit $ac_status) && test -s "$ac_outfile"; then
8906 # The compiler can only warn and ignore the option if not recognized
8907 # So say no if there are warnings other than the usual output.
8908 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8909 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8910 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8911 lt_cv_prog_compiler_pic_works=yes
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8918 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8920 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8921 case $lt_prog_compiler_pic in
8923 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8926 lt_prog_compiler_pic=
8927 lt_prog_compiler_can_build_shared=no
8943 # Check to make sure the static flag actually works.
8945 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8947 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8948 if ${lt_cv_prog_compiler_static_works+:} false; then :
8949 $as_echo_n "(cached) " >&6
8951 lt_cv_prog_compiler_static_works=no
8952 save_LDFLAGS="$LDFLAGS"
8953 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8954 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8955 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8956 # The linker can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 if test -s conftest.err; then
8959 # Append any errors to the config.log.
8960 cat conftest.err 1>&5
8961 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8962 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8963 if diff conftest.exp conftest.er2 >/dev/null; then
8964 lt_cv_prog_compiler_static_works=yes
8967 lt_cv_prog_compiler_static_works=yes
8971 LDFLAGS="$save_LDFLAGS"
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8975 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8977 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8980 lt_prog_compiler_static=
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8990 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8991 if ${lt_cv_prog_compiler_c_o+:} false; then :
8992 $as_echo_n "(cached) " >&6
8994 lt_cv_prog_compiler_c_o=no
8995 $RM -r conftest 2>/dev/null
8999 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9001 lt_compiler_flag="-o out/conftest2.$ac_objext"
9002 # Insert the option either (1) after the last *FLAGS variable, or
9003 # (2) before a word containing "conftest.", or (3) at the end.
9004 # Note that $ac_compile itself does not contain backslashes and begins
9005 # with a dollar sign (not a hyphen), so the echo should work correctly.
9006 lt_compile=`echo "$ac_compile" | $SED \
9007 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9008 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9009 -e 's:$: $lt_compiler_flag:'`
9010 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9011 (eval "$lt_compile" 2>out/conftest.err)
9013 cat out/conftest.err >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9017 # The compiler can only warn and ignore the option if not recognized
9018 # So say no if there are warnings
9019 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9020 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9021 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9022 lt_cv_prog_compiler_c_o=yes
9027 # SGI C++ compiler will create directory out/ii_files/ for
9028 # template instantiation
9029 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9030 $RM out/* && rmdir out
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9037 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9045 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9046 if ${lt_cv_prog_compiler_c_o+:} false; then :
9047 $as_echo_n "(cached) " >&6
9049 lt_cv_prog_compiler_c_o=no
9050 $RM -r conftest 2>/dev/null
9054 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9056 lt_compiler_flag="-o out/conftest2.$ac_objext"
9057 # Insert the option either (1) after the last *FLAGS variable, or
9058 # (2) before a word containing "conftest.", or (3) at the end.
9059 # Note that $ac_compile itself does not contain backslashes and begins
9060 # with a dollar sign (not a hyphen), so the echo should work correctly.
9061 lt_compile=`echo "$ac_compile" | $SED \
9062 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9063 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9064 -e 's:$: $lt_compiler_flag:'`
9065 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9066 (eval "$lt_compile" 2>out/conftest.err)
9068 cat out/conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9072 # The compiler can only warn and ignore the option if not recognized
9073 # So say no if there are warnings
9074 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9075 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9076 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9077 lt_cv_prog_compiler_c_o=yes
9082 # SGI C++ compiler will create directory out/ii_files/ for
9083 # template instantiation
9084 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9085 $RM out/* && rmdir out
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9092 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9097 hard_links="nottested"
9098 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9099 # do not overwrite the value of need_locks provided by the user
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9101 $as_echo_n "checking if we can lock with hard links... " >&6; }
9104 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9106 ln conftest.a conftest.b 2>&5 || hard_links=no
9107 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9109 $as_echo "$hard_links" >&6; }
9110 if test "$hard_links" = no; then
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9112 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9125 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9128 allow_undefined_flag=
9129 always_export_symbols=no
9131 archive_expsym_cmds=
9132 compiler_needs_object=no
9133 enable_shared_with_static_runtimes=no
9134 export_dynamic_flag_spec=
9135 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9136 hardcode_automatic=no
9138 hardcode_direct_absolute=no
9139 hardcode_libdir_flag_spec=
9140 hardcode_libdir_flag_spec_ld=
9141 hardcode_libdir_separator=
9143 hardcode_shlibpath_var=unsupported
9145 link_all_deplibs=unknown
9148 old_archive_from_new_cmds=
9149 old_archive_from_expsyms_cmds=
9150 thread_safe_flag_spec=
9151 whole_archive_flag_spec=
9152 # include_expsyms should be a list of space-separated symbols to be *always*
9153 # included in the symbol list
9155 # exclude_expsyms can be an extended regexp of symbols to exclude
9156 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9157 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9158 # as well as any symbol that contains `d'.
9159 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9160 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9161 # platforms (ab)use it in PIC code, but their linkers get confused if
9162 # the symbol is explicitly referenced. Since portable code cannot
9163 # rely on this symbol name, it's probably fine to never include it in
9164 # preloaded symbol tables.
9165 # Exclude shared library initialization/finalization symbols.
9166 extract_expsyms_cmds=
9169 cygwin* | mingw* | pw32* | cegcc*)
9170 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9171 # When not using gcc, we currently assume that we are using
9172 # Microsoft Visual C++.
9173 if test "$GCC" != yes; then
9178 # we just hope/assume this is gcc and not c89 (= MSVC++)
9188 # On some targets, GNU ld is compatible enough with the native linker
9189 # that we're better off using the native interface for both.
9190 lt_use_gnu_ld_interface=no
9191 if test "$with_gnu_ld" = yes; then
9194 # The AIX port of GNU ld has always aspired to compatibility
9195 # with the native linker. However, as the warning in the GNU ld
9196 # block says, versions before 2.19.5* couldn't really create working
9197 # shared libraries, regardless of the interface used.
9198 case `$LD -v 2>&1` in
9199 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9200 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9201 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9203 lt_use_gnu_ld_interface=yes
9208 lt_use_gnu_ld_interface=yes
9213 if test "$lt_use_gnu_ld_interface" = yes; then
9214 # If archive_cmds runs LD, not CC, wlarc should be empty
9217 # Set some defaults for GNU ld with shared library support. These
9218 # are reset later if shared libraries are not supported. Putting them
9219 # here allows them to be overridden if necessary.
9220 runpath_var=LD_RUN_PATH
9221 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9222 export_dynamic_flag_spec='${wl}--export-dynamic'
9223 # ancient GNU ld didn't support --whole-archive et. al.
9224 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9225 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9227 whole_archive_flag_spec=
9229 supports_anon_versioning=no
9230 case `$LD -v 2>&1` in
9231 *GNU\ gold*) supports_anon_versioning=yes ;;
9232 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9233 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9234 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9235 *\ 2.11.*) ;; # other 2.11 versions
9236 *) supports_anon_versioning=yes ;;
9239 # See if GNU ld supports shared libraries.
9242 # On AIX/PPC, the GNU linker is very broken
9243 if test "$host_cpu" != ia64; then
9247 *** Warning: the GNU linker, at least up to release 2.19, is reported
9248 *** to be unable to reliably create shared libraries on AIX.
9249 *** Therefore, libtool is disabling shared libraries support. If you
9250 *** really care for shared libraries, you may want to install binutils
9251 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9252 *** You will then need to restart the configuration process.
9261 # see comment about AmigaOS4 .so support
9262 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263 archive_expsym_cmds=''
9266 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)'
9267 hardcode_libdir_flag_spec='-L$libdir'
9268 hardcode_minus_L=yes
9274 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9275 allow_undefined_flag=unsupported
9276 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9277 # support --undefined. This deserves some investigation. FIXME
9278 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9284 cygwin* | mingw* | pw32* | cegcc*)
9285 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9286 # as there is no search path for DLLs.
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 export_dynamic_flag_spec='${wl}--export-all-symbols'
9289 allow_undefined_flag=unsupported
9290 always_export_symbols=no
9291 enable_shared_with_static_runtimes=yes
9292 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'
9293 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9295 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9296 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9297 # If the export-symbols file already is a .def file (1st line
9298 # is EXPORTS), use it as is; otherwise, prepend...
9299 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9300 cp $export_symbols $output_objdir/$soname.def;
9302 echo EXPORTS > $output_objdir/$soname.def;
9303 cat $export_symbols >> $output_objdir/$soname.def;
9305 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9312 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9313 link_all_deplibs=yes
9318 hardcode_shlibpath_var=no
9319 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9320 export_dynamic_flag_spec='${wl}-E'
9321 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9322 # Instead, shared libraries are loaded at an image base (0x10000000 by
9323 # default) and relocated if they conflict, which is a slow very memory
9324 # consuming and fragmenting process. To avoid this, we pick a random,
9325 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9326 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9327 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9328 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'
9331 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9333 if test "$host_os" = linux-dietlibc; then
9334 case $cc_basename in
9335 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9338 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9339 && test "$tmp_diet" = no
9341 tmp_addflag=' $pic_flag'
9342 tmp_sharedflag='-shared'
9343 case $cc_basename,$host_cpu in
9344 pgcc*) # Portland Group C compiler
9345 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'
9346 tmp_addflag=' $pic_flag'
9348 pgf77* | pgf90* | pgf95* | pgfortran*)
9349 # Portland Group f77 and f90 compilers
9350 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'
9351 tmp_addflag=' $pic_flag -Mnomain' ;;
9352 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9353 tmp_addflag=' -i_dynamic' ;;
9354 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9355 tmp_addflag=' -i_dynamic -nofor_main' ;;
9356 ifc* | ifort*) # Intel Fortran compiler
9357 tmp_addflag=' -nofor_main' ;;
9358 lf95*) # Lahey Fortran 8.1
9359 whole_archive_flag_spec=
9360 tmp_sharedflag='--shared' ;;
9361 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9362 tmp_sharedflag='-qmkshrobj'
9364 nvcc*) # Cuda Compiler Driver 2.2
9365 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'
9366 compiler_needs_object=yes
9369 case `$CC -V 2>&1 | sed 5q` in
9370 *Sun\ C*) # Sun C 5.9
9371 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'
9372 compiler_needs_object=yes
9373 tmp_sharedflag='-G' ;;
9374 *Sun\ F*) # Sun Fortran 8.3
9375 tmp_sharedflag='-G' ;;
9377 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9379 if test "x$supports_anon_versioning" = xyes; then
9380 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9381 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9382 echo "local: *; };" >> $output_objdir/$libname.ver~
9383 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9386 case $cc_basename in
9387 xlf* | bgf* | bgxlf* | mpixlf*)
9388 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9389 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9390 hardcode_libdir_flag_spec=
9391 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9392 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9393 if test "x$supports_anon_versioning" = xyes; then
9394 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9395 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9396 echo "local: *; };" >> $output_objdir/$libname.ver~
9397 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9407 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9408 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9411 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9412 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9421 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9422 *** create shared libraries on Solaris systems. Therefore, libtool
9423 *** is disabling shared libraries support. We urge you to upgrade GNU
9424 *** binutils to release 2.9.1 or newer. Another option is to modify
9425 *** your PATH or compiler configuration so that the native linker is
9426 *** used, and then restart.
9429 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9430 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9438 case `$LD -v 2>&1` in
9439 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9443 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9444 *** reliably create shared libraries on SCO systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9453 # For security reasons, it is highly recommended that you always
9454 # use absolute paths for naming shared libraries, and exclude the
9455 # DT_RUNPATH tag from executables and libraries. But doing so
9456 # requires that you compile everything twice, which is a pain.
9457 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9458 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9459 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9460 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9469 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9472 hardcode_shlibpath_var=no
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9478 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9485 if test "$ld_shlibs" = no; then
9487 hardcode_libdir_flag_spec=
9488 export_dynamic_flag_spec=
9489 whole_archive_flag_spec=
9492 # PORTME fill in a description of your system's linker (not GNU ld)
9495 allow_undefined_flag=unsupported
9496 always_export_symbols=yes
9497 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'
9498 # Note: this linker hardcodes the directories in LIBPATH if there
9499 # are no directories specified by -L.
9500 hardcode_minus_L=yes
9501 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9502 # Neither direct hardcoding nor static linking is supported with a
9504 hardcode_direct=unsupported
9509 if test "$host_cpu" = ia64; then
9510 # On IA64, the linker does run time linking by default, so we don't
9511 # have to do anything special.
9512 aix_use_runtimelinking=no
9513 exp_sym_flag='-Bexport'
9516 # If we're using GNU nm, then we don't want the "-C" option.
9517 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9518 # Also, AIX nm treats weak defined symbols like other global
9519 # defined symbols, whereas GNU nm marks them as "W".
9520 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9521 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'
9523 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'
9525 aix_use_runtimelinking=no
9527 # Test if we are trying to use run time linking or normal
9528 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9529 # need to do runtime linking.
9530 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9531 for ld_flag in $LDFLAGS; do
9532 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9533 aix_use_runtimelinking=yes
9540 exp_sym_flag='-bexport'
9541 no_entry_flag='-bnoentry'
9544 # When large executables or shared objects are built, AIX ld can
9545 # have problems creating the table of contents. If linking a library
9546 # or program results in "error TOC overflow" add -mminimal-toc to
9547 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9548 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9552 hardcode_direct_absolute=yes
9553 hardcode_libdir_separator=':'
9554 link_all_deplibs=yes
9555 file_list_spec='${wl}-f,'
9557 if test "$GCC" = yes; then
9558 case $host_os in aix4.[012]|aix4.[012].*)
9559 # We only want to do this on AIX 4.2 and lower, the check
9560 # below for broken collect2 doesn't work under 4.3+
9561 collect2name=`${CC} -print-prog-name=collect2`
9562 if test -f "$collect2name" &&
9563 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9565 # We have reworked collect2
9568 # We have old collect2
9569 hardcode_direct=unsupported
9570 # It fails to find uninstalled libraries when the uninstalled
9571 # path is not listed in the libpath. Setting hardcode_minus_L
9572 # to unsupported forces relinking
9573 hardcode_minus_L=yes
9574 hardcode_libdir_flag_spec='-L$libdir'
9575 hardcode_libdir_separator=
9579 shared_flag='-shared'
9580 if test "$aix_use_runtimelinking" = yes; then
9581 shared_flag="$shared_flag "'${wl}-G'
9585 if test "$host_cpu" = ia64; then
9586 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9587 # chokes on -Wl,-G. The following line is correct:
9590 if test "$aix_use_runtimelinking" = yes; then
9591 shared_flag='${wl}-G'
9593 shared_flag='${wl}-bM:SRE'
9598 export_dynamic_flag_spec='${wl}-bexpall'
9599 # It seems that -bexpall does not export symbols beginning with
9600 # underscore (_), so it is better to generate a list of symbols to export.
9601 always_export_symbols=yes
9602 if test "$aix_use_runtimelinking" = yes; then
9603 # Warning - without using the other runtime loading flags (-brtl),
9604 # -berok will link without error, but may produce a broken library.
9605 allow_undefined_flag='-berok'
9606 # Determine the default libpath from the value encoded in an
9608 if test "${lt_cv_aix_libpath+set}" = set; then
9609 aix_libpath=$lt_cv_aix_libpath
9611 if ${lt_cv_aix_libpath_+:} false; then :
9612 $as_echo_n "(cached) " >&6
9614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9615 /* end confdefs.h. */
9625 if ac_fn_c_try_link "$LINENO"; then :
9627 lt_aix_libpath_sed='
9628 /Import File Strings/,/^$/ {
9630 s/^0 *\([^ ]*\) *$/\1/
9634 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9635 # Check for a 64-bit object if we didn't find anything.
9636 if test -z "$lt_cv_aix_libpath_"; then
9637 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 if test -z "$lt_cv_aix_libpath_"; then
9643 lt_cv_aix_libpath_="/usr/lib:/lib"
9648 aix_libpath=$lt_cv_aix_libpath_
9651 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9652 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"
9654 if test "$host_cpu" = ia64; then
9655 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9656 allow_undefined_flag="-z nodefs"
9657 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"
9659 # Determine the default libpath from the value encoded in an
9661 if test "${lt_cv_aix_libpath+set}" = set; then
9662 aix_libpath=$lt_cv_aix_libpath
9664 if ${lt_cv_aix_libpath_+:} false; then :
9665 $as_echo_n "(cached) " >&6
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9678 if ac_fn_c_try_link "$LINENO"; then :
9680 lt_aix_libpath_sed='
9681 /Import File Strings/,/^$/ {
9683 s/^0 *\([^ ]*\) *$/\1/
9687 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9688 # Check for a 64-bit object if we didn't find anything.
9689 if test -z "$lt_cv_aix_libpath_"; then
9690 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9693 rm -f core conftest.err conftest.$ac_objext \
9694 conftest$ac_exeext conftest.$ac_ext
9695 if test -z "$lt_cv_aix_libpath_"; then
9696 lt_cv_aix_libpath_="/usr/lib:/lib"
9701 aix_libpath=$lt_cv_aix_libpath_
9704 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9705 # Warning - without using the other run time loading flags,
9706 # -berok will link without error, but may produce a broken library.
9707 no_undefined_flag=' ${wl}-bernotok'
9708 allow_undefined_flag=' ${wl}-berok'
9709 if test "$with_gnu_ld" = yes; then
9710 # We only use this code for GNU lds that support --whole-archive.
9711 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 # Exported symbols can be pulled into shared objects from archives
9714 whole_archive_flag_spec='$convenience'
9716 archive_cmds_need_lc=yes
9717 # This is similar to how AIX traditionally builds its shared libraries.
9718 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'
9726 # see comment about AmigaOS4 .so support
9727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9728 archive_expsym_cmds=''
9731 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)'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_minus_L=yes
9739 export_dynamic_flag_spec=-rdynamic
9742 cygwin* | mingw* | pw32* | cegcc*)
9743 # When not using gcc, we currently assume that we are using
9744 # Microsoft Visual C++.
9745 # hardcode_libdir_flag_spec is actually meaningless, as there is
9746 # no search path for DLLs.
9747 case $cc_basename in
9750 hardcode_libdir_flag_spec=' '
9751 allow_undefined_flag=unsupported
9752 always_export_symbols=yes
9754 # Tell ltmain to make .lib files, not .a files.
9756 # Tell ltmain to make .dll files, not .so files.
9758 # FIXME: Setting linknames here is a bad hack.
9759 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9760 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9761 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9763 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9765 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9767 # The linker will not automatically build a static lib if we build a DLL.
9768 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9769 enable_shared_with_static_runtimes=yes
9770 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9772 old_postinstall_cmds='chmod 644 $oldlib'
9773 postlink_cmds='lt_outputfile="@OUTPUT@"~
9774 lt_tool_outputfile="@TOOL_OUTPUT@"~
9775 case $lt_outputfile in
9778 lt_outputfile="$lt_outputfile.exe"
9779 lt_tool_outputfile="$lt_tool_outputfile.exe"
9782 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9783 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9784 $RM "$lt_outputfile.manifest";
9788 # Assume MSVC wrapper
9789 hardcode_libdir_flag_spec=' '
9790 allow_undefined_flag=unsupported
9791 # Tell ltmain to make .lib files, not .a files.
9793 # Tell ltmain to make .dll files, not .so files.
9795 # FIXME: Setting linknames here is a bad hack.
9796 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9797 # The linker will automatically build a .lib file if we build a DLL.
9798 old_archive_from_new_cmds='true'
9799 # FIXME: Should let the user specify the lib program.
9800 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9801 enable_shared_with_static_runtimes=yes
9806 darwin* | rhapsody*)
9809 archive_cmds_need_lc=no
9811 hardcode_automatic=yes
9812 hardcode_shlibpath_var=unsupported
9813 if test "$lt_cv_ld_force_load" = "yes"; then
9814 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\"`'
9816 whole_archive_flag_spec=''
9818 link_all_deplibs=yes
9819 allow_undefined_flag="$_lt_dar_allow_undefined"
9820 case $cc_basename in
9821 ifort*) _lt_dar_can_shared=yes ;;
9822 *) _lt_dar_can_shared=$GCC ;;
9824 if test "$_lt_dar_can_shared" = "yes"; then
9825 output_verbose_link_cmd=func_echo_all
9826 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9827 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9828 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}"
9829 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}"
9838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839 hardcode_libdir_flag_spec='-L$libdir'
9840 hardcode_shlibpath_var=no
9847 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9848 # support. Future versions do this automatically, but an explicit c++rt0.o
9849 # does not break anything, and helps significantly (at the cost of a little
9852 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9853 hardcode_libdir_flag_spec='-R$libdir'
9855 hardcode_shlibpath_var=no
9858 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9860 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9862 hardcode_minus_L=yes
9863 hardcode_shlibpath_var=no
9866 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9867 freebsd* | dragonfly*)
9868 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9869 hardcode_libdir_flag_spec='-R$libdir'
9871 hardcode_shlibpath_var=no
9875 if test "$GCC" = yes; then
9876 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'
9878 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'
9880 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9881 hardcode_libdir_separator=:
9884 # hardcode_minus_L: Not really in the search PATH,
9885 # but as the default location of the library.
9886 hardcode_minus_L=yes
9887 export_dynamic_flag_spec='${wl}-E'
9891 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9892 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9894 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9896 if test "$with_gnu_ld" = no; then
9897 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9898 hardcode_libdir_flag_spec_ld='+b $libdir'
9899 hardcode_libdir_separator=:
9901 hardcode_direct_absolute=yes
9902 export_dynamic_flag_spec='${wl}-E'
9903 # hardcode_minus_L: Not really in the search PATH,
9904 # but as the default location of the library.
9905 hardcode_minus_L=yes
9910 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9913 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9919 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9932 # Older versions of the 11.00 compiler do not understand -b yet
9933 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9935 $as_echo_n "checking if $CC understands -b... " >&6; }
9936 if ${lt_cv_prog_compiler__b+:} false; then :
9937 $as_echo_n "(cached) " >&6
9939 lt_cv_prog_compiler__b=no
9940 save_LDFLAGS="$LDFLAGS"
9941 LDFLAGS="$LDFLAGS -b"
9942 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9943 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9944 # The linker can only warn and ignore the option if not recognized
9945 # So say no if there are warnings
9946 if test -s conftest.err; then
9947 # Append any errors to the config.log.
9948 cat conftest.err 1>&5
9949 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9950 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9951 if diff conftest.exp conftest.er2 >/dev/null; then
9952 lt_cv_prog_compiler__b=yes
9955 lt_cv_prog_compiler__b=yes
9959 LDFLAGS="$save_LDFLAGS"
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9963 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9965 if test x"$lt_cv_prog_compiler__b" = xyes; then
9966 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9974 if test "$with_gnu_ld" = no; then
9975 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9976 hardcode_libdir_separator=:
9981 hardcode_shlibpath_var=no
9985 hardcode_direct_absolute=yes
9986 export_dynamic_flag_spec='${wl}-E'
9988 # hardcode_minus_L: Not really in the search PATH,
9989 # but as the default location of the library.
9990 hardcode_minus_L=yes
9996 irix5* | irix6* | nonstopux*)
9997 if test "$GCC" = yes; then
9998 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'
9999 # Try to use the -exported_symbol ld option, if it does not
10000 # work, assume that -exports_file does not work either and
10001 # implicitly export all symbols.
10002 # This should be the same for all languages, so no per-tag cache variable.
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10004 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10005 if ${lt_cv_irix_exported_symbol+:} false; then :
10006 $as_echo_n "(cached) " >&6
10008 save_LDFLAGS="$LDFLAGS"
10009 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10011 /* end confdefs.h. */
10012 int foo (void) { return 0; }
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 lt_cv_irix_exported_symbol=yes
10017 lt_cv_irix_exported_symbol=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LDFLAGS="$save_LDFLAGS"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10024 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10025 if test "$lt_cv_irix_exported_symbol" = yes; then
10026 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'
10029 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'
10030 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'
10032 archive_cmds_need_lc='no'
10033 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10034 hardcode_libdir_separator=:
10036 link_all_deplibs=yes
10040 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10043 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10045 hardcode_libdir_flag_spec='-R$libdir'
10046 hardcode_direct=yes
10047 hardcode_shlibpath_var=no
10051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 hardcode_direct=yes
10053 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10054 hardcode_libdir_separator=:
10055 hardcode_shlibpath_var=no
10062 if test -f /usr/libexec/ld.so; then
10063 hardcode_direct=yes
10064 hardcode_shlibpath_var=no
10065 hardcode_direct_absolute=yes
10066 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10067 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10069 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10070 export_dynamic_flag_spec='${wl}-E'
10073 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10074 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_libdir_flag_spec='-R$libdir'
10078 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10079 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10089 hardcode_libdir_flag_spec='-L$libdir'
10090 hardcode_minus_L=yes
10091 allow_undefined_flag=unsupported
10092 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'
10093 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10097 if test "$GCC" = yes; then
10098 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10099 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'
10101 allow_undefined_flag=' -expect_unresolved \*'
10102 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'
10104 archive_cmds_need_lc='no'
10105 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10106 hardcode_libdir_separator=:
10109 osf4* | osf5*) # as osf3* with the addition of -msym flag
10110 if test "$GCC" = yes; then
10111 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10112 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'
10113 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10115 allow_undefined_flag=' -expect_unresolved \*'
10116 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'
10117 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~
10118 $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'
10120 # Both c and cxx compiler support -rpath directly
10121 hardcode_libdir_flag_spec='-rpath $libdir'
10123 archive_cmds_need_lc='no'
10124 hardcode_libdir_separator=:
10128 no_undefined_flag=' -z defs'
10129 if test "$GCC" = yes; then
10131 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10133 $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'
10135 case `$CC -V 2>&1` in
10138 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10139 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10140 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10144 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10145 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10146 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10150 hardcode_libdir_flag_spec='-R$libdir'
10151 hardcode_shlibpath_var=no
10153 solaris2.[0-5] | solaris2.[0-5].*) ;;
10155 # The compiler driver will combine and reorder linker options,
10156 # but understands `-z linker_flag'. GCC discards it without `$wl',
10157 # but is careful enough not to reorder.
10158 # Supported since Solaris 2.6 (maybe 2.5.1?)
10159 if test "$GCC" = yes; then
10160 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10162 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10166 link_all_deplibs=yes
10170 if test "x$host_vendor" = xsequent; then
10171 # Use $CC to link under sequent, because it throws in some extra .o
10172 # files that make .init and .fini sections work.
10173 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10175 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10177 hardcode_libdir_flag_spec='-L$libdir'
10178 hardcode_direct=yes
10179 hardcode_minus_L=yes
10180 hardcode_shlibpath_var=no
10184 case $host_vendor in
10186 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10187 hardcode_direct=yes # is this really true???
10190 ## LD is ld it makes a PLAMLIB
10191 ## CC just makes a GrossModule.
10192 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10193 reload_cmds='$CC -r -o $output$reload_objs'
10197 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10198 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10201 runpath_var='LD_RUN_PATH'
10202 hardcode_shlibpath_var=no
10206 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10207 hardcode_shlibpath_var=no
10208 export_dynamic_flag_spec='-Bexport'
10212 if test -d /usr/nec; then
10213 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10214 hardcode_shlibpath_var=no
10215 runpath_var=LD_RUN_PATH
10216 hardcode_runpath_var=yes
10221 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10222 no_undefined_flag='${wl}-z,text'
10223 archive_cmds_need_lc=no
10224 hardcode_shlibpath_var=no
10225 runpath_var='LD_RUN_PATH'
10227 if test "$GCC" = yes; then
10228 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10229 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10231 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236 sysv5* | sco3.2v5* | sco5v6*)
10237 # Note: We can NOT use -z defs as we might desire, because we do not
10238 # link with -lc, and that would cause any symbols used from libc to
10239 # always be unresolved, which means just about no library would
10240 # ever link correctly. If we're not using GNU ld we use -z text
10241 # though, which does catch some bad symbols but isn't as heavy-handed
10243 no_undefined_flag='${wl}-z,text'
10244 allow_undefined_flag='${wl}-z,nodefs'
10245 archive_cmds_need_lc=no
10246 hardcode_shlibpath_var=no
10247 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10248 hardcode_libdir_separator=':'
10249 link_all_deplibs=yes
10250 export_dynamic_flag_spec='${wl}-Bexport'
10251 runpath_var='LD_RUN_PATH'
10253 if test "$GCC" = yes; then
10254 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10255 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10257 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10264 hardcode_libdir_flag_spec='-L$libdir'
10265 hardcode_shlibpath_var=no
10273 if test x$host_vendor = xsni; then
10275 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10276 export_dynamic_flag_spec='${wl}-Blargedynsym'
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10283 $as_echo "$ld_shlibs" >&6; }
10284 test "$ld_shlibs" = no && can_build_shared=no
10286 with_gnu_ld=$with_gnu_ld
10303 # Do we need to explicitly link libc?
10305 case "x$archive_cmds_need_lc" in
10307 # Assume -lc should be added
10308 archive_cmds_need_lc=yes
10310 if test "$enable_shared" = yes && test "$GCC" = yes; then
10311 case $archive_cmds in
10313 # FIXME: we may have to deal with multi-command sequences.
10316 # Test whether the compiler implicitly links with -lc since on some
10317 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10318 # to ld, don't add -lc before -lgcc.
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10320 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10321 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10322 $as_echo_n "(cached) " >&6
10325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10327 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10328 (eval $ac_compile) 2>&5
10330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10331 test $ac_status = 0; } 2>conftest.err; then
10334 libobjs=conftest.$ac_objext
10336 wl=$lt_prog_compiler_wl
10337 pic_flag=$lt_prog_compiler_pic
10343 lt_save_allow_undefined_flag=$allow_undefined_flag
10344 allow_undefined_flag=
10345 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10346 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10349 test $ac_status = 0; }
10351 lt_cv_archive_cmds_need_lc=no
10353 lt_cv_archive_cmds_need_lc=yes
10355 allow_undefined_flag=$lt_save_allow_undefined_flag
10357 cat conftest.err 1>&5
10362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10363 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10364 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10528 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10530 if test "$GCC" = yes; then
10532 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10533 *) lt_awk_arg="/^libraries:/" ;;
10536 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10537 *) lt_sed_strip_eq="s,=/,/,g" ;;
10539 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10540 case $lt_search_path_spec in
10542 # if the path contains ";" then we assume it to be the separator
10543 # otherwise default to the standard path separator (i.e. ":") - it is
10544 # assumed that no part of a normal pathname contains ";" but that should
10545 # okay in the real world where ";" in dirpaths is itself problematic.
10546 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10549 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10552 # Ok, now we have the path, separated by spaces, we can step through it
10553 # and add multilib dir if necessary.
10554 lt_tmp_lt_search_path_spec=
10555 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10556 for lt_sys_path in $lt_search_path_spec; do
10557 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10558 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10560 test -d "$lt_sys_path" && \
10561 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10564 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10565 BEGIN {RS=" "; FS="/|\n";} {
10568 for (lt_i = NF; lt_i > 0; lt_i--) {
10569 if ($lt_i != "" && $lt_i != ".") {
10570 if ($lt_i == "..") {
10573 if (lt_count == 0) {
10574 lt_foo="/" $lt_i lt_foo;
10581 if (lt_foo != "") { lt_freq[lt_foo]++; }
10582 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10584 # AWK program above erroneously prepends '/' to C:/dos/paths
10587 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10588 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10590 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10592 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10594 library_names_spec=
10595 libname_spec='lib$name'
10599 postuninstall_cmds=
10603 shlibpath_overrides_runpath=unknown
10605 dynamic_linker="$host_os ld.so"
10606 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10607 need_lib_prefix=unknown
10608 hardcode_into_libs=no
10610 # when you set need_version to no, make sure it does not cause -set_version
10611 # flags to be left without arguments
10612 need_version=unknown
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10618 shlibpath_var=LIBPATH
10620 # AIX 3 has no versioning support, so we append a major version to the name.
10621 soname_spec='${libname}${release}${shared_ext}$major'
10628 hardcode_into_libs=yes
10629 if test "$host_cpu" = ia64; then
10630 # AIX 5 supports IA64
10631 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10632 shlibpath_var=LD_LIBRARY_PATH
10634 # With GCC up to 2.95.x, collect2 would create an import file
10635 # for dependence libraries. The import file would start with
10636 # the line `#! .'. This would cause the generated library to
10637 # depend on `.', always an invalid library. This was fixed in
10638 # development snapshots of GCC prior to 3.0.
10640 aix4 | aix4.[01] | aix4.[01].*)
10641 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10643 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10646 can_build_shared=no
10650 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10651 # soname into executable. Probably we can add versioning support to
10652 # collect2, so additional links can be useful in future.
10653 if test "$aix_use_runtimelinking" = yes; then
10654 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10655 # instead of lib<name>.a to let people know that these are not
10656 # typical AIX shared libraries.
10657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659 # We preserve .a as extension for shared libraries through AIX4.2
10660 # and later when we are not doing run time linking.
10661 library_names_spec='${libname}${release}.a $libname.a'
10662 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LIBPATH
10671 # Since July 2007 AmigaOS4 officially supports .so libraries.
10672 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 library_names_spec='$libname.ixlibrary $libname.a'
10677 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10678 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'
10684 library_names_spec='${libname}${shared_ext}'
10685 dynamic_linker="$host_os ld.so"
10686 shlibpath_var=LIBRARY_PATH
10692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693 soname_spec='${libname}${release}${shared_ext}$major'
10694 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10695 shlibpath_var=LD_LIBRARY_PATH
10696 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10697 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10698 # the default ld.so.conf also contains /usr/contrib/lib and
10699 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10700 # libtool to hard-code these into programs
10703 cygwin* | mingw* | pw32* | cegcc*)
10704 version_type=windows
10709 case $GCC,$cc_basename in
10712 library_names_spec='$libname.dll.a'
10713 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10714 postinstall_cmds='base_file=`basename \${file}`~
10715 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10716 dldir=$destdir/`dirname \$dlpath`~
10717 test -d \$dldir || mkdir -p \$dldir~
10718 $install_prog $dir/$dlname \$dldir/$dlname~
10719 chmod a+x \$dldir/$dlname~
10720 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10721 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10723 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10724 dlpath=$dir/\$dldll~
10726 shlibpath_overrides_runpath=yes
10730 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10731 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10733 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10736 # MinGW DLLs use traditional 'lib' prefix
10737 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10740 # pw32 DLLs use 'pw' prefix rather than 'lib'
10741 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10744 dynamic_linker='Win32 ld.exe'
10749 libname_spec='$name'
10750 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10751 library_names_spec='${libname}.dll.lib'
10755 sys_lib_search_path_spec=
10758 for lt_path in $LIB
10761 # Let DOS variable expansion print the short 8.3 style file name.
10762 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10763 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10766 # Convert to MSYS style.
10767 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10770 # Convert to unix form, then to dos form, then back to unix form
10771 # but this time dos style (no spaces!) so that the unix form looks
10772 # like /cygdrive/c/PROGRA~1:/cygdr...
10773 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10774 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10775 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10778 sys_lib_search_path_spec="$LIB"
10779 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10780 # It is most probably a Windows format PATH.
10781 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10783 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10785 # FIXME: find the short name or the path components, as spaces are
10786 # common. (e.g. "Program Files" -> "PROGRA~1")
10790 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10791 postinstall_cmds='base_file=`basename \${file}`~
10792 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10793 dldir=$destdir/`dirname \$dlpath`~
10794 test -d \$dldir || mkdir -p \$dldir~
10795 $install_prog $dir/$dlname \$dldir/$dlname'
10796 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10797 dlpath=$dir/\$dldll~
10799 shlibpath_overrides_runpath=yes
10800 dynamic_linker='Win32 link.exe'
10804 # Assume MSVC wrapper
10805 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10806 dynamic_linker='Win32 ld.exe'
10809 # FIXME: first we should search . and the directory the executable is in
10813 darwin* | rhapsody*)
10814 dynamic_linker="$host_os dyld"
10815 version_type=darwin
10818 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10819 soname_spec='${libname}${release}${major}$shared_ext'
10820 shlibpath_overrides_runpath=yes
10821 shlibpath_var=DYLD_LIBRARY_PATH
10822 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10824 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10825 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 shlibpath_var=LD_LIBRARY_PATH
10841 freebsd* | dragonfly*)
10842 # DragonFly does not have aout. When/if they implement a new
10843 # versioning mechanism, adjust this.
10844 if test -x /usr/bin/objformat; then
10845 objformat=`/usr/bin/objformat`
10848 freebsd[123]*) objformat=aout ;;
10849 *) objformat=elf ;;
10852 version_type=freebsd-$objformat
10853 case $version_type in
10855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10864 shlibpath_var=LD_LIBRARY_PATH
10867 shlibpath_overrides_runpath=yes
10869 freebsd3.[01]* | freebsdelf3.[01]*)
10870 shlibpath_overrides_runpath=yes
10871 hardcode_into_libs=yes
10873 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10874 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10875 shlibpath_overrides_runpath=no
10876 hardcode_into_libs=yes
10878 *) # from 4.6 on, and DragonFly
10879 shlibpath_overrides_runpath=yes
10880 hardcode_into_libs=yes
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 hardcode_into_libs=yes
10899 dynamic_linker="$host_os runtime_loader"
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 shlibpath_var=LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10905 hardcode_into_libs=yes
10908 hpux9* | hpux10* | hpux11*)
10909 # Give a soname corresponding to the major version so that dld.sl refuses to
10910 # link against other versions.
10917 hardcode_into_libs=yes
10918 dynamic_linker="$host_os dld.so"
10919 shlibpath_var=LD_LIBRARY_PATH
10920 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 if test "X$HPUX_IA64_MODE" = X32; then
10924 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10926 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10928 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10932 hardcode_into_libs=yes
10933 dynamic_linker="$host_os dld.sl"
10934 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10935 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10937 soname_spec='${libname}${release}${shared_ext}$major'
10938 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10939 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10943 dynamic_linker="$host_os dld.sl"
10944 shlibpath_var=SHLIB_PATH
10945 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947 soname_spec='${libname}${release}${shared_ext}$major'
10950 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10951 postinstall_cmds='chmod 555 $lib'
10952 # or fails outright, so override atomically:
10953 install_override_mode=555
10960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10961 soname_spec='${libname}${release}${shared_ext}$major'
10962 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10963 shlibpath_var=LD_LIBRARY_PATH
10964 shlibpath_overrides_runpath=no
10965 hardcode_into_libs=yes
10968 irix5* | irix6* | nonstopux*)
10970 nonstopux*) version_type=nonstopux ;;
10972 if test "$lt_cv_prog_gnu_ld" = yes; then
10980 soname_spec='${libname}${release}${shared_ext}$major'
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10983 irix5* | nonstopux*)
10984 libsuff= shlibsuff=
10987 case $LD in # libtool.m4 will add one of these switches to LD
10988 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10989 libsuff= shlibsuff= libmagic=32-bit;;
10990 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10991 libsuff=32 shlibsuff=N32 libmagic=N32;;
10992 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10993 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10994 *) libsuff= shlibsuff= libmagic=never-match;;
10998 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10999 shlibpath_overrides_runpath=no
11000 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11001 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11002 hardcode_into_libs=yes
11005 # No shared lib support for Linux oldld, aout, or coff.
11006 linux*oldld* | linux*aout* | linux*coff*)
11010 # This must be Linux ELF.
11011 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11018 shlibpath_var=LD_LIBRARY_PATH
11019 shlibpath_overrides_runpath=no
11021 # Some binutils ld are patched to set DT_RUNPATH
11022 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11023 $as_echo_n "(cached) " >&6
11025 lt_cv_shlibpath_overrides_runpath=no
11026 save_LDFLAGS=$LDFLAGS
11027 save_libdir=$libdir
11028 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11029 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11043 lt_cv_shlibpath_overrides_runpath=yes
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LDFLAGS=$save_LDFLAGS
11049 libdir=$save_libdir
11053 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11055 # This implies no fast_install, which is unacceptable.
11056 # Some rework will be needed to allow for fast_install
11057 # before this can be enabled.
11058 hardcode_into_libs=yes
11060 # Add ABI-specific directories to the system library path.
11061 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11063 # Append ld.so.conf contents to the search path
11064 if test -f /etc/ld.so.conf; then
11065 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' ' '`
11066 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11070 # We used to test for /lib/ld.so.1 and disable shared libraries on
11071 # powerpc, because MkLinux only supported shared libraries with the
11072 # GNU dynamic linker. Since this was broken with cross compilers,
11073 # most powerpc-linux boxes support dynamic linking these days and
11074 # people can always --disable-shared, the test was removed, and we
11075 # assume the GNU/Linux dynamic linker is in use.
11076 dynamic_linker='GNU/Linux ld.so'
11083 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11085 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11086 dynamic_linker='NetBSD (a.out) ld.so'
11088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11089 soname_spec='${libname}${release}${shared_ext}$major'
11090 dynamic_linker='NetBSD ld.elf_so'
11092 shlibpath_var=LD_LIBRARY_PATH
11093 shlibpath_overrides_runpath=yes
11094 hardcode_into_libs=yes
11099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 shlibpath_var=LD_LIBRARY_PATH
11101 shlibpath_overrides_runpath=yes
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=no
11112 hardcode_into_libs=yes
11113 dynamic_linker='ldqnx.so'
11118 sys_lib_dlsearch_path_spec="/usr/lib"
11120 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11122 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11123 *) need_version=no ;;
11125 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11126 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11127 shlibpath_var=LD_LIBRARY_PATH
11128 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11130 openbsd2.[89] | openbsd2.[89].*)
11131 shlibpath_overrides_runpath=no
11134 shlibpath_overrides_runpath=yes
11138 shlibpath_overrides_runpath=yes
11143 libname_spec='$name'
11146 library_names_spec='$libname${shared_ext} $libname.a'
11147 dynamic_linker='OS/2 ld.exe'
11148 shlibpath_var=LIBPATH
11151 osf3* | osf4* | osf5*)
11155 soname_spec='${libname}${release}${shared_ext}$major'
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 shlibpath_var=LD_LIBRARY_PATH
11158 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11159 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 soname_spec='${libname}${release}${shared_ext}$major'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 shlibpath_overrides_runpath=yes
11174 hardcode_into_libs=yes
11175 # ldd complains unless libraries are executable
11176 postinstall_cmds='chmod +x $lib'
11181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11182 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11183 shlibpath_var=LD_LIBRARY_PATH
11184 shlibpath_overrides_runpath=yes
11185 if test "$with_gnu_ld" = yes; then
11193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194 soname_spec='${libname}${release}${shared_ext}$major'
11195 shlibpath_var=LD_LIBRARY_PATH
11196 case $host_vendor in
11198 shlibpath_overrides_runpath=no
11200 runpath_var=LD_RUN_PATH
11208 shlibpath_overrides_runpath=no
11209 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11215 if test -d /usr/nec ;then
11217 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11218 soname_spec='$libname${shared_ext}.$major'
11219 shlibpath_var=LD_LIBRARY_PATH
11223 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11224 version_type=freebsd-elf
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11228 soname_spec='${libname}${release}${shared_ext}$major'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 shlibpath_overrides_runpath=yes
11231 hardcode_into_libs=yes
11232 if test "$with_gnu_ld" = yes; then
11233 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11235 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11238 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11242 sys_lib_dlsearch_path_spec='/usr/lib'
11246 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251 shlibpath_var=LD_LIBRARY_PATH
11252 shlibpath_overrides_runpath=no
11253 hardcode_into_libs=yes
11258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11259 soname_spec='${libname}${release}${shared_ext}$major'
11260 shlibpath_var=LD_LIBRARY_PATH
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11268 $as_echo "$dynamic_linker" >&6; }
11269 test "$dynamic_linker" = no && can_build_shared=no
11271 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11272 if test "$GCC" = yes; then
11273 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11276 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11277 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11279 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11280 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11375 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11377 if test -n "$hardcode_libdir_flag_spec" ||
11378 test -n "$runpath_var" ||
11379 test "X$hardcode_automatic" = "Xyes" ; then
11381 # We can hardcode non-existent directories.
11382 if test "$hardcode_direct" != no &&
11383 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11384 # have to relink, otherwise we might link with an installed library
11385 # when we should be linking with a yet-to-be-installed one
11386 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11387 test "$hardcode_minus_L" != no; then
11388 # Linking always hardcodes the temporary library directory.
11389 hardcode_action=relink
11391 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11392 hardcode_action=immediate
11395 # We cannot hardcode anything, or else we can only hardcode existing
11397 hardcode_action=unsupported
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11400 $as_echo "$hardcode_action" >&6; }
11402 if test "$hardcode_action" = relink ||
11403 test "$inherit_rpath" = yes; then
11404 # Fast installation is not supported
11405 enable_fast_install=no
11406 elif test "$shlibpath_overrides_runpath" = yes ||
11407 test "$enable_shared" = no; then
11408 # Fast installation is not necessary
11409 enable_fast_install=needless
11417 if test "x$enable_dlopen" != xyes; then
11418 enable_dlopen=unknown
11419 enable_dlopen_self=unknown
11420 enable_dlopen_self_static=unknown
11427 lt_cv_dlopen="load_add_on"
11429 lt_cv_dlopen_self=yes
11432 mingw* | pw32* | cegcc*)
11433 lt_cv_dlopen="LoadLibrary"
11438 lt_cv_dlopen="dlopen"
11443 # if libdl is installed we need to link against it
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11445 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11446 if ${ac_cv_lib_dl_dlopen+:} false; then :
11447 $as_echo_n "(cached) " >&6
11449 ac_check_lib_save_LIBS=$LIBS
11451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11452 /* end confdefs.h. */
11454 /* Override any GCC internal prototype to avoid an error.
11455 Use char because int might match the return type of a GCC
11456 builtin and then its argument prototype would still apply. */
11469 if ac_fn_c_try_link "$LINENO"; then :
11470 ac_cv_lib_dl_dlopen=yes
11472 ac_cv_lib_dl_dlopen=no
11474 rm -f core conftest.err conftest.$ac_objext \
11475 conftest$ac_exeext conftest.$ac_ext
11476 LIBS=$ac_check_lib_save_LIBS
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11479 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11480 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11481 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11484 lt_cv_dlopen="dyld"
11486 lt_cv_dlopen_self=yes
11493 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11494 if test "x$ac_cv_func_shl_load" = xyes; then :
11495 lt_cv_dlopen="shl_load"
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11498 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11499 if ${ac_cv_lib_dld_shl_load+:} false; then :
11500 $as_echo_n "(cached) " >&6
11502 ac_check_lib_save_LIBS=$LIBS
11504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11505 /* end confdefs.h. */
11507 /* Override any GCC internal prototype to avoid an error.
11508 Use char because int might match the return type of a GCC
11509 builtin and then its argument prototype would still apply. */
11517 return shl_load ();
11522 if ac_fn_c_try_link "$LINENO"; then :
11523 ac_cv_lib_dld_shl_load=yes
11525 ac_cv_lib_dld_shl_load=no
11527 rm -f core conftest.err conftest.$ac_objext \
11528 conftest$ac_exeext conftest.$ac_ext
11529 LIBS=$ac_check_lib_save_LIBS
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11532 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11533 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11534 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11536 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11537 if test "x$ac_cv_func_dlopen" = xyes; then :
11538 lt_cv_dlopen="dlopen"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11541 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11542 if ${ac_cv_lib_dl_dlopen+:} false; then :
11543 $as_echo_n "(cached) " >&6
11545 ac_check_lib_save_LIBS=$LIBS
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11550 /* Override any GCC internal prototype to avoid an error.
11551 Use char because int might match the return type of a GCC
11552 builtin and then its argument prototype would still apply. */
11565 if ac_fn_c_try_link "$LINENO"; then :
11566 ac_cv_lib_dl_dlopen=yes
11568 ac_cv_lib_dl_dlopen=no
11570 rm -f core conftest.err conftest.$ac_objext \
11571 conftest$ac_exeext conftest.$ac_ext
11572 LIBS=$ac_check_lib_save_LIBS
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11575 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11576 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11577 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11580 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11581 if ${ac_cv_lib_svld_dlopen+:} false; then :
11582 $as_echo_n "(cached) " >&6
11584 ac_check_lib_save_LIBS=$LIBS
11585 LIBS="-lsvld $LIBS"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11604 if ac_fn_c_try_link "$LINENO"; then :
11605 ac_cv_lib_svld_dlopen=yes
11607 ac_cv_lib_svld_dlopen=no
11609 rm -f core conftest.err conftest.$ac_objext \
11610 conftest$ac_exeext conftest.$ac_ext
11611 LIBS=$ac_check_lib_save_LIBS
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11614 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11615 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11616 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11619 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11620 if ${ac_cv_lib_dld_dld_link+:} false; then :
11621 $as_echo_n "(cached) " >&6
11623 ac_check_lib_save_LIBS=$LIBS
11625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11626 /* end confdefs.h. */
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11638 return dld_link ();
11643 if ac_fn_c_try_link "$LINENO"; then :
11644 ac_cv_lib_dld_dld_link=yes
11646 ac_cv_lib_dld_dld_link=no
11648 rm -f core conftest.err conftest.$ac_objext \
11649 conftest$ac_exeext conftest.$ac_ext
11650 LIBS=$ac_check_lib_save_LIBS
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11653 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11654 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11655 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11676 if test "x$lt_cv_dlopen" != xno; then
11682 case $lt_cv_dlopen in
11684 save_CPPFLAGS="$CPPFLAGS"
11685 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11687 save_LDFLAGS="$LDFLAGS"
11688 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11691 LIBS="$lt_cv_dlopen_libs $LIBS"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11694 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11695 if ${lt_cv_dlopen_self+:} false; then :
11696 $as_echo_n "(cached) " >&6
11698 if test "$cross_compiling" = yes; then :
11699 lt_cv_dlopen_self=cross
11701 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11702 lt_status=$lt_dlunknown
11703 cat > conftest.$ac_ext <<_LT_EOF
11704 #line $LINENO "configure"
11705 #include "confdefs.h"
11714 # define LT_DLGLOBAL RTLD_GLOBAL
11717 # define LT_DLGLOBAL DL_GLOBAL
11719 # define LT_DLGLOBAL 0
11723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11724 find out it does not work in some platform. */
11725 #ifndef LT_DLLAZY_OR_NOW
11727 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11730 # define LT_DLLAZY_OR_NOW DL_LAZY
11733 # define LT_DLLAZY_OR_NOW RTLD_NOW
11736 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # define LT_DLLAZY_OR_NOW 0
11745 /* When -fvisbility=hidden is used, assume the code has been annotated
11746 correspondingly for the symbols needed. */
11747 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11748 int fnord () __attribute__((visibility("default")));
11751 int fnord () { return 42; }
11754 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11755 int status = $lt_dlunknown;
11759 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11762 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11763 else puts (dlerror ());
11765 /* dlclose (self); */
11773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11774 (eval $ac_link) 2>&5
11776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11777 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11778 (./conftest; exit; ) >&5 2>/dev/null
11780 case x$lt_status in
11781 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11782 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11783 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11786 # compilation failed
11787 lt_cv_dlopen_self=no
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11795 $as_echo "$lt_cv_dlopen_self" >&6; }
11797 if test "x$lt_cv_dlopen_self" = xyes; then
11798 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11800 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11801 if ${lt_cv_dlopen_self_static+:} false; then :
11802 $as_echo_n "(cached) " >&6
11804 if test "$cross_compiling" = yes; then :
11805 lt_cv_dlopen_self_static=cross
11807 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11808 lt_status=$lt_dlunknown
11809 cat > conftest.$ac_ext <<_LT_EOF
11810 #line $LINENO "configure"
11811 #include "confdefs.h"
11820 # define LT_DLGLOBAL RTLD_GLOBAL
11823 # define LT_DLGLOBAL DL_GLOBAL
11825 # define LT_DLGLOBAL 0
11829 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11830 find out it does not work in some platform. */
11831 #ifndef LT_DLLAZY_OR_NOW
11833 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11836 # define LT_DLLAZY_OR_NOW DL_LAZY
11839 # define LT_DLLAZY_OR_NOW RTLD_NOW
11842 # define LT_DLLAZY_OR_NOW DL_NOW
11844 # define LT_DLLAZY_OR_NOW 0
11851 /* When -fvisbility=hidden is used, assume the code has been annotated
11852 correspondingly for the symbols needed. */
11853 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11854 int fnord () __attribute__((visibility("default")));
11857 int fnord () { return 42; }
11860 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11861 int status = $lt_dlunknown;
11865 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11868 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11869 else puts (dlerror ());
11871 /* dlclose (self); */
11879 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11880 (eval $ac_link) 2>&5
11882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11883 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11884 (./conftest; exit; ) >&5 2>/dev/null
11886 case x$lt_status in
11887 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11888 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11889 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11892 # compilation failed
11893 lt_cv_dlopen_self_static=no
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11901 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11904 CPPFLAGS="$save_CPPFLAGS"
11905 LDFLAGS="$save_LDFLAGS"
11910 case $lt_cv_dlopen_self in
11911 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11912 *) enable_dlopen_self=unknown ;;
11915 case $lt_cv_dlopen_self_static in
11916 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11917 *) enable_dlopen_self_static=unknown ;;
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11940 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11941 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11942 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11943 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11945 $as_echo "yes" >&6; }
11947 # FIXME - insert some real tests, host_os isn't really good enough
11950 if test -n "$STRIP" ; then
11951 striplib="$STRIP -x"
11952 old_striplib="$STRIP -S"
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11954 $as_echo "yes" >&6; }
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11962 $as_echo "no" >&6; }
11978 # Report which library types will actually be built
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11980 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11982 $as_echo "$can_build_shared" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11985 $as_echo_n "checking whether to build shared libraries... " >&6; }
11986 test "$can_build_shared" = "no" && enable_shared=no
11988 # On AIX, shared libraries and static libraries use the same namespace, and
11989 # are all built from PIC.
11992 test "$enable_shared" = yes && enable_static=no
11993 if test -n "$RANLIB"; then
11994 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11995 postinstall_cmds='$RANLIB $lib'
12000 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12001 test "$enable_shared" = yes && enable_static=no
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12006 $as_echo "$enable_shared" >&6; }
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12009 $as_echo_n "checking whether to build static libraries... " >&6; }
12010 # Make sure either enable_shared or enable_static is yes.
12011 test "$enable_shared" = yes || enable_static=yes
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12013 $as_echo "$enable_static" >&6; }
12020 ac_cpp='$CPP $CPPFLAGS'
12021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12039 ac_config_commands="$ac_config_commands libtool"
12044 # Only expand once:
12048 VERSION_SCRIPT_FLAGS=
12049 # lt_cv_prog_gnu_ld is from libtool 2.+
12050 if test "$lt_cv_prog_gnu_ld" = yes; then
12051 VERSION_SCRIPT_FLAGS=-Wl,--version-script=
12054 *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
12058 if test -n "$VERSION_SCRIPT_FLAGS"; then
12059 USE_VERSION_SCRIPT_TRUE=
12060 USE_VERSION_SCRIPT_FALSE='#'
12062 USE_VERSION_SCRIPT_TRUE='#'
12063 USE_VERSION_SCRIPT_FALSE=
12068 _cppflags="${CPPFLAGS}"
12069 _ldflags="${LDFLAGS}"
12072 # Check whether --with-c14n was given.
12073 if test "${with_c14n+set}" = set; then :
12074 withval=$with_c14n;
12078 # Check whether --with-catalog was given.
12079 if test "${with_catalog+set}" = set; then :
12080 withval=$with_catalog;
12084 # Check whether --with-debug was given.
12085 if test "${with_debug+set}" = set; then :
12086 withval=$with_debug;
12090 # Check whether --with-docbook was given.
12091 if test "${with_docbook+set}" = set; then :
12092 withval=$with_docbook;
12096 # Check whether --with-fexceptions was given.
12097 if test "${with_fexceptions+set}" = set; then :
12098 withval=$with_fexceptions;
12102 # Check whether --with-ftp was given.
12103 if test "${with_ftp+set}" = set; then :
12108 # Check whether --with-history was given.
12109 if test "${with_history+set}" = set; then :
12110 withval=$with_history;
12114 # Check whether --with-html was given.
12115 if test "${with_html+set}" = set; then :
12116 withval=$with_html;
12120 # Check whether --with-html-dir was given.
12121 if test "${with_html_dir+set}" = set; then :
12122 withval=$with_html_dir; HTML_DIR=$withval
12124 HTML_DIR='$(datadir)/doc'
12129 # Check whether --with-html-subdir was given.
12130 if test "${with_html_subdir+set}" = set; then :
12131 withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
12133 HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
12138 # Check whether --with-http was given.
12139 if test "${with_http+set}" = set; then :
12140 withval=$with_http;
12144 # Check whether --with-iconv was given.
12145 if test "${with_iconv+set}" = set; then :
12146 withval=$with_iconv;
12150 # Check whether --with-icu was given.
12151 if test "${with_icu+set}" = set; then :
12156 # Check whether --with-iso8859x was given.
12157 if test "${with_iso8859x+set}" = set; then :
12158 withval=$with_iso8859x;
12162 # Check whether --with-legacy was given.
12163 if test "${with_legacy+set}" = set; then :
12164 withval=$with_legacy;
12168 # Check whether --with-mem_debug was given.
12169 if test "${with_mem_debug+set}" = set; then :
12170 withval=$with_mem_debug;
12174 # Check whether --with-minimum was given.
12175 if test "${with_minimum+set}" = set; then :
12176 withval=$with_minimum;
12180 # Check whether --with-output was given.
12181 if test "${with_output+set}" = set; then :
12182 withval=$with_output;
12186 # Check whether --with-pattern was given.
12187 if test "${with_pattern+set}" = set; then :
12188 withval=$with_pattern;
12192 # Check whether --with-push was given.
12193 if test "${with_push+set}" = set; then :
12194 withval=$with_push;
12198 # Check whether --with-python was given.
12199 if test "${with_python+set}" = set; then :
12200 withval=$with_python;
12204 # Check whether --with-reader was given.
12205 if test "${with_reader+set}" = set; then :
12206 withval=$with_reader;
12210 # Check whether --with-readline was given.
12211 if test "${with_readline+set}" = set; then :
12212 withval=$with_readline;
12213 if test "$withval" != "no" -a "$withval" != "yes"; then
12215 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12216 LDFLAGS="${LDFLAGS} -L$withval/lib"
12222 # Check whether --with-regexps was given.
12223 if test "${with_regexps+set}" = set; then :
12224 withval=$with_regexps;
12228 # Check whether --with-run_debug was given.
12229 if test "${with_run_debug+set}" = set; then :
12230 withval=$with_run_debug;
12234 # Check whether --with-sax1 was given.
12235 if test "${with_sax1+set}" = set; then :
12236 withval=$with_sax1;
12240 # Check whether --with-schemas was given.
12241 if test "${with_schemas+set}" = set; then :
12242 withval=$with_schemas;
12246 # Check whether --with-schematron was given.
12247 if test "${with_schematron+set}" = set; then :
12248 withval=$with_schematron;
12252 # Check whether --with-threads was given.
12253 if test "${with_threads+set}" = set; then :
12254 withval=$with_threads;
12258 # Check whether --with-thread-alloc was given.
12259 if test "${with_thread_alloc+set}" = set; then :
12260 withval=$with_thread_alloc;
12264 # Check whether --with-tree was given.
12265 if test "${with_tree+set}" = set; then :
12266 withval=$with_tree;
12270 # Check whether --with-valid was given.
12271 if test "${with_valid+set}" = set; then :
12272 withval=$with_valid;
12276 # Check whether --with-writer was given.
12277 if test "${with_writer+set}" = set; then :
12278 withval=$with_writer;
12282 # Check whether --with-xinclude was given.
12283 if test "${with_xinclude+set}" = set; then :
12284 withval=$with_xinclude;
12288 # Check whether --with-xpath was given.
12289 if test "${with_xpath+set}" = set; then :
12290 withval=$with_xpath;
12294 # Check whether --with-xptr was given.
12295 if test "${with_xptr+set}" = set; then :
12296 withval=$with_xptr;
12300 # Check whether --with-modules was given.
12301 if test "${with_modules+set}" = set; then :
12302 withval=$with_modules;
12306 # Check whether --with-zlib was given.
12307 if test "${with_zlib+set}" = set; then :
12308 withval=$with_zlib;
12309 if test "$withval" != "no" -a "$withval" != "yes"; then
12311 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12312 LDFLAGS="${LDFLAGS} -L$withval/lib"
12318 # Check whether --with-lzma was given.
12319 if test "${with_lzma+set}" = set; then :
12320 withval=$with_lzma;
12321 if test "$withval" != "no" -a "$withval" != "yes"; then
12323 CPPFLAGS="${CPPFLAGS} -I$withval/include"
12324 LDFLAGS="${LDFLAGS} -L$withval/lib"
12330 # Check whether --with-coverage was given.
12331 if test "${with_coverage+set}" = set; then :
12332 withval=$with_coverage;
12336 # Check whether --enable-rebuild-docs was given.
12337 if test "${enable_rebuild_docs+set}" = set; then :
12338 enableval=$enable_rebuild_docs;
12341 if test "$enable_rebuild_docs" = "no"; then
12343 REBUILD_DOCS_FALSE='#'
12345 REBUILD_DOCS_TRUE='#'
12346 REBUILD_DOCS_FALSE=
12350 if test "$with_schemas" = "yes"
12355 if test "$with_schematron" = "yes"
12360 if test "$with_reader" = "yes"
12364 if test "$with_xptr" = "yes"
12368 if test "$with_minimum" = "yes"
12370 echo "Configuring for a minimal library"
12371 if test "$with_c14n" = ""
12375 if test "$with_catalog" = ""
12379 echo So far so good!
12380 if test "$with_debug" = ""
12384 if test "$with_docbook" = ""
12388 if test "$with_fexceptions" = ""
12390 with_fexceptions=no
12392 if test "$with_ftp" = ""
12396 if test "$with_history" = ""
12400 if test "$with_html" = ""
12404 if test "$with_http" = ""
12408 if test "$with_iconv" = ""
12412 if test "$with_iso8859x" = ""
12416 if test "$with_legacy" = ""
12420 if test "$with_mem_debug" = ""
12424 if test "$with_output" = ""
12428 if test "$with_pattern" = ""
12432 if test "$with_push" = ""
12436 if test "$with_python" = ""
12440 if test "$with_reader" = ""
12444 if test "$with_readline" = ""
12448 if test "$with_regexps" = ""
12452 if test "$with_run_debug" = ""
12456 if test "$with_sax1" = ""
12460 if test "$with_schemas" = ""
12464 if test "$with_schematron" = ""
12468 if test "$with_threads" = ""
12472 if test "$with_thread_alloc" = ""
12474 with_thread_alloc=no
12476 if test "$with_tree" = ""
12480 if test "$with_valid" = ""
12484 if test "$with_writer" = ""
12488 if test "$with_xinclude" = ""
12492 if test "$with_xpath" = ""
12496 if test "$with_xptr" = ""
12500 if test "$with_zlib" = ""
12504 if test "$with_modules" = ""
12514 if test "$with_zlib" = "no"; then
12515 echo "Disabling compression support"
12517 for ac_header in zlib.h
12519 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
12520 if test "x$ac_cv_header_zlib_h" = xyes; then :
12521 cat >>confdefs.h <<_ACEOF
12522 #define HAVE_ZLIB_H 1
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzread in -lz" >&5
12525 $as_echo_n "checking for gzread in -lz... " >&6; }
12526 if ${ac_cv_lib_z_gzread+:} false; then :
12527 $as_echo_n "(cached) " >&6
12529 ac_check_lib_save_LIBS=$LIBS
12531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12532 /* end confdefs.h. */
12534 /* Override any GCC internal prototype to avoid an error.
12535 Use char because int might match the return type of a GCC
12536 builtin and then its argument prototype would still apply. */
12549 if ac_fn_c_try_link "$LINENO"; then :
12550 ac_cv_lib_z_gzread=yes
12552 ac_cv_lib_z_gzread=no
12554 rm -f core conftest.err conftest.$ac_objext \
12555 conftest$ac_exeext conftest.$ac_ext
12556 LIBS=$ac_check_lib_save_LIBS
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzread" >&5
12559 $as_echo "$ac_cv_lib_z_gzread" >&6; }
12560 if test "x$ac_cv_lib_z_gzread" = xyes; then :
12563 $as_echo "#define HAVE_LIBZ 1" >>confdefs.h
12566 if test "x${Z_DIR}" != "x"; then
12567 Z_CFLAGS="-I${Z_DIR}/include"
12568 Z_LIBS="-L${Z_DIR}/lib -lz"
12571 Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
12593 if test "$with_lzma" = "no"; then
12594 echo "Disabling compression support"
12596 for ac_header in lzma.h
12598 ac_fn_c_check_header_mongrel "$LINENO" "lzma.h" "ac_cv_header_lzma_h" "$ac_includes_default"
12599 if test "x$ac_cv_header_lzma_h" = xyes; then :
12600 cat >>confdefs.h <<_ACEOF
12601 #define HAVE_LZMA_H 1
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
12604 $as_echo_n "checking for lzma_code in -llzma... " >&6; }
12605 if ${ac_cv_lib_lzma_lzma_code+:} false; then :
12606 $as_echo_n "(cached) " >&6
12608 ac_check_lib_save_LIBS=$LIBS
12609 LIBS="-llzma $LIBS"
12610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12611 /* end confdefs.h. */
12613 /* Override any GCC internal prototype to avoid an error.
12614 Use char because int might match the return type of a GCC
12615 builtin and then its argument prototype would still apply. */
12623 return lzma_code ();
12628 if ac_fn_c_try_link "$LINENO"; then :
12629 ac_cv_lib_lzma_lzma_code=yes
12631 ac_cv_lib_lzma_lzma_code=no
12633 rm -f core conftest.err conftest.$ac_objext \
12634 conftest$ac_exeext conftest.$ac_ext
12635 LIBS=$ac_check_lib_save_LIBS
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
12638 $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
12639 if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
12642 $as_echo "#define HAVE_LIBLZMA 1" >>confdefs.h
12645 if test "x${LZMA_DIR}" != "x"; then
12646 LZMA_CFLAGS="-I${LZMA_DIR}/include"
12647 LZMA_LIBS="-L${LZMA_DIR}/lib -llzma"
12663 CPPFLAGS=${_cppflags}
12664 LDFLAGS=${_ldflags}
12666 echo Checking headers
12668 ac_header_dirent=no
12669 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12670 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12672 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12673 if eval \${$as_ac_Header+:} false; then :
12674 $as_echo_n "(cached) " >&6
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12678 #include <sys/types.h>
12690 if ac_fn_c_try_compile "$LINENO"; then :
12691 eval "$as_ac_Header=yes"
12693 eval "$as_ac_Header=no"
12695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12697 eval ac_res=\$$as_ac_Header
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12699 $as_echo "$ac_res" >&6; }
12700 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12701 cat >>confdefs.h <<_ACEOF
12702 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12705 ac_header_dirent=$ac_hdr; break
12709 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12710 if test $ac_header_dirent = dirent.h; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12712 $as_echo_n "checking for library containing opendir... " >&6; }
12713 if ${ac_cv_search_opendir+:} false; then :
12714 $as_echo_n "(cached) " >&6
12716 ac_func_search_save_LIBS=$LIBS
12717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12718 /* end confdefs.h. */
12720 /* Override any GCC internal prototype to avoid an error.
12721 Use char because int might match the return type of a GCC
12722 builtin and then its argument prototype would still apply. */
12735 for ac_lib in '' dir; do
12736 if test -z "$ac_lib"; then
12737 ac_res="none required"
12740 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12742 if ac_fn_c_try_link "$LINENO"; then :
12743 ac_cv_search_opendir=$ac_res
12745 rm -f core conftest.err conftest.$ac_objext \
12747 if ${ac_cv_search_opendir+:} false; then :
12751 if ${ac_cv_search_opendir+:} false; then :
12754 ac_cv_search_opendir=no
12756 rm conftest.$ac_ext
12757 LIBS=$ac_func_search_save_LIBS
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12760 $as_echo "$ac_cv_search_opendir" >&6; }
12761 ac_res=$ac_cv_search_opendir
12762 if test "$ac_res" != no; then :
12763 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12769 $as_echo_n "checking for library containing opendir... " >&6; }
12770 if ${ac_cv_search_opendir+:} false; then :
12771 $as_echo_n "(cached) " >&6
12773 ac_func_search_save_LIBS=$LIBS
12774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12775 /* end confdefs.h. */
12777 /* Override any GCC internal prototype to avoid an error.
12778 Use char because int might match the return type of a GCC
12779 builtin and then its argument prototype would still apply. */
12792 for ac_lib in '' x; do
12793 if test -z "$ac_lib"; then
12794 ac_res="none required"
12797 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12799 if ac_fn_c_try_link "$LINENO"; then :
12800 ac_cv_search_opendir=$ac_res
12802 rm -f core conftest.err conftest.$ac_objext \
12804 if ${ac_cv_search_opendir+:} false; then :
12808 if ${ac_cv_search_opendir+:} false; then :
12811 ac_cv_search_opendir=no
12813 rm conftest.$ac_ext
12814 LIBS=$ac_func_search_save_LIBS
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12817 $as_echo "$ac_cv_search_opendir" >&6; }
12818 ac_res=$ac_cv_search_opendir
12819 if test "$ac_res" != no; then :
12820 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12827 $as_echo_n "checking for ANSI C header files... " >&6; }
12828 if ${ac_cv_header_stdc+:} false; then :
12829 $as_echo_n "(cached) " >&6
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12833 #include <stdlib.h>
12834 #include <stdarg.h>
12835 #include <string.h>
12846 if ac_fn_c_try_compile "$LINENO"; then :
12847 ac_cv_header_stdc=yes
12849 ac_cv_header_stdc=no
12851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12853 if test $ac_cv_header_stdc = yes; then
12854 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12857 #include <string.h>
12860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12861 $EGREP "memchr" >/dev/null 2>&1; then :
12864 ac_cv_header_stdc=no
12870 if test $ac_cv_header_stdc = yes; then
12871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12874 #include <stdlib.h>
12877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12878 $EGREP "free" >/dev/null 2>&1; then :
12881 ac_cv_header_stdc=no
12887 if test $ac_cv_header_stdc = yes; then
12888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12889 if test "$cross_compiling" = yes; then :
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 #include <stdlib.h>
12896 #if ((' ' & 0x0FF) == 0x020)
12897 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12898 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12900 # define ISLOWER(c) \
12901 (('a' <= (c) && (c) <= 'i') \
12902 || ('j' <= (c) && (c) <= 'r') \
12903 || ('s' <= (c) && (c) <= 'z'))
12904 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12907 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12912 for (i = 0; i < 256; i++)
12913 if (XOR (islower (i), ISLOWER (i))
12914 || toupper (i) != TOUPPER (i))
12919 if ac_fn_c_try_run "$LINENO"; then :
12922 ac_cv_header_stdc=no
12924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12925 conftest.$ac_objext conftest.beam conftest.$ac_ext
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12931 $as_echo "$ac_cv_header_stdc" >&6; }
12932 if test $ac_cv_header_stdc = yes; then
12934 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
12938 for ac_header in fcntl.h
12940 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
12941 if test "x$ac_cv_header_fcntl_h" = xyes; then :
12942 cat >>confdefs.h <<_ACEOF
12943 #define HAVE_FCNTL_H 1
12950 for ac_header in unistd.h
12952 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12953 if test "x$ac_cv_header_unistd_h" = xyes; then :
12954 cat >>confdefs.h <<_ACEOF
12955 #define HAVE_UNISTD_H 1
12962 for ac_header in ctype.h
12964 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
12965 if test "x$ac_cv_header_ctype_h" = xyes; then :
12966 cat >>confdefs.h <<_ACEOF
12967 #define HAVE_CTYPE_H 1
12974 for ac_header in dirent.h
12976 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
12977 if test "x$ac_cv_header_dirent_h" = xyes; then :
12978 cat >>confdefs.h <<_ACEOF
12979 #define HAVE_DIRENT_H 1
12986 for ac_header in errno.h
12988 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
12989 if test "x$ac_cv_header_errno_h" = xyes; then :
12990 cat >>confdefs.h <<_ACEOF
12991 #define HAVE_ERRNO_H 1
12998 for ac_header in malloc.h
13000 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
13001 if test "x$ac_cv_header_malloc_h" = xyes; then :
13002 cat >>confdefs.h <<_ACEOF
13003 #define HAVE_MALLOC_H 1
13010 for ac_header in stdarg.h
13012 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
13013 if test "x$ac_cv_header_stdarg_h" = xyes; then :
13014 cat >>confdefs.h <<_ACEOF
13015 #define HAVE_STDARG_H 1
13022 for ac_header in sys/stat.h
13024 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
13025 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
13026 cat >>confdefs.h <<_ACEOF
13027 #define HAVE_SYS_STAT_H 1
13034 for ac_header in sys/types.h
13036 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
13037 if test "x$ac_cv_header_sys_types_h" = xyes; then :
13038 cat >>confdefs.h <<_ACEOF
13039 #define HAVE_SYS_TYPES_H 1
13046 for ac_header in stdint.h
13048 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
13049 if test "x$ac_cv_header_stdint_h" = xyes; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define HAVE_STDINT_H 1
13058 for ac_header in inttypes.h
13060 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
13061 if test "x$ac_cv_header_inttypes_h" = xyes; then :
13062 cat >>confdefs.h <<_ACEOF
13063 #define HAVE_INTTYPES_H 1
13070 for ac_header in time.h
13072 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
13073 if test "x$ac_cv_header_time_h" = xyes; then :
13074 cat >>confdefs.h <<_ACEOF
13075 #define HAVE_TIME_H 1
13082 for ac_header in ansidecl.h
13084 ac_fn_c_check_header_mongrel "$LINENO" "ansidecl.h" "ac_cv_header_ansidecl_h" "$ac_includes_default"
13085 if test "x$ac_cv_header_ansidecl_h" = xyes; then :
13086 cat >>confdefs.h <<_ACEOF
13087 #define HAVE_ANSIDECL_H 1
13094 for ac_header in ieeefp.h
13096 ac_fn_c_check_header_mongrel "$LINENO" "ieeefp.h" "ac_cv_header_ieeefp_h" "$ac_includes_default"
13097 if test "x$ac_cv_header_ieeefp_h" = xyes; then :
13098 cat >>confdefs.h <<_ACEOF
13099 #define HAVE_IEEEFP_H 1
13106 for ac_header in nan.h
13108 ac_fn_c_check_header_mongrel "$LINENO" "nan.h" "ac_cv_header_nan_h" "$ac_includes_default"
13109 if test "x$ac_cv_header_nan_h" = xyes; then :
13110 cat >>confdefs.h <<_ACEOF
13111 #define HAVE_NAN_H 1
13118 for ac_header in math.h
13120 ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
13121 if test "x$ac_cv_header_math_h" = xyes; then :
13122 cat >>confdefs.h <<_ACEOF
13123 #define HAVE_MATH_H 1
13130 for ac_header in limits.h
13132 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
13133 if test "x$ac_cv_header_limits_h" = xyes; then :
13134 cat >>confdefs.h <<_ACEOF
13135 #define HAVE_LIMITS_H 1
13142 for ac_header in fp_class.h
13144 ac_fn_c_check_header_mongrel "$LINENO" "fp_class.h" "ac_cv_header_fp_class_h" "$ac_includes_default"
13145 if test "x$ac_cv_header_fp_class_h" = xyes; then :
13146 cat >>confdefs.h <<_ACEOF
13147 #define HAVE_FP_CLASS_H 1
13154 for ac_header in float.h
13156 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
13157 if test "x$ac_cv_header_float_h" = xyes; then :
13158 cat >>confdefs.h <<_ACEOF
13159 #define HAVE_FLOAT_H 1
13166 for ac_header in stdlib.h
13168 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
13169 if test "x$ac_cv_header_stdlib_h" = xyes; then :
13170 cat >>confdefs.h <<_ACEOF
13171 #define HAVE_STDLIB_H 1
13178 for ac_header in sys/socket.h
13180 ac_fn_c_check_header_compile "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "#if HAVE_SYS_TYPES_H
13181 # include <sys/types.h>
13185 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
13186 cat >>confdefs.h <<_ACEOF
13187 #define HAVE_SYS_SOCKET_H 1
13194 for ac_header in netinet/in.h
13196 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "#if HAVE_SYS_TYPES_H
13197 # include <sys/types.h>
13201 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
13202 cat >>confdefs.h <<_ACEOF
13203 #define HAVE_NETINET_IN_H 1
13210 for ac_header in arpa/inet.h
13212 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "#if HAVE_SYS_TYPES_H
13213 # include <sys/types.h>
13215 #if HAVE_ARPA_INET_H
13216 # include <arpa/inet.h>
13220 if test "x$ac_cv_header_arpa_inet_h" = xyes; then :
13221 cat >>confdefs.h <<_ACEOF
13222 #define HAVE_ARPA_INET_H 1
13229 for ac_header in netdb.h
13231 ac_fn_c_check_header_mongrel "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
13232 if test "x$ac_cv_header_netdb_h" = xyes; then :
13233 cat >>confdefs.h <<_ACEOF
13234 #define HAVE_NETDB_H 1
13241 for ac_header in sys/time.h
13243 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
13244 if test "x$ac_cv_header_sys_time_h" = xyes; then :
13245 cat >>confdefs.h <<_ACEOF
13246 #define HAVE_SYS_TIME_H 1
13253 for ac_header in sys/select.h
13255 ac_fn_c_check_header_mongrel "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
13256 if test "x$ac_cv_header_sys_select_h" = xyes; then :
13257 cat >>confdefs.h <<_ACEOF
13258 #define HAVE_SYS_SELECT_H 1
13265 for ac_header in poll.h
13267 ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default"
13268 if test "x$ac_cv_header_poll_h" = xyes; then :
13269 cat >>confdefs.h <<_ACEOF
13270 #define HAVE_POLL_H 1
13277 for ac_header in sys/mman.h
13279 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
13280 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
13281 cat >>confdefs.h <<_ACEOF
13282 #define HAVE_SYS_MMAN_H 1
13289 for ac_header in sys/timeb.h
13291 ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
13292 if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
13293 cat >>confdefs.h <<_ACEOF
13294 #define HAVE_SYS_TIMEB_H 1
13301 for ac_header in signal.h
13303 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
13304 if test "x$ac_cv_header_signal_h" = xyes; then :
13305 cat >>confdefs.h <<_ACEOF
13306 #define HAVE_SIGNAL_H 1
13313 for ac_header in arpa/nameser.h
13315 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "#if HAVE_SYS_TYPES_H
13316 # include <sys/types.h>
13320 if test "x$ac_cv_header_arpa_nameser_h" = xyes; then :
13321 cat >>confdefs.h <<_ACEOF
13322 #define HAVE_ARPA_NAMESER_H 1
13329 for ac_header in resolv.h
13331 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#if HAVE_SYS_TYPES_H
13332 # include <sys/types.h>
13334 #if HAVE_NETINET_IN_H
13335 # include <netinet/in.h>
13337 #if HAVE_ARPA_NAMESER_H
13338 # include <arpa/nameser.h>
13342 if test "x$ac_cv_header_resolv_h" = xyes; then :
13343 cat >>confdefs.h <<_ACEOF
13344 #define HAVE_RESOLV_H 1
13351 for ac_header in dl.h
13353 ac_fn_c_check_header_mongrel "$LINENO" "dl.h" "ac_cv_header_dl_h" "$ac_includes_default"
13354 if test "x$ac_cv_header_dl_h" = xyes; then :
13355 cat >>confdefs.h <<_ACEOF
13356 #define HAVE_DL_H 1
13363 for ac_header in dlfcn.h
13365 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
13366 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
13367 cat >>confdefs.h <<_ACEOF
13368 #define HAVE_DLFCN_H 1
13377 echo Checking libraries
13379 for ac_func in strftime
13381 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
13382 if test "x$ac_cv_func_strftime" = xyes; then :
13383 cat >>confdefs.h <<_ACEOF
13384 #define HAVE_STRFTIME 1
13388 # strftime is in -lintl on SCO UNIX.
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
13390 $as_echo_n "checking for strftime in -lintl... " >&6; }
13391 if ${ac_cv_lib_intl_strftime+:} false; then :
13392 $as_echo_n "(cached) " >&6
13394 ac_check_lib_save_LIBS=$LIBS
13395 LIBS="-lintl $LIBS"
13396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13397 /* end confdefs.h. */
13399 /* Override any GCC internal prototype to avoid an error.
13400 Use char because int might match the return type of a GCC
13401 builtin and then its argument prototype would still apply. */
13409 return strftime ();
13414 if ac_fn_c_try_link "$LINENO"; then :
13415 ac_cv_lib_intl_strftime=yes
13417 ac_cv_lib_intl_strftime=no
13419 rm -f core conftest.err conftest.$ac_objext \
13420 conftest$ac_exeext conftest.$ac_ext
13421 LIBS=$ac_check_lib_save_LIBS
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
13424 $as_echo "$ac_cv_lib_intl_strftime" >&6; }
13425 if test "x$ac_cv_lib_intl_strftime" = xyes; then :
13426 $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
13428 LIBS="-lintl $LIBS"
13434 for ac_func in strdup strndup strerror
13436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13438 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13439 cat >>confdefs.h <<_ACEOF
13440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13446 for ac_func in finite isnand fp_class class fpclass
13448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13451 cat >>confdefs.h <<_ACEOF
13452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13458 for ac_func in strftime localtime gettimeofday ftime
13460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13463 cat >>confdefs.h <<_ACEOF
13464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13470 for ac_func in stat _stat signal
13472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13474 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13475 cat >>confdefs.h <<_ACEOF
13476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13482 for ac_func in rand rand_r srand time
13484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13486 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13487 cat >>confdefs.h <<_ACEOF
13488 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
13496 $as_echo_n "checking for va_copy... " >&6; }
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13499 #include <stdarg.h>
13509 if ac_fn_c_try_link "$LINENO"; then :
13514 rm -f core conftest.err conftest.$ac_objext \
13515 conftest$ac_exeext conftest.$ac_ext
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_va_copy" >&5
13517 $as_echo "$have_va_copy" >&6; }
13518 if test x"$have_va_copy" = x"yes"; then
13520 $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __va_copy" >&5
13524 $as_echo_n "checking for __va_copy... " >&6; }
13525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13526 /* end confdefs.h. */
13527 #include <stdarg.h>
13532 __va_copy(ap1,ap2);
13537 if ac_fn_c_try_link "$LINENO"; then :
13542 rm -f core conftest.err conftest.$ac_objext \
13543 conftest$ac_exeext conftest.$ac_ext
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have___va_copy" >&5
13545 $as_echo "$have___va_copy" >&6; }
13546 if test x"$have___va_copy" = x"yes"; then
13548 $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostent" >&5
13554 $as_echo_n "checking for library containing gethostent... " >&6; }
13555 if ${ac_cv_search_gethostent+:} false; then :
13556 $as_echo_n "(cached) " >&6
13558 ac_func_search_save_LIBS=$LIBS
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13568 char gethostent ();
13572 return gethostent ();
13577 for ac_lib in '' nsl; do
13578 if test -z "$ac_lib"; then
13579 ac_res="none required"
13582 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13584 if ac_fn_c_try_link "$LINENO"; then :
13585 ac_cv_search_gethostent=$ac_res
13587 rm -f core conftest.err conftest.$ac_objext \
13589 if ${ac_cv_search_gethostent+:} false; then :
13593 if ${ac_cv_search_gethostent+:} false; then :
13596 ac_cv_search_gethostent=no
13598 rm conftest.$ac_ext
13599 LIBS=$ac_func_search_save_LIBS
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostent" >&5
13602 $as_echo "$ac_cv_search_gethostent" >&6; }
13603 ac_res=$ac_cv_search_gethostent
13604 if test "$ac_res" != no; then :
13605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
13610 $as_echo_n "checking for library containing setsockopt... " >&6; }
13611 if ${ac_cv_search_setsockopt+:} false; then :
13612 $as_echo_n "(cached) " >&6
13614 ac_func_search_save_LIBS=$LIBS
13615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13616 /* end confdefs.h. */
13618 /* Override any GCC internal prototype to avoid an error.
13619 Use char because int might match the return type of a GCC
13620 builtin and then its argument prototype would still apply. */
13624 char setsockopt ();
13628 return setsockopt ();
13633 for ac_lib in '' socket net network; do
13634 if test -z "$ac_lib"; then
13635 ac_res="none required"
13638 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13640 if ac_fn_c_try_link "$LINENO"; then :
13641 ac_cv_search_setsockopt=$ac_res
13643 rm -f core conftest.err conftest.$ac_objext \
13645 if ${ac_cv_search_setsockopt+:} false; then :
13649 if ${ac_cv_search_setsockopt+:} false; then :
13652 ac_cv_search_setsockopt=no
13654 rm conftest.$ac_ext
13655 LIBS=$ac_func_search_save_LIBS
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_setsockopt" >&5
13658 $as_echo "$ac_cv_search_setsockopt" >&6; }
13659 ac_res=$ac_cv_search_setsockopt
13660 if test "$ac_res" != no; then :
13661 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13666 $as_echo_n "checking for library containing connect... " >&6; }
13667 if ${ac_cv_search_connect+:} false; then :
13668 $as_echo_n "(cached) " >&6
13670 ac_func_search_save_LIBS=$LIBS
13671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13672 /* end confdefs.h. */
13674 /* Override any GCC internal prototype to avoid an error.
13675 Use char because int might match the return type of a GCC
13676 builtin and then its argument prototype would still apply. */
13689 for ac_lib in '' inet; do
13690 if test -z "$ac_lib"; then
13691 ac_res="none required"
13694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13696 if ac_fn_c_try_link "$LINENO"; then :
13697 ac_cv_search_connect=$ac_res
13699 rm -f core conftest.err conftest.$ac_objext \
13701 if ${ac_cv_search_connect+:} false; then :
13705 if ${ac_cv_search_connect+:} false; then :
13708 ac_cv_search_connect=no
13710 rm conftest.$ac_ext
13711 LIBS=$ac_func_search_save_LIBS
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13714 $as_echo "$ac_cv_search_connect" >&6; }
13715 ac_res=$ac_cv_search_connect
13716 if test "$ac_res" != no; then :
13717 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of socket length (socklen_t)" >&5
13723 $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
13724 cat > conftest.$ac_ext <<EOF
13725 #line 13725 "configure"
13726 #include "confdefs.h"
13728 #include <stddef.h>
13729 #include <sys/types.h>
13730 #include <sys/socket.h>
13733 (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
13736 if { (eval echo configure:13736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: socklen_t *" >&5
13740 $as_echo "socklen_t *" >&6; }
13741 XML_SOCKLEN_T=socklen_t
13743 echo "configure: failed program was:" >&5
13744 cat conftest.$ac_ext >&5
13747 cat > conftest.$ac_ext <<EOF
13748 #line 13748 "configure"
13749 #include "confdefs.h"
13751 #include <stddef.h>
13752 #include <sys/types.h>
13753 #include <sys/socket.h>
13756 (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
13759 if { (eval echo configure:13759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: size_t *" >&5
13763 $as_echo "size_t *" >&6; }
13764 XML_SOCKLEN_T=size_t
13766 echo "configure: failed program was:" >&5
13767 cat conftest.$ac_ext >&5
13770 cat > conftest.$ac_ext <<EOF
13771 #line 13771 "configure"
13772 #include "confdefs.h"
13774 #include <stddef.h>
13775 #include <sys/types.h>
13776 #include <sys/socket.h>
13779 (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
13782 if { (eval echo configure:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: int *" >&5
13786 $as_echo "int *" >&6; }
13789 echo "configure: failed program was:" >&5
13790 cat conftest.$ac_ext >&5
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine" >&5
13794 $as_echo "$as_me: WARNING: could not determine" >&2;}
13795 XML_SOCKLEN_T="int"
13803 cat >>confdefs.h <<_ACEOF
13804 #define XML_SOCKLEN_T $XML_SOCKLEN_T
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable IPv6" >&5
13810 $as_echo_n "checking whether to enable IPv6... " >&6; }
13811 # Check whether --enable-ipv6 was given.
13812 if test "${enable_ipv6+set}" = set; then :
13813 enableval=$enable_ipv6;
13818 if test "$with_minimum" = "yes"
13822 if test $enable_ipv6 = yes; then
13824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13825 /* end confdefs.h. */
13827 #include <sys/types.h>
13828 #include <sys/socket.h>
13834 struct sockaddr_storage ss;
13835 socket(AF_INET6, SOCK_STREAM, 0)
13841 if ac_fn_c_try_compile "$LINENO"; then :
13847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ipv6" >&5
13849 $as_echo "$have_ipv6" >&6; }
13851 if test $have_ipv6 = yes; then
13853 $as_echo "#define SUPPORT_IP6 /**/" >>confdefs.h
13855 have_broken_ss_family=no
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct sockaddr::ss_family" >&5
13858 $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
13859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13860 /* end confdefs.h. */
13862 #include <sys/types.h>
13863 #include <sys/socket.h>
13869 struct sockaddr_storage ss ;
13876 if ac_fn_c_try_compile "$LINENO"; then :
13882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ss_family" >&5
13884 $as_echo "$have_ss_family" >&6; }
13885 if test x$have_ss_family = xno ; then
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking broken struct sockaddr::ss_family" >&5
13887 $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
13888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13889 /* end confdefs.h. */
13891 #include <sys/types.h>
13892 #include <sys/socket.h>
13898 struct sockaddr_storage ss ;
13899 ss.__ss_family = 0 ;
13905 if ac_fn_c_try_compile "$LINENO"; then :
13906 have_broken_ss_family=yes
13908 have_broken_ss_family=no
13911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_broken_ss_family" >&5
13913 $as_echo "$have_broken_ss_family" >&6; }
13914 if test x$have_broken_ss_family = xyes ; then
13916 $as_echo "#define HAVE_BROKEN_SS_FAMILY /**/" >>confdefs.h
13919 $as_echo "#define ss_family __ss_family" >>confdefs.h
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ss_family and __ss_family not found" >&5
13923 $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
13927 have_getaddrinfo=no
13928 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
13929 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
13930 have_getaddrinfo=yes
13933 if test $have_getaddrinfo != yes; then
13934 for lib in bsd socket inet; do
13935 as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
13937 $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
13938 if eval \${$as_ac_Lib+:} false; then :
13939 $as_echo_n "(cached) " >&6
13941 ac_check_lib_save_LIBS=$LIBS
13942 LIBS="-l$lib $LIBS"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13946 /* Override any GCC internal prototype to avoid an error.
13947 Use char because int might match the return type of a GCC
13948 builtin and then its argument prototype would still apply. */
13952 char getaddrinfo ();
13956 return getaddrinfo ();
13961 if ac_fn_c_try_link "$LINENO"; then :
13962 eval "$as_ac_Lib=yes"
13964 eval "$as_ac_Lib=no"
13966 rm -f core conftest.err conftest.$ac_objext \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 eval ac_res=\$$as_ac_Lib
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13972 $as_echo "$ac_res" >&6; }
13973 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
13974 LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
13980 if test $have_getaddrinfo = yes; then
13982 $as_echo "#define HAVE_GETADDRINFO /**/" >>confdefs.h
13989 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
13990 if test "x$ac_cv_func_isnan" = xyes; then :
13992 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan in -lm" >&5
13996 $as_echo_n "checking for isnan in -lm... " >&6; }
13997 if ${ac_cv_lib_m_isnan+:} false; then :
13998 $as_echo_n "(cached) " >&6
14000 ac_check_lib_save_LIBS=$LIBS
14002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14005 /* Override any GCC internal prototype to avoid an error.
14006 Use char because int might match the return type of a GCC
14007 builtin and then its argument prototype would still apply. */
14020 if ac_fn_c_try_link "$LINENO"; then :
14021 ac_cv_lib_m_isnan=yes
14023 ac_cv_lib_m_isnan=no
14025 rm -f core conftest.err conftest.$ac_objext \
14026 conftest$ac_exeext conftest.$ac_ext
14027 LIBS=$ac_check_lib_save_LIBS
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isnan" >&5
14030 $as_echo "$ac_cv_lib_m_isnan" >&6; }
14031 if test "x$ac_cv_lib_m_isnan" = xyes; then :
14033 $as_echo "#define HAVE_ISNAN /**/" >>confdefs.h
14040 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
14041 if test "x$ac_cv_func_isinf" = xyes; then :
14043 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf in -lm" >&5
14047 $as_echo_n "checking for isinf in -lm... " >&6; }
14048 if ${ac_cv_lib_m_isinf+:} false; then :
14049 $as_echo_n "(cached) " >&6
14051 ac_check_lib_save_LIBS=$LIBS
14053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14054 /* end confdefs.h. */
14056 /* Override any GCC internal prototype to avoid an error.
14057 Use char because int might match the return type of a GCC
14058 builtin and then its argument prototype would still apply. */
14071 if ac_fn_c_try_link "$LINENO"; then :
14072 ac_cv_lib_m_isinf=yes
14074 ac_cv_lib_m_isinf=no
14076 rm -f core conftest.err conftest.$ac_objext \
14077 conftest$ac_exeext conftest.$ac_ext
14078 LIBS=$ac_check_lib_save_LIBS
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_isinf" >&5
14081 $as_echo "$ac_cv_lib_m_isinf" >&6; }
14082 if test "x$ac_cv_lib_m_isinf" = xyes; then :
14084 $as_echo "#define HAVE_ISINF /**/" >>confdefs.h
14091 XML_LIBDIR='-L${libdir}'
14092 XML_INCLUDEDIR='-I${includedir}/libxml2'
14097 if test "${GCC}" != "yes" ; then
14100 CFLAGS="${CFLAGS} -Wp,-H30000"
14103 CFLAGS="${CFLAGS} -ieee"
14106 CFLAGS="${CFLAGS} -ieee"
14110 if test "$with_fexceptions" = "yes"
14113 # Not activated by default because this inflates the code size
14114 # Used to allow propagation of C++ exceptions through the library
14116 CFLAGS="${CFLAGS} -fexceptions"
14119 # warnings we'd like to see
14120 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"
14121 # warnings we'd like to supress
14122 CFLAGS="${CFLAGS} -Wno-long-long"
14125 CFLAGS="${CFLAGS} -mieee"
14128 CFLAGS="${CFLAGS} -mieee"
14134 XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
14139 *-*-mingw* | *-*-cygwin* | *-*-msvc* )
14140 # If the host is Windows, and shared libraries are disabled, we
14141 # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
14142 # work properly (without it, xmlexports.h would force the use of
14143 # DLL imports, which obviously aren't present in a static
14145 if test "x$enable_shared" = "xno"; then
14146 XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
14147 CFLAGS="$CFLAGS -DLIBXML_STATIC"
14156 PYTHON_SITE_PACKAGES=
14159 if test "$with_python" != "no" ; then
14160 if test -x "$with_python/bin/python"
14162 echo Found python in $with_python/bin/python
14163 PYTHON="$with_python/bin/python"
14165 if test -x "$with_python/python.exe"
14167 echo Found python in $with_python/python.exe
14168 PYTHON="$with_python/python.exe"
14170 if test -x "$with_python"
14172 echo Found python in $with_python
14173 PYTHON="$with_python"
14175 if test -x "$PYTHON"
14177 echo Found python in environment PYTHON=$PYTHON
14178 with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
14180 # 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.
14181 set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14183 $as_echo_n "checking for $ac_word... " >&6; }
14184 if ${ac_cv_path_PYTHON+:} false; then :
14185 $as_echo_n "(cached) " >&6
14189 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14193 for as_dir in $PATH
14196 test -z "$as_dir" && as_dir=.
14197 for ac_exec_ext in '' $ac_executable_extensions; do
14198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14199 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14210 PYTHON=$ac_cv_path_PYTHON
14211 if test -n "$PYTHON"; then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14213 $as_echo "$PYTHON" >&6; }
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14216 $as_echo "no" >&6; }
14224 if test "$PYTHON" != ""
14226 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
14227 echo Found Python version $PYTHON_VERSION
14229 if test "$PYTHON_VERSION" != ""
14231 if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
14232 -d $with_python/lib/python$PYTHON_VERSION/site-packages
14234 PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
14235 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14237 if test -r $prefix/include/python$PYTHON_VERSION/Python.h
14239 PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
14240 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14242 if test -r /usr/include/python$PYTHON_VERSION/Python.h
14244 PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
14245 PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
14247 if test -r $with_python/include/Python.h -a \
14248 -d $with_python/lib/site-packages
14250 PYTHON_INCLUDES=$with_python/include
14251 PYTHON_SITE_PACKAGES=$with_python/lib/site-packages
14253 echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
14257 if test ! -d "$PYTHON_SITE_PACKAGES"
14259 PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
14262 PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
14264 if test "$with_python" != ""
14266 pythondir='$(PYTHON_SITE_PACKAGES)'
14268 pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
14273 if test "$PYTHON_INCLUDES" != ""; then
14275 WITH_PYTHON_FALSE='#'
14277 WITH_PYTHON_TRUE='#'
14281 if test "$PYTHON_INCLUDES" != ""
14283 PYTHON_SUBDIR=python
14294 if test "$with_modules" != "no" ; then
14297 MODULE_EXTENSION=".dll"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lcygwin" >&5
14299 $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
14300 if ${ac_cv_lib_cygwin_dlopen+:} false; then :
14301 $as_echo_n "(cached) " >&6
14303 ac_check_lib_save_LIBS=$LIBS
14304 LIBS="-lcygwin $LIBS"
14305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14306 /* end confdefs.h. */
14308 /* Override any GCC internal prototype to avoid an error.
14309 Use char because int might match the return type of a GCC
14310 builtin and then its argument prototype would still apply. */
14323 if ac_fn_c_try_link "$LINENO"; then :
14324 ac_cv_lib_cygwin_dlopen=yes
14326 ac_cv_lib_cygwin_dlopen=no
14328 rm -f core conftest.err conftest.$ac_objext \
14329 conftest$ac_exeext conftest.$ac_ext
14330 LIBS=$ac_check_lib_save_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cygwin_dlopen" >&5
14333 $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
14334 if test "x$ac_cv_lib_cygwin_dlopen" = xyes; then :
14337 MODULE_PLATFORM_LIBS=
14339 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14346 MODULE_EXTENSION=".dll"
14350 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14351 if test "x$ac_cv_func_shl_load" = xyes; then :
14352 libxml_have_shl_load=yes
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14356 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14357 if ${ac_cv_lib_dld_shl_load+:} false; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_check_lib_save_LIBS=$LIBS
14362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14363 /* end confdefs.h. */
14365 /* Override any GCC internal prototype to avoid an error.
14366 Use char because int might match the return type of a GCC
14367 builtin and then its argument prototype would still apply. */
14375 return shl_load ();
14380 if ac_fn_c_try_link "$LINENO"; then :
14381 ac_cv_lib_dld_shl_load=yes
14383 ac_cv_lib_dld_shl_load=no
14385 rm -f core conftest.err conftest.$ac_objext \
14386 conftest$ac_exeext conftest.$ac_ext
14387 LIBS=$ac_check_lib_save_LIBS
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14390 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14391 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14393 MODULE_PLATFORM_LIBS="-ldld"
14394 libxml_have_shl_load=yes
14397 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14398 if test "x$ac_cv_func_dlopen" = xyes; then :
14399 libxml_have_dlopen=yes
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14403 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14404 if ${ac_cv_lib_dl_dlopen+:} false; then :
14405 $as_echo_n "(cached) " >&6
14407 ac_check_lib_save_LIBS=$LIBS
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 /* Override any GCC internal prototype to avoid an error.
14413 Use char because int might match the return type of a GCC
14414 builtin and then its argument prototype would still apply. */
14427 if ac_fn_c_try_link "$LINENO"; then :
14428 ac_cv_lib_dl_dlopen=yes
14430 ac_cv_lib_dl_dlopen=no
14432 rm -f core conftest.err conftest.$ac_objext \
14433 conftest$ac_exeext conftest.$ac_ext
14434 LIBS=$ac_check_lib_save_LIBS
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14437 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14438 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14440 MODULE_PLATFORM_LIBS="-ldl"
14441 libxml_have_dlopen=yes
14451 if test "${libxml_have_shl_load}" = "yes"; then
14452 MODULE_EXTENSION=".sl"
14455 $as_echo "#define HAVE_SHLLOAD /**/" >>confdefs.h
14459 if test "${libxml_have_dlopen}" = "yes"; then
14462 MODULE_EXTENSION=".sl"
14465 MODULE_EXTENSION=".so"
14471 $as_echo "#define HAVE_DLOPEN /**/" >>confdefs.h
14478 if test "${WITH_MODULES}" = "1"; then
14479 TEST_MODULES="ModuleTests"
14488 if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
14489 [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
14490 [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
14492 if test "$with_minimum" != "yes"
14494 if test "${with_mem_debug}" = "" ; then
14495 echo Activating memory debugging
14496 with_mem_debug="yes"
14497 with_run_debug="yes"
14499 if test "${with_docbook}" = "" ; then
14503 if test "${GCC}" = "yes" ; then
14504 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"
14506 STATIC_BINARIES="-static"
14513 if test "${NEED_TRIO}" = "1" ; then
14514 echo Adding trio library for string functions
14519 if test "${NEED_TRIO}" = "1"; then
14520 WITH_TRIO_SOURCES_TRUE=
14521 WITH_TRIO_SOURCES_FALSE='#'
14523 WITH_TRIO_SOURCES_TRUE='#'
14524 WITH_TRIO_SOURCES_FALSE=
14529 echo Checking configuration requirements
14532 BASE_THREAD_LIBS=""
14538 if test "$with_threads" = "no" ; then
14539 echo Disabling multithreaded support
14541 echo Enabling multithreaded support
14544 *mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
14546 THREADS_W32="Win32"
14547 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
14552 if test -z "$THREADS_W32"; then
14553 if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
14554 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
14555 if test "x$ac_cv_header_pthread_h" = xyes; then :
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5
14557 $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
14558 if ${ac_cv_lib_pthread_pthread_join+:} false; then :
14559 $as_echo_n "(cached) " >&6
14561 ac_check_lib_save_LIBS=$LIBS
14562 LIBS="-lpthread $LIBS"
14563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14564 /* end confdefs.h. */
14566 /* Override any GCC internal prototype to avoid an error.
14567 Use char because int might match the return type of a GCC
14568 builtin and then its argument prototype would still apply. */
14572 char pthread_join ();
14576 return pthread_join ();
14581 if ac_fn_c_try_link "$LINENO"; then :
14582 ac_cv_lib_pthread_pthread_join=yes
14584 ac_cv_lib_pthread_pthread_join=no
14586 rm -f core conftest.err conftest.$ac_objext \
14587 conftest$ac_exeext conftest.$ac_ext
14588 LIBS=$ac_check_lib_save_LIBS
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5
14591 $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
14592 if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then :
14594 THREAD_LIBS="-lpthread"
14596 $as_echo "#define HAVE_LIBPTHREAD /**/" >>confdefs.h
14599 $as_echo "#define HAVE_PTHREAD_H /**/" >>confdefs.h
14611 *cygwin*) THREAD_LIBS=""
14613 *beos*) WITH_THREADS="1"
14614 THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
14617 if test "${GCC}" = "yes" ; then
14618 GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
14619 GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
14620 GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
14621 if test "${THREAD_LIBS}" = "-lpthread" ; then
14622 if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
14625 BASE_THREAD_LIBS="-lpthread"
14627 if expr ${GCC_MAJOR} \> 3 > /dev/null
14630 BASE_THREAD_LIBS="-lpthread"
14632 echo old GCC disabling weak symbols for pthread
14639 if test "$WITH_THREADS" = "1" ; then
14640 THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
14641 TEST_THREADS="Threadtests"
14644 if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
14645 THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
14655 if test "$with_history" = "yes" ; then
14656 echo Enabling xmllint shell history
14658 for termlib in ncurses curses termcap terminfo termlib; do
14659 as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -l${termlib}" >&5
14661 $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
14662 if eval \${$as_ac_Lib+:} false; then :
14663 $as_echo_n "(cached) " >&6
14665 ac_check_lib_save_LIBS=$LIBS
14666 LIBS="-l${termlib} $LIBS"
14667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14668 /* end confdefs.h. */
14670 /* Override any GCC internal prototype to avoid an error.
14671 Use char because int might match the return type of a GCC
14672 builtin and then its argument prototype would still apply. */
14685 if ac_fn_c_try_link "$LINENO"; then :
14686 eval "$as_ac_Lib=yes"
14688 eval "$as_ac_Lib=no"
14690 rm -f core conftest.err conftest.$ac_objext \
14691 conftest$ac_exeext conftest.$ac_ext
14692 LIBS=$ac_check_lib_save_LIBS
14694 eval ac_res=\$$as_ac_Lib
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14696 $as_echo "$ac_res" >&6; }
14697 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
14701 test -n "$tcap" && break
14704 ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
14705 if test "x$ac_cv_header_readline_history_h" = xyes; then :
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for append_history in -lhistory" >&5
14707 $as_echo_n "checking for append_history in -lhistory... " >&6; }
14708 if ${ac_cv_lib_history_append_history+:} false; then :
14709 $as_echo_n "(cached) " >&6
14711 ac_check_lib_save_LIBS=$LIBS
14712 LIBS="-lhistory $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14722 char append_history ();
14726 return append_history ();
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_lib_history_append_history=yes
14734 ac_cv_lib_history_append_history=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_lib_save_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_history_append_history" >&5
14741 $as_echo "$ac_cv_lib_history_append_history" >&6; }
14742 if test "x$ac_cv_lib_history_append_history" = xyes; then :
14744 RDL_LIBS="-lhistory"
14746 $as_echo "#define HAVE_LIBHISTORY /**/" >>confdefs.h
14753 ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
14754 if test "x$ac_cv_header_readline_readline_h" = xyes; then :
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
14756 $as_echo_n "checking for readline in -lreadline... " >&6; }
14757 if ${ac_cv_lib_readline_readline+:} false; then :
14758 $as_echo_n "(cached) " >&6
14760 ac_check_lib_save_LIBS=$LIBS
14761 LIBS="-lreadline $tcap $LIBS"
14762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14763 /* end confdefs.h. */
14765 /* Override any GCC internal prototype to avoid an error.
14766 Use char because int might match the return type of a GCC
14767 builtin and then its argument prototype would still apply. */
14775 return readline ();
14780 if ac_fn_c_try_link "$LINENO"; then :
14781 ac_cv_lib_readline_readline=yes
14783 ac_cv_lib_readline_readline=no
14785 rm -f core conftest.err conftest.$ac_objext \
14786 conftest$ac_exeext conftest.$ac_ext
14787 LIBS=$ac_check_lib_save_LIBS
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
14790 $as_echo "$ac_cv_lib_readline_readline" >&6; }
14791 if test "x$ac_cv_lib_readline_readline" = xyes; then :
14793 RDL_LIBS="-lreadline $RDL_LIBS $tcap"
14795 $as_echo "#define HAVE_LIBREADLINE /**/" >>confdefs.h
14802 if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
14803 CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
14804 RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
14808 if test "$with_tree" = "no" ; then
14809 echo Disabling DOM like tree manipulation APIs
14816 if test "$with_ftp" = "no" ; then
14817 echo Disabling FTP support
14827 if test "$with_http" = "no" ; then
14828 echo Disabling HTTP support
14833 HTTP_OBJ=nanohttp.o
14838 if test "$with_legacy" = "no" ; then
14839 echo Disabling deprecated APIs
14846 if test "$with_reader" = "no" ; then
14847 echo Disabling the xmlReader parsing interface
14852 READER_TEST=Readertests
14853 if test "$with_push" = "no" ; then
14854 echo xmlReader requires Push interface - enabling it
14861 if test "$with_writer" = "no" ; then
14862 echo Disabling the xmlWriter saving interface
14867 # WRITER_TEST=Writertests
14868 if test "$with_push" = "no" ; then
14869 echo xmlWriter requires Push interface - enabling it
14872 if test "$with_output" = "no" ; then
14873 echo xmlWriter requires Output interface - enabling it
14878 #AC_SUBST(WRITER_TEST)
14880 if test "$with_pattern" = "no" ; then
14881 echo Disabling the xmlPattern parsing interface
14886 TEST_PATTERN=Patterntests
14891 if test "$with_sax1" = "no" ; then
14892 echo Disabling the older SAX1 interface
14902 if test "$with_push" = "no" ; then
14903 echo Disabling the PUSH parser interfaces
14908 TEST_PUSH="XMLPushtests"
14913 if test "$with_html" = "no" ; then
14914 echo Disabling HTML support
14920 HTML_OBJ="HTMLparser.o HTMLtree.o"
14921 TEST_HTML=HTMLtests
14922 if test "$with_push" != "no" ; then
14923 TEST_PHTML=HTMLPushtests
14933 if test "$with_valid" = "no" ; then
14934 echo Disabling DTD validation support
14940 TEST_VALID=Validtests
14941 TEST_VTIME=VTimingtests
14947 if test "$with_catalog" = "no" ; then
14948 echo Disabling Catalog support
14954 CATALOG_OBJ="catalog.o"
14955 TEST_CATALOG=Catatests
14961 if test "$with_docbook" = "no" ; then
14962 echo Disabling Docbook support
14967 DOCB_OBJ="DOCBparser.o"
14973 if test "$with_xptr" = "no" ; then
14974 echo Disabling XPointer support
14980 XPTR_OBJ=xpointer.o
14981 TEST_XPTR=XPtrtests
14982 if test "$with_xpath" = "no" ; then
14983 echo XPointer requires XPath support - enabling it
14991 if test "$with_c14n" = "no" ; then
14992 echo Disabling C14N support
14999 TEST_C14N=C14Ntests
15000 if test "$with_xpath" = "no" ; then
15001 echo C14N requires XPath support - enabling it
15009 if test "$with_xinclude" = "no" ; then
15010 echo Disabling XInclude support
15017 XINCLUDE_OBJ=xinclude.o
15018 TEST_XINCLUDE=XIncludetests
15019 if test "$with_xpath" = "no" ; then
15020 echo XInclude requires XPath support - enabling it
15028 if test "$with_xpath" = "no" ; then
15029 echo Disabling XPATH support
15036 TEST_XPATH=XPathtests
15042 if test "$with_output" = "no" ; then
15043 echo Disabling serialization/saving support
15051 if test "$with_iconv" = "no" ; then
15052 echo Disabling ICONV support
15054 if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
15055 CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
15056 # Export this since our headers include iconv.h
15057 XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
15058 ICONV_LIBS="-L$with_iconv/lib"
15061 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
15062 if test "x$ac_cv_header_iconv_h" = xyes; then :
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15064 $as_echo_n "checking for iconv... " >&6; }
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 #include <stdlib.h>
15073 iconv_t cd = iconv_open ("","");
15074 iconv (cd, NULL, NULL, NULL, NULL);
15079 if ac_fn_c_try_link "$LINENO"; then :
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15082 $as_echo "yes" >&6; }
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15087 $as_echo "no" >&6; }
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in -liconv" >&5
15089 $as_echo_n "checking for iconv in -liconv... " >&6; }
15091 _ldflags="${LDFLAGS}"
15093 LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
15094 LIBS="${LIBS} -liconv"
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15098 #include <stdlib.h>
15104 iconv_t cd = iconv_open ("","");
15105 iconv (cd, NULL, NULL, NULL, NULL);
15110 if ac_fn_c_try_link "$LINENO"; then :
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15113 $as_echo "yes" >&6; }
15115 ICONV_LIBS="${ICONV_LIBS} -liconv"
15117 LDFLAGS="${_ldflags}"
15120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15121 $as_echo "no" >&6; }
15123 LDFLAGS="${_ldflags}"
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15128 rm -f core conftest.err conftest.$ac_objext \
15129 conftest$ac_exeext conftest.$ac_ext
15134 if test "$WITH_ICONV" = "1" ; then
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
15136 $as_echo_n "checking for iconv declaration... " >&6; }
15137 if ${xml_cv_iconv_arg2+:} false; then :
15138 $as_echo_n "(cached) " >&6
15141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15142 /* end confdefs.h. */
15143 #include <stdlib.h>
15149 #if defined(__STDC__) || defined(__cplusplus)
15150 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15163 if ac_fn_c_try_compile "$LINENO"; then :
15164 xml_cv_iconv_arg2=""
15166 xml_cv_iconv_arg2="const"
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15172 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);"
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xml_xxx:-
15174 }$xml_cv_iconv_decl" >&5
15175 $as_echo "${xml_xxx:-
15176 }$xml_cv_iconv_decl" >&6; }
15178 cat >>confdefs.h <<_ACEOF
15179 #define ICONV_CONST $xml_cv_iconv_arg2
15194 XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
15195 XML_LIBTOOLLIBS="libxml2.la"
15199 if test "$with_icu" != "yes" ; then
15200 echo Disabling ICU support
15202 ICU_CONFIG=icu-config
15203 if ${ICU_CONFIG} --cflags >/dev/null 2>&1
15205 ICU_LIBS=`icu-config --ldflags`
15206 LDFLAGS="$LDFLAGS $ICU_LIBS"
15208 echo Enabling ICU support
15210 as_fn_error $? "libicu config program icu-config not found" "$LINENO" 5
15216 if test "$WITH_ICONV" != "1" ; then
15217 if test "$with_iso8859x" = "no" ; then
15218 echo Disabling ISO8859X support
15224 if test "$with_schematron" = "no" ; then
15225 echo "Disabling Schematron support"
15229 echo "Enabled Schematron support"
15231 TEST_SCHEMATRON="Schematrontests"
15238 if test "$with_schemas" = "no" ; then
15239 echo "Disabling Schemas/Relax-NG support"
15243 echo "Enabled Schemas/Relax-NG support"
15245 TEST_SCHEMAS="Schemastests Relaxtests"
15246 if test "$PYTHON_INCLUDES" != "" ; then
15247 PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
15254 if test "$with_regexps" = "no" ; then
15255 echo Disabling Regexps support
15260 TEST_REGEXPS="Regexptests Automatatests"
15265 if test "$with_debug" = "no" ; then
15266 echo Disabling DEBUG support
15272 DEBUG_OBJ=debugXML.o
15273 TEST_DEBUG=Scripttests
15279 if test "$with_mem_debug" = "yes" ; then
15280 if test "$with_thread_alloc" = "yes" ; then
15281 echo Disabling memory debug - cannot use mem-debug with thread-alloc!
15284 echo Enabling memory debug support
15292 if test "$with_run_debug" = "yes" ; then
15293 echo Enabling runtime debug support
15300 WIN32_EXTRA_LIBADD=
15301 WIN32_EXTRA_LDFLAGS=
15302 CYGWIN_EXTRA_LDFLAGS=
15303 CYGWIN_EXTRA_PYTHON_LIBADD=
15304 WIN32_EXTRA_PYTHON_LIBADD=
15307 CPPFLAGS="$CPPFLAGS -DWIN32"
15308 WIN32_EXTRA_LIBADD="-lws2_32"
15309 WIN32_EXTRA_LDFLAGS="-no-undefined"
15311 $as_echo "#define _WINSOCKAPI_ 1" >>confdefs.h
15313 if test "${PYTHON}" != ""
15315 WIN32_EXTRA_PYTHON_LIBADD="-L${pythondir}/../../libs -lpython$(echo ${PYTHON_VERSION} | tr -d .)"
15319 CYGWIN_EXTRA_LDFLAGS="-no-undefined"
15320 if test "${PYTHON}" != ""
15322 CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
15332 for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
15334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15337 cat >>confdefs.h <<_ACEOF
15338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15347 if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
15349 echo Enabling code coverage for GCC
15350 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
15351 LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
15353 echo Disabling code coverage for GCC
15377 RELDATE=`date +'%a %b %e %Y'`
15381 rm -f COPYING.LIB COPYING
15382 ln -s Copyright COPYING
15384 # keep on one line for cygwin c.f. #130896
15385 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"
15387 cat >confcache <<\_ACEOF
15388 # This file is a shell script that caches the results of configure
15389 # tests run on this system so they can be shared between configure
15390 # scripts and configure runs, see configure's option --config-cache.
15391 # It is not useful on other systems. If it contains results you don't
15392 # want to keep, you may remove or edit it.
15394 # config.status only pays attention to the cache file if you give it
15395 # the --recheck option to rerun configure.
15397 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15398 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15399 # following values.
15403 # The following way of writing the cache mishandles newlines in values,
15404 # but we know of no workaround that is simple, portable, and efficient.
15405 # So, we kill variables containing newlines.
15406 # Ultrix sh set writes to stderr and can't be redirected directly,
15407 # and sets the high bit in the cache file unless we assign to the vars.
15409 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15410 eval ac_val=\$$ac_var
15414 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15415 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15418 _ | IFS | as_nl) ;; #(
15419 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15420 *) { eval $ac_var=; unset $ac_var;} ;;
15426 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15427 *${as_nl}ac_space=\ *)
15428 # `set' does not quote correctly, so add quotes: double-quote
15429 # substitution turns \\\\ into \\, and sed turns \\ into \.
15432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15435 # `set' quotes correctly as required by POSIX, so do not add quotes.
15436 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15445 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15447 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15449 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15450 if test -w "$cache_file"; then
15451 if test "x$cache_file" != "x/dev/null"; then
15452 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15453 $as_echo "$as_me: updating cache $cache_file" >&6;}
15454 if test ! -f "$cache_file" || test -h "$cache_file"; then
15455 cat confcache >"$cache_file"
15457 case $cache_file in #(
15459 mv -f confcache "$cache_file"$$ &&
15460 mv -f "$cache_file"$$ "$cache_file" ;; #(
15462 mv -f confcache "$cache_file" ;;
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15468 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15473 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15474 # Let make expand exec_prefix.
15475 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15477 DEFS=-DHAVE_CONFIG_H
15482 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15483 # 1. Remove the extension, and $U if already installed.
15484 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15485 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15486 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15487 # will be set to the directory where LIBOBJS objects are built.
15488 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15489 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15491 LIBOBJS=$ac_libobjs
15493 LTLIBOBJS=$ac_ltlibobjs
15496 if test -n "$EXEEXT"; then
15498 am__EXEEXT_FALSE='#'
15500 am__EXEEXT_TRUE='#'
15504 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15505 as_fn_error $? "conditional \"AMDEP\" was never defined.
15506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15508 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15509 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15512 if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
15513 as_fn_error $? "conditional \"USE_VERSION_SCRIPT\" was never defined.
15514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15516 if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
15517 as_fn_error $? "conditional \"REBUILD_DOCS\" was never defined.
15518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15520 if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
15521 as_fn_error $? "conditional \"WITH_PYTHON\" was never defined.
15522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15524 if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
15525 as_fn_error $? "conditional \"WITH_TRIO_SOURCES\" was never defined.
15526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15529 : "${CONFIG_STATUS=./config.status}"
15531 ac_clean_files_save=$ac_clean_files
15532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15534 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15536 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15538 # Generated by $as_me.
15539 # Run this file to recreate the current configuration.
15540 # Compiler output produced by configure, useful for debugging
15541 # configure, is in config.log if it exists.
15544 ac_cs_recheck=false
15547 SHELL=\${CONFIG_SHELL-$SHELL}
15550 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15551 ## -------------------- ##
15552 ## M4sh Initialization. ##
15553 ## -------------------- ##
15555 # Be more Bourne compatible
15556 DUALCASE=1; export DUALCASE # for MKS sh
15557 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15560 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15561 # is contrary to our usage. Disable this feature.
15562 alias -g '${1+"$@"}'='"$@"'
15563 setopt NO_GLOB_SUBST
15565 case `(set -o) 2>/dev/null` in #(
15577 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15578 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15580 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15581 # Prefer a ksh shell builtin over an external printf program on Solaris,
15582 # but without wasting forks for bash or zsh.
15583 if test -z "$BASH_VERSION$ZSH_VERSION" \
15584 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15585 as_echo='print -r --'
15586 as_echo_n='print -rn --'
15587 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15588 as_echo='printf %s\n'
15589 as_echo_n='printf %s'
15591 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15592 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15593 as_echo_n='/usr/ucb/echo -n'
15595 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15596 as_echo_n_body='eval
15600 expr "X$arg" : "X\\(.*\\)$as_nl";
15601 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15603 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15605 export as_echo_n_body
15606 as_echo_n='sh -c $as_echo_n_body as_echo'
15608 export as_echo_body
15609 as_echo='sh -c $as_echo_body as_echo'
15612 # The user is always right.
15613 if test "${PATH_SEPARATOR+set}" != set; then
15615 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15616 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15623 # We need space, tab and new line, in precisely that order. Quoting is
15624 # there to prevent editors from complaining about space-tab.
15625 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15626 # splitting by setting IFS to empty value.)
15629 # Find who we are. Look in the path if we contain no directory separator.
15632 *[\\/]* ) as_myself=$0 ;;
15633 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15637 test -z "$as_dir" && as_dir=.
15638 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15644 # We did not find ourselves, most probably we were run as `sh COMMAND'
15645 # in which case we are not to be found in the path.
15646 if test "x$as_myself" = x; then
15649 if test ! -f "$as_myself"; then
15650 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15654 # Unset variables that we do not need and which cause bugs (e.g. in
15655 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15656 # suppresses any "Segmentation fault" message there. '((' could
15657 # trigger a bug in pdksh 5.2.14.
15658 for as_var in BASH_ENV ENV MAIL MAILPATH
15659 do eval test x\${$as_var+set} = xset \
15660 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15673 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15676 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15677 # ----------------------------------------
15678 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15679 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15680 # script with STATUS, using 1 if that was 0.
15683 as_status=$1; test $as_status -eq 0 && as_status=1
15685 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15686 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15688 $as_echo "$as_me: error: $2" >&2
15689 as_fn_exit $as_status
15693 # as_fn_set_status STATUS
15694 # -----------------------
15695 # Set $? to STATUS, without forking.
15696 as_fn_set_status ()
15699 } # as_fn_set_status
15701 # as_fn_exit STATUS
15702 # -----------------
15703 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15707 as_fn_set_status $1
15713 # Portably unset VAR.
15716 { eval $1=; unset $1;}
15718 as_unset=as_fn_unset
15719 # as_fn_append VAR VALUE
15720 # ----------------------
15721 # Append the text in VALUE to the end of the definition contained in VAR. Take
15722 # advantage of any shell optimizations that allow amortized linear growth over
15723 # repeated appends, instead of the typical quadratic growth present in naive
15725 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15726 eval 'as_fn_append ()
15737 # as_fn_arith ARG...
15738 # ------------------
15739 # Perform arithmetic evaluation on the ARGs, and store the result in the
15740 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15741 # must be portable across $(()) and expr.
15742 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15743 eval 'as_fn_arith ()
15750 as_val=`expr "$@" || test $? -eq 1`
15755 if expr a : '\(a\)' >/dev/null 2>&1 &&
15756 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15762 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15763 as_basename=basename
15768 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15774 as_me=`$as_basename -- "$0" ||
15775 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15776 X"$0" : 'X\(//\)$' \| \
15777 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15779 sed '/^.*\/\([^/][^/]*\)\/*$/{
15793 # Avoid depending upon Character Ranges.
15794 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15795 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15796 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15797 as_cr_digits='0123456789'
15798 as_cr_alnum=$as_cr_Letters$as_cr_digits
15800 ECHO_C= ECHO_N= ECHO_T=
15801 case `echo -n x` in #(((((
15803 case `echo 'xy\c'` in
15804 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15806 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15813 rm -f conf$$ conf$$.exe conf$$.file
15814 if test -d conf$$.dir; then
15815 rm -f conf$$.dir/conf$$.file
15818 mkdir conf$$.dir 2>/dev/null
15820 if (echo >conf$$.file) 2>/dev/null; then
15821 if ln -s conf$$.file conf$$ 2>/dev/null; then
15823 # ... but there are two gotchas:
15824 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15825 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15826 # In both cases, we have to default to `cp -p'.
15827 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15829 elif ln conf$$.file conf$$ 2>/dev/null; then
15837 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15838 rmdir conf$$.dir 2>/dev/null
15843 # Create "$as_dir" as a directory, including parents if necessary.
15848 -*) as_dir=./$as_dir;;
15850 test -d "$as_dir" || eval $as_mkdir_p || {
15854 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15855 *) as_qdir=$as_dir;;
15857 as_dirs="'$as_qdir' $as_dirs"
15858 as_dir=`$as_dirname -- "$as_dir" ||
15859 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15860 X"$as_dir" : 'X\(//\)[^/]' \| \
15861 X"$as_dir" : 'X\(//\)$' \| \
15862 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15863 $as_echo X"$as_dir" |
15864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15868 /^X\(\/\/\)[^/].*/{
15881 test -d "$as_dir" && break
15883 test -z "$as_dirs" || eval "mkdir $as_dirs"
15884 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15888 if mkdir -p . 2>/dev/null; then
15889 as_mkdir_p='mkdir -p "$as_dir"'
15891 test -d ./-p && rmdir ./-p
15895 if test -x / >/dev/null 2>&1; then
15896 as_test_x='test -x'
15898 if ls -dL / >/dev/null 2>&1; then
15905 if test -d "$1"; then
15911 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15912 ???[sx]*):;;*)false;;esac;fi
15916 as_executable_p=$as_test_x
15918 # Sed expression to map a string onto a valid CPP name.
15919 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15921 # Sed expression to map a string onto a valid variable name.
15922 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15926 ## ----------------------------------- ##
15927 ## Main body of $CONFIG_STATUS script. ##
15928 ## ----------------------------------- ##
15930 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15932 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15933 # Save the log message, to keep $0 and so on meaningful, and to
15934 # report actual input values of CONFIG_FILES etc. instead of their
15935 # values after options handling.
15937 This file was extended by $as_me, which was
15938 generated by GNU Autoconf 2.68. Invocation command line was
15940 CONFIG_FILES = $CONFIG_FILES
15941 CONFIG_HEADERS = $CONFIG_HEADERS
15942 CONFIG_LINKS = $CONFIG_LINKS
15943 CONFIG_COMMANDS = $CONFIG_COMMANDS
15946 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15951 case $ac_config_files in *"
15952 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15955 case $ac_config_headers in *"
15956 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15961 # Files that config.status was made for.
15962 config_files="$ac_config_files"
15963 config_headers="$ac_config_headers"
15964 config_commands="$ac_config_commands"
15968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 \`$as_me' instantiates files and other configuration actions
15971 from templates according to the current configuration. Unless the files
15972 and actions are specified as TAGs, all are instantiated by default.
15974 Usage: $0 [OPTION]... [TAG]...
15976 -h, --help print this help, then exit
15977 -V, --version print version number and configuration settings, then exit
15978 --config print configuration, then exit
15979 -q, --quiet, --silent
15980 do not print progress messages
15981 -d, --debug don't remove temporary files
15982 --recheck update $as_me by reconfiguring in the same conditions
15983 --file=FILE[:TEMPLATE]
15984 instantiate the configuration file FILE
15985 --header=FILE[:TEMPLATE]
15986 instantiate the configuration header FILE
15988 Configuration files:
15991 Configuration headers:
15994 Configuration commands:
15997 Report bugs to the package provider."
16000 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16001 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16004 configured by $0, generated by GNU Autoconf 2.68,
16005 with options \\"\$ac_cs_config\\"
16007 Copyright (C) 2010 Free Software Foundation, Inc.
16008 This config.status script is free software; the Free Software Foundation
16009 gives unlimited permission to copy, distribute and modify it."
16016 test -n "\$AWK" || AWK=awk
16019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16020 # The default lists apply if the user does not specify any file.
16026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16027 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16031 ac_option=`expr "X$1" : 'X\([^=]*\)='`
16043 # Handling of the options.
16044 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16046 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16047 $as_echo "$ac_cs_version"; exit ;;
16048 --config | --confi | --conf | --con | --co | --c )
16049 $as_echo "$ac_cs_config"; exit ;;
16050 --debug | --debu | --deb | --de | --d | -d )
16052 --file | --fil | --fi | --f )
16055 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16056 '') as_fn_error $? "missing file argument" ;;
16058 as_fn_append CONFIG_FILES " '$ac_optarg'"
16059 ac_need_defaults=false;;
16060 --header | --heade | --head | --hea )
16063 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16065 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16066 ac_need_defaults=false;;
16068 # Conflict between --help and --header
16069 as_fn_error $? "ambiguous option: \`$1'
16070 Try \`$0 --help' for more information.";;
16071 --help | --hel | -h )
16072 $as_echo "$ac_cs_usage"; exit ;;
16073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16074 | -silent | --silent | --silen | --sile | --sil | --si | --s)
16077 # This is an error.
16078 -*) as_fn_error $? "unrecognized option: \`$1'
16079 Try \`$0 --help' for more information." ;;
16081 *) as_fn_append ac_config_targets " $1"
16082 ac_need_defaults=false ;;
16088 ac_configure_extra_args=
16090 if $ac_cs_silent; then
16092 ac_configure_extra_args="$ac_configure_extra_args --silent"
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 if \$ac_cs_recheck; then
16098 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16100 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16101 CONFIG_SHELL='$SHELL'
16102 export CONFIG_SHELL
16107 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16111 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16112 ## Running $as_me. ##
16118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16122 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16125 # The HP-UX ksh and POSIX shell print the target directory to stdout
16126 # if CDPATH is set.
16127 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16129 sed_quote_subst='$sed_quote_subst'
16130 double_quote_subst='$double_quote_subst'
16131 delay_variable_subst='$delay_variable_subst'
16132 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16133 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16134 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16135 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16136 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16137 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16138 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16139 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16140 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16141 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16142 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16143 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16144 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16145 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16146 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16147 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16148 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16149 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16150 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16151 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16152 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16153 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16154 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16155 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16156 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16157 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16158 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16159 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16160 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16161 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16162 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16163 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16164 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16165 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16166 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16167 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16168 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16169 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16170 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16171 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16172 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16173 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16174 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16175 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16176 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16177 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16178 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16179 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16180 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16181 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16182 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16183 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16184 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16185 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16186 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16187 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16188 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"`'
16189 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16190 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16191 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16192 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16193 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16194 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16195 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16196 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16197 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16198 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16199 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16200 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16201 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16202 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16203 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16204 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16205 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16206 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16207 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16208 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16209 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16210 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16211 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16212 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16213 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16214 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16215 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16216 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16217 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16218 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16219 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16220 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16221 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16222 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16223 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16224 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16225 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16226 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16227 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16228 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16229 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16230 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16231 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16232 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16233 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16234 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16235 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16236 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16237 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16238 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16239 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16240 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16241 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16242 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16243 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16244 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16245 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16246 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16247 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16248 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16249 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16250 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16251 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16252 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16253 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16254 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16255 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16256 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16257 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16258 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16259 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16260 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16261 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16262 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16265 LTCFLAGS='$LTCFLAGS'
16266 compiler='$compiler_DEFAULT'
16268 # A function that is used when there is no print builtin or printf.
16269 func_fallback_echo ()
16271 eval 'cat <<_LTECHO_EOF
16276 # Quote evaled strings.
16292 deplibs_check_method \
16296 sharedlib_from_linklib_cmd \
16299 archiver_list_spec \
16305 lt_cv_sys_global_symbol_pipe \
16306 lt_cv_sys_global_symbol_to_cdecl \
16307 lt_cv_sys_global_symbol_to_c_name_address \
16308 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16309 nm_file_list_spec \
16310 lt_prog_compiler_no_builtin_flag \
16311 lt_prog_compiler_pic \
16312 lt_prog_compiler_wl \
16313 lt_prog_compiler_static \
16314 lt_cv_prog_compiler_c_o \
16323 export_dynamic_flag_spec \
16324 whole_archive_flag_spec \
16325 compiler_needs_object \
16327 allow_undefined_flag \
16328 no_undefined_flag \
16329 hardcode_libdir_flag_spec \
16330 hardcode_libdir_flag_spec_ld \
16331 hardcode_libdir_separator \
16335 variables_saved_for_relink \
16337 library_names_spec \
16339 install_override_mode \
16343 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16344 *[\\\\\\\`\\"\\\$]*)
16345 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16348 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16353 # Double-quote double-evaled strings.
16354 for var in reload_cmds \
16355 old_postinstall_cmds \
16356 old_postuninstall_cmds \
16358 extract_expsyms_cmds \
16359 old_archive_from_new_cmds \
16360 old_archive_from_expsyms_cmds \
16362 archive_expsym_cmds \
16364 module_expsym_cmds \
16365 export_symbols_cmds \
16369 postuninstall_cmds \
16371 sys_lib_search_path_spec \
16372 sys_lib_dlsearch_path_spec; do
16373 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16374 *[\\\\\\\`\\"\\\$]*)
16375 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16378 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16383 ac_aux_dir='$ac_aux_dir'
16384 xsi_shell='$xsi_shell'
16385 lt_shell_append='$lt_shell_append'
16387 # See if we are running on zsh, and set the options which allow our
16388 # commands through without removal of \ escapes INIT.
16389 if test -n "\${ZSH_VERSION+set}" ; then
16390 setopt NO_GLOB_SUBST
16396 TIMESTAMP='$TIMESTAMP'
16405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16407 # Handling of arguments.
16408 for ac_config_target in $ac_config_targets
16410 case $ac_config_target in
16411 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16412 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16413 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16414 "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
16415 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16416 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16417 "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
16418 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16419 "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
16420 "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
16421 "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
16422 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
16423 "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
16424 "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
16425 "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
16426 "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
16427 "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
16428 "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
16429 "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
16431 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16436 # If the user did not use the arguments to specify the items to instantiate,
16437 # then the envvar interface is used. Set only those that are not.
16438 # We use the long form for the default assignment because of an extremely
16439 # bizarre bug on SunOS 4.1.3.
16440 if $ac_need_defaults; then
16441 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16442 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16443 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16446 # Have a temporary directory for convenience. Make it in the build tree
16447 # simply because there is no reason against having it here, and in addition,
16448 # creating and moving files from /tmp can sometimes cause problems.
16449 # Hook for its removal unless debugging.
16450 # Note that there is a small window in which the directory will not be cleaned:
16451 # after its creation but before its name has been assigned to `$tmp'.
16455 trap 'exit_status=$?
16456 : "${ac_tmp:=$tmp}"
16457 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16459 trap 'as_fn_exit 1' 1 2 13 15
16461 # Create a (secure) tmp directory for tmp files.
16464 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16468 tmp=./conf$$-$RANDOM
16469 (umask 077 && mkdir "$tmp")
16470 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16473 # Set up the scripts for CONFIG_FILES section.
16474 # No need to generate them if there are no CONFIG_FILES.
16475 # This happens for instance with `./config.status config.h'.
16476 if test -n "$CONFIG_FILES"; then
16479 ac_cr=`echo X | tr X '\015'`
16480 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16481 # But we know of no other shell where ac_cr would be empty at this
16482 # point, so we can use a bashism as a fallback.
16483 if test "x$ac_cr" = x; then
16484 eval ac_cr=\$\'\\r\'
16486 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16487 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16490 ac_cs_awk_cr=$ac_cr
16493 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16498 echo "cat >conf$$subs.awk <<_ACEOF" &&
16499 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16501 } >conf$$subs.sh ||
16502 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16503 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16505 for ac_last_try in false false false false false :; do
16506 . ./conf$$subs.sh ||
16507 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16509 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16510 if test $ac_delim_n = $ac_delim_num; then
16512 elif $ac_last_try; then
16513 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16515 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16518 rm -f conf$$subs.sh
16520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16521 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16525 s/^/S["/; s/!.*/"]=/
16535 s/\(.\{148\}\)..*/\1/
16537 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16542 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16549 s/\(.\{148\}\)..*/\1/
16551 s/["\\]/\\&/g; s/^/"/; s/$/"/
16555 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16560 ' <conf$$subs.awk | sed '
16565 ' >>$CONFIG_STATUS || ac_write_fail=1
16566 rm -f conf$$subs.awk
16567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16569 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16570 for (key in S) S_is_set[key] = 1
16576 nfields = split(line, field, "@")
16578 len = length(field[1])
16579 for (i = 2; i < nfields; i++) {
16581 keylen = length(key)
16582 if (S_is_set[key]) {
16584 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16585 len += length(value) + length(field[++i])
16596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16597 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16598 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16601 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16602 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16605 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16606 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16607 # trailing colons and then remove the whole line if VPATH becomes empty
16608 # (actually we leave an empty line to preserve line numbers).
16609 if test "x$srcdir" = x.; then
16610 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16629 fi # test -n "$CONFIG_FILES"
16631 # Set up the scripts for CONFIG_HEADERS section.
16632 # No need to generate them if there are no CONFIG_HEADERS.
16633 # This happens for instance with `./config.status Makefile'.
16634 if test -n "$CONFIG_HEADERS"; then
16635 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16639 # Transform confdefs.h into an awk script `defines.awk', embedded as
16640 # here-document in config.status, that substitutes the proper values into
16641 # config.h.in to produce config.h.
16643 # Create a delimiter string that does not exist in confdefs.h, to ease
16644 # handling of long lines.
16646 for ac_last_try in false false :; do
16647 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16648 if test -z "$ac_tt"; then
16650 elif $ac_last_try; then
16651 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16653 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16657 # For the awk script, D is an array of macro values keyed by name,
16658 # likewise P contains macro parameters if any. Preserve backslash
16659 # newline sequences.
16661 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16663 s/.\{148\}/&'"$ac_delim"'/g
16666 s/^[ ]*#[ ]*define[ ][ ]*/ /
16673 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16675 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16679 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16680 D["\1"]=" \3\\\\\\n"\\/p
16682 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16687 s/.\{148\}/&'"$ac_delim"'/g
16692 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16695 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16697 ' <confdefs.h | sed '
16698 s/'"$ac_delim"'/"\\\
16699 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16702 for (key in D) D_is_set[key] = 1
16705 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16707 split(line, arg, " ")
16708 if (arg[1] == "#") {
16712 defundef = substr(arg[1], 2)
16715 split(mac1, mac2, "(") #)
16717 prefix = substr(line, 1, index(line, defundef) - 1)
16718 if (D_is_set[macro]) {
16719 # Preserve the white space surrounding the "#".
16720 print prefix "define", macro P[macro] D[macro]
16723 # Replace #undef with comments. This is necessary, for example,
16724 # in the case of _POSIX_SOURCE, which is predefined and required
16725 # on some systems where configure will not decide to define it.
16726 if (defundef == "undef") {
16727 print "/*", prefix defundef, macro, "*/"
16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16736 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16737 fi # test -n "$CONFIG_HEADERS"
16740 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16745 :[FHLC]) ac_mode=$ac_tag; continue;;
16747 case $ac_mode$ac_tag in
16749 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16750 :[FH]-) ac_tag=-:-;;
16751 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16768 -) ac_f="$ac_tmp/stdin";;
16769 *) # Look for the file first in the build tree, then in the source tree
16770 # (if the path is not absolute). The absolute path cannot be DOS-style,
16771 # because $ac_f cannot contain `:'.
16775 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16777 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16779 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16780 as_fn_append ac_file_inputs " '$ac_f'"
16783 # Let's still pretend it is `configure' which instantiates (i.e., don't
16784 # use $as_me), people would be surprised to read:
16785 # /* config.h. Generated by config.status. */
16786 configure_input='Generated from '`
16787 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16789 if test x"$ac_file" != x-; then
16790 configure_input="$ac_file. $configure_input"
16791 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16792 $as_echo "$as_me: creating $ac_file" >&6;}
16794 # Neutralize special characters interpreted by sed in replacement strings.
16795 case $configure_input in #(
16796 *\&* | *\|* | *\\* )
16797 ac_sed_conf_input=`$as_echo "$configure_input" |
16798 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16799 *) ac_sed_conf_input=$configure_input;;
16803 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16804 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16809 ac_dir=`$as_dirname -- "$ac_file" ||
16810 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16811 X"$ac_file" : 'X\(//\)[^/]' \| \
16812 X"$ac_file" : 'X\(//\)$' \| \
16813 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16814 $as_echo X"$ac_file" |
16815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16819 /^X\(\/\/\)[^/].*/{
16832 as_dir="$ac_dir"; as_fn_mkdir_p
16836 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16838 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16839 # A ".." for each directory in $ac_dir_suffix.
16840 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16841 case $ac_top_builddir_sub in
16842 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16843 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16846 ac_abs_top_builddir=$ac_pwd
16847 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16848 # for backward compatibility:
16849 ac_top_builddir=$ac_top_build_prefix
16852 .) # We are building in place.
16854 ac_top_srcdir=$ac_top_builddir_sub
16855 ac_abs_top_srcdir=$ac_pwd ;;
16856 [\\/]* | ?:[\\/]* ) # Absolute name.
16857 ac_srcdir=$srcdir$ac_dir_suffix;
16858 ac_top_srcdir=$srcdir
16859 ac_abs_top_srcdir=$srcdir ;;
16860 *) # Relative name.
16861 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16862 ac_top_srcdir=$ac_top_build_prefix$srcdir
16863 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16865 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16875 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16876 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16878 ac_MKDIR_P=$MKDIR_P
16880 [\\/$]* | ?:[\\/]* ) ;;
16881 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16886 # If the template does not know about datarootdir, expand it.
16887 # FIXME: This hack should be removed a few years after 2.60.
16888 ac_datarootdir_hack=; ac_datarootdir_seen=
16899 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16900 *datarootdir*) ac_datarootdir_seen=yes;;
16901 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16903 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16905 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16906 ac_datarootdir_hack='
16907 s&@datadir@&$datadir&g
16908 s&@docdir@&$docdir&g
16909 s&@infodir@&$infodir&g
16910 s&@localedir@&$localedir&g
16911 s&@mandir@&$mandir&g
16912 s&\\\${datarootdir}&$datarootdir&g' ;;
16916 # Neutralize VPATH when `$srcdir' = `.'.
16917 # Shell code in configure.ac might set extrasub.
16918 # FIXME: do we really want to maintain this feature?
16919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16920 ac_sed_extra="$ac_vpsub
16923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16926 s|@configure_input@|$ac_sed_conf_input|;t t
16927 s&@top_builddir@&$ac_top_builddir_sub&;t t
16928 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16929 s&@srcdir@&$ac_srcdir&;t t
16930 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16931 s&@top_srcdir@&$ac_top_srcdir&;t t
16932 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16933 s&@builddir@&$ac_builddir&;t t
16934 s&@abs_builddir@&$ac_abs_builddir&;t t
16935 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16936 s&@INSTALL@&$ac_INSTALL&;t t
16937 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16938 $ac_datarootdir_hack
16940 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16941 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16943 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16944 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16945 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16946 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16948 which seems to be undefined. Please make sure it is defined" >&5
16949 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16950 which seems to be undefined. Please make sure it is defined" >&2;}
16952 rm -f "$ac_tmp/stdin"
16954 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16955 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16957 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16963 if test x"$ac_file" != x-; then
16965 $as_echo "/* $configure_input */" \
16966 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16967 } >"$ac_tmp/config.h" \
16968 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16969 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16971 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16974 mv "$ac_tmp/config.h" "$ac_file" \
16975 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16978 $as_echo "/* $configure_input */" \
16979 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16980 || as_fn_error $? "could not create -" "$LINENO" 5
16982 # Compute "$ac_file"'s index in $config_headers.
16985 for _am_header in $config_headers :; do
16986 case $_am_header in
16987 $_am_arg | $_am_arg:* )
16990 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16993 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16994 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16995 X"$_am_arg" : 'X\(//\)[^/]' \| \
16996 X"$_am_arg" : 'X\(//\)$' \| \
16997 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16998 $as_echo X"$_am_arg" |
16999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17003 /^X\(\/\/\)[^/].*/{
17015 s/.*/./; q'`/stamp-h$_am_stamp_count
17018 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17019 $as_echo "$as_me: executing $ac_file commands" >&6;}
17024 case $ac_file$ac_mode in
17025 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17026 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17027 # are listed without --file. Let's play safe and only enable the eval
17028 # if we detect the quoting.
17029 case $CONFIG_FILES in
17030 *\'*) eval set x "$CONFIG_FILES" ;;
17031 *) set x $CONFIG_FILES ;;
17036 # Strip MF so we end up with the name of the file.
17037 mf=`echo "$mf" | sed -e 's/:.*$//'`
17038 # Check whether this is an Automake generated Makefile or not.
17039 # We used to match only the files named `Makefile.in', but
17040 # some people rename them; so instead we look at the file content.
17041 # Grep'ing the first line is not enough: some people post-process
17042 # each Makefile.in and add a new line on top of each file to say so.
17043 # Grep'ing the whole file is not good either: AIX grep has a line
17044 # limit of 2048, but all sed's we know have understand at least 4000.
17045 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17046 dirpart=`$as_dirname -- "$mf" ||
17047 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17048 X"$mf" : 'X\(//\)[^/]' \| \
17049 X"$mf" : 'X\(//\)$' \| \
17050 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17056 /^X\(\/\/\)[^/].*/{
17072 # Extract the definition of DEPDIR, am__include, and am__quote
17073 # from the Makefile without running `make'.
17074 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17075 test -z "$DEPDIR" && continue
17076 am__include=`sed -n 's/^am__include = //p' < "$mf"`
17077 test -z "am__include" && continue
17078 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17079 # When using ansi2knr, U may be empty or an underscore; expand it
17080 U=`sed -n 's/^U = //p' < "$mf"`
17081 # Find all dependency output files, they are included files with
17082 # $(DEPDIR) in their names. We invoke sed twice because it is the
17083 # simplest approach to changing $(DEPDIR) to its actual value in the
17085 for file in `sed -n "
17086 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17087 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17088 # Make sure the directory exists.
17089 test -f "$dirpart/$file" && continue
17090 fdir=`$as_dirname -- "$file" ||
17091 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17092 X"$file" : 'X\(//\)[^/]' \| \
17093 X"$file" : 'X\(//\)$' \| \
17094 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17095 $as_echo X"$file" |
17096 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17100 /^X\(\/\/\)[^/].*/{
17113 as_dir=$dirpart/$fdir; as_fn_mkdir_p
17114 # echo "creating $dirpart/$file"
17115 echo '# dummy' > "$dirpart/$file"
17122 # See if we are running on zsh, and set the options which allow our
17123 # commands through without removal of \ escapes.
17124 if test -n "${ZSH_VERSION+set}" ; then
17125 setopt NO_GLOB_SUBST
17128 cfgfile="${ofile}T"
17129 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17132 cat <<_LT_EOF >> "$cfgfile"
17135 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17136 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17137 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17138 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17140 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17141 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17143 # Written by Gordon Matzigkeit, 1996
17145 # This file is part of GNU Libtool.
17147 # GNU Libtool is free software; you can redistribute it and/or
17148 # modify it under the terms of the GNU General Public License as
17149 # published by the Free Software Foundation; either version 2 of
17150 # the License, or (at your option) any later version.
17152 # As a special exception to the GNU General Public License,
17153 # if you distribute this file as part of a program or library that
17154 # is built using GNU Libtool, you may include this file under the
17155 # same distribution terms that you use for the rest of that program.
17157 # GNU Libtool is distributed in the hope that it will be useful,
17158 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17159 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17160 # GNU General Public License for more details.
17162 # You should have received a copy of the GNU General Public License
17163 # along with GNU Libtool; see the file COPYING. If not, a copy
17164 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17165 # obtained by writing to the Free Software Foundation, Inc.,
17166 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17169 # The names of the tagged configurations supported by this script.
17172 # ### BEGIN LIBTOOL CONFIG
17174 # Assembler program.
17177 # DLL creation program.
17178 DLLTOOL=$lt_DLLTOOL
17180 # Object dumper program.
17181 OBJDUMP=$lt_OBJDUMP
17183 # Which release of libtool.m4 was used?
17184 macro_version=$macro_version
17185 macro_revision=$macro_revision
17187 # Whether or not to build shared libraries.
17188 build_libtool_libs=$enable_shared
17190 # Whether or not to build static libraries.
17191 build_old_libs=$enable_static
17193 # What type of objects to build.
17196 # Whether or not to optimize for fast installation.
17197 fast_install=$enable_fast_install
17199 # Shell to use when invoking shell scripts.
17202 # An echo program that protects backslashes.
17206 host_alias=$host_alias
17210 # The build system.
17211 build_alias=$build_alias
17215 # A sed program that does not truncate output.
17218 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17219 Xsed="\$SED -e 1s/^X//"
17221 # A grep program that handles long lines.
17227 # A literal string matcher.
17230 # A BSD- or MS-compatible name lister.
17233 # Whether we need soft or hard links.
17236 # What is the maximum length of a command?
17237 max_cmd_len=$max_cmd_len
17239 # Object file suffix (normally "o").
17242 # Executable file suffix (normally "").
17245 # whether the shell understands "unset".
17248 # turn spaces into newlines.
17251 # turn newlines into spaces.
17254 # convert \$build file names to \$host format.
17255 to_host_file_cmd=$lt_cv_to_host_file_cmd
17257 # convert \$build files to toolchain format.
17258 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17260 # Method to check whether dependent libraries are shared objects.
17261 deplibs_check_method=$lt_deplibs_check_method
17263 # Command to use when deplibs_check_method = "file_magic".
17264 file_magic_cmd=$lt_file_magic_cmd
17266 # How to find potential files when deplibs_check_method = "file_magic".
17267 file_magic_glob=$lt_file_magic_glob
17269 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17270 want_nocaseglob=$lt_want_nocaseglob
17272 # Command to associate shared and link libraries.
17273 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17278 # Flags to create an archive.
17279 AR_FLAGS=$lt_AR_FLAGS
17281 # How to feed a file listing to the archiver.
17282 archiver_list_spec=$lt_archiver_list_spec
17284 # A symbol stripping program.
17287 # Commands used to install an old-style archive.
17289 old_postinstall_cmds=$lt_old_postinstall_cmds
17290 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17292 # Whether to use a lock for old archive extraction.
17293 lock_old_archive_extraction=$lock_old_archive_extraction
17298 # LTCC compiler flags.
17299 LTCFLAGS=$lt_CFLAGS
17301 # Take the output of nm and produce a listing of raw symbols and C names.
17302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17304 # Transform the output of nm in a proper C declaration.
17305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17307 # Transform the output of nm in a C name address pair.
17308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17310 # Transform the output of nm in a C name address pair when lib prefix is needed.
17311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17313 # Specify filename containing input files for \$NM.
17314 nm_file_list_spec=$lt_nm_file_list_spec
17316 # The root where to search for dependent libraries,and in which our libraries should be installed.
17317 lt_sysroot=$lt_sysroot
17319 # The name of the directory that contains temporary libtool files.
17322 # Used to examine libraries when file_magic_cmd begins with "file".
17323 MAGIC_CMD=$MAGIC_CMD
17325 # Must we lock files when doing compilation?
17326 need_locks=$lt_need_locks
17329 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17331 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17332 DSYMUTIL=$lt_DSYMUTIL
17334 # Tool to change global to local symbols on Mac OS X.
17337 # Tool to manipulate fat objects and archives on Mac OS X.
17340 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17343 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17344 OTOOL64=$lt_OTOOL64
17346 # Old archive suffix (normally "a").
17349 # Shared library suffix (normally ".so").
17350 shrext_cmds=$lt_shrext_cmds
17352 # The commands to extract the exported symbol list from a shared archive.
17353 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17355 # Variables whose values should be saved in libtool wrapper scripts and
17356 # restored at link time.
17357 variables_saved_for_relink=$lt_variables_saved_for_relink
17359 # Do we need the "lib" prefix for modules?
17360 need_lib_prefix=$need_lib_prefix
17362 # Do we need a version for libraries?
17363 need_version=$need_version
17365 # Library versioning type.
17366 version_type=$version_type
17368 # Shared library runtime path variable.
17369 runpath_var=$runpath_var
17371 # Shared library path variable.
17372 shlibpath_var=$shlibpath_var
17374 # Is shlibpath searched before the hard-coded library search path?
17375 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17377 # Format of library name prefix.
17378 libname_spec=$lt_libname_spec
17380 # List of archive names. First name is the real one, the rest are links.
17381 # The last name is the one that the linker finds with -lNAME
17382 library_names_spec=$lt_library_names_spec
17384 # The coded name of the library, if different from the real name.
17385 soname_spec=$lt_soname_spec
17387 # Permission mode override for installation of shared libraries.
17388 install_override_mode=$lt_install_override_mode
17390 # Command to use after installation of a shared archive.
17391 postinstall_cmds=$lt_postinstall_cmds
17393 # Command to use after uninstallation of a shared archive.
17394 postuninstall_cmds=$lt_postuninstall_cmds
17396 # Commands used to finish a libtool library installation in a directory.
17397 finish_cmds=$lt_finish_cmds
17399 # As "finish_cmds", except a single script fragment to be evaled but
17401 finish_eval=$lt_finish_eval
17403 # Whether we should hardcode library paths into libraries.
17404 hardcode_into_libs=$hardcode_into_libs
17406 # Compile-time system search path for libraries.
17407 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17409 # Run-time system search path for libraries.
17410 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17412 # Whether dlopen is supported.
17413 dlopen_support=$enable_dlopen
17415 # Whether dlopen of programs is supported.
17416 dlopen_self=$enable_dlopen_self
17418 # Whether dlopen of statically linked programs is supported.
17419 dlopen_self_static=$enable_dlopen_self_static
17421 # Commands to strip libraries.
17422 old_striplib=$lt_old_striplib
17423 striplib=$lt_striplib
17426 # The linker used to build libraries.
17429 # How to create reloadable object files.
17430 reload_flag=$lt_reload_flag
17431 reload_cmds=$lt_reload_cmds
17433 # Commands used to build an old-style archive.
17434 old_archive_cmds=$lt_old_archive_cmds
17436 # A language specific compiler.
17439 # Is the compiler the GNU compiler?
17442 # Compiler flag to turn off builtin functions.
17443 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17445 # Additional compiler flags for building library objects.
17446 pic_flag=$lt_lt_prog_compiler_pic
17448 # How to pass a linker flag through the compiler.
17449 wl=$lt_lt_prog_compiler_wl
17451 # Compiler flag to prevent dynamic linking.
17452 link_static_flag=$lt_lt_prog_compiler_static
17454 # Does compiler simultaneously support -c and -o options?
17455 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17457 # Whether or not to add -lc for building shared libraries.
17458 build_libtool_need_lc=$archive_cmds_need_lc
17460 # Whether or not to disallow shared libs when runtime libs are static.
17461 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17463 # Compiler flag to allow reflexive dlopens.
17464 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17466 # Compiler flag to generate shared objects directly from archives.
17467 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17469 # Whether the compiler copes with passing no objects directly.
17470 compiler_needs_object=$lt_compiler_needs_object
17472 # Create an old-style archive from a shared archive.
17473 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17475 # Create a temporary old-style archive to link instead of a shared archive.
17476 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17478 # Commands used to build a shared archive.
17479 archive_cmds=$lt_archive_cmds
17480 archive_expsym_cmds=$lt_archive_expsym_cmds
17482 # Commands used to build a loadable module if different from building
17483 # a shared archive.
17484 module_cmds=$lt_module_cmds
17485 module_expsym_cmds=$lt_module_expsym_cmds
17487 # Whether we are building with GNU ld or not.
17488 with_gnu_ld=$lt_with_gnu_ld
17490 # Flag that allows shared libraries with undefined symbols to be built.
17491 allow_undefined_flag=$lt_allow_undefined_flag
17493 # Flag that enforces no undefined symbols.
17494 no_undefined_flag=$lt_no_undefined_flag
17496 # Flag to hardcode \$libdir into a binary during linking.
17497 # This must work even if \$libdir does not exist
17498 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17500 # If ld is used when linking, flag to hardcode \$libdir into a binary
17501 # during linking. This must work even if \$libdir does not exist.
17502 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17504 # Whether we need a single "-rpath" flag with a separated argument.
17505 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17507 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17508 # DIR into the resulting binary.
17509 hardcode_direct=$hardcode_direct
17511 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17512 # DIR into the resulting binary and the resulting library dependency is
17513 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17514 # library is relocated.
17515 hardcode_direct_absolute=$hardcode_direct_absolute
17517 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17518 # into the resulting binary.
17519 hardcode_minus_L=$hardcode_minus_L
17521 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17522 # into the resulting binary.
17523 hardcode_shlibpath_var=$hardcode_shlibpath_var
17525 # Set to "yes" if building a shared library automatically hardcodes DIR
17526 # into the library and all subsequent libraries and executables linked
17528 hardcode_automatic=$hardcode_automatic
17530 # Set to yes if linker adds runtime paths of dependent libraries
17531 # to runtime path list.
17532 inherit_rpath=$inherit_rpath
17534 # Whether libtool must link a program against all its dependency libraries.
17535 link_all_deplibs=$link_all_deplibs
17537 # Set to "yes" if exported symbols are required.
17538 always_export_symbols=$always_export_symbols
17540 # The commands to list exported symbols.
17541 export_symbols_cmds=$lt_export_symbols_cmds
17543 # Symbols that should not be listed in the preloaded symbols.
17544 exclude_expsyms=$lt_exclude_expsyms
17546 # Symbols that must always be exported.
17547 include_expsyms=$lt_include_expsyms
17549 # Commands necessary for linking programs (against libraries) with templates.
17550 prelink_cmds=$lt_prelink_cmds
17552 # Commands necessary for finishing linking programs.
17553 postlink_cmds=$lt_postlink_cmds
17555 # Specify filename containing input files.
17556 file_list_spec=$lt_file_list_spec
17558 # How to hardcode a shared library path into an executable.
17559 hardcode_action=$hardcode_action
17561 # ### END LIBTOOL CONFIG
17567 cat <<\_LT_EOF >> "$cfgfile"
17568 # AIX sometimes has problems with the GCC collect2 program. For some
17569 # reason, if we set the COLLECT_NAMES environment variable, the problems
17570 # vanish in a puff of smoke.
17571 if test "X${COLLECT_NAMES+set}" != Xset; then
17573 export COLLECT_NAMES
17580 ltmain="$ac_aux_dir/ltmain.sh"
17583 # We use sed instead of cat because bash on DJGPP gets confused if
17584 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17585 # text mode, it properly converts lines to CR/LF. This bash problem
17586 # is reportedly fixed, but why not run on old versions too?
17587 sed '$q' "$ltmain" >> "$cfgfile" \
17588 || (rm -f "$cfgfile"; exit 1)
17590 if test x"$xsi_shell" = xyes; then
17591 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17595 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17596 \ * ) func_dirname_result="${3}" ;;\
17598 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17599 && mv -f "$cfgfile.tmp" "$cfgfile" \
17600 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17601 test 0 -eq $? || _lt_function_replace_fail=:
17604 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17607 \ func_basename_result="${1##*/}"\
17608 } # Extended-shell func_basename implementation' "$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 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17615 func_dirname_and_basename ()\
17618 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17619 \ * ) func_dirname_result="${3}" ;;\
17621 \ func_basename_result="${1##*/}"\
17622 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17623 && mv -f "$cfgfile.tmp" "$cfgfile" \
17624 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17625 test 0 -eq $? || _lt_function_replace_fail=:
17628 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17631 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17632 \ # positional parameters, so assign one to ordinary parameter first.\
17633 \ func_stripname_result=${3}\
17634 \ func_stripname_result=${func_stripname_result#"${1}"}\
17635 \ func_stripname_result=${func_stripname_result%"${2}"}\
17636 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17637 && mv -f "$cfgfile.tmp" "$cfgfile" \
17638 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17639 test 0 -eq $? || _lt_function_replace_fail=:
17642 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17643 func_split_long_opt ()\
17645 \ func_split_long_opt_name=${1%%=*}\
17646 \ func_split_long_opt_arg=${1#*=}\
17647 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17648 && mv -f "$cfgfile.tmp" "$cfgfile" \
17649 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17650 test 0 -eq $? || _lt_function_replace_fail=:
17653 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17654 func_split_short_opt ()\
17656 \ func_split_short_opt_arg=${1#??}\
17657 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17658 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17659 && mv -f "$cfgfile.tmp" "$cfgfile" \
17660 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17661 test 0 -eq $? || _lt_function_replace_fail=:
17664 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17668 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17669 \ *) func_lo2o_result=${1} ;;\
17671 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17672 && mv -f "$cfgfile.tmp" "$cfgfile" \
17673 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17674 test 0 -eq $? || _lt_function_replace_fail=:
17677 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17680 func_xform_result=${1%.*}.lo\
17681 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17682 && mv -f "$cfgfile.tmp" "$cfgfile" \
17683 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17684 test 0 -eq $? || _lt_function_replace_fail=:
17687 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17690 func_arith_result=$(( $* ))\
17691 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17692 && mv -f "$cfgfile.tmp" "$cfgfile" \
17693 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17694 test 0 -eq $? || _lt_function_replace_fail=:
17697 sed -e '/^func_len ()$/,/^} # func_len /c\
17700 func_len_result=${#1}\
17701 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17702 && mv -f "$cfgfile.tmp" "$cfgfile" \
17703 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17704 test 0 -eq $? || _lt_function_replace_fail=:
17708 if test x"$lt_shell_append" = xyes; then
17709 sed -e '/^func_append ()$/,/^} # func_append /c\
17712 eval "${1}+=\\${2}"\
17713 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17714 && mv -f "$cfgfile.tmp" "$cfgfile" \
17715 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17716 test 0 -eq $? || _lt_function_replace_fail=:
17719 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17720 func_append_quoted ()\
17722 \ func_quote_for_eval "${2}"\
17723 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17724 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17725 && mv -f "$cfgfile.tmp" "$cfgfile" \
17726 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17727 test 0 -eq $? || _lt_function_replace_fail=:
17730 # Save a `func_append' function call where possible by direct use of '+='
17731 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17732 && mv -f "$cfgfile.tmp" "$cfgfile" \
17733 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17734 test 0 -eq $? || _lt_function_replace_fail=:
17736 # Save a `func_append' function call even when '+=' is not available
17737 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17738 && mv -f "$cfgfile.tmp" "$cfgfile" \
17739 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17740 test 0 -eq $? || _lt_function_replace_fail=:
17743 if test x"$_lt_function_replace_fail" = x":"; then
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17745 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17749 mv -f "$cfgfile" "$ofile" ||
17750 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17761 ac_clean_files=$ac_clean_files_save
17763 test $ac_write_fail = 0 ||
17764 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17767 # configure is writing to config.log, and then calls config.status.
17768 # config.status does its own redirection, appending to config.log.
17769 # Unfortunately, on DOS this fails, as config.log is still kept open
17770 # by configure, so config.status won't be able to write to it; its
17771 # output is simply discarded. So we exec the FD to /dev/null,
17772 # effectively closing config.log, so it can be properly (re)opened and
17773 # appended to by config.status. When coming back to configure, we
17774 # need to make the FD available again.
17775 if test "$no_create" != yes; then
17777 ac_config_status_args=
17778 test "$silent" = yes &&
17779 ac_config_status_args="$ac_config_status_args --quiet"
17781 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17783 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17784 # would make configure fail if this is the last instruction.
17785 $ac_cs_success || as_fn_exit 1
17787 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17789 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17793 chmod +x xml2-config python/setup.py
17794 echo Done configuring