]> Savannah Git Hosting - gnulib.git/commitdiff
Avoid "warning: The macro `AC_HELP_STRING' is obsolete".
authorGavin Smith <gavinsmith0123@gmail.com>
Sun, 27 Sep 2020 19:06:51 +0000 (21:06 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Sep 2020 19:42:11 +0000 (21:42 +0200)
* m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): Use AS_HELP_STRING instead
of AC_HELP_STRING.
* m4/libgcrypt.m4 (AM_PATH_LIBGCRYPT): Likewise.

ChangeLog
m4/libgcrypt.m4
m4/threadlib.m4

index 43e84b51809965e275c072c405f182a1e2b58e06..428187f41931f221ece133a54d7385858aa644ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2020-09-27  Gavin Smith  <gavinsmith0123@gmail.com>
+
+       Avoid "warning: The macro `AC_HELP_STRING' is obsolete".
+       * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): Use AS_HELP_STRING instead
+       of AC_HELP_STRING.
+       * m4/libgcrypt.m4 (AM_PATH_LIBGCRYPT): Likewise.
+
 2020-09-27  Bruno Haible  <bruno@clisp.org>
 
        Avoid "warning: $as_echo_n is obsolete" from autoconf 2.69c.
index f56cc1bde4d53bb9feb309dee5db5980dad67c62..19d514fd5313bb229fd593bc09609db127022a5f 100644 (file)
@@ -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
index 94441f680f5f39ef510d959e14bc66d0237cc678..1da5fc089e2e499f7baf125be650421235b12cd3 100644 (file)
@@ -1,4 +1,4 @@
-# threadlib.m4 serial 27
+# threadlib.m4 serial 28
 dnl Copyright (C) 2005-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,
@@ -398,8 +398,8 @@ AC_DEFUN([gl_THREADLIB_EARLY_BODY],
     [m4_divert_text([DEFAULTS], [gl_use_threads_default=])])
   m4_divert_text([DEFAULTS], [gl_use_winpthreads_default=])
   AC_ARG_ENABLE([threads],
-AC_HELP_STRING([--enable-threads={isoc|posix|isoc+posix|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
-AC_HELP_STRING([--disable-threads], [build without multithread safety])]),
+AS_HELP_STRING([--enable-threads={isoc|posix|isoc+posix|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
+AS_HELP_STRING([--disable-threads], [build without multithread safety])]),
     [gl_use_threads=$enableval],
     [if test -n "$gl_use_threads_default"; then
        gl_use_threads="$gl_use_threads_default"