diff options
author | Ian Lynagh <igloo@earth.li> | 2012-03-15 19:42:00 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-03-15 19:42:00 +0000 |
commit | 3ed307306fafb56c4246d9baae0d1aa5159dbbad (patch) | |
tree | 6743bf9a3859baf1faf43def1f259ed901800ab0 /aclocal.m4 | |
parent | aff6b8470f2833587e668148aadb78a841604399 (diff) | |
download | haskell-3ed307306fafb56c4246d9baae0d1aa5159dbbad.tar.gz |
More Win64 aclocal fixes
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index f4a470a826..21a6a57243 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -783,9 +783,9 @@ dnl AC_DEFUN([FPTOOLS_HAPPY], [AC_PATH_PROG(HappyCmd,happy,) # Happy is passed to Cabal, so we need a native path -if test "x$HostPlatform" = "xi386-unknown-mingw32" && \ - test "${OSTYPE}" != "msys" && \ - test "${HappyCmd}" != "" +if test "$HostOS" = "mingw32" && \ + test "${OSTYPE}" != "msys" && \ + test "${HappyCmd}" != "" then # Canonicalise to <drive>:/path/to/gcc HappyCmd=`cygpath -m "${HappyCmd}"` @@ -819,9 +819,9 @@ AC_DEFUN([FPTOOLS_ALEX], [ AC_PATH_PROG(AlexCmd,alex,) # Alex is passed to Cabal, so we need a native path -if test "x$HostPlatform" = "xi386-unknown-mingw32" && \ - test "${OSTYPE}" != "msys" && \ - test "${AlexCmd}" != "" +if test "$HostOS" = "mingw32" && \ + test "${OSTYPE}" != "msys" && \ + test "${AlexCmd}" != "" then # Canonicalise to <drive>:/path/to/gcc AlexCmd=`cygpath -m "${AlexCmd}"` |