Mercurial > hg > nginx-quic
annotate auto/lib/openssl/make @ 1881:10ab4a7f92fe
fix return code
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 07 Feb 2008 08:57:07 +0000 |
parents | 89ceaab8223a |
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 |
583 | 4 |
501 | 5 if test -n "$OPENSSL_OPT"; then |
6 NGX_OPENSSL_CONFIG="./Configure \"$OPENSSL_OPT\"" | |
7 else | |
8 NGX_OPENSSL_CONFIG="./config" | |
9 fi | |
10 | |
1005
89ceaab8223a
do not build OpenSSL with threads, if they are not used
Igor Sysoev <igor@sysoev.ru>
parents:
583
diff
changeset
|
11 case $USE_THREADS in |
89ceaab8223a
do not build OpenSSL with threads, if they are not used
Igor Sysoev <igor@sysoev.ru>
parents:
583
diff
changeset
|
12 NO) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG no-threads" ;; |
89ceaab8223a
do not build OpenSSL with threads, if they are not used
Igor Sysoev <igor@sysoev.ru>
parents:
583
diff
changeset
|
13 *) NGX_OPENSSL_CONFIG="$NGX_OPENSSL_CONFIG threads" ;; |
89ceaab8223a
do not build OpenSSL with threads, if they are not used
Igor Sysoev <igor@sysoev.ru>
parents:
583
diff
changeset
|
14 esac |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
15 |
493 | 16 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
|
17 *) |
501 | 18 cat << END >> $NGX_MAKEFILE |
19 | |
20 $OPENSSL/libssl.a: | |
21 cd $OPENSSL \\ | |
22 && \$(MAKE) clean \\ | |
23 && $NGX_OPENSSL_CONFIG no-shared \\ | |
24 && \$(MAKE) | |
25 | |
26 END | |
27 | |
399
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
28 ;; |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
29 |
4e21d1291a14
nginx-0.0.7-2004-07-25-22:34:14 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
30 esac |