diff options
author | Avi Kivity <avi@qumranet.com> | 2006-12-12 08:00:36 +0000 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2006-12-12 08:00:36 +0000 |
commit | a17c6ebd0d160a10285df1f07d77011406ee4cb2 (patch) | |
tree | dce27e9cd641b2434d4ada5f80c4e3201ecfa660 /configure | |
parent | 54a636fd58997a66a1c55e1b27f6c28408797ca8 (diff) |
kvm: ./configure: error out if gcc 3.x cannot be located
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |