summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index c50f45c810..f04a3fd0eb 100755
--- a/configure
+++ b/configure
@@ -4046,7 +4046,7 @@ echores "$_dga"
echocheck "OpenGL"
#Note: this test is run even with --enable-gl since we autodetect $_ld_gl
-if (test "$_x11" = yes || win32) && test "$_gl" != no ; then
+if (test "$_x11" = yes || win32 && test "$_macosx" = no) && test "$_gl" != no ; then
cat > $TMPC << EOF
#include <GL/gl.h>
int main(void) { return 0; }