aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2009-09-22 08:14:04 -0500
committerTed Gould <ted@canonical.com>2009-09-22 08:14:04 -0500
commit9703540eaf33ac50e99f04e9eddf5816557868e1 (patch)
tree175ce27b9d2071a9b090bfc29e9e940877803afa /configure.ac
parentf1adf67ab9719ad890186713297054f556b58fd8 (diff)
parenta561b45e3e493646f7a52363006bd6173326d329 (diff)
downloadayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.tar.gz
ayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.tar.bz2
ayatana-indicator-session-9703540eaf33ac50e99f04e9eddf5816557868e1.zip
Patch from Martin to upgrade to the New PolicyKit API
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 2c06cb0..5a838c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -28,6 +28,7 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
GTK_REQUIRED_VERSION=2.12
INDICATOR_REQUIRED_VERSION=0.2.0
DBUSMENUGTK_REQUIRED_VERSION=0.1.1
+POLKIT_REQUIRED_VERSION=0.92
PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION
indicator >= $INDICATOR_REQUIRED_VERSION
@@ -53,7 +54,8 @@ AC_SUBST(SESSIONERVICE_CFLAGS)
AC_SUBST(SESSIONERVICE_LIBS)
PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-2.0 >= $GTK_REQUIRED_VERSION
- polkit-gnome)
+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION)
+
AC_SUBST(GTKLOGOUTHELPER_CFLAGS)
AC_SUBST(GTKLOGOUTHELPER_LIBS)