summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 21:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 23:43:57 +0300
commit326217c1f8bfd86730dea722b5f132833b39cb13 (patch)
treebf7cbc959a7273cd2f4738a77d7aeea12b7084cd /src/utils/dumplibs.cpp
parenta4ee754a8c4893069f6555087efe33e6def86b4d (diff)
downloadmv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.gz
mv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.bz2
mv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.xz
mv-326217c1f8bfd86730dea722b5f132833b39cb13.zip
Fix compilation with pugixml.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-rw-r--r--src/utils/dumplibs.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 4efd647d8..8fb7036bf 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -39,7 +39,9 @@ PRAGMA45(GCC diagnostic pop)
#include <curl/curl.h>
+#ifdef ENABLE_LIBXML
#include <libxml/xmlversion.h>
+#endif // ENABLE_LIBXML
#include "debug.h"
@@ -109,7 +111,10 @@ void dumpLibs()
{
logger->log("Compiled with:");
logger->log(" zLib: %s", ZLIB_VERSION);
+#ifdef ENABLE_LIBXML
logger->log(" libxml2: %s", LIBXML_DOTTED_VERSION);
+#endif // ENABLE_LIBXML
+
logger->log(" libcurl: %s", LIBCURL_VERSION);
logger->log(" libpng: %s", PNG_LIBPNG_VER_STRING);
PHYSFS_Version physfsVersion;