Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (22 sloc) 0.712 kb
use ExtUtils::MakeMaker;
use Config;
use English;
my $libs = "-lexpat";
my @extras = ();
push(@extras, INC => "-I$expat_incpath") if $expat_incpath;
$libs = "-L$expat_libpath $libs" if $expat_libpath;
push(@extras, CAPI => 'TRUE')
if (($PERL_VERSION >= 5.005) and ($OSNAME eq 'MSWin32')
and ($Config{archname} =~ /-object\b/i));
push(@extras,
ABSTRACT => "Lowlevel access to James Clark's expat XML parser",
AUTHOR => 'Matt Sergeant (matt@sergeant.org)')
if ($ExtUtils::MakeMaker::VERSION >= 5.4301);
WriteMakefile(
NAME => 'XML::Parser::Expat',
C => ['Expat.c'],
LIBS => $libs,
XSPROTOARG => '-noprototypes',
VERSION_FROM => 'Expat.pm',
@extras
);
Jump to Line
Something went wrong with that request. Please try again.