summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-19 17:36:06 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-19 17:49:37 +0300
commitaf63b59b56217cdff23fd2f2feb6a38659b115ac (patch)
tree59d5ecba28adf05ef011ed2a2405a7294212e3f9 /src/utils
parentf97cceeb5ea00862d967a829ab5d25466dbb18e8 (diff)
downloadplus-af63b59b56217cdff23fd2f2feb6a38659b115ac.tar.gz
plus-af63b59b56217cdff23fd2f2feb6a38659b115ac.tar.bz2
plus-af63b59b56217cdff23fd2f2feb6a38659b115ac.tar.xz
plus-af63b59b56217cdff23fd2f2feb6a38659b115ac.zip
Add libxml, libcurl, libpng into dumping lib versions.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dumplibs.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 84e61b784..c3be0fe0b 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -22,12 +22,17 @@
#include "logger.h"
+#include <png.h>
#include <SDL.h>
#include <SDL_image.h>
#include <SDL_net.h>
#include <SDL_ttf.h>
#include <zlib.h>
+#include <curl/curl.h>
+
+#include <libxml/xmlversion.h>
+
#include "debug.h"
#define dumpCompiledSdlVersion(text, prefix) \
@@ -53,6 +58,9 @@ void dumpLibs()
{
logger->log("Compiled with:");
logger->log(" zLib: %s", ZLIB_VERSION);
+ logger->log(" libxml2: %s", LIBXML_DOTTED_VERSION);
+ logger->log(" libcurl: %s", LIBCURL_VERSION);
+ logger->log(" libpng: %s", PNG_LIBPNG_VER_STRING);
dumpCompiledSdlVersion("SDL", SDL);
dumpCompiledSdlVersion("SDL_net", SDL_NET);
dumpCompiledSdlVersion("SDL_image", SDL_IMAGE);
@@ -62,6 +70,9 @@ void dumpLibs()
#if ZLIB_VERNUM >= 0x1020
logger->log(" zLib: %s", zlibVersion());
#endif // ZLIB_VERNUM >= 0x1020
+#ifdef LIBXML_TEST_VERSION
+ LIBXML_TEST_VERSION
+#endif // LIBXML_TEST_VERSION
dumpLinkedSdlVersion("SDL", SDL_Linked_Version());
dumpLinkedSdlVersion("SDL_net", SDLNet_Linked_Version());
dumpLinkedSdlVersion("SDL_image", IMG_Linked_Version());