BEGIN {
eval { require Config };
- die "You need the Config module to install this distribution, that's what happened" if $@;
- Config->import qw/%Config/;
+ die 'OS unsupported' if $@;
+ Config->import(qw/%Config/);
}
my %sigs;
print "Checking if you have SIG$_... ";
unless (exists $sigs{$_}) {
print "no\n";
- die "Installation stops right here,";
+ die 'OS unsupported' if $@;
}
print "yes\n";
}
my $BUILD_REQUIRES = {
'utf8' => 0,
+ 'Config' => 0,
'Data::Dumper' => 0,
'Exporter' => 0,
'ExtUtils::MakeMaker' => 0,
'Carp' => 0,
'POSIX' => 0,
'Time::HiRes' => 0,
- %$BUILD_REQUIRES
},
dist => {
PREOP => 'pod2text lib/IPC/MorseSignals.pm > $(DISTVNAME)/README; '