Commit aeb3fa72 authored by Jeremy Huddleston Sequoia's avatar Jeremy Huddleston Sequoia Committed by Sebastian Dröge

configure: Disable osxvideo on Leopard and earlier

This also moves the "other platforms" check in OS X video to before the
variable is read

https://bugzilla.gnome.org/show_bug.cgi?id=721245
parent c83ed4f6
......@@ -486,17 +486,17 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_OSX_VIDEO, true)
HAVE_OSX_VIDEO="no"
AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
AC_CHECK_HEADER(OpenGL/gl.h, HAVE_OSX_VIDEO="yes", HAVE_OSX_VIDEO="no")
])
dnl in case header OpenGL/gl.h is found on other platforms
case "$host" in
*-*darwin*)
dnl do nothing
;;
*)
HAVE_OSX_VIDEO="no"
;;
esac
dnl in case header OpenGL/gl.h is found on other platforms (or older, unsupported OS X)
case "$host" in
*-*darwin1*)
dnl do nothing on Snow Leopard or newer
;;
*)
HAVE_OSX_VIDEO="no"
;;
esac
])
dnl *** Video 4 Linux 2 ***
dnl for information about the header/define, see sys/v4l2/gstv4l2element.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment