• Martin Storsjö's avatar
    configure: Avoid requiring c99wrap for working around msys path issues · ea9f7173
    Martin Storsjö authored
    Msys is unable to convert unix style absolute paths to windows style
    paths when combined with certain multichar MSVC options such as
    -Fo<file>. We used to work around this issue by passing them as two
    separate parameters separated by a space to c99wrap, which then mapped
    them back to the actual parameter format that MSVC uses.
    
    The only paths that actually are an issue are absolute unix style
    paths, and the only place such absolute paths are used with the output
    arguments (-Fo, -Fe, -Fi, -out:) are for the temp files within configure.
    
    By setting TMPDIR to . for msvc/icl builds, we never need to use
    absolute unix style paths for the file output, and we can use the
    actual proper form of the file output parameters. This avoids requiring
    the c99wrap wrapper for remapping the parameters for cases where the
    c99 converter isn't invoked at all (MSVC2013 and ICL).
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    ea9f7173
configure 129 KB