[PATCH libinput 4/5] configure.ac: drop checks for a few flags

Peter Hutterer peter.hutterer at who-t.net
Wed Apr 26 02:20:40 UTC 2017


These were added in 2013 for old enterprise distributions (centos 5.5, see fdo
bz 63360), it's now 4 years later and these checks seems a bit superfluous.

If those bits are missing, compilation will fail anyway.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 configure.ac | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8b838fd..338d385 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,15 +55,6 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "$PYTHON" != :])
 LT_PREREQ([2.2])
 LT_INIT
 
-AC_CHECK_DECL(EPOLL_CLOEXEC, [],
-	      [AC_MSG_ERROR("EPOLL_CLOEXEC is needed to compile libinput")],
-	      [[#include <sys/epoll.h>]])
-AC_CHECK_DECL(TFD_CLOEXEC,[],
-	      [AC_MSG_ERROR("TFD_CLOEXEC is needed to compile libinput")],
-	      [[#include <sys/timerfd.h>]])
-AC_CHECK_DECL(CLOCK_MONOTONIC,[],
-	      [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile libinput")],
-	      [[#include <time.h>]])
 AC_CHECK_DECL(static_assert, [],
 	      [AC_DEFINE(static_assert(...), [/* */], [noop static_assert() replacement]),
               AC_MSG_RESULT([no])],
-- 
2.9.3



More information about the wayland-devel mailing list