4 conf
.CHECK_HEADERS('zlib.h')
5 conf
.CHECK_FUNCS_IN('zlibVersion', 'z')
8 #if (ZLIB_VERNUM >= 0x1230)
10 #error "ZLIB_VERNUM < 0x1230"
15 msg
='Checking for ZLIB_VERNUM >= 0x1230',
18 # If we don't do this then we will receive an error that lib 'z'
19 # is already declared as a system lib (for the cases where zlibVersion
21 if not conf
.env
['HAVE_ZLIB']:
22 conf
.LOCAL_CACHE_SET('TARGET_TYPE', 'z', 'EMPTY')
25 if not bld
.CONFIG_SET('HAVE_ZLIB'):
26 bld
.SAMBA_LIBRARY('z',
29 source
='''adler32.c compress.c crc32.c gzio.c
30 uncompr.c deflate.c trees.c zutil.c
31 inflate.c infback.c inftrees.c inffast.c''')