From: Rafael Garcia-Suarez Date: Fri, 10 Jun 2005 12:09:30 +0000 (+0000) Subject: Makefile.PL adjustments for the core X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=844ffccc6b59c74ad2befd50f047a8a4cfbf8465;p=p5sagit%2Fp5-mst-13.2.git Makefile.PL adjustments for the core p4raw-id: //depot/perl@24788 --- diff --git a/ext/Compress/Zlib/Makefile.PL b/ext/Compress/Zlib/Makefile.PL index 2ffe575..b8c2240 100755 --- a/ext/Compress/Zlib/Makefile.PL +++ b/ext/Compress/Zlib/Makefile.PL @@ -25,8 +25,12 @@ my $OLD_ZLIB = '' ; my $WALL = ''; #$WALL = ' -Wall '; +unless($ENV{PERL_CORE}) { + $ENV{PERL_CORE} = 1 if grep { $_ eq 'PERL_CORE=1' } @ARGV; +} + # don't ask if MM_USE_DEFAULT is set -- enables perl core building on cygwin -if ($^O =~ /cygwin/i and not $ENV{PERL_MM_USE_DEFAULT}) +if ($^O =~ /cygwin/i and not $ENV{PERL_MM_USE_DEFAULT} and not $ENV{PERL_CORE}) { print <