From: Bruno Haible Date: Mon, 23 May 2011 23:12:53 +0000 (+0200) Subject: read-file: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2296 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=e93ec645eb359f887934db78e612321c307e809c;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index f7215bd01..031f5c999 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-05-23 Bruno Haible + 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 + quotearg: Move AC_LIBOBJ invocations to module description. * m4/quotearg.m4 (gl_QUOTEARG): Remove AC_LIBOBJ invocation. * modules/quotearg (Makefile.am): Augment lib_SOURCES. diff --git a/m4/read-file.m4 b/m4/read-file.m4 index 60d03600a..93e0ac354 100644 --- a/m4/read-file.m4 +++ b/m4/read-file.m4 @@ -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], [:]) diff --git a/modules/read-file b/modules/read-file index 6ad941b27..0f380ca9a 100644 --- a/modules/read-file +++ b/modules/read-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"