Mercurial > pidgin.yaz
diff configure.ac @ 12508:5cfc53ead482
[gaim-migrate @ 14820]
patch from Simon Wilkinson to add Cyrus SASL support for jabber
Give him credit if it works flawlessly. Blame me if it doesn't, as the
patch was against 1.3.1 (yeah, I've been sitting on it for that long), and
I had to merge it to HEAD, and clean up a bunch of warnings
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sat, 17 Dec 2005 02:24:05 +0000 |
parents | 5bf6c0c908b2 |
children | b1e20e834089 |
line wrap: on
line diff
--- a/configure.ac Fri Dec 16 21:41:46 2005 +0000 +++ b/configure.ac Sat Dec 17 02:24:05 2005 +0000 @@ -1402,6 +1402,11 @@ dnl checks for jabber dnl AC_CHECK_SIZEOF(short) AC_CHECK_FUNCS(snprintf connect) +AC_SUBST(SASL_LIBS) +AC_ARG_ENABLE(cyrus-sasl, AC_HELP_STRING([--enable-cyrus-sasl], [enable Cyrus SASL support for jabberd (no)]), enable_cyrus_sasl=$enableval, enable_cyrus_sasl=no) +if test "x-$enable_cyrus_sasl" = "x-yes" ; then + AC_CHECK_LIB(sasl2, sasl_client_init, [AC_DEFINE(HAVE_CYRUS_SASL, [1], [Define to 1 if Cyrus SASL is present]) SASL_LIBS=-"lsasl2"], [AC_ERROR(Cyrus SASL library not found)]) +fi dnl checks for zephyr AC_DEFINE(ZEPHYR_INT32, long, [Size of an int32.]) @@ -1676,11 +1681,13 @@ echo Build with GtkSpell support... : $enable_gtkspell echo Build with Voice/Video support : $enable_vv echo Build with DBUS support....... : $enable_dbus +echo Build with Cyrus SASL support. : $enable_cyrus_sasl if test x$enable_dbus = xyes ; then echo DBUS session directory........ : $DBUS_SESSION_DIR fi echo Has you....................... : yes echo +echo echo Use kerberos 4 with zephyr.... : $kerberos echo Use external libzephyr........ : $zephyr echo