summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2019-01-24 21:51:00 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2019-01-24 21:51:00 +0300
commitc6a0003af10cea67d6b6c3b087e384f79d353db3 (patch)
tree9b08279fded974ee86854cdc309af7f77042a463 /auto
parent3dcad9c5d6c96c35881b1790555f702027d7c1bb (diff)
downloadnginx-c6a0003af10cea67d6b6c3b087e384f79d353db3.tar.gz
nginx-c6a0003af10cea67d6b6c3b087e384f79d353db3.tar.bz2
Win32: properly enabled select on Windows.
Previously, select was compiled in by default, but the NGX_HAVE_SELECT macro was not set, resulting in iocp being used by default unless the "--with-select_module" configure option was explicitly specified. Since the iocp module is not finished and does not work properly, this effectively meant that the "--with-select_module" option was mandatory. With the change NGX_HAVE_SELECT is properly set, making "--with-select_module" optional. Accordingly, it is removed from misc/GNUmakefile win32 target.
Diffstat (limited to 'auto')
-rw-r--r--auto/os/win321
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/os/win32 b/auto/os/win32
index 7a8277496..b5c9c2a7b 100644
--- a/auto/os/win32
+++ b/auto/os/win32
@@ -34,6 +34,7 @@ EVENT_MODULES="$EVENT_MODULES $IOCP_MODULE"
EVENT_FOUND=YES
if [ $EVENT_SELECT = NO ]; then
+ have=NGX_HAVE_SELECT . auto/have
CORE_SRCS="$CORE_SRCS $SELECT_SRCS"
EVENT_MODULES="$EVENT_MODULES $SELECT_MODULE"
fi