From: Tom Tromey Date: Sat, 2 Aug 1997 20:13:29 +0000 (+0000) Subject: use YACCFLAGS X-Git-Tag: Release-1-2b~40 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b5169e6a2e78026d1081b78cfa2c721a4d9848f1;p=automake.git use YACCFLAGS --- diff --git a/ChangeLog b/ChangeLog index e2e8082b..b8b70931 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ Sat Aug 2 13:32:45 1997 Tom Tromey + * automake.in (output_yacc_build_rule): Use YACCFLAGS, not + YFLAGS. Per GNU Standards. + * dejagnu.am (RUNTESTDEFAULTFLAGS): New macro. (check-DEJAGNU): Use it. diff --git a/automake.in b/automake.in index 8ccd5a7c..a032630d 100755 --- a/automake.in +++ b/automake.in @@ -974,11 +974,11 @@ sub output_yacc_build_rule { $output_rules .= ('$(SHELL) $(YLWRAP)' . ' "$(YACC)" $< y.tab.c $*' . $c_suffix - . ' y.tab.h $*.h -- $(YFLAGS)'); + . ' y.tab.h $*.h -- $(YACCFLAGS)'); } else { - $output_rules .= ('$(YACC) $(YFLAGS) $< && mv y.tab.c $@' . "\n" + $output_rules .= ('$(YACC) $(YACCFLAGS) $< && mv y.tab.c $@' . "\n" . "\tif test -f y.tab.h; then \\\n" . "\tif cmp -s y.tab.h \$*.h; then rm -f y.tab.h; else mv y.tab.h \$*.h; fi; \\\n" . "\telse :; fi");