summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-06-09 13:38:22 -0400
committerMatthew Pickering <matthewtpickering@gmail.com>2022-10-12 21:15:22 +0100
commit94584671e69a170cc3121d16a5fa1a693be143af (patch)
tree78c7e1fbb194a63c566ce8d4a9ffef300f53851e
parent27978ceb649e929df29a94e98916c341169395af (diff)
downloadhaskell-wip/configure-9.0-check.tar.gz
configure: Bump minimum bootstrap GHC versionwip/configure-9.0-check
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