diff options
author | Kovensky <diogomfranco@gmail.com> | 2013-03-23 16:17:46 -0300 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-03-23 21:04:39 +0100 |
commit | 746b5e6027754853d2f33f764f0e5ffd75f3bd93 (patch) | |
tree | 8a9387196c799f6436921f7e5188a7741e3edade | |
parent | 16b15885ff062f73815832e2f59cf81bec2afb22 (diff) | |
download | mpv-746b5e6027754853d2f33f764f0e5ffd75f3bd93.tar.bz2 mpv-746b5e6027754853d2f33f764f0e5ffd75f3bd93.tar.xz |
configure: check for presence of glext.h
vo_opengl depends on glext.h to build. Also link to Khronos' copy, which
should work on all compilers and is kept up-to-date with newer
extensions.
-rwxr-xr-x | configure | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -2175,6 +2175,18 @@ EOF _gl=yes _gl_cocoa=yes fi + + cat > $TMPC << EOF +#include <GL/gl.h> +#include <GL/glext.h> +int main(int argc, char *argv[]) { + return !GL_INVALID_FRAMEBUFFER_OPERATION; +} +EOF + if ! cc_check; then + _gl=no + res_comment="missing glext.h, get from http://www.opengl.org/registry/api/glext.h" + fi else _gl=no fi |