aboutsummaryrefslogtreecommitdiff
path: root/auto/unix
diff options
context:
space:
mode:
Diffstat (limited to 'auto/unix')
-rwxr-xr-xauto/unix15
1 files changed, 15 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index 245d4f7f1..7d6e4805e 100755
--- a/auto/unix
+++ b/auto/unix
@@ -64,6 +64,21 @@ ngx_param=NGX_TIME_T_LEN; ngx_value=$ngx_max_len; . auto/types/value
# syscalls, libc calls and some features
+if [ $NGX_IPV6 = YES ]; then
+ ngx_feature="AF_INET6"
+ ngx_feature_name="NGX_HAVE_INET6"
+ ngx_feature_run=no
+ ngx_feature_incs="#include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>"
+ ngx_feature_path=
+ ngx_feature_libs=
+ ngx_feature_test="struct sockaddr_in6 sin6;
+ sin6.sin6_family = AF_INET6;"
+ . auto/feature
+fi
+
+
ngx_feature="setproctitle()"
ngx_feature_name="NGX_HAVE_SETPROCTITLE"
ngx_feature_run=no