Mercurial > hg > nginx-quic
comparison auto/func @ 198:34995c5ec6c4
nginx-0.0.1-2003-11-27-22:01:37 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Nov 2003 19:01:37 +0000 |
parents | 0b81c7a0b133 |
children | 00cafae0bdf1 |
comparison
equal
deleted
inserted
replaced
197:0b81c7a0b133 | 198:34995c5ec6c4 |
---|---|
7 | 7 |
8 echo "$NGX_UNISTD_H" > autotest.c | 8 echo "$NGX_UNISTD_H" > autotest.c |
9 echo "$NGX_FUNC_INC" >> autotest.c | 9 echo "$NGX_FUNC_INC" >> autotest.c |
10 echo "int main() { $NGX_FUNC_TEST; return 0; }" >> autotest.c | 10 echo "int main() { $NGX_FUNC_TEST; return 0; }" >> autotest.c |
11 | 11 |
12 eval "$CC $CC_TEST_FLAGS -o autotest autotest.c > $NGX_ERR 2>&1" | 12 eval "$CC $CC_TEST_FLAGS -o autotest autotest.c $NGX_FUNC_LIBS > $NGX_ERR 2>&1" |
13 | 13 |
14 if [ -x autotest ]; then | 14 if [ -x autotest ]; then |
15 echo " + $NGX_FUNC found" | 15 echo " + $NGX_FUNC found" |
16 | 16 |
17 echo "#ifndef HAVE_$func" >> $NGX_AUTO_CONFIG_H | 17 echo "#ifndef HAVE_$func" >> $NGX_AUTO_CONFIG_H |