# HG changeset patch # User Bruno Haible # Date 1306080323 -7200 # Node ID 3a6cc9531119a23d779a1d77c712ccc69f3f033c # Parent 0e2a34f6919c68da4b075f17566aeb6c68e77689 wcrtomb: Move AC_LIBOBJ invocations to module description. * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Move AC_LIBOBJ and gl_PREREQ_WCRTOMB invocations from here... * modules/wcrtomb (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wcrtomb: Move AC_LIBOBJ invocations to module description. + * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Move AC_LIBOBJ and gl_PREREQ_WCRTOMB + invocations from here... + * modules/wcrtomb (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcpncpy: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcrtomb.m4 b/m4/wcrtomb.m4 --- a/m4/wcrtomb.m4 +++ b/m4/wcrtomb.m4 @@ -1,4 +1,4 @@ -# wcrtomb.m4 serial 9 +# wcrtomb.m4 serial 10 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, @@ -88,10 +88,6 @@ esac fi fi - if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then - AC_LIBOBJ([wcrtomb]) - gl_PREREQ_WCRTOMB - fi ]) # Prerequisites of lib/wcrtomb.c. diff --git a/modules/wcrtomb b/modules/wcrtomb --- a/modules/wcrtomb +++ b/modules/wcrtomb @@ -18,6 +18,10 @@ configure.ac: gl_FUNC_WCRTOMB +if test $HAVE_WCRTOMB = 0 || test $REPLACE_WCRTOMB = 1; then + AC_LIBOBJ([wcrtomb]) + gl_PREREQ_WCRTOMB +fi gl_WCHAR_MODULE_INDICATOR([wcrtomb]) Makefile.am: