gbranden pushed a commit to branch master in repository groff. commit 9f00373ec3747e5e2f30c662153d6a4dfb9e437f Author: G. Branden Robinson <g.branden.robin...@gmail.com> AuthorDate: Sat Aug 28 10:03:46 2021 +1000
m4/groff.m4 (GROFF_ARRAY_DELETE): Lethalize check. * m4/groff.m4 (GROFF_ARRAY_DELETE): Update `AC_MSG_CHECKING` argument to refer to "ISO C++98" instead of "ANSI". Call `AC_MSG_ERROR` (aborting configuration) if the check fails. --- ChangeLog | 6 ++++++ m4/groff.m4 | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ce33d2d..e5d95b1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-08-28 G. Branden Robinson <g.branden.robin...@gmail.com> + + * m4/groff.m4 (GROFF_ARRAY_DELETE): Update `AC_MSG_CHECKING` + argument to refer to "ISO C++98" instead of "ANSI". Call + `AC_MSG_ERROR` (aborting configuration) if the check fails. + 2021-08-27 G. Branden Robinson <g.branden.robin...@gmail.com> [libgroff]: Drop support for `ARRAY_DELETE_NEEDS_SIZE`. diff --git a/m4/groff.m4 b/m4/groff.m4 index a0218e7..44a037c 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -805,7 +805,7 @@ struct exception e; AC_DEFUN([GROFF_ARRAY_DELETE], [AC_LANG_PUSH([C++]) - AC_MSG_CHECKING([whether ANSI array delete syntax is supported]) + AC_MSG_CHECKING([whether ISO C++98 array deletion syntax is supported]) AC_COMPILE_IFELSE([ AC_LANG_PROGRAM(, [[ @@ -816,8 +816,7 @@ delete [] p; ], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]) - AC_DEFINE([ARRAY_DELETE_NEEDS_SIZE], [1], - [Define if your C++ doesn't understand 'delete []'.])]) + AC_MSG_ERROR([an ISO C++98-conformant compiler is required])]) AC_LANG_POP([C++])]) AC_DEFUN([GROFF_TRADITIONAL_CPP], _______________________________________________ Groff-commit mailing list Groff-commit@gnu.org https://lists.gnu.org/mailman/listinfo/groff-commit