comparison auto/lib/pcre/make @ 492:98143f74eb3d NGINX_0_7_58

nginx 0.7.58 *) Feature: a "listen" directive of the mail proxy module supports IPv6. *) Feature: the "image_filter_jpeg_quality" directive. *) Feature: the "client_body_in_single_buffer" directive. *) Feature: the $request_body variable. *) Bugfix: in ngx_http_autoindex_module in file name links having a ":" symbol in the name. *) Bugfix: "make upgrade" procedure did not work; the bug had appeared in 0.7.53. Thanks to Denis F. Latypoff.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 May 2009 00:00:00 +0400
parents e66f886a8305
children 9d21dad0b5a1
comparison
equal deleted inserted replaced
491:bb2281a3edb6 492:98143f74eb3d
5 case "$NGX_CC_NAME" in 5 case "$NGX_CC_NAME" in
6 6
7 msvc*) 7 msvc*)
8 ngx_makefile=makefile.msvc 8 ngx_makefile=makefile.msvc
9 ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC" 9 ngx_opt="CPU_OPT=\"$CPU_OPT\" LIBC=$LIBC"
10 ngx_pcre="PCRE=\"$PCRE\""
10 ;; 11 ;;
11 12
12 owc*) 13 owc*)
13 ngx_makefile=makefile.owc 14 ngx_makefile=makefile.owc
14 ngx_opt="CPU_OPT=\"$CPU_OPT\"" 15 ngx_opt="CPU_OPT=\"$CPU_OPT\""
16 ngx_pcre=`echo PCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
15 ;; 17 ;;
16 18
17 bcc) 19 bcc)
18 ngx_makefile=makefile.bcc 20 ngx_makefile=makefile.bcc
19 ngx_opt="-DCPU_OPT=\"$CPU_OPT\"" 21 ngx_opt="-DCPU_OPT=\"$CPU_OPT\""
22 ngx_pcre=`echo \-DPCRE=\"$PCRE\" | sed -e "s/\//$ngx_regex_dirsep/g"`
20 ;; 23 ;;
21 24
22 esac 25 esac
23 26
24 27
25 case "$NGX_PLATFORM" in 28 case "$NGX_PLATFORM" in
26 29
27 win32) 30 win32)
28 cp auto/lib/pcre/patch.pcre.in $PCRE
29 cp auto/lib/pcre/patch.pcre.in.owc $PCRE
30 cp auto/lib/pcre/patch.config.in $PCRE
31 cp auto/lib/pcre/patch.pcre.c $PCRE
32 cp auto/lib/pcre/$ngx_makefile $PCRE
33
34 ngx_pcre=`echo $PCRE | sed -e "s/\//$ngx_regex_dirsep/g"`
35 31
36 cat << END >> $NGX_MAKEFILE 32 cat << END >> $NGX_MAKEFILE
37 33
38 `echo "$PCRE/pcre.h: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"` 34 `echo "$PCRE/pcre.lib: $NGX_MAKEFILE" | sed -e "s/\//$ngx_regex_dirsep/g"`
39 cd $ngx_pcre 35 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre $ngx_opt
40 \$(MAKE) -f $ngx_makefile pcre.h
41 cd \$(CURDIR)
42 36
43 `echo "$PCRE/pcre.lib: $PCRE/pcre.h" | sed -e "s/\//$ngx_regex_dirsep/g"` 37 `echo "$PCRE/pcre.h:" | sed -e "s/\//$ngx_regex_dirsep/g"`
44 cd $ngx_pcre 38 \$(MAKE) -f auto/lib/pcre/$ngx_makefile $ngx_pcre pcre.h
45 \$(MAKE) -f $ngx_makefile $ngx_opt
46 cd \$(CURDIR)
47 39
48 END 40 END
49 41
50 ;; 42 ;;
51 43
58 cd $PCRE \\ 50 cd $PCRE \\
59 && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\ 51 && if [ -f Makefile ]; then \$(MAKE) distclean; fi \\
60 && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\ 52 && CC="\$(CC)" CFLAGS="$PCRE_OPT" \\
61 ./configure --disable-shared 53 ./configure --disable-shared
62 54
63
64 $PCRE/.libs/libpcre.a: $PCRE/Makefile 55 $PCRE/.libs/libpcre.a: $PCRE/Makefile
65 cd $PCRE \\ 56 cd $PCRE \\
66 && \$(MAKE) libpcre.la 57 && \$(MAKE) libpcre.la
67 58
68 END 59 END