mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
eagl: add ios window system option for eglgles configure
This commit is contained in:
parent
2910613e4a
commit
2a877b072b
1 changed files with 10 additions and 1 deletions
11
configure.ac
11
configure.ac
|
@ -448,7 +448,7 @@ fi
|
|||
|
||||
dnl *** gst-libs/gst/egl ***
|
||||
AC_ARG_WITH([egl-window-system],
|
||||
AS_HELP_STRING([--with-egl-window-system],[EGL window system to use (x11, mali-fb, rpi, none)]),
|
||||
AS_HELP_STRING([--with-egl-window-system],[EGL window system to use (x11, mali-fb, rpi, ios, none)]),
|
||||
[EGL_WINDOW_SYSTEM="$withval"],
|
||||
[EGL_WINDOW_SYSTEM="auto"])
|
||||
|
||||
|
@ -483,6 +483,12 @@ if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||
if test x"$HAVE_IOS" = x"yes"; then
|
||||
EGL_WINDOW_SYSTEM="ios"
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x"$EGL_WINDOW_SYSTEM" = x"auto"; then
|
||||
EGL_WINDOW_SYSTEM="none"
|
||||
fi
|
||||
|
@ -589,6 +595,9 @@ case "$EGL_WINDOW_SYSTEM" in
|
|||
LIBS=$old_LIBS
|
||||
CFLAGS=$old_CFLAGS
|
||||
;;
|
||||
ios)
|
||||
HAVE_EGLGLES="yes"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([invalid EGL window system specified])
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue