bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoupdate config.guess, config.sub


From: Ralf Wildenhues
Subject: Re: autoupdate config.guess, config.sub
Date: Tue, 8 Jan 2008 20:36:17 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Bruno Haible wrote on Tue, Jan 08, 2008 at 03:08:17AM CET:
> Ralf Wildenhues wrote:
> > Bruno, I suppose config.rpath and config.libpath would need adjustment
> > as well.  Should I send a patch?
> 
> Normally, I update these files after an official libtool release. Once
> a libtool-1.5.26 is released, I'll update these. But in this case, the
> diffs are probably small and easy, therefore feel free to do it ahead of
> time.

Thanks, I'll apply this in a couple of days unless I hear complaints.

FWIW, in Libtool I chose to also match 7 through 9 because I actually
think that's more likely to work well than not, whenever such as release
comes out.  AIX is pretty backward compatible.

Cheers,
Ralf

    Support AIX 6.1 and higher.
    
    * build-aux/config.libpath: Likewise.
    * build-aux/config.rpath: Likewise.

diff --git a/build-aux/config.libpath b/build-aux/config.libpath
index b1bc888..2f3aa2b 100755
--- a/build-aux/config.libpath
+++ b/build-aux/config.libpath
@@ -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 at run time.
 #
-#   Copyright 1996-2007 Free Software Foundation, Inc.
+#   Copyright 1996-2008 Free Software Foundation, Inc.
 #   Taken from GNU libtool, 2003
 #   Originally by Gordon Matzigkeit <address@hidden>, 1996
 #
@@ -42,7 +42,7 @@ case $host_os in
   aix3*)
     shlibpath_var=LIBPATH
     ;;
-  aix4* | aix5*)
+  aix[4-9]*)
     if test "$host_cpu" = ia64; then
       # AIX 5 supports IA64
       shlibpath_var=LD_LIBRARY_PATH
diff --git a/build-aux/config.rpath b/build-aux/config.rpath
index c547c68..35f959b 100755
--- a/build-aux/config.rpath
+++ b/build-aux/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-2007 Free Software Foundation, Inc.
+#   Copyright 1996-2008 Free Software Foundation, Inc.
 #   Taken from GNU libtool, 2001
 #   Originally by Gordon Matzigkeit <address@hidden>, 1996
 #
@@ -158,7 +158,7 @@ if test "$with_gnu_ld" = yes; then
   # option of GNU ld is called -rpath, not --rpath.
   hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   case "$host_os" in
-    aix3* | aix4* | aix5*)
+    aix[3-9]*)
       # On AIX/PPC, the GNU linker is very broken
       if test "$host_cpu" != ia64; then
         ld_shlibs=no
@@ -254,7 +254,7 @@ else
         hardcode_direct=unsupported
       fi
       ;;
-    aix4* | aix5*)
+    aix[4-9]*)
       if test "$host_cpu" = ia64; then
         # On IA64, the linker does run time linking by default, so we don't
         # have to do anything special.
@@ -264,7 +264,7 @@ else
         # Test if we are trying to use run time linking or normal
         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
         # need to do runtime linking.
-        case $host_os in aix4.[23]|aix4.[23].*|aix5*)
+        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
           for ld_flag in $LDFLAGS; do
             if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
               aix_use_runtimelinking=yes
@@ -505,7 +505,7 @@ case "$host_os" in
   aix3*)
     library_names_spec='$libname.a'
     ;;
-  aix4* | aix5*)
+  aix[4-9]*)
     library_names_spec='$libname$shrext'
     ;;
   amigaos*)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]