diff options
author | Andrei Pavel <andrei@isc.org> | 2021-08-11 11:35:09 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2021-08-12 17:33:27 +0200 |
commit | f7ecc6ca0df90464666e7fd9905c3ff6dbef576b (patch) | |
tree | 468c7edca2b804a8c52ba1db5b8236bd9d2b2049 | |
parent | [#1990] chmod -x reinstall.sh.in (diff) | |
download | kea-f7ecc6ca0df90464666e7fd9905c3ff6dbef576b.tar.xz kea-f7ecc6ca0df90464666e7fd9905c3ff6dbef576b.zip |
[#1990] report error if NETCONF was not enabled
Diffstat (limited to '')
-rw-r--r-- | m4macros/ax_sysrepo.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/m4macros/ax_sysrepo.m4 b/m4macros/ax_sysrepo.m4 index 1f3d5be2e5..9511eac305 100644 --- a/m4macros/ax_sysrepo.m4 +++ b/m4macros/ax_sysrepo.m4 @@ -205,6 +205,12 @@ AC_DEFUN([AX_SYSREPO], [ else HAVE_SYSREPO=false fi + + # Report error if sysrepo was requested but not enabled. + if test -n "${with_sysrepo}" && test "${with_sysrepo}" != 'no' && ! "${HAVE_SYSREPO}"; then + AC_MSG_ERROR([Could not enable NETCONF support.]) + fi + AM_CONDITIONAL(HAVE_SYSREPO, "${HAVE_SYSREPO}") AC_SUBST(HAVE_SYSREPO) AC_SUBST(SYSREPO_CPPFLAGS) |