use
5.010000;
my
%WriteMakefileArgs
= (
"ABSTRACT"
=>
"Optional PDF::API2 add-on using XS to speed up expensive operations"
,
"AUTHOR"
=>
"Rob Scovell <robscovell\@48hc.com>"
,
"CONFIGURE_REQUIRES"
=> {
"ExtUtils::MakeMaker"
=> 0
},
"DISTNAME"
=>
"PDF-API2-XS"
,
"LICENSE"
=>
"lgpl"
,
"MIN_PERL_VERSION"
=>
"5.010000"
,
"NAME"
=>
"PDF::API2::XS"
,
"PREREQ_PM"
=> {},
"TEST_REQUIRES"
=> {
"PDF::API2"
=> 0
},
"VERSION"
=>
"1.000"
,
"test"
=> {
"TESTS"
=>
"t/*.t"
}
);
%WriteMakefileArgs
= (
%WriteMakefileArgs
,
CCFLAGS
=>
'-Wall -std=c99'
,
OPTIMIZE
=>
'-Ofast'
,
XSMULTI
=> 1,
);
my
%FallbackPrereqs
= (
"PDF::API2"
=> 0
);
unless
(
eval
{ ExtUtils::MakeMaker->VERSION(
'6.63_03'
) } ) {
delete
$WriteMakefileArgs
{TEST_REQUIRES};
delete
$WriteMakefileArgs
{BUILD_REQUIRES};
$WriteMakefileArgs
{PREREQ_PM} = \
%FallbackPrereqs
;
}
delete
$WriteMakefileArgs
{CONFIGURE_REQUIRES}
unless
eval
{ ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(
%WriteMakefileArgs
);