comparison modules/wctype @ 9273:7bb1d0d90657

Rename wctype_.h to wctype.in.h.
author Bruno Haible <bruno@clisp.org>
date Tue, 02 Oct 2007 00:42:53 +0200
parents 404dc8725caf
children 9f9682a4b630
comparison
equal deleted inserted replaced
9272:ed34d7be7b7c 9273:7bb1d0d90657
1 Description: 1 Description:
2 A <wctype.h> that conforms better to C99. 2 A <wctype.h> that conforms better to C99.
3 3
4 Files: 4 Files:
5 lib/wctype_.h 5 lib/wctype.in.h
6 m4/wctype.m4 6 m4/wctype.m4
7 m4/wint_t.m4 7 m4/wint_t.m4
8 8
9 Depends-on: 9 Depends-on:
10 include_next 10 include_next
15 Makefile.am: 15 Makefile.am:
16 BUILT_SOURCES += $(WCTYPE_H) 16 BUILT_SOURCES += $(WCTYPE_H)
17 17
18 # We need the following in order to create <wctype.h> when the system 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. 19 # doesn't have one that works with the given compiler.
20 wctype.h: wctype_.h 20 wctype.h: wctype.in.h
21 rm -f $@-t $@ 21 rm -f $@-t $@
22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \ 22 { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \ 23 sed -e 's/@''HAVE_WCTYPE_H''@/$(HAVE_WCTYPE_H)/g' \
24 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \ 24 -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
25 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \ 25 -e 's|@''NEXT_WCTYPE_H''@|$(NEXT_WCTYPE_H)|g' \
26 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \ 26 -e 's/@''HAVE_ISWCNTRL''@/$(HAVE_ISWCNTRL)/g' \
27 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \ 27 -e 's/@''HAVE_WINT_T''@/$(HAVE_WINT_T)/g' \
28 < $(srcdir)/wctype_.h; \ 28 < $(srcdir)/wctype.in.h; \
29 } > $@-t 29 } > $@-t
30 mv $@-t $@ 30 mv $@-t $@
31 MOSTLYCLEANFILES += wctype.h wctype.h-t 31 MOSTLYCLEANFILES += wctype.h wctype.h-t
32 32
33 Include: 33 Include: