[for-1.1,2/2] configure: Assure printing "yes" or "no" for VirtFS support

Submitted by Andreas Färber on April 30, 2012, 11:12 p.m.

Details

Message ID 1335827523-7058-3-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber April 30, 2012, 11:12 p.m.
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>
---
 configure |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/configure b/configure
index 641f147..67016d9 100755
--- a/configure
+++ b/configure
@@ -2905,6 +2905,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