Mercurial > hg > nginx-vendor-0-5
view auto/lib/test @ 1:80bdda0151b0
Added tag NGINX_0_1_0 for changeset f0b350454894
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | 4b2dafa26fe2 |
line wrap: on
line source
# Copyright (C) Igor Sysoev echo $ngx_n "checking for $ngx_lib ..." $ngx_c echo >> $NGX_ERR echo "checking for $ngx_lib library" >> $NGX_ERR ngx_found=no echo "$ngx_lib_inc" > $NGX_AUTOTEST.c echo "int main() { $ngx_lib_test; return 0; }" >> $NGX_AUTOTEST.c eval "$CC $cc_test_flags $ngx_lib_cflags \ -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \ >> $NGX_ERR 2>&1" if [ -x $NGX_AUTOTEST ]; then echo " found" ngx_found=yes else echo " not found" fi rm $NGX_AUTOTEST*