summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2017-10-24 12:09:03 +0200
committerGlenn Strauss <gstrauss@gluelogic.com>2017-10-28 22:41:32 -0400
commitfff8e70567467ada18c46c8af6d722236295b75f (patch)
tree246bcf870af76d38b9e87d5e9d0c117378bf8e22 /SConstruct
parent73ef60a5a122725114fc50ab9f3940de428066dc (diff)
downloadlighttpd-git-fff8e70567467ada18c46c8af6d722236295b75f.tar.gz
[scons] rename with_gzip to with_zlib
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 0ef9be8c..4bb9e380 100644
--- a/SConstruct
+++ b/SConstruct
@@ -124,7 +124,6 @@ vars.AddVariables(
BoolVariable('with_fam', 'enable FAM/gamin support', 'no'),
BoolVariable('with_gdbm', 'enable gdbm support', 'no'),
BoolVariable('with_geoip', 'enable GeoIP support', 'no'),
- BoolVariable('with_gzip', 'enable gzip compression', 'no'),
BoolVariable('with_krb5', 'enable krb5 auth support', 'no'),
BoolVariable('with_ldap', 'enable ldap auth support', 'no'),
# with_libev not supported
@@ -140,6 +139,7 @@ vars.AddVariables(
# with_valgrind not supported
# with_xattr not supported
PackageVariable('with_xml', 'enable xml support', 'no'),
+ BoolVariable('with_zlib', 'enable deflate/gzip compression', 'no'),
)
env = Environment(
@@ -266,7 +266,7 @@ if 1:
if autoconf.CheckLibWithHeader('ssl', 'openssl/ssl.h', 'C'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_OPENSSL_SSL_H', '-DHAVE_LIBSSL'] , LIBSSL = 'ssl', LIBCRYPTO = 'crypto', LIBS = [ 'crypto' ])
- if env['with_gzip']:
+ if env['with_zlib']:
if autoconf.CheckLibWithHeader('z', 'zlib.h', 'C'):
autoconf.env.Append(CPPFLAGS = [ '-DHAVE_ZLIB_H', '-DHAVE_LIBZ' ], LIBZ = 'z')