diff options
author | Richard Hughes <richard@hughsie.com> | 2013-02-12 10:22:30 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2013-02-12 10:22:30 +0000 |
commit | e9b28d2abd26011177f7941e19b0d9381e77c2c1 (patch) | |
tree | 4025fc6fcead10e2ec164a28ad47cdcb169ae862 /configure.ac | |
parent | 275644a1b88e132ea8e168201f6e06d76c696f24 (diff) | |
download | upower-e9b28d2abd26011177f7941e19b0d9381e77c2c1.tar.gz |
Raise the hard PolKit dep to 0.97
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac index 0af9d5e..8e43803 100644 --- a/configure.ac +++ b/configure.ac @@ -142,20 +142,7 @@ AC_SUBST(WARNINGFLAGS_C) PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.21.5]) PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0]) PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.76]) - -# polkit >= 0.97 uses polkit_authority_get_sync() rather than -# polkit_authority_get -PKG_CHECK_MODULES(POLKIT, \ - polkit-gobject-1 >= 0.97, - has_new_polkit=yes, - has_new_polkit=no) -if test x$has_new_polkit = xno; then - PKG_CHECK_MODULES(POLKIT, \ - polkit-gobject-1 >= 0.91) -else - AC_DEFINE(USE_SECURITY_POLKIT_NEW, 1, [if we should use PolicyKits new API]) -fi - +PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.97) PKG_CHECK_MODULES(GIO, [gio-2.0 >= 2.16.1]) dnl ==================================================================== |