diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-04-05 13:12:22 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-04-05 13:12:22 +0000 |
commit | 2a0418c90d450ce493720b3f4a93825f269e8f36 (patch) | |
tree | 20eba44f465ad8e5cc4d45b368118e283765a79d /ext/Math | |
parent | 062a4e99bd9f115e70072d0742b94c62da85ba80 (diff) | |
download | perl-2a0418c90d450ce493720b3f4a93825f269e8f36.tar.gz |
Adaptations to the Makefile.PL of Math::BigInt/FastCalc, for core-ification
p4raw-id: //depot/perl@24159
Diffstat (limited to 'ext/Math')
-rw-r--r-- | ext/Math/BigInt/FastCalc/Makefile.PL | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/Math/BigInt/FastCalc/Makefile.PL b/ext/Math/BigInt/FastCalc/Makefile.PL index aa7e1731be..d14c17b0ab 100644 --- a/ext/Math/BigInt/FastCalc/Makefile.PL +++ b/ext/Math/BigInt/FastCalc/Makefile.PL @@ -1,15 +1,15 @@ use ExtUtils::MakeMaker; +my @extra; +my $PERL_CORE = grep $_ eq "PERL_CORE=1", @ARGV; +push @extra, 'MAN3PODS' => {} if $PERL_CORE; +push @extra, 'INSTALLDIRS' => 'perl' if $] >= 5.00903; + WriteMakefile( 'NAME' => 'Math::BigInt::FastCalc', 'VERSION_FROM' => 'FastCalc.pm', # finds $VERSION 'PREREQ_PM' => { Math::BigInt => 1.76, - }, - 'LIBS' => [''], # e.g., '-lm' - 'DEFINE' => '', # e.g., '-DHAVE_SOMETHING' - # Insert -I. if you add *.h files later: - 'INC' => '', # e.g., '-I/usr/include/other' - # Un-comment this if you add C files to link with later: - # 'OBJECT' => '$(O_FILES)', # link all the C files too + }, + @extra, ); |