default_build
diff --git a/chat-im/jabberd/CONFIGURE b/chat-im/jabberd/CONFIGURE
index 201c06e..ea182ce 100755
--- a/chat-im/jabberd/CONFIGURE
+++ b/chat-im/jabberd/CONFIGURE
@@ -1,3 +1,9 @@
+if spell_ok cyrus-sasl; then
+ JABBERD_SASL="cyrus-sasl"
+elif spell_ok gsasl; then
+ JABBERD_SASL="gsasl"
+fi
+
config_query_list JABBERD_SASL 'Choose your SASL implementation' \
gsasl cyrus-sasl &&
diff --git a/chat-im/jabberd/HISTORY b/chat-im/jabberd/HISTORY
index 6c132c5..bf819c3 100644
--- a/chat-im/jabberd/HISTORY
+++ b/chat-im/jabberd/HISTORY
@@ -1,6 +1,7 @@
2007-05-30 David Kowis <dkowis AT shlrm.org>
* DEPENDS, DETAILS, CONFIGURE, BUILD, INSTALL: Rewrote spell to work
with version 2.1.6
+ * CONFIGURE, BUILD: fixed the gsasl or cyrus-sasl setup
2006-10-11 David Kowis <dkowis AT shlrm.org>
* init.d/jabberd: rewrote the entire thing to not need daemon anymore
[SM-Commit] GIT changes to master grimoire by David Kowis (7f97882e4df6650c4826595316be2ebb27f6ad55),
David Kowis, 05/30/2007