summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-12-12 01:07:39 -0500
committerKarl Berry <karl@freefriends.org>2021-12-12 17:51:21 -0800
commit6156cd86278b17a24db9e1fe2be204d6dbea396b (patch)
tree8908d8cd6151200585db607116f72b0e6737f01b
parenta320a0921a2846aaa7ecd91ae3a06c2d3aaaf9c8 (diff)
downloadautomake-6156cd86278b17a24db9e1fe2be204d6dbea396b.tar.gz
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.
-rw-r--r--m4/obsolete.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/obsolete.m4 b/m4/obsolete.m4
index 79f3b234b..bf3b68271 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',