2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libxml++ 2.39.2.
5 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 PATH=/empty FPATH=/empty; export PATH FPATH
207 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209 test \$(( 1 + 1 )) = 2 || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B
279 $0: about your system, including any error possibly output
280 $0: before this message. Then install a modern shell, or
281 $0: manually run the script under such a shell if you do
288 SHELL=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE= GREP_OPTIONS=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410 as_val=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status=$1; test $as_status -eq 0 && as_status=1
424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit $as_status
431 if expr a : '\(a\)' >/dev/null 2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001; then
438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450 as_me=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits='0123456789'
474 as_cr_alnum=$as_cr_Letters$as_cr_digits
477 as_lineno_1=$LINENO as_lineno_1a=$LINENO
478 as_lineno_2=$LINENO as_lineno_2a=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x "$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec=no; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C= ECHO_N= ECHO_T=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525 rm -f conf$$ conf$$.exe conf$$.file
526 if test -d conf$$.dir; then
527 rm -f conf$$.dir/conf$$.file
530 mkdir conf$$.dir 2>/dev/null
532 if (echo >conf$$.file) 2>/dev/null; then
533 if ln -s conf$$.file conf$$ 2>/dev/null; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541 elif ln conf$$.file conf$$ 2>/dev/null; then
549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550 rmdir conf$$.dir 2>/dev/null
552 if mkdir -p . 2>/dev/null; then
553 as_mkdir_p='mkdir -p "$as_dir"'
555 test -d ./-p && rmdir ./-p
560 as_executable_p=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" || exec 7<&0 </dev/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix=/usr/local
584 ac_config_libobj_dir=.
591 # Identity of this package.
592 PACKAGE_NAME='libxml++'
593 PACKAGE_TARNAME='libxml++'
594 PACKAGE_VERSION='2.39.2'
595 PACKAGE_STRING='libxml++ 2.39.2'
596 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B'
597 PACKAGE_URL='http://libxmlplusplus.sourceforge.net/'
599 ac_unique_file="libxml++/libxml++.h"
600 # Factoring default headers for most tests.
601 ac_includes_default="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
636 ac_subst_vars='am__EXEEXT_FALSE
642 DISABLE_DEPRECATED_API_FALSE
643 DISABLE_DEPRECATED_API_TRUE
647 ENABLE_DOCUMENTATION_FALSE
648 ENABLE_DOCUMENTATION_TRUE
719 LIBXMLXX_MICRO_VERSION
720 LIBXMLXX_MINOR_VERSION
721 LIBXMLXX_MAJOR_VERSION
727 MAINTAINER_MODE_FALSE
741 INSTALL_STRIP_PROGRAM
783 program_transform_name
796 enable_option_checking
798 enable_maintainer_mode
799 enable_dependency_tracking
812 enable_deprecated_api
814 ac_precious_vars='build_alias
841 # Initialize some variables set by options.
843 ac_init_version=false
844 ac_unrecognized_opts=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name=s,x,x,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir='${exec_prefix}/bin'
870 sbindir='${exec_prefix}/sbin'
871 libexecdir='${exec_prefix}/libexec'
872 datarootdir='${prefix}/share'
873 datadir='${datarootdir}'
874 sysconfdir='${prefix}/etc'
875 sharedstatedir='${prefix}/com'
876 localstatedir='${prefix}/var'
877 includedir='${prefix}/include'
878 oldincludedir='/usr/include'
879 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir='${datarootdir}/info'
885 libdir='${exec_prefix}/lib'
886 localedir='${datarootdir}/locale'
887 mandir='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\$ac_option
901 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir | --bindir | --bindi | --bind | --bin | --bi)
914 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
917 -build | --build | --buil | --bui | --bu)
918 ac_prev=build_alias ;;
919 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
920 build_alias=$ac_optarg ;;
922 -cache-file | --cache-file | --cache-fil | --cache-fi \
923 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
924 ac_prev=cache_file ;;
925 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
926 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
927 cache_file=$ac_optarg ;;
930 cache_file=config.cache ;;
932 -datadir | --datadir | --datadi | --datad)
934 -datadir=* | --datadir=* | --datadi=* | --datad=*)
935 datadir=$ac_optarg ;;
937 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
938 | --dataroo | --dataro | --datar)
939 ac_prev=datarootdir ;;
940 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
941 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
942 datarootdir=$ac_optarg ;;
944 -disable-* | --disable-*)
945 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
948 as_fn_error $? "invalid feature name: $ac_useropt"
949 ac_useropt_orig=$ac_useropt
950 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep=', ';;
958 eval enable_$ac_useropt=no ;;
960 -docdir | --docdir | --docdi | --doc | --do)
962 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
965 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
970 -enable-* | --enable-*)
971 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
974 as_fn_error $? "invalid feature name: $ac_useropt"
975 ac_useropt_orig=$ac_useropt
976 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep=', ';;
984 eval enable_$ac_useropt=\$ac_optarg ;;
986 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
987 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
988 | --exec | --exe | --ex)
989 ac_prev=exec_prefix ;;
990 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
991 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
992 | --exec=* | --exe=* | --ex=*)
993 exec_prefix=$ac_optarg ;;
995 -gas | --gas | --ga | --g)
996 # Obsolete; use --with-gas.
999 -help | --help | --hel | --he | -h)
1000 ac_init_help=long ;;
1001 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1002 ac_init_help=recursive ;;
1003 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1004 ac_init_help=short ;;
1006 -host | --host | --hos | --ho)
1007 ac_prev=host_alias ;;
1008 -host=* | --host=* | --hos=* | --ho=*)
1009 host_alias=$ac_optarg ;;
1011 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015 htmldir=$ac_optarg ;;
1017 -includedir | --includedir | --includedi | --included | --include \
1018 | --includ | --inclu | --incl | --inc)
1019 ac_prev=includedir ;;
1020 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1021 | --includ=* | --inclu=* | --incl=* | --inc=*)
1022 includedir=$ac_optarg ;;
1024 -infodir | --infodir | --infodi | --infod | --info | --inf)
1026 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1027 infodir=$ac_optarg ;;
1029 -libdir | --libdir | --libdi | --libd)
1031 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1032 libdir=$ac_optarg ;;
1034 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1035 | --libexe | --libex | --libe)
1036 ac_prev=libexecdir ;;
1037 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1038 | --libexe=* | --libex=* | --libe=*)
1039 libexecdir=$ac_optarg ;;
1041 -localedir | --localedir | --localedi | --localed | --locale)
1042 ac_prev=localedir ;;
1043 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1044 localedir=$ac_optarg ;;
1046 -localstatedir | --localstatedir | --localstatedi | --localstated \
1047 | --localstate | --localstat | --localsta | --localst | --locals)
1048 ac_prev=localstatedir ;;
1049 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1050 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1051 localstatedir=$ac_optarg ;;
1053 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1056 mandir=$ac_optarg ;;
1058 -nfp | --nfp | --nf)
1059 # Obsolete; use --without-fp.
1062 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1063 | --no-cr | --no-c | -n)
1066 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1067 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1070 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1071 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1072 | --oldin | --oldi | --old | --ol | --o)
1073 ac_prev=oldincludedir ;;
1074 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1075 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1076 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1077 oldincludedir=$ac_optarg ;;
1079 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1082 prefix=$ac_optarg ;;
1084 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1085 | --program-pre | --program-pr | --program-p)
1086 ac_prev=program_prefix ;;
1087 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1088 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1089 program_prefix=$ac_optarg ;;
1091 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1092 | --program-suf | --program-su | --program-s)
1093 ac_prev=program_suffix ;;
1094 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1095 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1096 program_suffix=$ac_optarg ;;
1098 -program-transform-name | --program-transform-name \
1099 | --program-transform-nam | --program-transform-na \
1100 | --program-transform-n | --program-transform- \
1101 | --program-transform | --program-transfor \
1102 | --program-transfo | --program-transf \
1103 | --program-trans | --program-tran \
1104 | --progr-tra | --program-tr | --program-t)
1105 ac_prev=program_transform_name ;;
1106 -program-transform-name=* | --program-transform-name=* \
1107 | --program-transform-nam=* | --program-transform-na=* \
1108 | --program-transform-n=* | --program-transform-=* \
1109 | --program-transform=* | --program-transfor=* \
1110 | --program-transfo=* | --program-transf=* \
1111 | --program-trans=* | --program-tran=* \
1112 | --progr-tra=* | --program-tr=* | --program-t=*)
1113 program_transform_name=$ac_optarg ;;
1115 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1118 pdfdir=$ac_optarg ;;
1120 -psdir | --psdir | --psdi | --psd | --ps)
1122 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1125 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1126 | -silent | --silent | --silen | --sile | --sil)
1129 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133 sbindir=$ac_optarg ;;
1135 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1136 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1137 | --sharedst | --shareds | --shared | --share | --shar \
1139 ac_prev=sharedstatedir ;;
1140 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1141 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1142 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144 sharedstatedir=$ac_optarg ;;
1146 -site | --site | --sit)
1148 -site=* | --site=* | --sit=*)
1151 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1154 srcdir=$ac_optarg ;;
1156 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1157 | --syscon | --sysco | --sysc | --sys | --sy)
1158 ac_prev=sysconfdir ;;
1159 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1160 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1161 sysconfdir=$ac_optarg ;;
1163 -target | --target | --targe | --targ | --tar | --ta | --t)
1164 ac_prev=target_alias ;;
1165 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1166 target_alias=$ac_optarg ;;
1168 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1171 -version | --version | --versio | --versi | --vers | -V)
1172 ac_init_version=: ;;
1175 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1178 as_fn_error $? "invalid package name: $ac_useropt"
1179 ac_useropt_orig=$ac_useropt
1180 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep=', ';;
1188 eval with_$ac_useropt=\$ac_optarg ;;
1190 -without-* | --without-*)
1191 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1194 as_fn_error $? "invalid package name: $ac_useropt"
1195 ac_useropt_orig=$ac_useropt
1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep=', ';;
1204 eval with_$ac_useropt=no ;;
1207 # Obsolete; use --with-x.
1210 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1211 | --x-incl | --x-inc | --x-in | --x-i)
1212 ac_prev=x_includes ;;
1213 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1214 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1215 x_includes=$ac_optarg ;;
1217 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1218 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1219 ac_prev=x_libraries ;;
1220 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1221 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1222 x_libraries=$ac_optarg ;;
1224 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' | [0-9]* | *[!_$as_cr_alnum]* )
1233 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $? "missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val=\$$ac_var
1269 # Remove trailing slashes.
1272 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$]* | ?:[\\/]* ) continue;;
1278 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x; then
1292 if test "x$build_alias" = x; then
1293 cross_compiling=maybe
1294 elif test "x$build_alias" != "x$host_alias"; then
1300 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1302 test "$silent" = yes && exec 6>/dev/null
1305 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1306 ac_ls_di=`ls -di .` &&
1307 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1308 as_fn_error $? "working directory cannot be determined"
1309 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1310 as_fn_error $? "pwd does not report name of working directory"
1313 # Find the source files, if location was not specified.
1314 if test -z "$srcdir"; then
1315 ac_srcdir_defaulted=yes
1316 # Try the directory containing this script, then the parent directory.
1317 ac_confdir=`$as_dirname -- "$as_myself" ||
1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1319 X"$as_myself" : 'X\(//\)[^/]' \| \
1320 X"$as_myself" : 'X\(//\)$' \| \
1321 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1322 $as_echo X"$as_myself" |
1323 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1345 ac_srcdir_defaulted=no
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1348 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1349 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1351 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1353 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1355 # When building in place, set srcdir=.
1356 if test "$ac_abs_confdir" = "$ac_pwd"; then
1359 # Remove unnecessary trailing slashes from srcdir.
1360 # Double slashes in file names in object file debugging info
1361 # mess up M-x gdb in Emacs.
1363 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1365 for ac_var in $ac_precious_vars; do
1366 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_${ac_var}_value=\$${ac_var}
1368 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures libxml++ 2.39.2 to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking ...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/libxml++]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1442 --build=BUILD configure for building on BUILD [guessed]
1443 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1447 if test -n "$ac_init_help"; then
1448 case $ac_init_help in
1449 short | recursive ) echo "Configuration of libxml++ 2.39.2:";;
1454 --disable-option-checking ignore unrecognized --enable/--with options
1455 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1456 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1457 --enable-silent-rules less verbose build output (undo: "make V=1")
1458 --disable-silent-rules verbose build output (undo: "make V=0")
1459 --enable-maintainer-mode
1460 enable make rules and dependencies not useful (and
1461 sometimes confusing) to the casual installer
1462 --enable-dependency-tracking
1463 do not reject slow dependency extractors
1464 --disable-dependency-tracking
1465 speeds up one-time build
1466 --enable-static[=PKGS] build static libraries [default=no]
1467 --enable-shared[=PKGS] build shared libraries [default=yes]
1468 --enable-fast-install[=PKGS]
1469 optimize for fast installation [default=yes]
1470 --disable-libtool-lock avoid locking (might break parallel builds)
1471 --disable-documentation do not build or install the documentation
1472 --enable-warnings[=min|max|fatal|no]
1473 set compiler pedantry level [default=min]
1474 --disable-deprecated-api
1475 omit deprecated API from the library
1478 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1479 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1480 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1482 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1483 --with-sysroot=DIR Search for dependent libraries within DIR
1484 (or the compiler's sysroot if not specified).
1485 --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1486 Link to external libstdc documentation [auto]
1487 --with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1488 Link to external libsigc documentation [auto]
1489 --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1490 Link to external glibmm documentation [auto]
1492 Some influential environment variables:
1494 aclocal flags, e.g. -I <macro dir>
1495 CXX C++ compiler command
1496 CXXFLAGS C++ compiler flags
1497 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1498 nonstandard directory <lib dir>
1499 LIBS libraries to pass to the linker, e.g. -l<library>
1500 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1501 you have headers in a nonstandard directory <include dir>
1502 CC C compiler command
1503 CFLAGS C compiler flags
1505 CXXCPP C++ preprocessor
1506 PKG_CONFIG path to pkg-config utility
1508 directories to add to pkg-config's search path
1510 path overriding pkg-config's built-in search path
1512 C compiler flags for LIBXMLXX, overriding pkg-config
1514 linker flags for LIBXMLXX, overriding pkg-config
1515 PERL path to Perl interpreter
1516 DOT path to dot utility
1517 DOXYGEN path to Doxygen utility
1518 XSLTPROC path to xsltproc utility
1519 XMLLINT path to xmllint utility
1520 DB2LATEX path to db2latex utility
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
1526 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1556 .) # We are building in place.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1589 libxml++ configure 2.39.2
1590 generated by GNU Autoconf 2.69
1592 Copyright (C) 2012 Free Software Foundation, Inc.
1593 This configure script is free software; the Free Software Foundation
1594 gives unlimited permission to copy, distribute and modify it.
1599 ## ------------------------ ##
1600 ## Autoconf initialization. ##
1601 ## ------------------------ ##
1603 # ac_fn_cxx_try_compile LINENO
1604 # ----------------------------
1605 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1606 ac_fn_cxx_try_compile ()
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616 $as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_cxx_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1631 $as_echo "$as_me: failed program was:" >&5
1632 sed 's/^/| /' conftest.$ac_ext >&5
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_cxx_try_compile
1641 # ac_fn_c_try_compile LINENO
1642 # --------------------------
1643 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1644 ac_fn_c_try_compile ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654 $as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_c_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1675 as_fn_set_status $ac_retval
1677 } # ac_fn_c_try_compile
1679 # ac_fn_c_try_link LINENO
1680 # -----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 test -x conftest$ac_exeext
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1721 as_fn_set_status $ac_retval
1723 } # ac_fn_c_try_link
1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1726 # -------------------------------------------------------
1727 # Tests whether HEADER exists and can be compiled using the include files in
1728 # INCLUDES, setting the cache variable VAR accordingly.
1729 ac_fn_c_check_header_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1733 $as_echo_n "checking for $2... " >&6; }
1734 if eval \${$3+:} false; then :
1735 $as_echo_n "(cached) " >&6
1737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1738 /* end confdefs.h. */
1742 if ac_fn_c_try_compile "$LINENO"; then :
1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751 $as_echo "$ac_res" >&6; }
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754 } # ac_fn_c_check_header_compile
1756 # ac_fn_c_try_cpp LINENO
1757 # ----------------------
1758 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1761 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762 if { { ac_try="$ac_cpp conftest.$ac_ext"
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1771 if test -s conftest.err; then
1772 grep -v '^ *+' conftest.err >conftest.er1
1773 cat conftest.er1 >&5
1774 mv -f conftest.er1 conftest.err
1776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777 test $ac_status = 0; } > conftest.i && {
1778 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1779 test ! -s conftest.err
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1793 # ac_fn_c_try_run LINENO
1794 # ----------------------
1795 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1796 # that executables *can* be run.
1799 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800 if { { ac_try="$ac_link"
1802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803 *) ac_try_echo=$ac_try;;
1805 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806 $as_echo "$ac_try_echo"; } >&5
1807 (eval "$ac_link") 2>&5
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1811 { { case "(($ac_try" in
1812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1813 *) ac_try_echo=$ac_try;;
1815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1816 $as_echo "$ac_try_echo"; } >&5
1817 (eval "$ac_try") 2>&5
1819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1820 test $ac_status = 0; }; }; then :
1823 $as_echo "$as_me: program exited with status $ac_status" >&5
1824 $as_echo "$as_me: failed program was:" >&5
1825 sed 's/^/| /' conftest.$ac_ext >&5
1827 ac_retval=$ac_status
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1831 as_fn_set_status $ac_retval
1835 # ac_fn_c_check_func LINENO FUNC VAR
1836 # ----------------------------------
1837 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1838 ac_fn_c_check_func ()
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if eval \${$3+:} false; then :
1844 $as_echo_n "(cached) " >&6
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1850 #define $2 innocuous_$2
1852 /* System header to define __stub macros and hopefully few prototypes,
1853 which can conflict with char $2 (); below.
1854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1855 <limits.h> exists even on freestanding compilers. */
1858 # include <limits.h>
1860 # include <assert.h>
1865 /* Override any GCC internal prototype to avoid an error.
1866 Use char because int might match the return type of a GCC
1867 builtin and then its argument prototype would still apply. */
1872 /* The GNU C library defines this for functions which it implements
1873 to always fail with ENOSYS. Some functions are actually named
1874 something starting with __ and the normal name is an alias. */
1875 #if defined __stub_$2 || defined __stub___$2
1887 if ac_fn_c_try_link "$LINENO"; then :
1892 rm -f core conftest.err conftest.$ac_objext \
1893 conftest$ac_exeext conftest.$ac_ext
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1900 } # ac_fn_c_check_func
1902 # ac_fn_cxx_try_cpp LINENO
1903 # ------------------------
1904 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1905 ac_fn_cxx_try_cpp ()
1907 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1908 if { { ac_try="$ac_cpp conftest.$ac_ext"
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1917 if test -s conftest.err; then
1918 grep -v '^ *+' conftest.err >conftest.er1
1919 cat conftest.er1 >&5
1920 mv -f conftest.er1 conftest.err
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } > conftest.i && {
1924 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1925 test ! -s conftest.err
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1935 as_fn_set_status $ac_retval
1937 } # ac_fn_cxx_try_cpp
1939 # ac_fn_cxx_try_link LINENO
1940 # -------------------------
1941 # Try to link conftest.$ac_ext, and return whether this succeeded.
1942 ac_fn_cxx_try_link ()
1944 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1945 rm -f conftest.$ac_objext conftest$ac_exeext
1946 if { { ac_try="$ac_link"
1948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1949 *) ac_try_echo=$ac_try;;
1951 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1952 $as_echo "$ac_try_echo"; } >&5
1953 (eval "$ac_link") 2>conftest.err
1955 if test -s conftest.err; then
1956 grep -v '^ *+' conftest.err >conftest.er1
1957 cat conftest.er1 >&5
1958 mv -f conftest.er1 conftest.err
1960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1961 test $ac_status = 0; } && {
1962 test -z "$ac_cxx_werror_flag" ||
1963 test ! -s conftest.err
1964 } && test -s conftest$ac_exeext && {
1965 test "$cross_compiling" = yes ||
1966 test -x conftest$ac_exeext
1970 $as_echo "$as_me: failed program was:" >&5
1971 sed 's/^/| /' conftest.$ac_ext >&5
1975 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1976 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1977 # interfere with the next link command; also delete a directory that is
1978 # left behind by Apple's compiler. We do this before executing the actions.
1979 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1980 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1981 as_fn_set_status $ac_retval
1983 } # ac_fn_cxx_try_link
1985 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1986 # ---------------------------------------------------------
1987 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1988 # the include files in INCLUDES and setting the cache variable VAR
1990 ac_fn_cxx_check_header_mongrel ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 if eval \${$3+:} false; then :
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1995 $as_echo_n "checking for $2... " >&6; }
1996 if eval \${$3+:} false; then :
1997 $as_echo_n "(cached) " >&6
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2003 # Is the header compilable?
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2005 $as_echo_n "checking $2 usability... " >&6; }
2006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2011 if ac_fn_cxx_try_compile "$LINENO"; then :
2012 ac_header_compiler=yes
2014 ac_header_compiler=no
2016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2018 $as_echo "$ac_header_compiler" >&6; }
2020 # Is the header present?
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2022 $as_echo_n "checking $2 presence... " >&6; }
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024 /* end confdefs.h. */
2027 if ac_fn_cxx_try_cpp "$LINENO"; then :
2028 ac_header_preproc=yes
2030 ac_header_preproc=no
2032 rm -f conftest.err conftest.i conftest.$ac_ext
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2034 $as_echo "$ac_header_preproc" >&6; }
2036 # So? What about this header?
2037 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2040 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2046 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2048 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2050 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2052 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2054 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055 ( $as_echo "## ---------------------------------------------------------------------------- ##
2056 ## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B ##
2057 ## ---------------------------------------------------------------------------- ##"
2058 ) | sed "s/^/$as_me: WARNING: /" >&2
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if eval \${$3+:} false; then :
2064 $as_echo_n "(cached) " >&6
2066 eval "$3=\$ac_header_compiler"
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2070 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_cxx_check_header_mongrel
2075 cat >config.log <<_ACEOF
2076 This file contains any messages produced by compilers while
2077 running configure, to aid debugging if configure makes a mistake.
2079 It was created by libxml++ $as_me 2.39.2, which was
2080 generated by GNU Autoconf 2.69. Invocation command line was
2092 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2093 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2094 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2095 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2096 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2098 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2099 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2101 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2102 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2103 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2104 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2105 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2106 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2107 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2115 test -z "$as_dir" && as_dir=.
2116 $as_echo "PATH: $as_dir"
2132 # Keep a trace of the command line.
2133 # Strip out --no-create and --no-recursion so they do not pile up.
2134 # Strip out --silent because we don't want to record it for future runs.
2135 # Also quote any args containing shell meta-characters.
2136 # Make two passes to allow for proper duplicate-argument suppression.
2140 ac_must_keep_next=false
2146 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2148 | -silent | --silent | --silen | --sile | --sil)
2151 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2154 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2156 as_fn_append ac_configure_args1 " '$ac_arg'"
2157 if test $ac_must_keep_next = true; then
2158 ac_must_keep_next=false # Got value, back to normal.
2161 *=* | --config-cache | -C | -disable-* | --disable-* \
2162 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2163 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2164 | -with-* | --with-* | -without-* | --without-* | --x)
2165 case "$ac_configure_args0 " in
2166 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2169 -* ) ac_must_keep_next=true ;;
2172 as_fn_append ac_configure_args " '$ac_arg'"
2177 { ac_configure_args0=; unset ac_configure_args0;}
2178 { ac_configure_args1=; unset ac_configure_args1;}
2180 # When interrupted or exit'd, cleanup temporary files, and complete
2181 # config.log. We remove comments because anyway the quotes in there
2182 # would cause problems or look ugly.
2183 # WARNING: Use '\'' to represent an apostrophe within the trap.
2184 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2185 trap 'exit_status=$?
2186 # Save into config.log some information that might help in debugging.
2190 $as_echo "## ---------------- ##
2191 ## Cache variables. ##
2192 ## ---------------- ##"
2194 # The following way of writing the cache mishandles newlines in values,
2196 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2197 eval ac_val=\$$ac_var
2201 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2202 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2205 _ | IFS | as_nl) ;; #(
2206 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2207 *) { eval $ac_var=; unset $ac_var;} ;;
2212 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2213 *${as_nl}ac_space=\ *)
2215 "s/'\''/'\''\\\\'\'''\''/g;
2216 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2219 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 $as_echo "## ----------------- ##
2227 ## Output variables. ##
2228 ## ----------------- ##"
2230 for ac_var in $ac_subst_vars
2232 eval ac_val=\$$ac_var
2234 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2236 $as_echo "$ac_var='\''$ac_val'\''"
2240 if test -n "$ac_subst_files"; then
2241 $as_echo "## ------------------- ##
2242 ## File substitutions. ##
2243 ## ------------------- ##"
2245 for ac_var in $ac_subst_files
2247 eval ac_val=\$$ac_var
2249 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2251 $as_echo "$ac_var='\''$ac_val'\''"
2256 if test -s confdefs.h; then
2257 $as_echo "## ----------- ##
2264 test "$ac_signal" != 0 &&
2265 $as_echo "$as_me: caught signal $ac_signal"
2266 $as_echo "$as_me: exit $exit_status"
2268 rm -f core *.core core.conftest.* &&
2269 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2272 for ac_signal in 1 2 13 15; do
2273 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2277 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2278 rm -f -r conftest* confdefs.h
2280 $as_echo "/* confdefs.h */" > confdefs.h
2282 # Predefined preprocessor variables.
2284 cat >>confdefs.h <<_ACEOF
2285 #define PACKAGE_NAME "$PACKAGE_NAME"
2288 cat >>confdefs.h <<_ACEOF
2289 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2292 cat >>confdefs.h <<_ACEOF
2293 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2296 cat >>confdefs.h <<_ACEOF
2297 #define PACKAGE_STRING "$PACKAGE_STRING"
2300 cat >>confdefs.h <<_ACEOF
2301 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_URL "$PACKAGE_URL"
2309 # Let the site file select an alternate cache file if it wants to.
2310 # Prefer an explicitly selected file to automatically selected ones.
2313 if test -n "$CONFIG_SITE"; then
2314 # We do not want a PATH search for config.site.
2315 case $CONFIG_SITE in #((
2316 -*) ac_site_file1=./$CONFIG_SITE;;
2317 */*) ac_site_file1=$CONFIG_SITE;;
2318 *) ac_site_file1=./$CONFIG_SITE;;
2320 elif test "x$prefix" != xNONE; then
2321 ac_site_file1=$prefix/share/config.site
2322 ac_site_file2=$prefix/etc/config.site
2324 ac_site_file1=$ac_default_prefix/share/config.site
2325 ac_site_file2=$ac_default_prefix/etc/config.site
2327 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2329 test "x$ac_site_file" = xNONE && continue
2330 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2332 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2333 sed 's/^/| /' "$ac_site_file" >&5
2335 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2337 as_fn_error $? "failed to load site script $ac_site_file
2338 See \`config.log' for more details" "$LINENO" 5; }
2342 if test -r "$cache_file"; then
2343 # Some versions of bash will fail to source /dev/null (special files
2344 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2345 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2347 $as_echo "$as_me: loading cache $cache_file" >&6;}
2349 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2350 *) . "./$cache_file";;
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2355 $as_echo "$as_me: creating cache $cache_file" >&6;}
2359 # Check that the precious variables saved in the cache have kept the same
2361 ac_cache_corrupted=false
2362 for ac_var in $ac_precious_vars; do
2363 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2364 eval ac_new_set=\$ac_env_${ac_var}_set
2365 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2366 eval ac_new_val=\$ac_env_${ac_var}_value
2367 case $ac_old_set,$ac_new_set in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2370 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2371 ac_cache_corrupted=: ;;
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2374 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2375 ac_cache_corrupted=: ;;
2378 if test "x$ac_old_val" != "x$ac_new_val"; then
2379 # differences in whitespace do not lead to failure.
2380 ac_old_val_w=`echo x $ac_old_val`
2381 ac_new_val_w=`echo x $ac_new_val`
2382 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2384 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2385 ac_cache_corrupted=:
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2388 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2389 eval $ac_var=\$ac_old_val
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2392 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2394 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2397 # Pass precious variables to config.status.
2398 if test "$ac_new_set" = set; then
2400 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2401 *) ac_arg=$ac_var=$ac_new_val ;;
2403 case " $ac_configure_args " in
2404 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2405 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2409 if $ac_cache_corrupted; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2413 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2414 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2416 ## -------------------- ##
2417 ## Main body of script. ##
2418 ## -------------------- ##
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431 for ac_dir in macros "$srcdir"/macros; do
2432 if test -f "$ac_dir/install-sh"; then
2434 ac_install_sh="$ac_aux_dir/install-sh -c"
2436 elif test -f "$ac_dir/install.sh"; then
2438 ac_install_sh="$ac_aux_dir/install.sh -c"
2440 elif test -f "$ac_dir/shtool"; then
2442 ac_install_sh="$ac_aux_dir/shtool install -c"
2446 if test -z "$ac_aux_dir"; then
2447 as_fn_error $? "cannot find install-sh, install.sh, or shtool in macros \"$srcdir\"/macros" "$LINENO" 5
2450 # These three variables are undocumented and unsupported,
2451 # and are intended to be withdrawn in a future Autoconf release.
2452 # They can cause serious problems if a builder's source tree is in a directory
2453 # whose full name contains unusual characters.
2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2456 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2460 ac_config_headers="$ac_config_headers config.h libxml++config.h"
2463 am__api_version='1.14'
2465 # Find a good install program. We prefer a C program (faster),
2466 # so one script is as good as another. But avoid the broken or
2467 # incompatible versions:
2468 # SysV /etc/install, /usr/sbin/install
2469 # SunOS /usr/etc/install
2470 # IRIX /sbin/install
2472 # AmigaOS /C/install, which installs bootblocks on floppy discs
2473 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2474 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2475 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2476 # OS/2's system install, which has a completely different semantic
2477 # ./install, which can be erroneously created by make from ./install.sh.
2478 # Reject install programs that cannot install multiple files.
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2480 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2481 if test -z "$INSTALL"; then
2482 if ${ac_cv_path_install+:} false; then :
2483 $as_echo_n "(cached) " >&6
2485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2489 test -z "$as_dir" && as_dir=.
2490 # Account for people who put trailing slashes in PATH elements.
2491 case $as_dir/ in #((
2492 ./ | .// | /[cC]/* | \
2493 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2494 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2497 # OSF1 and SCO ODT 3.0 have their own names for install.
2498 # Don't use installbsd from OSF since it installs stuff as root
2500 for ac_prog in ginstall scoinst install; do
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2503 if test $ac_prog = install &&
2504 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2505 # AIX install. It has an incompatible calling convention.
2507 elif test $ac_prog = install &&
2508 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2509 # program-specific install script used by HP pwplus--don't use.
2512 rm -rf conftest.one conftest.two conftest.dir
2513 echo one > conftest.one
2514 echo two > conftest.two
2516 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2517 test -s conftest.one && test -s conftest.two &&
2518 test -s conftest.dir/conftest.one &&
2519 test -s conftest.dir/conftest.two
2521 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2534 rm -rf conftest.one conftest.two conftest.dir
2537 if test "${ac_cv_path_install+set}" = set; then
2538 INSTALL=$ac_cv_path_install
2540 # As a last resort, use the slow shell script. Don't cache a
2541 # value for INSTALL within a source directory, because that will
2542 # break other packages using the cache if that directory is
2543 # removed, or if the value is a relative name.
2544 INSTALL=$ac_install_sh
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2548 $as_echo "$INSTALL" >&6; }
2550 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2551 # It thinks the first close brace ends the variable substitution.
2552 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2554 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2556 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2559 $as_echo_n "checking whether build environment is sane... " >&6; }
2560 # Reject unsafe characters in $srcdir or the absolute working directory
2561 # name. Accept space and tab only in the latter.
2565 *[\\\"\#\$\&\'\`$am_lf]*)
2566 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2569 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2570 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2573 # Do 'set' in a subshell so we don't clobber the current shell's
2574 # arguments. Must try -L first in case configure is actually a
2575 # symlink; some systems play weird games with the mod time of symlinks
2576 # (eg FreeBSD returns the mod time of the symlink's containing
2580 for am_try in 1 2; do
2581 echo "timestamp, slept: $am_has_slept" > conftest.file
2582 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2583 if test "$*" = "X"; then
2585 set X `ls -t "$srcdir/configure" conftest.file`
2587 if test "$*" != "X $srcdir/configure conftest.file" \
2588 && test "$*" != "X conftest.file $srcdir/configure"; then
2590 # If neither matched, then we have a broken ls. This can happen
2591 # if, for instance, CONFIG_SHELL is bash and it inherits a
2592 # broken ls alias from the environment. This has actually
2593 # happened. Such a system could not be considered "sane".
2594 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2595 alias in your environment" "$LINENO" 5
2597 if test "$2" = conftest.file || test $am_try -eq 2; then
2604 test "$2" = conftest.file
2610 as_fn_error $? "newly created file is older than distributed files!
2611 Check your system clock" "$LINENO" 5
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2614 $as_echo "yes" >&6; }
2615 # If we didn't sleep, we still need to ensure time stamps of config.status and
2616 # generated files are strictly newer.
2618 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2625 test "$program_prefix" != NONE &&
2626 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2627 # Use a double $ so make ignores it.
2628 test "$program_suffix" != NONE &&
2629 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2630 # Double any \ or $.
2631 # By default was `s,x,x', remove it if useless.
2632 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2633 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2635 # expand $ac_aux_dir to an absolute path
2636 am_aux_dir=`cd $ac_aux_dir && pwd`
2638 if test x"${MISSING+set}" != xset; then
2641 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2643 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2646 # Use eval to expand $SHELL
2647 if eval "$MISSING --is-lightweight"; then
2648 am_missing_run="$MISSING "
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2652 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2655 if test x"${install_sh}" != xset; then
2658 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2660 install_sh="\${SHELL} $am_aux_dir/install-sh"
2664 # Installed binaries are usually stripped using 'strip' when the user
2665 # run "make install-strip". However 'strip' might not be the right
2666 # tool to use in cross-compilation environments, therefore Automake
2667 # will honor the 'STRIP' environment variable to overrule this program.
2668 if test "$cross_compiling" != no; then
2669 if test -n "$ac_tool_prefix"; then
2670 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2671 set dummy ${ac_tool_prefix}strip; ac_word=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if ${ac_cv_prog_STRIP+:} false; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$STRIP"; then
2678 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir=.
2685 for ac_exec_ext in '' $ac_executable_extensions; do
2686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2687 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 STRIP=$ac_cv_prog_STRIP
2698 if test -n "$STRIP"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2700 $as_echo "$STRIP" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2708 if test -z "$ac_cv_prog_STRIP"; then
2710 # Extract the first word of "strip", so it can be a program name with args.
2711 set dummy strip; ac_word=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$ac_ct_STRIP"; then
2718 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir=.
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2727 ac_cv_prog_ac_ct_STRIP="strip"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2738 if test -n "$ac_ct_STRIP"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2740 $as_echo "$ac_ct_STRIP" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2746 if test "x$ac_ct_STRIP" = x; then
2749 case $cross_compiling:$ac_tool_warned in
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned=yes ;;
2758 STRIP="$ac_cv_prog_STRIP"
2762 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2765 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2766 if test -z "$MKDIR_P"; then
2767 if ${ac_cv_path_mkdir+:} false; then :
2768 $as_echo_n "(cached) " >&6
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2774 test -z "$as_dir" && as_dir=.
2775 for ac_prog in mkdir gmkdir; do
2776 for ac_exec_ext in '' $ac_executable_extensions; do
2777 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2778 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2779 'mkdir (GNU coreutils) '* | \
2780 'mkdir (coreutils) '* | \
2781 'mkdir (fileutils) '4.1*)
2782 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2792 test -d ./--version && rmdir ./--version
2793 if test "${ac_cv_path_mkdir+set}" = set; then
2794 MKDIR_P="$ac_cv_path_mkdir -p"
2796 # As a last resort, use the slow shell script. Don't cache a
2797 # value for MKDIR_P within a source directory, because that will
2798 # break other packages using the cache if that directory is
2799 # removed, or if the value is a relative name.
2800 MKDIR_P="$ac_install_sh -d"
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2804 $as_echo "$MKDIR_P" >&6; }
2806 for ac_prog in gawk mawk nawk awk
2808 # Extract the first word of "$ac_prog", so it can be a program name with args.
2809 set dummy $ac_prog; ac_word=$2
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2811 $as_echo_n "checking for $ac_word... " >&6; }
2812 if ${ac_cv_prog_AWK+:} false; then :
2813 $as_echo_n "(cached) " >&6
2815 if test -n "$AWK"; then
2816 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2822 test -z "$as_dir" && as_dir=.
2823 for ac_exec_ext in '' $ac_executable_extensions; do
2824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2825 ac_cv_prog_AWK="$ac_prog"
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 if test -n "$AWK"; then
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2838 $as_echo "$AWK" >&6; }
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2841 $as_echo "no" >&6; }
2845 test -n "$AWK" && break
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2849 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2851 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2852 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2853 $as_echo_n "(cached) " >&6
2855 cat >conftest.make <<\_ACEOF
2858 @echo '@@@%%%=$(MAKE)=@@@%%%'
2860 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2861 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2863 eval ac_cv_prog_make_${ac_make}_set=yes;;
2865 eval ac_cv_prog_make_${ac_make}_set=no;;
2869 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2871 $as_echo "yes" >&6; }
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875 $as_echo "no" >&6; }
2876 SET_MAKE="MAKE=${MAKE-make}"
2879 rm -rf .tst 2>/dev/null
2880 mkdir .tst 2>/dev/null
2881 if test -d .tst; then
2886 rmdir .tst 2>/dev/null
2888 # Check whether --enable-silent-rules was given.
2889 if test "${enable_silent_rules+set}" = set; then :
2890 enableval=$enable_silent_rules;
2893 case $enable_silent_rules in # (((
2894 yes) AM_DEFAULT_VERBOSITY=0;;
2895 no) AM_DEFAULT_VERBOSITY=1;;
2896 *) AM_DEFAULT_VERBOSITY=1;;
2898 am_make=${MAKE-make}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2900 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2901 if ${am_cv_make_support_nested_variables+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if $as_echo 'TRUE=$(BAR$(V))
2910 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2911 am_cv_make_support_nested_variables=yes
2913 am_cv_make_support_nested_variables=no
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2917 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2918 if test $am_cv_make_support_nested_variables = yes; then
2920 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2922 AM_V=$AM_DEFAULT_VERBOSITY
2923 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2927 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2928 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2929 # is not polluted with repeated "-I."
2930 am__isrc=' -I$(srcdir)'
2931 # test to see if srcdir already configured
2932 if test -f $srcdir/config.status; then
2933 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2937 # test whether we have cygpath
2938 if test -z "$CYGPATH_W"; then
2939 if (cygpath --version) >/dev/null 2>/dev/null; then
2940 CYGPATH_W='cygpath -w'
2947 # Define the identity of the package.
2952 # Some tools Automake needs.
2954 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2957 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2960 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2963 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2966 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2968 # For better backward compatibility. To be removed once Automake 1.9.x
2969 # dies out for good. For more background, see:
2970 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2971 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2972 mkdir_p='$(MKDIR_P)'
2974 # We need awk for the "check" target. The system "awk" is bad on
2976 # Always define AMTAR for backward compatibility. Yes, it's still used
2977 # in the wild :-( We should find a proper way to deprecate it ...
2981 # We'll loop over all known methods to create a tar archive until one works.
2982 _am_tools='gnutar pax cpio none'
2984 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2991 # POSIX will say in a future version that running "rm -f" with no argument
2992 # is OK; and we want to be able to make that assumption in our Makefile
2993 # recipes. So use an aggressive probe to check that the usage we want is
2994 # actually supported "in the wild" to an acceptable degree.
2995 # See automake bug#10828.
2996 # To make any issue more visible, cause the running configure to be aborted
2997 # by default if the 'rm' program in use doesn't match our expectations; the
2998 # user can still override this though.
2999 if rm -f && rm -fr && rm -rf; then : OK; else
3003 Your 'rm' program seems unable to run without file operands specified
3004 on the command line, even when the '-f' option is present. This is contrary
3005 to the behaviour of most rm programs out there, and not conforming with
3006 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3008 Please tell bug-automake@gnu.org about your system, including the value
3009 of your $PATH and any error possibly output before this message. This
3010 can help us improve future automake versions.
3013 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3014 echo 'Configuration will proceed anyway, since you have set the' >&2
3015 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3019 Aborting the configuration process, to ensure you take notice of the issue.
3021 You can download and install GNU coreutils to get an 'rm' implementation
3022 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3024 If you want to complete the configuration process using your problematic
3025 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3026 to "yes", and re-run configure.
3029 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3033 # Check whether --enable-silent-rules was given.
3034 if test "${enable_silent_rules+set}" = set; then :
3035 enableval=$enable_silent_rules;
3038 case $enable_silent_rules in # (((
3039 yes) AM_DEFAULT_VERBOSITY=0;;
3040 no) AM_DEFAULT_VERBOSITY=1;;
3041 *) AM_DEFAULT_VERBOSITY=1;;
3043 am_make=${MAKE-make}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3045 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3046 if ${am_cv_make_support_nested_variables+:} false; then :
3047 $as_echo_n "(cached) " >&6
3049 if $as_echo 'TRUE=$(BAR$(V))
3055 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3056 am_cv_make_support_nested_variables=yes
3058 am_cv_make_support_nested_variables=no
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3062 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3063 if test $am_cv_make_support_nested_variables = yes; then
3065 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3067 AM_V=$AM_DEFAULT_VERBOSITY
3068 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3074 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3075 # Check whether --enable-maintainer-mode was given.
3076 if test "${enable_maintainer_mode+set}" = set; then :
3077 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3079 USE_MAINTAINER_MODE=no
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3083 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3084 if test $USE_MAINTAINER_MODE = yes; then
3085 MAINTAINER_MODE_TRUE=
3086 MAINTAINER_MODE_FALSE='#'
3088 MAINTAINER_MODE_TRUE='#'
3089 MAINTAINER_MODE_FALSE=
3092 MAINT=$MAINTAINER_MODE_TRUE
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3100 $as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3101 cat >conftest.make <<'_MMEOF'
3102 override reverse = $(2)$(subst ,, )$(1)
3103 override result := $(word 2,$(call reverse,success,failure))
3104 all: ; test '$(result)' = success
3107 if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3114 $as_echo "$mm_gnu_make" >&6; }
3115 if test "x$mm_gnu_make" != xyes; then :
3116 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3118 as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3119 See \`config.log' for more details" "$LINENO" 5; }
3122 LIBXMLXX_MODULE_NAME='libxml++-2.6'
3124 LIBXMLXX_VERSION='2.39.2'
3126 LIBXMLXX_API_VERSION='2.6'
3128 LIBXMLXX_MAJOR_VERSION=2
3131 $as_echo "#define LIBXMLXX_MAJOR_VERSION 2" >>confdefs.h
3133 LIBXMLXX_MINOR_VERSION=39
3136 $as_echo "#define LIBXMLXX_MINOR_VERSION 39" >>confdefs.h
3138 LIBXMLXX_MICRO_VERSION=2
3141 $as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
3145 # Copy the mm-common .pl scripts into docs/,
3146 # and use them from there,
3147 # so we can dist them to avoid a tarball-build dependency.
3148 MMDOCTOOLDIR='${top_srcdir}/docs'
3149 if test 'xdocs' != 'x'; then
3151 DIST_DOCTOOLS_FALSE='#'
3153 DIST_DOCTOOLS_TRUE='#'
3154 DIST_DOCTOOLS_FALSE=
3158 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3159 LIBXMLXX_SO_VERSION=2:7:0
3163 ac_cpp='$CXXCPP $CPPFLAGS'
3164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3167 if test -z "$CXX"; then
3168 if test -n "$CCC"; then
3171 if test -n "$ac_tool_prefix"; then
3172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3174 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3175 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3177 $as_echo_n "checking for $ac_word... " >&6; }
3178 if ${ac_cv_prog_CXX+:} false; then :
3179 $as_echo_n "(cached) " >&6
3181 if test -n "$CXX"; then
3182 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test -n "$CXX"; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3204 $as_echo "$CXX" >&6; }
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3207 $as_echo "no" >&6; }
3211 test -n "$CXX" && break
3214 if test -z "$CXX"; then
3216 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3218 # Extract the first word of "$ac_prog", so it can be a program name with args.
3219 set dummy $ac_prog; ac_word=$2
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3221 $as_echo_n "checking for $ac_word... " >&6; }
3222 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3223 $as_echo_n "(cached) " >&6
3225 if test -n "$ac_ct_CXX"; then
3226 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 test -z "$as_dir" && as_dir=.
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3235 ac_cv_prog_ac_ct_CXX="$ac_prog"
3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3245 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3246 if test -n "$ac_ct_CXX"; then
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3248 $as_echo "$ac_ct_CXX" >&6; }
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3251 $as_echo "no" >&6; }
3255 test -n "$ac_ct_CXX" && break
3258 if test "x$ac_ct_CXX" = x; then
3261 case $cross_compiling:$ac_tool_warned in
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3265 ac_tool_warned=yes ;;
3273 # Provide some information about the compiler.
3274 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3277 for ac_option in --version -v -V -qversion; do
3278 { { ac_try="$ac_compiler $ac_option >&5"
3280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281 *) ac_try_echo=$ac_try;;
3283 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3284 $as_echo "$ac_try_echo"; } >&5
3285 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3287 if test -s conftest.err; then
3289 ... rest of stderr output deleted ...
3290 10q' conftest.err >conftest.er1
3291 cat conftest.er1 >&5
3293 rm -f conftest.er1 conftest.err
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; }
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3309 ac_clean_files_save=$ac_clean_files
3310 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3311 # Try to create an executable without -o first, disregard a.out.
3312 # It will help us diagnose broken compilers, and finding out an intuition
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3315 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3316 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3318 # The possible output files:
3319 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3322 for ac_file in $ac_files
3325 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3326 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3331 if { { ac_try="$ac_link_default"
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3337 $as_echo "$ac_try_echo"; } >&5
3338 (eval "$ac_link_default") 2>&5
3340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3341 test $ac_status = 0; }; then :
3342 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3343 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3344 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3345 # so that the user can short-circuit this test for compilers unknown to
3347 for ac_file in $ac_files ''
3349 test -f "$ac_file" || continue
3351 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3354 # We found the default executable, but exeext='' is most
3358 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3360 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3362 # We set ac_cv_exeext here because the later test for it is not
3363 # safe: cross compilers may not add the suffix if given an `-o'
3364 # argument, so we may need to know it at that point already.
3365 # Even if this section looks crufty: it has the advantage of
3372 test "$ac_cv_exeext" = no && ac_cv_exeext=
3377 if test -z "$ac_file"; then :
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3379 $as_echo "no" >&6; }
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3385 as_fn_error 77 "C++ compiler cannot create executables
3386 See \`config.log' for more details" "$LINENO" 5; }
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3389 $as_echo "yes" >&6; }
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3392 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3394 $as_echo "$ac_file" >&6; }
3395 ac_exeext=$ac_cv_exeext
3397 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3398 ac_clean_files=$ac_clean_files_save
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3400 $as_echo_n "checking for suffix of executables... " >&6; }
3401 if { { ac_try="$ac_link"
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407 $as_echo "$ac_try_echo"; } >&5
3408 (eval "$ac_link") 2>&5
3410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411 test $ac_status = 0; }; then :
3412 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3413 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3414 # work properly (i.e., refer to `conftest.exe'), while it won't with
3416 for ac_file in conftest.exe conftest conftest.*; do
3417 test -f "$ac_file" || continue
3419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3420 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3428 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3429 See \`config.log' for more details" "$LINENO" 5; }
3431 rm -f conftest conftest$ac_cv_exeext
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3433 $as_echo "$ac_cv_exeext" >&6; }
3435 rm -f conftest.$ac_ext
3436 EXEEXT=$ac_cv_exeext
3438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 /* end confdefs.h. */
3444 FILE *f = fopen ("conftest.out", "w");
3445 return ferror (f) || fclose (f) != 0;
3451 ac_clean_files="$ac_clean_files conftest.out"
3452 # Check that the compiler produces executables we can run. If not, either
3453 # the compiler is broken, or we cross compile.
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3455 $as_echo_n "checking whether we are cross compiling... " >&6; }
3456 if test "$cross_compiling" != yes; then
3457 { { ac_try="$ac_link"
3459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3460 *) ac_try_echo=$ac_try;;
3462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3463 $as_echo "$ac_try_echo"; } >&5
3464 (eval "$ac_link") 2>&5
3466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3467 test $ac_status = 0; }
3468 if { ac_try='./conftest$ac_cv_exeext'
3469 { { case "(($ac_try" in
3470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474 $as_echo "$ac_try_echo"; } >&5
3475 (eval "$ac_try") 2>&5
3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478 test $ac_status = 0; }; }; then
3481 if test "$cross_compiling" = maybe; then
3484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3486 as_fn_error $? "cannot run C++ compiled programs.
3487 If you meant to cross compile, use \`--host'.
3488 See \`config.log' for more details" "$LINENO" 5; }
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3493 $as_echo "$cross_compiling" >&6; }
3495 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3496 ac_clean_files=$ac_clean_files_save
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3498 $as_echo_n "checking for suffix of object files... " >&6; }
3499 if ${ac_cv_objext+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3503 /* end confdefs.h. */
3513 rm -f conftest.o conftest.obj
3514 if { { ac_try="$ac_compile"
3516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3517 *) ac_try_echo=$ac_try;;
3519 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3520 $as_echo "$ac_try_echo"; } >&5
3521 (eval "$ac_compile") 2>&5
3523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3524 test $ac_status = 0; }; then :
3525 for ac_file in conftest.o conftest.obj conftest.*; do
3526 test -f "$ac_file" || continue;
3528 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3529 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3534 $as_echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.$ac_ext >&5
3537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539 as_fn_error $? "cannot compute suffix of object files: cannot compile
3540 See \`config.log' for more details" "$LINENO" 5; }
3542 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3545 $as_echo "$ac_cv_objext" >&6; }
3546 OBJEXT=$ac_cv_objext
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3549 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3550 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3551 $as_echo_n "(cached) " >&6
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3567 if ac_fn_cxx_try_compile "$LINENO"; then :
3572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3573 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3577 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3578 if test $ac_compiler_gnu = yes; then
3583 ac_test_CXXFLAGS=${CXXFLAGS+set}
3584 ac_save_CXXFLAGS=$CXXFLAGS
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3586 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3587 if ${ac_cv_prog_cxx_g+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3591 ac_cxx_werror_flag=yes
3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3595 /* end confdefs.h. */
3605 if ac_fn_cxx_try_compile "$LINENO"; then :
3606 ac_cv_prog_cxx_g=yes
3609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3610 /* end confdefs.h. */
3620 if ac_fn_cxx_try_compile "$LINENO"; then :
3623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3636 if ac_fn_cxx_try_compile "$LINENO"; then :
3637 ac_cv_prog_cxx_g=yes
3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3644 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3647 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3648 if test "$ac_test_CXXFLAGS" = set; then
3649 CXXFLAGS=$ac_save_CXXFLAGS
3650 elif test $ac_cv_prog_cxx_g = yes; then
3651 if test "$GXX" = yes; then
3657 if test "$GXX" = yes; then
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3668 DEPDIR="${am__leading_dot}deps"
3670 ac_config_commands="$ac_config_commands depfiles"
3673 am_make=${MAKE-make}
3674 cat > confinc << 'END'
3676 @echo this is the am__doit target
3679 # If we don't find an include directive, just comment out the code.
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3681 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3685 # First try GNU make style include.
3686 echo "include confinc" > confmf
3687 # Ignore all kinds of additional output from 'make'.
3688 case `$am_make -s -f confmf 2> /dev/null` in #(
3689 *the\ am__doit\ target*)
3695 # Now try BSD make style include.
3696 if test "$am__include" = "#"; then
3697 echo '.include "confinc"' > confmf
3698 case `$am_make -s -f confmf 2> /dev/null` in #(
3699 *the\ am__doit\ target*)
3700 am__include=.include
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3709 $as_echo "$_am_result" >&6; }
3710 rm -f confinc confmf
3712 # Check whether --enable-dependency-tracking was given.
3713 if test "${enable_dependency_tracking+set}" = set; then :
3714 enableval=$enable_dependency_tracking;
3717 if test "x$enable_dependency_tracking" != xno; then
3718 am_depcomp="$ac_aux_dir/depcomp"
3722 if test "x$enable_dependency_tracking" != xno; then
3732 depcc="$CXX" am_compiler_list=
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3735 $as_echo_n "checking dependency style of $depcc... " >&6; }
3736 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3740 # We make a subdir and do the tests there. Otherwise we can end up
3741 # making bogus files that we don't know about and never remove. For
3742 # instance it was reported that on HP-UX the gcc test will end up
3743 # making a dummy file named 'D' -- because '-MD' means "put the output
3747 # Copy depcomp to subdir because otherwise we won't find it if we're
3748 # using a relative directory.
3749 cp "$am_depcomp" conftest.dir
3751 # We will build objects and dependencies in a subdirectory because
3752 # it helps to detect inapplicable dependency modes. For instance
3753 # both Tru64's cc and ICC support -MD to output dependencies as a
3754 # side effect of compilation, but ICC will put the dependencies in
3755 # the current directory while Tru64 will put them in the object
3759 am_cv_CXX_dependencies_compiler_type=none
3760 if test "$am_compiler_list" = ""; then
3761 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3764 case " $depcc " in #(
3765 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3768 for depmode in $am_compiler_list; do
3769 # Setup a source with many dependencies, because some compilers
3770 # like to wrap large dependency lists on column 80 (with \), and
3771 # we should not choose a depcomp mode which is confused by this.
3773 # We need to recreate these files for each test, as the compiler may
3774 # overwrite some of them when testing with obscure command lines.
3775 # This happens at least with the AIX C compiler.
3777 for i in 1 2 3 4 5 6; do
3778 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3779 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3780 # Solaris 10 /bin/sh.
3781 echo '/* dummy */' > sub/conftst$i.h
3783 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3785 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3786 # mode. It turns out that the SunPro C++ compiler does not properly
3787 # handle '-M -o', and we need to detect this. Also, some Intel
3788 # versions had trouble with output in subdirs.
3789 am__obj=sub/conftest.${OBJEXT-o}
3790 am__minus_obj="-o $am__obj"
3793 # This depmode causes a compiler race in universal mode.
3794 test "$am__universal" = false || continue
3797 # After this tag, mechanisms are not by side-effect, so they'll
3798 # only be used when explicitly requested.
3799 if test "x$enable_dependency_tracking" = xyes; then
3805 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3806 # This compiler won't grok '-c -o', but also, the minuso test has
3807 # not run yet. These depmodes are late enough in the game, and
3808 # so weak that their functioning should not be impacted.
3809 am__obj=conftest.${OBJEXT-o}
3814 if depmode=$depmode \
3815 source=sub/conftest.c object=$am__obj \
3816 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3817 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3818 >/dev/null 2>conftest.err &&
3819 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3820 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3821 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3822 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3823 # icc doesn't choke on unknown options, it will just issue warnings
3824 # or remarks (even with -Werror). So we grep stderr for any message
3825 # that says an option was ignored or not supported.
3826 # When given -MP, icc 7.0 and 7.1 complain thusly:
3827 # icc: Command line warning: ignoring option '-M'; no argument required
3828 # The diagnosis changed in icc 8.0:
3829 # icc: Command line remark: option '-MP' not supported
3830 if (grep 'ignoring option' conftest.err ||
3831 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3832 am_cv_CXX_dependencies_compiler_type=$depmode
3841 am_cv_CXX_dependencies_compiler_type=none
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3846 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3847 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3850 test "x$enable_dependency_tracking" != xno \
3851 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3852 am__fastdepCXX_TRUE=
3853 am__fastdepCXX_FALSE='#'
3855 am__fastdepCXX_TRUE='#'
3856 am__fastdepCXX_FALSE=
3861 ax_cxx_compile_cxx11_required=true
3863 ac_cpp='$CXXCPP $CPPFLAGS'
3864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3869 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3870 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3876 template <typename T>
3879 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3885 struct Child : public Base {
3886 virtual void f() override {}
3889 typedef check<check<bool>> right_angle_brackets;
3894 typedef check<int> check_type;
3896 check_type&& cr = static_cast<check_type&&>(c);
3900 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3901 struct use_l { use_l() { l(); } };
3903 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3904 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3905 namespace test_template_alias_sfinae {
3908 template<typename T>
3909 using member = typename T::member_type;
3911 template<typename T>
3914 template<typename T>
3915 void func(member<T>*) {}
3925 if ac_fn_cxx_try_compile "$LINENO"; then :
3926 ax_cv_cxx_compile_cxx11=yes
3928 ax_cv_cxx_compile_cxx11=no
3930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3933 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3934 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3940 if test x$ac_success = xno; then
3941 for switch in -std=c++11 -std=c++0x +std=c++11; do
3942 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3944 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3945 if eval \${$cachevar+:} false; then :
3946 $as_echo_n "(cached) " >&6
3948 ac_save_CXXFLAGS="$CXXFLAGS"
3949 CXXFLAGS="$CXXFLAGS $switch"
3950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h. */
3953 template <typename T>
3956 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3962 struct Child : public Base {
3963 virtual void f() override {}
3966 typedef check<check<bool>> right_angle_brackets;
3971 typedef check<int> check_type;
3973 check_type&& cr = static_cast<check_type&&>(c);
3977 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3978 struct use_l { use_l() { l(); } };
3980 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3981 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3982 namespace test_template_alias_sfinae {
3985 template<typename T>
3986 using member = typename T::member_type;
3988 template<typename T>
3991 template<typename T>
3992 void func(member<T>*) {}
4002 if ac_fn_cxx_try_compile "$LINENO"; then :
4007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008 CXXFLAGS="$ac_save_CXXFLAGS"
4010 eval ac_res=\$$cachevar
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4012 $as_echo "$ac_res" >&6; }
4013 if eval test x\$$cachevar = xyes; then
4014 CXXFLAGS="$CXXFLAGS $switch"
4021 ac_cpp='$CPP $CPPFLAGS'
4022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4026 if test x$ax_cxx_compile_cxx11_required = xtrue; then
4027 if test x$ac_success = xno; then
4028 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4031 if test x$ac_success = xno; then
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4034 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4038 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4050 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4055 macro_version='2.4.2'
4056 macro_revision='1.3337'
4070 ltmain="$ac_aux_dir/ltmain.sh"
4072 # Make sure we can run config.sub.
4073 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4074 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4077 $as_echo_n "checking build system type... " >&6; }
4078 if ${ac_cv_build+:} false; then :
4079 $as_echo_n "(cached) " >&6
4081 ac_build_alias=$build_alias
4082 test "x$ac_build_alias" = x &&
4083 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4084 test "x$ac_build_alias" = x &&
4085 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4086 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4087 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4091 $as_echo "$ac_cv_build" >&6; }
4092 case $ac_cv_build in
4094 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4097 ac_save_IFS=$IFS; IFS='-'
4103 # Remember, the first character of IFS is used to create $*,
4104 # except with old shells:
4107 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4111 $as_echo_n "checking host system type... " >&6; }
4112 if ${ac_cv_host+:} false; then :
4113 $as_echo_n "(cached) " >&6
4115 if test "x$host_alias" = x; then
4116 ac_cv_host=$ac_cv_build
4118 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4119 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4124 $as_echo "$ac_cv_host" >&6; }
4127 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4130 ac_save_IFS=$IFS; IFS='-'
4136 # Remember, the first character of IFS is used to create $*,
4137 # except with old shells:
4140 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4143 # Backslashify metacharacters that are still active within
4144 # double-quoted strings.
4145 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4147 # Same as above, but do not quote variable references.
4148 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4150 # Sed substitution to delay expansion of an escaped shell variable in a
4151 # double_quote_subst'ed string.
4152 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4154 # Sed substitution to delay expansion of an escaped single quote.
4155 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4157 # Sed substitution to avoid accidental globbing in evaled expressions
4158 no_glob_subst='s/\*/\\\*/g'
4160 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4161 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4162 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4165 $as_echo_n "checking how to print strings... " >&6; }
4166 # Test print first, because it will be a builtin if present.
4167 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4168 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4170 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4173 # Use this function as a fallback that always works.
4174 func_fallback_echo ()
4176 eval 'cat <<_LTECHO_EOF
4180 ECHO='func_fallback_echo'
4183 # func_echo_all arg...
4184 # Invoke $ECHO with all args, space-separated.
4191 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4192 $as_echo "printf" >&6; } ;;
4193 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4194 $as_echo "print -r" >&6; } ;;
4195 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4196 $as_echo "cat" >&6; } ;;
4213 ac_cpp='$CPP $CPPFLAGS'
4214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4217 if test -n "$ac_tool_prefix"; then
4218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4219 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4221 $as_echo_n "checking for $ac_word... " >&6; }
4222 if ${ac_cv_prog_CC+:} false; then :
4223 $as_echo_n "(cached) " >&6
4225 if test -n "$CC"; then
4226 ac_cv_prog_CC="$CC" # Let the user override the test.
4228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 test -z "$as_dir" && as_dir=.
4233 for ac_exec_ext in '' $ac_executable_extensions; do
4234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4235 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4246 if test -n "$CC"; then
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4248 $as_echo "$CC" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4256 if test -z "$ac_cv_prog_CC"; then
4258 # Extract the first word of "gcc", so it can be a program name with args.
4259 set dummy gcc; ac_word=$2
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4261 $as_echo_n "checking for $ac_word... " >&6; }
4262 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -n "$ac_ct_CC"; then
4266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir=.
4273 for ac_exec_ext in '' $ac_executable_extensions; do
4274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4275 ac_cv_prog_ac_ct_CC="gcc"
4276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4286 if test -n "$ac_ct_CC"; then
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4288 $as_echo "$ac_ct_CC" >&6; }
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4291 $as_echo "no" >&6; }
4294 if test "x$ac_ct_CC" = x; then
4297 case $cross_compiling:$ac_tool_warned in
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4301 ac_tool_warned=yes ;;
4309 if test -z "$CC"; then
4310 if test -n "$ac_tool_prefix"; then
4311 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4312 set dummy ${ac_tool_prefix}cc; ac_word=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_CC+:} false; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$CC"; then
4319 ac_cv_prog_CC="$CC" # Let the user override the test.
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir=.
4326 for ac_exec_ext in '' $ac_executable_extensions; do
4327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_CC="${ac_tool_prefix}cc"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 if test -n "$CC"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4341 $as_echo "$CC" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4350 if test -z "$CC"; then
4351 # Extract the first word of "cc", so it can be a program name with args.
4352 set dummy cc; ac_word=$2
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4354 $as_echo_n "checking for $ac_word... " >&6; }
4355 if ${ac_cv_prog_CC+:} false; then :
4356 $as_echo_n "(cached) " >&6
4358 if test -n "$CC"; then
4359 ac_cv_prog_CC="$CC" # Let the user override the test.
4362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir=.
4367 for ac_exec_ext in '' $ac_executable_extensions; do
4368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4370 ac_prog_rejected=yes
4374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test $ac_prog_rejected = yes; then
4382 # We found a bogon in the path, so make sure we never use it.
4383 set dummy $ac_cv_prog_CC
4385 if test $# != 0; then
4386 # We chose a different compiler from the bogus one.
4387 # However, it has the same basename, so the bogon will be chosen
4388 # first if we set CC to just the basename; use the full file name.
4390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4396 if test -n "$CC"; then
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4398 $as_echo "$CC" >&6; }
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4401 $as_echo "no" >&6; }
4406 if test -z "$CC"; then
4407 if test -n "$ac_tool_prefix"; then
4408 for ac_prog in cl.exe
4410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4411 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4413 $as_echo_n "checking for $ac_word... " >&6; }
4414 if ${ac_cv_prog_CC+:} false; then :
4415 $as_echo_n "(cached) " >&6
4417 if test -n "$CC"; then
4418 ac_cv_prog_CC="$CC" # Let the user override the test.
4420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 test -z "$as_dir" && as_dir=.
4425 for ac_exec_ext in '' $ac_executable_extensions; do
4426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4427 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 if test -n "$CC"; then
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4440 $as_echo "$CC" >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4443 $as_echo "no" >&6; }
4447 test -n "$CC" && break
4450 if test -z "$CC"; then
4452 for ac_prog in cl.exe
4454 # Extract the first word of "$ac_prog", so it can be a program name with args.
4455 set dummy $ac_prog; ac_word=$2
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$ac_ct_CC"; then
4462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir=.
4469 for ac_exec_ext in '' $ac_executable_extensions; do
4470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4471 ac_cv_prog_ac_ct_CC="$ac_prog"
4472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4482 if test -n "$ac_ct_CC"; then
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4484 $as_echo "$ac_ct_CC" >&6; }
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4487 $as_echo "no" >&6; }
4491 test -n "$ac_ct_CC" && break
4494 if test "x$ac_ct_CC" = x; then
4497 case $cross_compiling:$ac_tool_warned in
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4500 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4501 ac_tool_warned=yes ;;
4510 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4511 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4512 as_fn_error $? "no acceptable C compiler found in \$PATH
4513 See \`config.log' for more details" "$LINENO" 5; }
4515 # Provide some information about the compiler.
4516 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4519 for ac_option in --version -v -V -qversion; do
4520 { { ac_try="$ac_compiler $ac_option >&5"
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4526 $as_echo "$ac_try_echo"; } >&5
4527 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4529 if test -s conftest.err; then
4531 ... rest of stderr output deleted ...
4532 10q' conftest.err >conftest.er1
4533 cat conftest.er1 >&5
4535 rm -f conftest.er1 conftest.err
4536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4537 test $ac_status = 0; }
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4541 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4542 if ${ac_cv_c_compiler_gnu+:} false; then :
4543 $as_echo_n "(cached) " >&6
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4559 if ac_fn_c_try_compile "$LINENO"; then :
4564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4565 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4569 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4570 if test $ac_compiler_gnu = yes; then
4575 ac_test_CFLAGS=${CFLAGS+set}
4576 ac_save_CFLAGS=$CFLAGS
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4578 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4579 if ${ac_cv_prog_cc_g+:} false; then :
4580 $as_echo_n "(cached) " >&6
4582 ac_save_c_werror_flag=$ac_c_werror_flag
4583 ac_c_werror_flag=yes
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4597 if ac_fn_c_try_compile "$LINENO"; then :
4601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602 /* end confdefs.h. */
4612 if ac_fn_c_try_compile "$LINENO"; then :
4615 ac_c_werror_flag=$ac_save_c_werror_flag
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4628 if ac_fn_c_try_compile "$LINENO"; then :
4631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 ac_c_werror_flag=$ac_save_c_werror_flag
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4639 $as_echo "$ac_cv_prog_cc_g" >&6; }
4640 if test "$ac_test_CFLAGS" = set; then
4641 CFLAGS=$ac_save_CFLAGS
4642 elif test $ac_cv_prog_cc_g = yes; then
4643 if test "$GCC" = yes; then
4649 if test "$GCC" = yes; then
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4656 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4657 if ${ac_cv_prog_cc_c89+:} false; then :
4658 $as_echo_n "(cached) " >&6
4660 ac_cv_prog_cc_c89=no
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4667 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4668 struct buf { int x; };
4669 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4670 static char *e (p, i)
4676 static char *f (char * (*g) (char **, int), char **p, ...)
4681 s = g (p, va_arg (v,int));
4686 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4687 function prototypes and stuff, but not '\xHH' hex character constants.
4688 These don't provoke an error unfortunately, instead are silently treated
4689 as 'x'. The following induces an error, until -std is added to get
4690 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4691 array size at least. It's necessary to write '\x00'==0 to get something
4692 that's true only with -std. */
4693 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4695 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4696 inside strings and character constants. */
4698 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4700 int test (int i, double x);
4701 struct s1 {int (*f) (int a);};
4702 struct s2 {int (*f) (double a);};
4703 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4709 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4714 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4715 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4717 CC="$ac_save_CC $ac_arg"
4718 if ac_fn_c_try_compile "$LINENO"; then :
4719 ac_cv_prog_cc_c89=$ac_arg
4721 rm -f core conftest.err conftest.$ac_objext
4722 test "x$ac_cv_prog_cc_c89" != "xno" && break
4724 rm -f conftest.$ac_ext
4729 case "x$ac_cv_prog_cc_c89" in
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4732 $as_echo "none needed" >&6; } ;;
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4735 $as_echo "unsupported" >&6; } ;;
4737 CC="$CC $ac_cv_prog_cc_c89"
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4739 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4741 if test "x$ac_cv_prog_cc_c89" != xno; then :
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 ac_cpp='$CPP $CPPFLAGS'
4753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4757 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4758 if ${am_cv_prog_cc_c_o+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4772 # Make sure it works both with $CC and with simple cc.
4773 # Following AC_PROG_CC_C_O, we do the test twice because some
4774 # compilers refuse to overwrite an existing .o file with -o,
4775 # though they will create one.
4776 am_cv_prog_cc_c_o=yes
4778 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4779 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } \
4783 && test -f conftest2.$ac_objext; then
4786 am_cv_prog_cc_c_o=no
4790 rm -f core conftest*
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4794 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4795 if test "$am_cv_prog_cc_c_o" != yes; then
4796 # Losing compiler, so override with the script.
4797 # FIXME: It is wrong to rewrite CC.
4798 # But if we don't then we get into trouble of one sort or another.
4799 # A longer-term fix would be to have automake use am__CC in this case,
4800 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4801 CC="$am_aux_dir/compile $CC"
4804 ac_cpp='$CPP $CPPFLAGS'
4805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4810 depcc="$CC" am_compiler_list=
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4813 $as_echo_n "checking dependency style of $depcc... " >&6; }
4814 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4815 $as_echo_n "(cached) " >&6
4817 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4818 # We make a subdir and do the tests there. Otherwise we can end up
4819 # making bogus files that we don't know about and never remove. For
4820 # instance it was reported that on HP-UX the gcc test will end up
4821 # making a dummy file named 'D' -- because '-MD' means "put the output
4825 # Copy depcomp to subdir because otherwise we won't find it if we're
4826 # using a relative directory.
4827 cp "$am_depcomp" conftest.dir
4829 # We will build objects and dependencies in a subdirectory because
4830 # it helps to detect inapplicable dependency modes. For instance
4831 # both Tru64's cc and ICC support -MD to output dependencies as a
4832 # side effect of compilation, but ICC will put the dependencies in
4833 # the current directory while Tru64 will put them in the object
4837 am_cv_CC_dependencies_compiler_type=none
4838 if test "$am_compiler_list" = ""; then
4839 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4842 case " $depcc " in #(
4843 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4846 for depmode in $am_compiler_list; do
4847 # Setup a source with many dependencies, because some compilers
4848 # like to wrap large dependency lists on column 80 (with \), and
4849 # we should not choose a depcomp mode which is confused by this.
4851 # We need to recreate these files for each test, as the compiler may
4852 # overwrite some of them when testing with obscure command lines.
4853 # This happens at least with the AIX C compiler.
4855 for i in 1 2 3 4 5 6; do
4856 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4857 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4858 # Solaris 10 /bin/sh.
4859 echo '/* dummy */' > sub/conftst$i.h
4861 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4863 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4864 # mode. It turns out that the SunPro C++ compiler does not properly
4865 # handle '-M -o', and we need to detect this. Also, some Intel
4866 # versions had trouble with output in subdirs.
4867 am__obj=sub/conftest.${OBJEXT-o}
4868 am__minus_obj="-o $am__obj"
4871 # This depmode causes a compiler race in universal mode.
4872 test "$am__universal" = false || continue
4875 # After this tag, mechanisms are not by side-effect, so they'll
4876 # only be used when explicitly requested.
4877 if test "x$enable_dependency_tracking" = xyes; then
4883 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4884 # This compiler won't grok '-c -o', but also, the minuso test has
4885 # not run yet. These depmodes are late enough in the game, and
4886 # so weak that their functioning should not be impacted.
4887 am__obj=conftest.${OBJEXT-o}
4892 if depmode=$depmode \
4893 source=sub/conftest.c object=$am__obj \
4894 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4895 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4896 >/dev/null 2>conftest.err &&
4897 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4898 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4899 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4900 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4901 # icc doesn't choke on unknown options, it will just issue warnings
4902 # or remarks (even with -Werror). So we grep stderr for any message
4903 # that says an option was ignored or not supported.
4904 # When given -MP, icc 7.0 and 7.1 complain thusly:
4905 # icc: Command line warning: ignoring option '-M'; no argument required
4906 # The diagnosis changed in icc 8.0:
4907 # icc: Command line remark: option '-MP' not supported
4908 if (grep 'ignoring option' conftest.err ||
4909 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4910 am_cv_CC_dependencies_compiler_type=$depmode
4919 am_cv_CC_dependencies_compiler_type=none
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4924 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4925 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4928 test "x$enable_dependency_tracking" != xno \
4929 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4931 am__fastdepCC_FALSE='#'
4933 am__fastdepCC_TRUE='#'
4934 am__fastdepCC_FALSE=
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4939 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4940 if ${ac_cv_path_SED+:} false; then :
4941 $as_echo_n "(cached) " >&6
4943 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4944 for ac_i in 1 2 3 4 5 6 7; do
4945 ac_script="$ac_script$as_nl$ac_script"
4947 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4948 { ac_script=; unset ac_script;}
4949 if test -z "$SED"; then
4950 ac_path_SED_found=false
4951 # Loop through the user's path and test for each of PROGNAME-LIST
4952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir=.
4957 for ac_prog in sed gsed; do
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4960 as_fn_executable_p "$ac_path_SED" || continue
4961 # Check for GNU ac_path_SED and select it if it is found.
4962 # Check for GNU $ac_path_SED
4963 case `"$ac_path_SED" --version 2>&1` in
4965 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4968 $as_echo_n 0123456789 >"conftest.in"
4971 cat "conftest.in" "conftest.in" >"conftest.tmp"
4972 mv "conftest.tmp" "conftest.in"
4973 cp "conftest.in" "conftest.nl"
4974 $as_echo '' >> "conftest.nl"
4975 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4976 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4977 as_fn_arith $ac_count + 1 && ac_count=$as_val
4978 if test $ac_count -gt ${ac_path_SED_max-0}; then
4979 # Best one so far, save it but keep looking for a better one
4980 ac_cv_path_SED="$ac_path_SED"
4981 ac_path_SED_max=$ac_count
4983 # 10*(2^10) chars as input seems more than enough
4984 test $ac_count -gt 10 && break
4986 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4989 $ac_path_SED_found && break 3
4994 if test -z "$ac_cv_path_SED"; then
4995 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5003 $as_echo "$ac_cv_path_SED" >&6; }
5004 SED="$ac_cv_path_SED"
5007 test -z "$SED" && SED=sed
5008 Xsed="$SED -e 1s/^X//"
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5021 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5022 if ${ac_cv_path_GREP+:} false; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -z "$GREP"; then
5026 ac_path_GREP_found=false
5027 # Loop through the user's path and test for each of PROGNAME-LIST
5028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5029 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5032 test -z "$as_dir" && as_dir=.
5033 for ac_prog in grep ggrep; do
5034 for ac_exec_ext in '' $ac_executable_extensions; do
5035 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5036 as_fn_executable_p "$ac_path_GREP" || continue
5037 # Check for GNU ac_path_GREP and select it if it is found.
5038 # Check for GNU $ac_path_GREP
5039 case `"$ac_path_GREP" --version 2>&1` in
5041 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5044 $as_echo_n 0123456789 >"conftest.in"
5047 cat "conftest.in" "conftest.in" >"conftest.tmp"
5048 mv "conftest.tmp" "conftest.in"
5049 cp "conftest.in" "conftest.nl"
5050 $as_echo 'GREP' >> "conftest.nl"
5051 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5052 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5053 as_fn_arith $ac_count + 1 && ac_count=$as_val
5054 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5055 # Best one so far, save it but keep looking for a better one
5056 ac_cv_path_GREP="$ac_path_GREP"
5057 ac_path_GREP_max=$ac_count
5059 # 10*(2^10) chars as input seems more than enough
5060 test $ac_count -gt 10 && break
5062 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5065 $ac_path_GREP_found && break 3
5070 if test -z "$ac_cv_path_GREP"; then
5071 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5074 ac_cv_path_GREP=$GREP
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5079 $as_echo "$ac_cv_path_GREP" >&6; }
5080 GREP="$ac_cv_path_GREP"
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5084 $as_echo_n "checking for egrep... " >&6; }
5085 if ${ac_cv_path_EGREP+:} false; then :
5086 $as_echo_n "(cached) " >&6
5088 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5089 then ac_cv_path_EGREP="$GREP -E"
5091 if test -z "$EGREP"; then
5092 ac_path_EGREP_found=false
5093 # Loop through the user's path and test for each of PROGNAME-LIST
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5098 test -z "$as_dir" && as_dir=.
5099 for ac_prog in egrep; do
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5102 as_fn_executable_p "$ac_path_EGREP" || continue
5103 # Check for GNU ac_path_EGREP and select it if it is found.
5104 # Check for GNU $ac_path_EGREP
5105 case `"$ac_path_EGREP" --version 2>&1` in
5107 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5110 $as_echo_n 0123456789 >"conftest.in"
5113 cat "conftest.in" "conftest.in" >"conftest.tmp"
5114 mv "conftest.tmp" "conftest.in"
5115 cp "conftest.in" "conftest.nl"
5116 $as_echo 'EGREP' >> "conftest.nl"
5117 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5118 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5119 as_fn_arith $ac_count + 1 && ac_count=$as_val
5120 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5121 # Best one so far, save it but keep looking for a better one
5122 ac_cv_path_EGREP="$ac_path_EGREP"
5123 ac_path_EGREP_max=$ac_count
5125 # 10*(2^10) chars as input seems more than enough
5126 test $ac_count -gt 10 && break
5128 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5131 $ac_path_EGREP_found && break 3
5136 if test -z "$ac_cv_path_EGREP"; then
5137 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5140 ac_cv_path_EGREP=$EGREP
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5146 $as_echo "$ac_cv_path_EGREP" >&6; }
5147 EGREP="$ac_cv_path_EGREP"
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5151 $as_echo_n "checking for fgrep... " >&6; }
5152 if ${ac_cv_path_FGREP+:} false; then :
5153 $as_echo_n "(cached) " >&6
5155 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5156 then ac_cv_path_FGREP="$GREP -F"
5158 if test -z "$FGREP"; then
5159 ac_path_FGREP_found=false
5160 # Loop through the user's path and test for each of PROGNAME-LIST
5161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5165 test -z "$as_dir" && as_dir=.
5166 for ac_prog in fgrep; do
5167 for ac_exec_ext in '' $ac_executable_extensions; do
5168 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5169 as_fn_executable_p "$ac_path_FGREP" || continue
5170 # Check for GNU ac_path_FGREP and select it if it is found.
5171 # Check for GNU $ac_path_FGREP
5172 case `"$ac_path_FGREP" --version 2>&1` in
5174 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5177 $as_echo_n 0123456789 >"conftest.in"
5180 cat "conftest.in" "conftest.in" >"conftest.tmp"
5181 mv "conftest.tmp" "conftest.in"
5182 cp "conftest.in" "conftest.nl"
5183 $as_echo 'FGREP' >> "conftest.nl"
5184 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5185 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5186 as_fn_arith $ac_count + 1 && ac_count=$as_val
5187 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5188 # Best one so far, save it but keep looking for a better one
5189 ac_cv_path_FGREP="$ac_path_FGREP"
5190 ac_path_FGREP_max=$ac_count
5192 # 10*(2^10) chars as input seems more than enough
5193 test $ac_count -gt 10 && break
5195 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5198 $ac_path_FGREP_found && break 3
5203 if test -z "$ac_cv_path_FGREP"; then
5204 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5207 ac_cv_path_FGREP=$FGREP
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5213 $as_echo "$ac_cv_path_FGREP" >&6; }
5214 FGREP="$ac_cv_path_FGREP"
5217 test -z "$GREP" && GREP=grep
5237 # Check whether --with-gnu-ld was given.
5238 if test "${with_gnu_ld+set}" = set; then :
5239 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5245 if test "$GCC" = yes; then
5246 # Check if gcc -print-prog-name=ld gives a path.
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5248 $as_echo_n "checking for ld used by $CC... " >&6; }
5251 # gcc leaves a trailing carriage return which upsets mingw
5252 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5254 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5257 # Accept absolute paths.
5259 re_direlt='/[^/][^/]*/\.\./'
5260 # Canonicalize the pathname of ld
5261 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5262 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5263 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5265 test -z "$LD" && LD="$ac_prog"
5268 # If it fails, then pretend we aren't using GCC.
5272 # If it is relative, then search for the first ld in PATH.
5276 elif test "$with_gnu_ld" = yes; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5278 $as_echo_n "checking for GNU ld... " >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5281 $as_echo_n "checking for non-GNU ld... " >&6; }
5283 if ${lt_cv_path_LD+:} false; then :
5284 $as_echo_n "(cached) " >&6
5286 if test -z "$LD"; then
5287 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5288 for ac_dir in $PATH; do
5290 test -z "$ac_dir" && ac_dir=.
5291 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5292 lt_cv_path_LD="$ac_dir/$ac_prog"
5293 # Check to see if the program is GNU ld. I'd rather use --version,
5294 # but apparently some variants of GNU ld only accept -v.
5295 # Break only if it was the GNU/non-GNU ld that we prefer.
5296 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5297 *GNU* | *'with BFD'*)
5298 test "$with_gnu_ld" != no && break
5301 test "$with_gnu_ld" != yes && break
5308 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5313 if test -n "$LD"; then
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5315 $as_echo "$LD" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5318 $as_echo "no" >&6; }
5320 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5322 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5323 if ${lt_cv_prog_gnu_ld+:} false; then :
5324 $as_echo_n "(cached) " >&6
5326 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5327 case `$LD -v 2>&1 </dev/null` in
5328 *GNU* | *'with BFD'*)
5329 lt_cv_prog_gnu_ld=yes
5332 lt_cv_prog_gnu_ld=no
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5337 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5338 with_gnu_ld=$lt_cv_prog_gnu_ld
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5349 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5350 if ${lt_cv_path_NM+:} false; then :
5351 $as_echo_n "(cached) " >&6
5353 if test -n "$NM"; then
5354 # Let the user override the test.
5357 lt_nm_to_check="${ac_tool_prefix}nm"
5358 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5359 lt_nm_to_check="$lt_nm_to_check nm"
5361 for lt_tmp_nm in $lt_nm_to_check; do
5362 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5363 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5365 test -z "$ac_dir" && ac_dir=.
5366 tmp_nm="$ac_dir/$lt_tmp_nm"
5367 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5368 # Check to see if the nm accepts a BSD-compat flag.
5369 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5370 # nm: unknown option "B" ignored
5371 # Tru64's nm complains that /dev/null is an invalid object file
5372 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5373 */dev/null* | *'Invalid file or object type'*)
5374 lt_cv_path_NM="$tmp_nm -B"
5378 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5380 lt_cv_path_NM="$tmp_nm -p"
5384 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5385 continue # so that we can try to find one that supports BSD flags
5394 : ${lt_cv_path_NM=no}
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5398 $as_echo "$lt_cv_path_NM" >&6; }
5399 if test "$lt_cv_path_NM" != "no"; then
5402 # Didn't find any BSD compatible name lister, look for dumpbin.
5403 if test -n "$DUMPBIN"; then :
5404 # Let the user override the test.
5406 if test -n "$ac_tool_prefix"; then
5407 for ac_prog in dumpbin "link -dump"
5409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5412 $as_echo_n "checking for $ac_word... " >&6; }
5413 if ${ac_cv_prog_DUMPBIN+:} false; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -n "$DUMPBIN"; then
5417 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423 test -z "$as_dir" && as_dir=.
5424 for ac_exec_ext in '' $ac_executable_extensions; do
5425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5426 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436 DUMPBIN=$ac_cv_prog_DUMPBIN
5437 if test -n "$DUMPBIN"; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5439 $as_echo "$DUMPBIN" >&6; }
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5442 $as_echo "no" >&6; }
5446 test -n "$DUMPBIN" && break
5449 if test -z "$DUMPBIN"; then
5450 ac_ct_DUMPBIN=$DUMPBIN
5451 for ac_prog in dumpbin "link -dump"
5453 # Extract the first word of "$ac_prog", so it can be a program name with args.
5454 set dummy $ac_prog; ac_word=$2
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5456 $as_echo_n "checking for $ac_word... " >&6; }
5457 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5458 $as_echo_n "(cached) " >&6
5460 if test -n "$ac_ct_DUMPBIN"; then
5461 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5467 test -z "$as_dir" && as_dir=.
5468 for ac_exec_ext in '' $ac_executable_extensions; do
5469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5470 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5480 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5481 if test -n "$ac_ct_DUMPBIN"; then
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5483 $as_echo "$ac_ct_DUMPBIN" >&6; }
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5486 $as_echo "no" >&6; }
5490 test -n "$ac_ct_DUMPBIN" && break
5493 if test "x$ac_ct_DUMPBIN" = x; then
5496 case $cross_compiling:$ac_tool_warned in
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5500 ac_tool_warned=yes ;;
5502 DUMPBIN=$ac_ct_DUMPBIN
5506 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5508 DUMPBIN="$DUMPBIN -symbols"
5516 if test "$DUMPBIN" != ":"; then
5520 test -z "$NM" && NM=nm
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5528 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5529 if ${lt_cv_nm_interface+:} false; then :
5530 $as_echo_n "(cached) " >&6
5532 lt_cv_nm_interface="BSD nm"
5533 echo "int some_variable = 0;" > conftest.$ac_ext
5534 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5535 (eval "$ac_compile" 2>conftest.err)
5536 cat conftest.err >&5
5537 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5538 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5539 cat conftest.err >&5
5540 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5541 cat conftest.out >&5
5542 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5543 lt_cv_nm_interface="MS dumpbin"
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5548 $as_echo "$lt_cv_nm_interface" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5551 $as_echo_n "checking whether ln -s works... " >&6; }
5553 if test "$LN_S" = "ln -s"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5555 $as_echo "yes" >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5558 $as_echo "no, using $LN_S" >&6; }
5561 # find the maximum length of command line arguments
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5563 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5564 if ${lt_cv_sys_max_cmd_len+:} false; then :
5565 $as_echo_n "(cached) " >&6
5572 # On DJGPP, this test can blow up pretty badly due to problems in libc
5573 # (any single argument exceeding 2000 bytes causes a buffer overrun
5574 # during glob expansion). Even if it were fixed, the result of this
5575 # check would be larger than it should be.
5576 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5580 # Under GNU Hurd, this test is not required because there is
5581 # no limit to the length of command line arguments.
5582 # Libtool will interpret -1 as no limit whatsoever
5583 lt_cv_sys_max_cmd_len=-1;
5586 cygwin* | mingw* | cegcc*)
5587 # On Win9x/ME, this test blows up -- it succeeds, but takes
5588 # about 5 minutes as the teststring grows exponentially.
5589 # Worse, since 9x/ME are not pre-emptively multitasking,
5590 # you end up with a "frozen" computer, even though with patience
5591 # the test eventually succeeds (with a max line length of 256k).
5592 # Instead, let's just punt: use the minimum linelength reported by
5593 # all of the supported platforms: 8192 (on NT/2K/XP).
5594 lt_cv_sys_max_cmd_len=8192;
5598 # On MiNT this can take a long time and run out of memory.
5599 lt_cv_sys_max_cmd_len=8192;
5603 # On AmigaOS with pdksh, this test takes hours, literally.
5604 # So we just punt and use a minimum line length of 8192.
5605 lt_cv_sys_max_cmd_len=8192;
5608 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5609 # This has been around since 386BSD, at least. Likely further.
5610 if test -x /sbin/sysctl; then
5611 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5612 elif test -x /usr/sbin/sysctl; then
5613 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5615 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5617 # And add a safety zone
5618 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5619 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5623 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5624 lt_cv_sys_max_cmd_len=196608
5628 # The test takes a long time on OS/2.
5629 lt_cv_sys_max_cmd_len=8192
5633 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5634 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5635 # nice to cause kernel panics so lets avoid the loop below.
5636 # First set a reasonable default.
5637 lt_cv_sys_max_cmd_len=16384
5639 if test -x /sbin/sysconfig; then
5640 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5641 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5646 lt_cv_sys_max_cmd_len=102400
5648 sysv5* | sco5v6* | sysv4.2uw2*)
5649 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5650 if test -n "$kargmax"; then
5651 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5653 lt_cv_sys_max_cmd_len=32768
5657 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5658 if test -n "$lt_cv_sys_max_cmd_len" && \
5659 test undefined != "$lt_cv_sys_max_cmd_len"; then
5660 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5661 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5663 # Make teststring a little bigger before we do anything with it.
5664 # a 1K string should be a reasonable start.
5665 for i in 1 2 3 4 5 6 7 8 ; do
5666 teststring=$teststring$teststring
5668 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5669 # If test is not a shell built-in, we'll probably end up computing a
5670 # maximum length that is only half of the actual maximum length, but
5672 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5673 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5674 test $i != 17 # 1/2 MB should be enough
5677 teststring=$teststring$teststring
5679 # Only check the string length outside the loop.
5680 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5682 # Add a significant safety factor because C++ compilers can tack on
5683 # massive amounts of additional arguments before passing them to the
5684 # linker. It appears as though 1/2 is a usable value.
5685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5692 if test -n $lt_cv_sys_max_cmd_len ; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5694 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5697 $as_echo "none" >&6; }
5699 max_cmd_len=$lt_cv_sys_max_cmd_len
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5711 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5712 # Try some XSI features
5715 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5717 && eval 'test $(( 1 + 1 )) -eq 2 \
5718 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5721 $as_echo "$xsi_shell" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5725 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5727 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5729 && lt_shell_append=yes
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5731 $as_echo "$lt_shell_append" >&6; }
5734 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5744 # test EBCDIC or ASCII
5745 case `echo X|tr X '\101'` in
5746 A) # ASCII based system
5747 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5748 lt_SP2NL='tr \040 \012'
5749 lt_NL2SP='tr \015\012 \040\040'
5751 *) # EBCDIC based system
5752 lt_SP2NL='tr \100 \n'
5753 lt_NL2SP='tr \r\n \100\100'
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5766 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5767 if ${lt_cv_to_host_file_cmd+:} false; then :
5768 $as_echo_n "(cached) " >&6
5773 *-*-mingw* ) # actually msys
5774 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5777 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5779 * ) # otherwise, assume *nix
5780 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5786 *-*-mingw* ) # actually msys
5787 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5790 lt_cv_to_host_file_cmd=func_convert_file_noop
5792 * ) # otherwise, assume *nix
5793 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5797 * ) # unhandled hosts (and "normal" native builds)
5798 lt_cv_to_host_file_cmd=func_convert_file_noop
5804 to_host_file_cmd=$lt_cv_to_host_file_cmd
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5806 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5813 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5814 if ${lt_cv_to_tool_file_cmd+:} false; then :
5815 $as_echo_n "(cached) " >&6
5817 #assume ordinary cross tools, or native build.
5818 lt_cv_to_tool_file_cmd=func_convert_file_noop
5822 *-*-mingw* ) # actually msys
5823 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5831 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5833 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5840 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5841 if ${lt_cv_ld_reload_flag+:} false; then :
5842 $as_echo_n "(cached) " >&6
5844 lt_cv_ld_reload_flag='-r'
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5847 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5848 reload_flag=$lt_cv_ld_reload_flag
5849 case $reload_flag in
5851 *) reload_flag=" $reload_flag" ;;
5853 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5855 cygwin* | mingw* | pw32* | cegcc*)
5856 if test "$GCC" != yes; then
5861 if test "$GCC" = yes; then
5862 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5864 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5877 if test -n "$ac_tool_prefix"; then
5878 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5879 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881 $as_echo_n "checking for $ac_word... " >&6; }
5882 if ${ac_cv_prog_OBJDUMP+:} false; then :
5883 $as_echo_n "(cached) " >&6
5885 if test -n "$OBJDUMP"; then
5886 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 test -z "$as_dir" && as_dir=.
5893 for ac_exec_ext in '' $ac_executable_extensions; do
5894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5895 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 OBJDUMP=$ac_cv_prog_OBJDUMP
5906 if test -n "$OBJDUMP"; then
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5908 $as_echo "$OBJDUMP" >&6; }
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911 $as_echo "no" >&6; }
5916 if test -z "$ac_cv_prog_OBJDUMP"; then
5917 ac_ct_OBJDUMP=$OBJDUMP
5918 # Extract the first word of "objdump", so it can be a program name with args.
5919 set dummy objdump; ac_word=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$ac_ct_OBJDUMP"; then
5926 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir=.
5933 for ac_exec_ext in '' $ac_executable_extensions; do
5934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5935 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5946 if test -n "$ac_ct_OBJDUMP"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5948 $as_echo "$ac_ct_OBJDUMP" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5954 if test "x$ac_ct_OBJDUMP" = x; then
5957 case $cross_compiling:$ac_tool_warned in
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961 ac_tool_warned=yes ;;
5963 OBJDUMP=$ac_ct_OBJDUMP
5966 OBJDUMP="$ac_cv_prog_OBJDUMP"
5969 test -z "$OBJDUMP" && OBJDUMP=objdump
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5977 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5978 if ${lt_cv_deplibs_check_method+:} false; then :
5979 $as_echo_n "(cached) " >&6
5981 lt_cv_file_magic_cmd='$MAGIC_CMD'
5982 lt_cv_file_magic_test_file=
5983 lt_cv_deplibs_check_method='unknown'
5984 # Need to set the preceding variable on all platforms that support
5985 # interlibrary dependencies.
5986 # 'none' -- dependencies not supported.
5987 # `unknown' -- same as none, but documents that we really don't know.
5988 # 'pass_all' -- all dependencies passed with no checks.
5989 # 'test_compile' -- check by making test program.
5990 # 'file_magic [[regex]]' -- check by looking for files in library path
5991 # which responds to the $file_magic_cmd with a given extended regex.
5992 # If you have `file' or equivalent on your system and you're not sure
5993 # whether `pass_all' will *always* work, you probably want this one.
5997 lt_cv_deplibs_check_method=pass_all
6001 lt_cv_deplibs_check_method=pass_all
6005 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6006 lt_cv_file_magic_cmd='/usr/bin/file -L'
6007 lt_cv_file_magic_test_file=/shlib/libc.so
6011 # func_win32_libid is a shell function defined in ltmain.sh
6012 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6013 lt_cv_file_magic_cmd='func_win32_libid'
6017 # Base MSYS/MinGW do not provide the 'file' command needed by
6018 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6019 # unless we find 'file', for example because we are cross-compiling.
6020 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6021 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6022 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6023 lt_cv_file_magic_cmd='func_win32_libid'
6025 # Keep this pattern in sync with the one in func_win32_libid.
6026 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6027 lt_cv_file_magic_cmd='$OBJDUMP -f'
6032 # use the weaker test based on 'objdump'. See mingw*.
6033 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6034 lt_cv_file_magic_cmd='$OBJDUMP -f'
6037 darwin* | rhapsody*)
6038 lt_cv_deplibs_check_method=pass_all
6041 freebsd* | dragonfly*)
6042 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6045 # Not sure whether the presence of OpenBSD here was a mistake.
6046 # Let's accept both of them until this is cleared up.
6047 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6048 lt_cv_file_magic_cmd=/usr/bin/file
6049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6053 lt_cv_deplibs_check_method=pass_all
6058 lt_cv_deplibs_check_method=pass_all
6061 hpux10.20* | hpux11*)
6062 lt_cv_file_magic_cmd=/usr/bin/file
6065 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6066 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6069 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]'
6070 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6073 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6074 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6080 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6084 irix5* | irix6* | nonstopux*)
6086 *-32|*"-32 ") libmagic=32-bit;;
6087 *-n32|*"-n32 ") libmagic=N32;;
6088 *-64|*"-64 ") libmagic=64-bit;;
6089 *) libmagic=never-match;;
6091 lt_cv_deplibs_check_method=pass_all
6094 # This must be glibc/ELF.
6095 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6096 lt_cv_deplibs_check_method=pass_all
6099 netbsd* | netbsdelf*-gnu)
6100 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6101 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6108 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6109 lt_cv_file_magic_cmd=/usr/bin/file
6110 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6114 lt_cv_deplibs_check_method=pass_all
6118 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6119 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6121 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6125 osf3* | osf4* | osf5*)
6126 lt_cv_deplibs_check_method=pass_all
6130 lt_cv_deplibs_check_method=pass_all
6134 lt_cv_deplibs_check_method=pass_all
6137 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6138 lt_cv_deplibs_check_method=pass_all
6142 case $host_vendor in
6144 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]'
6145 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6148 lt_cv_deplibs_check_method=pass_all
6151 lt_cv_file_magic_cmd='/bin/file'
6152 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6155 lt_cv_file_magic_cmd='/bin/file'
6156 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6157 lt_cv_file_magic_test_file=/lib/libc.so
6160 lt_cv_deplibs_check_method=pass_all
6163 lt_cv_deplibs_check_method=pass_all
6169 lt_cv_deplibs_check_method=pass_all
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6175 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6179 if test "$build" = "$host"; then
6182 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6185 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6191 file_magic_cmd=$lt_cv_file_magic_cmd
6192 deplibs_check_method=$lt_cv_deplibs_check_method
6193 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6216 if test -n "$ac_tool_prefix"; then
6217 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6218 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6220 $as_echo_n "checking for $ac_word... " >&6; }
6221 if ${ac_cv_prog_DLLTOOL+:} false; then :
6222 $as_echo_n "(cached) " >&6
6224 if test -n "$DLLTOOL"; then
6225 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 test -z "$as_dir" && as_dir=.
6232 for ac_exec_ext in '' $ac_executable_extensions; do
6233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6234 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6244 DLLTOOL=$ac_cv_prog_DLLTOOL
6245 if test -n "$DLLTOOL"; then
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6247 $as_echo "$DLLTOOL" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6250 $as_echo "no" >&6; }
6255 if test -z "$ac_cv_prog_DLLTOOL"; then
6256 ac_ct_DLLTOOL=$DLLTOOL
6257 # Extract the first word of "dlltool", so it can be a program name with args.
6258 set dummy dlltool; ac_word=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6262 $as_echo_n "(cached) " >&6
6264 if test -n "$ac_ct_DLLTOOL"; then
6265 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6271 test -z "$as_dir" && as_dir=.
6272 for ac_exec_ext in '' $ac_executable_extensions; do
6273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6274 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6284 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6285 if test -n "$ac_ct_DLLTOOL"; then
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6287 $as_echo "$ac_ct_DLLTOOL" >&6; }
6289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6290 $as_echo "no" >&6; }
6293 if test "x$ac_ct_DLLTOOL" = x; then
6296 case $cross_compiling:$ac_tool_warned in
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6300 ac_tool_warned=yes ;;
6302 DLLTOOL=$ac_ct_DLLTOOL
6305 DLLTOOL="$ac_cv_prog_DLLTOOL"
6308 test -z "$DLLTOOL" && DLLTOOL=dlltool
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6317 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6318 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6319 $as_echo_n "(cached) " >&6
6321 lt_cv_sharedlib_from_linklib_cmd='unknown'
6324 cygwin* | mingw* | pw32* | cegcc*)
6325 # two different shell functions defined in ltmain.sh
6326 # decide which to use based on capabilities of $DLLTOOL
6327 case `$DLLTOOL --help 2>&1` in
6328 *--identify-strict*)
6329 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6332 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6337 # fallback: assume linklib IS sharedlib
6338 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6344 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6345 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6346 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6355 if test -n "$ac_tool_prefix"; then
6358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if ${ac_cv_prog_AR+:} false; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$AR"; then
6366 ac_cv_prog_AR="$AR" # Let the user override the test.
6368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir=.
6373 for ac_exec_ext in '' $ac_executable_extensions; do
6374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6375 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6386 if test -n "$AR"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6388 $as_echo "$AR" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6395 test -n "$AR" && break
6398 if test -z "$AR"; then
6402 # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6405 $as_echo_n "checking for $ac_word... " >&6; }
6406 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6407 $as_echo_n "(cached) " >&6
6409 if test -n "$ac_ct_AR"; then
6410 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 test -z "$as_dir" && as_dir=.
6417 for ac_exec_ext in '' $ac_executable_extensions; do
6418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6419 ac_cv_prog_ac_ct_AR="$ac_prog"
6420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6429 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6430 if test -n "$ac_ct_AR"; then
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6432 $as_echo "$ac_ct_AR" >&6; }
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6435 $as_echo "no" >&6; }
6439 test -n "$ac_ct_AR" && break
6442 if test "x$ac_ct_AR" = x; then
6445 case $cross_compiling:$ac_tool_warned in
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6469 $as_echo_n "checking for archiver @FILE support... " >&6; }
6470 if ${lt_cv_ar_at_file+:} false; then :
6471 $as_echo_n "(cached) " >&6
6474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6475 /* end confdefs.h. */
6485 if ac_fn_c_try_compile "$LINENO"; then :
6486 echo conftest.$ac_objext > conftest.lst
6487 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6489 (eval $lt_ar_try) 2>&5
6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492 test $ac_status = 0; }
6493 if test "$ac_status" -eq 0; then
6494 # Ensure the archiver fails upon bogus file names.
6495 rm -f conftest.$ac_objext libconftest.a
6496 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6497 (eval $lt_ar_try) 2>&5
6499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6500 test $ac_status = 0; }
6501 if test "$ac_status" -ne 0; then
6505 rm -f conftest.* libconftest.a
6508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6512 $as_echo "$lt_cv_ar_at_file" >&6; }
6514 if test "x$lt_cv_ar_at_file" = xno; then
6517 archiver_list_spec=$lt_cv_ar_at_file
6526 if test -n "$ac_tool_prefix"; then
6527 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6528 set dummy ${ac_tool_prefix}strip; ac_word=$2
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6530 $as_echo_n "checking for $ac_word... " >&6; }
6531 if ${ac_cv_prog_STRIP+:} false; then :
6532 $as_echo_n "(cached) " >&6
6534 if test -n "$STRIP"; then
6535 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 test -z "$as_dir" && as_dir=.
6542 for ac_exec_ext in '' $ac_executable_extensions; do
6543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6544 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 STRIP=$ac_cv_prog_STRIP
6555 if test -n "$STRIP"; then
6556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6557 $as_echo "$STRIP" >&6; }
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6560 $as_echo "no" >&6; }
6565 if test -z "$ac_cv_prog_STRIP"; then
6567 # Extract the first word of "strip", so it can be a program name with args.
6568 set dummy strip; ac_word=$2
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6570 $as_echo_n "checking for $ac_word... " >&6; }
6571 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6572 $as_echo_n "(cached) " >&6
6574 if test -n "$ac_ct_STRIP"; then
6575 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 test -z "$as_dir" && as_dir=.
6582 for ac_exec_ext in '' $ac_executable_extensions; do
6583 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6584 ac_cv_prog_ac_ct_STRIP="strip"
6585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6594 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6595 if test -n "$ac_ct_STRIP"; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6597 $as_echo "$ac_ct_STRIP" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6600 $as_echo "no" >&6; }
6603 if test "x$ac_ct_STRIP" = x; then
6606 case $cross_compiling:$ac_tool_warned in
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6610 ac_tool_warned=yes ;;
6615 STRIP="$ac_cv_prog_STRIP"
6618 test -z "$STRIP" && STRIP=:
6625 if test -n "$ac_tool_prefix"; then
6626 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6627 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6629 $as_echo_n "checking for $ac_word... " >&6; }
6630 if ${ac_cv_prog_RANLIB+:} false; then :
6631 $as_echo_n "(cached) " >&6
6633 if test -n "$RANLIB"; then
6634 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 test -z "$as_dir" && as_dir=.
6641 for ac_exec_ext in '' $ac_executable_extensions; do
6642 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6643 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6653 RANLIB=$ac_cv_prog_RANLIB
6654 if test -n "$RANLIB"; then
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6656 $as_echo "$RANLIB" >&6; }
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6659 $as_echo "no" >&6; }
6664 if test -z "$ac_cv_prog_RANLIB"; then
6665 ac_ct_RANLIB=$RANLIB
6666 # Extract the first word of "ranlib", so it can be a program name with args.
6667 set dummy ranlib; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6671 $as_echo_n "(cached) " >&6
6673 if test -n "$ac_ct_RANLIB"; then
6674 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6683 ac_cv_prog_ac_ct_RANLIB="ranlib"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6694 if test -n "$ac_ct_RANLIB"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6696 $as_echo "$ac_ct_RANLIB" >&6; }
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6702 if test "x$ac_ct_RANLIB" = x; then
6705 case $cross_compiling:$ac_tool_warned in
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6708 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6709 ac_tool_warned=yes ;;
6711 RANLIB=$ac_ct_RANLIB
6714 RANLIB="$ac_cv_prog_RANLIB"
6717 test -z "$RANLIB" && RANLIB=:
6724 # Determine commands to create old-style static archives.
6725 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6726 old_postinstall_cmds='chmod 644 $oldlib'
6727 old_postuninstall_cmds=
6729 if test -n "$RANLIB"; then
6732 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6738 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6743 lock_old_archive_extraction=yes ;;
6745 lock_old_archive_extraction=no ;;
6786 # If no C compiler was specified, use CC.
6789 # If no C compiler flags were specified, use CFLAGS.
6790 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6792 # Allow CC to be a program name with arguments.
6796 # Check for command to grab the raw symbol name followed by C symbol from nm.
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6798 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6799 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6800 $as_echo_n "(cached) " >&6
6803 # These are sane defaults that work on at least a few old systems.
6804 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6806 # Character class describing NM global symbol codes.
6807 symcode='[BCDEGRST]'
6809 # Regexp to match symbols that can be accessed directly from C.
6810 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6812 # Define system-specific variables.
6817 cygwin* | mingw* | pw32* | cegcc*)
6818 symcode='[ABCDGISTW]'
6821 if test "$host_cpu" = ia64; then
6822 symcode='[ABCDEGRST]'
6826 symcode='[BCDEGRST]'
6829 symcode='[BCDEGQRST]'
6840 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6848 # If we're using GNU nm, then use its standard symbol codes.
6849 case `$NM -V 2>&1` in
6850 *GNU* | *'with BFD'*)
6851 symcode='[ABCDGIRSTW]' ;;
6854 # Transform an extracted symbol line into a proper C declaration.
6855 # Some systems (esp. on ia64) link data and code symbols differently,
6856 # so use this general approach.
6857 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6859 # Transform an extracted symbol line into symbol name and symbol address
6860 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6861 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'"
6863 # Handle CRLF in mingw tool chain
6867 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 # Try without a prefix underscore, then with it.
6872 for ac_symprfx in "" "_"; do
6874 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6875 symxfrm="\\1 $ac_symprfx\\2 \\2"
6877 # Write the raw and C identifiers.
6878 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6879 # Fake it for dumpbin and say T for any non-static function
6880 # and D for any global variable.
6881 # Also find C++ and __fastcall symbols from MSVC++,
6882 # which start with @ or ?.
6883 lt_cv_sys_global_symbol_pipe="$AWK '"\
6884 " {last_section=section; section=\$ 3};"\
6885 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6886 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6887 " \$ 0!~/External *\|/{next};"\
6888 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6889 " {if(hide[section]) next};"\
6890 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6891 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6892 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6893 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6894 " ' prfx=^$ac_symprfx"
6896 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6898 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6900 # Check to see that the pipe works correctly.
6904 cat > conftest.$ac_ext <<_LT_EOF
6909 void nm_test_func(void);
6910 void nm_test_func(void){}
6914 int main(){nm_test_var='a';nm_test_func();return(0);}
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6918 (eval $ac_compile) 2>&5
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; }; then
6922 # Now try to grab the symbols.
6924 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6925 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6928 test $ac_status = 0; } && test -s "$nlist"; then
6929 # Try sorting and uniquifying the output.
6930 if sort "$nlist" | uniq > "$nlist"T; then
6931 mv -f "$nlist"T "$nlist"
6936 # Make sure that we snagged all the symbols we need.
6937 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6938 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6939 cat <<_LT_EOF > conftest.$ac_ext
6940 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6941 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6942 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6943 relocations are performed -- see ld's documentation on pseudo-relocs. */
6944 # define LT_DLSYM_CONST
6945 #elif defined(__osf__)
6946 /* This system does not cope well with relocations in const data. */
6947 # define LT_DLSYM_CONST
6949 # define LT_DLSYM_CONST const
6957 # Now generate the symbol file.
6958 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6960 cat <<_LT_EOF >> conftest.$ac_ext
6962 /* The mapping between symbol names and symbols. */
6963 LT_DLSYM_CONST struct {
6967 lt__PROGRAM__LTX_preloaded_symbols[] =
6969 { "@PROGRAM@", (void *) 0 },
6971 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6972 cat <<\_LT_EOF >> conftest.$ac_ext
6976 /* This works around a problem in FreeBSD linker */
6977 #ifdef FREEBSD_WORKAROUND
6978 static const void *lt_preloaded_setup() {
6979 return lt__PROGRAM__LTX_preloaded_symbols;
6987 # Now try linking the two files.
6988 mv conftest.$ac_objext conftstm.$ac_objext
6989 lt_globsym_save_LIBS=$LIBS
6990 lt_globsym_save_CFLAGS=$CFLAGS
6991 LIBS="conftstm.$ac_objext"
6992 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6994 (eval $ac_link) 2>&5
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7000 LIBS=$lt_globsym_save_LIBS
7001 CFLAGS=$lt_globsym_save_CFLAGS
7003 echo "cannot find nm_test_func in $nlist" >&5
7006 echo "cannot find nm_test_var in $nlist" >&5
7009 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7012 echo "$progname: failed program was:" >&5
7013 cat conftest.$ac_ext >&5
7015 rm -rf conftest* conftst*
7017 # Do not use the global_symbol_pipe unless it works.
7018 if test "$pipe_works" = yes; then
7021 lt_cv_sys_global_symbol_pipe=
7027 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7028 lt_cv_sys_global_symbol_to_cdecl=
7030 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7032 $as_echo "failed" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7035 $as_echo "ok" >&6; }
7038 # Response file support.
7039 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7040 nm_file_list_spec='@'
7041 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7042 nm_file_list_spec='@'
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7072 $as_echo_n "checking for sysroot... " >&6; }
7074 # Check whether --with-sysroot was given.
7075 if test "${with_sysroot+set}" = set; then :
7076 withval=$with_sysroot;
7083 case ${with_sysroot} in #(
7085 if test "$GCC" = yes; then
7086 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7090 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7096 $as_echo "${with_sysroot}" >&6; }
7097 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7102 $as_echo "${lt_sysroot:-no}" >&6; }
7108 # Check whether --enable-libtool-lock was given.
7109 if test "${enable_libtool_lock+set}" = set; then :
7110 enableval=$enable_libtool_lock;
7113 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7115 # Some flags need to be propagated to the compiler or linker for good
7119 # Find out which ABI we are using.
7120 echo 'int i;' > conftest.$ac_ext
7121 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7122 (eval $ac_compile) 2>&5
7124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7125 test $ac_status = 0; }; then
7126 case `/usr/bin/file conftest.$ac_objext` in
7138 # Find out which ABI we are using.
7139 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7140 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7141 (eval $ac_compile) 2>&5
7143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7144 test $ac_status = 0; }; then
7145 if test "$lt_cv_prog_gnu_ld" = yes; then
7146 case `/usr/bin/file conftest.$ac_objext` in
7148 LD="${LD-ld} -melf32bsmip"
7151 LD="${LD-ld} -melf32bmipn32"
7154 LD="${LD-ld} -melf64bmip"
7158 case `/usr/bin/file conftest.$ac_objext` in
7174 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7175 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7176 # Find out which ABI we are using.
7177 echo 'int i;' > conftest.$ac_ext
7178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7179 (eval $ac_compile) 2>&5
7181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7182 test $ac_status = 0; }; then
7183 case `/usr/bin/file conftest.o` in
7186 x86_64-*kfreebsd*-gnu)
7187 LD="${LD-ld} -m elf_i386_fbsd"
7190 case `/usr/bin/file conftest.o` in
7192 LD="${LD-ld} -m elf32_x86_64"
7195 LD="${LD-ld} -m elf_i386"
7200 LD="${LD-ld} -m elf32lppclinux"
7203 LD="${LD-ld} -m elf32ppclinux"
7206 LD="${LD-ld} -m elf_s390"
7209 LD="${LD-ld} -m elf32_sparc"
7215 x86_64-*kfreebsd*-gnu)
7216 LD="${LD-ld} -m elf_x86_64_fbsd"
7219 LD="${LD-ld} -m elf_x86_64"
7222 LD="${LD-ld} -m elf64lppc"
7225 LD="${LD-ld} -m elf64ppc"
7227 s390*-*linux*|s390*-*tpf*)
7228 LD="${LD-ld} -m elf64_s390"
7231 LD="${LD-ld} -m elf64_sparc"
7241 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7242 SAVE_CFLAGS="$CFLAGS"
7243 CFLAGS="$CFLAGS -belf"
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7245 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7246 if ${lt_cv_cc_needs_belf+:} false; then :
7247 $as_echo_n "(cached) " >&6
7250 ac_cpp='$CPP $CPPFLAGS'
7251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7266 if ac_fn_c_try_link "$LINENO"; then :
7267 lt_cv_cc_needs_belf=yes
7269 lt_cv_cc_needs_belf=no
7271 rm -f core conftest.err conftest.$ac_objext \
7272 conftest$ac_exeext conftest.$ac_ext
7274 ac_cpp='$CPP $CPPFLAGS'
7275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7281 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7282 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7283 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7284 CFLAGS="$SAVE_CFLAGS"
7288 # Find out which ABI we are using.
7289 echo 'int i;' > conftest.$ac_ext
7290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7291 (eval $ac_compile) 2>&5
7293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7294 test $ac_status = 0; }; then
7295 case `/usr/bin/file conftest.o` in
7297 case $lt_cv_prog_gnu_ld in
7301 LD="${LD-ld} -m elf_x86_64"
7304 LD="${LD-ld} -m elf64_sparc"
7307 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7308 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7313 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7325 need_locks="$enable_libtool_lock"
7327 if test -n "$ac_tool_prefix"; then
7328 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7329 set dummy ${ac_tool_prefix}mt; ac_word=$2
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7331 $as_echo_n "checking for $ac_word... " >&6; }
7332 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7333 $as_echo_n "(cached) " >&6
7335 if test -n "$MANIFEST_TOOL"; then
7336 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7342 test -z "$as_dir" && as_dir=.
7343 for ac_exec_ext in '' $ac_executable_extensions; do
7344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7345 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7356 if test -n "$MANIFEST_TOOL"; then
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7358 $as_echo "$MANIFEST_TOOL" >&6; }
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7361 $as_echo "no" >&6; }
7366 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7367 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7368 # Extract the first word of "mt", so it can be a program name with args.
7369 set dummy mt; ac_word=$2
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7371 $as_echo_n "checking for $ac_word... " >&6; }
7372 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7373 $as_echo_n "(cached) " >&6
7375 if test -n "$ac_ct_MANIFEST_TOOL"; then
7376 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 test -z "$as_dir" && as_dir=.
7383 for ac_exec_ext in '' $ac_executable_extensions; do
7384 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7385 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7386 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7396 if test -n "$ac_ct_MANIFEST_TOOL"; then
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7398 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7401 $as_echo "no" >&6; }
7404 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7407 case $cross_compiling:$ac_tool_warned in
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7411 ac_tool_warned=yes ;;
7413 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7416 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7419 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7421 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7422 if ${lt_cv_path_mainfest_tool+:} false; then :
7423 $as_echo_n "(cached) " >&6
7425 lt_cv_path_mainfest_tool=no
7426 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7427 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7428 cat conftest.err >&5
7429 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7430 lt_cv_path_mainfest_tool=yes
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7435 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7436 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7446 rhapsody* | darwin*)
7447 if test -n "$ac_tool_prefix"; then
7448 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7449 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7451 $as_echo_n "checking for $ac_word... " >&6; }
7452 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7453 $as_echo_n "(cached) " >&6
7455 if test -n "$DSYMUTIL"; then
7456 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir=.
7463 for ac_exec_ext in '' $ac_executable_extensions; do
7464 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7475 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7476 if test -n "$DSYMUTIL"; then
7477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7478 $as_echo "$DSYMUTIL" >&6; }
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7481 $as_echo "no" >&6; }
7486 if test -z "$ac_cv_prog_DSYMUTIL"; then
7487 ac_ct_DSYMUTIL=$DSYMUTIL
7488 # Extract the first word of "dsymutil", so it can be a program name with args.
7489 set dummy dsymutil; ac_word=$2
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7491 $as_echo_n "checking for $ac_word... " >&6; }
7492 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7493 $as_echo_n "(cached) " >&6
7495 if test -n "$ac_ct_DSYMUTIL"; then
7496 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 test -z "$as_dir" && as_dir=.
7503 for ac_exec_ext in '' $ac_executable_extensions; do
7504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7505 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7515 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7516 if test -n "$ac_ct_DSYMUTIL"; then
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7518 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7521 $as_echo "no" >&6; }
7524 if test "x$ac_ct_DSYMUTIL" = x; then
7527 case $cross_compiling:$ac_tool_warned in
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7531 ac_tool_warned=yes ;;
7533 DSYMUTIL=$ac_ct_DSYMUTIL
7536 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7539 if test -n "$ac_tool_prefix"; then
7540 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7541 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if ${ac_cv_prog_NMEDIT+:} false; then :
7545 $as_echo_n "(cached) " >&6
7547 if test -n "$NMEDIT"; then
7548 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7554 test -z "$as_dir" && as_dir=.
7555 for ac_exec_ext in '' $ac_executable_extensions; do
7556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7557 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 NMEDIT=$ac_cv_prog_NMEDIT
7568 if test -n "$NMEDIT"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7570 $as_echo "$NMEDIT" >&6; }
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7578 if test -z "$ac_cv_prog_NMEDIT"; then
7579 ac_ct_NMEDIT=$NMEDIT
7580 # Extract the first word of "nmedit", so it can be a program name with args.
7581 set dummy nmedit; ac_word=$2
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7583 $as_echo_n "checking for $ac_word... " >&6; }
7584 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7585 $as_echo_n "(cached) " >&6
7587 if test -n "$ac_ct_NMEDIT"; then
7588 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7594 test -z "$as_dir" && as_dir=.
7595 for ac_exec_ext in '' $ac_executable_extensions; do
7596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7597 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7608 if test -n "$ac_ct_NMEDIT"; then
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7610 $as_echo "$ac_ct_NMEDIT" >&6; }
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7613 $as_echo "no" >&6; }
7616 if test "x$ac_ct_NMEDIT" = x; then
7619 case $cross_compiling:$ac_tool_warned in
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7623 ac_tool_warned=yes ;;
7625 NMEDIT=$ac_ct_NMEDIT
7628 NMEDIT="$ac_cv_prog_NMEDIT"
7631 if test -n "$ac_tool_prefix"; then
7632 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7633 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if ${ac_cv_prog_LIPO+:} false; then :
7637 $as_echo_n "(cached) " >&6
7639 if test -n "$LIPO"; then
7640 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7646 test -z "$as_dir" && as_dir=.
7647 for ac_exec_ext in '' $ac_executable_extensions; do
7648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7649 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7659 LIPO=$ac_cv_prog_LIPO
7660 if test -n "$LIPO"; then
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7662 $as_echo "$LIPO" >&6; }
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7665 $as_echo "no" >&6; }
7670 if test -z "$ac_cv_prog_LIPO"; then
7672 # Extract the first word of "lipo", so it can be a program name with args.
7673 set dummy lipo; ac_word=$2
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7675 $as_echo_n "checking for $ac_word... " >&6; }
7676 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7677 $as_echo_n "(cached) " >&6
7679 if test -n "$ac_ct_LIPO"; then
7680 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686 test -z "$as_dir" && as_dir=.
7687 for ac_exec_ext in '' $ac_executable_extensions; do
7688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7689 ac_cv_prog_ac_ct_LIPO="lipo"
7690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7700 if test -n "$ac_ct_LIPO"; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7702 $as_echo "$ac_ct_LIPO" >&6; }
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7705 $as_echo "no" >&6; }
7708 if test "x$ac_ct_LIPO" = x; then
7711 case $cross_compiling:$ac_tool_warned in
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7715 ac_tool_warned=yes ;;
7720 LIPO="$ac_cv_prog_LIPO"
7723 if test -n "$ac_tool_prefix"; then
7724 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7725 set dummy ${ac_tool_prefix}otool; ac_word=$2
7726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7727 $as_echo_n "checking for $ac_word... " >&6; }
7728 if ${ac_cv_prog_OTOOL+:} false; then :
7729 $as_echo_n "(cached) " >&6
7731 if test -n "$OTOOL"; then
7732 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7738 test -z "$as_dir" && as_dir=.
7739 for ac_exec_ext in '' $ac_executable_extensions; do
7740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7741 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7751 OTOOL=$ac_cv_prog_OTOOL
7752 if test -n "$OTOOL"; then
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7754 $as_echo "$OTOOL" >&6; }
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7757 $as_echo "no" >&6; }
7762 if test -z "$ac_cv_prog_OTOOL"; then
7764 # Extract the first word of "otool", so it can be a program name with args.
7765 set dummy otool; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7767 $as_echo_n "checking for $ac_word... " >&6; }
7768 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7769 $as_echo_n "(cached) " >&6
7771 if test -n "$ac_ct_OTOOL"; then
7772 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir=.
7779 for ac_exec_ext in '' $ac_executable_extensions; do
7780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7781 ac_cv_prog_ac_ct_OTOOL="otool"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7792 if test -n "$ac_ct_OTOOL"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7794 $as_echo "$ac_ct_OTOOL" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7797 $as_echo "no" >&6; }
7800 if test "x$ac_ct_OTOOL" = x; then
7803 case $cross_compiling:$ac_tool_warned in
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7807 ac_tool_warned=yes ;;
7812 OTOOL="$ac_cv_prog_OTOOL"
7815 if test -n "$ac_tool_prefix"; then
7816 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if ${ac_cv_prog_OTOOL64+:} false; then :
7821 $as_echo_n "(cached) " >&6
7823 if test -n "$OTOOL64"; then
7824 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7833 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 OTOOL64=$ac_cv_prog_OTOOL64
7844 if test -n "$OTOOL64"; then
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7846 $as_echo "$OTOOL64" >&6; }
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7854 if test -z "$ac_cv_prog_OTOOL64"; then
7855 ac_ct_OTOOL64=$OTOOL64
7856 # Extract the first word of "otool64", so it can be a program name with args.
7857 set dummy otool64; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7861 $as_echo_n "(cached) " >&6
7863 if test -n "$ac_ct_OTOOL64"; then
7864 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_prog_ac_ct_OTOOL64="otool64"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7884 if test -n "$ac_ct_OTOOL64"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7886 $as_echo "$ac_ct_OTOOL64" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7892 if test "x$ac_ct_OTOOL64" = x; then
7895 case $cross_compiling:$ac_tool_warned in
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7899 ac_tool_warned=yes ;;
7901 OTOOL64=$ac_ct_OTOOL64
7904 OTOOL64="$ac_cv_prog_OTOOL64"
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7934 $as_echo_n "checking for -single_module linker flag... " >&6; }
7935 if ${lt_cv_apple_cc_single_mod+:} false; then :
7936 $as_echo_n "(cached) " >&6
7938 lt_cv_apple_cc_single_mod=no
7939 if test -z "${LT_MULTI_MODULE}"; then
7940 # By default we will add the -single_module flag. You can override
7941 # by either setting the environment variable LT_MULTI_MODULE
7942 # non-empty at configure time, or by adding -multi_module to the
7944 rm -rf libconftest.dylib*
7945 echo "int foo(void){return 1;}" > conftest.c
7946 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7947 -dynamiclib -Wl,-single_module conftest.c" >&5
7948 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7949 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7951 # If there is a non-empty error log, and "single_module"
7952 # appears in it, assume the flag caused a linker warning
7953 if test -s conftest.err && $GREP single_module conftest.err; then
7954 cat conftest.err >&5
7955 # Otherwise, if the output was created with a 0 exit code from
7956 # the compiler, it worked.
7957 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7958 lt_cv_apple_cc_single_mod=yes
7960 cat conftest.err >&5
7962 rm -rf libconftest.dylib*
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7967 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7970 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7971 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7972 $as_echo_n "(cached) " >&6
7974 lt_cv_ld_exported_symbols_list=no
7975 save_LDFLAGS=$LDFLAGS
7976 echo "_main" > conftest.sym
7977 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7979 /* end confdefs.h. */
7989 if ac_fn_c_try_link "$LINENO"; then :
7990 lt_cv_ld_exported_symbols_list=yes
7992 lt_cv_ld_exported_symbols_list=no
7994 rm -f core conftest.err conftest.$ac_objext \
7995 conftest$ac_exeext conftest.$ac_ext
7996 LDFLAGS="$save_LDFLAGS"
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8000 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8003 $as_echo_n "checking for -force_load linker flag... " >&6; }
8004 if ${lt_cv_ld_force_load+:} false; then :
8005 $as_echo_n "(cached) " >&6
8007 lt_cv_ld_force_load=no
8008 cat > conftest.c << _LT_EOF
8009 int forced_loaded() { return 2;}
8011 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8012 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8013 echo "$AR cru libconftest.a conftest.o" >&5
8014 $AR cru libconftest.a conftest.o 2>&5
8015 echo "$RANLIB libconftest.a" >&5
8016 $RANLIB libconftest.a 2>&5
8017 cat > conftest.c << _LT_EOF
8018 int main() { return 0;}
8020 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8021 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8023 if test -s conftest.err && $GREP force_load conftest.err; then
8024 cat conftest.err >&5
8025 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8026 lt_cv_ld_force_load=yes
8028 cat conftest.err >&5
8030 rm -f conftest.err libconftest.a conftest conftest.c
8031 rm -rf conftest.dSYM
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8035 $as_echo "$lt_cv_ld_force_load" >&6; }
8037 rhapsody* | darwin1.[012])
8038 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8040 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8041 darwin*) # darwin 5.x on
8042 # if running on 10.5 or later, the deployment target defaults
8043 # to the OS version, if on x86, and 10.4, the deployment
8044 # target defaults to 10.4. Don't you love it?
8045 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8046 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8047 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8049 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8051 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8055 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8056 _lt_dar_single_mod='$single_module'
8058 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8059 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8061 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8063 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8064 _lt_dsymutil='~$DSYMUTIL $lib || :'
8072 ac_cpp='$CPP $CPPFLAGS'
8073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8078 # On Suns, sometimes $CPP names a directory.
8079 if test -n "$CPP" && test -d "$CPP"; then
8082 if test -z "$CPP"; then
8083 if ${ac_cv_prog_CPP+:} false; then :
8084 $as_echo_n "(cached) " >&6
8086 # Double quotes because CPP needs to be expanded
8087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8090 for ac_c_preproc_warn_flag in '' yes
8092 # Use a header file that comes with gcc, so configuring glibc
8093 # with a fresh cross-compiler works.
8094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8095 # <limits.h> exists even on freestanding compilers.
8096 # On the NeXT, cc -E runs the code through the compiler's parser,
8097 # not just through cpp. "Syntax error" is here to catch this case.
8098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8099 /* end confdefs.h. */
8101 # include <limits.h>
8103 # include <assert.h>
8107 if ac_fn_c_try_cpp "$LINENO"; then :
8110 # Broken: fails on valid input.
8113 rm -f conftest.err conftest.i conftest.$ac_ext
8115 # OK, works on sane cases. Now check whether nonexistent headers
8116 # can be detected and how.
8117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8118 /* end confdefs.h. */
8119 #include <ac_nonexistent.h>
8121 if ac_fn_c_try_cpp "$LINENO"; then :
8122 # Broken: success on invalid input.
8125 # Passes both tests.
8129 rm -f conftest.err conftest.i conftest.$ac_ext
8132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8133 rm -f conftest.i conftest.err conftest.$ac_ext
8134 if $ac_preproc_ok; then :
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8147 $as_echo "$CPP" >&6; }
8149 for ac_c_preproc_warn_flag in '' yes
8151 # Use a header file that comes with gcc, so configuring glibc
8152 # with a fresh cross-compiler works.
8153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8154 # <limits.h> exists even on freestanding compilers.
8155 # On the NeXT, cc -E runs the code through the compiler's parser,
8156 # not just through cpp. "Syntax error" is here to catch this case.
8157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8160 # include <limits.h>
8162 # include <assert.h>
8166 if ac_fn_c_try_cpp "$LINENO"; then :
8169 # Broken: fails on valid input.
8172 rm -f conftest.err conftest.i conftest.$ac_ext
8174 # OK, works on sane cases. Now check whether nonexistent headers
8175 # can be detected and how.
8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177 /* end confdefs.h. */
8178 #include <ac_nonexistent.h>
8180 if ac_fn_c_try_cpp "$LINENO"; then :
8181 # Broken: success on invalid input.
8184 # Passes both tests.
8188 rm -f conftest.err conftest.i conftest.$ac_ext
8191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8192 rm -f conftest.i conftest.err conftest.$ac_ext
8193 if $ac_preproc_ok; then :
8196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8199 See \`config.log' for more details" "$LINENO" 5; }
8203 ac_cpp='$CPP $CPPFLAGS'
8204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8210 $as_echo_n "checking for ANSI C header files... " >&6; }
8211 if ${ac_cv_header_stdc+:} false; then :
8212 $as_echo_n "(cached) " >&6
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8229 if ac_fn_c_try_compile "$LINENO"; then :
8230 ac_cv_header_stdc=yes
8232 ac_cv_header_stdc=no
8234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8236 if test $ac_cv_header_stdc = yes; then
8237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8244 $EGREP "memchr" >/dev/null 2>&1; then :
8247 ac_cv_header_stdc=no
8253 if test $ac_cv_header_stdc = yes; then
8254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8261 $EGREP "free" >/dev/null 2>&1; then :
8264 ac_cv_header_stdc=no
8270 if test $ac_cv_header_stdc = yes; then
8271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8272 if test "$cross_compiling" = yes; then :
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8279 #if ((' ' & 0x0FF) == 0x020)
8280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8283 # define ISLOWER(c) \
8284 (('a' <= (c) && (c) <= 'i') \
8285 || ('j' <= (c) && (c) <= 'r') \
8286 || ('s' <= (c) && (c) <= 'z'))
8287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8295 for (i = 0; i < 256; i++)
8296 if (XOR (islower (i), ISLOWER (i))
8297 || toupper (i) != TOUPPER (i))
8302 if ac_fn_c_try_run "$LINENO"; then :
8305 ac_cv_header_stdc=no
8307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8308 conftest.$ac_objext conftest.beam conftest.$ac_ext
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8314 $as_echo "$ac_cv_header_stdc" >&6; }
8315 if test $ac_cv_header_stdc = yes; then
8317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8323 inttypes.h stdint.h unistd.h
8325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8329 cat >>confdefs.h <<_ACEOF
8330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8338 for ac_header in dlfcn.h
8340 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8342 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8343 cat >>confdefs.h <<_ACEOF
8344 #define HAVE_DLFCN_H 1
8353 func_stripname_cnf ()
8356 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8357 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8359 } # func_stripname_cnf
8367 enable_win32_dll=yes
8370 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8371 if test -n "$ac_tool_prefix"; then
8372 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8373 set dummy ${ac_tool_prefix}as; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_AS+:} false; then :
8377 $as_echo_n "(cached) " >&6
8379 if test -n "$AS"; then
8380 ac_cv_prog_AS="$AS" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8389 ac_cv_prog_AS="${ac_tool_prefix}as"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8400 if test -n "$AS"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8402 $as_echo "$AS" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8410 if test -z "$ac_cv_prog_AS"; then
8412 # Extract the first word of "as", so it can be a program name with args.
8413 set dummy as; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8417 $as_echo_n "(cached) " >&6
8419 if test -n "$ac_ct_AS"; then
8420 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8429 ac_cv_prog_ac_ct_AS="as"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8439 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8440 if test -n "$ac_ct_AS"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8442 $as_echo "$ac_ct_AS" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8448 if test "x$ac_ct_AS" = x; then
8451 case $cross_compiling:$ac_tool_warned in
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned=yes ;;
8463 if test -n "$ac_tool_prefix"; then
8464 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8465 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_DLLTOOL+:} false; then :
8469 $as_echo_n "(cached) " >&6
8471 if test -n "$DLLTOOL"; then
8472 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8478 test -z "$as_dir" && as_dir=.
8479 for ac_exec_ext in '' $ac_executable_extensions; do
8480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8481 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491 DLLTOOL=$ac_cv_prog_DLLTOOL
8492 if test -n "$DLLTOOL"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8494 $as_echo "$DLLTOOL" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8502 if test -z "$ac_cv_prog_DLLTOOL"; then
8503 ac_ct_DLLTOOL=$DLLTOOL
8504 # Extract the first word of "dlltool", so it can be a program name with args.
8505 set dummy dlltool; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8509 $as_echo_n "(cached) " >&6
8511 if test -n "$ac_ct_DLLTOOL"; then
8512 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8521 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8532 if test -n "$ac_ct_DLLTOOL"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8534 $as_echo "$ac_ct_DLLTOOL" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8540 if test "x$ac_ct_DLLTOOL" = x; then
8543 case $cross_compiling:$ac_tool_warned in
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8547 ac_tool_warned=yes ;;
8549 DLLTOOL=$ac_ct_DLLTOOL
8552 DLLTOOL="$ac_cv_prog_DLLTOOL"
8555 if test -n "$ac_tool_prefix"; then
8556 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8557 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8559 $as_echo_n "checking for $ac_word... " >&6; }
8560 if ${ac_cv_prog_OBJDUMP+:} false; then :
8561 $as_echo_n "(cached) " >&6
8563 if test -n "$OBJDUMP"; then
8564 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir=.
8571 for ac_exec_ext in '' $ac_executable_extensions; do
8572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8573 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8583 OBJDUMP=$ac_cv_prog_OBJDUMP
8584 if test -n "$OBJDUMP"; then
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8586 $as_echo "$OBJDUMP" >&6; }
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8589 $as_echo "no" >&6; }
8594 if test -z "$ac_cv_prog_OBJDUMP"; then
8595 ac_ct_OBJDUMP=$OBJDUMP
8596 # Extract the first word of "objdump", so it can be a program name with args.
8597 set dummy objdump; ac_word=$2
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8599 $as_echo_n "checking for $ac_word... " >&6; }
8600 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8601 $as_echo_n "(cached) " >&6
8603 if test -n "$ac_ct_OBJDUMP"; then
8604 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8610 test -z "$as_dir" && as_dir=.
8611 for ac_exec_ext in '' $ac_executable_extensions; do
8612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8613 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8623 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8624 if test -n "$ac_ct_OBJDUMP"; then
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8626 $as_echo "$ac_ct_OBJDUMP" >&6; }
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8629 $as_echo "no" >&6; }
8632 if test "x$ac_ct_OBJDUMP" = x; then
8635 case $cross_compiling:$ac_tool_warned in
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8639 ac_tool_warned=yes ;;
8641 OBJDUMP=$ac_ct_OBJDUMP
8644 OBJDUMP="$ac_cv_prog_OBJDUMP"
8650 test -z "$AS" && AS=as
8656 test -z "$DLLTOOL" && DLLTOOL=dlltool
8662 test -z "$OBJDUMP" && OBJDUMP=objdump
8667 # Check whether --enable-static was given.
8668 if test "${enable_static+set}" = set; then :
8669 enableval=$enable_static; p=${PACKAGE-default}
8671 yes) enable_static=yes ;;
8672 no) enable_static=no ;;
8675 # Look at the argument we got. We use all the common list separators.
8676 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8677 for pkg in $enableval; do
8679 if test "X$pkg" = "X$p"; then
8701 # Check whether --enable-shared was given.
8702 if test "${enable_shared+set}" = set; then :
8703 enableval=$enable_shared; p=${PACKAGE-default}
8705 yes) enable_shared=yes ;;
8706 no) enable_shared=no ;;
8709 # Look at the argument we got. We use all the common list separators.
8710 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8711 for pkg in $enableval; do
8713 if test "X$pkg" = "X$p"; then
8734 # Check whether --with-pic was given.
8735 if test "${with_pic+set}" = set; then :
8736 withval=$with_pic; lt_p=${PACKAGE-default}
8738 yes|no) pic_mode=$withval ;;
8741 # Look at the argument we got. We use all the common list separators.
8742 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8743 for lt_pkg in $withval; do
8745 if test "X$lt_pkg" = "X$lt_p"; then
8757 test -z "$pic_mode" && pic_mode=default
8765 # Check whether --enable-fast-install was given.
8766 if test "${enable_fast_install+set}" = set; then :
8767 enableval=$enable_fast_install; p=${PACKAGE-default}
8769 yes) enable_fast_install=yes ;;
8770 no) enable_fast_install=no ;;
8772 enable_fast_install=no
8773 # Look at the argument we got. We use all the common list separators.
8774 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8775 for pkg in $enableval; do
8777 if test "X$pkg" = "X$p"; then
8778 enable_fast_install=yes
8785 enable_fast_install=yes
8798 # This can be used to rebuild libtool when needed
8799 LIBTOOL_DEPS="$ltmain"
8801 # Always use our own libtool.
8802 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8833 test -z "$LN_S" && LN_S="ln -s"
8848 if test -n "${ZSH_VERSION+set}" ; then
8849 setopt NO_GLOB_SUBST
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8853 $as_echo_n "checking for objdir... " >&6; }
8854 if ${lt_cv_objdir+:} false; then :
8855 $as_echo_n "(cached) " >&6
8857 rm -f .libs 2>/dev/null
8858 mkdir .libs 2>/dev/null
8859 if test -d .libs; then
8862 # MS-DOS does not allow filenames that begin with a dot.
8865 rmdir .libs 2>/dev/null
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8868 $as_echo "$lt_cv_objdir" >&6; }
8869 objdir=$lt_cv_objdir
8875 cat >>confdefs.h <<_ACEOF
8876 #define LT_OBJDIR "$lt_cv_objdir/"
8884 # AIX sometimes has problems with the GCC collect2 program. For some
8885 # reason, if we set the COLLECT_NAMES environment variable, the problems
8886 # vanish in a puff of smoke.
8887 if test "X${COLLECT_NAMES+set}" != Xset; then
8889 export COLLECT_NAMES
8896 can_build_shared=yes
8898 # All known linkers require a `.a' archive for static linking (except MSVC,
8899 # which needs '.lib').
8902 with_gnu_ld="$lt_cv_prog_gnu_ld"
8905 old_CFLAGS="$CFLAGS"
8907 # Set sane defaults for various variables
8908 test -z "$CC" && CC=cc
8909 test -z "$LTCC" && LTCC=$CC
8910 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8911 test -z "$LD" && LD=ld
8912 test -z "$ac_objext" && ac_objext=o
8914 for cc_temp in $compiler""; do
8916 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8917 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8922 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8925 # Only perform the check for file, if the check method requires it
8926 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8927 case $deplibs_check_method in
8929 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8931 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8932 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8933 $as_echo_n "(cached) " >&6
8937 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8940 lt_save_MAGIC_CMD="$MAGIC_CMD"
8941 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8942 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8943 for ac_dir in $ac_dummy; do
8945 test -z "$ac_dir" && ac_dir=.
8946 if test -f $ac_dir/${ac_tool_prefix}file; then
8947 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8948 if test -n "$file_magic_test_file"; then
8949 case $deplibs_check_method in
8951 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8952 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8953 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8954 $EGREP "$file_magic_regex" > /dev/null; then
8959 *** Warning: the command libtool uses to detect shared libraries,
8960 *** $file_magic_cmd, produces output that libtool cannot recognize.
8961 *** The result is that libtool may fail to recognize shared libraries
8962 *** as such. This will affect the creation of libtool libraries that
8963 *** depend on shared libraries, but programs linked with such libtool
8964 *** libraries will work regardless of this problem. Nevertheless, you
8965 *** may want to report the problem to your system manager and/or to
8966 *** bug-libtool@gnu.org
8976 MAGIC_CMD="$lt_save_MAGIC_CMD"
8981 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8982 if test -n "$MAGIC_CMD"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8984 $as_echo "$MAGIC_CMD" >&6; }
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8994 if test -z "$lt_cv_path_MAGIC_CMD"; then
8995 if test -n "$ac_tool_prefix"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8997 $as_echo_n "checking for file... " >&6; }
8998 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8999 $as_echo_n "(cached) " >&6
9003 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9006 lt_save_MAGIC_CMD="$MAGIC_CMD"
9007 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9008 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9009 for ac_dir in $ac_dummy; do
9011 test -z "$ac_dir" && ac_dir=.
9012 if test -f $ac_dir/file; then
9013 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9014 if test -n "$file_magic_test_file"; then
9015 case $deplibs_check_method in
9017 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9018 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9019 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9020 $EGREP "$file_magic_regex" > /dev/null; then
9025 *** Warning: the command libtool uses to detect shared libraries,
9026 *** $file_magic_cmd, produces output that libtool cannot recognize.
9027 *** The result is that libtool may fail to recognize shared libraries
9028 *** as such. This will affect the creation of libtool libraries that
9029 *** depend on shared libraries, but programs linked with such libtool
9030 *** libraries will work regardless of this problem. Nevertheless, you
9031 *** may want to report the problem to your system manager and/or to
9032 *** bug-libtool@gnu.org
9042 MAGIC_CMD="$lt_save_MAGIC_CMD"
9047 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9048 if test -n "$MAGIC_CMD"; then
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9050 $as_echo "$MAGIC_CMD" >&6; }
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9053 $as_echo "no" >&6; }
9066 # Use C for the default configuration in the libtool script
9070 ac_cpp='$CPP $CPPFLAGS'
9071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9076 # Source file extension for C test sources.
9079 # Object file extension for compiled C test sources.
9083 # Code to be used in simple compile tests
9084 lt_simple_compile_test_code="int some_variable = 0;"
9086 # Code to be used in simple link tests
9087 lt_simple_link_test_code='int main(){return(0);}'
9095 # If no C compiler was specified, use CC.
9098 # If no C compiler flags were specified, use CFLAGS.
9099 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9101 # Allow CC to be a program name with arguments.
9104 # Save the default compiler, since it gets overwritten when the other
9105 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9106 compiler_DEFAULT=$CC
9108 # save warnings/boilerplate of simple test code
9109 ac_outfile=conftest.$ac_objext
9110 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9111 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9112 _lt_compiler_boilerplate=`cat conftest.err`
9115 ac_outfile=conftest.$ac_objext
9116 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9117 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9118 _lt_linker_boilerplate=`cat conftest.err`
9123 ## There is no encapsulation within the following macros, do not change
9124 ## the running order or otherwise move them around unless you know exactly
9125 ## what you are doing...
9126 if test -n "$compiler"; then
9128 lt_prog_compiler_no_builtin_flag=
9130 if test "$GCC" = yes; then
9131 case $cc_basename in
9133 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9135 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9139 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9140 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9141 $as_echo_n "(cached) " >&6
9143 lt_cv_prog_compiler_rtti_exceptions=no
9144 ac_outfile=conftest.$ac_objext
9145 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9146 lt_compiler_flag="-fno-rtti -fno-exceptions"
9147 # Insert the option either (1) after the last *FLAGS variable, or
9148 # (2) before a word containing "conftest.", or (3) at the end.
9149 # Note that $ac_compile itself does not contain backslashes and begins
9150 # with a dollar sign (not a hyphen), so the echo should work correctly.
9151 # The option is referenced via a variable to avoid confusing sed.
9152 lt_compile=`echo "$ac_compile" | $SED \
9153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9155 -e 's:$: $lt_compiler_flag:'`
9156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9157 (eval "$lt_compile" 2>conftest.err)
9159 cat conftest.err >&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 if (exit $ac_status) && test -s "$ac_outfile"; then
9162 # The compiler can only warn and ignore the option if not recognized
9163 # So say no if there are warnings other than the usual output.
9164 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9165 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9166 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9167 lt_cv_prog_compiler_rtti_exceptions=yes
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9174 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9176 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9177 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9189 lt_prog_compiler_wl=
9190 lt_prog_compiler_pic=
9191 lt_prog_compiler_static=
9194 if test "$GCC" = yes; then
9195 lt_prog_compiler_wl='-Wl,'
9196 lt_prog_compiler_static='-static'
9200 # All AIX code is PIC.
9201 if test "$host_cpu" = ia64; then
9202 # AIX 5 now supports IA64 processor
9203 lt_prog_compiler_static='-Bstatic'
9210 # see comment about AmigaOS4 .so support
9211 lt_prog_compiler_pic='-fPIC'
9214 # FIXME: we need at least 68020 code to build shared libraries, but
9215 # adding the `-m68020' flag to GCC prevents building anything better,
9217 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9222 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9223 # PIC is the default for these OSes.
9226 mingw* | cygwin* | pw32* | os2* | cegcc*)
9227 # This hack is so that the source file can tell whether it is being
9228 # built for inclusion in a dll (and should export symbols for example).
9229 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9230 # (--disable-auto-import) libraries
9231 lt_prog_compiler_pic='-DDLL_EXPORT'
9234 darwin* | rhapsody*)
9235 # PIC is the default on this platform
9236 # Common symbols not allowed in MH_DYLIB files
9237 lt_prog_compiler_pic='-fno-common'
9241 # PIC is the default for Haiku.
9242 # The "-static" flag exists, but is broken.
9243 lt_prog_compiler_static=
9247 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9248 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9249 # sets the default TLS model and affects inlining.
9255 lt_prog_compiler_pic='-fPIC'
9261 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9262 # Instead, we relocate shared libraries at runtime.
9266 # Just because we use GCC doesn't mean we suddenly get shared libraries
9267 # on systems that don't support them.
9268 lt_prog_compiler_can_build_shared=no
9273 # QNX uses GNU C++, but need to define -shared option too, otherwise
9275 lt_prog_compiler_pic='-fPIC -shared'
9279 if test -d /usr/nec; then
9280 lt_prog_compiler_pic=-Kconform_pic
9285 lt_prog_compiler_pic='-fPIC'
9289 case $cc_basename in
9290 nvcc*) # Cuda Compiler Driver 2.2
9291 lt_prog_compiler_wl='-Xlinker '
9292 if test -n "$lt_prog_compiler_pic"; then
9293 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9298 # PORTME Check for flag to pass linker flags through the system compiler.
9301 lt_prog_compiler_wl='-Wl,'
9302 if test "$host_cpu" = ia64; then
9303 # AIX 5 now supports IA64 processor
9304 lt_prog_compiler_static='-Bstatic'
9306 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9310 mingw* | cygwin* | pw32* | os2* | cegcc*)
9311 # This hack is so that the source file can tell whether it is being
9312 # built for inclusion in a dll (and should export symbols for example).
9313 lt_prog_compiler_pic='-DDLL_EXPORT'
9316 hpux9* | hpux10* | hpux11*)
9317 lt_prog_compiler_wl='-Wl,'
9318 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9325 lt_prog_compiler_pic='+Z'
9328 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9329 lt_prog_compiler_static='${wl}-a ${wl}archive'
9332 irix5* | irix6* | nonstopux*)
9333 lt_prog_compiler_wl='-Wl,'
9334 # PIC (with -KPIC) is the default.
9335 lt_prog_compiler_static='-non_shared'
9338 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9339 case $cc_basename in
9340 # old Intel for x86_64 which still supported -KPIC.
9342 lt_prog_compiler_wl='-Wl,'
9343 lt_prog_compiler_pic='-KPIC'
9344 lt_prog_compiler_static='-static'
9346 # icc used to be incompatible with GCC.
9347 # ICC 10 doesn't accept -KPIC any more.
9349 lt_prog_compiler_wl='-Wl,'
9350 lt_prog_compiler_pic='-fPIC'
9351 lt_prog_compiler_static='-static'
9353 # Lahey Fortran 8.1.
9355 lt_prog_compiler_wl='-Wl,'
9356 lt_prog_compiler_pic='--shared'
9357 lt_prog_compiler_static='--static'
9360 # NAG Fortran compiler
9361 lt_prog_compiler_wl='-Wl,-Wl,,'
9362 lt_prog_compiler_pic='-PIC'
9363 lt_prog_compiler_static='-Bstatic'
9365 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9366 # Portland Group compilers (*not* the Pentium gcc compiler,
9367 # which looks to be a dead project)
9368 lt_prog_compiler_wl='-Wl,'
9369 lt_prog_compiler_pic='-fpic'
9370 lt_prog_compiler_static='-Bstatic'
9373 lt_prog_compiler_wl='-Wl,'
9374 # All Alpha code is PIC.
9375 lt_prog_compiler_static='-non_shared'
9377 xl* | bgxl* | bgf* | mpixl*)
9378 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9379 lt_prog_compiler_wl='-Wl,'
9380 lt_prog_compiler_pic='-qpic'
9381 lt_prog_compiler_static='-qstaticlink'
9384 case `$CC -V 2>&1 | sed 5q` in
9385 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9386 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9387 lt_prog_compiler_pic='-KPIC'
9388 lt_prog_compiler_static='-Bstatic'
9389 lt_prog_compiler_wl=''
9391 *Sun\ F* | *Sun*Fortran*)
9392 lt_prog_compiler_pic='-KPIC'
9393 lt_prog_compiler_static='-Bstatic'
9394 lt_prog_compiler_wl='-Qoption ld '
9398 lt_prog_compiler_pic='-KPIC'
9399 lt_prog_compiler_static='-Bstatic'
9400 lt_prog_compiler_wl='-Wl,'
9402 *Intel*\ [CF]*Compiler*)
9403 lt_prog_compiler_wl='-Wl,'
9404 lt_prog_compiler_pic='-fPIC'
9405 lt_prog_compiler_static='-static'
9408 lt_prog_compiler_wl='-Wl,'
9409 lt_prog_compiler_pic='-fpic'
9410 lt_prog_compiler_static='-Bstatic'
9418 lt_prog_compiler_pic='-KPIC'
9419 lt_prog_compiler_static='-Bstatic'
9423 # QNX uses GNU C++, but need to define -shared option too, otherwise
9425 lt_prog_compiler_pic='-fPIC -shared'
9428 osf3* | osf4* | osf5*)
9429 lt_prog_compiler_wl='-Wl,'
9430 # All OSF/1 code is PIC.
9431 lt_prog_compiler_static='-non_shared'
9435 lt_prog_compiler_static='-non_shared'
9439 lt_prog_compiler_pic='-KPIC'
9440 lt_prog_compiler_static='-Bstatic'
9441 case $cc_basename in
9442 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9443 lt_prog_compiler_wl='-Qoption ld ';;
9445 lt_prog_compiler_wl='-Wl,';;
9450 lt_prog_compiler_wl='-Qoption ld '
9451 lt_prog_compiler_pic='-PIC'
9452 lt_prog_compiler_static='-Bstatic'
9455 sysv4 | sysv4.2uw2* | sysv4.3*)
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-KPIC'
9458 lt_prog_compiler_static='-Bstatic'
9462 if test -d /usr/nec ;then
9463 lt_prog_compiler_pic='-Kconform_pic'
9464 lt_prog_compiler_static='-Bstatic'
9468 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9469 lt_prog_compiler_wl='-Wl,'
9470 lt_prog_compiler_pic='-KPIC'
9471 lt_prog_compiler_static='-Bstatic'
9475 lt_prog_compiler_wl='-Wl,'
9476 lt_prog_compiler_can_build_shared=no
9480 lt_prog_compiler_pic='-pic'
9481 lt_prog_compiler_static='-Bstatic'
9485 lt_prog_compiler_can_build_shared=no
9491 # For platforms which do not support PIC, -DPIC is meaningless:
9493 lt_prog_compiler_pic=
9496 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9501 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9502 if ${lt_cv_prog_compiler_pic+:} false; then :
9503 $as_echo_n "(cached) " >&6
9505 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9508 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9509 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9512 # Check to make sure the PIC flag actually works.
9514 if test -n "$lt_prog_compiler_pic"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9516 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9517 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9518 $as_echo_n "(cached) " >&6
9520 lt_cv_prog_compiler_pic_works=no
9521 ac_outfile=conftest.$ac_objext
9522 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9523 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9524 # Insert the option either (1) after the last *FLAGS variable, or
9525 # (2) before a word containing "conftest.", or (3) at the end.
9526 # Note that $ac_compile itself does not contain backslashes and begins
9527 # with a dollar sign (not a hyphen), so the echo should work correctly.
9528 # The option is referenced via a variable to avoid confusing sed.
9529 lt_compile=`echo "$ac_compile" | $SED \
9530 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9531 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9532 -e 's:$: $lt_compiler_flag:'`
9533 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9534 (eval "$lt_compile" 2>conftest.err)
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 if (exit $ac_status) && test -s "$ac_outfile"; then
9539 # The compiler can only warn and ignore the option if not recognized
9540 # So say no if there are warnings other than the usual output.
9541 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9542 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9543 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9544 lt_cv_prog_compiler_pic_works=yes
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9551 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9553 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9554 case $lt_prog_compiler_pic in
9556 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9559 lt_prog_compiler_pic=
9560 lt_prog_compiler_can_build_shared=no
9576 # Check to make sure the static flag actually works.
9578 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9580 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9581 if ${lt_cv_prog_compiler_static_works+:} false; then :
9582 $as_echo_n "(cached) " >&6
9584 lt_cv_prog_compiler_static_works=no
9585 save_LDFLAGS="$LDFLAGS"
9586 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9587 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9588 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9589 # The linker can only warn and ignore the option if not recognized
9590 # So say no if there are warnings
9591 if test -s conftest.err; then
9592 # Append any errors to the config.log.
9593 cat conftest.err 1>&5
9594 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9595 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9596 if diff conftest.exp conftest.er2 >/dev/null; then
9597 lt_cv_prog_compiler_static_works=yes
9600 lt_cv_prog_compiler_static_works=yes
9604 LDFLAGS="$save_LDFLAGS"
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9608 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9610 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9613 lt_prog_compiler_static=
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9623 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9624 if ${lt_cv_prog_compiler_c_o+:} false; then :
9625 $as_echo_n "(cached) " >&6
9627 lt_cv_prog_compiler_c_o=no
9628 $RM -r conftest 2>/dev/null
9632 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9634 lt_compiler_flag="-o out/conftest2.$ac_objext"
9635 # Insert the option either (1) after the last *FLAGS variable, or
9636 # (2) before a word containing "conftest.", or (3) at the end.
9637 # Note that $ac_compile itself does not contain backslashes and begins
9638 # with a dollar sign (not a hyphen), so the echo should work correctly.
9639 lt_compile=`echo "$ac_compile" | $SED \
9640 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9641 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9642 -e 's:$: $lt_compiler_flag:'`
9643 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9644 (eval "$lt_compile" 2>out/conftest.err)
9646 cat out/conftest.err >&5
9647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9650 # The compiler can only warn and ignore the option if not recognized
9651 # So say no if there are warnings
9652 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9653 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9654 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9655 lt_cv_prog_compiler_c_o=yes
9660 # SGI C++ compiler will create directory out/ii_files/ for
9661 # template instantiation
9662 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9663 $RM out/* && rmdir out
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9670 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9679 if ${lt_cv_prog_compiler_c_o+:} false; then :
9680 $as_echo_n "(cached) " >&6
9682 lt_cv_prog_compiler_c_o=no
9683 $RM -r conftest 2>/dev/null
9687 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9689 lt_compiler_flag="-o out/conftest2.$ac_objext"
9690 # Insert the option either (1) after the last *FLAGS variable, or
9691 # (2) before a word containing "conftest.", or (3) at the end.
9692 # Note that $ac_compile itself does not contain backslashes and begins
9693 # with a dollar sign (not a hyphen), so the echo should work correctly.
9694 lt_compile=`echo "$ac_compile" | $SED \
9695 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9696 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9697 -e 's:$: $lt_compiler_flag:'`
9698 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9699 (eval "$lt_compile" 2>out/conftest.err)
9701 cat out/conftest.err >&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9705 # The compiler can only warn and ignore the option if not recognized
9706 # So say no if there are warnings
9707 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9708 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9709 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9710 lt_cv_prog_compiler_c_o=yes
9715 # SGI C++ compiler will create directory out/ii_files/ for
9716 # template instantiation
9717 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9718 $RM out/* && rmdir out
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9730 hard_links="nottested"
9731 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9732 # do not overwrite the value of need_locks provided by the user
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9734 $as_echo_n "checking if we can lock with hard links... " >&6; }
9737 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9739 ln conftest.a conftest.b 2>&5 || hard_links=no
9740 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9742 $as_echo "$hard_links" >&6; }
9743 if test "$hard_links" = no; then
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9745 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9758 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9761 allow_undefined_flag=
9762 always_export_symbols=no
9764 archive_expsym_cmds=
9765 compiler_needs_object=no
9766 enable_shared_with_static_runtimes=no
9767 export_dynamic_flag_spec=
9768 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9769 hardcode_automatic=no
9771 hardcode_direct_absolute=no
9772 hardcode_libdir_flag_spec=
9773 hardcode_libdir_separator=
9775 hardcode_shlibpath_var=unsupported
9777 link_all_deplibs=unknown
9780 old_archive_from_new_cmds=
9781 old_archive_from_expsyms_cmds=
9782 thread_safe_flag_spec=
9783 whole_archive_flag_spec=
9784 # include_expsyms should be a list of space-separated symbols to be *always*
9785 # included in the symbol list
9787 # exclude_expsyms can be an extended regexp of symbols to exclude
9788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9790 # as well as any symbol that contains `d'.
9791 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9792 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9793 # platforms (ab)use it in PIC code, but their linkers get confused if
9794 # the symbol is explicitly referenced. Since portable code cannot
9795 # rely on this symbol name, it's probably fine to never include it in
9796 # preloaded symbol tables.
9797 # Exclude shared library initialization/finalization symbols.
9798 extract_expsyms_cmds=
9801 cygwin* | mingw* | pw32* | cegcc*)
9802 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9803 # When not using gcc, we currently assume that we are using
9804 # Microsoft Visual C++.
9805 if test "$GCC" != yes; then
9810 # we just hope/assume this is gcc and not c89 (= MSVC++)
9816 linux* | k*bsd*-gnu | gnu*)
9823 # On some targets, GNU ld is compatible enough with the native linker
9824 # that we're better off using the native interface for both.
9825 lt_use_gnu_ld_interface=no
9826 if test "$with_gnu_ld" = yes; then
9829 # The AIX port of GNU ld has always aspired to compatibility
9830 # with the native linker. However, as the warning in the GNU ld
9831 # block says, versions before 2.19.5* couldn't really create working
9832 # shared libraries, regardless of the interface used.
9833 case `$LD -v 2>&1` in
9834 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9835 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9836 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9838 lt_use_gnu_ld_interface=yes
9843 lt_use_gnu_ld_interface=yes
9848 if test "$lt_use_gnu_ld_interface" = yes; then
9849 # If archive_cmds runs LD, not CC, wlarc should be empty
9852 # Set some defaults for GNU ld with shared library support. These
9853 # are reset later if shared libraries are not supported. Putting them
9854 # here allows them to be overridden if necessary.
9855 runpath_var=LD_RUN_PATH
9856 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9857 export_dynamic_flag_spec='${wl}--export-dynamic'
9858 # ancient GNU ld didn't support --whole-archive et. al.
9859 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9860 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9862 whole_archive_flag_spec=
9864 supports_anon_versioning=no
9865 case `$LD -v 2>&1` in
9866 *GNU\ gold*) supports_anon_versioning=yes ;;
9867 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9868 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9869 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9870 *\ 2.11.*) ;; # other 2.11 versions
9871 *) supports_anon_versioning=yes ;;
9874 # See if GNU ld supports shared libraries.
9877 # On AIX/PPC, the GNU linker is very broken
9878 if test "$host_cpu" != ia64; then
9882 *** Warning: the GNU linker, at least up to release 2.19, is reported
9883 *** to be unable to reliably create shared libraries on AIX.
9884 *** Therefore, libtool is disabling shared libraries support. If you
9885 *** really care for shared libraries, you may want to install binutils
9886 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9887 *** You will then need to restart the configuration process.
9896 # see comment about AmigaOS4 .so support
9897 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9898 archive_expsym_cmds=''
9901 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)'
9902 hardcode_libdir_flag_spec='-L$libdir'
9903 hardcode_minus_L=yes
9909 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9910 allow_undefined_flag=unsupported
9911 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9912 # support --undefined. This deserves some investigation. FIXME
9913 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9919 cygwin* | mingw* | pw32* | cegcc*)
9920 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9921 # as there is no search path for DLLs.
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 export_dynamic_flag_spec='${wl}--export-all-symbols'
9924 allow_undefined_flag=unsupported
9925 always_export_symbols=no
9926 enable_shared_with_static_runtimes=yes
9927 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'
9928 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9930 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9931 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9932 # If the export-symbols file already is a .def file (1st line
9933 # is EXPORTS), use it as is; otherwise, prepend...
9934 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9935 cp $export_symbols $output_objdir/$soname.def;
9937 echo EXPORTS > $output_objdir/$soname.def;
9938 cat $export_symbols >> $output_objdir/$soname.def;
9940 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9947 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9948 link_all_deplibs=yes
9953 hardcode_shlibpath_var=no
9954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 export_dynamic_flag_spec='${wl}-E'
9956 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9957 # Instead, shared libraries are loaded at an image base (0x10000000 by
9958 # default) and relocated if they conflict, which is a slow very memory
9959 # consuming and fragmenting process. To avoid this, we pick a random,
9960 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9961 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9962 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9963 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'
9966 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9968 if test "$host_os" = linux-dietlibc; then
9969 case $cc_basename in
9970 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9973 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9974 && test "$tmp_diet" = no
9976 tmp_addflag=' $pic_flag'
9977 tmp_sharedflag='-shared'
9978 case $cc_basename,$host_cpu in
9979 pgcc*) # Portland Group C compiler
9980 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'
9981 tmp_addflag=' $pic_flag'
9983 pgf77* | pgf90* | pgf95* | pgfortran*)
9984 # Portland Group f77 and f90 compilers
9985 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'
9986 tmp_addflag=' $pic_flag -Mnomain' ;;
9987 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9988 tmp_addflag=' -i_dynamic' ;;
9989 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9990 tmp_addflag=' -i_dynamic -nofor_main' ;;
9991 ifc* | ifort*) # Intel Fortran compiler
9992 tmp_addflag=' -nofor_main' ;;
9993 lf95*) # Lahey Fortran 8.1
9994 whole_archive_flag_spec=
9995 tmp_sharedflag='--shared' ;;
9996 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9997 tmp_sharedflag='-qmkshrobj'
9999 nvcc*) # Cuda Compiler Driver 2.2
10000 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'
10001 compiler_needs_object=yes
10004 case `$CC -V 2>&1 | sed 5q` in
10005 *Sun\ C*) # Sun C 5.9
10006 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'
10007 compiler_needs_object=yes
10008 tmp_sharedflag='-G' ;;
10009 *Sun\ F*) # Sun Fortran 8.3
10010 tmp_sharedflag='-G' ;;
10012 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10014 if test "x$supports_anon_versioning" = xyes; then
10015 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10016 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10017 echo "local: *; };" >> $output_objdir/$libname.ver~
10018 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10021 case $cc_basename in
10022 xlf* | bgf* | bgxlf* | mpixlf*)
10023 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10024 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10025 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10026 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10027 if test "x$supports_anon_versioning" = xyes; then
10028 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10029 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10030 echo "local: *; };" >> $output_objdir/$libname.ver~
10031 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10040 netbsd* | netbsdelf*-gnu)
10041 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10042 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10045 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10046 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10051 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10055 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10056 *** create shared libraries on Solaris systems. Therefore, libtool
10057 *** is disabling shared libraries support. We urge you to upgrade GNU
10058 *** binutils to release 2.9.1 or newer. Another option is to modify
10059 *** your PATH or compiler configuration so that the native linker is
10060 *** used, and then restart.
10063 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10064 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10065 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10071 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10072 case `$LD -v 2>&1` in
10073 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10077 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10078 *** reliably create shared libraries on SCO systems. Therefore, libtool
10079 *** is disabling shared libraries support. We urge you to upgrade GNU
10080 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10081 *** your PATH or compiler configuration so that the native linker is
10082 *** used, and then restart.
10087 # For security reasons, it is highly recommended that you always
10088 # use absolute paths for naming shared libraries, and exclude the
10089 # DT_RUNPATH tag from executables and libraries. But doing so
10090 # requires that you compile everything twice, which is a pain.
10091 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10092 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10093 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10094 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10103 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10105 hardcode_direct=yes
10106 hardcode_shlibpath_var=no
10110 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10111 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10112 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10119 if test "$ld_shlibs" = no; then
10121 hardcode_libdir_flag_spec=
10122 export_dynamic_flag_spec=
10123 whole_archive_flag_spec=
10126 # PORTME fill in a description of your system's linker (not GNU ld)
10129 allow_undefined_flag=unsupported
10130 always_export_symbols=yes
10131 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'
10132 # Note: this linker hardcodes the directories in LIBPATH if there
10133 # are no directories specified by -L.
10134 hardcode_minus_L=yes
10135 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10136 # Neither direct hardcoding nor static linking is supported with a
10138 hardcode_direct=unsupported
10143 if test "$host_cpu" = ia64; then
10144 # On IA64, the linker does run time linking by default, so we don't
10145 # have to do anything special.
10146 aix_use_runtimelinking=no
10147 exp_sym_flag='-Bexport'
10150 # If we're using GNU nm, then we don't want the "-C" option.
10151 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10152 # Also, AIX nm treats weak defined symbols like other global
10153 # defined symbols, whereas GNU nm marks them as "W".
10154 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10155 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'
10157 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'
10159 aix_use_runtimelinking=no
10161 # Test if we are trying to use run time linking or normal
10162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10163 # need to do runtime linking.
10164 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10165 for ld_flag in $LDFLAGS; do
10166 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10167 aix_use_runtimelinking=yes
10174 exp_sym_flag='-bexport'
10175 no_entry_flag='-bnoentry'
10178 # When large executables or shared objects are built, AIX ld can
10179 # have problems creating the table of contents. If linking a library
10180 # or program results in "error TOC overflow" add -mminimal-toc to
10181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10185 hardcode_direct=yes
10186 hardcode_direct_absolute=yes
10187 hardcode_libdir_separator=':'
10188 link_all_deplibs=yes
10189 file_list_spec='${wl}-f,'
10191 if test "$GCC" = yes; then
10192 case $host_os in aix4.[012]|aix4.[012].*)
10193 # We only want to do this on AIX 4.2 and lower, the check
10194 # below for broken collect2 doesn't work under 4.3+
10195 collect2name=`${CC} -print-prog-name=collect2`
10196 if test -f "$collect2name" &&
10197 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10199 # We have reworked collect2
10202 # We have old collect2
10203 hardcode_direct=unsupported
10204 # It fails to find uninstalled libraries when the uninstalled
10205 # path is not listed in the libpath. Setting hardcode_minus_L
10206 # to unsupported forces relinking
10207 hardcode_minus_L=yes
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_libdir_separator=
10213 shared_flag='-shared'
10214 if test "$aix_use_runtimelinking" = yes; then
10215 shared_flag="$shared_flag "'${wl}-G'
10217 link_all_deplibs=no
10220 if test "$host_cpu" = ia64; then
10221 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10222 # chokes on -Wl,-G. The following line is correct:
10225 if test "$aix_use_runtimelinking" = yes; then
10226 shared_flag='${wl}-G'
10228 shared_flag='${wl}-bM:SRE'
10233 export_dynamic_flag_spec='${wl}-bexpall'
10234 # It seems that -bexpall does not export symbols beginning with
10235 # underscore (_), so it is better to generate a list of symbols to export.
10236 always_export_symbols=yes
10237 if test "$aix_use_runtimelinking" = yes; then
10238 # Warning - without using the other runtime loading flags (-brtl),
10239 # -berok will link without error, but may produce a broken library.
10240 allow_undefined_flag='-berok'
10241 # Determine the default libpath from the value encoded in an
10242 # empty executable.
10243 if test "${lt_cv_aix_libpath+set}" = set; then
10244 aix_libpath=$lt_cv_aix_libpath
10246 if ${lt_cv_aix_libpath_+:} false; then :
10247 $as_echo_n "(cached) " >&6
10249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10250 /* end confdefs.h. */
10260 if ac_fn_c_try_link "$LINENO"; then :
10262 lt_aix_libpath_sed='
10263 /Import File Strings/,/^$/ {
10265 s/^0 *\([^ ]*\) *$/\1/
10269 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10270 # Check for a 64-bit object if we didn't find anything.
10271 if test -z "$lt_cv_aix_libpath_"; then
10272 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10275 rm -f core conftest.err conftest.$ac_objext \
10276 conftest$ac_exeext conftest.$ac_ext
10277 if test -z "$lt_cv_aix_libpath_"; then
10278 lt_cv_aix_libpath_="/usr/lib:/lib"
10283 aix_libpath=$lt_cv_aix_libpath_
10286 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10287 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"
10289 if test "$host_cpu" = ia64; then
10290 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10291 allow_undefined_flag="-z nodefs"
10292 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"
10294 # Determine the default libpath from the value encoded in an
10295 # empty executable.
10296 if test "${lt_cv_aix_libpath+set}" = set; then
10297 aix_libpath=$lt_cv_aix_libpath
10299 if ${lt_cv_aix_libpath_+:} false; then :
10300 $as_echo_n "(cached) " >&6
10302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10303 /* end confdefs.h. */
10313 if ac_fn_c_try_link "$LINENO"; then :
10315 lt_aix_libpath_sed='
10316 /Import File Strings/,/^$/ {
10318 s/^0 *\([^ ]*\) *$/\1/
10322 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10323 # Check for a 64-bit object if we didn't find anything.
10324 if test -z "$lt_cv_aix_libpath_"; then
10325 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 if test -z "$lt_cv_aix_libpath_"; then
10331 lt_cv_aix_libpath_="/usr/lib:/lib"
10336 aix_libpath=$lt_cv_aix_libpath_
10339 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10340 # Warning - without using the other run time loading flags,
10341 # -berok will link without error, but may produce a broken library.
10342 no_undefined_flag=' ${wl}-bernotok'
10343 allow_undefined_flag=' ${wl}-berok'
10344 if test "$with_gnu_ld" = yes; then
10345 # We only use this code for GNU lds that support --whole-archive.
10346 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10348 # Exported symbols can be pulled into shared objects from archives
10349 whole_archive_flag_spec='$convenience'
10351 archive_cmds_need_lc=yes
10352 # This is similar to how AIX traditionally builds its shared libraries.
10353 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'
10361 # see comment about AmigaOS4 .so support
10362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10363 archive_expsym_cmds=''
10366 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)'
10367 hardcode_libdir_flag_spec='-L$libdir'
10368 hardcode_minus_L=yes
10374 export_dynamic_flag_spec=-rdynamic
10377 cygwin* | mingw* | pw32* | cegcc*)
10378 # When not using gcc, we currently assume that we are using
10379 # Microsoft Visual C++.
10380 # hardcode_libdir_flag_spec is actually meaningless, as there is
10381 # no search path for DLLs.
10382 case $cc_basename in
10385 hardcode_libdir_flag_spec=' '
10386 allow_undefined_flag=unsupported
10387 always_export_symbols=yes
10389 # Tell ltmain to make .lib files, not .a files.
10391 # Tell ltmain to make .dll files, not .so files.
10393 # FIXME: Setting linknames here is a bad hack.
10394 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10395 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10396 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10398 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10400 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10402 # The linker will not automatically build a static lib if we build a DLL.
10403 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10404 enable_shared_with_static_runtimes=yes
10405 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10408 old_postinstall_cmds='chmod 644 $oldlib'
10409 postlink_cmds='lt_outputfile="@OUTPUT@"~
10410 lt_tool_outputfile="@TOOL_OUTPUT@"~
10411 case $lt_outputfile in
10414 lt_outputfile="$lt_outputfile.exe"
10415 lt_tool_outputfile="$lt_tool_outputfile.exe"
10418 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10419 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10420 $RM "$lt_outputfile.manifest";
10424 # Assume MSVC wrapper
10425 hardcode_libdir_flag_spec=' '
10426 allow_undefined_flag=unsupported
10427 # Tell ltmain to make .lib files, not .a files.
10429 # Tell ltmain to make .dll files, not .so files.
10431 # FIXME: Setting linknames here is a bad hack.
10432 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10433 # The linker will automatically build a .lib file if we build a DLL.
10434 old_archive_from_new_cmds='true'
10435 # FIXME: Should let the user specify the lib program.
10436 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10437 enable_shared_with_static_runtimes=yes
10442 darwin* | rhapsody*)
10445 archive_cmds_need_lc=no
10447 hardcode_automatic=yes
10448 hardcode_shlibpath_var=unsupported
10449 if test "$lt_cv_ld_force_load" = "yes"; then
10450 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\"`'
10453 whole_archive_flag_spec=''
10455 link_all_deplibs=yes
10456 allow_undefined_flag="$_lt_dar_allow_undefined"
10457 case $cc_basename in
10458 ifort*) _lt_dar_can_shared=yes ;;
10459 *) _lt_dar_can_shared=$GCC ;;
10461 if test "$_lt_dar_can_shared" = "yes"; then
10462 output_verbose_link_cmd=func_echo_all
10463 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10464 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10465 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}"
10466 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}"
10475 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10476 hardcode_libdir_flag_spec='-L$libdir'
10477 hardcode_shlibpath_var=no
10480 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10481 # support. Future versions do this automatically, but an explicit c++rt0.o
10482 # does not break anything, and helps significantly (at the cost of a little
10485 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10486 hardcode_libdir_flag_spec='-R$libdir'
10487 hardcode_direct=yes
10488 hardcode_shlibpath_var=no
10491 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10493 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10494 hardcode_direct=yes
10495 hardcode_minus_L=yes
10496 hardcode_shlibpath_var=no
10499 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10500 freebsd* | dragonfly*)
10501 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10502 hardcode_libdir_flag_spec='-R$libdir'
10503 hardcode_direct=yes
10504 hardcode_shlibpath_var=no
10508 if test "$GCC" = yes; then
10509 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'
10511 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'
10513 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10514 hardcode_libdir_separator=:
10515 hardcode_direct=yes
10517 # hardcode_minus_L: Not really in the search PATH,
10518 # but as the default location of the library.
10519 hardcode_minus_L=yes
10520 export_dynamic_flag_spec='${wl}-E'
10524 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10525 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10527 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10529 if test "$with_gnu_ld" = no; then
10530 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10531 hardcode_libdir_separator=:
10532 hardcode_direct=yes
10533 hardcode_direct_absolute=yes
10534 export_dynamic_flag_spec='${wl}-E'
10535 # hardcode_minus_L: Not really in the search PATH,
10536 # but as the default location of the library.
10537 hardcode_minus_L=yes
10542 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10545 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10548 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10557 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10560 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10564 # Older versions of the 11.00 compiler do not understand -b yet
10565 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10567 $as_echo_n "checking if $CC understands -b... " >&6; }
10568 if ${lt_cv_prog_compiler__b+:} false; then :
10569 $as_echo_n "(cached) " >&6
10571 lt_cv_prog_compiler__b=no
10572 save_LDFLAGS="$LDFLAGS"
10573 LDFLAGS="$LDFLAGS -b"
10574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10576 # The linker can only warn and ignore the option if not recognized
10577 # So say no if there are warnings
10578 if test -s conftest.err; then
10579 # Append any errors to the config.log.
10580 cat conftest.err 1>&5
10581 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10583 if diff conftest.exp conftest.er2 >/dev/null; then
10584 lt_cv_prog_compiler__b=yes
10587 lt_cv_prog_compiler__b=yes
10591 LDFLAGS="$save_LDFLAGS"
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10595 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10597 if test x"$lt_cv_prog_compiler__b" = xyes; then
10598 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10600 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10606 if test "$with_gnu_ld" = no; then
10607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10608 hardcode_libdir_separator=:
10613 hardcode_shlibpath_var=no
10616 hardcode_direct=yes
10617 hardcode_direct_absolute=yes
10618 export_dynamic_flag_spec='${wl}-E'
10620 # hardcode_minus_L: Not really in the search PATH,
10621 # but as the default location of the library.
10622 hardcode_minus_L=yes
10628 irix5* | irix6* | nonstopux*)
10629 if test "$GCC" = yes; then
10630 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'
10631 # Try to use the -exported_symbol ld option, if it does not
10632 # work, assume that -exports_file does not work either and
10633 # implicitly export all symbols.
10634 # This should be the same for all languages, so no per-tag cache variable.
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10636 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10637 if ${lt_cv_irix_exported_symbol+:} false; then :
10638 $as_echo_n "(cached) " >&6
10640 save_LDFLAGS="$LDFLAGS"
10641 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10644 int foo (void) { return 0; }
10646 if ac_fn_c_try_link "$LINENO"; then :
10647 lt_cv_irix_exported_symbol=yes
10649 lt_cv_irix_exported_symbol=no
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 LDFLAGS="$save_LDFLAGS"
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10656 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10657 if test "$lt_cv_irix_exported_symbol" = yes; then
10658 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'
10661 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'
10662 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'
10664 archive_cmds_need_lc='no'
10665 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10666 hardcode_libdir_separator=:
10668 link_all_deplibs=yes
10671 netbsd* | netbsdelf*-gnu)
10672 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10673 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10675 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10677 hardcode_libdir_flag_spec='-R$libdir'
10678 hardcode_direct=yes
10679 hardcode_shlibpath_var=no
10683 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10684 hardcode_direct=yes
10685 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10686 hardcode_libdir_separator=:
10687 hardcode_shlibpath_var=no
10694 if test -f /usr/libexec/ld.so; then
10695 hardcode_direct=yes
10696 hardcode_shlibpath_var=no
10697 hardcode_direct_absolute=yes
10698 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10699 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10700 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10701 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10702 export_dynamic_flag_spec='${wl}-E'
10705 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10707 hardcode_libdir_flag_spec='-R$libdir'
10710 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10711 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10721 hardcode_libdir_flag_spec='-L$libdir'
10722 hardcode_minus_L=yes
10723 allow_undefined_flag=unsupported
10724 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'
10725 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10729 if test "$GCC" = yes; then
10730 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10731 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'
10733 allow_undefined_flag=' -expect_unresolved \*'
10734 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'
10736 archive_cmds_need_lc='no'
10737 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10738 hardcode_libdir_separator=:
10741 osf4* | osf5*) # as osf3* with the addition of -msym flag
10742 if test "$GCC" = yes; then
10743 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10744 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'
10745 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10747 allow_undefined_flag=' -expect_unresolved \*'
10748 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'
10749 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~
10750 $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'
10752 # Both c and cxx compiler support -rpath directly
10753 hardcode_libdir_flag_spec='-rpath $libdir'
10755 archive_cmds_need_lc='no'
10756 hardcode_libdir_separator=:
10760 no_undefined_flag=' -z defs'
10761 if test "$GCC" = yes; then
10763 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10764 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10765 $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'
10767 case `$CC -V 2>&1` in
10770 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10771 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10772 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10776 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10778 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10782 hardcode_libdir_flag_spec='-R$libdir'
10783 hardcode_shlibpath_var=no
10785 solaris2.[0-5] | solaris2.[0-5].*) ;;
10787 # The compiler driver will combine and reorder linker options,
10788 # but understands `-z linker_flag'. GCC discards it without `$wl',
10789 # but is careful enough not to reorder.
10790 # Supported since Solaris 2.6 (maybe 2.5.1?)
10791 if test "$GCC" = yes; then
10792 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10794 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10798 link_all_deplibs=yes
10802 if test "x$host_vendor" = xsequent; then
10803 # Use $CC to link under sequent, because it throws in some extra .o
10804 # files that make .init and .fini sections work.
10805 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10807 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10809 hardcode_libdir_flag_spec='-L$libdir'
10810 hardcode_direct=yes
10811 hardcode_minus_L=yes
10812 hardcode_shlibpath_var=no
10816 case $host_vendor in
10818 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_direct=yes # is this really true???
10822 ## LD is ld it makes a PLAMLIB
10823 ## CC just makes a GrossModule.
10824 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10825 reload_cmds='$CC -r -o $output$reload_objs'
10829 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10830 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10833 runpath_var='LD_RUN_PATH'
10834 hardcode_shlibpath_var=no
10838 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10839 hardcode_shlibpath_var=no
10840 export_dynamic_flag_spec='-Bexport'
10844 if test -d /usr/nec; then
10845 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10846 hardcode_shlibpath_var=no
10847 runpath_var=LD_RUN_PATH
10848 hardcode_runpath_var=yes
10853 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10854 no_undefined_flag='${wl}-z,text'
10855 archive_cmds_need_lc=no
10856 hardcode_shlibpath_var=no
10857 runpath_var='LD_RUN_PATH'
10859 if test "$GCC" = yes; then
10860 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10861 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10863 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10864 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10868 sysv5* | sco3.2v5* | sco5v6*)
10869 # Note: We can NOT use -z defs as we might desire, because we do not
10870 # link with -lc, and that would cause any symbols used from libc to
10871 # always be unresolved, which means just about no library would
10872 # ever link correctly. If we're not using GNU ld we use -z text
10873 # though, which does catch some bad symbols but isn't as heavy-handed
10875 no_undefined_flag='${wl}-z,text'
10876 allow_undefined_flag='${wl}-z,nodefs'
10877 archive_cmds_need_lc=no
10878 hardcode_shlibpath_var=no
10879 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10880 hardcode_libdir_separator=':'
10881 link_all_deplibs=yes
10882 export_dynamic_flag_spec='${wl}-Bexport'
10883 runpath_var='LD_RUN_PATH'
10885 if test "$GCC" = yes; then
10886 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10887 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10890 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_libdir_flag_spec='-L$libdir'
10897 hardcode_shlibpath_var=no
10905 if test x$host_vendor = xsni; then
10907 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10908 export_dynamic_flag_spec='${wl}-Blargedynsym'
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10915 $as_echo "$ld_shlibs" >&6; }
10916 test "$ld_shlibs" = no && can_build_shared=no
10918 with_gnu_ld=$with_gnu_ld
10935 # Do we need to explicitly link libc?
10937 case "x$archive_cmds_need_lc" in
10939 # Assume -lc should be added
10940 archive_cmds_need_lc=yes
10942 if test "$enable_shared" = yes && test "$GCC" = yes; then
10943 case $archive_cmds in
10945 # FIXME: we may have to deal with multi-command sequences.
10948 # Test whether the compiler implicitly links with -lc since on some
10949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10950 # to ld, don't add -lc before -lgcc.
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10952 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10953 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10954 $as_echo_n "(cached) " >&6
10957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10960 (eval $ac_compile) 2>&5
10962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10963 test $ac_status = 0; } 2>conftest.err; then
10966 libobjs=conftest.$ac_objext
10968 wl=$lt_prog_compiler_wl
10969 pic_flag=$lt_prog_compiler_pic
10975 lt_save_allow_undefined_flag=$allow_undefined_flag
10976 allow_undefined_flag=
10977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10978 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10981 test $ac_status = 0; }
10983 lt_cv_archive_cmds_need_lc=no
10985 lt_cv_archive_cmds_need_lc=yes
10987 allow_undefined_flag=$lt_save_allow_undefined_flag
10989 cat conftest.err 1>&5
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10995 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10996 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11155 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11157 if test "$GCC" = yes; then
11159 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11160 *) lt_awk_arg="/^libraries:/" ;;
11163 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11164 *) lt_sed_strip_eq="s,=/,/,g" ;;
11166 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11167 case $lt_search_path_spec in
11169 # if the path contains ";" then we assume it to be the separator
11170 # otherwise default to the standard path separator (i.e. ":") - it is
11171 # assumed that no part of a normal pathname contains ";" but that should
11172 # okay in the real world where ";" in dirpaths is itself problematic.
11173 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11176 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11179 # Ok, now we have the path, separated by spaces, we can step through it
11180 # and add multilib dir if necessary.
11181 lt_tmp_lt_search_path_spec=
11182 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11183 for lt_sys_path in $lt_search_path_spec; do
11184 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11185 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11187 test -d "$lt_sys_path" && \
11188 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11191 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11192 BEGIN {RS=" "; FS="/|\n";} {
11195 for (lt_i = NF; lt_i > 0; lt_i--) {
11196 if ($lt_i != "" && $lt_i != ".") {
11197 if ($lt_i == "..") {
11200 if (lt_count == 0) {
11201 lt_foo="/" $lt_i lt_foo;
11208 if (lt_foo != "") { lt_freq[lt_foo]++; }
11209 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11211 # AWK program above erroneously prepends '/' to C:/dos/paths
11214 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11215 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11217 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11219 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11221 library_names_spec=
11222 libname_spec='lib$name'
11226 postuninstall_cmds=
11230 shlibpath_overrides_runpath=unknown
11232 dynamic_linker="$host_os ld.so"
11233 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11234 need_lib_prefix=unknown
11235 hardcode_into_libs=no
11237 # when you set need_version to no, make sure it does not cause -set_version
11238 # flags to be left without arguments
11239 need_version=unknown
11243 version_type=linux # correct to gnu/linux during the next big refactor
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11245 shlibpath_var=LIBPATH
11247 # AIX 3 has no versioning support, so we append a major version to the name.
11248 soname_spec='${libname}${release}${shared_ext}$major'
11252 version_type=linux # correct to gnu/linux during the next big refactor
11255 hardcode_into_libs=yes
11256 if test "$host_cpu" = ia64; then
11257 # AIX 5 supports IA64
11258 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11259 shlibpath_var=LD_LIBRARY_PATH
11261 # With GCC up to 2.95.x, collect2 would create an import file
11262 # for dependence libraries. The import file would start with
11263 # the line `#! .'. This would cause the generated library to
11264 # depend on `.', always an invalid library. This was fixed in
11265 # development snapshots of GCC prior to 3.0.
11267 aix4 | aix4.[01] | aix4.[01].*)
11268 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11270 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11273 can_build_shared=no
11277 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11278 # soname into executable. Probably we can add versioning support to
11279 # collect2, so additional links can be useful in future.
11280 if test "$aix_use_runtimelinking" = yes; then
11281 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11282 # instead of lib<name>.a to let people know that these are not
11283 # typical AIX shared libraries.
11284 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 # We preserve .a as extension for shared libraries through AIX4.2
11287 # and later when we are not doing run time linking.
11288 library_names_spec='${libname}${release}.a $libname.a'
11289 soname_spec='${libname}${release}${shared_ext}$major'
11291 shlibpath_var=LIBPATH
11298 # Since July 2007 AmigaOS4 officially supports .so libraries.
11299 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11303 library_names_spec='$libname.ixlibrary $libname.a'
11304 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11305 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'
11311 library_names_spec='${libname}${shared_ext}'
11312 dynamic_linker="$host_os ld.so"
11313 shlibpath_var=LIBRARY_PATH
11317 version_type=linux # correct to gnu/linux during the next big refactor
11319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320 soname_spec='${libname}${release}${shared_ext}$major'
11321 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11322 shlibpath_var=LD_LIBRARY_PATH
11323 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11324 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11325 # the default ld.so.conf also contains /usr/contrib/lib and
11326 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11327 # libtool to hard-code these into programs
11330 cygwin* | mingw* | pw32* | cegcc*)
11331 version_type=windows
11336 case $GCC,$cc_basename in
11339 library_names_spec='$libname.dll.a'
11340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11341 postinstall_cmds='base_file=`basename \${file}`~
11342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11343 dldir=$destdir/`dirname \$dlpath`~
11344 test -d \$dldir || mkdir -p \$dldir~
11345 $install_prog $dir/$dlname \$dldir/$dlname~
11346 chmod a+x \$dldir/$dlname~
11347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11351 dlpath=$dir/\$dldll~
11353 shlibpath_overrides_runpath=yes
11357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11360 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11363 # MinGW DLLs use traditional 'lib' prefix
11364 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11367 # pw32 DLLs use 'pw' prefix rather than 'lib'
11368 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11371 dynamic_linker='Win32 ld.exe'
11376 libname_spec='$name'
11377 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11378 library_names_spec='${libname}.dll.lib'
11382 sys_lib_search_path_spec=
11385 for lt_path in $LIB
11388 # Let DOS variable expansion print the short 8.3 style file name.
11389 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11390 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11393 # Convert to MSYS style.
11394 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11397 # Convert to unix form, then to dos form, then back to unix form
11398 # but this time dos style (no spaces!) so that the unix form looks
11399 # like /cygdrive/c/PROGRA~1:/cygdr...
11400 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11401 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11402 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11405 sys_lib_search_path_spec="$LIB"
11406 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11407 # It is most probably a Windows format PATH.
11408 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11410 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11412 # FIXME: find the short name or the path components, as spaces are
11413 # common. (e.g. "Program Files" -> "PROGRA~1")
11417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11418 postinstall_cmds='base_file=`basename \${file}`~
11419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11420 dldir=$destdir/`dirname \$dlpath`~
11421 test -d \$dldir || mkdir -p \$dldir~
11422 $install_prog $dir/$dlname \$dldir/$dlname'
11423 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11424 dlpath=$dir/\$dldll~
11426 shlibpath_overrides_runpath=yes
11427 dynamic_linker='Win32 link.exe'
11431 # Assume MSVC wrapper
11432 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11433 dynamic_linker='Win32 ld.exe'
11436 # FIXME: first we should search . and the directory the executable is in
11440 darwin* | rhapsody*)
11441 dynamic_linker="$host_os dyld"
11442 version_type=darwin
11445 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11446 soname_spec='${libname}${release}${major}$shared_ext'
11447 shlibpath_overrides_runpath=yes
11448 shlibpath_var=DYLD_LIBRARY_PATH
11449 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11451 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11452 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11456 version_type=linux # correct to gnu/linux during the next big refactor
11459 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11460 soname_spec='${libname}${release}${shared_ext}$major'
11461 shlibpath_var=LD_LIBRARY_PATH
11464 freebsd* | dragonfly*)
11465 # DragonFly does not have aout. When/if they implement a new
11466 # versioning mechanism, adjust this.
11467 if test -x /usr/bin/objformat; then
11468 objformat=`/usr/bin/objformat`
11471 freebsd[23].*) objformat=aout ;;
11472 *) objformat=elf ;;
11475 version_type=freebsd-$objformat
11476 case $version_type in
11478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11487 shlibpath_var=LD_LIBRARY_PATH
11490 shlibpath_overrides_runpath=yes
11492 freebsd3.[01]* | freebsdelf3.[01]*)
11493 shlibpath_overrides_runpath=yes
11494 hardcode_into_libs=yes
11496 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11497 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11498 shlibpath_overrides_runpath=no
11499 hardcode_into_libs=yes
11501 *) # from 4.6 on, and DragonFly
11502 shlibpath_overrides_runpath=yes
11503 hardcode_into_libs=yes
11509 version_type=linux # correct to gnu/linux during the next big refactor
11512 dynamic_linker="$host_os runtime_loader"
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11514 soname_spec='${libname}${release}${shared_ext}$major'
11515 shlibpath_var=LIBRARY_PATH
11516 shlibpath_overrides_runpath=yes
11517 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11518 hardcode_into_libs=yes
11521 hpux9* | hpux10* | hpux11*)
11522 # Give a soname corresponding to the major version so that dld.sl refuses to
11523 # link against other versions.
11530 hardcode_into_libs=yes
11531 dynamic_linker="$host_os dld.so"
11532 shlibpath_var=LD_LIBRARY_PATH
11533 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 if test "X$HPUX_IA64_MODE" = X32; then
11537 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11539 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11541 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11545 hardcode_into_libs=yes
11546 dynamic_linker="$host_os dld.sl"
11547 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11550 soname_spec='${libname}${release}${shared_ext}$major'
11551 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11552 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11556 dynamic_linker="$host_os dld.sl"
11557 shlibpath_var=SHLIB_PATH
11558 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec='${libname}${release}${shared_ext}$major'
11563 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11564 postinstall_cmds='chmod 555 $lib'
11565 # or fails outright, so override atomically:
11566 install_override_mode=555
11570 version_type=linux # correct to gnu/linux during the next big refactor
11573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11574 soname_spec='${libname}${release}${shared_ext}$major'
11575 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11576 shlibpath_var=LD_LIBRARY_PATH
11577 shlibpath_overrides_runpath=no
11578 hardcode_into_libs=yes
11581 irix5* | irix6* | nonstopux*)
11583 nonstopux*) version_type=nonstopux ;;
11585 if test "$lt_cv_prog_gnu_ld" = yes; then
11586 version_type=linux # correct to gnu/linux during the next big refactor
11593 soname_spec='${libname}${release}${shared_ext}$major'
11594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11596 irix5* | nonstopux*)
11597 libsuff= shlibsuff=
11600 case $LD in # libtool.m4 will add one of these switches to LD
11601 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11602 libsuff= shlibsuff= libmagic=32-bit;;
11603 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11604 libsuff=32 shlibsuff=N32 libmagic=N32;;
11605 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11606 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11607 *) libsuff= shlibsuff= libmagic=never-match;;
11611 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11612 shlibpath_overrides_runpath=no
11613 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11614 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11615 hardcode_into_libs=yes
11618 # No shared lib support for Linux oldld, aout, or coff.
11619 linux*oldld* | linux*aout* | linux*coff*)
11623 # This must be glibc/ELF.
11624 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11625 version_type=linux # correct to gnu/linux during the next big refactor
11628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629 soname_spec='${libname}${release}${shared_ext}$major'
11630 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11631 shlibpath_var=LD_LIBRARY_PATH
11632 shlibpath_overrides_runpath=no
11634 # Some binutils ld are patched to set DT_RUNPATH
11635 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11636 $as_echo_n "(cached) " >&6
11638 lt_cv_shlibpath_overrides_runpath=no
11639 save_LDFLAGS=$LDFLAGS
11640 save_libdir=$libdir
11641 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11642 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11644 /* end confdefs.h. */
11654 if ac_fn_c_try_link "$LINENO"; then :
11655 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11656 lt_cv_shlibpath_overrides_runpath=yes
11659 rm -f core conftest.err conftest.$ac_objext \
11660 conftest$ac_exeext conftest.$ac_ext
11661 LDFLAGS=$save_LDFLAGS
11662 libdir=$save_libdir
11666 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11668 # This implies no fast_install, which is unacceptable.
11669 # Some rework will be needed to allow for fast_install
11670 # before this can be enabled.
11671 hardcode_into_libs=yes
11673 # Append ld.so.conf contents to the search path
11674 if test -f /etc/ld.so.conf; then
11675 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' ' '`
11676 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11679 # We used to test for /lib/ld.so.1 and disable shared libraries on
11680 # powerpc, because MkLinux only supported shared libraries with the
11681 # GNU dynamic linker. Since this was broken with cross compilers,
11682 # most powerpc-linux boxes support dynamic linking these days and
11683 # people can always --disable-shared, the test was removed, and we
11684 # assume the GNU/Linux dynamic linker is in use.
11685 dynamic_linker='GNU/Linux ld.so'
11692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11693 soname_spec='${libname}${release}${shared_ext}$major'
11694 shlibpath_var=LD_LIBRARY_PATH
11695 shlibpath_overrides_runpath=no
11696 hardcode_into_libs=yes
11697 dynamic_linker='NetBSD ld.elf_so'
11704 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11707 dynamic_linker='NetBSD (a.out) ld.so'
11709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11710 soname_spec='${libname}${release}${shared_ext}$major'
11711 dynamic_linker='NetBSD ld.elf_so'
11713 shlibpath_var=LD_LIBRARY_PATH
11714 shlibpath_overrides_runpath=yes
11715 hardcode_into_libs=yes
11719 version_type=linux # correct to gnu/linux during the next big refactor
11720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11721 shlibpath_var=LD_LIBRARY_PATH
11722 shlibpath_overrides_runpath=yes
11729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11730 soname_spec='${libname}${release}${shared_ext}$major'
11731 shlibpath_var=LD_LIBRARY_PATH
11732 shlibpath_overrides_runpath=no
11733 hardcode_into_libs=yes
11734 dynamic_linker='ldqnx.so'
11739 sys_lib_dlsearch_path_spec="/usr/lib"
11741 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11743 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11744 *) need_version=no ;;
11746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11747 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11748 shlibpath_var=LD_LIBRARY_PATH
11749 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11751 openbsd2.[89] | openbsd2.[89].*)
11752 shlibpath_overrides_runpath=no
11755 shlibpath_overrides_runpath=yes
11759 shlibpath_overrides_runpath=yes
11764 libname_spec='$name'
11767 library_names_spec='$libname${shared_ext} $libname.a'
11768 dynamic_linker='OS/2 ld.exe'
11769 shlibpath_var=LIBPATH
11772 osf3* | osf4* | osf5*)
11776 soname_spec='${libname}${release}${shared_ext}$major'
11777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11778 shlibpath_var=LD_LIBRARY_PATH
11779 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11780 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11788 version_type=linux # correct to gnu/linux during the next big refactor
11791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 soname_spec='${libname}${release}${shared_ext}$major'
11793 shlibpath_var=LD_LIBRARY_PATH
11794 shlibpath_overrides_runpath=yes
11795 hardcode_into_libs=yes
11796 # ldd complains unless libraries are executable
11797 postinstall_cmds='chmod +x $lib'
11802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11803 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11804 shlibpath_var=LD_LIBRARY_PATH
11805 shlibpath_overrides_runpath=yes
11806 if test "$with_gnu_ld" = yes; then
11813 version_type=linux # correct to gnu/linux during the next big refactor
11814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11815 soname_spec='${libname}${release}${shared_ext}$major'
11816 shlibpath_var=LD_LIBRARY_PATH
11817 case $host_vendor in
11819 shlibpath_overrides_runpath=no
11821 runpath_var=LD_RUN_PATH
11829 shlibpath_overrides_runpath=no
11830 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11836 if test -d /usr/nec ;then
11837 version_type=linux # correct to gnu/linux during the next big refactor
11838 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11839 soname_spec='$libname${shared_ext}.$major'
11840 shlibpath_var=LD_LIBRARY_PATH
11844 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11845 version_type=freebsd-elf
11848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11849 soname_spec='${libname}${release}${shared_ext}$major'
11850 shlibpath_var=LD_LIBRARY_PATH
11851 shlibpath_overrides_runpath=yes
11852 hardcode_into_libs=yes
11853 if test "$with_gnu_ld" = yes; then
11854 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11856 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11859 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11863 sys_lib_dlsearch_path_spec='/usr/lib'
11867 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11868 version_type=linux # correct to gnu/linux during the next big refactor
11871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11872 shlibpath_var=LD_LIBRARY_PATH
11873 shlibpath_overrides_runpath=no
11874 hardcode_into_libs=yes
11878 version_type=linux # correct to gnu/linux during the next big refactor
11879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880 soname_spec='${libname}${release}${shared_ext}$major'
11881 shlibpath_var=LD_LIBRARY_PATH
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11889 $as_echo "$dynamic_linker" >&6; }
11890 test "$dynamic_linker" = no && can_build_shared=no
11892 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11893 if test "$GCC" = yes; then
11894 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11897 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11898 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11900 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11901 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11996 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11998 if test -n "$hardcode_libdir_flag_spec" ||
11999 test -n "$runpath_var" ||
12000 test "X$hardcode_automatic" = "Xyes" ; then
12002 # We can hardcode non-existent directories.
12003 if test "$hardcode_direct" != no &&
12004 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12005 # have to relink, otherwise we might link with an installed library
12006 # when we should be linking with a yet-to-be-installed one
12007 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12008 test "$hardcode_minus_L" != no; then
12009 # Linking always hardcodes the temporary library directory.
12010 hardcode_action=relink
12012 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12013 hardcode_action=immediate
12016 # We cannot hardcode anything, or else we can only hardcode existing
12018 hardcode_action=unsupported
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12021 $as_echo "$hardcode_action" >&6; }
12023 if test "$hardcode_action" = relink ||
12024 test "$inherit_rpath" = yes; then
12025 # Fast installation is not supported
12026 enable_fast_install=no
12027 elif test "$shlibpath_overrides_runpath" = yes ||
12028 test "$enable_shared" = no; then
12029 # Fast installation is not necessary
12030 enable_fast_install=needless
12038 if test "x$enable_dlopen" != xyes; then
12039 enable_dlopen=unknown
12040 enable_dlopen_self=unknown
12041 enable_dlopen_self_static=unknown
12048 lt_cv_dlopen="load_add_on"
12050 lt_cv_dlopen_self=yes
12053 mingw* | pw32* | cegcc*)
12054 lt_cv_dlopen="LoadLibrary"
12059 lt_cv_dlopen="dlopen"
12064 # if libdl is installed we need to link against it
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12066 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12067 if ${ac_cv_lib_dl_dlopen+:} false; then :
12068 $as_echo_n "(cached) " >&6
12070 ac_check_lib_save_LIBS=$LIBS
12072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12090 if ac_fn_c_try_link "$LINENO"; then :
12091 ac_cv_lib_dl_dlopen=yes
12093 ac_cv_lib_dl_dlopen=no
12095 rm -f core conftest.err conftest.$ac_objext \
12096 conftest$ac_exeext conftest.$ac_ext
12097 LIBS=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12100 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12101 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12102 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12105 lt_cv_dlopen="dyld"
12107 lt_cv_dlopen_self=yes
12114 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12115 if test "x$ac_cv_func_shl_load" = xyes; then :
12116 lt_cv_dlopen="shl_load"
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12119 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12120 if ${ac_cv_lib_dld_shl_load+:} false; then :
12121 $as_echo_n "(cached) " >&6
12123 ac_check_lib_save_LIBS=$LIBS
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12138 return shl_load ();
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 ac_cv_lib_dld_shl_load=yes
12146 ac_cv_lib_dld_shl_load=no
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12153 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12154 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12155 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12157 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12158 if test "x$ac_cv_func_dlopen" = xyes; then :
12159 lt_cv_dlopen="dlopen"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12162 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12163 if ${ac_cv_lib_dl_dlopen+:} false; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_check_lib_save_LIBS=$LIBS
12168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12171 /* Override any GCC internal prototype to avoid an error.
12172 Use char because int might match the return type of a GCC
12173 builtin and then its argument prototype would still apply. */
12186 if ac_fn_c_try_link "$LINENO"; then :
12187 ac_cv_lib_dl_dlopen=yes
12189 ac_cv_lib_dl_dlopen=no
12191 rm -f core conftest.err conftest.$ac_objext \
12192 conftest$ac_exeext conftest.$ac_ext
12193 LIBS=$ac_check_lib_save_LIBS
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12196 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12197 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12201 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12202 if ${ac_cv_lib_svld_dlopen+:} false; then :
12203 $as_echo_n "(cached) " >&6
12205 ac_check_lib_save_LIBS=$LIBS
12206 LIBS="-lsvld $LIBS"
12207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12208 /* end confdefs.h. */
12210 /* Override any GCC internal prototype to avoid an error.
12211 Use char because int might match the return type of a GCC
12212 builtin and then its argument prototype would still apply. */
12225 if ac_fn_c_try_link "$LINENO"; then :
12226 ac_cv_lib_svld_dlopen=yes
12228 ac_cv_lib_svld_dlopen=no
12230 rm -f core conftest.err conftest.$ac_objext \
12231 conftest$ac_exeext conftest.$ac_ext
12232 LIBS=$ac_check_lib_save_LIBS
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12235 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12236 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12237 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12240 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12241 if ${ac_cv_lib_dld_dld_link+:} false; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_check_lib_save_LIBS=$LIBS
12246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12259 return dld_link ();
12264 if ac_fn_c_try_link "$LINENO"; then :
12265 ac_cv_lib_dld_dld_link=yes
12267 ac_cv_lib_dld_dld_link=no
12269 rm -f core conftest.err conftest.$ac_objext \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12274 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12275 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12276 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12297 if test "x$lt_cv_dlopen" != xno; then
12303 case $lt_cv_dlopen in
12305 save_CPPFLAGS="$CPPFLAGS"
12306 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12308 save_LDFLAGS="$LDFLAGS"
12309 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12312 LIBS="$lt_cv_dlopen_libs $LIBS"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12315 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12316 if ${lt_cv_dlopen_self+:} false; then :
12317 $as_echo_n "(cached) " >&6
12319 if test "$cross_compiling" = yes; then :
12320 lt_cv_dlopen_self=cross
12322 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12323 lt_status=$lt_dlunknown
12324 cat > conftest.$ac_ext <<_LT_EOF
12325 #line $LINENO "configure"
12326 #include "confdefs.h"
12335 # define LT_DLGLOBAL RTLD_GLOBAL
12338 # define LT_DLGLOBAL DL_GLOBAL
12340 # define LT_DLGLOBAL 0
12344 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12345 find out it does not work in some platform. */
12346 #ifndef LT_DLLAZY_OR_NOW
12348 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12351 # define LT_DLLAZY_OR_NOW DL_LAZY
12354 # define LT_DLLAZY_OR_NOW RTLD_NOW
12357 # define LT_DLLAZY_OR_NOW DL_NOW
12359 # define LT_DLLAZY_OR_NOW 0
12366 /* When -fvisbility=hidden is used, assume the code has been annotated
12367 correspondingly for the symbols needed. */
12368 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12369 int fnord () __attribute__((visibility("default")));
12372 int fnord () { return 42; }
12375 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12376 int status = $lt_dlunknown;
12380 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12383 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12384 else puts (dlerror ());
12386 /* dlclose (self); */
12394 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12395 (eval $ac_link) 2>&5
12397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12399 (./conftest; exit; ) >&5 2>/dev/null
12401 case x$lt_status in
12402 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12403 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12404 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12407 # compilation failed
12408 lt_cv_dlopen_self=no
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12416 $as_echo "$lt_cv_dlopen_self" >&6; }
12418 if test "x$lt_cv_dlopen_self" = xyes; then
12419 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12421 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12422 if ${lt_cv_dlopen_self_static+:} false; then :
12423 $as_echo_n "(cached) " >&6
12425 if test "$cross_compiling" = yes; then :
12426 lt_cv_dlopen_self_static=cross
12428 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12429 lt_status=$lt_dlunknown
12430 cat > conftest.$ac_ext <<_LT_EOF
12431 #line $LINENO "configure"
12432 #include "confdefs.h"
12441 # define LT_DLGLOBAL RTLD_GLOBAL
12444 # define LT_DLGLOBAL DL_GLOBAL
12446 # define LT_DLGLOBAL 0
12450 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12451 find out it does not work in some platform. */
12452 #ifndef LT_DLLAZY_OR_NOW
12454 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12457 # define LT_DLLAZY_OR_NOW DL_LAZY
12460 # define LT_DLLAZY_OR_NOW RTLD_NOW
12463 # define LT_DLLAZY_OR_NOW DL_NOW
12465 # define LT_DLLAZY_OR_NOW 0
12472 /* When -fvisbility=hidden is used, assume the code has been annotated
12473 correspondingly for the symbols needed. */
12474 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12475 int fnord () __attribute__((visibility("default")));
12478 int fnord () { return 42; }
12481 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12482 int status = $lt_dlunknown;
12486 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12489 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12490 else puts (dlerror ());
12492 /* dlclose (self); */
12500 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12501 (eval $ac_link) 2>&5
12503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12505 (./conftest; exit; ) >&5 2>/dev/null
12507 case x$lt_status in
12508 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12509 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12510 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12513 # compilation failed
12514 lt_cv_dlopen_self_static=no
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12522 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12525 CPPFLAGS="$save_CPPFLAGS"
12526 LDFLAGS="$save_LDFLAGS"
12531 case $lt_cv_dlopen_self in
12532 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12533 *) enable_dlopen_self=unknown ;;
12536 case $lt_cv_dlopen_self_static in
12537 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12538 *) enable_dlopen_self_static=unknown ;;
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12561 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12562 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12563 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12564 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12566 $as_echo "yes" >&6; }
12568 # FIXME - insert some real tests, host_os isn't really good enough
12571 if test -n "$STRIP" ; then
12572 striplib="$STRIP -x"
12573 old_striplib="$STRIP -S"
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12575 $as_echo "yes" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12578 $as_echo "no" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12583 $as_echo "no" >&6; }
12599 # Report which library types will actually be built
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12601 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12603 $as_echo "$can_build_shared" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12606 $as_echo_n "checking whether to build shared libraries... " >&6; }
12607 test "$can_build_shared" = "no" && enable_shared=no
12609 # On AIX, shared libraries and static libraries use the same namespace, and
12610 # are all built from PIC.
12613 test "$enable_shared" = yes && enable_static=no
12614 if test -n "$RANLIB"; then
12615 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12616 postinstall_cmds='$RANLIB $lib'
12621 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12622 test "$enable_shared" = yes && enable_static=no
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12627 $as_echo "$enable_shared" >&6; }
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12630 $as_echo_n "checking whether to build static libraries... " >&6; }
12631 # Make sure either enable_shared or enable_static is yes.
12632 test "$enable_shared" = yes || enable_static=yes
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12634 $as_echo "$enable_static" >&6; }
12641 ac_cpp='$CPP $CPPFLAGS'
12642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12648 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12649 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12650 (test "X$CXX" != "Xg++"))) ; then
12652 ac_cpp='$CXXCPP $CPPFLAGS'
12653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12657 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12658 if test -z "$CXXCPP"; then
12659 if ${ac_cv_prog_CXXCPP+:} false; then :
12660 $as_echo_n "(cached) " >&6
12662 # Double quotes because CXXCPP needs to be expanded
12663 for CXXCPP in "$CXX -E" "/lib/cpp"
12665 ac_preproc_ok=false
12666 for ac_cxx_preproc_warn_flag in '' yes
12668 # Use a header file that comes with gcc, so configuring glibc
12669 # with a fresh cross-compiler works.
12670 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12671 # <limits.h> exists even on freestanding compilers.
12672 # On the NeXT, cc -E runs the code through the compiler's parser,
12673 # not just through cpp. "Syntax error" is here to catch this case.
12674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12675 /* end confdefs.h. */
12677 # include <limits.h>
12679 # include <assert.h>
12683 if ac_fn_cxx_try_cpp "$LINENO"; then :
12686 # Broken: fails on valid input.
12689 rm -f conftest.err conftest.i conftest.$ac_ext
12691 # OK, works on sane cases. Now check whether nonexistent headers
12692 # can be detected and how.
12693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12694 /* end confdefs.h. */
12695 #include <ac_nonexistent.h>
12697 if ac_fn_cxx_try_cpp "$LINENO"; then :
12698 # Broken: success on invalid input.
12701 # Passes both tests.
12705 rm -f conftest.err conftest.i conftest.$ac_ext
12708 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12709 rm -f conftest.i conftest.err conftest.$ac_ext
12710 if $ac_preproc_ok; then :
12715 ac_cv_prog_CXXCPP=$CXXCPP
12718 CXXCPP=$ac_cv_prog_CXXCPP
12720 ac_cv_prog_CXXCPP=$CXXCPP
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12723 $as_echo "$CXXCPP" >&6; }
12724 ac_preproc_ok=false
12725 for ac_cxx_preproc_warn_flag in '' yes
12727 # Use a header file that comes with gcc, so configuring glibc
12728 # with a fresh cross-compiler works.
12729 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12730 # <limits.h> exists even on freestanding compilers.
12731 # On the NeXT, cc -E runs the code through the compiler's parser,
12732 # not just through cpp. "Syntax error" is here to catch this case.
12733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12734 /* end confdefs.h. */
12736 # include <limits.h>
12738 # include <assert.h>
12742 if ac_fn_cxx_try_cpp "$LINENO"; then :
12745 # Broken: fails on valid input.
12748 rm -f conftest.err conftest.i conftest.$ac_ext
12750 # OK, works on sane cases. Now check whether nonexistent headers
12751 # can be detected and how.
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12754 #include <ac_nonexistent.h>
12756 if ac_fn_cxx_try_cpp "$LINENO"; then :
12757 # Broken: success on invalid input.
12760 # Passes both tests.
12764 rm -f conftest.err conftest.i conftest.$ac_ext
12767 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12768 rm -f conftest.i conftest.err conftest.$ac_ext
12769 if $ac_preproc_ok; then :
12772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12773 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12774 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12775 See \`config.log' for more details" "$LINENO" 5; }
12779 ac_cpp='$CPP $CPPFLAGS'
12780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12785 _lt_caught_CXX_error=yes
12789 ac_cpp='$CXXCPP $CPPFLAGS'
12790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12794 archive_cmds_need_lc_CXX=no
12795 allow_undefined_flag_CXX=
12796 always_export_symbols_CXX=no
12797 archive_expsym_cmds_CXX=
12798 compiler_needs_object_CXX=no
12799 export_dynamic_flag_spec_CXX=
12800 hardcode_direct_CXX=no
12801 hardcode_direct_absolute_CXX=no
12802 hardcode_libdir_flag_spec_CXX=
12803 hardcode_libdir_separator_CXX=
12804 hardcode_minus_L_CXX=no
12805 hardcode_shlibpath_var_CXX=unsupported
12806 hardcode_automatic_CXX=no
12807 inherit_rpath_CXX=no
12809 module_expsym_cmds_CXX=
12810 link_all_deplibs_CXX=unknown
12811 old_archive_cmds_CXX=$old_archive_cmds
12812 reload_flag_CXX=$reload_flag
12813 reload_cmds_CXX=$reload_cmds
12814 no_undefined_flag_CXX=
12815 whole_archive_flag_spec_CXX=
12816 enable_shared_with_static_runtimes_CXX=no
12818 # Source file extension for C++ test sources.
12821 # Object file extension for compiled C++ test sources.
12825 # No sense in running all these tests if we already determined that
12826 # the CXX compiler isn't working. Some variables (like enable_shared)
12827 # are currently assumed to apply to all compilers on this platform,
12828 # and will be corrupted by setting them based on a non-working compiler.
12829 if test "$_lt_caught_CXX_error" != yes; then
12830 # Code to be used in simple compile tests
12831 lt_simple_compile_test_code="int some_variable = 0;"
12833 # Code to be used in simple link tests
12834 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12836 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12843 # If no C compiler was specified, use CC.
12846 # If no C compiler flags were specified, use CFLAGS.
12847 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12849 # Allow CC to be a program name with arguments.
12853 # save warnings/boilerplate of simple test code
12854 ac_outfile=conftest.$ac_objext
12855 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12856 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12857 _lt_compiler_boilerplate=`cat conftest.err`
12860 ac_outfile=conftest.$ac_objext
12861 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12862 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12863 _lt_linker_boilerplate=`cat conftest.err`
12867 # Allow CC to be a program name with arguments.
12869 lt_save_CFLAGS=$CFLAGS
12873 lt_save_with_gnu_ld=$with_gnu_ld
12874 lt_save_path_LD=$lt_cv_path_LD
12875 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12876 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12878 $as_unset lt_cv_prog_gnu_ld
12880 if test -n "${lt_cv_path_LDCXX+set}"; then
12881 lt_cv_path_LD=$lt_cv_path_LDCXX
12883 $as_unset lt_cv_path_LD
12885 test -z "${LDCXX+set}" || LD=$LDCXX
12890 for cc_temp in $compiler""; do
12892 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12893 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12898 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12901 if test -n "$compiler"; then
12902 # We don't want -fno-exception when compiling C++ code, so set the
12903 # no_builtin_flag separately
12904 if test "$GXX" = yes; then
12905 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12907 lt_prog_compiler_no_builtin_flag_CXX=
12910 if test "$GXX" = yes; then
12911 # Set up default GNU C++ configuration
12915 # Check whether --with-gnu-ld was given.
12916 if test "${with_gnu_ld+set}" = set; then :
12917 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12923 if test "$GCC" = yes; then
12924 # Check if gcc -print-prog-name=ld gives a path.
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12926 $as_echo_n "checking for ld used by $CC... " >&6; }
12929 # gcc leaves a trailing carriage return which upsets mingw
12930 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12932 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12935 # Accept absolute paths.
12937 re_direlt='/[^/][^/]*/\.\./'
12938 # Canonicalize the pathname of ld
12939 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12940 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12941 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12943 test -z "$LD" && LD="$ac_prog"
12946 # If it fails, then pretend we aren't using GCC.
12950 # If it is relative, then search for the first ld in PATH.
12951 with_gnu_ld=unknown
12954 elif test "$with_gnu_ld" = yes; then
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12956 $as_echo_n "checking for GNU ld... " >&6; }
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12959 $as_echo_n "checking for non-GNU ld... " >&6; }
12961 if ${lt_cv_path_LD+:} false; then :
12962 $as_echo_n "(cached) " >&6
12964 if test -z "$LD"; then
12965 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12966 for ac_dir in $PATH; do
12968 test -z "$ac_dir" && ac_dir=.
12969 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12970 lt_cv_path_LD="$ac_dir/$ac_prog"
12971 # Check to see if the program is GNU ld. I'd rather use --version,
12972 # but apparently some variants of GNU ld only accept -v.
12973 # Break only if it was the GNU/non-GNU ld that we prefer.
12974 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12975 *GNU* | *'with BFD'*)
12976 test "$with_gnu_ld" != no && break
12979 test "$with_gnu_ld" != yes && break
12986 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12990 LD="$lt_cv_path_LD"
12991 if test -n "$LD"; then
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12993 $as_echo "$LD" >&6; }
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12996 $as_echo "no" >&6; }
12998 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13000 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13001 if ${lt_cv_prog_gnu_ld+:} false; then :
13002 $as_echo_n "(cached) " >&6
13004 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13005 case `$LD -v 2>&1 </dev/null` in
13006 *GNU* | *'with BFD'*)
13007 lt_cv_prog_gnu_ld=yes
13010 lt_cv_prog_gnu_ld=no
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13015 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13016 with_gnu_ld=$lt_cv_prog_gnu_ld
13024 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13025 # archiving commands below assume that GNU ld is being used.
13026 if test "$with_gnu_ld" = yes; then
13027 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13030 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13031 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13033 # If archive_cmds runs LD, not CC, wlarc should be empty
13034 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13035 # investigate it a little bit more. (MM)
13038 # ancient GNU ld didn't support --whole-archive et. al.
13039 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13040 $GREP 'no-whole-archive' > /dev/null; then
13041 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13043 whole_archive_flag_spec_CXX=
13049 # A generic and very simple default shared library creation
13050 # command for GNU C++ for the case where it uses the native
13051 # linker, instead of GNU ld. If possible, this setting should
13052 # overridden to take advantage of the native linker features on
13053 # the platform it is being used on.
13054 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13057 # Commands to make compiler produce verbose output that lists
13058 # what "hidden" libraries, object files and flags are used when
13059 # linking a shared library.
13060 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 # PORTME: fill in a description of your system's C++ link characteristics
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13070 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13074 # FIXME: insert proper C++ library support
13078 if test "$host_cpu" = ia64; then
13079 # On IA64, the linker does run time linking by default, so we don't
13080 # have to do anything special.
13081 aix_use_runtimelinking=no
13082 exp_sym_flag='-Bexport'
13085 aix_use_runtimelinking=no
13087 # Test if we are trying to use run time linking or normal
13088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13089 # need to do runtime linking.
13090 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13091 for ld_flag in $LDFLAGS; do
13094 aix_use_runtimelinking=yes
13102 exp_sym_flag='-bexport'
13103 no_entry_flag='-bnoentry'
13106 # When large executables or shared objects are built, AIX ld can
13107 # have problems creating the table of contents. If linking a library
13108 # or program results in "error TOC overflow" add -mminimal-toc to
13109 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13110 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13112 archive_cmds_CXX=''
13113 hardcode_direct_CXX=yes
13114 hardcode_direct_absolute_CXX=yes
13115 hardcode_libdir_separator_CXX=':'
13116 link_all_deplibs_CXX=yes
13117 file_list_spec_CXX='${wl}-f,'
13119 if test "$GXX" = yes; then
13120 case $host_os in aix4.[012]|aix4.[012].*)
13121 # We only want to do this on AIX 4.2 and lower, the check
13122 # below for broken collect2 doesn't work under 4.3+
13123 collect2name=`${CC} -print-prog-name=collect2`
13124 if test -f "$collect2name" &&
13125 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13127 # We have reworked collect2
13130 # We have old collect2
13131 hardcode_direct_CXX=unsupported
13132 # It fails to find uninstalled libraries when the uninstalled
13133 # path is not listed in the libpath. Setting hardcode_minus_L
13134 # to unsupported forces relinking
13135 hardcode_minus_L_CXX=yes
13136 hardcode_libdir_flag_spec_CXX='-L$libdir'
13137 hardcode_libdir_separator_CXX=
13140 shared_flag='-shared'
13141 if test "$aix_use_runtimelinking" = yes; then
13142 shared_flag="$shared_flag "'${wl}-G'
13146 if test "$host_cpu" = ia64; then
13147 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13148 # chokes on -Wl,-G. The following line is correct:
13151 if test "$aix_use_runtimelinking" = yes; then
13152 shared_flag='${wl}-G'
13154 shared_flag='${wl}-bM:SRE'
13159 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13160 # It seems that -bexpall does not export symbols beginning with
13161 # underscore (_), so it is better to generate a list of symbols to
13163 always_export_symbols_CXX=yes
13164 if test "$aix_use_runtimelinking" = yes; then
13165 # Warning - without using the other runtime loading flags (-brtl),
13166 # -berok will link without error, but may produce a broken library.
13167 allow_undefined_flag_CXX='-berok'
13168 # Determine the default libpath from the value encoded in an empty
13170 if test "${lt_cv_aix_libpath+set}" = set; then
13171 aix_libpath=$lt_cv_aix_libpath
13173 if ${lt_cv_aix_libpath__CXX+:} false; then :
13174 $as_echo_n "(cached) " >&6
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13187 if ac_fn_cxx_try_link "$LINENO"; then :
13189 lt_aix_libpath_sed='
13190 /Import File Strings/,/^$/ {
13192 s/^0 *\([^ ]*\) *$/\1/
13196 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13197 # Check for a 64-bit object if we didn't find anything.
13198 if test -z "$lt_cv_aix_libpath__CXX"; then
13199 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13202 rm -f core conftest.err conftest.$ac_objext \
13203 conftest$ac_exeext conftest.$ac_ext
13204 if test -z "$lt_cv_aix_libpath__CXX"; then
13205 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13210 aix_libpath=$lt_cv_aix_libpath__CXX
13213 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13215 archive_expsym_cmds_CXX='$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"
13217 if test "$host_cpu" = ia64; then
13218 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13219 allow_undefined_flag_CXX="-z nodefs"
13220 archive_expsym_cmds_CXX="\$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"
13222 # Determine the default libpath from the value encoded in an
13223 # empty executable.
13224 if test "${lt_cv_aix_libpath+set}" = set; then
13225 aix_libpath=$lt_cv_aix_libpath
13227 if ${lt_cv_aix_libpath__CXX+:} false; then :
13228 $as_echo_n "(cached) " >&6
13230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13231 /* end confdefs.h. */
13241 if ac_fn_cxx_try_link "$LINENO"; then :
13243 lt_aix_libpath_sed='
13244 /Import File Strings/,/^$/ {
13246 s/^0 *\([^ ]*\) *$/\1/
13250 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13251 # Check for a 64-bit object if we didn't find anything.
13252 if test -z "$lt_cv_aix_libpath__CXX"; then
13253 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13256 rm -f core conftest.err conftest.$ac_objext \
13257 conftest$ac_exeext conftest.$ac_ext
13258 if test -z "$lt_cv_aix_libpath__CXX"; then
13259 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13264 aix_libpath=$lt_cv_aix_libpath__CXX
13267 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13268 # Warning - without using the other run time loading flags,
13269 # -berok will link without error, but may produce a broken library.
13270 no_undefined_flag_CXX=' ${wl}-bernotok'
13271 allow_undefined_flag_CXX=' ${wl}-berok'
13272 if test "$with_gnu_ld" = yes; then
13273 # We only use this code for GNU lds that support --whole-archive.
13274 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13276 # Exported symbols can be pulled into shared objects from archives
13277 whole_archive_flag_spec_CXX='$convenience'
13279 archive_cmds_need_lc_CXX=yes
13280 # This is similar to how AIX traditionally builds its shared
13282 archive_expsym_cmds_CXX="\$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'
13288 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13289 allow_undefined_flag_CXX=unsupported
13290 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13291 # support --undefined. This deserves some investigation. FIXME
13292 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13299 case $cc_basename in
13301 # FIXME: insert proper C++ library support
13307 cygwin* | mingw* | pw32* | cegcc*)
13308 case $GXX,$cc_basename in
13311 # hardcode_libdir_flag_spec is actually meaningless, as there is
13312 # no search path for DLLs.
13313 hardcode_libdir_flag_spec_CXX=' '
13314 allow_undefined_flag_CXX=unsupported
13315 always_export_symbols_CXX=yes
13316 file_list_spec_CXX='@'
13317 # Tell ltmain to make .lib files, not .a files.
13319 # Tell ltmain to make .dll files, not .so files.
13321 # FIXME: Setting linknames here is a bad hack.
13322 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13323 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13324 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13326 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13328 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13330 # The linker will not automatically build a static lib if we build a DLL.
13331 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13332 enable_shared_with_static_runtimes_CXX=yes
13334 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13335 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13336 lt_tool_outputfile="@TOOL_OUTPUT@"~
13337 case $lt_outputfile in
13340 lt_outputfile="$lt_outputfile.exe"
13341 lt_tool_outputfile="$lt_tool_outputfile.exe"
13344 func_to_tool_file "$lt_outputfile"~
13345 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13346 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13347 $RM "$lt_outputfile.manifest";
13352 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13353 # as there is no search path for DLLs.
13354 hardcode_libdir_flag_spec_CXX='-L$libdir'
13355 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13356 allow_undefined_flag_CXX=unsupported
13357 always_export_symbols_CXX=no
13358 enable_shared_with_static_runtimes_CXX=yes
13360 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13361 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13362 # If the export-symbols file already is a .def file (1st line
13363 # is EXPORTS), use it as is; otherwise, prepend...
13364 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13365 cp $export_symbols $output_objdir/$soname.def;
13367 echo EXPORTS > $output_objdir/$soname.def;
13368 cat $export_symbols >> $output_objdir/$soname.def;
13370 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13377 darwin* | rhapsody*)
13380 archive_cmds_need_lc_CXX=no
13381 hardcode_direct_CXX=no
13382 hardcode_automatic_CXX=yes
13383 hardcode_shlibpath_var_CXX=unsupported
13384 if test "$lt_cv_ld_force_load" = "yes"; then
13385 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13388 whole_archive_flag_spec_CXX=''
13390 link_all_deplibs_CXX=yes
13391 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13392 case $cc_basename in
13393 ifort*) _lt_dar_can_shared=yes ;;
13394 *) _lt_dar_can_shared=$GCC ;;
13396 if test "$_lt_dar_can_shared" = "yes"; then
13397 output_verbose_link_cmd=func_echo_all
13398 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
13399 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13400 archive_expsym_cmds_CXX="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}"
13401 module_expsym_cmds_CXX="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}"
13402 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13403 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
13404 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13414 case $cc_basename in
13416 # FIXME: insert proper C++ library support
13420 # Green Hills C++ Compiler
13421 # FIXME: insert proper C++ library support
13425 # FIXME: insert proper C++ library support
13432 # C++ shared libraries reported to be fairly broken before
13438 archive_cmds_need_lc_CXX=no
13441 freebsd* | dragonfly*)
13442 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13448 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13449 link_all_deplibs_CXX=yes
13453 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13454 hardcode_libdir_separator_CXX=:
13455 export_dynamic_flag_spec_CXX='${wl}-E'
13456 hardcode_direct_CXX=yes
13457 hardcode_minus_L_CXX=yes # Not in the search PATH,
13458 # but as the default
13459 # location of the library.
13461 case $cc_basename in
13463 # FIXME: insert proper C++ library support
13467 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13468 # Commands to make compiler produce verbose output that lists
13469 # what "hidden" libraries, object files and flags are used when
13470 # linking a shared library.
13472 # There doesn't appear to be a way to prevent this compiler from
13473 # explicitly linking system object files so we need to strip them
13474 # from the output so that they don't get included in the library
13476 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13479 if test "$GXX" = yes; then
13480 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13482 # FIXME: insert proper C++ library support
13490 if test $with_gnu_ld = no; then
13491 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13492 hardcode_libdir_separator_CXX=:
13498 export_dynamic_flag_spec_CXX='${wl}-E'
13504 hardcode_direct_CXX=no
13505 hardcode_shlibpath_var_CXX=no
13508 hardcode_direct_CXX=yes
13509 hardcode_direct_absolute_CXX=yes
13510 hardcode_minus_L_CXX=yes # Not in the search PATH,
13511 # but as the default
13512 # location of the library.
13516 case $cc_basename in
13518 # FIXME: insert proper C++ library support
13524 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13527 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13530 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13533 # Commands to make compiler produce verbose output that lists
13534 # what "hidden" libraries, object files and flags are used when
13535 # linking a shared library.
13537 # There doesn't appear to be a way to prevent this compiler from
13538 # explicitly linking system object files so we need to strip them
13539 # from the output so that they don't get included in the library
13541 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13544 if test "$GXX" = yes; then
13545 if test $with_gnu_ld = no; then
13548 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13551 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13554 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13559 # FIXME: insert proper C++ library support
13567 hardcode_direct_CXX=no
13568 hardcode_shlibpath_var_CXX=no
13569 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13570 export_dynamic_flag_spec_CXX='${wl}-E'
13571 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13572 # Instead, shared libraries are loaded at an image base (0x10000000 by
13573 # default) and relocated if they conflict, which is a slow very memory
13574 # consuming and fragmenting process. To avoid this, we pick a random,
13575 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13576 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13577 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13578 archive_expsym_cmds_CXX='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'
13581 case $cc_basename in
13584 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13586 # Archives containing C++ object files must be created using
13587 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13588 # necessary to make sure instantiated templates are included
13590 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13593 if test "$GXX" = yes; then
13594 if test "$with_gnu_ld" = no; then
13595 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13597 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13600 link_all_deplibs_CXX=yes
13603 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13604 hardcode_libdir_separator_CXX=:
13605 inherit_rpath_CXX=yes
13608 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13609 case $cc_basename in
13611 # Kuck and Associates, Inc. (KAI) C++ Compiler
13613 # KCC will only create a shared library if the output file
13614 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13615 # to its proper name (with version) after linking.
13616 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13617 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13618 # Commands to make compiler produce verbose output that lists
13619 # what "hidden" libraries, object files and flags are used when
13620 # linking a shared library.
13622 # There doesn't appear to be a way to prevent this compiler from
13623 # explicitly linking system object files so we need to strip them
13624 # from the output so that they don't get included in the library
13626 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13628 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13629 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13631 # Archives containing C++ object files must be created using
13632 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13633 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13638 # version 8.0 and above of icpc choke on multiply defined symbols
13639 # if we add $predep_objects and $postdep_objects, however 7.1 and
13640 # earlier do not add the objects themselves.
13641 case `$CC -V 2>&1` in
13643 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13644 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13646 *) # Version 8.0 or newer
13649 ia64*) tmp_idyn=' -i_dynamic';;
13651 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13652 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13655 archive_cmds_need_lc_CXX=no
13656 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13657 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13658 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13661 # Portland Group C++ compiler
13663 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13664 prelink_cmds_CXX='tpldir=Template.dir~
13666 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13667 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13668 old_archive_cmds_CXX='tpldir=Template.dir~
13670 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13671 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13673 archive_cmds_CXX='tpldir=Template.dir~
13675 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13676 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13677 archive_expsym_cmds_CXX='tpldir=Template.dir~
13679 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13680 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13682 *) # Version 6 and above use weak symbols
13683 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13684 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13688 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13689 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13690 whole_archive_flag_spec_CXX='${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'
13694 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13695 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13697 runpath_var=LD_RUN_PATH
13698 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13699 hardcode_libdir_separator_CXX=:
13701 # Commands to make compiler produce verbose output that lists
13702 # what "hidden" libraries, object files and flags are used when
13703 # linking a shared library.
13705 # There doesn't appear to be a way to prevent this compiler from
13706 # explicitly linking system object files so we need to strip them
13707 # from the output so that they don't get included in the library
13709 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13711 xl* | mpixl* | bgxl*)
13712 # IBM XL 8.0 on PPC, with GNU ld
13713 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13714 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13715 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13716 if test "x$supports_anon_versioning" = xyes; then
13717 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13718 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13719 echo "local: *; };" >> $output_objdir/$libname.ver~
13720 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13724 case `$CC -V 2>&1 | sed 5q` in
13727 no_undefined_flag_CXX=' -zdefs'
13728 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13729 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13730 hardcode_libdir_flag_spec_CXX='-R$libdir'
13731 whole_archive_flag_spec_CXX='${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'
13732 compiler_needs_object_CXX=yes
13734 # Not sure whether something based on
13735 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13737 output_verbose_link_cmd='func_echo_all'
13739 # Archives containing C++ object files must be created using
13740 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13741 # necessary to make sure instantiated templates are included
13743 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13751 # FIXME: insert proper C++ library support
13756 # FIXME: insert proper C++ library support
13761 case $cc_basename in
13763 # FIXME: insert proper C++ library support
13767 # FIXME: insert proper C++ library support
13774 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13775 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13777 hardcode_libdir_flag_spec_CXX='-R$libdir'
13778 hardcode_direct_CXX=yes
13779 hardcode_shlibpath_var_CXX=no
13781 # Workaround some broken pre-1.5 toolchains
13782 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13790 # C++ shared libraries are fairly broken
13795 if test -f /usr/libexec/ld.so; then
13796 hardcode_direct_CXX=yes
13797 hardcode_shlibpath_var_CXX=no
13798 hardcode_direct_absolute_CXX=yes
13799 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13801 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13802 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13803 export_dynamic_flag_spec_CXX='${wl}-E'
13804 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13806 output_verbose_link_cmd=func_echo_all
13812 osf3* | osf4* | osf5*)
13813 case $cc_basename in
13815 # Kuck and Associates, Inc. (KAI) C++ Compiler
13817 # KCC will only create a shared library if the output file
13818 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13819 # to its proper name (with version) after linking.
13820 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13822 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13823 hardcode_libdir_separator_CXX=:
13825 # Archives containing C++ object files must be created using
13826 # the KAI C++ compiler.
13828 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13829 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13833 # Rational C++ 2.4.1
13834 # FIXME: insert proper C++ library support
13840 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13841 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13842 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13845 allow_undefined_flag_CXX=' -expect_unresolved \*'
13846 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13847 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13848 echo "-hidden">> $lib.exp~
13849 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13851 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13855 hardcode_libdir_separator_CXX=:
13857 # Commands to make compiler produce verbose output that lists
13858 # what "hidden" libraries, object files and flags are used when
13859 # linking a shared library.
13861 # There doesn't appear to be a way to prevent this compiler from
13862 # explicitly linking system object files so we need to strip them
13863 # from the output so that they don't get included in the library
13865 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13868 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13869 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13872 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13875 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13879 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13880 hardcode_libdir_separator_CXX=:
13882 # Commands to make compiler produce verbose output that lists
13883 # what "hidden" libraries, object files and flags are used when
13884 # linking a shared library.
13885 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13888 # FIXME: insert proper C++ library support
13896 # FIXME: insert proper C++ library support
13901 case $cc_basename in
13904 # FIXME: insert proper C++ library support
13909 # FIXME: insert proper C++ library support
13913 # FIXME: insert proper C++ library support
13920 case $cc_basename in
13922 # Sun C++ 4.2, 5.x and Centerline C++
13923 archive_cmds_need_lc_CXX=yes
13924 no_undefined_flag_CXX=' -zdefs'
13925 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13926 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13927 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13929 hardcode_libdir_flag_spec_CXX='-R$libdir'
13930 hardcode_shlibpath_var_CXX=no
13932 solaris2.[0-5] | solaris2.[0-5].*) ;;
13934 # The compiler driver will combine and reorder linker options,
13935 # but understands `-z linker_flag'.
13936 # Supported since Solaris 2.6 (maybe 2.5.1?)
13937 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13940 link_all_deplibs_CXX=yes
13942 output_verbose_link_cmd='func_echo_all'
13944 # Archives containing C++ object files must be created using
13945 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13946 # necessary to make sure instantiated templates are included
13948 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13951 # Green Hills C++ Compiler
13952 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13954 # The C++ compiler must be used to create the archive.
13955 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13958 # GNU C++ compiler with Solaris linker
13959 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13960 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13961 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13962 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13963 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13964 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13966 # Commands to make compiler produce verbose output that lists
13967 # what "hidden" libraries, object files and flags are used when
13968 # linking a shared library.
13969 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13971 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13973 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13974 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13975 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13977 # Commands to make compiler produce verbose output that lists
13978 # what "hidden" libraries, object files and flags are used when
13979 # linking a shared library.
13980 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13983 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13985 solaris2.[0-5] | solaris2.[0-5].*) ;;
13987 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13995 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13996 no_undefined_flag_CXX='${wl}-z,text'
13997 archive_cmds_need_lc_CXX=no
13998 hardcode_shlibpath_var_CXX=no
13999 runpath_var='LD_RUN_PATH'
14001 case $cc_basename in
14003 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14004 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14007 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14008 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14013 sysv5* | sco3.2v5* | sco5v6*)
14014 # Note: We can NOT use -z defs as we might desire, because we do not
14015 # link with -lc, and that would cause any symbols used from libc to
14016 # always be unresolved, which means just about no library would
14017 # ever link correctly. If we're not using GNU ld we use -z text
14018 # though, which does catch some bad symbols but isn't as heavy-handed
14020 no_undefined_flag_CXX='${wl}-z,text'
14021 allow_undefined_flag_CXX='${wl}-z,nodefs'
14022 archive_cmds_need_lc_CXX=no
14023 hardcode_shlibpath_var_CXX=no
14024 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14025 hardcode_libdir_separator_CXX=':'
14026 link_all_deplibs_CXX=yes
14027 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14028 runpath_var='LD_RUN_PATH'
14030 case $cc_basename in
14032 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14033 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14034 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14035 '"$old_archive_cmds_CXX"
14036 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14037 '"$reload_cmds_CXX"
14040 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14041 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14047 case $cc_basename in
14049 # NonStop-UX NCC 3.20
14050 # FIXME: insert proper C++ library support
14054 # FIXME: insert proper C++ library support
14061 # FIXME: insert proper C++ library support
14066 # FIXME: insert proper C++ library support
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14072 $as_echo "$ld_shlibs_CXX" >&6; }
14073 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079 ## There is no encapsulation within the following macros, do not change
14080 ## the running order or otherwise move them around unless you know exactly
14081 ## what you are doing...
14082 # Dependencies to place before and after the object being linked:
14083 predep_objects_CXX=
14084 postdep_objects_CXX=
14087 compiler_lib_search_path_CXX=
14089 cat > conftest.$ac_ext <<_LT_EOF
14093 Foo (void) { a = 0; }
14100 _lt_libdeps_save_CFLAGS=$CFLAGS
14101 case "$CC $CFLAGS " in #(
14102 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14103 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14104 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14107 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14108 (eval $ac_compile) 2>&5
14110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14111 test $ac_status = 0; }; then
14112 # Parse the compiler output and extract the necessary
14113 # objects, libraries and library flags.
14115 # Sentinel used to keep track of whether or not we are before
14116 # the conftest object file.
14117 pre_test_object_deps_done=no
14119 for p in `eval "$output_verbose_link_cmd"`; do
14120 case ${prev}${p} in
14123 # Some compilers place space between "-{L,R}" and the path.
14124 # Remove the space.
14125 if test $p = "-L" ||
14126 test $p = "-R"; then
14131 # Expand the sysroot to ease extracting the directories later.
14132 if test -z "$prev"; then
14134 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14135 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14136 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14140 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14142 if test "$pre_test_object_deps_done" = no; then
14145 # Internal compiler library paths should come after those
14146 # provided the user. The postdeps already come after the
14147 # user supplied libs so there is no need to process them.
14148 if test -z "$compiler_lib_search_path_CXX"; then
14149 compiler_lib_search_path_CXX="${prev}${p}"
14151 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14154 # The "-l" case would never come before the object being
14155 # linked, so don't bother handling this case.
14158 if test -z "$postdeps_CXX"; then
14159 postdeps_CXX="${prev}${p}"
14161 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14167 *.lto.$objext) ;; # Ignore GCC LTO objects
14169 # This assumes that the test object file only shows up
14170 # once in the compiler output.
14171 if test "$p" = "conftest.$objext"; then
14172 pre_test_object_deps_done=yes
14176 if test "$pre_test_object_deps_done" = no; then
14177 if test -z "$predep_objects_CXX"; then
14178 predep_objects_CXX="$p"
14180 predep_objects_CXX="$predep_objects_CXX $p"
14183 if test -z "$postdep_objects_CXX"; then
14184 postdep_objects_CXX="$p"
14186 postdep_objects_CXX="$postdep_objects_CXX $p"
14191 *) ;; # Ignore the rest.
14199 echo "libtool.m4: error: problem compiling CXX test program"
14202 $RM -f confest.$objext
14203 CFLAGS=$_lt_libdeps_save_CFLAGS
14205 # PORTME: override above test on systems where it is broken
14208 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14209 # hack all around it, let's just trust "g++" to DTRT.
14210 predep_objects_CXX=
14211 postdep_objects_CXX=
14216 case `$CC -V 2>&1 | sed 5q` in
14220 # The more standards-conforming stlport4 library is
14221 # incompatible with the Cstd library. Avoid specifying
14222 # it if it's in CXXFLAGS. Ignore libCrun as
14223 # -library=stlport4 depends on it.
14224 case " $CXX $CXXFLAGS " in
14225 *" -library=stlport4 "*)
14226 solaris_use_stlport4=yes
14230 if test "$solaris_use_stlport4" != yes; then
14231 postdeps_CXX='-library=Cstd -library=Crun'
14238 case $cc_basename in
14240 # The more standards-conforming stlport4 library is
14241 # incompatible with the Cstd library. Avoid specifying
14242 # it if it's in CXXFLAGS. Ignore libCrun as
14243 # -library=stlport4 depends on it.
14244 case " $CXX $CXXFLAGS " in
14245 *" -library=stlport4 "*)
14246 solaris_use_stlport4=yes
14250 # Adding this requires a known-good setup of shared libraries for
14251 # Sun compiler versions before 5.6, else PIC objects from an old
14252 # archive will be linked into the output, leading to subtle bugs.
14253 if test "$solaris_use_stlport4" != yes; then
14254 postdeps_CXX='-library=Cstd -library=Crun'
14262 case " $postdeps_CXX " in
14263 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14265 compiler_lib_search_dirs_CXX=
14266 if test -n "${compiler_lib_search_path_CXX}"; then
14267 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14300 lt_prog_compiler_wl_CXX=
14301 lt_prog_compiler_pic_CXX=
14302 lt_prog_compiler_static_CXX=
14305 # C++ specific cases for pic, static, wl, etc.
14306 if test "$GXX" = yes; then
14307 lt_prog_compiler_wl_CXX='-Wl,'
14308 lt_prog_compiler_static_CXX='-static'
14312 # All AIX code is PIC.
14313 if test "$host_cpu" = ia64; then
14314 # AIX 5 now supports IA64 processor
14315 lt_prog_compiler_static_CXX='-Bstatic'
14322 # see comment about AmigaOS4 .so support
14323 lt_prog_compiler_pic_CXX='-fPIC'
14326 # FIXME: we need at least 68020 code to build shared libraries, but
14327 # adding the `-m68020' flag to GCC prevents building anything better,
14329 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14334 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14335 # PIC is the default for these OSes.
14337 mingw* | cygwin* | os2* | pw32* | cegcc*)
14338 # This hack is so that the source file can tell whether it is being
14339 # built for inclusion in a dll (and should export symbols for example).
14340 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14341 # (--disable-auto-import) libraries
14342 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14344 darwin* | rhapsody*)
14345 # PIC is the default on this platform
14346 # Common symbols not allowed in MH_DYLIB files
14347 lt_prog_compiler_pic_CXX='-fno-common'
14350 # DJGPP does not support shared libraries at all
14351 lt_prog_compiler_pic_CXX=
14354 # PIC is the default for Haiku.
14355 # The "-static" flag exists, but is broken.
14356 lt_prog_compiler_static_CXX=
14359 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14360 # Instead, we relocate shared libraries at runtime.
14363 if test -d /usr/nec; then
14364 lt_prog_compiler_pic_CXX=-Kconform_pic
14368 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14369 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14370 # sets the default TLS model and affects inlining.
14375 lt_prog_compiler_pic_CXX='-fPIC'
14380 # QNX uses GNU C++, but need to define -shared option too, otherwise
14381 # it will coredump.
14382 lt_prog_compiler_pic_CXX='-fPIC -shared'
14385 lt_prog_compiler_pic_CXX='-fPIC'
14391 # All AIX code is PIC.
14392 if test "$host_cpu" = ia64; then
14393 # AIX 5 now supports IA64 processor
14394 lt_prog_compiler_static_CXX='-Bstatic'
14396 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14400 case $cc_basename in
14402 # Green Hills C++ Compiler
14403 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14407 mingw* | cygwin* | os2* | pw32* | cegcc*)
14408 # This hack is so that the source file can tell whether it is being
14409 # built for inclusion in a dll (and should export symbols for example).
14410 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14413 case $cc_basename in
14415 lt_prog_compiler_pic_CXX='-KPIC'
14418 # Green Hills C++ Compiler
14419 lt_prog_compiler_pic_CXX='-pic'
14425 freebsd* | dragonfly*)
14426 # FreeBSD uses GNU C++
14428 hpux9* | hpux10* | hpux11*)
14429 case $cc_basename in
14431 lt_prog_compiler_wl_CXX='-Wl,'
14432 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14433 if test "$host_cpu" != ia64; then
14434 lt_prog_compiler_pic_CXX='+Z'
14438 lt_prog_compiler_wl_CXX='-Wl,'
14439 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14445 lt_prog_compiler_pic_CXX='+Z'
14454 # This is c89, which is MS Visual C++ (no shared libs)
14455 # Anyone wants to do a port?
14457 irix5* | irix6* | nonstopux*)
14458 case $cc_basename in
14460 lt_prog_compiler_wl_CXX='-Wl,'
14461 lt_prog_compiler_static_CXX='-non_shared'
14462 # CC pic flag -KPIC is the default.
14468 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14469 case $cc_basename in
14472 lt_prog_compiler_wl_CXX='--backend -Wl,'
14473 lt_prog_compiler_pic_CXX='-fPIC'
14476 # old Intel C++ for x86_64 which still supported -KPIC.
14477 lt_prog_compiler_wl_CXX='-Wl,'
14478 lt_prog_compiler_pic_CXX='-KPIC'
14479 lt_prog_compiler_static_CXX='-static'
14482 # Intel C++, used to be incompatible with GCC.
14483 # ICC 10 doesn't accept -KPIC any more.
14484 lt_prog_compiler_wl_CXX='-Wl,'
14485 lt_prog_compiler_pic_CXX='-fPIC'
14486 lt_prog_compiler_static_CXX='-static'
14489 # Portland Group C++ compiler
14490 lt_prog_compiler_wl_CXX='-Wl,'
14491 lt_prog_compiler_pic_CXX='-fpic'
14492 lt_prog_compiler_static_CXX='-Bstatic'
14496 # Make sure the PIC flag is empty. It appears that all Alpha
14497 # Linux and Compaq Tru64 Unix objects are PIC.
14498 lt_prog_compiler_pic_CXX=
14499 lt_prog_compiler_static_CXX='-non_shared'
14501 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14502 # IBM XL 8.0, 9.0 on PPC and BlueGene
14503 lt_prog_compiler_wl_CXX='-Wl,'
14504 lt_prog_compiler_pic_CXX='-qpic'
14505 lt_prog_compiler_static_CXX='-qstaticlink'
14508 case `$CC -V 2>&1 | sed 5q` in
14511 lt_prog_compiler_pic_CXX='-KPIC'
14512 lt_prog_compiler_static_CXX='-Bstatic'
14513 lt_prog_compiler_wl_CXX='-Qoption ld '
14524 case $cc_basename in
14526 lt_prog_compiler_pic_CXX='-W c,exportall'
14532 netbsd* | netbsdelf*-gnu)
14535 # QNX uses GNU C++, but need to define -shared option too, otherwise
14536 # it will coredump.
14537 lt_prog_compiler_pic_CXX='-fPIC -shared'
14539 osf3* | osf4* | osf5*)
14540 case $cc_basename in
14542 lt_prog_compiler_wl_CXX='--backend -Wl,'
14545 # Rational C++ 2.4.1
14546 lt_prog_compiler_pic_CXX='-pic'
14549 # Digital/Compaq C++
14550 lt_prog_compiler_wl_CXX='-Wl,'
14551 # Make sure the PIC flag is empty. It appears that all Alpha
14552 # Linux and Compaq Tru64 Unix objects are PIC.
14553 lt_prog_compiler_pic_CXX=
14554 lt_prog_compiler_static_CXX='-non_shared'
14563 case $cc_basename in
14565 # Sun C++ 4.2, 5.x and Centerline C++
14566 lt_prog_compiler_pic_CXX='-KPIC'
14567 lt_prog_compiler_static_CXX='-Bstatic'
14568 lt_prog_compiler_wl_CXX='-Qoption ld '
14571 # Green Hills C++ Compiler
14572 lt_prog_compiler_pic_CXX='-PIC'
14579 case $cc_basename in
14582 lt_prog_compiler_pic_CXX='-pic'
14583 lt_prog_compiler_static_CXX='-Bstatic'
14587 lt_prog_compiler_pic_CXX='-pic'
14593 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14594 case $cc_basename in
14596 lt_prog_compiler_wl_CXX='-Wl,'
14597 lt_prog_compiler_pic_CXX='-KPIC'
14598 lt_prog_compiler_static_CXX='-Bstatic'
14603 case $cc_basename in
14605 # NonStop-UX NCC 3.20
14606 lt_prog_compiler_pic_CXX='-KPIC'
14615 lt_prog_compiler_can_build_shared_CXX=no
14621 # For platforms which do not support PIC, -DPIC is meaningless:
14623 lt_prog_compiler_pic_CXX=
14626 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14631 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14632 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14633 $as_echo_n "(cached) " >&6
14635 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14638 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14639 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14642 # Check to make sure the PIC flag actually works.
14644 if test -n "$lt_prog_compiler_pic_CXX"; then
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14646 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14647 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14648 $as_echo_n "(cached) " >&6
14650 lt_cv_prog_compiler_pic_works_CXX=no
14651 ac_outfile=conftest.$ac_objext
14652 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14653 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14654 # Insert the option either (1) after the last *FLAGS variable, or
14655 # (2) before a word containing "conftest.", or (3) at the end.
14656 # Note that $ac_compile itself does not contain backslashes and begins
14657 # with a dollar sign (not a hyphen), so the echo should work correctly.
14658 # The option is referenced via a variable to avoid confusing sed.
14659 lt_compile=`echo "$ac_compile" | $SED \
14660 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14661 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14662 -e 's:$: $lt_compiler_flag:'`
14663 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14664 (eval "$lt_compile" 2>conftest.err)
14666 cat conftest.err >&5
14667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14668 if (exit $ac_status) && test -s "$ac_outfile"; then
14669 # The compiler can only warn and ignore the option if not recognized
14670 # So say no if there are warnings other than the usual output.
14671 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14672 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14673 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14674 lt_cv_prog_compiler_pic_works_CXX=yes
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14681 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14683 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14684 case $lt_prog_compiler_pic_CXX in
14686 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14689 lt_prog_compiler_pic_CXX=
14690 lt_prog_compiler_can_build_shared_CXX=no
14700 # Check to make sure the static flag actually works.
14702 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14704 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14705 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14706 $as_echo_n "(cached) " >&6
14708 lt_cv_prog_compiler_static_works_CXX=no
14709 save_LDFLAGS="$LDFLAGS"
14710 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14711 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14712 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14713 # The linker can only warn and ignore the option if not recognized
14714 # So say no if there are warnings
14715 if test -s conftest.err; then
14716 # Append any errors to the config.log.
14717 cat conftest.err 1>&5
14718 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14719 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14720 if diff conftest.exp conftest.er2 >/dev/null; then
14721 lt_cv_prog_compiler_static_works_CXX=yes
14724 lt_cv_prog_compiler_static_works_CXX=yes
14728 LDFLAGS="$save_LDFLAGS"
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14732 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14734 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14737 lt_prog_compiler_static_CXX=
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14745 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14746 $as_echo_n "(cached) " >&6
14748 lt_cv_prog_compiler_c_o_CXX=no
14749 $RM -r conftest 2>/dev/null
14753 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14755 lt_compiler_flag="-o out/conftest2.$ac_objext"
14756 # Insert the option either (1) after the last *FLAGS variable, or
14757 # (2) before a word containing "conftest.", or (3) at the end.
14758 # Note that $ac_compile itself does not contain backslashes and begins
14759 # with a dollar sign (not a hyphen), so the echo should work correctly.
14760 lt_compile=`echo "$ac_compile" | $SED \
14761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14763 -e 's:$: $lt_compiler_flag:'`
14764 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14765 (eval "$lt_compile" 2>out/conftest.err)
14767 cat out/conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14771 # The compiler can only warn and ignore the option if not recognized
14772 # So say no if there are warnings
14773 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14774 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14775 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14776 lt_cv_prog_compiler_c_o_CXX=yes
14781 # SGI C++ compiler will create directory out/ii_files/ for
14782 # template instantiation
14783 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14784 $RM out/* && rmdir out
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14791 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14796 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14797 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14798 $as_echo_n "(cached) " >&6
14800 lt_cv_prog_compiler_c_o_CXX=no
14801 $RM -r conftest 2>/dev/null
14805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14807 lt_compiler_flag="-o out/conftest2.$ac_objext"
14808 # Insert the option either (1) after the last *FLAGS variable, or
14809 # (2) before a word containing "conftest.", or (3) at the end.
14810 # Note that $ac_compile itself does not contain backslashes and begins
14811 # with a dollar sign (not a hyphen), so the echo should work correctly.
14812 lt_compile=`echo "$ac_compile" | $SED \
14813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14815 -e 's:$: $lt_compiler_flag:'`
14816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14817 (eval "$lt_compile" 2>out/conftest.err)
14819 cat out/conftest.err >&5
14820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14821 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14823 # The compiler can only warn and ignore the option if not recognized
14824 # So say no if there are warnings
14825 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14826 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14827 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14828 lt_cv_prog_compiler_c_o_CXX=yes
14833 # SGI C++ compiler will create directory out/ii_files/ for
14834 # template instantiation
14835 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14836 $RM out/* && rmdir out
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14843 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14848 hard_links="nottested"
14849 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14850 # do not overwrite the value of need_locks provided by the user
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14852 $as_echo_n "checking if we can lock with hard links... " >&6; }
14855 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14857 ln conftest.a conftest.b 2>&5 || hard_links=no
14858 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14860 $as_echo "$hard_links" >&6; }
14861 if test "$hard_links" = no; then
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14863 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14873 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14875 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14876 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14879 # If we're using GNU nm, then we don't want the "-C" option.
14880 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14881 # Also, AIX nm treats weak defined symbols like other global defined
14882 # symbols, whereas GNU nm marks them as "W".
14883 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14884 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14886 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14890 export_symbols_cmds_CXX="$ltdll_cmds"
14892 cygwin* | mingw* | cegcc*)
14893 case $cc_basename in
14895 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14898 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14899 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14903 linux* | k*bsd*-gnu | gnu*)
14904 link_all_deplibs_CXX=no
14907 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14912 $as_echo "$ld_shlibs_CXX" >&6; }
14913 test "$ld_shlibs_CXX" = no && can_build_shared=no
14915 with_gnu_ld_CXX=$with_gnu_ld
14923 # Do we need to explicitly link libc?
14925 case "x$archive_cmds_need_lc_CXX" in
14927 # Assume -lc should be added
14928 archive_cmds_need_lc_CXX=yes
14930 if test "$enable_shared" = yes && test "$GCC" = yes; then
14931 case $archive_cmds_CXX in
14933 # FIXME: we may have to deal with multi-command sequences.
14936 # Test whether the compiler implicitly links with -lc since on some
14937 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14938 # to ld, don't add -lc before -lgcc.
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14940 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14941 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14942 $as_echo_n "(cached) " >&6
14945 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14948 (eval $ac_compile) 2>&5
14950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14951 test $ac_status = 0; } 2>conftest.err; then
14954 libobjs=conftest.$ac_objext
14956 wl=$lt_prog_compiler_wl_CXX
14957 pic_flag=$lt_prog_compiler_pic_CXX
14963 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14964 allow_undefined_flag_CXX=
14965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14966 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14969 test $ac_status = 0; }
14971 lt_cv_archive_cmds_need_lc_CXX=no
14973 lt_cv_archive_cmds_need_lc_CXX=yes
14975 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14977 cat conftest.err 1>&5
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14983 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14984 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15053 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15055 library_names_spec=
15056 libname_spec='lib$name'
15060 postuninstall_cmds=
15064 shlibpath_overrides_runpath=unknown
15066 dynamic_linker="$host_os ld.so"
15067 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15068 need_lib_prefix=unknown
15069 hardcode_into_libs=no
15071 # when you set need_version to no, make sure it does not cause -set_version
15072 # flags to be left without arguments
15073 need_version=unknown
15077 version_type=linux # correct to gnu/linux during the next big refactor
15078 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15079 shlibpath_var=LIBPATH
15081 # AIX 3 has no versioning support, so we append a major version to the name.
15082 soname_spec='${libname}${release}${shared_ext}$major'
15086 version_type=linux # correct to gnu/linux during the next big refactor
15089 hardcode_into_libs=yes
15090 if test "$host_cpu" = ia64; then
15091 # AIX 5 supports IA64
15092 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15093 shlibpath_var=LD_LIBRARY_PATH
15095 # With GCC up to 2.95.x, collect2 would create an import file
15096 # for dependence libraries. The import file would start with
15097 # the line `#! .'. This would cause the generated library to
15098 # depend on `.', always an invalid library. This was fixed in
15099 # development snapshots of GCC prior to 3.0.
15101 aix4 | aix4.[01] | aix4.[01].*)
15102 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15104 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15107 can_build_shared=no
15111 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15112 # soname into executable. Probably we can add versioning support to
15113 # collect2, so additional links can be useful in future.
15114 if test "$aix_use_runtimelinking" = yes; then
15115 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15116 # instead of lib<name>.a to let people know that these are not
15117 # typical AIX shared libraries.
15118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15120 # We preserve .a as extension for shared libraries through AIX4.2
15121 # and later when we are not doing run time linking.
15122 library_names_spec='${libname}${release}.a $libname.a'
15123 soname_spec='${libname}${release}${shared_ext}$major'
15125 shlibpath_var=LIBPATH
15132 # Since July 2007 AmigaOS4 officially supports .so libraries.
15133 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15137 library_names_spec='$libname.ixlibrary $libname.a'
15138 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15139 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'
15145 library_names_spec='${libname}${shared_ext}'
15146 dynamic_linker="$host_os ld.so"
15147 shlibpath_var=LIBRARY_PATH
15151 version_type=linux # correct to gnu/linux during the next big refactor
15153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15154 soname_spec='${libname}${release}${shared_ext}$major'
15155 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15156 shlibpath_var=LD_LIBRARY_PATH
15157 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15158 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15159 # the default ld.so.conf also contains /usr/contrib/lib and
15160 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15161 # libtool to hard-code these into programs
15164 cygwin* | mingw* | pw32* | cegcc*)
15165 version_type=windows
15170 case $GCC,$cc_basename in
15173 library_names_spec='$libname.dll.a'
15174 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15175 postinstall_cmds='base_file=`basename \${file}`~
15176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15177 dldir=$destdir/`dirname \$dlpath`~
15178 test -d \$dldir || mkdir -p \$dldir~
15179 $install_prog $dir/$dlname \$dldir/$dlname~
15180 chmod a+x \$dldir/$dlname~
15181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15184 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15185 dlpath=$dir/\$dldll~
15187 shlibpath_overrides_runpath=yes
15191 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15192 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15196 # MinGW DLLs use traditional 'lib' prefix
15197 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15200 # pw32 DLLs use 'pw' prefix rather than 'lib'
15201 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15204 dynamic_linker='Win32 ld.exe'
15209 libname_spec='$name'
15210 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15211 library_names_spec='${libname}.dll.lib'
15215 sys_lib_search_path_spec=
15218 for lt_path in $LIB
15221 # Let DOS variable expansion print the short 8.3 style file name.
15222 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15223 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15226 # Convert to MSYS style.
15227 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15230 # Convert to unix form, then to dos form, then back to unix form
15231 # but this time dos style (no spaces!) so that the unix form looks
15232 # like /cygdrive/c/PROGRA~1:/cygdr...
15233 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15234 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15235 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15238 sys_lib_search_path_spec="$LIB"
15239 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15240 # It is most probably a Windows format PATH.
15241 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15243 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15245 # FIXME: find the short name or the path components, as spaces are
15246 # common. (e.g. "Program Files" -> "PROGRA~1")
15250 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15251 postinstall_cmds='base_file=`basename \${file}`~
15252 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15253 dldir=$destdir/`dirname \$dlpath`~
15254 test -d \$dldir || mkdir -p \$dldir~
15255 $install_prog $dir/$dlname \$dldir/$dlname'
15256 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15257 dlpath=$dir/\$dldll~
15259 shlibpath_overrides_runpath=yes
15260 dynamic_linker='Win32 link.exe'
15264 # Assume MSVC wrapper
15265 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15266 dynamic_linker='Win32 ld.exe'
15269 # FIXME: first we should search . and the directory the executable is in
15273 darwin* | rhapsody*)
15274 dynamic_linker="$host_os dyld"
15275 version_type=darwin
15278 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15279 soname_spec='${libname}${release}${major}$shared_ext'
15280 shlibpath_overrides_runpath=yes
15281 shlibpath_var=DYLD_LIBRARY_PATH
15282 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15284 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15288 version_type=linux # correct to gnu/linux during the next big refactor
15291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15292 soname_spec='${libname}${release}${shared_ext}$major'
15293 shlibpath_var=LD_LIBRARY_PATH
15296 freebsd* | dragonfly*)
15297 # DragonFly does not have aout. When/if they implement a new
15298 # versioning mechanism, adjust this.
15299 if test -x /usr/bin/objformat; then
15300 objformat=`/usr/bin/objformat`
15303 freebsd[23].*) objformat=aout ;;
15304 *) objformat=elf ;;
15307 version_type=freebsd-$objformat
15308 case $version_type in
15310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15315 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15319 shlibpath_var=LD_LIBRARY_PATH
15322 shlibpath_overrides_runpath=yes
15324 freebsd3.[01]* | freebsdelf3.[01]*)
15325 shlibpath_overrides_runpath=yes
15326 hardcode_into_libs=yes
15328 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15329 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15330 shlibpath_overrides_runpath=no
15331 hardcode_into_libs=yes
15333 *) # from 4.6 on, and DragonFly
15334 shlibpath_overrides_runpath=yes
15335 hardcode_into_libs=yes
15341 version_type=linux # correct to gnu/linux during the next big refactor
15344 dynamic_linker="$host_os runtime_loader"
15345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15346 soname_spec='${libname}${release}${shared_ext}$major'
15347 shlibpath_var=LIBRARY_PATH
15348 shlibpath_overrides_runpath=yes
15349 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15350 hardcode_into_libs=yes
15353 hpux9* | hpux10* | hpux11*)
15354 # Give a soname corresponding to the major version so that dld.sl refuses to
15355 # link against other versions.
15362 hardcode_into_libs=yes
15363 dynamic_linker="$host_os dld.so"
15364 shlibpath_var=LD_LIBRARY_PATH
15365 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15367 soname_spec='${libname}${release}${shared_ext}$major'
15368 if test "X$HPUX_IA64_MODE" = X32; then
15369 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15371 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15373 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15377 hardcode_into_libs=yes
15378 dynamic_linker="$host_os dld.sl"
15379 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15380 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15382 soname_spec='${libname}${release}${shared_ext}$major'
15383 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15388 dynamic_linker="$host_os dld.sl"
15389 shlibpath_var=SHLIB_PATH
15390 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15392 soname_spec='${libname}${release}${shared_ext}$major'
15395 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15396 postinstall_cmds='chmod 555 $lib'
15397 # or fails outright, so override atomically:
15398 install_override_mode=555
15402 version_type=linux # correct to gnu/linux during the next big refactor
15405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15406 soname_spec='${libname}${release}${shared_ext}$major'
15407 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15408 shlibpath_var=LD_LIBRARY_PATH
15409 shlibpath_overrides_runpath=no
15410 hardcode_into_libs=yes
15413 irix5* | irix6* | nonstopux*)
15415 nonstopux*) version_type=nonstopux ;;
15417 if test "$lt_cv_prog_gnu_ld" = yes; then
15418 version_type=linux # correct to gnu/linux during the next big refactor
15425 soname_spec='${libname}${release}${shared_ext}$major'
15426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15428 irix5* | nonstopux*)
15429 libsuff= shlibsuff=
15432 case $LD in # libtool.m4 will add one of these switches to LD
15433 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15434 libsuff= shlibsuff= libmagic=32-bit;;
15435 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15436 libsuff=32 shlibsuff=N32 libmagic=N32;;
15437 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15438 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15439 *) libsuff= shlibsuff= libmagic=never-match;;
15443 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15444 shlibpath_overrides_runpath=no
15445 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15446 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15447 hardcode_into_libs=yes
15450 # No shared lib support for Linux oldld, aout, or coff.
15451 linux*oldld* | linux*aout* | linux*coff*)
15455 # This must be glibc/ELF.
15456 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15457 version_type=linux # correct to gnu/linux during the next big refactor
15460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15461 soname_spec='${libname}${release}${shared_ext}$major'
15462 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15463 shlibpath_var=LD_LIBRARY_PATH
15464 shlibpath_overrides_runpath=no
15466 # Some binutils ld are patched to set DT_RUNPATH
15467 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15468 $as_echo_n "(cached) " >&6
15470 lt_cv_shlibpath_overrides_runpath=no
15471 save_LDFLAGS=$LDFLAGS
15472 save_libdir=$libdir
15473 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15474 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476 /* end confdefs.h. */
15486 if ac_fn_cxx_try_link "$LINENO"; then :
15487 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15488 lt_cv_shlibpath_overrides_runpath=yes
15491 rm -f core conftest.err conftest.$ac_objext \
15492 conftest$ac_exeext conftest.$ac_ext
15493 LDFLAGS=$save_LDFLAGS
15494 libdir=$save_libdir
15498 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15500 # This implies no fast_install, which is unacceptable.
15501 # Some rework will be needed to allow for fast_install
15502 # before this can be enabled.
15503 hardcode_into_libs=yes
15505 # Append ld.so.conf contents to the search path
15506 if test -f /etc/ld.so.conf; then
15507 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' ' '`
15508 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15511 # We used to test for /lib/ld.so.1 and disable shared libraries on
15512 # powerpc, because MkLinux only supported shared libraries with the
15513 # GNU dynamic linker. Since this was broken with cross compilers,
15514 # most powerpc-linux boxes support dynamic linking these days and
15515 # people can always --disable-shared, the test was removed, and we
15516 # assume the GNU/Linux dynamic linker is in use.
15517 dynamic_linker='GNU/Linux ld.so'
15524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15525 soname_spec='${libname}${release}${shared_ext}$major'
15526 shlibpath_var=LD_LIBRARY_PATH
15527 shlibpath_overrides_runpath=no
15528 hardcode_into_libs=yes
15529 dynamic_linker='NetBSD ld.elf_so'
15536 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15538 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15539 dynamic_linker='NetBSD (a.out) ld.so'
15541 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15542 soname_spec='${libname}${release}${shared_ext}$major'
15543 dynamic_linker='NetBSD ld.elf_so'
15545 shlibpath_var=LD_LIBRARY_PATH
15546 shlibpath_overrides_runpath=yes
15547 hardcode_into_libs=yes
15551 version_type=linux # correct to gnu/linux during the next big refactor
15552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15553 shlibpath_var=LD_LIBRARY_PATH
15554 shlibpath_overrides_runpath=yes
15561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15562 soname_spec='${libname}${release}${shared_ext}$major'
15563 shlibpath_var=LD_LIBRARY_PATH
15564 shlibpath_overrides_runpath=no
15565 hardcode_into_libs=yes
15566 dynamic_linker='ldqnx.so'
15571 sys_lib_dlsearch_path_spec="/usr/lib"
15573 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15575 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15576 *) need_version=no ;;
15578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15580 shlibpath_var=LD_LIBRARY_PATH
15581 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15583 openbsd2.[89] | openbsd2.[89].*)
15584 shlibpath_overrides_runpath=no
15587 shlibpath_overrides_runpath=yes
15591 shlibpath_overrides_runpath=yes
15596 libname_spec='$name'
15599 library_names_spec='$libname${shared_ext} $libname.a'
15600 dynamic_linker='OS/2 ld.exe'
15601 shlibpath_var=LIBPATH
15604 osf3* | osf4* | osf5*)
15608 soname_spec='${libname}${release}${shared_ext}$major'
15609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15610 shlibpath_var=LD_LIBRARY_PATH
15611 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15612 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15620 version_type=linux # correct to gnu/linux during the next big refactor
15623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15624 soname_spec='${libname}${release}${shared_ext}$major'
15625 shlibpath_var=LD_LIBRARY_PATH
15626 shlibpath_overrides_runpath=yes
15627 hardcode_into_libs=yes
15628 # ldd complains unless libraries are executable
15629 postinstall_cmds='chmod +x $lib'
15634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15635 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15636 shlibpath_var=LD_LIBRARY_PATH
15637 shlibpath_overrides_runpath=yes
15638 if test "$with_gnu_ld" = yes; then
15645 version_type=linux # correct to gnu/linux during the next big refactor
15646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15647 soname_spec='${libname}${release}${shared_ext}$major'
15648 shlibpath_var=LD_LIBRARY_PATH
15649 case $host_vendor in
15651 shlibpath_overrides_runpath=no
15653 runpath_var=LD_RUN_PATH
15661 shlibpath_overrides_runpath=no
15662 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15668 if test -d /usr/nec ;then
15669 version_type=linux # correct to gnu/linux during the next big refactor
15670 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15671 soname_spec='$libname${shared_ext}.$major'
15672 shlibpath_var=LD_LIBRARY_PATH
15676 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15677 version_type=freebsd-elf
15680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15681 soname_spec='${libname}${release}${shared_ext}$major'
15682 shlibpath_var=LD_LIBRARY_PATH
15683 shlibpath_overrides_runpath=yes
15684 hardcode_into_libs=yes
15685 if test "$with_gnu_ld" = yes; then
15686 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15688 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15691 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15695 sys_lib_dlsearch_path_spec='/usr/lib'
15699 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15700 version_type=linux # correct to gnu/linux during the next big refactor
15703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15704 shlibpath_var=LD_LIBRARY_PATH
15705 shlibpath_overrides_runpath=no
15706 hardcode_into_libs=yes
15710 version_type=linux # correct to gnu/linux during the next big refactor
15711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15712 soname_spec='${libname}${release}${shared_ext}$major'
15713 shlibpath_var=LD_LIBRARY_PATH
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15721 $as_echo "$dynamic_linker" >&6; }
15722 test "$dynamic_linker" = no && can_build_shared=no
15724 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15725 if test "$GCC" = yes; then
15726 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15729 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15730 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15732 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15733 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15774 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15775 hardcode_action_CXX=
15776 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15777 test -n "$runpath_var_CXX" ||
15778 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15780 # We can hardcode non-existent directories.
15781 if test "$hardcode_direct_CXX" != no &&
15782 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15783 # have to relink, otherwise we might link with an installed library
15784 # when we should be linking with a yet-to-be-installed one
15785 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15786 test "$hardcode_minus_L_CXX" != no; then
15787 # Linking always hardcodes the temporary library directory.
15788 hardcode_action_CXX=relink
15790 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15791 hardcode_action_CXX=immediate
15794 # We cannot hardcode anything, or else we can only hardcode existing
15796 hardcode_action_CXX=unsupported
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15799 $as_echo "$hardcode_action_CXX" >&6; }
15801 if test "$hardcode_action_CXX" = relink ||
15802 test "$inherit_rpath_CXX" = yes; then
15803 # Fast installation is not supported
15804 enable_fast_install=no
15805 elif test "$shlibpath_overrides_runpath" = yes ||
15806 test "$enable_shared" = no; then
15807 # Fast installation is not necessary
15808 enable_fast_install=needless
15817 fi # test -n "$compiler"
15820 CFLAGS=$lt_save_CFLAGS
15824 with_gnu_ld=$lt_save_with_gnu_ld
15825 lt_cv_path_LDCXX=$lt_cv_path_LD
15826 lt_cv_path_LD=$lt_save_path_LD
15827 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15828 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15829 fi # test "$_lt_caught_CXX_error" != yes
15832 ac_cpp='$CPP $CPPFLAGS'
15833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15851 ac_config_commands="$ac_config_commands libtool"
15856 # Only expand once:
15860 LIBXMLXX_MODULES='libxml-2.0 >= 2.7.7 glibmm-2.4 >= 2.32.0'
15869 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15870 if test -n "$ac_tool_prefix"; then
15871 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15872 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15874 $as_echo_n "checking for $ac_word... " >&6; }
15875 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15876 $as_echo_n "(cached) " >&6
15878 case $PKG_CONFIG in
15880 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15884 for as_dir in $PATH
15887 test -z "$as_dir" && as_dir=.
15888 for ac_exec_ext in '' $ac_executable_extensions; do
15889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15890 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15901 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15902 if test -n "$PKG_CONFIG"; then
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15904 $as_echo "$PKG_CONFIG" >&6; }
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15907 $as_echo "no" >&6; }
15912 if test -z "$ac_cv_path_PKG_CONFIG"; then
15913 ac_pt_PKG_CONFIG=$PKG_CONFIG
15914 # Extract the first word of "pkg-config", so it can be a program name with args.
15915 set dummy pkg-config; ac_word=$2
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15917 $as_echo_n "checking for $ac_word... " >&6; }
15918 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15919 $as_echo_n "(cached) " >&6
15921 case $ac_pt_PKG_CONFIG in
15923 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15927 for as_dir in $PATH
15930 test -z "$as_dir" && as_dir=.
15931 for ac_exec_ext in '' $ac_executable_extensions; do
15932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15933 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15944 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15945 if test -n "$ac_pt_PKG_CONFIG"; then
15946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15947 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15950 $as_echo "no" >&6; }
15953 if test "x$ac_pt_PKG_CONFIG" = x; then
15956 case $cross_compiling:$ac_tool_warned in
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15960 ac_tool_warned=yes ;;
15962 PKG_CONFIG=$ac_pt_PKG_CONFIG
15965 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15969 if test -n "$PKG_CONFIG"; then
15970 _pkg_min_version=0.9.0
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15972 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15973 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15975 $as_echo "yes" >&6; }
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15978 $as_echo "no" >&6; }
15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXMLXX" >&5
15985 $as_echo_n "checking for LIBXMLXX... " >&6; }
15987 if test -n "$LIBXMLXX_CFLAGS"; then
15988 pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
15989 elif test -n "$PKG_CONFIG"; then
15990 if test -n "$PKG_CONFIG" && \
15991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15992 ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995 test $ac_status = 0; }; then
15996 pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "$LIBXMLXX_MODULES" 2>/dev/null`
15997 test "x$?" != "x0" && pkg_failed=yes
16004 if test -n "$LIBXMLXX_LIBS"; then
16005 pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
16006 elif test -n "$PKG_CONFIG"; then
16007 if test -n "$PKG_CONFIG" && \
16008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
16009 ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
16011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16012 test $ac_status = 0; }; then
16013 pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "$LIBXMLXX_MODULES" 2>/dev/null`
16014 test "x$?" != "x0" && pkg_failed=yes
16024 if test $pkg_failed = yes; then
16025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16026 $as_echo "no" >&6; }
16028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16029 _pkg_short_errors_supported=yes
16031 _pkg_short_errors_supported=no
16033 if test $_pkg_short_errors_supported = yes; then
16034 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16036 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16038 # Put the nasty error message in config.log where it belongs
16039 echo "$LIBXMLXX_PKG_ERRORS" >&5
16041 as_fn_error $? "Package requirements ($LIBXMLXX_MODULES) were not met:
16043 $LIBXMLXX_PKG_ERRORS
16045 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16046 installed software in a non-standard prefix.
16048 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16049 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16050 See the pkg-config man page for more details." "$LINENO" 5
16051 elif test $pkg_failed = untried; then
16052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16053 $as_echo "no" >&6; }
16054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16055 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16056 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16057 is in your PATH or set the PKG_CONFIG environment variable to the full
16058 path to pkg-config.
16060 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16061 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16062 See the pkg-config man page for more details.
16064 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16065 See \`config.log' for more details" "$LINENO" 5; }
16067 LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
16068 LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16070 $as_echo "yes" >&6; }
16075 ac_cpp='$CXXCPP $CPPFLAGS'
16076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16081 for ac_header in string list map
16083 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16084 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16085 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16086 cat >>confdefs.h <<_ACEOF
16087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16091 as_fn_error $? "required headers not found" "$LINENO" 5
16097 # Extract the first word of "perl", so it can be a program name with args.
16098 set dummy perl; ac_word=$2
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16100 $as_echo_n "checking for $ac_word... " >&6; }
16101 if ${ac_cv_path_PERL+:} false; then :
16102 $as_echo_n "(cached) " >&6
16106 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16110 for as_dir in $PATH
16113 test -z "$as_dir" && as_dir=.
16114 for ac_exec_ext in '' $ac_executable_extensions; do
16115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16116 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16124 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16128 PERL=$ac_cv_path_PERL
16129 if test -n "$PERL"; then
16130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16131 $as_echo "$PERL" >&6; }
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16134 $as_echo "no" >&6; }
16139 # Extract the first word of "dot", so it can be a program name with args.
16140 set dummy dot; ac_word=$2
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16142 $as_echo_n "checking for $ac_word... " >&6; }
16143 if ${ac_cv_path_DOT+:} false; then :
16144 $as_echo_n "(cached) " >&6
16148 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16152 for as_dir in $PATH
16155 test -z "$as_dir" && as_dir=.
16156 for ac_exec_ext in '' $ac_executable_extensions; do
16157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16158 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16166 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16170 DOT=$ac_cv_path_DOT
16171 if test -n "$DOT"; then
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16173 $as_echo "$DOT" >&6; }
16175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16176 $as_echo "no" >&6; }
16180 # Extract the first word of "doxygen", so it can be a program name with args.
16181 set dummy doxygen; ac_word=$2
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16183 $as_echo_n "checking for $ac_word... " >&6; }
16184 if ${ac_cv_path_DOXYGEN+:} false; then :
16185 $as_echo_n "(cached) " >&6
16189 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16193 for as_dir in $PATH
16196 test -z "$as_dir" && as_dir=.
16197 for ac_exec_ext in '' $ac_executable_extensions; do
16198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16199 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16207 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16211 DOXYGEN=$ac_cv_path_DOXYGEN
16212 if test -n "$DOXYGEN"; then
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16214 $as_echo "$DOXYGEN" >&6; }
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16217 $as_echo "no" >&6; }
16221 # Extract the first word of "xsltproc", so it can be a program name with args.
16222 set dummy xsltproc; ac_word=$2
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16224 $as_echo_n "checking for $ac_word... " >&6; }
16225 if ${ac_cv_path_XSLTPROC+:} false; then :
16226 $as_echo_n "(cached) " >&6
16230 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16234 for as_dir in $PATH
16237 test -z "$as_dir" && as_dir=.
16238 for ac_exec_ext in '' $ac_executable_extensions; do
16239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16240 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16248 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16252 XSLTPROC=$ac_cv_path_XSLTPROC
16253 if test -n "$XSLTPROC"; then
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16255 $as_echo "$XSLTPROC" >&6; }
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16262 # Check whether --enable-documentation was given.
16263 if test "${enable_documentation+set}" = set; then :
16264 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16266 ENABLE_DOCUMENTATION=auto
16269 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16272 if test "x$MMDOCTOOLDIR" = x; then :
16273 mm_err='The mm-common-util module is available, but the installation of mm-common on this
16274 machine is missing the shared documentation utilities of the GNOME C++
16275 bindings. It may be necessary to upgrade to a more recent release of
16276 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16277 elif test "x$PERL" = xperl; then :
16278 mm_err='Perl is required for installing the documentation.'
16279 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16281 test "x$DOT" != xdot || mm_err=' dot'
16282 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16283 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16284 test -z "$mm_err" || mm_err='The documentation cannot be generated because
16285 not all of the required tools are available:'$mm_err
16288 if test -z "$mm_err"; then :
16289 ENABLE_DOCUMENTATION=yes
16290 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16293 as_fn_error $? "$mm_err
16294 See \`config.log' for more details" "$LINENO" 5; }
16296 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16297 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16301 if test "x$ENABLE_DOCUMENTATION" = xyes; then
16302 ENABLE_DOCUMENTATION_TRUE=
16303 ENABLE_DOCUMENTATION_FALSE='#'
16305 ENABLE_DOCUMENTATION_TRUE='#'
16306 ENABLE_DOCUMENTATION_FALSE=
16314 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16316 $as_echo_n "checking for libstdc documentation... " >&6; }
16318 # Check whether --with-libstdc-doc was given.
16319 if test "${with_libstdc_doc+set}" = set; then :
16320 withval=$with_libstdc_doc;
16321 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16322 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16323 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16324 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16325 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16329 mm_tagname="libstdc++.tag"
16330 mm_tagpath=$mm_tagname
16333 # Prepend working direcory if the tag file path starts with ./ or ../
16334 case $mm_tagpath in #(
16335 .[\\/]*|..[\\/]*) :
16336 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16341 # If no local directory was specified, get the default from the .pc file
16342 if test "x$mm_htmlrefdir" = x; then :
16344 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16346 # If the user specified a Web URL, allow it to override the public location
16347 case $mm_htmlrefdir in #(
16348 http://*|https://*) :
16349 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16352 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16353 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16354 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16357 # The user-supplied tag-file name takes precedence if it includes the path
16358 case $mm_tagpath in #(
16363 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16364 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16367 # Remove trailing slashes and translate to URI
16368 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16369 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16372 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16374 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16376 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16378 if test "x$mm_htmlrefdir" = x; then :
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16380 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16382 if test "x$DOCINSTALL_FLAGS" = x; then :
16383 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16385 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16389 if test "x$mm_htmlrefpub" = x; then :
16392 mm_val="$mm_tagpath=$mm_htmlrefpub"
16394 if test "x$DOXYGEN_TAGFILES" = x; then :
16395 DOXYGEN_TAGFILES=\"$mm_val\"
16397 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16400 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
16402 $as_echo_n "checking for libsigc documentation... " >&6; }
16404 # Check whether --with-libsigc-doc was given.
16405 if test "${with_libsigc_doc+set}" = set; then :
16406 withval=$with_libsigc_doc;
16407 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16408 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16409 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16410 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
16411 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16415 mm_tagname="libsigc++-2.0.tag"
16416 mm_tagpath=$mm_tagname
16419 # Prepend working direcory if the tag file path starts with ./ or ../
16420 case $mm_tagpath in #(
16421 .[\\/]*|..[\\/]*) :
16422 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16427 # If no local directory was specified, get the default from the .pc file
16428 if test "x$mm_htmlrefdir" = x; then :
16430 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
16432 # If the user specified a Web URL, allow it to override the public location
16433 case $mm_htmlrefdir in #(
16434 http://*|https://*) :
16435 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16438 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
16439 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16440 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16443 # The user-supplied tag-file name takes precedence if it includes the path
16444 case $mm_tagpath in #(
16449 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
16450 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16453 # Remove trailing slashes and translate to URI
16454 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16455 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16458 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16460 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
16462 $as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
16464 if test "x$mm_htmlrefdir" = x; then :
16465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
16466 $as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
16468 if test "x$DOCINSTALL_FLAGS" = x; then :
16469 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16471 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16475 if test "x$mm_htmlrefpub" = x; then :
16478 mm_val="$mm_tagpath=$mm_htmlrefpub"
16480 if test "x$DOXYGEN_TAGFILES" = x; then :
16481 DOXYGEN_TAGFILES=\"$mm_val\"
16483 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16486 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
16488 $as_echo_n "checking for glibmm documentation... " >&6; }
16490 # Check whether --with-glibmm-doc was given.
16491 if test "${with_glibmm_doc+set}" = set; then :
16492 withval=$with_glibmm_doc;
16493 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16494 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16495 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16496 test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
16497 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16501 mm_tagname="glibmm-2.4.tag"
16502 mm_tagpath=$mm_tagname
16505 # Prepend working direcory if the tag file path starts with ./ or ../
16506 case $mm_tagpath in #(
16507 .[\\/]*|..[\\/]*) :
16508 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16513 # If no local directory was specified, get the default from the .pc file
16514 if test "x$mm_htmlrefdir" = x; then :
16516 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
16518 # If the user specified a Web URL, allow it to override the public location
16519 case $mm_htmlrefdir in #(
16520 http://*|https://*) :
16521 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16524 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
16525 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16526 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16529 # The user-supplied tag-file name takes precedence if it includes the path
16530 case $mm_tagpath in #(
16535 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
16536 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16539 # Remove trailing slashes and translate to URI
16540 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16541 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16544 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16546 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
16548 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
16550 if test "x$mm_htmlrefdir" = x; then :
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
16552 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
16554 if test "x$DOCINSTALL_FLAGS" = x; then :
16555 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16557 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16561 if test "x$mm_htmlrefpub" = x; then :
16564 mm_val="$mm_tagpath=$mm_htmlrefpub"
16566 if test "x$DOXYGEN_TAGFILES" = x; then :
16567 DOXYGEN_TAGFILES=\"$mm_val\"
16569 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16573 # Evaluate the --enable-warnings=level option.
16574 # Check whether --enable-warnings was given.
16575 if test "${enable_warnings+set}" = set; then :
16576 enableval=$enable_warnings; mm_enable_warnings=$enableval
16578 mm_enable_warnings=min
16581 case $ac_compile in #(
16583 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16585 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16587 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16590 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16591 mm_deprecation_flags=
16593 case $mm_enable_warnings in #(
16595 mm_warning_flags= ;; #(
16597 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long" ;; #(
16599 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long -Werror"
16600 for mm_prefix in G GLIBMM SIGCXX
16602 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
16605 mm_warning_flags="-Wall" ;;
16607 if test "x$mm_warning_flags" != x; then :
16609 # Keep in mind that the dummy source must be devoid of any
16610 # problems that might cause diagnostics.
16611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16612 /* end confdefs.h. */
16614 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16617 for mm_flag in $mm_warning_flags
16619 # Test whether the compiler accepts the flag. Look at standard output,
16620 # since GCC only shows a warning message if an option is not supported.
16621 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16622 rm -f "conftest.${OBJEXT-o}"
16624 if test "x$mm_cc_out" = x; then :
16625 if test "x$mm_tested_flags" = x; then :
16626 mm_tested_flags=$mm_flag
16628 mm_tested_flags="$mm_tested_flags $mm_flag"
16637 rm -f "$mm_conftest"
16640 mm_all_flags=$mm_deprecation_flags$mm_tested_flags
16641 LIBXMLXX_WXXFLAGS=$mm_all_flags
16643 test "x$mm_all_flags" != x || mm_all_flags=none
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16645 $as_echo "$mm_all_flags" >&6; }
16647 # Offer the ability to omit some API from the library.
16648 # Check whether --enable-deprecated-api was given.
16649 if test "${enable_deprecated_api+set}" = set; then :
16650 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16652 mm_enable_deprecated_api=yes
16654 if test "x$mm_enable_deprecated_api" = xno; then :
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16656 Do not use this option for distribution packages." >&5
16657 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16658 Do not use this option for distribution packages." >&2;}
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16661 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16663 if test "x$mm_enable_deprecated_api" = xno; then
16664 DISABLE_DEPRECATED_API_TRUE=
16665 DISABLE_DEPRECATED_API_FALSE='#'
16667 DISABLE_DEPRECATED_API_TRUE='#'
16668 DISABLE_DEPRECATED_API_FALSE=
16671 if test "x$mm_enable_deprecated_api" = xno; then :
16673 $as_echo "#define LIBXMLXX_DISABLE_DEPRECATED 1" >>confdefs.h
16678 # Extract the first word of "xmllint", so it can be a program name with args.
16679 set dummy xmllint; ac_word=$2
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16681 $as_echo_n "checking for $ac_word... " >&6; }
16682 if ${ac_cv_path_XMLLINT+:} false; then :
16683 $as_echo_n "(cached) " >&6
16687 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
16690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16691 for as_dir in $PATH
16694 test -z "$as_dir" && as_dir=.
16695 for ac_exec_ext in '' $ac_executable_extensions; do
16696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16697 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
16698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16705 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="xmllint"
16709 XMLLINT=$ac_cv_path_XMLLINT
16710 if test -n "$XMLLINT"; then
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16712 $as_echo "$XMLLINT" >&6; }
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16715 $as_echo "no" >&6; }
16720 for ac_prog in db2latex docbook2latex
16722 # Extract the first word of "$ac_prog", so it can be a program name with args.
16723 set dummy $ac_prog; ac_word=$2
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16725 $as_echo_n "checking for $ac_word... " >&6; }
16726 if ${ac_cv_path_DB2LATEX+:} false; then :
16727 $as_echo_n "(cached) " >&6
16731 ac_cv_path_DB2LATEX="$DB2LATEX" # Let the user override the test with a path.
16734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16735 for as_dir in $PATH
16738 test -z "$as_dir" && as_dir=.
16739 for ac_exec_ext in '' $ac_executable_extensions; do
16740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16741 ac_cv_path_DB2LATEX="$as_dir/$ac_word$ac_exec_ext"
16742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16752 DB2LATEX=$ac_cv_path_DB2LATEX
16753 if test -n "$DB2LATEX"; then
16754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2LATEX" >&5
16755 $as_echo "$DB2LATEX" >&6; }
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16758 $as_echo "no" >&6; }
16762 test -n "$DB2LATEX" && break
16764 test -n "$DB2LATEX" || DB2LATEX="db2latex"
16767 if $PERL -e "require v5.6.0; exit 0;" >&5 2>&5; then :
16770 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16771 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16772 as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
16773 See \`config.log' for more details" "$LINENO" 5; }
16776 # This is just defined to avoid breaking old code:
16778 $as_echo "#define LIBXMLCPP_EXCEPTIONS_ENABLED 1" >>confdefs.h
16781 ac_config_files="$ac_config_files Makefile examples/Makefile tests/Makefile docs/reference/Doxyfile MSVC_Net2005/libxml++/libxml++.rc MSVC_Net2008/libxml++/libxml++.rc MSVC_Net2010/libxml++/libxml++.rc libxml++-2.6.pc"
16784 # Copy the generated configuration headers into the MSVC project directories.
16785 ac_config_commands="$ac_config_commands MSVC_Net2005/libxml++/libxml++config.h"
16787 ac_config_commands="$ac_config_commands MSVC_Net2008/libxml++/libxml++config.h"
16789 ac_config_commands="$ac_config_commands MSVC_Net2010/libxml++/libxml++config.h"
16792 cat >confcache <<\_ACEOF
16793 # This file is a shell script that caches the results of configure
16794 # tests run on this system so they can be shared between configure
16795 # scripts and configure runs, see configure's option --config-cache.
16796 # It is not useful on other systems. If it contains results you don't
16797 # want to keep, you may remove or edit it.
16799 # config.status only pays attention to the cache file if you give it
16800 # the --recheck option to rerun configure.
16802 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16803 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16804 # following values.
16808 # The following way of writing the cache mishandles newlines in values,
16809 # but we know of no workaround that is simple, portable, and efficient.
16810 # So, we kill variables containing newlines.
16811 # Ultrix sh set writes to stderr and can't be redirected directly,
16812 # and sets the high bit in the cache file unless we assign to the vars.
16814 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16815 eval ac_val=\$$ac_var
16819 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16820 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16823 _ | IFS | as_nl) ;; #(
16824 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16825 *) { eval $ac_var=; unset $ac_var;} ;;
16831 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16832 *${as_nl}ac_space=\ *)
16833 # `set' does not quote correctly, so add quotes: double-quote
16834 # substitution turns \\\\ into \\, and sed turns \\ into \.
16837 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16840 # `set' quotes correctly as required by POSIX, so do not add quotes.
16841 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16850 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16852 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16854 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16855 if test -w "$cache_file"; then
16856 if test "x$cache_file" != "x/dev/null"; then
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16858 $as_echo "$as_me: updating cache $cache_file" >&6;}
16859 if test ! -f "$cache_file" || test -h "$cache_file"; then
16860 cat confcache >"$cache_file"
16862 case $cache_file in #(
16864 mv -f confcache "$cache_file"$$ &&
16865 mv -f "$cache_file"$$ "$cache_file" ;; #(
16867 mv -f confcache "$cache_file" ;;
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16873 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16878 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16879 # Let make expand exec_prefix.
16880 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16882 DEFS=-DHAVE_CONFIG_H
16887 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16888 # 1. Remove the extension, and $U if already installed.
16889 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16890 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16892 # will be set to the directory where LIBOBJS objects are built.
16893 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16894 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16896 LIBOBJS=$ac_libobjs
16898 LTLIBOBJS=$ac_ltlibobjs
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16902 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16903 if test -n "$am_sleep_pid"; then
16904 # Hide warnings about reused PIDs.
16905 wait $am_sleep_pid 2>/dev/null
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16908 $as_echo "done" >&6; }
16909 if test -n "$EXEEXT"; then
16911 am__EXEEXT_FALSE='#'
16913 am__EXEEXT_TRUE='#'
16917 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16918 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16921 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16922 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16925 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16926 as_fn_error $? "conditional \"AMDEP\" was never defined.
16927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16929 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16930 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16933 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16934 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16937 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16938 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16941 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16942 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16946 : "${CONFIG_STATUS=./config.status}"
16948 ac_clean_files_save=$ac_clean_files
16949 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16951 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16953 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16955 # Generated by $as_me.
16956 # Run this file to recreate the current configuration.
16957 # Compiler output produced by configure, useful for debugging
16958 # configure, is in config.log if it exists.
16961 ac_cs_recheck=false
16964 SHELL=\${CONFIG_SHELL-$SHELL}
16967 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16968 ## -------------------- ##
16969 ## M4sh Initialization. ##
16970 ## -------------------- ##
16972 # Be more Bourne compatible
16973 DUALCASE=1; export DUALCASE # for MKS sh
16974 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16977 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16978 # is contrary to our usage. Disable this feature.
16979 alias -g '${1+"$@"}'='"$@"'
16980 setopt NO_GLOB_SUBST
16982 case `(set -o) 2>/dev/null` in #(
16994 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16995 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16996 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16997 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16998 # Prefer a ksh shell builtin over an external printf program on Solaris,
16999 # but without wasting forks for bash or zsh.
17000 if test -z "$BASH_VERSION$ZSH_VERSION" \
17001 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17002 as_echo='print -r --'
17003 as_echo_n='print -rn --'
17004 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17005 as_echo='printf %s\n'
17006 as_echo_n='printf %s'
17008 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17009 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17010 as_echo_n='/usr/ucb/echo -n'
17012 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17013 as_echo_n_body='eval
17017 expr "X$arg" : "X\\(.*\\)$as_nl";
17018 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17020 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17022 export as_echo_n_body
17023 as_echo_n='sh -c $as_echo_n_body as_echo'
17025 export as_echo_body
17026 as_echo='sh -c $as_echo_body as_echo'
17029 # The user is always right.
17030 if test "${PATH_SEPARATOR+set}" != set; then
17032 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17033 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17040 # We need space, tab and new line, in precisely that order. Quoting is
17041 # there to prevent editors from complaining about space-tab.
17042 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17043 # splitting by setting IFS to empty value.)
17046 # Find who we are. Look in the path if we contain no directory separator.
17049 *[\\/]* ) as_myself=$0 ;;
17050 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17051 for as_dir in $PATH
17054 test -z "$as_dir" && as_dir=.
17055 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17061 # We did not find ourselves, most probably we were run as `sh COMMAND'
17062 # in which case we are not to be found in the path.
17063 if test "x$as_myself" = x; then
17066 if test ! -f "$as_myself"; then
17067 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17071 # Unset variables that we do not need and which cause bugs (e.g. in
17072 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17073 # suppresses any "Segmentation fault" message there. '((' could
17074 # trigger a bug in pdksh 5.2.14.
17075 for as_var in BASH_ENV ENV MAIL MAILPATH
17076 do eval test x\${$as_var+set} = xset \
17077 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17090 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17093 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17094 # ----------------------------------------
17095 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17096 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17097 # script with STATUS, using 1 if that was 0.
17100 as_status=$1; test $as_status -eq 0 && as_status=1
17102 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17103 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17105 $as_echo "$as_me: error: $2" >&2
17106 as_fn_exit $as_status
17110 # as_fn_set_status STATUS
17111 # -----------------------
17112 # Set $? to STATUS, without forking.
17113 as_fn_set_status ()
17116 } # as_fn_set_status
17118 # as_fn_exit STATUS
17119 # -----------------
17120 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17124 as_fn_set_status $1
17130 # Portably unset VAR.
17133 { eval $1=; unset $1;}
17135 as_unset=as_fn_unset
17136 # as_fn_append VAR VALUE
17137 # ----------------------
17138 # Append the text in VALUE to the end of the definition contained in VAR. Take
17139 # advantage of any shell optimizations that allow amortized linear growth over
17140 # repeated appends, instead of the typical quadratic growth present in naive
17142 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17143 eval 'as_fn_append ()
17154 # as_fn_arith ARG...
17155 # ------------------
17156 # Perform arithmetic evaluation on the ARGs, and store the result in the
17157 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17158 # must be portable across $(()) and expr.
17159 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17160 eval 'as_fn_arith ()
17167 as_val=`expr "$@" || test $? -eq 1`
17172 if expr a : '\(a\)' >/dev/null 2>&1 &&
17173 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17179 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17180 as_basename=basename
17185 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17191 as_me=`$as_basename -- "$0" ||
17192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17193 X"$0" : 'X\(//\)$' \| \
17194 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17196 sed '/^.*\/\([^/][^/]*\)\/*$/{
17210 # Avoid depending upon Character Ranges.
17211 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17212 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17213 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17214 as_cr_digits='0123456789'
17215 as_cr_alnum=$as_cr_Letters$as_cr_digits
17217 ECHO_C= ECHO_N= ECHO_T=
17218 case `echo -n x` in #(((((
17220 case `echo 'xy\c'` in
17221 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17223 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17230 rm -f conf$$ conf$$.exe conf$$.file
17231 if test -d conf$$.dir; then
17232 rm -f conf$$.dir/conf$$.file
17235 mkdir conf$$.dir 2>/dev/null
17237 if (echo >conf$$.file) 2>/dev/null; then
17238 if ln -s conf$$.file conf$$ 2>/dev/null; then
17240 # ... but there are two gotchas:
17241 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17242 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17243 # In both cases, we have to default to `cp -pR'.
17244 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17246 elif ln conf$$.file conf$$ 2>/dev/null; then
17254 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17255 rmdir conf$$.dir 2>/dev/null
17260 # Create "$as_dir" as a directory, including parents if necessary.
17265 -*) as_dir=./$as_dir;;
17267 test -d "$as_dir" || eval $as_mkdir_p || {
17271 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17272 *) as_qdir=$as_dir;;
17274 as_dirs="'$as_qdir' $as_dirs"
17275 as_dir=`$as_dirname -- "$as_dir" ||
17276 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17277 X"$as_dir" : 'X\(//\)[^/]' \| \
17278 X"$as_dir" : 'X\(//\)$' \| \
17279 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17280 $as_echo X"$as_dir" |
17281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17285 /^X\(\/\/\)[^/].*/{
17298 test -d "$as_dir" && break
17300 test -z "$as_dirs" || eval "mkdir $as_dirs"
17301 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17305 if mkdir -p . 2>/dev/null; then
17306 as_mkdir_p='mkdir -p "$as_dir"'
17308 test -d ./-p && rmdir ./-p
17313 # as_fn_executable_p FILE
17314 # -----------------------
17315 # Test if FILE is an executable regular file.
17316 as_fn_executable_p ()
17318 test -f "$1" && test -x "$1"
17319 } # as_fn_executable_p
17320 as_test_x='test -x'
17321 as_executable_p=as_fn_executable_p
17323 # Sed expression to map a string onto a valid CPP name.
17324 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17326 # Sed expression to map a string onto a valid variable name.
17327 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17331 ## ----------------------------------- ##
17332 ## Main body of $CONFIG_STATUS script. ##
17333 ## ----------------------------------- ##
17335 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17338 # Save the log message, to keep $0 and so on meaningful, and to
17339 # report actual input values of CONFIG_FILES etc. instead of their
17340 # values after options handling.
17342 This file was extended by libxml++ $as_me 2.39.2, which was
17343 generated by GNU Autoconf 2.69. Invocation command line was
17345 CONFIG_FILES = $CONFIG_FILES
17346 CONFIG_HEADERS = $CONFIG_HEADERS
17347 CONFIG_LINKS = $CONFIG_LINKS
17348 CONFIG_COMMANDS = $CONFIG_COMMANDS
17351 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17356 case $ac_config_files in *"
17357 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17360 case $ac_config_headers in *"
17361 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17365 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17366 # Files that config.status was made for.
17367 config_files="$ac_config_files"
17368 config_headers="$ac_config_headers"
17369 config_commands="$ac_config_commands"
17373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17375 \`$as_me' instantiates files and other configuration actions
17376 from templates according to the current configuration. Unless the files
17377 and actions are specified as TAGs, all are instantiated by default.
17379 Usage: $0 [OPTION]... [TAG]...
17381 -h, --help print this help, then exit
17382 -V, --version print version number and configuration settings, then exit
17383 --config print configuration, then exit
17384 -q, --quiet, --silent
17385 do not print progress messages
17386 -d, --debug don't remove temporary files
17387 --recheck update $as_me by reconfiguring in the same conditions
17388 --file=FILE[:TEMPLATE]
17389 instantiate the configuration file FILE
17390 --header=FILE[:TEMPLATE]
17391 instantiate the configuration header FILE
17393 Configuration files:
17396 Configuration headers:
17399 Configuration commands:
17402 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
17403 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>."
17406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17407 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17409 libxml++ config.status 2.39.2
17410 configured by $0, generated by GNU Autoconf 2.69,
17411 with options \\"\$ac_cs_config\\"
17413 Copyright (C) 2012 Free Software Foundation, Inc.
17414 This config.status script is free software; the Free Software Foundation
17415 gives unlimited permission to copy, distribute and modify it."
17422 test -n "\$AWK" || AWK=awk
17425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17426 # The default lists apply if the user does not specify any file.
17432 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17433 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17437 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17449 # Handling of the options.
17450 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17452 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17453 $as_echo "$ac_cs_version"; exit ;;
17454 --config | --confi | --conf | --con | --co | --c )
17455 $as_echo "$ac_cs_config"; exit ;;
17456 --debug | --debu | --deb | --de | --d | -d )
17458 --file | --fil | --fi | --f )
17461 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17462 '') as_fn_error $? "missing file argument" ;;
17464 as_fn_append CONFIG_FILES " '$ac_optarg'"
17465 ac_need_defaults=false;;
17466 --header | --heade | --head | --hea )
17469 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17471 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17472 ac_need_defaults=false;;
17474 # Conflict between --help and --header
17475 as_fn_error $? "ambiguous option: \`$1'
17476 Try \`$0 --help' for more information.";;
17477 --help | --hel | -h )
17478 $as_echo "$ac_cs_usage"; exit ;;
17479 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17480 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17483 # This is an error.
17484 -*) as_fn_error $? "unrecognized option: \`$1'
17485 Try \`$0 --help' for more information." ;;
17487 *) as_fn_append ac_config_targets " $1"
17488 ac_need_defaults=false ;;
17494 ac_configure_extra_args=
17496 if $ac_cs_silent; then
17498 ac_configure_extra_args="$ac_configure_extra_args --silent"
17502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17503 if \$ac_cs_recheck; then
17504 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17506 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17507 CONFIG_SHELL='$SHELL'
17508 export CONFIG_SHELL
17513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17517 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17518 ## Running $as_me. ##
17524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17528 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17531 # The HP-UX ksh and POSIX shell print the target directory to stdout
17532 # if CDPATH is set.
17533 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17535 sed_quote_subst='$sed_quote_subst'
17536 double_quote_subst='$double_quote_subst'
17537 delay_variable_subst='$delay_variable_subst'
17538 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17539 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17540 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17541 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17542 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17543 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17544 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17545 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17546 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17547 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17548 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17549 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17550 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17551 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17552 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17553 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17554 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17555 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17556 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17557 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17558 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17559 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17560 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17561 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17562 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17563 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17564 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17565 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17566 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17567 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17568 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17569 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17570 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17571 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17572 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17573 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17574 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17575 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17576 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17577 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17578 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17579 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17580 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17581 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17582 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17583 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17584 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17585 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17586 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17587 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17588 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17589 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17590 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17591 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17592 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17593 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17594 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17595 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"`'
17596 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17597 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17598 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17599 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17600 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17601 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17602 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17603 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17604 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17605 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17606 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17607 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17608 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17609 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17610 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17611 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17612 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17613 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17614 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17615 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17616 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17617 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17618 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17619 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17620 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17621 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17622 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17623 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17624 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17625 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17626 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17627 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17628 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17629 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17630 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17631 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17632 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17633 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17634 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17635 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17636 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17637 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17638 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17639 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17640 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17641 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17642 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17643 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17644 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17645 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17646 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17647 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17648 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17649 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17650 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17651 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17652 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17653 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17654 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17655 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17656 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17657 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17658 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17659 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17660 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17661 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17662 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17663 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17664 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17665 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17666 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17667 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17668 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17669 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17670 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17671 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17672 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17673 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17674 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17675 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17676 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17677 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17678 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17679 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17680 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17681 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17683 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17684 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17685 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17686 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17687 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17688 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17689 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17690 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17691 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17692 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17693 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17694 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17695 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17696 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17697 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17698 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17699 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17700 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17701 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17702 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17703 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17704 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17705 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17706 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17707 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17708 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17709 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17710 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17711 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17712 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17713 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17714 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17715 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17716 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17717 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17718 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17719 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17720 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17721 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17722 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17725 LTCFLAGS='$LTCFLAGS'
17726 compiler='$compiler_DEFAULT'
17728 # A function that is used when there is no print builtin or printf.
17729 func_fallback_echo ()
17731 eval 'cat <<_LTECHO_EOF
17736 # Quote evaled strings.
17753 deplibs_check_method \
17757 sharedlib_from_linklib_cmd \
17760 archiver_list_spec \
17766 lt_cv_sys_global_symbol_pipe \
17767 lt_cv_sys_global_symbol_to_cdecl \
17768 lt_cv_sys_global_symbol_to_c_name_address \
17769 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17770 nm_file_list_spec \
17771 lt_prog_compiler_no_builtin_flag \
17772 lt_prog_compiler_pic \
17773 lt_prog_compiler_wl \
17774 lt_prog_compiler_static \
17775 lt_cv_prog_compiler_c_o \
17784 export_dynamic_flag_spec \
17785 whole_archive_flag_spec \
17786 compiler_needs_object \
17788 allow_undefined_flag \
17789 no_undefined_flag \
17790 hardcode_libdir_flag_spec \
17791 hardcode_libdir_separator \
17795 variables_saved_for_relink \
17797 library_names_spec \
17799 install_override_mode \
17803 compiler_lib_search_dirs \
17808 compiler_lib_search_path \
17812 lt_prog_compiler_no_builtin_flag_CXX \
17813 lt_prog_compiler_pic_CXX \
17814 lt_prog_compiler_wl_CXX \
17815 lt_prog_compiler_static_CXX \
17816 lt_cv_prog_compiler_c_o_CXX \
17817 export_dynamic_flag_spec_CXX \
17818 whole_archive_flag_spec_CXX \
17819 compiler_needs_object_CXX \
17821 allow_undefined_flag_CXX \
17822 no_undefined_flag_CXX \
17823 hardcode_libdir_flag_spec_CXX \
17824 hardcode_libdir_separator_CXX \
17825 exclude_expsyms_CXX \
17826 include_expsyms_CXX \
17827 file_list_spec_CXX \
17828 compiler_lib_search_dirs_CXX \
17829 predep_objects_CXX \
17830 postdep_objects_CXX \
17833 compiler_lib_search_path_CXX; do
17834 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17835 *[\\\\\\\`\\"\\\$]*)
17836 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17839 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17844 # Double-quote double-evaled strings.
17845 for var in reload_cmds \
17846 old_postinstall_cmds \
17847 old_postuninstall_cmds \
17849 extract_expsyms_cmds \
17850 old_archive_from_new_cmds \
17851 old_archive_from_expsyms_cmds \
17853 archive_expsym_cmds \
17855 module_expsym_cmds \
17856 export_symbols_cmds \
17860 postuninstall_cmds \
17862 sys_lib_search_path_spec \
17863 sys_lib_dlsearch_path_spec \
17865 old_archive_cmds_CXX \
17866 old_archive_from_new_cmds_CXX \
17867 old_archive_from_expsyms_cmds_CXX \
17869 archive_expsym_cmds_CXX \
17871 module_expsym_cmds_CXX \
17872 export_symbols_cmds_CXX \
17874 postlink_cmds_CXX; do
17875 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17876 *[\\\\\\\`\\"\\\$]*)
17877 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17880 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17885 ac_aux_dir='$ac_aux_dir'
17886 xsi_shell='$xsi_shell'
17887 lt_shell_append='$lt_shell_append'
17889 # See if we are running on zsh, and set the options which allow our
17890 # commands through without removal of \ escapes INIT.
17891 if test -n "\${ZSH_VERSION+set}" ; then
17892 setopt NO_GLOB_SUBST
17898 TIMESTAMP='$TIMESTAMP'
17909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17911 # Handling of arguments.
17912 for ac_config_target in $ac_config_targets
17914 case $ac_config_target in
17915 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17916 "libxml++config.h") CONFIG_HEADERS="$CONFIG_HEADERS libxml++config.h" ;;
17917 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17918 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17919 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17920 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17921 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17922 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17923 "MSVC_Net2005/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/libxml++/libxml++.rc" ;;
17924 "MSVC_Net2008/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/libxml++/libxml++.rc" ;;
17925 "MSVC_Net2010/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/libxml++/libxml++.rc" ;;
17926 "libxml++-2.6.pc") CONFIG_FILES="$CONFIG_FILES libxml++-2.6.pc" ;;
17927 "MSVC_Net2005/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/libxml++/libxml++config.h" ;;
17928 "MSVC_Net2008/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/libxml++/libxml++config.h" ;;
17929 "MSVC_Net2010/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/libxml++/libxml++config.h" ;;
17931 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17936 # If the user did not use the arguments to specify the items to instantiate,
17937 # then the envvar interface is used. Set only those that are not.
17938 # We use the long form for the default assignment because of an extremely
17939 # bizarre bug on SunOS 4.1.3.
17940 if $ac_need_defaults; then
17941 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17942 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17943 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17946 # Have a temporary directory for convenience. Make it in the build tree
17947 # simply because there is no reason against having it here, and in addition,
17948 # creating and moving files from /tmp can sometimes cause problems.
17949 # Hook for its removal unless debugging.
17950 # Note that there is a small window in which the directory will not be cleaned:
17951 # after its creation but before its name has been assigned to `$tmp'.
17955 trap 'exit_status=$?
17956 : "${ac_tmp:=$tmp}"
17957 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17959 trap 'as_fn_exit 1' 1 2 13 15
17961 # Create a (secure) tmp directory for tmp files.
17964 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17968 tmp=./conf$$-$RANDOM
17969 (umask 077 && mkdir "$tmp")
17970 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17973 # Set up the scripts for CONFIG_FILES section.
17974 # No need to generate them if there are no CONFIG_FILES.
17975 # This happens for instance with `./config.status config.h'.
17976 if test -n "$CONFIG_FILES"; then
17979 ac_cr=`echo X | tr X '\015'`
17980 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17981 # But we know of no other shell where ac_cr would be empty at this
17982 # point, so we can use a bashism as a fallback.
17983 if test "x$ac_cr" = x; then
17984 eval ac_cr=\$\'\\r\'
17986 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17987 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17990 ac_cs_awk_cr=$ac_cr
17993 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17998 echo "cat >conf$$subs.awk <<_ACEOF" &&
17999 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18001 } >conf$$subs.sh ||
18002 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18003 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18005 for ac_last_try in false false false false false :; do
18006 . ./conf$$subs.sh ||
18007 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18009 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18010 if test $ac_delim_n = $ac_delim_num; then
18012 elif $ac_last_try; then
18013 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18015 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18018 rm -f conf$$subs.sh
18020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18021 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18025 s/^/S["/; s/!.*/"]=/
18035 s/\(.\{148\}\)..*/\1/
18037 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18042 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18049 s/\(.\{148\}\)..*/\1/
18051 s/["\\]/\\&/g; s/^/"/; s/$/"/
18055 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18060 ' <conf$$subs.awk | sed '
18065 ' >>$CONFIG_STATUS || ac_write_fail=1
18066 rm -f conf$$subs.awk
18067 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18069 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18070 for (key in S) S_is_set[key] = 1
18076 nfields = split(line, field, "@")
18078 len = length(field[1])
18079 for (i = 2; i < nfields; i++) {
18081 keylen = length(key)
18082 if (S_is_set[key]) {
18084 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18085 len += length(value) + length(field[++i])
18096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18097 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18098 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18101 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18102 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18105 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18106 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18107 # trailing colons and then remove the whole line if VPATH becomes empty
18108 # (actually we leave an empty line to preserve line numbers).
18109 if test "x$srcdir" = x.; then
18110 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18129 fi # test -n "$CONFIG_FILES"
18131 # Set up the scripts for CONFIG_HEADERS section.
18132 # No need to generate them if there are no CONFIG_HEADERS.
18133 # This happens for instance with `./config.status Makefile'.
18134 if test -n "$CONFIG_HEADERS"; then
18135 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18139 # Transform confdefs.h into an awk script `defines.awk', embedded as
18140 # here-document in config.status, that substitutes the proper values into
18141 # config.h.in to produce config.h.
18143 # Create a delimiter string that does not exist in confdefs.h, to ease
18144 # handling of long lines.
18146 for ac_last_try in false false :; do
18147 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18148 if test -z "$ac_tt"; then
18150 elif $ac_last_try; then
18151 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18153 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18157 # For the awk script, D is an array of macro values keyed by name,
18158 # likewise P contains macro parameters if any. Preserve backslash
18159 # newline sequences.
18161 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18163 s/.\{148\}/&'"$ac_delim"'/g
18166 s/^[ ]*#[ ]*define[ ][ ]*/ /
18173 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18175 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18179 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18180 D["\1"]=" \3\\\\\\n"\\/p
18182 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18187 s/.\{148\}/&'"$ac_delim"'/g
18192 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18195 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18197 ' <confdefs.h | sed '
18198 s/'"$ac_delim"'/"\\\
18199 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18202 for (key in D) D_is_set[key] = 1
18205 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18207 split(line, arg, " ")
18208 if (arg[1] == "#") {
18212 defundef = substr(arg[1], 2)
18215 split(mac1, mac2, "(") #)
18217 prefix = substr(line, 1, index(line, defundef) - 1)
18218 if (D_is_set[macro]) {
18219 # Preserve the white space surrounding the "#".
18220 print prefix "define", macro P[macro] D[macro]
18223 # Replace #undef with comments. This is necessary, for example,
18224 # in the case of _POSIX_SOURCE, which is predefined and required
18225 # on some systems where configure will not decide to define it.
18226 if (defundef == "undef") {
18227 print "/*", prefix defundef, macro, "*/"
18235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18236 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18237 fi # test -n "$CONFIG_HEADERS"
18240 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18245 :[FHLC]) ac_mode=$ac_tag; continue;;
18247 case $ac_mode$ac_tag in
18249 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18250 :[FH]-) ac_tag=-:-;;
18251 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18268 -) ac_f="$ac_tmp/stdin";;
18269 *) # Look for the file first in the build tree, then in the source tree
18270 # (if the path is not absolute). The absolute path cannot be DOS-style,
18271 # because $ac_f cannot contain `:'.
18275 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18277 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18279 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18280 as_fn_append ac_file_inputs " '$ac_f'"
18283 # Let's still pretend it is `configure' which instantiates (i.e., don't
18284 # use $as_me), people would be surprised to read:
18285 # /* config.h. Generated by config.status. */
18286 configure_input='Generated from '`
18287 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18289 if test x"$ac_file" != x-; then
18290 configure_input="$ac_file. $configure_input"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18292 $as_echo "$as_me: creating $ac_file" >&6;}
18294 # Neutralize special characters interpreted by sed in replacement strings.
18295 case $configure_input in #(
18296 *\&* | *\|* | *\\* )
18297 ac_sed_conf_input=`$as_echo "$configure_input" |
18298 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18299 *) ac_sed_conf_input=$configure_input;;
18303 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18304 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18309 ac_dir=`$as_dirname -- "$ac_file" ||
18310 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18311 X"$ac_file" : 'X\(//\)[^/]' \| \
18312 X"$ac_file" : 'X\(//\)$' \| \
18313 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18314 $as_echo X"$ac_file" |
18315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18319 /^X\(\/\/\)[^/].*/{
18332 as_dir="$ac_dir"; as_fn_mkdir_p
18336 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18339 # A ".." for each directory in $ac_dir_suffix.
18340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18341 case $ac_top_builddir_sub in
18342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18346 ac_abs_top_builddir=$ac_pwd
18347 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18348 # for backward compatibility:
18349 ac_top_builddir=$ac_top_build_prefix
18352 .) # We are building in place.
18354 ac_top_srcdir=$ac_top_builddir_sub
18355 ac_abs_top_srcdir=$ac_pwd ;;
18356 [\\/]* | ?:[\\/]* ) # Absolute name.
18357 ac_srcdir=$srcdir$ac_dir_suffix;
18358 ac_top_srcdir=$srcdir
18359 ac_abs_top_srcdir=$srcdir ;;
18360 *) # Relative name.
18361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18362 ac_top_srcdir=$ac_top_build_prefix$srcdir
18363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18365 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18375 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18376 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18378 ac_MKDIR_P=$MKDIR_P
18380 [\\/$]* | ?:[\\/]* ) ;;
18381 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18386 # If the template does not know about datarootdir, expand it.
18387 # FIXME: This hack should be removed a few years after 2.60.
18388 ac_datarootdir_hack=; ac_datarootdir_seen=
18399 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18400 *datarootdir*) ac_datarootdir_seen=yes;;
18401 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18403 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18406 ac_datarootdir_hack='
18407 s&@datadir@&$datadir&g
18408 s&@docdir@&$docdir&g
18409 s&@infodir@&$infodir&g
18410 s&@localedir@&$localedir&g
18411 s&@mandir@&$mandir&g
18412 s&\\\${datarootdir}&$datarootdir&g' ;;
18416 # Neutralize VPATH when `$srcdir' = `.'.
18417 # Shell code in configure.ac might set extrasub.
18418 # FIXME: do we really want to maintain this feature?
18419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18420 ac_sed_extra="$ac_vpsub
18423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18426 s|@configure_input@|$ac_sed_conf_input|;t t
18427 s&@top_builddir@&$ac_top_builddir_sub&;t t
18428 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18429 s&@srcdir@&$ac_srcdir&;t t
18430 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18431 s&@top_srcdir@&$ac_top_srcdir&;t t
18432 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18433 s&@builddir@&$ac_builddir&;t t
18434 s&@abs_builddir@&$ac_abs_builddir&;t t
18435 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18436 s&@INSTALL@&$ac_INSTALL&;t t
18437 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18438 $ac_datarootdir_hack
18440 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18441 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18443 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18444 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18445 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18446 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18448 which seems to be undefined. Please make sure it is defined" >&5
18449 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18450 which seems to be undefined. Please make sure it is defined" >&2;}
18452 rm -f "$ac_tmp/stdin"
18454 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18455 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18463 if test x"$ac_file" != x-; then
18465 $as_echo "/* $configure_input */" \
18466 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18467 } >"$ac_tmp/config.h" \
18468 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18469 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18471 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18474 mv "$ac_tmp/config.h" "$ac_file" \
18475 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18478 $as_echo "/* $configure_input */" \
18479 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18480 || as_fn_error $? "could not create -" "$LINENO" 5
18482 # Compute "$ac_file"'s index in $config_headers.
18485 for _am_header in $config_headers :; do
18486 case $_am_header in
18487 $_am_arg | $_am_arg:* )
18490 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18493 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18494 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18495 X"$_am_arg" : 'X\(//\)[^/]' \| \
18496 X"$_am_arg" : 'X\(//\)$' \| \
18497 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18498 $as_echo X"$_am_arg" |
18499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18503 /^X\(\/\/\)[^/].*/{
18515 s/.*/./; q'`/stamp-h$_am_stamp_count
18518 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18519 $as_echo "$as_me: executing $ac_file commands" >&6;}
18524 case $ac_file$ac_mode in
18525 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18526 # Older Autoconf quotes --file arguments for eval, but not when files
18527 # are listed without --file. Let's play safe and only enable the eval
18528 # if we detect the quoting.
18529 case $CONFIG_FILES in
18530 *\'*) eval set x "$CONFIG_FILES" ;;
18531 *) set x $CONFIG_FILES ;;
18536 # Strip MF so we end up with the name of the file.
18537 mf=`echo "$mf" | sed -e 's/:.*$//'`
18538 # Check whether this is an Automake generated Makefile or not.
18539 # We used to match only the files named 'Makefile.in', but
18540 # some people rename them; so instead we look at the file content.
18541 # Grep'ing the first line is not enough: some people post-process
18542 # each Makefile.in and add a new line on top of each file to say so.
18543 # Grep'ing the whole file is not good either: AIX grep has a line
18544 # limit of 2048, but all sed's we know have understand at least 4000.
18545 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18546 dirpart=`$as_dirname -- "$mf" ||
18547 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18548 X"$mf" : 'X\(//\)[^/]' \| \
18549 X"$mf" : 'X\(//\)$' \| \
18550 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18556 /^X\(\/\/\)[^/].*/{
18572 # Extract the definition of DEPDIR, am__include, and am__quote
18573 # from the Makefile without running 'make'.
18574 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18575 test -z "$DEPDIR" && continue
18576 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18577 test -z "$am__include" && continue
18578 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18579 # Find all dependency output files, they are included files with
18580 # $(DEPDIR) in their names. We invoke sed twice because it is the
18581 # simplest approach to changing $(DEPDIR) to its actual value in the
18583 for file in `sed -n "
18584 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18585 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18586 # Make sure the directory exists.
18587 test -f "$dirpart/$file" && continue
18588 fdir=`$as_dirname -- "$file" ||
18589 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18590 X"$file" : 'X\(//\)[^/]' \| \
18591 X"$file" : 'X\(//\)$' \| \
18592 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18593 $as_echo X"$file" |
18594 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18598 /^X\(\/\/\)[^/].*/{
18611 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18612 # echo "creating $dirpart/$file"
18613 echo '# dummy' > "$dirpart/$file"
18620 # See if we are running on zsh, and set the options which allow our
18621 # commands through without removal of \ escapes.
18622 if test -n "${ZSH_VERSION+set}" ; then
18623 setopt NO_GLOB_SUBST
18626 cfgfile="${ofile}T"
18627 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18630 cat <<_LT_EOF >> "$cfgfile"
18633 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18634 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18635 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18636 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18638 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18639 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18641 # Written by Gordon Matzigkeit, 1996
18643 # This file is part of GNU Libtool.
18645 # GNU Libtool is free software; you can redistribute it and/or
18646 # modify it under the terms of the GNU General Public License as
18647 # published by the Free Software Foundation; either version 2 of
18648 # the License, or (at your option) any later version.
18650 # As a special exception to the GNU General Public License,
18651 # if you distribute this file as part of a program or library that
18652 # is built using GNU Libtool, you may include this file under the
18653 # same distribution terms that you use for the rest of that program.
18655 # GNU Libtool is distributed in the hope that it will be useful,
18656 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18657 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18658 # GNU General Public License for more details.
18660 # You should have received a copy of the GNU General Public License
18661 # along with GNU Libtool; see the file COPYING. If not, a copy
18662 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18663 # obtained by writing to the Free Software Foundation, Inc.,
18664 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18667 # The names of the tagged configurations supported by this script.
18668 available_tags="CXX "
18670 # ### BEGIN LIBTOOL CONFIG
18672 # Which release of libtool.m4 was used?
18673 macro_version=$macro_version
18674 macro_revision=$macro_revision
18676 # Assembler program.
18679 # DLL creation program.
18680 DLLTOOL=$lt_DLLTOOL
18682 # Object dumper program.
18683 OBJDUMP=$lt_OBJDUMP
18685 # Whether or not to build static libraries.
18686 build_old_libs=$enable_static
18688 # Whether or not to build shared libraries.
18689 build_libtool_libs=$enable_shared
18691 # What type of objects to build.
18694 # Whether or not to optimize for fast installation.
18695 fast_install=$enable_fast_install
18697 # Shell to use when invoking shell scripts.
18700 # An echo program that protects backslashes.
18703 # The PATH separator for the build system.
18704 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18707 host_alias=$host_alias
18711 # The build system.
18712 build_alias=$build_alias
18716 # A sed program that does not truncate output.
18719 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18720 Xsed="\$SED -e 1s/^X//"
18722 # A grep program that handles long lines.
18728 # A literal string matcher.
18731 # A BSD- or MS-compatible name lister.
18734 # Whether we need soft or hard links.
18737 # What is the maximum length of a command?
18738 max_cmd_len=$max_cmd_len
18740 # Object file suffix (normally "o").
18743 # Executable file suffix (normally "").
18746 # whether the shell understands "unset".
18749 # turn spaces into newlines.
18752 # turn newlines into spaces.
18755 # convert \$build file names to \$host format.
18756 to_host_file_cmd=$lt_cv_to_host_file_cmd
18758 # convert \$build files to toolchain format.
18759 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18761 # Method to check whether dependent libraries are shared objects.
18762 deplibs_check_method=$lt_deplibs_check_method
18764 # Command to use when deplibs_check_method = "file_magic".
18765 file_magic_cmd=$lt_file_magic_cmd
18767 # How to find potential files when deplibs_check_method = "file_magic".
18768 file_magic_glob=$lt_file_magic_glob
18770 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18771 want_nocaseglob=$lt_want_nocaseglob
18773 # Command to associate shared and link libraries.
18774 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18779 # Flags to create an archive.
18780 AR_FLAGS=$lt_AR_FLAGS
18782 # How to feed a file listing to the archiver.
18783 archiver_list_spec=$lt_archiver_list_spec
18785 # A symbol stripping program.
18788 # Commands used to install an old-style archive.
18790 old_postinstall_cmds=$lt_old_postinstall_cmds
18791 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18793 # Whether to use a lock for old archive extraction.
18794 lock_old_archive_extraction=$lock_old_archive_extraction
18799 # LTCC compiler flags.
18800 LTCFLAGS=$lt_CFLAGS
18802 # Take the output of nm and produce a listing of raw symbols and C names.
18803 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18805 # Transform the output of nm in a proper C declaration.
18806 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18808 # Transform the output of nm in a C name address pair.
18809 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18811 # Transform the output of nm in a C name address pair when lib prefix is needed.
18812 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18814 # Specify filename containing input files for \$NM.
18815 nm_file_list_spec=$lt_nm_file_list_spec
18817 # The root where to search for dependent libraries,and in which our libraries should be installed.
18818 lt_sysroot=$lt_sysroot
18820 # The name of the directory that contains temporary libtool files.
18823 # Used to examine libraries when file_magic_cmd begins with "file".
18824 MAGIC_CMD=$MAGIC_CMD
18826 # Must we lock files when doing compilation?
18827 need_locks=$lt_need_locks
18830 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18832 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18833 DSYMUTIL=$lt_DSYMUTIL
18835 # Tool to change global to local symbols on Mac OS X.
18838 # Tool to manipulate fat objects and archives on Mac OS X.
18841 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18844 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18845 OTOOL64=$lt_OTOOL64
18847 # Old archive suffix (normally "a").
18850 # Shared library suffix (normally ".so").
18851 shrext_cmds=$lt_shrext_cmds
18853 # The commands to extract the exported symbol list from a shared archive.
18854 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18856 # Variables whose values should be saved in libtool wrapper scripts and
18857 # restored at link time.
18858 variables_saved_for_relink=$lt_variables_saved_for_relink
18860 # Do we need the "lib" prefix for modules?
18861 need_lib_prefix=$need_lib_prefix
18863 # Do we need a version for libraries?
18864 need_version=$need_version
18866 # Library versioning type.
18867 version_type=$version_type
18869 # Shared library runtime path variable.
18870 runpath_var=$runpath_var
18872 # Shared library path variable.
18873 shlibpath_var=$shlibpath_var
18875 # Is shlibpath searched before the hard-coded library search path?
18876 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18878 # Format of library name prefix.
18879 libname_spec=$lt_libname_spec
18881 # List of archive names. First name is the real one, the rest are links.
18882 # The last name is the one that the linker finds with -lNAME
18883 library_names_spec=$lt_library_names_spec
18885 # The coded name of the library, if different from the real name.
18886 soname_spec=$lt_soname_spec
18888 # Permission mode override for installation of shared libraries.
18889 install_override_mode=$lt_install_override_mode
18891 # Command to use after installation of a shared archive.
18892 postinstall_cmds=$lt_postinstall_cmds
18894 # Command to use after uninstallation of a shared archive.
18895 postuninstall_cmds=$lt_postuninstall_cmds
18897 # Commands used to finish a libtool library installation in a directory.
18898 finish_cmds=$lt_finish_cmds
18900 # As "finish_cmds", except a single script fragment to be evaled but
18902 finish_eval=$lt_finish_eval
18904 # Whether we should hardcode library paths into libraries.
18905 hardcode_into_libs=$hardcode_into_libs
18907 # Compile-time system search path for libraries.
18908 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18910 # Run-time system search path for libraries.
18911 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18913 # Whether dlopen is supported.
18914 dlopen_support=$enable_dlopen
18916 # Whether dlopen of programs is supported.
18917 dlopen_self=$enable_dlopen_self
18919 # Whether dlopen of statically linked programs is supported.
18920 dlopen_self_static=$enable_dlopen_self_static
18922 # Commands to strip libraries.
18923 old_striplib=$lt_old_striplib
18924 striplib=$lt_striplib
18927 # The linker used to build libraries.
18930 # How to create reloadable object files.
18931 reload_flag=$lt_reload_flag
18932 reload_cmds=$lt_reload_cmds
18934 # Commands used to build an old-style archive.
18935 old_archive_cmds=$lt_old_archive_cmds
18937 # A language specific compiler.
18940 # Is the compiler the GNU compiler?
18943 # Compiler flag to turn off builtin functions.
18944 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18946 # Additional compiler flags for building library objects.
18947 pic_flag=$lt_lt_prog_compiler_pic
18949 # How to pass a linker flag through the compiler.
18950 wl=$lt_lt_prog_compiler_wl
18952 # Compiler flag to prevent dynamic linking.
18953 link_static_flag=$lt_lt_prog_compiler_static
18955 # Does compiler simultaneously support -c and -o options?
18956 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18958 # Whether or not to add -lc for building shared libraries.
18959 build_libtool_need_lc=$archive_cmds_need_lc
18961 # Whether or not to disallow shared libs when runtime libs are static.
18962 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18964 # Compiler flag to allow reflexive dlopens.
18965 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18967 # Compiler flag to generate shared objects directly from archives.
18968 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18970 # Whether the compiler copes with passing no objects directly.
18971 compiler_needs_object=$lt_compiler_needs_object
18973 # Create an old-style archive from a shared archive.
18974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18976 # Create a temporary old-style archive to link instead of a shared archive.
18977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18979 # Commands used to build a shared archive.
18980 archive_cmds=$lt_archive_cmds
18981 archive_expsym_cmds=$lt_archive_expsym_cmds
18983 # Commands used to build a loadable module if different from building
18984 # a shared archive.
18985 module_cmds=$lt_module_cmds
18986 module_expsym_cmds=$lt_module_expsym_cmds
18988 # Whether we are building with GNU ld or not.
18989 with_gnu_ld=$lt_with_gnu_ld
18991 # Flag that allows shared libraries with undefined symbols to be built.
18992 allow_undefined_flag=$lt_allow_undefined_flag
18994 # Flag that enforces no undefined symbols.
18995 no_undefined_flag=$lt_no_undefined_flag
18997 # Flag to hardcode \$libdir into a binary during linking.
18998 # This must work even if \$libdir does not exist
18999 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19001 # Whether we need a single "-rpath" flag with a separated argument.
19002 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19004 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19005 # DIR into the resulting binary.
19006 hardcode_direct=$hardcode_direct
19008 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19009 # DIR into the resulting binary and the resulting library dependency is
19010 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19011 # library is relocated.
19012 hardcode_direct_absolute=$hardcode_direct_absolute
19014 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19015 # into the resulting binary.
19016 hardcode_minus_L=$hardcode_minus_L
19018 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19019 # into the resulting binary.
19020 hardcode_shlibpath_var=$hardcode_shlibpath_var
19022 # Set to "yes" if building a shared library automatically hardcodes DIR
19023 # into the library and all subsequent libraries and executables linked
19025 hardcode_automatic=$hardcode_automatic
19027 # Set to yes if linker adds runtime paths of dependent libraries
19028 # to runtime path list.
19029 inherit_rpath=$inherit_rpath
19031 # Whether libtool must link a program against all its dependency libraries.
19032 link_all_deplibs=$link_all_deplibs
19034 # Set to "yes" if exported symbols are required.
19035 always_export_symbols=$always_export_symbols
19037 # The commands to list exported symbols.
19038 export_symbols_cmds=$lt_export_symbols_cmds
19040 # Symbols that should not be listed in the preloaded symbols.
19041 exclude_expsyms=$lt_exclude_expsyms
19043 # Symbols that must always be exported.
19044 include_expsyms=$lt_include_expsyms
19046 # Commands necessary for linking programs (against libraries) with templates.
19047 prelink_cmds=$lt_prelink_cmds
19049 # Commands necessary for finishing linking programs.
19050 postlink_cmds=$lt_postlink_cmds
19052 # Specify filename containing input files.
19053 file_list_spec=$lt_file_list_spec
19055 # How to hardcode a shared library path into an executable.
19056 hardcode_action=$hardcode_action
19058 # The directories searched by this compiler when creating a shared library.
19059 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19061 # Dependencies to place before and after the objects being linked to
19062 # create a shared library.
19063 predep_objects=$lt_predep_objects
19064 postdep_objects=$lt_postdep_objects
19065 predeps=$lt_predeps
19066 postdeps=$lt_postdeps
19068 # The library search path used internally by the compiler when linking
19069 # a shared library.
19070 compiler_lib_search_path=$lt_compiler_lib_search_path
19072 # ### END LIBTOOL CONFIG
19078 cat <<\_LT_EOF >> "$cfgfile"
19079 # AIX sometimes has problems with the GCC collect2 program. For some
19080 # reason, if we set the COLLECT_NAMES environment variable, the problems
19081 # vanish in a puff of smoke.
19082 if test "X${COLLECT_NAMES+set}" != Xset; then
19084 export COLLECT_NAMES
19091 ltmain="$ac_aux_dir/ltmain.sh"
19094 # We use sed instead of cat because bash on DJGPP gets confused if
19095 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19096 # text mode, it properly converts lines to CR/LF. This bash problem
19097 # is reportedly fixed, but why not run on old versions too?
19098 sed '$q' "$ltmain" >> "$cfgfile" \
19099 || (rm -f "$cfgfile"; exit 1)
19101 if test x"$xsi_shell" = xyes; then
19102 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19106 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19107 \ * ) func_dirname_result="${3}" ;;\
19109 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19110 && mv -f "$cfgfile.tmp" "$cfgfile" \
19111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19112 test 0 -eq $? || _lt_function_replace_fail=:
19115 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19118 \ func_basename_result="${1##*/}"\
19119 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19120 && mv -f "$cfgfile.tmp" "$cfgfile" \
19121 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19122 test 0 -eq $? || _lt_function_replace_fail=:
19125 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19126 func_dirname_and_basename ()\
19129 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19130 \ * ) func_dirname_result="${3}" ;;\
19132 \ func_basename_result="${1##*/}"\
19133 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19134 && mv -f "$cfgfile.tmp" "$cfgfile" \
19135 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19136 test 0 -eq $? || _lt_function_replace_fail=:
19139 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19142 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19143 \ # positional parameters, so assign one to ordinary parameter first.\
19144 \ func_stripname_result=${3}\
19145 \ func_stripname_result=${func_stripname_result#"${1}"}\
19146 \ func_stripname_result=${func_stripname_result%"${2}"}\
19147 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19148 && mv -f "$cfgfile.tmp" "$cfgfile" \
19149 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19150 test 0 -eq $? || _lt_function_replace_fail=:
19153 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19154 func_split_long_opt ()\
19156 \ func_split_long_opt_name=${1%%=*}\
19157 \ func_split_long_opt_arg=${1#*=}\
19158 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19159 && mv -f "$cfgfile.tmp" "$cfgfile" \
19160 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19161 test 0 -eq $? || _lt_function_replace_fail=:
19164 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19165 func_split_short_opt ()\
19167 \ func_split_short_opt_arg=${1#??}\
19168 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19169 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19170 && mv -f "$cfgfile.tmp" "$cfgfile" \
19171 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19172 test 0 -eq $? || _lt_function_replace_fail=:
19175 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19179 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19180 \ *) func_lo2o_result=${1} ;;\
19182 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19183 && mv -f "$cfgfile.tmp" "$cfgfile" \
19184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19185 test 0 -eq $? || _lt_function_replace_fail=:
19188 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19191 func_xform_result=${1%.*}.lo\
19192 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19193 && mv -f "$cfgfile.tmp" "$cfgfile" \
19194 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19195 test 0 -eq $? || _lt_function_replace_fail=:
19198 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19201 func_arith_result=$(( $* ))\
19202 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19203 && mv -f "$cfgfile.tmp" "$cfgfile" \
19204 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19205 test 0 -eq $? || _lt_function_replace_fail=:
19208 sed -e '/^func_len ()$/,/^} # func_len /c\
19211 func_len_result=${#1}\
19212 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19213 && mv -f "$cfgfile.tmp" "$cfgfile" \
19214 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19215 test 0 -eq $? || _lt_function_replace_fail=:
19219 if test x"$lt_shell_append" = xyes; then
19220 sed -e '/^func_append ()$/,/^} # func_append /c\
19223 eval "${1}+=\\${2}"\
19224 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19225 && mv -f "$cfgfile.tmp" "$cfgfile" \
19226 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19227 test 0 -eq $? || _lt_function_replace_fail=:
19230 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19231 func_append_quoted ()\
19233 \ func_quote_for_eval "${2}"\
19234 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19235 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19236 && mv -f "$cfgfile.tmp" "$cfgfile" \
19237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19238 test 0 -eq $? || _lt_function_replace_fail=:
19241 # Save a `func_append' function call where possible by direct use of '+='
19242 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19243 && mv -f "$cfgfile.tmp" "$cfgfile" \
19244 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19245 test 0 -eq $? || _lt_function_replace_fail=:
19247 # Save a `func_append' function call even when '+=' is not available
19248 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19249 && mv -f "$cfgfile.tmp" "$cfgfile" \
19250 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19251 test 0 -eq $? || _lt_function_replace_fail=:
19254 if test x"$_lt_function_replace_fail" = x":"; then
19255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19256 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19260 mv -f "$cfgfile" "$ofile" ||
19261 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19265 cat <<_LT_EOF >> "$ofile"
19267 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19269 # The linker used to build libraries.
19272 # How to create reloadable object files.
19273 reload_flag=$lt_reload_flag_CXX
19274 reload_cmds=$lt_reload_cmds_CXX
19276 # Commands used to build an old-style archive.
19277 old_archive_cmds=$lt_old_archive_cmds_CXX
19279 # A language specific compiler.
19280 CC=$lt_compiler_CXX
19282 # Is the compiler the GNU compiler?
19285 # Compiler flag to turn off builtin functions.
19286 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19288 # Additional compiler flags for building library objects.
19289 pic_flag=$lt_lt_prog_compiler_pic_CXX
19291 # How to pass a linker flag through the compiler.
19292 wl=$lt_lt_prog_compiler_wl_CXX
19294 # Compiler flag to prevent dynamic linking.
19295 link_static_flag=$lt_lt_prog_compiler_static_CXX
19297 # Does compiler simultaneously support -c and -o options?
19298 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19300 # Whether or not to add -lc for building shared libraries.
19301 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19303 # Whether or not to disallow shared libs when runtime libs are static.
19304 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19306 # Compiler flag to allow reflexive dlopens.
19307 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19309 # Compiler flag to generate shared objects directly from archives.
19310 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19312 # Whether the compiler copes with passing no objects directly.
19313 compiler_needs_object=$lt_compiler_needs_object_CXX
19315 # Create an old-style archive from a shared archive.
19316 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19318 # Create a temporary old-style archive to link instead of a shared archive.
19319 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19321 # Commands used to build a shared archive.
19322 archive_cmds=$lt_archive_cmds_CXX
19323 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19325 # Commands used to build a loadable module if different from building
19326 # a shared archive.
19327 module_cmds=$lt_module_cmds_CXX
19328 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19330 # Whether we are building with GNU ld or not.
19331 with_gnu_ld=$lt_with_gnu_ld_CXX
19333 # Flag that allows shared libraries with undefined symbols to be built.
19334 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19336 # Flag that enforces no undefined symbols.
19337 no_undefined_flag=$lt_no_undefined_flag_CXX
19339 # Flag to hardcode \$libdir into a binary during linking.
19340 # This must work even if \$libdir does not exist
19341 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19343 # Whether we need a single "-rpath" flag with a separated argument.
19344 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19346 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19347 # DIR into the resulting binary.
19348 hardcode_direct=$hardcode_direct_CXX
19350 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19351 # DIR into the resulting binary and the resulting library dependency is
19352 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19353 # library is relocated.
19354 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19356 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19357 # into the resulting binary.
19358 hardcode_minus_L=$hardcode_minus_L_CXX
19360 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19361 # into the resulting binary.
19362 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19364 # Set to "yes" if building a shared library automatically hardcodes DIR
19365 # into the library and all subsequent libraries and executables linked
19367 hardcode_automatic=$hardcode_automatic_CXX
19369 # Set to yes if linker adds runtime paths of dependent libraries
19370 # to runtime path list.
19371 inherit_rpath=$inherit_rpath_CXX
19373 # Whether libtool must link a program against all its dependency libraries.
19374 link_all_deplibs=$link_all_deplibs_CXX
19376 # Set to "yes" if exported symbols are required.
19377 always_export_symbols=$always_export_symbols_CXX
19379 # The commands to list exported symbols.
19380 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19382 # Symbols that should not be listed in the preloaded symbols.
19383 exclude_expsyms=$lt_exclude_expsyms_CXX
19385 # Symbols that must always be exported.
19386 include_expsyms=$lt_include_expsyms_CXX
19388 # Commands necessary for linking programs (against libraries) with templates.
19389 prelink_cmds=$lt_prelink_cmds_CXX
19391 # Commands necessary for finishing linking programs.
19392 postlink_cmds=$lt_postlink_cmds_CXX
19394 # Specify filename containing input files.
19395 file_list_spec=$lt_file_list_spec_CXX
19397 # How to hardcode a shared library path into an executable.
19398 hardcode_action=$hardcode_action_CXX
19400 # The directories searched by this compiler when creating a shared library.
19401 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19403 # Dependencies to place before and after the objects being linked to
19404 # create a shared library.
19405 predep_objects=$lt_predep_objects_CXX
19406 postdep_objects=$lt_postdep_objects_CXX
19407 predeps=$lt_predeps_CXX
19408 postdeps=$lt_postdeps_CXX
19410 # The library search path used internally by the compiler when linking
19411 # a shared library.
19412 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19414 # ### END LIBTOOL TAG CONFIG: CXX
19418 "MSVC_Net2005/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2005/libxml++/libxml++config.h ;;
19419 "MSVC_Net2008/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2008/libxml++/libxml++config.h ;;
19420 "MSVC_Net2010/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2010/libxml++/libxml++config.h ;;
19428 ac_clean_files=$ac_clean_files_save
19430 test $ac_write_fail = 0 ||
19431 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19434 # configure is writing to config.log, and then calls config.status.
19435 # config.status does its own redirection, appending to config.log.
19436 # Unfortunately, on DOS this fails, as config.log is still kept open
19437 # by configure, so config.status won't be able to write to it; its
19438 # output is simply discarded. So we exec the FD to /dev/null,
19439 # effectively closing config.log, so it can be properly (re)opened and
19440 # appended to by config.status. When coming back to configure, we
19441 # need to make the FD available again.
19442 if test "$no_create" != yes; then
19444 ac_config_status_args=
19445 test "$silent" = yes &&
19446 ac_config_status_args="$ac_config_status_args --quiet"
19448 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19450 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19451 # would make configure fail if this is the last instruction.
19452 $ac_cs_success || as_fn_exit 1
19454 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19456 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}