aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 611677d2..c07a6be1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -296,9 +296,7 @@ elif test "x$with_polkit" = "xyes"; then
with_polkit=strict
fi
-if test "x$with_polkit" = "xno"; then
- AC_DEFINE(WITH_POLKIT, 0, [Define if you have PolicyKit support])
-else
+if test "x$with_polkit" != "xno"; then
if test "x$have_polkit" = "xno"; then
AC_MSG_ERROR(PolicyKit development headers are required)
fi