Signed-off-by: Juan Quintela <[email protected]>
---
configure | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 930e450..8c69894 100755
--- a/configure
+++ b/configure
@@ -936,7 +936,7 @@ cat > $TMPC <<EOF
#endif
int main(void) { return 0; }
EOF
- if $cc $ARCH_CFLAGS $CFLAGS $kvm_cflags -o $TMPE ${OS_CFLAGS} $TMPC 2>
/dev/null ; then
+ if compile_prog $kvm_cflags ""; then
kvm_cap_pit="yes"
fi
@@ -949,7 +949,7 @@ cat > $TMPC <<EOF
#endif
int main(void) { return 0; }
EOF
- if $cc $ARCH_CFLAGS $CFLAGS $kvm_cflags -o $TMPE ${OS_CFLAGS} $TMPC 2>
/dev/null ; then
+ if compile_prog $kvm_cflags "" ; then
kvm_cap_device_assignment="yes"
fi
fi
@@ -963,7 +963,7 @@ cat > $TMPC << EOF
#endif
int main(void) { return 0; }
EOF
- if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $TMPC 2>/dev/null ; then
+ if compile_prog "" "" ; then
libs_softmmu="-lpci $libs_softmmu"
else
echo
--
1.6.2.5
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html