From 175003702a4d9ac6dd58413c348efefd309b778c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
Date: Tue, 1 May 2012 01:12:03 +0200
Subject: [PATCH] configure: Assure printing "yes" or "no" for VirtFS support
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

When auto-detecting VirtFS support, virtfs="". Set it to "no" after
checking whether it was explicitly requested through --enable-virtfs.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 056293a220..491109d48c 100755
--- a/configure
+++ b/configure
@@ -2902,6 +2902,7 @@ if test "$softmmu" = yes ; then
       if test "$virtfs" = yes; then
         feature_not_found "virtfs"
       fi
+      virtfs=no
     fi
   fi
   if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then