write: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 22 May 2011 18:51:00 +0000 (20:51 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:16 +0000 (00:07 +0200)
* m4/write.m4 (gl_FUNC_WRITE): Move AC_LIBOBJ invocation from here...
* modules/write (configure.ac): ... to here.

ChangeLog
m4/write.m4
modules/write

index 4446b8b..ed42c60 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
+       write: Move AC_LIBOBJ invocations to module description.
+       * m4/write.m4 (gl_FUNC_WRITE): Move AC_LIBOBJ invocation from here...
+       * modules/write (configure.ac): ... to here.
+
+2011-05-22  Bruno Haible  <bruno@clisp.org>
+
        wmemset: Move AC_LIBOBJ invocations to module description.
        * m4/wmemset.m4 (gl_FUNC_WMEMSET): Move AC_LIBOBJ invocation from
        here...
index 63ab5e4..c39d3d0 100644 (file)
@@ -1,4 +1,4 @@
-# write.m4 serial 2
+# write.m4 serial 3
 dnl Copyright (C) 2008-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,
@@ -22,7 +22,4 @@ AC_DEFUN([gl_FUNC_WRITE],
       REPLACE_WRITE=1
     fi
   ])
-  if test $REPLACE_WRITE = 1; then
-    AC_LIBOBJ([write])
-  fi
 ])
index 736e40b..d60b5a7 100644 (file)
@@ -11,6 +11,9 @@ raise           [test $REPLACE_WRITE = 1]
 
 configure.ac:
 gl_FUNC_WRITE
+if test $REPLACE_WRITE = 1; then
+  AC_LIBOBJ([write])
+fi
 gl_UNISTD_MODULE_INDICATOR([write])
 
 Makefile.am: