Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2247:fe89cdd66446 | 2248:377b6a52b25f |
---|---|
154 [g_list_append], ["$gmodule_module"])], | 154 [g_list_append], ["$gmodule_module"])], |
155 [g_regex_new "$gmodule_module"]) | 155 [g_regex_new "$gmodule_module"]) |
156 | 156 |
157 # Check for loudmouth | 157 # Check for loudmouth |
158 PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.2) | 158 PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0 >= 1.4.2) |
159 PKG_CHECK_MODULES(LOUDMOUTH_SHA256, [loudmouth-1.0 >= 1.5.3], | |
160 AC_DEFINE([LOUDMOUTH_USES_SHA256], 1, | |
161 [loudmouth is now using a new digest] | |
162 ), | |
163 [] | |
164 ) | |
159 | 165 |
160 # Check for lm_ssl_set_cipher_list in loudmouth | 166 # Check for lm_ssl_set_cipher_list in loudmouth |
161 AC_CHECK_LIB(loudmouth-1, lm_ssl_set_cipher_list, | 167 AC_CHECK_LIB(loudmouth-1, lm_ssl_set_cipher_list, |
162 AC_DEFINE([HAVE_LM_SSL_CIPHER_LIST], 1, | 168 AC_DEFINE([HAVE_LM_SSL_CIPHER_LIST], 1, |
163 [Define that loudmouth has lm_ssl_cipher_list] | 169 [Define that loudmouth has lm_ssl_cipher_list] |