* m4/include_next.m4 (gl_INCLUDE_NEXT): Define and AC_SUBST
[gnulib.git] / modules / wctype
1 Description:
2 A <wctype.h> that conforms better to C99.
3
4 Files:
5 lib/wctype_.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_.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|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
26               -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
27               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
28               < $(srcdir)/wctype_.h; \
29         } > $@-t
30         mv $@-t $@
31 MOSTLYCLEANFILES += wctype.h wctype.h-t
32
33 Include:
34 #include <wctype.h>
35
36 License:
37 LGPL
38
39 Maintainer:
40 all