[FYI] {maint} plans: update w.r.t. latest changes

2013-01-12 Thread Stefano Lattarini
Signed-off-by: Stefano Lattarini --- PLANS/subdir-objects.txt | 37 +++--- .../warnings-for-automake-ng-compatibility.txt | 4 +-- 2 files changed, 20 insertions(+), 21 deletions(-) diff --git a/PLANS/subdir-objects.txt b/PLANS/subdir-objects.txt in

[FYI] Merge branch 'maint' into master

2013-01-12 Thread Stefano Lattarini
commit 2aa49391fe2918db3e5d59f4f96ca3612c955d78 Merge: 84d77cd 0dee02d Author: Stefano Lattarini Date: Sat Jan 12 18:19:44 2013 +0100 Merge branch 'maint' * maint: ywrap: remove an obsolete FIXME comment ywrap: style fixes (no semantic change intended) convenience: "m

[FYI] Merge branch 'maint' into master

2013-01-12 Thread Stefano Lattarini
commit 84d77cd6e35f66a6bfd5b41a39bb8c2a4f909b6f Merge: 9cb18f1 1e44f85 Author: Stefano Lattarini Date: Sat Jan 12 13:54:43 2013 +0100 Merge branch 'maint' * maint: tests: remove most uses of the AM_PROG_CC_C_O obsolete macro coverage: obsolete macro AM_PROG_CC_C_O should ca

[PATCH 00/11] Make 'subdir-objects' mandatory, and related cleanups

2013-01-12 Thread Stefano Lattarini
This series is based off of maint, but is meant to be merged in master only (if you are reading this message on the bug-automake list: the complete series is only posted on the automake-patches list, to avoid clogging the bug tracker with tons of patches). Note that the first patch of this series

[PATCH 11/11] depend: reduce code duplication, de-uglify make verbose output

2013-01-12 Thread Stefano Lattarini
Verbose output from compilation recipes had been made more messy by the previous "simplifying" commit XXX. With this patch, not only we reduce some code duplication, but also improve that output again, for the joy of users who dislike silent-rules :-) * lib/am/depend2.am: Use the new '%XSOURCE%'

[PATCH 07/11] depend2.am: refactor and remove code duplication

