Merge branch 'upstream' into stable
[gnulib.git] / modules / langinfo
1 Description:
2 A GNU-like <langinfo.h>.
3
4 Files:
5 lib/langinfo.in.h
6 m4/langinfo_h.m4
7
8 Depends-on:
9 include_next
10 extensions
11
12 configure.ac:
13 gl_LANGINFO_H
14
15 Makefile.am:
16 BUILT_SOURCES += $(LANGINFO_H)
17
18 # We need the following in order to create an empty placeholder for
19 # <langinfo.h> when the system doesn't have one.
20 langinfo.h: langinfo.in.h
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
24               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
25               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
26               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
27               -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
28               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
29               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
30               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
31               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
32               < $(srcdir)/langinfo.in.h; \
33         } > $@-t && \
34         mv $@-t $@
35 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
36
37 Include:
38 <langinfo.h>
39
40 License:
41 LGPL
42
43 Maintainer:
44 Bruno Haible