autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config.site overrides commandline


From: Bob Friesenhahn
Subject: Re: config.site overrides commandline
Date: Fri, 24 May 2002 14:04:57 -0500 (CDT)

I agree with your summary 100%.  That is the way I would expect
configure to behave.  The config.site file should be used to derive
alternative defaults from those that are built into configure.

Bob

On Fri, 24 May 2002, Tim Van Holder wrote:

> > I did a simple test to see how config.site parameters are handled.
> > The test shows that parameters set in config.site override parameters
> > set as configure options.  The CFLAGS and CXXFLAGS options from
> > config.site were used rather than options provided via configure's
> > command line.
> >
> > It seems to me that command-line provided parameters should override
> > those obtained from config.site.
> >
> > Bob
>
> Sounds perfectly reasonable.  config.site is also loaded to late
> to override some startup tests.
> There is, however, a bit of a chicken-and-egg problem there.
> config.site is loaded from $prefix by default, but that can be given
> on the command-line.  So to have optimal behaviour, we'd need to
>
>  1) check the command-line for --prefix
>  2) load config.site
>  3) check the rest of the command line
>

======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]