代码拉取完成,页面将自动刷新
# This -*- perl -*- script makes the Makefile
BEGIN { require 5.006_001 }
use ExtUtils::MakeMaker;
use Config qw(%Config);
my $PERL_CORE = grep { $_ eq 'PERL_CORE=1' } @ARGV;
#--- Attempt to find <poll.h>
my $define = "";
unless ($PERL_CORE or exists $Config{'i_poll'}) {
my @inc = split(/\s+/, join(" ", $Config{'usrinc'}, $Config{'incpth'}, $Config{'locincpth'}));
foreach $path (@inc) {
if (-f $path . "/poll.h") {
$define .= "-DI_POLL ";
last;
}
}
}
if ($] < 5.008 and !$PERL_CORE) {
open(FH,">typemap");
print FH "const char * T_PV\n";
close(FH);
}
#--- Write the Makefile
WriteMakefile(
VERSION_FROM => "IO.pm",
NAME => "IO",
OBJECT => '$(O_FILES)',
ABSTRACT => 'Perl core IO modules',
AUTHOR => 'Graham Barr <gbarr@cpan.org>',
PREREQ_PM => {
'Test::More' => 0,
},
( $PERL_CORE
? ()
: (
INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
clean => {FILES => 'typemap'},
)
),
($define ? (DEFINE => $define) : ()),
((ExtUtils::MakeMaker->VERSION() gt '6.30') ? ('LICENSE' => 'perl') : ()),
);
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。