summaryrefslogtreecommitdiffhomepage
path: root/auto
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-02 13:46:39 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-02 13:46:39 +0000
commitc919d3178a8e680406c02c609bc8d8e18f32f566 (patch)
tree2650b42521d936a805e83a76be604a701066fb96 /auto
parent76f42ca21a1bc9dc18df0f751416dea7c75d28f3 (diff)
downloadnginx-c919d3178a8e680406c02c609bc8d8e18f32f566.tar.gz
nginx-c919d3178a8e680406c02c609bc8d8e18f32f566.tar.bz2
autoconfigure crypt_r(): uclibc has no crypt_r()
Diffstat (limited to 'auto')
-rw-r--r--auto/os/linux13
1 files changed, 13 insertions, 0 deletions
diff --git a/auto/os/linux b/auto/os/linux
index 43ff3c9e2..c19f3f49d 100644
--- a/auto/os/linux
+++ b/auto/os/linux
@@ -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