From 4878544dc544cf8a97b795f8d7e3b037a52ea8d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= 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 SVN revision: 70760 --- legacy/evas/configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/legacy/evas/configure.ac b/legacy/evas/configure.ac index 911d31c330..93e26ed691 100644 --- a/legacy/evas/configure.ac +++ b/legacy/evas/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