diff 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
line wrap: on
line diff
--- a/configure	Sun Nov 02 15:51:00 2008 +0000
+++ b/configure	Sun Nov 02 16:37:45 2008 +0000
@@ -4179,11 +4179,11 @@
 #Note: this test is run even with --enable-gl since we autodetect linker flags
 if (test "$_x11" = yes || win32) && test "$_gl" != no ; then
   cat > $TMPC << EOF
-#include <GL/gl.h>
 #ifdef GL_WIN32
 #include <windows.h>
-#include <GL/glext.h>
+#include <GL/gl.h>
 #else
+#include <GL/gl.h>
 #include <X11/Xlib.h>
 #include <GL/glx.h>
 #endif