summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2006-09-08 19:17:06 +0000
committerIan Lynagh <igloo@earth.li>2006-09-08 19:17:06 +0000
commit001f1658a20743f843c70e357fd6fe6c260bbd43 (patch)
treefc24a3a361d48f75464372fa9a4cff2c42fc5266 /aclocal.m4
parent91380819349da8d7c18590ec44fab49c9075b26f (diff)
downloadhaskell-001f1658a20743f843c70e357fd6fe6c260bbd43.tar.gz
We now need alex >= 2.0.1
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m47
1 files changed, 3 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index d8023f67cf..ab0ba4322f 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -258,8 +258,7 @@ dnl do without it for now.
dnl
dnl Check for Alex and version. If we're building GHC, then we need
-dnl at least Alex version 2.0. If there's no installed Alex, we look
-dnl for a alex source tree and point the build system at that instead.
+dnl at least Alex version 2.0.1.
dnl
AC_DEFUN([FPTOOLS_ALEX],
[
@@ -276,8 +275,8 @@ changequote([, ])dnl
])
if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs
then
- FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0],
- [AC_MSG_ERROR([Alex version 2.0 or later is required to compile GHC.])])[]dnl
+ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0.1],
+ [AC_MSG_ERROR([Alex version 2.0.1 or later is required to compile GHC.])])[]dnl
fi
AlexVersion=$fptools_cv_alex_version;
AC_SUBST(AlexVersion)