summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-06-09 13:38:22 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-10-18 03:36:15 -0400
commitf60244d7b24a595e9eb68ee3254bbe52fc00fdb8 (patch)
tree7c54c104c18f84dad4ea212e1967f168bbdba254
parent9ecd1ac03d9cd2eea8e2b50233a08fd3d9cca7c7 (diff)
downloadhaskell-f60244d7b24a595e9eb68ee3254bbe52fc00fdb8.tar.gz
configure: Bump minimum bootstrap GHC version
Fixes #22245
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 28f954a9a3..5f0a812e48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -224,8 +224,9 @@ if test "$WithGhc" = ""
then
AC_MSG_ERROR([GHC is required.])
fi
-FP_COMPARE_VERSIONS([$GhcVersion],[-lt],[8.10],
- [AC_MSG_ERROR([GHC version 8.10 or later is required to compile GHC.])])
+MinBootGhcVersion="9.0"
+FP_COMPARE_VERSIONS([$GhcVersion],[-lt],[$MinBootGhcVersion],
+ [AC_MSG_ERROR([GHC version $MinBootGhcVersion or later is required to compile GHC.])])
if test `expr $GhcMinVersion % 2` = "1"
then