summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2023-07-21 13:58:37 +0200
committerAlejandro Colomar <alx@kernel.org>2023-10-25 13:38:01 +0200
commit2549de1f5ff81653d5176fe20ebb3814c64d103f (patch)
treed1dc74dd79f32178b5f0ced2ccb84ef0681dc82a /configure
parentfd4f4e4c5943c3bcd09e3bdcbeefc263aa2f1937 (diff)
downloadunit-2549de1f5ff81653d5176fe20ebb3814c64d103f.tar.gz
unit-2549de1f5ff81653d5176fe20ebb3814c64d103f.tar.bz2
Auto: zlib: compiling with zlib.
Signed-off-by: Alejandro Colomar <alx@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure b/configure
index 2cb4d457..befaad47 100755
--- a/configure
+++ b/configure
@@ -127,6 +127,7 @@ NXT_LIBRT=
. auto/unix
. auto/os/conf
. auto/ssltls
+. auto/zlib
if [ $NXT_REGEX = YES ]; then
. auto/pcre
@@ -168,11 +169,11 @@ END
NXT_LIB_AUX_CFLAGS="$NXT_OPENSSL_CFLAGS $NXT_GNUTLS_CFLAGS \\
$NXT_CYASSL_CFLAGS $NXT_POLARSSL_CFLAGS \\
- $NXT_PCRE_CFLAGS"
+ $NXT_PCRE_CFLAGS $NXT_ZLIB_CFLAGS"
NXT_LIB_AUX_LIBS="$NXT_OPENSSL_LIBS $NXT_GNUTLS_LIBS \\
$NXT_CYASSL_LIBS $NXT_POLARSSL_LIBS \\
- $NXT_PCRE_LIB"
+ $NXT_PCRE_LIB $NXT_ZLIB_LIBS"
if [ $NXT_NJS != NO ]; then
. auto/njs