summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-02-28 19:32:33 +0000
committerSadie Powell <sadie@witchery.services>2021-02-28 19:32:33 +0000
commit102c54990c8ae10943f4f0ac36b5e80b7b900268 (patch)
tree241a435e587da7190f97c23743d4295470cac705
parent0144c2363876a220af2148c43ba96ca1a1bd7a0e (diff)
Warn users of old Perl versions about the upcoming version bump.
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
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';