Fix bone-attached entities (#10015)
[oweals/minetest.git] / src / version.cpp
index ca206bded99b5c9c168863855dc1807b37079a7d..241228a6acdd9ab3c3363f5802861d286da2829d 100644 (file)
@@ -20,10 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "version.h"
 #include "config.h"
 
-#if defined(__ANDROID__)
-       #include "android_version.h"
-       #include "android_version_githash.h"
-#elif defined(USE_CMAKE_CONFIG_H)
+#if USE_CMAKE_CONFIG_H
        #include "cmake_config_githash.h"
 #endif
 
@@ -31,8 +28,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
        #define VERSION_GITHASH VERSION_STRING
 #endif
 
-
 const char *g_version_string = VERSION_STRING;
 const char *g_version_hash = VERSION_GITHASH;
-const char *g_build_info = "VER=" VERSION_GITHASH " " BUILD_INFO;
-
+const char *g_build_info =
+       "BUILD_TYPE=" BUILD_TYPE "\n"
+       "RUN_IN_PLACE=" STR(RUN_IN_PLACE) "\n"
+       "USE_GETTEXT=" STR(USE_GETTEXT) "\n"
+       "USE_SOUND=" STR(USE_SOUND) "\n"
+       "USE_CURL=" STR(USE_CURL) "\n"
+       "USE_FREETYPE=" STR(USE_FREETYPE) "\n"
+       "USE_LUAJIT=" STR(USE_LUAJIT) "\n"
+       "STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)
+#if USE_GETTEXT && defined(STATIC_LOCALEDIR)
+       "\n" "STATIC_LOCALEDIR=" STR(STATIC_LOCALEDIR)
+#endif
+;