Fix global typo in last change: use chmod u-w, not chmod u-x.
[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_.h
8 m4/alloca.m4
9
10 Depends-on:
11
12 configure.ac:
13 gl_FUNC_ALLOCA
14
15 Makefile.am:
16 BUILT_SOURCES += $(ALLOCA_H)
17 EXTRA_DIST += alloca_.h
18
19 # We need the following in order to create <alloca.h> when the system
20 # doesn't have one that works with the given compiler.
21 alloca.h: alloca_.h
22         rm -f $@-t $@
23         cp $(srcdir)/alloca_.h $@-t
24         chmod a-w $@-t
25         mv $@-t $@
26 MOSTLYCLEANFILES += alloca.h alloca.h-t
27
28 Include:
29 #include <alloca.h>
30
31 License:
32 LGPL
33
34 Maintainer:
35 bug-gnulib@gnu.org