Mercurial > hg > nginx
comparison auto/lib/openssl/conf @ 2712:41f993457021
OpenSSL building by MSVC and BCC from sources
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 15 Apr 2009 19:46:24 +0000 |
parents | 7af8276b1c2f |
children | 06d53ecd70c8 |
comparison
equal
deleted
inserted
replaced
2711:6b87e875e87a | 2712:41f993457021 |
---|---|
4 | 4 |
5 if [ $OPENSSL != NONE ]; then | 5 if [ $OPENSSL != NONE ]; then |
6 CORE_INCS="$CORE_INCS $OPENSSL/include" | 6 CORE_INCS="$CORE_INCS $OPENSSL/include" |
7 | 7 |
8 case "$CC" in | 8 case "$CC" in |
9 | |
10 cl|bcc32) | |
11 have=NGX_OPENSSL . auto/have | |
12 have=NGX_SSL . auto/have | |
13 | |
14 LINK_DEPS="$LINK_DEPS $OPENSSL/out32/ssleay32.lib" | |
15 CORE_LIBS="$CORE_LIBS $OPENSSL/out32/ssleay32.lib" | |
16 | |
17 LINK_DEPS="$LINK_DEPS $OPENSSL/out32/libeay32.lib" | |
18 CORE_LIBS="$CORE_LIBS $OPENSSL/out32/libeay32.lib" | |
19 | |
20 # libeay32.lib requires gdi32.lib and advapi32.lib | |
21 CORE_LIBS="$CORE_LIBS gdi32.lib advapi32.lib" | |
22 ;; | |
23 | |
9 *) | 24 *) |
10 have=NGX_OPENSSL . auto/have | 25 have=NGX_OPENSSL . auto/have |
11 have=NGX_SSL . auto/have | 26 have=NGX_SSL . auto/have |
12 LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" | 27 LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" |
13 CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" | 28 CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" |
32 | 47 |
33 CORE_INCS="$CORE_INCS c:/openssl/include" | 48 CORE_INCS="$CORE_INCS c:/openssl/include" |
34 CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib" | 49 CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib" |
35 CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib" | 50 CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib" |
36 | 51 |
37 # libeay32.lib requires gdi32.lib | 52 # libeay32.lib requires gdi32.lib and advapi32.lib |
38 CORE_LIBS="$CORE_LIBS gdi32.lib" | 53 CORE_LIBS="$CORE_LIBS gdi32.lib advapi32.lib" |
39 # OpenSSL 0.8's libeay32.lib requires advapi32.lib | |
40 CORE_LIBS="$CORE_LIBS advapi32.lib" | |
41 ;; | 54 ;; |
42 | 55 |
43 *) | 56 *) |
44 OPENSSL=NO | 57 OPENSSL=NO |
45 | 58 |