From dc5ae70cb44354de17d0994aee4b36ecc05456ff Mon Sep 17 00:00:00 2001 From: Robert Pluim Date: Wed, 24 Sep 2025 10:55:13 +0200 Subject: [PATCH] Fix macOS build with SDK version 26 * configure.ac: Use gl_CHECK_FUNCS_ANDROID_MACOS to check for 'posix_spawn_file_actions_addchdir', since it checks which version of macOS is being used for the build, rather than what is available in the SDK. (Bug#79489) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a6a603d8f35..6bec1adf63f 100644 --- a/configure.ac +++ b/configure.ac @@ -6352,7 +6352,7 @@ dnl recent, so we check for it specifically. AC_CHECK_HEADERS([spawn.h]) AC_SUBST([HAVE_SPAWN_H]) gl_CHECK_FUNCS_ANDROID([posix_spawn], [#include ]) -gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir], [#include ]) +gl_CHECK_FUNCS_ANDROID_MACOS([posix_spawn_file_actions_addchdir], [#include ]) gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np], [#include ]) gl_CHECK_FUNCS_ANDROID([posix_spawnattr_setflags], [#include ]) AC_SUBST([HAVE_POSIX_SPAWN])