summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2002-09-15 23:26:28 +0000
committerColin Watson <cjwatson@debian.org>2002-09-15 23:26:28 +0000
commitd248d7702bbc146046837ab3a4a7879e8b3e593f (patch)
treed09b3c141ae5429e412b4d4bbf543559f48551f6 /include
parent9bba0df0f95753df47db312838773ef5380b0541 (diff)
Add bzip2 decompression support, thanks to Clint Adams <schizo@debian.org>.
Diffstat (limited to 'include')
-rw-r--r--include/comp_src.h.in7
-rw-r--r--include/manconfig.h.in1
2 files changed, 7 insertions, 1 deletions
diff --git a/include/comp_src.h.in b/include/comp_src.h.in
index a70e33bf..15df042e 100644
--- a/include/comp_src.h.in
+++ b/include/comp_src.h.in
@@ -40,7 +40,12 @@ struct compression comp_list[] = {
/* If we have compress, incorporate the following */
#ifdef UNCOMPRESS
{UNCOMPRESS, "Z", NULL},
-#endif /* GUNZIP */
+#endif /* UNCOMPRESS */
+
+/* If we have bzip2, incorporate the following */
+#ifdef BUNZIP2
+ {BUNZIP2, "bz2", NULL},
+#endif /* BUNZIP2 */
/*------------------------------------------------------*/
/* Add your decompressor(s) and extension(s) below here */
diff --git a/include/manconfig.h.in b/include/manconfig.h.in
index 18b69b81..d43d5336 100644
--- a/include/manconfig.h.in
+++ b/include/manconfig.h.in
@@ -199,6 +199,7 @@
# define GUNZIP "@gunzip@"
# define UNCOMPRESS "@uncompress@"
+# define BUNZIP2 "@bunzip2@"
#endif /* COMP_SRC */
/*-----------------------------------------------------------------------*/