]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Upgrade to libtool-1.5.10.
authorBruno Haible <bruno@clisp.org>
Wed, 5 Jan 2005 18:33:09 +0000 (18:33 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:57 +0000 (12:11 +0200)
autoconf-lib-link/ChangeLog
autoconf-lib-link/config.rpath

index 35d2599a52568c399d4dcf9dde4415bf5a47f077..cc1d543f2fe0f21e37536db4f725c411a675d683 100644 (file)
@@ -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.
index 3a53a809d0f7f2727cd6b896802d5df18469c6bf..91d28fb98512b4ae931a0809e4be53c35e09b838 100755 (executable)
@@ -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'
       ;;