aboutsummaryrefslogtreecommitdiff
path: root/helper/m4/configure.m4
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-11-24 09:23:14 +0200
committerGitHub <noreply@github.com>2021-11-24 09:23:14 +0200
commit450eed7b050496cc6dd981fe20f38915063f8a7c (patch)
treed46c0c4439dab28ad6f353c2ad3bc3d166f28ce1 /helper/m4/configure.m4
parentf5e9dc2da1202c6afc09559e74a63eb4126e7eef (diff)
parenta323b89bd7296b7774d51774a7426d432735d061 (diff)
Merge ODP v1.32.1.0v1.32.1.0_DPDK_19.11
Merge ODP linux-generic v1.32.1.0 into linux-dpdk
Diffstat (limited to 'helper/m4/configure.m4')
-rw-r--r--helper/m4/configure.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4
index 36629c81e..2e1076172 100644
--- a/helper/m4/configure.m4
+++ b/helper/m4/configure.m4
@@ -47,5 +47,17 @@ AS_IF([test "x$enable_helper_debug_print" != "xno"], [ODPH_DEBUG_PRINT=1],
AC_DEFINE_UNQUOTED([ODPH_DEBUG_PRINT], [$ODPH_DEBUG_PRINT],
[Define to 1 to display helper debug information])
+##########################################################################
+# Enable/disable deprecated helper API definitions
+##########################################################################
+AC_ARG_ENABLE([helper-deprecated],
+ [AS_HELP_STRING([--enable-helper-deprecated],
+ [enable deprecated helper API definitions [default=disabled]])],
+ [], [enable_helper_deprecated=no])
+AS_IF([test "x$enable_helper_deprecated" != "xno"], [ODPH_DEPRECATED_API=1],
+ [ODPH_DEPRECATED_API=0])
+AC_DEFINE_UNQUOTED([ODPH_DEPRECATED_API], [$ODPH_DEPRECATED_API],
+ [Define to 1 to enable deprecated helper API definitions])
+
AC_CONFIG_FILES([helper/libodphelper.pc
helper/test/Makefile])