New module 'wcsncmp'.
[gnulib.git] / modules / wchar
1 Description:
2 A <wchar.h> that works around platform issues.
3
4 Files:
5 lib/wchar.in.h
6 m4/wchar_h.m4
7 m4/wint_t.m4
8
9 Depends-on:
10 arg-nonnull
11 c++defs
12 include_next
13 stddef
14 warn-on-use
15
16 configure.ac:
17 gl_WCHAR_H
18
19 Makefile.am:
20 BUILT_SOURCES += wchar.h
21
22 # We need the following in order to create <wchar.h> when the system
23 # version does not work standalone.
24 wchar.h: wchar.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
27           sed -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|@''HAVE_FEATURES_H''@|$(HAVE_FEATURES_H)|g' \
31               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
32               -e 's|@''HAVE_WCHAR_H''@|$(HAVE_WCHAR_H)|g' \
33               -e 's|@''GNULIB_BTOWC''@|$(GNULIB_BTOWC)|g' \
34               -e 's|@''GNULIB_WCTOB''@|$(GNULIB_WCTOB)|g' \
35               -e 's|@''GNULIB_MBSINIT''@|$(GNULIB_MBSINIT)|g' \
36               -e 's|@''GNULIB_MBRTOWC''@|$(GNULIB_MBRTOWC)|g' \
37               -e 's|@''GNULIB_MBRLEN''@|$(GNULIB_MBRLEN)|g' \
38               -e 's|@''GNULIB_MBSRTOWCS''@|$(GNULIB_MBSRTOWCS)|g' \
39               -e 's|@''GNULIB_MBSNRTOWCS''@|$(GNULIB_MBSNRTOWCS)|g' \
40               -e 's|@''GNULIB_WCRTOMB''@|$(GNULIB_WCRTOMB)|g' \
41               -e 's|@''GNULIB_WCSRTOMBS''@|$(GNULIB_WCSRTOMBS)|g' \
42               -e 's|@''GNULIB_WCSNRTOMBS''@|$(GNULIB_WCSNRTOMBS)|g' \
43               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
44               -e 's|@''GNULIB_WMEMCHR''@|$(GNULIB_WMEMCHR)|g' \
45               -e 's|@''GNULIB_WMEMCMP''@|$(GNULIB_WMEMCMP)|g' \
46               -e 's|@''GNULIB_WMEMCPY''@|$(GNULIB_WMEMCPY)|g' \
47               -e 's|@''GNULIB_WMEMMOVE''@|$(GNULIB_WMEMMOVE)|g' \
48               -e 's|@''GNULIB_WMEMSET''@|$(GNULIB_WMEMSET)|g' \
49               -e 's|@''GNULIB_WCSLEN''@|$(GNULIB_WCSLEN)|g' \
50               -e 's|@''GNULIB_WCSNLEN''@|$(GNULIB_WCSNLEN)|g' \
51               -e 's|@''GNULIB_WCSCPY''@|$(GNULIB_WCSCPY)|g' \
52               -e 's|@''GNULIB_WCPCPY''@|$(GNULIB_WCPCPY)|g' \
53               -e 's|@''GNULIB_WCSNCPY''@|$(GNULIB_WCSNCPY)|g' \
54               -e 's|@''GNULIB_WCPNCPY''@|$(GNULIB_WCPNCPY)|g' \
55               -e 's|@''GNULIB_WCSCAT''@|$(GNULIB_WCSCAT)|g' \
56               -e 's|@''GNULIB_WCSNCAT''@|$(GNULIB_WCSNCAT)|g' \
57               -e 's|@''GNULIB_WCSCMP''@|$(GNULIB_WCSCMP)|g' \
58               -e 's|@''GNULIB_WCSNCMP''@|$(GNULIB_WCSNCMP)|g' \
59               -e 's|@''HAVE_WINT_T''@|$(HAVE_WINT_T)|g' \
60               -e 's|@''HAVE_BTOWC''@|$(HAVE_BTOWC)|g' \
61               -e 's|@''HAVE_MBSINIT''@|$(HAVE_MBSINIT)|g' \
62               -e 's|@''HAVE_MBRTOWC''@|$(HAVE_MBRTOWC)|g' \
63               -e 's|@''HAVE_MBRLEN''@|$(HAVE_MBRLEN)|g' \
64               -e 's|@''HAVE_MBSRTOWCS''@|$(HAVE_MBSRTOWCS)|g' \
65               -e 's|@''HAVE_MBSNRTOWCS''@|$(HAVE_MBSNRTOWCS)|g' \
66               -e 's|@''HAVE_WCRTOMB''@|$(HAVE_WCRTOMB)|g' \
67               -e 's|@''HAVE_WCSRTOMBS''@|$(HAVE_WCSRTOMBS)|g' \
68               -e 's|@''HAVE_WCSNRTOMBS''@|$(HAVE_WCSNRTOMBS)|g' \
69               -e 's|@''HAVE_WMEMCHR''@|$(HAVE_WMEMCHR)|g' \
70               -e 's|@''HAVE_WMEMCMP''@|$(HAVE_WMEMCMP)|g' \
71               -e 's|@''HAVE_WMEMCPY''@|$(HAVE_WMEMCPY)|g' \
72               -e 's|@''HAVE_WMEMMOVE''@|$(HAVE_WMEMMOVE)|g' \
73               -e 's|@''HAVE_WMEMSET''@|$(HAVE_WMEMSET)|g' \
74               -e 's|@''HAVE_WCSLEN''@|$(HAVE_WCSLEN)|g' \
75               -e 's|@''HAVE_WCSNLEN''@|$(HAVE_WCSNLEN)|g' \
76               -e 's|@''HAVE_WCSCPY''@|$(HAVE_WCSCPY)|g' \
77               -e 's|@''HAVE_WCPCPY''@|$(HAVE_WCPCPY)|g' \
78               -e 's|@''HAVE_WCSNCPY''@|$(HAVE_WCSNCPY)|g' \
79               -e 's|@''HAVE_WCPNCPY''@|$(HAVE_WCPNCPY)|g' \
80               -e 's|@''HAVE_WCSCAT''@|$(HAVE_WCSCAT)|g' \
81               -e 's|@''HAVE_WCSNCAT''@|$(HAVE_WCSNCAT)|g' \
82               -e 's|@''HAVE_WCSCMP''@|$(HAVE_WCSCMP)|g' \
83               -e 's|@''HAVE_WCSNCMP''@|$(HAVE_WCSNCMP)|g' \
84               -e 's|@''HAVE_DECL_WCTOB''@|$(HAVE_DECL_WCTOB)|g' \
85               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
86               -e 's|@''REPLACE_MBSTATE_T''@|$(REPLACE_MBSTATE_T)|g' \
87               -e 's|@''REPLACE_BTOWC''@|$(REPLACE_BTOWC)|g' \
88               -e 's|@''REPLACE_WCTOB''@|$(REPLACE_WCTOB)|g' \
89               -e 's|@''REPLACE_MBSINIT''@|$(REPLACE_MBSINIT)|g' \
90               -e 's|@''REPLACE_MBRTOWC''@|$(REPLACE_MBRTOWC)|g' \
91               -e 's|@''REPLACE_MBRLEN''@|$(REPLACE_MBRLEN)|g' \
92               -e 's|@''REPLACE_MBSRTOWCS''@|$(REPLACE_MBSRTOWCS)|g' \
93               -e 's|@''REPLACE_MBSNRTOWCS''@|$(REPLACE_MBSNRTOWCS)|g' \
94               -e 's|@''REPLACE_WCRTOMB''@|$(REPLACE_WCRTOMB)|g' \
95               -e 's|@''REPLACE_WCSRTOMBS''@|$(REPLACE_WCSRTOMBS)|g' \
96               -e 's|@''REPLACE_WCSNRTOMBS''@|$(REPLACE_WCSNRTOMBS)|g' \
97               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
98               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
99               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
100               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
101             < $(srcdir)/wchar.in.h; \
102         } > $@-t && \
103         mv $@-t $@
104 MOSTLYCLEANFILES += wchar.h wchar.h-t
105
106 Include:
107 <wchar.h>
108
109 License:
110 LGPLv2+
111
112 Maintainer:
113 all