summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-07-23 15:23:33 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-07-23 15:23:33 +0300
commitaef1332e4293d873ce5b827785daa3097209c5e6 (patch)
tree0b8d6c511438b44ab8c0bbd540760cdb99a74217 /src/config.h
parent16fc8b5fc2dbf8f01f143a960cb04828d6e6bc48 (diff)
downloadminetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.gz
minetest-aef1332e4293d873ce5b827785daa3097209c5e6.tar.bz2
minetest-aef1332e4293d873ce5b827785daa3097209c5e6.zip
Improve build configuration options
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h
index 233d74717..aedca8b20 100644
--- a/src/config.h
+++ b/src/config.h
@@ -8,9 +8,10 @@
#define PROJECT_NAME "Minetest"
#define VERSION_STRING "unknown"
-#define BUILD_TYPE "unknown"
+#define RUN_IN_PLACE 0
#define USE_GETTEXT 0
#define USE_SOUND 0
+#define STATIC_SHAREDIR ""
#define BUILD_INFO "non-cmake"
#ifdef USE_CMAKE_CONFIG_H
@@ -19,12 +20,14 @@
#define PROJECT_NAME CMAKE_PROJECT_NAME
#undef VERSION_STRING
#define VERSION_STRING CMAKE_VERSION_STRING
- #undef BUILD_INFO
- #define BUILD_INFO CMAKE_BUILD_INFO
+ #undef RUN_IN_PLACE
+ #define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
#undef USE_GETTEXT
#define USE_GETTEXT CMAKE_USE_GETTEXT
#undef USE_SOUND
#define USE_SOUND CMAKE_USE_SOUND
+ #undef STATIC_SHAREDIR
+ #define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
#undef BUILD_INFO
#define BUILD_INFO CMAKE_BUILD_INFO
#endif