Commit 001f1658 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

We now need alex >= 2.0.1

parent 91380819
...@@ -258,8 +258,7 @@ dnl do without it for now. ...@@ -258,8 +258,7 @@ dnl do without it for now.
dnl dnl
dnl Check for Alex and version. If we're building GHC, then we need 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 at least Alex version 2.0.1.
dnl for a alex source tree and point the build system at that instead.
dnl dnl
AC_DEFUN([FPTOOLS_ALEX], AC_DEFUN([FPTOOLS_ALEX],
[ [
...@@ -276,8 +275,8 @@ changequote([, ])dnl ...@@ -276,8 +275,8 @@ changequote([, ])dnl
]) ])
if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs
then then
FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0], FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[2.0.1],
[AC_MSG_ERROR([Alex version 2.0 or later is required to compile GHC.])])[]dnl [AC_MSG_ERROR([Alex version 2.0.1 or later is required to compile GHC.])])[]dnl
fi fi
AlexVersion=$fptools_cv_alex_version; AlexVersion=$fptools_cv_alex_version;
AC_SUBST(AlexVersion) AC_SUBST(AlexVersion)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment