.C$(obj_ext) removed under OS/2 - conflicts with .c$(obj_ext).
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MakeMaker.pm
index 827cb72..4a856ec 100644 (file)
@@ -2,10 +2,10 @@ BEGIN {require 5.002;} # MakeMaker 5.17 was the last MakeMaker that was compatib
 
 package ExtUtils::MakeMaker;
 
-$Version = $VERSION = "5.34";
+$Version = $VERSION = "5.36";
 $Version_OK = "5.17";  # Makefiles older than $Version_OK will die
                        # (Will be checked from MakeMaker version 4.13 onwards)
-($Revision = substr(q$Revision: 1.202 $, 10)) =~ s/\s+$//;
+($Revision = substr(q$Revision: 1.206 $, 10)) =~ s/\s+$//;
 
 
 
@@ -25,8 +25,9 @@ use vars qw(
           );
 # use strict;
 
-eval {require DynaLoader;};    # Get mod2fname, if defined. Will fail
-                                # with miniperl.
+# &DynaLoader::mod2fname should be available to miniperl, thus 
+# should be a pseudo-builtin (cmp. os2.c).
+#eval {require DynaLoader;};
 
 #
 # Set up the inheritance before we pull in the MM_* packages, because they
@@ -152,7 +153,9 @@ sub ExtUtils::MakeMaker::WriteMakefile ;
 sub ExtUtils::MakeMaker::prompt ;
 
 1;
-#__DATA__
+
+__DATA__
+
 package ExtUtils::MakeMaker;
 
 sub WriteMakefile {
@@ -411,14 +414,14 @@ sub ExtUtils::MakeMaker::new {
        $self->{Correct_relativ_directories}=0;
     }
 
-    my $class = ++$PACKNAME;
+    my $newclass = ++$PACKNAME;
     {
 #      no strict;
-       print "Blessing Object into class [$class]\n" if $Verbose>=2;
-       mv_all_methods("MY",$class);
-       bless $self, $class;
+       print "Blessing Object into class [$newclass]\n" if $Verbose>=2;
+       mv_all_methods("MY",$newclass);
+       bless $self, $newclass;
        push @Parent, $self;
-       @{"$class\:\:ISA"} = 'MM';
+       @{"$newclass\:\:ISA"} = 'MM';
     }
 
     if (defined $Parent[-2]){
@@ -430,7 +433,7 @@ sub ExtUtils::MakeMaker::new {
            $self->{$key} = $self->catdir("..",$self->{$key})
                unless $self->file_name_is_absolute($self->{$key});
        }
-       $self->{PARENT}->{CHILDREN}->{$class} = $self if $self->{PARENT};
+       $self->{PARENT}->{CHILDREN}->{$newclass} = $self if $self->{PARENT};
     } else {
        parse_args($self,@ARGV);
     }