From 290ebfa36c06b0615db884b0458c6db54dbf040c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 21 May 2011 12:05:16 +0200 Subject: [PATCH] iswctype: Move AC_LIBOBJ invocations to module description. * m4/iswctype.m4 (gl_FUNC_ISWCTYPE): Move AC_LIBOBJ invocation from here... * modules/iswctype (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/iswctype.m4 | 5 +---- modules/iswctype | 3 +++ 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94434b7d2..ffaa7cb0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-21 Bruno Haible + iswctype: Move AC_LIBOBJ invocations to module description. + * m4/iswctype.m4 (gl_FUNC_ISWCTYPE): Move AC_LIBOBJ invocation from + here... + * modules/iswctype (configure.ac): ... to here. + +2011-05-21 Bruno Haible + iswblank: Move AC_LIBOBJ invocations to module description. * m4/iswblank.m4 (gl_FUNC_ISWBLANK): Move AC_LIBOBJ invocation from here... diff --git a/m4/iswctype.m4 b/m4/iswctype.m4 index 2f0120f16..bfb4d74cc 100644 --- a/m4/iswctype.m4 +++ b/m4/iswctype.m4 @@ -1,4 +1,4 @@ -# iswctype.m4 serial 1 +# iswctype.m4 serial 2 dnl Copyright (C) 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, @@ -8,7 +8,4 @@ AC_DEFUN([gl_FUNC_ISWCTYPE], [ AC_REQUIRE([gl_WCTYPE_H_DEFAULTS]) AC_REQUIRE([gl_WCTYPE_H]) - if test $HAVE_WCTYPE_T = 0; then - AC_LIBOBJ([iswctype]) - fi ]) diff --git a/modules/iswctype b/modules/iswctype index 7054eaa31..283c6e0c0 100644 --- a/modules/iswctype +++ b/modules/iswctype @@ -17,6 +17,9 @@ wctype-h configure.ac: gl_FUNC_ISWCTYPE +if test $HAVE_WCTYPE_T = 0; then + AC_LIBOBJ([iswctype]) +fi gl_WCTYPE_MODULE_INDICATOR([iswctype]) Makefile.am: -- 2.11.0