[FYI] Merge branch 'master' into ng/master

2013-05-10 Thread Stefano Lattarini
commit 90079e8bba596a39a145f46ea97988bf24f4867f Merge: 7e693f2 4c39a5f Author: Stefano Lattarini Date: Sat May 11 01:38:51 2013 +0200 Merge branch 'master' into ng/master * master: options: consistently use return statuses to report errors (more) options: try to report as m

[FYI] {master} options: consistently use return statuses to report errors (more)

2013-05-10 Thread Stefano Lattarini
This is a follow-up to commit 'v1.13.1d-128-g6e486c5', needed to deal with errors that are only present in the 'master' branch (while the reported commit was on the 'maint' branch). * lib/Automake/Options.pm (_process_option_list): Adjust, where dealing with the removed options 'dist-shar' and 'di

[FYI] Merge branch 'maint' into master

2013-05-10 Thread Stefano Lattarini
commit 65643c8d626b2d60608300ad8495f1dfba1006a4 Merge: 1ffdec4 9f21b55 Author: Stefano Lattarini Date: Sat May 11 01:06:58 2013 +0200 Merge branch 'maint' * maint: options: try to report as much errors as possible warns: don't tell AM_PROG_MKDIR_P is going to be removed

[FYI] {maint} options: try to report as much errors as possible

2013-05-10 Thread Stefano Lattarini
For example, if two invalid options are used in AUTOMAKE_OPTIONS, don't report just the first one, but both of them. * lib/Automake/Options.pm (_process_option_list): Do so by avoiding early returns in here. Signed-off-by: Stefano Lattarini --- lib/Automake/Options.pm | 19 +++

[FYI] Merge branch 'branch-1.13.2' into maint

2013-05-10 Thread Stefano Lattarini
commit 421f0ad97b4344e7ed35321850df1ae896ed7298 Merge: 90ec3fe 74be388 Author: Stefano Lattarini Date: Sat May 11 00:16:14 2013 +0200 Merge branch 'branch-1.13.2' into maint * branch-1.13.2: warns: don't tell AM_PROG_MKDIR_P is going to be removed

[FYI] {branch-1.13.2} warns: don't tell AM_PROG_MKDIR_P is going to be removed

2013-05-10 Thread Stefano Lattarini
That is no longer true. For a more extended rationale, see file 'PLANS/obsolete-removed/am-prog-mkdir-p.txt' in the maint branch (as of commit v1.13.1d-132-g90ec3fe). * automake.in (scan_autoconf_traces): So adjust the warning message here. Signed-off-by: Stefano Lattarini --- automake.in | 4

[FYI] {maint} refactor: fix few "inverted boolean" usages

2013-05-10 Thread Stefano Lattarini
In some subroutines, we used a return value of 0 to indicate success, and a return status of 1 to indicate failure. That was not very consistent with the perl interpretation of 0 as a false value and 1 as a true value. So we now invert the meaning of the exit statuses. * lib/Automake/Options.pm

[FYI] {maint} options: more consistency in use of return statuses to report errors

2013-05-10 Thread Stefano Lattarini
* lib/Automake/Options.pm (_option_must_be_from_configure): By giving a proper return status here. (_process_option_list): And using it here. Signed-off-by: Stefano Lattarini --- lib/Automake/Options.pm | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/Automake/Opti

[PATCH] options: tiny simplification in dealing with erroneous opts

2013-05-10 Thread Stefano Lattarini
* lib/Automake/Options.pm (_process_option_list): Here, when an invalid option is detected, there's no need to call &error with the "uniq_scope => US_GLOBAL" switch. In fact, if the same erroneous option is specified in AUTOMAKE_OPTIONS in both (say) 'Makefile.am' and 'sub/Makefile.am', we want ea

Re: [PATCH] THANKS: update Eric Blake's e-mail address

2013-05-10 Thread Stefano Lattarini
On 05/10/2013 10:49 PM, Eric Blake wrote: > On 05/10/2013 02:19 PM, Stefano Lattarini wrote: >> Signed-off-by: Stefano Lattarini >> --- >> THANKS | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> Eric, can I have your ACK or NAK on this? > > Both are still valid, but I obviously us

Re: [PATCH] THANKS: update Eric Blake's e-mail address

2013-05-10 Thread Eric Blake
On 05/10/2013 02:19 PM, Stefano Lattarini wrote: > Signed-off-by: Stefano Lattarini > --- > THANKS | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Eric, can I have your ACK or NAK on this? Both are still valid, but I obviously use my redhat.com address more these days. ACK. > >

[FYI] {maint} options: re-enable some sanity checks

2013-05-10 Thread Stefano Lattarini
They had been unwittingly disabled by a slightly incorrect code ordering. * lib/Automake/Options.pm (process_option_list): Here. (process_global_option_list): And here. Signed-off-by: Stefano Lattarini --- lib/Automake/Options.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -

[PATCH] THANKS: update Eric Blake's e-mail address

