path: root/config_host
AgeCommit message (Collapse)AuthorFilesLines
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist1-0/+10
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macroMichael Stahl1-1/+0
This is supported in GCC 4.6.0 already: Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl1-1/+0
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-09-11(Rudimentary) C++11 support is a hard requirement nowStephan Bergmann1-2/+0
Change-Id: I43ed776d52336b822aa6152f0f2a29e39303bb75
2014-09-09Make the "Mac-like" or "canonical" app bundle structure always used on OS XTor Lillqvist1-11/+0
In other words, only executable files go in the MacOS folder. Dynamic libraries and bundled frameworks (i.e., LibreOfficePython), and nothing else, go in the Frameworks folder, and all other files go in the Resources folder. Especially, note that Java class files and rc (.ini) files also go in Resources. Such an app bundle structure is what Apple strongly suggests one should use, and it has been hinted that future versions of code signing and/or Gatekeeper will require such a structure. There is still some ugliness thanks to traces of the historical separation of URE from "the office". Like there are two separate "unorc" files, one for URE, one for the LibreOffice application. IMHO, this should be cleaned up, but is probably controversial. (Eek! I now see there are actually *three* unorc files in the app bundle. Not intentional. Need to fix that later.) Change-Id: Idcf235038deb5b8e1d061734993e9f31869b7606
2014-08-07Handle collada libraries seperately: --disable-colladaZolnai Tamás1-0/+5
Depends on gltf support. Change-Id: Ief0452da3d03b0ddbca45272e5f5cd268691aeca
2014-07-20add config_vcl to control DevicePixel coordinate base typeNorbert Thiebaud1-0/+14
The eventual goal is to make vcl capable of handling a backend that use double instead of sal_Int32 as its base type for device coordinate. Change-Id: I6174f1f4afe00992b95c9163bc21dd54fec98631
2014-06-12Introduce HAVE_FEATURE_GLTF to enable/disable gltf related codeZolnai Tamás1-0/+5
When it is a release build then enable it only on Windows and Linux. Change-Id: I7c462aeb75e6ab60eeaa0fa42ca7853a6369b742
2014-05-08New --disable-runtime-optimizationsStephan Bergmann1-1/+2 better serve the needs of tools like -fsanitize=address Change-Id: Ic2f2b981b2f5c1bc95ff91bc7a8d21fbb695dc8d
2014-04-24More hacking on --with-localesTor Lillqvist1-0/+56
Propagate the restriction of locales into <config_locales.h>. Note that in the normal case, with no locale restrictions, all the WITH_LOCALE_xx macros are zero anyway, but WITH_LOCALE_ALL is one. Restrict which character encodings are handled in sal/textencsal/textenc/tables.cxx based on the WITH_LOCALE_ macros. (Don't simply always do it for iOS.) Massage the affected unit tests to not crash when only partial character encoding information is present. Change-Id: Ie2c882c262ebd0d2b37dde66b8fe3c3e2570da14
2014-04-18Intermediate commit of hacking on --disable-database-connectivityTor Lillqvist1-0/+6
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of using (or not, more likely) -DDISABLE_DBCONNECTIVITY. The plan is still that database connectivity would be disabled always for the non-desktop platforms, and otherwise disabling it would be a configure option. But, still lots to do; the TiledLibreOffice iOS test app gets tons of undefineds when linking if I actually try to disable the database connectivity. Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
2014-04-17More generic way to disable avmediaTor Lillqvist1-0/+6
Introduce a configure option --disable-avmedia. For non-desktop, avmedia is always disabled (for now), and for desktop enabled by default. Add AVMEDIA to BUILD_TYPE when enabled. Don't build avmedia when disabled. Add HAVE_FEATURE_AVMEDIA to <config_features.h>. Bypass avmedia-related code when disabled. Change-Id: I919c6e199bff87d9f142d55dff6373f0ed217f39
2014-03-03add experimental export file validationMarkus Mohrhard1-0/+5
In calc unit tests we validate the exported OOXML files now with officeotron. For this there must be a script called officeotron that takes the file path. Currently the generated files are still invalid but I'm going to fix it. Change-Id: I1809b9457a535dbbe6a72f3778dfb53db168bbda
2014-02-21Add config option used when we try to link one huge object file.Matúš Kukan1-0/+15
In theory, it should not be used, we use it now to mark duplicated symbols from sdi slots as weak. See idl/source/objects/types.cxx. Change-Id: I3c6fccfb96884df6b9e6eb35b8615ba4d66ca208
2014-01-23Depend unit test on existing font.Jan-Marek Glogowski1-0/+10
Commit 734cf8395 introduced a unit test, which depends on a Calibri metric-compatible font. So this adds a fonctconfig based check to configure and just runs this test, if configure finds a correctly mapped font. Reviewed on: Change-Id: I5255a4366684b115d88adca78ab2002864b63766
2013-11-19Add data for Alfresco Cloud CMIS connectionCédric Bosdonnat1-0/+10
Change-Id: Ie5374f2e81e1429294805f05ae432fba86cc50df
2013-11-12add config header for EOTDavid Tardon1-0/+6
Change-Id: I1a3e01243c6f98fb5f055a1783bb13a1cbfc1efe
2013-11-07OAuth2 application keys shouldn't be in the code.Cédric Bosdonnat1-0/+28
The GDrive OAuth2 key is now defined at configure time. If either the client secret or client id is missing, the Google Drive connectivity will be disabled at runtime. Tinderboxes can set up a GDrive key, but they need to make sure it's not persisting in the build log. Change-Id: I09bc748641ec14eae890f273f05bffe4ed421dbb
2013-10-31solver doesn't solve anything...Michael Stahl1-1/+0
... it is an abbreviation of "Solar Version". Since nobody can remember that: remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath and any mention thereof. Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad Reviewed-on: Tested-by: LibreOffice gerrit bot <> Reviewed-by: Michael Stahl <>
2013-10-17Bin --enable-desktop-gui-elementsTor Lillqvist1-10/+3
Nobody wants LO's own widgets in a touch / mobile app after all. Change-Id: I84f1e85cebce80b6ff4ec5e4e3254654b5f5e6ec
2013-10-12Add HAVE_FEATURE_X11Tor Lillqvist1-0/+7
Change-Id: I4ca7310c936ce123347be2e3243fddc738f85d6d
2013-10-09Update comment to match realityTor Lillqvist1-2/+1
Change-Id: I859ebb6e97a935d6e47a5269253165114fd90a1b
2013-09-19Allow enable / disable opencl at build time.Kohei Yoshida1-0/+7
Change-Id: I65e2a71aae8317930d1575e7d82c11c3fd2b74de
2013-09-19Remove opencl-sdk configure option, and build time opencl conditionals.Kohei Yoshida1-7/+0
We now load OpenCL library dynmically at run-time as needed. So there is no build time dependency on any OpenCL implementations. Change-Id: I214399060398a7c5e37b9a254147ccc2834e7866
2013-09-18Add the configure bits to support --disable-orcus.Kohei Yoshida1-0/+6
Change-Id: Ieeb1581187248875ca2e37278c62a382f6caa8e0
2013-09-06Check for FT_Face_GetCharVariantIndex at build timeKhaled Hosny1-0/+4
No more dlsym() hacks. The downside is that LibreOffice built on systems with old FreeType will not be able to use FT_Face_GetCharVariantIndex() on newer systems, but most Linux users use their distribution builds anyway. This only affects the use of Unicode Variation Selectors which is an exotic feature that wasn't even supported on Linux before 4.1. Change-Id: I674822ef5bc8d7940a821a01cc85ae7a6d39a80e Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2013-08-29make the tinderbox information more reliable in the about dialog (fdo#58034)Petr Mladek1-0/+10
Pass the information via config_host/config_buildid.h. Then cui/source/dialogs/about.cxx will get rebuilt also in the incremental build. Change-Id: I058cbe162e7015cbea6c71253c20db097477708f
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist1-0/+8
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist1-0/+6
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
Change-Id: Idb114bfa3fbb05252a5cac9eb5f303ec85080626
2013-08-10Start of enabling use of a more proper "Mac-like" install tree structureTor Lillqvist1-0/+42
First cut was at but was abandoned by myself. Now getting back to the idea, but this time I will make it optional on OS X, and introduce it in smaller steps. Change-Id: Id88517fee8d49056b8bbecb0921206dc6b29580b
2013-08-05do not base feature checks on gcc versionLuboš Luňák1-0/+3
Clang reports itself to be gcc4.2, so there fail there, instead use configure checks. Change-Id: Idb44a5c875b24a15546a6495de02a1b4af898443
2013-08-03Add SDT probes for RTL_LOG_STRING_NEW/DELETE.Mark Wielaard1-0/+7
Change-Id: I938259f90aee9d277c9ff5b72c9120b93311cbd3 Signed-off-by: Stephan Bergmann <>
2013-07-26Move the (unimplemented) READONLY_INSTALLSET flag into config_features.hTor Lillqvist1-0/+10
Change-Id: Icce89cc2a3c8089aa248a176ab92b545c36b1091
2013-07-26Move OS X sandbox flag to config_features.hTor Lillqvist1-0/+8
Change-Id: I189fa06d13a78bcaa8e17b32756076473ced3641
2013-07-26discriptive comments on HAvE_FEATURE_AVAHI and remove unused ac_defSiqi1-0/+12
Change-Id: I37183561a264625505036bcc6b945a6b24f05b5a
2013-07-26use insteadSiqi1-0/+2
Change-Id: I1332fc22caae759c65b64e6c43e73740245e4abd
2013-07-23adjust for upstreaming of warn_unused attributeLuboš Luňák1-0/+4
The warn_unused attribute has been upstream to GCC and Clang, so use it if present. Still warn about STL types if those do not use it yet (which is the status as of now). Change-Id: I3c003e44c08d1d141e23bba38cf92e663a5ac353
2013-06-27use #if to avoid gotchas, move header to include, make UI conditional.Michael Meeks1-0/+7
2013-06-20...and similarly for __cxa_allocate_exception and __cxa_throwStephan Bergmann1-0/+2
Change-Id: I87ae299aac97180f0587c553d85b051decca155c
2013-06-20Clean up declaration of __cxa_get_globalsStephan Bergmann1-0/+17
At least Clang trunk towards 3.4 now rejects incompatible declarations of the same extern "C" function in different namespaces, so that trick of getting at the function that is exported by libstdc++ but only rudimentarily if at all exposed in cxxabi.h no longer worked. TODO: This change should be reflected in any other bridges where it is relevant, too. Change-Id: Ie3ccbdb7d75cc98636d02c0435958532620724f2
2013-06-13rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config headerLuboš Luňák1-0/+2
Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
2013-06-04MPLv2 subset improvements.Michael Meeks2-1/+10
2013-05-11fdo#64311 - don't encourage the fpicker to give us URLs we can't handle.Michael Meeks1-0/+2
Change-Id: Ide7d833801e96a3375909238d036687082f34605
2013-05-08Minor improvements to UNOIDL binary formatStephan Bergmann1-4/+4
Change-Id: Ia215b34842ce85bfbd1ad90a286abcbae0884bd5
2013-05-06Enable HarfBuzz by defaultKhaled Hosny1-6/+0
HarfBuzz integration should be functional now, so to give it more wider testing it is made now a required dependency on non-Windows non-Mac OSs. By default text layout is now done by HarfBuzz but ICU LayoutEngine is kept as a fallback and can be enabled with SAL_USE_ICULE env variable. After 4.1.x is branched, ICU LayoutEngine should be removed completely. Change-Id: I4fe3beeaf6092f33dd436906c11b83aeafdfbd5d
2013-05-02Add --enable-desktop-gui-elements to show such even on non-DESKTOP platformsTor Lillqvist1-0/+10
Not my idea. Change-Id: If4874d97a2035588cd65ded9f281de0c3598b7d7
2013-04-24extend license filtering, and add fallback-checks.Michael Meeks1-0/+14
Change-Id: Ia1ec3564326cf898d756c231a64a54db8698bf20
2013-04-23Add HarfBuzz support to the build systemKhaled Hosny1-0/+6
To be used in the next commit. Change-Id: I6ee286d0c050a5ca650e7fb3692b0facccb5f0c0 Reviewed-on: Reviewed-by: Fridrich Strba <> Tested-by: Fridrich Strba <>
2013-04-10Allow selecting the tls backend to use in oox from configureMiguel Gomez1-0/+13
Change-Id: Ie82afb1f22caa0b02ddac256e2a0c2a49f19bb15 Reviewed-on: Reviewed-by: Miklos Vajna <> Tested-by: Miklos Vajna <>