Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Configure.pl: Complain if nqp-m is too old
  • Loading branch information
moritz committed Nov 29, 2014
1 parent b505e03 commit c11b2a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Configure.pl
Expand Up @@ -253,9 +253,12 @@
$config{m_nqp} = $impls{moar}{bin};
$config{m_nqp} =~ s{/}{\\}g if $^O eq 'MSWin32';
my %nqp_config;
if ( $impls{moar}{config} ) {
if ( $impls{moar}{ok} ) {
%nqp_config = %{ $impls{moar}{config} };
}
elsif ( $impls{moar}{config} ) {
push @errors, "The nqp-m binary is too old";
}
else {
push @errors, "Unable to read configuration from NQP on MoarVM";
}
Expand Down

0 comments on commit c11b2a7

Please sign in to comment.