2 A <wctype.h> that conforms better to C99.
16 BUILT_SOURCES += $(WCTYPE_H)
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.
21 $(AM_V_GEN)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; \
33 MOSTLYCLEANFILES += wctype.h wctype.h-t