autoconf
[Top][All Lists]
Advanced

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

Re: sysconfdir


From: Eric Blake
Subject: Re: sysconfdir
Date: Thu, 19 Mar 2015 16:04:13 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/19/2015 03:49 PM, Roman Neuhauser wrote:
> sysconfdir is defined as '${prefix}/etc', but configure --prefix=/usr
> should imply sysconfdir='/etc' (or should it?).

--prefix=/usr should imply sysconfdir='${prefix}/etc' UNLESS you have
installed a config.site that says otherwise (which, thankfully, more and
more distros are starting to do).

> 
> what does everybody do to get stuff under "/etc"?

They install a /usr/share/config.site file that overrides sysconfdir as
needed:
https://www.gnu.org/software/autoconf/manual/autoconf.html#Site-Defaults

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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