From 251023b9e445d92ec932b92e5969e9fd47be2a5f Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 26 Apr 2017 11:09:14 +1000 Subject: configure.ac: drop checks for a few flags 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 --- configure.ac | 9 --------- 1 file changed, 9 deletions(-) diff --git a/configure.ac b/configure.ac index 8b838fdb..338d385c 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 ]]) -AC_CHECK_DECL(TFD_CLOEXEC,[], - [AC_MSG_ERROR("TFD_CLOEXEC is needed to compile libinput")], - [[#include ]]) -AC_CHECK_DECL(CLOCK_MONOTONIC,[], - [AC_MSG_ERROR("CLOCK_MONOTONIC is needed to compile libinput")], - [[#include ]]) AC_CHECK_DECL(static_assert, [], [AC_DEFINE(static_assert(...), [/* */], [noop static_assert() replacement]), AC_MSG_RESULT([no])], -- cgit v1.2.1