summaryrefslogtreecommitdiff
path: root/buildlib
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-12-28 00:07:03 +0100
committerJulian Andres Klode <jak@debian.org>2016-01-07 14:28:27 +0100
commite3fbd54cee3fffecbf4f7c384e0aad715fc68218 (patch)
treef6376dd48b8f6917c2bd36dca183f1d6eeb5c07f /buildlib
parentd4cfc24887851fa55f93a1a3c09f662b80f97729 (diff)
FileFd: (native) LZ4 support
Implement native support for LZ4 compression, using the official lz4 library.
Diffstat (limited to 'buildlib')
-rw-r--r--buildlib/config.h.in3
-rw-r--r--buildlib/environment.mak.in1
2 files changed, 4 insertions, 0 deletions
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