From 9f35d916b23497e282394370b61c94afc4de1835 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:53:14 +0200 Subject: wctype: Move AC_LIBOBJ invocations to module description. * m4/wctype.m4 (gl_FUNC_WCTYPE): Set HAVE_WCTYPE. Move AC_LIBOBJ invocation from here... * modules/wctype (configure.ac): ... to here. (Depends-on): Update conditions. --- modules/wctype | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/wctype') diff --git a/modules/wctype b/modules/wctype index ffc76a863e..4a9a004b16 100644 --- a/modules/wctype +++ b/modules/wctype @@ -14,10 +14,13 @@ m4/wctype.m4 Depends-on: wctype-h -iswblank [test $HAVE_WCTYPE_T = 0] +iswblank [test $HAVE_WCTYPE = 0] configure.ac: gl_FUNC_WCTYPE +if test $HAVE_WCTYPE = 0; then + AC_LIBOBJ([wctype]) +fi gl_WCTYPE_MODULE_INDICATOR([wctype]) Makefile.am: -- cgit v1.2.1