From 33fcaaa219da25d7790543e605f268b99cb495ec Mon Sep 17 00:00:00 2001 From: Bill Welliver <bill@welliver.org> Date: Sat, 9 Nov 2013 09:29:43 +0000 Subject: [PATCH] Backend: Darwin's poll(2) is based on kqueue(2), so there's no benefit to supporting poll independently. --- src/configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index 768364446f..d7fe971e34 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1546,9 +1546,11 @@ MY_AC_ARG_WITH(pg, MY_DESCR([--with-pg],[use the gcc -pg option]), AC_ARG_WITH(poll, MY_DESCR([--with-poll], [use poll instead of select]), [], [ # Neither --with-poll nor --without-poll was specified case "$pike_cv_sys_os" in - Solaris|HP-UX|OSF1|IRIX|Linux|UnixWare|OpenUNIX|Darwin) + Solaris|HP-UX|OSF1|IRIX|Linux|UnixWare|OpenUNIX) # PIKE_MSG_WARN([Defaulting to --with-poll since the OS is $pike_cv_sys_os.]) # Nothing to warn about, really... +# NOTE: Darwin (OSX/iOS) have poll, but it's layered on kqueue, so there's no +# real benefit to supporting it separately there. with_poll=yes ;; AIX) -- GitLab