Mercurial > hg > nginx
annotate auto/lib/openssl/conf @ 2665:4d627567c324
fix r2664: ..._cache_valid did not work for stale responses
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 03 Apr 2009 15:47:45 +0000 |
parents | 7af8276b1c2f |
children | 41f993457021 |
rev | line source |
---|---|
444
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
1 |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
2 # Copyright (C) Igor Sysoev |
42d11f017717
nginx-0.1.0-2004-09-29-20:00:49 import; remove years from copyright
Igor Sysoev <igor@sysoev.ru>
parents:
399
diff
changeset
|
3 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
5 if [ $OPENSSL != NONE ]; then |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
6 CORE_INCS="$CORE_INCS $OPENSSL/include" |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
7 |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
8 case "$CC" in |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
9 *) |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
10 have=NGX_OPENSSL . auto/have |
577 | 11 have=NGX_SSL . auto/have |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
12 LINK_DEPS="$LINK_DEPS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
13 CORE_LIBS="$CORE_LIBS $OPENSSL/libssl.a $OPENSSL/libcrypto.a" |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
14 ;; |
479 | 15 esac |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
16 |
479 | 17 case "$NGX_SYSTEM" in |
18 SunOS|Linux) | |
19 CORE_LIBS="$CORE_LIBS -ldl" | |
20 ;; | |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
21 esac |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
22 |
479 | 23 |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
24 else |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
25 |
583 | 26 case "$NGX_PLATFORM" in |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
27 |
583 | 28 win32) |
29 have=NGX_OPENSSL . auto/have | |
577 | 30 have=NGX_SSL . auto/have |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
31 OPENSSL=YES |
561 | 32 |
583 | 33 CORE_INCS="$CORE_INCS c:/openssl/include" |
34 CORE_LIBS="$CORE_LIBS c:/openssl/ssleay32.lib" | |
35 CORE_LIBS="$CORE_LIBS c:/openssl/libeay32.lib" | |
36 | |
37 # libeay32.lib requires gdi32.lib | |
38 CORE_LIBS="$CORE_LIBS gdi32.lib" | |
39 # OpenSSL 0.8's libeay32.lib requires advapi32.lib | |
40 CORE_LIBS="$CORE_LIBS advapi32.lib" | |
41 ;; | |
42 | |
43 *) | |
44 OPENSSL=NO | |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
45 |
583 | 46 ngx_feature="OpenSSL library" |
47 ngx_feature_name="NGX_OPENSSL" | |
48 ngx_feature_run=no | |
49 ngx_feature_incs="#include <openssl/ssl.h>" | |
875
7af8276b1c2f
test PCRE in FreeBSD, Linux, and NetBSD
Igor Sysoev <igor@sysoev.ru>
parents:
583
diff
changeset
|
50 ngx_feature_path= |
583 | 51 ngx_feature_libs="-lssl -lcrypto" |
52 ngx_feature_test="SSL_library_init()" | |
53 . auto/feature | |
54 | |
55 if [ $ngx_found = yes ]; then | |
56 have=NGX_SSL . auto/have | |
57 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
58 OPENSSL=YES | |
59 | |
60 case "$NGX_SYSTEM" in | |
61 SunOS) | |
62 CORE_LIBS="$CORE_LIBS -ldl" | |
63 ;; | |
64 esac | |
65 fi | |
66 ;; | |
67 | |
68 esac | |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
69 |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
70 fi |