Mercurial > hg > nginx
comparison auto/unix @ 6724:a6d116645c51
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.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 04 Oct 2016 16:38:14 +0300 |
parents | 0bf08d9c82c1 |
children | dbb0c854e308 |
comparison
equal
deleted
inserted
replaced
6723:ebba2f980489 | 6724:a6d116645c51 |
---|---|
635 | 635 |
636 | 636 |
637 # syscalls, libc calls and some features | 637 # syscalls, libc calls and some features |
638 | 638 |
639 | 639 |
640 if [ $NGX_IPV6 = YES ]; then | 640 ngx_feature="AF_INET6" |
641 ngx_feature="AF_INET6" | 641 ngx_feature_name="NGX_HAVE_INET6" |
642 ngx_feature_name="NGX_HAVE_INET6" | 642 ngx_feature_run=no |
643 ngx_feature_run=no | 643 ngx_feature_incs="#include <sys/socket.h> |
644 ngx_feature_incs="#include <sys/socket.h> | 644 #include <netinet/in.h> |
645 #include <netinet/in.h> | 645 #include <arpa/inet.h>" |
646 #include <arpa/inet.h>" | 646 ngx_feature_path= |
647 ngx_feature_path= | 647 ngx_feature_libs= |
648 ngx_feature_libs= | 648 ngx_feature_test="struct sockaddr_in6 sin6; |
649 ngx_feature_test="struct sockaddr_in6 sin6; | 649 sin6.sin6_family = AF_INET6; |
650 sin6.sin6_family = AF_INET6; | 650 (void) sin6" |
651 (void) sin6" | 651 . auto/feature |
652 . auto/feature | |
653 fi | |
654 | 652 |
655 | 653 |
656 ngx_feature="setproctitle()" | 654 ngx_feature="setproctitle()" |
657 ngx_feature_name="NGX_HAVE_SETPROCTITLE" | 655 ngx_feature_name="NGX_HAVE_SETPROCTITLE" |
658 ngx_feature_run=no | 656 ngx_feature_run=no |