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