Skip to content
Permalink
Browse files

configure: Check whether libyang has ENABLE_LYD_PRIV

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
  • Loading branch information...
cfra committed Nov 1, 2018
1 parent 7c32c1d commit 397b1dff48859b936f97605a3745c278249c437f
Showing with 6 additions and 0 deletions.
  1. +6 −0 configure.ac
@@ -1595,6 +1595,12 @@ dnl ---------------
PKG_CHECK_MODULES(libyang, [libyang >= 0.16.7], , [
AC_MSG_ERROR([libyang (>= 0.16.7) was not found on your system.])
])
AC_CHECK_MEMBER([struct lyd_node.priv], [], [
AC_MSG_ERROR([m4_normalize([
libyang needs to be compiled with ENABLE_LYD_PRIV=ON.
See http://docs.frrouting.org/projects/dev-guide/en/latest/building-libyang.html for details.])
])
], [[#include <libyang/libyang.h>]])

dnl ---------------
dnl configuration rollbacks

0 comments on commit 397b1df

Please sign in to comment.
You can’t perform that action at this time.