44 #define SMALL_VERSION "2.1.3.17"
45 #define CHECK_VERSION "02.01.03.17"
48 #include "../config.h"
50 #ifdef PACKAGE_VERSION
51 #undef PACKAGE_VERSION
53 #define PACKAGE_VERSION SMALL_VERSION;
59 #define PACKAGE_OS "Mac OS X"
60 #elif defined(__ANDROID__) || defined(ANDROID)
61 #define PACKAGE_OS "Android"
62 #elif defined(__FreeBSD_kernel__) && defined(__GLIBC__)
63 #define PACKAGE_OS "kFreeBSD"
64 #elif defined __FreeBSD__ || defined __DragonFly__
65 #define PACKAGE_OS "FreeBSD"
66 #elif defined(__NetBSD__) || defined(__NetBSD)
67 #define PACKAGE_OS "NetBSD"
68 #elif defined(__OpenBSD__) || defined(__OPENBSD)
69 #define PACKAGE_OS "OpenBSD"
70 #elif defined __linux__ || defined __linux
71 #define PACKAGE_OS "Linux"
72 #elif defined __CYGWIN__
73 #define PACKAGE_OS "Cygwin"
74 #elif defined(__sun) || defined(sun)
75 #define PACKAGE_OS "SunOS"
76 #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) \
77 || defined(__aix) || defined(__aix__)
78 #define PACKAGE_OS "AIX"
79 #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
80 #define PACKAGE_OS "IRIX"
81 #elif defined(__hpux) || defined(__hpux__)
82 #define PACKAGE_OS "HP-UX"
83 #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
84 #define PACKAGE_OS "BeOS"
85 #elif defined(__QNX__) || defined(__QNXNTO__)
86 #define PACKAGE_OS "QNX"
87 #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
88 #define PACKAGE_OS "Tru64"
89 #elif defined(__riscos) || defined(__riscos__)
90 #define PACKAGE_OS "RISCos"
91 #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
92 #define PACKAGE_OS "SINIX"
93 #elif defined(__UNIX_SV__)
94 #define PACKAGE_OS "UNIX_SV"
95 #elif defined(__bsdos__)
96 #define PACKAGE_OS "BSDOS"
97 #elif defined(_MPRAS) || defined(MPRAS)
98 #define PACKAGE_OS "MP-RAS"
99 #elif defined(__osf) || defined(__osf__)
100 #define PACKAGE_OS "OSF1"
101 #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
102 #define PACKAGE_OS "SCO_SV"
103 #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
104 #define PACKAGE_OS "ULTRIX"
105 #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
106 #define PACKAGE_OS "Xenix"
107 #elif defined(bsdi) || defined(__bsdi) || defined(__bsdi__)
108 #define PACKAGE_OS "BSDI"
109 #elif defined(_arch_dreamcast)
110 #define PACKAGE_OS "Dreamcast"
111 #elif defined(__OS2__)
112 #define PACKAGE_OS "OS/2"
113 #elif defined(osf) || defined(__osf) || defined(__osf__)
114 #define PACKAGE_OS "OSF"
115 #elif defined(riscos) || defined(__riscos) || defined(__riscos__)
116 #define PACKAGE_OS "RISC OS"
117 #elif defined(__SVR4)
118 #define PACKAGE_OS "Solaris"
119 #elif defined __GNU__
120 #define PACKAGE_OS "GNU Hurd"
121 #elif defined __HAIKU__
122 #define PACKAGE_OS "Haiku"
123 #elif defined WIN32 || defined _WIN32 || defined __WIN32__ || defined __NT__ \
124 || defined WIN64 || defined _WIN64 || defined __WIN64__ \
125 || defined __MINGW32__ || defined _MSC_VER
126 #define PACKAGE_OS "Windows"
127 #elif defined __native_client__
128 #define PACKAGE_OS "nacl"
130 #define PACKAGE_OS "Other"
140 #define VER_INTTOSTR1(ver) #ver
141 #define VER_INTTOSTR(ver) VER_INTTOSTR1(ver)
142 #define SDL_NAME "SDL " VER_INTTOSTR(SDL_MAJOR_VERSION) "." \
143 VER_INTTOSTR(SDL_MINOR_VERSION) "." VER_INTTOSTR(SDL_PATCHLEVEL)
145 #if defined(ENABLE_PUGIXML)
146 #define XML_NAME "pugixml"
147 #elif defined(ENABLE_LIBXML)
148 #define XML_NAME "libxml2"
149 #elif defined(ENABLE_TINYXML2)
150 #define XML_NAME "tinyxml2"
152 #define XML_NAME "unknown"
155 #ifdef SIMD_SUPPORTED
156 #define SIMD_NAME ", SIMD"
161 #define PACKAGE_EXTENDED_VERSION "ManaPlus (" PACKAGE_OS \
162 "; %s; " SDL_NAME ", " XML_NAME SIMD_NAME ", %s; 4144 v" SMALL_VERSION ")"
164 #define FULL_VERSION "ManaPlus " SMALL_VERSION " " PACKAGE_OS ", " \
165 SDL_NAME ", " XML_NAME SIMD_NAME
174 #define LOCALEDIR "locale"
178 #define PKG_DATADIR ""