comparison auto/lib/openssl/conf @ 399:4e21d1291a14

nginx-0.0.7-2004-07-25-22:34:14 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 25 Jul 2004 18:34:14 +0000
parents
children 42d11f017717
comparison
equal deleted inserted replaced
398:201b5f68b59f 399:4e21d1291a14
1
2 if [ $OPENSSL != NONE ]; then
3 CORE_INCS="$CORE_INCS $OPENSSL/include"
4 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS"
5 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS"
6
7 case "$CC" in
8 *)
9 have=NGX_OPENSSL . auto/have
10 LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
11 CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a"
12 ;;
13
14 esac
15
16 else
17
18 if [ $PLATFORM != win32 ]; then
19 OPENSSL=NO
20 ngx_lib_cflags=
21
22 ngx_lib_inc="#include <openssl/ssl.h>"
23 ngx_lib="OpenSSL library"
24 ngx_lib_test="SSL_library_init()"
25 ngx_libs="-lssl -lcrypto"
26 . auto/lib/test
27
28
29 if [ $ngx_found = yes ]; then
30 have=NGX_OPENSSL . auto/have
31 CORE_DEPS="$CORE_DEPS $OPENSSL_DEPS"
32 CORE_SRCS="$CORE_SRCS $OPENSSL_SRCS"
33 CORE_LIBS="$CORE_LIBS $ngx_libs"
34 OPENSSL=YES
35 ngx_found=no
36 fi
37
38 fi
39
40 fi