smbd: Use leases_db in lease_match()
[gd/samba-autobuild/.git] / wscript
diff --git a/wscript b/wscript
index 4a5fc421baa29b0de224aa63f4aa3c03bc752784..47fc2ba24605ac4053744a35c0e2434bf621de88 100644 (file)
--- a/wscript
+++ b/wscript
@@ -151,8 +151,8 @@ def configure(conf):
         if not (Options.options.without_ad_dc):
             raise Errors.WafError('--disable-python requires --without-ad-dc')
 
-    conf.SAMBA_CHECK_PYTHON(mandatory=True, version=(2, 6, 0))
-    conf.SAMBA_CHECK_PYTHON_HEADERS(mandatory=(not conf.env.disable_python))
+    conf.SAMBA_CHECK_PYTHON()
+    conf.SAMBA_CHECK_PYTHON_HEADERS()
 
     if sys.platform == 'darwin' and not conf.env['HAVE_ENVIRON_DECL']:
         # Mac OSX needs to have this and it's also needed that the python is compiled with this