Skip to content

Commit

Permalink
Make config honor build system specified config defines
Browse files Browse the repository at this point in the history
  • Loading branch information
sapier authored and sapier committed Apr 9, 2014
1 parent a88c685 commit d22621e
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/config.h
Expand Up @@ -9,12 +9,24 @@
#define PROJECT_NAME "Minetest"
#define RUN_IN_PLACE 0
#define USE_GETTEXT 0
#define USE_SOUND 0
#define USE_CURL 0
#ifndef USE_SOUND
#define USE_SOUND 0
#endif

#ifndef USE_CURL
#define USE_CURL 0
#endif

#define USE_FREETYPE 0
#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
#include "cmake_config.h"
Expand Down

0 comments on commit d22621e

Please sign in to comment.