diff options
author | Colin Watson <cjwatson@debian.org> | 2008-10-26 01:54:00 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-10-26 01:54:00 +0000 |
commit | ebe8e08b588c73a892b35613a57941859ace2ff9 (patch) | |
tree | a2eafb2f75198932acdb1e823230d6788dcb6e1e /include | |
parent | d100e8f97cb8489ed3ca8330834e1b3c73a87ff4 (diff) |
* configure.ac: Check for lzma.
* include/comp_src.h.in (comp_list): Add lzma.
* include/manconfig.h.in: Define UNLZMA.
* docs/NEWS: Document this.
Diffstat (limited to 'include')
-rw-r--r-- | include/comp_src.h.in | 5 | ||||
-rw-r--r-- | include/manconfig.h.in | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/comp_src.h.in b/include/comp_src.h.in index 9826670e..45a66e68 100644 --- a/include/comp_src.h.in +++ b/include/comp_src.h.in @@ -62,6 +62,11 @@ struct compression comp_list[] = { {BUNZIP2, "bz2", NULL}, #endif /* HAVE_BZIP2 */ +/* If we have lzma, incorporate the following */ +#ifdef HAVE_LZMA + {UNLZMA, "lzma", NULL}, +#endif /* HAVE_LZMA */ + /*------------------------------------------------------*/ /* Add your decompressor(s) and extension(s) below here */ /*------------------------------------------------------*/ diff --git a/include/manconfig.h.in b/include/manconfig.h.in index 40d818d4..345186a7 100644 --- a/include/manconfig.h.in +++ b/include/manconfig.h.in @@ -228,6 +228,7 @@ # define GUNZIP "@gunzip@" # define UNCOMPRESS "@uncompress@" # define BUNZIP2 "@bunzip2@" +# define UNLZMA "@unlzma@" #endif /* COMP_SRC */ /*-----------------------------------------------------------------------*/ |