[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[automake-commit] branch master updated: m4: replace AC_DIAGNOSE with m4
From: |
Karl Berry |
Subject: |
[automake-commit] branch master updated: m4: replace AC_DIAGNOSE with m4_warn |
Date: |
Sun, 12 Dec 2021 20:53:12 -0500 |
This is an automated email from the git hooks/post-receive script.
karl pushed a commit to branch master
in repository automake.
View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=6156cd86278b17a24db9e1fe2be204d6dbea396b
The following commit(s) were added to refs/heads/master by this push:
new 6156cd8 m4: replace AC_DIAGNOSE with m4_warn
6156cd8 is described below
commit 6156cd86278b17a24db9e1fe2be204d6dbea396b
Author: Mike Frysinger <vapier@gentoo.org>
AuthorDate: Sun Dec 12 01:07:39 2021 -0500
m4: replace AC_DIAGNOSE with m4_warn
AC_DIAGNOSE was marked obsolete with autoconf-2.62 in 2008.
* m4/obsolete.m4: Change AC_DIAGNOSE to m4_warn.
---
m4/obsolete.m4 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/m4/obsolete.m4 b/m4/obsolete.m4
index 79f3b23..bf3b682 100644
--- a/m4/obsolete.m4
+++ b/m4/obsolete.m4
@@ -9,7 +9,7 @@
# with or without modifications, as long as this notice is preserved.
AC_DEFUN([AM_CONFIG_HEADER],
-[AC_DIAGNOSE([obsolete],
+[m4_warn([obsolete],
['$0': this macro is obsolete.
You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
AC_CONFIG_HEADERS($@)])
@@ -17,7 +17,7 @@ AC_CONFIG_HEADERS($@)])
AC_DEFUN([AM_PROG_CC_STDC],
[AC_PROG_CC
am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
-AC_DIAGNOSE([obsolete],
+m4_warn([obsolete],
['$0': this macro is obsolete.
You should simply use the 'AC][_PROG_CC' macro instead.
Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [automake-commit] branch master updated: m4: replace AC_DIAGNOSE with m4_warn,
Karl Berry <=