From 4b5a9365682f43b4eebe1e797c05d00659f28c59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Nussbaumer?= <rn@google.com>
Date: Fri, 1 Jun 2012 11:44:49 +0200
Subject: [PATCH] Make the xen-cmd test more readable and portable
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: RenΓ© Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 484e2ef8c..7520c67d1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AC_ARG_WITH([xen-cmd],
   [xen_cmd="xm"])
 AC_SUBST(XEN_CMD, $xen_cmd)
 
-if ! (test "$XEN_CMD" == "xl" || test "$XEN_CMD" == "xm"); then
+if ! test "$XEN_CMD" = xl -o "$XEN_CMD" = xm; then
   AC_MSG_ERROR([Unsupported xen command specified])
 fi
 
-- 
GitLab