configure: Virtfs doesn't require libcap.

Only proxy helper does.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Kusanagi Kouichi 2012-04-22 19:16:05 +09:00 committed by Anthony Liguori
parent ac3107340f
commit d10f9056ba

6
configure vendored
View File

@ -2889,9 +2889,11 @@ tools=
if test "$softmmu" = yes ; then
tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
if test "$virtfs" != no ; then
if test "$cap" = yes && test "$linux" = yes && test "$attr" = yes ; then
if test "$linux" = yes && test "$attr" = yes ; then
virtfs=yes
tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)"
if test "$cap" = yes ; then
tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)"
fi
else
if test "$virtfs" = yes; then
feature_not_found "virtfs"