summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 20:43:18 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 20:43:18 +0000
commit9f6ad6fd5562e5019008f00b45a62bfb6c40a47e (patch)
treeeed13ad66b4afffb122d32da10f7c80c56ec8545 /configure.ac
parent186156afbca0b7e7ec8002112055429afd9e7e6b (diff)
efl: simplify cserve2 checks.
the headers were already checked, just use the values. SVN revision: 80390
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 8 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index 35e0d4f..7310893 100644
--- a/configure.ac
+++ b/configure.ac
@@ -470,6 +470,7 @@ stdint.h \
470strings.h \ 470strings.h \
471sys/epoll.h \ 471sys/epoll.h \
472sys/inotify.h \ 472sys/inotify.h \
473sys/signalfd.h \
473sys/types.h \ 474sys/types.h \
474sys/param.h \ 475sys/param.h \
475sys/mman.h \ 476sys/mman.h \
@@ -1821,15 +1822,15 @@ if test "x${efl_func_shm_open}" = "xno" ; then
1821 want_evas_cserve2="no" 1822 want_evas_cserve2="no"
1822fi 1823fi
1823 1824
1824if test "x${want_evas_cserve2}" = "xyes" ; then 1825if test "x${want_evas_cserve2}" = "xyes"; then
1825 AC_CHECK_HEADERS([sys/epoll.h sys/inotify.h sys/signalfd.h], 1826 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
1826 [], 1827 want_evas_cserve2="no"
1827 [want_evas_cserve2="no"]) 1828 fi
1828fi 1829fi
1829 1830
1830if test "x${want_evas_cserve2}" = "xyes" ; then 1831AC_DEFINE_IF([EVAS_CSERVE2],
1831 AC_DEFINE([EVAS_CSERVE2], [1], [Shared cache server.]) 1832 [test "x${want_evas_cserve2}" = "xyes"],
1832fi 1833 [1], [Shared cache server.])
1833AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"]) 1834AM_CONDITIONAL([EVAS_CSERVE2], [test "x${want_evas_cserve2}" = "xyes"])
1834 1835
1835### Configuration 1836### Configuration