]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix disabling of apparmor/selinux security drivers
authorChristophe Fergeau <cfergeau@redhat.com>
Sun, 21 Oct 2012 18:32:39 +0000 (20:32 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Tue, 23 Oct 2012 06:56:03 +0000 (08:56 +0200)
commit662f8a2ab34bc1acbb94a689324908e67d646660
treea1e683a1ff09515f8122c30ec8725a1fa89f61ea
parent6ee0e23744a747e5521ded5a9881ec0287a37258
Fix disabling of apparmor/selinux security drivers

When using --without-$name --without-secdriver-$name with $name being
selinux or apparmor, configure will fail saying that AppArmor/SELinux
development package must be installed.
This is caused by a small bug in --with-secdriver-$name handling in
configure.ac which treats --without-secdriver-$name when $name as if the
user had requested to enable $name when $name couldn't be detected on
the system.

This commit also makes sure the detection checks for disabled
secdrivers do not needlessly get run, especially as this could
cause an error as well in --with-$name --without-secdriver-$name
situations.
configure.ac