summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorHans-Dieter Kosch <fsck-p@users.sourceforge.net>2006-10-11 23:44:16 +0000
committerHans-Dieter Kosch <fsck-p@users.sourceforge.net>2006-10-11 23:44:16 +0000
commit6d4ad3bcf964349dced9cfef07d5362e2ddce4d3 (patch)
tree1b9625e809850db7339e9dc6c6da24054f21675e /m4
parent79378eecf6e82b850f5f49695b92bd8bbca91166 (diff)
downloadxine-lib-6d4ad3bcf964349dced9cfef07d5362e2ddce4d3.tar.gz
xine-lib-6d4ad3bcf964349dced9cfef07d5362e2ddce4d3.tar.bz2
Added compatibility with different libtool versions.
CVS patchset: 8335 CVS date: 2006/10/11 23:44:16
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool15.m418
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/libtool15.m4 b/m4/libtool15.m4
index d01bb8def..189cddb25 100644
--- a/m4/libtool15.m4
+++ b/m4/libtool15.m4
@@ -1150,7 +1150,7 @@ AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
library_names_spec=
libname_spec='lib$name'
soname_spec=
-shrext_cmds=".so"
+shrext_cmds=".so"; shrext="$shrext_cmds"
postinstall_cmds=
postuninstall_cmds=
finish_cmds=
@@ -1263,7 +1263,7 @@ bsdi[[45]]*)
cygwin* | mingw* | pw32*)
version_type=windows
- shrext_cmds=".dll"
+ shrext_cmds=".dll"; shrext="$shrext_cmds"
need_version=no
need_lib_prefix=no
@@ -1328,7 +1328,7 @@ darwin* | rhapsody*)
soname_spec='${libname}${release}${major}$shared_ext'
shlibpath_overrides_runpath=yes
shlibpath_var=DYLD_LIBRARY_PATH
- shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
+ shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'; shrext="$shrext_cmds"
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
if test "$GCC" = yes; then
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
@@ -1413,7 +1413,7 @@ hpux9* | hpux10* | hpux11*)
need_version=no
case "$host_cpu" in
ia64*)
- shrext_cmds='.so'
+ shrext_cmds='.so'; shrext="$shrext_cmds"
hardcode_into_libs=yes
dynamic_linker="$host_os dld.so"
shlibpath_var=LD_LIBRARY_PATH
@@ -1428,7 +1428,7 @@ hpux9* | hpux10* | hpux11*)
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
hppa*64*)
- shrext_cmds='.sl'
+ shrext_cmds='.sl'; shrext="$shrext_cmds"
hardcode_into_libs=yes
dynamic_linker="$host_os dld.sl"
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
@@ -1439,7 +1439,7 @@ hpux9* | hpux10* | hpux11*)
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
;;
*)
- shrext_cmds='.sl'
+ shrext_cmds='.sl'; shrext="$shrext_cmds"
dynamic_linker="$host_os dld.sl"
shlibpath_var=SHLIB_PATH
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
@@ -1597,7 +1597,7 @@ openbsd*)
os2*)
libname_spec='$name'
- shrext_cmds=".dll"
+ shrext_cmds=".dll"; shrext="$shrext_cmds"
need_lib_prefix=no
library_names_spec='$libname${shared_ext} $libname.a'
dynamic_linker='OS/2 ld.exe'
@@ -4198,7 +4198,7 @@ objext="$ac_objext"
libext="$libext"
# Shared library suffix (normally ".so").
-shrext_cmds='$shrext_cmds'
+shrext_cmds='$shrext_cmds'; shrext="$shrext_cmds"
# Executable file suffix (normally "").
exeext="$exeext"
@@ -5582,7 +5582,7 @@ EOF
# Tell ltmain to make .lib files, not .a files.
libext=lib
# Tell ltmain to make .dll files, not .so files.
- shrext_cmds=".dll"
+ shrext_cmds=".dll"; shrext="$shrext_cmds"
# FIXME: Setting linknames here is a bad hack.
_LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
# The linker will automatically build a .lib file if we build a DLL.