Make .h file creation more reliable.
[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 # We need the following 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-t
23         mv alloca.h-t alloca.h
24 MOSTLYCLEANFILES += alloca.h alloca.h-t
25
26 Include:
27 #include <alloca.h>
28
29 Maintainer:
30 bug-gnulib@gnu.org
31