Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/76e72c38d3c6522c3db4215e56704dd5bf3f595e

>---------------------------------------------------------------

commit 76e72c38d3c6522c3db4215e56704dd5bf3f595e
Author: Ian Lynagh <[email protected]>
Date:   Fri Feb 10 01:23:10 2012 +0000

    Fix the build on Windows
    
    WhatGccIsCalled was no longer being defined on Windows.
    Spotted by Niklas Larsson.

>---------------------------------------------------------------

 aclocal.m4 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 7fde632..9447a47 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -2016,6 +2016,9 @@ AC_DEFUN([FIND_GCC],[
         # than the LLVM backend). We prefer the legacy gcc, but in
         # Xcode 4.2 'gcc-4.2' was removed.
         FP_ARG_WITH_PATH_GNU_PROG([$1], [gcc-4.2], [gcc-4.2])
+    elif test "$windows" = YES
+    then
+        $1="$CC"
     else
         FP_ARG_WITH_PATH_GNU_PROG([$1], [$2], [$3])
     fi



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to