acl-helper needs polkit (and unix atm) to build.
Signed-off-by: Marc-André Lureau <[email protected]>
---
tests/Makefile.am | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 24d45c9..3348b35 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -3,16 +3,18 @@ NULL =
TESTS = coroutine \
util \
session \
- usb-acl-helper \
$(NULL)
if WITH_PHODAV
TESTS += pipe
endif
-noinst_PROGRAMS = $(TESTS) \
- mock-acl-helper \
- $(NULL)
+noinst_PROGRAMS = $(TESTS)
+
+if WITH_POLKIT
+TESTS += usb-acl-helper
+noinst_PROGRAMS += mock-acl-helper
+endif
AM_CPPFLAGS = \
$(COMMON_CFLAGS) \
--
2.5.0
_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel