diff options
author | Sadie Powell <sadie@witchery.services> | 2021-02-28 19:32:33 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-02-28 19:32:33 +0000 |
commit | 102c54990c8ae10943f4f0ac36b5e80b7b900268 (patch) | |
tree | 241a435e587da7190f97c23743d4295470cac705 | |
parent | 0144c2363876a220af2148c43ba96ca1a1bd7a0e (diff) |
Warn users of old Perl versions about the upcoming version bump.
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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'; |