Enable VDE by default if library is present.

VDE isn't used unless the user explicitly asks for it so if the library is
present on the system, we should include support for it.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>



git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4931 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aliguori 2008-07-23 18:14:33 +00:00
parent 89588a4b16
commit e0e6c8c057

12
configure vendored
View file

@ -89,7 +89,7 @@ mingw32="no"
EXESUF=""
gdbstub="yes"
slirp="yes"
vde="no"
vde="yes"
fmod_lib=""
fmod_inc=""
vnc_tls="yes"
@ -281,7 +281,7 @@ for opt do
;;
--disable-slirp) slirp="no"
;;
--enable-vde) vde="yes"
--disable-vde) vde="no"
;;
--disable-kqemu) kqemu="no"
;;
@ -435,7 +435,7 @@ echo " --fmod-lib path to FMOD library"
echo " --fmod-inc path to FMOD includes"
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 " --enable-vde enable support for vde network [$vde]"
echo " --disable-vde disable support for vde network"
echo ""
echo "NOTE: The object files are built at the place where configure is launched"
exit 1
@ -735,11 +735,7 @@ EOF
if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
:
else
echo
echo "Error: VDE check failed"
echo "Make sure to have the VDE libs and headers installed."
echo
exit 1
vde="no"
fi
fi