[libav-devel] [PATCH 2/2] configure: Check whether MSVC supports C99

Luca Barbato lu_zero at gentoo.org
Tue Nov 5 15:12:59 CET 2013


On 05/11/13 15:00, Martin Storsjö wrote:
> MSVC does support most of C99 since the 2013 version. Try to
> detect whether 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.
> 
> Since this only affects the value of cc_default, before the
> compiler itself is detected and set up (and this is ignored if the
> user explicitly set a separate compiler using --cc), we can't use
> the normal check_cc macro.
> ---
>  configure |    9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Seems ok.

lu



More information about the libav-devel mailing list