build: introduce SAMBA_CHECK_PYTHON_HEADERS
[nivanova/samba-autobuild/.git] / lib / tevent / wscript
index 14c4c603194e42bf0bb76582a06a0f70fd5d641c..58ef87e1abfe0eed2cdeb41459121fc10f40fe03 100644 (file)
@@ -48,7 +48,7 @@ def configure(conf):
         # also disable if we don't have the python libs installed
         conf.check_tool('python')
         conf.check_python_version((2,4,2))
-        conf.check_python_headers(mandatory=False)
+        conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
         if not conf.env.HAVE_PYTHON_H:
             Logs.warn('Disabling pytevent as python devel libs not found')
             conf.env.disable_python = True