summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-03-23 20:59:21 -0400
committerBen Gamari <ben@smart-cactus.org>2017-03-23 22:14:49 -0400
commit1b374402a7a078e53c3e00eb0460e8b22930c453 (patch)
tree0f08c58bb7a9dcb63320b6843a5f2f92c44577cc /configure.ac
parentadf27d614f8a48d8dcf2d4e2e7872f7b3f818364 (diff)
downloadhaskell-1b374402a7a078e53c3e00eb0460e8b22930c453.tar.gz
config.mk.in: Add bzip, gzip, and xz executable names to be overridden
Reviewers: austin, hvr, erikd Reviewed By: erikd Subscribers: rwbarton, thomie, erikd, snowleopard Differential Revision: https://phabricator.haskell.org/D3367
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 736c124ce6..dd338a8418 100644
--- a/configure.ac
+++ b/configure.ac
@@ -702,6 +702,11 @@ dnl ** check for tar
dnl if GNU tar is named gtar, look for it first.
AC_PATH_PROGS(TarCmd,gnutar gtar tar,tar)
+dnl ** check for compressors
+AC_PATH_PROGS(Bzip2Cmd,bzip2, bzip2)
+AC_PATH_PROGS(GzipCmd,gzip, gzip)
+AC_PATH_PROGS(XzCmd,pxz xz, xz)
+
dnl ** check for patch
dnl if GNU patch is named gpatch, look for it first
AC_PATH_PROGS(PatchCmd,gpatch patch, patch)