From 807888b849187eaf5d1c0e4a064f66702180a8e9 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 3 Nov 2022 12:02:08 +0200 Subject: Accept macOS SDK 13.0 Change-Id: I2207f39583626c55900f3c027bd4a783d2dd36f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142231 Tested-by: Tor Lillqvist Reviewed-by: Tor Lillqvist --- configure.ac | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e3e52c26e8f5..ab716311dc6c 100644 --- a/configure.ac +++ b/configure.ac @@ -3302,7 +3302,7 @@ if test $_os = Darwin; then # The SDK in the currently selected Xcode should be found. AC_MSG_CHECKING([what macOS SDK to use]) - for macosx_sdk in 12.3 12.1 12.0 11.3 11.1 11.0 10.15 10.14 10.13; do + for macosx_sdk in 13.0 12.3 12.1 12.0 11.3 11.1 11.0 10.15 10.14 10.13; do MACOSX_SDK_PATH=`xcrun --sdk macosx${macosx_sdk} --show-sdk-path 2> /dev/null` if test -d "$MACOSX_SDK_PATH"; then break @@ -3347,6 +3347,9 @@ if test $_os = Darwin; then 12.3) MACOSX_SDK_VERSION=120300 ;; + 13.0) + MACOSX_SDK_VERSION=130000 + ;; *) AC_MSG_ERROR([macOS SDK $macosx_sdk is not supported]) ;; @@ -3422,8 +3425,11 @@ if test $_os = Darwin; then 12.3) MAC_OS_X_VERSION_MIN_REQUIRED="120300" ;; + 13.0) + MAC_OS_X_VERSION_MIN_REQUIRED="130000" + ;; *) - AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.12--12.3]) + AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.12--13.0]) ;; esac @@ -3493,8 +3499,11 @@ if test $_os = Darwin; then 12.3) MAC_OS_X_VERSION_MAX_ALLOWED="120300" ;; + 13.0) + MAC_OS_X_VERSION_MAX_ALLOWED="130000" + ;; *) - AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.12--12.3]) + AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.12--13.0]) ;; esac -- cgit v1.2.3