Mercurial > hg > nginx-quic
comparison auto/types/typedef @ 196:11fbd0fc041d
nginx-0.0.1-2003-11-26-18:42:18 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 26 Nov 2003 15:42:18 +0000 |
parents | 8dee38ea9117 |
children | 00cafae0bdf1 |
comparison
equal
deleted
inserted
replaced
195:8dee38ea9117 | 196:11fbd0fc041d |
---|---|
5 | 5 |
6 for TYPE in $NGX_TYPE $NGX_TYPES | 6 for TYPE in $NGX_TYPE $NGX_TYPES |
7 do | 7 do |
8 echo "#include <sys/types.h>" > autotest.c | 8 echo "#include <sys/types.h>" > autotest.c |
9 echo "#include <sys/socket.h>" >> autotest.c | 9 echo "#include <sys/socket.h>" >> autotest.c |
10 echo "#include <sys/time.h>" >> autotest.c | |
11 echo "#include <sys/resource.h>" >> autotest.c | |
12 echo "#include <netinet/in.h>" >> autotest.c | |
10 echo "$NGX_INTTYPES_H" >> autotest.c | 13 echo "$NGX_INTTYPES_H" >> autotest.c |
11 echo "int main() { $TYPE i = 0; return 0; }" >> autotest.c | 14 echo "int main() { $TYPE i = 0; return 0; }" >> autotest.c |
12 | 15 |
13 eval "$CC -o autotest autotest.c > /dev/null 2>&1" | 16 eval "$CC -o autotest autotest.c > $NGX_ERR 2>&1" |
14 | 17 |
15 if [ -x autotest ]; then | 18 if [ -x autotest ]; then |
16 if [ $TYPE = $NGX_TYPE ]; then | 19 if [ $TYPE = $NGX_TYPE ]; then |
17 echo " + $NGX_TYPE found" | 20 echo " + $NGX_TYPE found" |
18 FOUND=YES | 21 FOUND=YES |