ctdb-scripts: Add test variable CTDB_NFS_DISTRO_STYLE
[vlendec/samba-autobuild/.git] / ctdb / wscript
index 15dd75708f00aebb5aa2fa1fed76ed88f4d3446b..3fa525b564da837b3b82429236129d2d3d2aaf6c 100644 (file)
@@ -140,8 +140,10 @@ def configure(conf):
     if conf.env.standalone_ctdb:
         conf.SAMBA_CHECK_PERL(mandatory=True)
 
-        conf.SAMBA_CHECK_PYTHON(mandatory=False)
-        conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=False)
+        # This is just for consistency and to check the version for the
+        # build system, see Options.options.disable_python = True above
+        conf.SAMBA_CHECK_PYTHON()
+        conf.SAMBA_CHECK_PYTHON_HEADERS()
 
     if conf.CHECK_FOR_THIRD_PARTY():
         conf.RECURSE('third_party/popt')