summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnu.org>2021-11-24 04:23:07 -0500
committerThien-Thi Nguyen <ttn@gnu.org>2021-11-24 04:23:07 -0500
commit4daba1e712c8569a94f19c4324dfd3fc3de0e721 (patch)
treea6cb06d6161f30ff3f3393ae8ed69fb4edcb0a93
parent178663b10a26804fff4bb06e8ae77e2af4c7619b (diff)
downloadsync-4daba1e712c8569a94f19c4324dfd3fc3de0e721.tar.gz
sync-4daba1e712c8569a94f19c4324dfd3fc3de0e721.tar.bz2
sync-4daba1e712c8569a94f19c4324dfd3fc3de0e721.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/libcurl.m4 (--with-libcurl): ...here. * m4/libgnurl.m4 (--with-libgnurl): Likewise.
-rw-r--r--m4/libcurl.m42
-rw-r--r--m4/libgnurl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/m4/libcurl.m4 b/m4/libcurl.m4
index a84077a..047260b 100644
--- a/m4/libcurl.m4
+++ b/m4/libcurl.m4
@@ -61,7 +61,7 @@ AC_DEFUN([LIBCURL_CHECK_CONFIG],
AH_TEMPLATE([LIBCURL_PROTOCOL_SMTP],[Defined if libcurl supports SMTP])
AC_ARG_WITH(libcurl,
- AC_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),
+ AS_HELP_STRING([--with-libcurl=PREFIX],[look for the curl library in PREFIX/lib and headers in PREFIX/include]),
[_libcurl_with=$withval],[_libcurl_with=ifelse([$1],,[yes],[$1])])
if test "$_libcurl_with" != "no" ; then
diff --git a/m4/libgnurl.m4 b/m4/libgnurl.m4
index 69aa166..82b0fda 100644
--- a/m4/libgnurl.m4
+++ b/m4/libgnurl.m4
@@ -61,7 +61,7 @@ AC_DEFUN([LIBGNURL_CHECK_CONFIG],
AH_TEMPLATE([LIBGNURL_PROTOCOL_SMTP],[Defined if libgnurl supports SMTP])
AC_ARG_WITH(libgnurl,
- AC_HELP_STRING([--with-libgnurl=PREFIX],[look for the gnurl library in PREFIX/lib and headers in PREFIX/include]),
+ AS_HELP_STRING([--with-libgnurl=PREFIX],[look for the gnurl library in PREFIX/lib and headers in PREFIX/include]),
[_libgnurl_with=$withval],[_libgnurl_with=ifelse([$1],,[yes],[$1])])
if test "$_libgnurl_with" != "no" ; then