Disabled support for irrlicht 1.8 (current trunk), since it needs

different link flags (or changes to IrrCompileConfig.h) in order to work
correctly, and I am not sure if there are any other changes we might
have to make.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
hikerstk 2010-09-15 02:55:47 +00:00
parent bb73c6f2f8
commit 239a8d55a4

View File

@ -294,14 +294,18 @@ echo -n "checking irrlicht version is recent enough... "
irrlicht_min_version_met="false" irrlicht_min_version_met="false"
# Note that irrlicht 1.8 potentially needs additional flags (-lXcursor, or
# undefine _IRR_LINUX_XCURSOR_ # in IrrCompileConfig.h). Since there might
# be other changes, for now I remove support for irrlicht trunk/1.8
AC_TRY_RUN( AC_TRY_RUN(
[ [
# include "irrlicht.h" # include "irrlicht.h"
int main() { int main() {
#if (IRRLICHT_VERSION_MAJOR > 1) || (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR >= 7) #if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR == 7)
// ok // ok
#else #else
#error "You need irrLicht 1.7+ to build STK" #error "You need irrLicht 1.7.* to build STK, irrlicht 1.8 is not supported yet"
#endif #endif
return 0; return 0;
} }