read-file: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 23:12:53 +0000 (01:12 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:34 +0000 (00:07 +0200)
* m4/read-file.m4 (gl_FUNC_READ_FILE): Remove macro.
* modules/read-file (configure.ac): Invoke gl_PREREQ_READ_FILE instead
of gl_FUNC_READ_FILE.
(Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/read-file.m4
modules/read-file

index f7215bd..031f5c9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       read-file: Move AC_LIBOBJ invocations to module description.
+       * m4/read-file.m4 (gl_FUNC_READ_FILE): Remove macro.
+       * modules/read-file (configure.ac): Invoke gl_PREREQ_READ_FILE instead
+       of gl_FUNC_READ_FILE.
+       (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
        quotearg: Move AC_LIBOBJ invocations to module description.
        * m4/quotearg.m4 (gl_QUOTEARG): Remove AC_LIBOBJ invocation.
        * modules/quotearg (Makefile.am): Augment lib_SOURCES.
index 60d0360..93e0ac3 100644 (file)
@@ -1,14 +1,8 @@
-# read-file.m4 serial 2
+# read-file.m4 serial 3
 dnl Copyright (C) 2002-2006, 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.
 
-AC_DEFUN([gl_FUNC_READ_FILE],
-[
-  AC_LIBOBJ([read-file])
-  gl_PREREQ_READ_FILE
-])
-
 # Prerequisites of lib/read-file.c.
 AC_DEFUN([gl_PREREQ_READ_FILE], [:])
index 6ad941b..0f380ca 100644 (file)
@@ -14,9 +14,10 @@ stdint
 sys_stat
 
 configure.ac:
-gl_FUNC_READ_FILE
+gl_PREREQ_READ_FILE
 
 Makefile.am:
+lib_SOURCES += read-file.c
 
 Include:
 "read-file.h"