aboutsummaryrefslogtreecommitdiff
path: root/m4/threadlib.m4
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2021-11-20 02:27:34 -0500
committerThien-Thi Nguyen <ttn@gnuvola.org>2021-11-20 02:27:34 -0500
commit9f0a9deef547dc2cfcdb515a46025c8f4ae1624f (patch)
tree6806413a1587116d76f01c84574c55e22277ce3b /m4/threadlib.m4
parent0390da9dd0920653c4e0c3c1ef17ab3ac65f8074 (diff)
downloadgnunet-9f0a9deef547dc2cfcdb515a46025c8f4ae1624f.tar.gz
gnunet-9f0a9deef547dc2cfcdb515a46025c8f4ae1624f.zip
Convert AC_HELP_STRING to AS_HELP_STRING
This is a straightforward replacement prompted by a warning from newer versions of Autoconf. IWBN to upstream some of these changes. * m4/as-auto-alt.m4 (--with-autoconf) (--with-autoheader, --with-automake, --with-aclocal): ...here. * m4/libcurl.m4 (--with-libcurl): Likewise. * m4/libgcrypt.m4 (--with-libgcrypt-prefix): Likewise. * m4/libgnurl.m4 (--with-libgnurl): Likewise. * m4/threadlib.m4 (--enable-threads, --disable-threads): Likewise.
Diffstat (limited to 'm4/threadlib.m4')
-rw-r--r--m4/threadlib.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/threadlib.m4 b/m4/threadlib.m4
index dc9a3d8e8..80af285bf 100644
--- a/m4/threadlib.m4
+++ b/m4/threadlib.m4
@@ -53,8 +53,8 @@ AC_DEFUN([gl_THREADLIB_EARLY_BODY],
53 [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])], 53 [m4_divert_text([DEFAULTS], [gl_use_threads_default=no])],
54 [m4_divert_text([DEFAULTS], [gl_use_threads_default=])]) 54 [m4_divert_text([DEFAULTS], [gl_use_threads_default=])])
55 AC_ARG_ENABLE([threads], 55 AC_ARG_ENABLE([threads],
56AC_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [ 56AS_HELP_STRING([--enable-threads={posix|solaris|pth|windows}], [specify multithreading API])m4_ifdef([gl_THREADLIB_DEFAULT_NO], [], [
57AC_HELP_STRING([--disable-threads], [build without multithread safety])]), 57AS_HELP_STRING([--disable-threads], [build without multithread safety])]),
58 [gl_use_threads=$enableval], 58 [gl_use_threads=$enableval],
59 [if test -n "$gl_use_threads_default"; then 59 [if test -n "$gl_use_threads_default"; then
60 gl_use_threads="$gl_use_threads_default" 60 gl_use_threads="$gl_use_threads_default"