Werner (or Simon), Karl Berry wrote: > Looks like libgcrypt.m4 was modified in gnulib a couple days ago (from > AC_HELP_STRING to AS_HELP_STRING), but in theory it's supposed to be > synced with the libgcrypt repository. Help?
Karl is right. Can the following patch be applied upstream, please? 2020-09-27 Gavin Smith <gavinsmith0...@gmail.com> Avoid "warning: The macro `AC_HELP_STRING' is obsolete". * m4/libgcrypt.m4 (AM_PATH_LIBGCRYPT): Use AS_HELP_STRING instead of AC_HELP_STRING. diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4 index f56cc1b..19d514f 100644 --- a/m4/libgcrypt.m4 +++ b/m4/libgcrypt.m4 @@ -1,5 +1,5 @@ # libgcrypt.m4 - Autoconf macros to detect libgcrypt -# Copyright (C) 2002, 2003, 2004, 2011, 2014, 2018 g10 Code GmbH +# Copyright (C) 2002, 2003, 2004, 2011, 2014, 2018, 2020 g10 Code GmbH # # This file is free software; as a special exception the author gives # unlimited permission to copy and/or distribute it, with or without @@ -9,7 +9,7 @@ # WITHOUT ANY WARRANTY, to the extent permitted by law; without even the # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# Last-changed: 2018-11-13 +# Last-changed: 2020-09-27 dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION, @@ -30,7 +30,7 @@ dnl AC_DEFUN([AM_PATH_LIBGCRYPT], [ AC_REQUIRE([AC_CANONICAL_HOST]) AC_ARG_WITH(libgcrypt-prefix, - AC_HELP_STRING([--with-libgcrypt-prefix=PFX], + AS_HELP_STRING([--with-libgcrypt-prefix=PFX], [prefix where LIBGCRYPT is installed (optional)]), libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") if test x"${LIBGCRYPT_CONFIG}" = x ; then