diff options
author | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-24 09:01:10 -0700 |
---|---|---|
committer | Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> | 2011-07-24 09:01:10 -0700 |
commit | 71b7d925970f38a993ff9f7c3f3939a0c0b8112b (patch) | |
tree | b8bf1e95011a901b0e20e1cb283b7d0ed98a9030 /src/config.h | |
parent | f4a08f7fb3c9a249ad1256e2cf1a2e2ca3f2a709 (diff) | |
parent | e034f8a2a372279edfc5a6c69dc14fb31c9a7685 (diff) | |
download | minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.tar.gz minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.tar.bz2 minetest-71b7d925970f38a993ff9f7c3f3939a0c0b8112b.zip |
Merge pull request #35 from Oblomov/master
some more gettext fixes
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/config.h b/src/config.h index b24cf6a69..54b89a060 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,8 +23,13 @@ #else #define RUN_IN_PLACE_BOOLSTRING "0" #endif - #define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" BUILD_TYPE="BUILD_TYPE -#endif + #if USE_GETTEXT + #define USE_GETTEXT_BOOLSTRING "1" + #else + #define USE_GETTEXT_BOOLSTRING "0" + #endif + #define BUILD_INFO "NON-CMAKE RUN_IN_PLACE="RUN_IN_PLACE_BOOLSTRING" USE_GETTEXT="USE_GETTEXT_BOOLSTRING" BUILD_TYPE="BUILD_TYPE +#endif #endif |