view modules/alloca-opt @ 11858:76dbe14046dc

consistently remove $@-t before redirecting to it * modules/argz: Remove $@-t and $@ before redirecting to the former. * modules/alloca-opt: Likewise. * modules/byteswap: Likewise. * modules/fnmatch: Likewise. * modules/getopt-posix: Likewise. * modules/glob: Likewise. * modules/poll: Likewise. * modules/posix_spawnp-tests: Likewise. * modules/sys_socket: Likewise. * modules/sysexits: Likewise.
author Jim Meyering <meyering@redhat.com>
date Fri, 21 Aug 2009 10:56:58 +0200
parents a7e785cafb33
children 67c2b22aff08
line wrap: on
line source

Description:
Memory allocation on the stack, as an optional optimization.
It allows using the alloca() macro if and only if the autoconf tests define
HAVE_ALLOCA.

Files:
lib/alloca.in.h
m4/alloca.m4

Depends-on:

configure.ac:
gl_FUNC_ALLOCA

Makefile.am:
BUILT_SOURCES += $(ALLOCA_H)

# We need the following in order to create <alloca.h> when the system
# doesn't have one that works with the given compiler.
alloca.h: alloca.in.h
	rm -f $@-t $@
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  cat $(srcdir)/alloca.in.h; \
	} > $@-t
	mv -f $@-t $@
MOSTLYCLEANFILES += alloca.h alloca.h-t

Include:
#include <alloca.h>

License:
LGPLv2+

Maintainer:
bug-gnulib@gnu.org