unix (1292:ed99894c6b17) unix (1297:f04b5f7d6137)
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6# Linux 3.17 with glibc 2.25, FreeBSD 12, Solaris 11.3.
7
8nxt_feature="getrandom()"

--- 194 unchanged lines hidden (view full) ---

203nxt_feature_test="#include <stdlib.h>
204 #include <unistd.h>
205
206 int main() {
207 setproctitle(\"%s\", \"title\");
208 return 0;
209 }"
210. auto/feature
1
2# Copyright (C) Igor Sysoev
3# Copyright (C) NGINX, Inc.
4
5
6# Linux 3.17 with glibc 2.25, FreeBSD 12, Solaris 11.3.
7
8nxt_feature="getrandom()"

--- 194 unchanged lines hidden (view full) ---

203nxt_feature_test="#include <stdlib.h>
204 #include <unistd.h>
205
206 int main() {
207 setproctitle(\"%s\", \"title\");
208 return 0;
209 }"
210. auto/feature
211
212
213# Linux, FreeBSD, Solaris getgrouplist()
214nxt_feature="getgrouplist()"
215nxt_feature_name=NXT_HAVE_GETGROUPLIST
216nxt_feature_run=
217nxt_feature_incs=
218nxt_feature_libs=
219nxt_feature_test="#include <unistd.h>
220 #include <grp.h>
221
222 int main() {
223 getgrouplist(\"root\", 0, NULL, NULL);
224 return 0;
225 }"
226. auto/feature