From 0789b491c0a3e686da98b24f20f8f2a522264bd2 Mon Sep 17 00:00:00 2001 From: sachiel Date: Fri, 4 May 2012 17:57:01 +0000 Subject: [PATCH] Check cserve2 can be built while the multiplatform support is not there yet. Patch by Raphael Kubo da Costa git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@70760 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/configure.ac b/configure.ac index 911d31c..93e26ed 100644 --- a/configure.ac +++ b/configure.ac @@ -620,6 +620,17 @@ AC_ARG_ENABLE([evas-cserve2], AC_MSG_CHECKING(whether to build shared cache server 2 and support) AC_MSG_RESULT(${want_evas_cserve2}) +# cserve2 only works on Linux so far. +if test "x${want_evas_cserve2}" = "xyes" ; then + AC_CHECK_HEADERS( + [sys/epoll.h sys/inotify.h sys/signalfd.h], + [], + [ + want_evas_cserve2="no" + ] + ) +fi + if test "x${want_evas_cserve2}" = "xyes"; then want_evas_cserve="no" fi -- 2.7.4