p4raw-id: //depot/perl@25726
#$WALL = ' -pedantic ' if $Config{'cc'} =~ /gcc/ ;
$WALL = ' -Wall ' if $Config{'cc'} =~ /gcc/ ;
+my $PERL_CORE = 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} || $PERL_CORE))
{
print <<EOM ;
glob("lib/File/*.pm"),
grep(!/\.bak$/, glob("examples/*"))) ;
-my $PERL_CORE = grep { $_ eq 'PERL_CORE=1' } @ARGV;
UpDowngrade(@files) unless $PERL_CORE;
WriteMakefile(