summaryrefslogtreecommitdiffstats
path: root/chat-im/jabberd/CONFIGURE
diff options
context:
space:
mode:
Diffstat (limited to 'chat-im/jabberd/CONFIGURE')
-rwxr-xr-xchat-im/jabberd/CONFIGURE48
1 files changed, 31 insertions, 17 deletions
diff --git a/chat-im/jabberd/CONFIGURE b/chat-im/jabberd/CONFIGURE
index 800b02af34..ea93b79d06 100755
--- a/chat-im/jabberd/CONFIGURE
+++ b/chat-im/jabberd/CONFIGURE
@@ -1,3 +1,7 @@
+JABBERD_OPTS="$JABBERD_OPTS $JABBERD_PIPE $JABBERD_ANON $JABBERD_FS $JABBERD_DEBUG \
+ $JABBERD_NAD_DEBUG $JABBERD_POOL_DEBUG $JABBERD_DEVELOPER"
+persistent_remove JABBERD_PIPE JABBERD_ANON JABBERD_FS JABBERD_DEBUG \
+ JABBERD_NAD_DEBUG JABBERD_POOL_DEBUG JABBERD_DEVELOPER
if [[ "$JABBERD_SASL" == "" ]]; then
if spell_ok cyrus-sasl; then
JABBERD_SASL="cyrus-sasl"
@@ -5,29 +9,39 @@ if [[ "$JABBERD_SASL" == "" ]]; then
JABBERD_SASL="gsasl"
fi
fi
-config_query_list JABBERD_SASL 'Choose your SASL implementation' \
- gsasl cyrus-sasl &&
+config_query_list JABBERD_SASL \
+ 'Choose your SASL implementation' \
+ gsasl cyrus-sasl &&
-config_query_list JABBERD_MIO 'Select MIO backend' poll select &&
+config_query_list JABBERD_MIO \
+ 'Select MIO backend' \
+ epoll poll select &&
-config_query_option JABBERD_PIPE 'Enable pipe auth/reg support?' \
- n '--enable-pipe' '--disable-pipe' &&
+config_query_option JABBERD_OPTS \
+ '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_OPTS \
+ '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_OPTS \
+ 'Enable filesystem storage support?' \
+ 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_OPTS \
+ '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_OPTS \
+ '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_OPTS \
+ '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'
+config_query_option JABBERD_OPTS \
+ 'Compile with full warnings and debugging symbols?' \
+ n '--enable-developer' '--disable-developer'