Remove the wcwidth.h file. Move wcwidth's declaration to wchar_.h.
[gnulib.git] / modules / wchar
1 Description:
2 A <wchar.h> that works around platform issues.
3
4 Files:
5 lib/wchar_.h
6 m4/wchar.m4
7
8 Depends-on:
9 include_next
10 link-warning
11
12 configure.ac:
13 gl_WCHAR_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(WCHAR_H)
17
18 # We need the following in order to create <wchar.h> when the system
19 # version does not work standalone.
20 wchar.h: wchar_.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
24               -e 's|@''NEXT_WCHAR_H''@|$(NEXT_WCHAR_H)|g' \
25               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
26               -e 's|@''GNULIB_WCWIDTH''@|$(GNULIB_WCWIDTH)|g' \
27               -e 's|@''HAVE_DECL_WCWIDTH''@|$(HAVE_DECL_WCWIDTH)|g' \
28               -e 's|@''REPLACE_WCWIDTH''@|$(REPLACE_WCWIDTH)|g' \
29               -e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
30             < $(srcdir)/wchar_.h; \
31         } > $@-t
32         mv $@-t $@
33 MOSTLYCLEANFILES += wchar.h wchar.h-t
34
35 Include:
36 #include <wchar.h>
37
38 License:
39 LGPL
40
41 Maintainer:
42 all