]> git.ipfire.org Git - thirdparty/libvirt.git/commit
configure: Fix check for --with-login-shell on Windows
authorAndrea Bolognani <abologna@redhat.com>
Fri, 8 Apr 2016 14:17:16 +0000 (16:17 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 11 Apr 2016 07:02:49 +0000 (09:02 +0200)
commitccf58bd72a426f34481787af694d6eae78b4e64e
tree34648b492e209d0a03e15a6001daf7cbcabdfaca
parent799ced1f80b10d32815615e4d342aa71f8e1c113
configure: Fix check for --with-login-shell on Windows

The check is supposed to stop users from trying to compile
virt-login-shell on Windows by erroring out during the
configure phase; however, there are two flaws in it:

  * the value of "x$with_win" is compared to "yes" instead
    of "xyes" (note the "x" in the first string)

  * "test" is not being used, so the script will actually
    try to run a command called "x$with_win" instead of
    performing string comparison

This patch fixes both issues.
m4/virt-login-shell.m4