mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
device: Re-define polkit auto-pointer funcs if not defined
In case we're using an old polkit version that does not support auto-pointers, we need to re-define such functions manually or fprintd won't compile. Given that polkit doesn't provide us version informations in headers we need to get that from pkg-config
This commit is contained in:
@ -139,6 +139,7 @@ cdata.set_quoted('GETTEXT_PACKAGE', meson.project_name())
|
||||
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||
cdata.set_quoted('VERSION', meson.project_version())
|
||||
cdata.set_quoted('SYSCONFDIR', sysconfdir)
|
||||
cdata.set('POLKIT_HAS_AUTOPOINTERS', polkit_gobject_dep.version().version_compare('>= 0.114'))
|
||||
|
||||
config_h = configure_file(
|
||||
input: 'config.h.in',
|
||||
|
||||
Reference in New Issue
Block a user