bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: alloca in HP NonStop


From: Joachim Schmitz
Subject: RE: alloca in HP NonStop
Date: Wed, 4 Jul 2012 09:24:59 +0200

> From: Paul Eggert [mailto:address@hidden
> Sent: Wednesday, July 04, 2012 9:10 AM
> To: Joachim Schmitz
> Cc: address@hidden
> 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

[Prev in Thread] Current Thread [Next in Thread]