This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup proposal: "Maintainer Features" #define and AC_ARG_ENABLE


On Wed, 2002-12-25 at 11:02, Max Bowsher wrote:
> Robert Collins wrote:


> I suggest it be used for enabling the existence of the alternate registry
> name command line option and any other future additions of this sort. It is
> different from DEBUG, because DEBUG features impede the use of the resultant
> setup for ordinary use, whereas MAINTAINER_FEATUREs should be things that a
> maintainer will compile into their everyday setup, to have on hand without
> recompilation, when needed.
> 
> A seperate global define is needed to enable this to be on when DEBUG is
> off.

Ok. Make them completely independent though: enabling debug will not
enable those features, and vice verca.
 
> > Secondly, maintainer only features should not be visible as configure
> > arguments - add them to your CXXFLAGS command line parameter, or tweak
> > Makefile.am. The reason for this is that users *will* turn on
> > configure parameters in the assumption that they are for users. I've
> > seen this happen before, with disasterous consequences :[.
> 
> Robert Collins later added:
> > I do like the idea of turning all such features into command line
> > arguments though. Tick in that box.
> 
> I'm not quite sure how to interpret these 2 comments consistently.

*) A single flag to turn the features on.
*) It must not be visible via configure.
*) When turned on they are activated via command line arguments to
setup.exe.

> In any case, I'd like to make the points:
> - We don't seem to get that many people compiling setup themselves.
> - If someone turns on an --enable option, with the word maintainer in its
> name, no less, without understanding it, its thoughroughly their fault.

Just so. As we don't have many people compiling setup, it will be no
hardship not listing it in configure.

Rob 

-- 
---
GPG key available at: http://users.bigpond.net.au/robertc/keys.txt.
---

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]