summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorIlya Maximets <i.maximets@ovn.org>2022-07-27 14:42:08 +0200
committerIlya Maximets <i.maximets@ovn.org>2022-07-29 17:14:39 +0200
commit97adbe94376d40808e7466497a7ad624c181fe4b (patch)
tree089761c1945055fb6d8677b67e587d4b8c84e74f /m4
parent593b26e525040fbef407998e4f7331e502f3290d (diff)
downloadopenvswitch-97adbe94376d40808e7466497a7ad624c181fe4b.tar.gz
m4: Replace obsolete AC_HELP_STRING with AS_HELP_STRING.
AS_HELP_STRING is a direct replacement for AC_HELP_STRING. It is available since autoconf 2.57a. OVS requires 2.63, so AS_HELP_STRING can be freely used. This fixes the following warning on systems with 2.70+: $ ./boot.sh ... configure.ac:92: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:92: You should run autoupdate. ... Acked-by: Sunil Pai G <sunil.pai.g@intel.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m418
1 files changed, 9 insertions, 9 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index fe51455b4..6eef1fb35 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -21,7 +21,7 @@ AC_DEFUN([OVS_CHECK_COVERAGE],
[AC_REQUIRE([AC_PROG_CC])
AC_ARG_ENABLE(
[coverage],
- [AC_HELP_STRING([--enable-coverage],
+ [AS_HELP_STRING([--enable-coverage],
[Enable gcov coverage tool.])],
[case "${enableval}" in
(yes) coverage=true ;;
@@ -50,7 +50,7 @@ dnl Checks for --enable-ndebug and defines NDEBUG if it is specified.
AC_DEFUN([OVS_CHECK_NDEBUG],
[AC_ARG_ENABLE(
[ndebug],
- [AC_HELP_STRING([--enable-ndebug],
+ [AS_HELP_STRING([--enable-ndebug],
[Disable debugging features for max performance])],
[case "${enableval}" in
(yes) ndebug=true ;;
@@ -64,7 +64,7 @@ dnl Checks for --enable-usdt-probes and defines HAVE_USDT if it is specified.
AC_DEFUN([OVS_CHECK_USDT], [
AC_ARG_ENABLE(
[usdt-probes],
- [AC_HELP_STRING([--enable-usdt-probes],
+ [AS_HELP_STRING([--enable-usdt-probes],
[Enable User Statically Defined Tracing (USDT) probes])],
[case "${enableval}" in
(yes) usdt=true ;;
@@ -227,7 +227,7 @@ dnl Checks for libcap-ng.
AC_DEFUN([OVS_CHECK_LIBCAPNG],
[AC_ARG_ENABLE(
[libcapng],
- [AC_HELP_STRING([--disable-libcapng], [Disable Linux capability support])],
+ [AS_HELP_STRING([--disable-libcapng], [Disable Linux capability support])],
[case "${enableval}" in
(yes) libcapng=true ;;
(no) libcapng=false ;;
@@ -263,7 +263,7 @@ dnl Checks for OpenSSL.
AC_DEFUN([OVS_CHECK_OPENSSL],
[AC_ARG_ENABLE(
[ssl],
- [AC_HELP_STRING([--disable-ssl], [Disable OpenSSL support])],
+ [AS_HELP_STRING([--disable-ssl], [Disable OpenSSL support])],
[case "${enableval}" in
(yes) ssl=true ;;
(no) ssl=false ;;
@@ -320,7 +320,7 @@ dnl Checks for the directory in which to store the PKI.
AC_DEFUN([OVS_CHECK_PKIDIR],
[AC_ARG_WITH(
[pkidir],
- AC_HELP_STRING([--with-pkidir=DIR],
+ AS_HELP_STRING([--with-pkidir=DIR],
[PKI hierarchy directory [[LOCALSTATEDIR/lib/openvswitch/pki]]]),
[PKIDIR=$withval],
[PKIDIR='${localstatedir}/lib/openvswitch/pki'])
@@ -330,7 +330,7 @@ dnl Checks for the directory in which to store pidfiles.
AC_DEFUN([OVS_CHECK_RUNDIR],
[AC_ARG_WITH(
[rundir],
- AC_HELP_STRING([--with-rundir=DIR],
+ AS_HELP_STRING([--with-rundir=DIR],
[directory used for pidfiles
[[LOCALSTATEDIR/run/openvswitch]]]),
[RUNDIR=$withval],
@@ -341,7 +341,7 @@ dnl Checks for the directory in which to store logs.
AC_DEFUN([OVS_CHECK_LOGDIR],
[AC_ARG_WITH(
[logdir],
- AC_HELP_STRING([--with-logdir=DIR],
+ AS_HELP_STRING([--with-logdir=DIR],
[directory used for logs [[LOCALSTATEDIR/log/PACKAGE]]]),
[LOGDIR=$withval],
[LOGDIR='${localstatedir}/log/${PACKAGE}'])
@@ -351,7 +351,7 @@ dnl Checks for the directory in which to store the Open vSwitch database.
AC_DEFUN([OVS_CHECK_DBDIR],
[AC_ARG_WITH(
[dbdir],
- AC_HELP_STRING([--with-dbdir=DIR],
+ AS_HELP_STRING([--with-dbdir=DIR],
[directory used for conf.db [[SYSCONFDIR/PACKAGE]]]),
[DBDIR=$withval],
[DBDIR='${sysconfdir}/${PACKAGE}'])