Skip to content

Commit 90d71a3

Browse files
committed
Add configure check for posix_spawn_file_actions_addchdir_np
1 parent b38cfb7 commit 90d71a3

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

configure

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5335,7 +5335,7 @@ AC_CHECK_FUNCS([ \
53355335
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
53365336
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
53375337
pipe2 plock poll ppoll posix_fadvise posix_fallocate posix_openpt posix_spawn posix_spawnp \
5338-
posix_spawn_file_actions_addclosefrom_np \
5338+
posix_spawn_file_actions_addchdir_np posix_spawn_file_actions_addclosefrom_np \
53395339
pread preadv preadv2 process_vm_readv \
53405340
pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_init \
53415341
pthread_kill pthread_get_name_np pthread_getname_np pthread_set_name_np \

pyconfig.h.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -975,6 +975,10 @@
975975
/* Define to 1 if you have the 'posix_spawnp' function. */
976976
#undef HAVE_POSIX_SPAWNP
977977

978+
/* Define to 1 if you have the 'posix_spawn_file_actions_addchdir_np'
979+
function. */
980+
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
981+
978982
/* Define to 1 if you have the 'posix_spawn_file_actions_addclosefrom_np'
979983
function. */
980984
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP

0 commit comments

Comments
 (0)