[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: want to override config directory macro

From: Charles Bailey <bailey.charles_at_gmail.com>
Date: 2005-06-13 15:27:05 CEST

On 6/13/05, Greg Hudson <ghudson@mit.edu> wrote:
> On Sun, 2005-06-12 at 22:22 +0100, Max Bowsher wrote:
> > Nope, "/etc" is hardcoded. Which is not really very good.
> We're certainly not the first or last to hardcode /etc. The most
> obvious alternative is to use sysconfdir, which defaults to the
> bizarre /usr/etc when prefix is /usr.
> > John: Would making --sysconfdir actually work properly in this respect help
> > you?
> Can we do this and make sysconfdir default to /etc (instead of
> $prefix/etc) if not explicitly specified? If not, that would be an
> unexpected change.

As a non-voting reader, I'd recommend caution here -- it'd have better
backward compatibility for subversion, but might create more surprise
in the long run by breaking the "standard" autoconf way of doing
things (which subversion already does, I admit). My general
expectation is that when I point ./configure at a particular --prefix,
I won't have to explicitly point each/any off the --foodirs at that
prefix, too.

If you do go this route, I'd at least advise a warning in a readme and
./configure --help, to save yourself posts about "broken" configure in
the future.

Charles Bailey
Lists: bailey _dot_ charles _at_ gmail _dot_ com
Other: bailey _at_ newman _dot_ upenn _dot_ edu
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 13 15:31:36 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.