953237dea7a9e8187473b6f817402cb17a342846
[gnulib.git] / modules / locale
1 Description:
2 A <locale.h> that conforms to POSIX.
3
4 Files:
5 lib/locale.in.h
6 m4/locale_h.m4
7
8 Depends-on:
9 include_next
10 extensions
11 stddef
12
13 configure.ac:
14 gl_LOCALE_H
15
16 Makefile.am:
17 BUILT_SOURCES += $(LOCALE_H)
18
19 # We need the following in order to create <locale.h> when the system
20 # doesn't have one that provides all definitions.
21 locale.h: locale.in.h
22         $(AM_V_GEN)rm -f $@-t $@ && \
23         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
24           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
27               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
28               < $(srcdir)/locale.in.h; \
29         } > $@-t && \
30         mv $@-t $@
31 MOSTLYCLEANFILES += locale.h locale.h-t
32
33 Include:
34 <locale.h>
35
36 License:
37 LGPL
38
39 Maintainer:
40 Bruno Haible