]> Dogcows Code - chaz/tar/commit
Allow installers to specify alternative program names for compression programs.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sat, 10 Oct 2009 14:29:18 +0000 (17:29 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sat, 10 Oct 2009 14:30:53 +0000 (17:30 +0300)
commita7e9b6a17b2c111f4afa5ae35e3a206483366693
treebd9e7c85b8464b5e81d9ce8ee4f6230625e7c36c
parentf0ceef8596838d725205e0b2aa7fd39da48fa34d
Allow installers to specify alternative program names for compression programs.

This adds --with-gzip, --with-bzip2 etc. switches to the configure, so that
one can do, e.g. ./configure --with-bzip2=lbzip2 and have lbzip2 executed
whenever user calls `tar --bzip2'.

* acinclude.m4: New file.
* configure.ac: Add TAR_COMPR_PROGRAM invocations for
the supported compressors.
* src/buffer.c (magic): Use *_COMPRESSOR defines instead
of hardcoded program names.
* src/suffix.c (compression_suffixes): Likewise.
acinclude.m4 [new file with mode: 0644]
configure.ac
src/buffer.c
src/suffix.c
This page took 0.021858 seconds and 4 git commands to generate.