mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
configure: Fix check for iOS for the OpenGL support
There is also an i386 version of iOS, which is for the simulator. Better use our already existing HAVE_IOS check instead of relying on the host triplet.
This commit is contained in:
parent
ff5d1a18f3
commit
26d6151ea1
1 changed files with 39 additions and 34 deletions
|
@ -958,8 +958,12 @@ case $host in
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
i386*-darwin* | x86_64*-darwin*)
|
*-darwin*)
|
||||||
dnl Only osx supports cocoa. ios requires EAGL.
|
if test "x$HAVE_IOS" = "xyes"; then
|
||||||
|
dnl iOS requires EAGL, which we don't support yet
|
||||||
|
AC_MSG_WARN([OpenGL support not ported to iOS yet])
|
||||||
|
else
|
||||||
|
dnl Only osx supports cocoa.
|
||||||
if test "x$NEED_WGL" = "xyes"; then
|
if test "x$NEED_WGL" = "xyes"; then
|
||||||
AC_MSG_ERROR([WGL is not available on Mac OS X])
|
AC_MSG_ERROR([WGL is not available on Mac OS X])
|
||||||
fi
|
fi
|
||||||
|
@ -997,6 +1001,7 @@ case $host in
|
||||||
USE_OPENGL=yes
|
USE_OPENGL=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*-mingw32*)
|
*-mingw32*)
|
||||||
if test "x$NEED_GLX" = "xyes"; then
|
if test "x$NEED_GLX" = "xyes"; then
|
||||||
|
|
Loading…
Reference in a new issue