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

Re: [PATCH] --disable-swig argument for configure

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-09-08 03:08:34 CEST

On Sat, Sep 07, 2002 at 06:43:31PM -0400, Garrett Rooney wrote:
> On Saturday, September 7, 2002, at 05:59 PM, Justin Erenkrantz wrote:
>...
> > Only question I have is whether the option should be "--with-swig"
> > rather than "--enable-swig" - I've never fully groked the rules on
> > this, but my hunch is that it should be AC_ARG_WITH not AC_ARG_ENABLE.
> > But, I don't care much either way. -- justin
>
> as much as i hate to admit it (because admitting it means i get to
> write more m4, and i hate writing m4), you have a point, AC_ARG_WITH
> does sound more appropriate. i'll see what i can do about making it
> use that instead.

AC_ARG_WITH is used to specify a package, while AC_ARG_ENABLE is to turn
on/off features. In this case, the "proper" thing to do is use ARG_WITH and
enable path processing. That would allow a person to do:

$ ./configure --with-swig=/home/gstein/src/SWIG

So that I can use a private copy of SWIG (which has the Right Version),
instead of the system copy.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Sep 8 03:09:29 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.