Add #ifdef statement since zlib is optional. At the moment an empty
version string is used when zlib is not available:
backend: Libs: glib 2.72.4 (rt: 2.72.4/7204:4), zlib , libzip 1.7.3,
Signed-off-by: Marc Schink <redacted>
glib_binary_age, glib_interface_age));
l = g_slist_append(l, m);
+#ifdef HAVE_ZLIB
m = g_slist_append(NULL, g_strdup("zlib"));
m = g_slist_append(m, g_strdup_printf("%s", CONF_ZLIB_VERSION));
l = g_slist_append(l, m);
+#endif
m = g_slist_append(NULL, g_strdup("libzip"));
m = g_slist_append(m, g_strdup_printf("%s", CONF_LIBZIP_VERSION));