configure: Include AvailabilityMacros.h for osxvideo check

Otherwise MAC_OS_X_VERSION_MIN_REQUIRED might not be defined
This commit is contained in:
Sebastian Dröge 2014-01-09 17:32:15 +01:00
parent 5adedf9f5a
commit 03dff9de0b

View file

@ -491,6 +491,7 @@ AG_GST_CHECK_FEATURE(OSX_VIDEO, [OSX video], osxvideosink, [
dnl also require Snow Leopard or newer
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060
#error Too old OSX version
#endif