comparison configure.ac @ 209:10da50168dab

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 21:58:15 +0200
parents 4fd237550525
children 5eb5a92f3247
comparison
equal deleted inserted replaced
208:3708b655a371 209:10da50168dab
130 fi, 130 fi,
131 ) 131 )
132 if test "x$auth_enabled" = xyes; then 132 if test "x$auth_enabled" = xyes; then
133 AC_DEFINE(ENABLE_AUTH, 1, [If AUTH is enabled]) 133 AC_DEFINE(ENABLE_AUTH, 1, [If AUTH is enabled])
134 BASE64_LIBS='base64/libbase64.a' 134 BASE64_LIBS='base64/libbase64.a'
135 # MD5_LIBS='md5/libmd5c.a'
136 need_md5='yes' 135 need_md5='yes'
137 fi 136 fi
138 AC_SUBST(BASE64_LIBS) 137 AC_SUBST(BASE64_LIBS)
139 138
140 dnl libcrypto 139 dnl libcrypto
152 if test "x$has_crypto" = 'xyes'; then 151 if test "x$has_crypto" = 'xyes'; then
153 AC_DEFINE(USE_LIB_CRYPTO, 1, [If libcrypto is available]) 152 AC_DEFINE(USE_LIB_CRYPTO, 1, [If libcrypto is available])
154 MD5_LIBS='-lcrypto' 153 MD5_LIBS='-lcrypto'
155 fi 154 fi
156 else 155 else
157 MD5_LIBS='md5/libmd5c.a' 156 MD5_LIBS='md5/libmd5.a'
158 fi 157 fi
159 fi 158 fi
160 AC_SUBST(MD5_LIBS) 159 AC_SUBST(MD5_LIBS)
161 160
162 dnl ident support (default is to not use it) 161 dnl ident support (default is to not use it)