comparison configure @ 27845:dedacb09ed45

Change OpenGL support to work on unmodified MinGW64
author reimar
date Sun, 02 Nov 2008 16:37:45 +0000
parents 2988c38b6620
children d960bc3cddb1
comparison
equal deleted inserted replaced
27844:ad60e4aee053 27845:dedacb09ed45
4177 4177
4178 echocheck "OpenGL" 4178 echocheck "OpenGL"
4179 #Note: this test is run even with --enable-gl since we autodetect linker flags 4179 #Note: this test is run even with --enable-gl since we autodetect linker flags
4180 if (test "$_x11" = yes || win32) && test "$_gl" != no ; then 4180 if (test "$_x11" = yes || win32) && test "$_gl" != no ; then
4181 cat > $TMPC << EOF 4181 cat > $TMPC << EOF
4182 #include <GL/gl.h>
4183 #ifdef GL_WIN32 4182 #ifdef GL_WIN32
4184 #include <windows.h> 4183 #include <windows.h>
4185 #include <GL/glext.h> 4184 #include <GL/gl.h>
4186 #else 4185 #else
4186 #include <GL/gl.h>
4187 #include <X11/Xlib.h> 4187 #include <X11/Xlib.h>
4188 #include <GL/glx.h> 4188 #include <GL/glx.h>
4189 #endif 4189 #endif
4190 int main(void) { 4190 int main(void) {
4191 #ifdef GL_WIN32 4191 #ifdef GL_WIN32