Never test for select() on windows

On 64-bit windows, configure actually _finds_ select when it tests for
it, and due to the ordering of the io implementations in event.c it is
chosen over the win32select implementation.

This modification skips the test for select on win32 (we don't want
that anyway, because Windows has its own), causing my windows box to
get the win32select implementation.

(edited by Nick)
This commit is contained in:
Trond Norbye 2010-03-23 13:27:10 -04:00 committed by Nick Mathewson
parent 7960af5113
commit 3eb044d0a9

View File

@ -258,9 +258,11 @@ yes
needsignal=no needsignal=no
haveselect=no haveselect=no
AC_CHECK_FUNCS(select, [haveselect=yes], ) if test x$bwin32 != xtrue; then
if test "x$haveselect" = "xyes" ; then AC_CHECK_FUNCS(select, [haveselect=yes], )
needsignal=yes if test "x$haveselect" = "xyes" ; then
needsignal=yes
fi
fi fi
AM_CONDITIONAL(SELECT_BACKEND, [test "x$haveselect" = "xyes"]) AM_CONDITIONAL(SELECT_BACKEND, [test "x$haveselect" = "xyes"])