]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
m4: disable polkit build on Windows
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 17 Jan 2020 18:28:03 +0000 (18:28 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Wed, 29 Jan 2020 14:51:40 +0000 (14:51 +0000)
polkit is only useful on Linux systems

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
m4/virt-polkit.m4

index 16889e1639e22b5df06c308c9277b27a9901af47..06da9e4ba6f1351760bb084ac4b2bd2baf33c670 100644 (file)
@@ -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.