diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 18e0d7e5b3..447fd6119f 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -958,16 +958,10 @@ else fi; changequote([, ])dnl ]) -FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-ge],[3.0], - [Alex3=YES],[Alex3=NO]) -if test ! -f compiler/cmm/CmmLex.hs || test ! -f compiler/parser/Lexer.hs -then - FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.0], - [AC_MSG_ERROR([Alex version 3.1.0 or later is required to compile GHC.])])[] -fi +FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7], + [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[] AlexVersion=$fptools_cv_alex_version; AC_SUBST(AlexVersion) -AC_SUBST(Alex3) ]) |