Mercurial > hg > nginx
comparison auto/os/darwin @ 6007:79b473d5381d
Configure: removed redundant auto/have call.
The auto/feature call above is enough to set NGX_HAVE_SENDFILE.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 13 Mar 2015 16:43:01 +0300 |
parents | 09d7faaef16f |
children | 85dea406e18f |
comparison
equal
deleted
inserted
replaced
6006:942283a53c28 | 6007:79b473d5381d |
---|---|
98 n = sendfile(s, fd, off, &n, NULL, 0); | 98 n = sendfile(s, fd, off, &n, NULL, 0); |
99 if (n == -1 && errno == ENOSYS) return 1" | 99 if (n == -1 && errno == ENOSYS) return 1" |
100 . auto/feature | 100 . auto/feature |
101 | 101 |
102 if [ $ngx_found = yes ]; then | 102 if [ $ngx_found = yes ]; then |
103 have=NGX_HAVE_SENDFILE . auto/have | |
104 CORE_SRCS="$CORE_SRCS $DARWIN_SENDFILE_SRCS" | 103 CORE_SRCS="$CORE_SRCS $DARWIN_SENDFILE_SRCS" |
105 fi | 104 fi |
106 | 105 |
107 | 106 |
108 ngx_feature="atomic(3)" | 107 ngx_feature="atomic(3)" |