Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
454a816e
Commit
454a816e
authored
Jul 20, 2019
by
Francis Dupont
Browse files
[742-new-libyang-and-sysrepo-versions] Added HAVE_POST_0_7_7_SYSREPO config flag
parent
5f9e7c54
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
454a816e
...
...
@@ -967,7 +967,15 @@ if test "$SYSREPO_CONFIG" != "" ; then
[AC_LANG_PROGRAM(
[#include <sysrepo-cpp/Session.hpp>],
[sysrepo::Connection("conn-name");])],
[AC_MSG_RESULT([checking for Sysrepo C++ bindings headers and library... yes])],
[AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include <sysrepo-cpp/Session.hpp>],
[auto is_empty = [[]](sysrepo::S_Val v){
return (v->empty()); };
])],
[AC_MSG_RESULT([checking for Sysrepo C++ bindings headers and library, new])
AC_DEFINE([HAVE_POST_0_7_7_SYSREPO], [1], [Using sysrepo > 0.7.7])],
[AC_MSG_RESULT([checking for Sysrepo C++ bindings headers and library, yes])])],
[AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
[#include <sysrepo-cpp/Session.h>],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment