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