qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5178] Fix libvdeplug link test.
@ 2008-09-07 16:42 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-09-07 16:42 UTC (permalink / raw)
  To: qemu-devel

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-07 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-07 16:42 [Qemu-devel] [5178] Fix libvdeplug link test Paul Brook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).