]> git.sesse.net Git - vlc/blobdiff - configure.ac
+ configure.ac: don't build OpenGL support on BeOS although it has gl.h
[vlc] / configure.ac
index 252e14aac1e2f8af44d9a017ac0ac9bd26a33bc5..733669e8b29376dba281f0a85c5fe85e4c3d49d9 100644 (file)
@@ -2468,7 +2468,7 @@ dnl  (enabled by default except on win32)
 dnl
 AC_ARG_ENABLE(opengl,
   [  --enable-opengl            OpenGL support (default enabled)])
-if test "${enable_opengl}" != "no"; then
+if test "${enable_opengl}" != "no" && test "${SYS}" != "beos"; then
   AC_CHECK_HEADERS(GL/gl.h, [
       VLC_ADD_PLUGINS([opengl])
       VLC_ADD_LDFLAGS([opengl],[-L${x_libraries} -lGL -lGLU])