comparison auto/lib/md5/conf @ 2940:cb3d4dc8c6db stable-0.7

merge r2893, r2894, and r2917: various ./configure fixes: *) use md5/sha1 in OpenSSL only if OpenSSL is used *) stop ./configure at once on library failure *) librt must be tested before creating Makefile the bug has been introduced in r2817
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jun 2009 08:49:53 +0000
parents 304bfc6faf07
children 3ac5032f5981
comparison
equal deleted inserted replaced
2939:7d8667499ddc 2940:cb3d4dc8c6db
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