diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-23 15:47:09 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2011-07-24 09:18:29 +0200 |
commit | 4ffba76bb39363a01647acb19667cd33bbbd700b (patch) | |
tree | 762b06908d9168b27bd639112a3546981c9050c4 /src/config.h | |
parent | f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709 (diff) | |
download | minetest-4ffba76bb39363a01647acb19667cd33bbbd700b.tar.gz minetest-4ffba76bb39363a01647acb19667cd33bbbd700b.tar.bz2 minetest-4ffba76bb39363a01647acb19667cd33bbbd700b.zip |
Place project name and gettext use in config
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index b24cf6a69..eb1d1a9aa 100644 --- a/src/config.h +++ b/src/config.h @@ -9,6 +9,8 @@ #ifdef USE_CMAKE_CONFIG_H #include "cmake_config.h" #else + #define PROJECT_NAME "minetest" + //#define INSTALL_PREFIX "" #define VERSION_STRING "unknown" #ifdef NDEBUG @@ -21,7 +23,12 @@ #else #define RUN_IN_PLACE_BOOLSTRING "0" #endif - #define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" BUILD_TYPE="BUILD_TYPE + #ifdef USE_GETTEXT + #define USE_GETTEXT_BOOLSTRING "ON" + #else + #define USE_GETTEXT_BOOLSTRING "OFF" + #endif + #define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" USE_GETTEXT="USE_GETTEXT_BOOLSTRING" BUILD_TYPE="BUILD_TYPE #endif #endif |