summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-22 21:46:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-22 22:14:34 +0300
commitc7e4e2770ad24370f0d9c146863d58681e150da2 (patch)
tree2e91e60a22d33454638f1626d8cc4e9c148de7e7 /src
parent65c80b4219378cf3e18a6d6beb09ec9913a01d53 (diff)
downloadplus-c7e4e2770ad24370f0d9c146863d58681e150da2.tar.gz
plus-c7e4e2770ad24370f0d9c146863d58681e150da2.tar.bz2
plus-c7e4e2770ad24370f0d9c146863d58681e150da2.tar.xz
plus-c7e4e2770ad24370f0d9c146863d58681e150da2.zip
Add xml lib name into extended version string.
Diffstat (limited to 'src')
-rw-r--r--src/main.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index 6598f7ca0..bfae6b7ea 100644
--- a/src/main.h
+++ b/src/main.h
@@ -143,11 +143,20 @@
#else
#define SDL_NAME "SDL1.2"
#endif
+#if defined(ENABLE_PUGIXML)
+#define XML_NAME "pugixml"
+#elif defined(ENABLE_LIBXML)
+#define XML_NAME "libxml2"
+#else
+#define XML_NAME "unknown"
+#endif
+
#define PACKAGE_EXTENDED_VERSION "ManaPlus (" PACKAGE_OS \
-"; %s; " SDL_NAME "; 4144 v" SMALL_VERSION ")"
+"; %s; " SDL_NAME ", " XML_NAME "; 4144 v" SMALL_VERSION ")"
#define PACKAGE_VERSION_4144 "ManaPlus 4144-" SMALL_VERSION ""
-#define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS ", " SDL_NAME
+#define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS ", " \
+ SDL_NAME ", " XML_NAME
#ifdef ANDROID
#ifdef PKG_DATADIR