Deleted
Added
sockets (1996:35873fa78fed) | sockets (2026:919e283a9d31) |
---|---|
1 2# Copyright (C) Igor Sysoev 3# Copyright (C) NGINX, Inc. 4 5 6if [ $NXT_INET6 = YES ]; then 7 8 nxt_feature="AF_INET6" --- 152 unchanged lines hidden (view full) --- 161if [ $nxt_found = no ]; then 162 $echo 163 $echo $0: error: no msghdr.msg_control struct member. 164 $echo 165 exit 1; 166fi 167 168 | 1 2# Copyright (C) Igor Sysoev 3# Copyright (C) NGINX, Inc. 4 5 6if [ $NXT_INET6 = YES ]; then 7 8 nxt_feature="AF_INET6" --- 152 unchanged lines hidden (view full) --- 161if [ $nxt_found = no ]; then 162 $echo 163 $echo $0: error: no msghdr.msg_control struct member. 164 $echo 165 exit 1; 166fi 167 168 |
169nxt_feature="sockopt SO_PASSCRED" 170nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED 171nxt_feature_run= 172nxt_feature_incs= 173nxt_feature_libs= 174nxt_feature_test="#define _GNU_SOURCE 175 #include <sys/socket.h> | 169if [ $NXT_SYSTEM != DragonFly ]; then 170 nxt_feature="sockopt SO_PASSCRED" 171 nxt_feature_name=NXT_HAVE_SOCKOPT_SO_PASSCRED 172 nxt_feature_run= 173 nxt_feature_incs= 174 nxt_feature_libs= 175 nxt_feature_test="#define _GNU_SOURCE 176 #include <sys/socket.h> |
176 | 177 |
177 int main() { 178 return SO_PASSCRED == 0; 179 }" 180. auto/feature | 178 int main() { 179 return SO_PASSCRED == 0; 180 }" 181 . auto/feature |
181 182 | 182 183 |
183if [ $nxt_found = yes ]; then 184 nxt_feature="struct ucred" 185 nxt_feature_name=NXT_HAVE_UCRED | 184 if [ $nxt_found = yes ]; then 185 nxt_feature="struct ucred" 186 nxt_feature_name=NXT_HAVE_UCRED 187 nxt_feature_run= 188 nxt_feature_incs= 189 nxt_feature_libs= 190 nxt_feature_test="#define _GNU_SOURCE 191 #include <sys/socket.h> 192 #include <sys/un.h> 193 194 int main() { 195 return sizeof(struct ucred); 196 }" 197 . auto/feature 198 fi 199 200 201 nxt_feature="struct cmsgcred" 202 nxt_feature_name=NXT_HAVE_MSGHDR_CMSGCRED |
186 nxt_feature_run= 187 nxt_feature_incs= 188 nxt_feature_libs= 189 nxt_feature_test="#define _GNU_SOURCE 190 #include <sys/socket.h> | 203 nxt_feature_run= 204 nxt_feature_incs= 205 nxt_feature_libs= 206 nxt_feature_test="#define _GNU_SOURCE 207 #include <sys/socket.h> |
191 #include <sys/un.h> | |
192 193 int main() { | 208 209 int main() { |
194 return sizeof(struct ucred); | 210 return sizeof(struct cmsgcred); |
195 }" 196 . auto/feature 197fi 198 199 | 211 }" 212 . auto/feature 213fi 214 215 |
200nxt_feature="struct cmsgcred" 201nxt_feature_name=NXT_HAVE_MSGHDR_CMSGCRED 202nxt_feature_run= 203nxt_feature_incs= 204nxt_feature_libs= 205nxt_feature_test="#define _GNU_SOURCE 206 #include <sys/socket.h> 207 208 int main() { 209 return sizeof(struct cmsgcred); 210 }" 211. auto/feature 212 213 | |
214nxt_feature="sys/filio.h" 215nxt_feature_name=NXT_HAVE_SYS_FILIO_H 216nxt_feature_run= 217nxt_feature_incs= 218nxt_feature_libs= 219nxt_feature_test="#include <sys/filio.h> 220 221 int main() { --- 64 unchanged lines hidden --- | 216nxt_feature="sys/filio.h" 217nxt_feature_name=NXT_HAVE_SYS_FILIO_H 218nxt_feature_run= 219nxt_feature_incs= 220nxt_feature_libs= 221nxt_feature_test="#include <sys/filio.h> 222 223 int main() { --- 64 unchanged lines hidden --- |