summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2016-12-08If we fuzzed --enable-compiler-plugins as yes but aren't using Clang, reset itTor Lillqvist
Change-Id: I4a910649ec6b4ec5f999e009802038457cf94363
2016-12-08Fix thinkoTor Lillqvist
Change-Id: I086028a42bd6d35bdefeb58fb11693da4bcff59b
2016-12-08The --enable-mergelibs option is not experimentalTor Lillqvist
Change-Id: I2a0671bf1c7c43cf250f36f480768f160b079eec
2016-12-08Introduce configure option fuzzingTor Lillqvist
When --enable-fuzz-options is given, those --enable or --with options that are separately so marked, and have not been specified explicitly at the configure command line (i.e. typically from autogen.input), are randomly set to either yes or no. This functionality is useful to make sure configure options don't bit-rot by randomly exercising uncommon settings and combinations. To enable fuzzing for an option, use libo_FUZZ_ARG_WITH instead of AC_ARG_WITH, or libo_FUZZ_ARG_ENABLE instead of AC_ARG_ENABLE. Also handle two cases of incompatibilty of options discovered by using --enable-fuzz-options. In general using incompatible options should cause an AC_MSG_ERROR(), but when one of the options in question has been set by fuzzing, it's simplest to just reset it to the compatible value. Obviously this is highly experimental. Change-Id: I76d250c148892951a7fda25ba4164de8bc693a26
2016-12-05optionally enable oss-fuzz targets via --enable-fuzzersCaolán McNamara
Change-Id: I16f52515a149a1e6e47cd0301a45db84ddd95885
2016-12-04oss-fuzz check CXXFLAGS as well for -fsanitize= fooCaolán McNamara
Change-Id: Ifd4aa349a9debcee4b8446c2e6e84ccc36a84efd
2016-12-02Require HarfBuzz 0.9.42Khaled Hosny
This is the first version where hb_buffer_set_cluster_level() was introduced. The layout engine depends on this feature in a few places and though we can build without it, the result will be wrong in some cases (i.e. any where we assume combining marks will have their own cluster number). Change-Id: I89187f317052e7933b83ad0350cace239333510b Reviewed-on: https://gerrit.libreoffice.org/31521 Reviewed-by: Rene Engelhard <rene@debian.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-01Unused codeKhaled Hosny
Change-Id: Idfc964930c242d752a78cd109d75d809bce4de11 Reviewed-on: https://gerrit.libreoffice.org/31470 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-12-01enable optimization (-Og) with --enable-debugLuke Deller
gcc-4.8 introduced a new optimization level -Og which enables optimizations that do not interfere with debugging. When configured with --enable-debug, use -Og rather than -O0 if available. Change-Id: Iff3f98d736681ae34e49b96510228a14ce456b34 Reviewed-on: https://gerrit.libreoffice.org/31333 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-11-28orcus is mandatory nowMarkus Mohrhard
We use it as a json parser, for calc cell styles and tests. Making it optional is just making the code more complex and introduces more sources for errors. Change-Id: I8769628a4ab9519cafc3d43db7c0007e0aa265dc Reviewed-on: https://gerrit.libreoffice.org/31307 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-11-27Fix typo in configure.ac (mk68 -> m68k)John Paul Adrian Glaubitz
Change-Id: Ibbedf9444e2c43b3dff886d9513be7e3d2a99095
2016-11-26Kill old Graphite layout enginesKhaled Hosny
Change-Id: Ia19d4d0a3a33694b6edfff62e6b40028dac19677 Reviewed-on: https://gerrit.libreoffice.org/31212 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-11-25configure: fix harfbuzz build on WNTMichael Stahl
The graphite library is always built static, so the graphite headers must be included with the GRAPHITE2_STATIC macro, so that the functions are not marked __declspec(dllimport) on WNT. Add GRAPHITE2_STATIC to GRAPHITE_CFLAGS so harfbuzz picks it up. It's a mystery why vcl even links currently without this. Change-Id: I80d87fe76afa2d05a5697d56dfaf8cbe97d9f977
2016-11-23upload libmwaw 0.3.9David Tardon
Change-Id: I22d6fe02bfb122f060cfe2f8f0ba5259eb5cd60b Reviewed-on: https://gerrit.libreoffice.org/31088 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-11-23bump product version to 5.4.0.0.alpha0+Christian Lohmaier
Change-Id: Ia5ed3eab0956bcd746df65b0f234270004804449
2016-11-16Exit GLyphyTor Lillqvist
Change-Id: Ib84e703d4c1528d022435c7695c97a3fc284563a
2016-11-13move all tests for DLP libs to one placeDavid Tardon
Change-Id: Icbce7f5512c0c205f44db520f337ce9520d228d5
2016-11-10demote "unknown android ndk" to warning only (and add 13.1 as known)Christian Lohmaier
android studio/sdk manager doesn't provide a default way to install multiple versions of the NDK, so typically only the latest one will be available. Don't make configure error out in this case, but print a warning instead. Change-Id: I6af9a3f088daf7d12ebd9910286d7f44d264014a
2016-11-08Drop more OxygenOffice bitsGabor Kelemen
Follow up to 8dc38d9ded92960eda46343b67da8a8b95404b5a Here we drop some --help descriptions and the rest of removed extensions from the Jenkins config file Change-Id: Ie1520adf2c48c2dc714b00c53ba0055f1deb3c62 Reviewed-on: https://gerrit.libreoffice.org/30697 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-11-07Disable VCL_FLOAT_DEVICE_PIXEL on macOS for nowKhaled Hosny
Causes subtle and surprising differences, and it was only needed for the Core Text-based layout engine, which is not the default now. We want to use floats for our text layout everywhere at some point, though, so lets keep the code around. Change-Id: Iac4d0f58992646b9357a9f32c5eea8ff2729a5c0
2016-11-03configure: fix LIBJPEG_LIBS, jpeg-turbo can also be used on LinuxMichael Stahl
Change-Id: I710f8ba31b6f780e3fb1d174d9ea21f270f55264
2016-11-03Clarify comment to mention also HAVE_FEATURE_OPENCLTor Lillqvist
Change-Id: Ibca8ceedd8c01b4d12ccd9c29838f545fc234347
2016-11-02poppler: build against libjpegMichael Stahl
Albert Astals Cid points out that --disable-libjpeg causes poppler to use internal JPEG code instead, which is not actively maintained. Add LIBJPEG_CFLAGS / LIBJPEG_LIBS to config_host.mk and patch poppler to respect LIBJPEG_LIBS. Change-Id: Id19a62a9bd9dc41fee5e8e43e2798e515aacc299 Reviewed-on: https://gerrit.libreoffice.org/30496 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-02upgrade to ICU 58Eike Rathke
Change-Id: I4a992447df65b337721a2a2627d974172a14cba5 Reviewed-on: https://gerrit.libreoffice.org/30487 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-10-25Add configure option --enable-formula-logger to conditionalize it.Kohei Yoshida
Change-Id: I1badbcfa259b22d742e5241bd817ea44769a771e
2016-10-20typo: imgage -> imageAndras Timar
Change-Id: I5f650293719ad790eb5b4f5d5d448399356f386e
2016-10-20bump product version to 5.3.0.0.alpha1+Christian Lohmaier
Change-Id: I7dc5e6925962d948f8d61cd0c951331e78fcb08e
2016-10-18Always build Graphite everywhereKhaled Hosny
It is no longer an optional feature on any platform. The --enable-graphite stuff is kept as it controls the old Graphite integration code and it should be removed without. Change-Id: Ib4d76bba782a1439f02f93411b22d237a1987ea5
2016-10-18Always build HarfBuzz everywhereKhaled Hosny
It is no longer an optional feature on any platform. Change-Id: I70cdcd2c0df69d961ecc5f36b4e8d035d251ef16
2016-10-18GSoC: Enable building Harfbuzz with GraphiteAkash Jain
Harfbuzz will now need to be built with Graphite support. This allows Harfbuzz to handle Graphite fonts. In case we all building with system Harfbuzz, then it should be built with Graphite support else we error out. Change-Id: I156ec08b9e5ad7ce87cc15e4b5852d9c57c98f7f
2016-10-18GSoC: Modify HARFBUZZ_LIBS flag if compiling with MSVCAkash Jain
MSVC has a different format for specifying libs to be linked. Therefore, modify libs flag accordingly. Change-Id: Ib919c4b6b0cdac47a8a6ad6730d20e19bc05b0d4
2016-10-18Drop 'Human' icon themeSamuel Mehrbrodt
Was used in Ubuntu formerly, but they now switched to breeze. Human is mostly similiar to Tango, with some Ubuntu colors. So it should be enough to keep Tango. Change-Id: Ib44cbefb2953406c95dbb269ada663bce2503234 Reviewed-on: https://gerrit.libreoffice.org/29537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-10-17upload libwps 0.4.4David Tardon
Change-Id: I7dc8b6412fd1a9d7bc2edf28cb23307c2eebd669
2016-10-10configure: avoid linking against libgcrypt for libexsltMichael Stahl
There are at least 2 different versions libgcrypt.so.20 and libgcrypt.so.11 in use, and it's a private dependency of libexslt anyway, so filter this out of LIBEXSLTLIBS. Change-Id: Iafc33ef5ead2a86bedb4d5e485f6a16eb0544686
2016-10-03Update min OS version to a more realistic value for iOSTor Lillqvist
Change-Id: I63617c49ce176180709a32c59a468c6abe076a3d
2016-10-03Also look for iOS SDK 10.0Tor Lillqvist
Change-Id: Ibc975a3c61542a2872a48c310351653734c225ce
2016-09-30Update HarfBuzz to 1.3.2Khaled Hosny
* Only build the library, makes no-freetype patch redundant. * Don’t build ICU support as a separate library, otherwise we would also build the alternative UCDN Unicode functions which we do not use. * Don’t build FontConfig support stuff that was added a few releases ago as we don’t need it as well. Change-Id: Ia5f296c61a6ce2a589b1c521b3c2c7c75dbcf74d Reviewed-on: https://gerrit.libreoffice.org/29342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-28Remove $(CLANGDIR)/tools/clang/include form confgure.ac, tooStephan Bergmann
...after it had already been removed from compilerplugins/Makefile-clang.mk with 4d54e240262ffb2d2de1d72986f025657e230c77 "Who needs that $(CLANGDIR)/tools/clang/include anyway?" Change-Id: Ie99bb87a10cbf78ce1ab39d35dad976c51995b8f
2016-09-28fix build on 32-bit ARM on latest RawhideDavid Tardon
Change-Id: If00c42235d6ec92634dc8c23fdcbb50e332ffa68
2016-09-27configure: reject Apple JDKMichael Stahl
Since commit 32bc8ddbf335dd26019edcf12758643b4cff9913 the jvmfwk rejects Apple JDK and while the Java code builds fine with it, various tests such as CppunitTest_dbaccess_hsqldb_test fail if it is the only installed JRE. The simplest way to avoid the problem is to not allow building with Apple JDK. Change-Id: I5701e38cffded4596ac94608867a038ff76f75ec
2016-09-27configure: non-working ant is an error, not a warningMichael Stahl
For example ant 1.8.4 doesn't work with JDK 1.8. Change-Id: I709fd0591c330cbfe6542976eb2fa0c3aec1e63f
2016-09-26Related: rhbz#1366710 fedora mips64 and mips64le use lib64Caolán McNamara
Change-Id: I34aacd5c15595786b8dde4202a7538c4ff7889a3
2016-09-25fix KDE4 build with KDE headers in /usr/include againRene Engelhard
Change-Id: Ie8e9a48bfe8249c8a68afeffeeaeee6be1a5dc97
2016-09-23Clarify KDE4 and TDE config variablesJan-Marek Glogowski
The configure flag is already --enable-kde4, so rename most build and configure variables, including the config headers, and the build module to include the major number. Also rename the TDE MOC stored as $MOC to $TDE_MOC to prevent conflicts. Change-Id: Ib947ae4b80349cc52eac7812cb93e8a42606b526
2016-09-23Don't check HAVE_GCC_VISIBILITY_FEATURE with clang-cl (intended to fail there)Stephan Bergmann
Change-Id: I4cae18e1359f2e30ef4d4d7d550306489fcedd74
2016-09-2164-bit Windows build is not experimental for a whileAndras Timar
Change-Id: I1b973c60a19e59c98c669d08e8472c18c2fc0c58 Reviewed-on: https://gerrit.libreoffice.org/29104 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-09-20Remove HAVE_GCC_VISIBILITY_BROKEN, never trueStephan Bergmann
The check for broken -fvisiblity-inlines-hidden doesn't mention a specific bug. Its roots date back to 072e89cf68dcf9b6713945e402dd7a9fe5cea48d "INTEGRATION: CWS newportstl" of the --with(out)-stlport area. Lets assume whatever failure is long since fixed. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I7c64c2e8b9bd342beec9b84ff71f5712a6155b7d Reviewed-on: https://gerrit.libreoffice.org/29075 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20Remove obsolete HAVE_GCC_VISIBILITY_BROKEN checkStephan Bergmann
<https://llvm.org/bugs/show_bug.cgi?id=12255> "with -fvisibility-inlines-hidden needed copy not emitted for virtual inline function" (which covers the relevant part of the Clang bug 11250 mentioned in the check) is reportedly fixed ever since at last Clang 3.2. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I47edf92968f32735a509ef649e0e85b891baab4b Reviewed-on: https://gerrit.libreoffice.org/29074 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20[API CHANGE] Remove HAVE_GCC_VISIBILITY_FEATURE, always trueStephan Bergmann
* GCC documents -fvisibility at least as far back as the GCC 4.0 online documentation at <https://gcc.gnu.org/onlinedocs/gcc-4.0.4/gcc/Code-Gen-Options.html>. * For external code, odk/settings/settings.mk unconditionally set HAVE_GCC_VISIBILITY_FEATURE for all platforms other than Windows. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: I1de415b6ed1591e0a7b6640ece861b6f0ef74112 Reviewed-on: https://gerrit.libreoffice.org/29073 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-09-20Remove obsolete HAVE_GCC_VISIBILITY_FEATURE checkStephan Bergmann
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26905> "default-visibility class symbol improperly resolved as hidden-visibility" is fixed ever since GCC 4.2. Make this a fatal configure error for now. The check should be removed completely after LO 5.3 branch-off. Change-Id: Ie365d5a0e2217a4efd1e8e2642963738ae7d20b1 Reviewed-on: https://gerrit.libreoffice.org/29072 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>