configure: Include gl2ext.h or glext.h under GLES
authorNeil Roberts <neil@linux.intel.com>
Mon, 12 Jul 2010 13:30:44 +0000 (14:30 +0100)
committerNeil Roberts <neil@linux.intel.com>
Tue, 13 Jul 2010 13:28:51 +0000 (14:28 +0100)
commit8ccf8f6f08623492ca2b5af93d3384878e53d912
tree7a8da2d67eda04477b5f532c77dea50b332c5220
parent8940c3068183c4e78bbb8a2c3570c3c77d8ff509
configure: Include gl2ext.h or glext.h under GLES

Under big GL, glext.h is included automatically by gl.h. However under
GLES this doesn't appear to happen so it has to be included explicitly
to get the defines for extensions. This patch changes the
clutter_gl_header to be called cogl_gl_headers and it can now take a
space seperated list of multiple headers. This is then later converted
to a list of #include lines which ends up cogl-defines.h. The gles2
and gles1 backends now add their respective ext header to this list.
clutter/cogl/cogl/cogl-defines.h.in
configure.ac