* 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.
2001-04-23 Gary V. Vaughan <gvv@techie.com>
+ 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 _.
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