X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FIPC-MorseSignals.git;a=blobdiff_plain;f=Makefile.PL;h=a24f63f66ca1cb74c80efdfc884492046afcc386;hp=175227533cc41a6f85f7d197ea2e4c6de9287862;hb=90d2b0db8abb64d3c16d674091938f8c65e9caac;hpb=5fce18d9cd1111ef3703d93bef8baba2a7c8fa10 diff --git a/Makefile.PL b/Makefile.PL index 1752275..a24f63f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -4,8 +4,8 @@ use ExtUtils::MakeMaker; 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; @@ -15,7 +15,7 @@ for (qw/USR1 USR2/) { print "Checking if you have SIG$_... "; unless (exists $sigs{$_}) { print "no\n"; - die "Installation stops right here,"; + die 'OS unsupported' if $@; } print "yes\n"; }