[Python-checkins] remove autoconf check for select() (#3283)

Benjamin Peterson webhook-mailer at python.org
Mon Sep 4 13:21:45 EDT 2017


https://github.com/python/cpython/commit/a2344851abd3b146ff09d3fc13adb262a7c5450b
commit: a2344851abd3b146ff09d3fc13adb262a7c5450b
branch: master
author: Benjamin Peterson <benjamin at python.org>
committer: GitHub <noreply at github.com>
date: 2017-09-04T10:21:42-07:00
summary:

remove autoconf check for select() (#3283)

We never actually check HAVE_SELECT.

files:
M configure
M configure.ac
M pyconfig.h.in

diff --git a/configure b/configure
index c242ac48266..98435960c94 100755
--- a/configure
+++ b/configure
@@ -11328,7 +11328,7 @@ for ac_func in alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
  mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
  posix_fallocate posix_fadvise pread \
  pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath renameat \
- select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
+ sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
  setgid sethostname \
  setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setpriority setuid setvbuf \
  sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \
diff --git a/configure.ac b/configure.ac
index af1cb8cdd46..863d9423023 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3485,7 +3485,7 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \
  mkfifoat mknod mknodat mktime mremap nice openat pathconf pause pipe2 plock poll \
  posix_fallocate posix_fadvise pread \
  pthread_init pthread_kill putenv pwrite readlink readlinkat readv realpath renameat \
- select sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
+ sem_open sem_timedwait sem_getvalue sem_unlink sendfile setegid seteuid \
  setgid sethostname \
  setlocale setregid setreuid setresuid setresgid setsid setpgid setpgrp setpriority setuid setvbuf \
  sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 64b5f0371bd..a524204e755 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -775,9 +775,6 @@
 /* Define to 1 if you have the `sched_setscheduler' function. */
 #undef HAVE_SCHED_SETSCHEDULER
 
-/* Define to 1 if you have the `select' function. */
-#undef HAVE_SELECT
-
 /* Define to 1 if you have the `sem_getvalue' function. */
 #undef HAVE_SEM_GETVALUE
 



More information about the Python-checkins mailing list