diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-04 16:38:14 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-10-04 16:38:14 +0300 |
| commit | 2c84f7af2c97a55bf138a5fcedeb164733dc9bea (patch) | |
| tree | c50b44dcc2152f0f90cdeeb754a8c7270ba904a5 /auto/unix | |
| parent | 967ebbec321b1daa6632ab843b2dd2346a9fa8d0 (diff) | |
| download | nginx-2c84f7af2c97a55bf138a5fcedeb164733dc9bea.tar.gz nginx-2c84f7af2c97a55bf138a5fcedeb164733dc9bea.tar.bz2 | |
Configure: removed the --with-ipv6 option.
IPv6 now compiled-in automatically if support is found. If there is a need
to disable it for some reason, --with-cc-opt="-DNGX_HAVE_INET6=0" can be used
for this.
Diffstat (limited to 'auto/unix')
| -rwxr-xr-x | auto/unix | 26 |
1 files changed, 12 insertions, 14 deletions
@@ -637,20 +637,18 @@ ngx_param=NGX_MAX_TIME_T_VALUE; ngx_value=$ngx_max_value; . 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; - (void) sin6" - . auto/feature -fi +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; + (void) sin6" +. auto/feature ngx_feature="setproctitle()" |
