case $THIS_SUB_DEPENDS in SHARED) if [[ $DIALOG_SO != "--with-shared" ]]; then return 1; fi ;; *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" ; return 1;; esac