comparison auto/lib/sha1/make @ 202:ca5f86d94316 NGINX_0_3_48

nginx 0.3.48 *) Change: now the ngx_http_charset_module works for subrequests, if the response has no "Content-Type" header line. *) Bugfix: if the "proxy_pass" directive has no URI part, then the "proxy_redirect default" directive add the unnecessary slash in start of the rewritten redirect. *) Bugfix: the internal redirect always transform client's HTTP method to GET, now the transformation is made for the "X-Accel-Redirect" redirects only and if the method is not HEAD; bug appeared in 0.3.42. *) Bugfix: the ngx_http_perl_module could not be built, if the perl was built with the threads support; bug appeared in 0.3.46.
author Igor Sysoev <http://sysoev.ru>
date Mon, 29 May 2006 00:00:00 +0400
parents
children e66f886a8305
comparison
equal deleted inserted replaced
201:958c1992c173 202:ca5f86d94316
1
2 # Copyright (C) Igor Sysoev
3
4
5 case "$NGX_CC_NAME" in
6
7 msvc*)
8 ngx_makefile=makefile.msvc
9 ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC SHA1_ASM=$SHA1_ASM"
10 ;;
11
12 owc*)
13 ngx_makefile=makefile.owc
14 ngx_opt="CPU_OPT=\"$CPU_OPT\""
15 ;;
16
17 bcc)
18 ngx_makefile=makefile.bcc
19 ngx_opt="-DCPU_OPT=\"$CPU_OPT\" -DSHA1_ASM=$SHA1_ASM"
20 ;;
21
22 esac
23
24
25 done=NO
26
27
28 case "$NGX_PLATFORM" in
29
30 win32)
31 cp auto/lib/sha1/$ngx_makefile $SHA1
32
33 cat << END >> $NGX_MAKEFILE
34
35 `echo "$SHA1/sha1.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
36 cd `echo $SHA1 | sed -e "s/\//$ngx_regex_dirsep/g"`
37 \$(MAKE) -f $ngx_makefile $ngx_opt
38 cd ..\\..\\..
39
40 END
41
42 done=YES
43 ;;
44
45 SunOS:*:i86pc)
46 if [ $SHA1_ASM = YES ]; then
47
48 cat << END >> $NGX_MAKEFILE
49
50 $SHA1/libsha.a: $NGX_MAKEFILE
51 cd $SHA1 \\
52 && \$(MAKE) CFLAGS="$SHA1_OPT -DSOL -DSHA1_ASM -DL_ENDIAN" \\
53 CC="\$(CC)" CPP="\$(CPP)" \\
54 SHA_ASM_OBJ=asm/sx86-sol.o clean libsha.a
55
56 END
57
58 done=YES
59 fi
60 ;;
61
62 # FreeBSD: i386
63 # Linux: i686
64
65 *:i386 | *:i686)
66 if [ $SHA1_ASM = YES ]; then
67
68 cat << END >> $NGX_MAKEFILE
69
70 $SHA1/libsha.a: $NGX_MAKEFILE
71 cd $SHA1 \\
72 && \$(MAKE) CFLAGS="$SHA1_OPT -DELF -DSHA1_ASM -DL_ENDIAN" \\
73 CC="\$(CC)" CPP="\$(CPP)" \\
74 SHA_ASM_OBJ=asm/sx86-elf.o clean libsha.a
75
76 END
77
78 done=YES
79 fi
80 ;;
81
82 esac
83
84
85 if [ $done = NO ]; then
86
87 cat << END >> $NGX_MAKEFILE
88
89 $SHA1/libsha.a: $NGX_MAKEFILE
90 cd $SHA1 \\
91 && \$(MAKE) CFLAGS="$SHA1_OPT" \\
92 CC="\$(CC)" SHA_ASM_OBJ= clean libsha.a
93
94 END
95
96 fi