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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/95d8658acc946f9a043ef62976d0514c0f1f449e

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

commit 95d8658acc946f9a043ef62976d0514c0f1f449e
Author: Ian Lynagh <i...@well-typed.com>
Date:   Wed Dec 5 12:37:52 2012 +0000

    In FP_GCC_VERSION, test $CC not $GCC
    
    $GCC is empty when autoreconf 2.56 or 2.59 is used, although it works
    with 2.67. If testing $GCC with 2.5* worked in the past then I'm not
    sure when/why it broke.

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

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

diff --git a/aclocal.m4 b/aclocal.m4
index 78e758e..127f528 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1049,7 +1049,7 @@ fi
 # output variable GccVersion.
 AC_DEFUN([FP_GCC_VERSION],
 [AC_REQUIRE([AC_PROG_CC])
-if test -z "$GCC"
+if test -z "$CC"
 then
   AC_MSG_ERROR([gcc is required])
 fi



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to