. ${GRIMOIRE}/FUNCTIONS &&
prepare_select_branch stable devel scm &&
case "$WEECHAT_BRANCH" in
  scm|devel)
    config_query WEECHAT_DEBUG "Enable debug messages?" n &&
    if [ "$WEECHAT_DEBUG" == "y" ]; then
      config_query WEECHAT_DEBUG_FULL "Print debug messages to the window?" n
    fi &&
    config_query WEECHAT_CMAKE "Use cmake instead of autotools? (may fail, still in testing)" n
    ;;
esac &&

config_query WEECHAT_SYMLINKS "Make compatibility symlinks?" y
