• Martin Storsjö's avatar
    configure: Check whether MSVC requires using the C89-to-C99 converter · 16381923
    Martin Storsjö authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    16381923
configure 130 KB