Include protobuf-c version
Include used version of protobuf-c in version info, both link time and
runtime version is available.
(cherry picked from commit 85f3476894)
This commit is contained in:
committed by
Mark Andrews
parent
412d7724ae
commit
e37d8aecba
@@ -522,6 +522,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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user