This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make MM_MacOS work with new MakeMaker
authorChris Nandor <pudge@pobox.com>
Wed, 24 Apr 2002 18:14:05 +0000 (18:14 +0000)
committerChris Nandor <pudge@pobox.com>
Wed, 24 Apr 2002 18:14:05 +0000 (18:14 +0000)
p4raw-id: //depot/macperl@16140

macos/lib/ExtUtils/MM_MacOS.pm

index 33a21d9..aeb51f4 100644 (file)
@@ -6,7 +6,9 @@
 #   Author:  Matthias Neeracher <neeracher@mac.com>
 
 package ExtUtils::MM_MacOS;
-unshift @MM::ISA, 'ExtUtils::MM_MacOS';
+require ExtUtils::MM_Any;
+require ExtUtils::MM_Unix;
+@ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
 
 use Config;
 use Cwd 'cwd';
@@ -170,6 +172,18 @@ sub skipcheck {
     return '';
 }
 
+=item maybe_command
+
+Returns true, if the argument is likely to be a command.
+
+=cut
+
+sub maybe_command {
+    my($self,$file) = @_;
+    return $file if ! -d $file;
+    return;
+}
+
 =item guess_name
 
 Guess the name of this package by examining the working directory's