From: Bruno Haible Date: Fri, 6 May 2011 10:46:34 +0000 (+0200) Subject: duplocale: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2593 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=c73d54100f7bed069fd68a936430d40fc5d5a957;p=gnulib.git duplocale: Move AC_LIBOBJ invocations to module description. * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Move AC_LIBOBJ and gl_PREREQ_DUPLOCALE invocations from here... * modules/duplocale (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index e64950a2b..7d3fa4a42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-06 Bruno Haible + + duplocale: Move AC_LIBOBJ invocations to module description. + * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Move AC_LIBOBJ and + gl_PREREQ_DUPLOCALE invocations from here... + * modules/duplocale (configure.ac): ... to here. + 2011-05-05 Bruno Haible dirfd: Move AC_LIBOBJ invocations to module description. diff --git a/m4/duplocale.m4 b/m4/duplocale.m4 index d61a8d2c5..cfb7f4b53 100644 --- a/m4/duplocale.m4 +++ b/m4/duplocale.m4 @@ -1,4 +1,4 @@ -# duplocale.m4 serial 6 +# duplocale.m4 serial 7 dnl Copyright (C) 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, @@ -59,10 +59,6 @@ int main () else HAVE_DUPLOCALE=0 fi - if test $REPLACE_DUPLOCALE = 1; then - AC_LIBOBJ([duplocale]) - gl_PREREQ_DUPLOCALE - fi ]) # Prerequisites of lib/duplocale.c. diff --git a/modules/duplocale b/modules/duplocale index 00852fd5b..aaa681f48 100644 --- a/modules/duplocale +++ b/modules/duplocale @@ -10,6 +10,10 @@ locale configure.ac: gl_FUNC_DUPLOCALE +if test $REPLACE_DUPLOCALE = 1; then + AC_LIBOBJ([duplocale]) + gl_PREREQ_DUPLOCALE +fi gl_LOCALE_MODULE_INDICATOR([duplocale]) Makefile.am: