From 001465dc1b963f420aece5071db797e2459b57f8 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sun, 10 Jun 2001 17:09:42 +0000 Subject: Check the version of byacc. p4raw-id: //depot/perl@10502 --- Makefile.SH | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.SH') diff --git a/Makefile.SH b/Makefile.SH index 9ba53130c0..29f614280f 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 -- cgit v1.2.1