2 If CMake is used, includes the cmake-generated cmake_config.h.
3 Otherwise use default values
9 #define STRINGIFY(x) #x
10 #define STR(x) STRINGIFY(x)
13 #ifdef USE_CMAKE_CONFIG_H
14 #include "cmake_config.h"
16 #define PROJECT_NAME "Minetest"
17 #define RUN_IN_PLACE 0
19 #define USE_FREETYPE 0
25 #define HAVE_ENDIAN_H 0
26 #define STATIC_SHAREDIR ""
28 #define BUILD_TYPE "Release"
30 #define BUILD_TYPE "Debug"
35 #include "android_version.h"
38 #define BUILD_INFO "BUILD_TYPE=" BUILD_TYPE \
39 " RUN_IN_PLACE=" STR(RUN_IN_PLACE) \
40 " USE_GETTEXT=" STR(USE_GETTEXT) \
41 " USE_SOUND=" STR(USE_SOUND) \
42 " USE_CURL=" STR(USE_CURL) \
43 " USE_FREETYPE=" STR(USE_FREETYPE) \
44 " USE_LUAJIT=" STR(USE_LUAJIT) \
45 " STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)