comparison auto/make @ 18:6f8b0dc0f8dd NGINX_0_1_9

nginx 0.1.9 *) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; bug appeared in 0.1.8.
author Igor Sysoev <http://sysoev.ru>
date Thu, 25 Nov 2004 00:00:00 +0300
parents 74b1868dd3cd
children 2879cd3a40cb
comparison
equal deleted inserted replaced
17:9acb68bb0698 18:6f8b0dc0f8dd
1 1
2 # Copyright (C) Igor Sysoev 2 # Copyright (C) Igor Sysoev
3 3
4 4
5 mkdir -p $OBJS/src/core $OBJS/src/event $OBJS/src/event/modules \ 5 mkdir -p $NGX_OBJS/src/core $NGX_OBJS/src/event $NGX_OBJS/src/event/modules \
6 $OBJS/src/os/unix $OBJS/src/os/win32 \ 6 $NGX_OBJS/src/os/unix $NGX_OBJS/src/os/win32 \
7 $OBJS/src/http $OBJS/src/http/modules $OBJS/src/http/modules/proxy \ 7 $NGX_OBJS/src/http $NGX_OBJS/src/http/modules \
8 $OBJS/src/imap 8 $NGX_OBJS/src/http/modules/proxy \
9 $NGX_OBJS/src/imap
9 10
10 11
11 ngx_objs_dir=$NGX_OBJS$ngx_regex_dirsep 12 ngx_objs_dir=$NGX_OBJS$ngx_regex_dirsep
12 ngx_use_pch=`echo $NGX_USE_PCH | sed -e "s/\//$ngx_regex_dirsep/g"` 13 ngx_use_pch=`echo $NGX_USE_PCH | sed -e "s/\//$ngx_regex_dirsep/g"`
13 14
31 fi 32 fi
32 33
33 34
34 # ALL_INCS, required by OpenWatcom C precompiled headers 35 # ALL_INCS, required by OpenWatcom C precompiled headers
35 36
36 ngx_incs=`echo $CORE_INCS $OBJS $HTTP_INCS $IMAP_INCS\ 37 ngx_incs=`echo $CORE_INCS $NGX_OBJS $HTTP_INCS $IMAP_INCS\
37 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont$ngx_include_opt\1/g" \ 38 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont$ngx_include_opt\1/g" \
38 -e "s/\//$ngx_regex_dirsep/g"` 39 -e "s/\//$ngx_regex_dirsep/g"`
39 40
40 cat << END >> $NGX_MAKEFILE 41 cat << END >> $NGX_MAKEFILE
41 42
51 52
52 ngx_deps=`echo $CORE_DEPS $NGX_AUTO_CONFIG_H $NGX_PCH \ 53 ngx_deps=`echo $CORE_DEPS $NGX_AUTO_CONFIG_H $NGX_PCH \
53 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont\1/g" \ 54 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont\1/g" \
54 -e "s/\//$ngx_regex_dirsep/g"` 55 -e "s/\//$ngx_regex_dirsep/g"`
55 56
56 ngx_incs=`echo $CORE_INCS $OBJS \ 57 ngx_incs=`echo $CORE_INCS $NGX_OBJS \
57 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont$ngx_include_opt\1/g" \ 58 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_regex_cont$ngx_include_opt\1/g" \
58 -e "s/\//$ngx_regex_dirsep/g"` 59 -e "s/\//$ngx_regex_dirsep/g"`
59 60
60 cat << END >> $NGX_MAKEFILE 61 cat << END >> $NGX_MAKEFILE
61 62
285 286
286 287
287 # the precompiled headers 288 # the precompiled headers
288 289
289 if test -n "$NGX_PCH"; then 290 if test -n "$NGX_PCH"; then
290 echo "#include <ngx_config.h>" > $OBJS/ngx_pch.c 291 echo "#include <ngx_config.h>" > $NGX_OBJS/ngx_pch.c
291 292
292 ngx_pch="src/core/ngx_config.h $OS_CONFIG $OBJS/ngx_auto_config.h" 293 ngx_pch="src/core/ngx_config.h $OS_CONFIG $NGX_OBJS/ngx_auto_config.h"
293 ngx_pch=`echo "$NGX_PCH: $ngx_pch" | sed -e "s/\//$ngx_regex_dirsep/g"` 294 ngx_pch=`echo "$NGX_PCH: $ngx_pch" | sed -e "s/\//$ngx_regex_dirsep/g"`
294 295
295 ngx_src="\$(CC) \$(CFLAGS) $NGX_BUILD_PCH $ngx_compile_opt \$(ALL_INCS)" 296 ngx_src="\$(CC) \$(CFLAGS) $NGX_BUILD_PCH $ngx_compile_opt \$(ALL_INCS)"
296 ngx_src="$ngx_src $ngx_objout$OBJS/ngx_pch.obj $OBJS/ngx_pch.c" 297 ngx_src="$ngx_src $ngx_objout$NGX_OBJS/ngx_pch.obj $NGX_OBJS/ngx_pch.c"
297 ngx_src=`echo $ngx_src | sed -e "s/\//$ngx_regex_dirsep/g"` 298 ngx_src=`echo $ngx_src | sed -e "s/\//$ngx_regex_dirsep/g"`
298 299
299 cat << END >> $NGX_MAKEFILE 300 cat << END >> $NGX_MAKEFILE
300 301
301 $ngx_pch 302 $ngx_pch