Mercurial > hg > nginx-mail
comparison auto/lib/openssl/conf @ 0:f0b350454894 NGINX_0_1_0
nginx 0.1.0
*) The first public version.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 04 Oct 2004 00:00:00 +0400 |
parents | |
children | 4b2dafa26fe2 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0b350454894 |
---|---|
1 | |
2 # Copyright (C) Igor Sysoev | |
3 | |
4 | |
5 if [ $OPENSSL != NONE ]; then | |
6 CORE_INCS="$CORE_INCS $OPENSSL/include" | |
7 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" | |
8 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" | |
9 | |
10 case "$CC" in | |
11 *) | |
12 have=NGX_OPENSSL . auto/have | |
13 LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" | |
14 CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" | |
15 ;; | |
16 | |
17 esac | |
18 | |
19 else | |
20 | |
21 if [ $PLATFORM != win32 ]; then | |
22 OPENSSL=NO | |
23 ngx_lib_cflags= | |
24 | |
25 ngx_lib_inc="#include <openssl/ssl.h>" | |
26 ngx_lib="OpenSSL library" | |
27 ngx_lib_test="SSL_library_init()" | |
28 ngx_libs="-lssl -lcrypto" | |
29 . auto/lib/test | |
30 | |
31 | |
32 if [ $ngx_found = yes ]; then | |
33 have=NGX_OPENSSL . auto/have | |
34 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS" | |
35 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS" | |
36 CORE_LIBS="$CORE_LIBS $ngx_libs" | |
37 OPENSSL=YES | |
38 ngx_found=no | |
39 fi | |
40 | |
41 fi | |
42 | |
43 fi |