build: Standardise on calling conf.SAMBA_CHECK_PYTHON() in libraries
authorAndrew Bartlett <abartlet@samba.org>
Fri, 15 Feb 2019 03:13:48 +0000 (16:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 21 Mar 2019 04:06:16 +0000 (04:06 +0000)
commita574e8f51706809fff4b77ff098b28ba1a7d4103
treee97251182fa1d94bf22ab13823691c2dcff68c44
parenta459650054b5500026b6387fb0eb2ef29ced9b5f
build: Standardise on calling conf.SAMBA_CHECK_PYTHON() in libraries

We do this by removing the confusing mandatory option to
conf.SAMBA_CHECK_PYTHON{,_HEADERS}(), instead just use the value of
--disable-python internally

This follows the default minimum of Python 3.4 and keeps things consistent
with the main Samba build where --disable-python is required to skip building
python bindings.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
buildtools/wafsamba/samba_python.py
ctdb/wscript
lib/ldb/wscript
lib/talloc/wscript
lib/tdb/wscript
lib/tevent/wscript
wscript