diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2016-02-25 04:54:17 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2016-02-25 04:54:17 +0000 |
commit | 51a744be31cb2fd995d6c38804b7fa9a39f71bca (patch) | |
tree | f28b4e8ccd02564e4385d8f5c84a8e63bc9737de /aconfigure.ac | |
parent | dc8713e43f4470112d27d32d045231cf581ae20d (diff) |
Misc (re #1882): Updated ioqueue epoll related vars in build config, e.g: update 'ac_linux_poll' value, introduce PJ_HAS_LINUX_EPOLL flag (thanks George Joseph for the patch).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5247 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r-- | aconfigure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/aconfigure.ac b/aconfigure.ac index 2f71abbe..3e88124b 100644 --- a/aconfigure.ac +++ b/aconfigure.ac @@ -410,6 +410,7 @@ dnl ###################### dnl # ioqueue selection dnl # AC_SUBST(ac_os_objs) +AC_SUBST(ac_linux_poll) AC_MSG_CHECKING([ioqueue backend]) AC_ARG_ENABLE(epoll, AC_HELP_STRING([--enable-epoll], @@ -417,10 +418,13 @@ AC_ARG_ENABLE(epoll, [ ac_os_objs=ioqueue_epoll.o AC_MSG_RESULT([/dev/epoll]) + AC_DEFINE(PJ_HAS_LINUX_EPOLL,1) + ac_linux_poll=epoll ], [ ac_os_objs=ioqueue_select.o - AC_MSG_RESULT([select()]) + AC_MSG_RESULT([select()]) + ac_linux_poll=select ]) AC_SUBST(ac_shared_libraries) @@ -1879,7 +1883,6 @@ esac AC_SUBST(target) -AC_SUBST(ac_linux_poll,select) AC_SUBST(ac_host,unix) AC_SUBST(ac_main_obj) case $target in |