From 4a1f54faf29af4f125134aef3a47cfe05c7755ff Mon Sep 17 00:00:00 2001 From: Claudia Date: Tue, 14 Jul 2020 14:10:12 +0200 Subject: [PATCH] Add support for macOS 10.15, 10.16 and 11.0 Supersedes #39. Co-authored-by: Gijs Key --- aclocal.m4 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/aclocal.m4 b/aclocal.m4 index c6836d6..3b11527 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -45,6 +45,16 @@ AC_DEFUN([DUTI_CHECK_SDK], macosx_arches="" ;; + darwin19*) + sdk_path="${sdk_path}/MacOSX.sdk" + macosx_arches="-arch x86_64" + ;; + + darwin20*) + sdk_path="${sdk_path}/MacOSX.sdk" + macosx_arches="-arch x86_64 -arch arm64" + ;; + *) AC_MSG_ERROR([${host_os} is not a supported system]) esac @@ -110,6 +120,14 @@ AC_DEFUN([DUTI_CHECK_DEPLOYMENT_TARGET], darwin18*) dep_target="10.14" ;; + + darwin19*) + dep_target="10.15" + ;; + + darwin20*) + dep_target="10.16" + ;; esac if test -z "$macosx_dep_target"; then