Richard Stallman <[EMAIL PROTECTED]> writes:

>           CC=sun4-cc ./configure
>     Hence, next time configure is run, it forgets about the CC which was
>     used to build config.cache, and you get an inconsistent system.

>     So configure needs the user to tell things instead of doing stuff in
>     its back.  Hence

>           ./configure CC=sun-cc

> We need to ask: should we do this with VAR=VALUE, or should we use
> --OPTION=VALUE for consistency?  Is there a reason to make things like
> the compiler different from other things you can specify at configure
> time?

Personally, I'd much rather see them just become --options; if we're
changing things anyway, why not go ahead and make things consistent?

XEmacs already uses --with-cc and --with-cflags, although I'd tend to go
for the shorter --cc=sun-cc and --cflags=-O2.  You'd also need --cxx and
--cxx-flags; I'm not sure what other environment variables are similarly
special.

-- 
Russ Allbery ([EMAIL PROTECTED])             <http://www.eyrie.org/~eagle/>

Reply via email to