stddef: fix NetBSD 5.0 NULL bug, rather than working around it
[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 stddef
11
12 configure.ac:
13 gl_LOCALE_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(LOCALE_H)
17
18 # We need the following in order to create <locale.h> when the system
19 # doesn't have one that provides all definitions.
20 locale.h: locale.in.h
21         rm -f $@-t $@
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
23           sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
24               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
25               -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
26               < $(srcdir)/locale.in.h; \
27         } > $@-t
28         mv $@-t $@
29 MOSTLYCLEANFILES += locale.h locale.h-t
30
31 Include:
32 <locale.h>
33
34 License:
35 LGPL
36
37 Maintainer:
38 Bruno Haible