From 41ba0d6ddd125b1ef751a2cc89e47b0d4e16158d Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Fri, 9 Nov 2012 10:14:38 -0500 Subject: [PATCH] build: simplify check for polkit Assume that we have policykit if no other security framework was explicitly specified. https://bugs.freedesktop.org/show_bug.cgi?id=56924 --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index e891b2a..de6d334 100644 --- a/configure.ac +++ b/configure.ac @@ -531,11 +531,7 @@ AC_ARG_WITH([security_framework], [Default security framework to use polkit,dummy])) # try and guess this if nothing is listed if test x$with_security_framework = x; then - if test -f /usr/bin/pkaction ; then - with_security_framework=polkit - else - AC_MSG_ERROR([--with-security-framework explicitly required when not using PolicyKit or RBAC]) - fi + with_security_framework=polkit fi AC_DEFINE_UNQUOTED(security_framework, "$with_security_framework", [default security framework]) -- 1.7.10.4