Discussion:
sysconfdir
Roman Neuhauser
2015-03-19 21:49:56 UTC
Permalink
sysconfdir is defined as '${prefix}/etc', but configure --prefix=/usr
should imply sysconfdir='/etc' (or should it?).

what does everybody do to get stuff under "/etc"?
--
roman
Eric Blake
2015-03-19 22:04:13 UTC
Permalink
Post by Roman Neuhauser
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).
Post by Roman Neuhauser
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
John Calcote
2015-03-20 01:59:15 UTC
Permalink
Use --sysconfdir=/etc when you use --prefix=/usr.


Sent via the Samsung GALAXY S® 5, an AT&T 4G LTE smartphone


-------- Original message --------
From: Roman Neuhauser <***@sigpipe.cz>
Date:03/19/2015 3:49 PM (GMT-07:00)
To: ***@gnu.org
Cc:
Subject: sysconfdir

sysconfdir is defined as '${prefix}/etc', but configure --prefix=/usr
should imply sysconfdir='/etc' (or should it?).

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

_______________________________________________
Autoconf mailing list
***@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf
Loading...