Skip to contentSkip to conversation

[4931] Enable VDE by default if library is present.

Qemu-devel Anthony Liguori 1 participant 1 message Jul 23, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 4931

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4931
Author:   aliguori
Date:     2008-07-23 18:14:33 +0000 (Wed, 23 Jul 2008)

Log Message:
-----------
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.

Modified Paths:
--------------
trunk/configure

Modified: trunk/configure
===================================================================

configure +4 -8
@@ -89,7 +89,7 @@
 EXESUF=""
 gdbstub="yes"
 slirp="yes"
-vde="no"
+vde="yes"
 fmod_lib=""
 fmod_inc=""
 vnc_tls="yes"
@@ -281,7 +281,7 @@
   ;;
   --disable-slirp) slirp="no"
   ;;
-  --enable-vde) vde="yes"
+  --disable-vde) vde="no"
   ;;
   --disable-kqemu) kqemu="no"
   ;;
@@ -435,7 +435,7 @@
 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 @@
     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