2013-01-12 Thread Stefano Lattarini
* lib/am/depend2.am: Here. The obsolescent comments removed from this same file in commit 'v1.13.1-42-g8f06bfb' of 2012-01-09, "depend2.am: fix comments on verbosity of compilation rules", gave the rationale for why that code duplication was there in the first place (rationale that, like those com

[PATCH 09/11] depend2.am: reduce code duplication

2013-01-12 Thread Stefano Lattarini
Just a simplification; no semantic change is intended. * lib/am/depend2.am (am__set_depbase): New. Use it in all the three flavours of recipes (.o, .obj, .lo), instead of duplicating its code. Signed-off-by: Stefano Lattarini --- lib/am/depend2.am | 17 - 1 file changed, 8 inse

[PATCH 02/11] subdir-objects: enable unconditionally

2013-01-12 Thread Stefano Lattarini
See automake bug#13378. The fact that Automake-generated Makefiles places compiled object files in the current directory by default, also when the corresponding source file is in a subdirectory, is basically an historical accident, due to the fact that the 'subdir-objects' option had only been int

[PATCH 06/11] Automake::Language: drop unused fields 'compile_flag' and 'output_flag'

2013-01-12 Thread Stefano Lattarini
They are unused after the recent flurry of changes. This is just a simplification; no semantic change is intended. * automake.in: Here, in the Automake::Language 'Class::Struct' definition and in all the 'register_language()' invocations. Signed-off-by: Stefano Lattarini --- automake.in | 29 -

[PATCH 03/11] cleanup: having subdir-objects mandatory allow us some simplifications

2013-01-12 Thread Stefano Lattarini
Few minor cleanups made possible by earlier changes, plus other minor cleanups triggered in cascade. No semantic change is intended. This is a follow-up on previous commit 'XXX', and an adjusted backport of Automake-NG commit 'v1.12.1-315-gc97d41b' of 2012-06-08, "[ng] cleanup: after enabling of

[PATCH 04/11] depend: assume we can always pass "-o" to the C compiler

2013-01-12 Thread Stefano Lattarini
This is the case after the change in commit XXX of -MM-DD, ``compile: use 'compile' script when "-c -o" is used with losing compilers'' This is just a simplification; no semantic changes are intended. * automake.in (handle_languages): Drop transform '%-o%', and definitions of '$output_flag'.

[PATCH 05/11] depend: assume '-c' compiler flag always means to produce object files

2013-01-12 Thread Stefano Lattarini
Rather than fully-fledged executables. This is the case for all the compilers of all languages supported by Automake. This is just a simplification; no semantic changes are intended. * automake.in (handle_languages): Drop transform '%-c%'. * lib/am/depend2.am: Adjust to just assume the '%-c%' tr

[PATCH 01/11] compile: avoid AC_PROG_CC messy rewrite

2013-01-12 Thread Stefano Lattarini
Instead, only touch up AC_PROG_CC to distribute the 'compile' script and to rewrite $CC if a losing compiler is detected. We can do so because Autoconf 2.70 (which we now require) has been so kind to implement the features we need (through a private hook made explicitly available to us), in commit

[FYI] Merge branch 'maint' into master

2013-01-12 Thread Stefano Lattarini
commit 9cb18f18a756e7e6b7a5deaa7fd677e9a902 Merge: bfd7cc5 34001a9 Author: Stefano Lattarini Date: Fri Jan 11 21:53:19 2013 +0100 Merge branch 'maint' * maint: compile: use 'compile' script when "-c -o" is used with losing compilers HACKING: suggest more checks before r

[FYI] {maint} coverage: obsolete macro AM_PROG_CC_C_O should cause no warning nor errors

2013-01-12 Thread Stefano Lattarini
Suggested by Eric Blake. * t/am-prog-cc-c-o.sh: New test. * t/list-of-tests.mk: Add it. Signed-off-by: Stefano Lattarini --- t/am-prog-cc-c-o.sh | 85 + t/list-of-tests.mk | 1 + 2 files changed, 86 insertions(+) create mode 100755 t/am-pro

Re: [PATCH] use runtime (not configure time) detection of perl threads

2013-01-12 Thread Stefano Lattarini
On 01/12/2013 06:19 AM, Mike Frysinger wrote: > I can't imagine the runtime checks being a big runtime penalty, so there > shouldn't be a need to do the checks at configure check and hardcode the > result in the generated automake. > > With the current system, it means if you change your perl conf

Re: bug#13378: [PATCH] compile: use 'compile' script when "-c -o" is used with losing compilers

2013-01-12 Thread Stefano Lattarini
On 01/11/2013 08:16 PM, Stefano Lattarini wrote: > On 01/11/2013 07:19 PM, Eric Blake wrote: >> On 01/10/2013 06:33 AM, Stefano Lattarini wrote: >>> Reference: >>> >>> >> >>> @acindex AC_PROG_CC_C_O >>> -This is like @code{AC_PROG_CC_C_O}, bu

[FYI] {maint} copyright: update some copyright years

2013-01-12 Thread Stefano Lattarini
With "make update-copyright". Apparently they were missed in the last bump. * bootstrap.sh, configure.ac, t/txinfo-builddir.sh: In these files. Signed-off-by: Stefano Lattarini --- bootstrap.sh | 2 +- configure.ac | 2 +- t/txinfo-builddir.sh | 2 +- 3 files changed, 3 inserti

[FYI] {maint} maint: consistently honor the UPDATE_COPYRIGHT_YEAR environment variable

2013-01-12 Thread Stefano Lattarini
* maintainer/maint.mk (update-copyright): Here. The 'lib/update-copyright' already honoured it, but some parts of our recipe didn't. This has caused the incomplete copyright bump that was fixed by the previous patch. Signed-off-by: Stefano Lattarini --- maintainer/maint.mk | 10 -- 1 f

[FYI] {maint} maint: files in PLANS are to be exempted from copyright notice

2013-01-12 Thread Stefano Lattarini
* maintainer/maint.mk (update-copyright): Adjust. Signed-off-by: Stefano Lattarini --- maintainer/maint.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/maintainer/maint.mk b/maintainer/maint.mk index 87df79f..1ea10a2 100644 --- a/maintainer/maint.mk +++ b/maintainer/maint.mk @@ -469,5 +46