Revert "configure: Virtfs doesn't require libcap." This reverts commit d10f9056bacf7991fd6a5f63ac2e0190e84ea3a7 due to a build breakage. See http://spunk.home.kraxel.org/bb/builders/ubuntu-default/builds/52 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
diff --git a/configure b/configure index dd09f1a..15bbc73 100755 --- a/configure +++ b/configure
@@ -2898,11 +2898,9 @@ if test "$softmmu" = yes ; then tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools" if test "$virtfs" != no ; then - if test "$linux" = yes && test "$attr" = yes ; then + if test "$cap" = yes && test "$linux" = yes && test "$attr" = yes ; then virtfs=yes - if test "$cap" = yes ; then - tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)" - fi + tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)" else if test "$virtfs" = yes; then feature_not_found "virtfs"