[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-06-13 06:55:05 CEST

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.

> Regarding an issue: Isn't this a small enough thing that we can just discuss
> it and do it, without it ever remaining long enough to bother with an issue?

Depends on whether we can come up with something non-controversial. :)
Adding #ifndef around the relevant macro probably isn't controversial;
making sysconfdir work is perhaps more builder-friendly but has more
pitfalls.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jun 13 06:56:32 2005

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