| 1 | package Module::Build::Platform::os2; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | our $VERSION = '0.4234'; | ||
| 6 | $VERSION = eval $VERSION; | ||
| 7 | use Module::Build::Platform::Unix; | ||
| 8 | |||
| 9 | our @ISA = qw(Module::Build::Platform::Unix); | ||
| 10 | |||
| 11 | sub manpage_separator { '.' } | ||
| 12 | |||
| 13 | sub have_forkpipe { 0 } | ||
| 14 | |||
| 15 | # Copied from ExtUtils::MM_OS2::maybe_command | ||
| 16 | sub _maybe_command { | ||
| 17 | my($self,$file) = @_; | ||
| 18 | $file =~ s,[/\\]+,/,g; | ||
| 19 | return $file if -x $file && ! -d _; | ||
| 20 | return "$file.exe" if -x "$file.exe" && ! -d _; | ||
| 21 | return "$file.cmd" if -x "$file.cmd" && ! -d _; | ||
| 22 | return; | ||
| 23 | } | ||
| 24 | |||
| 25 | 1; | ||
| 26 | __END__ |