[libvirt PATCH v2 15/56] m4: disable polkit build on Windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



polkit is only useful on Linux systems

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 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.
-- 
2.24.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux