diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2006-09-26 12:20:12 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2006-09-26 12:20:12 +0000 |
| commit | 4524fb0dcda00c32732132cfefb263f8fa9919df (patch) | |
| tree | e3746564dc5428cf2630c403fc1615d2f693e9cb /auto/os | |
| parent | 4c804591c1a917ec301dcb1a9d32a61f756b6f8a (diff) | |
| download | nginx-4524fb0dcda00c32732132cfefb263f8fa9919df.tar.gz nginx-4524fb0dcda00c32732132cfefb263f8fa9919df.tar.bz2 | |
Solaris 10 event ports support
Diffstat (limited to 'auto/os')
| -rw-r--r-- | auto/os/solaris | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/auto/os/solaris b/auto/os/solaris index 73c9372c8..757013d1b 100644 --- a/auto/os/solaris +++ b/auto/os/solaris @@ -39,3 +39,17 @@ if [ $ngx_found = yes ]; then CORE_SRCS="$CORE_SRCS $SOLARIS_SENDFILEV_SRCS" CORE_LIBS="$CORE_LIBS -lsendfile" fi + + +ngx_feature="event ports" +ngx_feature_name="NGX_HAVE_EVENTPORT" +ngx_feature_run=no +ngx_feature_incs="#include <port.h>" +ngx_feature_libs= +ngx_feature_test="int n = port_create()" +. auto/feature + +if [ $ngx_found = yes ]; then + CORE_SRCS="$CORE_SRCS $EVENTPORT_SRCS" + EVENT_MODULES="$EVENT_MODULES $EVENTPORT_MODULE" +fi |
