Disable support for irrlicht 1.7*, enforce usage of irrlicht 1.8.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
fc1a60cbbf
commit
e1ab88c42b
13
configure.ac
13
configure.ac
@ -1,6 +1,6 @@
|
||||
# Process this file with autogen.sh to produce a configure script.
|
||||
|
||||
AC_INIT(supertuxkart, SVN)
|
||||
AC_INIT(supertuxkart,SVN)
|
||||
AC_CONFIG_SRCDIR([src/main.cpp])
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
@ -232,7 +232,7 @@ fi
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht"
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/Linux -L/$with_irrlicht/lib -lIrrlicht -lXcursor"
|
||||
;;
|
||||
*darwin*|*macosx*)
|
||||
irrlicht_LIBS="-L/$with_irrlicht/lib/ -lIrrlicht -framework Cocoa"
|
||||
@ -303,9 +303,10 @@ AC_TRY_RUN(
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
#if (IRRLICHT_VERSION_MAJOR == 1 && IRRLICHT_VERSION_MINOR == 7)
|
||||
// ok
|
||||
#error "STK needs irrlicht 1.8* to work properly (which might be only available"
|
||||
#error "as svn trunk atm"
|
||||
#else
|
||||
#error "You need irrLicht 1.7.* to build STK, irrlicht 1.8 is not supported yet"
|
||||
// ok
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@ -315,7 +316,9 @@ AC_TRY_RUN(
|
||||
)
|
||||
|
||||
if test x$irrlicht_min_version_met = xfalse; then
|
||||
AC_MSG_ERROR([Your irrLicht is too old, please update irrLicht.])
|
||||
AC_MSG_ERROR([Your irrLicht is too old, please update irrLicht.
|
||||
You need irrlicht 1.8.
|
||||
While irrlicht 1.8 is not released, we recommend using version 3629 from irrlicht SVN trunk.])
|
||||
else
|
||||
echo "yes"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user