summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-05-09 19:24:20 +0200
committerRenato Westphal <renato@opensourcerouting.org>2020-08-07 19:07:46 +0200
commit240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 (patch)
treecfc722648fa3ec7177da1149cd94d81e58b5c59a /configure.ac
parentMerge pull request #6875 from opensourcerouting/bgpd-fsm-legacy-cleanup (diff)
downloadfrr-240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5.tar.xz
frr-240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5.zip
build, yang: bump libyang minimum required version to 1.0.184
It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 3c65bc91a..36a5ce242 100755
--- a/configure.ac
+++ b/configure.ac
@@ -1740,8 +1740,8 @@ AC_SUBST([SNMP_CFLAGS])
dnl ---------------
dnl libyang
dnl ---------------
-PKG_CHECK_MODULES([LIBYANG], [libyang >= 0.16.105], , [
- AC_MSG_ERROR([libyang (>= 0.16.105) was not found on your system.])
+PKG_CHECK_MODULES([LIBYANG], [libyang >= 1.0.184], , [
+ AC_MSG_ERROR([libyang (>= 1.0.184) was not found on your system.])
])
ac_cflags_save="$CFLAGS"
CFLAGS="$CFLAGS $LIBYANG_CFLAGS"