mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 23:18:52 +00:00
gl: check for X unconditionally
Without this the HAVE_X macro is empty, not "no" or "yes", which is not what the later code is counting on. https://bugzilla.gnome.org/show_bug.cgi?id=726591
This commit is contained in:
parent
2a0f0399ae
commit
26049ca402
1 changed files with 1 additions and 1 deletions
|
@ -697,6 +697,7 @@ AC_ARG_ENABLE([dispmanx],
|
|||
*) AC_MSG_ERROR([bad value ${enableval} for --enable-dispmanx]) ;;
|
||||
esac],[NEED_DISPMANX=auto])
|
||||
|
||||
AG_GST_CHECK_X
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
save_LIBS="$LIBS"
|
||||
|
||||
|
@ -720,7 +721,6 @@ case $host in
|
|||
HAVE_GLU=yes
|
||||
;;
|
||||
*)
|
||||
AG_GST_CHECK_X
|
||||
AG_GST_CHECK_LIBHEADER(GL, GL, glTexImage2D,, GL/gl.h)
|
||||
AG_GST_CHECK_LIBHEADER(GLU, GLU, gluSphere,, GL/glu.h)
|
||||
AG_GST_CHECK_LIBHEADER(GLES2, GLESv2, glTexImage2D,, GLES2/gl2.h)
|
||||
|
|
Loading…
Reference in a new issue