summaryrefslogtreecommitdiffstats
path: root/collab/openldap/SUB_DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'collab/openldap/SUB_DEPENDS')
-rwxr-xr-xcollab/openldap/SUB_DEPENDS8
1 files changed, 8 insertions, 0 deletions
diff --git a/collab/openldap/SUB_DEPENDS b/collab/openldap/SUB_DEPENDS
new file mode 100755
index 0000000000..391032fe68
--- /dev/null
+++ b/collab/openldap/SUB_DEPENDS
@@ -0,0 +1,8 @@
+case $THIS_SUB_DEPENDS in
+ SASL) message "OpenLDAP with SASL support requested, forcing cyrus-sasl dependency" &&
+ depends cyrus-sasl "--with-cyrus-sasl";;
+ NTLM) message "OpenLDAP with NTLM support requested, forcing NTLM patch" &&
+ OPENLDAP_NTLM=y ;;
+ *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1;;
+esac