summaryrefslogtreecommitdiff
path: root/NG-NEWS
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-05-20 23:29:11 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-05-21 13:37:59 +0200
commit6b74968cf13acf27731a2afc4872fa6373c726e9 (patch)
tree6501b9edaab5e4bb87f0ad404275dcb89999b9d2 /NG-NEWS
parent878d61d615bbd1ea852638a9dfbb4e2ca82aebc8 (diff)
downloadautomake-6b74968cf13acf27731a2afc4872fa6373c726e9.tar.gz
[ng] compile: don't support $(INCLUDES) anymore, it's obsolete
The $(INCLUDES) variables has been since long supplanted and obsoleted by the $(AM_CPPFLAGS) variable (in documentation since the commit 3d248ab5 of 2001-06-12, "* automake.texi (Program variables): Document AM_CPPFLAGS. Deprecate INCLUDES", and in code since the commit '1415d22f' of 2002-07-09, "* automake.in (generate_makefile): Suggest using AM_CPPFLAGS instead of INCLUDES". So we can drop support for $(INCLUDES). * NG-NEWS, doc/automake-ng.texi: Update. * automake.in: Drop usages of $(INCLUDES) from several calls to 'register_language'. (generate_makefile): Don't explicitly warn about the definition of the $(INCLUDES) variable anymore. * t/pluseq5.sh: Adjusted to avoid using the INCLUDES variable. * t/werror2.sh: Likewise. * t/warnopts.sh: Likewise, and remove extra-verbose comment. Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'NG-NEWS')
-rw-r--r--NG-NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NG-NEWS b/NG-NEWS
index 18aa0ce35..2fbc0e4c2 100644
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -211,6 +211,12 @@ Miscellaneous
Similarly, the $(mkinstallscripts) make variable is not defined anymore;
one should use $(MKDIR_P) instead.
+* The $(INCLUDES) variable is not anymore passed to the invocations of
+ compilers with a C-like preprocessing step (as are for example C, C++,
+ Objective C, preprocessed assembler ...). One should just use
+ $(AM_CPPFLAGS) instead, which has been supported and recommended for
+ a long time.
+
-----
Copyright (C) 2012 Free Software Foundation, Inc.