From: Rick Kern <ker...@gmail.com> configure was checking for the SDK version being used to compile. Now it compares against the minimum deployment target.
Signed-off-by: Rick Kern <ker...@gmail.com> --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index e465424..718f285 100755 --- a/configure +++ b/configure @@ -5477,9 +5477,9 @@ enabled openssl && { check_lib openssl/ssl.h SSL_library_init -lssl -l enabled vtenc && { { check_header VideoToolbox/VideoToolbox.h || die "ERROR: VideoToolbox/VideoToolbox.h not found." } && - { check_header "Availability.h" && - { check_cpp_condition "Availability.h" "defined(__IPHONE_8_0) && __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_8_0" || - check_cpp_condition "Availability.h" "defined(__MAC_10_9) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_9" + { { check_header "Availability.h" || die "Availability.h missing"; }&& + { check_cpp_condition "Availability.h" "defined(__IPHONE_8_0) && __IPHONE_OS_VERSION_MIN_REQUIRED >= __IPHONE_8_0" || + check_cpp_condition "Availability.h" "defined(__MAC_10_9) && __MAC_OS_X_VERSION_MIN_REQUIRED >= __MAC_10_9" } || die "VideoToolbox requires Mac OSX 10.9+ or iOS 8.0+" } -- 2.4.9 (Apple Git-60) _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel