Upgrade to ExtUtils-Manifest-1.49.
[p5sagit/p5-mst-13.2.git] / lib / ExtUtils / MM_Cygwin.pm
index 120e1bb..9dc6e2e 100644 (file)
@@ -3,14 +3,14 @@ package ExtUtils::MM_Cygwin;
 use strict;
 use vars qw($VERSION @ISA);
 
-use Config;
+use ExtUtils::MakeMaker::Config;
 use File::Spec;
 
 require ExtUtils::MM_Any;
 require ExtUtils::MM_Unix;
 @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix );
 
-$VERSION = 1.05;
+$VERSION = '1.09';
 
 
 =head1 NAME
@@ -27,7 +27,17 @@ See ExtUtils::MM_Unix for a documentation of the methods provided there.
 
 =over 4
 
-=item cflags (o)
+=item os_flavor
+
+We're Unix and Cygwin.
+
+=cut
+
+sub os_flavor {
+    return('Unix', 'Cygwin');
+}
+
+=item cflags
 
 if configured for dynamic loading, triggers #define EXT in EXTERN.h
 
@@ -53,7 +63,7 @@ PERLTYPE = $self->{PERLTYPE}
 }
 
 
-=item replace_manpage_separator (o)
+=item replace_manpage_separator
 
 replaces strings '::' with '.' in MAN*POD man page names
 
@@ -76,7 +86,7 @@ sub init_linker {
 
     if ($Config{useshrplib} eq 'true') {
         my $libperl = '$(PERL_INC)' .'/'. "$Config{libperl}";
-        if( $] >= 5.007 ) {
+        if( $] >= 5.006002 ) {
             $libperl =~ s/a$/dll.a/;
         }
         $self->{PERL_ARCHIVE} = $libperl;