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 _.
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
(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
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