apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: FreeBSD and gnu m4
Date Fri, 02 Mar 2001 03:59:00 GMT
On Thu, 1 Mar 2001, Roy T. Fielding wrote:

> On Thu, Mar 01, 2001 at 09:39:22PM -0500, Cliff Woolley wrote:
> > On Thu, 1 Mar 2001, Roy T. Fielding wrote:
> >
> > > Correct me if I am wrong, but all these changes and problems are
> > > simply to reduce the three parameters of a standard autoconf macro
> > > to one parameter in an APR-specific macro?
> >
> > That's one way to look at it, yeah, but that doesn't capture all of the
> > benefits.  Those three parameters have given us *numerous* subtle bugs due
> > to typos and the like that go undetected on the committer's platform but
> > cause complete build breakage on other platforms.  Reducing to one
> > parameter saves the work that causes these bugs.
>
> Then we should fix the cause of that goofyness, which is due to all
> APR defines being set to "0" or "1" instead of undefined/defined.
> Fixing that would remove the cause of all those other subtle typos and
> bugs, in addition to these above, and leave us with a standard autoconf
> function with one parameter.

Changing from "1" and "0" to def, undef wouldn't change anything at all.
The exact same logic is required, and the same general variables are
required.  The differences between the two are incredibly minor, because
we want to use namespace protected macros.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message