]> xenbits.xensource.com Git - xen.git/commit
build: add autoconf to replace custom checks in tools/check
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 22 Feb 2012 01:55:03 +0000 (01:55 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 22 Feb 2012 01:55:03 +0000 (01:55 +0000)
commit85896a7c4dc7b6b1dba2db79dfb0ca61738a92a4
tree680508e2d4592ff706364d6c5a000729003f5f04
parentfa674239ae719f35ee831d2d6fbfee1ccaab8303
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>
58 files changed:
.hgignore
Config.mk
Makefile
README
autogen.sh [new file with mode: 0755]
config/Tools.mk.in [new file with mode: 0644]
configure [new file with mode: 0755]
tools/Makefile
tools/Rules.mk
tools/blktap/drivers/Makefile
tools/blktap/drivers/check_gcrypt [deleted file]
tools/check/Makefile [deleted file]
tools/check/README [deleted file]
tools/check/check_brctl [deleted file]
tools/check/check_crypto_lib [deleted file]
tools/check/check_curl [deleted file]
tools/check/check_iproute [deleted file]
tools/check/check_libaio_devel [deleted file]
tools/check/check_libaio_lib [deleted file]
tools/check/check_openssl_devel [deleted file]
tools/check/check_python [deleted file]
tools/check/check_python_devel [deleted file]
tools/check/check_python_xml [deleted file]
tools/check/check_udev [deleted file]
tools/check/check_uuid_devel [deleted file]
tools/check/check_x11_devel [deleted file]
tools/check/check_xgettext [deleted file]
tools/check/check_xml2 [deleted file]
tools/check/check_yajl_devel [deleted file]
tools/check/check_zlib_devel [deleted file]
tools/check/check_zlib_lib [deleted file]
tools/check/chk [deleted file]
tools/check/funcs.sh [deleted file]
tools/config.guess [new file with mode: 0755]
tools/config.h.in [new file with mode: 0644]
tools/config.sub [new file with mode: 0755]
tools/configure [new file with mode: 0755]
tools/configure.ac [new file with mode: 0644]
tools/debugger/gdbsx/xg/Makefile
tools/install.sh [new file with mode: 0644]
tools/libfsimage/Makefile
tools/libfsimage/check-libext2fs [deleted file]
tools/libxen/Makefile
tools/libxl/Makefile
tools/libxl/libxl_json.h
tools/m4/default_lib.m4 [new file with mode: 0644]
tools/m4/disable_feature.m4 [new file with mode: 0644]
tools/m4/enable_feature.m4 [new file with mode: 0644]
tools/m4/ocaml.m4 [new file with mode: 0644]
tools/m4/path_or_fail.m4 [new file with mode: 0644]
tools/m4/pkg.m4 [new file with mode: 0644]
tools/m4/python_devel.m4 [new file with mode: 0644]
tools/m4/python_version.m4 [new file with mode: 0644]
tools/m4/python_xml.m4 [new file with mode: 0644]
tools/m4/set_cflags_ldflags.m4 [new file with mode: 0644]
tools/m4/udev.m4 [new file with mode: 0644]
tools/m4/uuid.m4 [new file with mode: 0644]
version.sh [new file with mode: 0755]