use strict;
use Config;
$VERSION = 1.06;
=head1 NAME
ExtUtils::MM_Cygwin - methods to override UN*X behaviour in ExtUtils::MakeMaker
=head1 SYNOPSIS
use ExtUtils::MM_Cygwin; # Done internally by ExtUtils::MakeMaker if needed
=head1 DESCRIPTION
See ExtUtils::MM_Unix for a documentation of the methods provided there.
=over 4
=item os_flavor (o)
We're Unix and Cygwin.
=cut
sub os_flavor {
return('Unix', 'Cygwin');
}
=item cflags (o)
if configured for dynamic loading, triggers #define EXT in EXTERN.h
=cut
sub cflags {
foreach (split /\n/, $base) {
};
};
}
=item replace_manpage_separator (o)
replaces strings '::' with '.' in MAN*POD man page names
=cut
$man =~ s{/+}{.}g;
return $man;
}
=item init_linker
points to libperl.a
=cut
sub init_linker {
my $self = shift;
if( $] >= 5.007 ) {
}
} else {
$self->{PERL_ARCHIVE} =
'$(PERL_INC)' .'/'. ("$Config{libperl}" or "libperl.a");
}
}
=back
=cut
1;