From: Bruno Haible Date: Mon, 23 May 2011 23:28:26 +0000 (+0200) Subject: safe-read: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2292 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=3f60f6a8fd975837aa5f419c03bf132b12b73b3d;p=gnulib.git safe-read: Move AC_LIBOBJ invocations to module description. * m4/safe-read.m4 (gl_SAFE_READ): Remove macro. * modules/safe-read (configure.ac): Invoke gl_PREREQ_SAFE_READ instead of gl_SAFE_READ. (Makefile.am): Augment lib_SOURCES. --- diff --git a/ChangeLog b/ChangeLog index af7439f99..f6c2cb1cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-05-23 Bruno Haible + safe-read: Move AC_LIBOBJ invocations to module description. + * m4/safe-read.m4 (gl_SAFE_READ): Remove macro. + * modules/safe-read (configure.ac): Invoke gl_PREREQ_SAFE_READ instead + of gl_SAFE_READ. + (Makefile.am): Augment lib_SOURCES. + +2011-05-23 Bruno Haible + safe-alloc: Move AC_LIBOBJ invocations to module description. * m4/safe-alloc.m4 (gl_SAFE_ALLOC): Remove AC_LIBOBJ invocation. * modules/safe-alloc (Makefile.am): Augment lib_SOURCES. diff --git a/m4/safe-read.m4 b/m4/safe-read.m4 index ea8eedbfc..791624205 100644 --- a/m4/safe-read.m4 +++ b/m4/safe-read.m4 @@ -1,17 +1,10 @@ -# safe-read.m4 serial 5 +# safe-read.m4 serial 6 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation, dnl 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_SAFE_READ], -[ - AC_LIBOBJ([safe-read]) - - gl_PREREQ_SAFE_READ -]) - # Prerequisites of lib/safe-read.c. AC_DEFUN([gl_PREREQ_SAFE_READ], [ diff --git a/modules/safe-read b/modules/safe-read index 89e79a9b6..795b4d188 100644 --- a/modules/safe-read +++ b/modules/safe-read @@ -11,9 +11,10 @@ read ssize_t configure.ac: -gl_SAFE_READ +gl_PREREQ_SAFE_READ Makefile.am: +lib_SOURCES += safe-read.c Include: "safe-read.h"