Skip to content
Prev 16438 / 63424 Next

alloca() on FreeBSD (PR#7890)

On Mon, 23 May 2005 vangyzen@stat.duke.edu wrote:

            
It is already supposed to, so it is not finding the declaration there 
either. If you look up the definition of

AC_CHECK_DECLS([alloca], , , [#include <alloca.h>])

it searches in stdlib.h.  Can you please send us the appropriate part of 
config.log?  It may be that this is failing because alloca.h is not found
(but AC_FUNC_ALLOCA is making the same assumptions).

Perhaps the easiest way out is to override the setting on FreeBSD: can 
you please confirm that manually changing

#define HAVE_DECL_ALLOCA 1

in config.h works?
So please don't open a new report on the subject!