From c8a7c947b527f7fba68edc92683eed134c24aeea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Hochg=C3=BCrtel?= Date: Fri, 7 Nov 2025 19:35:21 +0100 Subject: [PATCH] Add support for macOS 14, 15, and future darwin versions - Added darwin23 (macOS 14) and darwin24 (macOS 15) specific cases - Added darwin2* wildcard pattern to support future macOS versions - Maintains backward compatibility with all previous macOS versions - Uses modern SDK path and supports both x86_64 and arm64 architectures This fix resolves build errors on macOS 15 (darwin25) and ensures forward compatibility with future macOS releases. --- aclocal.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index c5182c7..286f6de 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -55,6 +55,11 @@ AC_DEFUN([DUTI_CHECK_SDK], macosx_arches="-arch x86_64 -arch arm64" ;; + darwin2*) + sdk_path="${sdk_path}/MacOSX.sdk" + macosx_arches="-arch x86_64 -arch arm64" + ;; + *) AC_MSG_ERROR([${host_os} is not a supported system]) esac @@ -137,6 +142,18 @@ AC_DEFUN([DUTI_CHECK_DEPLOYMENT_TARGET], dep_target="13" ;; + darwin23*) + dep_target="14" + ;; + + darwin24*) + dep_target="15" + ;; + + darwin2*) + dep_target="15" + ;; + esac if test -z "$macosx_dep_target"; then