summaryrefslogtreecommitdiff
path: root/m4/threadlib.m4
diff options
context:
space:
mode:
authorGavin Smith <gavinsmith0123@gmail.com>2020-09-27 21:06:51 +0200
committerBruno Haible <bruno@clisp.org>2020-09-27 21:42:11 +0200
commitfd082b5cdd9f25000a30ba65e295805b8228df3b (patch)
tree8661d3f7a26db780656e035ea45a56f35db7d389 /m4/threadlib.m4
parent1079dc95fd2c8d5ed2819f30c9b14eee0e162d04 (diff)
downloadgnulib-fd082b5cdd9f25000a30ba65e295805b8228df3b.tar.gz
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.
Diffstat (limited to 'm4/threadlib.m4')
-rw-r--r--m4/threadlib.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/threadlib.m4 b/m4/threadlib.m4
index 94441f680f..1da5fc089e 100644
--- a/m4/threadlib.m4
+++ b/m4/threadlib.m4
@@ -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"