Commit 756c6433 authored by Mark Andrews's avatar Mark Andrews
Browse files

4334. [func] 'named -V' now reports zlib version. [RT #41913]

parent 8e4d56d4
4334. [func] 'named -V' now reports zlib version. [RT #41913]
4333. [maint] L.ROOT-SERVERS.NET is now 199.7.83.42 and
2001:500:9f::42.
......
......@@ -87,6 +87,9 @@
#ifdef HAVE_LIBXML2
#include <libxml/xmlversion.h>
#endif
#ifdef HAVE_ZLIB
#include <zlib.h>
#endif
/*
* Include header files for database drivers here.
*/
......@@ -677,6 +680,12 @@ parse_command_line(int argc, char *argv[]) {
printf("linked to libjson-c version: %s\n",
json_c_version());
#endif
#if defined(HAVE_ZLIB) && defined(ZLIB_VERSION)
printf("compiled with zlib version: %s\n",
ZLIB_VERSION);
printf("linked to zlib version: %s\n",
zlibVersion());
#endif
#ifdef ISC_PLATFORM_USETHREADS
printf("threads support is enabled\n");
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment