summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2024-01-06 06:55:04 -0500
committerChristian Hopps <chopps@labn.net>2024-01-06 06:55:04 -0500
commitdb3ac9d4f33b27d122be6fa6b15fab74a5a60090 (patch)
tree45a0beb336d04b616c8d5104953bb1703fd97dbd /configure.ac
parent4d29c17407cdeb7ddb019045928d9341a0ca3625 (diff)
build: require libyang 2.1.128
Update building docs to reflect this as well. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index a3b0370ec0..1f87c9066d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1954,12 +1954,8 @@ dnl ---------------
dnl libyang
dnl ---------------
PKG_CHECK_MODULES([LIBYANG], [libyang >= 2.1.128], , [
- AC_MSG_WARN([Recommended libyang version is >= 2.1.128.])
-])
-
-PKG_CHECK_MODULES([LIBYANG], [libyang >= 2.0.0], , [
- AC_MSG_ERROR([libyang (>= 2.0.0) was not found on your system.])
-])
+AC_MSG_ERROR([m4_normalize([libyang >= 2.1.128 is required, and was not found on your system.
+Pleaes consult doc/developer/building-libyang.rst for instructions on installing or building libyang.])])])
ac_cflags_save="$CFLAGS"
CFLAGS="$CFLAGS $LIBYANG_CFLAGS"
AC_CHECK_MEMBER([struct lyd_node.priv], [], [