This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Adaptations to the Makefile.PL of Math::BigInt/FastCalc, for core-ification
[perl5.git] / ext / Math / BigInt / FastCalc / Makefile.PL
1 use ExtUtils::MakeMaker;
2
3 my @extra;
4 my $PERL_CORE = grep $_ eq "PERL_CORE=1", @ARGV;
5 push @extra, 'MAN3PODS' => {} if $PERL_CORE;
6 push @extra, 'INSTALLDIRS'  => 'perl' if $] >= 5.00903;
7
8 WriteMakefile(
9     'NAME'              => 'Math::BigInt::FastCalc',
10     'VERSION_FROM'      => 'FastCalc.pm',       # finds $VERSION
11     'PREREQ_PM'         => {
12         Math::BigInt => 1.76,
13     },
14     @extra,
15 );