summaryrefslogtreecommitdiff
path: root/NG-NEWS
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-05-27 15:48:30 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-05-29 12:48:14 +0200
commit8b740587e3f076c6338523b2bbb130e72f5dfef0 (patch)
tree51671792db5859c69f06ca6854043a4f019d9a3c /NG-NEWS
parente10cbf0a2af598d44229525ccd58869b24b62ed5 (diff)
downloadautomake-8b740587e3f076c6338523b2bbb130e72f5dfef0.tar.gz
[ng] compile: rename make variable CONFIG_HEADER -> AM_CONFIG_HEADERS
The automake-generated variable 'CONFIG_HEADER' has never been documented, and it violates user namespace. So rename it to 'AM_CONFIG_HEADERS', to make it clear that it is owned by Automake. We prefer that name to something that would sound more "private", like 'am__config_headers', because there are possibly legitimate usages of that variable on the user's part. * automake.in: Do the rename. Also, don't bother explicitly rejecting the setting of 'CONFIG_HEADER' as an anachronism: that warning has been active so long that any still maintained Makefile.am file should have stopped doing that long ago. * NG-NEWS: Update. * lib/am/remake-hdr.am: Update a comment. * syntax-checks.mk (modern.CONFIG_HEADER): New, define to 'AM_CONFIG_HEADERS'. 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 216c95bba..5250741f7 100644
--- a/NG-NEWS
+++ b/NG-NEWS
@@ -265,6 +265,12 @@ Miscellaneous
variable $(AM_MAKEFLAGS) has been removed, and its content is no more
passed to recursive make invocations.
+* The make variable 'CONFIG_HEADER' had never been documented in mainline
+ Automake, and since when the support for user setting of it has been
+ removed (in favour of the use of the 'AC_CONFIG_HEADERS' autoconf macro
+ in configure.ac), it has been intended as an internal variable only.
+ So we've renamed it to 'AM_CONFIG_HEADERS'. Do not override its value
+ in your Makefiles!
-----