With the aim of avoiding the introduction of too much unneeded differences and incompatibilities between Automake-NG and mainline Automake.
See also commit v1.13.1b-166-g57c7200 (2013-04-19, compat: reinstate support for obsolete $(INCLUDES) variable) in mainline Automake. * automake.in (generate_makefile): The definition of the INCLUDES variable now causes a warning in the 'obsolete' category rather than a fatal error. * NG-NEWS: Adjust. Suggested-by: Peter Rosin Signed-off-by: Stefano Lattarini <[email protected]> --- automake.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automake.in b/automake.in index 17e833e..1bd994e 100644 --- a/automake.in +++ b/automake.in @@ -6538,8 +6538,8 @@ sub generate_makefile } if (my $ovar = var ('INCLUDES')) { - reject_var $ovar, - "'INCLUDES' is obsolete; you should use 'AM_CPPFLAGS'" + msg_var 'obsolete', $ovar, + "'INCLUDES' is deprecated; you should use 'AM_CPPFLAGS'" . " (or '*_CPPFLAGS') instead" } -- 1.8.3.rc0.19.g7e6a0cc
