Shifted the dependency checks into a new module.
Authored by: bugman 2008-06-07
Parent: [r6321]
Child: [r6323]