Register unlinkdir.c and unlinkdir.h via AC_LIBSOURCES.
authorJim Meyering <jim@meyering.net>
Sat, 14 May 2005 10:34:00 +0000 (10:34 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 May 2005 10:34:00 +0000 (10:34 +0000)
Add `AC_LIBOBJ([unlinkdir])'.

m4/unlinkdir.m4

index c3f9c01..5e22e5d 100644 (file)
@@ -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