summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-07-12 11:59:14 -0400
committerZack Weinberg <zackw@panix.com>2020-07-12 11:59:14 -0400
commita1acd8e66b7a4ca348401f890b4f04a6ca6b7d15 (patch)
tree5eeb7a2d0139cbc614f1f9473c778676c04547dd /lib
parentd5cb54d02dba7ba9c0cd3736b46e7b50a71ce2f3 (diff)
downloadautoconf-a1acd8e66b7a4ca348401f890b4f04a6ca6b7d15.tar.gz
Formally obsolete AC_CONFIG_HEADER (#105403)
This macro was replaced by AC_CONFIG_HEADERS many years ago (before the beginning of the VCS history) and isn’t even documented, but we never got around to making autoupdate notice it. Problem reported *in 2006* by jensseidel@users.sf.net. There was one use of AC_CONFIG_HEADER in our source tree, which is converted. Also, to avoid confusing people reading old NEWS or TODO entries, all mentions of AC_CONFIG_HEADER therein are also replaced with AC_CONFIG_HEADERS. * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Make an AU_ALIAS for AC_CONFIG_HEADERS.
Diffstat (limited to 'lib')
-rw-r--r--lib/autoconf/status.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4
index cb337d74..d2ab8235 100644
--- a/lib/autoconf/status.m4
+++ b/lib/autoconf/status.m4
@@ -714,11 +714,9 @@ dnl fi
AC_DEFUN([AC_CONFIG_HEADERS], [_AC_CONFIG_FOOS([HEADERS], $@)])
-# AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
+# AU::AC_CONFIG_HEADER(HEADER-TO-CREATE ...)
# --------------------------------------
-# FIXME: Make it obsolete?
-AC_DEFUN([AC_CONFIG_HEADER],
-[AC_CONFIG_HEADERS([$1])])
+AU_ALIAS([AC_CONFIG_HEADER], [AC_CONFIG_HEADERS])
# _AC_OUTPUT_HEADERS_PREPARE