diff --git a/configure b/configure index 3edb2a8e39..0072bddb41 100755 --- a/configure +++ b/configure @@ -2938,9 +2938,8 @@ fi echocheck "OpenGL" -cygwin && _gl=no #Note: this test is run even with --enable-gl since we autodetect $_ld_gl -if (test "$_x11" = yes || mingw32) && test "$_gl" != no ; then +if (test "$_x11" = yes || mingw32 || cygwin) && test "$_gl" != no ; then cat > $TMPC << EOF #include int main(void) { return 0; }