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], [http://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() 20AX_ARG_DEFAULT_DISABLE([githttp], [Download GIT repositories via HTTP]) 21 22dnl mini-os is only ported to certain platforms 23case "$host_cpu" in 24 i[[3456]]86|x86_64) 25 arch_enable_stubdom=y 26 ;; 27 *) 28 arch_enable_stubdom=n 29 ;; 30esac 31 32dnl Stubdomains need some work in order to compile on FreeBSD 33case "$host_os" in 34 freebsd*) 35 arch_enable_stubdom=n 36 ;; 37esac 38 39AX_SUBSYSTEM_DEFAULT_ENABLE([xen]) 40AX_SUBSYSTEM_DEFAULT_ENABLE([tools]) 41AX_SUBSYSTEM_CONDITIONAL([stubdom], $arch_enable_stubdom) 42AX_SUBSYSTEM_DEFAULT_ENABLE([docs]) 43 44AX_SUBSYSTEM_FINISH 45 46AC_OUTPUT() 47