summaryrefslogtreecommitdiff
path: root/lib/zlib/wscript
blob: 705fe90d9cae97ec94e60622eeea98d871fd0426 (plain)
1
2
3
4
5
6
7
8
9
10
11
def configure(conf):
    conf.CHECK_HEADERS('zlib.h')
    conf.CHECK_FUNCS_IN('zlibVersion', 'z')

    conf.CHECK_CODE('''
                    #if (ZLIB_VERNUM >= 0x1230)
                    #else
                    #error "ZLIB_VERNUM < 0x1230"
                    #endif
                    ''',
                    define='HAVE_ZLIB')