From: Gary V. Vaughan Date: Mon, 23 Apr 2001 20:08:33 +0000 (+0000) Subject: * doc/PLATFORMS: With this patch, my Solaris boxes now pass the X-Git-Tag: release-1-4~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ff38d2fd2516b52f1af309fcaa4ca711bf426d4;p=thirdparty%2Flibtool.git * doc/PLATFORMS: With this patch, my Solaris boxes now pass the test suite, Yay! From Albert Chin-A-Young * 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. --- diff --git a/ChangeLog b/ChangeLog index fe7ab9f5f..39c7b8126 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2001-04-23 Gary V. Vaughan + * doc/PLATFORMS: With this patch, my Solaris boxes now pass the + test suite, Yay! + From Albert Chin-A-Young + * 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 * ltdl.m4 (AC_LTDL_DLSYM_USCORE): Add $LIBADD_DL while checking for dlsym _. diff --git a/doc/PLATFORMS b/doc/PLATFORMS index a38fd81b2..5553daadb 100644 --- a/doc/PLATFORMS +++ b/doc/PLATFORMS @@ -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 diff --git a/ltmain.in b/ltmain.in index f59e2d775..0cdc447ec 100644 --- 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