[dovecot-cvs] dovecot configure.in,1.165,1.166
cras at procontrol.fi
cras at procontrol.fi
Sun May 30 04:40:00 EEST 2004
Update of /home/cvs/dovecot
In directory talvi:/tmp/cvs-serv4773
Modified Files:
configure.in
Log Message:
SHA1 support via OpenSSL
Index: configure.in
===================================================================
RCS file: /home/cvs/dovecot/configure.in,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -d -r1.165 -r1.166
--- a/configure.in 29 May 2004 22:21:39 -0000 1.165
+++ b/configure.in 30 May 2004 01:39:58 -0000 1.166
@@ -580,6 +580,13 @@
fi
AC_SUBST(RAND_LIBS)
+AC_CHECK_LIB(crypto, SHA1_Init, [
+ AC_CHECK_HEADER(openssl/sha.h, [
+ AC_DEFINE(HAVE_OPENSSL_SHA1,, Define if you have SHA1 in OpenSSL)
+ AUTH_LIBS=-lcrypto
+ ])
+])
+
dnl * do we have tm_gmtoff
AC_MSG_CHECKING([for tm_gmtoff])
AC_CACHE_VAL(i_cv_field_tm_gmtoff,
More information about the dovecot-cvs
mailing list