OSDN Git Service

configure: Virtfs doesn't require libcap.
authorKusanagi Kouichi <slash@ac.auone-net.jp>
Sun, 22 Apr 2012 10:16:05 +0000 (19:16 +0900)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 24 Apr 2012 14:50:31 +0000 (09:50 -0500)
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>
configure

index 2dffab8..b8baf4f 100755 (executable)
--- a/configure
+++ b/configure
@@ -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"