aboutsummaryrefslogtreecommitdiff
path: root/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
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')
-rw-r--r--m4/as-auto-alt.m48
-rw-r--r--m4/libcurl.m42
-rw-r--r--m4/libgcrypt.m42
-rw-r--r--m4/libgnurl.m42
-rw-r--r--m4/threadlib.m44
5 files changed, 9 insertions, 9 deletions
diff --git a/m4/as-auto-alt.m4 b/m4/as-auto-alt.m4
index 3f7920dd2..07c550b38 100644
--- a/m4/as-auto-alt.m4
+++ b/m4/as-auto-alt.m4
@@ -10,7 +10,7 @@ AC_DEFUN([AS_AUTOTOOLS_ALTERNATE],
10[ 10[
11 dnl allow for different autoconf version 11 dnl allow for different autoconf version
12 AC_ARG_WITH(autoconf, 12 AC_ARG_WITH(autoconf,
13 AC_HELP_STRING([--with-autoconf], 13 AS_HELP_STRING([--with-autoconf],
14 [use a different autoconf for regeneration of Makefiles]), 14 [use a different autoconf for regeneration of Makefiles]),
15 [ 15 [
16 unset AUTOCONF 16 unset AUTOCONF
@@ -20,7 +20,7 @@ AC_DEFUN([AS_AUTOTOOLS_ALTERNATE],
20 20
21 dnl allow for different autoheader version 21 dnl allow for different autoheader version
22 AC_ARG_WITH(autoheader, 22 AC_ARG_WITH(autoheader,
23 AC_HELP_STRING([--with-autoheader], 23 AS_HELP_STRING([--with-autoheader],
24 [use a different autoheader for regeneration of Makefiles]), 24 [use a different autoheader for regeneration of Makefiles]),
25 [ 25 [
26 unset AUTOHEADER 26 unset AUTOHEADER
@@ -30,7 +30,7 @@ AC_DEFUN([AS_AUTOTOOLS_ALTERNATE],
30 30
31 dnl allow for different automake version 31 dnl allow for different automake version
32 AC_ARG_WITH(automake, 32 AC_ARG_WITH(automake,
33 AC_HELP_STRING([--with-automake], 33 AS_HELP_STRING([--with-automake],
34 [use a different automake for regeneration of Makefiles]), 34 [use a different automake for regeneration of Makefiles]),
35 [ 35 [
36 unset AUTOMAKE 36 unset AUTOMAKE
@@ -40,7 +40,7 @@ AC_DEFUN([AS_AUTOTOOLS_ALTERNATE],
40 40
41 dnl allow for different aclocal version 41 dnl allow for different aclocal version
42 AC_ARG_WITH(aclocal, 42 AC_ARG_WITH(aclocal,
43 AC_HELP_STRING([--with-aclocal], 43 AS_HELP_STRING([--with-aclocal],
44 [use a different aclocal for regeneration of Makefiles]), 44 [use a different aclocal for regeneration of Makefiles]),
45 [ 45 [
46 unset ACLOCAL 46 unset ACLOCAL
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4
index a84077a5e..047260bae 100644
--- a/m4/libcurl.m4
+++ b/m4/libcurl.m4
@@ -61,7 +61,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
61 AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP]) 61 AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])
62 62
63 AC_ARG_WITH(libcurl, 63 AC_ARG_WITH(libcurl,
64 AC_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]), 64 AS_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),
65 [_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])]) 65 [_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])])
66 66
67 if test "$_libcurl_with" != "no" ; then 67 if test "$_libcurl_with" != "no" ; then
diff --git a/m4/libgcrypt.m4 b/m4/libgcrypt.m4
index 6cf482fcb..9a29eb5ba 100644
--- a/m4/libgcrypt.m4
+++ b/m4/libgcrypt.m4
@@ -23,7 +23,7 @@ dnl
23AC_DEFUN([AM_PATH_LIBGCRYPT], 23AC_DEFUN([AM_PATH_LIBGCRYPT],
24[ AC_REQUIRE([AC_CANONICAL_HOST]) 24[ AC_REQUIRE([AC_CANONICAL_HOST])
25 AC_ARG_WITH(libgcrypt-prefix, 25 AC_ARG_WITH(libgcrypt-prefix,
26 AC_HELP_STRING([--with-libgcrypt-prefix=PFX], 26 AS_HELP_STRING([--with-libgcrypt-prefix=PFX],
27 [prefix where LIBGCRYPT is installed (optional)]), 27 [prefix where LIBGCRYPT is installed (optional)]),
28 libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") 28 libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="")
29 if test x$libgcrypt_config_prefix != x ; then 29 if test x$libgcrypt_config_prefix != x ; then
diff --git a/m4/libgnurl.m4 b/m4/libgnurl.m4
index da72e5e87..412709373 100644
--- a/m4/libgnurl.m4
+++ b/m4/libgnurl.m4
@@ -61,7 +61,7 @@ AC_DEFUN([LIBGNURL_CHECK_CONFIG],
61 AH_TEMPLATE([LIBGNURL_PROTOCOL_SMTP],[Defined if libgnurl supports SMTP]) 61 AH_TEMPLATE([LIBGNURL_PROTOCOL_SMTP],[Defined if libgnurl supports SMTP])
62 62
63 AC_ARG_WITH(libgnurl, 63 AC_ARG_WITH(libgnurl,
64 AC_HELP_STRING([--with-libgnurl=PREFIX],[look for the gnurl library in PREFIX/lib and headers in PREFIX/include]), 64 AS_HELP_STRING([--with-libgnurl=PREFIX],[look for the gnurl library in PREFIX/lib and headers in PREFIX/include]),
65 [_libgnurl_with=$withval],[_libgnurl_with=ifelse([$1],,[yes],[$1])]) 65 [_libgnurl_with=$withval],[_libgnurl_with=ifelse([$1],,[yes],[$1])])
66 66
67 if test "$_libgnurl_with" != "no" ; then 67 if test "$_libgnurl_with" != "no" ; then
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"