The polkit code does not have a build time dependancy on any system
headers or libraries. It can be safely enabled on any non-Windows
platform.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
meson.build | 5 -----
1 file changed, 5 deletions(-)
diff --git a/meson.build b/meson.build
index 5eb3f24181..2ce8fac4a1 100644
--- a/meson.build
+++ b/meson.build
@@ -1433,11 +1433,6 @@ endif
if not get_option('polkit').disabled()
polkit_enable = true
- if get_option('polkit').auto()
- pkcheck_prog = find_program('pkcheck', required: false, dirs:
libvirt_sbin_path)
- polkit_enable = pkcheck_prog.found()
- endif
-
if host_machine.system() == 'windows'
polkit_enable = false
if get_option('polkit').enabled()
--
2.46.0