diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-05-24 14:50:53 -0400 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-06-01 07:42:38 +0000 |
commit | 4098ba71417cca9a899ad7f8b1dbd5b76076352f (patch) | |
tree | c7f843649b895151d48a334e9ce84aec31e6cfd3 | |
parent | 15d42a7a1287b0466ea97bedf71f4a0b161b17b4 (diff) | |
download | haskell-wip/T21633.tar.gz |
configure: Bump minimum bootstrap compiler version to 9.0wip/T21633
Fixes #21633.
-rw-r--r-- | configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 9bcfae04c6..2f3a9f88cb 100644 --- a/configure.ac +++ b/configure.ac @@ -226,8 +226,12 @@ 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.])]) + +dnl ** Check minimum required bootstrap version. N.B. We currently allow +dnl bootstrapping with the last two major releases. +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 |