mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 09:10:10 +01:00
core: really fix the polkit >= 0.97 build issue
The function we're looking for is in libpolkit-gobject-1, not libpolkit-1.
This commit is contained in:
parent
f0e8055cf9
commit
31d5d82cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue