GNOME Bugzilla – Bug 691352
gnome-autogen.sh: Add support for automake 1.13
Last modified: 2013-01-15 18:10:09 UTC
Created attachment 232984 [details] [review] Proposed patch GNU automake 1.13 was released at the end of last December. The attached patch makes gnome-autogen.sh support the new version.
Comment on attachment 232984 [details] [review] Proposed patch Thanks!
Does the "accepted-commit_now" flag mean it is going to be committed automatically? FWIW, I'm not a GNOME committer.
Committed. For future patches, please always use the git format-patch format, since that simplifies applying the patch. Thx!
*** Bug 690920 has been marked as a duplicate of this bug. ***
Could you please take a look at the patch described in Bug 690920 ([1])? I think that patch fixes this issue in a better (more future-proof) way. [1] http://bugzilla-attachments.gnome.org/attachment.cgi?id=232431
I did have a look at the other bug before taking this one's patch. I didn't like the other patch because it dropped automake 1.4 .. 1.8 support without explanation (well, 1.5..1.7 aren't relevant anymore, but 1.4 and 1.8 are).
Oh, you're right: I thought 1.9 was the required minimum, but it looks like a lower version can be passed as an environment variable ([1]). You can add automake-1.8 and automake-1.4 to the list in the patch. [1] http://git.gnome.org/browse/gnome-common/tree/macros2/gnome-autogen.sh#n10
If anything, could you please at least add "automake" to the array that is passed to version_check? This will prevent breakage when a new Automake version is added in the future. See attached patch
Created attachment 233401 [details] [review] Fix the issue in a more future-proof way by also adding "automake" to the list of checked binaries
Your patch would find automake first, before checking for automake-1.12 etc., so as per my patch in five year old bug 537772, I would put automake after $automake_progs. (One wonders why we are still processing bugs which could have been dealt with five years ago, but as this bug has already been set to fixed, I suppose this will continue.)