From: Petr Menšík Date: Mon, 18 Nov 2019 21:14:20 +0000 (+0100) Subject: Include protobuf-c version X-Git-Tag: v9.15.8~36^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85f3476894c6fa913bfc333b243b56d832f25848;p=thirdparty%2Fbind9.git Include protobuf-c version Include used version of protobuf-c in version info, both link time and runtime version is available. --- diff --git a/bin/named/main.c b/bin/named/main.c index e57ed1c60f8..9d8e1aeedc4 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -557,6 +557,12 @@ OPENSSL_VERSION_NUMBER >= 0x10100000L /* 1.1.0 or higher */ /* Unfortunately, no version define on link time */ printf("linked to maxminddb version: %s\n", MMDB_lib_version()); +#endif +#if defined(HAVE_DNSTAP) + printf("compiled with protobuf-c version: %s\n", + PROTOBUF_C_VERSION); + printf("linked to protobuf-c version: %s\n", + protobuf_c_version()); #endif printf("threads support is enabled\n\n");