From ef4660e60014af6d83ff3675ceed1f316e38bf0c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 Jan 2014 19:09:11 +0300 Subject: Mark external guichan usage as depricated. Add warning about using external guichan. --- src/CMakeLists.txt | 2 +- src/localconsts.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index f6550de05..059eef64f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -47,7 +47,7 @@ ELSEIF (CMAKE_SYSTEM_NAME STREQUAL Linux) SET(EXTRA_LIBRARIES rt) ENDIF() -SET(FLAGS "${FLAGS} -DUSE_MUMBLE") +SET(FLAGS "${FLAGS} -DUSE_MUMBLE -DUSE_INTERNALGUICHAN") IF (WITH_OPENGL) FIND_PACKAGE(OpenGL REQUIRED) diff --git a/src/localconsts.h b/src/localconsts.h index 92c36d92a..cf6194c9e 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -33,6 +33,11 @@ #endif #endif +#ifndef USE_INTERNALGUICHAN +#warning using depricated way for linking with guichan. \ + Please removed configure flag --without-internalguichan +#endif + #if !defined(__GXX_EXPERIMENTAL_CXX0X__) #undef nullptr #define nullptr 0 -- cgit v1.2.3-70-g09d2