summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pluim <rpluim@gmail.com>2025-09-24 10:55:13 +0200
committerRobert Pluim <rpluim@gmail.com>2025-09-29 15:53:36 +0200
commitdc5ae70cb44354de17d0994aee4b36ecc05456ff (patch)
treefd803fa65cb2d61b515f4aa31e84d5272bb13f49
parent98b2516f6e868dcda33076ab6e7b7b270c468d00 (diff)
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)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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 <spawn.h>])
-gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir], [#include <spawn.h>])
+gl_CHECK_FUNCS_ANDROID_MACOS([posix_spawn_file_actions_addchdir], [#include <spawn.h>])
gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np], [#include <spawn.h>])
gl_CHECK_FUNCS_ANDROID([posix_spawnattr_setflags], [#include <spawn.h>])
AC_SUBST([HAVE_POSIX_SPAWN])