defined to report json library version. [RT #41045]
+4247. [port] Require both HAVE_JSON and JSON_C_VERSION to be
+ defined to report json library version. [RT #41045]
+
4246. [test] Ensure the statschannel system test runs when BIND
is not built with libjson. [RT #40944]
printf("linked to libxml2 version: %s\n",
xmlParserVersion);
#endif
-#ifdef HAVE_JSON
+#if defined(HAVE_JSON) && defined(JSON_C_VERSION)
printf("compiled with libjson-c version: %s\n",
JSON_C_VERSION);
printf("linked to libjson-c version: %s\n",