X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FExtUtils%2FMM_Win95.pm;h=5d5ee1eba7f5a1f4894508ac072b8c33a2ac64a9;hb=e7f779c800b16cb35dd756b0caf53fb5591bd201;hp=68c2ac858813216bd7c4fa247524367244dee986;hpb=f8f79f57f467ffff4d31dc518ce3f6d2364090a0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/lib/ExtUtils/MM_Win95.pm b/lib/ExtUtils/MM_Win95.pm index 68c2ac8..5d5ee1e 100644 --- a/lib/ExtUtils/MM_Win95.pm +++ b/lib/ExtUtils/MM_Win95.pm @@ -1,14 +1,14 @@ package ExtUtils::MM_Win95; use vars qw($VERSION @ISA); -$VERSION = 0.03; +$VERSION = 0.03_01; require ExtUtils::MM_Win32; @ISA = qw(ExtUtils::MM_Win32); use Config; -my $DMAKE = 1 if $Config{'make'} =~ /^dmake/i; -my $NMAKE = 1 if $Config{'make'} =~ /^nmake/i; +my $DMAKE = $Config{'make'} =~ /^dmake/i; +my $NMAKE = $Config{'make'} =~ /^nmake/i; =head1 NAME @@ -125,8 +125,6 @@ The && problem. sub xs_o { my($self) = shift; return '' unless $self->needs_linking(); - # Having to choose between .xs -> .c -> .o and .xs -> .o confuses dmake. - return '' if $DMAKE; ' .xs$(OBJ_EXT): $(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.c @@ -194,6 +192,20 @@ RCLEAN } +=item max_exec_len + +Win98 chokes on things like Encode if we set the max length to nmake's max +of 2K. So we go for a more conservative value of 1K. + +=cut + +sub max_exec_len { + my $self = shift; + + return $self->{_MAX_EXEC_LEN} ||= 1024; +} + + =item os_flavor Win95 and Win98 and WinME are collectively Win9x and Win32 @@ -211,11 +223,11 @@ sub os_flavor { =head1 AUTHOR -Code originally inside MM_Win32. Original author unknown. +Code originally inside MM_Win32. Original author unknown. -Currently maintained by Michael G Schwern . +Currently maintained by Michael G Schwern C. -Send patches and ideas to >. +Send patches and ideas to C. See http://www.makemaker.org.