]> git.ipfire.org Git - thirdparty/automake.git/commit
compile: remove support for $(INCLUDES)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 22 Aug 2012 14:40:15 +0000 (16:40 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 28 Dec 2012 19:29:35 +0000 (20:29 +0100)
commit880595d0b4930c51f96da50f755f2f2f882fe5b4
tree9e0518606f1052a37ec1f032fdcf2e2f0b890cab
parent29d2a15114809dd3d4a7fcae4a8014f8335bee5f
compile: remove support for $(INCLUDES)

It has already been deprecated in the manual and by warnings in the
'obsolete' category for ages (at least since 2003), in favour of
AM_CPPFLAGS.  Automake-NG has removed support for it already.  And
the warnings in the obsolete category are on by default since the
1.12.4 release.

So, by removing it in Automake 1.14, we will simplify the transition
path for people that want to switch to Automake-NG.

See also Automake-NG commit v1.12-267-g6b74968 of 2012-05-21,
"[ng] compile: don't support $(INCLUDES) anymore, it's obsolete".

* NEWS, doc/automake.texi: Update.
* automake.in (generate_makefile): Reject INCLUDES unconditionally.
In all languages: don't add $(INCLUDES) to the compiler command line.
* t/includes-deprecation.sh: New test.
* t/list-of-tests.mk: Add it.
* t/werror2.sh : Adjust to avoid spurious failures.
* t/pluseq5.sh: Likewise.
* t/warnopts.sh: Likewise.

Suggested-by: Paolo Bonzini <bonzini@gnu.org>
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
NEWS
automake.in
doc/automake.texi
t/includes-no-more.sh [new file with mode: 0755]
t/list-of-tests.mk
t/pluseq5.sh
t/warnopts.sh
t/werror2.sh