Skip to content

Commit

Permalink
Add processing for --with-p4ovs option (#126)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Foster <[email protected]>
  • Loading branch information
ffoulkes authored Jul 4, 2024
1 parent 7c068a8 commit 1c3e8a7
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions m4/ovs_check_p4ovs.m4
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,16 @@ AC_DEFUN([OVS_CHECK_OVSP4RT], [
OVSP4RT_LIBS=$ovsp4rt_LIBS
fi
have_p4ovs=true
fi
legacy_p4ovs=$have_p4ovs
if test $have_ovsp4rt = true; then
legacy_p4ovs=false
else
AC_MSG_CHECKING([whether P4OVS is enabled])
if test $have_p4ovs == true; then
AC_MSG_RESULT([yes])
legacy_p4ovs=true
else
AC_MSG_RESULT([no])
legacy_p4ovs=false
fi
fi
dnl define variable in config.h file
Expand Down

0 comments on commit 1c3e8a7

Please sign in to comment.