s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.
authorGünther Deschner <gd@samba.org>
Tue, 22 Feb 2011 19:43:23 +0000 (20:43 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 22 Feb 2011 20:52:19 +0000 (21:52 +0100)
Guenther

source3/wscript

index ea68959c1ceaf026458fa2dccd1392c2d742c50b..baaeaf506c4940bedfce03a78535d654fcb954bf 100644 (file)
@@ -1295,6 +1295,9 @@ main() {
                    addmain=False,
                    execute=True)
 
+    if os.environ.get('RUN_FROM_BUILD_FARM') is not None:
+        conf.define('ENABLE_BUILD_FARM_HACKS', '1')
+
     default_static_modules=TO_LIST('''pdb_smbpasswd pdb_tdbsam pdb_wbc_sam
                                       auth_sam auth_unix auth_winbind auth_wbc auth_server
                                       auth_domain auth_builtin vfs_default