summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpbrook2008-09-07 18:42:53 +0200
committerpbrook2008-09-07 18:42:53 +0200
commit4a7f0e0655689b0e5fc84d85ce167d3053fe43ef (patch)
tree137214e033f20c297de5f62cb13c7ea227d66d70 /configure
parentFix a typo in fpsub32 (diff)
downloadqemu-4a7f0e0655689b0e5fc84d85ce167d3053fe43ef.tar.gz
qemu-4a7f0e0655689b0e5fc84d85ce167d3053fe43ef.tar.xz
qemu-4a7f0e0655689b0e5fc84d85ce167d3053fe43ef.zip
Fix libvdeplug link test.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5178 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 7 insertions, 2 deletions
diff --git a/configure b/configure
index a166133ab6..f1ee0af90d 100755
--- a/configure
+++ b/configure
@@ -770,9 +770,14 @@ fi
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"