strtoumax: fix typo in previous commit.
[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 lib/wctype-h.c
7 m4/wctype_h.m4
8 m4/wint_t.m4
9
10 Depends-on:
11 extern-inline
12 include_next
13 snippet/c++defs
14 snippet/warn-on-use
15
16 configure.ac:
17 gl_WCTYPE_H
18
19 Makefile.am:
20 BUILT_SOURCES += wctype.h
21 lib_SOURCES += wctype-h.c
22
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/@''GNULIB_ISWBLANK''@/$(GNULIB_ISWBLANK)/g' \
35               -e 's/@''GNULIB_WCTYPE''@/$(GNULIB_WCTYPE)/g' \
36               -e 's/@''GNULIB_ISWCTYPE''@/$(GNULIB_ISWCTYPE)/g' \
37               -e 's/@''GNULIB_WCTRANS''@/$(GNULIB_WCTRANS)/g' \
38               -e 's/@''GNULIB_TOWCTRANS''@/$(GNULIB_TOWCTRANS)/g' \
39               -e 's/@''HAVE_ISWBLANK''@/$(HAVE_ISWBLANK)/g' \
40               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
41               -e 's/@''HAVE_WCTYPE_T''@/$(HAVE_WCTYPE_T)/g' \
42               -e 's/@''HAVE_WCTRANS_T''@/$(HAVE_WCTRANS_T)/g' \
43               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
44               -e 's/@''REPLACE_ISWBLANK''@/$(REPLACE_ISWBLANK)/g' \
45               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
46               -e 's/@''REPLACE_TOWLOWER''@/$(REPLACE_TOWLOWER)/g' \
47               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
48               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
49               < $(srcdir)/wctype.in.h; \
50         } > $@-t && \
51         mv $@-t $@
52 MOSTLYCLEANFILES += wctype.h wctype.h-t
53
54 Include:
55 <wctype.h>
56
57 License:
58 LGPLv2+
59
60 Maintainer:
61 all