Mercurial > hg > nginx
comparison auto/types/sizeof @ 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 |
---|---|
2 echo "checking for $NGX_TYPE size" | 2 echo "checking for $NGX_TYPE size" |
3 | 3 |
4 NGX_BYTES= | 4 NGX_BYTES= |
5 | 5 |
6 echo "#include <sys/types.h>" > autotest.c | 6 echo "#include <sys/types.h>" > autotest.c |
7 echo "#include <sys/time.h>" >> autotest.c | |
8 echo "#include <sys/resource.h>" >> autotest.c | |
9 echo "$NGX_INTTYPES_H" >> autotest.c | |
10 echo "$NGX_AUTO_CONFIG" >> autotest.c | |
7 echo "int main() {" >> autotest.c | 11 echo "int main() {" >> autotest.c |
8 echo "printf(\"%d\", sizeof($NGX_TYPE));" >> autotest.c | 12 echo "printf(\"%d\", sizeof($NGX_TYPE));" >> autotest.c |
9 echo "return 0; }" >> autotest.c | 13 echo "return 0; }" >> autotest.c |
10 | 14 |
11 eval "$CC $CC_TEST_FLAGS -o autotest autotest.c > /dev/null 2>&1" | 15 eval "$CC $CC_TEST_FLAGS -o autotest autotest.c > /dev/null 2>&1" |