comparison auto/lib/openssl/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 658725e3eef4
children 83c940b0d18a
comparison
equal deleted inserted replaced
2892:3e10e2b64007 2893:da1ba8a5c8c9
64 64
65 if [ $ngx_found = yes ]; then 65 if [ $ngx_found = yes ]; then
66 have=NGX_SSL . auto/have 66 have=NGX_SSL . auto/have
67 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" 67 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
68 OPENSSL=YES 68 OPENSSL=YES
69 else
70
71 cat << END
72
73 $0: error: SSL modules require the OpenSSL library.
74 You can either do not enable the modules, or install the OpenSSL library
75 into the system, or build the OpenSSL library statically from the source
76 with nginx by using --with-openssl=<path> option.
77
78 END
79 exit 1
69 fi 80 fi
70 ;; 81 ;;
71 82
72 esac 83 esac
73 84