configure:19875: checking GL/glx.h usability configure:19887: gcc -c -g -O2 conftest.c >&5 In file included from conftest.c:66: /usr/include/GL/glx.h:45:19: error: GL/gl.h: No such file or directory In file included from conftest.c:66: /usr/include/GL/glx.h:295: error: syntax error before '*' token In file included from /usr/include/GL/glx.h:300, from conftest.c:66: /usr/include/GL/glxext.h:413: error: syntax error before '*' token /usr/include/GL/glxext.h:555: error: syntax error before 'GLenum' In file included from conftest.c:66: /usr/include/GL/glx.h:464: error: syntax error before 'size' /usr/include/GL/glx.h:465: error: syntax error before '*' token /usr/include/GL/glx.h:466: error: syntax error before 'size' /usr/include/GL/glx.h:467: error: syntax error before '*' token /usr/include/GL/glx.h:493: error: syntax error before 'glXGetMemoryOffsetMESA' /usr/include/GL/glx.h:496: error: syntax error before '*' token /usr/include/GL/glx.h:496: error: 'GLuint' declared as function returning a function configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */