diff options
author | Charles-François Natali <neologix@free.fr> | 2011-09-06 17:03:35 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-09-06 17:03:35 (GMT) |
commit | ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8 (patch) | |
tree | 3e3c3175335b22c3e1189dc97be47ac396f9402c /configure.in | |
parent | e0afb16a317b71df0c538369a9fe223685d57b95 (diff) | |
download | cpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.zip cpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.tar.gz cpython-ea0d5fcb4a6ba8f7fa7691a9e92cbec4918dcce8.tar.bz2 |
Issue #12871: sched_get_priority_(min|max) might not be defined even though
<sched.h> is available (most notably on OpenBSD when built without pthread):
add an explicit configure check.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 43745fb..5b0f11e 100644 --- a/configure.in +++ b/configure.in @@ -2538,7 +2538,8 @@ AC_CHECK_FUNCS(alarm accept4 setitimer getitimer bind_textdomain_codeset chown \ select 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_setaffinity sched_setscheduler sched_setparam sched_rr_get_interval \ + sched_get_priority_max sched_setaffinity sched_setscheduler sched_setparam \ + sched_rr_get_interval \ sigaction sigaltstack siginterrupt sigpending sigrelse \ sigtimedwait sigwait sigwaitinfo snprintf strftime strlcpy symlinkat sync \ sysconf tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \ |