diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-07 03:24:49 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-07 03:24:49 +0000 |
commit | a34feb1b97eeddad92bc8a7aab3be391247ff685 (patch) | |
tree | 8cd1365aae2daecf40fb6ba0c152ff1f524aa6c6 /usr.bin/tar/write.c | |
parent | 237a0ce1f8117c40c606f8734ead347261516646 (diff) | |
download | FreeBSD-src-a34feb1b97eeddad92bc8a7aab3be391247ff685.zip FreeBSD-src-a34feb1b97eeddad92bc8a7aab3be391247ff685.tar.gz |
Add "make distfile" capabilities to bsdtar, including informational
COPYING file and some conditional compilation cleanups.
Diffstat (limited to 'usr.bin/tar/write.c')
-rw-r--r-- | usr.bin/tar/write.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index 6495e3d..0129762 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -170,12 +170,16 @@ tar_mode_c(struct bsdtar *bsdtar) switch (bsdtar->create_compression) { case 0: break; +#ifdef HAVE_LIBBZ2 case 'j': case 'y': archive_write_set_compression_bzip2(a); break; +#endif +#ifdef HAVE_LIBZ case 'z': archive_write_set_compression_gzip(a); break; +#endif default: bsdtar_errc(bsdtar, 1, 0, "Unrecognized compression option -%c", |