[PATCH 2/3] AM_PROG_CC_C_O: don't rely on AC_PROG_CC_C_O, re-implement similar logic

2013-05-24 Thread Stefano Lattarini
** Theoretical problems of AC_PROG_CC_C_O: Both cc and $CC are checked to see if they support the '-c' and '-o' options together. This behaviour is highly inconsistent with that of the other macros related to C compiler checks -- which test only $CC. It can also cause unwarranted uses of

[PATCH 1/3] compile: rewrite AC_PROG_CC with AM_PROG_CC_C_O contents

2013-05-24 Thread Stefano Lattarini
This is a much simpler rewrite than the one we attempted in the past, and that was later removed by commit 'v1.13.1d-137-g32eb770' of 2013-05-11 (compile: avoid AC_PROG_CC messy rewrite). Not only this change simplifies the code a little, but has the welcome collateral effect of making automatic d

[PATCH 3/3] tests: some tests make no sense if "$CC -c -o" doesn't work

2013-05-24 Thread Stefano Lattarini
So just skip them, to avoid spurious failures when running "make check-no-cc-c-o". * t/ax/am-test-lib.sh (require_tool): New requirement '-c-o'. * t/subobj10.sh ($required): Add it. * gen-testsuite-part (%depmodes): Adjust so that tests that use 'makedepend' will be skipped if the compiler is bein

[PATCH 0/3] Last work on AM_PROG_CC_C_O, AC_PROG_CC, "$CC -c -o"

2013-05-24 Thread Stefano Lattarini
I will push these three patches to maint (so that they'll end up in Automake 1.14) in one or two days. A review would be welcome. Regards, Stefano -*-*-*- Stefano Lattarini (3): compile: rewrite AC_PROG_CC with AM_PROG_CC_C_O contents AM_PROG_CC_C_O: don't rely on AC_PROG_CC_C_O, re-imple

[FYI] {micro} tests: ensure $required is not set too late

2013-05-24 Thread Stefano Lattarini
And do so in a safer way, with a runtime check rather than a brittle static maintainer check. * t/ax/test-init.sh: Set the 'required' variable to readonly. * syntax-checks.mk (sc_tests_required_after_defs): Remove. (syntax_check_rules): No longer list it. Signed-off-by: Stefano Lattarini --- sy

[FYI] Merge branch 'micro' into maint

2013-05-24 Thread Stefano Lattarini
commit ac13ca500648395417e5d9bcf110475b42841bee Merge: aba3b0a d19eb85 Author: Stefano Lattarini Date: Fri May 24 12:17:59 2013 +0200 Merge branch 'micro' into maint * micro: tests: use append mode to capture parallel make output tests: new convenience target 'check-paralle

[FYI] Merge branch 'maint' into master

2013-05-24 Thread Stefano Lattarini
commit ef098fa615d758dcae99ad546286abe0cb23e8a1 Merge: a0db09f ac13ca5 Author: Stefano Lattarini Date: Fri May 24 12:26:34 2013 +0200 Merge branch 'maint' * maint: tests: use append mode to capture parallel make output tests: new convenience target 'check-parallel'

[FYI] {micro} tests: use append mode to capture parallel make output

2013-05-24 Thread Stefano Lattarini
This will allow us to run the Automake testsuite forcing all the make invocations in the test cases to run in parallel mode [1], but without hitting the spurious failure reported in automake bug#11413. See also: The make invocatio