| 102 |
|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
| 103 |
|
# |
| 104 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 105 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
| 105 |
> |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 106 |
> |
# Inc. |
| 107 |
|
# Written by Gordon Matzigkeit, 1996 |
| 108 |
|
# |
| 109 |
|
# This file is free software; the Free Software Foundation gives |
| 112 |
|
|
| 113 |
|
m4_define([_LT_COPYING], [dnl |
| 114 |
|
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
| 115 |
< |
# 2006, 2007, 2008 Free Software Foundation, Inc. |
| 115 |
> |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, |
| 116 |
> |
# Inc. |
| 117 |
|
# Written by Gordon Matzigkeit, 1996 |
| 118 |
|
# |
| 119 |
|
# This file is part of GNU Libtool. |
| 140 |
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 141 |
|
]) |
| 142 |
|
|
| 143 |
< |
# serial 56 LT_INIT |
| 143 |
> |
# serial 57 LT_INIT |
| 144 |
|
|
| 145 |
|
|
| 146 |
|
# LT_PREREQ(VERSION) |
| 169 |
|
# ------------------ |
| 170 |
|
AC_DEFUN([LT_INIT], |
| 171 |
|
[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT |
| 172 |
+ |
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl |
| 173 |
|
AC_BEFORE([$0], [LT_LANG])dnl |
| 174 |
|
AC_BEFORE([$0], [LT_OUTPUT])dnl |
| 175 |
|
AC_BEFORE([$0], [LTDL_INIT])dnl |
| 186 |
|
AC_REQUIRE([LTOBSOLETE_VERSION])dnl |
| 187 |
|
m4_require([_LT_PROG_LTMAIN])dnl |
| 188 |
|
|
| 189 |
+ |
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) |
| 190 |
+ |
|
| 191 |
|
dnl Parse OPTIONS |
| 192 |
|
_LT_SET_OPTIONS([$0], [$1]) |
| 193 |
|
|
| 224 |
|
*) break;; |
| 225 |
|
esac |
| 226 |
|
done |
| 227 |
< |
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` |
| 227 |
> |
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
| 228 |
|
]) |
| 229 |
|
|
| 230 |
|
|
| 244 |
|
m4_defun([_LT_SETUP], |
| 245 |
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 246 |
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 247 |
+ |
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl |
| 248 |
+ |
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl |
| 249 |
+ |
|
| 250 |
|
_LT_DECL([], [host_alias], [0], [The host system])dnl |
| 251 |
|
_LT_DECL([], [host], [0])dnl |
| 252 |
|
_LT_DECL([], [host_os], [0])dnl |
| 288 |
|
_LT_CHECK_OBJDIR |
| 289 |
|
|
| 290 |
|
m4_require([_LT_TAG_COMPILER])dnl |
| 283 |
– |
_LT_PROG_ECHO_BACKSLASH |
| 291 |
|
|
| 292 |
|
case $host_os in |
| 293 |
|
aix3*) |
| 301 |
|
;; |
| 302 |
|
esac |
| 303 |
|
|
| 297 |
– |
# Sed substitution that helps us do robust quoting. It backslashifies |
| 298 |
– |
# metacharacters that are still active within double-quoted strings. |
| 299 |
– |
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
| 300 |
– |
|
| 301 |
– |
# Same as above, but do not quote variable references. |
| 302 |
– |
double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
| 303 |
– |
|
| 304 |
– |
# Sed substitution to delay expansion of an escaped shell variable in a |
| 305 |
– |
# double_quote_subst'ed string. |
| 306 |
– |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 307 |
– |
|
| 308 |
– |
# Sed substitution to delay expansion of an escaped single quote. |
| 309 |
– |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 310 |
– |
|
| 311 |
– |
# Sed substitution to avoid accidental globbing in evaled expressions |
| 312 |
– |
no_glob_subst='s/\*/\\\*/g' |
| 313 |
– |
|
| 304 |
|
# Global variables: |
| 305 |
|
ofile=libtool |
| 306 |
|
can_build_shared=yes |
| 341 |
|
])# _LT_SETUP |
| 342 |
|
|
| 343 |
|
|
| 344 |
+ |
# _LT_PREPARE_SED_QUOTE_VARS |
| 345 |
+ |
# -------------------------- |
| 346 |
+ |
# Define a few sed substitution that help us do robust quoting. |
| 347 |
+ |
m4_defun([_LT_PREPARE_SED_QUOTE_VARS], |
| 348 |
+ |
[# Backslashify metacharacters that are still active within |
| 349 |
+ |
# double-quoted strings. |
| 350 |
+ |
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' |
| 351 |
+ |
|
| 352 |
+ |
# Same as above, but do not quote variable references. |
| 353 |
+ |
double_quote_subst='s/\([["`\\]]\)/\\\1/g' |
| 354 |
+ |
|
| 355 |
+ |
# Sed substitution to delay expansion of an escaped shell variable in a |
| 356 |
+ |
# double_quote_subst'ed string. |
| 357 |
+ |
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| 358 |
+ |
|
| 359 |
+ |
# Sed substitution to delay expansion of an escaped single quote. |
| 360 |
+ |
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| 361 |
+ |
|
| 362 |
+ |
# Sed substitution to avoid accidental globbing in evaled expressions |
| 363 |
+ |
no_glob_subst='s/\*/\\\*/g' |
| 364 |
+ |
]) |
| 365 |
+ |
|
| 366 |
|
# _LT_PROG_LTMAIN |
| 367 |
|
# --------------- |
| 368 |
|
# Note that this code is called both from `configure', and `config.status' |
| 515 |
|
# declaration there will have the same value as in `configure'. VARNAME |
| 516 |
|
# must have a single quote delimited value for this to work. |
| 517 |
|
m4_define([_LT_CONFIG_STATUS_DECLARE], |
| 518 |
< |
[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`']) |
| 518 |
> |
[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) |
| 519 |
|
|
| 520 |
|
|
| 521 |
|
# _LT_CONFIG_STATUS_DECLARATIONS |
| 525 |
|
# embedded single quotes properly. In configure, this macro expands |
| 526 |
|
# each variable declared with _LT_DECL (and _LT_TAGDECL) into: |
| 527 |
|
# |
| 528 |
< |
# <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`' |
| 528 |
> |
# <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`' |
| 529 |
|
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], |
| 530 |
|
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), |
| 531 |
|
[m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) |
| 624 |
|
LTCFLAGS='$LTCFLAGS' |
| 625 |
|
compiler='$compiler_DEFAULT' |
| 626 |
|
|
| 627 |
+ |
# A function that is used when there is no print builtin or printf. |
| 628 |
+ |
func_fallback_echo () |
| 629 |
+ |
{ |
| 630 |
+ |
eval 'cat <<_LTECHO_EOF |
| 631 |
+ |
\$[]1 |
| 632 |
+ |
_LTECHO_EOF' |
| 633 |
+ |
} |
| 634 |
+ |
|
| 635 |
|
# Quote evaled strings. |
| 636 |
|
for var in lt_decl_all_varnames([[ \ |
| 637 |
|
]], lt_decl_quote_varnames); do |
| 638 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 638 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 639 |
|
*[[\\\\\\\`\\"\\\$]]*) |
| 640 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 640 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
| 641 |
|
;; |
| 642 |
|
*) |
| 643 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 648 |
|
# Double-quote double-evaled strings. |
| 649 |
|
for var in lt_decl_all_varnames([[ \ |
| 650 |
|
]], lt_decl_dquote_varnames); do |
| 651 |
< |
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in |
| 651 |
> |
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
| 652 |
|
*[[\\\\\\\`\\"\\\$]]*) |
| 653 |
< |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 653 |
> |
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
| 654 |
|
;; |
| 655 |
|
*) |
| 656 |
|
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
| 658 |
|
esac |
| 659 |
|
done |
| 660 |
|
|
| 641 |
– |
# Fix-up fallback echo if it was mangled by the above quoting rules. |
| 642 |
– |
case \$lt_ECHO in |
| 643 |
– |
*'\\\[$]0 --fallback-echo"')dnl " |
| 644 |
– |
lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\` |
| 645 |
– |
;; |
| 646 |
– |
esac |
| 647 |
– |
|
| 661 |
|
_LT_OUTPUT_LIBTOOL_INIT |
| 662 |
|
]) |
| 663 |
|
|
| 664 |
+ |
# _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) |
| 665 |
+ |
# ------------------------------------ |
| 666 |
+ |
# Generate a child script FILE with all initialization necessary to |
| 667 |
+ |
# reuse the environment learned by the parent script, and make the |
| 668 |
+ |
# file executable. If COMMENT is supplied, it is inserted after the |
| 669 |
+ |
# `#!' sequence but before initialization text begins. After this |
| 670 |
+ |
# macro, additional text can be appended to FILE to form the body of |
| 671 |
+ |
# the child script. The macro ends with non-zero status if the |
| 672 |
+ |
# file could not be fully written (such as if the disk is full). |
| 673 |
+ |
m4_ifdef([AS_INIT_GENERATED], |
| 674 |
+ |
[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], |
| 675 |
+ |
[m4_defun([_LT_GENERATED_FILE_INIT], |
| 676 |
+ |
[m4_require([AS_PREPARE])]dnl |
| 677 |
+ |
[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl |
| 678 |
+ |
[lt_write_fail=0 |
| 679 |
+ |
cat >$1 <<_ASEOF || lt_write_fail=1 |
| 680 |
+ |
#! $SHELL |
| 681 |
+ |
# Generated by $as_me. |
| 682 |
+ |
$2 |
| 683 |
+ |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 684 |
+ |
export SHELL |
| 685 |
+ |
_ASEOF |
| 686 |
+ |
cat >>$1 <<\_ASEOF || lt_write_fail=1 |
| 687 |
+ |
AS_SHELL_SANITIZE |
| 688 |
+ |
_AS_PREPARE |
| 689 |
+ |
exec AS_MESSAGE_FD>&1 |
| 690 |
+ |
_ASEOF |
| 691 |
+ |
test $lt_write_fail = 0 && chmod +x $1[]dnl |
| 692 |
+ |
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT |
| 693 |
|
|
| 694 |
|
# LT_OUTPUT |
| 695 |
|
# --------- |
| 699 |
|
AC_DEFUN([LT_OUTPUT], |
| 700 |
|
[: ${CONFIG_LT=./config.lt} |
| 701 |
|
AC_MSG_NOTICE([creating $CONFIG_LT]) |
| 702 |
< |
cat >"$CONFIG_LT" <<_LTEOF |
| 703 |
< |
#! $SHELL |
| 662 |
< |
# Generated by $as_me. |
| 663 |
< |
# Run this file to recreate a libtool stub with the current configuration. |
| 664 |
< |
|
| 665 |
< |
lt_cl_silent=false |
| 666 |
< |
SHELL=\${CONFIG_SHELL-$SHELL} |
| 667 |
< |
_LTEOF |
| 702 |
> |
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"], |
| 703 |
> |
[# Run this file to recreate a libtool stub with the current configuration.]) |
| 704 |
|
|
| 705 |
|
cat >>"$CONFIG_LT" <<\_LTEOF |
| 706 |
< |
AS_SHELL_SANITIZE |
| 671 |
< |
_AS_PREPARE |
| 672 |
< |
|
| 673 |
< |
exec AS_MESSAGE_FD>&1 |
| 706 |
> |
lt_cl_silent=false |
| 707 |
|
exec AS_MESSAGE_LOG_FD>>config.log |
| 708 |
|
{ |
| 709 |
|
echo |
| 729 |
|
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) |
| 730 |
|
configured by $[0], generated by m4_PACKAGE_STRING. |
| 731 |
|
|
| 732 |
< |
Copyright (C) 2008 Free Software Foundation, Inc. |
| 732 |
> |
Copyright (C) 2010 Free Software Foundation, Inc. |
| 733 |
|
This config.lt script is free software; the Free Software Foundation |
| 734 |
|
gives unlimited permision to copy, distribute and modify it." |
| 735 |
|
|
| 774 |
|
# appending to config.log, which fails on DOS, as config.log is still kept |
| 775 |
|
# open by configure. Here we exec the FD to /dev/null, effectively closing |
| 776 |
|
# config.log, so it can be properly (re)opened and appended to by config.lt. |
| 777 |
< |
if test "$no_create" != yes; then |
| 778 |
< |
lt_cl_success=: |
| 779 |
< |
test "$silent" = yes && |
| 780 |
< |
lt_config_lt_args="$lt_config_lt_args --quiet" |
| 781 |
< |
exec AS_MESSAGE_LOG_FD>/dev/null |
| 782 |
< |
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
| 783 |
< |
exec AS_MESSAGE_LOG_FD>>config.log |
| 751 |
< |
$lt_cl_success || AS_EXIT(1) |
| 752 |
< |
fi |
| 777 |
> |
lt_cl_success=: |
| 778 |
> |
test "$silent" = yes && |
| 779 |
> |
lt_config_lt_args="$lt_config_lt_args --quiet" |
| 780 |
> |
exec AS_MESSAGE_LOG_FD>/dev/null |
| 781 |
> |
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false |
| 782 |
> |
exec AS_MESSAGE_LOG_FD>>config.log |
| 783 |
> |
$lt_cl_success || AS_EXIT(1) |
| 784 |
|
])# LT_OUTPUT |
| 785 |
|
|
| 786 |
|
|
| 957 |
|
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) |
| 958 |
|
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) |
| 959 |
|
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) |
| 960 |
+ |
AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) |
| 961 |
|
dnl aclocal-1.4 backwards compatibility: |
| 962 |
|
dnl AC_DEFUN([AC_LIBTOOL_CXX], []) |
| 963 |
|
dnl AC_DEFUN([AC_LIBTOOL_F77], []) |
| 964 |
|
dnl AC_DEFUN([AC_LIBTOOL_FC], []) |
| 965 |
|
dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) |
| 966 |
+ |
dnl AC_DEFUN([AC_LIBTOOL_RC], []) |
| 967 |
|
|
| 968 |
|
|
| 969 |
|
# _LT_TAG_COMPILER |
| 1068 |
|
[lt_cv_ld_exported_symbols_list=no]) |
| 1069 |
|
LDFLAGS="$save_LDFLAGS" |
| 1070 |
|
]) |
| 1071 |
+ |
AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], |
| 1072 |
+ |
[lt_cv_ld_force_load=no |
| 1073 |
+ |
cat > conftest.c << _LT_EOF |
| 1074 |
+ |
int forced_loaded() { return 2;} |
| 1075 |
+ |
_LT_EOF |
| 1076 |
+ |
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD |
| 1077 |
+ |
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD |
| 1078 |
+ |
echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD |
| 1079 |
+ |
$AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD |
| 1080 |
+ |
echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD |
| 1081 |
+ |
$RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD |
| 1082 |
+ |
cat > conftest.c << _LT_EOF |
| 1083 |
+ |
int main() { return 0;} |
| 1084 |
+ |
_LT_EOF |
| 1085 |
+ |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD |
| 1086 |
+ |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
| 1087 |
+ |
_lt_result=$? |
| 1088 |
+ |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then |
| 1089 |
+ |
lt_cv_ld_force_load=yes |
| 1090 |
+ |
else |
| 1091 |
+ |
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1092 |
+ |
fi |
| 1093 |
+ |
rm -f conftest.err libconftest.a conftest conftest.c |
| 1094 |
+ |
rm -rf conftest.dSYM |
| 1095 |
+ |
]) |
| 1096 |
|
case $host_os in |
| 1097 |
|
rhapsody* | darwin1.[[012]]) |
| 1098 |
|
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 1120 |
|
else |
| 1121 |
|
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
| 1122 |
|
fi |
| 1123 |
< |
if test "$DSYMUTIL" != ":"; then |
| 1123 |
> |
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
| 1124 |
|
_lt_dsymutil='~$DSYMUTIL $lib || :' |
| 1125 |
|
else |
| 1126 |
|
_lt_dsymutil= |
| 1140 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 1141 |
|
_LT_TAGVAR(hardcode_automatic, $1)=yes |
| 1142 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
| 1143 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='' |
| 1143 |
> |
if test "$lt_cv_ld_force_load" = "yes"; then |
| 1144 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
| 1145 |
> |
else |
| 1146 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='' |
| 1147 |
> |
fi |
| 1148 |
|
_LT_TAGVAR(link_all_deplibs, $1)=yes |
| 1149 |
|
_LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
| 1150 |
|
case $cc_basename in |
| 1152 |
|
*) _lt_dar_can_shared=$GCC ;; |
| 1153 |
|
esac |
| 1154 |
|
if test "$_lt_dar_can_shared" = "yes"; then |
| 1155 |
< |
output_verbose_link_cmd=echo |
| 1155 |
> |
output_verbose_link_cmd=func_echo_all |
| 1156 |
|
_LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
| 1157 |
|
_LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 1158 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)="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}" |
| 1198 |
|
# _LT_SHELL_INIT(ARG) |
| 1199 |
|
# ------------------- |
| 1200 |
|
m4_define([_LT_SHELL_INIT], |
| 1201 |
< |
[ifdef([AC_DIVERSION_NOTICE], |
| 1202 |
< |
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], |
| 1203 |
< |
[AC_DIVERT_PUSH(NOTICE)]) |
| 1142 |
< |
$1 |
| 1143 |
< |
AC_DIVERT_POP |
| 1144 |
< |
])# _LT_SHELL_INIT |
| 1201 |
> |
[m4_divert_text([M4SH-INIT], [$1 |
| 1202 |
> |
])])# _LT_SHELL_INIT |
| 1203 |
> |
|
| 1204 |
|
|
| 1205 |
|
|
| 1206 |
|
# _LT_PROG_ECHO_BACKSLASH |
| 1207 |
|
# ----------------------- |
| 1208 |
< |
# Add some code to the start of the generated configure script which |
| 1209 |
< |
# will find an echo command which doesn't interpret backslashes. |
| 1208 |
> |
# Find how we can fake an echo command that does not interpret backslash. |
| 1209 |
> |
# In particular, with Autoconf 2.60 or later we add some code to the start |
| 1210 |
> |
# of the generated configure script which will find a shell with a builtin |
| 1211 |
> |
# printf (which we can use as an echo command). |
| 1212 |
|
m4_defun([_LT_PROG_ECHO_BACKSLASH], |
| 1213 |
< |
[_LT_SHELL_INIT([ |
| 1214 |
< |
# Check that we are running under the correct shell. |
| 1215 |
< |
SHELL=${CONFIG_SHELL-/bin/sh} |
| 1216 |
< |
|
| 1217 |
< |
case X$lt_ECHO in |
| 1218 |
< |
X*--fallback-echo) |
| 1219 |
< |
# Remove one level of quotation (which was required for Make). |
| 1220 |
< |
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` |
| 1221 |
< |
;; |
| 1222 |
< |
esac |
| 1223 |
< |
|
| 1163 |
< |
ECHO=${lt_ECHO-echo} |
| 1164 |
< |
if test "X[$]1" = X--no-reexec; then |
| 1165 |
< |
# Discard the --no-reexec flag, and continue. |
| 1166 |
< |
shift |
| 1167 |
< |
elif test "X[$]1" = X--fallback-echo; then |
| 1168 |
< |
# Avoid inline document here, it may be left over |
| 1169 |
< |
: |
| 1170 |
< |
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then |
| 1171 |
< |
# Yippee, $ECHO works! |
| 1172 |
< |
: |
| 1213 |
> |
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 1214 |
> |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1215 |
> |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1216 |
> |
|
| 1217 |
> |
AC_MSG_CHECKING([how to print strings]) |
| 1218 |
> |
# Test print first, because it will be a builtin if present. |
| 1219 |
> |
if test "X`print -r -- -n 2>/dev/null`" = X-n && \ |
| 1220 |
> |
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 1221 |
> |
ECHO='print -r --' |
| 1222 |
> |
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| 1223 |
> |
ECHO='printf %s\n' |
| 1224 |
|
else |
| 1225 |
< |
# Restart under the correct shell. |
| 1226 |
< |
exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} |
| 1227 |
< |
fi |
| 1228 |
< |
|
| 1229 |
< |
if test "X[$]1" = X--fallback-echo; then |
| 1230 |
< |
# used as fallback echo |
| 1231 |
< |
shift |
| 1232 |
< |
cat <<_LT_EOF |
| 1182 |
< |
[$]* |
| 1183 |
< |
_LT_EOF |
| 1184 |
< |
exit 0 |
| 1225 |
> |
# Use this function as a fallback that always works. |
| 1226 |
> |
func_fallback_echo () |
| 1227 |
> |
{ |
| 1228 |
> |
eval 'cat <<_LTECHO_EOF |
| 1229 |
> |
$[]1 |
| 1230 |
> |
_LTECHO_EOF' |
| 1231 |
> |
} |
| 1232 |
> |
ECHO='func_fallback_echo' |
| 1233 |
|
fi |
| 1234 |
|
|
| 1235 |
< |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
| 1236 |
< |
# if CDPATH is set. |
| 1237 |
< |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
| 1238 |
< |
|
| 1239 |
< |
if test -z "$lt_ECHO"; then |
| 1240 |
< |
if test "X${echo_test_string+set}" != Xset; then |
| 1193 |
< |
# find a string as large as possible, as long as the shell can cope with it |
| 1194 |
< |
for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do |
| 1195 |
< |
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... |
| 1196 |
< |
if { echo_test_string=`eval $cmd`; } 2>/dev/null && |
| 1197 |
< |
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null |
| 1198 |
< |
then |
| 1199 |
< |
break |
| 1200 |
< |
fi |
| 1201 |
< |
done |
| 1202 |
< |
fi |
| 1203 |
< |
|
| 1204 |
< |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
| 1205 |
< |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
| 1206 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1207 |
< |
: |
| 1208 |
< |
else |
| 1209 |
< |
# The Solaris, AIX, and Digital Unix default echo programs unquote |
| 1210 |
< |
# backslashes. This makes it impossible to quote backslashes using |
| 1211 |
< |
# echo "$something" | sed 's/\\/\\\\/g' |
| 1212 |
< |
# |
| 1213 |
< |
# So, first we look for a working echo in the user's PATH. |
| 1214 |
< |
|
| 1215 |
< |
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
| 1216 |
< |
for dir in $PATH /usr/ucb; do |
| 1217 |
< |
IFS="$lt_save_ifs" |
| 1218 |
< |
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && |
| 1219 |
< |
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && |
| 1220 |
< |
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && |
| 1221 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1222 |
< |
ECHO="$dir/echo" |
| 1223 |
< |
break |
| 1224 |
< |
fi |
| 1225 |
< |
done |
| 1226 |
< |
IFS="$lt_save_ifs" |
| 1227 |
< |
|
| 1228 |
< |
if test "X$ECHO" = Xecho; then |
| 1229 |
< |
# We didn't find a better echo, so look for alternatives. |
| 1230 |
< |
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' && |
| 1231 |
< |
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` && |
| 1232 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1233 |
< |
# This shell has a builtin print -r that does the trick. |
| 1234 |
< |
ECHO='print -r' |
| 1235 |
< |
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } && |
| 1236 |
< |
test "X$CONFIG_SHELL" != X/bin/ksh; then |
| 1237 |
< |
# If we have ksh, try running configure again with it. |
| 1238 |
< |
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} |
| 1239 |
< |
export ORIGINAL_CONFIG_SHELL |
| 1240 |
< |
CONFIG_SHELL=/bin/ksh |
| 1241 |
< |
export CONFIG_SHELL |
| 1242 |
< |
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} |
| 1243 |
< |
else |
| 1244 |
< |
# Try using printf. |
| 1245 |
< |
ECHO='printf %s\n' |
| 1246 |
< |
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' && |
| 1247 |
< |
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` && |
| 1248 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1249 |
< |
# Cool, printf works |
| 1250 |
< |
: |
| 1251 |
< |
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 1252 |
< |
test "X$echo_testing_string" = 'X\t' && |
| 1253 |
< |
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 1254 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1255 |
< |
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL |
| 1256 |
< |
export CONFIG_SHELL |
| 1257 |
< |
SHELL="$CONFIG_SHELL" |
| 1258 |
< |
export SHELL |
| 1259 |
< |
ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
| 1260 |
< |
elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && |
| 1261 |
< |
test "X$echo_testing_string" = 'X\t' && |
| 1262 |
< |
echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && |
| 1263 |
< |
test "X$echo_testing_string" = "X$echo_test_string"; then |
| 1264 |
< |
ECHO="$CONFIG_SHELL [$]0 --fallback-echo" |
| 1265 |
< |
else |
| 1266 |
< |
# maybe with a smaller string... |
| 1267 |
< |
prev=: |
| 1268 |
< |
|
| 1269 |
< |
for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do |
| 1270 |
< |
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null |
| 1271 |
< |
then |
| 1272 |
< |
break |
| 1273 |
< |
fi |
| 1274 |
< |
prev="$cmd" |
| 1275 |
< |
done |
| 1235 |
> |
# func_echo_all arg... |
| 1236 |
> |
# Invoke $ECHO with all args, space-separated. |
| 1237 |
> |
func_echo_all () |
| 1238 |
> |
{ |
| 1239 |
> |
$ECHO "$*" |
| 1240 |
> |
} |
| 1241 |
|
|
| 1242 |
< |
if test "$prev" != 'sed 50q "[$]0"'; then |
| 1243 |
< |
echo_test_string=`eval $prev` |
| 1244 |
< |
export echo_test_string |
| 1245 |
< |
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} |
| 1246 |
< |
else |
| 1282 |
< |
# Oops. We lost completely, so just stick with echo. |
| 1283 |
< |
ECHO=echo |
| 1284 |
< |
fi |
| 1285 |
< |
fi |
| 1286 |
< |
fi |
| 1287 |
< |
fi |
| 1288 |
< |
fi |
| 1289 |
< |
fi |
| 1242 |
> |
case "$ECHO" in |
| 1243 |
> |
printf*) AC_MSG_RESULT([printf]) ;; |
| 1244 |
> |
print*) AC_MSG_RESULT([print -r]) ;; |
| 1245 |
> |
*) AC_MSG_RESULT([cat]) ;; |
| 1246 |
> |
esac |
| 1247 |
|
|
| 1248 |
< |
# Copy echo and quote the copy suitably for passing to libtool from |
| 1249 |
< |
# the Makefile, instead of quoting the original, which is used later. |
| 1250 |
< |
lt_ECHO=$ECHO |
| 1251 |
< |
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then |
| 1252 |
< |
lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" |
| 1253 |
< |
fi |
| 1248 |
> |
m4_ifdef([_AS_DETECT_SUGGESTED], |
| 1249 |
> |
[_AS_DETECT_SUGGESTED([ |
| 1250 |
> |
test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( |
| 1251 |
> |
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| 1252 |
> |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1253 |
> |
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| 1254 |
> |
PATH=/empty FPATH=/empty; export PATH FPATH |
| 1255 |
> |
test "X`printf %s $ECHO`" = "X$ECHO" \ |
| 1256 |
> |
|| test "X`print -r -- $ECHO`" = "X$ECHO" )])]) |
| 1257 |
|
|
| 1298 |
– |
AC_SUBST(lt_ECHO) |
| 1299 |
– |
]) |
| 1258 |
|
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) |
| 1259 |
< |
_LT_DECL([], [ECHO], [1], |
| 1302 |
< |
[An echo program that does not interpret backslashes]) |
| 1259 |
> |
_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) |
| 1260 |
|
])# _LT_PROG_ECHO_BACKSLASH |
| 1261 |
|
|
| 1262 |
|
|
| 1288 |
|
;; |
| 1289 |
|
*-*-irix6*) |
| 1290 |
|
# Find out which ABI we are using. |
| 1291 |
< |
echo '[#]line __oline__ "configure"' > conftest.$ac_ext |
| 1291 |
> |
echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext |
| 1292 |
|
if AC_TRY_EVAL(ac_compile); then |
| 1293 |
|
if test "$lt_cv_prog_gnu_ld" = yes; then |
| 1294 |
|
case `/usr/bin/file conftest.$ac_objext` in |
| 1440 |
|
esac |
| 1441 |
|
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" |
| 1442 |
|
fi |
| 1443 |
+ |
|
| 1444 |
+ |
case $host_os in |
| 1445 |
+ |
darwin*) |
| 1446 |
+ |
lock_old_archive_extraction=yes ;; |
| 1447 |
+ |
*) |
| 1448 |
+ |
lock_old_archive_extraction=no ;; |
| 1449 |
+ |
esac |
| 1450 |
|
_LT_DECL([], [old_postinstall_cmds], [2]) |
| 1451 |
|
_LT_DECL([], [old_postuninstall_cmds], [2]) |
| 1452 |
|
_LT_TAGDECL([], [old_archive_cmds], [2], |
| 1453 |
|
[Commands used to build an old-style archive]) |
| 1454 |
+ |
_LT_DECL([], [lock_old_archive_extraction], [0], |
| 1455 |
+ |
[Whether to use a lock for old archive extraction]) |
| 1456 |
|
])# _LT_CMD_OLD_ARCHIVE |
| 1457 |
|
|
| 1458 |
|
|
| 1477 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 1478 |
|
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
| 1479 |
|
-e 's:$: $lt_compiler_flag:'` |
| 1480 |
< |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
| 1480 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
| 1481 |
|
(eval "$lt_compile" 2>conftest.err) |
| 1482 |
|
ac_status=$? |
| 1483 |
|
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 1484 |
< |
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 1484 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 1485 |
|
if (exit $ac_status) && test -s "$ac_outfile"; then |
| 1486 |
|
# The compiler can only warn and ignore the option if not recognized |
| 1487 |
|
# So say no if there are warnings other than the usual output. |
| 1488 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp |
| 1488 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
| 1489 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 1490 |
|
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
| 1491 |
|
$2=yes |
| 1525 |
|
if test -s conftest.err; then |
| 1526 |
|
# Append any errors to the config.log. |
| 1527 |
|
cat conftest.err 1>&AS_MESSAGE_LOG_FD |
| 1528 |
< |
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
| 1528 |
> |
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
| 1529 |
|
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
| 1530 |
|
if diff conftest.exp conftest.er2 >/dev/null; then |
| 1531 |
|
$2=yes |
| 1588 |
|
lt_cv_sys_max_cmd_len=8192; |
| 1589 |
|
;; |
| 1590 |
|
|
| 1591 |
+ |
mint*) |
| 1592 |
+ |
# On MiNT this can take a long time and run out of memory. |
| 1593 |
+ |
lt_cv_sys_max_cmd_len=8192; |
| 1594 |
+ |
;; |
| 1595 |
+ |
|
| 1596 |
|
amigaos*) |
| 1597 |
|
# On AmigaOS with pdksh, this test takes hours, literally. |
| 1598 |
|
# So we just punt and use a minimum line length of 8192. |
| 1657 |
|
# If test is not a shell built-in, we'll probably end up computing a |
| 1658 |
|
# maximum length that is only half of the actual maximum length, but |
| 1659 |
|
# we can't tell. |
| 1660 |
< |
while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \ |
| 1661 |
< |
= "XX$teststring$teststring"; } >/dev/null 2>&1 && |
| 1660 |
> |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ |
| 1661 |
> |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
| 1662 |
|
test $i != 17 # 1/2 MB should be enough |
| 1663 |
|
do |
| 1664 |
|
i=`expr $i + 1` |
| 1709 |
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
| 1710 |
|
lt_status=$lt_dlunknown |
| 1711 |
|
cat > conftest.$ac_ext <<_LT_EOF |
| 1712 |
< |
[#line __oline__ "configure" |
| 1712 |
> |
[#line $LINENO "configure" |
| 1713 |
|
#include "confdefs.h" |
| 1714 |
|
|
| 1715 |
|
#if HAVE_DLFCN_H |
| 1750 |
|
# endif |
| 1751 |
|
#endif |
| 1752 |
|
|
| 1753 |
< |
void fnord() { int i=42;} |
| 1753 |
> |
/* When -fvisbility=hidden is used, assume the code has been annotated |
| 1754 |
> |
correspondingly for the symbols needed. */ |
| 1755 |
> |
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
| 1756 |
> |
void fnord () __attribute__((visibility("default"))); |
| 1757 |
> |
#endif |
| 1758 |
> |
|
| 1759 |
> |
void fnord () { int i=42; } |
| 1760 |
|
int main () |
| 1761 |
|
{ |
| 1762 |
|
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
| 1765 |
|
if (self) |
| 1766 |
|
{ |
| 1767 |
|
if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
| 1768 |
< |
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 1768 |
> |
else |
| 1769 |
> |
{ |
| 1770 |
> |
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
| 1771 |
> |
else puts (dlerror ()); |
| 1772 |
> |
} |
| 1773 |
|
/* dlclose (self); */ |
| 1774 |
|
} |
| 1775 |
|
else |
| 1945 |
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
| 1946 |
|
-e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ |
| 1947 |
|
-e 's:$: $lt_compiler_flag:'` |
| 1948 |
< |
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
| 1948 |
> |
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) |
| 1949 |
|
(eval "$lt_compile" 2>out/conftest.err) |
| 1950 |
|
ac_status=$? |
| 1951 |
|
cat out/conftest.err >&AS_MESSAGE_LOG_FD |
| 1952 |
< |
echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 1952 |
> |
echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD |
| 1953 |
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
| 1954 |
|
then |
| 1955 |
|
# The compiler can only warn and ignore the option if not recognized |
| 1956 |
|
# So say no if there are warnings |
| 1957 |
< |
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp |
| 1957 |
> |
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
| 1958 |
|
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
| 1959 |
|
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
| 1960 |
|
_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes |
| 2113 |
|
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 2114 |
|
m4_require([_LT_DECL_OBJDUMP])dnl |
| 2115 |
|
m4_require([_LT_DECL_SED])dnl |
| 2116 |
+ |
m4_require([_LT_CHECK_SHELL_FEATURES])dnl |
| 2117 |
|
AC_MSG_CHECKING([dynamic linker characteristics]) |
| 2118 |
|
m4_if([$1], |
| 2119 |
|
[], [ |
| 2122 |
|
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
| 2123 |
|
*) lt_awk_arg="/^libraries:/" ;; |
| 2124 |
|
esac |
| 2125 |
< |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 2126 |
< |
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then |
| 2125 |
> |
case $host_os in |
| 2126 |
> |
mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; |
| 2127 |
> |
*) lt_sed_strip_eq="s,=/,/,g" ;; |
| 2128 |
> |
esac |
| 2129 |
> |
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
| 2130 |
> |
case $lt_search_path_spec in |
| 2131 |
> |
*\;*) |
| 2132 |
|
# if the path contains ";" then we assume it to be the separator |
| 2133 |
|
# otherwise default to the standard path separator (i.e. ":") - it is |
| 2134 |
|
# assumed that no part of a normal pathname contains ";" but that should |
| 2135 |
|
# okay in the real world where ";" in dirpaths is itself problematic. |
| 2136 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'` |
| 2137 |
< |
else |
| 2138 |
< |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 2139 |
< |
fi |
| 2136 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
| 2137 |
> |
;; |
| 2138 |
> |
*) |
| 2139 |
> |
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
| 2140 |
> |
;; |
| 2141 |
> |
esac |
| 2142 |
|
# Ok, now we have the path, separated by spaces, we can step through it |
| 2143 |
|
# and add multilib dir if necessary. |
| 2144 |
|
lt_tmp_lt_search_path_spec= |
| 2151 |
|
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
| 2152 |
|
fi |
| 2153 |
|
done |
| 2154 |
< |
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk ' |
| 2154 |
> |
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
| 2155 |
|
BEGIN {RS=" "; FS="/|\n";} { |
| 2156 |
|
lt_foo=""; |
| 2157 |
|
lt_count=0; |
| 2171 |
|
if (lt_foo != "") { lt_freq[[lt_foo]]++; } |
| 2172 |
|
if (lt_freq[[lt_foo]] == 1) { print lt_foo; } |
| 2173 |
|
}'` |
| 2174 |
< |
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec` |
| 2174 |
> |
# AWK program above erroneously prepends '/' to C:/dos/paths |
| 2175 |
> |
# for these hosts. |
| 2176 |
> |
case $host_os in |
| 2177 |
> |
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
| 2178 |
> |
$SED 's,/\([[A-Za-z]]:\),\1,g'` ;; |
| 2179 |
> |
esac |
| 2180 |
> |
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
| 2181 |
|
else |
| 2182 |
|
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
| 2183 |
|
fi]) |
| 2265 |
|
m68k) |
| 2266 |
|
library_names_spec='$libname.ixlibrary $libname.a' |
| 2267 |
|
# Create ${libname}_ixlibrary.a entries in /sys/libs. |
| 2268 |
< |
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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' |
| 2268 |
> |
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' |
| 2269 |
|
;; |
| 2270 |
|
esac |
| 2271 |
|
;; |
| 2318 |
|
cygwin*) |
| 2319 |
|
# Cygwin DLLs use 'cyg' prefix rather than 'lib' |
| 2320 |
|
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
| 2321 |
< |
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" |
| 2321 |
> |
m4_if([$1], [],[ |
| 2322 |
> |
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) |
| 2323 |
|
;; |
| 2324 |
|
mingw* | cegcc*) |
| 2325 |
|
# MinGW DLLs use traditional 'lib' prefix |
| 2326 |
|
soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' |
| 2331 |
– |
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` |
| 2332 |
– |
if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then |
| 2333 |
– |
# It is most probably a Windows format PATH printed by |
| 2334 |
– |
# mingw gcc, but we are running on Cygwin. Gcc prints its search |
| 2335 |
– |
# path with ; separators, and with drive letters. We can handle the |
| 2336 |
– |
# drive letters (cygwin fileutils understands them), so leave them, |
| 2337 |
– |
# especially as we might pass files found there to a mingw objdump, |
| 2338 |
– |
# which wouldn't understand a cygwinified path. Ahh. |
| 2339 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
| 2340 |
– |
else |
| 2341 |
– |
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
| 2342 |
– |
fi |
| 2327 |
|
;; |
| 2328 |
|
pw32*) |
| 2329 |
|
# pw32 DLLs use 'pw' prefix rather than 'lib' |
| 2423 |
|
hardcode_into_libs=yes |
| 2424 |
|
;; |
| 2425 |
|
|
| 2426 |
+ |
haiku*) |
| 2427 |
+ |
version_type=linux |
| 2428 |
+ |
need_lib_prefix=no |
| 2429 |
+ |
need_version=no |
| 2430 |
+ |
dynamic_linker="$host_os runtime_loader" |
| 2431 |
+ |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
| 2432 |
+ |
soname_spec='${libname}${release}${shared_ext}$major' |
| 2433 |
+ |
shlibpath_var=LIBRARY_PATH |
| 2434 |
+ |
shlibpath_overrides_runpath=yes |
| 2435 |
+ |
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
| 2436 |
+ |
hardcode_into_libs=yes |
| 2437 |
+ |
;; |
| 2438 |
+ |
|
| 2439 |
|
hpux9* | hpux10* | hpux11*) |
| 2440 |
|
# Give a soname corresponding to the major version so that dld.sl refuses to |
| 2441 |
|
# link against other versions. |
| 2478 |
|
soname_spec='${libname}${release}${shared_ext}$major' |
| 2479 |
|
;; |
| 2480 |
|
esac |
| 2481 |
< |
# HP-UX runs *really* slowly unless shared libraries are mode 555. |
| 2481 |
> |
# HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
| 2482 |
|
postinstall_cmds='chmod 555 $lib' |
| 2483 |
+ |
# or fails outright, so override atomically: |
| 2484 |
+ |
install_override_mode=555 |
| 2485 |
|
;; |
| 2486 |
|
|
| 2487 |
|
interix[[3-9]]*) |
| 2539 |
|
;; |
| 2540 |
|
|
| 2541 |
|
# This must be Linux ELF. |
| 2542 |
< |
linux* | k*bsd*-gnu) |
| 2542 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 2543 |
|
version_type=linux |
| 2544 |
|
need_lib_prefix=no |
| 2545 |
|
need_version=no |
| 2548 |
|
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
| 2549 |
|
shlibpath_var=LD_LIBRARY_PATH |
| 2550 |
|
shlibpath_overrides_runpath=no |
| 2551 |
+ |
|
| 2552 |
|
# Some binutils ld are patched to set DT_RUNPATH |
| 2553 |
< |
save_LDFLAGS=$LDFLAGS |
| 2554 |
< |
save_libdir=$libdir |
| 2555 |
< |
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
| 2556 |
< |
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
| 2557 |
< |
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 2558 |
< |
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
| 2559 |
< |
[shlibpath_overrides_runpath=yes])]) |
| 2560 |
< |
LDFLAGS=$save_LDFLAGS |
| 2561 |
< |
libdir=$save_libdir |
| 2553 |
> |
AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], |
| 2554 |
> |
[lt_cv_shlibpath_overrides_runpath=no |
| 2555 |
> |
save_LDFLAGS=$LDFLAGS |
| 2556 |
> |
save_libdir=$libdir |
| 2557 |
> |
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ |
| 2558 |
> |
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" |
| 2559 |
> |
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 2560 |
> |
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], |
| 2561 |
> |
[lt_cv_shlibpath_overrides_runpath=yes])]) |
| 2562 |
> |
LDFLAGS=$save_LDFLAGS |
| 2563 |
> |
libdir=$save_libdir |
| 2564 |
> |
]) |
| 2565 |
> |
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
| 2566 |
|
|
| 2567 |
|
# This implies no fast_install, which is unacceptable. |
| 2568 |
|
# Some rework will be needed to allow for fast_install |
| 2571 |
|
|
| 2572 |
|
# Append ld.so.conf contents to the search path |
| 2573 |
|
if test -f /etc/ld.so.conf; then |
| 2574 |
< |
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;/^$/d' | tr '\n' ' '` |
| 2574 |
> |
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' ' '` |
| 2575 |
|
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
| 2576 |
|
fi |
| 2577 |
|
|
| 2804 |
|
The last name is the one that the linker finds with -lNAME]]) |
| 2805 |
|
_LT_DECL([], [soname_spec], [1], |
| 2806 |
|
[[The coded name of the library, if different from the real name]]) |
| 2807 |
+ |
_LT_DECL([], [install_override_mode], [1], |
| 2808 |
+ |
[Permission mode override for installation of shared libraries]) |
| 2809 |
|
_LT_DECL([], [postinstall_cmds], [2], |
| 2810 |
|
[Command to use after installation of a shared archive]) |
| 2811 |
|
_LT_DECL([], [postuninstall_cmds], [2], |
| 2918 |
|
AC_REQUIRE([AC_CANONICAL_BUILD])dnl |
| 2919 |
|
m4_require([_LT_DECL_SED])dnl |
| 2920 |
|
m4_require([_LT_DECL_EGREP])dnl |
| 2921 |
+ |
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl |
| 2922 |
|
|
| 2923 |
|
AC_ARG_WITH([gnu-ld], |
| 2924 |
|
[AS_HELP_STRING([--with-gnu-ld], |
| 3048 |
|
fi |
| 3049 |
|
;; |
| 3050 |
|
esac |
| 3051 |
< |
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
| 3052 |
< |
_LT_DECL([], [reload_cmds], [2])dnl |
| 3051 |
> |
_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl |
| 3052 |
> |
_LT_TAGDECL([], [reload_cmds], [2])dnl |
| 3053 |
|
])# _LT_CMD_RELOAD |
| 3054 |
|
|
| 3055 |
|
|
| 3101 |
|
# Base MSYS/MinGW do not provide the 'file' command needed by |
| 3102 |
|
# func_win32_libid shell function, so use a weaker test based on 'objdump', |
| 3103 |
|
# unless we find 'file', for example because we are cross-compiling. |
| 3104 |
< |
if ( file / ) >/dev/null 2>&1; then |
| 3104 |
> |
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
| 3105 |
> |
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
| 3106 |
|
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
| 3107 |
|
lt_cv_file_magic_cmd='func_win32_libid' |
| 3108 |
|
else |
| 3109 |
< |
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' |
| 3109 |
> |
# Keep this pattern in sync with the one in func_win32_libid. |
| 3110 |
> |
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
| 3111 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 3112 |
|
fi |
| 3113 |
|
;; |
| 3114 |
|
|
| 3115 |
< |
cegcc) |
| 3115 |
> |
cegcc*) |
| 3116 |
|
# use the weaker test based on 'objdump'. See mingw*. |
| 3117 |
|
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
| 3118 |
|
lt_cv_file_magic_cmd='$OBJDUMP -f' |
| 3142 |
|
lt_cv_deplibs_check_method=pass_all |
| 3143 |
|
;; |
| 3144 |
|
|
| 3145 |
+ |
haiku*) |
| 3146 |
+ |
lt_cv_deplibs_check_method=pass_all |
| 3147 |
+ |
;; |
| 3148 |
+ |
|
| 3149 |
|
hpux10.20* | hpux11*) |
| 3150 |
|
lt_cv_file_magic_cmd=/usr/bin/file |
| 3151 |
|
case $host_cpu in |
| 3154 |
|
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
| 3155 |
|
;; |
| 3156 |
|
hppa*64*) |
| 3157 |
< |
[lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] |
| 3157 |
> |
[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]'] |
| 3158 |
|
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
| 3159 |
|
;; |
| 3160 |
|
*) |
| 3161 |
< |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' |
| 3161 |
> |
lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' |
| 3162 |
|
lt_cv_file_magic_test_file=/usr/lib/libc.sl |
| 3163 |
|
;; |
| 3164 |
|
esac |
| 3180 |
|
;; |
| 3181 |
|
|
| 3182 |
|
# This must be Linux ELF. |
| 3183 |
< |
linux* | k*bsd*-gnu) |
| 3183 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 3184 |
|
lt_cv_deplibs_check_method=pass_all |
| 3185 |
|
;; |
| 3186 |
|
|
| 3322 |
|
NM="$lt_cv_path_NM" |
| 3323 |
|
else |
| 3324 |
|
# Didn't find any BSD compatible name lister, look for dumpbin. |
| 3325 |
< |
AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :) |
| 3325 |
> |
if test -n "$DUMPBIN"; then : |
| 3326 |
> |
# Let the user override the test. |
| 3327 |
> |
else |
| 3328 |
> |
AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) |
| 3329 |
> |
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
| 3330 |
> |
*COFF*) |
| 3331 |
> |
DUMPBIN="$DUMPBIN -symbols" |
| 3332 |
> |
;; |
| 3333 |
> |
*) |
| 3334 |
> |
DUMPBIN=: |
| 3335 |
> |
;; |
| 3336 |
> |
esac |
| 3337 |
> |
fi |
| 3338 |
|
AC_SUBST([DUMPBIN]) |
| 3339 |
|
if test "$DUMPBIN" != ":"; then |
| 3340 |
|
NM="$DUMPBIN" |
| 3347 |
|
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], |
| 3348 |
|
[lt_cv_nm_interface="BSD nm" |
| 3349 |
|
echo "int some_variable = 0;" > conftest.$ac_ext |
| 3350 |
< |
(eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
| 3350 |
> |
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) |
| 3351 |
|
(eval "$ac_compile" 2>conftest.err) |
| 3352 |
|
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 3353 |
< |
(eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
| 3353 |
> |
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) |
| 3354 |
|
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
| 3355 |
|
cat conftest.err >&AS_MESSAGE_LOG_FD |
| 3356 |
< |
(eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD) |
| 3356 |
> |
(eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) |
| 3357 |
|
cat conftest.out >&AS_MESSAGE_LOG_FD |
| 3358 |
|
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
| 3359 |
|
lt_cv_nm_interface="MS dumpbin" |
| 3376 |
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3377 |
|
LIBM= |
| 3378 |
|
case $host in |
| 3379 |
< |
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) |
| 3379 |
> |
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) |
| 3380 |
|
# These system don't have libm, or don't need it |
| 3381 |
|
;; |
| 3382 |
|
*-ncr-sysv4.3*) |
| 3404 |
|
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= |
| 3405 |
|
|
| 3406 |
|
if test "$GCC" = yes; then |
| 3407 |
< |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' |
| 3407 |
> |
case $cc_basename in |
| 3408 |
> |
nvcc*) |
| 3409 |
> |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; |
| 3410 |
> |
*) |
| 3411 |
> |
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; |
| 3412 |
> |
esac |
| 3413 |
|
|
| 3414 |
|
_LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], |
| 3415 |
|
lt_cv_prog_compiler_rtti_exceptions, |
| 3426 |
|
m4_defun([_LT_CMD_GLOBAL_SYMBOLS], |
| 3427 |
|
[AC_REQUIRE([AC_CANONICAL_HOST])dnl |
| 3428 |
|
AC_REQUIRE([AC_PROG_CC])dnl |
| 3429 |
+ |
AC_REQUIRE([AC_PROG_AWK])dnl |
| 3430 |
|
AC_REQUIRE([LT_PATH_NM])dnl |
| 3431 |
|
AC_REQUIRE([LT_PATH_LD])dnl |
| 3432 |
|
m4_require([_LT_DECL_SED])dnl |
| 3552 |
|
if AC_TRY_EVAL(ac_compile); then |
| 3553 |
|
# Now try to grab the symbols. |
| 3554 |
|
nlist=conftest.nm |
| 3555 |
< |
if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then |
| 3555 |
> |
if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then |
| 3556 |
|
# Try sorting and uniquifying the output. |
| 3557 |
|
if sort "$nlist" | uniq > "$nlist"T; then |
| 3558 |
|
mv -f "$nlist"T "$nlist" |
| 3714 |
|
# DJGPP does not support shared libraries at all |
| 3715 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)= |
| 3716 |
|
;; |
| 3717 |
+ |
haiku*) |
| 3718 |
+ |
# PIC is the default for Haiku. |
| 3719 |
+ |
# The "-static" flag exists, but is broken. |
| 3720 |
+ |
_LT_TAGVAR(lt_prog_compiler_static, $1)= |
| 3721 |
+ |
;; |
| 3722 |
|
interix[[3-9]]*) |
| 3723 |
|
# Interix 3.x gcc -fpic/-fPIC options generate broken code. |
| 3724 |
|
# Instead, we relocate shared libraries at runtime. |
| 3824 |
|
;; |
| 3825 |
|
esac |
| 3826 |
|
;; |
| 3827 |
< |
linux* | k*bsd*-gnu) |
| 3827 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 3828 |
|
case $cc_basename in |
| 3829 |
|
KCC*) |
| 3830 |
|
# KAI C++ Compiler |
| 3857 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)= |
| 3858 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
| 3859 |
|
;; |
| 3860 |
< |
xlc* | xlC*) |
| 3861 |
< |
# IBM XL 8.0 on PPC |
| 3860 |
> |
xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) |
| 3861 |
> |
# IBM XL 8.0, 9.0 on PPC and BlueGene |
| 3862 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 3863 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
| 3864 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
| 3920 |
|
;; |
| 3921 |
|
solaris*) |
| 3922 |
|
case $cc_basename in |
| 3923 |
< |
CC*) |
| 3923 |
> |
CC* | sunCC*) |
| 3924 |
|
# Sun C++ 4.2, 5.x and Centerline C++ |
| 3925 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 3926 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4024 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
| 4025 |
|
;; |
| 4026 |
|
|
| 4027 |
+ |
haiku*) |
| 4028 |
+ |
# PIC is the default for Haiku. |
| 4029 |
+ |
# The "-static" flag exists, but is broken. |
| 4030 |
+ |
_LT_TAGVAR(lt_prog_compiler_static, $1)= |
| 4031 |
+ |
;; |
| 4032 |
+ |
|
| 4033 |
|
hpux*) |
| 4034 |
|
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
| 4035 |
|
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
| 4072 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
| 4073 |
|
;; |
| 4074 |
|
esac |
| 4075 |
+ |
|
| 4076 |
+ |
case $cc_basename in |
| 4077 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
| 4078 |
+ |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' |
| 4079 |
+ |
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC' |
| 4080 |
+ |
;; |
| 4081 |
+ |
esac |
| 4082 |
|
else |
| 4083 |
|
# PORTME Check for flag to pass linker flags through the system compiler. |
| 4084 |
|
case $host_os in |
| 4121 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
| 4122 |
|
;; |
| 4123 |
|
|
| 4124 |
< |
linux* | k*bsd*-gnu) |
| 4124 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 4125 |
|
case $cc_basename in |
| 4126 |
|
# old Intel for x86_64 which still supported -KPIC. |
| 4127 |
|
ecc*) |
| 4142 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' |
| 4143 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='--static' |
| 4144 |
|
;; |
| 4145 |
< |
pgcc* | pgf77* | pgf90* | pgf95*) |
| 4145 |
> |
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
| 4146 |
|
# Portland Group compilers (*not* the Pentium gcc compiler, |
| 4147 |
|
# which looks to be a dead project) |
| 4148 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4154 |
|
# All Alpha code is PIC. |
| 4155 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' |
| 4156 |
|
;; |
| 4157 |
< |
xl*) |
| 4158 |
< |
# IBM XL C 8.0/Fortran 10.1 on PPC |
| 4157 |
> |
xl* | bgxl* | bgf* | mpixl*) |
| 4158 |
> |
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
| 4159 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4160 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' |
| 4161 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' |
| 4162 |
|
;; |
| 4163 |
|
*) |
| 4164 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 4165 |
< |
*Sun\ C*) |
| 4166 |
< |
# Sun C 5.9 |
| 4165 |
> |
*Sun\ F* | *Sun*Fortran*) |
| 4166 |
> |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 4167 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4168 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4169 |
< |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4169 |
> |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
| 4170 |
|
;; |
| 4171 |
< |
*Sun\ F*) |
| 4172 |
< |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
| 4171 |
> |
*Sun\ C*) |
| 4172 |
> |
# Sun C 5.9 |
| 4173 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4174 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4175 |
< |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='' |
| 4175 |
> |
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
| 4176 |
|
;; |
| 4177 |
|
esac |
| 4178 |
|
;; |
| 4204 |
|
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
| 4205 |
|
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
| 4206 |
|
case $cc_basename in |
| 4207 |
< |
f77* | f90* | f95*) |
| 4207 |
> |
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
| 4208 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; |
| 4209 |
|
*) |
| 4210 |
|
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; |
| 4314 |
|
aix[[4-9]]*) |
| 4315 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
| 4316 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 4317 |
+ |
# Also, AIX nm treats weak defined symbols like other global defined |
| 4318 |
+ |
# symbols, whereas GNU nm marks them as "W". |
| 4319 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 4320 |
< |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4320 |
> |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4321 |
|
else |
| 4322 |
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4323 |
|
fi |
| 4395 |
|
esac |
| 4396 |
|
|
| 4397 |
|
_LT_TAGVAR(ld_shlibs, $1)=yes |
| 4398 |
+ |
|
| 4399 |
+ |
# On some targets, GNU ld is compatible enough with the native linker |
| 4400 |
+ |
# that we're better off using the native interface for both. |
| 4401 |
+ |
lt_use_gnu_ld_interface=no |
| 4402 |
|
if test "$with_gnu_ld" = yes; then |
| 4403 |
+ |
case $host_os in |
| 4404 |
+ |
aix*) |
| 4405 |
+ |
# The AIX port of GNU ld has always aspired to compatibility |
| 4406 |
+ |
# with the native linker. However, as the warning in the GNU ld |
| 4407 |
+ |
# block says, versions before 2.19.5* couldn't really create working |
| 4408 |
+ |
# shared libraries, regardless of the interface used. |
| 4409 |
+ |
case `$LD -v 2>&1` in |
| 4410 |
+ |
*\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
| 4411 |
+ |
*\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; |
| 4412 |
+ |
*\ \(GNU\ Binutils\)\ [[3-9]]*) ;; |
| 4413 |
+ |
*) |
| 4414 |
+ |
lt_use_gnu_ld_interface=yes |
| 4415 |
+ |
;; |
| 4416 |
+ |
esac |
| 4417 |
+ |
;; |
| 4418 |
+ |
*) |
| 4419 |
+ |
lt_use_gnu_ld_interface=yes |
| 4420 |
+ |
;; |
| 4421 |
+ |
esac |
| 4422 |
+ |
fi |
| 4423 |
+ |
|
| 4424 |
+ |
if test "$lt_use_gnu_ld_interface" = yes; then |
| 4425 |
|
# If archive_cmds runs LD, not CC, wlarc should be empty |
| 4426 |
|
wlarc='${wl}' |
| 4427 |
|
|
| 4439 |
|
fi |
| 4440 |
|
supports_anon_versioning=no |
| 4441 |
|
case `$LD -v 2>&1` in |
| 4442 |
+ |
*GNU\ gold*) supports_anon_versioning=yes ;; |
| 4443 |
|
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
| 4444 |
|
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
| 4445 |
|
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
| 4455 |
|
_LT_TAGVAR(ld_shlibs, $1)=no |
| 4456 |
|
cat <<_LT_EOF 1>&2 |
| 4457 |
|
|
| 4458 |
< |
*** Warning: the GNU linker, at least up to release 2.9.1, is reported |
| 4458 |
> |
*** Warning: the GNU linker, at least up to release 2.19, is reported |
| 4459 |
|
*** to be unable to reliably create shared libraries on AIX. |
| 4460 |
|
*** Therefore, libtool is disabling shared libraries support. If you |
| 4461 |
< |
*** really care for shared libraries, you may want to modify your PATH |
| 4462 |
< |
*** so that a non-GNU linker is found, and then restart. |
| 4461 |
> |
*** really care for shared libraries, you may want to install binutils |
| 4462 |
> |
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
| 4463 |
> |
*** You will then need to restart the configuration process. |
| 4464 |
|
|
| 4465 |
|
_LT_EOF |
| 4466 |
|
fi |
| 4496 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 4497 |
|
# as there is no search path for DLLs. |
| 4498 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 4499 |
+ |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' |
| 4500 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 4501 |
|
_LT_TAGVAR(always_export_symbols, $1)=no |
| 4502 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 4518 |
|
fi |
| 4519 |
|
;; |
| 4520 |
|
|
| 4521 |
+ |
haiku*) |
| 4522 |
+ |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 4523 |
+ |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
| 4524 |
+ |
;; |
| 4525 |
+ |
|
| 4526 |
|
interix[[3-9]]*) |
| 4527 |
|
_LT_TAGVAR(hardcode_direct, $1)=no |
| 4528 |
|
_LT_TAGVAR(hardcode_shlibpath_var, $1)=no |
| 4538 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='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' |
| 4539 |
|
;; |
| 4540 |
|
|
| 4541 |
< |
gnu* | linux* | tpf* | k*bsd*-gnu) |
| 4541 |
> |
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
| 4542 |
|
tmp_diet=no |
| 4543 |
|
if test "$host_os" = linux-dietlibc; then |
| 4544 |
|
case $cc_basename in |
| 4552 |
|
tmp_sharedflag='-shared' |
| 4553 |
|
case $cc_basename,$host_cpu in |
| 4554 |
|
pgcc*) # Portland Group C compiler |
| 4555 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
| 4555 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 4556 |
|
tmp_addflag=' $pic_flag' |
| 4557 |
|
;; |
| 4558 |
< |
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers |
| 4559 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
| 4558 |
> |
pgf77* | pgf90* | pgf95* | pgfortran*) |
| 4559 |
> |
# Portland Group f77 and f90 compilers |
| 4560 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 4561 |
|
tmp_addflag=' $pic_flag -Mnomain' ;; |
| 4562 |
|
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
| 4563 |
|
tmp_addflag=' -i_dynamic' ;; |
| 4568 |
|
lf95*) # Lahey Fortran 8.1 |
| 4569 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 4570 |
|
tmp_sharedflag='--shared' ;; |
| 4571 |
< |
xl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 4571 |
> |
xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
| 4572 |
|
tmp_sharedflag='-qmkshrobj' |
| 4573 |
|
tmp_addflag= ;; |
| 4574 |
+ |
nvcc*) # Cuda Compiler Driver 2.2 |
| 4575 |
+ |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 4576 |
+ |
_LT_TAGVAR(compiler_needs_object, $1)=yes |
| 4577 |
+ |
;; |
| 4578 |
|
esac |
| 4579 |
|
case `$CC -V 2>&1 | sed 5q` in |
| 4580 |
|
*Sun\ C*) # Sun C 5.9 |
| 4581 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
| 4581 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 4582 |
|
_LT_TAGVAR(compiler_needs_object, $1)=yes |
| 4583 |
|
tmp_sharedflag='-G' ;; |
| 4584 |
|
*Sun\ F*) # Sun Fortran 8.3 |
| 4594 |
|
fi |
| 4595 |
|
|
| 4596 |
|
case $cc_basename in |
| 4597 |
< |
xlf*) |
| 4597 |
> |
xlf* | bgf* | bgxlf* | mpixlf*) |
| 4598 |
|
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
| 4599 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' |
| 4600 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)= |
| 4601 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' |
| 4602 |
< |
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib' |
| 4602 |
> |
_LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
| 4603 |
|
if test "x$supports_anon_versioning" = xyes; then |
| 4604 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ |
| 4605 |
|
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
| 4606 |
|
echo "local: *; };" >> $output_objdir/$libname.ver~ |
| 4607 |
< |
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 4607 |
> |
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
| 4608 |
|
fi |
| 4609 |
|
;; |
| 4610 |
|
esac |
| 4725 |
|
else |
| 4726 |
|
# If we're using GNU nm, then we don't want the "-C" option. |
| 4727 |
|
# -C means demangle to AIX nm, but means don't demangle with GNU nm |
| 4728 |
+ |
# Also, AIX nm treats weak defined symbols like other global |
| 4729 |
+ |
# defined symbols, whereas GNU nm marks them as "W". |
| 4730 |
|
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
| 4731 |
< |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4731 |
> |
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4732 |
|
else |
| 4733 |
|
_LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
| 4734 |
|
fi |
| 4817 |
|
# empty executable. |
| 4818 |
|
_LT_SYS_MODULE_PATH_AIX |
| 4819 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 4820 |
< |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 4820 |
> |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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" |
| 4821 |
|
else |
| 4822 |
|
if test "$host_cpu" = ia64; then |
| 4823 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
| 4832 |
|
# -berok will link without error, but may produce a broken library. |
| 4833 |
|
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
| 4834 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' |
| 4835 |
< |
# Exported symbols can be pulled into shared objects from archives |
| 4836 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 4835 |
> |
if test "$with_gnu_ld" = yes; then |
| 4836 |
> |
# We only use this code for GNU lds that support --whole-archive. |
| 4837 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 4838 |
> |
else |
| 4839 |
> |
# Exported symbols can be pulled into shared objects from archives |
| 4840 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 4841 |
> |
fi |
| 4842 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 4843 |
|
# This is similar to how AIX traditionally builds its shared libraries. |
| 4844 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)="\$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' |
| 4877 |
|
# Tell ltmain to make .dll files, not .so files. |
| 4878 |
|
shrext_cmds=".dll" |
| 4879 |
|
# FIXME: Setting linknames here is a bad hack. |
| 4880 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 4880 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
| 4881 |
|
# The linker will automatically build a .lib file if we build a DLL. |
| 4882 |
|
_LT_TAGVAR(old_archive_from_new_cmds, $1)='true' |
| 4883 |
|
# FIXME: Should let the user specify the lib program. |
| 4944 |
|
;; |
| 4945 |
|
|
| 4946 |
|
hpux10*) |
| 4947 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 4947 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 4948 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 4949 |
|
else |
| 4950 |
|
_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
| 4963 |
|
;; |
| 4964 |
|
|
| 4965 |
|
hpux11*) |
| 4966 |
< |
if test "$GCC" = yes -a "$with_gnu_ld" = no; then |
| 4966 |
> |
if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
| 4967 |
|
case $host_cpu in |
| 4968 |
|
hppa*64*) |
| 4969 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 4984 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
| 4985 |
|
;; |
| 4986 |
|
*) |
| 4987 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
| 4987 |
> |
m4_if($1, [], [ |
| 4988 |
> |
# Older versions of the 11.00 compiler do not understand -b yet |
| 4989 |
> |
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
| 4990 |
> |
_LT_LINKER_OPTION([if $CC understands -b], |
| 4991 |
> |
_LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], |
| 4992 |
> |
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], |
| 4993 |
> |
[_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], |
| 4994 |
> |
[_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) |
| 4995 |
|
;; |
| 4996 |
|
esac |
| 4997 |
|
fi |
| 5019 |
|
|
| 5020 |
|
irix5* | irix6* | nonstopux*) |
| 5021 |
|
if test "$GCC" = yes; then |
| 5022 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 5022 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $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' |
| 5023 |
|
# Try to use the -exported_symbol ld option, if it does not |
| 5024 |
|
# work, assume that -exports_file does not work either and |
| 5025 |
|
# implicitly export all symbols. |
| 5026 |
|
save_LDFLAGS="$LDFLAGS" |
| 5027 |
|
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
| 5028 |
|
AC_LINK_IFELSE(int foo(void) {}, |
| 5029 |
< |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
| 5029 |
> |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $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' |
| 5030 |
|
) |
| 5031 |
|
LDFLAGS="$save_LDFLAGS" |
| 5032 |
|
else |
| 5033 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 5034 |
< |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
| 5033 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5034 |
> |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
| 5035 |
|
fi |
| 5036 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
| 5037 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 5093 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5094 |
|
_LT_TAGVAR(hardcode_minus_L, $1)=yes |
| 5095 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5096 |
< |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5096 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5097 |
|
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
| 5098 |
|
;; |
| 5099 |
|
|
| 5100 |
|
osf3*) |
| 5101 |
|
if test "$GCC" = yes; then |
| 5102 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
| 5103 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 5103 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5104 |
|
else |
| 5105 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 5106 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 5106 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5107 |
|
fi |
| 5108 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)='no' |
| 5109 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 5113 |
|
osf4* | osf5*) # as osf3* with the addition of -msym flag |
| 5114 |
|
if test "$GCC" = yes; then |
| 5115 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
| 5116 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 5116 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_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' |
| 5117 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 5118 |
|
else |
| 5119 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 5120 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 5120 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 5121 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
| 5122 |
< |
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
| 5122 |
> |
$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' |
| 5123 |
|
|
| 5124 |
|
# Both c and cxx compiler support -rpath directly |
| 5125 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
| 5310 |
|
# Test whether the compiler implicitly links with -lc since on some |
| 5311 |
|
# systems, -lgcc has to come before -lc. If gcc already passes -lc |
| 5312 |
|
# to ld, don't add -lc before -lgcc. |
| 5313 |
< |
AC_MSG_CHECKING([whether -lc should be explicitly linked in]) |
| 5314 |
< |
$RM conftest* |
| 5315 |
< |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 5316 |
< |
|
| 5317 |
< |
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
| 5318 |
< |
soname=conftest |
| 5319 |
< |
lib=conftest |
| 5320 |
< |
libobjs=conftest.$ac_objext |
| 5321 |
< |
deplibs= |
| 5322 |
< |
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) |
| 5323 |
< |
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) |
| 5324 |
< |
compiler_flags=-v |
| 5325 |
< |
linker_flags=-v |
| 5326 |
< |
verstring= |
| 5327 |
< |
output_objdir=. |
| 5328 |
< |
libname=conftest |
| 5329 |
< |
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) |
| 5330 |
< |
_LT_TAGVAR(allow_undefined_flag, $1)= |
| 5331 |
< |
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) |
| 5332 |
< |
then |
| 5333 |
< |
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5334 |
< |
else |
| 5335 |
< |
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 5336 |
< |
fi |
| 5337 |
< |
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag |
| 5338 |
< |
else |
| 5339 |
< |
cat conftest.err 1>&5 |
| 5340 |
< |
fi |
| 5341 |
< |
$RM conftest* |
| 5342 |
< |
AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)]) |
| 5313 |
> |
AC_CACHE_CHECK([whether -lc should be explicitly linked in], |
| 5314 |
> |
[lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), |
| 5315 |
> |
[$RM conftest* |
| 5316 |
> |
echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
| 5317 |
> |
|
| 5318 |
> |
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then |
| 5319 |
> |
soname=conftest |
| 5320 |
> |
lib=conftest |
| 5321 |
> |
libobjs=conftest.$ac_objext |
| 5322 |
> |
deplibs= |
| 5323 |
> |
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) |
| 5324 |
> |
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) |
| 5325 |
> |
compiler_flags=-v |
| 5326 |
> |
linker_flags=-v |
| 5327 |
> |
verstring= |
| 5328 |
> |
output_objdir=. |
| 5329 |
> |
libname=conftest |
| 5330 |
> |
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) |
| 5331 |
> |
_LT_TAGVAR(allow_undefined_flag, $1)= |
| 5332 |
> |
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) |
| 5333 |
> |
then |
| 5334 |
> |
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5335 |
> |
else |
| 5336 |
> |
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 5337 |
> |
fi |
| 5338 |
> |
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag |
| 5339 |
> |
else |
| 5340 |
> |
cat conftest.err 1>&5 |
| 5341 |
> |
fi |
| 5342 |
> |
$RM conftest* |
| 5343 |
> |
]) |
| 5344 |
> |
_LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) |
| 5345 |
|
;; |
| 5346 |
|
esac |
| 5347 |
|
fi |
| 5507 |
|
])# _LT_LANG_C_CONFIG |
| 5508 |
|
|
| 5509 |
|
|
| 5404 |
– |
# _LT_PROG_CXX |
| 5405 |
– |
# ------------ |
| 5406 |
– |
# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++ |
| 5407 |
– |
# compiler, we have our own version here. |
| 5408 |
– |
m4_defun([_LT_PROG_CXX], |
| 5409 |
– |
[ |
| 5410 |
– |
pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes]) |
| 5411 |
– |
AC_PROG_CXX |
| 5412 |
– |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
| 5413 |
– |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
| 5414 |
– |
(test "X$CXX" != "Xg++"))) ; then |
| 5415 |
– |
AC_PROG_CXXCPP |
| 5416 |
– |
else |
| 5417 |
– |
_lt_caught_CXX_error=yes |
| 5418 |
– |
fi |
| 5419 |
– |
popdef([AC_MSG_ERROR]) |
| 5420 |
– |
])# _LT_PROG_CXX |
| 5421 |
– |
|
| 5422 |
– |
dnl aclocal-1.4 backwards compatibility: |
| 5423 |
– |
dnl AC_DEFUN([_LT_PROG_CXX], []) |
| 5424 |
– |
|
| 5425 |
– |
|
| 5510 |
|
# _LT_LANG_CXX_CONFIG([TAG]) |
| 5511 |
|
# -------------------------- |
| 5512 |
|
# Ensure that the configuration variables for a C++ compiler are suitably |
| 5513 |
|
# defined. These variables are subsequently used by _LT_CONFIG to write |
| 5514 |
|
# the compiler configuration to `libtool'. |
| 5515 |
|
m4_defun([_LT_LANG_CXX_CONFIG], |
| 5516 |
< |
[AC_REQUIRE([_LT_PROG_CXX])dnl |
| 5433 |
< |
m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 5516 |
> |
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl |
| 5517 |
|
m4_require([_LT_DECL_EGREP])dnl |
| 5518 |
+ |
if test -n "$CXX" && ( test "X$CXX" != "Xno" && |
| 5519 |
+ |
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || |
| 5520 |
+ |
(test "X$CXX" != "Xg++"))) ; then |
| 5521 |
+ |
AC_PROG_CXXCPP |
| 5522 |
+ |
else |
| 5523 |
+ |
_lt_caught_CXX_error=yes |
| 5524 |
+ |
fi |
| 5525 |
|
|
| 5526 |
|
AC_LANG_PUSH(C++) |
| 5527 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 5543 |
|
_LT_TAGVAR(module_expsym_cmds, $1)= |
| 5544 |
|
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
| 5545 |
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 5546 |
+ |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 5547 |
+ |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 5548 |
|
_LT_TAGVAR(no_undefined_flag, $1)= |
| 5549 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 5550 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
| 5647 |
|
# Commands to make compiler produce verbose output that lists |
| 5648 |
|
# what "hidden" libraries, object files and flags are used when |
| 5649 |
|
# linking a shared library. |
| 5650 |
< |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
| 5650 |
> |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 5651 |
|
|
| 5652 |
|
else |
| 5653 |
|
GXX=no |
| 5759 |
|
_LT_SYS_MODULE_PATH_AIX |
| 5760 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" |
| 5761 |
|
|
| 5762 |
< |
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
| 5762 |
> |
_LT_TAGVAR(archive_expsym_cmds, $1)='$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" |
| 5763 |
|
else |
| 5764 |
|
if test "$host_cpu" = ia64; then |
| 5765 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' |
| 5774 |
|
# -berok will link without error, but may produce a broken library. |
| 5775 |
|
_LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' |
| 5776 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' |
| 5777 |
< |
# Exported symbols can be pulled into shared objects from archives |
| 5778 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 5777 |
> |
if test "$with_gnu_ld" = yes; then |
| 5778 |
> |
# We only use this code for GNU lds that support --whole-archive. |
| 5779 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
| 5780 |
> |
else |
| 5781 |
> |
# Exported symbols can be pulled into shared objects from archives |
| 5782 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' |
| 5783 |
> |
fi |
| 5784 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes |
| 5785 |
|
# This is similar to how AIX traditionally builds its shared |
| 5786 |
|
# libraries. |
| 5813 |
|
# _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, |
| 5814 |
|
# as there is no search path for DLLs. |
| 5815 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' |
| 5816 |
+ |
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' |
| 5817 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported |
| 5818 |
|
_LT_TAGVAR(always_export_symbols, $1)=no |
| 5819 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
| 5874 |
|
gnu*) |
| 5875 |
|
;; |
| 5876 |
|
|
| 5877 |
+ |
haiku*) |
| 5878 |
+ |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
| 5879 |
+ |
_LT_TAGVAR(link_all_deplibs, $1)=yes |
| 5880 |
+ |
;; |
| 5881 |
+ |
|
| 5882 |
|
hpux9*) |
| 5883 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' |
| 5884 |
|
_LT_TAGVAR(hardcode_libdir_separator, $1)=: |
| 5903 |
|
# explicitly linking system object files so we need to strip them |
| 5904 |
|
# from the output so that they don't get included in the library |
| 5905 |
|
# dependencies. |
| 5906 |
< |
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; $ECHO "X$list" | $Xsed' |
| 5906 |
> |
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"' |
| 5907 |
|
;; |
| 5908 |
|
*) |
| 5909 |
|
if test "$GXX" = yes; then |
| 5968 |
|
# explicitly linking system object files so we need to strip them |
| 5969 |
|
# from the output so that they don't get included in the library |
| 5970 |
|
# dependencies. |
| 5971 |
< |
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; $ECHO "X$list" | $Xsed' |
| 5971 |
> |
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"' |
| 5972 |
|
;; |
| 5973 |
|
*) |
| 5974 |
|
if test "$GXX" = yes; then |
| 6011 |
|
case $cc_basename in |
| 6012 |
|
CC*) |
| 6013 |
|
# SGI C++ |
| 6014 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 6014 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 6015 |
|
|
| 6016 |
|
# Archives containing C++ object files must be created using |
| 6017 |
|
# "CC -ar", where "CC" is the IRIX C++ compiler. This is |
| 6022 |
|
*) |
| 6023 |
|
if test "$GXX" = yes; then |
| 6024 |
|
if test "$with_gnu_ld" = no; then |
| 6025 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 6025 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -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' |
| 6026 |
|
else |
| 6027 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib' |
| 6027 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -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' |
| 6028 |
|
fi |
| 6029 |
|
fi |
| 6030 |
|
_LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6035 |
|
_LT_TAGVAR(inherit_rpath, $1)=yes |
| 6036 |
|
;; |
| 6037 |
|
|
| 6038 |
< |
linux* | k*bsd*-gnu) |
| 6038 |
> |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 6039 |
|
case $cc_basename in |
| 6040 |
|
KCC*) |
| 6041 |
|
# Kuck and Associates, Inc. (KAI) C++ Compiler |
| 6053 |
|
# explicitly linking system object files so we need to strip them |
| 6054 |
|
# from the output so that they don't get included in the library |
| 6055 |
|
# dependencies. |
| 6056 |
< |
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; $ECHO "X$list" | $Xsed' |
| 6056 |
> |
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"' |
| 6057 |
|
|
| 6058 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
| 6059 |
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 6090 |
|
pgCC* | pgcpp*) |
| 6091 |
|
# Portland Group C++ compiler |
| 6092 |
|
case `$CC -V` in |
| 6093 |
< |
*pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*) |
| 6093 |
> |
*pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) |
| 6094 |
|
_LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ |
| 6095 |
|
rm -rf $tpldir~ |
| 6096 |
|
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ |
| 6097 |
< |
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"' |
| 6097 |
> |
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' |
| 6098 |
|
_LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ |
| 6099 |
|
rm -rf $tpldir~ |
| 6100 |
|
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ |
| 6101 |
< |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~ |
| 6101 |
> |
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ |
| 6102 |
|
$RANLIB $oldlib' |
| 6103 |
|
_LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ |
| 6104 |
|
rm -rf $tpldir~ |
| 6105 |
|
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 6106 |
< |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
| 6106 |
> |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
| 6107 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ |
| 6108 |
|
rm -rf $tpldir~ |
| 6109 |
|
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ |
| 6110 |
< |
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
| 6110 |
> |
$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' |
| 6111 |
|
;; |
| 6112 |
< |
*) # Version 6 will use weak symbols |
| 6112 |
> |
*) # Version 6 and above use weak symbols |
| 6113 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' |
| 6114 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$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' |
| 6115 |
|
;; |
| 6117 |
|
|
| 6118 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
| 6119 |
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 6120 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
| 6120 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 6121 |
|
;; |
| 6122 |
|
cxx*) |
| 6123 |
|
# Compaq C++ |
| 6136 |
|
# explicitly linking system object files so we need to strip them |
| 6137 |
|
# from the output so that they don't get included in the library |
| 6138 |
|
# dependencies. |
| 6139 |
< |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' |
| 6139 |
> |
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' |
| 6140 |
|
;; |
| 6141 |
< |
xl*) |
| 6141 |
> |
xl* | mpixl* | bgxl*) |
| 6142 |
|
# IBM XL 8.0 on PPC, with GNU ld |
| 6143 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 6144 |
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
| 6158 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' |
| 6159 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' |
| 6160 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' |
| 6161 |
< |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive' |
| 6161 |
> |
_LT_TAGVAR(whole_archive_flag_spec, $1)='${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' |
| 6162 |
|
_LT_TAGVAR(compiler_needs_object, $1)=yes |
| 6163 |
|
|
| 6164 |
|
# Not sure whether something based on |
| 6165 |
|
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 |
| 6166 |
|
# would be better. |
| 6167 |
< |
output_verbose_link_cmd='echo' |
| 6167 |
> |
output_verbose_link_cmd='func_echo_all' |
| 6168 |
|
|
| 6169 |
|
# Archives containing C++ object files must be created using |
| 6170 |
|
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 6233 |
|
_LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' |
| 6234 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
| 6235 |
|
fi |
| 6236 |
< |
output_verbose_link_cmd=echo |
| 6236 |
> |
output_verbose_link_cmd=func_echo_all |
| 6237 |
|
else |
| 6238 |
|
_LT_TAGVAR(ld_shlibs, $1)=no |
| 6239 |
|
fi |
| 6268 |
|
case $host in |
| 6269 |
|
osf3*) |
| 6270 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
| 6271 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 6271 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 6272 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' |
| 6273 |
|
;; |
| 6274 |
|
*) |
| 6275 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' |
| 6276 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' |
| 6276 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 6277 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ |
| 6278 |
|
echo "-hidden">> $lib.exp~ |
| 6279 |
< |
$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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~ |
| 6279 |
> |
$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~ |
| 6280 |
|
$RM $lib.exp' |
| 6281 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' |
| 6282 |
|
;; |
| 6292 |
|
# explicitly linking system object files so we need to strip them |
| 6293 |
|
# from the output so that they don't get included in the library |
| 6294 |
|
# dependencies. |
| 6295 |
< |
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed' |
| 6295 |
> |
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"' |
| 6296 |
|
;; |
| 6297 |
|
*) |
| 6298 |
|
if test "$GXX" = yes && test "$with_gnu_ld" = no; then |
| 6299 |
|
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' |
| 6300 |
|
case $host in |
| 6301 |
|
osf3*) |
| 6302 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 6302 |
> |
_LT_TAGVAR(archive_cmds, $1)='$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' |
| 6303 |
|
;; |
| 6304 |
|
*) |
| 6305 |
< |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
| 6305 |
> |
_LT_TAGVAR(archive_cmds, $1)='$CC -shared -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' |
| 6306 |
|
;; |
| 6307 |
|
esac |
| 6308 |
|
|
| 6312 |
|
# Commands to make compiler produce verbose output that lists |
| 6313 |
|
# what "hidden" libraries, object files and flags are used when |
| 6314 |
|
# linking a shared library. |
| 6315 |
< |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
| 6315 |
> |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6316 |
|
|
| 6317 |
|
else |
| 6318 |
|
# FIXME: insert proper C++ library support |
| 6348 |
|
|
| 6349 |
|
solaris*) |
| 6350 |
|
case $cc_basename in |
| 6351 |
< |
CC*) |
| 6351 |
> |
CC* | sunCC*) |
| 6352 |
|
# Sun C++ 4.2, 5.x and Centerline C++ |
| 6353 |
|
_LT_TAGVAR(archive_cmds_need_lc,$1)=yes |
| 6354 |
|
_LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' |
| 6369 |
|
esac |
| 6370 |
|
_LT_TAGVAR(link_all_deplibs, $1)=yes |
| 6371 |
|
|
| 6372 |
< |
output_verbose_link_cmd='echo' |
| 6372 |
> |
output_verbose_link_cmd='func_echo_all' |
| 6373 |
|
|
| 6374 |
|
# Archives containing C++ object files must be created using |
| 6375 |
|
# "CC -xar", where "CC" is the Sun C++ compiler. This is |
| 6396 |
|
# Commands to make compiler produce verbose output that lists |
| 6397 |
|
# what "hidden" libraries, object files and flags are used when |
| 6398 |
|
# linking a shared library. |
| 6399 |
< |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
| 6399 |
> |
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6400 |
|
else |
| 6401 |
|
# g++ 2.7 appears to require `-G' NOT `-shared' on this |
| 6402 |
|
# platform. |
| 6407 |
|
# Commands to make compiler produce verbose output that lists |
| 6408 |
|
# what "hidden" libraries, object files and flags are used when |
| 6409 |
|
# linking a shared library. |
| 6410 |
< |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"' |
| 6410 |
> |
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' |
| 6411 |
|
fi |
| 6412 |
|
|
| 6413 |
|
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' |
| 6461 |
|
CC*) |
| 6462 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6463 |
|
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6464 |
+ |
_LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ |
| 6465 |
+ |
'"$_LT_TAGVAR(old_archive_cmds, $1)" |
| 6466 |
+ |
_LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ |
| 6467 |
+ |
'"$_LT_TAGVAR(reload_cmds, $1)" |
| 6468 |
|
;; |
| 6469 |
|
*) |
| 6470 |
|
_LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
| 6711 |
|
|
| 6712 |
|
solaris*) |
| 6713 |
|
case $cc_basename in |
| 6714 |
< |
CC*) |
| 6714 |
> |
CC* | sunCC*) |
| 6715 |
|
# The more standards-conforming stlport4 library is |
| 6716 |
|
# incompatible with the Cstd library. Avoid specifying |
| 6717 |
|
# it if it's in CXXFLAGS. Ignore libCrun as |
| 6755 |
|
])# _LT_SYS_HIDDEN_LIBDEPS |
| 6756 |
|
|
| 6757 |
|
|
| 6651 |
– |
# _LT_PROG_F77 |
| 6652 |
– |
# ------------ |
| 6653 |
– |
# Since AC_PROG_F77 is broken, in that it returns the empty string |
| 6654 |
– |
# if there is no fortran compiler, we have our own version here. |
| 6655 |
– |
m4_defun([_LT_PROG_F77], |
| 6656 |
– |
[ |
| 6657 |
– |
pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes]) |
| 6658 |
– |
AC_PROG_F77 |
| 6659 |
– |
if test -z "$F77" || test "X$F77" = "Xno"; then |
| 6660 |
– |
_lt_disable_F77=yes |
| 6661 |
– |
fi |
| 6662 |
– |
popdef([AC_MSG_ERROR]) |
| 6663 |
– |
])# _LT_PROG_F77 |
| 6664 |
– |
|
| 6665 |
– |
dnl aclocal-1.4 backwards compatibility: |
| 6666 |
– |
dnl AC_DEFUN([_LT_PROG_F77], []) |
| 6667 |
– |
|
| 6668 |
– |
|
| 6758 |
|
# _LT_LANG_F77_CONFIG([TAG]) |
| 6759 |
|
# -------------------------- |
| 6760 |
|
# Ensure that the configuration variables for a Fortran 77 compiler are |
| 6761 |
|
# suitably defined. These variables are subsequently used by _LT_CONFIG |
| 6762 |
|
# to write the compiler configuration to `libtool'. |
| 6763 |
|
m4_defun([_LT_LANG_F77_CONFIG], |
| 6764 |
< |
[AC_REQUIRE([_LT_PROG_F77])dnl |
| 6765 |
< |
AC_LANG_PUSH(Fortran 77) |
| 6764 |
> |
[AC_LANG_PUSH(Fortran 77) |
| 6765 |
> |
if test -z "$F77" || test "X$F77" = "Xno"; then |
| 6766 |
> |
_lt_disable_F77=yes |
| 6767 |
> |
fi |
| 6768 |
|
|
| 6769 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6770 |
|
_LT_TAGVAR(allow_undefined_flag, $1)= |
| 6783 |
|
_LT_TAGVAR(module_expsym_cmds, $1)= |
| 6784 |
|
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
| 6785 |
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 6786 |
+ |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 6787 |
+ |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 6788 |
|
_LT_TAGVAR(no_undefined_flag, $1)= |
| 6789 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 6790 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
| 6884 |
|
])# _LT_LANG_F77_CONFIG |
| 6885 |
|
|
| 6886 |
|
|
| 6794 |
– |
# _LT_PROG_FC |
| 6795 |
– |
# ----------- |
| 6796 |
– |
# Since AC_PROG_FC is broken, in that it returns the empty string |
| 6797 |
– |
# if there is no fortran compiler, we have our own version here. |
| 6798 |
– |
m4_defun([_LT_PROG_FC], |
| 6799 |
– |
[ |
| 6800 |
– |
pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes]) |
| 6801 |
– |
AC_PROG_FC |
| 6802 |
– |
if test -z "$FC" || test "X$FC" = "Xno"; then |
| 6803 |
– |
_lt_disable_FC=yes |
| 6804 |
– |
fi |
| 6805 |
– |
popdef([AC_MSG_ERROR]) |
| 6806 |
– |
])# _LT_PROG_FC |
| 6807 |
– |
|
| 6808 |
– |
dnl aclocal-1.4 backwards compatibility: |
| 6809 |
– |
dnl AC_DEFUN([_LT_PROG_FC], []) |
| 6810 |
– |
|
| 6811 |
– |
|
| 6887 |
|
# _LT_LANG_FC_CONFIG([TAG]) |
| 6888 |
|
# ------------------------- |
| 6889 |
|
# Ensure that the configuration variables for a Fortran compiler are |
| 6890 |
|
# suitably defined. These variables are subsequently used by _LT_CONFIG |
| 6891 |
|
# to write the compiler configuration to `libtool'. |
| 6892 |
|
m4_defun([_LT_LANG_FC_CONFIG], |
| 6893 |
< |
[AC_REQUIRE([_LT_PROG_FC])dnl |
| 6894 |
< |
AC_LANG_PUSH(Fortran) |
| 6893 |
> |
[AC_LANG_PUSH(Fortran) |
| 6894 |
> |
|
| 6895 |
> |
if test -z "$FC" || test "X$FC" = "Xno"; then |
| 6896 |
> |
_lt_disable_FC=yes |
| 6897 |
> |
fi |
| 6898 |
|
|
| 6899 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 6900 |
|
_LT_TAGVAR(allow_undefined_flag, $1)= |
| 6913 |
|
_LT_TAGVAR(module_expsym_cmds, $1)= |
| 6914 |
|
_LT_TAGVAR(link_all_deplibs, $1)=unknown |
| 6915 |
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 6916 |
+ |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 6917 |
+ |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 6918 |
|
_LT_TAGVAR(no_undefined_flag, $1)= |
| 6919 |
|
_LT_TAGVAR(whole_archive_flag_spec, $1)= |
| 6920 |
|
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
| 7060 |
|
_LT_TAGVAR(archive_cmds_need_lc, $1)=no |
| 7061 |
|
|
| 7062 |
|
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds |
| 7063 |
+ |
_LT_TAGVAR(reload_flag, $1)=$reload_flag |
| 7064 |
+ |
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds |
| 7065 |
|
|
| 7066 |
|
if test -n "$compiler"; then |
| 7067 |
|
_LT_COMPILER_NO_RTTI($1) |
| 7423 |
|
func_dirname () |
| 7424 |
|
{ |
| 7425 |
|
# Extract subdirectory from the argument. |
| 7426 |
< |
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` |
| 7426 |
> |
func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` |
| 7427 |
|
if test "X$func_dirname_result" = "X${1}"; then |
| 7428 |
|
func_dirname_result="${3}" |
| 7429 |
|
else |
| 7434 |
|
# func_basename file |
| 7435 |
|
func_basename () |
| 7436 |
|
{ |
| 7437 |
< |
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` |
| 7437 |
> |
func_basename_result=`$ECHO "${1}" | $SED "$basename"` |
| 7438 |
|
} |
| 7439 |
|
|
| 7440 |
|
dnl func_dirname_and_basename |
| 7450 |
|
func_stripname () |
| 7451 |
|
{ |
| 7452 |
|
case ${2} in |
| 7453 |
< |
.*) func_stripname_result=`$ECHO "X${3}" \ |
| 7454 |
< |
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; |
| 7373 |
< |
*) func_stripname_result=`$ECHO "X${3}" \ |
| 7374 |
< |
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; |
| 7453 |
> |
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; |
| 7454 |
> |
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; |
| 7455 |
|
esac |
| 7456 |
|
} |
| 7457 |
|
|
| 7462 |
|
# func_opt_split |
| 7463 |
|
func_opt_split () |
| 7464 |
|
{ |
| 7465 |
< |
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` |
| 7466 |
< |
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` |
| 7465 |
> |
func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"` |
| 7466 |
> |
func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"` |
| 7467 |
|
} |
| 7468 |
|
|
| 7469 |
|
# func_lo2o object |
| 7470 |
|
func_lo2o () |
| 7471 |
|
{ |
| 7472 |
< |
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` |
| 7472 |
> |
func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` |
| 7473 |
|
} |
| 7474 |
|
|
| 7475 |
|
# func_xform libobj-or-source |
| 7476 |
|
func_xform () |
| 7477 |
|
{ |
| 7478 |
< |
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'` |
| 7478 |
> |
func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'` |
| 7479 |
|
} |
| 7480 |
|
|
| 7481 |
|
# func_arith arithmetic-term... |
| 7530 |
|
# unlimited permission to copy and/or distribute it, with or without |
| 7531 |
|
# modifications, as long as this notice is preserved. |
| 7532 |
|
|
| 7533 |
< |
# serial 17 LTDL_INIT |
| 7533 |
> |
# serial 18 LTDL_INIT |
| 7534 |
|
|
| 7535 |
|
# LT_CONFIG_LTDL_DIR(DIRECTORY, [LTDL-MODE]) |
| 7536 |
|
# ------------------------------------------ |
| 7930 |
|
AC_CHECK_FUNCS([closedir opendir readdir], [], [AC_LIBOBJ([lt__dirent])]) |
| 7931 |
|
AC_CHECK_FUNCS([strlcat strlcpy], [], [AC_LIBOBJ([lt__strl])]) |
| 7932 |
|
|
| 7933 |
+ |
m4_pattern_allow([LT_LIBEXT])dnl |
| 7934 |
|
AC_DEFINE_UNQUOTED([LT_LIBEXT],["$libext"],[The archive extension]) |
| 7935 |
|
|
| 7936 |
|
name=ltdl |
| 7991 |
|
freebsd* | dragonfly*) |
| 7992 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 7993 |
|
;; |
| 7994 |
< |
gnu* | linux* | k*bsd*-gnu) |
| 7994 |
> |
gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
| 7995 |
|
# GNU and its variants, using gnu ld.so (Glibc) |
| 7996 |
|
lt_cv_sys_dlopen_deplibs=yes |
| 7997 |
|
;; |
| 8329 |
|
|
| 8330 |
|
# Helper functions for option handling. -*- Autoconf -*- |
| 8331 |
|
# |
| 8332 |
< |
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. |
| 8332 |
> |
# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, |
| 8333 |
> |
# Inc. |
| 8334 |
|
# Written by Gary V. Vaughan, 2004 |
| 8335 |
|
# |
| 8336 |
|
# This file is free software; the Free Software Foundation gives |
| 8337 |
|
# unlimited permission to copy and/or distribute it, with or without |
| 8338 |
|
# modifications, as long as this notice is preserved. |
| 8339 |
|
|
| 8340 |
< |
# serial 6 ltoptions.m4 |
| 8340 |
> |
# serial 7 ltoptions.m4 |
| 8341 |
|
|
| 8342 |
|
# This is to help aclocal find these macros, as it can't see m4_define. |
| 8343 |
|
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) |
| 8452 |
|
[enable_win32_dll=yes |
| 8453 |
|
|
| 8454 |
|
case $host in |
| 8455 |
< |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*) |
| 8455 |
> |
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) |
| 8456 |
|
AC_CHECK_TOOL(AS, as, false) |
| 8457 |
|
AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
| 8458 |
|
AC_CHECK_TOOL(OBJDUMP, objdump, false) |
| 8460 |
|
esac |
| 8461 |
|
|
| 8462 |
|
test -z "$AS" && AS=as |
| 8463 |
< |
_LT_DECL([], [AS], [0], [Assembler program])dnl |
| 8463 |
> |
_LT_DECL([], [AS], [1], [Assembler program])dnl |
| 8464 |
|
|
| 8465 |
|
test -z "$DLLTOOL" && DLLTOOL=dlltool |
| 8466 |
< |
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl |
| 8466 |
> |
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl |
| 8467 |
|
|
| 8468 |
|
test -z "$OBJDUMP" && OBJDUMP=objdump |
| 8469 |
< |
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl |
| 8469 |
> |
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl |
| 8470 |
|
])# win32-dll |
| 8471 |
|
|
| 8472 |
|
AU_DEFUN([AC_LIBTOOL_WIN32_DLL], |
| 8826 |
|
|
| 8827 |
|
# Generated from ltversion.in. |
| 8828 |
|
|
| 8829 |
< |
# serial 3017 ltversion.m4 |
| 8829 |
> |
# serial 3175 ltversion.m4 |
| 8830 |
|
# This file is part of GNU Libtool |
| 8831 |
|
|
| 8832 |
< |
m4_define([LT_PACKAGE_VERSION], [2.2.6b]) |
| 8833 |
< |
m4_define([LT_PACKAGE_REVISION], [1.3017]) |
| 8832 |
> |
m4_define([LT_PACKAGE_VERSION], [2.2.10]) |
| 8833 |
> |
m4_define([LT_PACKAGE_REVISION], [1.3175]) |
| 8834 |
|
|
| 8835 |
|
AC_DEFUN([LTVERSION_VERSION], |
| 8836 |
< |
[macro_version='2.2.6b' |
| 8837 |
< |
macro_revision='1.3017' |
| 8836 |
> |
[macro_version='2.2.10' |
| 8837 |
> |
macro_revision='1.3175' |
| 8838 |
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) |
| 8839 |
|
_LT_DECL(, macro_revision, 0) |
| 8840 |
|
]) |
| 8841 |
|
|
| 8842 |
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- |
| 8843 |
|
# |
| 8844 |
< |
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc. |
| 8844 |
> |
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. |
| 8845 |
|
# Written by Scott James Remnant, 2004. |
| 8846 |
|
# |
| 8847 |
|
# This file is free software; the Free Software Foundation gives |
| 8848 |
|
# unlimited permission to copy and/or distribute it, with or without |
| 8849 |
|
# modifications, as long as this notice is preserved. |
| 8850 |
|
|
| 8851 |
< |
# serial 4 lt~obsolete.m4 |
| 8851 |
> |
# serial 5 lt~obsolete.m4 |
| 8852 |
|
|
| 8853 |
|
# These exist entirely to fool aclocal when bootstrapping libtool. |
| 8854 |
|
# |
| 8918 |
|
m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) |
| 8919 |
|
m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) |
| 8920 |
|
m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) |
| 8839 |
– |
m4_ifndef([AC_LIBTOOL_RC], [AC_DEFUN([AC_LIBTOOL_RC])]) |
| 8921 |
|
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) |
| 8922 |
|
m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) |
| 8923 |
|
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) |
| 8930 |
|
m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) |
| 8931 |
|
m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) |
| 8932 |
|
m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) |
| 8933 |
+ |
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) |
| 8934 |
+ |
m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) |
| 8935 |
+ |
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) |
| 8936 |
+ |
m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) |
| 8937 |
+ |
m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) |
| 8938 |
+ |
m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) |
| 8939 |
+ |
m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) |
| 8940 |
|
|
| 8941 |
|
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 8942 |
|
# |