diff options
author | Roger Pau Monne <roger.pau@citrix.com> | 2012-10-30 18:11:02 +0000 |
---|---|---|
committer | Roger Pau Monne <roger.pau@citrix.com> | 2012-10-30 18:11:02 +0000 |
commit | 26104b09f9269bed2805423ba0f398254c324eee (patch) | |
tree | 94251e75270a3202ed3c935321b8cfe4df101684 /tools/configure.ac | |
parent | ecf9846a6a200e8c8cfb26d409d18fd9615df9b9 (diff) | |
download | xen-26104b09f9269bed2805423ba0f398254c324eee.tar.gz xen-26104b09f9269bed2805423ba0f398254c324eee.tar.bz2 xen-26104b09f9269bed2805423ba0f398254c324eee.zip |
autoconf: check for wget and ftp
Some OSes don't come with wget by default, so ftp should be choosen
on those. Add an autoconf check to check for wget and ftp, and
replace the usage of hardcoded wget in tools.
[ Stubdom builds still use wget unconditionally. -iwj ]
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/configure.ac')
-rw-r--r-- | tools/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/configure.ac b/tools/configure.ac index 3318fea958..e708f015de 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -35,6 +35,7 @@ m4_include([m4/curses.m4]) m4_include([m4/pthread.m4]) m4_include([m4/ptyfuncs.m4]) m4_include([m4/extfs.m4]) +m4_include([m4/fetcher.m4]) # Enable/disable options AX_ARG_DEFAULT_DISABLE([githttp], [Download GIT repositories via HTTP]) @@ -117,6 +118,7 @@ esac AX_CHECK_UUID AX_CHECK_CURSES PKG_CHECK_MODULES(glib, [glib-2.0 >= 2.12]) +AX_CHECK_FETCHER # Checks for libraries. AC_CHECK_HEADER([bzlib.h], [ |