changeset 15251:000ccc8b8dd1

unlinkdir: Move AC_LIBOBJ invocations to module description. * m4/unlinkdir.m4 (gl_UNLINKDIR): Remove AC_LIBOBJ invocation. * modules/unlinkdir (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:16:53 +0200
parents 77079ed36606
children 085433472964
files ChangeLog m4/unlinkdir.m4 modules/unlinkdir
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
--- a/m4/unlinkdir.m4
+++ b/m4/unlinkdir.m4
@@ -1,4 +1,4 @@
-# serial 6
+# serial 7
 
 # Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc.
 #
@@ -13,8 +13,6 @@
   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
--- a/modules/unlinkdir
+++ b/modules/unlinkdir
@@ -14,6 +14,7 @@
 gl_UNLINKDIR
 
 Makefile.am:
+lib_SOURCES += unlinkdir.c
 
 Include:
 "unlinkdir.h"