2010/1/17 Diego Elio Pettenò <flameeyes(a)gmail.com>:
This ensures that ./configure will work fine if xen development
packages
are not around, rather than fail. When passing ./configure --with-xen, the
lack of xen development packages become fatal.
---
configure.in | 60 ++++++++++++++++++++++++++++++++-------------------------
1 files changed, 34 insertions(+), 26 deletions(-)
diff --git a/configure.in b/configure.in
index b03b8e3..18b5429 100644
--- a/configure.in
+++ b/configure.in
@@ -195,7 +195,7 @@ fi
dnl Allow to build without Xen, QEMU/KVM, test or remote driver
AC_ARG_WITH([xen],
- AS_HELP_STRING([--with-xen], [add XEN support
@<:@default=yes@:>@]),[],[with_xen=yes])
+ AS_HELP_STRING([--with-xen], [add XEN support
@<:@default=auto@:>@]),[],[with_xen=check])
s/default=auto/default=check/
Matthias