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

Tor Lillqvist tml at collabora.com
Mon Jun 8 14:34:28 PDT 2015


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

New commits:
commit bcd52844597640504d3a7caf5441f9f6181497c5
Author: Tor Lillqvist <tml at collabora.com>
Date:   Tue Jun 9 00:33:38 2015 +0300

    Accept also OS X 10.11
    
    Change-Id: Ieedf4810f1e726bf11f0d0b1a203e560a0b16550

diff --git a/configure.ac b/configure.ac
index 68242b0..8fca4e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2767,7 +2767,7 @@ if test $_os = Darwin; then
 
     AC_MSG_CHECKING([what Mac OS X SDK to use])
 
-    for _macosx_sdk in $with_macosx_sdk 10.8 10.9 10.10; do
+    for _macosx_sdk in $with_macosx_sdk 10.8 10.9 10.10 10.11; 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}"
@@ -2795,8 +2795,11 @@ if test $_os = Darwin; then
     10.10)
         MACOSX_SDK_VERSION=101000
         ;;
+    10.11)
+        MACOSX_SDK_VERSION=101100
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.8--10])
+        AC_MSG_ERROR([with-macosx-sdk $with_macosx_sdk is not a supported value, supported values are 10.8--11])
         ;;
     esac
 
@@ -2825,8 +2828,11 @@ if test $_os = Darwin; then
     10.10)
         MAC_OS_X_VERSION_MIN_REQUIRED="101000"
         ;;
+    10.11)
+        MAC_OS_X_VERSION_MIN_REQUIRED="101100"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.8--10])
+        AC_MSG_ERROR([with-macosx-version-min-required $with_macosx_version_min_required is not a supported value, supported values are 10.8--11])
         ;;
     esac
 
@@ -2859,8 +2865,11 @@ if test $_os = Darwin; then
     10.10)
         MAC_OS_X_VERSION_MAX_ALLOWED="101000"
         ;;
+    10.11)
+        MAC_OS_X_VERSION_MAX_ALLOWED="101100"
+        ;;
     *)
-        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.8--10])
+        AC_MSG_ERROR([with-macosx-version-max-allowed $with_macosx_version_max_allowed is not a supported value, supported values are 10.8--11])
         ;;
     esac
 


More information about the Libreoffice-commits mailing list