config_query VILE_SYMLINK "Would you like to have /usr/bin/vi as a symlink to /usr/bin/[x]vile?" n &&

if [ "${VILE_SYMLINK}" == "y" ]; then
  if [ -e /usr/bin/vi ] && `readlink -f "/usr/bin/vi" | grep -Eqv "[x]?vile"`; then
    message "${MESSAGE_COLOR}VI is already provided by another vi clone. Recast it" &&
    message "with the vi symlink option disabled, then recast vile.${DEFAULT_COLOR}" &&
    VILE_SYMLINK="n"
  fi
fi &&

config_query_option VILE_OPTS "Compile-in plugin support?" n \
                              "--enable-plugins" \
                              "--disable-plugins" &&

config_query_option VILE_OPTS "Build syntax filters?" y \
                              "--enable-filters" \
                              "--disable-filters"
