Algorithm-ConsistentHash-Ketama
view release on metacpan or search on metacpan
inc/Module/Install/XSUtil.pm view on Meta::CPAN
303132333435363738394041424344454647484950my
%ToInstall
;
my
$UseC99
= 0;
my
$UseCplusplus
= 0;
sub
_verbose{
STDERR
q{# }
,
@_
,
"\n"
;
}
sub
_xs_debugging{
return
$ENV
{XS_DEBUG} ||
scalar
(
grep
{
$_
eq
'-g'
}
@ARGV
);
}
sub
_xs_initialize{
my
(
$self
) =
@_
;
unless
(
$self
->{xsu_initialized}){
$self
->{xsu_initialized} = 1;
if
(!
$self
->cc_available()){
inc/Module/Install/XSUtil.pm view on Meta::CPAN
535455565758596061626364656667686970717273
}
$self
->configure_requires(
%ConfigureRequires
);
$self
->build_requires(
%BuildRequires
);
$self
->requires(
%Requires
);
$self
->makemaker_args->{OBJECT} =
'$(O_FILES)'
;
$self
->clean_files(
'$(O_FILES)'
);
$self
->clean_files(
'*.stackdump'
)
if
$^O eq
'cygwin'
;
if
(
$self
->_xs_debugging()){
# override $Config{optimize}
if
(_is_msvc()){
$self
->makemaker_args->{OPTIMIZE} =
'-Zi'
;
}
else
{
$self
->makemaker_args->{OPTIMIZE} =
'-g -ggdb -g3'
;
}
$self
->cc_define(
'-DXS_ASSERT'
);
}
}
( run in 0.943 second using v1.01-cache-2.11-cpan-95122f20152 )