Don't test AppArmor mediation of activation if libapparmor < 2.10
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 28 Nov 2016 12:20:47 +0000 (12:20 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 29 Nov 2016 12:31:52 +0000 (12:31 +0000)
commit6dd92fd8251d1c56ad1747962604f48017e8ea9f
treecc08e7b7baea5ccb4da03278064d50aaa4e020cb
parentc64db8483646aa31f5e932db728903c9892df80d
Don't test AppArmor mediation of activation if libapparmor < 2.10

We need libapparmor 2.10 for the test, but not for the actual
functionality, for which 2.8.95 is enough. In particular this lets
us compile with AppArmor enabled on Ubuntu 14.04, which is still
the newest host platform available on travis-ci.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98666
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
configure.ac
test/sd-activation.c