subdir-objects: complain if it isn't enabled
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 13 Jan 2013 16:50:30 +0000 (17:50 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 13 Jan 2013 19:48:10 +0000 (20:48 +0100)
commit4864af66bfd189a501061d775bb9743a1285d88e
treebacf0833de74d2d179408b7f0b7aa7e85c513ea1
parent593032130119da79aba14dc26c3cc985bf3a5610
subdir-objects: complain if it isn't enabled

Since the next major automake version will make the behaviour so far
only activated with the 'subdir-object' option mandatory, it's better
if we start warning users not using that option.

As suggested by Peter Johansson, we strive to avoid the warning when
it would be irrelevant, i.e., if all source files sit in "current"
directory.

See automake bug#13378.

* automake.in (handle_single_transform): Print the warning when
necessary.
* t/subobj.sh: Enhance.
* t/ax/depcomp.sh: Adjust.
* t/cscope.tap: Likewise.
* t/depcomp8a.sh: Likewise.
* t/depcomp8b.sh: Likewise.
* t/ext2.sh: Likewise.
* t/extra-portability.sh: Likewise.
* t/fort2.sh: Likewise.
* t/fort4.sh: Likewise.
* t/fort5.sh: Likewise.
* t/lex-line.sh: Likewise.
* t/libtool3.sh: Likewise.
* t/ltinstloc.sh: Likewise.
* t/ltlibsrc.sh: Likewise.
* t/ltorder.sh: Likewise.
* t/parallel-tests-suffix-prog.sh: Likewise.
* t/sourcefile-in-subdir.sh: Likewise.
* t/specflg9.sh: Likewise.
* t/subobj4.sh: Likewise.
* t/subobj7.sh: Likewise.
* t/subpkg-yacc.sh: Likewise.
* t/subpkg.sh: Likewise.
* t/suffix-custom-subobj-and-specflg.sh: Likewise.
* t/vala-libs.sh: Likewise.
* t/vala-non-recursive-setup.sh: Likewise.
* t/yacc-grepping2.sh: Likewise.
* t/yacc-line.sh: Likewise.
28 files changed:
automake.in
t/ax/depcomp.sh
t/cscope.tap
t/depcomp8a.sh
t/depcomp8b.sh
t/ext2.sh
t/extra-portability.sh
t/fort2.sh
t/fort4.sh
t/fort5.sh
t/lex-line.sh
t/libtool3.sh
t/ltinstloc.sh
t/ltlibsrc.sh
t/ltorder.sh
t/parallel-tests-suffix-prog.sh
t/sourcefile-in-subdir.sh
t/specflg9.sh
t/subobj.sh
t/subobj4.sh
t/subobj7.sh
t/subpkg-yacc.sh
t/subpkg.sh
t/suffix-custom-subobj-and-specflg.sh
t/vala-libs.sh
t/vala-non-recursive-setup.sh
t/yacc-grepping2.sh
t/yacc-line.sh