automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] {ng/master} compat: restore support for $(INCLUDES)


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] {ng/master} compat: restore support for $(INCLUDES) variable
Date: Tue, 30 Apr 2013 18:46:02 +0200

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]