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

login
register
mail settings
Submitter Andreas Färber
Date April 30, 2012, 11:12 p.m.
Message ID <1335827523-7058-3-git-send-email-afaerber@suse.de>
Download mbox | patch
Permalink /patch/155972/
State New
Headers show

Comments

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

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