diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-10 12:09:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-06-10 12:09:30 +0000 |
commit | 844ffccc6b59c74ad2befd50f047a8a4cfbf8465 (patch) | |
tree | 9118654cd1df9f6f171b546dfebb08ec543973ef /ext/Compress | |
parent | f2e5e56948e20feccc483331db17d10a7d20863d (diff) | |
download | perl-844ffccc6b59c74ad2befd50f047a8a4cfbf8465.tar.gz |
Makefile.PL adjustments for the core
p4raw-id: //depot/perl@24788
Diffstat (limited to 'ext/Compress')
-rwxr-xr-x | ext/Compress/Zlib/Makefile.PL | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/Compress/Zlib/Makefile.PL b/ext/Compress/Zlib/Makefile.PL index 2ffe575ddb..b8c2240160 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 <<EOM ; |