This is an automated email from the ASF dual-hosted git repository.

jimjag pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new a561c53eee For macs, we must baseline 11.0 as the oldest supported 
version, due to Apple Silicon support
a561c53eee is described below

commit a561c53eee1483b5eae14075cbb966cc3247b794
Author: Jim Jagielski <[email protected]>
AuthorDate: Tue Jun 9 17:21:41 2026 -0400

    For macs, we must baseline 11.0 as the oldest supported version, due
    to Apple Silicon support
---
 main/configure.ac | 16 +++-------------
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/main/configure.ac b/main/configure.ac
index 09131f9bc1..718e9cf9c2 100644
--- a/main/configure.ac
+++ b/main/configure.ac
@@ -3929,24 +3929,14 @@ if test  "$_os" = "Darwin"; then
       fi
    fi
 
-   if test "$sdk_major" -lt "10" -o \( "$sdk_major" -eq "10" -a "$sdk_minor" 
-lt "9" \); then
-      AC_MSG_ERROR([macOS deployment target < 10.9 is no longer supported])
+   if test "$sdk_major" -lt "10" ; then
+      AC_MSG_ERROR([macOS deployment target < 11.0 is no longer supported])
    else
       MACOSX_DEPLOYMENT_TARGET=$sdk_target
       sdk_path=$with_macosx_sdk
       if test -z "$sdk_path"; then
           dnl --macosx-sdk not used (or blank): We look for the SDK
-          dnl Why not MacOSX10.9.sdk? It lacks Python.h (!?)
-          dnl First look for macOS10.x SDKs (Up thru Xcode 12.1)
-          sdk_found=`xcodebuild -showsdks | $EGREP "sdk 
macosx10.(10|11|12|13|14|15)" | sed -e "s/.*sdk //" | tail -n1`
-          dnl If not found, look for macOS11.x SDKs (Xcode 12.2 and later)
-          if test -z "$sdk_found"; then
-             sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx11.(0|1|2|3)" 
| sed -e "s/.*sdk //" | tail -n1`
-          fi
-          dnl If not found, look for macOS12.x SDKs (Xcode 13.0 and later)
-          if test -z "$sdk_found"; then
-             sdk_found=`xcodebuild -showsdks | $EGREP "sdk macosx12.(0|1|2)" | 
sed -e "s/.*sdk //" | tail -n1`
-          fi
+          sdk_found=`xcodebuild -showsdks | $EGREP "sdk 
macosx(11|12|13|14|15|26)" | sed -e "s/.*sdk //" | tail -n1`
           if test -z "$sdk_found"; then
              AC_MSG_ERROR([No SDK with OSX $sdk_target compatibility found])
           else

Reply via email to