]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/PLATFORMS: With this patch, my Solaris boxes now pass the
authorGary V. Vaughan <gary@gnu.org>
Mon, 23 Apr 2001 20:08:33 +0000 (20:08 +0000)
committerGary V. Vaughan <gary@gnu.org>
Mon, 23 Apr 2001 20:08:33 +0000 (20:08 +0000)
test suite,  Yay!
From Albert Chin-A-Young <china@thewrittenword.com>
* ltmain.in:  `test -L' is not portable, and infact breaks uninstall
mode on Solaris.  Fallback to `test -h' and finally `test -f',
but be careful not to let the failure status cause libtool to
stop.

ChangeLog
doc/PLATFORMS
ltmain.in

index fe7ab9f5f1b3211df783891e27ce4df45af97bf4..39c7b8126c7b2b005ccc88ada8d15793fc04d212 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2001-04-23  Gary V. Vaughan  <gvv@techie.com>
 
+       * doc/PLATFORMS:  With this patch, my Solaris boxes now pass the
+       test suite,  Yay!
+       From Albert Chin-A-Young <china@thewrittenword.com>
+       * ltmain.in:  `test -L' is not portable, and infact breaks uninstall
+       mode on Solaris.  Fallback to `test -h' and finally `test -f',
+       but be careful not to let the failure status cause libtool to
+       stop.
+
        From Simon Spero <ses@ibiblio.org>
        * ltdl.m4 (AC_LTDL_DLSYM_USCORE):  Add $LIBADD_DL while
        checking for dlsym _.
index a38fd81b2ab7e31cf46534b80a404199b7aae4c1..5553daadb7389029b485bbbbe185b3126fe87c3c 100644 (file)
@@ -58,7 +58,7 @@ i*86-*-netbsd1.3I               gcc      1.2e     ok
 i*86-*-netbsd1.2                gcc      0.9g     ok
 i*86-*-linux-gnu               gcc      1.3e     ok (1.901)
   (Red Hat 7.0, gcc "2.96")
-i*86-*-linux-gnu               gcc      1.3e     ok (1.901)
+i*86-*-linux-gnu               gcc      1.3e     ok (1.911)
   (SuSE 7.0, gcc 2.95.2)
 i*86-*-linux-gnulibc1           gcc      1.2f     ok
 i*86-*-openbsd2.5               gcc      1.3c     ok
@@ -127,11 +127,11 @@ rs6000-ibm-aix4.1.4.0           gcc      1.2f     ok
   (gcc-2.7.2)
 rs6000-ibm-aix3.2.5             gcc      1.0i     ok
 rs6000-ibm-aix3.2.5             xlc      1.0i     ok
-sparc-sun-solaris2.7            gcc      1.3b     ok
-  (egcs-1.1.2, GNU ld 2.9.1 & native ld)
+sparc-sun-solaris2.8           gcc      1.3e     ok (1.911)
+sparc-sun-solaris2.7            gcc      1.3e     ok (1.911)
 sparc-sun-solaris2.6            gcc      1.3.2    ok
   (egcs-1.1.2, GNU ld 2.9.1 & native ld)
-sparc-sun-solaris2.5.1          gcc      1.3c     ok (1.802)
+sparc-sun-solaris2.5.1          gcc      1.3e     ok (1.911)
 sparc-sun-solaris2.5            gcc      1.3b     ok
   (egcs-1.1.2, GNU ld 2.9.1 & native ld)
 sparc-sun-solaris2.5            cc       1.3b     ok
index f59e2d7758b60b5c908cf337b25eda98def27750..0cdc447ec59acfa3062dd292e49d2c5976eb0985 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -4657,7 +4657,9 @@ relink_command=\"$relink_command\""
       fi
 
       # Don't error if the file doesn't exist and rm -f was used.
-      if test -L "$file" >/dev/null 2>&1 || test -f "$file"; then
+      if (test -L "$file") >/dev/null 2>&1 \
+        || (test -h "$file") >/dev/null 2>&1 \
+       || test -f "$file"; then
         :
       elif test -d "$file"; then
         exit_status=1