Message ID | E1LToe3-0000QM-UX@49zxpd1.ch3.sourceforge.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
--- configure.orig 2008-12-14 14:16:27.000000000 +0100 +++ configure 2008-12-24 16:46:03.000000000 +0100 @@ -134,6 +134,19 @@ fi fi +if [ -e "$kerneldir/.config" ]; then + if egrep -q "^CONFIG_KVM=(y|m)" "$kerneldir/.config"; then + : + else + echo "Warning: kernel not configured for KVM" + echo "kvm kernel modules may not build correctly" + fi +else + echo "Error: kernel .config not found" + echo "Please make sure your kernel is configured" + exit 1 +fi + #configure user dir (cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir" \