https://bugs.winehq.org/show_bug.cgi?id=29569
--- Comment #3 from Carlo Bramini carlo.bramix@libero.it --- This defect still happens, but I would suggest to close it as won't fix. MSYS includes a patched copy of bash 3.0 and it is too limited to compile successfully WINE.
If you want to compile WINE on Windows, you can do it in other ways: - with MSYS2 - with CYGWIN as native POSIX application. - with CYGWIN as native WIN32 application by doing a cross compilation.
Although the configure script needs few improvements, there are other options. The old MSYS, with its limitations and also missing tools, is simply not powerful enough for this purpose.