wctype-h: Ensure wctype_t and wctrans_t are defined.
authorBruno Haible <bruno@clisp.org>
Sun, 6 Feb 2011 22:18:30 +0000 (23:18 +0100)
committerBruno Haible <bruno@clisp.org>
Wed, 9 Feb 2011 19:54:31 +0000 (20:54 +0100)
commit0224757f8cde66d8224107dbb30a81c3d4a5f9e6
treef046c0976e849cf4758501cb49c63cb952c70072
parent64c79c31f05fe182fa2de40f804b4bdc264fbb17
wctype-h: Ensure wctype_t and wctrans_t are defined.

* lib/wctype.in.h (wctype_t, wctrans_t): New type declarations.
* m4/wctype_h.m4 (gl_WCTYPE_H): Determine HAVE_WCTYPE_T, HAVE_WCTRANS_T.
(gl_WCTYPE_H_DEFAULTS): Initialize HAVE_WCTYPE_T, HAVE_WCTRANS_T.
* modules/wctype-h (Makefile.am): Substitute HAVE_WCTYPE_T,
HAVE_WCTRANS_T.
* tests/test-wctype-h.c: Check that wctype_t and wctrans_t are defined.
ChangeLog
lib/wctype.in.h
m4/wctype_h.m4
modules/wctype-h
tests/test-wctype-h.c