4ae08b0dd8ef1ba4e6d9189351bbd94f15041cef
[gnulib.git] / modules / alloca-opt
1 Description:
2 Memory allocation on the stack, as an optional optimization.
3 It allows using the alloca() macro if and only if the autoconf tests define
4 HAVE_ALLOCA.
5
6 Files:
7 lib/alloca.in.h
8 m4/alloca.m4
9
10 Depends-on:
11
12 configure.ac:
13 gl_FUNC_ALLOCA
14
15 Makefile.am:
16 nodist_pkginclude_HEADERS += $(ALLOCA_H)
17 EXTRA_HEADERS += alloca.h
18
19 BUILT_SOURCES += $(ALLOCA_H)
20
21 # We need the following in order to create <alloca.h> when the system
22 # doesn't have one that works with the given compiler.
23 alloca.h: alloca.in.h
24         $(AM_V_GEN)rm -f $@-t $@ && \
25         { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
26           cat $(srcdir)/alloca.in.h; \
27         } > $@-t && \
28         mv -f $@-t $@
29 MOSTLYCLEANFILES += alloca.h alloca.h-t
30
31 Include:
32 <alloca.h>
33
34 License:
35 LGPLv2+
36
37 Maintainer:
38 bug-gnulib@gnu.org