From 82f3ef486f6566246d26156ac59c662aefee4c88 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 7 Mar 2010 17:35:20 +1100 Subject: build: zlib checks --- lib/zlib/wscript | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/zlib/wscript (limited to 'lib/zlib/wscript') diff --git a/lib/zlib/wscript b/lib/zlib/wscript new file mode 100644 index 0000000000..705fe90d9c --- /dev/null +++ b/lib/zlib/wscript @@ -0,0 +1,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') -- cgit