From 749c5429a7271105d96e2c41831e10e7b08b7723 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Fri, 13 Apr 2018 15:07:53 +0200 Subject: [PATCH] build: disable epoll and inotify checking outside linux While compat shims exist for systems outside linux to provide both, these require extra linkage and we're currently not set up for that, besides we have native kqueue impls where relevant so it's probably best to just disable. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index e9e999bfdb..2a59697c24 100644 --- a/configure.ac +++ b/configure.ac @@ -470,7 +470,6 @@ AC_HEADER_TIME AC_CHECK_HEADERS([ \ execinfo.h \ mcheck.h \ -sys/inotify.h \ sys/signalfd.h \ sys/types.h \ sys/param.h \ @@ -480,7 +479,8 @@ sys/auxv.h \ asm/hwcap.h \ ]) -if test "x${have_solaris}" != "xyes" ; then +if test "x${have_linux}" = "xyes" ; then + AC_CHECK_HEADERS([sys/inotify.h]) AC_CHECK_HEADERS([sys/epoll.h]) fi