aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Kiss <zoltan.kiss@linaro.org>2016-07-28 20:14:55 +0100
committerZoltan Kiss <zoltan.kiss@linaro.org>2016-07-28 20:14:55 +0100
commitad9046ab72d6358d5edb125011bd7c080bea3baa (patch)
tree10145057da0fa3254dc3879c552ba6c4a4acd980
parentb3388dd31468edd6b92138ac40c1013739dfdea9 (diff)
downloadodp-ovs-ad9046ab72d6358d5edb125011bd7c080bea3baa.tar.gz
acinclude: repurpose --with-odp-platform to find the libraryHEADodp-v3
Signed-off-by: Zoltan Kiss <zoltan.kiss@linaro.org>
-rw-r--r--acinclude.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7e33255ed..4c8c3de48 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -276,11 +276,11 @@ dnl Configure ODP platform
AC_DEFUN([OVS_CHECK_ODP_PLATFORM], [
AC_MSG_CHECKING([for ODP Platform])
- ODP_PLATFORM=linux-generic
+ ODP_PLATFORM=odp-linux
AC_ARG_WITH([odp-platform],
[AC_HELP_STRING([--with-odp-platform=[@<:@odp-platform@:>@]],
- [ODP platform to use; default is linux-generic])],
+ [ODP platform to use; default is odp-linux])],
[
if test X"$withval" != X; then
ODP_PLATFORM=$withval
@@ -325,7 +325,7 @@ AC_DEFUN([OVS_CHECK_ODP], [
if test X"$with_odp" != X; then
- ODP_LIB="-lodp"
+ ODP_LIB="-l$ODP_PLATFORM"
ovs_save_CFLAGS="$CFLAGS"
ovs_save_LDFLAGS="$LDFLAGS"