# --enable-foo that exits if feature is not found
brlapi=""
+vde=""
+
gprof="no"
debug_tcg="no"
debug="no"
mingw32="no"
EXESUF=""
slirp="yes"
-vde="yes"
fmod_lib=""
fmod_inc=""
oss_lib=""
;;
--disable-vde) vde="no"
;;
+ --enable-vde) vde="yes"
+ ;;
--disable-xen) xen="no"
;;
--disable-brlapi) brlapi="no"
echo " --enable-uname-release=R Return R for uname -r in usermode emulation"
echo " --sparc_cpu=V Build qemu for Sparc architecture v7, v8, v8plus, v8plusa, v9"
echo " --disable-vde disable support for vde network"
+echo " --enable-vde enable support for vde network"
echo " --enable-io-thread enable IO thread"
echo " --disable-blobs disable installing provided firmware blobs"
echo " --kerneldir=PATH look for kernel includes in PATH"
##########################################
# vde libraries probe
-if test "$vde" = "yes" ; then
- vde=no
+if test "$vde" != "no" ; then
vde_libs="-lvdeplug"
cat > $TMPC << EOF
#include <libvdeplug.h>
vde=yes
libs_softmmu="$vde_libs $libs_softmmu"
libs_tools="$vde_libs $libs_tools"
+ else
+ if test "$vde" = "yes" ; then
+ feature_not_found "vde"
+ fi
+ vde=no
fi
fi