summaryrefslogtreecommitdiff
path: root/aconfigure
diff options
context:
space:
mode:
Diffstat (limited to 'aconfigure')
-rwxr-xr-xaconfigure11
1 files changed, 7 insertions, 4 deletions
diff --git a/aconfigure b/aconfigure
index e174bbf0..33a08f51 100755
--- a/aconfigure
+++ b/aconfigure
@@ -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