Shifted some dependency checks into the dep_check module.
Authored by: bugman 2008-06-07
Parent: [r6326]
Child: [r6328]