[commit: ghc] master: More Win64 aclocal fixes (3ed3073)
Ian Lynagh
igloo at earth.li
Sat Mar 17 17:06:16 CET 2012
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/3ed307306fafb56c4246d9baae0d1aa5159dbbad
>---------------------------------------------------------------
commit 3ed307306fafb56c4246d9baae0d1aa5159dbbad
Author: Ian Lynagh <igloo at earth.li>
Date: Thu Mar 15 19:42:00 2012 +0000
More Win64 aclocal fixes
>---------------------------------------------------------------
aclocal.m4 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/aclocal.m4 b/aclocal.m4
index f4a470a..21a6a57 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}"`
More information about the Cvs-ghc
mailing list