]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-login-shell: mark as Linux only
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sun, 12 Jun 2016 09:05:57 +0000 (12:05 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 13 Jun 2016 09:51:17 +0000 (12:51 +0300)
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.

m4/virt-login-shell.m4

index d5e2e00e736be8a9c79e56dc741ede36980f3a8d..55dcaf36465bed711cd95d25a917434017f941be 100644 (file)
@@ -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