From 33593dd6b7c3f95ca555b904cf9c4cecfc450b28 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen Date: Sat, 20 Nov 2021 06:37:14 -0500 Subject: 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. --- m4/libcurl.m4 | 2 +- m4/libgnurl.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/libcurl.m4 b/m4/libcurl.m4 index a84077a5..047260ba 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 69aa1660..82b0fda1 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 -- cgit v1.2.3