When configuring with --disable-dependency-tracking, the .deps
directories are not created by config.status so unconditionally
creating files in there will not work.
Making the dependency file generation conditional will avoid this
problem. Add a new test case to cover this issue.