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

Re: [leafnode-list] --prefix=/... config file

Thorsten Gunkel schrieb am 2004-02-15:

> Hi,
> I'm just testing leafnode-2.0.0.alpha20040119a. And as always I have
> fun with leafnode's configure options :-)
> After a quick configure --help I tried:
> ,----
> | ./configure --prefix=/usr/local --enable-spooldir=/mnt/news/leafnode_2004_01/
> (is --prefix=/usr/local still necessary or will /usr/local really be
>  default for everything?)

leafnode uses autoconf defaults (/usr/local unless overridden by a
locally installed config.site)

> | === configuration summary: (NONE is ok here and means the default) ===
> | prefix:      /usr/local
> | sysconfdir:  /usr/local/etc
> | spooldir:    /mnt/news/leafnode_2004_01
> `----
> I'm sure you agree that /usr/local/etc/config may not be your first choice.

It will automatically append /leafnode to sysconfdir - the config.c file
that is created by "make" (or make config.c) shows the real defaults -
so /usr/local/etc/leafnode/config is what you get.

There is some mess here, I don't want to pollute some pristine
$sysconfdir but many auto-configuration systems pass --sysconfdir=/etc
(or /usr/local/etc) that's why I'm appending leafnode.

Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95
leafnode-list mailing list