safe-write: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 23:30:20 +0000 (01:30 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:36 +0000 (00:07 +0200)
* m4/safe-write.m4 (gl_SAFE_WRITE): Remove macro.
* modules/safe-write (configure.ac): Invoke gl_PREREQ_SAFE_WRITE
instead of gl_SAFE_WRITE.
(Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/safe-write.m4
modules/safe-write

index f6c2cb1..0bfa884 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       safe-write: Move AC_LIBOBJ invocations to module description.
+       * m4/safe-write.m4 (gl_SAFE_WRITE): Remove macro.
+       * modules/safe-write (configure.ac): Invoke gl_PREREQ_SAFE_WRITE
+       instead of gl_SAFE_WRITE.
+       (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
        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
index 7f6b9f8..6631ab6 100644 (file)
@@ -1,16 +1,9 @@
-# safe-write.m4 serial 3
+# safe-write.m4 serial 4
 dnl Copyright (C) 2002, 2005-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_SAFE_WRITE],
-[
-  AC_LIBOBJ([safe-write])
-
-  gl_PREREQ_SAFE_WRITE
-])
-
 # Prerequisites of lib/safe-write.c.
 AC_DEFUN([gl_PREREQ_SAFE_WRITE],
 [
index cdc80d2..6248736 100644 (file)
@@ -13,9 +13,10 @@ ssize_t
 write
 
 configure.ac:
-gl_SAFE_WRITE
+gl_PREREQ_SAFE_WRITE
 
 Makefile.am:
+lib_SOURCES += safe-write.c
 
 Include:
 "safe-write.h"