diff --git a/configure b/configure index 5c056f51ba..623c30e219 100755 --- a/configure +++ b/configure @@ -1384,7 +1384,7 @@ EOF kvm_cflags="$kvm_cflags -I$kerneldir/arch/$cpu/include" fi else - kvm_cflags="" + kvm_cflags=`pkg-config --cflags kvm-kmod 2> /dev/null` fi if compile_prog "$kvm_cflags" "" ; then kvm=yes