diff options
-rw-r--r-- | aclocal.m4 | 4 | ||||
-rw-r--r-- | hadrian/hadrian.cabal | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 7bcd24077d..f246301cba 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1026,8 +1026,8 @@ if test ! -f compiler/GHC/Parser.hs || test ! -f compiler/GHC/Cmm/Parser.hs then FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-lt],[1.19.10], [AC_MSG_ERROR([Happy version 1.19.10 or later is required to compile GHC.])])[] - FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-ge],[1.20.0], - [AC_MSG_ERROR([Happy version 1.19 is required to compile GHC.])])[] + FP_COMPARE_VERSIONS([$fptools_cv_happy_version],[-ge],[1.21.0], + [AC_MSG_ERROR([Happy version 1.20 or earlier is required to compile GHC.])])[] fi HappyVersion=$fptools_cv_happy_version; AC_SUBST(HappyVersion) diff --git a/hadrian/hadrian.cabal b/hadrian/hadrian.cabal index be3b88b7fa..2ed090eebd 100644 --- a/hadrian/hadrian.cabal +++ b/hadrian/hadrian.cabal @@ -148,7 +148,7 @@ executable hadrian , transformers >= 0.4 && < 0.6 , unordered-containers >= 0.2.1 && < 0.3 build-tools: alex >= 3.1 - , happy >= 1.19.10 && < 1.20 + , happy >= 1.19.10 && < 1.21 ghc-options: -Wall -Wincomplete-record-updates -Wredundant-constraints |