build: introduce SAMBA_CHECK_PYTHON_HEADERS
[nivanova/samba-autobuild/.git] / lib / tdb / wscript
index fadd24f60fb27c0523125a101051639051e9863a..f00d119c9ba6fc55ee1347612a556d86f4f57f5f 100644 (file)
@@ -47,7 +47,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 pytdb as python devel libs not found')
             conf.env.disable_python = True