diff options
author | Avi Kivity <avi@redhat.com> | 2009-03-22 15:06:32 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-22 15:06:32 +0200 |
commit | 10ebc211e321a529db239d84ac82a210d482dc38 (patch) | |
tree | bf8c036d56c3d6b0d3590f6bf7236abadf500a6f | |
parent | 0b4e8e8e9c90be10ccdfab371e223f95130c6cee (diff) |
kvm: configure: avoid building the external module if kernel/Makefile is not present
Signed-off-by: Avi Kivity <avi@redhat.com>
-rwxr-xr-x | kvm/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kvm/configure b/kvm/configure index 48a8bbb65..b9419c079 100755 --- a/kvm/configure +++ b/kvm/configure @@ -21,6 +21,10 @@ if [ -z "TMPDIR" ] ; then TMPDIR=. fi +if [ ! -e kernel/Makefile ]; then + want_module= +fi + usage() { cat <<-EOF Usage: $0 [options] |