Linux uClibc built without wide character support lacks <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 absolute-header
10
11 configure.ac:
12 gl_WCHAR_H
13
14 Makefile.am:
15 BUILT_SOURCES += $(WCHAR_H)
16
17 # We need the following in order to create <wchar.h> when the system
18 # version does not work standalone.
19 wchar.h: wchar_.h
20         rm -f $@-t $@
21         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
22           sed -e 's|@''ABSOLUTE_WCHAR_H''@|$(ABSOLUTE_WCHAR_H)|g' \
23               -e 's/@''HAVE_INCLUDE_NEXT''@/$(HAVE_INCLUDE_NEXT)/g' \
24               -e 's/@''HAVE_WCHAR_H''@/$(HAVE_WCHAR_H)/g' \
25             < $(srcdir)/wchar_.h; \
26         } > $@-t
27         mv $@-t $@
28 MOSTLYCLEANFILES += wchar.h wchar.h-t
29
30 Include:
31 #include <wchar.h>
32
33 License:
34 LGPL
35
36 Maintainer:
37 all