diff options
author | Alexandr Ciornii <alexchorny@gmail.com> | 2013-02-07 13:05:21 +0200 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2013-06-24 11:11:11 +1000 |
commit | ea80267dedd60432aa28c94fa4ce7afe4792ec92 (patch) | |
tree | 34bf336237d444650f3947b8b32cd83786eff58e /utils | |
parent | ddb9ea59505fa7d0c27317408acfcc23aa465837 (diff) | |
download | perl-ea80267dedd60432aa28c94fa4ce7afe4792ec92.tar.gz |
h2xs: remove useless compatibility code (VERSION_FROM requires EU::MM from perl 5.5)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/h2xs.PL | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/utils/h2xs.PL b/utils/h2xs.PL index afbc6dc244..0abf194fd8 100644 --- a/utils/h2xs.PL +++ b/utils/h2xs.PL @@ -1929,11 +1929,10 @@ use ExtUtils::MakeMaker; # the contents of the Makefile that is written. WriteMakefile( NAME => '$module', - VERSION_FROM => '$modpmname', # finds \$VERSION + VERSION_FROM => '$modpmname', # finds \$VERSION, requires EU::MM from perl >= 5.5 PREREQ_PM => {$prereq_pm}, # e.g., Module::Name => 1.1 - (\$] >= 5.005 ? ## Add these new keywords supported since 5.005 - (ABSTRACT_FROM => '$modpmname', # retrieve abstract from module - AUTHOR => '$author <$email>') : ()), + ABSTRACT_FROM => '$modpmname', # retrieve abstract from module + AUTHOR => '$author <$email>', END if (!$opt_X) { # print C stuff, unless XS is disabled $opt_F = '' unless defined $opt_F; |