summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-04 00:58:43 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-02-04 00:58:43 +0200
commit4209bf5c9c6119cf48c286f839aa346de6859460 (patch)
treecfa3a189f44606a475c0be05e206c5fd7d081bf4 /configure.ac
parentbf26c3b0983584a0bc3539d510fc8ef777af94d9 (diff)
allow users to set process scheduling priority and nice level; fixes #1712
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 08107c9acf..fd9b0cd1c0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ AC_CHECK_FUNCS_ONCE(accept4)
AC_CHECK_TYPES([struct timespec, clockid_t], [], [], [[#include <time.h>]])
AC_SEARCH_LIBS([clock_gettime], [rt posix4])
AC_CHECK_FUNCS([clock_gettime])
+AC_CHECK_FUNCS([sched_setscheduler sched_get_priority_min sched_get_priority_max nice])
# Check system type
case "$host_os" in