From fbfec1c54f95c34c553f21c33b7b22116db41c51 Mon Sep 17 00:00:00 2001 From: cosmosninja Date: Sun, 6 Jan 2008 22:03:04 +0000 Subject: [PATCH] Fixed another compilation problem with the Macs git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1372 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 584450231..5cbb95a6c 100644 --- a/configure.ac +++ b/configure.ac @@ -359,7 +359,15 @@ AC_CONFIG_FILES([ \ ]) SUMMARY="$SUMMARY\nUsing bullet physics." BULLETTREE="src/bullet" -bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -lglut" + +case "${host}" in +*darwin*|*macosx*) + bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -framework GLUT" + ;; +*) + bullet_LIBS="-Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -lglut" + ;; +esac AC_SUBST(BULLETTREE)