CONFIGURE: Fix OpenGL test broken in previous commit.

This commit is contained in:
digitall 2013-04-17 20:02:09 +01:00
parent 002c6dec0e
commit 06afc39590

1
configure vendored
View file

@ -3655,6 +3655,7 @@ if test "$_opengl" = auto ; then
# Test the current header for OpenGL
cat > $TMPC << EOF
#include <$i>
#include <stdio.h>
int main(void) { printf("ANTIVIRUS FALSE POSITIVE WORKAROUND"); return GL_VERSION_1_1; }
EOF
cc_check $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes && break