Mercurial > ~mikael > mcabber > hg
diff mcabber/configure.ac @ 2248:377b6a52b25f
Prepare for loudmouth with sha256 support (>=1.5.3)
author | franky |
---|---|
date | Sat, 13 Feb 2016 11:05:07 +0100 |
parents | 4ddff7f8ad90 |
children | 54a12919cdee |
line wrap: on
line diff
--- a/mcabber/configure.ac Wed Feb 10 23:15:20 2016 +0100 +++ b/mcabber/configure.ac Sat Feb 13 11:05:07 2016 +0100 @@ -156,6 +156,12 @@ # Check for loudmouth PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.2) +PKG_CHECK_MODULES(LOUDMOUTH_SHA256, [loudmouth-1.0 >= 1.5.3], + AC_DEFINE([LOUDMOUTH_USES_SHA256], 1, + [loudmouth is now using a new digest] + ), + [] + ) # Check for lm_ssl_set_cipher_list in loudmouth AC_CHECK_LIB(loudmouth-1, lm_ssl_set_cipher_list,