If CC is originally a losing compiler, AM_PROG_CC_C_O will modify CC. "$MAKE -e" will then clobber this modified CC and reintroduce the raw losing compiler causing the test to fail, as subdir-objects is in effect.
* tests/yacc-dist-nobuild-subdir.test: Drop -e from the $MAKE invocations. This is safe since DISTCHECK_CONFIGURE_FLAGS is not specified in the Makefile and since the YACC override is carried over from the configure invocation into the Makefile making it redundant to specifiy it again in the environment for $MAKE. --- tests/yacc-dist-nobuild-subdir.test | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Hi! Ok for master? Cheers, Peter diff --git a/tests/yacc-dist-nobuild-subdir.test b/tests/yacc-dist-nobuild-subdir.test index 67568d7..3fdae8d 100755 --- a/tests/yacc-dist-nobuild-subdir.test +++ b/tests/yacc-dist-nobuild-subdir.test @@ -85,9 +85,9 @@ chmod u+w . # Try to enable dependency tracking even with slow dependency # extractors, to improve coverage. ../configure --enable-dependency-tracking YACC=false -YACC=false $MAKE -e +$MAKE ls -l sub/*.[ch] && Exit 1 -env YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE -e distcheck +env DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE distcheck : -- 1.7.9