2011-01-18 05:05:29 -08:00
|
|
|
/*
|
|
|
|
If CMake is used, includes the cmake-generated cmake_config.h.
|
|
|
|
Otherwise use default values
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
2012-03-23 05:01:14 -07:00
|
|
|
#define PROJECT_NAME "Minetest"
|
2012-07-23 05:23:33 -07:00
|
|
|
#define RUN_IN_PLACE 0
|
2012-03-23 05:01:14 -07:00
|
|
|
#define USE_GETTEXT 0
|
2012-03-24 18:03:51 -07:00
|
|
|
#define USE_SOUND 0
|
2012-12-14 03:30:17 -08:00
|
|
|
#define USE_CURL 0
|
2013-02-03 04:19:09 -08:00
|
|
|
#define USE_FREETYPE 0
|
2012-07-23 05:23:33 -07:00
|
|
|
#define STATIC_SHAREDIR ""
|
2012-10-22 14:18:44 -07:00
|
|
|
#define USE_LEVELDB 0
|
2013-12-18 13:35:55 -08:00
|
|
|
#define USE_LUAJIT 0
|
2012-03-23 05:01:14 -07:00
|
|
|
|
2011-01-18 05:05:29 -08:00
|
|
|
#ifdef USE_CMAKE_CONFIG_H
|
|
|
|
#include "cmake_config.h"
|
2012-03-23 05:01:14 -07:00
|
|
|
#undef PROJECT_NAME
|
|
|
|
#define PROJECT_NAME CMAKE_PROJECT_NAME
|
2012-07-23 05:23:33 -07:00
|
|
|
#undef RUN_IN_PLACE
|
|
|
|
#define RUN_IN_PLACE CMAKE_RUN_IN_PLACE
|
2012-03-23 05:01:14 -07:00
|
|
|
#undef USE_GETTEXT
|
|
|
|
#define USE_GETTEXT CMAKE_USE_GETTEXT
|
2012-03-24 18:03:51 -07:00
|
|
|
#undef USE_SOUND
|
|
|
|
#define USE_SOUND CMAKE_USE_SOUND
|
2012-12-14 03:30:17 -08:00
|
|
|
#undef USE_CURL
|
|
|
|
#define USE_CURL CMAKE_USE_CURL
|
2013-02-03 04:19:09 -08:00
|
|
|
#undef USE_FREETYPE
|
|
|
|
#define USE_FREETYPE CMAKE_USE_FREETYPE
|
2012-07-23 05:23:33 -07:00
|
|
|
#undef STATIC_SHAREDIR
|
|
|
|
#define STATIC_SHAREDIR CMAKE_STATIC_SHAREDIR
|
2012-10-22 14:18:44 -07:00
|
|
|
#undef USE_LEVELDB
|
|
|
|
#define USE_LEVELDB CMAKE_USE_LEVELDB
|
2013-12-18 13:35:55 -08:00
|
|
|
#undef USE_LUAJIT
|
|
|
|
#define USE_LUAJIT CMAKE_USE_LUAJIT
|
2011-01-18 05:05:29 -08:00
|
|
|
#endif
|
2012-03-23 05:01:14 -07:00
|
|
|
|
2011-01-18 05:05:29 -08:00
|
|
|
#endif
|
|
|
|
|