configure: Fix building under the MSYS shell

This commit is contained in:
JHammler
2020-06-15 21:57:16 +02:00
committed by Anton Mitrofanov
parent 235ce61301
commit d1fee1e052
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -811,7 +811,7 @@ EOF
*:MINGW*:*)
echo ${UNAME_MACHINE}-pc-mingw32
exit ;;
i*:MSYS*:*)
*:MSYS*:*)
echo ${UNAME_MACHINE}-pc-msys
exit ;;
i*:windows32*:*)
Vendored
+1 -1
View File
@@ -574,7 +574,7 @@ trap 'rm -rf conftest*' EXIT
# test for use of compilers that require specific handling
cc_base="$(basename "$CC")"
QPRE="-"
if [[ $host_os = mingw* || $host_os = cygwin* ]]; then
if [[ $host_os = mingw* || $host_os = msys* || $host_os = cygwin* ]]; then
if [[ "$cc_base" = icl || "$cc_base" = icl[\ .]* ]]; then
# Windows Intel Compiler creates dependency generation with absolute Windows paths, Cygwin's make does not support Windows paths.
[[ $host_os = cygwin* ]] && die "Windows Intel Compiler support requires MSYS"