Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (31 sloc) 961 Bytes
use strict;
use warnings;
use ExtUtils::MakeMaker;
use Config;
my %args = (
( MM->can( 'signature_target' ) ? ( SIGN => 1 ) : () ),
license( 'perl' ),
NAME => 'Devel::LeakTrace::Fast',
AUTHOR => 'Andy Armstrong <andy@hexten.net>',
VERSION_FROM => 'lib/Devel/LeakTrace/Fast.pm',
ABSTRACT_FROM => 'lib/Devel/LeakTrace/Fast.pm',
PL_FILES => {},
PREREQ_PM => { 'Test::More' => 0, },
LIBS => [''],
DEFINE => '',
INC => '-I. -Isupport',
OBJECT => 'buffer.o hash.o list.o tools.o Fast.o',
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Devel-LeakTrace-Fast-*' },
);
if ( $Config{'ccname'} =~ /gcc/ ) {
$args{CCFLAGS} = '-Wall';
}
WriteMakefile( %args );
sub license {
my $lic = shift;
local $^W = 0; # Silence warning about non-numeric version
return
unless $ExtUtils::MakeMaker::VERSION >= '6.31';
return ( LICENSE => $lic );
}
Something went wrong with that request. Please try again.