[vlc-devel] commit: Remove opengl plugin on X11 and Win32 ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 3 13:17:14 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jan  3 14:16:49 2010 +0200| [24e39b70c17141d4ca088b7db95a89edcb181165] | committer: Rémi Denis-Courmont 

Remove opengl plugin on X11 and Win32

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

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

diff --git a/configure.ac b/configure.ac
index 4315d2b..b3ea619 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3706,21 +3706,10 @@ dnl
 AC_ARG_ENABLE(opengl,
   [  --enable-opengl         OpenGL support (default enabled)])
 if test "${enable_opengl}" != "no" &&
-   test "${SYS}" != "beos" -a "${SYS}" != "mingwce"; then
-  if test "${SYS}" != "darwin"; then
-    AC_CHECK_HEADERS(GL/gl.h GL/glu.h, [
-      VLC_ADD_PLUGIN([opengl])
-      if test "${SYS}" != "mingw32"; then
-        VLC_ADD_LIBS([opengl],[${X_LIBS} -lGL -lGLU])
-      else
-        VLC_ADD_LIBS([opengl],[-lopengl32 -lglu32])
-      fi
-    ])
-  else
+   test "${SYS}" = "darwin"; then
     dnl OS X special case (no GL/gl.h but OpenGL/gl.h)
     VLC_ADD_PLUGIN([opengl])
     VLC_ADD_LIBS([opengl],[-Wl,-framework,OpenGL])
-  fi
 fi
 
 dnl




More information about the vlc-devel mailing list