lib/zlib/wscript: fix system zlib detection
[samba.git] / lib / zlib / wscript
index ab6e7fba4ba0ce33adf03507489bf8c7774ddcc1..6f0d4f798986abe46ef83037f6299a847bbb54c6 100644 (file)
@@ -10,6 +10,9 @@ def configure(conf):
                     #error "ZLIB_VERNUM < 0x1230"
                     #endif
                     ''',
+                    headers='zlib.h',
+                    local_include=False,
+                    msg='Checking for ZLIB_VERNUM >= 0x1230',
                     define='HAVE_ZLIB')
 
 def build(bld):