comparison auto/lib/md5/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 304bfc6faf07
children 3ac5032f5981
comparison
equal deleted inserted replaced
2892:3e10e2b64007 2893:da1ba8a5c8c9
92 92
93 if [ $ngx_found = yes ]; then 93 if [ $ngx_found = yes ]; then
94 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" 94 CORE_LIBS="$CORE_LIBS $ngx_feature_libs"
95 MD5=YES 95 MD5=YES
96 MD5_LIB=$ngx_md5_lib 96 MD5_LIB=$ngx_md5_lib
97 else
98
99 cat << END
100
101 $0: error: the HTTP cache module requires md5 functions
102 from OpenSSL library. You can either disable the module by using
103 --without-http_cache option, or install the OpenSSL library into the system,
104 or build the OpenSSL library statically from the source with nginx by using
105 --with-openssl=<path> option.
106
107 END
108 exit 1
97 fi 109 fi
98 110
99 fi 111 fi
100 112
101 fi 113 fi