From: Bruno Haible Date: Sat, 7 May 2011 11:40:26 +0000 (+0200) Subject: ftell: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2612 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0e789d4c672de575ec384b2059c4779de5b5c664;p=gnulib.git ftell: Move AC_LIBOBJ invocations to module description. * m4/ftell.m4 (gl_FUNC_FTELL): Move AC_LIBOBJ invocation from here... * modules/ftell (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index c90803333..6037c0c87 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-07 Bruno Haible + ftell: Move AC_LIBOBJ invocations to module description. + * m4/ftell.m4 (gl_FUNC_FTELL): Move AC_LIBOBJ invocation from here... + * modules/ftell (configure.ac): ... to here. + +2011-05-07 Bruno Haible + ftello: Respect rules for use of AC_LIBOBJ. * m4/ftello.m4 (gl_REPLACE_FTELLO): Remove macro. (gl_FUNC_FTELLO): Inline it here. Move AC_LIBOBJ invocation from diff --git a/m4/ftell.m4 b/m4/ftell.m4 index 8d88485e5..00d7bbec9 100644 --- a/m4/ftell.m4 +++ b/m4/ftell.m4 @@ -1,4 +1,4 @@ -# ftell.m4 serial 1 +# ftell.m4 serial 2 dnl Copyright (C) 2007, 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, @@ -10,7 +10,6 @@ AC_DEFUN([gl_FUNC_FTELL], AC_REQUIRE([gl_FUNC_FTELLO]) dnl When ftello needs fixes, ftell needs them too. if test $REPLACE_FTELLO != 0; then - AC_LIBOBJ([ftell]) REPLACE_FTELL=1 fi ]) diff --git a/modules/ftell b/modules/ftell index cc95d169f..8dbaf2e4c 100644 --- a/modules/ftell +++ b/modules/ftell @@ -12,6 +12,9 @@ ftello [test $REPLACE_FTELL = 1] configure.ac: gl_FUNC_FTELL +if test $REPLACE_FTELL = 1; then + AC_LIBOBJ([ftell]) +fi gl_STDIO_MODULE_INDICATOR([ftell]) Makefile.am: