summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2022-11-03 12:02:08 +0200
committerTor Lillqvist <tml@collabora.com>2022-11-03 13:36:49 +0100
commit807888b849187eaf5d1c0e4a064f66702180a8e9 (patch)
tree5a62625ef48a03fcd93a1ea1fb388419ca4b70bd
parent1bfe827fdf2445b1478aab58079068a5611f686d (diff)
Accept macOS SDK 13.0
Change-Id: I2207f39583626c55900f3c027bd4a783d2dd36f3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142231 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
-rw-r--r--configure.ac15
1 files 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