another patch: Don't build securityselinuxlabeltest without qemu
[libvirt.git] / securityselinuxlabeltest.patch
1 tests: Don't build securityselinuxlabeltest without qemu
2 author  Jiri Denemark <jdenemar@redhat.com>     
3 Wed, 30 Jan 2013 15:44:06 +0000 (16:44 +0100)
4 committer       Jiri Denemark <jdenemar@redhat.com>     
5 Thu, 31 Jan 2013 09:32:43 +0000 (10:32 +0100)
6 Sources for securityselinuxlabeltest are only defined if qemu driver is
7 enabled so we should not try to build the test if qemu driver is
8 disabled.
9
10 tests/Makefile.am               patch | blob | history
11 diff --git a/tests/Makefile.am b/tests/Makefile.am
12 index 9da0b4a..0194db2 100644 (file)
13 --- a/tests/Makefile.am
14 +++ b/tests/Makefile.am
15 @@ -108,10 +108,12 @@ endif
16  
17  if WITH_SECDRIVER_SELINUX
18  test_programs += securityselinuxtest
19 +if WITH_QEMU
20  if WITH_ATTR
21  test_programs += securityselinuxlabeltest
22  endif
23  endif
24 +endif
25  
26  if WITH_DRIVER_MODULES
27  test_programs += virdrivermoduletest