build: on the fly dependency checking
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Mar 2010 09:21:26 +0000 (20:21 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Apr 2010 10:26:36 +0000 (20:26 +1000)
lib/replace/wafsamba.py
source4/wscript_build

index bb52b90df9395b30d91b353691d81ab6a5980d5f..8596dfb37bee6a8a65ed63308d93cbd7bdbe1612 100644 (file)
@@ -199,18 +199,6 @@ def CHECK_TARGET_DEPENDENCY(bld, target):
     cache = BUILD_CACHE(bld, 'LIB_DEPS')
     FULL_DEPENDENCIES(bld, cache, target, { target:True }, target)
 
-############################################################
-# check our build dependencies for circular dependencies
-def CHECK_DEPENDENCIES(bld):
-    cache = BUILD_CACHE(bld, 'LIB_DEPS')
-    print "Checking for circular dependencies"
-    for target in cache:
-        CHECK_TARGET_DEPENDENCY(bld, target)
-    print "No circular dependencies"
-
-Build.BuildContext.CHECK_DEPENDENCIES = CHECK_DEPENDENCIES
-
-
 ################################################################
 # add to the dependency list. Return a new dependency list with
 # any circular dependencies removed
index e6841f3aec09b3ca5f3b8ac3ecbaca7780d34b90..9fdc6b9ecf207a4a5aeeec9ea9ed837dce67d286 100644 (file)
@@ -62,6 +62,3 @@ bld.BUILD_SUBDIR('../libcli/drsuapi')
 bld.BUILD_SUBDIR('../libcli/samsync')
 bld.BUILD_SUBDIR('../libgpo')
 bld.BUILD_SUBDIR('../libcli/named_pipe_auth')
-
-# check if we have any circular build dependencies
-bld.CHECK_DEPENDENCIES()