mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
egl: Allow disabling gstreamer-egl library
https://bugzilla.gnome.org/show_bug.cgi?id=709531
This commit is contained in:
parent
b6d33e5ce4
commit
ce080cb7cc
1 changed files with 5 additions and 1 deletions
|
@ -494,7 +494,7 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
|||
fi
|
||||
|
||||
case "$EGL_WINDOW_SYSTEM" in
|
||||
x11|none)
|
||||
x11)
|
||||
PKG_CHECK_MODULES(EGL, egl, HAVE_EGL="yes", [
|
||||
HAVE_EGL="no"
|
||||
old_LIBS=$LIBS
|
||||
|
@ -594,6 +594,10 @@ case "$EGL_WINDOW_SYSTEM" in
|
|||
LIBS=$old_LIBS
|
||||
CFLAGS=$old_CFLAGS
|
||||
;;
|
||||
none|no)
|
||||
HAVE_EGL="no"
|
||||
AC_MSG_WARN([No EGL window system specified, will not build gstreamer-egl])
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([invalid EGL window system specified])
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue