aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-30 18:37:30 +0100
committerMax Kellermann <max@duempel.org>2014-01-30 18:43:40 +0100
commita31738f6f1473f4f621bc16513ed0c6024749389 (patch)
tree9a97fe23e91de211a545173f3d90bebef1b043c5 /configure.ac
parent39a2867ea806682922a5bc8b0057bd4ddcbb4dcb (diff)
downloadmpd-a31738f6f1473f4f621bc16513ed0c6024749389.tar.gz
mpd-a31738f6f1473f4f621bc16513ed0c6024749389.tar.xz
mpd-a31738f6f1473f4f621bc16513ed0c6024749389.zip
Main, OutputThread: increase kernel timer slack (Linux)
Allows the kernel to combine timer wakeups with other processes, reducing power usage.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0da4eb645..80e50191e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -184,6 +184,8 @@ AC_SEARCH_LIBS([exp], [m],,
AC_CHECK_HEADERS(locale.h)
AC_CHECK_HEADERS(valgrind/memcheck.h)
+AC_CHECK_HEADERS([sys/prctl.h], AC_CHECK_FUNCS([prctl]))
+
AC_CHECK_LIB([pthread], [pthread_setname_np],
[have_pthread_setname_np=yes],
[have_pthread_setname_np=no])