summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
...
* Related: rhbz#1718063 look for pkg-config python-version-embedCaolán McNamara2019-06-121-0/+3
| | | | | | | | Change-Id: I7048171501e32d29f9d5a58f0d5fc0b96b318a4e Reviewed-on: https://gerrit.libreoffice.org/73809 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* bump product version to 6.3.0.0.beta1+Christian Lohmaier2019-05-311-1/+1
| | | | Change-Id: I9c8d7d115ffd14ab2fd4a2433388a26deba010da
* Support VC++ 2019 tools v142Mike Kaganski2019-05-301-1/+6
| | | | | | | Change-Id: I765ff8a80ac37b09e16bb16652f28534d1e575eb Reviewed-on: https://gerrit.libreoffice.org/73161 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* Revert "Remove broken rebuild of compilerplugins when CLANG_FULL_VERSION..."Luboš Luňák2019-05-271-1/+2
| | | | | | | | | | | | | | This reverts commit efe28895498b03f1468a9dc9f510452f36affc2f. It is that commit that is broken. The only thing that does not work is that not all compilerplugin sources depend on config_clang.h, the rest is fine. So instead of reverting something that in principle works (and even complaining in the commit message about the original problem), just fix it (will do in next commit). Change-Id: Ic7766a97220d5b7ef1cd195320899564140fdf1c Reviewed-on: https://gerrit.libreoffice.org/72975 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* avoid error message from configure about integer expression expectedLuboš Luňák2019-05-271-1/+1
| | | | | | | | | Apparently test does not short-circuit evaluation. Change-Id: I0d9003735a43d0b5715b9d5fd9b5323efd6fdac1 Reviewed-on: https://gerrit.libreoffice.org/72999 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Fix typoIlmari Lauhakangas2019-05-221-1/+1
| | | | | | | Change-Id: I3ea246c84bb81e4eca9fe569edb957bed3c788ee Reviewed-on: https://gerrit.libreoffice.org/72674 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* current ccache does not correctly handle PCH in depend modeLuboš Luňák2019-05-221-0/+17
| | | | | | | | | | | | It doesn't correctly make a dependency on the .gch or anything the .gch is made from, so there would be stale cache hits even if anything included from the .gch changed. Disable CCACHE_DEPEND. https://github.com/ccache/ccache/pull/427 Change-Id: I6929ff6ec1f1e50498033cdf95b56c94522166eb Reviewed-on: https://gerrit.libreoffice.org/72704 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* bump product version to 6.3.0.0.alpha1+Christian Lohmaier2019-05-131-1/+1
| | | | Change-Id: Ib43e7349bce04e42b247af3c87e0128350e6c1c1
* configure: javac 1.8 does not have --add-exportsMichael Stahl2019-05-121-1/+1
| | | | | | | | | | ... hence it will print a pointless warning about some problem that doesn't affect JDK 8 anyway. Change-Id: Ic7669950dbb16815c85e4b8eb9d07d75c68d1b82 Reviewed-on: https://gerrit.libreoffice.org/72172 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* if ccache is enabled, by default also enable CCACHE_DEPENDLuboš Luňák2019-05-091-1/+13
| | | | | | | | | | | | | | | | | | This avoids the preprocessing step normally done by ccache (see ccache docs), which speeds up the build. This way there may be incorrect ccache hits if a system header (found using -isystem) changes, but that should be rare and such headers generally should be backwards compatible, so the chance of an actual breakage should be very low. The patch also adds --enable-ccache=nodepend to allow enabling ccache without the depend mode. https://lists.freedesktop.org/archives/libreoffice/2019-May/082684.html Change-Id: Id69ca43988a016a917beb75927b39d8bde719aa7 Reviewed-on: https://gerrit.libreoffice.org/71629 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* simply set ccache env.vars instead of just warning about themLuboš Luňák2019-05-091-12/+0
| | | | | | | | | So that it works out of the box automagically. Change-Id: I0a6c93824233eef6ce25c44762ec40770ec5110f Reviewed-on: https://gerrit.libreoffice.org/71628 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* support different levels of PCH usageLuboš Luňák2019-05-091-14/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are now 4 levels of PCH support, the previous 'full' level adding to PCH whatever the update_pch script finds useful, and new levels 'system', which adds only external headers, 'base', which is 'system' and LO basic headers (sal, osl, rtl, vcl) and 'normal', which is 'full' without headers from the module built itself. With Clang/GCC even 'system' still saves some time (10-15%) and since external headers should rarely if even change, it should be without most of the disadvantages of PCH. And even 'base' should be pretty easy to use, as those headers should be rarely changed while developing, thus avoiding the need for massive rebuilds. Using 'normal' or 'full' does not seem to be worth it with Clang or GCC, but with MSVC that still makes a difference, so keep(?) 'full' the default there. The update_pch script unfortunately does not include as many system headers as it could, since it includes only what is directly included by the .cxx, but not what's included indirectly by .hxx files. https://lists.freedesktop.org/archives/libreoffice/2019-May/082685.html Change-Id: If83a07a1fc9b77d0134502b0d89348944f82806b Reviewed-on: https://gerrit.libreoffice.org/71580 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Drop LINK_X64_BINARY: any MSVC linker is suitable for any target platformMike Kaganski2019-05-071-5/+0
| | | | | | | Change-Id: I8b080ad44f10e52fa5a726bd7cdf7dd8ff7e2dd4 Reviewed-on: https://gerrit.libreoffice.org/71913 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* PCH works fine with compiler pluginsLuboš Luňák2019-05-061-9/+0
| | | | | | | | | | No idea why this has been disabled, Clang can handle both plugins and PCH at the same time. Change-Id: I957b57f5f86b041c0437a121990b40bfa0095a0d Reviewed-on: https://gerrit.libreoffice.org/71564 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Add Support for .NET 4.8Tomoyuki Kubota2019-05-031-17/+8
| | | | | | | | | | | | | | | | | | *Before this patch, Windows SDK came with .NET 4.5 and .NET 4.6.1 or later was ignored. * the author of this configure.ac did not seem to understand that WOW6432Node should be given to reg_get_value_64 instead of reg_get_value_32. sometimes the code redundantly fetched the same entry WOW6432 (for 64 bit, wrongly passed to 32bit) and the 32 bit one. I removed the duplicate. Change-Id: Iff972d727907c480ef927d53fa1f53557fdeb1fd Reviewed-on: https://gerrit.libreoffice.org/71268 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
* The -fvisibility-ms-compat hack is no longer needed for UBSan on Linux...Stephan Bergmann2019-05-031-11/+24
| | | | | | | | | | | | | | | | | | | | | | | ...with latest Clang trunk towards Clang 9. All the no-longer necessary hacks are made conditional on new NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY, which is still set for UBSan builds with older Clang on Linux (but which should eventually be purged). Various classes needed additional SAL_DLLPUBLIC_RTTI annotations, as building with UBSan instrumentation can generate references to RTTI symbols from additional places like outside a dynamic library that used to hide those symbols by default (but used to not hide them for old UBSan builds thanks to the -fvisibility-ms-compat hack). The odr-violation suppressions in solenv/sanitizers/asan-suppressions (which is not referenced from anywhere in the code base, but meant to be included in an ASan/UBSan build's ASAN_OPTIONS env var) are also no longer needed when NEED_CLANG_LINUX_UBSAN_RTTI_VISIBILITY is false. Change-Id: I24ec3e388b0cbab50dbe2bf008d9569bff7bf25a Reviewed-on: https://gerrit.libreoffice.org/70829 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Allow to pass JAVA_SOURCE/TARGET_VER into configureStephan Bergmann2019-04-241-2/+2
| | | | | | | | | | | ...for those who pretend they know what they are doing (e.g., to experiment with building against Java 12 which no longer supports Java 1.6 source/target, even though that results in a build that is not baseline compatible). Change-Id: I6e8617bc5b90212473652bdfac40bb48e9623a08 Reviewed-on: https://gerrit.libreoffice.org/71218 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* upload libmwaw 0.3.15David Tardon2019-04-211-1/+1
| | | | | | | Change-Id: I496204ead6c495c4fee2cee18a5b9d0fd22eb8c0 Reviewed-on: https://gerrit.libreoffice.org/70951 Tested-by: Jenkins Reviewed-by: David Tardon <dtardon@redhat.com>
* VS detection: Fallback to old registry check if vswhere failedMike Kaganski2019-04-171-0/+20
| | | | | | | | | ... since on some boxes vswhere returns no results when VS 2017 is present Change-Id: Ieabfbbc30195008ef93147d7d390eee58fa2b7f9 Reviewed-on: https://gerrit.libreoffice.org/70861 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Fix typoAndrea Gelmini2019-04-171-2/+2
| | | | | | | Change-Id: I0eb35ce0c19c0b235f61216c8d1894e668c8b33d Reviewed-on: https://gerrit.libreoffice.org/70853 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Fix typoAndrea Gelmini2019-04-171-1/+1
| | | | | | | Change-Id: I633047306372ce285bf3531c609f364addf927c8 Reviewed-on: https://gerrit.libreoffice.org/70854 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Initial VS 2019 SupportTomoyuki Kubota2019-04-161-37/+48
| | | | | | | | Change-Id: I8e08efb549ebd52c37183a1185d6de73f2b00601 Reviewed-on: https://gerrit.libreoffice.org/64630 Reviewed-by: himajin100000 <himajin100000@gmail.com> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Michael Stahl <Michael.Stahl@cib.de>
* merge --enable-selective-debuginfo into --enable-symbolsLuboš Luňák2019-04-111-37/+15
| | | | | | | | | | | | | | | | | | | This got broken again due to confusion about the interaction between the various debug/symbol/whatever variables, so let's try to clean it up once more. So gb_SYMBOLS or any other global flag is no more. For checking whether a build target should get symbols, use gb_LinkTarget__symbols_enabled, which is internally controlled by gb_ENABLE_SYMBOLS_FOR (and flags from configure, command line or wherever affect that). This commit breaks the debug/nodebug split for PCH files, but fixing that is a relatively separate and complex change, so it'll be done in another commit. Change-Id: I6060dd38684445bb761e664344fb530386481332 Reviewed-on: https://gerrit.libreoffice.org/70369 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Honor use_ld_fail_if_error in use_ld_has_sanitizers checkStephan Bergmann2019-04-101-1/+5
| | | | | | | Change-Id: I20ed4c7daa9cde48ba65f92e5b4cc7e00972fe81 Reviewed-on: https://gerrit.libreoffice.org/70477 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* clang version in configure output without spacesLuboš Luňák2019-04-071-1/+1
| | | | | | | | | Call me pedantic. Change-Id: I96b8b7ef511508da0df75589475eaf13d639a7c9 Reviewed-on: https://gerrit.libreoffice.org/70365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Revert "raise cairo baseline to 1.12.0"Caolán McNamara2019-04-041-1/+1
| | | | | | | | | | | | | | | | This reverts commit 50580f452cc7c88a231831619a3f05958ce56460. Revert "raise cairo baseline to 1.10.0" This reverts commit 58a0e60dee0d27a699f856827c20b792417d3478. 32bit baseline is currently at cairo 1.8.8 Change-Id: I5156df6aee03dbbb2e209dbd5717a98580256170 Reviewed-on: https://gerrit.libreoffice.org/70260 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* raise cairo baseline to 1.12.0Caolán McNamara2019-04-041-1/+1
| | | | | | | | Change-Id: I1816f23fea88e6b840539a88504956b00a546522 Reviewed-on: https://gerrit.libreoffice.org/70243 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* raise cairo baseline to 1.10.0Caolán McNamara2019-04-041-1/+1
| | | | | | | | Change-Id: I721b80d7ce28d36babbd2bd1957fcbd6a2d27a27 Reviewed-on: https://gerrit.libreoffice.org/70242 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* python3: upgrade to release 3.5.7Michael Stahl2019-04-031-1/+1
| | | | | | | | | Fixes CVE-2019-9636 CVE-2019-5010 CVE-2018-14647 Change-Id: If0a115960aed1ee90b63e6716c844669f0ec91e5 Reviewed-on: https://gerrit.libreoffice.org/70182 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Use "Visual C++ ATL (x86/x64) with Spectre Mitigations" if availableAndrés Maldonado2019-04-011-2/+6
| | | | | | | Change-Id: Iab63cf16f8c12c8148a8ac7eaea68007d4c27f23 Reviewed-on: https://gerrit.libreoffice.org/69891 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* add sifr_svg icon theme to buildTomaž Vajngerl2019-03-301-3/+3
| | | | | | | Change-Id: Ia20647012cee1d25823779b7384c5fd43b4e1712 Reviewed-on: https://gerrit.libreoffice.org/69923 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
* sifr is CC_BY_SA 3.0, can be included in MPL subsetAndras Timar2019-03-271-1/+1
| | | | | | | Change-Id: I5d6cfd5b9b4049ee16ffa038bac2db20968b02b3 Reviewed-on: https://gerrit.libreoffice.org/69812 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* Accept iOS SDK 12.2Tor Lillqvist2019-03-261-2/+2
| | | | Change-Id: Ie3eae75f13d27f3fce11acb66073dd51c0d41a32
* Allow to pass additional options into generator's clang::toolingStephan Bergmann2019-03-221-0/+1
| | | | | | | | | | | | | | | In my macOS build, that clang::tooling::runToolOnCodeWithArgs invocation failed to find headers like cassert and assert.h, which works now with COMPILER_PLUGINS_TOOLING_ARGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -isystem /Users/stephan/Software/llvm/inst/include/c++/v1 added to my autogen.input (I build against my Clang trunk libc++ whose headers are at /Users/stephan/Software/llvm/inst/include/c++/v1). Change-Id: Idbffa39c9fd4a88743fd498b8f7b6c9c56d7630d Reviewed-on: https://gerrit.libreoffice.org/69538 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* AC_CHECK_HEADER uses both CXX and CXXCPPLuboš Luňák2019-03-111-0/+3
| | | | | | | | | Because it does both a compile and a preprocessor check. Change-Id: I2f144ea63ae1481822bb239127f0f5a934e22e73 Reviewed-on: https://gerrit.libreoffice.org/68971 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* MPLv2 subset: Check for $ENABLE_POPPLER instead of $ENABLE_PDFIMPORTAndras Timar2019-03-091-1/+1
| | | | | | | Change-Id: Idbdd2a97cdcc7f874c12cff8e024214badda1522 Reviewed-on: https://gerrit.libreoffice.org/68973 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
* build: sanity check PDF import configurationAshod Nakashian2019-03-081-14/+22
| | | | | | | | | | | | Reviewed-on: https://gerrit.libreoffice.org/68861 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 172f58ca7cdf323971a9e450620c669fe159c327) Change-Id: I26c54ad52ab53802dc368b0bfcbde84affa46fdd Reviewed-on: https://gerrit.libreoffice.org/68897 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
* build: support disabling popplerAshod Nakashian2019-03-071-15/+36
| | | | | | | | | | | | | This adds --enable-poppler configure option. Poppler can be enabled/disabled by setting this parameter to yes or no. Change-Id: I42ba2d27de7b5014d28523394310616d20073b71 Reviewed-on: https://gerrit.libreoffice.org/68602 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/68842 Tested-by: Jenkins
* Use pkgconfig to detect PostgreSQL if there is no pg_configTomáš Chvátal2019-03-051-4/+10
| | | | | | | | | | | | pg_config is meant for linking server extensions, clients should use pkg-config instead to build against libpq. This fixes build with PostgreSQL 11. Change-Id: Ic0b5fc9cb7169f44c00a1edf7218212c360ec235 Reviewed-on: https://gerrit.libreoffice.org/68734 Tested-by: Jenkins Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz>
* Don't leave a stray a.out behindStephan Bergmann2019-02-271-1/+2
| | | | | | | Change-Id: I20acdccd1faa7b8edf7a5786be124ae063ebca67 Reviewed-on: https://gerrit.libreoffice.org/68405 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Check enable_mpl_subset, too, for mysqlcTor Lillqvist2019-02-251-1/+1
| | | | Change-Id: I083583b86fa404eb16eea354ef9e6d22cf4c62fe
* Fix typoAndrea Gelmini2019-02-251-1/+1
| | | | | | | Change-Id: Iee70a15bb21ae1840e07583c958c094d37431d02 Reviewed-on: https://gerrit.libreoffice.org/68298 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* Remove outdated commentSamuel Mehrbrodt2019-02-131-2/+1
| | | | | | | Change-Id: Iede1d3321e909329cb0754a26e5b4bee4bb60316 Reviewed-on: https://gerrit.libreoffice.org/67752 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* Always set java bytecode / source target to 1.6 / 6Samuel Mehrbrodt2019-02-121-17/+2
| | | | | | | | | as our new baseline (as discussed in ESC call 2019-02-07) Change-Id: I8a22fab6a1f9a713cb55b4c5d8173c3bbcd28587 Reviewed-on: https://gerrit.libreoffice.org/67387 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* fix commentRene Engelhard2019-02-101-1/+1
| | | | | | | LDAP support is mainly for ldapbe (LDAP configuration backend), the libpq one is just a by-product... so "in Base" is wrong Change-Id: I342e579b5a832f6a4722499da3f0f1c35f4c0a5d
* Make LDAP support optionalAndrew Udvare2019-02-101-1/+23
| | | | | | | Change-Id: Ifbd3903494a81e7b155bf6468f6ca2c50b3370a4 Reviewed-on: https://gerrit.libreoffice.org/65958 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Fix typosAndrea Gelmini2019-02-051-4/+4
| | | | | | | Change-Id: Ie186b828d500b661029704f95f4c03e56d69c282 Reviewed-on: https://gerrit.libreoffice.org/67382 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* make --enable-ld the default for debug builds, if availableLuboš Luňák2019-02-041-43/+131
| | | | | | | | | | | | | By default for clang this tries to use first lld and then gold, for gcc it just tries gold. https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html https://lists.freedesktop.org/archives/libreoffice/2018-July/080484.html Change-Id: I669a8fa7671553f0cf78ddf82c51364fcdb0891b Reviewed-on: https://gerrit.libreoffice.org/65426 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* make --enable-split-debug the default for debug builds, if availableLuboš Luňák2019-02-041-8/+19
| | | | | | | | | | | | | Currently done only on Linux, as I'm unsure about the status on other platforms, and it seems that on Darwin the test passes successfully but later there are problems. Feel free to add your platform. https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html https://lists.freedesktop.org/archives/libreoffice/2018-July/080484.html Change-Id: I232ead45a1aff15cc738c612750ac28aedc08e83 Reviewed-on: https://gerrit.libreoffice.org/65425 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* make --enable-gdb-index the default for debug builds, if supportedLuboš Luňák2019-02-041-28/+50
| | | | | | | | | | | | Currently only done on Linux, I'm not sure about the status on other platforms, feel free to add your platform. https://lists.freedesktop.org/archives/libreoffice/2018-June/080437.html https://lists.freedesktop.org/archives/libreoffice/2018-July/080484.html Change-Id: I5997f54e530c8078250eb7c116cb6bd2604e7925 Reviewed-on: https://gerrit.libreoffice.org/65424 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>