Index: ChangeLog from Gary V. Vaughan From Peter Eisentraut * ltmain.in (clean,uninstall): test -e is not portable. Well, neither is -L, but I'm hoping that redirecting error messages to /dev/null and relying on non-zero exit status will work okay on the few hosts that don't support -L. Index: ltmain.in =================================================================== RCS file: /cvsroot/libtool/libtool/ltmain.in,v retrieving revision 1.253 diff -u -r1.253 ltmain.in --- ltmain.in 2001/04/08 00:46:58 1.253 +++ ltmain.in 2001/04/08 09:47:55 @@ -4654,7 +4654,12 @@ fi # Don't error if the file doesn't exist and rm -f was used. - if test ! -e "$file" && test "$rmforce" = yes; then + if test -L "$file" >/dev/null 2>&1 || test -f "$file"; then + : + elif test -d "$file"; then + exit_status=1 + continue + elif test "$rmforce" = yes; then continue fi