view modules/alloca-opt @ 14276:6b7046963230

di-set, ino-map: new modules, from coreutils * lib/di-set.c: New file. * lib/di-set.h: Likewise. * lib/ino-map.c: Likewise. * lib/ino-map.h: Likewise. * modules/di-set: Likewise. * modules/di-set-tests: Likewise. * modules/ino-map: Likewise. * modules/ino-map-tests: Likewise. * tests/test-di-set.c: Likewise. * tests/test-ino-map.c: Likewise.
author Jim Meyering <meyering@redhat.com>
date Mon, 07 Feb 2011 16:01:24 +0100
parents 8f6d3e05c7e2
children 8636d98120a9 662ae53d8d37
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
	$(AM_V_GEN)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:
<alloca.h>

License:
LGPLv2+

Maintainer:
bug-gnulib@gnu.org