xref: /unit/auto/test_build (revision 0:a63ceefd6ab0)
1*0Sigor@sysoev.ru
2*0Sigor@sysoev.ru# Copyright (C) Igor Sysoev
3*0Sigor@sysoev.ru# Copyright (C) NGINX, Inc.
4*0Sigor@sysoev.ru
5*0Sigor@sysoev.ru
6*0Sigor@sysoev.ruNXT_TEST_BUILD=NO
7*0Sigor@sysoev.ru
8*0Sigor@sysoev.ru
9*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_EPOLL = YES ]; then
10*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_EPOLL . auto/have
11*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
12*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
13*0Sigor@sysoev.rufi
14*0Sigor@sysoev.ru
15*0Sigor@sysoev.ru
16*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_EVENTPORT = YES ]; then
17*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_EVENTPORT . auto/have
18*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
19*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
20*0Sigor@sysoev.rufi
21*0Sigor@sysoev.ru
22*0Sigor@sysoev.ru
23*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_DEVPOLL = YES ]; then
24*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_DEVPOLL . auto/have
25*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
26*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
27*0Sigor@sysoev.rufi
28*0Sigor@sysoev.ru
29*0Sigor@sysoev.ru
30*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_POLLSET = YES ]; then
31*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_POLLSET . auto/have
32*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
33*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
34*0Sigor@sysoev.rufi
35*0Sigor@sysoev.ru
36*0Sigor@sysoev.ru
37*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_LINUX_SENDFILE = YES ]; then
38*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_LINUX_SENDFILE . auto/have
39*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
40*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
41*0Sigor@sysoev.rufi
42*0Sigor@sysoev.ru
43*0Sigor@sysoev.ru
44*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_FREEBSD_SENDFILE = YES ]; then
45*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_FREEBSD_SENDFILE . auto/have
46*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
47*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
48*0Sigor@sysoev.rufi
49*0Sigor@sysoev.ru
50*0Sigor@sysoev.ru
51*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_SOLARIS_SENDFILEV = YES ]; then
52*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_SOLARIS_SENDFILEV . auto/have
53*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
54*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
55*0Sigor@sysoev.rufi
56*0Sigor@sysoev.ru
57*0Sigor@sysoev.ru
58*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_MACOSX_SENDFILE = YES ]; then
59*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_MACOSX_SENDFILE . auto/have
60*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
61*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
62*0Sigor@sysoev.rufi
63*0Sigor@sysoev.ru
64*0Sigor@sysoev.ru
65*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_AIX_SEND_FILE = YES ]; then
66*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_AIX_SEND_FILE . auto/have
67*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
68*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
69*0Sigor@sysoev.rufi
70*0Sigor@sysoev.ru
71*0Sigor@sysoev.ru
72*0Sigor@sysoev.ruif [ $NXT_TEST_BUILD_HPUX_SENDFILE = YES ]; then
73*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD_HPUX_SENDFILE . auto/have
74*0Sigor@sysoev.ru    nxt_have=NXT_TEST_BUILD . auto/have
75*0Sigor@sysoev.ru    NXT_TEST_BUILD=YES
76*0Sigor@sysoev.rufi
77