summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2020-08-30 12:45:16 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-08-31 23:05:51 -0400
commit74a7fbff5a8f244cd44345bf987e26413bb1989e (patch)
treeffccc7547acd099ca57e8600cc0be285e058103a /aclocal.m4
parent380ef84587fb6890d100c338d1992a6994a4f02a (diff)
downloadhaskell-74a7fbff5a8f244cd44345bf987e26413bb1989e.tar.gz
Limit upper version of Happy for ghc-9.0 and earlier (#18620)
This patch adds the upper bound of a happy version for ghc-9.0 and earlier. Currently, we can't use happy-1.20.0 for ghc-9.0. See #18620.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 78ce4ea9f3..7bcd24077d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1026,6 +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.])])[]
fi
HappyVersion=$fptools_cv_happy_version;
AC_SUBST(HappyVersion)