Mercurial > hg > nginx-quic
view auto/func @ 195:8dee38ea9117
nginx-0.0.1-2003-11-25-23:44:56 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 25 Nov 2003 20:44:56 +0000 |
parents | |
children | 11fbd0fc041d |
line wrap: on
line source
echo "checking for $NGX_FUNC" echo "$NGX_UNISTD_H" > autotest.c echo "$NGX_FUNC_INC" >> autotest.c echo "int main() { $NGX_FUNC_TEST; return 0; }" >> autotest.c eval "${CC} -o autotest autotest.c > /dev/null 2>&1" if [ -x autotest ]; then echo " + $NGX_FUNC found" echo "#ifndef $NGX_HAVE" >> $NGX_AUTO_CONFIG_H echo "#define $NGX_HAVE 1" >> $NGX_AUTO_CONFIG_H echo "#endif" >> $NGX_AUTO_CONFIG_H echo >> $NGX_AUTO_CONFIG_H else echo " + $NGX_FUNC not found" fi rm autotest*