New module 'arg-nonnull'. Declare which arguments expect non-NULL values.
[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 arg-nonnull
11 extensions
12 stddef
13
14 configure.ac:
15 gl_LOCALE_H
16
17 Makefile.am:
18 BUILT_SOURCES += $(LOCALE_H)
19
20 # We need the following in order to create <locale.h> when the system
21 # doesn't have one that provides all definitions.
22 locale.h: locale.in.h $(ARG_NONNULL_H)
23         $(AM_V_GEN)rm -f $@-t $@ && \
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
25           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
28               -e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
29               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
30               -e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
31               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
32               < $(srcdir)/locale.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 MOSTLYCLEANFILES += locale.h locale.h-t
36
37 Include:
38 <locale.h>
39
40 License:
41 LGPL
42
43 Maintainer:
44 Bruno Haible