From: Jarkko Hietaniemi Date: Sun, 10 Jun 2001 17:09:42 +0000 (+0000) Subject: Check the version of byacc. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=001465dc1b963f420aece5071db797e2459b57f8;p=p5sagit%2Fp5-mst-13.2.git Check the version of byacc. p4raw-id: //depot/perl@10502 --- diff --git a/Makefile.SH b/Makefile.SH index 9ba5313..29f6142 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -676,7 +676,10 @@ install.html: all installhtml # to run with precisely the same version of byacc as I use. You # normally shouldn't remake perly.[ch]. -run_byacc: FORCE +check_byacc: + @$(BYACC) -V 2>&1 | grep 'version 1\.8\.2' + +run_byacc: FORCE check_byacc $(BYACC) -d perly.y -chmod 664 perly.c perly.h sh $(shellflags) ./perly.fixer y.tab.c perly.c