summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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