[Libreoffice-commits] core.git: configure.ac

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 15 11:36:04 UTC 2020


 configure.ac |   17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

New commits:
commit 378f96019fff0d2e4db318187c3c143bdc0c3982
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Dec 15 12:43:29 2020 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Dec 15 12:35:29 2020 +0100

    Accept macOS SDK 11.1
    
    Change-Id: Ief4322005fb9087c00f767dcd50a59f2ccbc8a82
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107744
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>

diff --git a/configure.ac b/configure.ac
index ad35a32c752e..5836bbb58d4a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3105,7 +3105,7 @@ if test $_os = Darwin; then
     # higher than or equal to the minimum required should be found.
 
     AC_MSG_CHECKING([what macOS SDK to use])
-    for _macosx_sdk in ${with_macosx_sdk-11.0 10.15 10.14 10.13}; do
+    for _macosx_sdk in ${with_macosx_sdk-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
             with_macosx_sdk="${_macosx_sdk}"
@@ -3137,8 +3137,11 @@ if test $_os = Darwin; then
     11.0)
         MACOSX_SDK_VERSION=110000
         ;;
+    11.1)
+        MACOSX_SDK_VERSION=110100
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.13--11.0])
+        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.13--11.1])
         ;;
     esac
 
@@ -3200,8 +3203,11 @@ if test $_os = Darwin; then
     11.0)
         MAC_OS_X_VERSION_MIN_REQUIRED="110000"
         ;;
+    11.1)
+        MAC_OS_X_VERSION_MIN_REQUIRED="110100"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.10--11.0])
+        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.10--11.1])
         ;;
     esac
 
@@ -3262,8 +3268,11 @@ if test $_os = Darwin; then
     11.0)
         MAC_OS_X_VERSION_MAX_ALLOWED="110000"
         ;;
+    11.1)
+        MAC_OS_X_VERSION_MAX_ALLOWED="110100"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.10--11.0])
+        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.10--11.1])
         ;;
     esac
 


More information about the Libreoffice-commits mailing list