diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2016-03-11 19:40:34 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2016-03-11 20:02:46 +0100 |
commit | 0a1f9bfd296ac98a125bc27d97bebfd042a74937 (patch) | |
tree | 68e8cf2c5f2edf2c415c82cf537ad7f883f20cd9 | |
parent | 1aeb0e05091711451eea3199db6b9ade8430761c (diff) |
build-sys: fix make check when polkit not availablev0.31
acl-helper needs polkit (and unix atm) to build.
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com>
-rw-r--r-- | tests/Makefile.am | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 24d45c9..c1d95c1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,18 +1,21 @@ NULL = +noinst_PROGRAMS = TESTS = coroutine \ util \ session \ - usb-acl-helper \ $(NULL) if WITH_PHODAV TESTS += pipe endif -noinst_PROGRAMS = $(TESTS) \ - mock-acl-helper \ - $(NULL) +if WITH_POLKIT +TESTS += usb-acl-helper +noinst_PROGRAMS += mock-acl-helper +endif + +noinst_PROGRAMS += $(TESTS) AM_CPPFLAGS = \ $(COMMON_CFLAGS) \ |