Fix bug reported by Bruno Haible in
[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
11 configure.ac:
12 gl_WCTYPE_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(WCTYPE_H)
16
17 # We need the following in order to create <wctype.h> when the system
18 # doesn't have one that works with the given compiler.
19 wctype.h: wctype_.h
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
23               -e 's|@''ABSOLUTE_WCTYPE_H''@|$(ABSOLUTE_WCTYPE_H)|g' \
24               -e 's/@''HAVE_WCTYPE_CTMP_BUG''@/$(HAVE_WCTYPE_CTMP_BUG)/g' \
25               -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
26               < $(srcdir)/wctype_.h; \
27         } > $@-t
28         mv $@-t $@
29 MOSTLYCLEANFILES += wctype.h wctype.h-t
30
31 Include:
32 #include <wctype.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 all