=head1 VERSION
-1.61
+1.62
=cut
-$VERSION = '1.61'; # <-- do not forget to update the POD section just above this line!
+$VERSION = '1.62'; # <-- do not forget to update the POD section just above this line!
$VERSION = eval $VERSION;
=pod
require VMS::Filespec if $Is_VMS;
use vars qw($VERSION);
-$VERSION = '1.999003';
+$VERSION = '1.999004';
$VERSION = eval $VERSION;
sub _is_prefix {
use Carp qw();
use Config;
use vars qw($VERSION $Relocations);
-$VERSION = '1.46';
+$VERSION = '1.47';
$VERSION = eval $VERSION;
# Used for generating filehandle globs. IO::File might not be available!
use Config;
use ExtUtils::MakeMaker;
+use Test::More;
use MakeMaker::Test::Utils;
+
+my $make;
+BEGIN {
+ $make = make_run();
+ if (!$make) {
+ plan skip_all => "make isn't available";
+ }
+ else {
+ plan tests => 15;
+ }
+}
+
use MakeMaker::Test::Setup::BFD;
use IPC::Cmd qw(can_run);
-use Test::More
- can_run(make())
- ? (tests => 15)
- : (skip_all => "make not available");
use File::Find;
use File::Spec;
use File::Path;
-my $make = make_run();
-
# Environment variables which interfere with our testing.
delete @ENV{qw(PREFIX LIB MAKEFLAGS)};
use strict;
use Config;
+use IPC::Cmd qw(can_run);
+
require Exporter;
our @ISA = qw(Exporter);
my $make = $Config{make};
$make = $ENV{MAKE} if exists $ENV{MAKE};
+ return if !can_run($make);
return $make;
}
sub make_run {
my $make = make;
+ return if !$make;
$make .= ' -nologo' if $make eq 'nmake';
return $make;