configure: Use AS_HELP_STRING instead of AC_HELP_STRING.
authorMark Wielaard <mark@klomp.org>
Mon, 14 Mar 2022 12:13:34 +0000 (13:13 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 14 Mar 2022 12:13:34 +0000 (13:13 +0100)
In most places we already used AS_HELP_STRING. A few places used
AC_HELP_STRING. Which has been deprecated for a long time. Use
AS_HELP_STRING instead of AC_HELP_STRING everywhere.

Signed-off-by: Mark Wielaard <mark@klomp.org>
ChangeLog
configure.ac
m4/ChangeLog
m4/biarch.m4
m4/zip.m4

index f0ea04b..2f46f90 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-03-14  Mark Wielaard  <mark@klomp.org>
+
+       * configure.ac: Use AS_HELP_STRING instead of AC_HELP_STRING.
+
 2021-03-11  Mark Wielaard  <mark@klomp.org>
 
        * NEWS: Document new --relative option for addr2line.
index 52882fa..1aff9f3 100644 (file)
@@ -744,7 +744,7 @@ AC_CHECK_PROG(HAVE_ZSTD, zstd, yes, no)
 AM_CONDITIONAL([HAVE_ZSTD],[test "x$HAVE_ZSTD" = "xyes"])
 
 # Look for libcurl for libdebuginfod minimum version as per rhel7.
-AC_ARG_ENABLE([libdebuginfod],AC_HELP_STRING([--enable-libdebuginfod], [Build debuginfod client library (can be =dummy)]))
+AC_ARG_ENABLE([libdebuginfod],AS_HELP_STRING([--enable-libdebuginfod], [Build debuginfod client library (can be =dummy)]))
 AS_IF([test "x$enable_libdebuginfod" != "xno"], [
     if test "x$enable_libdebuginfod" != "xdummy"; then
       AC_MSG_NOTICE([checking libdebuginfod dependencies, --disable-libdebuginfod or --enable-libdebuginfo=dummy to skip])
@@ -771,7 +771,7 @@ AM_CONDITIONAL([DUMMY_LIBDEBUGINFOD],[test "x$enable_libdebuginfod" = "xdummy"])
 
 # Look for libmicrohttpd, libarchive, sqlite for debuginfo server
 # minimum versions as per rhel7.
-AC_ARG_ENABLE([debuginfod],AC_HELP_STRING([--enable-debuginfod], [Build debuginfod server]))
+AC_ARG_ENABLE([debuginfod],AS_HELP_STRING([--enable-debuginfod], [Build debuginfod server]))
 AS_IF([test "x$enable_debuginfod" != "xno"], [
     AC_MSG_NOTICE([checking debuginfod C++11 support, --disable-debuginfod to skip])
     AX_CXX_COMPILE_STDCXX(11, noext, mandatory)
index 3283269..d4c3c28 100644 (file)
@@ -1,3 +1,8 @@
+2022-03-14  Mark Wielaard  <mark@klomp.org>
+
+       * biarch.m4: Use AS_HELP_STRING instead of AC_HELP_STRING.
+       * zip.m4: Likewise.
+
 2020-12-15  Dmitry V. Levin  <ldv@altlinux.org>
 
        * .gitignore: New file.
index c238d8d..6861847 100644 (file)
@@ -28,7 +28,7 @@ biarch_CC="$biarch_CC $utrace_biarch"])])
 AC_DEFUN([utrace_BIARCH], [AC_REQUIRE([utrace_HOST64])
 utrace_biarch_forced=no
 AC_ARG_WITH([biarch],
-           AC_HELP_STRING([--with-biarch],
+           AS_HELP_STRING([--with-biarch],
                           [enable biarch tests despite build problems]),
            [AS_IF([test "x$with_biarch" != xno], [utrace_biarch_forced=yes])])
 AS_IF([test $utrace_biarch_forced = yes], [dnl
index ab6fd57..8affa3f 100644 (file)
--- a/m4/zip.m4
+++ b/m4/zip.m4
@@ -4,7 +4,7 @@ dnl and sets AC_DEFINE(USE_$2) and LIBS.
 
 AC_DEFUN([eu_ZIPLIB], [dnl
 AC_ARG_WITH([[$1]],
-AC_HELP_STRING([--with-[$1]], [support [$1] compression in libdwfl]),,
+AS_HELP_STRING([--with-[$1]], [support [$1] compression in libdwfl]),,
            [with_[$1]=default])
 if test $with_[$1] != no; then
   AC_SEARCH_LIBS([$4], [$3], [with_[$1]=yes],