summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorIra Cooper <ira@samba.org>2014-07-22 21:27:13 -0700
committerIra Cooper <ira@samba.org>2014-08-09 18:26:16 +0200
commitba8ee8c9e011361cfc405b1355172d38718ba0cc (patch)
tree2b13f2112b61edb3da204719c1a3184de63a1605 /wscript
parente8e85689756eaf74e82f55b8ae6f706b430b01cd (diff)
downloadsamba-ba8ee8c9e011361cfc405b1355172d38718ba0cc.tar.gz
third_party/zlib: Initial support for zlib
Signed-off-by: Ira Cooper <ira@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'wscript')
-rw-r--r--wscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/wscript b/wscript
index 92e060f36f0..377ab66edc6 100644
--- a/wscript
+++ b/wscript
@@ -123,12 +123,18 @@ def configure(conf):
if conf.CHECK_FOR_THIRD_PARTY():
conf.RECURSE('third_party/iniparser/src')
+ conf.RECURSE('third_party/zlib')
else:
if not conf.CHECK_INIPARSER():
raise Utils.WafError('iniparser development packages have not been found.\nIf third_party is installed, check that it is in the proper place.')
else:
conf.define('USING_SYSTEM_INIPARSER', 1)
+ if not conf.CHECK_ZLIB():
+ raise Utils.WafError('zlib development packages have not been found.\nIf third_party is installed, check that it is in the proper place.')
+ else:
+ conf.define('USING_SYSTEM_ZLIB',1);
+
conf.RECURSE('lib/ldb')
if Options.options.with_system_mitkrb5:
@@ -147,7 +153,6 @@ def configure(conf):
conf.RECURSE('lib/util')
conf.RECURSE('lib/ccan')
conf.RECURSE('lib/ntdb')
- conf.RECURSE('lib/zlib')
conf.RECURSE('lib/util/charset')
conf.RECURSE('source4/auth')
conf.RECURSE('lib/nss_wrapper')