mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
virt-login-shell: mark as Linux only
Currently, virt-login-shell is not allowed to build on Windows. However, as it's designed around LXC, it does not make sense to build it on anything but Linux, so make the check stricter and allow to enable it on Linux only.
This commit is contained in:
parent
2e34cb5463
commit
a5059b9b02
@ -21,9 +21,9 @@ AC_DEFUN([LIBVIRT_CHECK_LOGIN_SHELL], [
|
||||
m4_divert_text([DEFAULTS], [with_login_shell=check])
|
||||
|
||||
if test "x$with_login_shell" != "xno"; then
|
||||
if test "x$with_win" = "xyes"; then
|
||||
if test "x$with_linux" != "xyes"; then
|
||||
if test "x$with_login_shell" = "xyes"; then
|
||||
AC_MSG_ERROR([virt-login-shell is not supported on Windows])
|
||||
AC_MSG_ERROR([virt-login-shell is supported on Linux only])
|
||||
else
|
||||
with_login_shell=no;
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user