From acf70442cae760d562414782cb6a29a25fdabcba Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Thu, 22 Mar 2012 22:59:00 +0000
Subject: [PATCH] Fix qemu-img configure.ac check
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

By accident, commit a002ed7 introduced the qemu-img checks in the
htools block. I found this also by mistake while investigating
another issue :)

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7dd122caf..bd2868c1b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -361,8 +361,6 @@ then
   AC_MSG_ERROR([socat not found])
 fi
 
-if test "$enable_htools" != "no"; then
-
 # Check for qemu-img
 AC_ARG_VAR(QEMUIMG_PATH, [qemu-img path])
 AC_PATH_PROG(QEMUIMG_PATH, [qemu-img], [])
@@ -371,6 +369,8 @@ then
   AC_MSG_WARN([qemu-img not found, using ovfconverter will not be possible])
 fi
 
+if test "$enable_htools" != "no"; then
+
 # Check for ghc
 AC_ARG_VAR(GHC, [ghc path])
 AC_PATH_PROG(GHC, [ghc], [])
-- 
GitLab