unicodeio: Fix wrong result on FreeBSD.
[gnulib.git] / modules / wctype-h
blobb7aef4690ce90a5ea5d3fcabc972819301b8034e
1 Description:
2 A <wctype.h> that conforms better to C99.
4 Files:
5 lib/wctype.in.h
6 lib/wctype-h.c
7 m4/wctype_h.m4
8 m4/wint_t.m4
10 Depends-on:
11 extern-inline
12 include_next
13 snippet/c++defs
14 snippet/warn-on-use
16 configure.ac:
17 gl_WCTYPE_H
19 Makefile.am:
20 BUILT_SOURCES += wctype.h
21 lib_SOURCES += wctype-h.c
23 # We need the following in order to create <wctype.h> when the system
24 # doesn't have one that works with the given compiler.
25 wctype.h: wctype.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
26         $(AM_V_GEN)rm -f $@-t $@ && \
27         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
28           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
29               -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
30               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
31               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
32               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
33               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
34               -e 's/@''HAVE_CRTDEFS_H''@/$(HAVE_CRTDEFS_H)/g' \
35               -e 's/@''GNULIB_OVERRIDES_WINT_T''@/$(GNULIB_OVERRIDES_WINT_T)/g' \
36               -e 's/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
37               -e 's/@''GNULIB_ISWDIGIT''@/$(GNULIB_ISWDIGIT)/g' \
38               -e 's/@''GNULIB_ISWXDIGIT''@/$(GNULIB_ISWXDIGIT)/g' \
39               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
40               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
41               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
42               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
43               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
44               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
45               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
46               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
47               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
48               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
49               -e 's/@''REPLACE_ISWDIGIT''@/$(REPLACE_ISWDIGIT)/g' \
50               -e 's/@''REPLACE_ISWXDIGIT''@/$(REPLACE_ISWXDIGIT)/g' \
51               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
52               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
53               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
54               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
55               < $(srcdir)/wctype.in.h; \
56         } > $@-t && \
57         mv $@-t $@
58 MOSTLYCLEANFILES += wctype.h wctype.h-t
60 Include:
61 <wctype.h>
63 License:
64 LGPLv2+
66 Maintainer:
67 all