1# -*- Autoconf -*- 2# Process this file with autoconf to produce a configure script. 3 4AC_PREREQ([2.67]) 5AC_INIT([Xen Hypervisor], m4_esyscmd([./version.sh ./xen/Makefile]), 6 [xen-devel@lists.xen.org], [xen], [https://www.xen.org/]) 7AC_CONFIG_SRCDIR([./xen/common/kernel.c]) 8AC_CONFIG_FILES([ 9 config/Toplevel.mk 10 config/Paths.mk 11]) 12 13AC_CANONICAL_HOST 14 15m4_include([m4/features.m4]) 16m4_include([m4/subsystem.m4]) 17m4_include([m4/paths.m4]) 18 19AX_XEN_EXPAND_CONFIG() 20 21dnl mini-os is only ported to certain platforms 22case "$host_cpu" in 23 i[[3456]]86|x86_64) 24 arch_enable_stubdom=y 25 ;; 26 *) 27 arch_enable_stubdom=n 28 ;; 29esac 30 31dnl Stubdomains need some work in order to compile on FreeBSD 32case "$host_os" in 33 freebsd*) 34 arch_enable_stubdom=n 35 ;; 36esac 37 38AX_SUBSYSTEM_DEFAULT_ENABLE([xen]) 39AX_SUBSYSTEM_DEFAULT_ENABLE([tools]) 40AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom) 41AX_SUBSYSTEM_DEFAULT_ENABLE([docs]) 42 43AX_SUBSYSTEM_FINISH 44 45AC_OUTPUT() 46