Merge commit 'snapstart' into stable
[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 arg-nonnull
10 c++defs
11 extensions
12 include_next
13 stddef
14 warn-on-use
15
16 configure.ac:
17 gl_LOCALE_H
18
19 Makefile.am:
20 BUILT_SOURCES += locale.h
21
22 # We need the following in order to create <locale.h> when the system
23 # doesn't have one that provides all definitions.
24 locale.h: locale.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
25         $(AM_V_GEN)rm -f $@-t $@ && \
26         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
27           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
31               -e 's|@''GNULIB_SETLOCALE''@|$(GNULIB_SETLOCALE)|g' \
32               -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
33               -e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
34               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
35               -e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
36               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
37               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
38               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
39               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
40               < $(srcdir)/locale.in.h; \
41         } > $@-t && \
42         mv $@-t $@
43 MOSTLYCLEANFILES += locale.h locale.h-t
44
45 Include:
46 <locale.h>
47
48 License:
49 LGPLv2+
50
51 Maintainer:
52 Bruno Haible