Configure options - vim

From Genunix

Optional Features:

 --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 --disable-darwin        Disable Darwin (Mac OS X) support.
 --disable-xsmp          Disable XSMP session management
 --disable-xsmp-interact Disable XSMP interaction
 --enable-mzschemeinterp   Include MzScheme interpreter.
 --enable-perlinterp     Include Perl interpreter.
 --enable-pythoninterp   Include Python interpreter.
 --enable-tclinterp      Include Tcl interpreter.
 --enable-rubyinterp     Include Ruby interpreter.
 --enable-cscope         Include cscope interface.
 --enable-workshop       Include Sun Visual Workshop support.
 --disable-netbeans      Disable NetBeans integration support.
 --enable-sniff          Include Sniff interface.
 --enable-multibyte      Include multibyte editing support.
 --enable-hangulinput    Include Hangul input support.
 --enable-xim            Include XIM input support.
 --enable-fontset        Include X fontset output support.
 --enable-gui=OPTS     X11 GUI default=auto OPTS=auto/no/gtk/gtk2/gnome/gnome2/motif/athena/neXtaw/photon/carbon
 --enable-gtk-check      If auto-select GUI, check for GTK default=yes
 --enable-gtk2-check     If GTK GUI, check for GTK+ 2 default=yes
 --enable-gnome-check    If GTK GUI, check for GNOME default=no
 --enable-motif-check    If auto-select GUI, check for Motif default=yes
 --enable-athena-check   If auto-select GUI, check for Athena default=yes
 --enable-nextaw-check   If auto-select GUI, check for neXtaw default=yes
 --enable-carbon-check   If auto-select GUI, check for Carbon default=yes
 --disable-gtktest       Do not try to compile and run a test GTK program
 --disable-acl           Don't check for ACL support.
 --disable-gpm           Don't use gpm (Linux mouse daemon).
 --disable-nls           Don't support NLS (gettext()).

Optional Packages:

 --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 --with-mac-arch=ARCH    current, intel, ppc or both
 --with-vim-name=NAME    what to call the Vim executable
 --with-ex-name=NAME     what to call the Ex executable
 --with-view-name=NAME   what to call the View executable
 --with-global-runtime=DIR    global runtime directory in 'runtimepath'
 --with-modified-by=NAME       name of who modified a release version
 --with-features=TYPE    tiny, small, normal, big or huge (default: normal)
 --with-compiledby=NAME  name to show in :version message
 --with-plthome=PLTHOME   Use PLTHOME.
 --with-python-config-dir=PATH  Python's config directory
 --with-tclsh=PATH       which tclsh to use (default: tclsh8.0)
 --with-x                use the X Window System
 --with-gtk-prefix=PFX   Prefix where GTK is installed (optional)
 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
 --with-gnome-includes=DIR Specify location of GNOME headers
 --with-gnome-libs=DIR   Specify location of GNOME libs
 --with-gnome            Specify prefix for GNOME files
 --with-motif-lib=STRING   Library for Motif
 --with-tlib=library     terminal library to be used

Some influential environment variables:

 CC          C compiler command
 CFLAGS      C compiler flags
 LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
             nonstandard directory <lib dir>
 CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
             headers in a nonstandard directory <include dir>
 CPP         C preprocessor

Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations.