posix_spawn_file_actions_* tests: Fix module dependencies.
[gnulib.git] / modules / malloc-h
blob115b8706423fc92129e329de137555dd6f97c220
1 Description:
2 A <malloc.h> that works around platform issues.
4 Files:
5 lib/malloc.in.h
6 m4/malloc_h.m4
8 Depends-on:
9 include_next
10 snippet/c++defs
11 snippet/warn-on-use
13 configure.ac:
14 gl_MALLOC_H
16 Makefile.am:
17 BUILT_SOURCES += malloc.h
19 # We need the following in order to create <malloc.h> when we add workarounds.
20 malloc.h: malloc.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(WARN_ON_USE_H)
21         $(AM_V_GEN)rm -f $@-t $@ && \
22         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
23           sed -e 's|@''GUARD_PREFIX''@|${gl_include_guard_prefix}|g' \
24               -e 's|@''HAVE_MALLOC_H''@|$(HAVE_MALLOC_H)|g' \
25               -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
26               -e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
27               -e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
28               -e 's|@''NEXT_MALLOC_H''@|$(NEXT_MALLOC_H)|g' \
29               -e 's/@''GNULIB_MEMALIGN''@/$(GNULIB_MEMALIGN)/g' \
30               -e 's|@''HAVE_MEMALIGN''@|$(HAVE_MEMALIGN)|g' \
31               -e 's|@''REPLACE_MEMALIGN''@|$(REPLACE_MEMALIGN)|g' \
32               -e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
33               -e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
34             < $(srcdir)/malloc.in.h; \
35         } > $@-t && \
36         mv $@-t $@
37 MOSTLYCLEANFILES += malloc.h malloc.h-t
39 Include:
40 <malloc.h>
42 License:
43 LGPLv2+
45 Maintainer:
46 all