forked from enlightenment/efl
efl: simplify cserve2 checks.
the headers were already checked, just use the values. SVN revision: 80390
This commit is contained in:
parent
186156afbc
commit
9f6ad6fd55
15
configure.ac
15
configure.ac
|
@ -470,6 +470,7 @@ stdint.h \
|
||||||
strings.h \
|
strings.h \
|
||||||
sys/epoll.h \
|
sys/epoll.h \
|
||||||
sys/inotify.h \
|
sys/inotify.h \
|
||||||
|
sys/signalfd.h \
|
||||||
sys/types.h \
|
sys/types.h \
|
||||||
sys/param.h \
|
sys/param.h \
|
||||||
sys/mman.h \
|
sys/mman.h \
|
||||||
|
@ -1821,15 +1822,15 @@ if test "x${efl_func_shm_open}" = "xno" ; then
|
||||||
want_evas_cserve2="no"
|
want_evas_cserve2="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x${want_evas_cserve2}" = "xyes" ; then
|
if test "x${want_evas_cserve2}" = "xyes"; then
|
||||||
AC_CHECK_HEADERS([sys/epoll.h sys/inotify.h sys/signalfd.h],
|
if test "x${ac_cv_header_sys_epoll_h}" = "xno" || test "x${ac_cv_header_sys_inotify_h}" = "xno" || test "x${ac_cv_header_sys_signalfd_h}" = "xno"; then
|
||||||
[],
|
want_evas_cserve2="no"
|
||||||
[want_evas_cserve2="no"])
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x${want_evas_cserve2}" = "xyes" ; then
|
AC_DEFINE_IF([EVAS_CSERVE2],
|
||||||
AC_DEFINE([EVAS_CSERVE2], [1], [Shared cache server.])
|
[test "x${want_evas_cserve2}" = "xyes"],
|
||||||
fi
|
[1], [Shared cache server.])
|
||||||
AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"])
|
AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"])
|
||||||
|
|
||||||
### Configuration
|
### Configuration
|
||||||
|
|
Loading…
Reference in New Issue