wiki:doc/buildAndInstall/confOptions
Last modified 12 years ago Last modified on 03/09/12 14:07:11

MC-specific build options

You can see all MC-specific options on the command line via configure --help=short (taken from mc-4.8.1):

Optional Features:
  --disable-option-checking      ignore unrecognized --enable/--with options
  --disable-FEATURE              do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]         include FEATURE [ARG=yes]
  --enable-silent-rules          less verbose build output (undo: `make V=1')
  --disable-silent-rules         verbose build output (undo: `make V=0')
  --enable-maintainer-mode       enable make rules and dependencies not useful
                                 (and sometimes confusing) to the casual installer
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-shared[=PKGS]         build shared libraries [default=yes]
  --enable-static[=PKGS]         build static libraries [default=yes]
  --enable-fast-install[=PKGS]   optimize for fast installation [default=yes]
  --disable-libtool-lock         avoid locking (might break parallel builds)
  --disable-doxygen-doc          don't generate any doxygen documentation
  --disable-doxygen-dot          don't generate graphics for doxygen documentation
  --enable-doxygen-man           generate doxygen manual pages
  --enable-doxygen-rtf           generate doxygen RTF documentation
  --enable-doxygen-xml           generate doxygen XML documentation
  --enable-doxygen-chm           generate doxygen compressed HTML help documentation
  --enable-doxygen-chi           generate doxygen seperate compressed HTML help index file
  --disable-doxygen-html         don't generate doxygen plain HTML documentation
  --enable-doxygen-ps            generate doxygen PostScript documentation
  --enable-doxygen-pdf           generate doxygen PDF documentation
  --enable-mclib                 Compile shared library libmc.so [no]
  --disable-largefile            omit support for large files
  --disable-nls                  do not use Native Language Support
  --disable-rpath                do not hardcode runtime library paths
  --disable-vfs                  Disable VFS
  --enable-vfs-cpio              Support for cpio filesystem [yes]
  --enable-vfs-tar               Support for tar filesystem [yes]
  --enable-vfs-sfs               Support for sfs filesystem [yes]
  --enable-vfs-extfs             Support for extfs filesystem [yes]
  --enable-vfs-undelfs           Support for ext2 undelete filesystem [no]
  --enable-vfs-ftp               Support for FTP filesystem [yes]
  --enable-vfs-fish              Support for FISH filesystem [yes]
  --enable-vfs-smb               Support for SMB filesystem [no]
  --enable-background            Support for background file operations [yes]
  --enable-charset               Support for charset selection and conversion [yes]
  --enable-werror                Handle all compiler warnings as errors
  --enable-tests                 Enable unit tests (see http://check.sourceforge.net/)


Optional Packages:
  --with-PACKAGE[=ARG]           use PACKAGE [ARG=yes]
  --without-PACKAGE              do not use PACKAGE (same as --with-PACKAGE=no)
  --with-pic                     try to use only PIC/non-PIC objects [default=use both]
  --with-gnu-ld                  assume the C compiler uses GNU ld [default=no]
  --with-sysroot=DIR             Search for dependent libraries within DIR
                                 (or the compiler's sysroot if not specified).
  --with-glib-static             Link glib statically [no]
  --with-mmap                    Use the mmap call [yes if found]
  --with-gnu-ld                  assume the C compiler uses GNU ld default=no
  --with-libiconv-prefix[=DIR]   search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix      don't search for libiconv in includedir and libdir
  --with-included-gettext        use the GNU gettext library included here
  --with-libintl-prefix[=DIR]    search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix       don't search for libintl in includedir and libdir
  --with-x                       use the X Window System
  --with-smb-configdir=DIR       Where to put configuration files
  --with-smb-codepagedir=DIR     Where to put codepage files
  --with-gpm-mouse               Compile with gpm mouse support (Linux only) [yes if found]
  --with-search-engine=type      Select low-level search engine (since glib >= 2.14) [glib|pcre]
  --with-pcre[=prefix]           Compile pcre part (via libpcre check)
  --with-subshell                Compile in concurrent subshell [yes]
  --with-subshell=optional       Don't run concurrent shell by default [no]
  --with-screen=LIB              Compile with screen library: slang or
                                 ncurses [slang if found]
  --with-slang-includes=[DIR]    set path to SLANG includes [default=/usr/include];
                                 make sense only if --with-screen=slang
  --with-slang-libs=[DIR]        set path to SLANG library [default=/usr/lib]; make
                                 sense only if --with-screen=slang
  --with-ncurses-includes=[DIR]  set path to ncurses includes [default=/usr/include];
                                 make sense only if --with-screen=ncurses; for
                                 /usr/local/include/ncurses specify /usr/local/include
  --with-ncurses-libs=[DIR]      set path to ncurses library [default=/usr/lib]; make
                                 sense only if --with-screen=ncurses
  --with-edit                    Enable internal editor [yes]
  --with-diff-viewer             Compile with diff viewer [yes]
  --with-homedir                 Choose any place of user settings relative to home
                                 dir, or XDG for respect XDG standards [XDG]

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>
  LIBS                           libraries to pass to the linker, e.g. -l<library>
  CPPFLAGS                       (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                                 you have headers in a nonstandard directory <include dir>
  CPP                            C preprocessor
  PKG_CONFIG                     path to pkg-config utility
  PKG_CONFIG_PATH                directories to add to pkg-config's search path
  PKG_CONFIG_LIBDIR              path overriding pkg-config's built-in search path
  DOXYGEN_PAPER_SIZE             a4wide (default), a4, letter, legal or executive
  GLIB_CFLAGS                    C compiler flags for GLIB, overriding pkg-config
  GLIB_LIBS                      linker flags for GLIB, overriding pkg-config
  XMKMF                          Path to xmkmf, Makefile generator for X Window System
  GMODULE_CFLAGS                 C compiler flags for GMODULE, overriding pkg-config
  GMODULE_LIBS                   linker flags for GMODULE, overriding pkg-config
  SLANG_CFLAGS                   C compiler flags for SLANG, overriding pkg-config
  SLANG_LIBS                     linker flags for SLANG, overriding pkg-config
  CHECK_CFLAGS                   C compiler flags for CHECK, overriding pkg-config
  CHECK_LIBS                     linker flags for CHECK, overriding pkg-config

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

Report bugs to the package provider.