From: Benjamin Peterson Date: Mon, 4 Sep 2017 17:21:42 +0000 (-0700) Subject: remove autoconf check for select() (#3283) X-Git-Tag: v3.7.0a1~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2344851abd3b146ff09d3fc13adb262a7c5450b;p=python remove autoconf check for select() (#3283) We never actually check HAVE_SELECT. --- diff --git a/configure b/configure index c242ac4826..98435960c9 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 af1cb8cdd4..863d942302 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 64b5f0371b..a524204e75 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