comparison auto/lib/geoip/conf @ 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 85dea406e18f
children
comparison
equal deleted inserted replaced
6723:ebba2f980489 6724:a6d116645c51
72 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 72 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
73 fi 73 fi
74 74
75 NGX_LIB_GEOIP=$ngx_feature_libs 75 NGX_LIB_GEOIP=$ngx_feature_libs
76 76
77 if [ $NGX_IPV6 = YES ]; then 77 ngx_feature="GeoIP IPv6 support"
78 ngx_feature="GeoIP IPv6 support" 78 ngx_feature_name="NGX_HAVE_GEOIP_V6"
79 ngx_feature_name="NGX_HAVE_GEOIP_V6" 79 ngx_feature_run=no
80 ngx_feature_run=no 80 ngx_feature_incs="#include <stdio.h>
81 ngx_feature_incs="#include <stdio.h> 81 #include <GeoIP.h>"
82 #include <GeoIP.h>" 82 #ngx_feature_path=
83 #ngx_feature_path= 83 #ngx_feature_libs=
84 #ngx_feature_libs= 84 ngx_feature_test="printf(\"%d\", GEOIP_CITY_EDITION_REV0_V6);"
85 ngx_feature_test="printf(\"%d\", GEOIP_CITY_EDITION_REV0_V6);" 85 . auto/feature
86 . auto/feature
87 fi
88 86
89 else 87 else
90 88
91 cat << END 89 cat << END
92 90