From: Nick Ing-Simmons Date: Thu, 29 Mar 2001 15:47:15 +0000 (+0000) Subject: Make sure buildext.pl finds Errno.pm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0026721a5b588a091ec5fe2016e8d00b8be712ab;p=p5sagit%2Fp5-mst-13.2.git Make sure buildext.pl finds Errno.pm p4raw-id: //depot/perlio@9448 --- diff --git a/win32/buildext.pl b/win32/buildext.pl index 6e64b91..0563619 100644 --- a/win32/buildext.pl +++ b/win32/buildext.pl @@ -26,7 +26,7 @@ foreach my $dir (sort keys %ext) my $mmod = -M 'Makefile'; if (!(-f 'Makefile') || $mmod > $dmod) { - print "\nMakefile.PL in $dir ($mmod > $dmod)\n"; + print "\nRunning Makefile.PL in $dir\n"; my $code = system($perl,"-I$here\\..\lib",'Makefile.PL','INSTALLDIRS=perl'); warn "$code from $dir's Makefile.PL" if $code; $mmod = -M 'Makefile'; @@ -47,7 +47,7 @@ foreach my $dir (sort keys %ext) sub find_xs { - if (/^(.*)\.pm$/i) + if (/^(.*)\.pm$/i || /^(.*)_pm.PL$/i) { my $name = $1; return if $name =~ $no;