vlc | branch: master | Rafaël Carré <[email protected]> | Sat Sep 21 20:56:58 
2013 +0200| [b6403311865980cf6c3b336e6b8982edc7431559] | committer: Rafaël Carré

Win32: don't enable opengl modules if glew is missing

Bug appeared after c1452fef225925c5a040b69 silently changed module selection 
rules

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6403311865980cf6c3b336e6b8982edc7431559
---

 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"

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to