Shifted the readline dependency check into dep_check.
Authored by: bugman 2008-06-07
Parent: [r6328]
Child: [r6330]