2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for libxml++ 2.91.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.91.2'
595 PACKAGE_STRING='libxml++ 2.91.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.91.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.91.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.91.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.91.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 build "$srcdir"/build; 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 build \"$srcdir\"/build" "$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++-3.0'
3124 LIBXMLXX_VERSION='2.91.2'
3126 LIBXMLXX_API_VERSION='3.0'
3128 LIBXMLXX_MAJOR_VERSION=2
3131 $as_echo "#define LIBXMLXX_MAJOR_VERSION 2" >>confdefs.h
3133 LIBXMLXX_MINOR_VERSION=91
3136 $as_echo "#define LIBXMLXX_MINOR_VERSION 91" >>confdefs.h
3138 LIBXMLXX_MICRO_VERSION=2
3141 $as_echo "#define LIBXMLXX_MICRO_VERSION 2" >>confdefs.h
3145 # Tell mm-common-prepare to copy the mm-common .pl scripts
3146 # and some other files into docs/, 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 # libxml++ does not use libtool's versioning system.
3159 # Let LIBXMLXX_SO_VERSION remain equal to 0:0:0.
3160 # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3161 LIBXMLXX_SO_VERSION=0:0:0
3165 ac_cpp='$CXXCPP $CPPFLAGS'
3166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3169 if test -z "$CXX"; then
3170 if test -n "$CCC"; then
3173 if test -n "$ac_tool_prefix"; then
3174 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3179 $as_echo_n "checking for $ac_word... " >&6; }
3180 if ${ac_cv_prog_CXX+:} false; then :
3181 $as_echo_n "(cached) " >&6
3183 if test -n "$CXX"; then
3184 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190 test -z "$as_dir" && as_dir=.
3191 for ac_exec_ext in '' $ac_executable_extensions; do
3192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3193 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 if test -n "$CXX"; then
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3206 $as_echo "$CXX" >&6; }
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209 $as_echo "no" >&6; }
3213 test -n "$CXX" && break
3216 if test -z "$CXX"; then
3218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3220 # Extract the first word of "$ac_prog", so it can be a program name with args.
3221 set dummy $ac_prog; ac_word=$2
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 $as_echo_n "checking for $ac_word... " >&6; }
3224 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -n "$ac_ct_CXX"; then
3228 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3234 test -z "$as_dir" && as_dir=.
3235 for ac_exec_ext in '' $ac_executable_extensions; do
3236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237 ac_cv_prog_ac_ct_CXX="$ac_prog"
3238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3247 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3248 if test -n "$ac_ct_CXX"; then
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3250 $as_echo "$ac_ct_CXX" >&6; }
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3257 test -n "$ac_ct_CXX" && break
3260 if test "x$ac_ct_CXX" = x; then
3263 case $cross_compiling:$ac_tool_warned in
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3266 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3267 ac_tool_warned=yes ;;
3275 # Provide some information about the compiler.
3276 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3279 for ac_option in --version -v -V -qversion; do
3280 { { ac_try="$ac_compiler $ac_option >&5"
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3286 $as_echo "$ac_try_echo"; } >&5
3287 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3289 if test -s conftest.err; then
3291 ... rest of stderr output deleted ...
3292 10q' conftest.err >conftest.er1
3293 cat conftest.er1 >&5
3295 rm -f conftest.er1 conftest.err
3296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3297 test $ac_status = 0; }
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3311 ac_clean_files_save=$ac_clean_files
3312 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3313 # Try to create an executable without -o first, disregard a.out.
3314 # It will help us diagnose broken compilers, and finding out an intuition
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3317 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3318 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3320 # The possible output files:
3321 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3324 for ac_file in $ac_files
3327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3328 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3333 if { { ac_try="$ac_link_default"
3335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3336 *) ac_try_echo=$ac_try;;
3338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3339 $as_echo "$ac_try_echo"; } >&5
3340 (eval "$ac_link_default") 2>&5
3342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343 test $ac_status = 0; }; then :
3344 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3345 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3346 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3347 # so that the user can short-circuit this test for compilers unknown to
3349 for ac_file in $ac_files ''
3351 test -f "$ac_file" || continue
3353 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3356 # We found the default executable, but exeext='' is most
3360 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3362 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3364 # We set ac_cv_exeext here because the later test for it is not
3365 # safe: cross compilers may not add the suffix if given an `-o'
3366 # argument, so we may need to know it at that point already.
3367 # Even if this section looks crufty: it has the advantage of
3374 test "$ac_cv_exeext" = no && ac_cv_exeext=
3379 if test -z "$ac_file"; then :
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3381 $as_echo "no" >&6; }
3382 $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3385 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3386 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3387 as_fn_error 77 "C++ compiler cannot create executables
3388 See \`config.log' for more details" "$LINENO" 5; }
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3391 $as_echo "yes" >&6; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3394 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3396 $as_echo "$ac_file" >&6; }
3397 ac_exeext=$ac_cv_exeext
3399 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3400 ac_clean_files=$ac_clean_files_save
3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3402 $as_echo_n "checking for suffix of executables... " >&6; }
3403 if { { ac_try="$ac_link"
3405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406 *) ac_try_echo=$ac_try;;
3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3409 $as_echo "$ac_try_echo"; } >&5
3410 (eval "$ac_link") 2>&5
3412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3413 test $ac_status = 0; }; then :
3414 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3415 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3416 # work properly (i.e., refer to `conftest.exe'), while it won't with
3418 for ac_file in conftest.exe conftest conftest.*; do
3419 test -f "$ac_file" || continue
3421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3422 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3428 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3431 See \`config.log' for more details" "$LINENO" 5; }
3433 rm -f conftest conftest$ac_cv_exeext
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3435 $as_echo "$ac_cv_exeext" >&6; }
3437 rm -f conftest.$ac_ext
3438 EXEEXT=$ac_cv_exeext
3440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3441 /* end confdefs.h. */
3446 FILE *f = fopen ("conftest.out", "w");
3447 return ferror (f) || fclose (f) != 0;
3453 ac_clean_files="$ac_clean_files conftest.out"
3454 # Check that the compiler produces executables we can run. If not, either
3455 # the compiler is broken, or we cross compile.
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3457 $as_echo_n "checking whether we are cross compiling... " >&6; }
3458 if test "$cross_compiling" != yes; then
3459 { { ac_try="$ac_link"
3461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3465 $as_echo "$ac_try_echo"; } >&5
3466 (eval "$ac_link") 2>&5
3468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469 test $ac_status = 0; }
3470 if { ac_try='./conftest$ac_cv_exeext'
3471 { { case "(($ac_try" in
3472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3473 *) ac_try_echo=$ac_try;;
3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3476 $as_echo "$ac_try_echo"; } >&5
3477 (eval "$ac_try") 2>&5
3479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3480 test $ac_status = 0; }; }; then
3483 if test "$cross_compiling" = maybe; then
3486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3488 as_fn_error $? "cannot run C++ compiled programs.
3489 If you meant to cross compile, use \`--host'.
3490 See \`config.log' for more details" "$LINENO" 5; }
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3495 $as_echo "$cross_compiling" >&6; }
3497 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3498 ac_clean_files=$ac_clean_files_save
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3500 $as_echo_n "checking for suffix of object files... " >&6; }
3501 if ${ac_cv_objext+:} false; then :
3502 $as_echo_n "(cached) " >&6
3504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505 /* end confdefs.h. */
3515 rm -f conftest.o conftest.obj
3516 if { { ac_try="$ac_compile"
3518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519 *) ac_try_echo=$ac_try;;
3521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522 $as_echo "$ac_try_echo"; } >&5
3523 (eval "$ac_compile") 2>&5
3525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526 test $ac_status = 0; }; then :
3527 for ac_file in conftest.o conftest.obj conftest.*; do
3528 test -f "$ac_file" || continue;
3530 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3531 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3536 $as_echo "$as_me: failed program was:" >&5
3537 sed 's/^/| /' conftest.$ac_ext >&5
3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3541 as_fn_error $? "cannot compute suffix of object files: cannot compile
3542 See \`config.log' for more details" "$LINENO" 5; }
3544 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3547 $as_echo "$ac_cv_objext" >&6; }
3548 OBJEXT=$ac_cv_objext
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3551 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3552 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3553 $as_echo_n "(cached) " >&6
3555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556 /* end confdefs.h. */
3569 if ac_fn_cxx_try_compile "$LINENO"; then :
3574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3575 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3579 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3580 if test $ac_compiler_gnu = yes; then
3585 ac_test_CXXFLAGS=${CXXFLAGS+set}
3586 ac_save_CXXFLAGS=$CXXFLAGS
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3588 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3589 if ${ac_cv_prog_cxx_g+:} false; then :
3590 $as_echo_n "(cached) " >&6
3592 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3593 ac_cxx_werror_flag=yes
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3607 if ac_fn_cxx_try_compile "$LINENO"; then :
3608 ac_cv_prog_cxx_g=yes
3611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3612 /* end confdefs.h. */
3622 if ac_fn_cxx_try_compile "$LINENO"; then :
3625 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3628 /* end confdefs.h. */
3638 if ac_fn_cxx_try_compile "$LINENO"; then :
3639 ac_cv_prog_cxx_g=yes
3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3649 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3650 if test "$ac_test_CXXFLAGS" = set; then
3651 CXXFLAGS=$ac_save_CXXFLAGS
3652 elif test $ac_cv_prog_cxx_g = yes; then
3653 if test "$GXX" = yes; then
3659 if test "$GXX" = yes; then
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3670 DEPDIR="${am__leading_dot}deps"
3672 ac_config_commands="$ac_config_commands depfiles"
3675 am_make=${MAKE-make}
3676 cat > confinc << 'END'
3678 @echo this is the am__doit target
3681 # If we don't find an include directive, just comment out the code.
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3683 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3687 # First try GNU make style include.
3688 echo "include confinc" > confmf
3689 # Ignore all kinds of additional output from 'make'.
3690 case `$am_make -s -f confmf 2> /dev/null` in #(
3691 *the\ am__doit\ target*)
3697 # Now try BSD make style include.
3698 if test "$am__include" = "#"; then
3699 echo '.include "confinc"' > confmf
3700 case `$am_make -s -f confmf 2> /dev/null` in #(
3701 *the\ am__doit\ target*)
3702 am__include=.include
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3711 $as_echo "$_am_result" >&6; }
3712 rm -f confinc confmf
3714 # Check whether --enable-dependency-tracking was given.
3715 if test "${enable_dependency_tracking+set}" = set; then :
3716 enableval=$enable_dependency_tracking;
3719 if test "x$enable_dependency_tracking" != xno; then
3720 am_depcomp="$ac_aux_dir/depcomp"
3724 if test "x$enable_dependency_tracking" != xno; then
3734 depcc="$CXX" am_compiler_list=
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3737 $as_echo_n "checking dependency style of $depcc... " >&6; }
3738 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3742 # We make a subdir and do the tests there. Otherwise we can end up
3743 # making bogus files that we don't know about and never remove. For
3744 # instance it was reported that on HP-UX the gcc test will end up
3745 # making a dummy file named 'D' -- because '-MD' means "put the output
3749 # Copy depcomp to subdir because otherwise we won't find it if we're
3750 # using a relative directory.
3751 cp "$am_depcomp" conftest.dir
3753 # We will build objects and dependencies in a subdirectory because
3754 # it helps to detect inapplicable dependency modes. For instance
3755 # both Tru64's cc and ICC support -MD to output dependencies as a
3756 # side effect of compilation, but ICC will put the dependencies in
3757 # the current directory while Tru64 will put them in the object
3761 am_cv_CXX_dependencies_compiler_type=none
3762 if test "$am_compiler_list" = ""; then
3763 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3766 case " $depcc " in #(
3767 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3770 for depmode in $am_compiler_list; do
3771 # Setup a source with many dependencies, because some compilers
3772 # like to wrap large dependency lists on column 80 (with \), and
3773 # we should not choose a depcomp mode which is confused by this.
3775 # We need to recreate these files for each test, as the compiler may
3776 # overwrite some of them when testing with obscure command lines.
3777 # This happens at least with the AIX C compiler.
3779 for i in 1 2 3 4 5 6; do
3780 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3781 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3782 # Solaris 10 /bin/sh.
3783 echo '/* dummy */' > sub/conftst$i.h
3785 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3787 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3788 # mode. It turns out that the SunPro C++ compiler does not properly
3789 # handle '-M -o', and we need to detect this. Also, some Intel
3790 # versions had trouble with output in subdirs.
3791 am__obj=sub/conftest.${OBJEXT-o}
3792 am__minus_obj="-o $am__obj"
3795 # This depmode causes a compiler race in universal mode.
3796 test "$am__universal" = false || continue
3799 # After this tag, mechanisms are not by side-effect, so they'll
3800 # only be used when explicitly requested.
3801 if test "x$enable_dependency_tracking" = xyes; then
3807 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3808 # This compiler won't grok '-c -o', but also, the minuso test has
3809 # not run yet. These depmodes are late enough in the game, and
3810 # so weak that their functioning should not be impacted.
3811 am__obj=conftest.${OBJEXT-o}
3816 if depmode=$depmode \
3817 source=sub/conftest.c object=$am__obj \
3818 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3819 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3820 >/dev/null 2>conftest.err &&
3821 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3822 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3823 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3824 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3825 # icc doesn't choke on unknown options, it will just issue warnings
3826 # or remarks (even with -Werror). So we grep stderr for any message
3827 # that says an option was ignored or not supported.
3828 # When given -MP, icc 7.0 and 7.1 complain thusly:
3829 # icc: Command line warning: ignoring option '-M'; no argument required
3830 # The diagnosis changed in icc 8.0:
3831 # icc: Command line remark: option '-MP' not supported
3832 if (grep 'ignoring option' conftest.err ||
3833 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3834 am_cv_CXX_dependencies_compiler_type=$depmode
3843 am_cv_CXX_dependencies_compiler_type=none
3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3848 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3849 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3852 test "x$enable_dependency_tracking" != xno \
3853 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3854 am__fastdepCXX_TRUE=
3855 am__fastdepCXX_FALSE='#'
3857 am__fastdepCXX_TRUE='#'
3858 am__fastdepCXX_FALSE=
3863 ax_cxx_compile_cxx11_required=true
3865 ac_cpp='$CXXCPP $CPPFLAGS'
3866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
3871 $as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
3872 if ${ax_cv_cxx_compile_cxx11+:} false; then :
3873 $as_echo_n "(cached) " >&6
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h. */
3878 template <typename T>
3881 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3887 struct Child : public Base {
3888 virtual void f() override {}
3891 typedef check<check<bool>> right_angle_brackets;
3896 typedef check<int> check_type;
3898 check_type&& cr = static_cast<check_type&&>(c);
3902 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3903 struct use_l { use_l() { l(); } };
3905 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3906 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3907 namespace test_template_alias_sfinae {
3910 template<typename T>
3911 using member = typename T::member_type;
3913 template<typename T>
3916 template<typename T>
3917 void func(member<T>*) {}
3927 if ac_fn_cxx_try_compile "$LINENO"; then :
3928 ax_cv_cxx_compile_cxx11=yes
3930 ax_cv_cxx_compile_cxx11=no
3932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
3935 $as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
3936 if test x$ax_cv_cxx_compile_cxx11 = xyes; then
3942 if test x$ac_success = xno; then
3943 for switch in -std=c++11 -std=c++0x +std=c++11; do
3944 cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
3946 $as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
3947 if eval \${$cachevar+:} false; then :
3948 $as_echo_n "(cached) " >&6
3950 ac_save_CXXFLAGS="$CXXFLAGS"
3951 CXXFLAGS="$CXXFLAGS $switch"
3952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953 /* end confdefs.h. */
3955 template <typename T>
3958 static_assert(sizeof(int) <= sizeof(T), "not big enough");
3964 struct Child : public Base {
3965 virtual void f() override {}
3968 typedef check<check<bool>> right_angle_brackets;
3973 typedef check<int> check_type;
3975 check_type&& cr = static_cast<check_type&&>(c);
3979 // Prevent Clang error: unused variable 'l' [-Werror,-Wunused-variable]
3980 struct use_l { use_l() { l(); } };
3982 // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae
3983 // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function because of this
3984 namespace test_template_alias_sfinae {
3987 template<typename T>
3988 using member = typename T::member_type;
3990 template<typename T>
3993 template<typename T>
3994 void func(member<T>*) {}
4004 if ac_fn_cxx_try_compile "$LINENO"; then :
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010 CXXFLAGS="$ac_save_CXXFLAGS"
4012 eval ac_res=\$$cachevar
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4014 $as_echo "$ac_res" >&6; }
4015 if eval test x\$$cachevar = xyes; then
4016 CXXFLAGS="$CXXFLAGS $switch"
4023 ac_cpp='$CPP $CPPFLAGS'
4024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 if test x$ax_cxx_compile_cxx11_required = xtrue; then
4029 if test x$ac_success = xno; then
4030 as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
4033 if test x$ac_success = xno; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
4036 $as_echo "$as_me: No compiler with C++11 support was found" >&6;}
4040 $as_echo "#define HAVE_CXX11 1" >>confdefs.h
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4052 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4057 macro_version='2.4.2'
4058 macro_revision='1.3337'
4072 ltmain="$ac_aux_dir/ltmain.sh"
4074 # Make sure we can run config.sub.
4075 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4076 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4079 $as_echo_n "checking build system type... " >&6; }
4080 if ${ac_cv_build+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 ac_build_alias=$build_alias
4084 test "x$ac_build_alias" = x &&
4085 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4086 test "x$ac_build_alias" = x &&
4087 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4088 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4089 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4093 $as_echo "$ac_cv_build" >&6; }
4094 case $ac_cv_build in
4096 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4099 ac_save_IFS=$IFS; IFS='-'
4105 # Remember, the first character of IFS is used to create $*,
4106 # except with old shells:
4109 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4113 $as_echo_n "checking host system type... " >&6; }
4114 if ${ac_cv_host+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 if test "x$host_alias" = x; then
4118 ac_cv_host=$ac_cv_build
4120 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4121 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4126 $as_echo "$ac_cv_host" >&6; }
4129 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4132 ac_save_IFS=$IFS; IFS='-'
4138 # Remember, the first character of IFS is used to create $*,
4139 # except with old shells:
4142 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4145 # Backslashify metacharacters that are still active within
4146 # double-quoted strings.
4147 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4149 # Same as above, but do not quote variable references.
4150 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4152 # Sed substitution to delay expansion of an escaped shell variable in a
4153 # double_quote_subst'ed string.
4154 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4156 # Sed substitution to delay expansion of an escaped single quote.
4157 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4159 # Sed substitution to avoid accidental globbing in evaled expressions
4160 no_glob_subst='s/\*/\\\*/g'
4162 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4163 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4164 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4167 $as_echo_n "checking how to print strings... " >&6; }
4168 # Test print first, because it will be a builtin if present.
4169 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4170 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4172 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4175 # Use this function as a fallback that always works.
4176 func_fallback_echo ()
4178 eval 'cat <<_LTECHO_EOF
4182 ECHO='func_fallback_echo'
4185 # func_echo_all arg...
4186 # Invoke $ECHO with all args, space-separated.
4193 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4194 $as_echo "printf" >&6; } ;;
4195 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4196 $as_echo "print -r" >&6; } ;;
4197 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4198 $as_echo "cat" >&6; } ;;
4215 ac_cpp='$CPP $CPPFLAGS'
4216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4219 if test -n "$ac_tool_prefix"; then
4220 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4223 $as_echo_n "checking for $ac_word... " >&6; }
4224 if ${ac_cv_prog_CC+:} false; then :
4225 $as_echo_n "(cached) " >&6
4227 if test -n "$CC"; then
4228 ac_cv_prog_CC="$CC" # Let the user override the test.
4230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4234 test -z "$as_dir" && as_dir=.
4235 for ac_exec_ext in '' $ac_executable_extensions; do
4236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4237 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 if test -n "$CC"; then
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4250 $as_echo "$CC" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4258 if test -z "$ac_cv_prog_CC"; then
4260 # Extract the first word of "gcc", so it can be a program name with args.
4261 set dummy gcc; ac_word=$2
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4263 $as_echo_n "checking for $ac_word... " >&6; }
4264 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test -n "$ac_ct_CC"; then
4268 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4274 test -z "$as_dir" && as_dir=.
4275 for ac_exec_ext in '' $ac_executable_extensions; do
4276 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4277 ac_cv_prog_ac_ct_CC="gcc"
4278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4288 if test -n "$ac_ct_CC"; then
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4290 $as_echo "$ac_ct_CC" >&6; }
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4293 $as_echo "no" >&6; }
4296 if test "x$ac_ct_CC" = x; then
4299 case $cross_compiling:$ac_tool_warned in
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4303 ac_tool_warned=yes ;;
4311 if test -z "$CC"; then
4312 if test -n "$ac_tool_prefix"; then
4313 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4314 set dummy ${ac_tool_prefix}cc; ac_word=$2
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4316 $as_echo_n "checking for $ac_word... " >&6; }
4317 if ${ac_cv_prog_CC+:} false; then :
4318 $as_echo_n "(cached) " >&6
4320 if test -n "$CC"; then
4321 ac_cv_prog_CC="$CC" # Let the user override the test.
4323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir=.
4328 for ac_exec_ext in '' $ac_executable_extensions; do
4329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4330 ac_cv_prog_CC="${ac_tool_prefix}cc"
4331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 if test -n "$CC"; then
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4343 $as_echo "$CC" >&6; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4346 $as_echo "no" >&6; }
4352 if test -z "$CC"; then
4353 # Extract the first word of "cc", so it can be a program name with args.
4354 set dummy cc; ac_word=$2
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4356 $as_echo_n "checking for $ac_word... " >&6; }
4357 if ${ac_cv_prog_CC+:} false; then :
4358 $as_echo_n "(cached) " >&6
4360 if test -n "$CC"; then
4361 ac_cv_prog_CC="$CC" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4371 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4372 ac_prog_rejected=yes
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 if test $ac_prog_rejected = yes; then
4384 # We found a bogon in the path, so make sure we never use it.
4385 set dummy $ac_cv_prog_CC
4387 if test $# != 0; then
4388 # We chose a different compiler from the bogus one.
4389 # However, it has the same basename, so the bogon will be chosen
4390 # first if we set CC to just the basename; use the full file name.
4392 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4398 if test -n "$CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4400 $as_echo "$CC" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4408 if test -z "$CC"; then
4409 if test -n "$ac_tool_prefix"; then
4410 for ac_prog in cl.exe
4412 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4413 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if ${ac_cv_prog_CC+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$CC"; then
4420 ac_cv_prog_CC="$CC" # Let the user override the test.
4422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir=.
4427 for ac_exec_ext in '' $ac_executable_extensions; do
4428 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$CC"; then
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4442 $as_echo "$CC" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4445 $as_echo "no" >&6; }
4449 test -n "$CC" && break
4452 if test -z "$CC"; then
4454 for ac_prog in cl.exe
4456 # Extract the first word of "$ac_prog", so it can be a program name with args.
4457 set dummy $ac_prog; ac_word=$2
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4459 $as_echo_n "checking for $ac_word... " >&6; }
4460 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4461 $as_echo_n "(cached) " >&6
4463 if test -n "$ac_ct_CC"; then
4464 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470 test -z "$as_dir" && as_dir=.
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4473 ac_cv_prog_ac_ct_CC="$ac_prog"
4474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4484 if test -n "$ac_ct_CC"; then
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4486 $as_echo "$ac_ct_CC" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4489 $as_echo "no" >&6; }
4493 test -n "$ac_ct_CC" && break
4496 if test "x$ac_ct_CC" = x; then
4499 case $cross_compiling:$ac_tool_warned in
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4503 ac_tool_warned=yes ;;
4512 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4514 as_fn_error $? "no acceptable C compiler found in \$PATH
4515 See \`config.log' for more details" "$LINENO" 5; }
4517 # Provide some information about the compiler.
4518 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4521 for ac_option in --version -v -V -qversion; do
4522 { { ac_try="$ac_compiler $ac_option >&5"
4524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4525 *) ac_try_echo=$ac_try;;
4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4531 if test -s conftest.err; then
4533 ... rest of stderr output deleted ...
4534 10q' conftest.err >conftest.er1
4535 cat conftest.er1 >&5
4537 rm -f conftest.er1 conftest.err
4538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4539 test $ac_status = 0; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4543 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4544 if ${ac_cv_c_compiler_gnu+:} false; then :
4545 $as_echo_n "(cached) " >&6
4547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548 /* end confdefs.h. */
4561 if ac_fn_c_try_compile "$LINENO"; then :
4566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4571 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4572 if test $ac_compiler_gnu = yes; then
4577 ac_test_CFLAGS=${CFLAGS+set}
4578 ac_save_CFLAGS=$CFLAGS
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4580 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4581 if ${ac_cv_prog_cc_g+:} false; then :
4582 $as_echo_n "(cached) " >&6
4584 ac_save_c_werror_flag=$ac_c_werror_flag
4585 ac_c_werror_flag=yes
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4599 if ac_fn_c_try_compile "$LINENO"; then :
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_c_try_compile "$LINENO"; then :
4617 ac_c_werror_flag=$ac_save_c_werror_flag
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4630 if ac_fn_c_try_compile "$LINENO"; then :
4633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 ac_c_werror_flag=$ac_save_c_werror_flag
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4641 $as_echo "$ac_cv_prog_cc_g" >&6; }
4642 if test "$ac_test_CFLAGS" = set; then
4643 CFLAGS=$ac_save_CFLAGS
4644 elif test $ac_cv_prog_cc_g = yes; then
4645 if test "$GCC" = yes; then
4651 if test "$GCC" = yes; then
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4658 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4659 if ${ac_cv_prog_cc_c89+:} false; then :
4660 $as_echo_n "(cached) " >&6
4662 ac_cv_prog_cc_c89=no
4664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4670 struct buf { int x; };
4671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4672 static char *e (p, i)
4678 static char *f (char * (*g) (char **, int), char **p, ...)
4683 s = g (p, va_arg (v,int));
4688 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4689 function prototypes and stuff, but not '\xHH' hex character constants.
4690 These don't provoke an error unfortunately, instead are silently treated
4691 as 'x'. The following induces an error, until -std is added to get
4692 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4693 array size at least. It's necessary to write '\x00'==0 to get something
4694 that's true only with -std. */
4695 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4697 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4698 inside strings and character constants. */
4700 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4702 int test (int i, double x);
4703 struct s1 {int (*f) (int a);};
4704 struct s2 {int (*f) (double a);};
4705 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4711 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4716 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4717 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4719 CC="$ac_save_CC $ac_arg"
4720 if ac_fn_c_try_compile "$LINENO"; then :
4721 ac_cv_prog_cc_c89=$ac_arg
4723 rm -f core conftest.err conftest.$ac_objext
4724 test "x$ac_cv_prog_cc_c89" != "xno" && break
4726 rm -f conftest.$ac_ext
4731 case "x$ac_cv_prog_cc_c89" in
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4734 $as_echo "none needed" >&6; } ;;
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4737 $as_echo "unsupported" >&6; } ;;
4739 CC="$CC $ac_cv_prog_cc_c89"
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4741 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4743 if test "x$ac_cv_prog_cc_c89" != xno; then :
4748 ac_cpp='$CPP $CPPFLAGS'
4749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 ac_cpp='$CPP $CPPFLAGS'
4755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4759 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4760 if ${am_cv_prog_cc_c_o+:} false; then :
4761 $as_echo_n "(cached) " >&6
4763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h. */
4774 # Make sure it works both with $CC and with simple cc.
4775 # Following AC_PROG_CC_C_O, we do the test twice because some
4776 # compilers refuse to overwrite an existing .o file with -o,
4777 # though they will create one.
4778 am_cv_prog_cc_c_o=yes
4780 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4781 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } \
4785 && test -f conftest2.$ac_objext; then
4788 am_cv_prog_cc_c_o=no
4792 rm -f core conftest*
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4796 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4797 if test "$am_cv_prog_cc_c_o" != yes; then
4798 # Losing compiler, so override with the script.
4799 # FIXME: It is wrong to rewrite CC.
4800 # But if we don't then we get into trouble of one sort or another.
4801 # A longer-term fix would be to have automake use am__CC in this case,
4802 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4803 CC="$am_aux_dir/compile $CC"
4806 ac_cpp='$CPP $CPPFLAGS'
4807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4812 depcc="$CC" am_compiler_list=
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4815 $as_echo_n "checking dependency style of $depcc... " >&6; }
4816 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4817 $as_echo_n "(cached) " >&6
4819 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4820 # We make a subdir and do the tests there. Otherwise we can end up
4821 # making bogus files that we don't know about and never remove. For
4822 # instance it was reported that on HP-UX the gcc test will end up
4823 # making a dummy file named 'D' -- because '-MD' means "put the output
4827 # Copy depcomp to subdir because otherwise we won't find it if we're
4828 # using a relative directory.
4829 cp "$am_depcomp" conftest.dir
4831 # We will build objects and dependencies in a subdirectory because
4832 # it helps to detect inapplicable dependency modes. For instance
4833 # both Tru64's cc and ICC support -MD to output dependencies as a
4834 # side effect of compilation, but ICC will put the dependencies in
4835 # the current directory while Tru64 will put them in the object
4839 am_cv_CC_dependencies_compiler_type=none
4840 if test "$am_compiler_list" = ""; then
4841 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4844 case " $depcc " in #(
4845 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4848 for depmode in $am_compiler_list; do
4849 # Setup a source with many dependencies, because some compilers
4850 # like to wrap large dependency lists on column 80 (with \), and
4851 # we should not choose a depcomp mode which is confused by this.
4853 # We need to recreate these files for each test, as the compiler may
4854 # overwrite some of them when testing with obscure command lines.
4855 # This happens at least with the AIX C compiler.
4857 for i in 1 2 3 4 5 6; do
4858 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4859 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4860 # Solaris 10 /bin/sh.
4861 echo '/* dummy */' > sub/conftst$i.h
4863 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4865 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4866 # mode. It turns out that the SunPro C++ compiler does not properly
4867 # handle '-M -o', and we need to detect this. Also, some Intel
4868 # versions had trouble with output in subdirs.
4869 am__obj=sub/conftest.${OBJEXT-o}
4870 am__minus_obj="-o $am__obj"
4873 # This depmode causes a compiler race in universal mode.
4874 test "$am__universal" = false || continue
4877 # After this tag, mechanisms are not by side-effect, so they'll
4878 # only be used when explicitly requested.
4879 if test "x$enable_dependency_tracking" = xyes; then
4885 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4886 # This compiler won't grok '-c -o', but also, the minuso test has
4887 # not run yet. These depmodes are late enough in the game, and
4888 # so weak that their functioning should not be impacted.
4889 am__obj=conftest.${OBJEXT-o}
4894 if depmode=$depmode \
4895 source=sub/conftest.c object=$am__obj \
4896 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4897 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4898 >/dev/null 2>conftest.err &&
4899 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4900 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4901 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4902 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4903 # icc doesn't choke on unknown options, it will just issue warnings
4904 # or remarks (even with -Werror). So we grep stderr for any message
4905 # that says an option was ignored or not supported.
4906 # When given -MP, icc 7.0 and 7.1 complain thusly:
4907 # icc: Command line warning: ignoring option '-M'; no argument required
4908 # The diagnosis changed in icc 8.0:
4909 # icc: Command line remark: option '-MP' not supported
4910 if (grep 'ignoring option' conftest.err ||
4911 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4912 am_cv_CC_dependencies_compiler_type=$depmode
4921 am_cv_CC_dependencies_compiler_type=none
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4926 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4927 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4930 test "x$enable_dependency_tracking" != xno \
4931 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4933 am__fastdepCC_FALSE='#'
4935 am__fastdepCC_TRUE='#'
4936 am__fastdepCC_FALSE=
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4941 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4942 if ${ac_cv_path_SED+:} false; then :
4943 $as_echo_n "(cached) " >&6
4945 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4946 for ac_i in 1 2 3 4 5 6 7; do
4947 ac_script="$ac_script$as_nl$ac_script"
4949 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4950 { ac_script=; unset ac_script;}
4951 if test -z "$SED"; then
4952 ac_path_SED_found=false
4953 # Loop through the user's path and test for each of PROGNAME-LIST
4954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 test -z "$as_dir" && as_dir=.
4959 for ac_prog in sed gsed; do
4960 for ac_exec_ext in '' $ac_executable_extensions; do
4961 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4962 as_fn_executable_p "$ac_path_SED" || continue
4963 # Check for GNU ac_path_SED and select it if it is found.
4964 # Check for GNU $ac_path_SED
4965 case `"$ac_path_SED" --version 2>&1` in
4967 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4970 $as_echo_n 0123456789 >"conftest.in"
4973 cat "conftest.in" "conftest.in" >"conftest.tmp"
4974 mv "conftest.tmp" "conftest.in"
4975 cp "conftest.in" "conftest.nl"
4976 $as_echo '' >> "conftest.nl"
4977 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4979 as_fn_arith $ac_count + 1 && ac_count=$as_val
4980 if test $ac_count -gt ${ac_path_SED_max-0}; then
4981 # Best one so far, save it but keep looking for a better one
4982 ac_cv_path_SED="$ac_path_SED"
4983 ac_path_SED_max=$ac_count
4985 # 10*(2^10) chars as input seems more than enough
4986 test $ac_count -gt 10 && break
4988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4991 $ac_path_SED_found && break 3
4996 if test -z "$ac_cv_path_SED"; then
4997 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5005 $as_echo "$ac_cv_path_SED" >&6; }
5006 SED="$ac_cv_path_SED"
5009 test -z "$SED" && SED=sed
5010 Xsed="$SED -e 1s/^X//"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5023 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5024 if ${ac_cv_path_GREP+:} false; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -z "$GREP"; then
5028 ac_path_GREP_found=false
5029 # Loop through the user's path and test for each of PROGNAME-LIST
5030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5031 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5034 test -z "$as_dir" && as_dir=.
5035 for ac_prog in grep ggrep; do
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5038 as_fn_executable_p "$ac_path_GREP" || continue
5039 # Check for GNU ac_path_GREP and select it if it is found.
5040 # Check for GNU $ac_path_GREP
5041 case `"$ac_path_GREP" --version 2>&1` in
5043 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5046 $as_echo_n 0123456789 >"conftest.in"
5049 cat "conftest.in" "conftest.in" >"conftest.tmp"
5050 mv "conftest.tmp" "conftest.in"
5051 cp "conftest.in" "conftest.nl"
5052 $as_echo 'GREP' >> "conftest.nl"
5053 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5054 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5055 as_fn_arith $ac_count + 1 && ac_count=$as_val
5056 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5057 # Best one so far, save it but keep looking for a better one
5058 ac_cv_path_GREP="$ac_path_GREP"
5059 ac_path_GREP_max=$ac_count
5061 # 10*(2^10) chars as input seems more than enough
5062 test $ac_count -gt 10 && break
5064 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5067 $ac_path_GREP_found && break 3
5072 if test -z "$ac_cv_path_GREP"; then
5073 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5076 ac_cv_path_GREP=$GREP
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5081 $as_echo "$ac_cv_path_GREP" >&6; }
5082 GREP="$ac_cv_path_GREP"
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5086 $as_echo_n "checking for egrep... " >&6; }
5087 if ${ac_cv_path_EGREP+:} false; then :
5088 $as_echo_n "(cached) " >&6
5090 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5091 then ac_cv_path_EGREP="$GREP -E"
5093 if test -z "$EGREP"; then
5094 ac_path_EGREP_found=false
5095 # Loop through the user's path and test for each of PROGNAME-LIST
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5100 test -z "$as_dir" && as_dir=.
5101 for ac_prog in egrep; do
5102 for ac_exec_ext in '' $ac_executable_extensions; do
5103 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5104 as_fn_executable_p "$ac_path_EGREP" || continue
5105 # Check for GNU ac_path_EGREP and select it if it is found.
5106 # Check for GNU $ac_path_EGREP
5107 case `"$ac_path_EGREP" --version 2>&1` in
5109 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5112 $as_echo_n 0123456789 >"conftest.in"
5115 cat "conftest.in" "conftest.in" >"conftest.tmp"
5116 mv "conftest.tmp" "conftest.in"
5117 cp "conftest.in" "conftest.nl"
5118 $as_echo 'EGREP' >> "conftest.nl"
5119 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5120 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5121 as_fn_arith $ac_count + 1 && ac_count=$as_val
5122 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5123 # Best one so far, save it but keep looking for a better one
5124 ac_cv_path_EGREP="$ac_path_EGREP"
5125 ac_path_EGREP_max=$ac_count
5127 # 10*(2^10) chars as input seems more than enough
5128 test $ac_count -gt 10 && break
5130 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5133 $ac_path_EGREP_found && break 3
5138 if test -z "$ac_cv_path_EGREP"; then
5139 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5142 ac_cv_path_EGREP=$EGREP
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5148 $as_echo "$ac_cv_path_EGREP" >&6; }
5149 EGREP="$ac_cv_path_EGREP"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5153 $as_echo_n "checking for fgrep... " >&6; }
5154 if ${ac_cv_path_FGREP+:} false; then :
5155 $as_echo_n "(cached) " >&6
5157 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5158 then ac_cv_path_FGREP="$GREP -F"
5160 if test -z "$FGREP"; then
5161 ac_path_FGREP_found=false
5162 # Loop through the user's path and test for each of PROGNAME-LIST
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5167 test -z "$as_dir" && as_dir=.
5168 for ac_prog in fgrep; do
5169 for ac_exec_ext in '' $ac_executable_extensions; do
5170 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5171 as_fn_executable_p "$ac_path_FGREP" || continue
5172 # Check for GNU ac_path_FGREP and select it if it is found.
5173 # Check for GNU $ac_path_FGREP
5174 case `"$ac_path_FGREP" --version 2>&1` in
5176 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5179 $as_echo_n 0123456789 >"conftest.in"
5182 cat "conftest.in" "conftest.in" >"conftest.tmp"
5183 mv "conftest.tmp" "conftest.in"
5184 cp "conftest.in" "conftest.nl"
5185 $as_echo 'FGREP' >> "conftest.nl"
5186 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5187 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5188 as_fn_arith $ac_count + 1 && ac_count=$as_val
5189 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5190 # Best one so far, save it but keep looking for a better one
5191 ac_cv_path_FGREP="$ac_path_FGREP"
5192 ac_path_FGREP_max=$ac_count
5194 # 10*(2^10) chars as input seems more than enough
5195 test $ac_count -gt 10 && break
5197 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5200 $ac_path_FGREP_found && break 3
5205 if test -z "$ac_cv_path_FGREP"; then
5206 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5209 ac_cv_path_FGREP=$FGREP
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5215 $as_echo "$ac_cv_path_FGREP" >&6; }
5216 FGREP="$ac_cv_path_FGREP"
5219 test -z "$GREP" && GREP=grep
5239 # Check whether --with-gnu-ld was given.
5240 if test "${with_gnu_ld+set}" = set; then :
5241 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5247 if test "$GCC" = yes; then
5248 # Check if gcc -print-prog-name=ld gives a path.
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5250 $as_echo_n "checking for ld used by $CC... " >&6; }
5253 # gcc leaves a trailing carriage return which upsets mingw
5254 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5256 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5259 # Accept absolute paths.
5261 re_direlt='/[^/][^/]*/\.\./'
5262 # Canonicalize the pathname of ld
5263 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5264 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5265 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5267 test -z "$LD" && LD="$ac_prog"
5270 # If it fails, then pretend we aren't using GCC.
5274 # If it is relative, then search for the first ld in PATH.
5278 elif test "$with_gnu_ld" = yes; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5280 $as_echo_n "checking for GNU ld... " >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5283 $as_echo_n "checking for non-GNU ld... " >&6; }
5285 if ${lt_cv_path_LD+:} false; then :
5286 $as_echo_n "(cached) " >&6
5288 if test -z "$LD"; then
5289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5290 for ac_dir in $PATH; do
5292 test -z "$ac_dir" && ac_dir=.
5293 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5294 lt_cv_path_LD="$ac_dir/$ac_prog"
5295 # Check to see if the program is GNU ld. I'd rather use --version,
5296 # but apparently some variants of GNU ld only accept -v.
5297 # Break only if it was the GNU/non-GNU ld that we prefer.
5298 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5299 *GNU* | *'with BFD'*)
5300 test "$with_gnu_ld" != no && break
5303 test "$with_gnu_ld" != yes && break
5310 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5315 if test -n "$LD"; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5317 $as_echo "$LD" >&6; }
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5320 $as_echo "no" >&6; }
5322 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5324 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5325 if ${lt_cv_prog_gnu_ld+:} false; then :
5326 $as_echo_n "(cached) " >&6
5328 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5329 case `$LD -v 2>&1 </dev/null` in
5330 *GNU* | *'with BFD'*)
5331 lt_cv_prog_gnu_ld=yes
5334 lt_cv_prog_gnu_ld=no
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5339 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5340 with_gnu_ld=$lt_cv_prog_gnu_ld
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5351 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5352 if ${lt_cv_path_NM+:} false; then :
5353 $as_echo_n "(cached) " >&6
5355 if test -n "$NM"; then
5356 # Let the user override the test.
5359 lt_nm_to_check="${ac_tool_prefix}nm"
5360 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5361 lt_nm_to_check="$lt_nm_to_check nm"
5363 for lt_tmp_nm in $lt_nm_to_check; do
5364 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5365 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5367 test -z "$ac_dir" && ac_dir=.
5368 tmp_nm="$ac_dir/$lt_tmp_nm"
5369 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5370 # Check to see if the nm accepts a BSD-compat flag.
5371 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5372 # nm: unknown option "B" ignored
5373 # Tru64's nm complains that /dev/null is an invalid object file
5374 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5375 */dev/null* | *'Invalid file or object type'*)
5376 lt_cv_path_NM="$tmp_nm -B"
5380 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5382 lt_cv_path_NM="$tmp_nm -p"
5386 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5387 continue # so that we can try to find one that supports BSD flags
5396 : ${lt_cv_path_NM=no}
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5400 $as_echo "$lt_cv_path_NM" >&6; }
5401 if test "$lt_cv_path_NM" != "no"; then
5404 # Didn't find any BSD compatible name lister, look for dumpbin.
5405 if test -n "$DUMPBIN"; then :
5406 # Let the user override the test.
5408 if test -n "$ac_tool_prefix"; then
5409 for ac_prog in dumpbin "link -dump"
5411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5412 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_DUMPBIN+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -n "$DUMPBIN"; then
5419 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 DUMPBIN=$ac_cv_prog_DUMPBIN
5439 if test -n "$DUMPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5441 $as_echo "$DUMPBIN" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5448 test -n "$DUMPBIN" && break
5451 if test -z "$DUMPBIN"; then
5452 ac_ct_DUMPBIN=$DUMPBIN
5453 for ac_prog in dumpbin "link -dump"
5455 # Extract the first word of "$ac_prog", so it can be a program name with args.
5456 set dummy $ac_prog; ac_word=$2
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5458 $as_echo_n "checking for $ac_word... " >&6; }
5459 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5460 $as_echo_n "(cached) " >&6
5462 if test -n "$ac_ct_DUMPBIN"; then
5463 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5469 test -z "$as_dir" && as_dir=.
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5472 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5483 if test -n "$ac_ct_DUMPBIN"; then
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5485 $as_echo "$ac_ct_DUMPBIN" >&6; }
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5488 $as_echo "no" >&6; }
5492 test -n "$ac_ct_DUMPBIN" && break
5495 if test "x$ac_ct_DUMPBIN" = x; then
5498 case $cross_compiling:$ac_tool_warned in
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5502 ac_tool_warned=yes ;;
5504 DUMPBIN=$ac_ct_DUMPBIN
5508 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5510 DUMPBIN="$DUMPBIN -symbols"
5518 if test "$DUMPBIN" != ":"; then
5522 test -z "$NM" && NM=nm
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5530 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5531 if ${lt_cv_nm_interface+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 lt_cv_nm_interface="BSD nm"
5535 echo "int some_variable = 0;" > conftest.$ac_ext
5536 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5537 (eval "$ac_compile" 2>conftest.err)
5538 cat conftest.err >&5
5539 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5540 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5541 cat conftest.err >&5
5542 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5543 cat conftest.out >&5
5544 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5545 lt_cv_nm_interface="MS dumpbin"
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5550 $as_echo "$lt_cv_nm_interface" >&6; }
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5553 $as_echo_n "checking whether ln -s works... " >&6; }
5555 if test "$LN_S" = "ln -s"; then
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5557 $as_echo "yes" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5560 $as_echo "no, using $LN_S" >&6; }
5563 # find the maximum length of command line arguments
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5565 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5566 if ${lt_cv_sys_max_cmd_len+:} false; then :
5567 $as_echo_n "(cached) " >&6
5574 # On DJGPP, this test can blow up pretty badly due to problems in libc
5575 # (any single argument exceeding 2000 bytes causes a buffer overrun
5576 # during glob expansion). Even if it were fixed, the result of this
5577 # check would be larger than it should be.
5578 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5582 # Under GNU Hurd, this test is not required because there is
5583 # no limit to the length of command line arguments.
5584 # Libtool will interpret -1 as no limit whatsoever
5585 lt_cv_sys_max_cmd_len=-1;
5588 cygwin* | mingw* | cegcc*)
5589 # On Win9x/ME, this test blows up -- it succeeds, but takes
5590 # about 5 minutes as the teststring grows exponentially.
5591 # Worse, since 9x/ME are not pre-emptively multitasking,
5592 # you end up with a "frozen" computer, even though with patience
5593 # the test eventually succeeds (with a max line length of 256k).
5594 # Instead, let's just punt: use the minimum linelength reported by
5595 # all of the supported platforms: 8192 (on NT/2K/XP).
5596 lt_cv_sys_max_cmd_len=8192;
5600 # On MiNT this can take a long time and run out of memory.
5601 lt_cv_sys_max_cmd_len=8192;
5605 # On AmigaOS with pdksh, this test takes hours, literally.
5606 # So we just punt and use a minimum line length of 8192.
5607 lt_cv_sys_max_cmd_len=8192;
5610 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5611 # This has been around since 386BSD, at least. Likely further.
5612 if test -x /sbin/sysctl; then
5613 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5614 elif test -x /usr/sbin/sysctl; then
5615 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5617 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5619 # And add a safety zone
5620 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5621 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5625 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5626 lt_cv_sys_max_cmd_len=196608
5630 # The test takes a long time on OS/2.
5631 lt_cv_sys_max_cmd_len=8192
5635 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5636 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5637 # nice to cause kernel panics so lets avoid the loop below.
5638 # First set a reasonable default.
5639 lt_cv_sys_max_cmd_len=16384
5641 if test -x /sbin/sysconfig; then
5642 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5643 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5648 lt_cv_sys_max_cmd_len=102400
5650 sysv5* | sco5v6* | sysv4.2uw2*)
5651 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5652 if test -n "$kargmax"; then
5653 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5655 lt_cv_sys_max_cmd_len=32768
5659 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5660 if test -n "$lt_cv_sys_max_cmd_len" && \
5661 test undefined != "$lt_cv_sys_max_cmd_len"; then
5662 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5663 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5665 # Make teststring a little bigger before we do anything with it.
5666 # a 1K string should be a reasonable start.
5667 for i in 1 2 3 4 5 6 7 8 ; do
5668 teststring=$teststring$teststring
5670 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5671 # If test is not a shell built-in, we'll probably end up computing a
5672 # maximum length that is only half of the actual maximum length, but
5674 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5675 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5676 test $i != 17 # 1/2 MB should be enough
5679 teststring=$teststring$teststring
5681 # Only check the string length outside the loop.
5682 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5684 # Add a significant safety factor because C++ compilers can tack on
5685 # massive amounts of additional arguments before passing them to the
5686 # linker. It appears as though 1/2 is a usable value.
5687 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5694 if test -n $lt_cv_sys_max_cmd_len ; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5696 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5699 $as_echo "none" >&6; }
5701 max_cmd_len=$lt_cv_sys_max_cmd_len
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5713 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5714 # Try some XSI features
5717 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5719 && eval 'test $(( 1 + 1 )) -eq 2 \
5720 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5723 $as_echo "$xsi_shell" >&6; }
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5727 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5729 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5731 && lt_shell_append=yes
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5733 $as_echo "$lt_shell_append" >&6; }
5736 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5746 # test EBCDIC or ASCII
5747 case `echo X|tr X '\101'` in
5748 A) # ASCII based system
5749 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5750 lt_SP2NL='tr \040 \012'
5751 lt_NL2SP='tr \015\012 \040\040'
5753 *) # EBCDIC based system
5754 lt_SP2NL='tr \100 \n'
5755 lt_NL2SP='tr \r\n \100\100'
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5768 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5769 if ${lt_cv_to_host_file_cmd+:} false; then :
5770 $as_echo_n "(cached) " >&6
5775 *-*-mingw* ) # actually msys
5776 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5779 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5781 * ) # otherwise, assume *nix
5782 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5788 *-*-mingw* ) # actually msys
5789 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5792 lt_cv_to_host_file_cmd=func_convert_file_noop
5794 * ) # otherwise, assume *nix
5795 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5799 * ) # unhandled hosts (and "normal" native builds)
5800 lt_cv_to_host_file_cmd=func_convert_file_noop
5806 to_host_file_cmd=$lt_cv_to_host_file_cmd
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5808 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5815 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5816 if ${lt_cv_to_tool_file_cmd+:} false; then :
5817 $as_echo_n "(cached) " >&6
5819 #assume ordinary cross tools, or native build.
5820 lt_cv_to_tool_file_cmd=func_convert_file_noop
5824 *-*-mingw* ) # actually msys
5825 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5833 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5835 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5842 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5843 if ${lt_cv_ld_reload_flag+:} false; then :
5844 $as_echo_n "(cached) " >&6
5846 lt_cv_ld_reload_flag='-r'
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5849 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5850 reload_flag=$lt_cv_ld_reload_flag
5851 case $reload_flag in
5853 *) reload_flag=" $reload_flag" ;;
5855 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5857 cygwin* | mingw* | pw32* | cegcc*)
5858 if test "$GCC" != yes; then
5863 if test "$GCC" = yes; then
5864 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5866 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5879 if test -n "$ac_tool_prefix"; then
5880 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5881 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883 $as_echo_n "checking for $ac_word... " >&6; }
5884 if ${ac_cv_prog_OBJDUMP+:} false; then :
5885 $as_echo_n "(cached) " >&6
5887 if test -n "$OBJDUMP"; then
5888 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 test -z "$as_dir" && as_dir=.
5895 for ac_exec_ext in '' $ac_executable_extensions; do
5896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5897 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 OBJDUMP=$ac_cv_prog_OBJDUMP
5908 if test -n "$OBJDUMP"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5910 $as_echo "$OBJDUMP" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5918 if test -z "$ac_cv_prog_OBJDUMP"; then
5919 ac_ct_OBJDUMP=$OBJDUMP
5920 # Extract the first word of "objdump", so it can be a program name with args.
5921 set dummy objdump; ac_word=$2
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923 $as_echo_n "checking for $ac_word... " >&6; }
5924 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5925 $as_echo_n "(cached) " >&6
5927 if test -n "$ac_ct_OBJDUMP"; then
5928 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934 test -z "$as_dir" && as_dir=.
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5937 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5947 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5948 if test -n "$ac_ct_OBJDUMP"; then
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5950 $as_echo "$ac_ct_OBJDUMP" >&6; }
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953 $as_echo "no" >&6; }
5956 if test "x$ac_ct_OBJDUMP" = x; then
5959 case $cross_compiling:$ac_tool_warned in
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963 ac_tool_warned=yes ;;
5965 OBJDUMP=$ac_ct_OBJDUMP
5968 OBJDUMP="$ac_cv_prog_OBJDUMP"
5971 test -z "$OBJDUMP" && OBJDUMP=objdump
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5979 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5980 if ${lt_cv_deplibs_check_method+:} false; then :
5981 $as_echo_n "(cached) " >&6
5983 lt_cv_file_magic_cmd='$MAGIC_CMD'
5984 lt_cv_file_magic_test_file=
5985 lt_cv_deplibs_check_method='unknown'
5986 # Need to set the preceding variable on all platforms that support
5987 # interlibrary dependencies.
5988 # 'none' -- dependencies not supported.
5989 # `unknown' -- same as none, but documents that we really don't know.
5990 # 'pass_all' -- all dependencies passed with no checks.
5991 # 'test_compile' -- check by making test program.
5992 # 'file_magic [[regex]]' -- check by looking for files in library path
5993 # which responds to the $file_magic_cmd with a given extended regex.
5994 # If you have `file' or equivalent on your system and you're not sure
5995 # whether `pass_all' will *always* work, you probably want this one.
5999 lt_cv_deplibs_check_method=pass_all
6003 lt_cv_deplibs_check_method=pass_all
6007 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6008 lt_cv_file_magic_cmd='/usr/bin/file -L'
6009 lt_cv_file_magic_test_file=/shlib/libc.so
6013 # func_win32_libid is a shell function defined in ltmain.sh
6014 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6015 lt_cv_file_magic_cmd='func_win32_libid'
6019 # Base MSYS/MinGW do not provide the 'file' command needed by
6020 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6021 # unless we find 'file', for example because we are cross-compiling.
6022 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6023 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6024 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6025 lt_cv_file_magic_cmd='func_win32_libid'
6027 # Keep this pattern in sync with the one in func_win32_libid.
6028 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6029 lt_cv_file_magic_cmd='$OBJDUMP -f'
6034 # use the weaker test based on 'objdump'. See mingw*.
6035 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6036 lt_cv_file_magic_cmd='$OBJDUMP -f'
6039 darwin* | rhapsody*)
6040 lt_cv_deplibs_check_method=pass_all
6043 freebsd* | dragonfly*)
6044 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6047 # Not sure whether the presence of OpenBSD here was a mistake.
6048 # Let's accept both of them until this is cleared up.
6049 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6050 lt_cv_file_magic_cmd=/usr/bin/file
6051 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6055 lt_cv_deplibs_check_method=pass_all
6060 lt_cv_deplibs_check_method=pass_all
6063 hpux10.20* | hpux11*)
6064 lt_cv_file_magic_cmd=/usr/bin/file
6067 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6068 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6071 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]'
6072 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6075 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6076 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6082 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6083 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6086 irix5* | irix6* | nonstopux*)
6088 *-32|*"-32 ") libmagic=32-bit;;
6089 *-n32|*"-n32 ") libmagic=N32;;
6090 *-64|*"-64 ") libmagic=64-bit;;
6091 *) libmagic=never-match;;
6093 lt_cv_deplibs_check_method=pass_all
6096 # This must be glibc/ELF.
6097 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6098 lt_cv_deplibs_check_method=pass_all
6101 netbsd* | netbsdelf*-gnu)
6102 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6103 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6105 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6110 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6111 lt_cv_file_magic_cmd=/usr/bin/file
6112 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6116 lt_cv_deplibs_check_method=pass_all
6120 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6121 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6123 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6127 osf3* | osf4* | osf5*)
6128 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method=pass_all
6136 lt_cv_deplibs_check_method=pass_all
6139 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6140 lt_cv_deplibs_check_method=pass_all
6144 case $host_vendor in
6146 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]'
6147 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6150 lt_cv_deplibs_check_method=pass_all
6153 lt_cv_file_magic_cmd='/bin/file'
6154 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6157 lt_cv_file_magic_cmd='/bin/file'
6158 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6159 lt_cv_file_magic_test_file=/lib/libc.so
6162 lt_cv_deplibs_check_method=pass_all
6165 lt_cv_deplibs_check_method=pass_all
6171 lt_cv_deplibs_check_method=pass_all
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6177 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6181 if test "$build" = "$host"; then
6184 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6187 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6193 file_magic_cmd=$lt_cv_file_magic_cmd
6194 deplibs_check_method=$lt_cv_deplibs_check_method
6195 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6218 if test -n "$ac_tool_prefix"; then
6219 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6220 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_prog_DLLTOOL+:} false; then :
6224 $as_echo_n "(cached) " >&6
6226 if test -n "$DLLTOOL"; then
6227 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 test -z "$as_dir" && as_dir=.
6234 for ac_exec_ext in '' $ac_executable_extensions; do
6235 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6236 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 DLLTOOL=$ac_cv_prog_DLLTOOL
6247 if test -n "$DLLTOOL"; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6249 $as_echo "$DLLTOOL" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6252 $as_echo "no" >&6; }
6257 if test -z "$ac_cv_prog_DLLTOOL"; then
6258 ac_ct_DLLTOOL=$DLLTOOL
6259 # Extract the first word of "dlltool", so it can be a program name with args.
6260 set dummy dlltool; ac_word=$2
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6262 $as_echo_n "checking for $ac_word... " >&6; }
6263 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6264 $as_echo_n "(cached) " >&6
6266 if test -n "$ac_ct_DLLTOOL"; then
6267 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6273 test -z "$as_dir" && as_dir=.
6274 for ac_exec_ext in '' $ac_executable_extensions; do
6275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6276 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6286 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6287 if test -n "$ac_ct_DLLTOOL"; then
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6289 $as_echo "$ac_ct_DLLTOOL" >&6; }
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6292 $as_echo "no" >&6; }
6295 if test "x$ac_ct_DLLTOOL" = x; then
6298 case $cross_compiling:$ac_tool_warned in
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6301 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6302 ac_tool_warned=yes ;;
6304 DLLTOOL=$ac_ct_DLLTOOL
6307 DLLTOOL="$ac_cv_prog_DLLTOOL"
6310 test -z "$DLLTOOL" && DLLTOOL=dlltool
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6319 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6320 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6321 $as_echo_n "(cached) " >&6
6323 lt_cv_sharedlib_from_linklib_cmd='unknown'
6326 cygwin* | mingw* | pw32* | cegcc*)
6327 # two different shell functions defined in ltmain.sh
6328 # decide which to use based on capabilities of $DLLTOOL
6329 case `$DLLTOOL --help 2>&1` in
6330 *--identify-strict*)
6331 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6334 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6339 # fallback: assume linklib IS sharedlib
6340 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6346 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6347 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6348 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6357 if test -n "$ac_tool_prefix"; then
6360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6361 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6363 $as_echo_n "checking for $ac_word... " >&6; }
6364 if ${ac_cv_prog_AR+:} false; then :
6365 $as_echo_n "(cached) " >&6
6367 if test -n "$AR"; then
6368 ac_cv_prog_AR="$AR" # Let the user override the test.
6370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6374 test -z "$as_dir" && as_dir=.
6375 for ac_exec_ext in '' $ac_executable_extensions; do
6376 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6377 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6388 if test -n "$AR"; then
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6390 $as_echo "$AR" >&6; }
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6393 $as_echo "no" >&6; }
6397 test -n "$AR" && break
6400 if test -z "$AR"; then
6404 # Extract the first word of "$ac_prog", so it can be a program name with args.
6405 set dummy $ac_prog; ac_word=$2
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407 $as_echo_n "checking for $ac_word... " >&6; }
6408 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6409 $as_echo_n "(cached) " >&6
6411 if test -n "$ac_ct_AR"; then
6412 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418 test -z "$as_dir" && as_dir=.
6419 for ac_exec_ext in '' $ac_executable_extensions; do
6420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6421 ac_cv_prog_ac_ct_AR="$ac_prog"
6422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6432 if test -n "$ac_ct_AR"; then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6434 $as_echo "$ac_ct_AR" >&6; }
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6441 test -n "$ac_ct_AR" && break
6444 if test "x$ac_ct_AR" = x; then
6447 case $cross_compiling:$ac_tool_warned in
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6451 ac_tool_warned=yes ;;
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6471 $as_echo_n "checking for archiver @FILE support... " >&6; }
6472 if ${lt_cv_ar_at_file+:} false; then :
6473 $as_echo_n "(cached) " >&6
6476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6477 /* end confdefs.h. */
6487 if ac_fn_c_try_compile "$LINENO"; then :
6488 echo conftest.$ac_objext > conftest.lst
6489 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6490 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6491 (eval $lt_ar_try) 2>&5
6493 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494 test $ac_status = 0; }
6495 if test "$ac_status" -eq 0; then
6496 # Ensure the archiver fails upon bogus file names.
6497 rm -f conftest.$ac_objext libconftest.a
6498 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6499 (eval $lt_ar_try) 2>&5
6501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6502 test $ac_status = 0; }
6503 if test "$ac_status" -ne 0; then
6507 rm -f conftest.* libconftest.a
6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6514 $as_echo "$lt_cv_ar_at_file" >&6; }
6516 if test "x$lt_cv_ar_at_file" = xno; then
6519 archiver_list_spec=$lt_cv_ar_at_file
6528 if test -n "$ac_tool_prefix"; then
6529 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6530 set dummy ${ac_tool_prefix}strip; ac_word=$2
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6532 $as_echo_n "checking for $ac_word... " >&6; }
6533 if ${ac_cv_prog_STRIP+:} false; then :
6534 $as_echo_n "(cached) " >&6
6536 if test -n "$STRIP"; then
6537 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6543 test -z "$as_dir" && as_dir=.
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 STRIP=$ac_cv_prog_STRIP
6557 if test -n "$STRIP"; then
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6559 $as_echo "$STRIP" >&6; }
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 $as_echo "no" >&6; }
6567 if test -z "$ac_cv_prog_STRIP"; then
6569 # Extract the first word of "strip", so it can be a program name with args.
6570 set dummy strip; ac_word=$2
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 $as_echo_n "checking for $ac_word... " >&6; }
6573 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6574 $as_echo_n "(cached) " >&6
6576 if test -n "$ac_ct_STRIP"; then
6577 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6583 test -z "$as_dir" && as_dir=.
6584 for ac_exec_ext in '' $ac_executable_extensions; do
6585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6586 ac_cv_prog_ac_ct_STRIP="strip"
6587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6597 if test -n "$ac_ct_STRIP"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6599 $as_echo "$ac_ct_STRIP" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6602 $as_echo "no" >&6; }
6605 if test "x$ac_ct_STRIP" = x; then
6608 case $cross_compiling:$ac_tool_warned in
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6612 ac_tool_warned=yes ;;
6617 STRIP="$ac_cv_prog_STRIP"
6620 test -z "$STRIP" && STRIP=:
6627 if test -n "$ac_tool_prefix"; then
6628 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6629 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6631 $as_echo_n "checking for $ac_word... " >&6; }
6632 if ${ac_cv_prog_RANLIB+:} false; then :
6633 $as_echo_n "(cached) " >&6
6635 if test -n "$RANLIB"; then
6636 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6642 test -z "$as_dir" && as_dir=.
6643 for ac_exec_ext in '' $ac_executable_extensions; do
6644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6645 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 RANLIB=$ac_cv_prog_RANLIB
6656 if test -n "$RANLIB"; then
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6658 $as_echo "$RANLIB" >&6; }
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6661 $as_echo "no" >&6; }
6666 if test -z "$ac_cv_prog_RANLIB"; then
6667 ac_ct_RANLIB=$RANLIB
6668 # Extract the first word of "ranlib", so it can be a program name with args.
6669 set dummy ranlib; ac_word=$2
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671 $as_echo_n "checking for $ac_word... " >&6; }
6672 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6673 $as_echo_n "(cached) " >&6
6675 if test -n "$ac_ct_RANLIB"; then
6676 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682 test -z "$as_dir" && as_dir=.
6683 for ac_exec_ext in '' $ac_executable_extensions; do
6684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6685 ac_cv_prog_ac_ct_RANLIB="ranlib"
6686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6696 if test -n "$ac_ct_RANLIB"; then
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6698 $as_echo "$ac_ct_RANLIB" >&6; }
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701 $as_echo "no" >&6; }
6704 if test "x$ac_ct_RANLIB" = x; then
6707 case $cross_compiling:$ac_tool_warned in
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6710 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6711 ac_tool_warned=yes ;;
6713 RANLIB=$ac_ct_RANLIB
6716 RANLIB="$ac_cv_prog_RANLIB"
6719 test -z "$RANLIB" && RANLIB=:
6726 # Determine commands to create old-style static archives.
6727 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6728 old_postinstall_cmds='chmod 644 $oldlib'
6729 old_postuninstall_cmds=
6731 if test -n "$RANLIB"; then
6734 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6737 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6740 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6745 lock_old_archive_extraction=yes ;;
6747 lock_old_archive_extraction=no ;;
6788 # If no C compiler was specified, use CC.
6791 # If no C compiler flags were specified, use CFLAGS.
6792 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794 # Allow CC to be a program name with arguments.
6798 # Check for command to grab the raw symbol name followed by C symbol from nm.
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6800 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6801 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6802 $as_echo_n "(cached) " >&6
6805 # These are sane defaults that work on at least a few old systems.
6806 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808 # Character class describing NM global symbol codes.
6809 symcode='[BCDEGRST]'
6811 # Regexp to match symbols that can be accessed directly from C.
6812 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814 # Define system-specific variables.
6819 cygwin* | mingw* | pw32* | cegcc*)
6820 symcode='[ABCDGISTW]'
6823 if test "$host_cpu" = ia64; then
6824 symcode='[ABCDEGRST]'
6828 symcode='[BCDEGRST]'
6831 symcode='[BCDEGQRST]'
6842 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6850 # If we're using GNU nm, then use its standard symbol codes.
6851 case `$NM -V 2>&1` in
6852 *GNU* | *'with BFD'*)
6853 symcode='[ABCDGIRSTW]' ;;
6856 # Transform an extracted symbol line into a proper C declaration.
6857 # Some systems (esp. on ia64) link data and code symbols differently,
6858 # so use this general approach.
6859 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861 # Transform an extracted symbol line into symbol name and symbol address
6862 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6863 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'"
6865 # Handle CRLF in mingw tool chain
6869 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6873 # Try without a prefix underscore, then with it.
6874 for ac_symprfx in "" "_"; do
6876 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6877 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879 # Write the raw and C identifiers.
6880 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6881 # Fake it for dumpbin and say T for any non-static function
6882 # and D for any global variable.
6883 # Also find C++ and __fastcall symbols from MSVC++,
6884 # which start with @ or ?.
6885 lt_cv_sys_global_symbol_pipe="$AWK '"\
6886 " {last_section=section; section=\$ 3};"\
6887 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6900 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6902 # Check to see that the pipe works correctly.
6906 cat > conftest.$ac_ext <<_LT_EOF
6911 void nm_test_func(void);
6912 void nm_test_func(void){}
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6920 (eval $ac_compile) 2>&5
6922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923 test $ac_status = 0; }; then
6924 # Now try to grab the symbols.
6926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6927 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6930 test $ac_status = 0; } && test -s "$nlist"; then
6931 # Try sorting and uniquifying the output.
6932 if sort "$nlist" | uniq > "$nlist"T; then
6933 mv -f "$nlist"T "$nlist"
6938 # Make sure that we snagged all the symbols we need.
6939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6941 cat <<_LT_EOF > conftest.$ac_ext
6942 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6943 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6944 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6945 relocations are performed -- see ld's documentation on pseudo-relocs. */
6946 # define LT_DLSYM_CONST
6947 #elif defined(__osf__)
6948 /* This system does not cope well with relocations in const data. */
6949 # define LT_DLSYM_CONST
6951 # define LT_DLSYM_CONST const
6959 # Now generate the symbol file.
6960 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6962 cat <<_LT_EOF >> conftest.$ac_ext
6964 /* The mapping between symbol names and symbols. */
6965 LT_DLSYM_CONST struct {
6969 lt__PROGRAM__LTX_preloaded_symbols[] =
6971 { "@PROGRAM@", (void *) 0 },
6973 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6974 cat <<\_LT_EOF >> conftest.$ac_ext
6978 /* This works around a problem in FreeBSD linker */
6979 #ifdef FREEBSD_WORKAROUND
6980 static const void *lt_preloaded_setup() {
6981 return lt__PROGRAM__LTX_preloaded_symbols;
6989 # Now try linking the two files.
6990 mv conftest.$ac_objext conftstm.$ac_objext
6991 lt_globsym_save_LIBS=$LIBS
6992 lt_globsym_save_CFLAGS=$CFLAGS
6993 LIBS="conftstm.$ac_objext"
6994 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6996 (eval $ac_link) 2>&5
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7002 LIBS=$lt_globsym_save_LIBS
7003 CFLAGS=$lt_globsym_save_CFLAGS
7005 echo "cannot find nm_test_func in $nlist" >&5
7008 echo "cannot find nm_test_var in $nlist" >&5
7011 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7014 echo "$progname: failed program was:" >&5
7015 cat conftest.$ac_ext >&5
7017 rm -rf conftest* conftst*
7019 # Do not use the global_symbol_pipe unless it works.
7020 if test "$pipe_works" = yes; then
7023 lt_cv_sys_global_symbol_pipe=
7029 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7030 lt_cv_sys_global_symbol_to_cdecl=
7032 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7034 $as_echo "failed" >&6; }
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7037 $as_echo "ok" >&6; }
7040 # Response file support.
7041 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7042 nm_file_list_spec='@'
7043 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7044 nm_file_list_spec='@'
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7074 $as_echo_n "checking for sysroot... " >&6; }
7076 # Check whether --with-sysroot was given.
7077 if test "${with_sysroot+set}" = set; then :
7078 withval=$with_sysroot;
7085 case ${with_sysroot} in #(
7087 if test "$GCC" = yes; then
7088 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7092 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7098 $as_echo "${with_sysroot}" >&6; }
7099 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7104 $as_echo "${lt_sysroot:-no}" >&6; }
7110 # Check whether --enable-libtool-lock was given.
7111 if test "${enable_libtool_lock+set}" = set; then :
7112 enableval=$enable_libtool_lock;
7115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7117 # Some flags need to be propagated to the compiler or linker for good
7121 # Find out which ABI we are using.
7122 echo 'int i;' > conftest.$ac_ext
7123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124 (eval $ac_compile) 2>&5
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; }; then
7128 case `/usr/bin/file conftest.$ac_objext` in
7140 # Find out which ABI we are using.
7141 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7143 (eval $ac_compile) 2>&5
7145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7146 test $ac_status = 0; }; then
7147 if test "$lt_cv_prog_gnu_ld" = yes; then
7148 case `/usr/bin/file conftest.$ac_objext` in
7150 LD="${LD-ld} -melf32bsmip"
7153 LD="${LD-ld} -melf32bmipn32"
7156 LD="${LD-ld} -melf64bmip"
7160 case `/usr/bin/file conftest.$ac_objext` in
7176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7178 # Find out which ABI we are using.
7179 echo 'int i;' > conftest.$ac_ext
7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181 (eval $ac_compile) 2>&5
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; }; then
7185 case `/usr/bin/file conftest.o` in
7188 x86_64-*kfreebsd*-gnu)
7189 LD="${LD-ld} -m elf_i386_fbsd"
7192 case `/usr/bin/file conftest.o` in
7194 LD="${LD-ld} -m elf32_x86_64"
7197 LD="${LD-ld} -m elf_i386"
7202 LD="${LD-ld} -m elf32lppclinux"
7205 LD="${LD-ld} -m elf32ppclinux"
7208 LD="${LD-ld} -m elf_s390"
7211 LD="${LD-ld} -m elf32_sparc"
7217 x86_64-*kfreebsd*-gnu)
7218 LD="${LD-ld} -m elf_x86_64_fbsd"
7221 LD="${LD-ld} -m elf_x86_64"
7224 LD="${LD-ld} -m elf64lppc"
7227 LD="${LD-ld} -m elf64ppc"
7229 s390*-*linux*|s390*-*tpf*)
7230 LD="${LD-ld} -m elf64_s390"
7233 LD="${LD-ld} -m elf64_sparc"
7243 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7244 SAVE_CFLAGS="$CFLAGS"
7245 CFLAGS="$CFLAGS -belf"
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7247 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7248 if ${lt_cv_cc_needs_belf+:} false; then :
7249 $as_echo_n "(cached) " >&6
7252 ac_cpp='$CPP $CPPFLAGS'
7253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7268 if ac_fn_c_try_link "$LINENO"; then :
7269 lt_cv_cc_needs_belf=yes
7271 lt_cv_cc_needs_belf=no
7273 rm -f core conftest.err conftest.$ac_objext \
7274 conftest$ac_exeext conftest.$ac_ext
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7283 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7284 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7285 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7286 CFLAGS="$SAVE_CFLAGS"
7290 # Find out which ABI we are using.
7291 echo 'int i;' > conftest.$ac_ext
7292 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7293 (eval $ac_compile) 2>&5
7295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7296 test $ac_status = 0; }; then
7297 case `/usr/bin/file conftest.o` in
7299 case $lt_cv_prog_gnu_ld in
7303 LD="${LD-ld} -m elf_x86_64"
7306 LD="${LD-ld} -m elf64_sparc"
7309 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7310 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7315 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7327 need_locks="$enable_libtool_lock"
7329 if test -n "$ac_tool_prefix"; then
7330 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7331 set dummy ${ac_tool_prefix}mt; ac_word=$2
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7333 $as_echo_n "checking for $ac_word... " >&6; }
7334 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7335 $as_echo_n "(cached) " >&6
7337 if test -n "$MANIFEST_TOOL"; then
7338 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 test -z "$as_dir" && as_dir=.
7345 for ac_exec_ext in '' $ac_executable_extensions; do
7346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7347 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7358 if test -n "$MANIFEST_TOOL"; then
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7360 $as_echo "$MANIFEST_TOOL" >&6; }
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7363 $as_echo "no" >&6; }
7368 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7369 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7370 # Extract the first word of "mt", so it can be a program name with args.
7371 set dummy mt; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373 $as_echo_n "checking for $ac_word... " >&6; }
7374 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7375 $as_echo_n "(cached) " >&6
7377 if test -n "$ac_ct_MANIFEST_TOOL"; then
7378 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7387 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7398 if test -n "$ac_ct_MANIFEST_TOOL"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7400 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7403 $as_echo "no" >&6; }
7406 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7409 case $cross_compiling:$ac_tool_warned in
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7413 ac_tool_warned=yes ;;
7415 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7418 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7421 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7423 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7424 if ${lt_cv_path_mainfest_tool+:} false; then :
7425 $as_echo_n "(cached) " >&6
7427 lt_cv_path_mainfest_tool=no
7428 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7429 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7430 cat conftest.err >&5
7431 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7432 lt_cv_path_mainfest_tool=yes
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7437 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7438 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7448 rhapsody* | darwin*)
7449 if test -n "$ac_tool_prefix"; then
7450 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7451 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 $as_echo_n "checking for $ac_word... " >&6; }
7454 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 if test -n "$DSYMUTIL"; then
7458 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 test -z "$as_dir" && as_dir=.
7465 for ac_exec_ext in '' $ac_executable_extensions; do
7466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7467 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7478 if test -n "$DSYMUTIL"; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7480 $as_echo "$DSYMUTIL" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7488 if test -z "$ac_cv_prog_DSYMUTIL"; then
7489 ac_ct_DSYMUTIL=$DSYMUTIL
7490 # Extract the first word of "dsymutil", so it can be a program name with args.
7491 set dummy dsymutil; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7495 $as_echo_n "(cached) " >&6
7497 if test -n "$ac_ct_DSYMUTIL"; then
7498 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7507 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7518 if test -n "$ac_ct_DSYMUTIL"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7520 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7526 if test "x$ac_ct_DSYMUTIL" = x; then
7529 case $cross_compiling:$ac_tool_warned in
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7533 ac_tool_warned=yes ;;
7535 DSYMUTIL=$ac_ct_DSYMUTIL
7538 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7541 if test -n "$ac_tool_prefix"; then
7542 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7543 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7545 $as_echo_n "checking for $ac_word... " >&6; }
7546 if ${ac_cv_prog_NMEDIT+:} false; then :
7547 $as_echo_n "(cached) " >&6
7549 if test -n "$NMEDIT"; then
7550 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7556 test -z "$as_dir" && as_dir=.
7557 for ac_exec_ext in '' $ac_executable_extensions; do
7558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7559 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7569 NMEDIT=$ac_cv_prog_NMEDIT
7570 if test -n "$NMEDIT"; then
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7572 $as_echo "$NMEDIT" >&6; }
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7575 $as_echo "no" >&6; }
7580 if test -z "$ac_cv_prog_NMEDIT"; then
7581 ac_ct_NMEDIT=$NMEDIT
7582 # Extract the first word of "nmedit", so it can be a program name with args.
7583 set dummy nmedit; ac_word=$2
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7585 $as_echo_n "checking for $ac_word... " >&6; }
7586 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7587 $as_echo_n "(cached) " >&6
7589 if test -n "$ac_ct_NMEDIT"; then
7590 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7599 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7609 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7610 if test -n "$ac_ct_NMEDIT"; then
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7612 $as_echo "$ac_ct_NMEDIT" >&6; }
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7615 $as_echo "no" >&6; }
7618 if test "x$ac_ct_NMEDIT" = x; then
7621 case $cross_compiling:$ac_tool_warned in
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7625 ac_tool_warned=yes ;;
7627 NMEDIT=$ac_ct_NMEDIT
7630 NMEDIT="$ac_cv_prog_NMEDIT"
7633 if test -n "$ac_tool_prefix"; then
7634 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7635 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637 $as_echo_n "checking for $ac_word... " >&6; }
7638 if ${ac_cv_prog_LIPO+:} false; then :
7639 $as_echo_n "(cached) " >&6
7641 if test -n "$LIPO"; then
7642 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7648 test -z "$as_dir" && as_dir=.
7649 for ac_exec_ext in '' $ac_executable_extensions; do
7650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7661 LIPO=$ac_cv_prog_LIPO
7662 if test -n "$LIPO"; then
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7664 $as_echo "$LIPO" >&6; }
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 $as_echo "no" >&6; }
7672 if test -z "$ac_cv_prog_LIPO"; then
7674 # Extract the first word of "lipo", so it can be a program name with args.
7675 set dummy lipo; ac_word=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7679 $as_echo_n "(cached) " >&6
7681 if test -n "$ac_ct_LIPO"; then
7682 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 test -z "$as_dir" && as_dir=.
7689 for ac_exec_ext in '' $ac_executable_extensions; do
7690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7691 ac_cv_prog_ac_ct_LIPO="lipo"
7692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7701 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7702 if test -n "$ac_ct_LIPO"; then
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7704 $as_echo "$ac_ct_LIPO" >&6; }
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7707 $as_echo "no" >&6; }
7710 if test "x$ac_ct_LIPO" = x; then
7713 case $cross_compiling:$ac_tool_warned in
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7717 ac_tool_warned=yes ;;
7722 LIPO="$ac_cv_prog_LIPO"
7725 if test -n "$ac_tool_prefix"; then
7726 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7727 set dummy ${ac_tool_prefix}otool; ac_word=$2
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7729 $as_echo_n "checking for $ac_word... " >&6; }
7730 if ${ac_cv_prog_OTOOL+:} false; then :
7731 $as_echo_n "(cached) " >&6
7733 if test -n "$OTOOL"; then
7734 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7740 test -z "$as_dir" && as_dir=.
7741 for ac_exec_ext in '' $ac_executable_extensions; do
7742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7743 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7753 OTOOL=$ac_cv_prog_OTOOL
7754 if test -n "$OTOOL"; then
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7756 $as_echo "$OTOOL" >&6; }
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7759 $as_echo "no" >&6; }
7764 if test -z "$ac_cv_prog_OTOOL"; then
7766 # Extract the first word of "otool", so it can be a program name with args.
7767 set dummy otool; ac_word=$2
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7769 $as_echo_n "checking for $ac_word... " >&6; }
7770 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7771 $as_echo_n "(cached) " >&6
7773 if test -n "$ac_ct_OTOOL"; then
7774 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7783 ac_cv_prog_ac_ct_OTOOL="otool"
7784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7793 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7794 if test -n "$ac_ct_OTOOL"; then
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7796 $as_echo "$ac_ct_OTOOL" >&6; }
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7799 $as_echo "no" >&6; }
7802 if test "x$ac_ct_OTOOL" = x; then
7805 case $cross_compiling:$ac_tool_warned in
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7809 ac_tool_warned=yes ;;
7814 OTOOL="$ac_cv_prog_OTOOL"
7817 if test -n "$ac_tool_prefix"; then
7818 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7819 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7821 $as_echo_n "checking for $ac_word... " >&6; }
7822 if ${ac_cv_prog_OTOOL64+:} false; then :
7823 $as_echo_n "(cached) " >&6
7825 if test -n "$OTOOL64"; then
7826 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7832 test -z "$as_dir" && as_dir=.
7833 for ac_exec_ext in '' $ac_executable_extensions; do
7834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7835 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845 OTOOL64=$ac_cv_prog_OTOOL64
7846 if test -n "$OTOOL64"; then
7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7848 $as_echo "$OTOOL64" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851 $as_echo "no" >&6; }
7856 if test -z "$ac_cv_prog_OTOOL64"; then
7857 ac_ct_OTOOL64=$OTOOL64
7858 # Extract the first word of "otool64", so it can be a program name with args.
7859 set dummy otool64; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7863 $as_echo_n "(cached) " >&6
7865 if test -n "$ac_ct_OTOOL64"; then
7866 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7875 ac_cv_prog_ac_ct_OTOOL64="otool64"
7876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7885 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7886 if test -n "$ac_ct_OTOOL64"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7888 $as_echo "$ac_ct_OTOOL64" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7894 if test "x$ac_ct_OTOOL64" = x; then
7897 case $cross_compiling:$ac_tool_warned in
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7901 ac_tool_warned=yes ;;
7903 OTOOL64=$ac_ct_OTOOL64
7906 OTOOL64="$ac_cv_prog_OTOOL64"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7936 $as_echo_n "checking for -single_module linker flag... " >&6; }
7937 if ${lt_cv_apple_cc_single_mod+:} false; then :
7938 $as_echo_n "(cached) " >&6
7940 lt_cv_apple_cc_single_mod=no
7941 if test -z "${LT_MULTI_MODULE}"; then
7942 # By default we will add the -single_module flag. You can override
7943 # by either setting the environment variable LT_MULTI_MODULE
7944 # non-empty at configure time, or by adding -multi_module to the
7946 rm -rf libconftest.dylib*
7947 echo "int foo(void){return 1;}" > conftest.c
7948 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7949 -dynamiclib -Wl,-single_module conftest.c" >&5
7950 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7951 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7953 # If there is a non-empty error log, and "single_module"
7954 # appears in it, assume the flag caused a linker warning
7955 if test -s conftest.err && $GREP single_module conftest.err; then
7956 cat conftest.err >&5
7957 # Otherwise, if the output was created with a 0 exit code from
7958 # the compiler, it worked.
7959 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7960 lt_cv_apple_cc_single_mod=yes
7962 cat conftest.err >&5
7964 rm -rf libconftest.dylib*
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7969 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7972 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7973 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7974 $as_echo_n "(cached) " >&6
7976 lt_cv_ld_exported_symbols_list=no
7977 save_LDFLAGS=$LDFLAGS
7978 echo "_main" > conftest.sym
7979 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7981 /* end confdefs.h. */
7991 if ac_fn_c_try_link "$LINENO"; then :
7992 lt_cv_ld_exported_symbols_list=yes
7994 lt_cv_ld_exported_symbols_list=no
7996 rm -f core conftest.err conftest.$ac_objext \
7997 conftest$ac_exeext conftest.$ac_ext
7998 LDFLAGS="$save_LDFLAGS"
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8002 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8005 $as_echo_n "checking for -force_load linker flag... " >&6; }
8006 if ${lt_cv_ld_force_load+:} false; then :
8007 $as_echo_n "(cached) " >&6
8009 lt_cv_ld_force_load=no
8010 cat > conftest.c << _LT_EOF
8011 int forced_loaded() { return 2;}
8013 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8014 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8015 echo "$AR cru libconftest.a conftest.o" >&5
8016 $AR cru libconftest.a conftest.o 2>&5
8017 echo "$RANLIB libconftest.a" >&5
8018 $RANLIB libconftest.a 2>&5
8019 cat > conftest.c << _LT_EOF
8020 int main() { return 0;}
8022 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8023 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8025 if test -s conftest.err && $GREP force_load conftest.err; then
8026 cat conftest.err >&5
8027 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8028 lt_cv_ld_force_load=yes
8030 cat conftest.err >&5
8032 rm -f conftest.err libconftest.a conftest conftest.c
8033 rm -rf conftest.dSYM
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8037 $as_echo "$lt_cv_ld_force_load" >&6; }
8039 rhapsody* | darwin1.[012])
8040 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8042 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8043 darwin*) # darwin 5.x on
8044 # if running on 10.5 or later, the deployment target defaults
8045 # to the OS version, if on x86, and 10.4, the deployment
8046 # target defaults to 10.4. Don't you love it?
8047 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8048 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8049 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8051 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8053 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8057 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8058 _lt_dar_single_mod='$single_module'
8060 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8061 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8063 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8065 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8066 _lt_dsymutil='~$DSYMUTIL $lib || :'
8074 ac_cpp='$CPP $CPPFLAGS'
8075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8080 # On Suns, sometimes $CPP names a directory.
8081 if test -n "$CPP" && test -d "$CPP"; then
8084 if test -z "$CPP"; then
8085 if ${ac_cv_prog_CPP+:} false; then :
8086 $as_echo_n "(cached) " >&6
8088 # Double quotes because CPP needs to be expanded
8089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8092 for ac_c_preproc_warn_flag in '' yes
8094 # Use a header file that comes with gcc, so configuring glibc
8095 # with a fresh cross-compiler works.
8096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8097 # <limits.h> exists even on freestanding compilers.
8098 # On the NeXT, cc -E runs the code through the compiler's parser,
8099 # not just through cpp. "Syntax error" is here to catch this case.
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8103 # include <limits.h>
8105 # include <assert.h>
8109 if ac_fn_c_try_cpp "$LINENO"; then :
8112 # Broken: fails on valid input.
8115 rm -f conftest.err conftest.i conftest.$ac_ext
8117 # OK, works on sane cases. Now check whether nonexistent headers
8118 # can be detected and how.
8119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8120 /* end confdefs.h. */
8121 #include <ac_nonexistent.h>
8123 if ac_fn_c_try_cpp "$LINENO"; then :
8124 # Broken: success on invalid input.
8127 # Passes both tests.
8131 rm -f conftest.err conftest.i conftest.$ac_ext
8134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8135 rm -f conftest.i conftest.err conftest.$ac_ext
8136 if $ac_preproc_ok; then :
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8149 $as_echo "$CPP" >&6; }
8151 for ac_c_preproc_warn_flag in '' yes
8153 # Use a header file that comes with gcc, so configuring glibc
8154 # with a fresh cross-compiler works.
8155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8156 # <limits.h> exists even on freestanding compilers.
8157 # On the NeXT, cc -E runs the code through the compiler's parser,
8158 # not just through cpp. "Syntax error" is here to catch this case.
8159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160 /* end confdefs.h. */
8162 # include <limits.h>
8164 # include <assert.h>
8168 if ac_fn_c_try_cpp "$LINENO"; then :
8171 # Broken: fails on valid input.
8174 rm -f conftest.err conftest.i conftest.$ac_ext
8176 # OK, works on sane cases. Now check whether nonexistent headers
8177 # can be detected and how.
8178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8180 #include <ac_nonexistent.h>
8182 if ac_fn_c_try_cpp "$LINENO"; then :
8183 # Broken: success on invalid input.
8186 # Passes both tests.
8190 rm -f conftest.err conftest.i conftest.$ac_ext
8193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8194 rm -f conftest.i conftest.err conftest.$ac_ext
8195 if $ac_preproc_ok; then :
8198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8201 See \`config.log' for more details" "$LINENO" 5; }
8205 ac_cpp='$CPP $CPPFLAGS'
8206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8212 $as_echo_n "checking for ANSI C header files... " >&6; }
8213 if ${ac_cv_header_stdc+:} false; then :
8214 $as_echo_n "(cached) " >&6
8216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8217 /* end confdefs.h. */
8231 if ac_fn_c_try_compile "$LINENO"; then :
8232 ac_cv_header_stdc=yes
8234 ac_cv_header_stdc=no
8236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8238 if test $ac_cv_header_stdc = yes; then
8239 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8246 $EGREP "memchr" >/dev/null 2>&1; then :
8249 ac_cv_header_stdc=no
8255 if test $ac_cv_header_stdc = yes; then
8256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8263 $EGREP "free" >/dev/null 2>&1; then :
8266 ac_cv_header_stdc=no
8272 if test $ac_cv_header_stdc = yes; then
8273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8274 if test "$cross_compiling" = yes; then :
8277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8281 #if ((' ' & 0x0FF) == 0x020)
8282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8285 # define ISLOWER(c) \
8286 (('a' <= (c) && (c) <= 'i') \
8287 || ('j' <= (c) && (c) <= 'r') \
8288 || ('s' <= (c) && (c) <= 'z'))
8289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8297 for (i = 0; i < 256; i++)
8298 if (XOR (islower (i), ISLOWER (i))
8299 || toupper (i) != TOUPPER (i))
8304 if ac_fn_c_try_run "$LINENO"; then :
8307 ac_cv_header_stdc=no
8309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8310 conftest.$ac_objext conftest.beam conftest.$ac_ext
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8316 $as_echo "$ac_cv_header_stdc" >&6; }
8317 if test $ac_cv_header_stdc = yes; then
8319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8325 inttypes.h stdint.h unistd.h
8327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8331 cat >>confdefs.h <<_ACEOF
8332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8340 for ac_header in dlfcn.h
8342 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8344 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8345 cat >>confdefs.h <<_ACEOF
8346 #define HAVE_DLFCN_H 1
8355 func_stripname_cnf ()
8358 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8359 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8361 } # func_stripname_cnf
8369 enable_win32_dll=yes
8372 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8373 if test -n "$ac_tool_prefix"; then
8374 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8375 set dummy ${ac_tool_prefix}as; ac_word=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if ${ac_cv_prog_AS+:} false; then :
8379 $as_echo_n "(cached) " >&6
8381 if test -n "$AS"; then
8382 ac_cv_prog_AS="$AS" # Let the user override the test.
8384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8388 test -z "$as_dir" && as_dir=.
8389 for ac_exec_ext in '' $ac_executable_extensions; do
8390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8391 ac_cv_prog_AS="${ac_tool_prefix}as"
8392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8402 if test -n "$AS"; then
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8404 $as_echo "$AS" >&6; }
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8407 $as_echo "no" >&6; }
8412 if test -z "$ac_cv_prog_AS"; then
8414 # Extract the first word of "as", so it can be a program name with args.
8415 set dummy as; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8417 $as_echo_n "checking for $ac_word... " >&6; }
8418 if ${ac_cv_prog_ac_ct_AS+:} false; then :
8419 $as_echo_n "(cached) " >&6
8421 if test -n "$ac_ct_AS"; then
8422 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8431 ac_cv_prog_ac_ct_AS="as"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8441 ac_ct_AS=$ac_cv_prog_ac_ct_AS
8442 if test -n "$ac_ct_AS"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8444 $as_echo "$ac_ct_AS" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8447 $as_echo "no" >&6; }
8450 if test "x$ac_ct_AS" = x; then
8453 case $cross_compiling:$ac_tool_warned in
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8457 ac_tool_warned=yes ;;
8465 if test -n "$ac_tool_prefix"; then
8466 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8467 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469 $as_echo_n "checking for $ac_word... " >&6; }
8470 if ${ac_cv_prog_DLLTOOL+:} false; then :
8471 $as_echo_n "(cached) " >&6
8473 if test -n "$DLLTOOL"; then
8474 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8483 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493 DLLTOOL=$ac_cv_prog_DLLTOOL
8494 if test -n "$DLLTOOL"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8496 $as_echo "$DLLTOOL" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499 $as_echo "no" >&6; }
8504 if test -z "$ac_cv_prog_DLLTOOL"; then
8505 ac_ct_DLLTOOL=$DLLTOOL
8506 # Extract the first word of "dlltool", so it can be a program name with args.
8507 set dummy dlltool; ac_word=$2
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8509 $as_echo_n "checking for $ac_word... " >&6; }
8510 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8511 $as_echo_n "(cached) " >&6
8513 if test -n "$ac_ct_DLLTOOL"; then
8514 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8520 test -z "$as_dir" && as_dir=.
8521 for ac_exec_ext in '' $ac_executable_extensions; do
8522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8523 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8533 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8534 if test -n "$ac_ct_DLLTOOL"; then
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8536 $as_echo "$ac_ct_DLLTOOL" >&6; }
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8539 $as_echo "no" >&6; }
8542 if test "x$ac_ct_DLLTOOL" = x; then
8545 case $cross_compiling:$ac_tool_warned in
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8549 ac_tool_warned=yes ;;
8551 DLLTOOL=$ac_ct_DLLTOOL
8554 DLLTOOL="$ac_cv_prog_DLLTOOL"
8557 if test -n "$ac_tool_prefix"; then
8558 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8559 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8561 $as_echo_n "checking for $ac_word... " >&6; }
8562 if ${ac_cv_prog_OBJDUMP+:} false; then :
8563 $as_echo_n "(cached) " >&6
8565 if test -n "$OBJDUMP"; then
8566 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8572 test -z "$as_dir" && as_dir=.
8573 for ac_exec_ext in '' $ac_executable_extensions; do
8574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8575 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8585 OBJDUMP=$ac_cv_prog_OBJDUMP
8586 if test -n "$OBJDUMP"; then
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8588 $as_echo "$OBJDUMP" >&6; }
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8591 $as_echo "no" >&6; }
8596 if test -z "$ac_cv_prog_OBJDUMP"; then
8597 ac_ct_OBJDUMP=$OBJDUMP
8598 # Extract the first word of "objdump", so it can be a program name with args.
8599 set dummy objdump; ac_word=$2
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8601 $as_echo_n "checking for $ac_word... " >&6; }
8602 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8603 $as_echo_n "(cached) " >&6
8605 if test -n "$ac_ct_OBJDUMP"; then
8606 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8612 test -z "$as_dir" && as_dir=.
8613 for ac_exec_ext in '' $ac_executable_extensions; do
8614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8615 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8625 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8626 if test -n "$ac_ct_OBJDUMP"; then
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8628 $as_echo "$ac_ct_OBJDUMP" >&6; }
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8631 $as_echo "no" >&6; }
8634 if test "x$ac_ct_OBJDUMP" = x; then
8637 case $cross_compiling:$ac_tool_warned in
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8641 ac_tool_warned=yes ;;
8643 OBJDUMP=$ac_ct_OBJDUMP
8646 OBJDUMP="$ac_cv_prog_OBJDUMP"
8652 test -z "$AS" && AS=as
8658 test -z "$DLLTOOL" && DLLTOOL=dlltool
8664 test -z "$OBJDUMP" && OBJDUMP=objdump
8669 # Check whether --enable-static was given.
8670 if test "${enable_static+set}" = set; then :
8671 enableval=$enable_static; p=${PACKAGE-default}
8673 yes) enable_static=yes ;;
8674 no) enable_static=no ;;
8677 # Look at the argument we got. We use all the common list separators.
8678 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8679 for pkg in $enableval; do
8681 if test "X$pkg" = "X$p"; then
8703 # Check whether --enable-shared was given.
8704 if test "${enable_shared+set}" = set; then :
8705 enableval=$enable_shared; p=${PACKAGE-default}
8707 yes) enable_shared=yes ;;
8708 no) enable_shared=no ;;
8711 # Look at the argument we got. We use all the common list separators.
8712 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8713 for pkg in $enableval; do
8715 if test "X$pkg" = "X$p"; then
8736 # Check whether --with-pic was given.
8737 if test "${with_pic+set}" = set; then :
8738 withval=$with_pic; lt_p=${PACKAGE-default}
8740 yes|no) pic_mode=$withval ;;
8743 # Look at the argument we got. We use all the common list separators.
8744 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8745 for lt_pkg in $withval; do
8747 if test "X$lt_pkg" = "X$lt_p"; then
8759 test -z "$pic_mode" && pic_mode=default
8767 # Check whether --enable-fast-install was given.
8768 if test "${enable_fast_install+set}" = set; then :
8769 enableval=$enable_fast_install; p=${PACKAGE-default}
8771 yes) enable_fast_install=yes ;;
8772 no) enable_fast_install=no ;;
8774 enable_fast_install=no
8775 # Look at the argument we got. We use all the common list separators.
8776 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8777 for pkg in $enableval; do
8779 if test "X$pkg" = "X$p"; then
8780 enable_fast_install=yes
8787 enable_fast_install=yes
8800 # This can be used to rebuild libtool when needed
8801 LIBTOOL_DEPS="$ltmain"
8803 # Always use our own libtool.
8804 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8835 test -z "$LN_S" && LN_S="ln -s"
8850 if test -n "${ZSH_VERSION+set}" ; then
8851 setopt NO_GLOB_SUBST
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8855 $as_echo_n "checking for objdir... " >&6; }
8856 if ${lt_cv_objdir+:} false; then :
8857 $as_echo_n "(cached) " >&6
8859 rm -f .libs 2>/dev/null
8860 mkdir .libs 2>/dev/null
8861 if test -d .libs; then
8864 # MS-DOS does not allow filenames that begin with a dot.
8867 rmdir .libs 2>/dev/null
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8870 $as_echo "$lt_cv_objdir" >&6; }
8871 objdir=$lt_cv_objdir
8877 cat >>confdefs.h <<_ACEOF
8878 #define LT_OBJDIR "$lt_cv_objdir/"
8886 # AIX sometimes has problems with the GCC collect2 program. For some
8887 # reason, if we set the COLLECT_NAMES environment variable, the problems
8888 # vanish in a puff of smoke.
8889 if test "X${COLLECT_NAMES+set}" != Xset; then
8891 export COLLECT_NAMES
8898 can_build_shared=yes
8900 # All known linkers require a `.a' archive for static linking (except MSVC,
8901 # which needs '.lib').
8904 with_gnu_ld="$lt_cv_prog_gnu_ld"
8907 old_CFLAGS="$CFLAGS"
8909 # Set sane defaults for various variables
8910 test -z "$CC" && CC=cc
8911 test -z "$LTCC" && LTCC=$CC
8912 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8913 test -z "$LD" && LD=ld
8914 test -z "$ac_objext" && ac_objext=o
8916 for cc_temp in $compiler""; do
8918 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8919 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8924 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8927 # Only perform the check for file, if the check method requires it
8928 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8929 case $deplibs_check_method in
8931 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8933 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8934 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8935 $as_echo_n "(cached) " >&6
8939 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8942 lt_save_MAGIC_CMD="$MAGIC_CMD"
8943 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8944 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8945 for ac_dir in $ac_dummy; do
8947 test -z "$ac_dir" && ac_dir=.
8948 if test -f $ac_dir/${ac_tool_prefix}file; then
8949 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8950 if test -n "$file_magic_test_file"; then
8951 case $deplibs_check_method in
8953 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8954 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8955 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8956 $EGREP "$file_magic_regex" > /dev/null; then
8961 *** Warning: the command libtool uses to detect shared libraries,
8962 *** $file_magic_cmd, produces output that libtool cannot recognize.
8963 *** The result is that libtool may fail to recognize shared libraries
8964 *** as such. This will affect the creation of libtool libraries that
8965 *** depend on shared libraries, but programs linked with such libtool
8966 *** libraries will work regardless of this problem. Nevertheless, you
8967 *** may want to report the problem to your system manager and/or to
8968 *** bug-libtool@gnu.org
8978 MAGIC_CMD="$lt_save_MAGIC_CMD"
8983 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8984 if test -n "$MAGIC_CMD"; then
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8986 $as_echo "$MAGIC_CMD" >&6; }
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8989 $as_echo "no" >&6; }
8996 if test -z "$lt_cv_path_MAGIC_CMD"; then
8997 if test -n "$ac_tool_prefix"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8999 $as_echo_n "checking for file... " >&6; }
9000 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9001 $as_echo_n "(cached) " >&6
9005 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9008 lt_save_MAGIC_CMD="$MAGIC_CMD"
9009 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9010 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9011 for ac_dir in $ac_dummy; do
9013 test -z "$ac_dir" && ac_dir=.
9014 if test -f $ac_dir/file; then
9015 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9016 if test -n "$file_magic_test_file"; then
9017 case $deplibs_check_method in
9019 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9021 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9022 $EGREP "$file_magic_regex" > /dev/null; then
9027 *** Warning: the command libtool uses to detect shared libraries,
9028 *** $file_magic_cmd, produces output that libtool cannot recognize.
9029 *** The result is that libtool may fail to recognize shared libraries
9030 *** as such. This will affect the creation of libtool libraries that
9031 *** depend on shared libraries, but programs linked with such libtool
9032 *** libraries will work regardless of this problem. Nevertheless, you
9033 *** may want to report the problem to your system manager and/or to
9034 *** bug-libtool@gnu.org
9044 MAGIC_CMD="$lt_save_MAGIC_CMD"
9049 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9050 if test -n "$MAGIC_CMD"; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9052 $as_echo "$MAGIC_CMD" >&6; }
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9068 # Use C for the default configuration in the libtool script
9072 ac_cpp='$CPP $CPPFLAGS'
9073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9078 # Source file extension for C test sources.
9081 # Object file extension for compiled C test sources.
9085 # Code to be used in simple compile tests
9086 lt_simple_compile_test_code="int some_variable = 0;"
9088 # Code to be used in simple link tests
9089 lt_simple_link_test_code='int main(){return(0);}'
9097 # If no C compiler was specified, use CC.
9100 # If no C compiler flags were specified, use CFLAGS.
9101 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9103 # Allow CC to be a program name with arguments.
9106 # Save the default compiler, since it gets overwritten when the other
9107 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9108 compiler_DEFAULT=$CC
9110 # save warnings/boilerplate of simple test code
9111 ac_outfile=conftest.$ac_objext
9112 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9113 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9114 _lt_compiler_boilerplate=`cat conftest.err`
9117 ac_outfile=conftest.$ac_objext
9118 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9119 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9120 _lt_linker_boilerplate=`cat conftest.err`
9125 ## There is no encapsulation within the following macros, do not change
9126 ## the running order or otherwise move them around unless you know exactly
9127 ## what you are doing...
9128 if test -n "$compiler"; then
9130 lt_prog_compiler_no_builtin_flag=
9132 if test "$GCC" = yes; then
9133 case $cc_basename in
9135 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9137 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9141 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9142 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9143 $as_echo_n "(cached) " >&6
9145 lt_cv_prog_compiler_rtti_exceptions=no
9146 ac_outfile=conftest.$ac_objext
9147 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9148 lt_compiler_flag="-fno-rtti -fno-exceptions"
9149 # Insert the option either (1) after the last *FLAGS variable, or
9150 # (2) before a word containing "conftest.", or (3) at the end.
9151 # Note that $ac_compile itself does not contain backslashes and begins
9152 # with a dollar sign (not a hyphen), so the echo should work correctly.
9153 # The option is referenced via a variable to avoid confusing sed.
9154 lt_compile=`echo "$ac_compile" | $SED \
9155 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9156 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9157 -e 's:$: $lt_compiler_flag:'`
9158 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9159 (eval "$lt_compile" 2>conftest.err)
9161 cat conftest.err >&5
9162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9163 if (exit $ac_status) && test -s "$ac_outfile"; then
9164 # The compiler can only warn and ignore the option if not recognized
9165 # So say no if there are warnings other than the usual output.
9166 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9167 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9168 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9169 lt_cv_prog_compiler_rtti_exceptions=yes
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9176 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9178 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9179 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9191 lt_prog_compiler_wl=
9192 lt_prog_compiler_pic=
9193 lt_prog_compiler_static=
9196 if test "$GCC" = yes; then
9197 lt_prog_compiler_wl='-Wl,'
9198 lt_prog_compiler_static='-static'
9202 # All AIX code is PIC.
9203 if test "$host_cpu" = ia64; then
9204 # AIX 5 now supports IA64 processor
9205 lt_prog_compiler_static='-Bstatic'
9212 # see comment about AmigaOS4 .so support
9213 lt_prog_compiler_pic='-fPIC'
9216 # FIXME: we need at least 68020 code to build shared libraries, but
9217 # adding the `-m68020' flag to GCC prevents building anything better,
9219 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9224 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9225 # PIC is the default for these OSes.
9228 mingw* | cygwin* | pw32* | os2* | cegcc*)
9229 # This hack is so that the source file can tell whether it is being
9230 # built for inclusion in a dll (and should export symbols for example).
9231 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9232 # (--disable-auto-import) libraries
9233 lt_prog_compiler_pic='-DDLL_EXPORT'
9236 darwin* | rhapsody*)
9237 # PIC is the default on this platform
9238 # Common symbols not allowed in MH_DYLIB files
9239 lt_prog_compiler_pic='-fno-common'
9243 # PIC is the default for Haiku.
9244 # The "-static" flag exists, but is broken.
9245 lt_prog_compiler_static=
9249 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9250 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9251 # sets the default TLS model and affects inlining.
9257 lt_prog_compiler_pic='-fPIC'
9263 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9264 # Instead, we relocate shared libraries at runtime.
9268 # Just because we use GCC doesn't mean we suddenly get shared libraries
9269 # on systems that don't support them.
9270 lt_prog_compiler_can_build_shared=no
9275 # QNX uses GNU C++, but need to define -shared option too, otherwise
9277 lt_prog_compiler_pic='-fPIC -shared'
9281 if test -d /usr/nec; then
9282 lt_prog_compiler_pic=-Kconform_pic
9287 lt_prog_compiler_pic='-fPIC'
9291 case $cc_basename in
9292 nvcc*) # Cuda Compiler Driver 2.2
9293 lt_prog_compiler_wl='-Xlinker '
9294 if test -n "$lt_prog_compiler_pic"; then
9295 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9300 # PORTME Check for flag to pass linker flags through the system compiler.
9303 lt_prog_compiler_wl='-Wl,'
9304 if test "$host_cpu" = ia64; then
9305 # AIX 5 now supports IA64 processor
9306 lt_prog_compiler_static='-Bstatic'
9308 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9312 mingw* | cygwin* | pw32* | os2* | cegcc*)
9313 # This hack is so that the source file can tell whether it is being
9314 # built for inclusion in a dll (and should export symbols for example).
9315 lt_prog_compiler_pic='-DDLL_EXPORT'
9318 hpux9* | hpux10* | hpux11*)
9319 lt_prog_compiler_wl='-Wl,'
9320 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9327 lt_prog_compiler_pic='+Z'
9330 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9331 lt_prog_compiler_static='${wl}-a ${wl}archive'
9334 irix5* | irix6* | nonstopux*)
9335 lt_prog_compiler_wl='-Wl,'
9336 # PIC (with -KPIC) is the default.
9337 lt_prog_compiler_static='-non_shared'
9340 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9341 case $cc_basename in
9342 # old Intel for x86_64 which still supported -KPIC.
9344 lt_prog_compiler_wl='-Wl,'
9345 lt_prog_compiler_pic='-KPIC'
9346 lt_prog_compiler_static='-static'
9348 # icc used to be incompatible with GCC.
9349 # ICC 10 doesn't accept -KPIC any more.
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='-fPIC'
9353 lt_prog_compiler_static='-static'
9355 # Lahey Fortran 8.1.
9357 lt_prog_compiler_wl='-Wl,'
9358 lt_prog_compiler_pic='--shared'
9359 lt_prog_compiler_static='--static'
9362 # NAG Fortran compiler
9363 lt_prog_compiler_wl='-Wl,-Wl,,'
9364 lt_prog_compiler_pic='-PIC'
9365 lt_prog_compiler_static='-Bstatic'
9367 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group compilers (*not* the Pentium gcc compiler,
9369 # which looks to be a dead project)
9370 lt_prog_compiler_wl='-Wl,'
9371 lt_prog_compiler_pic='-fpic'
9372 lt_prog_compiler_static='-Bstatic'
9375 lt_prog_compiler_wl='-Wl,'
9376 # All Alpha code is PIC.
9377 lt_prog_compiler_static='-non_shared'
9379 xl* | bgxl* | bgf* | mpixl*)
9380 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9381 lt_prog_compiler_wl='-Wl,'
9382 lt_prog_compiler_pic='-qpic'
9383 lt_prog_compiler_static='-qstaticlink'
9386 case `$CC -V 2>&1 | sed 5q` in
9387 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9388 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9389 lt_prog_compiler_pic='-KPIC'
9390 lt_prog_compiler_static='-Bstatic'
9391 lt_prog_compiler_wl=''
9393 *Sun\ F* | *Sun*Fortran*)
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9396 lt_prog_compiler_wl='-Qoption ld '
9400 lt_prog_compiler_pic='-KPIC'
9401 lt_prog_compiler_static='-Bstatic'
9402 lt_prog_compiler_wl='-Wl,'
9404 *Intel*\ [CF]*Compiler*)
9405 lt_prog_compiler_wl='-Wl,'
9406 lt_prog_compiler_pic='-fPIC'
9407 lt_prog_compiler_static='-static'
9410 lt_prog_compiler_wl='-Wl,'
9411 lt_prog_compiler_pic='-fpic'
9412 lt_prog_compiler_static='-Bstatic'
9420 lt_prog_compiler_pic='-KPIC'
9421 lt_prog_compiler_static='-Bstatic'
9425 # QNX uses GNU C++, but need to define -shared option too, otherwise
9427 lt_prog_compiler_pic='-fPIC -shared'
9430 osf3* | osf4* | osf5*)
9431 lt_prog_compiler_wl='-Wl,'
9432 # All OSF/1 code is PIC.
9433 lt_prog_compiler_static='-non_shared'
9437 lt_prog_compiler_static='-non_shared'
9441 lt_prog_compiler_pic='-KPIC'
9442 lt_prog_compiler_static='-Bstatic'
9443 case $cc_basename in
9444 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9445 lt_prog_compiler_wl='-Qoption ld ';;
9447 lt_prog_compiler_wl='-Wl,';;
9452 lt_prog_compiler_wl='-Qoption ld '
9453 lt_prog_compiler_pic='-PIC'
9454 lt_prog_compiler_static='-Bstatic'
9457 sysv4 | sysv4.2uw2* | sysv4.3*)
9458 lt_prog_compiler_wl='-Wl,'
9459 lt_prog_compiler_pic='-KPIC'
9460 lt_prog_compiler_static='-Bstatic'
9464 if test -d /usr/nec ;then
9465 lt_prog_compiler_pic='-Kconform_pic'
9466 lt_prog_compiler_static='-Bstatic'
9470 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9471 lt_prog_compiler_wl='-Wl,'
9472 lt_prog_compiler_pic='-KPIC'
9473 lt_prog_compiler_static='-Bstatic'
9477 lt_prog_compiler_wl='-Wl,'
9478 lt_prog_compiler_can_build_shared=no
9482 lt_prog_compiler_pic='-pic'
9483 lt_prog_compiler_static='-Bstatic'
9487 lt_prog_compiler_can_build_shared=no
9493 # For platforms which do not support PIC, -DPIC is meaningless:
9495 lt_prog_compiler_pic=
9498 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9503 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9504 if ${lt_cv_prog_compiler_pic+:} false; then :
9505 $as_echo_n "(cached) " >&6
9507 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9510 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9511 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9514 # Check to make sure the PIC flag actually works.
9516 if test -n "$lt_prog_compiler_pic"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9518 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9519 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9520 $as_echo_n "(cached) " >&6
9522 lt_cv_prog_compiler_pic_works=no
9523 ac_outfile=conftest.$ac_objext
9524 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9525 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9526 # Insert the option either (1) after the last *FLAGS variable, or
9527 # (2) before a word containing "conftest.", or (3) at the end.
9528 # Note that $ac_compile itself does not contain backslashes and begins
9529 # with a dollar sign (not a hyphen), so the echo should work correctly.
9530 # The option is referenced via a variable to avoid confusing sed.
9531 lt_compile=`echo "$ac_compile" | $SED \
9532 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9533 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9534 -e 's:$: $lt_compiler_flag:'`
9535 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9536 (eval "$lt_compile" 2>conftest.err)
9538 cat conftest.err >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 if (exit $ac_status) && test -s "$ac_outfile"; then
9541 # The compiler can only warn and ignore the option if not recognized
9542 # So say no if there are warnings other than the usual output.
9543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9544 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9545 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9546 lt_cv_prog_compiler_pic_works=yes
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9553 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9555 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9556 case $lt_prog_compiler_pic in
9558 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9561 lt_prog_compiler_pic=
9562 lt_prog_compiler_can_build_shared=no
9578 # Check to make sure the static flag actually works.
9580 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9582 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9583 if ${lt_cv_prog_compiler_static_works+:} false; then :
9584 $as_echo_n "(cached) " >&6
9586 lt_cv_prog_compiler_static_works=no
9587 save_LDFLAGS="$LDFLAGS"
9588 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9589 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9590 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9591 # The linker can only warn and ignore the option if not recognized
9592 # So say no if there are warnings
9593 if test -s conftest.err; then
9594 # Append any errors to the config.log.
9595 cat conftest.err 1>&5
9596 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9597 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9598 if diff conftest.exp conftest.er2 >/dev/null; then
9599 lt_cv_prog_compiler_static_works=yes
9602 lt_cv_prog_compiler_static_works=yes
9606 LDFLAGS="$save_LDFLAGS"
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9610 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9612 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9615 lt_prog_compiler_static=
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9625 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9626 if ${lt_cv_prog_compiler_c_o+:} false; then :
9627 $as_echo_n "(cached) " >&6
9629 lt_cv_prog_compiler_c_o=no
9630 $RM -r conftest 2>/dev/null
9634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9636 lt_compiler_flag="-o out/conftest2.$ac_objext"
9637 # Insert the option either (1) after the last *FLAGS variable, or
9638 # (2) before a word containing "conftest.", or (3) at the end.
9639 # Note that $ac_compile itself does not contain backslashes and begins
9640 # with a dollar sign (not a hyphen), so the echo should work correctly.
9641 lt_compile=`echo "$ac_compile" | $SED \
9642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9644 -e 's:$: $lt_compiler_flag:'`
9645 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9646 (eval "$lt_compile" 2>out/conftest.err)
9648 cat out/conftest.err >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9652 # The compiler can only warn and ignore the option if not recognized
9653 # So say no if there are warnings
9654 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9655 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9656 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9657 lt_cv_prog_compiler_c_o=yes
9662 # SGI C++ compiler will create directory out/ii_files/ for
9663 # template instantiation
9664 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9665 $RM out/* && rmdir out
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9672 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9680 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9681 if ${lt_cv_prog_compiler_c_o+:} false; then :
9682 $as_echo_n "(cached) " >&6
9684 lt_cv_prog_compiler_c_o=no
9685 $RM -r conftest 2>/dev/null
9689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9691 lt_compiler_flag="-o out/conftest2.$ac_objext"
9692 # Insert the option either (1) after the last *FLAGS variable, or
9693 # (2) before a word containing "conftest.", or (3) at the end.
9694 # Note that $ac_compile itself does not contain backslashes and begins
9695 # with a dollar sign (not a hyphen), so the echo should work correctly.
9696 lt_compile=`echo "$ac_compile" | $SED \
9697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9699 -e 's:$: $lt_compiler_flag:'`
9700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9701 (eval "$lt_compile" 2>out/conftest.err)
9703 cat out/conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9707 # The compiler can only warn and ignore the option if not recognized
9708 # So say no if there are warnings
9709 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9710 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9711 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9712 lt_cv_prog_compiler_c_o=yes
9717 # SGI C++ compiler will create directory out/ii_files/ for
9718 # template instantiation
9719 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9720 $RM out/* && rmdir out
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9727 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9732 hard_links="nottested"
9733 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9734 # do not overwrite the value of need_locks provided by the user
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9736 $as_echo_n "checking if we can lock with hard links... " >&6; }
9739 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9741 ln conftest.a conftest.b 2>&5 || hard_links=no
9742 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9744 $as_echo "$hard_links" >&6; }
9745 if test "$hard_links" = no; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9747 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9760 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9763 allow_undefined_flag=
9764 always_export_symbols=no
9766 archive_expsym_cmds=
9767 compiler_needs_object=no
9768 enable_shared_with_static_runtimes=no
9769 export_dynamic_flag_spec=
9770 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9771 hardcode_automatic=no
9773 hardcode_direct_absolute=no
9774 hardcode_libdir_flag_spec=
9775 hardcode_libdir_separator=
9777 hardcode_shlibpath_var=unsupported
9779 link_all_deplibs=unknown
9782 old_archive_from_new_cmds=
9783 old_archive_from_expsyms_cmds=
9784 thread_safe_flag_spec=
9785 whole_archive_flag_spec=
9786 # include_expsyms should be a list of space-separated symbols to be *always*
9787 # included in the symbol list
9789 # exclude_expsyms can be an extended regexp of symbols to exclude
9790 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9791 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9792 # as well as any symbol that contains `d'.
9793 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9794 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9795 # platforms (ab)use it in PIC code, but their linkers get confused if
9796 # the symbol is explicitly referenced. Since portable code cannot
9797 # rely on this symbol name, it's probably fine to never include it in
9798 # preloaded symbol tables.
9799 # Exclude shared library initialization/finalization symbols.
9800 extract_expsyms_cmds=
9803 cygwin* | mingw* | pw32* | cegcc*)
9804 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9805 # When not using gcc, we currently assume that we are using
9806 # Microsoft Visual C++.
9807 if test "$GCC" != yes; then
9812 # we just hope/assume this is gcc and not c89 (= MSVC++)
9818 linux* | k*bsd*-gnu | gnu*)
9825 # On some targets, GNU ld is compatible enough with the native linker
9826 # that we're better off using the native interface for both.
9827 lt_use_gnu_ld_interface=no
9828 if test "$with_gnu_ld" = yes; then
9831 # The AIX port of GNU ld has always aspired to compatibility
9832 # with the native linker. However, as the warning in the GNU ld
9833 # block says, versions before 2.19.5* couldn't really create working
9834 # shared libraries, regardless of the interface used.
9835 case `$LD -v 2>&1` in
9836 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9837 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9838 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9840 lt_use_gnu_ld_interface=yes
9845 lt_use_gnu_ld_interface=yes
9850 if test "$lt_use_gnu_ld_interface" = yes; then
9851 # If archive_cmds runs LD, not CC, wlarc should be empty
9854 # Set some defaults for GNU ld with shared library support. These
9855 # are reset later if shared libraries are not supported. Putting them
9856 # here allows them to be overridden if necessary.
9857 runpath_var=LD_RUN_PATH
9858 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9859 export_dynamic_flag_spec='${wl}--export-dynamic'
9860 # ancient GNU ld didn't support --whole-archive et. al.
9861 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9862 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9864 whole_archive_flag_spec=
9866 supports_anon_versioning=no
9867 case `$LD -v 2>&1` in
9868 *GNU\ gold*) supports_anon_versioning=yes ;;
9869 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9870 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9871 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9872 *\ 2.11.*) ;; # other 2.11 versions
9873 *) supports_anon_versioning=yes ;;
9876 # See if GNU ld supports shared libraries.
9879 # On AIX/PPC, the GNU linker is very broken
9880 if test "$host_cpu" != ia64; then
9884 *** Warning: the GNU linker, at least up to release 2.19, is reported
9885 *** to be unable to reliably create shared libraries on AIX.
9886 *** Therefore, libtool is disabling shared libraries support. If you
9887 *** really care for shared libraries, you may want to install binutils
9888 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9889 *** You will then need to restart the configuration process.
9898 # see comment about AmigaOS4 .so support
9899 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9900 archive_expsym_cmds=''
9903 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)'
9904 hardcode_libdir_flag_spec='-L$libdir'
9905 hardcode_minus_L=yes
9911 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9912 allow_undefined_flag=unsupported
9913 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9914 # support --undefined. This deserves some investigation. FIXME
9915 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9921 cygwin* | mingw* | pw32* | cegcc*)
9922 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9923 # as there is no search path for DLLs.
9924 hardcode_libdir_flag_spec='-L$libdir'
9925 export_dynamic_flag_spec='${wl}--export-all-symbols'
9926 allow_undefined_flag=unsupported
9927 always_export_symbols=no
9928 enable_shared_with_static_runtimes=yes
9929 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'
9930 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9932 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9933 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9934 # If the export-symbols file already is a .def file (1st line
9935 # is EXPORTS), use it as is; otherwise, prepend...
9936 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9937 cp $export_symbols $output_objdir/$soname.def;
9939 echo EXPORTS > $output_objdir/$soname.def;
9940 cat $export_symbols >> $output_objdir/$soname.def;
9942 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9949 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9950 link_all_deplibs=yes
9955 hardcode_shlibpath_var=no
9956 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9957 export_dynamic_flag_spec='${wl}-E'
9958 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9959 # Instead, shared libraries are loaded at an image base (0x10000000 by
9960 # default) and relocated if they conflict, which is a slow very memory
9961 # consuming and fragmenting process. To avoid this, we pick a random,
9962 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9963 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9964 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9965 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'
9968 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9970 if test "$host_os" = linux-dietlibc; then
9971 case $cc_basename in
9972 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9975 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9976 && test "$tmp_diet" = no
9978 tmp_addflag=' $pic_flag'
9979 tmp_sharedflag='-shared'
9980 case $cc_basename,$host_cpu in
9981 pgcc*) # Portland Group C compiler
9982 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'
9983 tmp_addflag=' $pic_flag'
9985 pgf77* | pgf90* | pgf95* | pgfortran*)
9986 # Portland Group f77 and f90 compilers
9987 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'
9988 tmp_addflag=' $pic_flag -Mnomain' ;;
9989 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9990 tmp_addflag=' -i_dynamic' ;;
9991 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9992 tmp_addflag=' -i_dynamic -nofor_main' ;;
9993 ifc* | ifort*) # Intel Fortran compiler
9994 tmp_addflag=' -nofor_main' ;;
9995 lf95*) # Lahey Fortran 8.1
9996 whole_archive_flag_spec=
9997 tmp_sharedflag='--shared' ;;
9998 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9999 tmp_sharedflag='-qmkshrobj'
10001 nvcc*) # Cuda Compiler Driver 2.2
10002 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'
10003 compiler_needs_object=yes
10006 case `$CC -V 2>&1 | sed 5q` in
10007 *Sun\ C*) # Sun C 5.9
10008 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'
10009 compiler_needs_object=yes
10010 tmp_sharedflag='-G' ;;
10011 *Sun\ F*) # Sun Fortran 8.3
10012 tmp_sharedflag='-G' ;;
10014 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10016 if test "x$supports_anon_versioning" = xyes; then
10017 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10018 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10019 echo "local: *; };" >> $output_objdir/$libname.ver~
10020 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10023 case $cc_basename in
10024 xlf* | bgf* | bgxlf* | mpixlf*)
10025 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10026 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10027 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10028 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10029 if test "x$supports_anon_versioning" = xyes; then
10030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10032 echo "local: *; };" >> $output_objdir/$libname.ver~
10033 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10042 netbsd* | netbsdelf*-gnu)
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10047 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10048 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10058 *** create shared libraries on Solaris systems. Therefore, libtool
10059 *** is disabling shared libraries support. We urge you to upgrade GNU
10060 *** binutils to release 2.9.1 or newer. Another option is to modify
10061 *** your PATH or compiler configuration so that the native linker is
10062 *** used, and then restart.
10065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10066 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10067 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10074 case `$LD -v 2>&1` in
10075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10080 *** reliably create shared libraries on SCO systems. Therefore, libtool
10081 *** is disabling shared libraries support. We urge you to upgrade GNU
10082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10083 *** your PATH or compiler configuration so that the native linker is
10084 *** used, and then restart.
10089 # For security reasons, it is highly recommended that you always
10090 # use absolute paths for naming shared libraries, and exclude the
10091 # DT_RUNPATH tag from executables and libraries. But doing so
10092 # requires that you compile everything twice, which is a pain.
10093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10107 hardcode_direct=yes
10108 hardcode_shlibpath_var=no
10112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10113 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10114 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10121 if test "$ld_shlibs" = no; then
10123 hardcode_libdir_flag_spec=
10124 export_dynamic_flag_spec=
10125 whole_archive_flag_spec=
10128 # PORTME fill in a description of your system's linker (not GNU ld)
10131 allow_undefined_flag=unsupported
10132 always_export_symbols=yes
10133 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'
10134 # Note: this linker hardcodes the directories in LIBPATH if there
10135 # are no directories specified by -L.
10136 hardcode_minus_L=yes
10137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10138 # Neither direct hardcoding nor static linking is supported with a
10140 hardcode_direct=unsupported
10145 if test "$host_cpu" = ia64; then
10146 # On IA64, the linker does run time linking by default, so we don't
10147 # have to do anything special.
10148 aix_use_runtimelinking=no
10149 exp_sym_flag='-Bexport'
10152 # If we're using GNU nm, then we don't want the "-C" option.
10153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10154 # Also, AIX nm treats weak defined symbols like other global
10155 # defined symbols, whereas GNU nm marks them as "W".
10156 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10157 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'
10159 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'
10161 aix_use_runtimelinking=no
10163 # Test if we are trying to use run time linking or normal
10164 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10165 # need to do runtime linking.
10166 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10167 for ld_flag in $LDFLAGS; do
10168 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10169 aix_use_runtimelinking=yes
10176 exp_sym_flag='-bexport'
10177 no_entry_flag='-bnoentry'
10180 # When large executables or shared objects are built, AIX ld can
10181 # have problems creating the table of contents. If linking a library
10182 # or program results in "error TOC overflow" add -mminimal-toc to
10183 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10184 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 hardcode_libdir_separator=':'
10190 link_all_deplibs=yes
10191 file_list_spec='${wl}-f,'
10193 if test "$GCC" = yes; then
10194 case $host_os in aix4.[012]|aix4.[012].*)
10195 # We only want to do this on AIX 4.2 and lower, the check
10196 # below for broken collect2 doesn't work under 4.3+
10197 collect2name=`${CC} -print-prog-name=collect2`
10198 if test -f "$collect2name" &&
10199 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10201 # We have reworked collect2
10204 # We have old collect2
10205 hardcode_direct=unsupported
10206 # It fails to find uninstalled libraries when the uninstalled
10207 # path is not listed in the libpath. Setting hardcode_minus_L
10208 # to unsupported forces relinking
10209 hardcode_minus_L=yes
10210 hardcode_libdir_flag_spec='-L$libdir'
10211 hardcode_libdir_separator=
10215 shared_flag='-shared'
10216 if test "$aix_use_runtimelinking" = yes; then
10217 shared_flag="$shared_flag "'${wl}-G'
10219 link_all_deplibs=no
10222 if test "$host_cpu" = ia64; then
10223 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10224 # chokes on -Wl,-G. The following line is correct:
10227 if test "$aix_use_runtimelinking" = yes; then
10228 shared_flag='${wl}-G'
10230 shared_flag='${wl}-bM:SRE'
10235 export_dynamic_flag_spec='${wl}-bexpall'
10236 # It seems that -bexpall does not export symbols beginning with
10237 # underscore (_), so it is better to generate a list of symbols to export.
10238 always_export_symbols=yes
10239 if test "$aix_use_runtimelinking" = yes; then
10240 # Warning - without using the other runtime loading flags (-brtl),
10241 # -berok will link without error, but may produce a broken library.
10242 allow_undefined_flag='-berok'
10243 # Determine the default libpath from the value encoded in an
10244 # empty executable.
10245 if test "${lt_cv_aix_libpath+set}" = set; then
10246 aix_libpath=$lt_cv_aix_libpath
10248 if ${lt_cv_aix_libpath_+:} false; then :
10249 $as_echo_n "(cached) " >&6
10251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10262 if ac_fn_c_try_link "$LINENO"; then :
10264 lt_aix_libpath_sed='
10265 /Import File Strings/,/^$/ {
10267 s/^0 *\([^ ]*\) *$/\1/
10271 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10272 # Check for a 64-bit object if we didn't find anything.
10273 if test -z "$lt_cv_aix_libpath_"; then
10274 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10277 rm -f core conftest.err conftest.$ac_objext \
10278 conftest$ac_exeext conftest.$ac_ext
10279 if test -z "$lt_cv_aix_libpath_"; then
10280 lt_cv_aix_libpath_="/usr/lib:/lib"
10285 aix_libpath=$lt_cv_aix_libpath_
10288 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10289 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"
10291 if test "$host_cpu" = ia64; then
10292 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10293 allow_undefined_flag="-z nodefs"
10294 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"
10296 # Determine the default libpath from the value encoded in an
10297 # empty executable.
10298 if test "${lt_cv_aix_libpath+set}" = set; then
10299 aix_libpath=$lt_cv_aix_libpath
10301 if ${lt_cv_aix_libpath_+:} false; then :
10302 $as_echo_n "(cached) " >&6
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10315 if ac_fn_c_try_link "$LINENO"; then :
10317 lt_aix_libpath_sed='
10318 /Import File Strings/,/^$/ {
10320 s/^0 *\([^ ]*\) *$/\1/
10324 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10325 # Check for a 64-bit object if we didn't find anything.
10326 if test -z "$lt_cv_aix_libpath_"; then
10327 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 if test -z "$lt_cv_aix_libpath_"; then
10333 lt_cv_aix_libpath_="/usr/lib:/lib"
10338 aix_libpath=$lt_cv_aix_libpath_
10341 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10342 # Warning - without using the other run time loading flags,
10343 # -berok will link without error, but may produce a broken library.
10344 no_undefined_flag=' ${wl}-bernotok'
10345 allow_undefined_flag=' ${wl}-berok'
10346 if test "$with_gnu_ld" = yes; then
10347 # We only use this code for GNU lds that support --whole-archive.
10348 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10350 # Exported symbols can be pulled into shared objects from archives
10351 whole_archive_flag_spec='$convenience'
10353 archive_cmds_need_lc=yes
10354 # This is similar to how AIX traditionally builds its shared libraries.
10355 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'
10363 # see comment about AmigaOS4 .so support
10364 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10365 archive_expsym_cmds=''
10368 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)'
10369 hardcode_libdir_flag_spec='-L$libdir'
10370 hardcode_minus_L=yes
10376 export_dynamic_flag_spec=-rdynamic
10379 cygwin* | mingw* | pw32* | cegcc*)
10380 # When not using gcc, we currently assume that we are using
10381 # Microsoft Visual C++.
10382 # hardcode_libdir_flag_spec is actually meaningless, as there is
10383 # no search path for DLLs.
10384 case $cc_basename in
10387 hardcode_libdir_flag_spec=' '
10388 allow_undefined_flag=unsupported
10389 always_export_symbols=yes
10391 # Tell ltmain to make .lib files, not .a files.
10393 # Tell ltmain to make .dll files, not .so files.
10395 # FIXME: Setting linknames here is a bad hack.
10396 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10397 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10398 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10400 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10402 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10404 # The linker will not automatically build a static lib if we build a DLL.
10405 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10406 enable_shared_with_static_runtimes=yes
10407 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10408 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10410 old_postinstall_cmds='chmod 644 $oldlib'
10411 postlink_cmds='lt_outputfile="@OUTPUT@"~
10412 lt_tool_outputfile="@TOOL_OUTPUT@"~
10413 case $lt_outputfile in
10416 lt_outputfile="$lt_outputfile.exe"
10417 lt_tool_outputfile="$lt_tool_outputfile.exe"
10420 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10421 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10422 $RM "$lt_outputfile.manifest";
10426 # Assume MSVC wrapper
10427 hardcode_libdir_flag_spec=' '
10428 allow_undefined_flag=unsupported
10429 # Tell ltmain to make .lib files, not .a files.
10431 # Tell ltmain to make .dll files, not .so files.
10433 # FIXME: Setting linknames here is a bad hack.
10434 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10435 # The linker will automatically build a .lib file if we build a DLL.
10436 old_archive_from_new_cmds='true'
10437 # FIXME: Should let the user specify the lib program.
10438 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10439 enable_shared_with_static_runtimes=yes
10444 darwin* | rhapsody*)
10447 archive_cmds_need_lc=no
10449 hardcode_automatic=yes
10450 hardcode_shlibpath_var=unsupported
10451 if test "$lt_cv_ld_force_load" = "yes"; then
10452 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\"`'
10455 whole_archive_flag_spec=''
10457 link_all_deplibs=yes
10458 allow_undefined_flag="$_lt_dar_allow_undefined"
10459 case $cc_basename in
10460 ifort*) _lt_dar_can_shared=yes ;;
10461 *) _lt_dar_can_shared=$GCC ;;
10463 if test "$_lt_dar_can_shared" = "yes"; then
10464 output_verbose_link_cmd=func_echo_all
10465 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10466 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10467 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}"
10468 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}"
10477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10478 hardcode_libdir_flag_spec='-L$libdir'
10479 hardcode_shlibpath_var=no
10482 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10483 # support. Future versions do this automatically, but an explicit c++rt0.o
10484 # does not break anything, and helps significantly (at the cost of a little
10487 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10488 hardcode_libdir_flag_spec='-R$libdir'
10489 hardcode_direct=yes
10490 hardcode_shlibpath_var=no
10493 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10495 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10496 hardcode_direct=yes
10497 hardcode_minus_L=yes
10498 hardcode_shlibpath_var=no
10501 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10502 freebsd* | dragonfly*)
10503 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10504 hardcode_libdir_flag_spec='-R$libdir'
10505 hardcode_direct=yes
10506 hardcode_shlibpath_var=no
10510 if test "$GCC" = yes; then
10511 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'
10513 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'
10515 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10516 hardcode_libdir_separator=:
10517 hardcode_direct=yes
10519 # hardcode_minus_L: Not really in the search PATH,
10520 # but as the default location of the library.
10521 hardcode_minus_L=yes
10522 export_dynamic_flag_spec='${wl}-E'
10526 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10527 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10529 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10531 if test "$with_gnu_ld" = no; then
10532 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10533 hardcode_libdir_separator=:
10534 hardcode_direct=yes
10535 hardcode_direct_absolute=yes
10536 export_dynamic_flag_spec='${wl}-E'
10537 # hardcode_minus_L: Not really in the search PATH,
10538 # but as the default location of the library.
10539 hardcode_minus_L=yes
10544 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10547 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10550 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10553 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10566 # Older versions of the 11.00 compiler do not understand -b yet
10567 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10569 $as_echo_n "checking if $CC understands -b... " >&6; }
10570 if ${lt_cv_prog_compiler__b+:} false; then :
10571 $as_echo_n "(cached) " >&6
10573 lt_cv_prog_compiler__b=no
10574 save_LDFLAGS="$LDFLAGS"
10575 LDFLAGS="$LDFLAGS -b"
10576 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10577 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10578 # The linker can only warn and ignore the option if not recognized
10579 # So say no if there are warnings
10580 if test -s conftest.err; then
10581 # Append any errors to the config.log.
10582 cat conftest.err 1>&5
10583 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10585 if diff conftest.exp conftest.er2 >/dev/null; then
10586 lt_cv_prog_compiler__b=yes
10589 lt_cv_prog_compiler__b=yes
10593 LDFLAGS="$save_LDFLAGS"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10597 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10599 if test x"$lt_cv_prog_compiler__b" = xyes; then
10600 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10602 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10608 if test "$with_gnu_ld" = no; then
10609 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10610 hardcode_libdir_separator=:
10615 hardcode_shlibpath_var=no
10618 hardcode_direct=yes
10619 hardcode_direct_absolute=yes
10620 export_dynamic_flag_spec='${wl}-E'
10622 # hardcode_minus_L: Not really in the search PATH,
10623 # but as the default location of the library.
10624 hardcode_minus_L=yes
10630 irix5* | irix6* | nonstopux*)
10631 if test "$GCC" = yes; then
10632 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'
10633 # Try to use the -exported_symbol ld option, if it does not
10634 # work, assume that -exports_file does not work either and
10635 # implicitly export all symbols.
10636 # This should be the same for all languages, so no per-tag cache variable.
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10638 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10639 if ${lt_cv_irix_exported_symbol+:} false; then :
10640 $as_echo_n "(cached) " >&6
10642 save_LDFLAGS="$LDFLAGS"
10643 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645 /* end confdefs.h. */
10646 int foo (void) { return 0; }
10648 if ac_fn_c_try_link "$LINENO"; then :
10649 lt_cv_irix_exported_symbol=yes
10651 lt_cv_irix_exported_symbol=no
10653 rm -f core conftest.err conftest.$ac_objext \
10654 conftest$ac_exeext conftest.$ac_ext
10655 LDFLAGS="$save_LDFLAGS"
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10658 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10659 if test "$lt_cv_irix_exported_symbol" = yes; then
10660 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'
10663 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'
10664 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'
10666 archive_cmds_need_lc='no'
10667 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10668 hardcode_libdir_separator=:
10670 link_all_deplibs=yes
10673 netbsd* | netbsdelf*-gnu)
10674 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10677 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10679 hardcode_libdir_flag_spec='-R$libdir'
10680 hardcode_direct=yes
10681 hardcode_shlibpath_var=no
10685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10686 hardcode_direct=yes
10687 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10688 hardcode_libdir_separator=:
10689 hardcode_shlibpath_var=no
10696 if test -f /usr/libexec/ld.so; then
10697 hardcode_direct=yes
10698 hardcode_shlibpath_var=no
10699 hardcode_direct_absolute=yes
10700 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10701 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10702 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10703 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10704 export_dynamic_flag_spec='${wl}-E'
10707 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10708 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10709 hardcode_libdir_flag_spec='-R$libdir'
10712 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10713 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10723 hardcode_libdir_flag_spec='-L$libdir'
10724 hardcode_minus_L=yes
10725 allow_undefined_flag=unsupported
10726 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'
10727 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10731 if test "$GCC" = yes; then
10732 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10733 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'
10735 allow_undefined_flag=' -expect_unresolved \*'
10736 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'
10738 archive_cmds_need_lc='no'
10739 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10740 hardcode_libdir_separator=:
10743 osf4* | osf5*) # as osf3* with the addition of -msym flag
10744 if test "$GCC" = yes; then
10745 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10746 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'
10747 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10749 allow_undefined_flag=' -expect_unresolved \*'
10750 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'
10751 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~
10752 $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'
10754 # Both c and cxx compiler support -rpath directly
10755 hardcode_libdir_flag_spec='-rpath $libdir'
10757 archive_cmds_need_lc='no'
10758 hardcode_libdir_separator=:
10762 no_undefined_flag=' -z defs'
10763 if test "$GCC" = yes; then
10765 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10767 $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'
10769 case `$CC -V 2>&1` in
10772 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10773 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10774 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10778 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10780 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10784 hardcode_libdir_flag_spec='-R$libdir'
10785 hardcode_shlibpath_var=no
10787 solaris2.[0-5] | solaris2.[0-5].*) ;;
10789 # The compiler driver will combine and reorder linker options,
10790 # but understands `-z linker_flag'. GCC discards it without `$wl',
10791 # but is careful enough not to reorder.
10792 # Supported since Solaris 2.6 (maybe 2.5.1?)
10793 if test "$GCC" = yes; then
10794 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10796 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10800 link_all_deplibs=yes
10804 if test "x$host_vendor" = xsequent; then
10805 # Use $CC to link under sequent, because it throws in some extra .o
10806 # files that make .init and .fini sections work.
10807 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10809 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10811 hardcode_libdir_flag_spec='-L$libdir'
10812 hardcode_direct=yes
10813 hardcode_minus_L=yes
10814 hardcode_shlibpath_var=no
10818 case $host_vendor in
10820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10821 hardcode_direct=yes # is this really true???
10824 ## LD is ld it makes a PLAMLIB
10825 ## CC just makes a GrossModule.
10826 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10827 reload_cmds='$CC -r -o $output$reload_objs'
10831 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10832 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10835 runpath_var='LD_RUN_PATH'
10836 hardcode_shlibpath_var=no
10840 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10841 hardcode_shlibpath_var=no
10842 export_dynamic_flag_spec='-Bexport'
10846 if test -d /usr/nec; then
10847 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848 hardcode_shlibpath_var=no
10849 runpath_var=LD_RUN_PATH
10850 hardcode_runpath_var=yes
10855 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10856 no_undefined_flag='${wl}-z,text'
10857 archive_cmds_need_lc=no
10858 hardcode_shlibpath_var=no
10859 runpath_var='LD_RUN_PATH'
10861 if test "$GCC" = yes; then
10862 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10863 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10865 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10866 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10870 sysv5* | sco3.2v5* | sco5v6*)
10871 # Note: We can NOT use -z defs as we might desire, because we do not
10872 # link with -lc, and that would cause any symbols used from libc to
10873 # always be unresolved, which means just about no library would
10874 # ever link correctly. If we're not using GNU ld we use -z text
10875 # though, which does catch some bad symbols but isn't as heavy-handed
10877 no_undefined_flag='${wl}-z,text'
10878 allow_undefined_flag='${wl}-z,nodefs'
10879 archive_cmds_need_lc=no
10880 hardcode_shlibpath_var=no
10881 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10882 hardcode_libdir_separator=':'
10883 link_all_deplibs=yes
10884 export_dynamic_flag_spec='${wl}-Bexport'
10885 runpath_var='LD_RUN_PATH'
10887 if test "$GCC" = yes; then
10888 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10889 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10891 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10892 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10898 hardcode_libdir_flag_spec='-L$libdir'
10899 hardcode_shlibpath_var=no
10907 if test x$host_vendor = xsni; then
10909 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10910 export_dynamic_flag_spec='${wl}-Blargedynsym'
10916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10917 $as_echo "$ld_shlibs" >&6; }
10918 test "$ld_shlibs" = no && can_build_shared=no
10920 with_gnu_ld=$with_gnu_ld
10937 # Do we need to explicitly link libc?
10939 case "x$archive_cmds_need_lc" in
10941 # Assume -lc should be added
10942 archive_cmds_need_lc=yes
10944 if test "$enable_shared" = yes && test "$GCC" = yes; then
10945 case $archive_cmds in
10947 # FIXME: we may have to deal with multi-command sequences.
10950 # Test whether the compiler implicitly links with -lc since on some
10951 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10952 # to ld, don't add -lc before -lgcc.
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10954 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10955 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10956 $as_echo_n "(cached) " >&6
10959 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10961 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10962 (eval $ac_compile) 2>&5
10964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10965 test $ac_status = 0; } 2>conftest.err; then
10968 libobjs=conftest.$ac_objext
10970 wl=$lt_prog_compiler_wl
10971 pic_flag=$lt_prog_compiler_pic
10977 lt_save_allow_undefined_flag=$allow_undefined_flag
10978 allow_undefined_flag=
10979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10980 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10983 test $ac_status = 0; }
10985 lt_cv_archive_cmds_need_lc=no
10987 lt_cv_archive_cmds_need_lc=yes
10989 allow_undefined_flag=$lt_save_allow_undefined_flag
10991 cat conftest.err 1>&5
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10997 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10998 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11159 if test "$GCC" = yes; then
11161 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11162 *) lt_awk_arg="/^libraries:/" ;;
11165 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11166 *) lt_sed_strip_eq="s,=/,/,g" ;;
11168 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11169 case $lt_search_path_spec in
11171 # if the path contains ";" then we assume it to be the separator
11172 # otherwise default to the standard path separator (i.e. ":") - it is
11173 # assumed that no part of a normal pathname contains ";" but that should
11174 # okay in the real world where ";" in dirpaths is itself problematic.
11175 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11178 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11181 # Ok, now we have the path, separated by spaces, we can step through it
11182 # and add multilib dir if necessary.
11183 lt_tmp_lt_search_path_spec=
11184 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11185 for lt_sys_path in $lt_search_path_spec; do
11186 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11187 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11189 test -d "$lt_sys_path" && \
11190 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11193 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11194 BEGIN {RS=" "; FS="/|\n";} {
11197 for (lt_i = NF; lt_i > 0; lt_i--) {
11198 if ($lt_i != "" && $lt_i != ".") {
11199 if ($lt_i == "..") {
11202 if (lt_count == 0) {
11203 lt_foo="/" $lt_i lt_foo;
11210 if (lt_foo != "") { lt_freq[lt_foo]++; }
11211 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11213 # AWK program above erroneously prepends '/' to C:/dos/paths
11216 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11217 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11219 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11221 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11223 library_names_spec=
11224 libname_spec='lib$name'
11228 postuninstall_cmds=
11232 shlibpath_overrides_runpath=unknown
11234 dynamic_linker="$host_os ld.so"
11235 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11236 need_lib_prefix=unknown
11237 hardcode_into_libs=no
11239 # when you set need_version to no, make sure it does not cause -set_version
11240 # flags to be left without arguments
11241 need_version=unknown
11245 version_type=linux # correct to gnu/linux during the next big refactor
11246 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11247 shlibpath_var=LIBPATH
11249 # AIX 3 has no versioning support, so we append a major version to the name.
11250 soname_spec='${libname}${release}${shared_ext}$major'
11254 version_type=linux # correct to gnu/linux during the next big refactor
11257 hardcode_into_libs=yes
11258 if test "$host_cpu" = ia64; then
11259 # AIX 5 supports IA64
11260 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11261 shlibpath_var=LD_LIBRARY_PATH
11263 # With GCC up to 2.95.x, collect2 would create an import file
11264 # for dependence libraries. The import file would start with
11265 # the line `#! .'. This would cause the generated library to
11266 # depend on `.', always an invalid library. This was fixed in
11267 # development snapshots of GCC prior to 3.0.
11269 aix4 | aix4.[01] | aix4.[01].*)
11270 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11272 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11275 can_build_shared=no
11279 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11280 # soname into executable. Probably we can add versioning support to
11281 # collect2, so additional links can be useful in future.
11282 if test "$aix_use_runtimelinking" = yes; then
11283 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11284 # instead of lib<name>.a to let people know that these are not
11285 # typical AIX shared libraries.
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11288 # We preserve .a as extension for shared libraries through AIX4.2
11289 # and later when we are not doing run time linking.
11290 library_names_spec='${libname}${release}.a $libname.a'
11291 soname_spec='${libname}${release}${shared_ext}$major'
11293 shlibpath_var=LIBPATH
11300 # Since July 2007 AmigaOS4 officially supports .so libraries.
11301 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 library_names_spec='$libname.ixlibrary $libname.a'
11306 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11307 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'
11313 library_names_spec='${libname}${shared_ext}'
11314 dynamic_linker="$host_os ld.so"
11315 shlibpath_var=LIBRARY_PATH
11319 version_type=linux # correct to gnu/linux during the next big refactor
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11322 soname_spec='${libname}${release}${shared_ext}$major'
11323 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11326 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11327 # the default ld.so.conf also contains /usr/contrib/lib and
11328 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11329 # libtool to hard-code these into programs
11332 cygwin* | mingw* | pw32* | cegcc*)
11333 version_type=windows
11338 case $GCC,$cc_basename in
11341 library_names_spec='$libname.dll.a'
11342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11343 postinstall_cmds='base_file=`basename \${file}`~
11344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11345 dldir=$destdir/`dirname \$dlpath`~
11346 test -d \$dldir || mkdir -p \$dldir~
11347 $install_prog $dir/$dlname \$dldir/$dlname~
11348 chmod a+x \$dldir/$dlname~
11349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11353 dlpath=$dir/\$dldll~
11355 shlibpath_overrides_runpath=yes
11359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11362 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11365 # MinGW DLLs use traditional 'lib' prefix
11366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11369 # pw32 DLLs use 'pw' prefix rather than 'lib'
11370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11373 dynamic_linker='Win32 ld.exe'
11378 libname_spec='$name'
11379 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11380 library_names_spec='${libname}.dll.lib'
11384 sys_lib_search_path_spec=
11387 for lt_path in $LIB
11390 # Let DOS variable expansion print the short 8.3 style file name.
11391 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11392 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11395 # Convert to MSYS style.
11396 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11399 # Convert to unix form, then to dos form, then back to unix form
11400 # but this time dos style (no spaces!) so that the unix form looks
11401 # like /cygdrive/c/PROGRA~1:/cygdr...
11402 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11403 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11404 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11407 sys_lib_search_path_spec="$LIB"
11408 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11409 # It is most probably a Windows format PATH.
11410 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11412 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11414 # FIXME: find the short name or the path components, as spaces are
11415 # common. (e.g. "Program Files" -> "PROGRA~1")
11419 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11420 postinstall_cmds='base_file=`basename \${file}`~
11421 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11422 dldir=$destdir/`dirname \$dlpath`~
11423 test -d \$dldir || mkdir -p \$dldir~
11424 $install_prog $dir/$dlname \$dldir/$dlname'
11425 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11426 dlpath=$dir/\$dldll~
11428 shlibpath_overrides_runpath=yes
11429 dynamic_linker='Win32 link.exe'
11433 # Assume MSVC wrapper
11434 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11435 dynamic_linker='Win32 ld.exe'
11438 # FIXME: first we should search . and the directory the executable is in
11442 darwin* | rhapsody*)
11443 dynamic_linker="$host_os dyld"
11444 version_type=darwin
11447 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11448 soname_spec='${libname}${release}${major}$shared_ext'
11449 shlibpath_overrides_runpath=yes
11450 shlibpath_var=DYLD_LIBRARY_PATH
11451 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11453 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11454 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11458 version_type=linux # correct to gnu/linux during the next big refactor
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11462 soname_spec='${libname}${release}${shared_ext}$major'
11463 shlibpath_var=LD_LIBRARY_PATH
11466 freebsd* | dragonfly*)
11467 # DragonFly does not have aout. When/if they implement a new
11468 # versioning mechanism, adjust this.
11469 if test -x /usr/bin/objformat; then
11470 objformat=`/usr/bin/objformat`
11473 freebsd[23].*) objformat=aout ;;
11474 *) objformat=elf ;;
11477 version_type=freebsd-$objformat
11478 case $version_type in
11480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11489 shlibpath_var=LD_LIBRARY_PATH
11492 shlibpath_overrides_runpath=yes
11494 freebsd3.[01]* | freebsdelf3.[01]*)
11495 shlibpath_overrides_runpath=yes
11496 hardcode_into_libs=yes
11498 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11499 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11500 shlibpath_overrides_runpath=no
11501 hardcode_into_libs=yes
11503 *) # from 4.6 on, and DragonFly
11504 shlibpath_overrides_runpath=yes
11505 hardcode_into_libs=yes
11511 version_type=linux # correct to gnu/linux during the next big refactor
11514 dynamic_linker="$host_os runtime_loader"
11515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11516 soname_spec='${libname}${release}${shared_ext}$major'
11517 shlibpath_var=LIBRARY_PATH
11518 shlibpath_overrides_runpath=yes
11519 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11520 hardcode_into_libs=yes
11523 hpux9* | hpux10* | hpux11*)
11524 # Give a soname corresponding to the major version so that dld.sl refuses to
11525 # link against other versions.
11532 hardcode_into_libs=yes
11533 dynamic_linker="$host_os dld.so"
11534 shlibpath_var=LD_LIBRARY_PATH
11535 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 if test "X$HPUX_IA64_MODE" = X32; then
11539 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11541 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11543 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11547 hardcode_into_libs=yes
11548 dynamic_linker="$host_os dld.sl"
11549 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11550 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 soname_spec='${libname}${release}${shared_ext}$major'
11553 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11554 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11558 dynamic_linker="$host_os dld.sl"
11559 shlibpath_var=SHLIB_PATH
11560 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11561 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11562 soname_spec='${libname}${release}${shared_ext}$major'
11565 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11566 postinstall_cmds='chmod 555 $lib'
11567 # or fails outright, so override atomically:
11568 install_override_mode=555
11572 version_type=linux # correct to gnu/linux during the next big refactor
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11577 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11578 shlibpath_var=LD_LIBRARY_PATH
11579 shlibpath_overrides_runpath=no
11580 hardcode_into_libs=yes
11583 irix5* | irix6* | nonstopux*)
11585 nonstopux*) version_type=nonstopux ;;
11587 if test "$lt_cv_prog_gnu_ld" = yes; then
11588 version_type=linux # correct to gnu/linux during the next big refactor
11595 soname_spec='${libname}${release}${shared_ext}$major'
11596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11598 irix5* | nonstopux*)
11599 libsuff= shlibsuff=
11602 case $LD in # libtool.m4 will add one of these switches to LD
11603 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11604 libsuff= shlibsuff= libmagic=32-bit;;
11605 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11606 libsuff=32 shlibsuff=N32 libmagic=N32;;
11607 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11608 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11609 *) libsuff= shlibsuff= libmagic=never-match;;
11613 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11614 shlibpath_overrides_runpath=no
11615 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11616 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11617 hardcode_into_libs=yes
11620 # No shared lib support for Linux oldld, aout, or coff.
11621 linux*oldld* | linux*aout* | linux*coff*)
11625 # This must be glibc/ELF.
11626 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11627 version_type=linux # correct to gnu/linux during the next big refactor
11630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11631 soname_spec='${libname}${release}${shared_ext}$major'
11632 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11633 shlibpath_var=LD_LIBRARY_PATH
11634 shlibpath_overrides_runpath=no
11636 # Some binutils ld are patched to set DT_RUNPATH
11637 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11638 $as_echo_n "(cached) " >&6
11640 lt_cv_shlibpath_overrides_runpath=no
11641 save_LDFLAGS=$LDFLAGS
11642 save_libdir=$libdir
11643 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11644 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11646 /* end confdefs.h. */
11656 if ac_fn_c_try_link "$LINENO"; then :
11657 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11658 lt_cv_shlibpath_overrides_runpath=yes
11661 rm -f core conftest.err conftest.$ac_objext \
11662 conftest$ac_exeext conftest.$ac_ext
11663 LDFLAGS=$save_LDFLAGS
11664 libdir=$save_libdir
11668 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11670 # This implies no fast_install, which is unacceptable.
11671 # Some rework will be needed to allow for fast_install
11672 # before this can be enabled.
11673 hardcode_into_libs=yes
11675 # Append ld.so.conf contents to the search path
11676 if test -f /etc/ld.so.conf; then
11677 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' ' '`
11678 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11681 # We used to test for /lib/ld.so.1 and disable shared libraries on
11682 # powerpc, because MkLinux only supported shared libraries with the
11683 # GNU dynamic linker. Since this was broken with cross compilers,
11684 # most powerpc-linux boxes support dynamic linking these days and
11685 # people can always --disable-shared, the test was removed, and we
11686 # assume the GNU/Linux dynamic linker is in use.
11687 dynamic_linker='GNU/Linux ld.so'
11694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11695 soname_spec='${libname}${release}${shared_ext}$major'
11696 shlibpath_var=LD_LIBRARY_PATH
11697 shlibpath_overrides_runpath=no
11698 hardcode_into_libs=yes
11699 dynamic_linker='NetBSD ld.elf_so'
11706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11709 dynamic_linker='NetBSD (a.out) ld.so'
11711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11712 soname_spec='${libname}${release}${shared_ext}$major'
11713 dynamic_linker='NetBSD ld.elf_so'
11715 shlibpath_var=LD_LIBRARY_PATH
11716 shlibpath_overrides_runpath=yes
11717 hardcode_into_libs=yes
11721 version_type=linux # correct to gnu/linux during the next big refactor
11722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11723 shlibpath_var=LD_LIBRARY_PATH
11724 shlibpath_overrides_runpath=yes
11731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11732 soname_spec='${libname}${release}${shared_ext}$major'
11733 shlibpath_var=LD_LIBRARY_PATH
11734 shlibpath_overrides_runpath=no
11735 hardcode_into_libs=yes
11736 dynamic_linker='ldqnx.so'
11741 sys_lib_dlsearch_path_spec="/usr/lib"
11743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11746 *) need_version=no ;;
11748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11750 shlibpath_var=LD_LIBRARY_PATH
11751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11753 openbsd2.[89] | openbsd2.[89].*)
11754 shlibpath_overrides_runpath=no
11757 shlibpath_overrides_runpath=yes
11761 shlibpath_overrides_runpath=yes
11766 libname_spec='$name'
11769 library_names_spec='$libname${shared_ext} $libname.a'
11770 dynamic_linker='OS/2 ld.exe'
11771 shlibpath_var=LIBPATH
11774 osf3* | osf4* | osf5*)
11778 soname_spec='${libname}${release}${shared_ext}$major'
11779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11780 shlibpath_var=LD_LIBRARY_PATH
11781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11790 version_type=linux # correct to gnu/linux during the next big refactor
11793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 soname_spec='${libname}${release}${shared_ext}$major'
11795 shlibpath_var=LD_LIBRARY_PATH
11796 shlibpath_overrides_runpath=yes
11797 hardcode_into_libs=yes
11798 # ldd complains unless libraries are executable
11799 postinstall_cmds='chmod +x $lib'
11804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11806 shlibpath_var=LD_LIBRARY_PATH
11807 shlibpath_overrides_runpath=yes
11808 if test "$with_gnu_ld" = yes; then
11815 version_type=linux # correct to gnu/linux during the next big refactor
11816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11817 soname_spec='${libname}${release}${shared_ext}$major'
11818 shlibpath_var=LD_LIBRARY_PATH
11819 case $host_vendor in
11821 shlibpath_overrides_runpath=no
11823 runpath_var=LD_RUN_PATH
11831 shlibpath_overrides_runpath=no
11832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11838 if test -d /usr/nec ;then
11839 version_type=linux # correct to gnu/linux during the next big refactor
11840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11841 soname_spec='$libname${shared_ext}.$major'
11842 shlibpath_var=LD_LIBRARY_PATH
11846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11847 version_type=freebsd-elf
11850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11851 soname_spec='${libname}${release}${shared_ext}$major'
11852 shlibpath_var=LD_LIBRARY_PATH
11853 shlibpath_overrides_runpath=yes
11854 hardcode_into_libs=yes
11855 if test "$with_gnu_ld" = yes; then
11856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11865 sys_lib_dlsearch_path_spec='/usr/lib'
11869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11870 version_type=linux # correct to gnu/linux during the next big refactor
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11874 shlibpath_var=LD_LIBRARY_PATH
11875 shlibpath_overrides_runpath=no
11876 hardcode_into_libs=yes
11880 version_type=linux # correct to gnu/linux during the next big refactor
11881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11882 soname_spec='${libname}${release}${shared_ext}$major'
11883 shlibpath_var=LD_LIBRARY_PATH
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11891 $as_echo "$dynamic_linker" >&6; }
11892 test "$dynamic_linker" = no && can_build_shared=no
11894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11895 if test "$GCC" = yes; then
11896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11998 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12000 if test -n "$hardcode_libdir_flag_spec" ||
12001 test -n "$runpath_var" ||
12002 test "X$hardcode_automatic" = "Xyes" ; then
12004 # We can hardcode non-existent directories.
12005 if test "$hardcode_direct" != no &&
12006 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12007 # have to relink, otherwise we might link with an installed library
12008 # when we should be linking with a yet-to-be-installed one
12009 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12010 test "$hardcode_minus_L" != no; then
12011 # Linking always hardcodes the temporary library directory.
12012 hardcode_action=relink
12014 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12015 hardcode_action=immediate
12018 # We cannot hardcode anything, or else we can only hardcode existing
12020 hardcode_action=unsupported
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12023 $as_echo "$hardcode_action" >&6; }
12025 if test "$hardcode_action" = relink ||
12026 test "$inherit_rpath" = yes; then
12027 # Fast installation is not supported
12028 enable_fast_install=no
12029 elif test "$shlibpath_overrides_runpath" = yes ||
12030 test "$enable_shared" = no; then
12031 # Fast installation is not necessary
12032 enable_fast_install=needless
12040 if test "x$enable_dlopen" != xyes; then
12041 enable_dlopen=unknown
12042 enable_dlopen_self=unknown
12043 enable_dlopen_self_static=unknown
12050 lt_cv_dlopen="load_add_on"
12052 lt_cv_dlopen_self=yes
12055 mingw* | pw32* | cegcc*)
12056 lt_cv_dlopen="LoadLibrary"
12061 lt_cv_dlopen="dlopen"
12066 # if libdl is installed we need to link against it
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12068 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12069 if ${ac_cv_lib_dl_dlopen+:} false; then :
12070 $as_echo_n "(cached) " >&6
12072 ac_check_lib_save_LIBS=$LIBS
12074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12077 /* Override any GCC internal prototype to avoid an error.
12078 Use char because int might match the return type of a GCC
12079 builtin and then its argument prototype would still apply. */
12092 if ac_fn_c_try_link "$LINENO"; then :
12093 ac_cv_lib_dl_dlopen=yes
12095 ac_cv_lib_dl_dlopen=no
12097 rm -f core conftest.err conftest.$ac_objext \
12098 conftest$ac_exeext conftest.$ac_ext
12099 LIBS=$ac_check_lib_save_LIBS
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12102 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12103 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12104 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12107 lt_cv_dlopen="dyld"
12109 lt_cv_dlopen_self=yes
12116 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12117 if test "x$ac_cv_func_shl_load" = xyes; then :
12118 lt_cv_dlopen="shl_load"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12121 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12122 if ${ac_cv_lib_dld_shl_load+:} false; then :
12123 $as_echo_n "(cached) " >&6
12125 ac_check_lib_save_LIBS=$LIBS
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12130 /* Override any GCC internal prototype to avoid an error.
12131 Use char because int might match the return type of a GCC
12132 builtin and then its argument prototype would still apply. */
12140 return shl_load ();
12145 if ac_fn_c_try_link "$LINENO"; then :
12146 ac_cv_lib_dld_shl_load=yes
12148 ac_cv_lib_dld_shl_load=no
12150 rm -f core conftest.err conftest.$ac_objext \
12151 conftest$ac_exeext conftest.$ac_ext
12152 LIBS=$ac_check_lib_save_LIBS
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12155 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12156 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12157 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12159 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12160 if test "x$ac_cv_func_dlopen" = xyes; then :
12161 lt_cv_dlopen="dlopen"
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12164 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12165 if ${ac_cv_lib_dl_dlopen+:} false; then :
12166 $as_echo_n "(cached) " >&6
12168 ac_check_lib_save_LIBS=$LIBS
12170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12171 /* end confdefs.h. */
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12188 if ac_fn_c_try_link "$LINENO"; then :
12189 ac_cv_lib_dl_dlopen=yes
12191 ac_cv_lib_dl_dlopen=no
12193 rm -f core conftest.err conftest.$ac_objext \
12194 conftest$ac_exeext conftest.$ac_ext
12195 LIBS=$ac_check_lib_save_LIBS
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12198 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12199 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12200 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12203 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12204 if ${ac_cv_lib_svld_dlopen+:} false; then :
12205 $as_echo_n "(cached) " >&6
12207 ac_check_lib_save_LIBS=$LIBS
12208 LIBS="-lsvld $LIBS"
12209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12210 /* end confdefs.h. */
12212 /* Override any GCC internal prototype to avoid an error.
12213 Use char because int might match the return type of a GCC
12214 builtin and then its argument prototype would still apply. */
12227 if ac_fn_c_try_link "$LINENO"; then :
12228 ac_cv_lib_svld_dlopen=yes
12230 ac_cv_lib_svld_dlopen=no
12232 rm -f core conftest.err conftest.$ac_objext \
12233 conftest$ac_exeext conftest.$ac_ext
12234 LIBS=$ac_check_lib_save_LIBS
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12237 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12238 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12239 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12242 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12243 if ${ac_cv_lib_dld_dld_link+:} false; then :
12244 $as_echo_n "(cached) " >&6
12246 ac_check_lib_save_LIBS=$LIBS
12248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12261 return dld_link ();
12266 if ac_fn_c_try_link "$LINENO"; then :
12267 ac_cv_lib_dld_dld_link=yes
12269 ac_cv_lib_dld_dld_link=no
12271 rm -f core conftest.err conftest.$ac_objext \
12272 conftest$ac_exeext conftest.$ac_ext
12273 LIBS=$ac_check_lib_save_LIBS
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12276 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12277 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12278 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12299 if test "x$lt_cv_dlopen" != xno; then
12305 case $lt_cv_dlopen in
12307 save_CPPFLAGS="$CPPFLAGS"
12308 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12310 save_LDFLAGS="$LDFLAGS"
12311 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12314 LIBS="$lt_cv_dlopen_libs $LIBS"
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12317 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12318 if ${lt_cv_dlopen_self+:} false; then :
12319 $as_echo_n "(cached) " >&6
12321 if test "$cross_compiling" = yes; then :
12322 lt_cv_dlopen_self=cross
12324 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12325 lt_status=$lt_dlunknown
12326 cat > conftest.$ac_ext <<_LT_EOF
12327 #line $LINENO "configure"
12328 #include "confdefs.h"
12337 # define LT_DLGLOBAL RTLD_GLOBAL
12340 # define LT_DLGLOBAL DL_GLOBAL
12342 # define LT_DLGLOBAL 0
12346 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12347 find out it does not work in some platform. */
12348 #ifndef LT_DLLAZY_OR_NOW
12350 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12353 # define LT_DLLAZY_OR_NOW DL_LAZY
12356 # define LT_DLLAZY_OR_NOW RTLD_NOW
12359 # define LT_DLLAZY_OR_NOW DL_NOW
12361 # define LT_DLLAZY_OR_NOW 0
12368 /* When -fvisbility=hidden is used, assume the code has been annotated
12369 correspondingly for the symbols needed. */
12370 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12371 int fnord () __attribute__((visibility("default")));
12374 int fnord () { return 42; }
12377 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12378 int status = $lt_dlunknown;
12382 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12385 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12386 else puts (dlerror ());
12388 /* dlclose (self); */
12396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12397 (eval $ac_link) 2>&5
12399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12400 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12401 (./conftest; exit; ) >&5 2>/dev/null
12403 case x$lt_status in
12404 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12405 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12406 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12409 # compilation failed
12410 lt_cv_dlopen_self=no
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12418 $as_echo "$lt_cv_dlopen_self" >&6; }
12420 if test "x$lt_cv_dlopen_self" = xyes; then
12421 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12423 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12424 if ${lt_cv_dlopen_self_static+:} false; then :
12425 $as_echo_n "(cached) " >&6
12427 if test "$cross_compiling" = yes; then :
12428 lt_cv_dlopen_self_static=cross
12430 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12431 lt_status=$lt_dlunknown
12432 cat > conftest.$ac_ext <<_LT_EOF
12433 #line $LINENO "configure"
12434 #include "confdefs.h"
12443 # define LT_DLGLOBAL RTLD_GLOBAL
12446 # define LT_DLGLOBAL DL_GLOBAL
12448 # define LT_DLGLOBAL 0
12452 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12453 find out it does not work in some platform. */
12454 #ifndef LT_DLLAZY_OR_NOW
12456 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12459 # define LT_DLLAZY_OR_NOW DL_LAZY
12462 # define LT_DLLAZY_OR_NOW RTLD_NOW
12465 # define LT_DLLAZY_OR_NOW DL_NOW
12467 # define LT_DLLAZY_OR_NOW 0
12474 /* When -fvisbility=hidden is used, assume the code has been annotated
12475 correspondingly for the symbols needed. */
12476 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12477 int fnord () __attribute__((visibility("default")));
12480 int fnord () { return 42; }
12483 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12484 int status = $lt_dlunknown;
12488 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12491 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12492 else puts (dlerror ());
12494 /* dlclose (self); */
12502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12503 (eval $ac_link) 2>&5
12505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12506 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12507 (./conftest; exit; ) >&5 2>/dev/null
12509 case x$lt_status in
12510 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12511 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12512 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12515 # compilation failed
12516 lt_cv_dlopen_self_static=no
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12524 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12527 CPPFLAGS="$save_CPPFLAGS"
12528 LDFLAGS="$save_LDFLAGS"
12533 case $lt_cv_dlopen_self in
12534 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12535 *) enable_dlopen_self=unknown ;;
12538 case $lt_cv_dlopen_self_static in
12539 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12540 *) enable_dlopen_self_static=unknown ;;
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12563 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12564 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12565 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12566 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12568 $as_echo "yes" >&6; }
12570 # FIXME - insert some real tests, host_os isn't really good enough
12573 if test -n "$STRIP" ; then
12574 striplib="$STRIP -x"
12575 old_striplib="$STRIP -S"
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12577 $as_echo "yes" >&6; }
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12580 $as_echo "no" >&6; }
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12585 $as_echo "no" >&6; }
12601 # Report which library types will actually be built
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12603 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12605 $as_echo "$can_build_shared" >&6; }
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12608 $as_echo_n "checking whether to build shared libraries... " >&6; }
12609 test "$can_build_shared" = "no" && enable_shared=no
12611 # On AIX, shared libraries and static libraries use the same namespace, and
12612 # are all built from PIC.
12615 test "$enable_shared" = yes && enable_static=no
12616 if test -n "$RANLIB"; then
12617 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12618 postinstall_cmds='$RANLIB $lib'
12623 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12624 test "$enable_shared" = yes && enable_static=no
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12629 $as_echo "$enable_shared" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12632 $as_echo_n "checking whether to build static libraries... " >&6; }
12633 # Make sure either enable_shared or enable_static is yes.
12634 test "$enable_shared" = yes || enable_static=yes
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12636 $as_echo "$enable_static" >&6; }
12643 ac_cpp='$CPP $CPPFLAGS'
12644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12650 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12651 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12652 (test "X$CXX" != "Xg++"))) ; then
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12659 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12660 if test -z "$CXXCPP"; then
12661 if ${ac_cv_prog_CXXCPP+:} false; then :
12662 $as_echo_n "(cached) " >&6
12664 # Double quotes because CXXCPP needs to be expanded
12665 for CXXCPP in "$CXX -E" "/lib/cpp"
12667 ac_preproc_ok=false
12668 for ac_cxx_preproc_warn_flag in '' yes
12670 # Use a header file that comes with gcc, so configuring glibc
12671 # with a fresh cross-compiler works.
12672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12673 # <limits.h> exists even on freestanding compilers.
12674 # On the NeXT, cc -E runs the code through the compiler's parser,
12675 # not just through cpp. "Syntax error" is here to catch this case.
12676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 # include <limits.h>
12681 # include <assert.h>
12685 if ac_fn_cxx_try_cpp "$LINENO"; then :
12688 # Broken: fails on valid input.
12691 rm -f conftest.err conftest.i conftest.$ac_ext
12693 # OK, works on sane cases. Now check whether nonexistent headers
12694 # can be detected and how.
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12697 #include <ac_nonexistent.h>
12699 if ac_fn_cxx_try_cpp "$LINENO"; then :
12700 # Broken: success on invalid input.
12703 # Passes both tests.
12707 rm -f conftest.err conftest.i conftest.$ac_ext
12710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12711 rm -f conftest.i conftest.err conftest.$ac_ext
12712 if $ac_preproc_ok; then :
12717 ac_cv_prog_CXXCPP=$CXXCPP
12720 CXXCPP=$ac_cv_prog_CXXCPP
12722 ac_cv_prog_CXXCPP=$CXXCPP
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12725 $as_echo "$CXXCPP" >&6; }
12726 ac_preproc_ok=false
12727 for ac_cxx_preproc_warn_flag in '' yes
12729 # Use a header file that comes with gcc, so configuring glibc
12730 # with a fresh cross-compiler works.
12731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12732 # <limits.h> exists even on freestanding compilers.
12733 # On the NeXT, cc -E runs the code through the compiler's parser,
12734 # not just through cpp. "Syntax error" is here to catch this case.
12735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12736 /* end confdefs.h. */
12738 # include <limits.h>
12740 # include <assert.h>
12744 if ac_fn_cxx_try_cpp "$LINENO"; then :
12747 # Broken: fails on valid input.
12750 rm -f conftest.err conftest.i conftest.$ac_ext
12752 # OK, works on sane cases. Now check whether nonexistent headers
12753 # can be detected and how.
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12756 #include <ac_nonexistent.h>
12758 if ac_fn_cxx_try_cpp "$LINENO"; then :
12759 # Broken: success on invalid input.
12762 # Passes both tests.
12766 rm -f conftest.err conftest.i conftest.$ac_ext
12769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12770 rm -f conftest.i conftest.err conftest.$ac_ext
12771 if $ac_preproc_ok; then :
12774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12776 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12777 See \`config.log' for more details" "$LINENO" 5; }
12781 ac_cpp='$CPP $CPPFLAGS'
12782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12787 _lt_caught_CXX_error=yes
12791 ac_cpp='$CXXCPP $CPPFLAGS'
12792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12796 archive_cmds_need_lc_CXX=no
12797 allow_undefined_flag_CXX=
12798 always_export_symbols_CXX=no
12799 archive_expsym_cmds_CXX=
12800 compiler_needs_object_CXX=no
12801 export_dynamic_flag_spec_CXX=
12802 hardcode_direct_CXX=no
12803 hardcode_direct_absolute_CXX=no
12804 hardcode_libdir_flag_spec_CXX=
12805 hardcode_libdir_separator_CXX=
12806 hardcode_minus_L_CXX=no
12807 hardcode_shlibpath_var_CXX=unsupported
12808 hardcode_automatic_CXX=no
12809 inherit_rpath_CXX=no
12811 module_expsym_cmds_CXX=
12812 link_all_deplibs_CXX=unknown
12813 old_archive_cmds_CXX=$old_archive_cmds
12814 reload_flag_CXX=$reload_flag
12815 reload_cmds_CXX=$reload_cmds
12816 no_undefined_flag_CXX=
12817 whole_archive_flag_spec_CXX=
12818 enable_shared_with_static_runtimes_CXX=no
12820 # Source file extension for C++ test sources.
12823 # Object file extension for compiled C++ test sources.
12827 # No sense in running all these tests if we already determined that
12828 # the CXX compiler isn't working. Some variables (like enable_shared)
12829 # are currently assumed to apply to all compilers on this platform,
12830 # and will be corrupted by setting them based on a non-working compiler.
12831 if test "$_lt_caught_CXX_error" != yes; then
12832 # Code to be used in simple compile tests
12833 lt_simple_compile_test_code="int some_variable = 0;"
12835 # Code to be used in simple link tests
12836 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12838 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12845 # If no C compiler was specified, use CC.
12848 # If no C compiler flags were specified, use CFLAGS.
12849 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12851 # Allow CC to be a program name with arguments.
12855 # save warnings/boilerplate of simple test code
12856 ac_outfile=conftest.$ac_objext
12857 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12858 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12859 _lt_compiler_boilerplate=`cat conftest.err`
12862 ac_outfile=conftest.$ac_objext
12863 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12864 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12865 _lt_linker_boilerplate=`cat conftest.err`
12869 # Allow CC to be a program name with arguments.
12871 lt_save_CFLAGS=$CFLAGS
12875 lt_save_with_gnu_ld=$with_gnu_ld
12876 lt_save_path_LD=$lt_cv_path_LD
12877 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12878 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12880 $as_unset lt_cv_prog_gnu_ld
12882 if test -n "${lt_cv_path_LDCXX+set}"; then
12883 lt_cv_path_LD=$lt_cv_path_LDCXX
12885 $as_unset lt_cv_path_LD
12887 test -z "${LDCXX+set}" || LD=$LDCXX
12892 for cc_temp in $compiler""; do
12894 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12895 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12900 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12903 if test -n "$compiler"; then
12904 # We don't want -fno-exception when compiling C++ code, so set the
12905 # no_builtin_flag separately
12906 if test "$GXX" = yes; then
12907 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12909 lt_prog_compiler_no_builtin_flag_CXX=
12912 if test "$GXX" = yes; then
12913 # Set up default GNU C++ configuration
12917 # Check whether --with-gnu-ld was given.
12918 if test "${with_gnu_ld+set}" = set; then :
12919 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12925 if test "$GCC" = yes; then
12926 # Check if gcc -print-prog-name=ld gives a path.
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12928 $as_echo_n "checking for ld used by $CC... " >&6; }
12931 # gcc leaves a trailing carriage return which upsets mingw
12932 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12934 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12937 # Accept absolute paths.
12939 re_direlt='/[^/][^/]*/\.\./'
12940 # Canonicalize the pathname of ld
12941 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12942 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12943 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12945 test -z "$LD" && LD="$ac_prog"
12948 # If it fails, then pretend we aren't using GCC.
12952 # If it is relative, then search for the first ld in PATH.
12953 with_gnu_ld=unknown
12956 elif test "$with_gnu_ld" = yes; then
12957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12958 $as_echo_n "checking for GNU ld... " >&6; }
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12961 $as_echo_n "checking for non-GNU ld... " >&6; }
12963 if ${lt_cv_path_LD+:} false; then :
12964 $as_echo_n "(cached) " >&6
12966 if test -z "$LD"; then
12967 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12968 for ac_dir in $PATH; do
12970 test -z "$ac_dir" && ac_dir=.
12971 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12972 lt_cv_path_LD="$ac_dir/$ac_prog"
12973 # Check to see if the program is GNU ld. I'd rather use --version,
12974 # but apparently some variants of GNU ld only accept -v.
12975 # Break only if it was the GNU/non-GNU ld that we prefer.
12976 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12977 *GNU* | *'with BFD'*)
12978 test "$with_gnu_ld" != no && break
12981 test "$with_gnu_ld" != yes && break
12988 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12992 LD="$lt_cv_path_LD"
12993 if test -n "$LD"; then
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12995 $as_echo "$LD" >&6; }
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12998 $as_echo "no" >&6; }
13000 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13002 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13003 if ${lt_cv_prog_gnu_ld+:} false; then :
13004 $as_echo_n "(cached) " >&6
13006 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13007 case `$LD -v 2>&1 </dev/null` in
13008 *GNU* | *'with BFD'*)
13009 lt_cv_prog_gnu_ld=yes
13012 lt_cv_prog_gnu_ld=no
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13017 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13018 with_gnu_ld=$lt_cv_prog_gnu_ld
13026 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13027 # archiving commands below assume that GNU ld is being used.
13028 if test "$with_gnu_ld" = yes; then
13029 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13030 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'
13032 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13033 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13035 # If archive_cmds runs LD, not CC, wlarc should be empty
13036 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13037 # investigate it a little bit more. (MM)
13040 # ancient GNU ld didn't support --whole-archive et. al.
13041 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13042 $GREP 'no-whole-archive' > /dev/null; then
13043 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13045 whole_archive_flag_spec_CXX=
13051 # A generic and very simple default shared library creation
13052 # command for GNU C++ for the case where it uses the native
13053 # linker, instead of GNU ld. If possible, this setting should
13054 # overridden to take advantage of the native linker features on
13055 # the platform it is being used on.
13056 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13059 # Commands to make compiler produce verbose output that lists
13060 # what "hidden" libraries, object files and flags are used when
13061 # linking a shared library.
13062 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13070 # PORTME: fill in a description of your system's C++ link characteristics
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13072 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13076 # FIXME: insert proper C++ library support
13080 if test "$host_cpu" = ia64; then
13081 # On IA64, the linker does run time linking by default, so we don't
13082 # have to do anything special.
13083 aix_use_runtimelinking=no
13084 exp_sym_flag='-Bexport'
13087 aix_use_runtimelinking=no
13089 # Test if we are trying to use run time linking or normal
13090 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13091 # need to do runtime linking.
13092 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13093 for ld_flag in $LDFLAGS; do
13096 aix_use_runtimelinking=yes
13104 exp_sym_flag='-bexport'
13105 no_entry_flag='-bnoentry'
13108 # When large executables or shared objects are built, AIX ld can
13109 # have problems creating the table of contents. If linking a library
13110 # or program results in "error TOC overflow" add -mminimal-toc to
13111 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13112 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13114 archive_cmds_CXX=''
13115 hardcode_direct_CXX=yes
13116 hardcode_direct_absolute_CXX=yes
13117 hardcode_libdir_separator_CXX=':'
13118 link_all_deplibs_CXX=yes
13119 file_list_spec_CXX='${wl}-f,'
13121 if test "$GXX" = yes; then
13122 case $host_os in aix4.[012]|aix4.[012].*)
13123 # We only want to do this on AIX 4.2 and lower, the check
13124 # below for broken collect2 doesn't work under 4.3+
13125 collect2name=`${CC} -print-prog-name=collect2`
13126 if test -f "$collect2name" &&
13127 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13129 # We have reworked collect2
13132 # We have old collect2
13133 hardcode_direct_CXX=unsupported
13134 # It fails to find uninstalled libraries when the uninstalled
13135 # path is not listed in the libpath. Setting hardcode_minus_L
13136 # to unsupported forces relinking
13137 hardcode_minus_L_CXX=yes
13138 hardcode_libdir_flag_spec_CXX='-L$libdir'
13139 hardcode_libdir_separator_CXX=
13142 shared_flag='-shared'
13143 if test "$aix_use_runtimelinking" = yes; then
13144 shared_flag="$shared_flag "'${wl}-G'
13148 if test "$host_cpu" = ia64; then
13149 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13150 # chokes on -Wl,-G. The following line is correct:
13153 if test "$aix_use_runtimelinking" = yes; then
13154 shared_flag='${wl}-G'
13156 shared_flag='${wl}-bM:SRE'
13161 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13162 # It seems that -bexpall does not export symbols beginning with
13163 # underscore (_), so it is better to generate a list of symbols to
13165 always_export_symbols_CXX=yes
13166 if test "$aix_use_runtimelinking" = yes; then
13167 # Warning - without using the other runtime loading flags (-brtl),
13168 # -berok will link without error, but may produce a broken library.
13169 allow_undefined_flag_CXX='-berok'
13170 # Determine the default libpath from the value encoded in an empty
13172 if test "${lt_cv_aix_libpath+set}" = set; then
13173 aix_libpath=$lt_cv_aix_libpath
13175 if ${lt_cv_aix_libpath__CXX+:} false; then :
13176 $as_echo_n "(cached) " >&6
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13189 if ac_fn_cxx_try_link "$LINENO"; then :
13191 lt_aix_libpath_sed='
13192 /Import File Strings/,/^$/ {
13194 s/^0 *\([^ ]*\) *$/\1/
13198 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13199 # Check for a 64-bit object if we didn't find anything.
13200 if test -z "$lt_cv_aix_libpath__CXX"; then
13201 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13204 rm -f core conftest.err conftest.$ac_objext \
13205 conftest$ac_exeext conftest.$ac_ext
13206 if test -z "$lt_cv_aix_libpath__CXX"; then
13207 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13212 aix_libpath=$lt_cv_aix_libpath__CXX
13215 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13217 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"
13219 if test "$host_cpu" = ia64; then
13220 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13221 allow_undefined_flag_CXX="-z nodefs"
13222 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"
13224 # Determine the default libpath from the value encoded in an
13225 # empty executable.
13226 if test "${lt_cv_aix_libpath+set}" = set; then
13227 aix_libpath=$lt_cv_aix_libpath
13229 if ${lt_cv_aix_libpath__CXX+:} false; then :
13230 $as_echo_n "(cached) " >&6
13232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13243 if ac_fn_cxx_try_link "$LINENO"; then :
13245 lt_aix_libpath_sed='
13246 /Import File Strings/,/^$/ {
13248 s/^0 *\([^ ]*\) *$/\1/
13252 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13253 # Check for a 64-bit object if we didn't find anything.
13254 if test -z "$lt_cv_aix_libpath__CXX"; then
13255 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13258 rm -f core conftest.err conftest.$ac_objext \
13259 conftest$ac_exeext conftest.$ac_ext
13260 if test -z "$lt_cv_aix_libpath__CXX"; then
13261 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13266 aix_libpath=$lt_cv_aix_libpath__CXX
13269 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13270 # Warning - without using the other run time loading flags,
13271 # -berok will link without error, but may produce a broken library.
13272 no_undefined_flag_CXX=' ${wl}-bernotok'
13273 allow_undefined_flag_CXX=' ${wl}-berok'
13274 if test "$with_gnu_ld" = yes; then
13275 # We only use this code for GNU lds that support --whole-archive.
13276 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13278 # Exported symbols can be pulled into shared objects from archives
13279 whole_archive_flag_spec_CXX='$convenience'
13281 archive_cmds_need_lc_CXX=yes
13282 # This is similar to how AIX traditionally builds its shared
13284 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'
13290 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13291 allow_undefined_flag_CXX=unsupported
13292 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13293 # support --undefined. This deserves some investigation. FIXME
13294 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13301 case $cc_basename in
13303 # FIXME: insert proper C++ library support
13309 cygwin* | mingw* | pw32* | cegcc*)
13310 case $GXX,$cc_basename in
13313 # hardcode_libdir_flag_spec is actually meaningless, as there is
13314 # no search path for DLLs.
13315 hardcode_libdir_flag_spec_CXX=' '
13316 allow_undefined_flag_CXX=unsupported
13317 always_export_symbols_CXX=yes
13318 file_list_spec_CXX='@'
13319 # Tell ltmain to make .lib files, not .a files.
13321 # Tell ltmain to make .dll files, not .so files.
13323 # FIXME: Setting linknames here is a bad hack.
13324 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13325 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13326 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13328 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13330 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13332 # The linker will not automatically build a static lib if we build a DLL.
13333 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13334 enable_shared_with_static_runtimes_CXX=yes
13336 old_postinstall_cmds_CXX='chmod 644 $oldlib'
13337 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13338 lt_tool_outputfile="@TOOL_OUTPUT@"~
13339 case $lt_outputfile in
13342 lt_outputfile="$lt_outputfile.exe"
13343 lt_tool_outputfile="$lt_tool_outputfile.exe"
13346 func_to_tool_file "$lt_outputfile"~
13347 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13348 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13349 $RM "$lt_outputfile.manifest";
13354 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13355 # as there is no search path for DLLs.
13356 hardcode_libdir_flag_spec_CXX='-L$libdir'
13357 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13358 allow_undefined_flag_CXX=unsupported
13359 always_export_symbols_CXX=no
13360 enable_shared_with_static_runtimes_CXX=yes
13362 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13363 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'
13364 # If the export-symbols file already is a .def file (1st line
13365 # is EXPORTS), use it as is; otherwise, prepend...
13366 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13367 cp $export_symbols $output_objdir/$soname.def;
13369 echo EXPORTS > $output_objdir/$soname.def;
13370 cat $export_symbols >> $output_objdir/$soname.def;
13372 $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'
13379 darwin* | rhapsody*)
13382 archive_cmds_need_lc_CXX=no
13383 hardcode_direct_CXX=no
13384 hardcode_automatic_CXX=yes
13385 hardcode_shlibpath_var_CXX=unsupported
13386 if test "$lt_cv_ld_force_load" = "yes"; then
13387 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\"`'
13390 whole_archive_flag_spec_CXX=''
13392 link_all_deplibs_CXX=yes
13393 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13394 case $cc_basename in
13395 ifort*) _lt_dar_can_shared=yes ;;
13396 *) _lt_dar_can_shared=$GCC ;;
13398 if test "$_lt_dar_can_shared" = "yes"; then
13399 output_verbose_link_cmd=func_echo_all
13400 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}"
13401 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13402 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}"
13403 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}"
13404 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13405 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}"
13406 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}"
13416 case $cc_basename in
13418 # FIXME: insert proper C++ library support
13422 # Green Hills C++ Compiler
13423 # FIXME: insert proper C++ library support
13427 # FIXME: insert proper C++ library support
13434 # C++ shared libraries reported to be fairly broken before
13440 archive_cmds_need_lc_CXX=no
13443 freebsd* | dragonfly*)
13444 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13450 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13451 link_all_deplibs_CXX=yes
13455 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13456 hardcode_libdir_separator_CXX=:
13457 export_dynamic_flag_spec_CXX='${wl}-E'
13458 hardcode_direct_CXX=yes
13459 hardcode_minus_L_CXX=yes # Not in the search PATH,
13460 # but as the default
13461 # location of the library.
13463 case $cc_basename in
13465 # FIXME: insert proper C++ library support
13469 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'
13470 # Commands to make compiler produce verbose output that lists
13471 # what "hidden" libraries, object files and flags are used when
13472 # linking a shared library.
13474 # There doesn't appear to be a way to prevent this compiler from
13475 # explicitly linking system object files so we need to strip them
13476 # from the output so that they don't get included in the library
13478 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"'
13481 if test "$GXX" = yes; then
13482 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'
13484 # FIXME: insert proper C++ library support
13492 if test $with_gnu_ld = no; then
13493 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13494 hardcode_libdir_separator_CXX=:
13500 export_dynamic_flag_spec_CXX='${wl}-E'
13506 hardcode_direct_CXX=no
13507 hardcode_shlibpath_var_CXX=no
13510 hardcode_direct_CXX=yes
13511 hardcode_direct_absolute_CXX=yes
13512 hardcode_minus_L_CXX=yes # Not in the search PATH,
13513 # but as the default
13514 # location of the library.
13518 case $cc_basename in
13520 # FIXME: insert proper C++ library support
13526 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13529 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13532 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13535 # Commands to make compiler produce verbose output that lists
13536 # what "hidden" libraries, object files and flags are used when
13537 # linking a shared library.
13539 # There doesn't appear to be a way to prevent this compiler from
13540 # explicitly linking system object files so we need to strip them
13541 # from the output so that they don't get included in the library
13543 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"'
13546 if test "$GXX" = yes; then
13547 if test $with_gnu_ld = no; then
13550 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13553 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13556 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'
13561 # FIXME: insert proper C++ library support
13569 hardcode_direct_CXX=no
13570 hardcode_shlibpath_var_CXX=no
13571 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13572 export_dynamic_flag_spec_CXX='${wl}-E'
13573 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13574 # Instead, shared libraries are loaded at an image base (0x10000000 by
13575 # default) and relocated if they conflict, which is a slow very memory
13576 # consuming and fragmenting process. To avoid this, we pick a random,
13577 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13578 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13579 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'
13580 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'
13583 case $cc_basename in
13586 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'
13588 # Archives containing C++ object files must be created using
13589 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13590 # necessary to make sure instantiated templates are included
13592 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13595 if test "$GXX" = yes; then
13596 if test "$with_gnu_ld" = no; then
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"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13599 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'
13602 link_all_deplibs_CXX=yes
13605 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13606 hardcode_libdir_separator_CXX=:
13607 inherit_rpath_CXX=yes
13610 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13611 case $cc_basename in
13613 # Kuck and Associates, Inc. (KAI) C++ Compiler
13615 # KCC will only create a shared library if the output file
13616 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13617 # to its proper name (with version) after linking.
13618 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'
13619 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'
13620 # Commands to make compiler produce verbose output that lists
13621 # what "hidden" libraries, object files and flags are used when
13622 # linking a shared library.
13624 # There doesn't appear to be a way to prevent this compiler from
13625 # explicitly linking system object files so we need to strip them
13626 # from the output so that they don't get included in the library
13628 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"'
13630 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13631 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13633 # Archives containing C++ object files must be created using
13634 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13635 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13640 # version 8.0 and above of icpc choke on multiply defined symbols
13641 # if we add $predep_objects and $postdep_objects, however 7.1 and
13642 # earlier do not add the objects themselves.
13643 case `$CC -V 2>&1` in
13645 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13646 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'
13648 *) # Version 8.0 or newer
13651 ia64*) tmp_idyn=' -i_dynamic';;
13653 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13654 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'
13657 archive_cmds_need_lc_CXX=no
13658 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13659 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13660 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13663 # Portland Group C++ compiler
13665 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13666 prelink_cmds_CXX='tpldir=Template.dir~
13668 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13669 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13670 old_archive_cmds_CXX='tpldir=Template.dir~
13672 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13673 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13675 archive_cmds_CXX='tpldir=Template.dir~
13677 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13678 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13679 archive_expsym_cmds_CXX='tpldir=Template.dir~
13681 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13682 $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'
13684 *) # Version 6 and above use weak symbols
13685 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13686 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'
13690 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13691 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13692 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'
13696 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13697 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'
13699 runpath_var=LD_RUN_PATH
13700 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13701 hardcode_libdir_separator_CXX=:
13703 # Commands to make compiler produce verbose output that lists
13704 # what "hidden" libraries, object files and flags are used when
13705 # linking a shared library.
13707 # There doesn't appear to be a way to prevent this compiler from
13708 # explicitly linking system object files so we need to strip them
13709 # from the output so that they don't get included in the library
13711 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'
13713 xl* | mpixl* | bgxl*)
13714 # IBM XL 8.0 on PPC, with GNU ld
13715 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13716 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13717 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13718 if test "x$supports_anon_versioning" = xyes; then
13719 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13720 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13721 echo "local: *; };" >> $output_objdir/$libname.ver~
13722 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13726 case `$CC -V 2>&1 | sed 5q` in
13729 no_undefined_flag_CXX=' -zdefs'
13730 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13731 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'
13732 hardcode_libdir_flag_spec_CXX='-R$libdir'
13733 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'
13734 compiler_needs_object_CXX=yes
13736 # Not sure whether something based on
13737 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13739 output_verbose_link_cmd='func_echo_all'
13741 # Archives containing C++ object files must be created using
13742 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13743 # necessary to make sure instantiated templates are included
13745 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13753 # FIXME: insert proper C++ library support
13758 # FIXME: insert proper C++ library support
13763 case $cc_basename in
13765 # FIXME: insert proper C++ library support
13769 # FIXME: insert proper C++ library support
13776 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13777 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13779 hardcode_libdir_flag_spec_CXX='-R$libdir'
13780 hardcode_direct_CXX=yes
13781 hardcode_shlibpath_var_CXX=no
13783 # Workaround some broken pre-1.5 toolchains
13784 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13792 # C++ shared libraries are fairly broken
13797 if test -f /usr/libexec/ld.so; then
13798 hardcode_direct_CXX=yes
13799 hardcode_shlibpath_var_CXX=no
13800 hardcode_direct_absolute_CXX=yes
13801 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13802 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13803 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13804 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13805 export_dynamic_flag_spec_CXX='${wl}-E'
13806 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13808 output_verbose_link_cmd=func_echo_all
13814 osf3* | osf4* | osf5*)
13815 case $cc_basename in
13817 # Kuck and Associates, Inc. (KAI) C++ Compiler
13819 # KCC will only create a shared library if the output file
13820 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13821 # to its proper name (with version) after linking.
13822 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'
13824 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13825 hardcode_libdir_separator_CXX=:
13827 # Archives containing C++ object files must be created using
13828 # the KAI C++ compiler.
13830 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13831 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13835 # Rational C++ 2.4.1
13836 # FIXME: insert proper C++ library support
13842 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13843 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'
13844 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13847 allow_undefined_flag_CXX=' -expect_unresolved \*'
13848 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'
13849 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13850 echo "-hidden">> $lib.exp~
13851 $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~
13853 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13857 hardcode_libdir_separator_CXX=:
13859 # Commands to make compiler produce verbose output that lists
13860 # what "hidden" libraries, object files and flags are used when
13861 # linking a shared library.
13863 # There doesn't appear to be a way to prevent this compiler from
13864 # explicitly linking system object files so we need to strip them
13865 # from the output so that they don't get included in the library
13867 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"'
13870 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13871 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13874 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'
13877 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'
13881 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13882 hardcode_libdir_separator_CXX=:
13884 # Commands to make compiler produce verbose output that lists
13885 # what "hidden" libraries, object files and flags are used when
13886 # linking a shared library.
13887 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13890 # FIXME: insert proper C++ library support
13898 # FIXME: insert proper C++ library support
13903 case $cc_basename in
13906 # FIXME: insert proper C++ library support
13911 # FIXME: insert proper C++ library support
13915 # FIXME: insert proper C++ library support
13922 case $cc_basename in
13924 # Sun C++ 4.2, 5.x and Centerline C++
13925 archive_cmds_need_lc_CXX=yes
13926 no_undefined_flag_CXX=' -zdefs'
13927 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13928 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13929 $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'
13931 hardcode_libdir_flag_spec_CXX='-R$libdir'
13932 hardcode_shlibpath_var_CXX=no
13934 solaris2.[0-5] | solaris2.[0-5].*) ;;
13936 # The compiler driver will combine and reorder linker options,
13937 # but understands `-z linker_flag'.
13938 # Supported since Solaris 2.6 (maybe 2.5.1?)
13939 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13942 link_all_deplibs_CXX=yes
13944 output_verbose_link_cmd='func_echo_all'
13946 # Archives containing C++ object files must be created using
13947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13948 # necessary to make sure instantiated templates are included
13950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13953 # Green Hills C++ Compiler
13954 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13956 # The C++ compiler must be used to create the archive.
13957 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13960 # GNU C++ compiler with Solaris linker
13961 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13962 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13963 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13964 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13965 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13966 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13968 # Commands to make compiler produce verbose output that lists
13969 # what "hidden" libraries, object files and flags are used when
13970 # linking a shared library.
13971 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13973 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13975 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13976 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13977 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13979 # Commands to make compiler produce verbose output that lists
13980 # what "hidden" libraries, object files and flags are used when
13981 # linking a shared library.
13982 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13985 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13987 solaris2.[0-5] | solaris2.[0-5].*) ;;
13989 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13997 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13998 no_undefined_flag_CXX='${wl}-z,text'
13999 archive_cmds_need_lc_CXX=no
14000 hardcode_shlibpath_var_CXX=no
14001 runpath_var='LD_RUN_PATH'
14003 case $cc_basename in
14005 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14006 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14009 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14010 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14015 sysv5* | sco3.2v5* | sco5v6*)
14016 # Note: We can NOT use -z defs as we might desire, because we do not
14017 # link with -lc, and that would cause any symbols used from libc to
14018 # always be unresolved, which means just about no library would
14019 # ever link correctly. If we're not using GNU ld we use -z text
14020 # though, which does catch some bad symbols but isn't as heavy-handed
14022 no_undefined_flag_CXX='${wl}-z,text'
14023 allow_undefined_flag_CXX='${wl}-z,nodefs'
14024 archive_cmds_need_lc_CXX=no
14025 hardcode_shlibpath_var_CXX=no
14026 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14027 hardcode_libdir_separator_CXX=':'
14028 link_all_deplibs_CXX=yes
14029 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14030 runpath_var='LD_RUN_PATH'
14032 case $cc_basename in
14034 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14035 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14036 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
14037 '"$old_archive_cmds_CXX"
14038 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
14039 '"$reload_cmds_CXX"
14042 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14043 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14049 case $cc_basename in
14051 # NonStop-UX NCC 3.20
14052 # FIXME: insert proper C++ library support
14056 # FIXME: insert proper C++ library support
14063 # FIXME: insert proper C++ library support
14068 # FIXME: insert proper C++ library support
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14074 $as_echo "$ld_shlibs_CXX" >&6; }
14075 test "$ld_shlibs_CXX" = no && can_build_shared=no
14081 ## There is no encapsulation within the following macros, do not change
14082 ## the running order or otherwise move them around unless you know exactly
14083 ## what you are doing...
14084 # Dependencies to place before and after the object being linked:
14085 predep_objects_CXX=
14086 postdep_objects_CXX=
14089 compiler_lib_search_path_CXX=
14091 cat > conftest.$ac_ext <<_LT_EOF
14095 Foo (void) { a = 0; }
14102 _lt_libdeps_save_CFLAGS=$CFLAGS
14103 case "$CC $CFLAGS " in #(
14104 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14105 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14106 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14109 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14110 (eval $ac_compile) 2>&5
14112 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14113 test $ac_status = 0; }; then
14114 # Parse the compiler output and extract the necessary
14115 # objects, libraries and library flags.
14117 # Sentinel used to keep track of whether or not we are before
14118 # the conftest object file.
14119 pre_test_object_deps_done=no
14121 for p in `eval "$output_verbose_link_cmd"`; do
14122 case ${prev}${p} in
14125 # Some compilers place space between "-{L,R}" and the path.
14126 # Remove the space.
14127 if test $p = "-L" ||
14128 test $p = "-R"; then
14133 # Expand the sysroot to ease extracting the directories later.
14134 if test -z "$prev"; then
14136 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14137 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14138 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14142 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14144 if test "$pre_test_object_deps_done" = no; then
14147 # Internal compiler library paths should come after those
14148 # provided the user. The postdeps already come after the
14149 # user supplied libs so there is no need to process them.
14150 if test -z "$compiler_lib_search_path_CXX"; then
14151 compiler_lib_search_path_CXX="${prev}${p}"
14153 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14156 # The "-l" case would never come before the object being
14157 # linked, so don't bother handling this case.
14160 if test -z "$postdeps_CXX"; then
14161 postdeps_CXX="${prev}${p}"
14163 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14169 *.lto.$objext) ;; # Ignore GCC LTO objects
14171 # This assumes that the test object file only shows up
14172 # once in the compiler output.
14173 if test "$p" = "conftest.$objext"; then
14174 pre_test_object_deps_done=yes
14178 if test "$pre_test_object_deps_done" = no; then
14179 if test -z "$predep_objects_CXX"; then
14180 predep_objects_CXX="$p"
14182 predep_objects_CXX="$predep_objects_CXX $p"
14185 if test -z "$postdep_objects_CXX"; then
14186 postdep_objects_CXX="$p"
14188 postdep_objects_CXX="$postdep_objects_CXX $p"
14193 *) ;; # Ignore the rest.
14201 echo "libtool.m4: error: problem compiling CXX test program"
14204 $RM -f confest.$objext
14205 CFLAGS=$_lt_libdeps_save_CFLAGS
14207 # PORTME: override above test on systems where it is broken
14210 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14211 # hack all around it, let's just trust "g++" to DTRT.
14212 predep_objects_CXX=
14213 postdep_objects_CXX=
14218 case `$CC -V 2>&1 | sed 5q` in
14222 # The more standards-conforming stlport4 library is
14223 # incompatible with the Cstd library. Avoid specifying
14224 # it if it's in CXXFLAGS. Ignore libCrun as
14225 # -library=stlport4 depends on it.
14226 case " $CXX $CXXFLAGS " in
14227 *" -library=stlport4 "*)
14228 solaris_use_stlport4=yes
14232 if test "$solaris_use_stlport4" != yes; then
14233 postdeps_CXX='-library=Cstd -library=Crun'
14240 case $cc_basename in
14242 # The more standards-conforming stlport4 library is
14243 # incompatible with the Cstd library. Avoid specifying
14244 # it if it's in CXXFLAGS. Ignore libCrun as
14245 # -library=stlport4 depends on it.
14246 case " $CXX $CXXFLAGS " in
14247 *" -library=stlport4 "*)
14248 solaris_use_stlport4=yes
14252 # Adding this requires a known-good setup of shared libraries for
14253 # Sun compiler versions before 5.6, else PIC objects from an old
14254 # archive will be linked into the output, leading to subtle bugs.
14255 if test "$solaris_use_stlport4" != yes; then
14256 postdeps_CXX='-library=Cstd -library=Crun'
14264 case " $postdeps_CXX " in
14265 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14267 compiler_lib_search_dirs_CXX=
14268 if test -n "${compiler_lib_search_path_CXX}"; then
14269 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14302 lt_prog_compiler_wl_CXX=
14303 lt_prog_compiler_pic_CXX=
14304 lt_prog_compiler_static_CXX=
14307 # C++ specific cases for pic, static, wl, etc.
14308 if test "$GXX" = yes; then
14309 lt_prog_compiler_wl_CXX='-Wl,'
14310 lt_prog_compiler_static_CXX='-static'
14314 # All AIX code is PIC.
14315 if test "$host_cpu" = ia64; then
14316 # AIX 5 now supports IA64 processor
14317 lt_prog_compiler_static_CXX='-Bstatic'
14324 # see comment about AmigaOS4 .so support
14325 lt_prog_compiler_pic_CXX='-fPIC'
14328 # FIXME: we need at least 68020 code to build shared libraries, but
14329 # adding the `-m68020' flag to GCC prevents building anything better,
14331 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14336 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14337 # PIC is the default for these OSes.
14339 mingw* | cygwin* | os2* | pw32* | cegcc*)
14340 # This hack is so that the source file can tell whether it is being
14341 # built for inclusion in a dll (and should export symbols for example).
14342 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14343 # (--disable-auto-import) libraries
14344 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14346 darwin* | rhapsody*)
14347 # PIC is the default on this platform
14348 # Common symbols not allowed in MH_DYLIB files
14349 lt_prog_compiler_pic_CXX='-fno-common'
14352 # DJGPP does not support shared libraries at all
14353 lt_prog_compiler_pic_CXX=
14356 # PIC is the default for Haiku.
14357 # The "-static" flag exists, but is broken.
14358 lt_prog_compiler_static_CXX=
14361 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14362 # Instead, we relocate shared libraries at runtime.
14365 if test -d /usr/nec; then
14366 lt_prog_compiler_pic_CXX=-Kconform_pic
14370 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14371 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14372 # sets the default TLS model and affects inlining.
14377 lt_prog_compiler_pic_CXX='-fPIC'
14382 # QNX uses GNU C++, but need to define -shared option too, otherwise
14383 # it will coredump.
14384 lt_prog_compiler_pic_CXX='-fPIC -shared'
14387 lt_prog_compiler_pic_CXX='-fPIC'
14393 # All AIX code is PIC.
14394 if test "$host_cpu" = ia64; then
14395 # AIX 5 now supports IA64 processor
14396 lt_prog_compiler_static_CXX='-Bstatic'
14398 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14402 case $cc_basename in
14404 # Green Hills C++ Compiler
14405 # _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"
14409 mingw* | cygwin* | os2* | pw32* | cegcc*)
14410 # This hack is so that the source file can tell whether it is being
14411 # built for inclusion in a dll (and should export symbols for example).
14412 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14415 case $cc_basename in
14417 lt_prog_compiler_pic_CXX='-KPIC'
14420 # Green Hills C++ Compiler
14421 lt_prog_compiler_pic_CXX='-pic'
14427 freebsd* | dragonfly*)
14428 # FreeBSD uses GNU C++
14430 hpux9* | hpux10* | hpux11*)
14431 case $cc_basename in
14433 lt_prog_compiler_wl_CXX='-Wl,'
14434 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14435 if test "$host_cpu" != ia64; then
14436 lt_prog_compiler_pic_CXX='+Z'
14440 lt_prog_compiler_wl_CXX='-Wl,'
14441 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14447 lt_prog_compiler_pic_CXX='+Z'
14456 # This is c89, which is MS Visual C++ (no shared libs)
14457 # Anyone wants to do a port?
14459 irix5* | irix6* | nonstopux*)
14460 case $cc_basename in
14462 lt_prog_compiler_wl_CXX='-Wl,'
14463 lt_prog_compiler_static_CXX='-non_shared'
14464 # CC pic flag -KPIC is the default.
14470 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14471 case $cc_basename in
14474 lt_prog_compiler_wl_CXX='--backend -Wl,'
14475 lt_prog_compiler_pic_CXX='-fPIC'
14478 # old Intel C++ for x86_64 which still supported -KPIC.
14479 lt_prog_compiler_wl_CXX='-Wl,'
14480 lt_prog_compiler_pic_CXX='-KPIC'
14481 lt_prog_compiler_static_CXX='-static'
14484 # Intel C++, used to be incompatible with GCC.
14485 # ICC 10 doesn't accept -KPIC any more.
14486 lt_prog_compiler_wl_CXX='-Wl,'
14487 lt_prog_compiler_pic_CXX='-fPIC'
14488 lt_prog_compiler_static_CXX='-static'
14491 # Portland Group C++ compiler
14492 lt_prog_compiler_wl_CXX='-Wl,'
14493 lt_prog_compiler_pic_CXX='-fpic'
14494 lt_prog_compiler_static_CXX='-Bstatic'
14498 # Make sure the PIC flag is empty. It appears that all Alpha
14499 # Linux and Compaq Tru64 Unix objects are PIC.
14500 lt_prog_compiler_pic_CXX=
14501 lt_prog_compiler_static_CXX='-non_shared'
14503 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14504 # IBM XL 8.0, 9.0 on PPC and BlueGene
14505 lt_prog_compiler_wl_CXX='-Wl,'
14506 lt_prog_compiler_pic_CXX='-qpic'
14507 lt_prog_compiler_static_CXX='-qstaticlink'
14510 case `$CC -V 2>&1 | sed 5q` in
14513 lt_prog_compiler_pic_CXX='-KPIC'
14514 lt_prog_compiler_static_CXX='-Bstatic'
14515 lt_prog_compiler_wl_CXX='-Qoption ld '
14526 case $cc_basename in
14528 lt_prog_compiler_pic_CXX='-W c,exportall'
14534 netbsd* | netbsdelf*-gnu)
14537 # QNX uses GNU C++, but need to define -shared option too, otherwise
14538 # it will coredump.
14539 lt_prog_compiler_pic_CXX='-fPIC -shared'
14541 osf3* | osf4* | osf5*)
14542 case $cc_basename in
14544 lt_prog_compiler_wl_CXX='--backend -Wl,'
14547 # Rational C++ 2.4.1
14548 lt_prog_compiler_pic_CXX='-pic'
14551 # Digital/Compaq C++
14552 lt_prog_compiler_wl_CXX='-Wl,'
14553 # Make sure the PIC flag is empty. It appears that all Alpha
14554 # Linux and Compaq Tru64 Unix objects are PIC.
14555 lt_prog_compiler_pic_CXX=
14556 lt_prog_compiler_static_CXX='-non_shared'
14565 case $cc_basename in
14567 # Sun C++ 4.2, 5.x and Centerline C++
14568 lt_prog_compiler_pic_CXX='-KPIC'
14569 lt_prog_compiler_static_CXX='-Bstatic'
14570 lt_prog_compiler_wl_CXX='-Qoption ld '
14573 # Green Hills C++ Compiler
14574 lt_prog_compiler_pic_CXX='-PIC'
14581 case $cc_basename in
14584 lt_prog_compiler_pic_CXX='-pic'
14585 lt_prog_compiler_static_CXX='-Bstatic'
14589 lt_prog_compiler_pic_CXX='-pic'
14595 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14596 case $cc_basename in
14598 lt_prog_compiler_wl_CXX='-Wl,'
14599 lt_prog_compiler_pic_CXX='-KPIC'
14600 lt_prog_compiler_static_CXX='-Bstatic'
14605 case $cc_basename in
14607 # NonStop-UX NCC 3.20
14608 lt_prog_compiler_pic_CXX='-KPIC'
14617 lt_prog_compiler_can_build_shared_CXX=no
14623 # For platforms which do not support PIC, -DPIC is meaningless:
14625 lt_prog_compiler_pic_CXX=
14628 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14633 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14634 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14635 $as_echo_n "(cached) " >&6
14637 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14640 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14641 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14644 # Check to make sure the PIC flag actually works.
14646 if test -n "$lt_prog_compiler_pic_CXX"; then
14647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14648 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14649 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14650 $as_echo_n "(cached) " >&6
14652 lt_cv_prog_compiler_pic_works_CXX=no
14653 ac_outfile=conftest.$ac_objext
14654 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14655 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14656 # Insert the option either (1) after the last *FLAGS variable, or
14657 # (2) before a word containing "conftest.", or (3) at the end.
14658 # Note that $ac_compile itself does not contain backslashes and begins
14659 # with a dollar sign (not a hyphen), so the echo should work correctly.
14660 # The option is referenced via a variable to avoid confusing sed.
14661 lt_compile=`echo "$ac_compile" | $SED \
14662 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14663 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14664 -e 's:$: $lt_compiler_flag:'`
14665 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14666 (eval "$lt_compile" 2>conftest.err)
14668 cat conftest.err >&5
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 if (exit $ac_status) && test -s "$ac_outfile"; then
14671 # The compiler can only warn and ignore the option if not recognized
14672 # So say no if there are warnings other than the usual output.
14673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14674 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14675 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14676 lt_cv_prog_compiler_pic_works_CXX=yes
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14683 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14685 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14686 case $lt_prog_compiler_pic_CXX in
14688 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14691 lt_prog_compiler_pic_CXX=
14692 lt_prog_compiler_can_build_shared_CXX=no
14702 # Check to make sure the static flag actually works.
14704 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14706 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14707 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14708 $as_echo_n "(cached) " >&6
14710 lt_cv_prog_compiler_static_works_CXX=no
14711 save_LDFLAGS="$LDFLAGS"
14712 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14713 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14714 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14715 # The linker can only warn and ignore the option if not recognized
14716 # So say no if there are warnings
14717 if test -s conftest.err; then
14718 # Append any errors to the config.log.
14719 cat conftest.err 1>&5
14720 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14721 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14722 if diff conftest.exp conftest.er2 >/dev/null; then
14723 lt_cv_prog_compiler_static_works_CXX=yes
14726 lt_cv_prog_compiler_static_works_CXX=yes
14730 LDFLAGS="$save_LDFLAGS"
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14734 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14736 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14739 lt_prog_compiler_static_CXX=
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14746 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14747 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14748 $as_echo_n "(cached) " >&6
14750 lt_cv_prog_compiler_c_o_CXX=no
14751 $RM -r conftest 2>/dev/null
14755 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14757 lt_compiler_flag="-o out/conftest2.$ac_objext"
14758 # Insert the option either (1) after the last *FLAGS variable, or
14759 # (2) before a word containing "conftest.", or (3) at the end.
14760 # Note that $ac_compile itself does not contain backslashes and begins
14761 # with a dollar sign (not a hyphen), so the echo should work correctly.
14762 lt_compile=`echo "$ac_compile" | $SED \
14763 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14764 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14765 -e 's:$: $lt_compiler_flag:'`
14766 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14767 (eval "$lt_compile" 2>out/conftest.err)
14769 cat out/conftest.err >&5
14770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14771 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14773 # The compiler can only warn and ignore the option if not recognized
14774 # So say no if there are warnings
14775 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14776 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14777 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14778 lt_cv_prog_compiler_c_o_CXX=yes
14783 # SGI C++ compiler will create directory out/ii_files/ for
14784 # template instantiation
14785 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14786 $RM out/* && rmdir out
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14793 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14798 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14799 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14800 $as_echo_n "(cached) " >&6
14802 lt_cv_prog_compiler_c_o_CXX=no
14803 $RM -r conftest 2>/dev/null
14807 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14809 lt_compiler_flag="-o out/conftest2.$ac_objext"
14810 # Insert the option either (1) after the last *FLAGS variable, or
14811 # (2) before a word containing "conftest.", or (3) at the end.
14812 # Note that $ac_compile itself does not contain backslashes and begins
14813 # with a dollar sign (not a hyphen), so the echo should work correctly.
14814 lt_compile=`echo "$ac_compile" | $SED \
14815 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14816 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14817 -e 's:$: $lt_compiler_flag:'`
14818 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14819 (eval "$lt_compile" 2>out/conftest.err)
14821 cat out/conftest.err >&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14825 # The compiler can only warn and ignore the option if not recognized
14826 # So say no if there are warnings
14827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14828 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14829 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14830 lt_cv_prog_compiler_c_o_CXX=yes
14835 # SGI C++ compiler will create directory out/ii_files/ for
14836 # template instantiation
14837 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14838 $RM out/* && rmdir out
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14845 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14850 hard_links="nottested"
14851 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14852 # do not overwrite the value of need_locks provided by the user
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14854 $as_echo_n "checking if we can lock with hard links... " >&6; }
14857 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14859 ln conftest.a conftest.b 2>&5 || hard_links=no
14860 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14862 $as_echo "$hard_links" >&6; }
14863 if test "$hard_links" = no; then
14864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14865 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14875 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14877 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14878 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14881 # If we're using GNU nm, then we don't want the "-C" option.
14882 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14883 # Also, AIX nm treats weak defined symbols like other global defined
14884 # symbols, whereas GNU nm marks them as "W".
14885 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14886 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'
14888 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'
14892 export_symbols_cmds_CXX="$ltdll_cmds"
14894 cygwin* | mingw* | cegcc*)
14895 case $cc_basename in
14897 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14900 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'
14901 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14905 linux* | k*bsd*-gnu | gnu*)
14906 link_all_deplibs_CXX=no
14909 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14914 $as_echo "$ld_shlibs_CXX" >&6; }
14915 test "$ld_shlibs_CXX" = no && can_build_shared=no
14917 with_gnu_ld_CXX=$with_gnu_ld
14925 # Do we need to explicitly link libc?
14927 case "x$archive_cmds_need_lc_CXX" in
14929 # Assume -lc should be added
14930 archive_cmds_need_lc_CXX=yes
14932 if test "$enable_shared" = yes && test "$GCC" = yes; then
14933 case $archive_cmds_CXX in
14935 # FIXME: we may have to deal with multi-command sequences.
14938 # Test whether the compiler implicitly links with -lc since on some
14939 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14940 # to ld, don't add -lc before -lgcc.
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14942 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14943 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14944 $as_echo_n "(cached) " >&6
14947 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14949 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14950 (eval $ac_compile) 2>&5
14952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14953 test $ac_status = 0; } 2>conftest.err; then
14956 libobjs=conftest.$ac_objext
14958 wl=$lt_prog_compiler_wl_CXX
14959 pic_flag=$lt_prog_compiler_pic_CXX
14965 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14966 allow_undefined_flag_CXX=
14967 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14968 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14971 test $ac_status = 0; }
14973 lt_cv_archive_cmds_need_lc_CXX=no
14975 lt_cv_archive_cmds_need_lc_CXX=yes
14977 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14979 cat conftest.err 1>&5
14984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14985 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14986 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15055 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15057 library_names_spec=
15058 libname_spec='lib$name'
15062 postuninstall_cmds=
15066 shlibpath_overrides_runpath=unknown
15068 dynamic_linker="$host_os ld.so"
15069 sys_lib_dlsearch_path_spec="/lib /usr/lib"
15070 need_lib_prefix=unknown
15071 hardcode_into_libs=no
15073 # when you set need_version to no, make sure it does not cause -set_version
15074 # flags to be left without arguments
15075 need_version=unknown
15079 version_type=linux # correct to gnu/linux during the next big refactor
15080 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15081 shlibpath_var=LIBPATH
15083 # AIX 3 has no versioning support, so we append a major version to the name.
15084 soname_spec='${libname}${release}${shared_ext}$major'
15088 version_type=linux # correct to gnu/linux during the next big refactor
15091 hardcode_into_libs=yes
15092 if test "$host_cpu" = ia64; then
15093 # AIX 5 supports IA64
15094 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15095 shlibpath_var=LD_LIBRARY_PATH
15097 # With GCC up to 2.95.x, collect2 would create an import file
15098 # for dependence libraries. The import file would start with
15099 # the line `#! .'. This would cause the generated library to
15100 # depend on `.', always an invalid library. This was fixed in
15101 # development snapshots of GCC prior to 3.0.
15103 aix4 | aix4.[01] | aix4.[01].*)
15104 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15106 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15109 can_build_shared=no
15113 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15114 # soname into executable. Probably we can add versioning support to
15115 # collect2, so additional links can be useful in future.
15116 if test "$aix_use_runtimelinking" = yes; then
15117 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15118 # instead of lib<name>.a to let people know that these are not
15119 # typical AIX shared libraries.
15120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15122 # We preserve .a as extension for shared libraries through AIX4.2
15123 # and later when we are not doing run time linking.
15124 library_names_spec='${libname}${release}.a $libname.a'
15125 soname_spec='${libname}${release}${shared_ext}$major'
15127 shlibpath_var=LIBPATH
15134 # Since July 2007 AmigaOS4 officially supports .so libraries.
15135 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15139 library_names_spec='$libname.ixlibrary $libname.a'
15140 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15141 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'
15147 library_names_spec='${libname}${shared_ext}'
15148 dynamic_linker="$host_os ld.so"
15149 shlibpath_var=LIBRARY_PATH
15153 version_type=linux # correct to gnu/linux during the next big refactor
15155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156 soname_spec='${libname}${release}${shared_ext}$major'
15157 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15158 shlibpath_var=LD_LIBRARY_PATH
15159 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15160 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15161 # the default ld.so.conf also contains /usr/contrib/lib and
15162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15163 # libtool to hard-code these into programs
15166 cygwin* | mingw* | pw32* | cegcc*)
15167 version_type=windows
15172 case $GCC,$cc_basename in
15175 library_names_spec='$libname.dll.a'
15176 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15177 postinstall_cmds='base_file=`basename \${file}`~
15178 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15179 dldir=$destdir/`dirname \$dlpath`~
15180 test -d \$dldir || mkdir -p \$dldir~
15181 $install_prog $dir/$dlname \$dldir/$dlname~
15182 chmod a+x \$dldir/$dlname~
15183 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15184 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15186 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15187 dlpath=$dir/\$dldll~
15189 shlibpath_overrides_runpath=yes
15193 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15194 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15198 # MinGW DLLs use traditional 'lib' prefix
15199 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15202 # pw32 DLLs use 'pw' prefix rather than 'lib'
15203 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15206 dynamic_linker='Win32 ld.exe'
15211 libname_spec='$name'
15212 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15213 library_names_spec='${libname}.dll.lib'
15217 sys_lib_search_path_spec=
15220 for lt_path in $LIB
15223 # Let DOS variable expansion print the short 8.3 style file name.
15224 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15225 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15228 # Convert to MSYS style.
15229 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15232 # Convert to unix form, then to dos form, then back to unix form
15233 # but this time dos style (no spaces!) so that the unix form looks
15234 # like /cygdrive/c/PROGRA~1:/cygdr...
15235 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15236 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15237 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15240 sys_lib_search_path_spec="$LIB"
15241 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15242 # It is most probably a Windows format PATH.
15243 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15245 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15247 # FIXME: find the short name or the path components, as spaces are
15248 # common. (e.g. "Program Files" -> "PROGRA~1")
15252 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15253 postinstall_cmds='base_file=`basename \${file}`~
15254 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15255 dldir=$destdir/`dirname \$dlpath`~
15256 test -d \$dldir || mkdir -p \$dldir~
15257 $install_prog $dir/$dlname \$dldir/$dlname'
15258 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15259 dlpath=$dir/\$dldll~
15261 shlibpath_overrides_runpath=yes
15262 dynamic_linker='Win32 link.exe'
15266 # Assume MSVC wrapper
15267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15268 dynamic_linker='Win32 ld.exe'
15271 # FIXME: first we should search . and the directory the executable is in
15275 darwin* | rhapsody*)
15276 dynamic_linker="$host_os dyld"
15277 version_type=darwin
15280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15281 soname_spec='${libname}${release}${major}$shared_ext'
15282 shlibpath_overrides_runpath=yes
15283 shlibpath_var=DYLD_LIBRARY_PATH
15284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15286 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15290 version_type=linux # correct to gnu/linux during the next big refactor
15293 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15294 soname_spec='${libname}${release}${shared_ext}$major'
15295 shlibpath_var=LD_LIBRARY_PATH
15298 freebsd* | dragonfly*)
15299 # DragonFly does not have aout. When/if they implement a new
15300 # versioning mechanism, adjust this.
15301 if test -x /usr/bin/objformat; then
15302 objformat=`/usr/bin/objformat`
15305 freebsd[23].*) objformat=aout ;;
15306 *) objformat=elf ;;
15309 version_type=freebsd-$objformat
15310 case $version_type in
15312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15317 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15321 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15326 freebsd3.[01]* | freebsdelf3.[01]*)
15327 shlibpath_overrides_runpath=yes
15328 hardcode_into_libs=yes
15330 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15331 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15332 shlibpath_overrides_runpath=no
15333 hardcode_into_libs=yes
15335 *) # from 4.6 on, and DragonFly
15336 shlibpath_overrides_runpath=yes
15337 hardcode_into_libs=yes
15343 version_type=linux # correct to gnu/linux during the next big refactor
15346 dynamic_linker="$host_os runtime_loader"
15347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15348 soname_spec='${libname}${release}${shared_ext}$major'
15349 shlibpath_var=LIBRARY_PATH
15350 shlibpath_overrides_runpath=yes
15351 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15352 hardcode_into_libs=yes
15355 hpux9* | hpux10* | hpux11*)
15356 # Give a soname corresponding to the major version so that dld.sl refuses to
15357 # link against other versions.
15364 hardcode_into_libs=yes
15365 dynamic_linker="$host_os dld.so"
15366 shlibpath_var=LD_LIBRARY_PATH
15367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15369 soname_spec='${libname}${release}${shared_ext}$major'
15370 if test "X$HPUX_IA64_MODE" = X32; then
15371 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15373 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15375 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15379 hardcode_into_libs=yes
15380 dynamic_linker="$host_os dld.sl"
15381 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15382 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15384 soname_spec='${libname}${release}${shared_ext}$major'
15385 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15386 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15390 dynamic_linker="$host_os dld.sl"
15391 shlibpath_var=SHLIB_PATH
15392 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15394 soname_spec='${libname}${release}${shared_ext}$major'
15397 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15398 postinstall_cmds='chmod 555 $lib'
15399 # or fails outright, so override atomically:
15400 install_override_mode=555
15404 version_type=linux # correct to gnu/linux during the next big refactor
15407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15408 soname_spec='${libname}${release}${shared_ext}$major'
15409 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15410 shlibpath_var=LD_LIBRARY_PATH
15411 shlibpath_overrides_runpath=no
15412 hardcode_into_libs=yes
15415 irix5* | irix6* | nonstopux*)
15417 nonstopux*) version_type=nonstopux ;;
15419 if test "$lt_cv_prog_gnu_ld" = yes; then
15420 version_type=linux # correct to gnu/linux during the next big refactor
15427 soname_spec='${libname}${release}${shared_ext}$major'
15428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15430 irix5* | nonstopux*)
15431 libsuff= shlibsuff=
15434 case $LD in # libtool.m4 will add one of these switches to LD
15435 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15436 libsuff= shlibsuff= libmagic=32-bit;;
15437 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15438 libsuff=32 shlibsuff=N32 libmagic=N32;;
15439 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15440 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15441 *) libsuff= shlibsuff= libmagic=never-match;;
15445 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15446 shlibpath_overrides_runpath=no
15447 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15448 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15449 hardcode_into_libs=yes
15452 # No shared lib support for Linux oldld, aout, or coff.
15453 linux*oldld* | linux*aout* | linux*coff*)
15457 # This must be glibc/ELF.
15458 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15459 version_type=linux # correct to gnu/linux during the next big refactor
15462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15463 soname_spec='${libname}${release}${shared_ext}$major'
15464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15465 shlibpath_var=LD_LIBRARY_PATH
15466 shlibpath_overrides_runpath=no
15468 # Some binutils ld are patched to set DT_RUNPATH
15469 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15470 $as_echo_n "(cached) " >&6
15472 lt_cv_shlibpath_overrides_runpath=no
15473 save_LDFLAGS=$LDFLAGS
15474 save_libdir=$libdir
15475 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15476 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15488 if ac_fn_cxx_try_link "$LINENO"; then :
15489 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15490 lt_cv_shlibpath_overrides_runpath=yes
15493 rm -f core conftest.err conftest.$ac_objext \
15494 conftest$ac_exeext conftest.$ac_ext
15495 LDFLAGS=$save_LDFLAGS
15496 libdir=$save_libdir
15500 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15502 # This implies no fast_install, which is unacceptable.
15503 # Some rework will be needed to allow for fast_install
15504 # before this can be enabled.
15505 hardcode_into_libs=yes
15507 # Append ld.so.conf contents to the search path
15508 if test -f /etc/ld.so.conf; then
15509 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' ' '`
15510 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15513 # We used to test for /lib/ld.so.1 and disable shared libraries on
15514 # powerpc, because MkLinux only supported shared libraries with the
15515 # GNU dynamic linker. Since this was broken with cross compilers,
15516 # most powerpc-linux boxes support dynamic linking these days and
15517 # people can always --disable-shared, the test was removed, and we
15518 # assume the GNU/Linux dynamic linker is in use.
15519 dynamic_linker='GNU/Linux ld.so'
15526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15527 soname_spec='${libname}${release}${shared_ext}$major'
15528 shlibpath_var=LD_LIBRARY_PATH
15529 shlibpath_overrides_runpath=no
15530 hardcode_into_libs=yes
15531 dynamic_linker='NetBSD ld.elf_so'
15538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15541 dynamic_linker='NetBSD (a.out) ld.so'
15543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15544 soname_spec='${libname}${release}${shared_ext}$major'
15545 dynamic_linker='NetBSD ld.elf_so'
15547 shlibpath_var=LD_LIBRARY_PATH
15548 shlibpath_overrides_runpath=yes
15549 hardcode_into_libs=yes
15553 version_type=linux # correct to gnu/linux during the next big refactor
15554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15555 shlibpath_var=LD_LIBRARY_PATH
15556 shlibpath_overrides_runpath=yes
15563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15564 soname_spec='${libname}${release}${shared_ext}$major'
15565 shlibpath_var=LD_LIBRARY_PATH
15566 shlibpath_overrides_runpath=no
15567 hardcode_into_libs=yes
15568 dynamic_linker='ldqnx.so'
15573 sys_lib_dlsearch_path_spec="/usr/lib"
15575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15578 *) need_version=no ;;
15580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15582 shlibpath_var=LD_LIBRARY_PATH
15583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15585 openbsd2.[89] | openbsd2.[89].*)
15586 shlibpath_overrides_runpath=no
15589 shlibpath_overrides_runpath=yes
15593 shlibpath_overrides_runpath=yes
15598 libname_spec='$name'
15601 library_names_spec='$libname${shared_ext} $libname.a'
15602 dynamic_linker='OS/2 ld.exe'
15603 shlibpath_var=LIBPATH
15606 osf3* | osf4* | osf5*)
15610 soname_spec='${libname}${release}${shared_ext}$major'
15611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15612 shlibpath_var=LD_LIBRARY_PATH
15613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15622 version_type=linux # correct to gnu/linux during the next big refactor
15625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15626 soname_spec='${libname}${release}${shared_ext}$major'
15627 shlibpath_var=LD_LIBRARY_PATH
15628 shlibpath_overrides_runpath=yes
15629 hardcode_into_libs=yes
15630 # ldd complains unless libraries are executable
15631 postinstall_cmds='chmod +x $lib'
15636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15638 shlibpath_var=LD_LIBRARY_PATH
15639 shlibpath_overrides_runpath=yes
15640 if test "$with_gnu_ld" = yes; then
15647 version_type=linux # correct to gnu/linux during the next big refactor
15648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15649 soname_spec='${libname}${release}${shared_ext}$major'
15650 shlibpath_var=LD_LIBRARY_PATH
15651 case $host_vendor in
15653 shlibpath_overrides_runpath=no
15655 runpath_var=LD_RUN_PATH
15663 shlibpath_overrides_runpath=no
15664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15670 if test -d /usr/nec ;then
15671 version_type=linux # correct to gnu/linux during the next big refactor
15672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15673 soname_spec='$libname${shared_ext}.$major'
15674 shlibpath_var=LD_LIBRARY_PATH
15678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15679 version_type=freebsd-elf
15682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15683 soname_spec='${libname}${release}${shared_ext}$major'
15684 shlibpath_var=LD_LIBRARY_PATH
15685 shlibpath_overrides_runpath=yes
15686 hardcode_into_libs=yes
15687 if test "$with_gnu_ld" = yes; then
15688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15697 sys_lib_dlsearch_path_spec='/usr/lib'
15701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15702 version_type=linux # correct to gnu/linux during the next big refactor
15705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15706 shlibpath_var=LD_LIBRARY_PATH
15707 shlibpath_overrides_runpath=no
15708 hardcode_into_libs=yes
15712 version_type=linux # correct to gnu/linux during the next big refactor
15713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15714 soname_spec='${libname}${release}${shared_ext}$major'
15715 shlibpath_var=LD_LIBRARY_PATH
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15723 $as_echo "$dynamic_linker" >&6; }
15724 test "$dynamic_linker" = no && can_build_shared=no
15726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15727 if test "$GCC" = yes; then
15728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15777 hardcode_action_CXX=
15778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15779 test -n "$runpath_var_CXX" ||
15780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15782 # We can hardcode non-existent directories.
15783 if test "$hardcode_direct_CXX" != no &&
15784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15785 # have to relink, otherwise we might link with an installed library
15786 # when we should be linking with a yet-to-be-installed one
15787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15788 test "$hardcode_minus_L_CXX" != no; then
15789 # Linking always hardcodes the temporary library directory.
15790 hardcode_action_CXX=relink
15792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15793 hardcode_action_CXX=immediate
15796 # We cannot hardcode anything, or else we can only hardcode existing
15798 hardcode_action_CXX=unsupported
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15801 $as_echo "$hardcode_action_CXX" >&6; }
15803 if test "$hardcode_action_CXX" = relink ||
15804 test "$inherit_rpath_CXX" = yes; then
15805 # Fast installation is not supported
15806 enable_fast_install=no
15807 elif test "$shlibpath_overrides_runpath" = yes ||
15808 test "$enable_shared" = no; then
15809 # Fast installation is not necessary
15810 enable_fast_install=needless
15819 fi # test -n "$compiler"
15822 CFLAGS=$lt_save_CFLAGS
15826 with_gnu_ld=$lt_save_with_gnu_ld
15827 lt_cv_path_LDCXX=$lt_cv_path_LD
15828 lt_cv_path_LD=$lt_save_path_LD
15829 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15830 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15831 fi # test "$_lt_caught_CXX_error" != yes
15834 ac_cpp='$CPP $CPPFLAGS'
15835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15853 ac_config_commands="$ac_config_commands libtool"
15858 # Only expand once:
15862 LIBXMLXX_MODULES='libxml-2.0 >= 2.7.7 glibmm-2.4 >= 2.32.0'
15871 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15872 if test -n "$ac_tool_prefix"; then
15873 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15874 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15876 $as_echo_n "checking for $ac_word... " >&6; }
15877 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15878 $as_echo_n "(cached) " >&6
15880 case $PKG_CONFIG in
15882 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15886 for as_dir in $PATH
15889 test -z "$as_dir" && as_dir=.
15890 for ac_exec_ext in '' $ac_executable_extensions; do
15891 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15892 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15903 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15904 if test -n "$PKG_CONFIG"; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15906 $as_echo "$PKG_CONFIG" >&6; }
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15909 $as_echo "no" >&6; }
15914 if test -z "$ac_cv_path_PKG_CONFIG"; then
15915 ac_pt_PKG_CONFIG=$PKG_CONFIG
15916 # Extract the first word of "pkg-config", so it can be a program name with args.
15917 set dummy pkg-config; ac_word=$2
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15919 $as_echo_n "checking for $ac_word... " >&6; }
15920 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15921 $as_echo_n "(cached) " >&6
15923 case $ac_pt_PKG_CONFIG in
15925 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15929 for as_dir in $PATH
15932 test -z "$as_dir" && as_dir=.
15933 for ac_exec_ext in '' $ac_executable_extensions; do
15934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15935 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15946 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15947 if test -n "$ac_pt_PKG_CONFIG"; then
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15949 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15952 $as_echo "no" >&6; }
15955 if test "x$ac_pt_PKG_CONFIG" = x; then
15958 case $cross_compiling:$ac_tool_warned in
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15962 ac_tool_warned=yes ;;
15964 PKG_CONFIG=$ac_pt_PKG_CONFIG
15967 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15971 if test -n "$PKG_CONFIG"; then
15972 _pkg_min_version=0.9.0
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15974 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15975 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15977 $as_echo "yes" >&6; }
15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15980 $as_echo "no" >&6; }
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXMLXX" >&5
15987 $as_echo_n "checking for LIBXMLXX... " >&6; }
15989 if test -n "$LIBXMLXX_CFLAGS"; then
15990 pkg_cv_LIBXMLXX_CFLAGS="$LIBXMLXX_CFLAGS"
15991 elif test -n "$PKG_CONFIG"; then
15992 if test -n "$PKG_CONFIG" && \
15993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
15994 ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
15996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15997 test $ac_status = 0; }; then
15998 pkg_cv_LIBXMLXX_CFLAGS=`$PKG_CONFIG --cflags "$LIBXMLXX_MODULES" 2>/dev/null`
15999 test "x$?" != "x0" && pkg_failed=yes
16006 if test -n "$LIBXMLXX_LIBS"; then
16007 pkg_cv_LIBXMLXX_LIBS="$LIBXMLXX_LIBS"
16008 elif test -n "$PKG_CONFIG"; then
16009 if test -n "$PKG_CONFIG" && \
16010 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$LIBXMLXX_MODULES\""; } >&5
16011 ($PKG_CONFIG --exists --print-errors "$LIBXMLXX_MODULES") 2>&5
16013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16014 test $ac_status = 0; }; then
16015 pkg_cv_LIBXMLXX_LIBS=`$PKG_CONFIG --libs "$LIBXMLXX_MODULES" 2>/dev/null`
16016 test "x$?" != "x0" && pkg_failed=yes
16026 if test $pkg_failed = yes; then
16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16028 $as_echo "no" >&6; }
16030 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16031 _pkg_short_errors_supported=yes
16033 _pkg_short_errors_supported=no
16035 if test $_pkg_short_errors_supported = yes; then
16036 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16038 LIBXMLXX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$LIBXMLXX_MODULES" 2>&1`
16040 # Put the nasty error message in config.log where it belongs
16041 echo "$LIBXMLXX_PKG_ERRORS" >&5
16043 as_fn_error $? "Package requirements ($LIBXMLXX_MODULES) were not met:
16045 $LIBXMLXX_PKG_ERRORS
16047 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16048 installed software in a non-standard prefix.
16050 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16051 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16052 See the pkg-config man page for more details." "$LINENO" 5
16053 elif test $pkg_failed = untried; then
16054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16055 $as_echo "no" >&6; }
16056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16058 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16059 is in your PATH or set the PKG_CONFIG environment variable to the full
16060 path to pkg-config.
16062 Alternatively, you may set the environment variables LIBXMLXX_CFLAGS
16063 and LIBXMLXX_LIBS to avoid the need to call pkg-config.
16064 See the pkg-config man page for more details.
16066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16067 See \`config.log' for more details" "$LINENO" 5; }
16069 LIBXMLXX_CFLAGS=$pkg_cv_LIBXMLXX_CFLAGS
16070 LIBXMLXX_LIBS=$pkg_cv_LIBXMLXX_LIBS
16071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16072 $as_echo "yes" >&6; }
16077 ac_cpp='$CXXCPP $CPPFLAGS'
16078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083 for ac_header in string list map
16085 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16086 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16087 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16088 cat >>confdefs.h <<_ACEOF
16089 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16093 as_fn_error $? "required headers not found" "$LINENO" 5
16099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ library supports std::exception_ptr" >&5
16100 $as_echo_n "checking whether C++ library supports std::exception_ptr... " >&6; }
16101 if ${libxmlxx_cv_cxx_has_exception_ptr+:} false; then :
16102 $as_echo_n "(cached) " >&6
16105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106 /* end confdefs.h. */
16108 #include <exception>
16116 throw "custom error";
16120 std::exception_ptr ep = std::current_exception();
16121 std::rethrow_exception(ep);
16128 if ac_fn_cxx_try_compile "$LINENO"; then :
16129 libxmlxx_cv_cxx_has_exception_ptr='yes'
16131 libxmlxx_cv_cxx_has_exception_ptr='no'
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libxmlxx_cv_cxx_has_exception_ptr" >&5
16138 $as_echo "$libxmlxx_cv_cxx_has_exception_ptr" >&6; }
16140 if test "x${libxmlxx_cv_cxx_has_exception_ptr}" = 'xyes'; then :
16142 $as_echo "#define LIBXMLXX_HAVE_EXCEPTION_PTR 1" >>confdefs.h
16147 # Extract the first word of "perl", so it can be a program name with args.
16148 set dummy perl; ac_word=$2
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16150 $as_echo_n "checking for $ac_word... " >&6; }
16151 if ${ac_cv_path_PERL+:} false; then :
16152 $as_echo_n "(cached) " >&6
16156 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16163 test -z "$as_dir" && as_dir=.
16164 for ac_exec_ext in '' $ac_executable_extensions; do
16165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16166 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
16167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16174 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
16178 PERL=$ac_cv_path_PERL
16179 if test -n "$PERL"; then
16180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
16181 $as_echo "$PERL" >&6; }
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16184 $as_echo "no" >&6; }
16189 # Extract the first word of "dot", so it can be a program name with args.
16190 set dummy dot; ac_word=$2
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16192 $as_echo_n "checking for $ac_word... " >&6; }
16193 if ${ac_cv_path_DOT+:} false; then :
16194 $as_echo_n "(cached) " >&6
16198 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
16201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16202 for as_dir in $PATH
16205 test -z "$as_dir" && as_dir=.
16206 for ac_exec_ext in '' $ac_executable_extensions; do
16207 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16208 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
16209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16216 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
16220 DOT=$ac_cv_path_DOT
16221 if test -n "$DOT"; then
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
16223 $as_echo "$DOT" >&6; }
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16226 $as_echo "no" >&6; }
16230 # Extract the first word of "doxygen", so it can be a program name with args.
16231 set dummy doxygen; ac_word=$2
16232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16233 $as_echo_n "checking for $ac_word... " >&6; }
16234 if ${ac_cv_path_DOXYGEN+:} false; then :
16235 $as_echo_n "(cached) " >&6
16239 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
16242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16243 for as_dir in $PATH
16246 test -z "$as_dir" && as_dir=.
16247 for ac_exec_ext in '' $ac_executable_extensions; do
16248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16249 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
16250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16257 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
16261 DOXYGEN=$ac_cv_path_DOXYGEN
16262 if test -n "$DOXYGEN"; then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
16264 $as_echo "$DOXYGEN" >&6; }
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16267 $as_echo "no" >&6; }
16271 # Extract the first word of "xsltproc", so it can be a program name with args.
16272 set dummy xsltproc; ac_word=$2
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16274 $as_echo_n "checking for $ac_word... " >&6; }
16275 if ${ac_cv_path_XSLTPROC+:} false; then :
16276 $as_echo_n "(cached) " >&6
16280 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
16283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16284 for as_dir in $PATH
16287 test -z "$as_dir" && as_dir=.
16288 for ac_exec_ext in '' $ac_executable_extensions; do
16289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16290 ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
16291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16298 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
16302 XSLTPROC=$ac_cv_path_XSLTPROC
16303 if test -n "$XSLTPROC"; then
16304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
16305 $as_echo "$XSLTPROC" >&6; }
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16308 $as_echo "no" >&6; }
16312 # Check whether --enable-documentation was given.
16313 if test "${enable_documentation+set}" = set; then :
16314 enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
16316 ENABLE_DOCUMENTATION=auto
16319 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16322 if test "x$MMDOCTOOLDIR" = x; then :
16323 mm_err='The mm-common-util module is available, but the installation of mm-common on this
16324 machine is missing the shared documentation utilities of the GNOME C++
16325 bindings. It may be necessary to upgrade to a more recent release of
16326 mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
16327 elif test "x$PERL" = xperl; then :
16328 mm_err='Perl is required for installing the documentation.'
16329 elif test "x$USE_MAINTAINER_MODE" != xno; then :
16331 test "x$DOT" != xdot || mm_err=' dot'
16332 test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
16333 test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
16334 test -z "$mm_err" || mm_err='The documentation cannot be generated because
16335 not all of the required tools are available:'$mm_err
16338 if test -z "$mm_err"; then :
16339 ENABLE_DOCUMENTATION=yes
16340 elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
16341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16343 as_fn_error $? "$mm_err
16344 See \`config.log' for more details" "$LINENO" 5; }
16346 ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
16347 $as_echo "$as_me: WARNING: $mm_err" >&2;}
16351 if test "x$ENABLE_DOCUMENTATION" = xyes; then
16352 ENABLE_DOCUMENTATION_TRUE=
16353 ENABLE_DOCUMENTATION_FALSE='#'
16355 ENABLE_DOCUMENTATION_TRUE='#'
16356 ENABLE_DOCUMENTATION_FALSE=
16364 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
16366 $as_echo_n "checking for libstdc documentation... " >&6; }
16368 # Check whether --with-libstdc-doc was given.
16369 if test "${with_libstdc_doc+set}" = set; then :
16370 withval=$with_libstdc_doc;
16371 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16372 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16373 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16374 test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
16375 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16379 mm_tagname="libstdc++.tag"
16380 mm_tagpath=$mm_tagname
16383 # Prepend working direcory if the tag file path starts with ./ or ../
16384 case $mm_tagpath in #(
16385 .[\\/]*|..[\\/]*) :
16386 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16391 # If no local directory was specified, get the default from the .pc file
16392 if test "x$mm_htmlrefdir" = x; then :
16394 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
16396 # If the user specified a Web URL, allow it to override the public location
16397 case $mm_htmlrefdir in #(
16398 http://*|https://*) :
16399 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16402 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
16403 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16404 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16407 # The user-supplied tag-file name takes precedence if it includes the path
16408 case $mm_tagpath in #(
16413 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
16414 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16417 # Remove trailing slashes and translate to URI
16418 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16419 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16422 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16424 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
16426 $as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
16428 if test "x$mm_htmlrefdir" = x; then :
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
16430 $as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
16432 if test "x$DOCINSTALL_FLAGS" = x; then :
16433 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16435 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16439 if test "x$mm_htmlrefpub" = x; then :
16442 mm_val="$mm_tagpath=$mm_htmlrefpub"
16444 if test "x$DOXYGEN_TAGFILES" = x; then :
16445 DOXYGEN_TAGFILES=\"$mm_val\"
16447 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16450 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
16452 $as_echo_n "checking for libsigc documentation... " >&6; }
16454 # Check whether --with-libsigc-doc was given.
16455 if test "${with_libsigc_doc+set}" = set; then :
16456 withval=$with_libsigc_doc;
16457 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16458 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16459 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16460 test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
16461 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16465 mm_tagname="libsigc++-2.0.tag"
16466 mm_tagpath=$mm_tagname
16469 # Prepend working direcory if the tag file path starts with ./ or ../
16470 case $mm_tagpath in #(
16471 .[\\/]*|..[\\/]*) :
16472 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16477 # If no local directory was specified, get the default from the .pc file
16478 if test "x$mm_htmlrefdir" = x; then :
16480 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
16482 # If the user specified a Web URL, allow it to override the public location
16483 case $mm_htmlrefdir in #(
16484 http://*|https://*) :
16485 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16488 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
16489 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16490 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16493 # The user-supplied tag-file name takes precedence if it includes the path
16494 case $mm_tagpath in #(
16499 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
16500 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16503 # Remove trailing slashes and translate to URI
16504 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16505 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16508 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16510 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
16512 $as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
16514 if test "x$mm_htmlrefdir" = x; then :
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
16516 $as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
16518 if test "x$DOCINSTALL_FLAGS" = x; then :
16519 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16521 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16525 if test "x$mm_htmlrefpub" = x; then :
16528 mm_val="$mm_tagpath=$mm_htmlrefpub"
16530 if test "x$DOXYGEN_TAGFILES" = x; then :
16531 DOXYGEN_TAGFILES=\"$mm_val\"
16533 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16536 if test "x$ENABLE_DOCUMENTATION" != xno; then :
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
16538 $as_echo_n "checking for glibmm documentation... " >&6; }
16540 # Check whether --with-glibmm-doc was given.
16541 if test "${with_glibmm_doc+set}" = set; then :
16542 withval=$with_glibmm_doc;
16543 mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16544 mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16545 mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16546 test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
16547 test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16551 mm_tagname="glibmm-2.4.tag"
16552 mm_tagpath=$mm_tagname
16555 # Prepend working direcory if the tag file path starts with ./ or ../
16556 case $mm_tagpath in #(
16557 .[\\/]*|..[\\/]*) :
16558 mm_tagpath=`pwd`/$mm_tagpath ;; #(
16563 # If no local directory was specified, get the default from the .pc file
16564 if test "x$mm_htmlrefdir" = x; then :
16566 mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
16568 # If the user specified a Web URL, allow it to override the public location
16569 case $mm_htmlrefdir in #(
16570 http://*|https://*) :
16571 mm_htmlrefpub=$mm_htmlrefdir ;; #(
16574 mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
16575 test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16576 test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16579 # The user-supplied tag-file name takes precedence if it includes the path
16580 case $mm_tagpath in #(
16585 mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
16586 test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16589 # Remove trailing slashes and translate to URI
16590 mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16591 mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16594 $as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16596 if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
16598 $as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
16600 if test "x$mm_htmlrefdir" = x; then :
16601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
16602 $as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
16604 if test "x$DOCINSTALL_FLAGS" = x; then :
16605 DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16607 DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16611 if test "x$mm_htmlrefpub" = x; then :
16614 mm_val="$mm_tagpath=$mm_htmlrefpub"
16616 if test "x$DOXYGEN_TAGFILES" = x; then :
16617 DOXYGEN_TAGFILES=\"$mm_val\"
16619 DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16623 # Evaluate the --enable-warnings=level option.
16624 # Check whether --enable-warnings was given.
16625 if test "${enable_warnings+set}" = set; then :
16626 enableval=$enable_warnings; mm_enable_warnings=$enableval
16628 mm_enable_warnings=min
16631 case $ac_compile in #(
16633 mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16635 mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16637 as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16640 $as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16641 mm_deprecation_flags=
16643 case $mm_enable_warnings in #(
16645 mm_warning_flags= ;; #(
16647 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long" ;; #(
16649 mm_warning_flags="-pedantic -Wall -Wextra -Wformat-security -Wshadow -Wno-long-long -Werror"
16650 for mm_prefix in G GLIBMM SIGCXX
16652 mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
16655 mm_warning_flags="-Wall" ;;
16657 if test "x$mm_warning_flags" != x; then :
16659 # Keep in mind that the dummy source must be devoid of any
16660 # problems that might cause diagnostics.
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16664 int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16667 for mm_flag in $mm_warning_flags
16669 # Test whether the compiler accepts the flag. Look at standard output,
16670 # since GCC only shows a warning message if an option is not supported.
16671 mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16672 rm -f "conftest.${OBJEXT-o}"
16674 if test "x$mm_cc_out" = x; then :
16675 if test "x$mm_tested_flags" = x; then :
16676 mm_tested_flags=$mm_flag
16678 mm_tested_flags="$mm_tested_flags $mm_flag"
16687 rm -f "$mm_conftest"
16690 mm_all_flags=$mm_deprecation_flags$mm_tested_flags
16691 LIBXMLXX_WXXFLAGS=$mm_all_flags
16693 test "x$mm_all_flags" != x || mm_all_flags=none
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16695 $as_echo "$mm_all_flags" >&6; }
16697 # Offer the ability to omit some API from the library.
16698 # Check whether --enable-deprecated-api was given.
16699 if test "${enable_deprecated_api+set}" = set; then :
16700 enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
16702 mm_enable_deprecated_api=yes
16704 if test "x$mm_enable_deprecated_api" = xno; then :
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
16706 Do not use this option for distribution packages." >&5
16707 $as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
16708 Do not use this option for distribution packages." >&2;}
16710 { $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
16711 $as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
16713 if test "x$mm_enable_deprecated_api" = xno; then
16714 DISABLE_DEPRECATED_API_TRUE=
16715 DISABLE_DEPRECATED_API_FALSE='#'
16717 DISABLE_DEPRECATED_API_TRUE='#'
16718 DISABLE_DEPRECATED_API_FALSE=
16721 if test "x$mm_enable_deprecated_api" = xno; then :
16723 $as_echo "#define LIBXMLXX_DISABLE_DEPRECATED 1" >>confdefs.h
16728 # Extract the first word of "xmllint", so it can be a program name with args.
16729 set dummy xmllint; ac_word=$2
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16731 $as_echo_n "checking for $ac_word... " >&6; }
16732 if ${ac_cv_path_XMLLINT+:} false; then :
16733 $as_echo_n "(cached) " >&6
16737 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
16740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16741 for as_dir in $PATH
16744 test -z "$as_dir" && as_dir=.
16745 for ac_exec_ext in '' $ac_executable_extensions; do
16746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16747 ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
16748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16755 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="xmllint"
16759 XMLLINT=$ac_cv_path_XMLLINT
16760 if test -n "$XMLLINT"; then
16761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
16762 $as_echo "$XMLLINT" >&6; }
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16765 $as_echo "no" >&6; }
16770 for ac_prog in db2latex docbook2latex
16772 # Extract the first word of "$ac_prog", so it can be a program name with args.
16773 set dummy $ac_prog; ac_word=$2
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16775 $as_echo_n "checking for $ac_word... " >&6; }
16776 if ${ac_cv_path_DB2LATEX+:} false; then :
16777 $as_echo_n "(cached) " >&6
16781 ac_cv_path_DB2LATEX="$DB2LATEX" # Let the user override the test with a path.
16784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16785 for as_dir in $PATH
16788 test -z "$as_dir" && as_dir=.
16789 for ac_exec_ext in '' $ac_executable_extensions; do
16790 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16791 ac_cv_path_DB2LATEX="$as_dir/$ac_word$ac_exec_ext"
16792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16802 DB2LATEX=$ac_cv_path_DB2LATEX
16803 if test -n "$DB2LATEX"; then
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DB2LATEX" >&5
16805 $as_echo "$DB2LATEX" >&6; }
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16808 $as_echo "no" >&6; }
16812 test -n "$DB2LATEX" && break
16814 test -n "$DB2LATEX" || DB2LATEX="db2latex"
16817 if $PERL -e "require v5.6.0; exit 0;" >&5 2>&5; then :
16820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16822 as_fn_error $? "At least Perl 5.6.0 is required to build $PACKAGE_NAME.
16823 See \`config.log' for more details" "$LINENO" 5; }
16826 ac_config_files="$ac_config_files Makefile libxml++/Makefile examples/Makefile tests/Makefile docs/Makefile docs/reference/Doxyfile MSVC_Net2010/libxml++/libxml++.rc ${LIBXMLXX_MODULE_NAME}.pc:libxml++.pc.in"
16829 # Copy the generated configuration headers into the MSVC project directories.
16830 ac_config_commands="$ac_config_commands MSVC_Net2010/libxml++/libxml++config.h"
16833 cat >confcache <<\_ACEOF
16834 # This file is a shell script that caches the results of configure
16835 # tests run on this system so they can be shared between configure
16836 # scripts and configure runs, see configure's option --config-cache.
16837 # It is not useful on other systems. If it contains results you don't
16838 # want to keep, you may remove or edit it.
16840 # config.status only pays attention to the cache file if you give it
16841 # the --recheck option to rerun configure.
16843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16845 # following values.
16849 # The following way of writing the cache mishandles newlines in values,
16850 # but we know of no workaround that is simple, portable, and efficient.
16851 # So, we kill variables containing newlines.
16852 # Ultrix sh set writes to stderr and can't be redirected directly,
16853 # and sets the high bit in the cache file unless we assign to the vars.
16855 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16856 eval ac_val=\$$ac_var
16860 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16864 _ | IFS | as_nl) ;; #(
16865 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16866 *) { eval $ac_var=; unset $ac_var;} ;;
16872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16873 *${as_nl}ac_space=\ *)
16874 # `set' does not quote correctly, so add quotes: double-quote
16875 # substitution turns \\\\ into \\, and sed turns \\ into \.
16878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16881 # `set' quotes correctly as required by POSIX, so do not add quotes.
16882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16896 if test -w "$cache_file"; then
16897 if test "x$cache_file" != "x/dev/null"; then
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16899 $as_echo "$as_me: updating cache $cache_file" >&6;}
16900 if test ! -f "$cache_file" || test -h "$cache_file"; then
16901 cat confcache >"$cache_file"
16903 case $cache_file in #(
16905 mv -f confcache "$cache_file"$$ &&
16906 mv -f "$cache_file"$$ "$cache_file" ;; #(
16908 mv -f confcache "$cache_file" ;;
16913 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16914 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16920 # Let make expand exec_prefix.
16921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16923 DEFS=-DHAVE_CONFIG_H
16928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16929 # 1. Remove the extension, and $U if already installed.
16930 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16931 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16933 # will be set to the directory where LIBOBJS objects are built.
16934 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16935 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16937 LIBOBJS=$ac_libobjs
16939 LTLIBOBJS=$ac_ltlibobjs
16942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16943 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16944 if test -n "$am_sleep_pid"; then
16945 # Hide warnings about reused PIDs.
16946 wait $am_sleep_pid 2>/dev/null
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16949 $as_echo "done" >&6; }
16950 if test -n "$EXEEXT"; then
16952 am__EXEEXT_FALSE='#'
16954 am__EXEEXT_TRUE='#'
16958 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16959 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16962 if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16963 as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16967 as_fn_error $? "conditional \"AMDEP\" was never defined.
16968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16970 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16971 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16974 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16975 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16978 if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16979 as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16982 if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
16983 as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
16984 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16987 : "${CONFIG_STATUS=./config.status}"
16989 ac_clean_files_save=$ac_clean_files
16990 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16992 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16994 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16996 # Generated by $as_me.
16997 # Run this file to recreate the current configuration.
16998 # Compiler output produced by configure, useful for debugging
16999 # configure, is in config.log if it exists.
17002 ac_cs_recheck=false
17005 SHELL=\${CONFIG_SHELL-$SHELL}
17008 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17009 ## -------------------- ##
17010 ## M4sh Initialization. ##
17011 ## -------------------- ##
17013 # Be more Bourne compatible
17014 DUALCASE=1; export DUALCASE # for MKS sh
17015 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17018 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17019 # is contrary to our usage. Disable this feature.
17020 alias -g '${1+"$@"}'='"$@"'
17021 setopt NO_GLOB_SUBST
17023 case `(set -o) 2>/dev/null` in #(
17035 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17036 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17037 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17038 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17039 # Prefer a ksh shell builtin over an external printf program on Solaris,
17040 # but without wasting forks for bash or zsh.
17041 if test -z "$BASH_VERSION$ZSH_VERSION" \
17042 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17043 as_echo='print -r --'
17044 as_echo_n='print -rn --'
17045 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17046 as_echo='printf %s\n'
17047 as_echo_n='printf %s'
17049 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17050 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17051 as_echo_n='/usr/ucb/echo -n'
17053 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17054 as_echo_n_body='eval
17058 expr "X$arg" : "X\\(.*\\)$as_nl";
17059 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17061 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17063 export as_echo_n_body
17064 as_echo_n='sh -c $as_echo_n_body as_echo'
17066 export as_echo_body
17067 as_echo='sh -c $as_echo_body as_echo'
17070 # The user is always right.
17071 if test "${PATH_SEPARATOR+set}" != set; then
17073 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17074 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17081 # We need space, tab and new line, in precisely that order. Quoting is
17082 # there to prevent editors from complaining about space-tab.
17083 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17084 # splitting by setting IFS to empty value.)
17087 # Find who we are. Look in the path if we contain no directory separator.
17090 *[\\/]* ) as_myself=$0 ;;
17091 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17092 for as_dir in $PATH
17095 test -z "$as_dir" && as_dir=.
17096 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17102 # We did not find ourselves, most probably we were run as `sh COMMAND'
17103 # in which case we are not to be found in the path.
17104 if test "x$as_myself" = x; then
17107 if test ! -f "$as_myself"; then
17108 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17112 # Unset variables that we do not need and which cause bugs (e.g. in
17113 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17114 # suppresses any "Segmentation fault" message there. '((' could
17115 # trigger a bug in pdksh 5.2.14.
17116 for as_var in BASH_ENV ENV MAIL MAILPATH
17117 do eval test x\${$as_var+set} = xset \
17118 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17131 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17134 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17135 # ----------------------------------------
17136 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17137 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17138 # script with STATUS, using 1 if that was 0.
17141 as_status=$1; test $as_status -eq 0 && as_status=1
17143 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17144 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17146 $as_echo "$as_me: error: $2" >&2
17147 as_fn_exit $as_status
17151 # as_fn_set_status STATUS
17152 # -----------------------
17153 # Set $? to STATUS, without forking.
17154 as_fn_set_status ()
17157 } # as_fn_set_status
17159 # as_fn_exit STATUS
17160 # -----------------
17161 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17165 as_fn_set_status $1
17171 # Portably unset VAR.
17174 { eval $1=; unset $1;}
17176 as_unset=as_fn_unset
17177 # as_fn_append VAR VALUE
17178 # ----------------------
17179 # Append the text in VALUE to the end of the definition contained in VAR. Take
17180 # advantage of any shell optimizations that allow amortized linear growth over
17181 # repeated appends, instead of the typical quadratic growth present in naive
17183 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17184 eval 'as_fn_append ()
17195 # as_fn_arith ARG...
17196 # ------------------
17197 # Perform arithmetic evaluation on the ARGs, and store the result in the
17198 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17199 # must be portable across $(()) and expr.
17200 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17201 eval 'as_fn_arith ()
17208 as_val=`expr "$@" || test $? -eq 1`
17213 if expr a : '\(a\)' >/dev/null 2>&1 &&
17214 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17220 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17221 as_basename=basename
17226 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17232 as_me=`$as_basename -- "$0" ||
17233 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17234 X"$0" : 'X\(//\)$' \| \
17235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17237 sed '/^.*\/\([^/][^/]*\)\/*$/{
17251 # Avoid depending upon Character Ranges.
17252 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17253 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17254 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17255 as_cr_digits='0123456789'
17256 as_cr_alnum=$as_cr_Letters$as_cr_digits
17258 ECHO_C= ECHO_N= ECHO_T=
17259 case `echo -n x` in #(((((
17261 case `echo 'xy\c'` in
17262 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17264 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17271 rm -f conf$$ conf$$.exe conf$$.file
17272 if test -d conf$$.dir; then
17273 rm -f conf$$.dir/conf$$.file
17276 mkdir conf$$.dir 2>/dev/null
17278 if (echo >conf$$.file) 2>/dev/null; then
17279 if ln -s conf$$.file conf$$ 2>/dev/null; then
17281 # ... but there are two gotchas:
17282 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17283 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17284 # In both cases, we have to default to `cp -pR'.
17285 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17287 elif ln conf$$.file conf$$ 2>/dev/null; then
17295 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17296 rmdir conf$$.dir 2>/dev/null
17301 # Create "$as_dir" as a directory, including parents if necessary.
17306 -*) as_dir=./$as_dir;;
17308 test -d "$as_dir" || eval $as_mkdir_p || {
17312 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17313 *) as_qdir=$as_dir;;
17315 as_dirs="'$as_qdir' $as_dirs"
17316 as_dir=`$as_dirname -- "$as_dir" ||
17317 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17318 X"$as_dir" : 'X\(//\)[^/]' \| \
17319 X"$as_dir" : 'X\(//\)$' \| \
17320 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17321 $as_echo X"$as_dir" |
17322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17326 /^X\(\/\/\)[^/].*/{
17339 test -d "$as_dir" && break
17341 test -z "$as_dirs" || eval "mkdir $as_dirs"
17342 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17346 if mkdir -p . 2>/dev/null; then
17347 as_mkdir_p='mkdir -p "$as_dir"'
17349 test -d ./-p && rmdir ./-p
17354 # as_fn_executable_p FILE
17355 # -----------------------
17356 # Test if FILE is an executable regular file.
17357 as_fn_executable_p ()
17359 test -f "$1" && test -x "$1"
17360 } # as_fn_executable_p
17361 as_test_x='test -x'
17362 as_executable_p=as_fn_executable_p
17364 # Sed expression to map a string onto a valid CPP name.
17365 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17367 # Sed expression to map a string onto a valid variable name.
17368 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17372 ## ----------------------------------- ##
17373 ## Main body of $CONFIG_STATUS script. ##
17374 ## ----------------------------------- ##
17376 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17379 # Save the log message, to keep $0 and so on meaningful, and to
17380 # report actual input values of CONFIG_FILES etc. instead of their
17381 # values after options handling.
17383 This file was extended by libxml++ $as_me 2.91.2, which was
17384 generated by GNU Autoconf 2.69. Invocation command line was
17386 CONFIG_FILES = $CONFIG_FILES
17387 CONFIG_HEADERS = $CONFIG_HEADERS
17388 CONFIG_LINKS = $CONFIG_LINKS
17389 CONFIG_COMMANDS = $CONFIG_COMMANDS
17392 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17397 case $ac_config_files in *"
17398 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17401 case $ac_config_headers in *"
17402 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17407 # Files that config.status was made for.
17408 config_files="$ac_config_files"
17409 config_headers="$ac_config_headers"
17410 config_commands="$ac_config_commands"
17414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17416 \`$as_me' instantiates files and other configuration actions
17417 from templates according to the current configuration. Unless the files
17418 and actions are specified as TAGs, all are instantiated by default.
17420 Usage: $0 [OPTION]... [TAG]...
17422 -h, --help print this help, then exit
17423 -V, --version print version number and configuration settings, then exit
17424 --config print configuration, then exit
17425 -q, --quiet, --silent
17426 do not print progress messages
17427 -d, --debug don't remove temporary files
17428 --recheck update $as_me by reconfiguring in the same conditions
17429 --file=FILE[:TEMPLATE]
17430 instantiate the configuration file FILE
17431 --header=FILE[:TEMPLATE]
17432 instantiate the configuration header FILE
17434 Configuration files:
17437 Configuration headers:
17440 Configuration commands:
17443 Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=libxml%2B%2B>.
17444 libxml++ home page: <http://libxmlplusplus.sourceforge.net/>."
17447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17448 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17450 libxml++ config.status 2.91.2
17451 configured by $0, generated by GNU Autoconf 2.69,
17452 with options \\"\$ac_cs_config\\"
17454 Copyright (C) 2012 Free Software Foundation, Inc.
17455 This config.status script is free software; the Free Software Foundation
17456 gives unlimited permission to copy, distribute and modify it."
17463 test -n "\$AWK" || AWK=awk
17466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17467 # The default lists apply if the user does not specify any file.
17473 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17474 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17478 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17490 # Handling of the options.
17491 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17493 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17494 $as_echo "$ac_cs_version"; exit ;;
17495 --config | --confi | --conf | --con | --co | --c )
17496 $as_echo "$ac_cs_config"; exit ;;
17497 --debug | --debu | --deb | --de | --d | -d )
17499 --file | --fil | --fi | --f )
17502 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17503 '') as_fn_error $? "missing file argument" ;;
17505 as_fn_append CONFIG_FILES " '$ac_optarg'"
17506 ac_need_defaults=false;;
17507 --header | --heade | --head | --hea )
17510 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17512 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17513 ac_need_defaults=false;;
17515 # Conflict between --help and --header
17516 as_fn_error $? "ambiguous option: \`$1'
17517 Try \`$0 --help' for more information.";;
17518 --help | --hel | -h )
17519 $as_echo "$ac_cs_usage"; exit ;;
17520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17521 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17524 # This is an error.
17525 -*) as_fn_error $? "unrecognized option: \`$1'
17526 Try \`$0 --help' for more information." ;;
17528 *) as_fn_append ac_config_targets " $1"
17529 ac_need_defaults=false ;;
17535 ac_configure_extra_args=
17537 if $ac_cs_silent; then
17539 ac_configure_extra_args="$ac_configure_extra_args --silent"
17543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17544 if \$ac_cs_recheck; then
17545 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17547 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17548 CONFIG_SHELL='$SHELL'
17549 export CONFIG_SHELL
17554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17558 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17559 ## Running $as_me. ##
17565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17569 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17572 # The HP-UX ksh and POSIX shell print the target directory to stdout
17573 # if CDPATH is set.
17574 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17576 sed_quote_subst='$sed_quote_subst'
17577 double_quote_subst='$double_quote_subst'
17578 delay_variable_subst='$delay_variable_subst'
17579 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17580 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17581 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17582 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17583 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17584 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17585 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17586 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17587 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17588 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17589 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17590 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17591 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17592 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17593 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17594 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17595 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17596 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17597 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17598 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17599 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17600 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17601 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17602 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17603 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17604 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17605 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17606 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17607 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17608 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17609 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17610 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17611 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17612 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17613 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17614 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17615 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17616 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17617 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17618 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17619 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17620 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17621 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17622 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17623 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17624 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17625 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17626 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17627 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17628 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17629 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17630 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17631 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17632 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17633 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17634 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17635 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17636 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"`'
17637 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17638 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17639 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17640 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17641 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17642 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17643 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17644 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17645 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17646 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17647 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17648 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17649 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17650 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17651 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17652 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17653 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17654 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17655 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17656 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17657 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17658 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17659 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17660 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17661 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17662 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17663 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17664 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17665 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17666 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17667 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17668 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17669 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17670 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17671 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17672 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17673 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17674 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17675 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17676 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17677 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17678 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17679 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17680 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17681 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17682 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17683 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17684 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17685 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17686 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17687 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17688 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17689 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17690 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17691 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17692 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17693 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17694 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17695 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17696 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17697 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17698 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17699 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17700 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17701 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17702 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17703 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17704 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17705 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17706 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17707 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17708 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17709 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17710 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17711 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17712 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17713 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17714 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17715 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17716 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17717 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17718 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17719 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17720 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17721 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17722 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17723 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17724 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17725 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17726 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17727 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17728 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17729 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17730 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17731 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17732 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17733 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17734 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17735 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17736 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17737 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17738 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17739 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17740 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17741 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17742 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17743 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17744 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17745 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17746 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17747 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17748 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17749 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17750 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17751 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17752 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17753 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17754 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17755 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17756 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17757 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17758 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17759 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17760 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17761 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17762 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17763 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17766 LTCFLAGS='$LTCFLAGS'
17767 compiler='$compiler_DEFAULT'
17769 # A function that is used when there is no print builtin or printf.
17770 func_fallback_echo ()
17772 eval 'cat <<_LTECHO_EOF
17777 # Quote evaled strings.
17794 deplibs_check_method \
17798 sharedlib_from_linklib_cmd \
17801 archiver_list_spec \
17807 lt_cv_sys_global_symbol_pipe \
17808 lt_cv_sys_global_symbol_to_cdecl \
17809 lt_cv_sys_global_symbol_to_c_name_address \
17810 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17811 nm_file_list_spec \
17812 lt_prog_compiler_no_builtin_flag \
17813 lt_prog_compiler_pic \
17814 lt_prog_compiler_wl \
17815 lt_prog_compiler_static \
17816 lt_cv_prog_compiler_c_o \
17825 export_dynamic_flag_spec \
17826 whole_archive_flag_spec \
17827 compiler_needs_object \
17829 allow_undefined_flag \
17830 no_undefined_flag \
17831 hardcode_libdir_flag_spec \
17832 hardcode_libdir_separator \
17836 variables_saved_for_relink \
17838 library_names_spec \
17840 install_override_mode \
17844 compiler_lib_search_dirs \
17849 compiler_lib_search_path \
17853 lt_prog_compiler_no_builtin_flag_CXX \
17854 lt_prog_compiler_pic_CXX \
17855 lt_prog_compiler_wl_CXX \
17856 lt_prog_compiler_static_CXX \
17857 lt_cv_prog_compiler_c_o_CXX \
17858 export_dynamic_flag_spec_CXX \
17859 whole_archive_flag_spec_CXX \
17860 compiler_needs_object_CXX \
17862 allow_undefined_flag_CXX \
17863 no_undefined_flag_CXX \
17864 hardcode_libdir_flag_spec_CXX \
17865 hardcode_libdir_separator_CXX \
17866 exclude_expsyms_CXX \
17867 include_expsyms_CXX \
17868 file_list_spec_CXX \
17869 compiler_lib_search_dirs_CXX \
17870 predep_objects_CXX \
17871 postdep_objects_CXX \
17874 compiler_lib_search_path_CXX; do
17875 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17876 *[\\\\\\\`\\"\\\$]*)
17877 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17880 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17885 # Double-quote double-evaled strings.
17886 for var in reload_cmds \
17887 old_postinstall_cmds \
17888 old_postuninstall_cmds \
17890 extract_expsyms_cmds \
17891 old_archive_from_new_cmds \
17892 old_archive_from_expsyms_cmds \
17894 archive_expsym_cmds \
17896 module_expsym_cmds \
17897 export_symbols_cmds \
17901 postuninstall_cmds \
17903 sys_lib_search_path_spec \
17904 sys_lib_dlsearch_path_spec \
17906 old_archive_cmds_CXX \
17907 old_archive_from_new_cmds_CXX \
17908 old_archive_from_expsyms_cmds_CXX \
17910 archive_expsym_cmds_CXX \
17912 module_expsym_cmds_CXX \
17913 export_symbols_cmds_CXX \
17915 postlink_cmds_CXX; do
17916 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17917 *[\\\\\\\`\\"\\\$]*)
17918 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17921 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17926 ac_aux_dir='$ac_aux_dir'
17927 xsi_shell='$xsi_shell'
17928 lt_shell_append='$lt_shell_append'
17930 # See if we are running on zsh, and set the options which allow our
17931 # commands through without removal of \ escapes INIT.
17932 if test -n "\${ZSH_VERSION+set}" ; then
17933 setopt NO_GLOB_SUBST
17939 TIMESTAMP='$TIMESTAMP'
17950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17952 # Handling of arguments.
17953 for ac_config_target in $ac_config_targets
17955 case $ac_config_target in
17956 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17957 "libxml++config.h") CONFIG_HEADERS="$CONFIG_HEADERS libxml++config.h" ;;
17958 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17959 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17960 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17961 "libxml++/Makefile") CONFIG_FILES="$CONFIG_FILES libxml++/Makefile" ;;
17962 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17963 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17964 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17965 "docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
17966 "MSVC_Net2010/libxml++/libxml++.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/libxml++/libxml++.rc" ;;
17967 "${LIBXMLXX_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES ${LIBXMLXX_MODULE_NAME}.pc:libxml++.pc.in" ;;
17968 "MSVC_Net2010/libxml++/libxml++config.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/libxml++/libxml++config.h" ;;
17970 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17975 # If the user did not use the arguments to specify the items to instantiate,
17976 # then the envvar interface is used. Set only those that are not.
17977 # We use the long form for the default assignment because of an extremely
17978 # bizarre bug on SunOS 4.1.3.
17979 if $ac_need_defaults; then
17980 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17981 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17982 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17985 # Have a temporary directory for convenience. Make it in the build tree
17986 # simply because there is no reason against having it here, and in addition,
17987 # creating and moving files from /tmp can sometimes cause problems.
17988 # Hook for its removal unless debugging.
17989 # Note that there is a small window in which the directory will not be cleaned:
17990 # after its creation but before its name has been assigned to `$tmp'.
17994 trap 'exit_status=$?
17995 : "${ac_tmp:=$tmp}"
17996 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17998 trap 'as_fn_exit 1' 1 2 13 15
18000 # Create a (secure) tmp directory for tmp files.
18003 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18007 tmp=./conf$$-$RANDOM
18008 (umask 077 && mkdir "$tmp")
18009 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18012 # Set up the scripts for CONFIG_FILES section.
18013 # No need to generate them if there are no CONFIG_FILES.
18014 # This happens for instance with `./config.status config.h'.
18015 if test -n "$CONFIG_FILES"; then
18018 ac_cr=`echo X | tr X '\015'`
18019 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18020 # But we know of no other shell where ac_cr would be empty at this
18021 # point, so we can use a bashism as a fallback.
18022 if test "x$ac_cr" = x; then
18023 eval ac_cr=\$\'\\r\'
18025 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18026 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18029 ac_cs_awk_cr=$ac_cr
18032 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18037 echo "cat >conf$$subs.awk <<_ACEOF" &&
18038 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18040 } >conf$$subs.sh ||
18041 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18042 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18044 for ac_last_try in false false false false false :; do
18045 . ./conf$$subs.sh ||
18046 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18048 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18049 if test $ac_delim_n = $ac_delim_num; then
18051 elif $ac_last_try; then
18052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18054 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18057 rm -f conf$$subs.sh
18059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18060 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18064 s/^/S["/; s/!.*/"]=/
18074 s/\(.\{148\}\)..*/\1/
18076 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18088 s/\(.\{148\}\)..*/\1/
18090 s/["\\]/\\&/g; s/^/"/; s/$/"/
18094 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18099 ' <conf$$subs.awk | sed '
18104 ' >>$CONFIG_STATUS || ac_write_fail=1
18105 rm -f conf$$subs.awk
18106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18108 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18109 for (key in S) S_is_set[key] = 1
18115 nfields = split(line, field, "@")
18117 len = length(field[1])
18118 for (i = 2; i < nfields; i++) {
18120 keylen = length(key)
18121 if (S_is_set[key]) {
18123 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18124 len += length(value) + length(field[++i])
18135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18137 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18140 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18141 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18144 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18145 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18146 # trailing colons and then remove the whole line if VPATH becomes empty
18147 # (actually we leave an empty line to preserve line numbers).
18148 if test "x$srcdir" = x.; then
18149 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18168 fi # test -n "$CONFIG_FILES"
18170 # Set up the scripts for CONFIG_HEADERS section.
18171 # No need to generate them if there are no CONFIG_HEADERS.
18172 # This happens for instance with `./config.status Makefile'.
18173 if test -n "$CONFIG_HEADERS"; then
18174 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18178 # Transform confdefs.h into an awk script `defines.awk', embedded as
18179 # here-document in config.status, that substitutes the proper values into
18180 # config.h.in to produce config.h.
18182 # Create a delimiter string that does not exist in confdefs.h, to ease
18183 # handling of long lines.
18185 for ac_last_try in false false :; do
18186 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18187 if test -z "$ac_tt"; then
18189 elif $ac_last_try; then
18190 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18192 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18196 # For the awk script, D is an array of macro values keyed by name,
18197 # likewise P contains macro parameters if any. Preserve backslash
18198 # newline sequences.
18200 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18202 s/.\{148\}/&'"$ac_delim"'/g
18205 s/^[ ]*#[ ]*define[ ][ ]*/ /
18212 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18214 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18219 D["\1"]=" \3\\\\\\n"\\/p
18221 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18226 s/.\{148\}/&'"$ac_delim"'/g
18231 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18234 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18236 ' <confdefs.h | sed '
18237 s/'"$ac_delim"'/"\\\
18238 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18241 for (key in D) D_is_set[key] = 1
18244 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18246 split(line, arg, " ")
18247 if (arg[1] == "#") {
18251 defundef = substr(arg[1], 2)
18254 split(mac1, mac2, "(") #)
18256 prefix = substr(line, 1, index(line, defundef) - 1)
18257 if (D_is_set[macro]) {
18258 # Preserve the white space surrounding the "#".
18259 print prefix "define", macro P[macro] D[macro]
18262 # Replace #undef with comments. This is necessary, for example,
18263 # in the case of _POSIX_SOURCE, which is predefined and required
18264 # on some systems where configure will not decide to define it.
18265 if (defundef == "undef") {
18266 print "/*", prefix defundef, macro, "*/"
18274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18275 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18276 fi # test -n "$CONFIG_HEADERS"
18279 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18284 :[FHLC]) ac_mode=$ac_tag; continue;;
18286 case $ac_mode$ac_tag in
18288 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18289 :[FH]-) ac_tag=-:-;;
18290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18307 -) ac_f="$ac_tmp/stdin";;
18308 *) # Look for the file first in the build tree, then in the source tree
18309 # (if the path is not absolute). The absolute path cannot be DOS-style,
18310 # because $ac_f cannot contain `:'.
18314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18316 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18318 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18319 as_fn_append ac_file_inputs " '$ac_f'"
18322 # Let's still pretend it is `configure' which instantiates (i.e., don't
18323 # use $as_me), people would be surprised to read:
18324 # /* config.h. Generated by config.status. */
18325 configure_input='Generated from '`
18326 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18328 if test x"$ac_file" != x-; then
18329 configure_input="$ac_file. $configure_input"
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18331 $as_echo "$as_me: creating $ac_file" >&6;}
18333 # Neutralize special characters interpreted by sed in replacement strings.
18334 case $configure_input in #(
18335 *\&* | *\|* | *\\* )
18336 ac_sed_conf_input=`$as_echo "$configure_input" |
18337 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18338 *) ac_sed_conf_input=$configure_input;;
18342 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18343 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18348 ac_dir=`$as_dirname -- "$ac_file" ||
18349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18350 X"$ac_file" : 'X\(//\)[^/]' \| \
18351 X"$ac_file" : 'X\(//\)$' \| \
18352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18353 $as_echo X"$ac_file" |
18354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18358 /^X\(\/\/\)[^/].*/{
18371 as_dir="$ac_dir"; as_fn_mkdir_p
18375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18378 # A ".." for each directory in $ac_dir_suffix.
18379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18380 case $ac_top_builddir_sub in
18381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18385 ac_abs_top_builddir=$ac_pwd
18386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18387 # for backward compatibility:
18388 ac_top_builddir=$ac_top_build_prefix
18391 .) # We are building in place.
18393 ac_top_srcdir=$ac_top_builddir_sub
18394 ac_abs_top_srcdir=$ac_pwd ;;
18395 [\\/]* | ?:[\\/]* ) # Absolute name.
18396 ac_srcdir=$srcdir$ac_dir_suffix;
18397 ac_top_srcdir=$srcdir
18398 ac_abs_top_srcdir=$srcdir ;;
18399 *) # Relative name.
18400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18401 ac_top_srcdir=$ac_top_build_prefix$srcdir
18402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18414 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18415 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18417 ac_MKDIR_P=$MKDIR_P
18419 [\\/$]* | ?:[\\/]* ) ;;
18420 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18425 # If the template does not know about datarootdir, expand it.
18426 # FIXME: This hack should be removed a few years after 2.60.
18427 ac_datarootdir_hack=; ac_datarootdir_seen=
18438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18439 *datarootdir*) ac_datarootdir_seen=yes;;
18440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18445 ac_datarootdir_hack='
18446 s&@datadir@&$datadir&g
18447 s&@docdir@&$docdir&g
18448 s&@infodir@&$infodir&g
18449 s&@localedir@&$localedir&g
18450 s&@mandir@&$mandir&g
18451 s&\\\${datarootdir}&$datarootdir&g' ;;
18455 # Neutralize VPATH when `$srcdir' = `.'.
18456 # Shell code in configure.ac might set extrasub.
18457 # FIXME: do we really want to maintain this feature?
18458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18459 ac_sed_extra="$ac_vpsub
18462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18465 s|@configure_input@|$ac_sed_conf_input|;t t
18466 s&@top_builddir@&$ac_top_builddir_sub&;t t
18467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18468 s&@srcdir@&$ac_srcdir&;t t
18469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18470 s&@top_srcdir@&$ac_top_srcdir&;t t
18471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18472 s&@builddir@&$ac_builddir&;t t
18473 s&@abs_builddir@&$ac_abs_builddir&;t t
18474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18475 s&@INSTALL@&$ac_INSTALL&;t t
18476 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18477 $ac_datarootdir_hack
18479 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18480 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18483 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18485 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18487 which seems to be undefined. Please make sure it is defined" >&5
18488 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18489 which seems to be undefined. Please make sure it is defined" >&2;}
18491 rm -f "$ac_tmp/stdin"
18493 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18494 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18496 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18502 if test x"$ac_file" != x-; then
18504 $as_echo "/* $configure_input */" \
18505 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18506 } >"$ac_tmp/config.h" \
18507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18508 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18510 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18513 mv "$ac_tmp/config.h" "$ac_file" \
18514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18517 $as_echo "/* $configure_input */" \
18518 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18519 || as_fn_error $? "could not create -" "$LINENO" 5
18521 # Compute "$ac_file"'s index in $config_headers.
18524 for _am_header in $config_headers :; do
18525 case $_am_header in
18526 $_am_arg | $_am_arg:* )
18529 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18532 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18533 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18534 X"$_am_arg" : 'X\(//\)[^/]' \| \
18535 X"$_am_arg" : 'X\(//\)$' \| \
18536 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18537 $as_echo X"$_am_arg" |
18538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18542 /^X\(\/\/\)[^/].*/{
18554 s/.*/./; q'`/stamp-h$_am_stamp_count
18557 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18558 $as_echo "$as_me: executing $ac_file commands" >&6;}
18563 case $ac_file$ac_mode in
18564 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18565 # Older Autoconf quotes --file arguments for eval, but not when files
18566 # are listed without --file. Let's play safe and only enable the eval
18567 # if we detect the quoting.
18568 case $CONFIG_FILES in
18569 *\'*) eval set x "$CONFIG_FILES" ;;
18570 *) set x $CONFIG_FILES ;;
18575 # Strip MF so we end up with the name of the file.
18576 mf=`echo "$mf" | sed -e 's/:.*$//'`
18577 # Check whether this is an Automake generated Makefile or not.
18578 # We used to match only the files named 'Makefile.in', but
18579 # some people rename them; so instead we look at the file content.
18580 # Grep'ing the first line is not enough: some people post-process
18581 # each Makefile.in and add a new line on top of each file to say so.
18582 # Grep'ing the whole file is not good either: AIX grep has a line
18583 # limit of 2048, but all sed's we know have understand at least 4000.
18584 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18585 dirpart=`$as_dirname -- "$mf" ||
18586 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18587 X"$mf" : 'X\(//\)[^/]' \| \
18588 X"$mf" : 'X\(//\)$' \| \
18589 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18595 /^X\(\/\/\)[^/].*/{
18611 # Extract the definition of DEPDIR, am__include, and am__quote
18612 # from the Makefile without running 'make'.
18613 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18614 test -z "$DEPDIR" && continue
18615 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18616 test -z "$am__include" && continue
18617 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18618 # Find all dependency output files, they are included files with
18619 # $(DEPDIR) in their names. We invoke sed twice because it is the
18620 # simplest approach to changing $(DEPDIR) to its actual value in the
18622 for file in `sed -n "
18623 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18624 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18625 # Make sure the directory exists.
18626 test -f "$dirpart/$file" && continue
18627 fdir=`$as_dirname -- "$file" ||
18628 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18629 X"$file" : 'X\(//\)[^/]' \| \
18630 X"$file" : 'X\(//\)$' \| \
18631 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18632 $as_echo X"$file" |
18633 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18637 /^X\(\/\/\)[^/].*/{
18650 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18651 # echo "creating $dirpart/$file"
18652 echo '# dummy' > "$dirpart/$file"
18659 # See if we are running on zsh, and set the options which allow our
18660 # commands through without removal of \ escapes.
18661 if test -n "${ZSH_VERSION+set}" ; then
18662 setopt NO_GLOB_SUBST
18665 cfgfile="${ofile}T"
18666 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18669 cat <<_LT_EOF >> "$cfgfile"
18672 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18673 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18674 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18675 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18677 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18678 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18680 # Written by Gordon Matzigkeit, 1996
18682 # This file is part of GNU Libtool.
18684 # GNU Libtool is free software; you can redistribute it and/or
18685 # modify it under the terms of the GNU General Public License as
18686 # published by the Free Software Foundation; either version 2 of
18687 # the License, or (at your option) any later version.
18689 # As a special exception to the GNU General Public License,
18690 # if you distribute this file as part of a program or library that
18691 # is built using GNU Libtool, you may include this file under the
18692 # same distribution terms that you use for the rest of that program.
18694 # GNU Libtool is distributed in the hope that it will be useful,
18695 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18696 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18697 # GNU General Public License for more details.
18699 # You should have received a copy of the GNU General Public License
18700 # along with GNU Libtool; see the file COPYING. If not, a copy
18701 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18702 # obtained by writing to the Free Software Foundation, Inc.,
18703 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18706 # The names of the tagged configurations supported by this script.
18707 available_tags="CXX "
18709 # ### BEGIN LIBTOOL CONFIG
18711 # Which release of libtool.m4 was used?
18712 macro_version=$macro_version
18713 macro_revision=$macro_revision
18715 # Assembler program.
18718 # DLL creation program.
18719 DLLTOOL=$lt_DLLTOOL
18721 # Object dumper program.
18722 OBJDUMP=$lt_OBJDUMP
18724 # Whether or not to build static libraries.
18725 build_old_libs=$enable_static
18727 # Whether or not to build shared libraries.
18728 build_libtool_libs=$enable_shared
18730 # What type of objects to build.
18733 # Whether or not to optimize for fast installation.
18734 fast_install=$enable_fast_install
18736 # Shell to use when invoking shell scripts.
18739 # An echo program that protects backslashes.
18742 # The PATH separator for the build system.
18743 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18746 host_alias=$host_alias
18750 # The build system.
18751 build_alias=$build_alias
18755 # A sed program that does not truncate output.
18758 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18759 Xsed="\$SED -e 1s/^X//"
18761 # A grep program that handles long lines.
18767 # A literal string matcher.
18770 # A BSD- or MS-compatible name lister.
18773 # Whether we need soft or hard links.
18776 # What is the maximum length of a command?
18777 max_cmd_len=$max_cmd_len
18779 # Object file suffix (normally "o").
18782 # Executable file suffix (normally "").
18785 # whether the shell understands "unset".
18788 # turn spaces into newlines.
18791 # turn newlines into spaces.
18794 # convert \$build file names to \$host format.
18795 to_host_file_cmd=$lt_cv_to_host_file_cmd
18797 # convert \$build files to toolchain format.
18798 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18800 # Method to check whether dependent libraries are shared objects.
18801 deplibs_check_method=$lt_deplibs_check_method
18803 # Command to use when deplibs_check_method = "file_magic".
18804 file_magic_cmd=$lt_file_magic_cmd
18806 # How to find potential files when deplibs_check_method = "file_magic".
18807 file_magic_glob=$lt_file_magic_glob
18809 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18810 want_nocaseglob=$lt_want_nocaseglob
18812 # Command to associate shared and link libraries.
18813 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18818 # Flags to create an archive.
18819 AR_FLAGS=$lt_AR_FLAGS
18821 # How to feed a file listing to the archiver.
18822 archiver_list_spec=$lt_archiver_list_spec
18824 # A symbol stripping program.
18827 # Commands used to install an old-style archive.
18829 old_postinstall_cmds=$lt_old_postinstall_cmds
18830 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18832 # Whether to use a lock for old archive extraction.
18833 lock_old_archive_extraction=$lock_old_archive_extraction
18838 # LTCC compiler flags.
18839 LTCFLAGS=$lt_CFLAGS
18841 # Take the output of nm and produce a listing of raw symbols and C names.
18842 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18844 # Transform the output of nm in a proper C declaration.
18845 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18847 # Transform the output of nm in a C name address pair.
18848 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18850 # Transform the output of nm in a C name address pair when lib prefix is needed.
18851 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18853 # Specify filename containing input files for \$NM.
18854 nm_file_list_spec=$lt_nm_file_list_spec
18856 # The root where to search for dependent libraries,and in which our libraries should be installed.
18857 lt_sysroot=$lt_sysroot
18859 # The name of the directory that contains temporary libtool files.
18862 # Used to examine libraries when file_magic_cmd begins with "file".
18863 MAGIC_CMD=$MAGIC_CMD
18865 # Must we lock files when doing compilation?
18866 need_locks=$lt_need_locks
18869 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18871 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18872 DSYMUTIL=$lt_DSYMUTIL
18874 # Tool to change global to local symbols on Mac OS X.
18877 # Tool to manipulate fat objects and archives on Mac OS X.
18880 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18883 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18884 OTOOL64=$lt_OTOOL64
18886 # Old archive suffix (normally "a").
18889 # Shared library suffix (normally ".so").
18890 shrext_cmds=$lt_shrext_cmds
18892 # The commands to extract the exported symbol list from a shared archive.
18893 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18895 # Variables whose values should be saved in libtool wrapper scripts and
18896 # restored at link time.
18897 variables_saved_for_relink=$lt_variables_saved_for_relink
18899 # Do we need the "lib" prefix for modules?
18900 need_lib_prefix=$need_lib_prefix
18902 # Do we need a version for libraries?
18903 need_version=$need_version
18905 # Library versioning type.
18906 version_type=$version_type
18908 # Shared library runtime path variable.
18909 runpath_var=$runpath_var
18911 # Shared library path variable.
18912 shlibpath_var=$shlibpath_var
18914 # Is shlibpath searched before the hard-coded library search path?
18915 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18917 # Format of library name prefix.
18918 libname_spec=$lt_libname_spec
18920 # List of archive names. First name is the real one, the rest are links.
18921 # The last name is the one that the linker finds with -lNAME
18922 library_names_spec=$lt_library_names_spec
18924 # The coded name of the library, if different from the real name.
18925 soname_spec=$lt_soname_spec
18927 # Permission mode override for installation of shared libraries.
18928 install_override_mode=$lt_install_override_mode
18930 # Command to use after installation of a shared archive.
18931 postinstall_cmds=$lt_postinstall_cmds
18933 # Command to use after uninstallation of a shared archive.
18934 postuninstall_cmds=$lt_postuninstall_cmds
18936 # Commands used to finish a libtool library installation in a directory.
18937 finish_cmds=$lt_finish_cmds
18939 # As "finish_cmds", except a single script fragment to be evaled but
18941 finish_eval=$lt_finish_eval
18943 # Whether we should hardcode library paths into libraries.
18944 hardcode_into_libs=$hardcode_into_libs
18946 # Compile-time system search path for libraries.
18947 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18949 # Run-time system search path for libraries.
18950 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18952 # Whether dlopen is supported.
18953 dlopen_support=$enable_dlopen
18955 # Whether dlopen of programs is supported.
18956 dlopen_self=$enable_dlopen_self
18958 # Whether dlopen of statically linked programs is supported.
18959 dlopen_self_static=$enable_dlopen_self_static
18961 # Commands to strip libraries.
18962 old_striplib=$lt_old_striplib
18963 striplib=$lt_striplib
18966 # The linker used to build libraries.
18969 # How to create reloadable object files.
18970 reload_flag=$lt_reload_flag
18971 reload_cmds=$lt_reload_cmds
18973 # Commands used to build an old-style archive.
18974 old_archive_cmds=$lt_old_archive_cmds
18976 # A language specific compiler.
18979 # Is the compiler the GNU compiler?
18982 # Compiler flag to turn off builtin functions.
18983 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18985 # Additional compiler flags for building library objects.
18986 pic_flag=$lt_lt_prog_compiler_pic
18988 # How to pass a linker flag through the compiler.
18989 wl=$lt_lt_prog_compiler_wl
18991 # Compiler flag to prevent dynamic linking.
18992 link_static_flag=$lt_lt_prog_compiler_static
18994 # Does compiler simultaneously support -c and -o options?
18995 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18997 # Whether or not to add -lc for building shared libraries.
18998 build_libtool_need_lc=$archive_cmds_need_lc
19000 # Whether or not to disallow shared libs when runtime libs are static.
19001 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19003 # Compiler flag to allow reflexive dlopens.
19004 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19006 # Compiler flag to generate shared objects directly from archives.
19007 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19009 # Whether the compiler copes with passing no objects directly.
19010 compiler_needs_object=$lt_compiler_needs_object
19012 # Create an old-style archive from a shared archive.
19013 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19015 # Create a temporary old-style archive to link instead of a shared archive.
19016 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19018 # Commands used to build a shared archive.
19019 archive_cmds=$lt_archive_cmds
19020 archive_expsym_cmds=$lt_archive_expsym_cmds
19022 # Commands used to build a loadable module if different from building
19023 # a shared archive.
19024 module_cmds=$lt_module_cmds
19025 module_expsym_cmds=$lt_module_expsym_cmds
19027 # Whether we are building with GNU ld or not.
19028 with_gnu_ld=$lt_with_gnu_ld
19030 # Flag that allows shared libraries with undefined symbols to be built.
19031 allow_undefined_flag=$lt_allow_undefined_flag
19033 # Flag that enforces no undefined symbols.
19034 no_undefined_flag=$lt_no_undefined_flag
19036 # Flag to hardcode \$libdir into a binary during linking.
19037 # This must work even if \$libdir does not exist
19038 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19040 # Whether we need a single "-rpath" flag with a separated argument.
19041 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19044 # DIR into the resulting binary.
19045 hardcode_direct=$hardcode_direct
19047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19048 # DIR into the resulting binary and the resulting library dependency is
19049 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19050 # library is relocated.
19051 hardcode_direct_absolute=$hardcode_direct_absolute
19053 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19054 # into the resulting binary.
19055 hardcode_minus_L=$hardcode_minus_L
19057 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19058 # into the resulting binary.
19059 hardcode_shlibpath_var=$hardcode_shlibpath_var
19061 # Set to "yes" if building a shared library automatically hardcodes DIR
19062 # into the library and all subsequent libraries and executables linked
19064 hardcode_automatic=$hardcode_automatic
19066 # Set to yes if linker adds runtime paths of dependent libraries
19067 # to runtime path list.
19068 inherit_rpath=$inherit_rpath
19070 # Whether libtool must link a program against all its dependency libraries.
19071 link_all_deplibs=$link_all_deplibs
19073 # Set to "yes" if exported symbols are required.
19074 always_export_symbols=$always_export_symbols
19076 # The commands to list exported symbols.
19077 export_symbols_cmds=$lt_export_symbols_cmds
19079 # Symbols that should not be listed in the preloaded symbols.
19080 exclude_expsyms=$lt_exclude_expsyms
19082 # Symbols that must always be exported.
19083 include_expsyms=$lt_include_expsyms
19085 # Commands necessary for linking programs (against libraries) with templates.
19086 prelink_cmds=$lt_prelink_cmds
19088 # Commands necessary for finishing linking programs.
19089 postlink_cmds=$lt_postlink_cmds
19091 # Specify filename containing input files.
19092 file_list_spec=$lt_file_list_spec
19094 # How to hardcode a shared library path into an executable.
19095 hardcode_action=$hardcode_action
19097 # The directories searched by this compiler when creating a shared library.
19098 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
19100 # Dependencies to place before and after the objects being linked to
19101 # create a shared library.
19102 predep_objects=$lt_predep_objects
19103 postdep_objects=$lt_postdep_objects
19104 predeps=$lt_predeps
19105 postdeps=$lt_postdeps
19107 # The library search path used internally by the compiler when linking
19108 # a shared library.
19109 compiler_lib_search_path=$lt_compiler_lib_search_path
19111 # ### END LIBTOOL CONFIG
19117 cat <<\_LT_EOF >> "$cfgfile"
19118 # AIX sometimes has problems with the GCC collect2 program. For some
19119 # reason, if we set the COLLECT_NAMES environment variable, the problems
19120 # vanish in a puff of smoke.
19121 if test "X${COLLECT_NAMES+set}" != Xset; then
19123 export COLLECT_NAMES
19130 ltmain="$ac_aux_dir/ltmain.sh"
19133 # We use sed instead of cat because bash on DJGPP gets confused if
19134 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19135 # text mode, it properly converts lines to CR/LF. This bash problem
19136 # is reportedly fixed, but why not run on old versions too?
19137 sed '$q' "$ltmain" >> "$cfgfile" \
19138 || (rm -f "$cfgfile"; exit 1)
19140 if test x"$xsi_shell" = xyes; then
19141 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19145 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19146 \ * ) func_dirname_result="${3}" ;;\
19148 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19149 && mv -f "$cfgfile.tmp" "$cfgfile" \
19150 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19151 test 0 -eq $? || _lt_function_replace_fail=:
19154 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19157 \ func_basename_result="${1##*/}"\
19158 } # Extended-shell func_basename 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_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19165 func_dirname_and_basename ()\
19168 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19169 \ * ) func_dirname_result="${3}" ;;\
19171 \ func_basename_result="${1##*/}"\
19172 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19173 && mv -f "$cfgfile.tmp" "$cfgfile" \
19174 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19175 test 0 -eq $? || _lt_function_replace_fail=:
19178 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19181 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19182 \ # positional parameters, so assign one to ordinary parameter first.\
19183 \ func_stripname_result=${3}\
19184 \ func_stripname_result=${func_stripname_result#"${1}"}\
19185 \ func_stripname_result=${func_stripname_result%"${2}"}\
19186 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19187 && mv -f "$cfgfile.tmp" "$cfgfile" \
19188 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19189 test 0 -eq $? || _lt_function_replace_fail=:
19192 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19193 func_split_long_opt ()\
19195 \ func_split_long_opt_name=${1%%=*}\
19196 \ func_split_long_opt_arg=${1#*=}\
19197 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19198 && mv -f "$cfgfile.tmp" "$cfgfile" \
19199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19200 test 0 -eq $? || _lt_function_replace_fail=:
19203 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19204 func_split_short_opt ()\
19206 \ func_split_short_opt_arg=${1#??}\
19207 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19208 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19209 && mv -f "$cfgfile.tmp" "$cfgfile" \
19210 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19211 test 0 -eq $? || _lt_function_replace_fail=:
19214 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19218 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19219 \ *) func_lo2o_result=${1} ;;\
19221 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19222 && mv -f "$cfgfile.tmp" "$cfgfile" \
19223 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19224 test 0 -eq $? || _lt_function_replace_fail=:
19227 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19230 func_xform_result=${1%.*}.lo\
19231 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19232 && mv -f "$cfgfile.tmp" "$cfgfile" \
19233 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19234 test 0 -eq $? || _lt_function_replace_fail=:
19237 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19240 func_arith_result=$(( $* ))\
19241 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19242 && mv -f "$cfgfile.tmp" "$cfgfile" \
19243 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19244 test 0 -eq $? || _lt_function_replace_fail=:
19247 sed -e '/^func_len ()$/,/^} # func_len /c\
19250 func_len_result=${#1}\
19251 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19252 && mv -f "$cfgfile.tmp" "$cfgfile" \
19253 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19254 test 0 -eq $? || _lt_function_replace_fail=:
19258 if test x"$lt_shell_append" = xyes; then
19259 sed -e '/^func_append ()$/,/^} # func_append /c\
19262 eval "${1}+=\\${2}"\
19263 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19264 && mv -f "$cfgfile.tmp" "$cfgfile" \
19265 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19266 test 0 -eq $? || _lt_function_replace_fail=:
19269 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19270 func_append_quoted ()\
19272 \ func_quote_for_eval "${2}"\
19273 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19274 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19275 && mv -f "$cfgfile.tmp" "$cfgfile" \
19276 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19277 test 0 -eq $? || _lt_function_replace_fail=:
19280 # Save a `func_append' function call where possible by direct use of '+='
19281 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19282 && mv -f "$cfgfile.tmp" "$cfgfile" \
19283 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19284 test 0 -eq $? || _lt_function_replace_fail=:
19286 # Save a `func_append' function call even when '+=' is not available
19287 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19288 && mv -f "$cfgfile.tmp" "$cfgfile" \
19289 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19290 test 0 -eq $? || _lt_function_replace_fail=:
19293 if test x"$_lt_function_replace_fail" = x":"; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19295 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19299 mv -f "$cfgfile" "$ofile" ||
19300 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19304 cat <<_LT_EOF >> "$ofile"
19306 # ### BEGIN LIBTOOL TAG CONFIG: CXX
19308 # The linker used to build libraries.
19311 # How to create reloadable object files.
19312 reload_flag=$lt_reload_flag_CXX
19313 reload_cmds=$lt_reload_cmds_CXX
19315 # Commands used to build an old-style archive.
19316 old_archive_cmds=$lt_old_archive_cmds_CXX
19318 # A language specific compiler.
19319 CC=$lt_compiler_CXX
19321 # Is the compiler the GNU compiler?
19324 # Compiler flag to turn off builtin functions.
19325 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19327 # Additional compiler flags for building library objects.
19328 pic_flag=$lt_lt_prog_compiler_pic_CXX
19330 # How to pass a linker flag through the compiler.
19331 wl=$lt_lt_prog_compiler_wl_CXX
19333 # Compiler flag to prevent dynamic linking.
19334 link_static_flag=$lt_lt_prog_compiler_static_CXX
19336 # Does compiler simultaneously support -c and -o options?
19337 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19339 # Whether or not to add -lc for building shared libraries.
19340 build_libtool_need_lc=$archive_cmds_need_lc_CXX
19342 # Whether or not to disallow shared libs when runtime libs are static.
19343 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19345 # Compiler flag to allow reflexive dlopens.
19346 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19348 # Compiler flag to generate shared objects directly from archives.
19349 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19351 # Whether the compiler copes with passing no objects directly.
19352 compiler_needs_object=$lt_compiler_needs_object_CXX
19354 # Create an old-style archive from a shared archive.
19355 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19357 # Create a temporary old-style archive to link instead of a shared archive.
19358 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19360 # Commands used to build a shared archive.
19361 archive_cmds=$lt_archive_cmds_CXX
19362 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19364 # Commands used to build a loadable module if different from building
19365 # a shared archive.
19366 module_cmds=$lt_module_cmds_CXX
19367 module_expsym_cmds=$lt_module_expsym_cmds_CXX
19369 # Whether we are building with GNU ld or not.
19370 with_gnu_ld=$lt_with_gnu_ld_CXX
19372 # Flag that allows shared libraries with undefined symbols to be built.
19373 allow_undefined_flag=$lt_allow_undefined_flag_CXX
19375 # Flag that enforces no undefined symbols.
19376 no_undefined_flag=$lt_no_undefined_flag_CXX
19378 # Flag to hardcode \$libdir into a binary during linking.
19379 # This must work even if \$libdir does not exist
19380 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19382 # Whether we need a single "-rpath" flag with a separated argument.
19383 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19385 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19386 # DIR into the resulting binary.
19387 hardcode_direct=$hardcode_direct_CXX
19389 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19390 # DIR into the resulting binary and the resulting library dependency is
19391 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19392 # library is relocated.
19393 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19395 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19396 # into the resulting binary.
19397 hardcode_minus_L=$hardcode_minus_L_CXX
19399 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19400 # into the resulting binary.
19401 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19403 # Set to "yes" if building a shared library automatically hardcodes DIR
19404 # into the library and all subsequent libraries and executables linked
19406 hardcode_automatic=$hardcode_automatic_CXX
19408 # Set to yes if linker adds runtime paths of dependent libraries
19409 # to runtime path list.
19410 inherit_rpath=$inherit_rpath_CXX
19412 # Whether libtool must link a program against all its dependency libraries.
19413 link_all_deplibs=$link_all_deplibs_CXX
19415 # Set to "yes" if exported symbols are required.
19416 always_export_symbols=$always_export_symbols_CXX
19418 # The commands to list exported symbols.
19419 export_symbols_cmds=$lt_export_symbols_cmds_CXX
19421 # Symbols that should not be listed in the preloaded symbols.
19422 exclude_expsyms=$lt_exclude_expsyms_CXX
19424 # Symbols that must always be exported.
19425 include_expsyms=$lt_include_expsyms_CXX
19427 # Commands necessary for linking programs (against libraries) with templates.
19428 prelink_cmds=$lt_prelink_cmds_CXX
19430 # Commands necessary for finishing linking programs.
19431 postlink_cmds=$lt_postlink_cmds_CXX
19433 # Specify filename containing input files.
19434 file_list_spec=$lt_file_list_spec_CXX
19436 # How to hardcode a shared library path into an executable.
19437 hardcode_action=$hardcode_action_CXX
19439 # The directories searched by this compiler when creating a shared library.
19440 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19442 # Dependencies to place before and after the objects being linked to
19443 # create a shared library.
19444 predep_objects=$lt_predep_objects_CXX
19445 postdep_objects=$lt_postdep_objects_CXX
19446 predeps=$lt_predeps_CXX
19447 postdeps=$lt_postdeps_CXX
19449 # The library search path used internally by the compiler when linking
19450 # a shared library.
19451 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19453 # ### END LIBTOOL TAG CONFIG: CXX
19457 "MSVC_Net2010/libxml++/libxml++config.h":C) cp -f libxml++config.h MSVC_Net2010/libxml++/libxml++config.h ;;
19465 ac_clean_files=$ac_clean_files_save
19467 test $ac_write_fail = 0 ||
19468 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19471 # configure is writing to config.log, and then calls config.status.
19472 # config.status does its own redirection, appending to config.log.
19473 # Unfortunately, on DOS this fails, as config.log is still kept open
19474 # by configure, so config.status won't be able to write to it; its
19475 # output is simply discarded. So we exec the FD to /dev/null,
19476 # effectively closing config.log, so it can be properly (re)opened and
19477 # appended to by config.status. When coming back to configure, we
19478 # need to make the FD available again.
19479 if test "$no_create" != yes; then
19481 ac_config_status_args=
19482 test "$silent" = yes &&
19483 ac_config_status_args="$ac_config_status_args --quiet"
19485 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19487 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19488 # would make configure fail if this is the last instruction.
19489 $ac_cs_success || as_fn_exit 1
19491 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19493 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}