From 102c54990c8ae10943f4f0ac36b5e80b7b900268 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 28 Feb 2021 19:32:33 +0000 Subject: [PATCH] Warn users of old Perl versions about the upcoming version bump. --- configure | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/configure b/configure index 10c75ce35..a980aee98 100755 --- a/configure +++ b/configure @@ -299,6 +299,15 @@ and crashes. Please consider using a different OS like FreeBSD/NetBSD instead. EOW } +# Warn about Perl versions that will not be supported in the future. +if ($^V lt 'v5.26.0') { + print_warning <<"EOW"; +You are building InspIRCd with Perl $^V. This is very old and will +not be supported by the next major version of InspIRCd. Please consider updating +to Perl v5.26 or newer. +EOW +} + # Check that the user actually wants this version. if (defined $version{REAL_LABEL}) { print_warning <<'EOW'; -- 2.39.2