Merge commit '039ae97'
[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|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
28               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
29               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
30               < $(srcdir)/locale.in.h; \
31         } > $@-t && \
32         mv $@-t $@
33 MOSTLYCLEANFILES += locale.h locale.h-t
34
35 Include:
36 <locale.h>
37
38 License:
39 LGPL
40
41 Maintainer:
42 Bruno Haible