Skip to contentSkip to conversation

configure: Fix xen probe with Xen 4.2 and later.

PATCH In review Anthony PERARD 3 participants 4 messages Jul 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Fix xen probe with Xen 4.2 and later.

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.

---
 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
configure +0 -1
index cef0a71..b13adb0 100755
@@ -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;
 }
Signature · 1 line
Anthony PERARD
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Anthony PERARD

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.

Quoted 18 lines
 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
configure +0 -1
index cef0a71..b13adb0 100755
@@ -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;
 }
Signature · 1 line
Anthony PERARD
#2 lore raw
In reply to Anthony PERARD

Am 26.07.2012 12:09, schrieb Anthony PERARD:

Quoted 1 line

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

Quoted 23 lines

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.

---
 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
configure +0 -1
index cef0a71..b13adb0 100755
@@ -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;
 }
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
#3 lore raw
Quoted 6 lines · Andreas Färber

Am 26.07.2012 12:09, schrieb Anthony PERARD:

Quoted 1 line

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.