From e3fbd54cee3fffecbf4f7c384e0aad715fc68218 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 28 Dec 2015 00:07:03 +0100 Subject: FileFd: (native) LZ4 support Implement native support for LZ4 compression, using the official lz4 library. --- buildlib/config.h.in | 3 +++ buildlib/environment.mak.in | 1 + 2 files changed, 4 insertions(+) (limited to 'buildlib') diff --git a/buildlib/config.h.in b/buildlib/config.h.in index a887ebf88..fb21b387f 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -14,6 +14,9 @@ /* Define if we have the lzma library for lzma/xz */ #undef HAVE_LZMA +/* Define if we have the lz4 library for lz4 */ +#undef HAVE_LZ4 + /* These two are used by the statvfs shim for glibc2.0 and bsd */ /* Define if we have sys/vfs.h */ #undef HAVE_VFS_H diff --git a/buildlib/environment.mak.in b/buildlib/environment.mak.in index db83f6dcd..9620722de 100644 --- a/buildlib/environment.mak.in +++ b/buildlib/environment.mak.in @@ -69,6 +69,7 @@ HAVE_STATVFS = @HAVE_STATVFS@ HAVE_ZLIB = @HAVE_ZLIB@ HAVE_BZ2 = @HAVE_BZ2@ HAVE_LZMA = @HAVE_LZMA@ +HAVE_LZ4 = @HAVE_LZ4@ NEED_SOCKLEN_T_DEFINE = @NEED_SOCKLEN_T_DEFINE@ # Shared library things -- cgit v1.2.3-70-g09d2