Commit 4a7f0e0655689b0e5fc84d85ce167d3053fe43ef
1 parent
510aba20
Fix libvdeplug link test.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5178 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
7 additions
and
2 deletions
configure
| ... | ... | @@ -770,9 +770,14 @@ fi |
| 770 | 770 | if test "$vde" = "yes" ; then |
| 771 | 771 | cat > $TMPC << EOF |
| 772 | 772 | #include <libvdeplug.h> |
| 773 | -int main(void) { struct vde_open_args a = {0, 0, 0} ; return 0;} | |
| 773 | +int main(void) | |
| 774 | +{ | |
| 775 | + struct vde_open_args a = {0, 0, 0}; | |
| 776 | + vde_open("", "", &a); | |
| 777 | + return 0; | |
| 778 | +} | |
| 774 | 779 | EOF |
| 775 | - if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then | |
| 780 | + if $cc $ARCH_CFLAGS -o $TMPE $TMPC -lvdeplug 2> /dev/null ; then | |
| 776 | 781 | : |
| 777 | 782 | else |
| 778 | 783 | vde="no" | ... | ... |