comparison auto/cc/msvc @ 346:05693816539c NGINX_0_6_17

nginx 0.6.17 *) Feature: the "If-Range" request header line support. Thanks to Alexander V. Inyukhin. *) Bugfix: URL double escaping in a redirect of the "msie_refresh" directive; bug appeared in 0.6.4. *) Bugfix: the "autoindex" directive did not work with the "alias /" directive. *) Bugfix: a segmentation fault might occur in worker process if subrequests were used. *) Bugfix: the big responses may be transferred truncated if SSL and gzip were used. *) Bugfix: the $status variable was equal to 0 if a proxied server returned response in HTTP/0.9 version.
author Igor Sysoev <http://sysoev.ru>
date Thu, 15 Nov 2007 00:00:00 +0300
parents ca5f86d94316
children
comparison
equal deleted inserted replaced
345:4279bc4cdec6 346:05693816539c
1 1
2 # Copyright (C) Igor Sysoev 2 # Copyright (C) Igor Sysoev
3 3
4 4
5 # MSVC 6.0 SP2, MSVC Toolkit 2003 (7.1) 5 # MSVC 6.0 SP2, MSVC Toolkit 2003 (7.1), MSVC 2005 Express Edition SP1 (8.0)
6 6
7 # optimizations 7 # optimizations
8 8
9 # maximize speed, equivalent to -Og -Oi -Ot -Oy -Ob2 -Gs -GF -Gy 9 # maximize speed, equivalent to -Og -Oi -Ot -Oy -Ob2 -Gs -GF -Gy
10 CFLAGS="$CFLAGS -O2" 10 CFLAGS="$CFLAGS -O2"
89 # Win32 GUI mode application 89 # Win32 GUI mode application
90 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib" 90 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib"
91 CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup" 91 CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
92 92
93 # debug 93 # debug
94 CFLAGS="$CFLAGS -Yd" 94 if [ $NGX_CC_NAME != msvc8 ]; then
95 CORE_LINK="$CORE_LINK -debug -debugtype:coff" 95 CFLAGS="$CFLAGS -Zi"
96 CORE_LINK="$CORE_LINK -debug"
97 fi
96 98
97 99
98 # precompiled headers 100 # precompiled headers
99 if [ $NGX_CC_NAME != msvc7 ]; then 101 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
100 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch" 102 NGX_PCH="$NGX_OBJS/ngx_config.pch"
101 NGX_PCH="$NGX_OBJS/ngx_config.pch" 103 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch"
102 NGX_BUILD_PCH="-Ycngx_config.h -Fp$NGX_OBJS/ngx_config.pch" 104 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"
103 NGX_USE_PCH="-Yungx_config.h -Fp$NGX_OBJS/ngx_config.pch"
104 fi
105 105
106 106
107 # the resource file 107 # the resource file
108 NGX_RES="$NGX_OBJS/nginx.res" 108 NGX_RES="$NGX_OBJS/nginx.res"
109 NGX_RCC="rc -fo$NGX_RES \$(CORE_INCS) $NGX_WIN32_RC" 109 NGX_RCC="rc -fo$NGX_RES \$(CORE_INCS) $NGX_WIN32_RC"