From f196c56b40c000e32eb88317390dc5f3df632b37 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 6 Feb 2011 22:07:24 +0100 Subject: New module 'iswblank'. * lib/wctype.in.h (iswblank): Don't declare if GNULIB_ISWBLANK is 0. * modules/iswblank: New file. * modules/wctype-h (Files): Remove lib/iswblank.c. (Makefile.am): Substitute GNULIB_ISWBLANK. * m4/iswblank.m4: New file, partially extracted from m4/wctype_h.m4. * m4/wctype_h.m4 (gl_WCTYPE_MODULE_INDICATOR): New macro. (gl_WCTYPE_H_DEFAULTS): New macro. (gl_WCTYPE_H): Require it. Remove iswblank related code. * modules/iswblank-tests: New file. * tests/test-iswblank.c: New file, extraced from tests/test-wctype-h.c. * tests/test-wctype-h.c (main): Remove iswblank tests. * tests/test-wctype-h-c++.cc: Guard the signature test of iswblank. * doc/posix-functions/iswblank.texi: Mention module 'iswblank' instead of 'wctype-h'. * NEWS: Mention the change. * modules/mbchar (Depends-on): Add iswblank. --- modules/iswblank-tests | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/iswblank-tests (limited to 'modules/iswblank-tests') diff --git a/modules/iswblank-tests b/modules/iswblank-tests new file mode 100644 index 0000000000..cf2b5b671c --- /dev/null +++ b/modules/iswblank-tests @@ -0,0 +1,12 @@ +Files: +tests/test-iswblank.c +tests/macros.h + +Depends-on: +wctype-h-c++-tests + +configure.ac: + +Makefile.am: +TESTS += test-iswblank +check_PROGRAMS += test-iswblank -- cgit v1.2.1