autogen.sh - libreoffice configuration helper --with-distro use a config from distro-configs/ the name needs to be passed without extension --best-effort don't fail on un-known configure with/enable options Other arguments passed directly to configure: `configure' configures LibreOffice 7.0.4.2 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/libreoffice] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] X features: --x-includes=DIR X include files are in DIR --x-libraries=DIR X library files are in DIR 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-fuzz-options Randomly enable or disable each of those configurable options that are supposed to be freely selectable without interdependencies, or where bad interaction from interdependencies is automatically avoided. --enable-android-lok The Android app from the android/ subdir needs several tweaks all over the place that break the LOK when used in the Online-based Android app. This switch indicates that the intent of this build is actually the Online-based, non-modified LOK. --enable-android-editing Enable the experimental editing feature on Android. --enable-ios-simulator build i386 or x86_64 for ios simulator --enable-ios-libreofficelight-app When building for iOS, build stuff relevant only for the 'LibreOfficeLight' app (in ios/LibreOfficeLight). Note that this app is not known to work in any useful manner, and also that its actual build (in Xcode) requires some obvious modifications to the project. --disable-extension-integration Disable integration of the built extensions in the installer of the product. Use this switch to disable the integration. --disable-avmedia Disable displaying and inserting AV media in documents. Work in progress, use only if you are hacking on it. --disable-database-connectivity Disable various database connectivity. Work in progress, use only if you are hacking on it. --disable-extensions Disable all add-on extension functionality. Work in progress, use only if you are hacking on it. --disable-scripting Disable BASIC, Java and Python. Work in progress, use only if you are hacking on it. --disable-dynamic-loading Disable any use of dynamic loading of code. Work in progress, use only if you are hacking on it. --disable-report-builder Disable the Report Builder. --enable-ext-wiki-publisher Enable the Wiki Publisher extension. --disable-lpsolve Disable compilation of the lp solve solver --disable-coinmp Disable compilation of the CoinMP solver --disable-pdfimport Disable building the PDF import feature. --disable-pdfium Disable building PDFium. --disable-skia Disable building Skia. Use --enable-skia=debug to build without optimizations. --enable-mergelibs Merge several of the smaller libraries into one big, "merged", one. --enable-breakpad Enables breakpad for crash reporting. --disable-crashdump Disable dump.ini and dump-file, when --enable-breakpad --disable-fetch-external Disables fetching external tarballs from web sources. --enable-fuzzers Enables building libfuzzer targets for fuzz testing. --enable-pch= Enables precompiled header support for C++. Forced default on Windows/VC build. Using 'system' will include only external headers, 'base' will add also headers from base modules, 'normal' will also add all headers except from the module built, 'full' will use all suitable headers even from a module itself. --enable-epm LibreOffice includes self-packaging code, that requires epm, however epm is useless for large scale package building. --disable-odk LibreOffice includes an ODK, office development kit which some packagers may wish to build without. --enable-mpl-subset Don't compile any pieces which are not MPL or more liberally licensed --enable-evolution2 Allows the built-in evolution 2 addressbook connectivity build to be enabled. --enable-avahi Determines whether to use Avahi to advertise Impress to remote controls. --enable-werror Turn warnings to errors. (Has no effect in modules where the treating of warnings as errors is disabled explicitly.) --enable-assert-always-abort make assert() failures abort even when building without --enable-debug or --enable-dbgutil. --enable-dbgutil Provide debugging support from --enable-debug and include additional debugging utilities such as object counting or more expensive checks. This is the recommended option for developers. Note that this makes the build ABI incompatible, it is not possible to mix object files or libraries from a --enable-dbgutil and a --disable-dbgutil build. --enable-debug Include debugging information, disable compiler optimization and inlining plus extra debugging code like assertions. Extra large build! (enables -g compiler flag). --disable-split-debug Disable using split debug information (-gsplit-dwarf compile flag). Split debug information saves disk space and build time, but requires tools that support it (both build tools and debuggers). --disable-gdb-index Disables creating debug information in the gdb index format, which makes gdb start faster. The feature requires the gold or lld linker. --enable-sal-log Make SAL_INFO and SAL_WARN calls do something even in a non-debug build. --enable-symbols Generate debug information. By default, enabled for --enable-debug and --enable-dbgutil, disabled otherwise. It is possible to explicitly specify gbuild build targets (where 'all' means everything, '-' prepended means to not enable, '/' appended means everything in the directory; there is no ordering, more specific overrides more general, and disabling takes precedence). Example: --enable-symbols="all -sw/ -Library_sc". --enable-optimized= Whether to compile with optimization flags. By default, disabled for --enable-debug and --enable-dbgutil, enabled otherwise. Using 'debug' will try to use only optimizations that should not interfere with debugging. --disable-runtime-optimizations Statically disable certain runtime optimizations (like rtl/alloc.h or JVM JIT) that are known to interact badly with certain dynamic analysis tools (like -fsanitize=address or Valgrind). By default, disabled iff CC contains "-fsanitize=*". (For Valgrind, those runtime optimizations are typically disabled dynamically via RUNNING_ON_VALGRIND.) --enable-compiler-plugins Enable compiler plugins that will perform additional checks during building. Enabled automatically by --enable-dbgutil. Use --enable-compiler-plugins=debug to also enable debug code in the plugins. --disable-compiler-plugins-analyzer-pch Disable use of precompiled headers when running the Clang compiler plugin analyzer. Not relevant in the --disable-compiler-plugins case. --disable-ooenv Disable ooenv for the instdir installation. --disable-libnumbertext Disable use of numbertext external library. --enable-lto Enable link-time optimization. Suitable for (optimised) product builds. Building might take longer but libraries and executables are optimized for speed. For GCC, best to use the 'gold' linker. For MSVC, this option is broken at the moment. This is experimental work in progress that shouldn't be used unless you are working on it.) --enable-python= Enables or disables Python support at run-time. Also specifies what Python to use at build-time. 'fully-internal' even forces the internal version for uses of Python during the build. On macOS the only choices are 'internal' (default) or 'fully-internal'. Otherwise the default is 'auto'. --disable-gtk3 Determines whether to use Gtk+ 3.0 vclplug on platforms where Gtk+ 3.0 is available. --enable-introspection Generate files for GObject introspection. Requires --enable-gtk3. (Typically used by Linux distributions.) --enable-split-app-modules Split file lists for app modules, e.g. base, calc. Has effect only with make distro-pack-install --enable-split-opt-features Split file lists for some optional features, e.g. pyuno, testtool. Has effect only with make distro-pack-install --disable-cairo-canvas Determines whether to build the Cairo canvas on platforms where Cairo is available. --disable-dbus Determines whether to enable features that depend on dbus. e.g. Presentation mode screensaver control, bluetooth presentation control, automatic font install --disable-sdremote Determines whether to enable Impress remote control (i.e. the server component). --disable-sdremote-bluetooth Determines whether to build sdremote with bluetooth support. Requires dbus on Linux. --disable-gio Determines whether to use the GIO support. --enable-qt5 Determines whether to use Qt5 vclplug on platforms where Qt5 is available. --enable-kf5 Determines whether to use Qt5/KF5 vclplug on platforms where Qt5 and KF5 are available. --enable-kde5 Compatibility switch for the kde5 => kf5 rename. Use --enable-kf5! --enable-gtk3-kde5 Determines whether to use Gtk3 vclplug with KF5 file dialogs on platforms where Gtk3, Qt5 and Plasma is available. --disable-gui Disable use of X11 or Wayland to reduce dependencies (e.g. for building LibreOfficeKit). --disable-randr Disable RandR support in the vcl project. --disable-gstreamer-1-0 Disable building with the gstreamer 1.0 avmedia backend. --enable-vlc Enable building with the (experimental) VLC avmedia backend. --disable-neon Disable neon and the compilation of webdav binding. --enable-eot Enable support for Embedded OpenType fonts. --disable-cve-tests Prevent CVE tests to be executed --enable-chart-tests Executes chart XShape tests. In a perfect world these tests would be stable and everyone could run them, in reality it is best to run them only on a few machines that are known to work and maintained by people who can judge if a test failure is a regression or not. --enable-build-unowinreg Do not use the prebuilt unowinreg.dll. Build it instead. The MinGW C++ compiler is needed on Linux. --enable-build-opensymbol Do not use the prebuilt opens___.ttf. Build it instead. This needs fontforge installed. --enable-dependency-tracking Do not reject slow dependency extractors. --disable-dependency-tracking Disables generation of dependency information. Speed up one-time builds. --enable-icecream Use the 'icecream' distributed compiling tool to speedup the compilation. It defaults to /opt/icecream for the location of the icecream gcc/g++ wrappers, you can override that using --with-gcc-home=/the/path switch. --enable-ld= Use the specified linker. Both 'gold' and 'lld' linkers generally use less memory and link faster. By default tries to use the best linker possible, use --disable-ld to use the default linker. --disable-cups Do not build cups support. --disable-ccache Do not try to use ccache automatically. By default, unless on Windows, we will try to detect if ccache is available; in that case if CC/CXX are not yet set, and --enable-icecream is not given, we attempt to use ccache. --disable-ccache disables ccache completely. Additionally ccache's depend mode is enabled if possible, use --enable-ccache=nodepend to enable ccache without depend mode. --enable-64-bit Build a 64-bit LibreOffice on platforms where the normal build is 32-bit. At the moment meaningful only for Windows. --enable-online-update Enable the online update service that will check for new versions of LibreOffice. By default, it is enabled on Windows and Mac, disabled on Linux. If the value is "mar", the experimental Mozilla-like update will be enabled instead of the traditional update mechanism. --disable-extension-update Disable possibility to update installed extensions. --enable-release-build Enable release build. Note that the "release build" choice is orthogonal to whether symbols are present, debug info is generated, or optimization is done. See http://wiki.documentfoundation.org/Development/DevBuild --enable-windows-build-signing Enable signing of windows binaries (*.exe, *.dll) --enable-silent-msi Enable MSI with LIMITUI=1 (silent install). --enable-macosx-code-signing= Sign executables, dylibs, frameworks and the app bundle. If you don't provide an identity the first suitable certificate in your keychain is used. --enable-macosx-package-signing= Create a .pkg suitable for uploading to the Mac App Store and sign it. If you don't provide an identity the first suitable certificate in your keychain is used. --enable-macosx-sandbox Make the app bundle run in a sandbox. Requires code signing. Is required by apps distributed in the Mac App Store, and implies adherence to App Store rules. --enable-readonly-installset Prevents any attempts by LibreOffice to write into its installation. That means at least that no "system-wide" extensions can be added. Partly experimental work in progress, probably not fully implemented. Always enabled for macOS. --disable-postgresql-sdbc Disable the build of the PostgreSQL-SDBC driver. --disable-lotuswordpro Disable the build of the Lotus Word Pro filter. --disable-firebird-sdbc Disable the build of the Firebird-SDBC driver if it doesn't compile for you. --enable-bogus-pkg-config MACOSX only: on MacOSX pkg-config can cause trouble. by default if one is found in the PATH, an error is issued. This flag turn that error into a warning. --disable-openssl Disable using libssl/libcrypto from OpenSSL. If disabled, components will either use GNUTLS or NSS. Work in progress, use only if you are hacking on it. --enable-cipher-openssl-backend Enable using OpenSSL as the actual implementation of the rtl/cipher.h functionality. Requires --enable-openssl. --enable-library-bin-tar Enable the building and reused of tarball of binary build for some 'external' libraries. Some libraries can save their build result in a tarball stored in TARFILE_LOCATION. That binary tarball is uniquely identified by the source tarball, the content of the config_host.mk file and the content of the top-level directory in core for that library If this option is enabled, then if such a tarfile exist, it will be untarred instead of the source tarfile, and the build step will be skipped for that library. If a proper tarfile does not exist, then the normal source-based build is done for that library and a proper binary tarfile is created for the next time. --disable-dconf Disable the dconf configuration backend (enabled by default where available). --enable-formula-logger Enable formula logger for logging formula calculation flow in Calc. --disable-ldap Disable LDAP support. --disable-poppler Disable building Poppler. --enable-bundle-mariadb When using MariaDB/MySQL libraries already on system, bundle them with the MariaDB Connector/LibreOffice. --disable-scripting-beanshell Disable support for scripts in BeanShell. --disable-scripting-javascript Disable support for scripts in JavaScript. --disable-qrcodegen Disable use of qrcodegen external library. --disable-largefile omit support for large files --enable-ext-ct2n Enable the ConvertTextToNumber extension --enable-ext-numbertext Enable the Numbertext extension --enable-ext-nlpsolver Enable the NLPSolver extension --enable-ext-languagetool Enable the LanguageTool extension Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-android-ndk Specify location of the Android Native Development Kit. Mandatory when building for Android. --with-android-ndk-toolchain-version Specify which toolchain version to use, of those present in the Android NDK you are using. The default (and only supported version currently) is "clang5.0" --with-android-sdk Specify location of the Android SDK. Mandatory when building for Android. --with-android-api-level Specify the API level when building for Android. Defaults to 16 for ARM and x86 and to 21 for ARM64 and x86-64 --with-valgrind Make availability of Valgrind headers a hard requirement. --with-update-config=/tmp/update.ini Path to the update config ini file --with-macosx-bundle-identifier=tld.mumble.orifice.TheOffice Define the macOS bundle identifier. Default is the somewhat weird org.libreoffice.script ("script", huh?). --with-product-name='My Own Office Suite' Define the product name. Default is LibreOffice. --with-package-version='3.1.4.5' Define the package version. Default is 7.0.4.2. Use only if you distribute an own build for macOS. --with-gcc-home Specify the location of gcc/g++ manually. This can be used in conjunction with --enable-icecream when icecream gcc/g++ wrappers are installed in a non-default path. --with-gnu-patch Specify location of GNU patch on Solaris or FreeBSD. --with-build-platform-configure-options Specify options for the configure script run for the *build* platform in a cross-compilation --with-gnu-cp Specify location of GNU cp on Solaris or FreeBSD. --with-external-tar= Specify an absolute path of where to find (and store) tarfiles. --with-referenced-git= Specify another checkout directory to reference. This makes use of git submodule update --reference, and saves a lot of diskspace when having multiple trees side-by-side. --with-linked-git= Specify a directory where the repositories of submodules are located. This uses a method similar to git-new-workdir to get submodules. --with-galleries Specify how galleries should be built. It is possible either to build these internally from source ("build"), or to disable them ("no") --with-theme="theme1 theme2..." Choose which themes to include. By default those themes with an '*' are included. Possible choices: *breeze, *breeze_dark, *breeze_dark_svg, *breeze_svg, *colibre, *colibre_svg, *elementary, *elementary_svg, *karasa_jaga, *karasa_jaga_svg, *sifr, *sifr_dark, *sifr_dark_svg, *sifr_svg, *sukapura, *sukapura_svg. --without-helppack-integration It will not integrate the helppacks to the installer of the product. Please use this switch to use the online help or separate help packages. --without-fonts LibreOffice includes some third-party fonts to provide a reliable basis for help content, templates, samples, etc. When these fonts are already known to be available on the system then you should use this option. --with-epm Decides which epm to use. Default is to use the one from the system if one is built. When either this is not there or you say =internal epm will be built. --with-package-format Specify package format(s) for LibreOffice installation sets. The implicit --without-package-format leads to no installation sets being generated. Possible values: aix, archive, bsd, deb, dmg, installed, msi, pkg, and rpm. Example: --with-package-format='deb rpm' --with-tls Decides which TLS/SSL and cryptographic implementations to use for LibreOffice's code. Notice that this doesn't apply for depending libraries like "neon", for example. Default is to use NSS although OpenSSL is also possible. Notice that selecting NSS restricts the usage of OpenSSL in LO's code but selecting OpenSSL doesn't restrict by now the usage of NSS in LO's code. Possible values: openssl, nss. Example: --with-tls="nss" --with-system-libs Use libraries already on system -- enables all --with-system-* flags. --with-system-bzip2 Use bzip2 already on system. Used only when --enable-online-update=mar --with-system-headers Use headers already on system -- enables all --with-system-* flags for external packages whose headers are the only entities used i.e. boost/odbc/sane-header(s). --without-system-jars When building with --with-system-libs, also the needed jars are expected on the system. Use this to disable that --with-system-cairo Use cairo libraries already on system. Happens automatically for (implicit) --enable-gtk3. --with-system-epoxy Use epoxy libraries already on system. Happens automatically for (implicit) --enable-gtk3. --with-myspell-dicts Adds myspell dictionaries to the LibreOffice installation set --without-system-dicts Do not use dictionaries from system paths. --with-external-dict-dir Specify external dictionary dir. --with-external-hyph-dir Specify external hyphenation pattern dir. --with-external-thes-dir Specify external thesaurus dir. --with-system-zlib Use zlib already on system. --with-system-jpeg Use jpeg already on system. --with-system-clucene Use clucene already on system. --with-system-expat Use expat already on system. --with-system-libxml Use libxml/libxslt already on system. --with-system-icu Use icu already on system. --with-system-ucpp Use ucpp already on system. --with-system-openldap Use the OpenLDAP LDAP SDK already on system. --with-system-poppler Use system poppler (only needed for PDF import). --with-system-gpgmepp Use gpgmepp already on system --with-system-apache-commons Use Apache commons libraries already on system. --with-system-mariadb Use MariaDB/MySQL libraries already on system. --with-system-postgresql Use PostgreSQL libraries already on system, for building the PostgreSQL-SDBC driver. If pg_config is not in PATH, use PGCONFIG to point to it. --with-libpq-path= Use this PostgreSQL C interface (libpq) installation for building the PostgreSQL-SDBC extension. --with-system-firebird Use Firebird libraries already on system, for building the Firebird-SDBC driver. If fb_config is not in PATH, use FBCONFIG to point to it. --with-system-libtommath Use libtommath already on system --with-system-hsqldb Use hsqldb already on system. --with-hsqldb-jar=JARFILE Specify path to jarfile manually. --with-system-beanshell Use beanshell already on system. --with-beanshell-jar=JARFILE Specify path to jarfile manually. --with-system-rhino Use rhino already on system. --with-rhino-jar=JARFILE Specify path to jarfile manually. --with-commons-logging-jar=JARFILE Specify path to jarfile manually. --with-system-jfreereport Use JFreeReport already on system. --with-sac-jar=JARFILE Specify path to jarfile manually. --with-libxml-jar=JARFILE Specify path to jarfile manually. --with-flute-jar=JARFILE Specify path to jarfile manually. --with-jfreereport-jar=JARFILE Specify path to jarfile manually. --with-liblayout-jar=JARFILE Specify path to jarfile manually. --with-libloader-jar=JARFILE Specify path to jarfile manually. --with-libformula-jar=JARFILE Specify path to jarfile manually. --with-librepository-jar=JARFILE Specify path to jarfile manually. --with-libfonts-jar=JARFILE Specify path to jarfile manually. --with-libserializer-jar=JARFILE Specify path to jarfile manually. --with-libbase-jar=JARFILE Specify path to jarfile manually. --with-system-odbc Use the odbc headers already on system. --with-system-sane Use sane.h already on system. --with-system-bluez Use bluetooth.h already on system. --with-system-curl Use curl already on system. --with-system-boost Use boost already on system. --with-system-glm Use glm already on system. --with-system-hunspell Use libhunspell already on system. --with-system-qrcodegen Use libqrcodegen already on system. --with-system-mythes Use mythes already on system. --with-system-altlinuxhyph Use ALTLinuxhyph already on system. --with-system-lpsolve Use lpsolve already on system. --with-system-coinmp Use CoinMP already on system. --with-system-liblangtag Use liblangtag library already on system. --with-webdav Specify which library to use for webdav implementation. Possible values: "neon", "serf", "no". The default value is "neon". Example: --with-webdav="serf" --with-linker-hash-style Use linker with --hash-style=