From 57da65589f97da6974f212d4ba5169537a41ac1e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 15 Sep 2021 18:43:39 +0100 Subject: build: Use AS_HELP_STRING instead of deprecated AC_HELP_STRING This has been available since at least autoconf 2.59c (2006). Signed-off-by: Simon McVittie --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b0c5529..79ad5ae 100644 --- a/configure.ac +++ b/configure.ac @@ -85,7 +85,7 @@ PLATFORM=`$PYTHON -c "import sysconfig; print(sysconfig.get_platform())"` AC_SUBST(PLATFORM) AC_ARG_ENABLE([installed-tests], - [AC_HELP_STRING([--enable-installed tests], + [AS_HELP_STRING([--enable-installed tests], [install test programs and helpers for as-installed testing])], [], [enable_installed_tests=no]) @@ -94,7 +94,7 @@ AM_CONDITIONAL([ENABLE_INSTALLED_TESTS], [test "_$enable_installed_tests" = _yes dnl Building documentation AC_ARG_ENABLE([documentation], - [AC_HELP_STRING([--enable-documentation], + [AS_HELP_STRING([--enable-documentation], [Enable documentation building (requires sphinx and sphinx_rtd_theme)])], [:], [enable_documentation=auto]) @@ -147,7 +147,7 @@ WARN_CFLAGS="$(echo "${WARN_CFLAGS}" | ${SED} \ )" AC_ARG_ENABLE([coding-style-checks], - [AC_HELP_STRING([--enable-coding-style-checks], + [AS_HELP_STRING([--enable-coding-style-checks], [check coding style using grep])], [ENABLE_CODING_STYLE_CHECKS=$enableval], [ENABLE_CODING_STYLE_CHECKS=$ax_is_release]) -- cgit v1.2.1