]> git.sesse.net Git - ffmpeg/commit
configure: Check whether MSVC requires using the C89-to-C99 converter
authorMartin Storsjö <martin@martin.st>
Mon, 4 Nov 2013 13:46:34 +0000 (15:46 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 13 Nov 2013 18:55:11 +0000 (20:55 +0200)
commit16381923fb7b9087ce559fb1cd3594469ac6788b
treec315e7800cb12d4ef3d65ef727fdf544cb45aab4
parent45ef963908f5ccc63161d4c3479ba8f2a56a7705
configure: Check whether MSVC requires using the C89-to-C99 converter

MSVC does support enough of C99 to work without the converter since
the 2013 version. Try to detect which version of the compiler in
the path needs to run the C99 converter or not. When the converter
is omitted, compilation time is reduced quite drastically.

Prior to this, users could still use --cc="c99conv -noconv cl"
when running MSVC 2013 to achieve the same.

This checks the version number instead of doing a normal compile
test, since this check needs to be done earlier in configure, before
the normal compile test helpers are usable.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure