summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@web.de>2007-08-07 15:06:53 +0200
committerDanny Kukawka <danny.kukawka@web.de>2007-08-07 15:06:53 +0200
commitea5031665092d90050036b13821b8a88df46bb4c (patch)
treed4326da230c21cccd50ea7a22920355c717e1e4c /configure.in
parent91dfcc4763ad9cea8eb729eccec0b307144f5ecd (diff)
fixed PolicyKit detection to check for >= 0.4
Fixed configure to check for PolicyKit >= 0.4 as added by commit 5509d858. Use now polkit_module in the checks. Also update the NEWS file for PolicyKit and set ConsoleKit to 'optional'.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 52b67b76..3ef1a99f 100644
--- a/configure.in
+++ b/configure.in
@@ -513,7 +513,7 @@ if test "x$enable_policy_kit" != "xno"; then
if test "x$enable_console_kit" = "xno"; then
AC_MSG_ERROR([PolicyKit support requires building with ConsoleKit support too])
fi
- PKG_CHECK_MODULES([POLKIT], [polkit >= 0.3],
+ PKG_CHECK_MODULES([POLKIT], [$polkit_module],
[AM_CONDITIONAL(HAVE_POLKIT, [true])
AC_DEFINE(HAVE_POLKIT, [], [Set if we use PolicyKit])]
[msg_polkit=yes],