summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2020-08-30 18:15:44 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-31 23:05:51 -0400
commita4473f02ae2e685601e257b8668bea2ec721b294 (patch)
tree086ab5916f685483a54fd8c7fb0eff1868444809 /aclocal.m4
parent74a7fbff5a8f244cd44345bf987e26413bb1989e (diff)
downloadhaskell-a4473f02ae2e685601e257b8668bea2ec721b294.tar.gz
Limit upper version of Happy for ghc-9.2 (#18620)
This patch adds the upper bound of a happy version for ghc-9.2. Currently, We can use happy-1.19 or happy-1.20 for ghc-9.2. See #18620.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 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)