From c7df5ca0bb14c125823b4749e9df57d5bc514e63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Fri, 17 Jan 2020 18:28:03 +0000 Subject: [PATCH] m4: disable polkit build on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit polkit is only useful on Linux systems Reviewed-by: Pavel Hrdina Signed-off-by: Daniel P. Berrangé --- m4/virt-polkit.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/m4/virt-polkit.m4 b/m4/virt-polkit.m4 index 16889e1639..06da9e4ba6 100644 --- a/m4/virt-polkit.m4 +++ b/m4/virt-polkit.m4 @@ -25,6 +25,10 @@ AC_DEFUN([LIBVIRT_ARG_POLKIT], [ AC_DEFUN([LIBVIRT_CHECK_POLKIT], [ AC_REQUIRE([LIBVIRT_CHECK_DBUS]) + if test "x$with_win" = "xyes"; then + with_polkit=no + fi + if test "x$with_polkit" = "xcheck"; then dnl For --with-polkit=check, also require the pkcheck binary, even dnl though we talk to polkit directly over D-Bus.