BUILD: compression: switch SLZ from out-of-tree to in-tree

Now that SLZ is merged, let's update the makefile and compression
files to use it. As a result, SLZ_INC and SLZ_LIB are neither defined
nor used anymore.

USE_SLZ is enabled by default ("USE_SLZ=default") and can be disabled
by passing "USE_SLZ=" or by enabling USE_ZLIB=1.

The doc was updated to reflect the changes.
This commit is contained in:
Willy Tarreau
2021-04-22 14:14:22 +02:00
parent ab2b7828e2
commit 12840be005
4 changed files with 42 additions and 34 deletions

View File

@@ -27,7 +27,7 @@
#ifdef USE_ZLIB
#error "Cannot build with both USE_SLZ and USE_ZLIB at the same time."
#endif
#include <slz.h>
#include <import/slz.h>
#elif defined(USE_ZLIB)
#include <zlib.h>
#endif