nginx-0.0.1-2004-01-30-20:39:00 import
diff --git a/auto/options b/auto/options index 5311af5..91b9b1b 100644 --- a/auto/options +++ b/auto/options
@@ -6,6 +6,7 @@ TEST_BUILD_DEVPOLL=NO TEST_BUILD_EPOLL=NO +TEST_BUILD_SIGIO=NO SELECT=YES POLL=YES @@ -56,6 +57,7 @@ --test-build-devpoll) TEST_BUILD_DEVPOLL=YES ;; --test-build-epoll) TEST_BUILD_EPOLL=YES ;; + --test-build-sigio) TEST_BUILD_SIGIO=YES ;; *) echo "$0: error: invalid option \"$option\""
diff --git a/auto/os/conf b/auto/os/conf index add6068..27e0123 100644 --- a/auto/os/conf +++ b/auto/os/conf
@@ -54,3 +54,9 @@ EVENT_MODULES="$EVENT_MODULES $EPOLL_MODULE" CORE_SRCS="$CORE_SRCS $EPOLL_SRCS" fi + +if [ $TEST_BUILD_SIGIO = YES ]; then + CFLAGS="$CFLAGS -D HAVE_SIGIO=1 -D TEST_BUILD_SIGIO=1" + EVENT_MODULES="$EVENT_MODULES $SIGIO_MODULE" + CORE_SRCS="$CORE_SRCS $SIGIO_SRCS" +fi
diff --git a/auto/sources b/auto/sources index c83ffa7..1a21c70 100644 --- a/auto/sources +++ b/auto/sources
@@ -77,6 +77,9 @@ EPOLL_MODULE="ngx_epoll_module" EPOLL_SRCS=src/event/modules/ngx_epoll_module.c +SIGIO_MODULE="ngx_sigio_module" +SIGIO_SRCS=src/event/modules/ngx_sigio_module.c + IOCP_MODULE="ngx_iocp_module" IOCP_SRCS=src/event/modules/ngx_iocp_module.c