2 If CMake is used, includes the cmake-generated cmake_config.h.
3 Otherwise use default values
9 #define PROJECT_NAME "Minetest"
10 #define RUN_IN_PLACE 0
11 #define STATIC_SHAREDIR ""
24 #define USE_FREETYPE 0
39 #define HAVE_ENDIAN_H 0
41 #ifdef USE_CMAKE_CONFIG_H
42 #include "cmake_config.h"
44 #define PROJECT_NAME CMAKE_PROJECT_NAME
46 #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
48 #define USE_GETTEXT CMAKE_USE_GETTEXT
50 #define USE_SOUND CMAKE_USE_SOUND
52 #define USE_CURL CMAKE_USE_CURL
54 #define USE_FREETYPE CMAKE_USE_FREETYPE
55 #undef STATIC_SHAREDIR
56 #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
58 #define USE_LEVELDB CMAKE_USE_LEVELDB
60 #define USE_LUAJIT CMAKE_USE_LUAJIT
62 #define USE_REDIS CMAKE_USE_REDIS
64 #define VERSION_MAJOR CMAKE_VERSION_MAJOR
66 #define VERSION_MINOR CMAKE_VERSION_MINOR
68 #define VERSION_PATCH CMAKE_VERSION_PATCH
69 #undef VERSION_PATCH_ORIG
70 #define VERSION_PATCH_ORIG CMAKE_VERSION_PATCH_ORIG
72 #define VERSION_STRING CMAKE_VERSION_STRING
73 #undef PRODUCT_VERSION_STRING
74 #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING
75 #undef VERSION_EXTRA_STRING
76 #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
78 #define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H
82 #include "android_version.h"
83 #define VERSION_STRING CMAKE_VERSION_STRING