From: Bruno Haible Date: Sun, 27 Sep 2020 22:39:54 +0000 (+0200) Subject: Avoid "warning: The macro `_AC_COMPUTE_INT' is obsolete". X-Git-Tag: v1.0~3592 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0d955740d5d02c8acfe500c2d8046dea01c555bc;p=thirdparty%2Fgnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index d2f9f153ff..a17008f8a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +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". diff --git a/m4/gethostname.m4 b/m4/gethostname.m4 index 1d05b2a608..c1f24e67ff 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