]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Warn users of old Perl versions about the upcoming version bump.
authorSadie Powell <sadie@witchery.services>
Sun, 28 Feb 2021 19:32:33 +0000 (19:32 +0000)
committerSadie Powell <sadie@witchery.services>
Sun, 28 Feb 2021 19:32:33 +0000 (19:32 +0000)
configure

index 10c75ce35196b556915425de465e7f27aa057fc1..a980aee98c3fa53232e87e51c258b37782d6d128 100755 (executable)
--- 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';