X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=Makefile.PL;fp=Makefile.PL;h=a4bd42e8b3d0a7a452e3967edeea79052e8288c2;hb=6db3edecb6ba3be691816c4c16f623227159a832;hp=d541a7c00c1f6e49cd582573d44098b1b4c6e023;hpb=19ceb01c62fe9269004922f195cdbd0320365b05;p=perl%2Fmodules%2FVariable-Magic.git diff --git a/Makefile.PL b/Makefile.PL index d541a7c..a4bd42e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -42,9 +42,10 @@ if ($^V eq v5.8.8) { print $is_as ? "yes\n" : "no\n"; my $is_5110rel = 0; -print "Checking if this is a released perl 5.11.0... "; -if ($^V eq v5.11.0 and not defined $pl) { +print "Checking if this is a released perl 5.11.0 or higher... "; +if ($^V ge v5.11.0 and not defined $pl) { my $describe = $Config{git_describe}; + # An empty 'describe' is fine if (defined $describe and $describe !~ /^GitLive-/) { $is_5110rel = 1; push @DEFINES, '-DVMG_COMPAT_ARRAY_PUSH_NOLEN=0';