aboutsummaryrefslogtreecommitdiff
path: root/auto/unix
diff options
context:
space:
mode:
Diffstat (limited to 'auto/unix')
-rwxr-xr-xauto/unix13
1 files changed, 13 insertions, 0 deletions
diff --git a/auto/unix b/auto/unix
index e6396ef2a..f83173b8b 100755
--- a/auto/unix
+++ b/auto/unix
@@ -341,6 +341,19 @@ ngx_feature_test="setsockopt(0, SOL_SOCKET, SO_BINDANY, NULL, 0)"
. auto/feature
+# Linux IP_BIND_ADDRESS_NO_PORT
+
+ngx_feature="IP_BIND_ADDRESS_NO_PORT"
+ngx_feature_name="NGX_HAVE_IP_BIND_ADDRESS_NO_PORT"
+ngx_feature_run=no
+ngx_feature_incs="#include <sys/socket.h>
+ #include <netinet/in.h>"
+ngx_feature_path=
+ngx_feature_libs=
+ngx_feature_test="setsockopt(0, IPPROTO_IP, IP_BIND_ADDRESS_NO_PORT, NULL, 0)"
+. auto/feature
+
+
# Linux transparent proxying
ngx_feature="IP_TRANSPARENT"