I am interested in knowing which options are used to compile vim in the package "vim" as I am trying to compile vim from source on another system, not running Debian/Ubuntu, and would like it to work in a similar way.
Grab the source package
That'll download the source for the package in your current dir. Look at
You can also download the source package from http://packages.ubuntu.com/source/maverick/vim if you can't log into a debian/ubuntu box to run apt-get.