[lvm-devel] [PATCH 08/11] debian: use selinux pkgconfig info instead of hardcoding
Bastian Blank
bastian at waldi.eu.org
Mon Oct 12 10:45:10 UTC 2009
On Mon, Oct 12, 2009 at 11:18:38AM +0100, Alasdair G Kergon wrote:
> So any switch would still need a fallback for when pkgconfig is not
> available. (The real question is whether pkgconfig was generally
> available some time before selinux or not. If it was, then you can
> argue that everyone with access to selinux also has access to pkgconfig.)
According to the Debian changelog, pkg-config was first usable in 2001,
long before selinux was even considered a good idea.
> > For the external view, as it is now, we can create the correct .pc file.
> > If we detect that selinux has pkg-config support, then we use the
> > "Requires.private: libselinux" that will automatically expand via
> > pkg-config. If we don't have selinux pkg-config, then we can hardcode as
> > we do now.
> Yes.
Well, libselinux at least ship the file since 1.28.
Bastian
--
No one may kill a man. Not for any purpose. It cannot be condoned.
-- Kirk, "Spock's Brain", stardate 5431.6
More information about the lvm-devel
mailing list