diff options
author | Sachin Saxena <sachin.saxena@nxp.com> | 2017-07-05 05:16:22 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2017-07-05 05:16:22 +0000 |
commit | 3d9c3c28b4dce1c6f66564ebbc3ecae85dcd7009 (patch) | |
tree | 3175cbb46106deb423d242f2be61c74968cda2d0 /src/configure.ac | |
parent | d338f4e38a0cc437cca49052787fdc976c46bf52 (diff) | |
parent | 704381d7bac04215ef270359f34658856c00d9a0 (diff) |
Merge "Introducing ODP plugin node" into 1707
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/configure.ac b/src/configure.ac index 173b3153..d1f8b9fa 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -104,13 +104,20 @@ WITH_ARG(dpdk_mlx5_pmd, [Use DPDK with mlx5 PMD]) WITHOUT_ARG(libssl, [Disable libssl]) WITHOUT_ARG(apicli, [Disable binary api CLI]) +AC_ARG_WITH(odplib, + AC_HELP_STRING([--with-odplib],[Use odplib]), + [with_odplib=1], + [with_odplib=0]) + +AM_CONDITIONAL(WITH_ODPLIB, test $with_odplib = 1) + AC_ARG_WITH(unix, AC_HELP_STRING([--with-unix],[Compile unix version of clib]), [], [case $host_os in darwin* | linux*) with_unix=yes;; *) with_unix=no;; - esac]) + esac]) AM_CONDITIONAL(WITH_UNIX, test "$with_unix" = "yes") @@ -155,6 +162,8 @@ PLUGIN_ENABLED(lb) PLUGIN_ENABLED(memif) PLUGIN_ENABLED(sixrd) PLUGIN_ENABLED(snat) +AM_COND_IF([WITH_ODPLIB], +[PLUGIN_ENABLED(odp)],[PLUGIN_DISABLED(odp)]) ############################################################################### # Dependency checks |