mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gl: do not check for GL/GLU/EGL/GLES2 libs if disabled in configuration
https://bugzilla.gnome.org/show_bug.cgi?id=735522
This commit is contained in:
parent
c93017a074
commit
33fedda489
1 changed files with 10 additions and 4 deletions
14
configure.ac
14
configure.ac
|
@ -661,10 +661,16 @@ case $host in
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
|
if test "x$NEED_GL" != "xno"; then
|
||||||
AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
|
AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
|
||||||
AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
|
AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
|
||||||
AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
|
fi
|
||||||
|
if test "x$NEED_GLES2" != "xno"; then
|
||||||
|
AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
|
||||||
|
fi
|
||||||
|
if test "x$NEED_EGL" != "xno"; then
|
||||||
|
AG_GST_CHECK_LIBHEADER(EGL, EGL, eglGetError,, EGL/egl.h)
|
||||||
|
fi
|
||||||
|
|
||||||
old_LIBS=$LIBS
|
old_LIBS=$LIBS
|
||||||
old_CFLAGS=$CFLAGS
|
old_CFLAGS=$CFLAGS
|
||||||
|
|
Loading…
Reference in a new issue