diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2022-07-27 14:42:08 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-07-29 17:14:39 +0200 |
commit | 97adbe94376d40808e7466497a7ad624c181fe4b (patch) | |
tree | 089761c1945055fb6d8677b67e587d4b8c84e74f /acinclude.m4 | |
parent | 593b26e525040fbef407998e4f7331e502f3290d (diff) | |
download | openvswitch-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 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 03afb4170..d9a33f583 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -19,7 +19,7 @@ dnl at compile time. This enables automatically running all unit tests dnl with all actions implementations. AC_DEFUN([OVS_CHECK_ACTIONS_AUTOVALIDATOR], [ AC_ARG_ENABLE([actions-default-autovalidator], - [AC_HELP_STRING([--enable-actions-default-autovalidator], + [AS_HELP_STRING([--enable-actions-default-autovalidator], [Enable actions autovalidator as default ovs actions implementation.])], [autovalidator=yes],[autovalidator=no]) @@ -39,7 +39,7 @@ dnl This enables automatically running all unit tests with all MFEX dnl implementations. AC_DEFUN([OVS_CHECK_MFEX_AUTOVALIDATOR], [ AC_ARG_ENABLE([mfex-default-autovalidator], - [AC_HELP_STRING([--enable-mfex-default-autovalidator], + [AS_HELP_STRING([--enable-mfex-default-autovalidator], [Enable MFEX autovalidator as default miniflow_extract implementation.])], [autovalidator=yes],[autovalidator=no]) @@ -58,7 +58,7 @@ dnl This enables automatically running all unit tests with all DPCLS dnl implementations. AC_DEFUN([OVS_CHECK_DPCLS_AUTOVALIDATOR], [ AC_ARG_ENABLE([autovalidator], - [AC_HELP_STRING([--enable-autovalidator], + [AS_HELP_STRING([--enable-autovalidator], [Enable DPCLS autovalidator as default subtable search implementation.])], [autovalidator=yes],[autovalidator=no]) @@ -77,7 +77,7 @@ dnl Set OVS DPIF default implementation at configure time for running the unit dnl tests on the whole codebase without modifying tests per DPIF impl AC_DEFUN([OVS_CHECK_DPIF_AVX512_DEFAULT], [ AC_ARG_ENABLE([dpif-default-avx512], - [AC_HELP_STRING([--enable-dpif-default-avx512], + [AS_HELP_STRING([--enable-dpif-default-avx512], [Enable DPIF AVX512 implementation as default.])], [dpifavx512=yes],[dpifavx512=no]) AC_MSG_CHECKING([whether DPIF AVX512 is default implementation]) @@ -108,7 +108,7 @@ dnl OVS_ENABLE_WERROR AC_DEFUN([OVS_ENABLE_WERROR], [AC_ARG_ENABLE( [Werror], - [AC_HELP_STRING([--enable-Werror], [Add -Werror to CFLAGS])], + [AS_HELP_STRING([--enable-Werror], [Add -Werror to CFLAGS])], [], [enable_Werror=no]) AC_CONFIG_COMMANDS_PRE( [if test "X$enable_Werror" = Xyes; then @@ -254,7 +254,7 @@ dnl dnl Check both Linux kernel AF_XDP and libbpf support AC_DEFUN([OVS_CHECK_LINUX_AF_XDP], [ AC_ARG_ENABLE([afxdp], - [AC_HELP_STRING([--enable-afxdp], [Enable AF-XDP support])], + [AS_HELP_STRING([--enable-afxdp], [Enable AF-XDP support])], [], [enable_afxdp=no]) AC_MSG_CHECKING([whether AF_XDP is enabled]) if test "$enable_afxdp" != yes; then @@ -296,7 +296,7 @@ dnl dnl Configure DPDK source tree AC_DEFUN([OVS_CHECK_DPDK], [ AC_ARG_WITH([dpdk], - [AC_HELP_STRING([--with-dpdk=static|shared|yes], + [AS_HELP_STRING([--with-dpdk=static|shared|yes], [Specify "static" or "shared" depending on the DPDK libraries to use])], [have_dpdk=true]) @@ -663,7 +663,7 @@ AC_DEFUN([OVS_ENABLE_SPARSE], AC_ARG_ENABLE( [sparse], - [AC_HELP_STRING([--enable-sparse], [Run "sparse" by default])], + [AS_HELP_STRING([--enable-sparse], [Run "sparse" by default])], [], [enable_sparse=no]) AM_CONDITIONAL([ENABLE_SPARSE_BY_DEFAULT], [test $enable_sparse = yes])]) |