Mercurial > hg > nginx
comparison auto/lib/conf @ 2893:da1ba8a5c8c9
stop ./configure at once on library failure
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 26 May 2009 14:28:49 +0000 |
parents | 3e10e2b64007 |
children | 31af2d1a742e |
comparison
equal
deleted
inserted
replaced
2892:3e10e2b64007 | 2893:da1ba8a5c8c9 |
---|---|
2 # Copyright (C) Igor Sysoev | 2 # Copyright (C) Igor Sysoev |
3 | 3 |
4 | 4 |
5 if [ $USE_PCRE = YES -o $PCRE != NONE ]; then | 5 if [ $USE_PCRE = YES -o $PCRE != NONE ]; then |
6 . auto/lib/pcre/conf | 6 . auto/lib/pcre/conf |
7 | |
8 else | |
9 if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then | |
10 | |
11 cat << END | |
12 | |
13 $0: error: the HTTP rewrite module requires the PCRE library. | |
14 You can either disable the module by using --without-http_rewrite_module | |
15 option or you have to enable the PCRE support. | |
16 | |
17 END | |
18 exit 1 | |
19 fi | |
7 fi | 20 fi |
21 | |
8 | 22 |
9 if [ $USE_OPENSSL = YES ]; then | 23 if [ $USE_OPENSSL = YES ]; then |
10 . auto/lib/openssl/conf | 24 . auto/lib/openssl/conf |
11 fi | 25 fi |
12 | 26 |