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 | |
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')
-rwxr-xr-x | aconfigure | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -622,7 +622,6 @@ ac_subst_vars='LTLIBOBJS LIBOBJS ac_main_obj ac_host -ac_linux_poll opus_present opus_h_present ac_no_opus @@ -688,6 +687,7 @@ ac_external_srtp ac_external_gsm ac_external_speex ac_shared_libraries +ac_linux_poll ac_os_objs EGREP GREP @@ -5681,6 +5681,7 @@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking ioqueue backend" >&5 $as_echo_n "checking ioqueue backend... " >&6; } # Check whether --enable-epoll was given. @@ -5689,12 +5690,16 @@ if test "${enable_epoll+set}" = set; then : ac_os_objs=ioqueue_epoll.o { $as_echo "$as_me:${as_lineno-$LINENO}: result: /dev/epoll" >&5 $as_echo "/dev/epoll" >&6; } + $as_echo "#define PJ_HAS_LINUX_EPOLL 1" >>confdefs.h + + ac_linux_poll=epoll else ac_os_objs=ioqueue_select.o - { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: select()" >&5 $as_echo "select()" >&6; } + ac_linux_poll=select fi @@ -8412,8 +8417,6 @@ esac -ac_linux_poll=select - ac_host=unix |