2007-10-29 Emmanuele Bassi <ebassi@openedhand.com>

* configure.ac:
	* clutter/cogl/gl/cogl-defines.h.in: The OS X backend has a funny
	OpenGL header location, so it basically did break every application
	including clutter/cogl.h because the GL header inclusion depended
	on symbols defined into Clutter's config.h. Now, we define the
	GL header into the configure template and use it to create the
	cogl-defines.h file cogl.h includes.
This commit is contained in:
Emmanuele Bassi 2007-10-29 16:50:34 +00:00
parent 4ff00fa191
commit f274e9abb3

View File

@ -33,11 +33,7 @@
#else #else
#if defined(HAVE_GL_GL_H) #include <@CLUTTER_GL_HEADER@>
#include <GL/gl.h>
#elif defined(HAVE_OPENGL_GL_H)
#include <OpenGL/gl.h>
#endif
#endif /* WIN32 */ #endif /* WIN32 */