To add add dependencies to Drupal modules you have to open your modules .info file. Add new line "dependencies[] = module_machine_name" and you are done.
Source code viewer
;add this line to .info file of your module dependencies[] = module_machine_nameProgramming Language: INI