diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-21 12:48:23 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-16 14:53:15 +0100 |
commit | 5ab3ec6bce3e756f481bdac11905ae1b383689e0 (patch) | |
tree | 21ef06ca52884c4c49168b0b9ba994f5c39d8d4b | |
parent | 3e5b42569b02814cf07e936a475e590f0878c1ba (diff) |
build: require polkit-gobject >= 0.97
It's new enough, and it lets us use polkit_authority_get_sync().
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 8367b899..576c9213 100644 --- a/configure.ac +++ b/configure.ac @@ -109,15 +109,11 @@ AM_CONDITIONAL(WITH_POLKIT, test "x$with_polkit" = "xyes") case $with_polkit in yes) with_polkit=yes - PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.95) + PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.97) AC_DEFINE(WITH_POLKIT, 1, [Define if you want to use PolicyKit]) AC_SUBST(POLKIT_CFLAGS) AC_SUBST(POLKIT_LIBS) - # Check for polkit_authority_get_sync() - AC_CHECK_LIB([polkit-gobject-1], [polkit_authority_get_sync], ac_have_pk_auth_get_sync="1", ac_have_pk_auth_get_sync="0") - AC_DEFINE_UNQUOTED(HAVE_POLKIT_AUTHORITY_GET_SYNC, $ac_have_pk_auth_get_sync, [Define if you have a polkit with polkit_authority_get_sync()]) - AM_GLIB_GNU_GETTEXT ;; *) |