diff options
author | Dan Kegel <dank@kegel.com> | 2014-02-02 18:17:06 -0800 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-02-03 10:11:31 +0100 |
commit | 58b077de23f314838f12289193f546e737b1463b (patch) | |
tree | 2c3ee3f1a98e0334bbab68d3ff0d42640b834416 | |
parent | 0c01e9812ac056c956f34a5d9ec7783fe46d2e19 (diff) |
Since b1a756fd, applemedia fails to build on osx 10.7, which lacks VideoToolbox.h... so disable it on OSX if that header is missing.
https://bugzilla.gnome.org/show_bug.cgi?id=723508
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index fb80405e9..2f7e1e80c 100644 --- a/configure.ac +++ b/configure.ac @@ -860,7 +860,12 @@ HAVE_APPLE_MEDIA="no" dnl SystemConfiguration.h is common to OS X and iOS, so we check for that AG_GST_CHECK_FEATURE(APPLE_MEDIA, [Apple video], applemedia, [ AC_CHECK_HEADER(SystemConfiguration/SystemConfiguration.h, HAVE_APPLE_MEDIA="yes", HAVE_APPLE_MEDIA="no") + dnl OSX 10.7 and earlier lack VideoToolbox/VideoToolbox.h + if test "x$HAVE_IOS" = "xno"; then + AC_CHECK_HEADER(VideoToolbox/VideoToolbox.h,, HAVE_APPLE_MEDIA="no") + fi ]) + dnl in case header SystemConfiguration/SystemConfiguration.h is found on other platforms case "$host" in *-*darwin*) |