mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-09 23:02:34 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user