diff options
Diffstat (limited to 'auto')
-rw-r--r-- | auto/options | 2 | ||||
-rw-r--r-- | auto/os/conf | 6 | ||||
-rw-r--r-- | auto/sources | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/auto/options b/auto/options index 5311af5a5..91b9b1b7a 100644 --- a/auto/options +++ b/auto/options @@ -6,6 +6,7 @@ OBJS=objs TEST_BUILD_DEVPOLL=NO TEST_BUILD_EPOLL=NO +TEST_BUILD_SIGIO=NO SELECT=YES POLL=YES @@ -56,6 +57,7 @@ do --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 add6068a8..27e0123b4 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -54,3 +54,9 @@ if [ $TEST_BUILD_EPOLL = YES ]; then 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 c83ffa724..1a21c70a4 100644 --- a/auto/sources +++ b/auto/sources @@ -77,6 +77,9 @@ DEVPOLL_SRCS=src/event/modules/ngx_devpoll_module.c 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 |