Reported by Gavin Smith <gavinsmith0123@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00154.html>.
* m4/gethostname.m4 (gl_PREREQ_HOST_NAME_MAX): Use AC_COMPUTE_INT
instead of _AC_COMPUTE_INT.
+2020-09-27 Bruno Haible <bruno@clisp.org>
+
+ Avoid "warning: The macro `_AC_COMPUTE_INT' is obsolete".
+ Reported by Gavin Smith <gavinsmith0123@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2020-09/msg00154.html>.
+ * m4/gethostname.m4 (gl_PREREQ_HOST_NAME_MAX): Use AC_COMPUTE_INT
+ instead of _AC_COMPUTE_INT.
+
2020-09-27 Bruno Haible <bruno@clisp.org>
Avoid "warning: The macro `AC_HEADER_STDC' is obsolete".
-# 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,
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 <sys/types.h>
#if HAVE_SYS_PARAM_H
# include <sys/param.h>