2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 00:55:24 +00:00

4247. [port] Require both HAVE_JSON and JSON_C_VERSION to be

defined to report json library version. [RT #41045]
This commit is contained in:
Mark Andrews
2015-10-29 15:22:41 +11:00
parent aa9b64060f
commit f06b6a9b14
2 changed files with 4 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
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 4246. [test] Ensure the statschannel system test runs when BIND
is not built with libjson. [RT #40944] is not built with libjson. [RT #40944]

View File

@@ -666,7 +666,7 @@ parse_command_line(int argc, char *argv[]) {
printf("linked to libxml2 version: %s\n", printf("linked to libxml2 version: %s\n",
xmlParserVersion); xmlParserVersion);
#endif #endif
#ifdef HAVE_JSON #if defined(HAVE_JSON) && defined(JSON_C_VERSION)
printf("compiled with libjson-c version: %s\n", printf("compiled with libjson-c version: %s\n",
JSON_C_VERSION); JSON_C_VERSION);
printf("linked to libjson-c version: %s\n", printf("linked to libjson-c version: %s\n",