From: Bruno Haible Date: Tue, 24 May 2011 00:16:53 +0000 (+0200) Subject: unlinkdir: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2275 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=b8fd86de0027e6ef3956291b39e35b343a511840;p=gnulib.git unlinkdir: Move AC_LIBOBJ invocations to module description. * m4/unlinkdir.m4 (gl_UNLINKDIR): Remove AC_LIBOBJ invocation. * modules/unlinkdir (Makefile.am): Augment lib_SOURCES. --- diff --git a/ChangeLog b/ChangeLog index 4e0249a60..0c6d5e389 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-23 Bruno Haible + 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 + 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. diff --git a/m4/unlinkdir.m4 b/m4/unlinkdir.m4 index dabe5f40b..d3157ad99 100644 --- 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_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 diff --git a/modules/unlinkdir b/modules/unlinkdir index f3b7fd716..b5dfa100b 100644 --- a/modules/unlinkdir +++ b/modules/unlinkdir @@ -14,6 +14,7 @@ configure.ac: gl_UNLINKDIR Makefile.am: +lib_SOURCES += unlinkdir.c Include: "unlinkdir.h"