bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gawk: simplify the hacks around version.c


From: Stepan Kasal
Subject: gawk: simplify the hacks around version.c
Date: Mon, 24 Sep 2007 18:10:27 +0200
User-agent: Mutt/1.4.2.3i

Hello,
  looking at gawk configure.ac and Makefile.am, I noticed three nits;
attached please find three tiny patches:

1) gawk-20070924-version-c.patch

I do not think the hack at the end of configure.ac is needed.
It suffices to remove version.c from AC_CONFIG_FILES and generate it
by a rule in Makefile.am.
For all use cases I can imagine, the new solution works as good as
the original hack--but I may have missed something, of course.

2) gawk-20070924-suffix-i.patch

More that three years ago, I submitted a hack involving version.i.
It's life was shorter than a week.  :-)
The .i.c rule is a residuum of that experiment and may be removed.

3) gawk-20070924-maint-clean.patch

`awkgram.c' in MAINTAINERCLEANFILES is redundant; Automake knows
about Yacc and handles that.

Have a nice day,
        Stepan Kasal

Attachment: gawk-20070924-version-c.patch
Description: Text document

Attachment: gawk-20070924-suffix-i.patch
Description: Text document

Attachment: gawk-20070924-maint-clean.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]