# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../vim/config.in
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---

if pkgcheck vim X
then
	menu_begin MENU_PKG_VIM 'VIM (Vi IMproved) Options'
		choice SDECFG_PKG_VIM_FEATURES huge \
			tiny almost_no_features_enabled,_not_even_multiple_windows \
			small few_features_enabled,_as_basic_as_possible \
			normal a_default_selection_of_features_enabled \
			big many_features_enabled,_as_rich_as_possible \
			huge all_possible_featues_enabled
		choice SDECFG_PKG_VIM_GUI auto \
			no GUI_style:_No_GUI auto GUI_style:_Autoselect \
			gtk GUI_style:_GTK gtk2 GUI_style:_GTK-2 \
			gnome GUI_style:_Gnome gnome2 GUI_style:_Gnome_2 \
			motif GUI_style:_Motif_/_Lesstif
		if [ "$SDECFG_PKG_VIM_GUI" != "no" ] ; then
			bool 'Build seperate CLI and GUI binaries' \
				SDECFG_PKG_VIM_TWO_BINARIES 1
		fi
		bool 'Create VI replacement sym-link' \
			SDECFG_PKG_VIM_IS_VI_REPLACEMENT 1
		pkgcheck perl X && \
			bool 'Include Perl interpreter in vim' \
			SDECFG_PKG_VIM_PERLINTERP 1
		pkgcheck python X && \
			bool 'Include Python interpreter in vim' \
			SDECFG_PKG_VIM_PYTHONINTERP 1
		pkgcheck ruby X && \
			bool 'Include Ruby interpreter in vim' \
			SDECFG_PKG_VIM_RUBYINTERP 1
		pkgcheck tcltk X && \
			bool 'Include TCL interpreter in vim' \
			SDECFG_PKG_VIM_TCLINTERP 1
	menu_end
fi