Mercurial > hg > nginx-quic
annotate auto/lib/conf @ 3246:eb555a9a57d4 stable-0.7
merge r3004, r3005, r3006:
various header fixes:
*) allow to proxy_pass_header/fastcgi_pass_header "X-Accel-Redirect",
"X-Accel-Limit-Rate", "X-Accel-Buffering", and "X-Accel-Charset"
*) fix handling "Last-Modified" and "Accept-Ranges" for upstream responses
*) clear "Accept-Ranges" for SSI responses
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Oct 2009 17:13:44 +0000 |
parents | 0ecc8d7c77b1 |
children |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
3 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
481 | 5 if [ $USE_PCRE = YES -o $PCRE != NONE ]; then |
255
e6938ca7331a
nginx-0.0.2-2004-02-09-23:47:18 import
Igor Sysoev <igor@sysoev.ru>
parents:
212
diff
changeset
|
6 . auto/lib/pcre/conf |
2940
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
7 |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
8 else |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
9 if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
10 |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
11 cat << END |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
12 |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
13 $0: error: the HTTP rewrite module requires the PCRE library. |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
14 You can either disable the module by using --without-http_rewrite_module |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
15 option or you have to enable the PCRE support. |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
16 |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
17 END |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
18 exit 1 |
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
19 fi |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
20 fi |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
21 |
2940
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
22 |
477 | 23 if [ $USE_OPENSSL = YES ]; then |
24 . auto/lib/openssl/conf | |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
25 fi |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
26 |
477 | 27 if [ $USE_MD5 = YES ]; then |
28 | |
2940
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
29 if [ $USE_OPENSSL = YES ]; then |
477 | 30 have=NGX_HAVE_OPENSSL_MD5_H . auto/have |
31 have=NGX_OPENSSL_MD5 . auto/have | |
32 MD5=YES | |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
33 MD5_LIB=OpenSSL |
477 | 34 |
35 else | |
36 . auto/lib/md5/conf | |
37 fi | |
38 | |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
286
diff
changeset
|
39 fi |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
286
diff
changeset
|
40 |
653 | 41 if [ $USE_SHA1 = YES ]; then |
42 | |
2940
cb3d4dc8c6db
merge r2893, r2894, and r2917:
Igor Sysoev <igor@sysoev.ru>
parents:
2788
diff
changeset
|
43 if [ $USE_OPENSSL = YES ]; then |
653 | 44 have=NGX_HAVE_OPENSSL_SHA1_H . auto/have |
45 SHA1=YES | |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
1949
diff
changeset
|
46 SHA1_LIB=OpenSSL |
653 | 47 |
48 else | |
49 . auto/lib/sha1/conf | |
50 fi | |
51 | |
52 fi | |
53 | |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
54 if [ $USE_ZLIB = YES ]; then |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
55 . auto/lib/zlib/conf |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
56 fi |
599 | 57 |
2139 | 58 if [ $USE_LIBXSLT = YES ]; then |
59 . auto/lib/libxslt/conf | |
60 fi | |
61 | |
2788 | 62 if [ $USE_LIBGD = YES ]; then |
63 . auto/lib/libgd/conf | |
64 fi | |
65 | |
599 | 66 if [ $USE_PERL = YES ]; then |
67 . auto/lib/perl/conf | |
68 fi | |
1949 | 69 |
3241 | 70 if [ $HTTP_GEOIP = YES ]; then |
71 . auto/lib/geoip/conf | |
72 fi | |
1949 | 73 if [ $NGX_GOOGLE_PERFTOOLS = YES ]; then |
74 . auto/lib/google-perftools/conf | |
75 fi |