TEA (tclconfig) Source Code

View Ticket
Login
Ticket UUID: 31c2e190363de58472169861ad7090d85706c8dd
Title: TEA_INIT does not detect MSYS_NT-10.0 as windows
Type: Bug Version: latest
Submitter: petasis Created on: 2018-06-25 14:50:10
Subsystem: 53. Configuration and Build Tools Assigned To: nobody
Priority: 5 Medium Severity: Important
Status: Open Last Modified: 2018-06-25 14:50:10
Resolution: None Closed By: nobody
    Closed on:
Description:
In line 2751 of tcl.m4 there is a check like:

*win32*|*WIN32*|*MINGW32_*|*MINGW64_*)

This does not include MSYS_NT-10.0. The line should be changed to:

*win32*|*WIN32*|*MINGW32_*|*MINGW64_*|*MSYS_NT*)

MSYS_NT-* will appear if you install MSYS2, but do not install gcc, because you want to use autotools/make with Visual Studio compiler.
In such a case, you run the vcvarsal.bat script, to get a command prompt with the visual studio compiler tools, and then you run bash in that command prompt.

Like:

%comspec% /K "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" && set "MSYS2_PATH_TYPE=inherit" && C:\dev\msys64\usr\bin\bash.exe --login

Then uname -s returns MSYS_NT-10.0.