grouping dot files of samelocation

* adding dependencies in configure