update obsolete autoconf constructs

Part of #447.

* configure.ac, m4/debug.m4, m4/devel.m4, m4/gccoptim.m4,
m4/ndebug.m4: Replace AC_ERROR and AC_HELP_STRING by
by AC_MSG_ERROR and AS_HELP_STRING.
This commit is contained in:
Alexandre Duret-Lutz 2021-01-12 16:11:12 +01:00
parent e497ee26dd
commit e076645382
5 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
AC_DEFUN([adl_NDEBUG],
[AC_ARG_ENABLE([assert],
[AC_HELP_STRING([--enable-assert], [turn on assertions])])
[AS_HELP_STRING([--enable-assert], [turn on assertions])])
if test "$enable_assert" != yes; then
CPPFLAGS="$CPPFLAGS -DNDEBUG"
fi])