summaryrefslogtreecommitdiffstats
path: root/editors/vile/CONFIGURE
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vile/CONFIGURE')
-rwxr-xr-xeditors/vile/CONFIGURE17
1 files changed, 17 insertions, 0 deletions
diff --git a/editors/vile/CONFIGURE b/editors/vile/CONFIGURE
new file mode 100755
index 0000000000..47fab177e7
--- /dev/null
+++ b/editors/vile/CONFIGURE
@@ -0,0 +1,17 @@
+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"