posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / langinfo
blob6be975da36e4ba8f64a53647d53d9ce92c36ed48
1 Description:
2 A GNU-like <langinfo.h>.
4 Files:
5 lib/langinfo.in.h
6 m4/langinfo_h.m4
8 Depends-on:
9 extensions
10 include_next
11 snippet/c++defs
12 snippet/warn-on-use
14 configure.ac:
15 gl_LANGINFO_H
17 Makefile.am:
18 BUILT_SOURCES += langinfo.h
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 $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
23         $(AM_V_GEN)rm -f $@-t $@ && \
24         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
25           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
26               -e 's|@''HAVE_LANGINFO_H''@|$(HAVE_LANGINFO_H)|g' \
27               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
28               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
29               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
30               -e 's|@''NEXT_LANGINFO_H''@|$(NEXT_LANGINFO_H)|g' \
31               -e 's/@''GNULIB_NL_LANGINFO''@/$(GNULIB_NL_LANGINFO)/g' \
32               -e 's|@''HAVE_LANGINFO_CODESET''@|$(HAVE_LANGINFO_CODESET)|g' \
33               -e 's|@''HAVE_LANGINFO_T_FMT_AMPM''@|$(HAVE_LANGINFO_T_FMT_AMPM)|g' \
34               -e 's|@''HAVE_LANGINFO_ALTMON''@|$(HAVE_LANGINFO_ALTMON)|g' \
35               -e 's|@''HAVE_LANGINFO_ERA''@|$(HAVE_LANGINFO_ERA)|g' \
36               -e 's|@''HAVE_LANGINFO_YESEXPR''@|$(HAVE_LANGINFO_YESEXPR)|g' \
37               -e 's|@''HAVE_NL_LANGINFO''@|$(HAVE_NL_LANGINFO)|g' \
38               -e 's|@''REPLACE_NL_LANGINFO''@|$(REPLACE_NL_LANGINFO)|g' \
39               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
40               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
41               < $(srcdir)/langinfo.in.h; \
42         } > $@-t && \
43         mv $@-t $@
44 MOSTLYCLEANFILES += langinfo.h langinfo.h-t
46 Include:
47 <langinfo.h>
49 License:
50 LGPLv2+
52 Maintainer:
53 all