]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Declan White <declanw@is.bbc.co.uk>
authorAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 1 Nov 2010 23:26:02 +0000 (17:26 -0600)
committerAmos Jeffries <amosjeffries@squid-cache.org>
Mon, 1 Nov 2010 23:26:02 +0000 (17:26 -0600)
Fix /dev/poll and poll() selection priority

configure.in

index 439bd92b91ef3d50ca03ab5780739e7986e2dcb9..cd3dba995f5a1a13cba7a202ad62bc7e758fd718 100644 (file)
@@ -3071,10 +3071,10 @@ elif test -z "$disable_epoll" && test "$ac_cv_epoll_works" = "yes" ; then
        SELECT_TYPE="epoll"
 elif test -z "$disable_kqueue" && test "$ac_cv_func_kqueue" = "yes" ; then
        SELECT_TYPE="kqueue"
-elif test -z "$disable_poll" && test "$ac_cv_func_poll" = "yes" ; then
-        SELECT_TYPE="poll"
 elif test "x$enable_devpoll" != "xno" && test "x$ac_cv_devpoll_works" = "xyes"; then
         SELECT_TYPE="devpoll"
+elif test -z "$disable_poll" && test "$ac_cv_func_poll" = "yes" ; then
+        SELECT_TYPE="poll"
 elif test -z "$disable_select" && test "$ac_cv_func_select" = "yes" ; then
        case "$host_os" in
        mingw|mingw32)