In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/7b931d503c63a3381b96c75ed6b22069ceb7f371?hp=c9441fce959a578649990e314e4e5d491aa4b319>
- Log ----------------------------------------------------------------- commit 7b931d503c63a3381b96c75ed6b22069ceb7f371 Author: Leon Brocard <a...@astray.com> Date: Tue May 4 19:58:36 2010 +0100 Give an error message if bison is not found at all ----------------------------------------------------------------------- Summary of changes: regen_perly.pl | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/regen_perly.pl b/regen_perly.pl index 859495f..a988a63 100644 --- a/regen_perly.pl +++ b/regen_perly.pl @@ -66,6 +66,10 @@ die "$0: must be run on an ASCII system\n" unless ord 'A' == 65; # the test below to allow that version too. DAPM Feb 04. my $version = `$bison -V`; +unless ($version) { die <<EOF; } +Could not find a version of bison in your path. Please install bison. +EOF + unless ($version =~ /\b(1\.875[a-z]?|2\.[0134])\b/) { die <<EOF; } You have the wrong version of bison in your path; currently 1.875 -- Perl5 Master Repository