]> git.lizzy.rs Git - minetest.git/blob - src/config.h
Add setting for tooltips show delay.
[minetest.git] / src / config.h
1 /*
2         If CMake is used, includes the cmake-generated cmake_config.h.
3         Otherwise use default values
4 */
5
6 #ifndef CONFIG_H
7 #define CONFIG_H
8
9 #define PROJECT_NAME "Minetest"
10 #define RUN_IN_PLACE 0
11 #define USE_GETTEXT 0
12 #ifndef USE_SOUND
13         #define USE_SOUND 0
14 #endif
15
16 #ifndef USE_CURL
17         #define USE_CURL 0
18 #endif
19
20 #define USE_FREETYPE 0
21 #define STATIC_SHAREDIR ""
22
23 #ifndef USE_LEVELDB
24         #define USE_LEVELDB 0
25 #endif
26
27 #ifndef USE_LUAJIT
28         #define USE_LUAJIT 0
29 #endif
30
31 #ifndef USE_REDIS
32         #define USE_REDIS 0
33 #endif
34
35 #ifdef USE_CMAKE_CONFIG_H
36         #include "cmake_config.h"
37         #undef PROJECT_NAME
38         #define PROJECT_NAME CMAKE_PROJECT_NAME
39         #undef RUN_IN_PLACE
40         #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
41         #undef USE_GETTEXT
42         #define USE_GETTEXT CMAKE_USE_GETTEXT
43         #undef USE_SOUND
44         #define USE_SOUND CMAKE_USE_SOUND
45         #undef USE_CURL
46         #define USE_CURL CMAKE_USE_CURL
47         #undef USE_FREETYPE
48         #define USE_FREETYPE CMAKE_USE_FREETYPE
49         #undef STATIC_SHAREDIR
50         #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
51         #undef USE_LEVELDB
52         #define USE_LEVELDB CMAKE_USE_LEVELDB
53         #undef USE_LUAJIT
54         #define USE_LUAJIT CMAKE_USE_LUAJIT
55         #undef USE_REDIS
56         #define USE_REDIS CMAKE_USE_REDIS
57         #undef VERSION_MAJOR
58         #define VERSION_MAJOR CMAKE_VERSION_MAJOR
59         #undef VERSION_MINOR
60         #define VERSION_MINOR CMAKE_VERSION_MINOR
61         #undef VERSION_PATCH
62         #define VERSION_PATCH CMAKE_VERSION_PATCH
63         #undef VERSION_PATCH_ORIG
64         #define VERSION_PATCH_ORIG CMAKE_VERSION_PATCH_ORIG
65         #undef VERSION_STRING
66         #define VERSION_STRING CMAKE_VERSION_STRING
67         #undef PRODUCT_VERSION_STRING
68         #define PRODUCT_VERSION_STRING CMAKE_PRODUCT_VERSION_STRING
69         #undef VERSION_EXTRA_STRING
70         #define VERSION_EXTRA_STRING CMAKE_VERSION_EXTRA_STRING
71 #endif
72
73 #endif
74