Fixed (perhaps naively) build problem on mac
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
a5b0b94cdc
commit
ad817469ca
22
configure.ac
22
configure.ac
@ -214,7 +214,10 @@ dnl FIXME: this program when run prints out two lines (version numbers) to stdou
|
||||
echo "checking for irrlicht libraries."
|
||||
save_LIBS=$LIBS
|
||||
LIBS="$LIBS $irrlicht_LIBS $opengl_LIBS"
|
||||
AC_TRY_RUN([
|
||||
|
||||
case "${host}" in
|
||||
*-*-linux* )
|
||||
AC_TRY_RUN([
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
@ -222,8 +225,23 @@ AC_TRY_RUN([
|
||||
}
|
||||
],
|
||||
,
|
||||
irrlicht_LIBS="$irrlicht_LIBS -lXxf86vm"
|
||||
irrlicht_LIBS="$irrlicht_LIBS -lXxf86vm"
|
||||
)
|
||||
;;
|
||||
*darwin*|*macosx*)
|
||||
AC_TRY_RUN([
|
||||
# include "irrlicht.h"
|
||||
int main() {
|
||||
irr::createDevice(irr::video::EDT_NULL);
|
||||
return 0;
|
||||
}
|
||||
],
|
||||
,
|
||||
irrlicht_LIBS="$irrlicht_LIBS"
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
LIBS=$save_LIBS
|
||||
|
||||
dnl ======================================================
|
||||
|
Loading…
Reference in New Issue
Block a user