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

Re: RFE: --disable-apache configure option

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-08-17 21:49:15 CEST

Michael Sweet wrote:
> Max Bowsher wrote:
>> ...
>>> --with-httpd-static (instead of --with-apache)
>>> --with-httpd-dynamic (instead of --with-apxs)
>>
>>
>> -1 on changing --with-apxs. "apxs" clearly and concisely describes the
>> function of the option. If it's too concise for some people, they can
just
>> do "./configure --help" to find out what it is for.
>
> Then how about changing the failure message from:
>
> checking httpd version... configure: error: apache too old: mmn
> must be at least 20020903
>
> to:
>
> checking httpd version... configure: error: apache too old: mmn
> must be at least 20020903, use --without-apxs to disable

Agreed - as you found out, I'd already proposed that later in my email.

> so that it is clear which configure option controls the test.
> (there is a similar message for the --with-apache option)

Except that *that* message never appears unless you explicitly
specify --with-apache, so recommending --without-apache is not necessary.

>>> --disable-httpd
>>
>>
>> -1. Absolutely not. The opposite of a --with- option is --without-, and
this
>> is standard across all autoconf-using projects.
>
> Except that in this case there are multiple --with options, so it
> is also "standard" to provide enable/disable options to disable a
> feature class, e.g. both the static and dynamic Apache modules in
> this case, so that you don't need to specify every --without under
> the sun.

But you don't.

--without-apache is the default, and --enable-mod-activation is irrelevant
unless apxs is being used. Therefore --without-apxs already provides a
single-option solution.

>> Let's just add a note to use --without-apxs to the "apache is too old"
>> error.
>
> That will work for me; it seems like --without-apxs bypasses all of
> the Apache stuff and allows me to build, so that solution works for
> me.

Right. I'll commit it.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 17 21:50:06 2004

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.