[Scummvm-cvs-logs] SF.net SVN: scummvm:[51690] scummvm/branches/gsoc2010-opengl/configure

joostp at users.sourceforge.net joostp at users.sourceforge.net
Tue Aug 3 14:54:07 CEST 2010


Revision: 51690
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51690&view=rev
Author:   joostp
Date:     2010-08-03 12:54:07 +0000 (Tue, 03 Aug 2010)

Log Message:
-----------
OSX: Fix OpenGL detection

Modified Paths:
--------------
    scummvm/branches/gsoc2010-opengl/configure

Modified: scummvm/branches/gsoc2010-opengl/configure
===================================================================
--- scummvm/branches/gsoc2010-opengl/configure	2010-08-03 12:46:18 UTC (rev 51689)
+++ scummvm/branches/gsoc2010-opengl/configure	2010-08-03 12:54:07 UTC (rev 51690)
@@ -2315,8 +2315,8 @@
 if test "$_opengl" = auto ; then
 	_opengl=no
 	cat > $TMPC << EOF
-#if defined(__MACOSX__)
-#include <gl.h>
+#if defined(MACOSX)
+#include <OpenGL/gl.h>
 #else
 #if defined(__WIN32__)
 #define WIN32_LEAN_AND_MEAN
@@ -2326,7 +2326,7 @@
 #endif
 int main(void) { return GL_VERSION_1_1; }
 EOF
-	cc_check $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes
+	cc_check $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes
 fi
 if test "$_opengl" = yes ; then
 	_def_opengl='#define USE_OPENGL'


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list