mirror of
https://github.com/nginx/nginx.git
synced 2024-12-22 15:13:28 -06:00
autoconfigure crypt_r(): uclibc has no crypt_r()
This commit is contained in:
parent
76f42ca21a
commit
c919d3178a
@ -124,6 +124,19 @@ ngx_feature_test="long mask = 0;
|
||||
. auto/feature
|
||||
|
||||
|
||||
# crypt_r()
|
||||
|
||||
ngx_feature="crypt_r()"
|
||||
ngx_feature_name="NGX_HAVE_GNU_CRYPT_R"
|
||||
ngx_feature_run=no
|
||||
ngx_feature_incs="#include <crypt.h>"
|
||||
ngx_feature_path=
|
||||
ngx_feature_libs=-lcrypt
|
||||
ngx_feature_test="struct crypt_data cd;
|
||||
crypt_r(NULL, NULL, &cd);"
|
||||
. auto/feature
|
||||
|
||||
|
||||
ngx_include="sys/vfs.h"; . auto/include
|
||||
|
||||
|
||||
|
@ -95,11 +95,6 @@ extern ssize_t sendfile(int s, int fd, int32_t *offset, size_t size);
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef NGX_HAVE_GNU_CRYPT_R
|
||||
#define NGX_HAVE_GNU_CRYPT_R 1
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef NGX_HAVE_INHERITED_NONBLOCK
|
||||
#define NGX_HAVE_INHERITED_NONBLOCK 0
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user