>From 0d955740d5d02c8acfe500c2d8046dea01c555bc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 28 Sep 2020 00:39:54 +0200 Subject: [PATCH 1/2] Avoid "warning: The macro `_AC_COMPUTE_INT' is obsolete". Reported by Gavin Smith in . * m4/gethostname.m4 (gl_PREREQ_HOST_NAME_MAX): Use AC_COMPUTE_INT instead of _AC_COMPUTE_INT. --- ChangeLog | 8 ++++++++ m4/gethostname.m4 | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d2f9f15..a17008f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2020-09-27 Bruno Haible + Avoid "warning: The macro `_AC_COMPUTE_INT' is obsolete". + Reported by Gavin Smith in + . + * m4/gethostname.m4 (gl_PREREQ_HOST_NAME_MAX): Use AC_COMPUTE_INT + instead of _AC_COMPUTE_INT. + +2020-09-27 Bruno Haible + Avoid "warning: The macro `AC_HEADER_STDC' is obsolete". Reported by Gavin Smith in . diff --git a/m4/gethostname.m4 b/m4/gethostname.m4 index 1d05b2a..c1f24e6 100644 --- a/m4/gethostname.m4 +++ b/m4/gethostname.m4 @@ -1,4 +1,4 @@ -# gethostname.m4 serial 14 +# gethostname.m4 serial 15 dnl Copyright (C) 2002, 2008-2020 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -74,7 +74,7 @@ lucky dnl mingw. gl_cv_decl_HOST_NAME_MAX=256 else - _AC_COMPUTE_INT([MAXHOSTNAMELEN], [gl_cv_decl_HOST_NAME_MAX], [ + AC_COMPUTE_INT([gl_cv_decl_HOST_NAME_MAX], [MAXHOSTNAMELEN], [ #include #if HAVE_SYS_PARAM_H # include -- 2.7.4