[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bootstrap problem with bisonfix.awk on Solaris 8
From: |
Paul Eggert |
Subject: |
Re: bootstrap problem with bisonfix.awk on Solaris 8 |
Date: |
Tue, 03 Jan 2006 10:01:14 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
"Andrew J. Schorr" <address@hidden> writes:
> Is there some reason not to use '$(AWK)' instead of 'awk' in the
> makefile?
No, since $(AWK) is already used in Makefile.am. Here's a patch.
2006-01-03 Paul Eggert <address@hidden>
* Makefile.am (awkgram.c): Use $(AWK), not awk, so that the rule
works on Solaris too (e.g., Solaris 10). Problem reported by
Andrew J. Schorr.
--- gawk-3.1.5-orig/Makefile.am 2005-05-11 08:28:11.000000000 -0700
+++ gawk-3.1.5/Makefile.am 2006-01-03 09:58:40.000000000 -0800
@@ -170,7 +170,7 @@ dist-hook:
# Special rules for individual files
awkgram.c: awkgram.y
$(YACC) $(AM_YFLAGS) $(YFLAGS) $<
- awk -f $(srcdir)/bisonfix.awk y.tab.c > $*.c && rm y.tab.c
+ $(AWK) -f $(srcdir)/bisonfix.awk y.tab.c > $*.c && rm y.tab.c
if test -f y.tab.h; then \
if cmp -s y.tab.h $*.h; then rm -f y.tab.h; else mv y.tab.h $*.h; fi; \
else :; fi