libtool.m4 (xdelta3-3.0.10) | : | libtool.m4 (xdelta3-3.0.11) | ||
---|---|---|---|---|
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | |||
# | # | |||
# Copyright (C) 1996-2001, 2003-2014 Free Software Foundation, Inc. | # Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc. | |||
# Written by Gordon Matzigkeit, 1996 | # Written by Gordon Matzigkeit, 1996 | |||
# | # | |||
# This file is free software; the Free Software Foundation gives | # This file is free software; the Free Software Foundation gives | |||
# unlimited permission to copy and/or distribute it, with or without | # unlimited permission to copy and/or distribute it, with or without | |||
# modifications, as long as this notice is preserved. | # modifications, as long as this notice is preserved. | |||
m4_define([_LT_COPYING], [dnl | m4_define([_LT_COPYING], [dnl | |||
# Copyright (C) 2014 Free Software Foundation, Inc. | # Copyright (C) 2014 Free Software Foundation, Inc. | |||
# This is free software; see the source for copying conditions. There is NO | # This is free software; see the source for copying conditions. There is NO | |||
# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |||
skipping to change at line 102 | skipping to change at line 102 | |||
m4_define([LT_INIT]) | m4_define([LT_INIT]) | |||
])# LT_INIT | ])# LT_INIT | |||
# Old names: | # Old names: | |||
AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) | AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) | |||
AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) | AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) | |||
dnl aclocal-1.4 backwards compatibility: | dnl aclocal-1.4 backwards compatibility: | |||
dnl AC_DEFUN([AC_PROG_LIBTOOL], []) | dnl AC_DEFUN([AC_PROG_LIBTOOL], []) | |||
dnl AC_DEFUN([AM_PROG_LIBTOOL], []) | dnl AC_DEFUN([AM_PROG_LIBTOOL], []) | |||
# _LT_PREPARE_CC_BASENAME | ||||
# ----------------------- | ||||
m4_defun([_LT_PREPARE_CC_BASENAME], [ | ||||
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | ||||
func_cc_basename () | ||||
{ | ||||
for cc_temp in @S|@*""; do | ||||
case $cc_temp in | ||||
compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; | ||||
distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; | ||||
\-*) ;; | ||||
*) break;; | ||||
esac | ||||
done | ||||
func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%% | ||||
"` | ||||
} | ||||
])# _LT_PREPARE_CC_BASENAME | ||||
# _LT_CC_BASENAME(CC) | # _LT_CC_BASENAME(CC) | |||
# ------------------- | # ------------------- | |||
# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. | # It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME, | |||
# but that macro is also expanded into generated libtool script, which | ||||
# arranges for $SED and $ECHO to be set by different means. | ||||
m4_defun([_LT_CC_BASENAME], | m4_defun([_LT_CC_BASENAME], | |||
[for cc_temp in $1""; do | [m4_require([_LT_PREPARE_CC_BASENAME])dnl | |||
case $cc_temp in | AC_REQUIRE([_LT_DECL_SED])dnl | |||
compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; | AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl | |||
distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; | func_cc_basename $1 | |||
\-*) ;; | cc_basename=$func_cc_basename_result | |||
*) break;; | ||||
esac | ||||
done | ||||
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | ||||
]) | ]) | |||
# _LT_FILEUTILS_DEFAULTS | # _LT_FILEUTILS_DEFAULTS | |||
# ---------------------- | # ---------------------- | |||
# It is okay to use these file commands and assume they have been set | # It is okay to use these file commands and assume they have been set | |||
# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. | # sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'. | |||
m4_defun([_LT_FILEUTILS_DEFAULTS], | m4_defun([_LT_FILEUTILS_DEFAULTS], | |||
[: ${CP="cp -f"} | [: ${CP="cp -f"} | |||
: ${MV="mv -f"} | : ${MV="mv -f"} | |||
: ${RM="rm -f"} | : ${RM="rm -f"} | |||
skipping to change at line 691 | skipping to change at line 707 | |||
# Generated automatically by $as_me ($PACKAGE) $VERSION | # Generated automatically by $as_me ($PACKAGE) $VERSION | |||
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | |||
# NOTE: Changes made to this file will be lost: look at ltmain.sh. | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | |||
# Provide generalized library-building support services. | # Provide generalized library-building support services. | |||
# Written by Gordon Matzigkeit, 1996 | # Written by Gordon Matzigkeit, 1996 | |||
_LT_COPYING | _LT_COPYING | |||
_LT_LIBTOOL_TAGS | _LT_LIBTOOL_TAGS | |||
# Configured defaults for sys_lib_dlsearch_path munging. | ||||
: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} | ||||
# ### BEGIN LIBTOOL CONFIG | # ### BEGIN LIBTOOL CONFIG | |||
_LT_LIBTOOL_CONFIG_VARS | _LT_LIBTOOL_CONFIG_VARS | |||
_LT_LIBTOOL_TAG_VARS | _LT_LIBTOOL_TAG_VARS | |||
# ### END LIBTOOL CONFIG | # ### END LIBTOOL CONFIG | |||
_LT_EOF | _LT_EOF | |||
cat <<'_LT_EOF' >> "$cfgfile" | ||||
# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE | ||||
_LT_PREPARE_MUNGE_PATH_LIST | ||||
_LT_PREPARE_CC_BASENAME | ||||
# ### END FUNCTIONS SHARED WITH CONFIGURE | ||||
_LT_EOF | ||||
case $host_os in | case $host_os in | |||
aix3*) | aix3*) | |||
cat <<\_LT_EOF >> "$cfgfile" | cat <<\_LT_EOF >> "$cfgfile" | |||
# AIX sometimes has problems with the GCC collect2 program. For some | # AIX sometimes has problems with the GCC collect2 program. For some | |||
# reason, if we set the COLLECT_NAMES environment variable, the problems | # reason, if we set the COLLECT_NAMES environment variable, the problems | |||
# vanish in a puff of smoke. | # vanish in a puff of smoke. | |||
if test set != "${COLLECT_NAMES+set}"; then | if test set != "${COLLECT_NAMES+set}"; then | |||
COLLECT_NAMES= | COLLECT_NAMES= | |||
export COLLECT_NAMES | export COLLECT_NAMES | |||
fi | fi | |||
skipping to change at line 2145 | skipping to change at line 2175 | |||
;; | ;; | |||
*) | *) | |||
AC_MSG_RESULT([no]) | AC_MSG_RESULT([no]) | |||
;; | ;; | |||
esac | esac | |||
fi | fi | |||
_LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) | _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) | |||
_LT_DECL([], [striplib], [1]) | _LT_DECL([], [striplib], [1]) | |||
])# _LT_CMD_STRIPLIB | ])# _LT_CMD_STRIPLIB | |||
# _LT_PREPARE_MUNGE_PATH_LIST | ||||
# --------------------------- | ||||
# Make sure func_munge_path_list() is defined correctly. | ||||
m4_defun([_LT_PREPARE_MUNGE_PATH_LIST], | ||||
[[# func_munge_path_list VARIABLE PATH | ||||
# ----------------------------------- | ||||
# VARIABLE is name of variable containing _space_ separated list of | ||||
# directories to be munged by the contents of PATH, which is string | ||||
# having a format: | ||||
# "DIR[:DIR]:" | ||||
# string "DIR[ DIR]" will be prepended to VARIABLE | ||||
# ":DIR[:DIR]" | ||||
# string "DIR[ DIR]" will be appended to VARIABLE | ||||
# "DIRP[:DIRP]::[DIRA:]DIRA" | ||||
# string "DIRP[ DIRP]" will be prepended to VARIABLE and string | ||||
# "DIRA[ DIRA]" will be appended to VARIABLE | ||||
# "DIR[:DIR]" | ||||
# VARIABLE will be replaced by "DIR[ DIR]" | ||||
func_munge_path_list () | ||||
{ | ||||
case x@S|@2 in | ||||
x) | ||||
;; | ||||
*:) | ||||
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\" | ||||
;; | ||||
x:*) | ||||
eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\" | ||||
;; | ||||
*::*) | ||||
eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'` | ||||
\" | ||||
eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1 | ||||
\" | ||||
;; | ||||
*) | ||||
eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\" | ||||
;; | ||||
esac | ||||
} | ||||
]])# _LT_PREPARE_PATH_LIST | ||||
# _LT_SYS_DYNAMIC_LINKER([TAG]) | # _LT_SYS_DYNAMIC_LINKER([TAG]) | |||
# ----------------------------- | # ----------------------------- | |||
# PORTME Fill in your ld.so characteristics | # PORTME Fill in your ld.so characteristics | |||
m4_defun([_LT_SYS_DYNAMIC_LINKER], | m4_defun([_LT_SYS_DYNAMIC_LINKER], | |||
[AC_REQUIRE([AC_CANONICAL_HOST])dnl | [AC_REQUIRE([AC_CANONICAL_HOST])dnl | |||
m4_require([_LT_DECL_EGREP])dnl | m4_require([_LT_DECL_EGREP])dnl | |||
m4_require([_LT_FILEUTILS_DEFAULTS])dnl | m4_require([_LT_FILEUTILS_DEFAULTS])dnl | |||
m4_require([_LT_DECL_OBJDUMP])dnl | m4_require([_LT_DECL_OBJDUMP])dnl | |||
m4_require([_LT_DECL_SED])dnl | m4_require([_LT_DECL_SED])dnl | |||
m4_require([_LT_CHECK_SHELL_FEATURES])dnl | m4_require([_LT_CHECK_SHELL_FEATURES])dnl | |||
m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl | ||||
AC_MSG_CHECKING([dynamic linker characteristics]) | AC_MSG_CHECKING([dynamic linker characteristics]) | |||
m4_if([$1], | m4_if([$1], | |||
[], [ | [], [ | |||
if test yes = "$GCC"; then | if test yes = "$GCC"; then | |||
case $host_os in | case $host_os in | |||
darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; | darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; | |||
*) lt_awk_arg='/^libraries:/' ;; | *) lt_awk_arg='/^libraries:/' ;; | |||
esac | esac | |||
case $host_os in | case $host_os in | |||
mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; | mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;; | |||
skipping to change at line 2249 | skipping to change at line 2320 | |||
version_type=none | version_type=none | |||
dynamic_linker="$host_os ld.so" | dynamic_linker="$host_os ld.so" | |||
sys_lib_dlsearch_path_spec="/lib /usr/lib" | sys_lib_dlsearch_path_spec="/lib /usr/lib" | |||
need_lib_prefix=unknown | need_lib_prefix=unknown | |||
hardcode_into_libs=no | hardcode_into_libs=no | |||
# when you set need_version to no, make sure it does not cause -set_version | # when you set need_version to no, make sure it does not cause -set_version | |||
# flags to be left without arguments | # flags to be left without arguments | |||
need_version=unknown | need_version=unknown | |||
AC_ARG_VAR([LT_SYS_LIBRARY_PATH], | ||||
[User-defined run-time library search path.]) | ||||
case $host_os in | case $host_os in | |||
aix3*) | aix3*) | |||
version_type=linux # correct to gnu/linux during the next big refactor | version_type=linux # correct to gnu/linux during the next big refactor | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname.a' | library_names_spec='$libname$release$shared_ext$versuffix $libname.a' | |||
shlibpath_var=LIBPATH | shlibpath_var=LIBPATH | |||
# AIX 3 has no versioning support, so we append a major version to the name. | # AIX 3 has no versioning support, so we append a major version to the name. | |||
soname_spec='$libname$release$shared_ext$major' | soname_spec='$libname$release$shared_ext$major' | |||
;; | ;; | |||
skipping to change at line 2544 | skipping to change at line 2618 | |||
case $host_vendor in | case $host_vendor in | |||
gentoo) | gentoo) | |||
version_type=linux ;; | version_type=linux ;; | |||
*) | *) | |||
version_type=freebsd-$objformat ;; | version_type=freebsd-$objformat ;; | |||
esac | esac | |||
case $version_type in | case $version_type in | |||
freebsd-elf*) | freebsd-elf*) | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release $shared_ext$major $libname$shared_ext' | |||
soname_spec='$libname$release$shared_ext$major' | ||||
need_version=no | need_version=no | |||
need_lib_prefix=no | need_lib_prefix=no | |||
;; | ;; | |||
freebsd-*) | freebsd-*) | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ ext$versuffix' | library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ ext$versuffix' | |||
need_version=yes | need_version=yes | |||
;; | ;; | |||
linux) | linux) | |||
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext}$major ${libname}${shared_ext}' | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname} ${release}${shared_ext}$major ${libname}${shared_ext}' | |||
soname_spec='${libname}${release}${shared_ext}$major' | soname_spec='${libname}${release}${shared_ext}$major' | |||
skipping to change at line 2609 | skipping to change at line 2684 | |||
ia64*) | ia64*) | |||
shrext_cmds='.so' | shrext_cmds='.so' | |||
hardcode_into_libs=yes | hardcode_into_libs=yes | |||
dynamic_linker="$host_os dld.so" | dynamic_linker="$host_os dld.so" | |||
shlibpath_var=LD_LIBRARY_PATH | shlibpath_var=LD_LIBRARY_PATH | |||
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | |||
soname_spec='$libname$release$shared_ext$major' | soname_spec='$libname$release$shared_ext$major' | |||
if test 32 = "$HPUX_IA64_MODE"; then | if test 32 = "$HPUX_IA64_MODE"; then | |||
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local /lib" | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local /lib" | |||
sys_lib_dlsearch_path_spec=/usr/lib/hpux32 | ||||
else | else | |||
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | |||
sys_lib_dlsearch_path_spec=/usr/lib/hpux64 | ||||
fi | fi | |||
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | ||||
;; | ;; | |||
hppa*64*) | hppa*64*) | |||
shrext_cmds='.sl' | shrext_cmds='.sl' | |||
hardcode_into_libs=yes | hardcode_into_libs=yes | |||
dynamic_linker="$host_os dld.sl" | dynamic_linker="$host_os dld.sl" | |||
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | |||
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | |||
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | library_names_spec='$libname$release$shared_ext$versuffix $libname$release$s hared_ext$major $libname$shared_ext' | |||
soname_spec='$libname$release$shared_ext$major' | soname_spec='$libname$release$shared_ext$major' | |||
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | |||
skipping to change at line 2745 | skipping to change at line 2821 | |||
LDFLAGS=$save_LDFLAGS | LDFLAGS=$save_LDFLAGS | |||
libdir=$save_libdir | libdir=$save_libdir | |||
]) | ]) | |||
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | |||
# This implies no fast_install, which is unacceptable. | # This implies no fast_install, which is unacceptable. | |||
# Some rework will be needed to allow for fast_install | # Some rework will be needed to allow for fast_install | |||
# before this can be enabled. | # before this can be enabled. | |||
hardcode_into_libs=yes | hardcode_into_libs=yes | |||
# Append ld.so.conf contents to the search path | # Ideally, we could use ldconfig to report *all* directores which are | |||
# searched for libraries, however this is still not possible. Aside from not | ||||
# being certain /sbin/ldconfig is available, command | ||||
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, | ||||
# even though it is searched at run-time. Try to do the best guess by | ||||
# appending ld.so.conf contents (and includes) to the search path. | ||||
if test -f /etc/ld.so.conf; then | if test -f /etc/ld.so.conf; then | |||
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' ' '` | 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' ' '` | |||
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | |||
fi | fi | |||
# We used to test for /lib/ld.so.1 and disable shared libraries on | # We used to test for /lib/ld.so.1 and disable shared libraries on | |||
# powerpc, because MkLinux only supported shared libraries with the | # powerpc, because MkLinux only supported shared libraries with the | |||
# GNU dynamic linker. Since this was broken with cross compilers, | # GNU dynamic linker. Since this was broken with cross compilers, | |||
# most powerpc-linux boxes support dynamic linking these days and | # most powerpc-linux boxes support dynamic linking these days and | |||
# people can always --disable-shared, the test was removed, and we | # people can always --disable-shared, the test was removed, and we | |||
skipping to change at line 2969 | skipping to change at line 3050 | |||
test no = "$dynamic_linker" && can_build_shared=no | test no = "$dynamic_linker" && can_build_shared=no | |||
variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | |||
if test yes = "$GCC"; then | if test yes = "$GCC"; then | |||
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL ER_PATH LIBRARY_PATH" | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL ER_PATH LIBRARY_PATH" | |||
fi | fi | |||
if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then | if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then | |||
sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec | sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec | |||
fi | fi | |||
if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then | if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then | |||
sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec | sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec | |||
fi | fi | |||
# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... | ||||
configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec | ||||
# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code | ||||
func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" | ||||
# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool | ||||
configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH | ||||
_LT_DECL([], [variables_saved_for_relink], [1], | _LT_DECL([], [variables_saved_for_relink], [1], | |||
[Variables whose values should be saved in libtool wrapper scripts and | [Variables whose values should be saved in libtool wrapper scripts and | |||
restored at link time]) | restored at link time]) | |||
_LT_DECL([], [need_lib_prefix], [0], | _LT_DECL([], [need_lib_prefix], [0], | |||
[Do we need the "lib" prefix for modules?]) | [Do we need the "lib" prefix for modules?]) | |||
_LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) | _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) | |||
_LT_DECL([], [version_type], [0], [Library versioning type]) | _LT_DECL([], [version_type], [0], [Library versioning type]) | |||
_LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) | _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) | |||
_LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) | _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) | |||
_LT_DECL([], [shlibpath_overrides_runpath], [0], | _LT_DECL([], [shlibpath_overrides_runpath], [0], | |||
skipping to change at line 3005 | skipping to change at line 3096 | |||
[Command to use after uninstallation of a shared archive]) | [Command to use after uninstallation of a shared archive]) | |||
_LT_DECL([], [finish_cmds], [2], | _LT_DECL([], [finish_cmds], [2], | |||
[Commands used to finish a libtool library installation in a directory]) | [Commands used to finish a libtool library installation in a directory]) | |||
_LT_DECL([], [finish_eval], [1], | _LT_DECL([], [finish_eval], [1], | |||
[[As "finish_cmds", except a single script fragment to be evaled but | [[As "finish_cmds", except a single script fragment to be evaled but | |||
not shown]]) | not shown]]) | |||
_LT_DECL([], [hardcode_into_libs], [0], | _LT_DECL([], [hardcode_into_libs], [0], | |||
[Whether we should hardcode library paths into libraries]) | [Whether we should hardcode library paths into libraries]) | |||
_LT_DECL([], [sys_lib_search_path_spec], [2], | _LT_DECL([], [sys_lib_search_path_spec], [2], | |||
[Compile-time system search path for libraries]) | [Compile-time system search path for libraries]) | |||
_LT_DECL([], [sys_lib_dlsearch_path_spec], [2], | _LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2], | |||
[Run-time system search path for libraries]) | [Detected run-time system search path for libraries]) | |||
_LT_DECL([], [configure_time_lt_sys_library_path], [2], | ||||
[Explicit LT_SYS_LIBRARY_PATH set during ./configure time]) | ||||
])# _LT_SYS_DYNAMIC_LINKER | ])# _LT_SYS_DYNAMIC_LINKER | |||
# _LT_PATH_TOOL_PREFIX(TOOL) | # _LT_PATH_TOOL_PREFIX(TOOL) | |||
# -------------------------- | # -------------------------- | |||
# find a file program that can recognize shared library | # find a file program that can recognize shared library | |||
AC_DEFUN([_LT_PATH_TOOL_PREFIX], | AC_DEFUN([_LT_PATH_TOOL_PREFIX], | |||
[m4_require([_LT_DECL_EGREP])dnl | [m4_require([_LT_DECL_EGREP])dnl | |||
AC_MSG_CHECKING([for $1]) | AC_MSG_CHECKING([for $1]) | |||
AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, | AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, | |||
[case $MAGIC_CMD in | [case $MAGIC_CMD in | |||
skipping to change at line 7465 | skipping to change at line 7558 | |||
# PORTME: override above test on systems where it is broken | # PORTME: override above test on systems where it is broken | |||
m4_if([$1], [CXX], | m4_if([$1], [CXX], | |||
[case $host_os in | [case $host_os in | |||
interix[[3-9]]*) | interix[[3-9]]*) | |||
# Interix 3.5 installs completely hosed .la files for C++, so rather than | # Interix 3.5 installs completely hosed .la files for C++, so rather than | |||
# hack all around it, let's just trust "g++" to DTRT. | # hack all around it, let's just trust "g++" to DTRT. | |||
_LT_TAGVAR(predep_objects,$1)= | _LT_TAGVAR(predep_objects,$1)= | |||
_LT_TAGVAR(postdep_objects,$1)= | _LT_TAGVAR(postdep_objects,$1)= | |||
_LT_TAGVAR(postdeps,$1)= | _LT_TAGVAR(postdeps,$1)= | |||
;; | ;; | |||
linux*) | ||||
case `$CC -V 2>&1 | sed 5q` in | ||||
*Sun\ C*) | ||||
# Sun C++ 5.9 | ||||
# The more standards-conforming stlport4 library is | ||||
# incompatible with the Cstd library. Avoid specifying | ||||
# it if it's in CXXFLAGS. Ignore libCrun as | ||||
# -library=stlport4 depends on it. | ||||
case " $CXX $CXXFLAGS " in | ||||
*" -library=stlport4 "*) | ||||
solaris_use_stlport4=yes | ||||
;; | ||||
esac | ||||
if test yes != "$solaris_use_stlport4"; then | ||||
_LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' | ||||
fi | ||||
;; | ||||
esac | ||||
;; | ||||
solaris*) | ||||
case $cc_basename in | ||||
CC* | sunCC*) | ||||
# The more standards-conforming stlport4 library is | ||||
# incompatible with the Cstd library. Avoid specifying | ||||
# it if it's in CXXFLAGS. Ignore libCrun as | ||||
# -library=stlport4 depends on it. | ||||
case " $CXX $CXXFLAGS " in | ||||
*" -library=stlport4 "*) | ||||
solaris_use_stlport4=yes | ||||
;; | ||||
esac | ||||
# Adding this requires a known-good setup of shared libraries for | ||||
# Sun compiler versions before 5.6, else PIC objects from an old | ||||
# archive will be linked into the output, leading to subtle bugs. | ||||
if test yes != "$solaris_use_stlport4"; then | ||||
_LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' | ||||
fi | ||||
;; | ||||
esac | ||||
;; | ||||
esac | esac | |||
]) | ]) | |||
case " $_LT_TAGVAR(postdeps, $1) " in | case " $_LT_TAGVAR(postdeps, $1) " in | |||
*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; | *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; | |||
esac | esac | |||
_LT_TAGVAR(compiler_lib_search_dirs, $1)= | _LT_TAGVAR(compiler_lib_search_dirs, $1)= | |||
if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then | if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then | |||
_LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_sear ch_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` | _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_sear ch_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'` | |||
fi | fi | |||
End of changes. 18 change blocks. | ||||
60 lines changed or deleted | 111 lines changed or added |