[vlc-devel] [PATCH] Win32: don't enable opengl modules if glew is missing

Rafaël Carré funman at videolan.org
Sat Sep 21 20:58:16 CEST 2013


Bug appeared after c1452fef225925c5a040b69 silently changed module selection rules
---
 configure.ac | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/configure.ac b/configure.ac
index 48e944f..dee83e1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2974,6 +2974,10 @@ PKG_CHECK_MODULES([GL], [gl], [
     have_gl="yes"
     GL_CFLAGS=""
     AS_IF([test "${SYS}" = "mingw32"], [
+      AC_CHECK_HEADER([GL/glew.h], [
+      ], [
+        have_gl="no"
+      ])
       GL_LIBS="-lopengl32"
     ], [
       GL_LIBS="-lGL"
-- 
1.8.1.2




More information about the vlc-devel mailing list