Skip to content

Commit 6fbbfc8

Browse files
committed
Add configure check for posix_spawn_file_actions_addchdir_np
1 parent d1b031c commit 6fbbfc8

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

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
@@ -4775,7 +4775,7 @@ AC_CHECK_FUNCS([ \
47754775
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
47764776
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
47774777
pipe2 plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
4778-
posix_spawn_file_actions_addclosefrom_np \
4778+
posix_spawn_file_actions_addchdir_np posix_spawn_file_actions_addclosefrom_np \
47794779
pread preadv preadv2 pthread_condattr_setclock pthread_init pthread_kill \
47804780
pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
47814781
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \

pyconfig.h.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -905,6 +905,10 @@
905905
/* Define to 1 if you have the `posix_spawnp' function. */
906906
#undef HAVE_POSIX_SPAWNP
907907

908+
/* Define to 1 if you have the `posix_spawn_file_actions_addchdir_np'
909+
function. */
910+
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP
911+
908912
/* Define to 1 if you have the `posix_spawn_file_actions_addclosefrom_np'
909913
function. */
910914
#undef HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSEFROM_NP

0 commit comments

Comments
 (0)