[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: |
Aharon Robbins |
Subject: |
Re: bootstrap problem with bisonfix.awk on Solaris 8 |
Date: |
Fri, 06 Jan 2006 06:35:59 +0200 |
Applied, much thanks!
Arnold
> Date: Tue, 03 Jan 2006 10:01:14 -0800
> From: Paul Eggert <address@hidden>
> Subject: Re: bootstrap problem with bisonfix.awk on Solaris 8
> To: "Andrew J. Schorr" <address@hidden>
> Cc: address@hidden
>
> "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