apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] Can't build locks...
Date Sat, 30 Jun 2001 02:06:51 GMT
On Sat, Jun 30, 2001 at 02:53:44AM +0100, Pier P. Fumagalli wrote:
> On Darwin 1.3.7 I had an error building locks/unix/crossproc.c
> >From what it seems in the configure.in AutoConf source, the locking
> mechanism is determined in lines around 950-980 and defines some
> APR_USE_*_SERIALIZE, those are copied over to apr.h.in in lines 60-70, but
> the onther following four (APR_HAS_*_SERIALIZE) are initialized randomly.
> Crossproc.c uses the APR_HAS ones while configure sets the APR_USE group. I
> replaced the APR_HAS with APR_USE and the whole thing went thru...
> Am I missing something? :)

Not from what I can tell.  Over here, the APR_HAS_*_SERIALIZE lines
never actually make it into apr.h (even though they are in apr.h.in).
GNU m4 seems to strip the lines where the values are undefined.

This patch seems to be legitimate.  I might commit this tomorrow if 
no one beats me to it.  I can't see how the current code even 
works.  =)  -- justin

View raw message