annotate modules/wctype-h @ 14310:00537d144c48

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.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 Feb 2011 22:07:24 +0100
parents 550f5258de22
children 18ad0b0246fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
14304
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 A <wctype.h> that conforms better to C99.
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/wctype.in.h
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/wctype_h.m4
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 m4/wint_t.m4
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 include_next
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 c++defs
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 warn-on-use
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_WCTYPE_H
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Makefile.am:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 BUILT_SOURCES += wctype.h
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 # We need the following in order to create <wctype.h> when the system
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 # doesn't have one that works with the given compiler.
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 wctype.h: wctype.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 $(AM_V_GEN)rm -f $@-t $@ && \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
29 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
14310
00537d144c48 New module 'iswblank'.
Bruno Haible <bruno@clisp.org>
parents: 14304
diff changeset
30 -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
14304
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
31 -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
32 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
33 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
34 -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
35 -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
36 -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
37 -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
38 < $(srcdir)/wctype.in.h; \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
39 } > $@-t && \
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
40 mv $@-t $@
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
41 MOSTLYCLEANFILES += wctype.h wctype.h-t
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
42
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
43 Include:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
44 <wctype.h>
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
45
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
46 License:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
47 LGPLv2+
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
48
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
49 Maintainer:
550f5258de22 Rename module 'wctype' to 'wctype-h'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
50 all