summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2006-12-12 08:00:36 +0000
committerAvi Kivity <avi@qumranet.com>2006-12-12 08:00:36 +0000
commita17c6ebd0d160a10285df1f07d77011406ee4cb2 (patch)
treedce27e9cd641b2434d4ada5f80c4e3201ecfa660 /configure
parent54a636fd58997a66a1c55e1b27f6c28408797ca8 (diff)
kvm: ./configure: error out if gcc 3.x cannot be located
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index abadafeb..a819a443 100755
--- a/configure
+++ b/configure
@@ -48,6 +48,11 @@ while [[ "$1" = -* ]]; do
esac
done
+if [[ -z "$qemu_cc" ]]; then
+ echo "$0: cannot locate gcc 3.x. please install it or specify with --qemu-cc"
+ exit 1
+fi
+
libkvm_kerneldir="$kerneldir"
if (( want_module )); then
libkvm_kerneldir=$(readlink -f kernel)