summaryrefslogtreecommitdiff
path: root/modules/wctype
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 18:53:14 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:07:13 +0200
commit9f35d916b23497e282394370b61c94afc4de1835 (patch)
treedd37bf966a5032f1397c5cd369080ce2c3ee8286 /modules/wctype
parent2d8eeb44be60fc4152280a32bc884894b5ad384c (diff)
downloadgnulib-9f35d916b23497e282394370b61c94afc4de1835.tar.gz
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.
Diffstat (limited to 'modules/wctype')
-rw-r--r--modules/wctype5
1 files changed, 4 insertions, 1 deletions
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: