Mercurial > hg > nginx-ranges
comparison auto/lib/test @ 0:f0b350454894 NGINX_0_1_0
nginx 0.1.0
*) The first public version.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Oct 2004 00:00:00 +0400 |
parents | |
children | 4b2dafa26fe2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0b350454894 |
---|---|
1 | |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 echo $ngx_n "checking for $ngx_lib ..." $ngx_c | |
6 echo >> $NGX_ERR | |
7 echo "checking for $ngx_lib library" >> $NGX_ERR | |
8 | |
9 ngx_found=no | |
10 | |
11 echo "$ngx_lib_inc" > $NGX_AUTOTEST.c | |
12 echo "int main() { $ngx_lib_test; return 0; }" >> $NGX_AUTOTEST.c | |
13 | |
14 eval "$CC $cc_test_flags $ngx_lib_cflags \ | |
15 -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \ | |
16 >> $NGX_ERR 2>&1" | |
17 | |
18 if [ -x $NGX_AUTOTEST ]; then | |
19 echo " found" | |
20 | |
21 ngx_found=yes | |
22 | |
23 else | |
24 echo " not found" | |
25 fi | |
26 | |
27 rm $NGX_AUTOTEST* |