From a84d6791f940fd8613cf782138d2a18e8d4fbca2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 23 May 2011 23:16:16 +0200 Subject: [PATCH] fcntl-safer: Move AC_LIBOBJ invocations to module description. * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove AC_LIBOBJ invocations. * modules/fcntl-safer (Makefile.am): Augment lib_SOURCES. --- ChangeLog | 6 ++++++ m4/fcntl-safer.m4 | 6 ++---- modules/fcntl-safer | 1 + 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d92aaba5d..bbd8249e1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-23 Bruno Haible + fcntl-safer: Move AC_LIBOBJ invocations to module description. + * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove AC_LIBOBJ invocations. + * modules/fcntl-safer (Makefile.am): Augment lib_SOURCES. + +2011-05-23 Bruno Haible + exclude: Move AC_LIBOBJ invocations to module description. * m4/exclude.m4: Remove file. * modules/exclude (Files): Remove it. diff --git a/m4/fcntl-safer.m4 b/m4/fcntl-safer.m4 index b1201019c..394c51028 100644 --- a/m4/fcntl-safer.m4 +++ b/m4/fcntl-safer.m4 @@ -1,4 +1,4 @@ -#serial 7 +#serial 8 dnl Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,9 +6,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FCNTL_SAFER], [ - AC_LIBOBJ([open-safer]) - AC_LIBOBJ([creat-safer]) - # Prerequisites of lib/open-safer.c. + dnl Prerequisites of lib/open-safer.c. AC_REQUIRE([gl_PROMOTED_TYPE_MODE_T]) ]) diff --git a/modules/fcntl-safer b/modules/fcntl-safer index 918223e87..176c871e6 100644 --- a/modules/fcntl-safer +++ b/modules/fcntl-safer @@ -19,6 +19,7 @@ gl_FCNTL_SAFER gl_MODULE_INDICATOR([fcntl-safer]) Makefile.am: +lib_SOURCES += creat-safer.c open-safer.c Include: "fcntl-safer.h" -- 2.11.0