diff mbox

configure: Fix xen probe with Xen 4.2 and later.

Message ID 1343297347-5194-1-git-send-email-anthony.perard@citrix.com
State New
Headers show

Commit Message

Anthony PERARD July 26, 2012, 10:09 a.m. UTC
The xs.h header is now deprecated and produce a warning. This prevent 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>

---
 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

Comments

Stefano Stabellini July 26, 2012, 2:05 p.m. UTC | #1
On Thu, 26 Jul 2012, Anthony PERARD wrote:
> The xs.h header is now deprecated and produce a warning. This prevent 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 |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/configure b/configure
> index cef0a71..b13adb0 100755
> --- a/configure
> +++ b/configure
> @@ -1381,7 +1381,6 @@ if test "$xen" != "no" ; then
>    # Xen (any)
>    cat > $TMPC <<EOF
>  #include <xenctrl.h>
> -#include <xs.h>
>  int main(void) {
>    return 0;
>  }
> -- 
> Anthony PERARD
>
Andreas Färber July 26, 2012, 2:12 p.m. UTC | #2
Am 26.07.2012 12:09, schrieb Anthony PERARD:
> The xs.h header is now deprecated and produce a warning. This prevent the

produces, prevents

Stefano, can you fix in your queue?

Regards,
/-F

> 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>
> 
> ---
>  configure |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/configure b/configure
> index cef0a71..b13adb0 100755
> --- a/configure
> +++ b/configure
> @@ -1381,7 +1381,6 @@ if test "$xen" != "no" ; then
>    # Xen (any)
>    cat > $TMPC <<EOF
>  #include <xenctrl.h>
> -#include <xs.h>
>  int main(void) {
>    return 0;
>  }
>
Stefano Stabellini July 26, 2012, 2:16 p.m. UTC | #3
On Thu, 26 Jul 2012, Andreas Färber wrote:
> Am 26.07.2012 12:09, schrieb Anthony PERARD:
> > The xs.h header is now deprecated and produce a warning. This prevent the
> 
> produces, prevents
> 
> Stefano, can you fix in your queue?

Yep, I'll submit a pull request with the fixup.
diff mbox

Patch

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