Avoid some "gcc -pedantic" warnings.
[gnulib.git] / modules / wctype
1 Description:
2 A <wctype.h> that conforms better to C99.
3
4 Files:
5 lib/wctype.in.h
6 m4/wctype.m4
7 m4/wint_t.m4
8
9 Depends-on:
10 include_next
11
12 configure.ac:
13 gl_WCTYPE_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(WCTYPE_H)
17
18 # We need the following in order to create <wctype.h> when the system
19 # doesn't have one that works with the given compiler.
20 wctype.h: wctype.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
24               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
27               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
28               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
29               -e 's/@''REPLACE_ISWCNTRL''@/$(REPLACE_ISWCNTRL)/g' \
30               < $(srcdir)/wctype.in.h; \
31         } > $@-t
32         mv $@-t $@
33 MOSTLYCLEANFILES += wctype.h wctype.h-t
34
35 Include:
36 #include <wctype.h>
37
38 License:
39 LGPLv2+
40
41 Maintainer:
42 all