Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/auto/lib/conf Tue May 26 14:28:06 2009 +0000 +++ b/auto/lib/conf Tue May 26 14:28:49 2009 +0000 @@ -4,8 +4,22 @@ if [ $USE_PCRE = YES -o $PCRE != NONE ]; then . auto/lib/pcre/conf + +else + if [ $USE_PCRE = DISABLED -a $HTTP_REWRITE = YES ]; then + +cat << END + +$0: error: the HTTP rewrite module requires the PCRE library. +You can either disable the module by using --without-http_rewrite_module +option or you have to enable the PCRE support. + +END + exit 1 + fi fi + if [ $USE_OPENSSL = YES ]; then . auto/lib/openssl/conf fi