diff options
author | Ira Cooper <ira@samba.org> | 2014-07-23 00:16:24 -0700 |
---|---|---|
committer | Ira Cooper <ira@samba.org> | 2014-08-09 18:26:17 +0200 |
commit | b08cbc64c00d563738c45a701d4a7a7fd371e63f (patch) | |
tree | f781f30207886ff4f31ca98bb19b3431fce6999a /lib/zlib/wscript | |
parent | ba8ee8c9e011361cfc405b1355172d38718ba0cc (diff) | |
download | samba-b08cbc64c00d563738c45a701d4a7a7fd371e63f.tar.gz samba-b08cbc64c00d563738c45a701d4a7a7fd371e63f.tar.xz samba-b08cbc64c00d563738c45a701d4a7a7fd371e63f.zip |
lib/zlib: Remove non third_party zlib.
Signed-off-by: Ira Cooper <ira@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib/zlib/wscript')
-rw-r--r-- | lib/zlib/wscript | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/lib/zlib/wscript b/lib/zlib/wscript deleted file mode 100644 index 9965fe2760..0000000000 --- a/lib/zlib/wscript +++ /dev/null @@ -1,30 +0,0 @@ -#!/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'): - conf.define('USING_SYSTEM_ZLIB', 1) - -def build(bld): - if bld.CONFIG_SET('USING_SYSTEM_ZLIB'): - return - - bld.SAMBA_LIBRARY('z', - private_library=True, - deps='replace', - allow_warnings=True, - source='''adler32.c compress.c crc32.c gzio.c - uncompr.c deflate.c trees.c zutil.c - inflate.c infback.c inftrees.c inffast.c''') |