mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 01:37:00 +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:
@@ -13,9 +13,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(USE_SLZ)
|
||||
#include <slz.h>
|
||||
#elif defined(USE_ZLIB)
|
||||
#if defined(USE_ZLIB)
|
||||
/* Note: the crappy zlib and openssl libs both define the "free_func" type.
|
||||
* That's a very clever idea to use such a generic name in general purpose
|
||||
* libraries, really... The zlib one is easier to redefine than openssl's,
|
||||
|
||||
Reference in New Issue
Block a user