summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMatthias Hopf <mat@mshopf.de>2002-01-22 20:15:00 +0000
committerMatthias Hopf <mat@mshopf.de>2002-01-22 20:15:00 +0000
commit96e51ba1357d376b58aff55b656aa5c67f4242c9 (patch)
tree730dcfb0ea915076a9443cf13d5abc37598f60e1 /configure.in
parent0231ba5d2e9a8d3581287bef411ea0b5e82c317f (diff)
downloadxine-lib-96e51ba1357d376b58aff55b656aa5c67f4242c9.tar.gz
xine-lib-96e51ba1357d376b58aff55b656aa5c67f4242c9.tar.bz2
New OpenGL output plugin. Will only work with upcoming changes in xine-ui.
EXPERIMENTAL. Read README.opengl in xine-ui. CVS patchset: 1439 CVS date: 2002/01/22 20:15:00
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index f72ac2ea8..4e00fec01 100644
--- a/configure.in
+++ b/configure.in
@@ -240,6 +240,17 @@ dnl but only dynamic linking is possible when using libtool < 1.4.0
AC_PREREQ_LIBTOOL(1.4.0, xv_lib="libXv.a", xv_lib="libXv.so")
+dnl
+dnl Check for OpenGL
+dnl
+AC_CHECK_LIB(GL, glBegin,
+ OPENGL_LIBS="-lGL"
+ ac_have_opengl="yes",,
+ -lGL)
+AC_SUBST(OPENGL_LIBS)
+AM_CONDITIONAL(HAVE_OPENGL, test x$ac_have_opengl = "xyes")
+
+
host_or_hostalias="$host"
if test "$host_or_hostalias" = ""; then
dnl user has called ./configure with a host parameter unknown to