# HG changeset patch # User Bruno Haible # Date 1306090260 -7200 # Node ID 839690b99cab966d8527760d205c6f47ced70024 # Parent eb33ef582ed06ff1fd5cbc727ed459a3795c7a78 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/write.m4 b/m4/write.m4 --- 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 @@ REPLACE_WRITE=1 fi ]) - if test $REPLACE_WRITE = 1; then - AC_LIBOBJ([write]) - fi ]) diff --git a/modules/write b/modules/write --- a/modules/write +++ b/modules/write @@ -11,6 +11,9 @@ configure.ac: gl_FUNC_WRITE +if test $REPLACE_WRITE = 1; then + AC_LIBOBJ([write]) +fi gl_UNISTD_MODULE_INDICATOR([write]) Makefile.am: