configure: Fix building under the MSYS shell
This commit is contained in:
committed by
Anton Mitrofanov
parent
235ce61301
commit
d1fee1e052
Vendored
+1
-1
@@ -811,7 +811,7 @@ EOF
|
||||
*:MINGW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-mingw32
|
||||
exit ;;
|
||||
i*:MSYS*:*)
|
||||
*:MSYS*:*)
|
||||
echo ${UNAME_MACHINE}-pc-msys
|
||||
exit ;;
|
||||
i*:windows32*:*)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user