From 989198f3ddc763000702bd1eaeb54002e18a8f04 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 15 Dec 2013 09:45:24 +0000 Subject: [PATCH] intel-virtual-output: Disable build if timerfd is not present Otherwise the build breaks on *BSD. Reported-by: Yuta SATOH Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72707 Signed-off-by: Chris Wilson --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index dcb09fb9..9eece7ab 100644 --- a/configure.ac +++ b/configure.ac @@ -184,6 +184,7 @@ PKG_CHECK_MODULES(TOOL, [xinerama xrandr xdamage xfixes xcursor xtst xrender xex if test "x$tools" = "xyes"; then AC_CHECK_HEADER([sys/ipc.h], [], [tools=no]) AC_CHECK_HEADER([sys/shm.h], [], [tools=no]) + AC_CHECK_HEADER([sys/timerfd.h], [], [tools=no]) if test "$ac_cv_header_sys_ipc_h" = "yes" -a "$ac_cv_header_sys_shm_h" = "yes"; then AC_MSG_CHECKING(whether shmctl IPC_RMID allows subsequent attaches)