How to make a module prerequisite in drupal How should i make a module that is prerequisite for an existing module.

For example:

Step 1 : There is comment module in core itself.

Step 2 : In my module i am doing some form alter which affects comment module. Consider my module name as  comment_test.

Step 3 : While enabling comment module my custom module that is comment_test should be as required module.

Step 4 : How can this be done?

Thanks in advance...
using below format in .info file of the module.

dependencies[] = D1
dependencies[] = D2


I the above lines, D1 &amp; D2 represent the names of the modules you module depend on.