diff options
author | Ira Cooper <ira@samba.org> | 2014-07-22 21:27:13 -0700 |
---|---|---|
committer | Ira Cooper <ira@samba.org> | 2014-08-09 18:26:16 +0200 |
commit | ba8ee8c9e011361cfc405b1355172d38718ba0cc (patch) | |
tree | 2b13f2112b61edb3da204719c1a3184de63a1605 /third_party/zlib | |
parent | e8e85689756eaf74e82f55b8ae6f706b430b01cd (diff) | |
download | samba-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 'third_party/zlib')
-rw-r--r-- | third_party/zlib/wscript | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/third_party/zlib/wscript b/third_party/zlib/wscript index 9965fe27601..b221288e6c1 100644 --- a/third_party/zlib/wscript +++ b/third_party/zlib/wscript @@ -1,20 +1,7 @@ #!/usr/bin/env python def configure(conf): - version_check=''' - #if (ZLIB_VERNUM >= 0x1230) - #else - #error "ZLIB_VERNUM < 0x1230" - #endif - z_stream *z; - inflateInit2(z, -15); - ''' - - if conf.CHECK_BUNDLED_SYSTEM('z', minversion='1.2.3', pkg='zlib', - checkfunctions='zlibVersion', - headers='zlib.h', - checkcode=version_check, - implied_deps='replace'): + if conf.CHECK_ZLIB(): conf.define('USING_SYSTEM_ZLIB', 1) def build(bld): |