diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index ec60e610..976cb289 100644 --- a/configure.ac +++ b/configure.ac @@ -286,17 +286,16 @@ dnl *** sys plug-ins *** dnl OpenGL translit(dnm, m, l) AM_CONDITIONAL(USE_OPENGL, true) -AG_GST_CHECK_X -save_CPPFLAGS="$CPPFLAGS" -save_LIBS="$LIBS" -CPPFLAGS="$CPPFLAGS $X_CFLAGS" -LIBS="$LIBS $X_LIBS" AG_GST_CHECK_FEATURE(OPENGL, [Open GL], glsink, [ - AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, - GL/gl.h, HAVE_OPENGL="yes", HAVE_OPENGL="no") + PKG_CHECK_MODULES(GL, gl >= 7.1.0, [ + HAVE_GL="yes" + AC_SUBST(GL_CFLAGS) + AC_SUBST(GL_LIBS) + ],[ + HAVE_GL=no + AC_MSG_RESULT(no) + ]) ]) -CPPFLAGS="$save_CPPFLAGS" -LIBS="$save_LIBS" dnl check for QuickTime translit(dnm, m, l) AM_CONDITIONAL(USE_QUICKTIME, true) |