From 31d5d82cb0fa0aaa170d17b709b2a14405e79cb2 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 13 Aug 2010 19:12:02 -0500 Subject: [PATCH] core: really fix the polkit >= 0.97 build issue The function we're looking for is in libpolkit-gobject-1, not libpolkit-1. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 511359cdfa..652cca6b68 100644 --- a/configure.ac +++ b/configure.ac @@ -258,7 +258,7 @@ PKG_CHECK_MODULES(POLKIT, polkit-gobject-1) AC_SUBST(POLKIT_CFLAGS) # Check for polkit_authority_get_sync() -AC_CHECK_LIB([polkit-1], [polkit_authority_get_sync], ac_have_pk_auth_get_sync="1", ac_have_pk_auth_get_sync="0") +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()]) AC_ARG_WITH(crypto, AS_HELP_STRING([--with-crypto=nss | gnutls], [Cryptography library to use for certificate and key operations]),ac_crypto=$withval, ac_crypto=nss)