提交 c7df5ca0 编写于 作者: D Daniel P. Berrangé

m4: disable polkit build on Windows

polkit is only useful on Linux systems
Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 c58edd05
...@@ -25,6 +25,10 @@ AC_DEFUN([LIBVIRT_ARG_POLKIT], [ ...@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册