view modules/alloca @ 4384:4bf5f9b5190a

Make .h file creation more reliable.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Jun 2003 16:41:48 +0000
parents 2618bff2cc87
children 24c461677d8c
line wrap: on
line source

Description:
Memory allocation on the stack.

Files:
lib/alloca_.h
lib/alloca.c
m4/alloca.m4

Depends-on:
xalloc

configure.ac:
gl_FUNC_ALLOCA

Makefile.am:
EXTRA_DIST += alloca_.h

# We need the following in order to create an <alloca.h> when the system
# doesn't have one that works with the given compiler.
all-local $(lib_OBJECTS): @ALLOCA_H@
alloca.h: alloca_.h
	cp $(srcdir)/alloca_.h alloca.h-t
	mv alloca.h-t alloca.h
MOSTLYCLEANFILES += alloca.h alloca.h-t

Include:
#include <alloca.h>

Maintainer:
bug-gnulib@gnu.org