vlc | branch: master | KO Myung-Hun <[email protected]> | Sat Dec 14 15:05:44 2013 +0900| [d44286dfe5b983177525338fd81833b1fa863ce2] | committer: Jean-Baptiste Kempf
configure: add a feature test for OpenGL Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d44286dfe5b983177525338fd81833b1fa863ce2 --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5f7ed24..1491748 100644 --- a/configure.ac +++ b/configure.ac @@ -2955,7 +2955,10 @@ AM_CONDITIONAL([HAVE_EGL], [test "${have_egl}" = "yes"]) PKG_CHECK_MODULES([GL], [gl], [ have_gl="yes" ], [ - AC_CHECK_HEADER([GL/gl.h], [ + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ + [#include <GL/gl.h>]], [ + [int t0 = GL_TEXTURE0;]]) + ], [ have_gl="yes" GL_CFLAGS="" AS_IF([test "${SYS}" = "mingw32"], [ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
