400 lines
20 KiB
Plaintext
400 lines
20 KiB
Plaintext
`configure' configures xorg-server 21.1.4 to adapt to many kinds of systems.
|
|
|
|
Usage: ./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/xorg-server]
|
|
--htmldir=DIR html documentation [DOCDIR]
|
|
--dvidir=DIR dvi documentation [DOCDIR]
|
|
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
--psdir=DIR ps documentation [DOCDIR]
|
|
|
|
Program names:
|
|
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
|
|
|
|
System types:
|
|
--build=BUILD configure for building on BUILD [guessed]
|
|
--host=HOST cross-compile to build programs to run on HOST [BUILD]
|
|
|
|
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-dependency-tracking
|
|
do not reject slow dependency extractors
|
|
--disable-dependency-tracking
|
|
speeds up one-time build
|
|
--disable-selective-werror
|
|
Turn off selective compiler errors. (default:
|
|
enabled)
|
|
--enable-strict-compilation
|
|
Enable all warnings from compiler and make them
|
|
errors (default: disabled)
|
|
--enable-docs Enable building the documentation (default: yes)
|
|
--enable-devel-docs Enable building the developer documentation
|
|
(default: yes)
|
|
--enable-unit-tests Enable building unit test cases (default: auto)
|
|
--enable-static[=PKGS] build static libraries [default=no]
|
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
|
--enable-fast-install[=PKGS]
|
|
optimize for fast installation [default=yes]
|
|
--disable-libtool-lock avoid locking (might break parallel builds)
|
|
--disable-largefile omit support for large files
|
|
--enable-agp Enable AGP support (default: auto)
|
|
--enable-werror Obsolete - use --enable-strict-compilation instead
|
|
--enable-debug Enable debugging (default: disabled)
|
|
--enable-listen-tcp Listen on TCP by default (default:disabled)
|
|
--disable-listen-unix Listen on Unix by default (default:enabled)
|
|
--disable-listen-local Listen on local by default (default:enabled)
|
|
--enable-sparkle Enable updating of X11.app using the Sparkle
|
|
Framework (default: disabled)
|
|
--enable-visibility Enable symbol visibility (default: auto)
|
|
--disable-composite Build Composite extension (default: enabled)
|
|
--disable-mitshm Build SHM extension (default: auto)
|
|
--disable-xres Build XRes extension (default: enabled)
|
|
--disable-record Build Record extension (default: enabled)
|
|
--disable-xv Build Xv extension (default: enabled)
|
|
--disable-xvmc Build XvMC extension (default: enabled)
|
|
--disable-dga Build DGA extension (default: auto)
|
|
--disable-screensaver Build ScreenSaver extension (default: enabled)
|
|
--disable-xdmcp Build XDMCP extension (default: auto)
|
|
--disable-xdm-auth-1 Build XDM-Auth-1 extension (default: auto)
|
|
--disable-glx Build GLX extension (default: enabled)
|
|
--enable-dri Build DRI extension (default: auto)
|
|
--enable-dri2 Build DRI2 extension (default: auto)
|
|
--enable-dri3 Build DRI3 extension (default: auto)
|
|
--disable-present Build Present extension (default: enabled)
|
|
--disable-xinerama Build Xinerama extension (default: enabled)
|
|
--disable-xf86vidmode Build XF86VidMode extension (default: auto)
|
|
--disable-xace Build X-ACE extension (default: enabled)
|
|
--enable-xselinux Build SELinux extension (default: disabled)
|
|
--enable-xcsecurity Build Security extension (default: disabled)
|
|
--disable-dbe Build DBE extension (default: enabled)
|
|
--enable-xf86bigfont Build XF86 Big Font extension (default: disabled)
|
|
--disable-dpms Build DPMS extension (default: enabled)
|
|
--enable-config-udev Build udev support (default: auto)
|
|
--enable-config-udev-kms
|
|
Build udev kms support (default: auto)
|
|
--disable-config-hal Build HAL support (default: auto)
|
|
--enable-config-wscons Build wscons config support (default: auto)
|
|
--enable-xfree86-utils Build xfree86 DDX utilities (default: enabled)
|
|
--enable-vgahw Build Xorg with vga access (default: enabled)
|
|
--enable-int10-module Build Xorg with int10 module (default: enabled)
|
|
--enable-windowsdri Build XWin with WindowsDRI extension (default: auto)
|
|
--enable-libdrm Build Xorg with libdrm support (default: enabled)
|
|
--disable-clientids Build Xorg with client ID tracking (default:
|
|
enabled)
|
|
--enable-pciaccess Build Xorg with pciaccess library (default: enabled)
|
|
--disable-linux-acpi Disable building ACPI support on Linux (if
|
|
available).
|
|
--disable-linux-apm Disable building APM support on Linux (if
|
|
available).
|
|
--enable-systemd-logind Build systemd-logind support (default: auto)
|
|
--enable-suid-wrapper Build suid-root wrapper for legacy driver support on
|
|
rootless xserver systems (default: no)
|
|
--enable-xorg Build Xorg server (default: auto)
|
|
--enable-xvfb Build Xvfb server (default: yes)
|
|
--enable-xnest Build Xnest server (default: auto)
|
|
--enable-xquartz Build Xquartz server for OS-X (default: auto)
|
|
--enable-standalone-xpbproxy
|
|
Build a standalone xpbproxy (in addition to the one
|
|
integrated into Xquartz as a separate thread)
|
|
(default: no)
|
|
--enable-xwin Build XWin server (default: auto)
|
|
--enable-glamor Build glamor dix module (default: auto)
|
|
--enable-xf86-input-inputtest
|
|
Build Xorg test input driver (default: yes)
|
|
--enable-kdrive Build kdrive servers (default: no)
|
|
--enable-xephyr Build the kdrive Xephyr server (default: auto)
|
|
--enable-libunwind Use libunwind for backtracing (default: auto)
|
|
--disable-xshmfence Disable xshmfence (default: auto)
|
|
--enable-install-setuid Install Xorg server as owned by root with setuid bit
|
|
(default: auto)
|
|
--enable-unix-transport Enable UNIX domain socket transport
|
|
--enable-tcp-transport Enable TCP socket transport
|
|
--enable-ipv6 Enable IPv6 support
|
|
--enable-local-transport
|
|
Enable os-specific local transport
|
|
--enable-secure-rpc Enable Secure RPC
|
|
--enable-input-thread Enable input threads
|
|
--disable-xtrans-send-fds
|
|
Use Xtrans support for fd passing (default: auto)
|
|
|
|
Optional Packages:
|
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
--with-doxygen Use doxygen to regenerate documentation (default:
|
|
auto)
|
|
--with-xmlto Use xmlto to regenerate documentation (default:
|
|
auto)
|
|
--with-fop Use fop to regenerate documentation (default: auto)
|
|
--with-xsltproc Use xsltproc for the transformation of XML documents
|
|
(default: auto)
|
|
--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-dtrace=PATH Enable dtrace probes (default: enabled if dtrace
|
|
found)
|
|
--with-int10=BACKEND int10 backend: vm86, x86emu or stub
|
|
--with-vendor-name=VENDOR
|
|
Vendor string reported by the server
|
|
--with-vendor-name-short=VENDOR
|
|
Short version of vendor string reported by the
|
|
server
|
|
--with-vendor-web=URL Vendor web address reported by the server
|
|
--with-module-dir=DIR Directory where modules are installed (default:
|
|
$libdir/xorg/modules)
|
|
--with-log-dir=DIR Directory where log files are kept (default:
|
|
$localstatedir/log)
|
|
--with-builder-addr=ADDRESS
|
|
Builder address (default:
|
|
xorg@lists.freedesktop.org)
|
|
--with-builderstring=BUILDERSTRING
|
|
Additional builder string
|
|
--with-fallback-input-driver=$FALLBACK_INPUT_DRIVER
|
|
Input driver fallback if the requested driver for a
|
|
device is unavailable
|
|
--with-fontrootdir=DIR Path to root directory for font files
|
|
--with-fontmiscdir=DIR Path to misc files [FONTROOTDIR/misc]
|
|
--with-fontotfdir=DIR Path to OTF files [FONTROOTDIR/OTF]
|
|
--with-fontttfdir=DIR Path to TTF files [FONTROOTDIR/TTF]
|
|
--with-fonttype1dir=DIR Path to Type1 files [FONTROOTDIR/Type1]
|
|
--with-font75dpidir=DIR Path to 75dpi files [FONTROOTDIR/75dpi]
|
|
--with-font100dpidir=DIR
|
|
Path to 100dpi files [FONTROOTDIR/100dpi]
|
|
--with-default-font-path=PATH
|
|
Comma separated list of font dirs
|
|
--with-xkb-path=PATH Path to XKB base dir (default: auto)
|
|
--with-xkb-output=PATH Path to XKB output dir (default:
|
|
${datadir}/X11/xkb/compiled)
|
|
--with-default-xkb-rules=RULES
|
|
Keyboard ruleset (default: base/evdev)
|
|
--with-default-xkb-model=MODEL
|
|
Keyboard model (default: pc105)
|
|
--with-default-xkb-layout=LAYOUT
|
|
Keyboard layout (default: us)
|
|
--with-default-xkb-variant=VARIANT
|
|
Keyboard variant (default: (none))
|
|
--with-default-xkb-options=OPTIONS
|
|
Keyboard layout options (default: (none))
|
|
--with-serverconfig-path=PATH
|
|
Directory where ancillary server config files are
|
|
installed (default: ${libdir}/xorg)
|
|
--with-apple-applications-dir=PATH
|
|
Path to the Applications directory (default:
|
|
/Applications/Utilities)
|
|
--with-apple-application-name=NAME
|
|
Name for the .app (default: X11)
|
|
--with-bundle-id-prefix=RDNS_PREFIX
|
|
Prefix to use for bundle identifiers (default:
|
|
org.x)
|
|
--with-bundle-version=VERSION
|
|
Version to use for X11.app's CFBundleVersion
|
|
(default: 21.1.4)
|
|
--with-bundle-version-string=VERSION
|
|
Version to use for X11.app's
|
|
CFBundleShortVersionString (default: 21.1.4)
|
|
--with-sparkle-feed-url=URL
|
|
URL for the Sparkle feed (default:
|
|
https://www.xquartz.org/releases/sparkle/release.xml)
|
|
--with-khronos-spec-dir=PATH
|
|
Path to Khronos OpenGL registry database files
|
|
(default: auto)
|
|
--with-systemd-daemon support systemd socket activation (default: auto)
|
|
--with-xkb-bin-directory=DIR
|
|
Directory containing xkbcomp program (default: auto)
|
|
--with-sha1=libc|libmd|libnettle|libgcrypt|libcrypto|libsha1|CommonCrypto|CryptoAPI
|
|
choose SHA1 implementation
|
|
|
|
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 Path to doxygen command
|
|
DOT Path to the dot graphics utility
|
|
XMLTO Path to xmlto command
|
|
FOP Path to fop command
|
|
XSLTPROC Path to xsltproc command
|
|
XORG_MALLOC_DEBUG_ENV
|
|
Environment variables to enable memory checking in tests
|
|
CCAS assembler compiler command (defaults to CC)
|
|
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
|
|
LT_SYS_LIBRARY_PATH
|
|
User-defined run-time library search path.
|
|
YACC The `Yet Another Compiler Compiler' implementation to use.
|
|
Defaults to the first program found out of: `bison -y', `byacc',
|
|
`yacc'.
|
|
YFLAGS The list of arguments that will be passed by default to $YACC.
|
|
This script will default YFLAGS to the empty string to avoid a
|
|
default value of `-d' given by some make applications.
|
|
PIXMAN_CFLAGS
|
|
C compiler flags for PIXMAN, overriding pkg-config
|
|
PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
|
|
SYSTEMD_DAEMON_CFLAGS
|
|
C compiler flags for SYSTEMD_DAEMON, overriding pkg-config
|
|
SYSTEMD_DAEMON_LIBS
|
|
linker flags for SYSTEMD_DAEMON, overriding pkg-config
|
|
UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config
|
|
UDEV_LIBS linker flags for UDEV, overriding pkg-config
|
|
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
|
|
DBUS_LIBS linker flags for DBUS, overriding pkg-config
|
|
HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
|
|
HAL_LIBS linker flags for HAL, overriding pkg-config
|
|
DRI2PROTO_CFLAGS
|
|
C compiler flags for DRI2PROTO, overriding pkg-config
|
|
DRI2PROTO_LIBS
|
|
linker flags for DRI2PROTO, overriding pkg-config
|
|
DRI3PROTO_CFLAGS
|
|
C compiler flags for DRI3PROTO, overriding pkg-config
|
|
DRI3PROTO_LIBS
|
|
linker flags for DRI3PROTO, overriding pkg-config
|
|
XSHMFENCE_CFLAGS
|
|
C compiler flags for XSHMFENCE, overriding pkg-config
|
|
XSHMFENCE_LIBS
|
|
linker flags for XSHMFENCE, overriding pkg-config
|
|
LIBDRM_CFLAGS
|
|
C compiler flags for LIBDRM, overriding pkg-config
|
|
LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config
|
|
XLIB_CFLAGS C compiler flags for XLIB, overriding pkg-config
|
|
XLIB_LIBS linker flags for XLIB, overriding pkg-config
|
|
GL_CFLAGS C compiler flags for GL, overriding pkg-config
|
|
GL_LIBS linker flags for GL, overriding pkg-config
|
|
SELINUX_CFLAGS
|
|
C compiler flags for SELINUX, overriding pkg-config
|
|
SELINUX_LIBS
|
|
linker flags for SELINUX, overriding pkg-config
|
|
XDMCP_CFLAGS
|
|
C compiler flags for XDMCP, overriding pkg-config
|
|
XDMCP_LIBS linker flags for XDMCP, overriding pkg-config
|
|
LIBSHA1_CFLAGS
|
|
C compiler flags for LIBSHA1, overriding pkg-config
|
|
LIBSHA1_LIBS
|
|
linker flags for LIBSHA1, overriding pkg-config
|
|
OPENSSL_CFLAGS
|
|
C compiler flags for OPENSSL, overriding pkg-config
|
|
OPENSSL_LIBS
|
|
linker flags for OPENSSL, overriding pkg-config
|
|
XSERVERCFLAGS_CFLAGS
|
|
C compiler flags for XSERVERCFLAGS, overriding pkg-config
|
|
XSERVERCFLAGS_LIBS
|
|
linker flags for XSERVERCFLAGS, overriding pkg-config
|
|
XSERVERLIBS_CFLAGS
|
|
C compiler flags for XSERVERLIBS, overriding pkg-config
|
|
XSERVERLIBS_LIBS
|
|
linker flags for XSERVERLIBS, overriding pkg-config
|
|
LIBUNWIND_CFLAGS
|
|
C compiler flags for LIBUNWIND, overriding pkg-config
|
|
LIBUNWIND_LIBS
|
|
linker flags for LIBUNWIND, overriding pkg-config
|
|
XNESTMODULES_CFLAGS
|
|
C compiler flags for XNESTMODULES, overriding pkg-config
|
|
XNESTMODULES_LIBS
|
|
linker flags for XNESTMODULES, overriding pkg-config
|
|
LIBXCVT_CFLAGS
|
|
C compiler flags for LIBXCVT, overriding pkg-config
|
|
LIBXCVT_LIBS
|
|
linker flags for LIBXCVT, overriding pkg-config
|
|
PCIACCESS_CFLAGS
|
|
C compiler flags for PCIACCESS, overriding pkg-config
|
|
PCIACCESS_LIBS
|
|
linker flags for PCIACCESS, overriding pkg-config
|
|
DGA_CFLAGS C compiler flags for DGA, overriding pkg-config
|
|
DGA_LIBS linker flags for DGA, overriding pkg-config
|
|
XORG_MODULES_CFLAGS
|
|
C compiler flags for XORG_MODULES, overriding pkg-config
|
|
XORG_MODULES_LIBS
|
|
linker flags for XORG_MODULES, overriding pkg-config
|
|
GLAMOR_CFLAGS
|
|
C compiler flags for GLAMOR, overriding pkg-config
|
|
GLAMOR_LIBS linker flags for GLAMOR, overriding pkg-config
|
|
GBM_CFLAGS C compiler flags for GBM, overriding pkg-config
|
|
GBM_LIBS linker flags for GBM, overriding pkg-config
|
|
XWINMODULES_CFLAGS
|
|
C compiler flags for XWINMODULES, overriding pkg-config
|
|
XWINMODULES_LIBS
|
|
linker flags for XWINMODULES, overriding pkg-config
|
|
WINDOWSDRI_CFLAGS
|
|
C compiler flags for WINDOWSDRI, overriding pkg-config
|
|
WINDOWSDRI_LIBS
|
|
linker flags for WINDOWSDRI, overriding pkg-config
|
|
KHRONOS_OPENGL_REGISTRY_CFLAGS
|
|
C compiler flags for KHRONOS_OPENGL_REGISTRY, overriding
|
|
pkg-config
|
|
KHRONOS_OPENGL_REGISTRY_LIBS
|
|
linker flags for KHRONOS_OPENGL_REGISTRY, overriding pkg-config
|
|
XPBPROXY_CFLAGS
|
|
C compiler flags for XPBPROXY, overriding pkg-config
|
|
XPBPROXY_LIBS
|
|
linker flags for XPBPROXY, overriding pkg-config
|
|
XEPHYR_CFLAGS
|
|
C compiler flags for XEPHYR, overriding pkg-config
|
|
XEPHYR_LIBS linker flags for XEPHYR, 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 <https://gitlab.freedesktop.org/xorg/xserver/issues>.
|