From aeb3fa72b2ddded8add89480a80c2b5bb2cb6aa3 Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Sequoia Date: Wed, 1 Jan 2014 12:23:50 -0800 Subject: [PATCH] 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 --- configure.ac | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/configure.ac b/configure.ac index 3cb5109f72..b29f63495d 100644 --- a/configure.ac +++ b/configure.ac @@ -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