This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Build to CPAN version 0.4203
[perl5.git] / cpan / Module-Build / lib / Module / Build / Platform / os2.pm
1 package Module::Build::Platform::os2;
2
3 use strict;
4 use vars qw($VERSION);
5 $VERSION = '0.4203';
6 $VERSION = eval $VERSION;
7 use Module::Build::Platform::Unix;
8
9 use vars qw(@ISA);
10 @ISA = qw(Module::Build::Platform::Unix);
11
12 sub manpage_separator { '.' }
13
14 sub have_forkpipe { 0 }
15
16 # Copied from ExtUtils::MM_OS2::maybe_command
17 sub _maybe_command {
18     my($self,$file) = @_;
19     $file =~ s,[/\\]+,/,g;
20     return $file if -x $file && ! -d _;
21     return "$file.exe" if -x "$file.exe" && ! -d _;
22     return "$file.cmd" if -x "$file.cmd" && ! -d _;
23     return;
24 }
25
26 1;
27 __END__
28
29
30 =head1 NAME
31
32 Module::Build::Platform::os2 - Builder class for OS/2 platform
33
34 =head1 DESCRIPTION
35
36 This module provides some routines very specific to the OS/2
37 platform.
38
39 Please see the L<Module::Build> for the general docs.
40
41 =head1 AUTHOR
42
43 Ken Williams <kwilliams@cpan.org>
44
45 =head1 SEE ALSO
46
47 perl(1), Module::Build(3), ExtUtils::MakeMaker(3)
48
49 =cut