Skip to content

Commit 0be48f6

Browse files
committed
[3.11] pythongh-150443: Exclude explicit dup3 and pipe2 checks on iOS builds. (pythonGH-150444) (python#150448)
Exclude explicit dup3 and pipe2 checks on iOS builds. (cherry picked from commit 629da5c)
1 parent 819bead commit 0be48f6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎configure‎

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

‎configure.ac‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4828,7 +4828,7 @@ fi
48284828
# checks for library functions
48294829
AC_CHECK_FUNCS([ \
48304830
accept4 alarm bind_textdomain_codeset chmod chown clock close_range confstr \
4831-
copy_file_range ctermid dup dup3 execv explicit_bzero explicit_memset \
4831+
copy_file_range ctermid dup explicit_bzero explicit_memset \
48324832
faccessat fchmod fchmodat fchown fchownat fdopendir fdwalk fexecve \
48334833
fork fork1 fpathconf fstatat ftime ftruncate futimens futimes futimesat \
48344834
gai_strerror getegid geteuid getgid getgrgid getgrgid_r \
@@ -4838,7 +4838,7 @@ AC_CHECK_FUNCS([ \
48384838
getspnam getuid getwd if_nameindex initgroups kill killpg lchown linkat \
48394839
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
48404840
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
4841-
pipe2 plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
4841+
plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
48424842
pread preadv preadv2 pthread_condattr_setclock pthread_init pthread_kill \
48434843
pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
48444844
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \
@@ -4865,7 +4865,7 @@ fi
48654865
# header definition prevents usage - autoconf doesn't use the headers), or
48664866
# raise an error if used at runtime. Force these symbols off.
48674867
if test "$ac_sys_system" != "iOS" ; then
4868-
AC_CHECK_FUNCS([getentropy getgroups system])
4868+
AC_CHECK_FUNCS([dup3 getentropy getgroups pipe2 system])
48694869
fi
48704870

48714871
AC_CHECK_DECL([dirfd],

0 commit comments

Comments
 (0)