summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-12-23 11:41:29 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-12-23 21:20:36 +0300
commit85473df0d4ebff637216cfe0c13bcc70c7ed5a56 (patch)
treefbee3173885f9151c5756ac3edd79233fda76bc9
parentae2157d255c539f0011c5c3dc6f7c67f8ec8d9eb (diff)
downloadlibatomic_ops-85473df0d4ebff637216cfe0c13bcc70c7ed5a56.tar.gz
Replace obsolete AC_HELP_STRING with AS_HELP_STRING in configure
(refactoring) * configure.ac (AC_ARG_ENABLE): Specify AS_HELP_STRING instead of AC_HELP_STRING.
-rw-r--r--configure.ac14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 1003161..ae30859 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,8 +85,8 @@ extern int quiet;
[WPEDANTIC="-Wpedantic -Wno-long-long"])
CFLAGS="-Wall $WEXTRA $WPEDANTIC $CFLAGS"
- AC_ARG_ENABLE(werror, [AC_HELP_STRING([--enable-werror],
- [Pass -Werror to the C compiler])])
+ AC_ARG_ENABLE(werror, [AS_HELP_STRING([--enable-werror],
+ [Pass -Werror to the C compiler])])
if test "$enable_werror" = yes; then
CFLAGS="-Werror $CFLAGS"
fi
@@ -117,20 +117,20 @@ else
fi
AC_ARG_ENABLE(assertions,
- [AC_HELP_STRING([--enable-assertions], [Assertion checking])])
+ [AS_HELP_STRING([--enable-assertions], [Assertion checking])])
if test "$enable_assertions" != yes; then
AC_DEFINE([NDEBUG], 1, [Define to disable assertion checking.])
fi
AC_ARG_ENABLE(atomic-intrinsics,
- [AC_HELP_STRING([--disable-atomic-intrinsics],
+ [AS_HELP_STRING([--disable-atomic-intrinsics],
[Do not use GCC atomic intrinsics])])
if test "$enable_atomic_intrinsics" = no; then
AC_DEFINE([AO_DISABLE_GCC_ATOMICS], 1,
[Define to avoid GCC atomic intrinsics even if available.])
fi
-AC_ARG_ENABLE(gcov, AC_HELP_STRING([--enable-gcov],
+AC_ARG_ENABLE(gcov, AS_HELP_STRING([--enable-gcov],
[Turn on code coverage analysis]))
if test "$enable_gcov" = "yes"; then
CFLAGS="$CFLAGS --coverage"
@@ -139,12 +139,12 @@ if test "$enable_gcov" = "yes"; then
fi
AC_ARG_ENABLE(gpl,
- [AC_HELP_STRING([--disable-gpl],
+ [AS_HELP_STRING([--disable-gpl],
[Do not build atomic_ops_gpl library])])
AM_CONDITIONAL(ENABLE_GPL, test x$enable_gpl != xno)
AC_ARG_ENABLE(docs,
- [AC_HELP_STRING([--disable-docs],
+ [AS_HELP_STRING([--disable-docs],
[Do not build and install documentation])])
AM_CONDITIONAL(ENABLE_DOCS, test x$enable_docs != xno)