Fix dependency generation with ccache/gcc
authorMåns Rullgård <mans@mansr.com>
Mon, 10 Aug 2009 17:25:46 +0000 (17:25 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 10 Aug 2009 17:25:46 +0000 (17:25 +0000)
commitaef6bd1bdd532dfdc8ecb45a012205953dbb13a2
tree6de84db7f2806b2f213365f6159e70e18aeb8c26
parent8f0c157aaa554463c208209b974d2083dc21450a
Fix dependency generation with ccache/gcc

When running behind ccache, the output from -MMD is corrupted unless
we also use the -MF and -MT flags.

Since ccache is difficult to detect and gcc 2.x doesn't support the
-MF and -MT flags, we always use the old dependency generation method
when gcc 2.x is detected.

Originally committed as revision 19620 to svn://svn.ffmpeg.org/ffmpeg/trunk
configure