diff options
author | Max Kellermann <max@duempel.org> | 2014-01-30 18:37:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-30 18:43:40 +0100 |
commit | a31738f6f1473f4f621bc16513ed0c6024749389 (patch) | |
tree | 9a97fe23e91de211a545173f3d90bebef1b043c5 /configure.ac | |
parent | 39a2867ea806682922a5bc8b0057bd4ddcbb4dcb (diff) |
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.ac | 2 |
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]) |