From: Juan Quintela <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>
diff --git a/configure b/configure
index dcb4625..2d13f6d 100755
--- a/configure
+++ b/configure
@@ -961,9 +961,9 @@ cat > $TMPC << EOF
#ifndef PCI_VENDOR_ID
#error NO LIBPCI
#endif
-int main(void) { return 0; }
+int main(void) { struct pci_access a; pci_init(&a); return 0; }
EOF
- if compile_prog "" "" ; then
+ if compile_prog "" "-lpci" ; then
libs_softmmu="-lpci $libs_softmmu"
else
echo
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html