diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-17 10:22:38 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-04-17 10:22:38 +0000 |
commit | 8bd4f6139f5b9479f7abf7fa9fcaf22eda94e39d (patch) | |
tree | 2ff1b4cf0c4000ea467e1694140053f6dae9f35f /version_info.c | |
parent | 51af731c3acb779b88fbb32f4b4772b51a8a52af (diff) |
From Richard Brodie via bug 4606:
Display runtime version for libz, as well as build version.
svn path=/trunk/; revision=32502
Diffstat (limited to 'version_info.c')
-rw-r--r-- | version_info.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/version_info.c b/version_info.c index 065cbd2eae..a403907ee8 100644 --- a/version_info.c +++ b/version_info.c @@ -531,6 +531,11 @@ get_runtime_version_info(GString *str, void (*additional_info)(GString *)) g_string_append(str, ", "); get_runtime_pcap_version(str); + /* zlib */ +#ifdef HAVE_LIBZ + g_string_append_printf(str, ", with libz %s", zlibVersion()); +#endif + /* GnuTLS */ #ifdef HAVE_LIBGNUTLS g_string_append_printf(str, ", GnuTLS %s", gnutls_check_version(NULL)); |