2000-12-22 Tom Tromey <tromey@redhat.com>
+ * m4/depend.m4 (AM_SET_DEPDIR): Ignore errors when running rmdir.
+
* m4/depend.m4 (AM_SET_DEPDIR): Remove .deps directory when done.
2000-12-21 Tom Tromey <tromey@redhat.com>
AC_DEFUN([AM_SET_DEPDIR],[
if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then
DEPDIR=.deps
- rmdir .deps
+ # We redirect because .deps might already exist and be populated.
+ # In this situation we don't want to see an error.
+ rmdir .deps > /dev/null 2>&1
else
DEPDIR=_deps
fi