aboutsummaryrefslogtreecommitdiffstats
path: root/erts/aclocal.m4
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-11-12 10:28:32 +0100
committerDan Gudmundsson <[email protected]>2015-11-12 10:28:32 +0100
commitb179d2bfb775b12e51ceefca9a8bc63dc2260f54 (patch)
tree3a3f961c6c243e18e65dcda3e1baa59fdb12eeb1 /erts/aclocal.m4
parent98e1d3394514181648c64ab9e5f7a1af2573d658 (diff)
downloadotp-b179d2bfb775b12e51ceefca9a8bc63dc2260f54.tar.gz
otp-b179d2bfb775b12e51ceefca9a8bc63dc2260f54.tar.bz2
otp-b179d2bfb775b12e51ceefca9a8bc63dc2260f54.zip
win32: Fix mixed cygwin and msys configure tests
And test for mixed msys in emulator
Diffstat (limited to 'erts/aclocal.m4')
-rw-r--r--erts/aclocal.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/erts/aclocal.m4 b/erts/aclocal.m4
index 390d6cfc4d..3d52538933 100644
--- a/erts/aclocal.m4
+++ b/erts/aclocal.m4
@@ -142,18 +142,18 @@ MIXED_MSYS=no
AC_MSG_CHECKING(for mixed cygwin or msys and native VC++ environment)
if test "X$host" = "Xwin32" -a "x$GCC" != "xyes"; then
- if test -x /usr/bin/cygpath; then
- CFLAGS="-O2"
- MIXED_CYGWIN=yes
- AC_MSG_RESULT([Cygwin and VC])
- MIXED_CYGWIN_VC=yes
- CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_VC"
- elif test -x /usr/bin/msysinfo; then
+ if test -x /usr/bin/msys-?.0.dll; then
CFLAGS="-O2"
MIXED_MSYS=yes
AC_MSG_RESULT([MSYS and VC])
MIXED_MSYS_VC=yes
CPPFLAGS="$CPPFLAGS -DERTS_MIXED_MSYS_VC"
+ elif test -x /usr/bin/cygpath; then
+ CFLAGS="-O2"
+ MIXED_CYGWIN=yes
+ AC_MSG_RESULT([Cygwin and VC])
+ MIXED_CYGWIN_VC=yes
+ CPPFLAGS="$CPPFLAGS -DERTS_MIXED_CYGWIN_VC"
else
AC_MSG_RESULT([undeterminable])
AC_MSG_ERROR(Seems to be mixed windows but not with cygwin, cannot handle this!)