Autotools Options

The most up-to-date options can be found with ./configure --help.

Autotools configure script options

Disable use of the NVML headers.
Flag Explanation
--enable-static[=PKGS] Build static libraries. [default=yes]
--enable-dependency-tracking Do not reject slow dependency extractors.
--disable-dependency-tracking Speeds up one-time build.
--enable-silent-rules Less verbose build output (undo: "make V=1").
--disable-silent-rules Verbose build output (undo: "make V=0").
--disable-maintainer-mode Disable make rules and dependencies not useful (and sometimes confusing) to the casual installer.
--enable-shared[=PKGS] Build shared libraries. [default=yes]
--enable-fast-install[=PKGS] Optimize for fast installation. [default=yes]
--enable-gc-unused Enable garbage collection of unused program segments. This option significantly reduces the size of the final build artifacts. [default=no]
--disable-libtool-lock Avoid locking. Note that this might break parallel builds.
--disable-bundled Configures Mesos to build against preinstalled dependencies instead of bundled libraries.
--disable-bundled-pip Excludes building and using the bundled pip package in lieu of an installed version in PYTHONPATH.
--disable-bundled-setuptools Excludes building and using the bundled setuptools package in lieu of an installed version in PYTHONPATH.
--disable-bundled-wheel Excludes building and using the bundled wheel package in lieu of an installed version in PYTHONPATH.
--enable-debug Whether debugging is enabled. If CFLAGS/CXXFLAGS are set, this option won't change them. [default=no]
--enable-install-module-dependencies Install third-party bundled dependencies required for module development. [default=no]
--disable-java Don't build Java bindings.
--enable-libevent Use libevent instead of libev for the libprocess event loop. Note that the libevent version 2+ development package is required. [default=no]
--disable-use-nvml
--enable-optimize Whether optimizations are enabled. If CFLAGS/CXXFLAGS are set, this option won't change them. [default=no]
--enable-perftools Whether profiling with Google perftools is enabled. [default=no]
--enable-parallel-test-execution Whether to attempt to run tests in parallel.
--enable-new-cli Whether to build the new Python CLI. This option requires Python 3 which can be set using the PYTHON_3 environment variable. [default=no]
--disable-python Don't build Python bindings.
--disable-python-dependency-install When the python packages are installed during make install, no external dependencies will be downloaded or installed.
--enable-ssl Enable SSL for libprocess communication. [default=no]
--enable-static-unimplemented Generate static assertion errors for unimplemented functions. [default=no]
--enable-tests-install Build and install tests and their helper tools. [default=no]
--enable-xfs-disk-isolator Builds the XFS disk isolator. [default=no]
--disable-zlib Disables zlib compression, which means the webui will be far less responsive; not recommended.
--enable-lock-free-event-queue Enables the lock-free event queue to be used in libprocess which greatly improves message passing performance!
--disable-werror Disables treating compiler warnings as fatal errors.

Autotools configure script optional package flags

Flag Explanation
--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-apr[=DIR] Specify where to locate the apr-1 library.
--with-boost[=DIR] Excludes building and using the bundled Boost package in lieu of an installed version at a location prefixed by the given path.
--with-concurrentqueue[=DIR] Excludes building and using the bundled concurrentqueue package in lieu of an installed version at a location prefixed by the given path.
--with-curl[=DIR] Specify where to locate the curl library.
--with-elfio[=DIR] Excludes building and using the bundled ELFIO package in lieu of an installed version at a location prefixed by the given path.
--with-glog[=DIR] excludes building and using the bundled glog package in lieu of an installed version at a location prefixed by the given path.
--with-gmock[=DIR] Excludes building and using the bundled gmock package in lieu of an installed version at a location prefixed by the given path.
--with-http-parser[=DIR] Excludes building and using the bundled http-parser package in lieu of an installed version at a location prefixed by the given path.
--with-leveldb[=DIR] Excludes building and using the bundled LevelDB package in lieu of an installed version at a location prefixed by the given path.
--with-libev[=DIR] Excludes building and using the bundled libev package in lieu of an installed version at a location prefixed by the given path.
--with-libevent[=DIR] Specify where to locate the libevent library.
--with-libprocess[=DIR] Specify where to locate the libprocess library.
--with-network-isolator Builds the network isolator.
--with-nl[=DIR] Specify where to locate the libnl3 library, which is required for the network isolator.
--with-nvml[=DIR] Excludes building and using the bundled NVML headers in lieu of an installed version at a location prefixed by the given path.
--with-picojson[=DIR] Excludes building and using the bundled picojson package in lieu of an installed version at a location prefixed by the given path.
--with-protobuf[=DIR] Excludes building and using the bundled protobuf package in lieu of an installed version at a location prefixed by the given path.
--with-sasl[=DIR] Specify where to locate the sasl2 library.
--with-ssl[=DIR] Specify where to locate the ssl library.
--with-stout[=DIR] Specify where to locate stout library.
--with-svn[=DIR] Specify where to locate the svn-1 library.
--with-zlib[=DIR] Specify where to locate the zlib library.
--with-zookeeper[=DIR] Excludes building and using the bundled ZooKeeper package in lieu of an installed version at a location prefixed by the given path.

Environment variables which affect the Autotools configure script

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

Variable Explanation
JAVA_HOME Location of Java Development Kit (JDK).
JAVA_CPPFLAGS Preprocessor flags for JNI.
JAVA_JVM_LIBRARY Full path to libjvm.so.
MAVEN_HOME Looks for mvn at MAVEN_HOME/bin/mvn.
PROTOBUF_JAR Full path to protobuf jar on prefixed builds.
PYTHON Which Python 2 interpreter to use.
PYTHON_VERSION The installed Python 2 version to use, for example '2.3'. This string will be appended to the Python 2 interpreter canonical name.
PYTHON_3 Which Python 3 interpreter to use.
PYTHON_3_VERSION The installed Python 3 version to use, for example '3.6'. This string will be appended to the Python 3 interpreter canonical name.