summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-04-12 09:59:08 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-04-12 10:17:41 +0200
commitec24433ef2984e84f94a28127ca566c0a985f8bd (patch)
tree1de98a30868192e367ce6044e2e7c2c9c25f4eea
parenta5e019b4680d8ee24bf77c656e4b7437fbe0243e (diff)
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.
-rw-r--r--configure.ac10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index efdf902be6..11adaa2f31 100644
--- a/configure.ac
+++ b/configure.ac
@@ -198,6 +198,11 @@ case "$host_os" in
198 MODULE_ARCH="v-v_maj.v_min" 198 MODULE_ARCH="v-v_maj.v_min"
199 MODULE_EXT=".dll" 199 MODULE_EXT=".dll"
200 ;; 200 ;;
201 *solaris*)
202 have_solaris="yes"
203 MODULE_ARCH="v-v_maj.v_min"
204 MODULE_EXT=".so"
205 ;;
201 *) 206 *)
202 MODULE_ARCH="v-v_maj.v_min" 207 MODULE_ARCH="v-v_maj.v_min"
203 MODULE_EXT=".so" 208 MODULE_EXT=".so"
@@ -461,7 +466,6 @@ AC_HEADER_TIME
461AC_CHECK_HEADERS([ \ 466AC_CHECK_HEADERS([ \
462execinfo.h \ 467execinfo.h \
463mcheck.h \ 468mcheck.h \
464sys/epoll.h \
465sys/inotify.h \ 469sys/inotify.h \
466sys/signalfd.h \ 470sys/signalfd.h \
467sys/types.h \ 471sys/types.h \
@@ -472,6 +476,10 @@ sys/auxv.h \
472asm/hwcap.h \ 476asm/hwcap.h \
473]) 477])
474 478
479if test "x${have_solaris}" != "xyes" ; then
480 AC_CHECK_HEADERS([sys/epoll.h])
481fi
482
475EFL_CHECK_PATH_MAX 483EFL_CHECK_PATH_MAX
476 484
477#### Checks for defines in headers 485#### Checks for defines in headers