use gcc -MM to generate dependencies.
change a configure arguments example.