changeset 15195:b97312ffbb6a

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.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 23:16:16 +0200
parents d7e9b7baad5b
children 0f448a2da900
files ChangeLog m4/fcntl-safer.m4 modules/fcntl-safer
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	exclude: Move AC_LIBOBJ invocations to module description.
--- 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 @@
 
 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])
 ])
 
--- a/modules/fcntl-safer
+++ b/modules/fcntl-safer
@@ -19,6 +19,7 @@
 gl_MODULE_INDICATOR([fcntl-safer])
 
 Makefile.am:
+lib_SOURCES += creat-safer.c open-safer.c
 
 Include:
 "fcntl-safer.h"