Added the cProfile dependency check.
Authored by: bugman 2011-12-19
Parent: [r15102]
Child: [r15104]