summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-04-23 02:04:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2011-04-23 04:19:04 +0200
commitbf3b2e2aee284c85ecea6a3142bc1fa5344b430a (patch)
tree90826deeea0b2ed645f5a34cb9790925ee5aac04 /source4
parent317e40d46b1a2252a5f60711acc73e80498a26b3 (diff)
downloadsamba-bf3b2e2aee284c85ecea6a3142bc1fa5344b430a.tar.gz
samba-bf3b2e2aee284c85ecea6a3142bc1fa5344b430a.tar.bz2
samba-bf3b2e2aee284c85ecea6a3142bc1fa5344b430a.zip
Support the 'PYTHON' environment variable.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 23 04:19:05 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript
index 145d757795..b59e782e45 100755
--- a/source4/lib/ldb/wscript
+++ b/source4/lib/ldb/wscript
@@ -26,12 +26,18 @@ def set_options(opt):
opt.RECURSE('lib/tdb')
opt.RECURSE('lib/tevent')
opt.RECURSE('lib/replace')
+ opt.tool_options('python') # options for disabling pyc or pyo compilation
def configure(conf):
conf.RECURSE('lib/tdb')
conf.RECURSE('lib/tevent')
conf.RECURSE('lib/popt')
conf.RECURSE('lib/replace')
+ conf.find_program('python', var='PYTHON')
+ conf.find_program('xsltproc', var='XSLTPROC')
+ conf.check_tool('python')
+ conf.check_python_version((2,4,2))
+ conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=True)
# where does the default LIBDIR end up? in conf.env somewhere?
#