[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: phew!

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-09-13 23:07:59 CEST

On Wed, Sep 13, 2000 at 04:30:54PM +0200, Branko Cibej wrote:
> Greg Stein wrote:
> > The --with-maintainer-mode sets up those extras for us. Specifically:
> >
> > *) more warning switches to GCC
> > *) set the SVN_DEBUG macro that SVN can key off of for add'l debug
> > functionality
> > *) set the AP_DEBUG macro (for mod_dav_svn) to pick up similar debug
> > features when it includes Apache headers
> >
> > We also have a --with-debug switch. This is intended for groups (2) and (3).
> > It turns on the -g switch, turns off -O... (and turns on -Wall if gcc).
> > --with-maintainer-mode is a superset of --with-debug (e.g. it also sets -g
> > -Wall).
>
> BTW, _why_ are these called --with-maintainer-mode and --with-debug?
> I thought "--with-..." was supposed to be used to locate or enable
> packages and tools, and features should be swithced on with
> "--enable-..." (e.g., --with-expat, but --enable-maintainer-mode).

I picked them up from APR, but I also tend to agree with you.

For the switches to be shared, they needed to be the same. But: I'll look
into changing APR to use "enable"

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:08 2006

This is an archived mail posted to the Subversion Dev mailing list.