summaryrefslogtreecommitdiff
path: root/autoconf-lib-link
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2005-01-05 18:33:09 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:57 +0200
commitad988c9285b7c45d104caadb54779ddc70aebad0 (patch)
tree33447e25eda1b2f2a28dcb88afc3be3095c1f207 /autoconf-lib-link
parent45920ca5023a00d15da014938570bdb24a968810 (diff)
downloadgettext-ad988c9285b7c45d104caadb54779ddc70aebad0.tar.gz
Upgrade to libtool-1.5.10.
Diffstat (limited to 'autoconf-lib-link')
-rw-r--r--autoconf-lib-link/ChangeLog4
-rwxr-xr-xautoconf-lib-link/config.rpath25
2 files changed, 28 insertions, 1 deletions
diff --git a/autoconf-lib-link/ChangeLog b/autoconf-lib-link/ChangeLog
index 35d2599a5..cc1d543f2 100644
--- a/autoconf-lib-link/ChangeLog
+++ b/autoconf-lib-link/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-05 Bruno Haible <bruno@clisp.org>
+
+ * config.rpath: Upgrade to libtool-1.5.10.
+
2004-11-11 Bruno Haible <bruno@clisp.org>
* config.rpath: Upgrade to libtool-1.5.8 and libtool-1.5.10.
diff --git a/autoconf-lib-link/config.rpath b/autoconf-lib-link/config.rpath
index 3a53a809d..91d28fb98 100755
--- a/autoconf-lib-link/config.rpath
+++ b/autoconf-lib-link/config.rpath
@@ -2,7 +2,7 @@
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
-# Copyright 1996-2004 Free Software Foundation, Inc.
+# Copyright 1996-2005 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
@@ -50,6 +50,8 @@ host_cpu=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
host_vendor=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo "$host" | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
+cc_basename=`echo "$CC" | sed -e 's%^.*/%%'`
+
# Code taken from libtool.m4's AC_LIBTOOL_PROG_COMPILER_PIC.
wl=
@@ -60,6 +62,13 @@ else
aix*)
wl='-Wl,'
;;
+ darwin*)
+ case "$cc_basename" in
+ xlc*)
+ wl='-Wl,'
+ ;;
+ esac
+ ;;
mingw* | pw32* | os2*)
;;
hpux9* | hpux10* | hpux11*)
@@ -286,6 +295,20 @@ else
hardcode_libdir_flag_spec=' '
libext=lib
;;
+ darwin* | rhapsody*)
+ hardcode_direct=no
+ if test "$GCC" = yes ; then
+ :
+ else
+ case "$cc_basename" in
+ xlc*)
+ ;;
+ *)
+ ld_shlibs=no
+ ;;
+ esac
+ fi
+ ;;
dgux*)
hardcode_libdir_flag_spec='-L$libdir'
;;