path: root/configure
diff options
authorYann E. MORIN" <>2011-08-10 21:13:46 (GMT)
committerYann E. MORIN" <>2011-08-10 21:13:46 (GMT)
commit6537cbdeac10816f03e115b27d7032a28be9eece (patch)
tree3d0ccd74d0ff4a079fba3e6ac67eaa08ff8dfb43 /configure
parent0486fba24c913758c8fa00383783170b6abe0a3b (diff)
configure: add test for xz-utils
Some upstream now release tarballs compressed with xz, along with the more traditional bzip2 and/or gzip tarballs. xz (and its predecessor lzma) achieves better compression, so is a good candidate to shorten the time it takes to download the source tarballs. Enable downloading xz-cmopressed tarballs if the user has xz-utils. Signed-off-by: "Yann E. MORIN" <>
Diffstat (limited to 'configure')
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index bb8a069..1fe78bc 100755
--- a/configure
+++ b/configure
@@ -453,6 +453,9 @@ has_or_abort prog=patch
has_or_abort prog=tar
has_or_abort prog=gzip
has_or_abort prog=bzip2
+has_or_warn prog=xz \
+ kconfig=has_xzutils \
+ err="xz-comoressed tarballs will not be used"
has_or_abort prog=readlink
has_or_abort prog=objcopy var=objcopy
has_or_abort prog=objdump var=objdump