unlinkdir: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Tue, 24 May 2011 00:16:53 +0000 (02:16 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:41 +0000 (00:07 +0200)
* m4/unlinkdir.m4 (gl_UNLINKDIR): Remove AC_LIBOBJ invocation.
* modules/unlinkdir (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/unlinkdir.m4
modules/unlinkdir

index 4e0249a..0c6d5e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       unlinkdir: Move AC_LIBOBJ invocations to module description.
+       * m4/unlinkdir.m4 (gl_UNLINKDIR): Remove AC_LIBOBJ invocation.
+       * modules/unlinkdir (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
        unistd-safer: Move AC_LIBOBJ invocations to module description.
        * m4/unistd-safer.m4 (gl_UNISTD_SAFER): Remove AC_LIBOBJ invocations.
        * modules/unistd-safer (Makefile.am): Augment lib_SOURCES.
index dabe5f4..d3157ad 100644 (file)
@@ -1,4 +1,4 @@
-# serial 6
+# serial 7
 
 # Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc.
 #
@@ -13,8 +13,6 @@ AC_DEFUN([gl_UNLINKDIR],
   AC_REQUIRE([AC_CANONICAL_HOST])
   AC_CHECK_HEADERS_ONCE([priv.h])
 
-  AC_LIBOBJ([unlinkdir])
-
   # The Hurd, the Linux kernel, the FreeBSD kernel version 2.2 and later,
   # Cygwin, and mingw never let anyone (even root) unlink directories.
   # If anyone knows of another system for which unlink can never
index f3b7fd7..b5dfa10 100644 (file)
@@ -14,6 +14,7 @@ configure.ac:
 gl_UNLINKDIR
 
 Makefile.am:
+lib_SOURCES += unlinkdir.c
 
 Include:
 "unlinkdir.h"