Check cserve2 can be built while the multiplatform support is not there yet.

Patch by Raphael Kubo da Costa


SVN revision: 70760
This commit is contained in:
Iván Briano 2012-05-04 17:57:01 +00:00
parent cc2a9d337f
commit 4878544dc5
1 changed files with 11 additions and 0 deletions

View File

@ -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