[gst-cvs] gst-plugins-gl: build: if no gl.pc
Julien Isorce
cap at kemper.freedesktop.org
Thu Sep 17 06:51:01 PDT 2009
Module: gst-plugins-gl
Branch: master
Commit: 9c925b5a2ee9b18ebc6a631b96de1f46c89d4177
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=9c925b5a2ee9b18ebc6a631b96de1f46c89d4177
Author: Julien Isorce <julien.isorce at gmail.com>
Date: Thu Sep 17 15:50:54 2009 +0200
build: if no gl.pc
---
configure.ac | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 6f47012..0a7b8f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -170,7 +170,8 @@ case $host in
save_LIBS="$LIBS"
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
LIBS="$LIBS $X_LIBS"
- PKG_CHECK_MODULES(GL, gl, HAVE_GL=yes, HAVE_GL=no)
+ #PKG_CHECK_MODULES(GL, gl, HAVE_GL=yes, HAVE_GL=no)
+ AC_CHECK_HEADERS([GL/gl.h], [HAVE_GL=yes], [HAVE_GL=no])
if test "x$HAVE_GL" = "xyes"; then
AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h,, AC_MSG_ERROR([OpenGL is required]))
AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h,, AC_MSG_ERROR([GLU is required]))
More information about the Gstreamer-commits
mailing list