From: Bruno Haible Date: Tue, 24 May 2011 00:16:53 +0000 (+0200) Subject: unlinkdir: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8fd86de0027e6ef3956291b39e35b343a511840;p=pspp 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 4e0249a608..0c6d5e3892 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/unlinkdir.m4 b/m4/unlinkdir.m4 index dabe5f40b1..d3157ad997 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 f3b7fd7168..b5dfa100b7 100644 --- a/modules/unlinkdir +++ b/modules/unlinkdir @@ -14,6 +14,7 @@ configure.ac: gl_UNLINKDIR Makefile.am: +lib_SOURCES += unlinkdir.c Include: "unlinkdir.h"