diff options
author | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-02-10 20:36:13 +0000 |
---|---|---|
committer | Marcus Holland-Moritz <mhx-perl@gmx.net> | 2005-02-10 20:36:13 +0000 |
commit | 2080282f2af44db6021d1dce04e81f0141289f86 (patch) | |
tree | cf2bd906a229b8717a351d8abad9d39d60f2f4e7 /regen_perly.pl | |
parent | bd7dcc1560fe205bfdd287ecf78da4eb59a80bf9 (diff) | |
download | perl-2080282f2af44db6021d1dce04e81f0141289f86.tar.gz |
regen_perly.pl runs fine with bison 2.0.
p4raw-id: //depot/perl@23959
Diffstat (limited to 'regen_perly.pl')
-rw-r--r-- | regen_perly.pl | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/regen_perly.pl b/regen_perly.pl index da917e0806..eaa4785a0e 100644 --- a/regen_perly.pl +++ b/regen_perly.pl @@ -65,10 +65,12 @@ 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 =~ /\b1\.875\b/) { die <<EOF; } +unless ($version =~ /\b(1\.875|2\.0)\b/) { die <<EOF; } -You have the wrong version of bison in your path; currently 1.875 is -required. Try installing +You have the wrong version of bison in your path; currently 1.875 +or 2.0 is required. Try installing + http://ftp.gnu.org/gnu/bison/bison-2.0.tar.gz +or http://ftp.gnu.org/gnu/bison/bison-1.875.tar.bz2 or similar. Your bison identifies itself as: |