build: introduce SAMBA_CHECK_PYTHON_HEADERS
[nivanova/samba-autobuild/.git] / lib / talloc / wscript
index 6316abafd86c85a942ada8d4e944ad6f98ef409c..49eac6e6e6dd8c08b804c07f7dffe4383b9597ca 100644 (file)
@@ -59,7 +59,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 pytalloc-util as python devel libs not found')
             conf.env.disable_python = True