comparison configure.ac @ 28713:da768548fc99

propagate from branch 'im.pidgin.pidgin' (head 2980a8828dae367476dcf5d8e52783fdc137d8bf) to branch 'im.pidgin.cpw.darkrain42.xmpp.scram' (head 9796b72fa5337bb6633b04a951900135c323a2e8)
author Paul Aurich <paul@darkrain42.org>
date Tue, 17 Nov 2009 23:05:18 +0000
parents 39fae7199fa9
children d9c70a78fad5
comparison
equal deleted inserted replaced
28595:1acb11145fa4 28713:da768548fc99
2265 AC_CHECK_FUNCS(snprintf connect) 2265 AC_CHECK_FUNCS(snprintf connect)
2266 AC_SUBST(SASL_LIBS) 2266 AC_SUBST(SASL_LIBS)
2267 AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no) 2267 AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no)
2268 if test "x$enable_cyrus_sasl" = "xyes" ; then 2268 if test "x$enable_cyrus_sasl" = "xyes" ; then
2269 AC_CHECK_LIB(sasl2, sasl_client_init, [ 2269 AC_CHECK_LIB(sasl2, sasl_client_init, [
2270 AM_CONDITIONAL(USE_CYRUS_SASL, true)
2270 AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present]) 2271 AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present])
2271 SASL_LIBS=-"lsasl2" 2272 SASL_LIBS=-"lsasl2"
2272 ], [ 2273 ], [
2274 AM_CONDITIONAL(USE_CYRUS_SASL, false)
2273 AC_ERROR(Cyrus SASL library not found) 2275 AC_ERROR(Cyrus SASL library not found)
2274 ]) 2276 ])
2277 else
2278 AM_CONDITIONAL(USE_CYRUS_SASL, false)
2275 fi 2279 fi
2276 2280
2277 dnl ####################################################################### 2281 dnl #######################################################################
2278 dnl # Check for Kerberos (for Zephyr) 2282 dnl # Check for Kerberos (for Zephyr)
2279 dnl ####################################################################### 2283 dnl #######################################################################