Re: [RFC] minimal build option for configure

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 26 May 2010 21:43:51 +1200

Kinkie wrote:
> On Wed, May 26, 2010 at 11:02 AM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
>> It would be nice for people attempting to build a minimal Squid for embeded
>> systems and also for some maintainers who want complete control over what
>> features are enabled.
>>
>> At present they must identify each feature being auto-enabled and manually
>> disable them.
>>
>> What I propose is a configure option which alters the default build
>> behaviour of Squid. It should default to allowing auto feature detection.
>> When used it would change the default of as many other configure options as
>> possible from "auto" to "no". Producing a Squid binary built with as small a
>> footprint as possible.
>>
>> --enable-strict-feature-selection
>> --enable-miniature-build
>
> -1
> I expect those who build for embedded systems to be experienced in
> build systems.
> Implementing this would make the structure of the autoconf script more
> complex than it already is - which is quite a lot already.
> So I don't recommend this path, as it's an optimization of the
> uncommon case at the expense of the common case.
>

I was hoping that after your autoconf rework it would become a simple
matter of making the initial default setting for most option tests a
simple variable assignment of the value (auto or no) as set by this option.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.3
Received on Wed May 26 2010 - 09:43:59 MDT

This archive was generated by hypermail 2.2.0 : Wed May 26 2010 - 12:00:12 MDT