250 lines
13 KiB
Text
250 lines
13 KiB
Text
`configure' configures subversion 1.14.2 to adapt to many kinds of systems.
|
|
|
|
Usage: src/subversion-1.14.2/configure [OPTION]... [VAR=VALUE]...
|
|
|
|
To assign environment variables (e.g., CC, CFLAGS...), specify them as
|
|
VAR=VALUE. See below for descriptions of some of the useful variables.
|
|
|
|
Defaults for the options are specified in brackets.
|
|
|
|
Configuration:
|
|
-h, --help display this help and exit
|
|
--help=short display options specific to this package
|
|
--help=recursive display the short help of all the included packages
|
|
-V, --version display version information and exit
|
|
-q, --quiet, --silent do not print `checking ...' messages
|
|
--cache-file=FILE cache test results in FILE [disabled]
|
|
-C, --config-cache alias for `--cache-file=config.cache'
|
|
-n, --no-create do not create output files
|
|
--srcdir=DIR find the sources in DIR [configure dir or `..']
|
|
|
|
Installation directories:
|
|
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
[/usr/local]
|
|
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
[PREFIX]
|
|
|
|
By default, `make install' will install all the files in
|
|
`/usr/local/bin', `/usr/local/lib' etc. You can specify
|
|
an installation prefix other than `/usr/local' using `--prefix',
|
|
for instance `--prefix=$HOME'.
|
|
|
|
For better control, use the options below.
|
|
|
|
Fine tuning of the installation directories:
|
|
--bindir=DIR user executables [EPREFIX/bin]
|
|
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
|
|
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
--includedir=DIR C header files [PREFIX/include]
|
|
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
--docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
|
|
--htmldir=DIR html documentation [DOCDIR]
|
|
--dvidir=DIR dvi documentation [DOCDIR]
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
--psdir=DIR ps documentation [DOCDIR]
|
|
|
|
System types:
|
|
--build=BUILD configure for building on BUILD [guessed]
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|
--target=TARGET configure for building compilers for TARGET [HOST]
|
|
|
|
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-apache-whitelist=VER
|
|
Whitelist a particular Apache version number,
|
|
typically used to enable the use of a old version
|
|
patched by a distribution.
|
|
--enable-broken-httpd-auth
|
|
Force build against httpd 2.4 with broken auth.
|
|
(This is not recommended as Subversion will be
|
|
vulnerable to CVE-2015-3184.)
|
|
--enable-sqlite-compatibility-version=X.Y.Z
|
|
Allow binary to run against SQLite as old as ARG
|
|
--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)
|
|
--enable-experimental-libtool
|
|
Use APR's libtool
|
|
--enable-static Build static libraries
|
|
--enable-shared Build shared libraries
|
|
--enable-all-static Build completely static (standalone) binaries.
|
|
--enable-local-library-preloading
|
|
Enable preloading of locally built libraries in
|
|
locally built executables. This may be necessary for
|
|
testing prior to installation on some platforms. It
|
|
does not work on some platforms (Darwin, OpenBSD,
|
|
...).
|
|
--enable-bdb6 Allow building against BDB 6+. See
|
|
--with-berkeley-db for specifying the location of
|
|
the Berkeley DB installation. Using BDB 6 will fail
|
|
if this option is not used.
|
|
--disable-keychain Disable use of Mac OS KeyChain for auth credentials
|
|
--enable-ev2-impl Use Ev2 implementations, where available
|
|
[EXPERIMENTAL]
|
|
--disable-nls Disable gettext functionality
|
|
--enable-plaintext-password-storage
|
|
Enable on-disk caching of plaintext passwords and
|
|
passphrases. (Enabling this functionality will not
|
|
force Subversion to store passwords in plaintext,
|
|
but does permit users to explicitly allow that
|
|
behavior via runtime configuration.)
|
|
--enable-debug Turn on debugging
|
|
--enable-optimize Turn on optimizations
|
|
--enable-disallowing-of-undefined-references
|
|
Use -Wl,--no-undefined flag during linking of some
|
|
libraries to disallow undefined references
|
|
--enable-maintainer-mode
|
|
Turn on debugging and very strict compile-time
|
|
warnings
|
|
--disable-full-version-match
|
|
Disable the full version match rules when checking
|
|
Subversion library compatibility.
|
|
--enable-mod-activation Enable mod_dav_svn in httpd.conf
|
|
--enable-gcov Turn on gcov coverage testing (GCC only).
|
|
--enable-gprof Produce gprof profiling data in 'gmon.out' (GCC
|
|
only).
|
|
--enable-runtime-module-search
|
|
Turn on dynamic loading of RA/FS libraries including
|
|
third-party FS libraries
|
|
--enable-svnxx Enable compilation of the C++ bindings (requires
|
|
C++)
|
|
--enable-svnxx-tests Enable compilation of tests for the C++ bindings
|
|
(implies --enable-svnxx, requires Boost and
|
|
Boost.Test)
|
|
--enable-javahl Enable compilation of Java high-level bindings
|
|
(requires C++)
|
|
|
|
Optional Packages:
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
--with-apr=PATH prefix for installed APR or the full path to
|
|
apr-config
|
|
--with-apr-util=PATH prefix for installed APU or the full path to
|
|
apu-config
|
|
--with-serf=PREFIX Serf HTTP client library (enabled by default if
|
|
found)
|
|
--with-apr_memcache=PREFIX
|
|
Standalone apr_memcache client library
|
|
--with-apxs[=FILE] Build shared Apache modules. FILE is the optional
|
|
pathname to the Apache apxs tool; defaults to
|
|
"apxs".
|
|
--with-apache-libexecdir[=PATH]
|
|
Install Apache modules to Apache's configured
|
|
modules directory instead of LIBEXECDIR; if PATH is
|
|
given, install to PATH.
|
|
--with-sqlite=PREFIX Use installed SQLite library or amalgamation file.
|
|
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
|
|
both]
|
|
--with-aix-soname=aix|svr4|both
|
|
shared library versioning (aka "SONAME") variant to
|
|
provide on AIX, [default=aix].
|
|
--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-trang=PATH Specify the command to run the trang schema
|
|
converter
|
|
--with-doxygen=PATH Specify the command to run doxygen
|
|
--with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
|
|
Specify location of Expat
|
|
--with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
|
|
The Subversion Berkeley DB based filesystem library
|
|
requires Berkeley DB $db_version or $db_alt_version.
|
|
If you specify `--without-berkeley-db', that library
|
|
will not be built. If you omit the argument of this
|
|
option completely, the configure script will use
|
|
Berkeley DB used by APR-UTIL.
|
|
--with-sasl=PATH Compile with libsasl2 in PATH
|
|
--without-gpg-agent Disable support for GPG-Agent
|
|
--with-old-gnome-keyring
|
|
Enable old GNOME Keyring for auth credentials
|
|
(prefer --with-gnome-keyring)
|
|
--with-gnome-keyring Enable GNOME Keyring for auth credentials (enabled
|
|
by default if found)
|
|
--with-libmagic=PREFIX libmagic filetype detection library
|
|
--with-kwallet[=PATH|INCDIR:LIBDIR]
|
|
Enable use of KWallet (KDE 5 or 4) for auth
|
|
credentials. PATH is the KDE install path,
|
|
alternatively INCDIR:LIBDIR are the header and
|
|
library install paths.
|
|
--with-editor=PATH Specify a default editor for the subversion client.
|
|
--with-zlib=PREFIX zlib compression library
|
|
--with-lz4=PREFIX|internal
|
|
look for lz4 in PREFIX or use the internal code
|
|
--with-utf8proc=PREFIX|internal
|
|
look for utf8proc in PREFIX or use the internal code
|
|
--with-jdk=PATH Try to use 'PATH/include' to find the JNI headers.
|
|
If PATH is not specified, look for a Java
|
|
Development Kit at JAVA_HOME.
|
|
--with-jikes=PATH Deprecated. Provided for backward compatibility.
|
|
--with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
|
|
bindings. If PATH is not specified, look for a
|
|
'swig' binary in your PATH.
|
|
--with-py3c=PREFIX py3c python extension compatibility library
|
|
--with-ruby-sitedir=SITEDIR
|
|
install Ruby bindings in SITEDIR (default is same as
|
|
ruby's one)
|
|
--with-ruby-test-verbose=LEVEL
|
|
how to use output level for Ruby bindings tests
|
|
(default is normal)
|
|
--with-ctypesgen=PATH Specify the path to ctypesgen. This can either be
|
|
the full path to a ctypesgen installation, the full
|
|
path to a ctypesgen source tree or the full path to
|
|
ctypesgen.py.
|
|
--with-boost[=ARG] use Boost library from a standard location
|
|
(ARG=yes), from the specified location (ARG=<path>),
|
|
or disable it (ARG=no) [ARG=yes]
|
|
--with-boost-libdir=LIB_DIR
|
|
Force given directory for boost libraries. Note that
|
|
this will override library path detection, so use
|
|
this parameter only if default library detection
|
|
fails and you know exactly where your boost
|
|
libraries are located.
|
|
--with-boost-unit-test-framework[=special-lib]
|
|
use the Unit_Test_Framework library from boost - it
|
|
is possible to specify a certain library for the
|
|
linker e.g.
|
|
--with-boost-unit-test-framework=boost_unit_test_framework-gcc
|
|
--with-junit=PATH Specify a path to the junit JAR file.
|
|
|
|
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>
|
|
CXX C++ compiler command
|
|
CXXFLAGS C++ compiler flags
|
|
CPP C preprocessor
|
|
LT_SYS_LIBRARY_PATH
|
|
User-defined run-time library search path.
|
|
CXXCPP C++ preprocessor
|
|
PYTHON Python interpreter command
|
|
SWIG_FEATURES
|
|
SWIG feature flags common to all bindings
|
|
SWIG_RB_FEATURES
|
|
SWIG feature flags specific to Ruby bindings
|
|
SWIG_PL_FEATURES
|
|
SWIG feature flags specific to Perl bindings
|
|
SWIG_PY_FEATURES
|
|
SWIG feature flags specific to Python bindings
|
|
|
|
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 <http://subversion.apache.org/>.
|