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