configure.ac |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

New commits:
commit 029e4e8a614a86f22bcafc0e2db55449d2b07a52
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Nov 3 11:11:29 2022 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Nov 3 14:07:01 2022 +0100

    Accept macOS SDK 13.0
    
    Change-Id: Ieb4fac4e909482b477fd228b86cfd458ff00def5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142219
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <t...@collabora.com>

diff --git a/configure.ac b/configure.ac
index f2314d4144e2..7116a768c1fd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3428,7 +3428,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
@@ -3473,6 +3473,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])
         ;;
@@ -3538,8 +3541,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.14--12.3])
+        AC_MSG_ERROR([with-macosx-version-min-required 
$with_macosx_version_min_required is not a supported value, supported values 
are 10.14--13.0])
         ;;
     esac
 

Reply via email to