configure: disable stubdomain build by default on FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 14 Aug 2014 13:47:49 +0000 (15:47 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 8 Sep 2014 10:42:20 +0000 (11:42 +0100)
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.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
configure
configure.ac

index a6efd3552a7d1f4ec6bb0ea640a08d692ab73751..5090baf27bd4ab09cc03b4aae49ed863eeba11c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -1916,6 +1916,12 @@ case "$host_cpu" in
         ;;
 esac
 
+case "$host_os" in
+    freebsd*)
+        arch_enable_stubdom=n
+        ;;
+esac
+
 
 
 
index f32f9af976ef521b77e4d3c529549764710c6cea..1843b527e07c474583ce36c1b711d07351d9bb44 100644 (file)
@@ -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)