changeset 15186:c4b31f5b27a7

close-stream: Move AC_LIBOBJ invocations to module description. * m4/close-stream.m4 (gl_CLOSE_STREAM): Remove AC_LIBOBJ invocation. * modules/close-stream (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:49:28 +0200
parents c3f98dba2835
children 8f6c698d0789
files ChangeLog m4/close-stream.m4 modules/close-stream
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>
+
+	close-stream: Move AC_LIBOBJ invocations to module description.
+	* m4/close-stream.m4 (gl_CLOSE_STREAM): Remove AC_LIBOBJ invocation.
+	* modules/close-stream (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	closeout: Move AC_LIBOBJ invocations to module description.
--- a/m4/close-stream.m4
+++ b/m4/close-stream.m4
@@ -1,13 +1,11 @@
-#serial 3
+#serial 4
 dnl Copyright (C) 2006-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,
 dnl with or without modifications, as long as this notice is preserved.
 
+dnl Prerequisites of lib/close-stream.c.
 AC_DEFUN([gl_CLOSE_STREAM],
 [
-  AC_LIBOBJ([close-stream])
-
-  dnl Prerequisites of lib/close-stream.c.
   :
 ])
--- a/modules/close-stream
+++ b/modules/close-stream
@@ -15,6 +15,7 @@
 gl_MODULE_INDICATOR([close-stream])
 
 Makefile.am:
+lib_SOURCES += close-stream.c
 
 Include:
 "close-stream.h"