# HG changeset patch # User Bruno Haible # Date 1305988429 -7200 # Node ID 1754adc5fd88cd171e4b57189acb52350e1d54f2 # Parent 56a24b726e1d5d99147a81ec2de84bfa3fc2290e obstack-printf*: Move AC_LIBOBJ invocations to module description. * m4/obstack-printf.m4 (gl_REPLACE_OBSTACK_PRINTF): Move AC_LIBOBJ invocation from here... * modules/obstack-printf (configure.ac): ... to here. * modules/obstack-printf-posix (configure.ac): ... and here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-21 Bruno Haible + + obstack-printf*: Move AC_LIBOBJ invocations to module description. + * m4/obstack-printf.m4 (gl_REPLACE_OBSTACK_PRINTF): Move AC_LIBOBJ + invocation from here... + * modules/obstack-printf (configure.ac): ... to here. + * modules/obstack-printf-posix (configure.ac): ... and here. + 2011-05-21 Bruno Haible nl_langinfo: Move AC_LIBOBJ invocations to module description. diff --git a/m4/obstack-printf.m4 b/m4/obstack-printf.m4 --- a/m4/obstack-printf.m4 +++ b/m4/obstack-printf.m4 @@ -1,4 +1,4 @@ -# obstack-printf.m4 serial 3 +# obstack-printf.m4 serial 4 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, @@ -25,7 +25,6 @@ AC_DEFUN([gl_REPLACE_OBSTACK_PRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) - AC_LIBOBJ([obstack_printf]) if test $ac_cv_func_obstack_printf = yes; then REPLACE_OBSTACK_PRINTF=1 fi diff --git a/modules/obstack-printf b/modules/obstack-printf --- a/modules/obstack-printf +++ b/modules/obstack-printf @@ -13,6 +13,9 @@ configure.ac: gl_FUNC_OBSTACK_PRINTF +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi gl_STDIO_MODULE_INDICATOR([obstack-printf]) Makefile.am: diff --git a/modules/obstack-printf-posix b/modules/obstack-printf-posix --- a/modules/obstack-printf-posix +++ b/modules/obstack-printf-posix @@ -20,6 +20,9 @@ configure.ac: gl_FUNC_OBSTACK_PRINTF_POSIX +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi gl_STDIO_MODULE_INDICATOR([obstack-printf-posix]) Makefile.am: