Commit 24e39b70 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove opengl plugin on X11 and Win32

parent 8d55c1fb
...@@ -3706,21 +3706,10 @@ dnl ...@@ -3706,21 +3706,10 @@ dnl
AC_ARG_ENABLE(opengl, AC_ARG_ENABLE(opengl,
[ --enable-opengl OpenGL support (default enabled)]) [ --enable-opengl OpenGL support (default enabled)])
if test "${enable_opengl}" != "no" && if test "${enable_opengl}" != "no" &&
test "${SYS}" != "beos" -a "${SYS}" != "mingwce"; then test "${SYS}" = "darwin"; 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
dnl OS X special case (no GL/gl.h but OpenGL/gl.h) dnl OS X special case (no GL/gl.h but OpenGL/gl.h)
VLC_ADD_PLUGIN([opengl]) VLC_ADD_PLUGIN([opengl])
VLC_ADD_LIBS([opengl],[-Wl,-framework,OpenGL]) VLC_ADD_LIBS([opengl],[-Wl,-framework,OpenGL])
fi
fi fi
dnl dnl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment