[vlc-commits] Win32: do not enable glwin32 if GL/glext.h is missing

Rémi Denis-Courmont git at videolan.org
Tue Jul 26 19:09:42 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 26 20:05:14 2011 +0300| [ce42f29afe5ec0210f763da7eb5a91c83e7ec34a] | committer: Rémi Denis-Courmont

Win32: do not enable glwin32 if GL/glext.h is missing

(GL/gl.h ought to be present if GL/glext.h is)

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

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 128673d..ab10e11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3341,7 +3341,7 @@ then
         VLC_ADD_LIBS([directx],[-lgdi32])
       ],[AC_MSG_ERROR([Cannot find DirectX headers!])]
       )
-      AC_CHECK_HEADERS(GL/gl.h,
+      AC_CHECK_HEADERS(GL/glext.h,
       [ VLC_ADD_PLUGIN([glwin32])
         VLC_ADD_LIBS([glwin32],[-lopengl32 -lgdi32])
       ])



More information about the vlc-commits mailing list