fcntl-safer: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 21:16:16 +0000 (23:16 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:23 +0000 (00:07 +0200)
* m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove AC_LIBOBJ invocations.
* modules/fcntl-safer (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/fcntl-safer.m4
modules/fcntl-safer

index d92aaba..bbd8249 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/exclude.m4: Remove file.
        * modules/exclude (Files): Remove it.
index b120101..394c510 100644 (file)
@@ -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])
 ])
 
index 918223e..176c871 100644 (file)
@@ -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"