Paul Eggert <[EMAIL PROTECTED]> wrote:
> Jim Meyering <[EMAIL PROTECTED]> writes:
>
>> That looks fine, and works fine here.
>> Please commit it.
>
> OK, done.  I also added Cygwin to the list of platforms that
> can't unlink directories, as Eric Blake suggested.

Thanks!
I found that it needed a little change:

2005-05-14  Jim Meyering  <[EMAIL PROTECTED]>

        * unlinkdir.m4: Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
        Add `AC_LIBOBJ([unlinkdir])'.

Index: m4/unlinkdir.m4
===================================================================
RCS file: /fetish/cu/m4/unlinkdir.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -u -r1.1 -r1.2
--- m4/unlinkdir.m4     14 May 2005 08:01:17 -0000      1.1
+++ m4/unlinkdir.m4     14 May 2005 10:34:00 -0000      1.2
@@ -1,4 +1,4 @@
-#serial 1
+#serial 2
 
 # Copyright (C) 2005 Free Software Foundation, Inc.
 #
@@ -13,6 +13,9 @@ AC_DEFUN([gl_UNLINKDIR],
   AC_REQUIRE([AC_CANONICAL_HOST])
   AC_CHECK_HEADERS_ONCE(priv.h unistd.h)
 
+  AC_LIBSOURCES([unlinkdir.c, unlinkdir.h])
+  AC_LIBOBJ([unlinkdir])
+
   # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
   # and Cygwin never let anyone (even root) unlink directories.
   # If anyone knows of another system for which unlink can never


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to