From da85fe6d5f190db3e8dfabcc3c0906dda57aab1d Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 26 May 2009 14:28:49 +0000 Subject: stop ./configure at once on library failure --- auto/lib/md5/conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'auto/lib/md5') diff --git a/auto/lib/md5/conf b/auto/lib/md5/conf index 75dd1300e..d4ef0070e 100644 --- a/auto/lib/md5/conf +++ b/auto/lib/md5/conf @@ -94,6 +94,18 @@ else CORE_LIBS="$CORE_LIBS $ngx_feature_libs" MD5=YES MD5_LIB=$ngx_md5_lib + else + +cat << END + +$0: error: the HTTP cache module requires md5 functions +from OpenSSL library. You can either disable the module by using +--without-http_cache option, or install the OpenSSL library into the system, +or build the OpenSSL library statically from the source with nginx by using +--with-openssl= option. + +END + exit 1 fi fi -- cgit