summaryrefslogtreecommitdiff
path: root/lib/talloc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-07-26 21:07:20 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-07-26 22:21:30 +0200
commit78b54e9ee1d9fa7d3117a0a82db11da3f9ec8223 (patch)
tree2abe2ed51eec0e03e31b8663b7211ccccdaa5a5a /lib/talloc
parent3ce1894ff8befab199f8754f30331fa34aeb6530 (diff)
downloadsamba-78b54e9ee1d9fa7d3117a0a82db11da3f9ec8223.tar.gz
samba-78b54e9ee1d9fa7d3117a0a82db11da3f9ec8223.tar.bz2
samba-78b54e9ee1d9fa7d3117a0a82db11da3f9ec8223.zip
talloc: Support PYTHON environment variable.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jul 26 22:21:30 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/talloc')
-rw-r--r--lib/talloc/wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index c96c69cdd9..51a06ac382 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -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)