Ensure alloca.h and stdbool.h are created before compiling the library.
[gnulib.git] / modules / alloca
1 Description:
2 Memory allocation on the stack.
3
4 Files:
5 lib/alloca_.h
6 lib/alloca.c
7 m4/alloca.m4
8
9 Depends-on:
10 xalloc
11
12 configure.ac:
13 gl_FUNC_ALLOCA
14
15 Makefile.am:
16 EXTRA_DIST += alloca_.h
17
18 # The following is needed in order to create an <alloca.h> when the system
19 # doesn't have one that works with the given compiler.
20 all-local $(lib_OBJECTS): @ALLOCA_H@
21 alloca.h: alloca_.h
22         cp $(srcdir)/alloca_.h alloca.h
23 MOSTLYCLEANFILES += alloca.h
24
25 Include:
26 #include <alloca.h>
27