aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-02-22 01:55:03 +0000
committerIan Jackson <ian.jackson@eu.citrix.com>2012-02-22 01:55:03 +0000
commit85896a7c4dc7b6b1dba2db79dfb0ca61738a92a4 (patch)
tree680508e2d4592ff706364d6c5a000729003f5f04 /config
parentfa674239ae719f35ee831d2d6fbfee1ccaab8303 (diff)
downloadxen-85896a7c4dc7b6b1dba2db79dfb0ca61738a92a4.tar.gz
xen-85896a7c4dc7b6b1dba2db79dfb0ca61738a92a4.tar.bz2
xen-85896a7c4dc7b6b1dba2db79dfb0ca61738a92a4.zip
build: add autoconf to replace custom checks in tools/check
Added autotools magic to replace custom check scripts. The previous checks have been ported to autoconf, and some additional ones have been added (plus the suggestions from running autoscan). Two files are created as a result from executing configure script, config/Tools.mk and config.h. conf/Tools.mk is included by tools/Rules.mk, and contains most of the options previously defined in .config, that can now be set passing parameters or defining environment variables when executing configure script. config.h is only used by libxl/xl to detect yajl_version.h. [ tools/config.sub and config.guess copied from autotools-dev 20100122.1 from Debian squeeze i386, which is GPLv2. tools/configure generated using the included ./autogen.sh which ran autoconf 2.67-2 from Debian squeeze i386. autoconf is GPLv3+ but has a special exception for the autoconf output; this exception applies to us and exempts us from complying with GPLv3+ for configure, which is good as Xen is GPL2 only. - Ian Jackson ] Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Tested-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'config')
-rw-r--r--config/Tools.mk.in50
1 files changed, 50 insertions, 0 deletions
diff --git a/config/Tools.mk.in b/config/Tools.mk.in
new file mode 100644
index 0000000000..06d5e8974b
--- /dev/null
+++ b/config/Tools.mk.in
@@ -0,0 +1,50 @@
+# Prefix and install folder
+PREFIX := @prefix@
+LIBLEAFDIR_x86_64 := @LIB_PATH@
+
+# A debug build of tools?
+debug := @debug@
+
+# Tools path
+BISON := @BISON@
+FLEX := @FLEX@
+PYTHON := @PYTHON@
+PYTHON_PATH := @PYTHONPATH@
+PERL := @PERL@
+BRCTL := @BRCTL@
+IP := @IP@
+CURL_CONFIG := @CURL@
+XML2_CONFIG := @XML@
+BASH := @BASH@
+XGETTTEXT := @XGETTEXT@
+
+# Extra folder for libs/includes
+PREPEND_INCLUDES := @PREPEND_INCLUDES@
+PREPEND_LIB := @PREPEND_LIB@
+APPEND_INCLUDES := @APPEND_INCLUDES@
+APPEND_LIB := @APPEND_LIB@
+
+# Enable XSM security module (by default, Flask).
+XSM_ENABLE := @xsm@
+FLASK_ENABLE := @xsm@
+
+# Download GIT repositories via HTTP or GIT's own protocol?
+# GIT's protocol is faster and more robust, when it works at all (firewalls
+# may block it). We make it the default, but if your GIT repository downloads
+# fail or hang, please specify GIT_HTTP=y in your environment.
+GIT_HTTP := @githttp@
+
+# Optional components
+XENSTAT_XENTOP := @monitors@
+VTPM_TOOLS := @vtpm@
+LIBXENAPI_BINDINGS := @xapi@
+PYTHON_TOOLS := @pythontools@
+OCAML_TOOLS := @ocamltools@
+CONFIG_MINITERM := @miniterm@
+CONFIG_LOMOUNT := @lomount@
+
+#System options
+CONFIG_SYSTEM_LIBAIO:= @system_aio@
+CONFIG_LIBICONV := @libiconv@
+CONFIG_GCRYPT := @libgcrypt@
+CONFIG_EXT2FS := @libext2fs@