nginx-quic/auto/lib/test

25 lines
468 B
Text
Raw Normal View History

2003-12-14 17:10:27 -03:00
2004-04-08 11:58:25 -04:00
echo $ngx_n "checking for $ngx_lib ..." $ngx_c
2003-12-14 17:10:27 -03:00
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
2004-04-08 11:58:25 -04:00
eval "$CC $cc_test_flags $ngx_lib_cflags \
-o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_libs \
2003-12-14 17:10:27 -03:00
>> $NGX_ERR 2>&1"
if [ -x $NGX_AUTOTEST ]; then
2004-02-20 13:48:59 -03:00
echo " found"
2003-12-14 17:10:27 -03:00
ngx_found=yes
else
2004-02-20 13:48:59 -03:00
echo " not found"
2003-12-14 17:10:27 -03:00
fi
rm $NGX_AUTOTEST*