posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / monetary
blob8afe1d811e2051b8075db007f94eeea53a6a26f0
1 Description:
2 A substitute <monetary.h>.
4 Files:
5 lib/monetary.in.h
6 m4/monetary_h.m4
8 Depends-on:
9 include_next
10 snippet/arg-nonnull
11 snippet/c++defs
12 snippet/warn-on-use
14 configure.ac:
15 gl_MONETARY_H
17 Makefile.am:
18 BUILT_SOURCES += $(MONETARY_H)
20 # We need the following in order to create <monetary.h> when the system
21 # doesn't have one that works with the given compiler.
22 if GL_GENERATE_MONETARY_H
23 monetary.h: monetary.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H) $(ARG_NONNULL_H)
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
26           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
27               -e 's|@''HAVE_MONETARY_H''@|$(HAVE_MONETARY_H)|g' \
28               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
29               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
30               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
31               -e 's|@''NEXT_MONETARY_H''@|$(NEXT_MONETARY_H)|g' \
32               -e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
33               -e 's/@''GNULIB_STRFMON_L''@/$(GNULIB_STRFMON_L)/g' \
34               -e 's|@''HAVE_STRFMON_L''@|$(HAVE_STRFMON_L)|g' \
35               -e 's|@''REPLACE_STRFMON_L''@|$(REPLACE_STRFMON_L)|g' \
36               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
37               -e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
38               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
39               < $(srcdir)/monetary.in.h; \
40         } > $@-t && \
41         mv $@-t $@
42 else
43 monetary.h: $(top_builddir)/config.status
44         rm -f $@
45 endif
46 MOSTLYCLEANFILES += monetary.h monetary.h-t
48 Include:
49 #if HAVE_MONETARY_H
50 <monetary.h>
51 #endif
53 License:
54 LGPLv2+
56 Maintainer:
57 all