summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-12-05 12:37:52 +0000
committerIan Lynagh <ian@well-typed.com>2012-12-05 13:13:10 +0000
commit95d8658acc946f9a043ef62976d0514c0f1f449e (patch)
tree157f67fef2c0a56df53d668de38eba5a46af479f /aclocal.m4
parent431e80471d0f0f9003fc854c952a6c1d1ac297ea (diff)
downloadhaskell-95d8658acc946f9a043ef62976d0514c0f1f449e.tar.gz
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.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 78e758e2d4..127f528f3e 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