changeset 15184:bf8fdb98234b

closein: Move AC_LIBOBJ invocations to module description. * m4/closein.m4 (gl_CLOSEIN): Remove AC_LIBOBJ invocation. * modules/closein (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:45:58 +0200
parents d0717f4cbc88
children c3f98dba2835
files ChangeLog m4/closein.m4 modules/closein
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>
+
+	closein: Move AC_LIBOBJ invocations to module description.
+	* m4/closein.m4 (gl_CLOSEIN): Remove AC_LIBOBJ invocation.
+	* modules/closein (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	cloexec: Move AC_LIBOBJ invocations to module description.
--- a/m4/closein.m4
+++ b/m4/closein.m4
@@ -1,13 +1,11 @@
-# closein.m4 serial 1
+# closein.m4 serial 2
 dnl Copyright (C) 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/closein.c.
 AC_DEFUN([gl_CLOSEIN],
 [
-  AC_LIBOBJ([closein])
-
-  dnl Prerequisites of lib/closein.c.
   :
 ])
--- a/modules/closein
+++ b/modules/closein
@@ -16,6 +16,7 @@
 gl_CLOSEIN
 
 Makefile.am:
+lib_SOURCES += closein.c
 
 Include:
 "closein.h"