On Wed, 12 Sep 2001, Greg Stein wrote:

> On Wed, Sep 12, 2001 at 10:34:03PM -0400, Rodent of Unusual Size wrote:
> > * On 2001-09-12 at 21:11,
> >   Ryan Bloom <[EMAIL PROTECTED]> excited the electrons to say:
> > > 
> > > This is why we have config.layout.
> > 
> > It is not just -f, it is -d as well.  I think most installations use
> > either one of these or the default location set by the layout.
> > Not a problem, I think.
> 
> If the hard-coded default is never used, then why don't we just toss it, and
> require people to pass/use a root?

It is used.  By default.  A default "configure --prefix=/under/my/hat
&& make && make install" will result in the default defines being used.

We need some way to know where to look for config files.  This can
be done at compile time or at run time.

Right now we support it being done at compile time with these defines.
Lots of people do use it.  Note that it is designed so that it 
can be easily overridden from the #defined path at compile time, and
it often is.

It can be overridden at run time with command line options.  The
original suggestion that started this thread was to base it off
the current working directory.  I just don't see that offering any 
real advantage, since command line options are directly associated 
with the execution of the program, as opposed to the working directory
which is a OS maintained bit of information.

Reply via email to