From ec24433ef2984e84f94a28127ca566c0a985f8bd Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 12 Apr 2017 09:59:08 +0200 Subject: [PATCH] build: disable epoll support on solaris based systems We have a report where the use of epoll breaks such systems. Disabling it for now to make them work again. A deeper analysis is underway to understand this better and maybe have epoll support later. --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index efdf902..11adaa2 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,11 @@ case "$host_os" in MODULE_ARCH="v-v_maj.v_min" MODULE_EXT=".dll" ;; + *solaris*) + have_solaris="yes" + MODULE_ARCH="v-v_maj.v_min" + MODULE_EXT=".so" + ;; *) MODULE_ARCH="v-v_maj.v_min" MODULE_EXT=".so" @@ -461,7 +466,6 @@ AC_HEADER_TIME AC_CHECK_HEADERS([ \ execinfo.h \ mcheck.h \ -sys/epoll.h \ sys/inotify.h \ sys/signalfd.h \ sys/types.h \ @@ -472,6 +476,10 @@ sys/auxv.h \ asm/hwcap.h \ ]) +if test "x${have_solaris}" != "xyes" ; then + AC_CHECK_HEADERS([sys/epoll.h]) +fi + EFL_CHECK_PATH_MAX #### Checks for defines in headers -- 2.7.4