summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2024-01-09 18:31:36 +0100
committerGitHub <noreply@github.com>2024-01-09 18:31:36 +0100
commit22b439090cdef4525cae767e80d6898a3de5c6e4 (patch)
tree34fc0a6235d2683ea67c842f50a6b1b1755c3995 /configure.ac
parentMerge pull request #15122 from opensourcerouting/fix/drop_packet_send_debugs (diff)
parenttests: test new XPath 1.0 predicate functionality (diff)
downloadfrr-22b439090cdef4525cae767e80d6898a3de5c6e4.tar.xz
frr-22b439090cdef4525cae767e80d6898a3de5c6e4.zip
Merge pull request #15103 from LabNConsulting/chopps/oper-filter
Implement full XPath 1.0 functionality
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 1f87c9066..174090d3a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1964,6 +1964,13 @@ AC_CHECK_MEMBER([struct lyd_node.priv], [], [
Instructions for this are included in the build documentation for your platform at http://docs.frrouting.org/projects/dev-guide/en/latest/building.html])
])
], [[#include <libyang/libyang.h>]])
+
+AC_CHECK_LIB([yang],[lyd_find_xpath3],[],[AC_MSG_ERROR([m4_normalize([
+libyang missing lyd_find_xpath3])])])
+dnl -- don't add lyd_new_list3 to this list unless bug is fixed upstream
+dnl -- https://github.com/CESNET/libyang/issues/2149
+AC_CHECK_FUNCS([ly_strerrcode ly_strvecode lyd_trim_xpath])
+
CFLAGS="$ac_cflags_save"
dnl ---------------