2013-05-10 Thread Stefano Lattarini
Signed-off-by: Stefano Lattarini --- THANKS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Eric, can I have your ACK or NAK on this? Thanks, Stefano diff --git a/THANKS b/THANKS index 66b3270..fe7a7de 100644 --- a/THANKS +++ b/THANKS @@ -108,7 +108,7 @@ Elmar Hoffmann

Re: [FYI] {maint} news: document new 'subdir-objects' warning

2013-05-10 Thread Stefano Lattarini
On 05/10/2013 09:37 PM, Eric Blake wrote: > On 05/10/2013 01:18 PM, Stefano Lattarini wrote: >> * NEWS: Automake 1.14 will warn if a subdir source file is >> specified but the 'subdir-objects' option is not given. This >> is done to smooth the transition to Automake 2.0, which will >> unconditiona

[FYI] {master} dist: remove support for shar and tarZ formats

2013-05-10 Thread Stefano Lattarini
See also discussion about automake wishlist bug#13324. * lib/Automake/Options.pm: Give fatal errors (rather than warnings) if the 'dist-shar' or 'dist-tarZ' options are used. * lib/distdir.am: Remove the 'dist-tarZ' and 'dist-shar' targets, and references to the '.tar.Z' and '.shar' archives. * bi

Re: [FYI] {maint} news: document new 'subdir-objects' warning

2013-05-10 Thread Eric Blake
On 05/10/2013 01:18 PM, Stefano Lattarini wrote: > * NEWS: Automake 1.14 will warn if a subdir source file is > specified but the 'subdir-objects' option is not given. This > is done to smooth the transition to Automake 2.0, which will > unconditionally assume the behaviour now given only with the

[FYI] Merge branch 'maint' into master

2013-05-10 Thread Stefano Lattarini
commit 0cf58ea7c1c05cdc7b6abff6edc68e934333d1e2 Merge: 0dd95c8 7a2ff99 Author: Stefano Lattarini Date: Fri May 10 21:18:40 2013 +0200 Merge branch 'maint' * maint: news: document new 'subdir-objects' warning PLANS: one minor fixlet (mostly cosmetic) PLANS: we have alr

[FYI] {maint} news: document new 'subdir-objects' warning

2013-05-10 Thread Stefano Lattarini
* NEWS: Automake 1.14 will warn if a subdir source file is specified but the 'subdir-objects' option is not given. This is done to smooth the transition to Automake 2.0, which will unconditionally assume the behaviour now given only with the 'subdir-objects' option. Signed-off-by: Stefano Lattari

[FYI] {maint} dist: deprecated shar and tar+compress formats

2013-05-10 Thread Stefano Lattarini
See also discussion about automake wishlist bug#13324. * lib/Automake/Options.pm: Give proper warnings in the 'obsolete' category if the 'dist-shar' or 'dist-tarZ' options are used. * lib/distdir.am: When the 'dist-tarZ' or 'dist-shar' targets are invoked, make them give a non-fatal warning. * doc

[FYI] {maint} maintcheck: fix two references to old location of aclocal and automake

2013-05-10 Thread Stefano Lattarini
* maintainer/syntax-checks.mk (sc_perl_at_substs): Here: it should refer to 'bin/automake' and 'bin/aclocal', not 'automake' and 'alocal'. Signed-off-by: Stefano Lattarini --- maintainer/syntax-checks.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maintainer/syntax-ch

Re: [PATCH 1/2] {maint} build: break up monolithic Makefile.am in subdir-specific fragments

2013-05-10 Thread Stefano Lattarini
On 05/09/2013 12:53 PM, Stefano Lattarini wrote: > This is convenient to do, now that we have improved "relative directory" > support with the '%reladir%' (a.k.a. '%D%') and '%canon_reladir%' (a.k.a. > '%C%') Automake-time substitutions for included makefile fragments. > > This move also satisfy o

[FYI] {branch-1.13.2} automake: typofix in comments: s/AC_CONFIG_HEADER/AC_CONFIG_HEADERS/

2013-05-10 Thread Stefano Lattarini
Signed-off-by: Stefano Lattarini --- automake.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/automake.in b/automake.in index 0c2ab3d..d22065a 100644 --- a/automake.in +++ b/automake.in @@ -318,7 +318,7 @@ my $configure_ac; # Files found by scanning configure.ac for

[FYI] {branch-1.13.2} cosmetics: fix few typos, grammaros and missing whitespace

2013-05-10 Thread Stefano Lattarini
* lib/am/*.am: In comments in some of these files. Signed-off-by: Stefano Lattarini --- lib/am/check.am | 2 +- lib/am/header-vars.am | 2 +- lib/am/library.am | 1 + lib/am/ltlibrary.am | 1 + lib/am/program.am | 1 + lib/am/remake-hdr.am | 2 +- 6 files changed, 6 insertions(+

[FYI] {branch-1.13.2} fixup: remove an obsolete comment

2013-05-10 Thread Stefano Lattarini
* lib/am/header-vars.am (am__make_running_with_option): Here. Signed-off-by: Stefano Lattarini --- lib/am/header-vars.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am index 4b9cc04..aef1082 100644 --- a/lib/am/header-vars.am +