# HG changeset patch # User Bruno Haible # Date 1305980472 -7200 # Node ID cec7c0e3ddcc75ddf904d7c5800e7c23862b6213 # Parent c9244e72db260d60c1b1a4d6a33083d5696ff990 mbsinit: Move AC_LIBOBJ invocations to module description. * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Move AC_LIBOBJ and gl_PREREQ_MBSINIT invocations from here... * modules/mbsinit (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-21 Bruno Haible + + mbsinit: Move AC_LIBOBJ invocations to module description. + * m4/mbsinit.m4 (gl_FUNC_MBSINIT): Move AC_LIBOBJ and gl_PREREQ_MBSINIT + invocations from here... + * modules/mbsinit (configure.ac): ... to here. + 2011-05-21 Bruno Haible mbrlen: Move AC_LIBOBJ invocations to module description. diff --git a/m4/mbsinit.m4 b/m4/mbsinit.m4 --- a/m4/mbsinit.m4 +++ b/m4/mbsinit.m4 @@ -1,4 +1,4 @@ -# mbsinit.m4 serial 6 +# mbsinit.m4 serial 7 dnl Copyright (C) 2008, 2010-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, @@ -27,10 +27,6 @@ esac fi fi - if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then - AC_LIBOBJ([mbsinit]) - gl_PREREQ_MBSINIT - fi ]) # Prerequisites of lib/mbsinit.c. diff --git a/modules/mbsinit b/modules/mbsinit --- a/modules/mbsinit +++ b/modules/mbsinit @@ -14,6 +14,10 @@ configure.ac: gl_FUNC_MBSINIT +if test $HAVE_MBSINIT = 0 || test $REPLACE_MBSINIT = 1; then + AC_LIBOBJ([mbsinit]) + gl_PREREQ_MBSINIT +fi gl_WCHAR_MODULE_INDICATOR([mbsinit]) Makefile.am: