aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2025-09-24 10:55:13 +0200
committerRobert Pluim2025-09-29 15:53:36 +0200
commitdc5ae70cb44354de17d0994aee4b36ecc05456ff (patch)
treefd803fa65cb2d61b515f4aa31e84d5272bb13f49
parent98b2516f6e868dcda33076ab6e7b7b270c468d00 (diff)
downloademacs-dc5ae70cb44354de17d0994aee4b36ecc05456ff.tar.gz
emacs-dc5ae70cb44354de17d0994aee4b36ecc05456ff.zip
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.
6352AC_CHECK_HEADERS([spawn.h]) 6352AC_CHECK_HEADERS([spawn.h])
6353AC_SUBST([HAVE_SPAWN_H]) 6353AC_SUBST([HAVE_SPAWN_H])
6354gl_CHECK_FUNCS_ANDROID([posix_spawn], [#include <spawn.h>]) 6354gl_CHECK_FUNCS_ANDROID([posix_spawn], [#include <spawn.h>])
6355gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir], [#include <spawn.h>]) 6355gl_CHECK_FUNCS_ANDROID_MACOS([posix_spawn_file_actions_addchdir], [#include <spawn.h>])
6356gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np], [#include <spawn.h>]) 6356gl_CHECK_FUNCS_ANDROID([posix_spawn_file_actions_addchdir_np], [#include <spawn.h>])
6357gl_CHECK_FUNCS_ANDROID([posix_spawnattr_setflags], [#include <spawn.h>]) 6357gl_CHECK_FUNCS_ANDROID([posix_spawnattr_setflags], [#include <spawn.h>])
6358AC_SUBST([HAVE_POSIX_SPAWN]) 6358AC_SUBST([HAVE_POSIX_SPAWN])