BIND9 9.14 (and 9.11) fails to build when jsoncpp is installed
I have had a report of a FreeBSD user that BIND9 9.14 was failing to build if jsoncpp was installed. This is because the configure code assumes that if include/json/json.h is there, libjson is there, without actually checking that the lib is actually there. It then goes on to first check that either libjson or libjson-c exist, but if libjson-c exists, it does not call AC_DEFINE(HAVE_JSON_C...) so it breaks during build. The same problem exists in the BIND9 9.11 branch.
It was fixed in 4d2d3b49 on master to have two configure knobs, one for libjson, and one for libjson-c, maybe it could be backported to the v9_14 and v9_11 branches. (Or maybe change the ordering of the configure code so that libjson-c is checked first.)