mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
m4: disable polkit build on Windows
polkit is only useful on Linux systems Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
c58edd05f7
commit
c7df5ca0bb
@ -25,6 +25,10 @@ AC_DEFUN([LIBVIRT_ARG_POLKIT], [
|
|||||||
AC_DEFUN([LIBVIRT_CHECK_POLKIT], [
|
AC_DEFUN([LIBVIRT_CHECK_POLKIT], [
|
||||||
AC_REQUIRE([LIBVIRT_CHECK_DBUS])
|
AC_REQUIRE([LIBVIRT_CHECK_DBUS])
|
||||||
|
|
||||||
|
if test "x$with_win" = "xyes"; then
|
||||||
|
with_polkit=no
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$with_polkit" = "xcheck"; then
|
if test "x$with_polkit" = "xcheck"; then
|
||||||
dnl For --with-polkit=check, also require the pkcheck binary, even
|
dnl For --with-polkit=check, also require the pkcheck binary, even
|
||||||
dnl though we talk to polkit directly over D-Bus.
|
dnl though we talk to polkit directly over D-Bus.
|
||||||
|
Loading…
Reference in New Issue
Block a user