Simplify win32/makefile.mk for static extensions with GCC
[p5sagit/p5-mst-13.2.git] / regen_perly.pl
index eaa4785..6a372f9 100644 (file)
@@ -2,7 +2,7 @@
 #
 # regen_perly.pl, DAPM 12-Feb-04
 #
-# Copyright (c) 2004 Larry Wall
+# Copyright (c) 2004, 2005 Larry Wall
 #
 # Given an input file perly.y, run bison on it and produce
 # the following output files:
@@ -65,7 +65,7 @@ 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 =~ /\b(1\.875|2\.0)\b/) { die <<EOF; }
+unless ($version =~ /\b(1\.875c?|2\.0)\b/) { die <<EOF; }
 
 You have the wrong version of bison in your path; currently 1.875
 or 2.0 is required.  Try installing
@@ -171,10 +171,6 @@ sub extract {
     return $actlines. "\n", $tablines. "\n";
 }
 
-       
-           
-
-
 sub my_system {
     system(@_);
     if ($? == -1) {