configure: Avoid requiring c99wrap for working around msys path issues
authorMartin Storsjö <martin@martin.st>
Thu, 14 Nov 2013 09:58:37 +0000 (11:58 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 21 Nov 2013 10:35:24 +0000 (12:35 +0200)
commitea9f7173ae912566e26e9ab7bf89a75b42a72f8d
treeead4a966c18b80ef0cf8dc384b3ef2650df2042c
parenta7b87ca9111bafb220ab94d53ab4e4ed48111800
configure: Avoid requiring c99wrap for working around msys path issues

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: Martin Storsjö <martin@martin.st>
configure