diff --git a/configure b/configure index c4eadcb9cb..843fe1bbb5 100755 --- a/configure +++ b/configure @@ -18786,12 +18786,16 @@ int main () { + #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101000 #error macOS versions < 10.10 are not supported. #endif #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101100 #error macOS SDK version is too low, 10.11 or later is required. #endif + #elif !defined(__IPHONE_OS_VERSION_MIN_REQUIRED) + #error unrecognized platform + #endif ; return 0; diff --git a/configure.in b/configure.in index 47129cd400..620c99ba3a 100644 --- a/configure.in +++ b/configure.in @@ -1367,12 +1367,16 @@ version or omitting it entirely." #include ], [ + #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) #if __MAC_OS_X_VERSION_MIN_REQUIRED < 101000 #error macOS versions < 10.10 are not supported. #endif #if __MAC_OS_X_VERSION_MAX_ALLOWED < 101100 #error macOS SDK version is too low, 10.11 or later is required. #endif + #elif !defined(__IPHONE_OS_VERSION_MIN_REQUIRED) + #error unrecognized platform + #endif ], [AC_MSG_RESULT([yes])], [AC_MSG_FAILURE([$error_message])]