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
15 gl_CONDITIONAL_HEADER([alloca.h])
19 BUILT_SOURCES += $(ALLOCA_H)
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 if GL_GENERATE_ALLOCA_H
24 alloca.h: alloca.in.h $(top_builddir)/config.status
25 @NMD@ $(AM_V_GEN)$(MKDIR_P) '%reldir%'
26 $(gl_V_at)$(SED_HEADER_STDOUT) \
27 -e 's|@''HAVE_ALLOCA_H''@|$(HAVE_ALLOCA_H)|g' \
28 $(srcdir)/alloca.in.h > $@-t
31 alloca.h: $(top_builddir)/config.status
34 MOSTLYCLEANFILES += alloca.h alloca.h-t