From a31738f6f1473f4f621bc16513ed0c6024749389 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 30 Jan 2014 18:37:30 +0100 Subject: Main, OutputThread: increase kernel timer slack (Linux) Allows the kernel to combine timer wakeups with other processes, reducing power usage. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') 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]) -- cgit v1.2.3