From: Mike Frysinger Date: Sun, 12 Dec 2021 06:07:39 +0000 (-0500) Subject: m4: replace AC_DIAGNOSE with m4_warn X-Git-Tag: v1.16i~151 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=6156cd86278b17a24db9e1fe2be204d6dbea396b;p=thirdparty%2Fautomake.git 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. --- 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',