mirror of
https://github.com/moparisthebest/minetest
synced 2025-01-11 05:38:01 -05:00
Make config honor build system specified config defines
This commit is contained in:
parent
a88c685f02
commit
d22621efc1
20
src/config.h
20
src/config.h
@ -9,12 +9,24 @@
|
|||||||
#define PROJECT_NAME "Minetest"
|
#define PROJECT_NAME "Minetest"
|
||||||
#define RUN_IN_PLACE 0
|
#define RUN_IN_PLACE 0
|
||||||
#define USE_GETTEXT 0
|
#define USE_GETTEXT 0
|
||||||
#define USE_SOUND 0
|
#ifndef USE_SOUND
|
||||||
#define USE_CURL 0
|
#define USE_SOUND 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_CURL
|
||||||
|
#define USE_CURL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USE_FREETYPE 0
|
#define USE_FREETYPE 0
|
||||||
#define STATIC_SHAREDIR ""
|
#define STATIC_SHAREDIR ""
|
||||||
#define USE_LEVELDB 0
|
|
||||||
#define USE_LUAJIT 0
|
#ifndef USE_LEVELDB
|
||||||
|
#define USE_LEVELDB 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef USE_LUAJIT
|
||||||
|
#define USE_LUAJIT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef USE_CMAKE_CONFIG_H
|
#ifdef USE_CMAKE_CONFIG_H
|
||||||
#include "cmake_config.h"
|
#include "cmake_config.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user