From c17a3e5650fe461976ccea6ffae687572852d180 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 20:51:00 +0200 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ m4/write.m4 | 5 +---- modules/write | 3 +++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4446b8b11..ed42c60a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + 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 + wmemset: Move AC_LIBOBJ invocations to module description. * m4/wmemset.m4 (gl_FUNC_WMEMSET): Move AC_LIBOBJ invocation from here... diff --git a/m4/write.m4 b/m4/write.m4 index 63ab5e4c0..c39d3d07a 100644 --- a/m4/write.m4 +++ b/m4/write.m4 @@ -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 ]) diff --git a/modules/write b/modules/write index 736e40b09..d60b5a7f6 100644 --- a/modules/write +++ b/modules/write @@ -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: -- 2.11.0