talloc: Support PYTHON environment variable.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 26 Jul 2011 19:07:20 +0000 (21:07 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 26 Jul 2011 20:21:30 +0000 (22:21 +0200)
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Jul 26 22:21:30 CEST 2011 on sn-devel-104

lib/talloc/wscript

index c96c69cdd9efd74cd429f07277453a9736f96746..51a06ac382a19be5724ba116a8ffac1ded521d85 100644 (file)
@@ -57,6 +57,7 @@ def configure(conf):
 
     if not conf.env.disable_python:
         # also disable if we don't have the python libs installed
+        conf.find_program('python', var='PYTHON')
         conf.check_tool('python')
         conf.check_python_version((2,4,2))
         conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)