mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 19:11:16 +00:00
build: avoid RHEL 5 build failure on LXC
Per the discussion here, LXC on RHEL 5 makes no sense. https://www.redhat.com/archives/libvir-list/2011-September/msg01169.html * configure.ac (with_lxc): Reject RHEL 5.x LXC as too old.
This commit is contained in:
parent
9cf70dad0f
commit
2dee896593
@ -687,8 +687,9 @@ fi
|
||||
if test "$with_lxc" = "yes" || test "$with_lxc" = "check"; then
|
||||
AC_TRY_LINK([
|
||||
#include <sched.h>
|
||||
#include <linux/loop.h>
|
||||
], [
|
||||
unshare (1);
|
||||
unshare (!LO_FLAGS_AUTOCLEAR);
|
||||
], [
|
||||
with_lxc=yes
|
||||
], [
|
||||
|
Loading…
Reference in New Issue
Block a user