Revision 983eef5a configure

b/configure
121 121
fdt=""
122 122
nptl=""
123 123
sdl=""
124
virtfs=""
124 125
vnc="yes"
125 126
sparse="no"
126 127
uuid=""
......
586 587
  ;;
587 588
  --enable-sdl) sdl="yes"
588 589
  ;;
590
  --disable-virtfs) virtfs="no"
591
  ;;
592
  --enable-virtfs) virtfs="yes"
593
  ;;
589 594
  --disable-vnc) vnc="no"
590 595
  ;;
591 596
  --enable-vnc) vnc="yes"
......
993 998
echo "  --disable-werror         disable compilation abort on warning"
994 999
echo "  --disable-sdl            disable SDL"
995 1000
echo "  --enable-sdl             enable SDL"
1001
echo "  --disable-virtfs         disable VirtFS"
1002
echo "  --enable-virtfs          enable VirtFS"
996 1003
echo "  --disable-vnc            disable VNC"
997 1004
echo "  --enable-vnc             enable VNC"
998 1005
echo "  --enable-cocoa           enable COCOA (Mac OS X only)"
......
2805 2812
tools=
2806 2813
if test "$softmmu" = yes ; then
2807 2814
  tools="qemu-img\$(EXESUF) qemu-io\$(EXESUF) $tools"
2808
  if [ "$cap" = "yes" -a "$linux" = "yes" ] ; then
2809
      tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)"
2815
  if test "$virtfs" != no ; then
2816
      if test "$cap" = yes && test "$linux" = yes && test "$attr" = yes ; then
2817
	  virtfs=yes
2818
	  tools="$tools fsdev/virtfs-proxy-helper\$(EXESUF)"
2819
      else
2820
	  if test "$virtfs" = yes; then
2821
	      feature_not_found "virtfs"
2822
	  fi
2823
      fi
2810 2824
  fi
2811 2825
  if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
2812 2826
      tools="qemu-nbd\$(EXESUF) $tools"
......
2871 2885
echo "Extra audio cards $audio_card_list"
2872 2886
echo "Block whitelist   $block_drv_whitelist"
2873 2887
echo "Mixer emulation   $mixemu"
2888
echo "VirtFS support    $virtfs"
2874 2889
echo "VNC support       $vnc"
2875 2890
if test "$vnc" = "yes" ; then
2876 2891
    echo "VNC TLS support   $vnc_tls"
......
3160 3175
if test "$libattr" = "yes" ; then
3161 3176
  echo "CONFIG_LIBATTR=y" >> $config_host_mak
3162 3177
fi
3163
if test "$linux" = "yes" ; then
3164
  if test "$attr" = "yes" ; then
3165
    echo "CONFIG_VIRTFS=y" >> $config_host_mak
3166
  fi
3178
if test "$virtfs" = "yes" ; then
3179
  echo "CONFIG_VIRTFS=y" >> $config_host_mak
3167 3180
fi
3168 3181
if test "$blobs" = "yes" ; then
3169 3182
  echo "INSTALL_BLOBS=yes" >> $config_host_mak

Also available in: Unified diff