qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5178] Fix libvdeplug link test.


From: Paul Brook
Subject: [Qemu-devel] [5178] Fix libvdeplug link test.
Date: Sun, 07 Sep 2008 16:42:53 +0000

Revision: 5178
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5178
Author:   pbrook
Date:     2008-09-07 16:42:53 +0000 (Sun, 07 Sep 2008)

Log Message:
-----------
Fix libvdeplug link test.

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

Modified: trunk/configure
===================================================================
--- trunk/configure     2008-09-06 17:54:01 UTC (rev 5177)
+++ trunk/configure     2008-09-07 16:42:53 UTC (rev 5178)
@@ -770,9 +770,14 @@
 if test "$vde" = "yes" ; then
   cat > $TMPC << EOF
 #include <libvdeplug.h>
-int main(void) { struct vde_open_args a = {0, 0, 0} ; return 0;}
+int main(void)
+{
+    struct vde_open_args a = {0, 0, 0};
+    vde_open("", "", &a);
+    return 0;
+}
 EOF
-    if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
+    if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lvdeplug 2> /dev/null ; then
         :
     else
         vde="no"






reply via email to

[Prev in Thread] Current Thread [Next in Thread]