Skip to contentSkip to conversation

configure: disable stubdomain build by default on FreeBSD

PATCH In review Roger Pau Monne 2 participants 2 messages Aug 14, 2014 – Sep 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: disable stubdomain build by default on FreeBSD

Stubdomain code as-is doesn't compile on FreeBSD, so disable it for now in order to have a working build.

Please re-run autoconf after committing.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
configure.ac +7 -0
index f32f9af..1843b52 100644
@@ -28,6 +28,13 @@ case "$host_cpu" in
         ;;
 esac
 
+dnl Stubdomains need some work in order to compile on FreeBSD
+case "$host_os" in
+    freebsd*)
+        arch_enable_stubdom=n
+        ;;
+esac
+
 AX_SUBSYSTEM_DEFAULT_ENABLE([xen])
 AX_SUBSYSTEM_DEFAULT_ENABLE([tools])
 AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom)
Signature · 7 lines
1.7.7.5 (Apple Git-26)


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#1 lore raw
Quoted 17 lines · Roger Pau Monne

Stubdomain code as-is doesn't compile on FreeBSD, so disable it for now in order to have a working build.

Please re-run autoconf after committing.

Cc Ian Jackson <[email protected]>
Cc Ian Campbell <[email protected]>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
configure.ac +0 -0
index f32f9af..1843b52 100644

configure.ac case "$host_cpu" in · line 36

Quoted 9 lines
configure.ac +6 -0
@@ -28,6 +28,13 @@ case "$host_cpu" in
         ;;
 esac
 
+dnl Stubdomains need some work in order to compile on FreeBSD
+case "$host_os" in
+    freebsd*)
+        arch_enable_stubdom=n
+        ;;
+esac

Actually I think this would have been better making the original case be over "$host_os:$host_cpu" with cases like

	freebsd*:*) and *:i[[3456]]86|x86_64) etc.

But it's been a month now since you posted so I've acked + committed this version. Sorry for the delay.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel