Mercurial > hg > nginx-quic
annotate auto/lib/md5/conf @ 4445:50445a6d469e stable-1.0
Merge of r4398:
Changed ngx_log_debugN() macros to verify the number of arguments
when built with debugging.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 05 Feb 2012 19:06:52 +0000 |
parents | ec8dfac68f41 |
children | d620f497c50f |
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:
376
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:
376
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:
376
diff
changeset
|
3 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
4 |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
5 if [ $MD5 != NONE ]; then |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
6 |
2707 | 7 if grep MD5_Init $MD5/md5.h 2>&1 >/dev/null; then |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
8 # OpenSSL md5 |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
9 OPENSSL_MD5=YES |
469 | 10 have=NGX_HAVE_OPENSSL_MD5 . auto/have |
477 | 11 have=NGX_OPENSSL_MD5 . auto/have |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
12 else |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
13 # rsaref md5 |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
14 OPENSSL_MD5=NO |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
15 fi |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
16 |
3895
b659514a3948
an internal MD5 implemenation
Igor Sysoev <igor@sysoev.ru>
parents:
3684
diff
changeset
|
17 have=NGX_HAVE_MD5 . auto/have |
297
ee394e997c77
nginx-0.0.3-2004-03-29-21:43:58 import
Igor Sysoev <igor@sysoev.ru>
parents:
295
diff
changeset
|
18 CORE_INCS="$CORE_INCS $MD5" |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
19 |
455 | 20 case "$NGX_CC_NAME" in |
282
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
21 |
461 | 22 msvc* | owc* | bcc) |
282
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
23 LINK_DEPS="$LINK_DEPS $MD5/md5.lib" |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
24 CORE_LIBS="$CORE_LIBS $MD5/md5.lib" |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
25 ;; |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
26 |
461 | 27 icc*) |
288
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
28 LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
29 |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
30 # to allow -ipo optimization we link with the *.o but not library |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
31 CORE_LIBS="$CORE_LIBS $MD5/md5_dgst.o" |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
32 |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
33 if [ $MD5_ASM = YES ]; then |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
34 CORE_LIBS="$CORE_LIBS $MD5/asm/mx86-elf.o" |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
35 fi |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
36 ;; |
f81d075ad172
nginx-0.0.2-2004-03-14-23:46:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
282
diff
changeset
|
37 |
282
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
38 *) |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
39 LINK_DEPS="$LINK_DEPS $MD5/libmd5.a" |
306
6b91bfbc4123
nginx-0.0.3-2004-04-05-00:32:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
297
diff
changeset
|
40 CORE_LIBS="$CORE_LIBS $MD5/libmd5.a" |
6b91bfbc4123
nginx-0.0.3-2004-04-05-00:32:09 import
Igor Sysoev <igor@sysoev.ru>
parents:
297
diff
changeset
|
41 #CORE_LIBS="$CORE_LIBS -L $MD5 -lmd5" |
282
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
42 ;; |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
43 |
30310107dbc9
nginx-0.0.2-2004-03-09-22:47:07 import
Igor Sysoev <igor@sysoev.ru>
parents:
266
diff
changeset
|
44 esac |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
45 |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
46 else |
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
47 |
493 | 48 if [ "$NGX_PLATFORM" != win32 ]; then |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
49 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
50 MD5=NO |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
51 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
52 # FreeBSD, Solaris 10 |
253
b6793bc5034b
nginx-0.0.2-2004-02-09-10:46:43 import
Igor Sysoev <igor@sysoev.ru>
parents:
248
diff
changeset
|
53 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
54 ngx_feature="system md library" |
3895
b659514a3948
an internal MD5 implemenation
Igor Sysoev <igor@sysoev.ru>
parents:
3684
diff
changeset
|
55 ngx_feature_name=NGX_HAVE_MD5 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
56 ngx_feature_run=no |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
57 ngx_feature_incs="#include <md5.h>" |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
58 ngx_feature_path= |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
59 ngx_feature_libs="-lmd" |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
60 ngx_feature_test="MD5_CTX md5; MD5Init(&md5)" |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
61 . auto/feature |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
62 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
63 ngx_md5_lib="system md" |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
64 |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
65 if [ $ngx_found = no ]; then |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
66 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
67 # Solaris 8/9 |
266
5238e93961a1
nginx-0.0.2-2004-02-23-23:57:12 import
Igor Sysoev <igor@sysoev.ru>
parents:
265
diff
changeset
|
68 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
69 ngx_feature="system md5 library" |
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
70 ngx_feature_libs="-lmd5" |
455 | 71 . auto/feature |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
72 |
2815
304bfc6faf07
move libmd test before libmd5,
Igor Sysoev <igor@sysoev.ru>
parents:
2707
diff
changeset
|
73 ngx_md5_lib="system md5" |
307
ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
306
diff
changeset
|
74 fi |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
75 |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
76 if [ $ngx_found = no ]; then |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
77 |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
78 # OpenSSL crypto library |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
79 |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
80 ngx_feature="OpenSSL md5 crypto library" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
81 ngx_feature_name="NGX_OPENSSL_MD5" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
82 ngx_feature_incs="#include <openssl/md5.h>" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
83 ngx_feature_libs="-lcrypto" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
84 ngx_feature_test="MD5_CTX md5; MD5_Init(&md5)" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
85 . auto/feature |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
86 |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
87 ngx_md5_lib="system crypto" |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
88 |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
89 if [ $ngx_found = yes ]; then |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
90 have=NGX_HAVE_OPENSSL_MD5_H . auto/have |
3896 | 91 have=NGX_HAVE_MD5 . auto/have |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
92 fi |
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
93 fi |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
94 |
307
ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
306
diff
changeset
|
95 if [ $ngx_found = yes ]; then |
455 | 96 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" |
307
ce375c313e96
nginx-0.0.3-2004-04-08-19:58:25 import
Igor Sysoev <igor@sysoev.ru>
parents:
306
diff
changeset
|
97 MD5=YES |
2010
bd6cc5370fc1
simplify library autoconfigure
Igor Sysoev <igor@sysoev.ru>
parents:
875
diff
changeset
|
98 MD5_LIB=$ngx_md5_lib |
3684
4d47a0658e7d
stop ./configure on Win32 if no library sources was specified,
Igor Sysoev <igor@sysoev.ru>
parents:
2950
diff
changeset
|
99 fi |
4d47a0658e7d
stop ./configure on Win32 if no library sources was specified,
Igor Sysoev <igor@sysoev.ru>
parents:
2950
diff
changeset
|
100 fi |
2893
da1ba8a5c8c9
stop ./configure at once on library failure
Igor Sysoev <igor@sysoev.ru>
parents:
2815
diff
changeset
|
101 |
210
00cafae0bdf1
nginx-0.0.1-2003-12-14-23:10:27 import
Igor Sysoev <igor@sysoev.ru>
parents:
diff
changeset
|
102 fi |