Translation to Portuguese of Brazil for Minetest
[oweals/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 VERSION_STRING "unknown"
11 #define RUN_IN_PLACE 0
12 #define USE_GETTEXT 0
13 #define USE_SOUND 0
14 #define USE_CURL 0
15 #define USE_FREETYPE 0
16 #define STATIC_SHAREDIR ""
17 #define BUILD_INFO "non-cmake"
18
19 #ifdef USE_CMAKE_CONFIG_H
20         #include "cmake_config.h"
21         #undef PROJECT_NAME
22         #define PROJECT_NAME CMAKE_PROJECT_NAME
23         #undef VERSION_STRING
24         #define VERSION_STRING CMAKE_VERSION_STRING
25         #undef RUN_IN_PLACE
26         #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
27         #undef USE_GETTEXT
28         #define USE_GETTEXT CMAKE_USE_GETTEXT
29         #undef USE_SOUND
30         #define USE_SOUND CMAKE_USE_SOUND
31         #undef USE_CURL
32         #define USE_CURL CMAKE_USE_CURL
33         #undef USE_FREETYPE
34         #define USE_FREETYPE CMAKE_USE_FREETYPE
35         #undef STATIC_SHAREDIR
36         #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
37         #undef BUILD_INFO
38         #define BUILD_INFO CMAKE_BUILD_INFO
39 #endif
40
41 #endif
42