diff options
Diffstat (limited to 'regen_perly.pl')
-rw-r--r-- | regen_perly.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/regen_perly.pl b/regen_perly.pl index 859495faf1..a988a631f6 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 |