configure: Fix xen probe with Xen 4.2 and later
authorAnthony PERARD <anthony.perard@citrix.com>
Wed, 1 Aug 2012 13:42:44 +0000 (13:42 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 1 Aug 2012 13:42:44 +0000 (13:42 +0000)
The xs.h header is now deprecated and produces a warning. This prevents the
configure script from enabling Xen with xen-unstable whom will become 4.2. As
this header is not anymore common to every version of Xen, we just remove it
from the early probe for Xen.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
configure

index 027a718..3ca13a6 100755 (executable)
--- a/configure
+++ b/configure
@@ -1384,7 +1384,6 @@ if test "$xen" != "no" ; then
   # Xen (any)
   cat > $TMPC <<EOF
 #include <xenctrl.h>
-#include <xs.h>
 int main(void) {
   return 0;
 }