[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - configure.ac

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Tue Sep 24 11:40:31 UTC 2019


 configure.ac |   23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

New commits:
commit f251a18012dc40b4676d87dde03612dc47e182ef
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Sat Sep 21 23:44:27 2019 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sat Sep 21 23:44:27 2019 +0300

    Accept also macOS SDK 10.15 and iOS SDK 13.0
    
    Change-Id: I4ccde095789bbaa86825f05737650d3c00f1c2fe

diff --git a/configure.ac b/configure.ac
index 60ae5c31850c..a28f1efaf8aa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2639,7 +2639,7 @@ dnl ===================================================================
 dnl Check OS X SDK and compiler
 dnl ===================================================================
 
-if test $_os = Darwin -o $_os = iOS; then
+if test $_os = Darwin; then
 
     # If no --with-macosx-sdk option is given, look for one
 
@@ -2650,7 +2650,7 @@ if test $_os = Darwin -o $_os = iOS; then
     # higher than or equal to the minimum required should be found.
 
     AC_MSG_CHECKING([what Mac OS X SDK to use])
-    for _macosx_sdk in ${with_macosx_sdk-10.14 10.13 10.12}; do
+    for _macosx_sdk in ${with_macosx_sdk-10.15 10.14 10.13 10.12}; 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}"
@@ -2697,8 +2697,11 @@ if test $_os = Darwin -o $_os = iOS; then
     10.14)
         MACOSX_SDK_VERSION=101400
         ;;
+    10.15)
+        MACOSX_SDK_VERSION=101500
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.9--13])
+        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.9--15])
         ;;
     esac
 
@@ -2736,8 +2739,11 @@ if test $_os = Darwin -o $_os = iOS; then
     10.14)
         MAC_OS_X_VERSION_MIN_REQUIRED="101400"
         ;;
+    10.15)
+        MAC_OS_X_VERSION_MIN_REQUIRED="101500"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.9--13])
+        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.9--15])
         ;;
     esac
     MAC_OS_X_VERSION_MIN_REQUIRED_DOTS=$with_macosx_version_min_required
@@ -2780,8 +2786,11 @@ if test $_os = Darwin -o $_os = iOS; then
     10.14)
         MAC_OS_X_VERSION_MAX_ALLOWED="101400"
         ;;
+    10.15)
+        MAC_OS_X_VERSION_MAX_ALLOWED="101400"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.9--13])
+        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.9--15])
         ;;
     esac
 
@@ -2895,8 +2904,8 @@ dnl ===================================================================
 
 if test $_os = iOS; then
     AC_MSG_CHECKING([what iOS SDK to use])
-    current_sdk_ver=12.4
-    older_sdk_vers="12.2 12.1 12.0 11.4 11.2"
+    current_sdk_ver=13.0
+    older_sdk_vers="12.4 12.2 12.1 12.0 11.4 11.2"
     if test "$enable_ios_simulator" = "yes"; then
         platform=iPhoneSimulator
         versionmin=-mios-simulator-version-min=11.0


More information about the Libreoffice-commits mailing list