mbrlen: Fix cross-compilation guess for AIX.
[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 extensions
10 include_next
11 c++defs
12 warn-on-use
13
14 configure.ac:
15 gl_LANGINFO_H
16
17 Makefile.am:
18 BUILT_SOURCES += langinfo.h
19
20 # We need the following in order to create an empty placeholder for
21 # <langinfo.h> when the system doesn't have one.
22 langinfo.h: langinfo.in.h $(CXXDEFS_H) $(WARN_ON_USE_H)
23         $(AM_V_GEN)rm -f $@-t $@ && \
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25           sed -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
26               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
27               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
28               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
29               -e 's|@''GNULIB_NL_LANGINFO''@|$(GNULIB_NL_LANGINFO)|g' \
30               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
31               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
32               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
33               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
34               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
35               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
36               < $(srcdir)/langinfo.in.h; \
37         } > $@-t && \
38         mv $@-t $@
39 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
40
41 Include:
42 <langinfo.h>
43
44 License:
45 LGPLv2+
46
47 Maintainer:
48 Bruno Haible