if [[ "$JABBERD_SASL" == "" ]]; then
  if spell_ok cyrus-sasl; then
    JABBERD_SASL="cyrus-sasl"
  elif spell_ok gsasl; then
    JABBERD_SASL="gsasl"
  fi
fi
config_query_list   JABBERD_SASL       'Choose your SASL implementation' \
   gsasl cyrus-sasl &&

config_query_list   JABBERD_MIO        'Select MIO backend' poll select &&

config_query_option JABBERD_PIPE       'Enable pipe auth/reg support?' \
   n '--enable-pipe' '--disable-pipe' &&

config_query_option JABBERD_ANON       'Enable anonymous auth support?' \
   n '--enable-anon' '--disable-anon' &&

config_query_option JABBERD_FS         'Enable filesystem storage support(NOT RECCOMENDED)?' \
   n '--enable-fs' '--disable-fs' &&

config_query_option JABBERD_DEBUG      'Enable debugging output when run with -D?' \
   n '--enable-debug' '--disable-debug' &&

config_query_option JABBERD_NAD_DEBUG  'Compile with NAD pointer tracking?' \
   n '--enable-nad-debug' '--disable-nad-debug' &&

config_query_option JABBERD_POOL_DEBUG 'Compile with pool statistics?' \
   n '--enable-pool-debug' '--disable-pool-debug' &&

config_query_option JABBERD_DEVELOPER  'Compile with full warnings and debugging symbols?' \
   n '--enable-developer' '--disable-developer'

