Mercurial > masqmail-0.2
comparison configure.ac @ 162:52c82d755215
replaced the MD5 implementation with the one of Solar Designer
Until now, the sample code of RFC 1321 was used. It had an ugly license.
Now we use the implementation of Solar Designer, which is in the Public Domain.
http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5
author | meillo@marmaro.de |
---|---|
date | Sun, 18 Jul 2010 22:01:04 +0200 |
parents | 0e7601b8cebf |
children | fa7641eb29c7 |
comparison
equal
deleted
inserted
replaced
161:6655f7708ee1 | 162:52c82d755215 |
---|---|
148 fi, | 148 fi, |
149 pop3_enabled='yes' | 149 pop3_enabled='yes' |
150 ) | 150 ) |
151 if test "x$pop3_enabled" = xyes; then | 151 if test "x$pop3_enabled" = xyes; then |
152 AC_DEFINE(ENABLE_POP3, 1, [If the POP3 support is enabled]) | 152 AC_DEFINE(ENABLE_POP3, 1, [If the POP3 support is enabled]) |
153 # MD5_LIBS='md5/libmd5c.a' | |
154 need_md5='yes' | 153 need_md5='yes' |
155 fi | 154 fi |
156 | 155 |
157 dnl auth support (default is to not use it) | 156 dnl auth support (default is to not use it) |
158 AC_ARG_ENABLE(auth, | 157 AC_ARG_ENABLE(auth, |
162 fi, | 161 fi, |
163 ) | 162 ) |
164 if test "x$auth_enabled" = xyes; then | 163 if test "x$auth_enabled" = xyes; then |
165 AC_DEFINE(ENABLE_AUTH, 1, [If AUTH is enabled]) | 164 AC_DEFINE(ENABLE_AUTH, 1, [If AUTH is enabled]) |
166 BASE64_LIBS='base64/libbase64.a' | 165 BASE64_LIBS='base64/libbase64.a' |
167 # MD5_LIBS='md5/libmd5c.a' | |
168 need_md5='yes' | 166 need_md5='yes' |
169 fi | 167 fi |
170 AC_SUBST(BASE64_LIBS) | 168 AC_SUBST(BASE64_LIBS) |
171 | 169 |
172 dnl maildir support (default is to not use it) | 170 dnl maildir support (default is to not use it) |
195 if test "x$has_crypto" = 'xyes'; then | 193 if test "x$has_crypto" = 'xyes'; then |
196 AC_DEFINE(USE_LIB_CRYPTO, 1, [If libcrypto is available]) | 194 AC_DEFINE(USE_LIB_CRYPTO, 1, [If libcrypto is available]) |
197 MD5_LIBS='-lcrypto' | 195 MD5_LIBS='-lcrypto' |
198 fi | 196 fi |
199 else | 197 else |
200 MD5_LIBS='md5/libmd5c.a' | 198 MD5_LIBS='md5/libmd5.a' |
201 fi | 199 fi |
202 fi | 200 fi |
203 AC_SUBST(MD5_LIBS) | 201 AC_SUBST(MD5_LIBS) |
204 | 202 |
205 dnl ident support (default is to not use it) | 203 dnl ident support (default is to not use it) |