comparison auto/lib/openssl/conf @ 3684:4d47a0658e7d

stop ./configure on Win32 if no library sources was specified, the bug has been introduced in r2894
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Jul 2010 15:57:36 +0000
parents 312c2f9b53ac
children d620f497c50f
comparison
equal deleted inserted replaced
3683:312c2f9b53ac 3684:4d47a0658e7d
52 52
53 if [ $ngx_found = yes ]; then 53 if [ $ngx_found = yes ]; then
54 have=NGX_SSL . auto/have 54 have=NGX_SSL . auto/have
55 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL" 55 CORE_LIBS="$CORE_LIBS $ngx_feature_libs $NGX_LIBDL"
56 OPENSSL=YES 56 OPENSSL=YES
57 else 57 fi
58 fi
59
60 if [ $OPENSSL != YES ]; then
58 61
59 cat << END 62 cat << END
60 63
61 $0: error: SSL modules require the OpenSSL library. 64 $0: error: SSL modules require the OpenSSL library.
62 You can either do not enable the modules, or install the OpenSSL library 65 You can either do not enable the modules, or install the OpenSSL library
63 into the system, or build the OpenSSL library statically from the source 66 into the system, or build the OpenSSL library statically from the source
64 with nginx by using --with-openssl=<path> option. 67 with nginx by using --with-openssl=<path> option.
65 68
66 END 69 END
67 exit 1 70 exit 1
68 fi
69 fi 71 fi
70 72
71 fi 73 fi