The changes look fine to me except the debug fun (`cat config.log` in scripts/cross-build-mingw.sh)
Do you see a problem with it? I only output it when configure fails, which helps getting more info when running on
I missed the point that it is only printed on errors. So it is perfectly fine.
What about merging this PR already? I guess in master we will get a broader testing and since the current release cycle is going to end soon, it could help to find any issues (if any).
(Even if the nightly builds for Windows will fail then. Either we can fix this or we just live with the fact.)