> From: Paul Eggert [mailto:egg...@cs.ucla.edu]
> Sent: Wednesday, July 04, 2012 9:10 AM
> To: Joachim Schmitz
> Cc: bug-gnulib@gnu.org
> Subject: Re: alloca in HP NonStop
> 
> On 07/04/2012 12:05 AM, Joachim Schmitz wrote:
> > Still missing seems the detection of this by configure?
> 
> As things stand, I don't see why 'configure' needs to detect anything.  You
> mentioned the possibility of it detecting <builtins.h> but the code works fine
> without needing HAVE_BUILTINS_H.  So I assume this issue is OK as-is; if not
> please let us know.

Without changes configure does not detect that we do have a working alloca and 
then uses gnulib's implementation from alloca.c:

...
checking for working alloca.h... no
checking for alloca... no   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
checking whether `alloca.c' needs Cray hooks... no
checking stack direction for C alloca... -1
checking for C/C++ restrict keyword... restrict
...


Oh, I see alloca.c internaly skips all code if, after #include <alloca.h> 
alloca is defined, so I guess I can rest my case...
Got confused by the above configure output.

Bye, Jojo


Reply via email to