summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thos@gnome.org>2010-07-14 23:18:12 +0100
committerThomas Wood <thos@gnome.org>2010-07-14 23:18:12 +0100
commitf069a7f5bbf37befd6e541c40c28588e2e1dad65 (patch)
tree5e2f65dd7a23b2780411b1a9fbaa93bcb7957ad6
parent8b4ec8270824b4a235aa40df0493d8f5babb121c (diff)
downloadgconf-f069a7f5bbf37befd6e541c40c28588e2e1dad65.tar.gz
configure: disable the defaults service if PolicyKit is not available
The enable_defaults_service is set to "auto" by default, but needs to be set to "no" if PolicyKit is not found.
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index cb6ac943..742d8a07 100644
--- a/configure.in
+++ b/configure.in
@@ -190,6 +190,8 @@ if test "x$enable_defaults_service" != "xno" ; then
if test "x$enable_defaults_service" = "xyes" ; then
AC_MSG_ERROR([[
*** Could not find PolicyKit.]])
+ else
+ enable_defaults_service=no
fi
else
enable_defaults_service=yes