build: make python development headers not mandatory in standalone libs
authorAndrew Tridgell <tridge@samba.org>
Wed, 21 Apr 2010 06:17:08 +0000 (16:17 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 21 Apr 2010 06:17:08 +0000 (16:17 +1000)
This needed an update to the python tool in waf

thanks to Kai for spotting this

buildtools/bin/waf-svn
lib/tdb/wscript

index 774fb71dcf060b96b5430f2159d720277965c773..08b64be2129cbc58cc4c6bf7d1fb97e8c5eb301c 100755 (executable)
Binary files a/buildtools/bin/waf-svn and b/buildtools/bin/waf-svn differ
index 899fe7948199b635cfbf679170b9745b3f5ac5d4..70eb8cf5d05455de73d7e80a584be3f292e3e716 100644 (file)
@@ -46,7 +46,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()
+        conf.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