summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2017-09-13Clamp minor/patchlevel when computing CLANG_VERSIONStephan Bergmann
...so it doesn't overflow for odd version numbers like <https://tinderbox.libreoffice.org/cgi-bin/gunzip.cgi?tree=MASTER &full-log=1505293801.994#53>'s 'clang --version' reportedly returning "Android clang version 5.0.300080 (based on LLVM 5.0.300080) […]" Change-Id: I7e3b3e0fa93d48fbbfa7a9b71e91776f976ed0da
2017-09-12iOS, add flag for bitcode (64bit)jan Iversen
flag for bitcode needed for compiling some of the xml stuff. Change-Id: I0b696279180916757a1996fcc689e69326d22ddb
2017-09-12Make detection of Clang CL driver mode more robustStephan Bergmann
...so that that mode can be requested via either 'clang-cl' or 'clang --driver-mode=cl' (where the latter will be needed for --enable-compiler-plugins on Windows). The patch assumes that Clang uses the CL driver mode iff running on Windows. Moves the SHOWINCLUDES_PREFIX check around so that the code dropping -FIIntrin.h from CC can be shared (new CC_PLAIN variable). Change-Id: I85ee19d0e6f8da5136b38f1892e5dd9240df6e9c Reviewed-on: https://gerrit.libreoffice.org/42195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-09-12Detect libjawt automatically on java9 tooFridrich Štrba
Change-Id: Ie8eb53a915682b7a188b1af4b2d435eb0cc9ff81
2017-09-12android: tune symbols for lldb & we actually target 14 as minSDKChristian Lohmaier
-glldb might be placebo switch like -ggdb2, but at last it won't hurt :-) increase java heap size for gradle to allow inprocess dex as well as actually processing the huge files. furthermore fix platform level in configure to match the minSDK value from build.gradle Change-Id: I57d7d4c67bc3e5ed8bfed1e592b85211b5b8905a Reviewed-on: https://gerrit.libreoffice.org/42162 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-09-10iOS, avmedia library depend on autogen flag.jan Iversen
Disabled linking of avmedia if not present. Change-Id: Id64192ec8172d4388b3624b5f832a90f7af1179c
2017-09-09iOS, configure.ac for arm/arm64/simulatorjan Iversen
--host=arm-apple-darvin will set env. to compile code for iPhoneOS 32 bit --host=arm64-apple-darvin will set env. to compile code for iPhoneOS 64 bit --enable-ios-simulator --host=arm-apple-darvin will set env. to compile code for iPhoneSimulator 32 bit host_cpu will be i386 --enable-ios-simulator --host=arm64-apple-darvin will set env. to compile code for iPhoneSimulator 64 bit host_cpu will be x86_64 Change-Id: Ifc51816b2fe727dd05577f021419e35f7ff8eec9
2017-09-07configure: find MSVC 2017 MSMs & DLLs againMichael Stahl
They're still called "VC150" in my installation. Change-Id: I0a005236ff5edc758be41616e33b254577144f17
2017-09-05MSVC 15.0: Fix configure to work with update 15.3David Ostrovsky
Update 15.3 renamed redist directory from 150 to 141 and introduced intermediate build number directories, that are different from the compiler build number directories. While the compiler is located under: [...]/MSVC/14.11.25503/bin/HostX64/x64/cl.exe the merge modules are located now under: VC/redist/MSVC/14.11.25325/MergeModules Change the hard coded detection approach, to the dynamic one: list all directories in suspected locations and check for existnace of the artifacts we are looking for. Change-Id: Ie040f290d1748ab4ec5c715b6636cc3733329e1c Reviewed-on: https://gerrit.libreoffice.org/41922 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-09-04iOS, update configure.ac to handle iosjan Iversen
Added enable-ios-simulator, and updated to do cross compile Change-Id: Id9031aa2ad1e271f843cf1cba6e3b67d907b6df0
2017-08-28integrate libqxpAleksas Pantechovskis
Change-Id: Ic7479b82d09c1e36d28267434a77bf4bc158adfa Reviewed-on: https://gerrit.libreoffice.org/41612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2017-08-23Android: Enable HAVE_FEATURE_NSS and package the NSS libraries with apkGautam Prajapati
This commit enables HAVE_FEATURE_NSS for Android and fixes the svl/ vcl/ and xmlsecurity/ module to use NSS. xmlsecurity/ wasn't built for Android previously, this commit enables building xmlsecurity/ for Android and disables the support of gpgme in the same module(Only for Android). It also enables the linking of NSS shared libraries with liblo-native-code.so and adds a rule to package them along with the apk. Change-Id: I7d0341688ac979ae92e9145c37dd107670417fe1 Reviewed-on: https://gerrit.libreoffice.org/41308 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-23configure: attempt to fix Android buildMichael Stahl
Can't find CONF-FOR-BUILD/donwload.lst Change-Id: Ie6bb993a2d6fcd7723b9f4437284b862eb194316
2017-08-23configure: try to keep PYTHON_VERSION from going staleMichael Stahl
Since it was set to 3.5.0, the bundled python was upgraded twice, but the directory is still named python-core-3.5.0 :( Change-Id: I15eec4148c2436e1f289d9851ce5bd212d4a368a Reviewed-on: https://gerrit.libreoffice.org/41433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-08-21allow to build with released libepubgenDavid Tardon
Change-Id: I12d297e8a3e57a3b24d85e4c537996cad0106125
2017-08-17Fix typosAndrea Gelmini
Change-Id: Iaa9c0aea3ea1a239e378bd714ba335f91bb1faf3 Reviewed-on: https://gerrit.libreoffice.org/41194 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-08-16Further clarificationsTor Lillqvist
Change-Id: Iff2b184b8764e459165b7254b32d7ffb810fb3db
2017-08-16Clarify use of "release build" conceptTor Lillqvist
Change-Id: I598b600ca93d86c4c0bc433ae9432ccd7f264192
2017-08-16Make help message for --enable-assert-always-abort match what it actually doesTor Lillqvist
Change-Id: Ie1948c87fd790184fd556617384b1824f85e81ec
2017-08-15Fix and enable NSS build for AndroidGautam Prajapati
Change-Id: Ifa8e01542ed0e7d72bfc9684f36b6dee9e185df4 Reviewed-on: https://gerrit.libreoffice.org/40645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-11Revert "Build with kde5, first stab"Katarina Behrens
this was meant to go to a feature branch *sigh it must be Friday
2017-08-11Build with kde5, first stabKatarina Behrens
this is largely based on jmux's work Change-Id: I5897f3ecb90f83a29e0824bfe7a0ea875347e360
2017-08-07Allow MSGFMT, MSGUNIQ to be overriddenStephan Bergmann
...and fail already in configure when only MSGFMT but not MSGUNIQ is overridden Change-Id: I5dadca9f44f46e830b8321be11deaa4252f5b596
2017-08-02external: bundle libepubgenMiklos Vajna
And backport a post-release fix that fixes the Windows build. EPUBExportFilter in writerperfect will want to use this. Change-Id: I020cd2abfd0daa731f4079320b18a6d857874278 Reviewed-on: https://gerrit.libreoffice.org/40679 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-08-01android: remove unused GCC related code from configure.acbrainbreaker
Change-Id: Ib54e31a4d01721fbb47e3c9f63d3a7c6a6b53a8f Reviewed-on: https://gerrit.libreoffice.org/40488 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-28configure: new odfvalidator requires Java 8Michael Stahl
Change-Id: Iaac1f13e6c189e2e13b86258268741c14a537799
2017-07-26android: configure - add missing flags for x86 targetingChristian Lohmaier
Change-Id: Ia70f713cdfe2b532dfa4b8aa7876f830b3ef8175
2017-07-24configure: check that msgfmt/msguniq were actually foundMichael Stahl
Change-Id: I6134b01644bf156154256ba5c4ad64ff5acd0f1d
2017-07-21migrate to boost::gettextCaolán McNamara
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-07-19android:Update configure.ac to support NDK 15.1.xbrainbreaker
Change-Id: I07ec4df7cb5aaf4b491fac1202d2607af9f56968 Reviewed-on: https://gerrit.libreoffice.org/39780 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-13android: Remove GCC support for buildingbrainbreaker
Change-Id: Ia1b267ca3777a2a42c66d808322e03d631fac968 Reviewed-on: https://gerrit.libreoffice.org/39125 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-12android: Set clang as default compiler for buildingbrainbreaker
This commit is to follow the one which adds support for clang 5.0 for building. Change-Id: I8461e08372322dc24d4786a2f6b96e647b3a4d6b Reviewed-on: https://gerrit.libreoffice.org/39123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-11android: update configure.ac for supporting Clang5.0brainbreaker
Change-Id: Ia99f3b4a8c9aba506938b8c3669c74b5dc1b4c16 Reviewed-on: https://gerrit.libreoffice.org/39122 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-10android: update configure.ac to support building only with NDK>=15brainbreaker
Change-Id: I638019895921082b9da36315c2f6d3ed98e5249a Reviewed-on: https://gerrit.libreoffice.org/39127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-07-02we need gpgme header, tooLionel Elie Mamane
not only gpgmepp headers Change-Id: I46723ce751d631e165982c6c7bc2f820f9a5d0a8
2017-06-23android: Fix bridges/ module for building with Clangbrainbreaker
Change-Id: If8bcda3aa8c3a3e46cd98e5ae797486f32db9822 Reviewed-on: https://gerrit.libreoffice.org/39050 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-22xmlsecurity: implement support for building against system-xmlsecMiklos Vajna
The only remaining difference is that in the system-xmlsec case we work with the default key manager, not with the one that's only added by our xmlsec patches. This works for me for the uses I know of (see <https://lists.freedesktop.org/archives/libreoffice/2017-February/076947.html> for the motivation): signing and verifying of different signatures (bad signature, good with non-trusted CA, good with trusted CA) with software-based certificates all behave as expected. Change-Id: If3f3e2b8373ab7397db3f98070a5a2ce51fa7c06 Reviewed-on: https://gerrit.libreoffice.org/39075 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2017-06-22Explicit --with-valgrind, to not accidentally miss Valgrind supportStephan Bergmann
Change-Id: If4de6e4cdebb082cbe8faa9392fceb61c3f8fb9e
2017-06-22--enable-optimized should be orthogonal to --enable-debug/--enable-dbgutilStephan Bergmann
Change-Id: I277f30129560ea9fa76d6439a60bb191358df99d Reviewed-on: https://gerrit.libreoffice.org/39088 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2017-06-16configure: remove --enable-directxMichael Stahl
This used to require extra SDKs in days of yore but now just always build those libraries on WNT. Change-Id: I92c0a35917df42e136c022c762f0333f657a9ec6
2017-06-16Remove HAVE_CXX11_REF_QUALIFIER, always true nowStephan Bergmann
...after 579497164f6bddfeb14bb6b0f4b9cd3322af1803 "Bump GCC baseline to 4.8.1" Make this a fatal configuration error for now. The check should be removed completely after LO 6.0 branch-off. Change-Id: I70cf65d6b0eb7158008f28449794c66c1b775916 Reviewed-on: https://gerrit.libreoffice.org/38869 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-06-16Work around GCC derivates with two-section 'gcc -dumpversion' outputStephan Bergmann
...as happens e.g. with /usr/bin/gcc "gcc (SUSE Linux) 4.8.5" on gandalf.documentfoundation.org, reporting "4.8" instead of "4.8.5" (and thus failing since 579497164f6bddfeb14bb6b0f4b9cd3322af1803 "Bump GCC baseline to 4.8.1", e.g., <https://ci.libreoffice.org/job/lo_tb_master_linux/18923/>). Keep it simple and assume that the micro would be at least 1 when missing... Change-Id: I096dd6671ad012e5bf890d3bf510780661f62d24
2017-06-16Bump GCC baseline to 4.8.1Stephan Bergmann
see <https://lists.freedesktop.org/archives/libreoffice/2017-June/077909.html> "Re: Some baseline thoughts" and <https://lists.freedesktop.org/archives/libreoffice/2017-June/077910.html> "minutes of ESC call ..." Change-Id: I09fb8dc228c23a39e7e332742095b0e2dfce711d Reviewed-on: https://gerrit.libreoffice.org/38860 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-06-15android: Bump NDK version to 15 in configure.acbrainbreaker
This commits updates the NDK version warning in confiure.ac for NDK r15 as it is now tested for building Android. Change-Id: I6b138ce36e246ae035cf994808d17be3b4d47112 Reviewed-on: https://gerrit.libreoffice.org/38811 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-06-13remove TDE integration (vclplug, address book, config backend)Michael Stahl
It has ~no users, can't even be built on modern Linuxes, and it annoys folks who want to refactor VCL. Per ESC decision from 2017-06-08, remove --enable-tde and --enable-tdeab. Change-Id: I51ce4786f29f8fcac2e2bb2a654c41fbfbbd8afd Reviewed-on: https://gerrit.libreoffice.org/38718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-06-12next version will be 6.0, not 5.5Christian Lohmaier
Change-Id: Iaf10adce17f129c564e1f1ba4ca811b9274618fc Reviewed-on: https://gerrit.libreoffice.org/38575 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2017-06-12configure.ac back again.jan Iversen
Readded changes to configure.ac, after seeing that the android builds. This is not the ideal way to check that a tinderbox builds correctly, but currently we have no other options. Change-Id: I48f898131e2f506db67507d43f4a896748f98c81
2017-06-12Android tinderbox build breakerjan Iversen
add openssl library back for Android static link Change-Id: I7ac5c3f9c00060f926f03fb21d8fa5e87b928c71
2017-06-11iOS, updated configure.ac to allow native armv7 and arm64jan Iversen
Added manual sizeof since AC_CHECK_SIZE does not work bypassed clang test for static initializers (works for i386) Change-Id: Ia766ee980c1184767315cbd476750cd0c82c7263
2017-06-11iOS, support for armv7 and arm64 in configure.acjan Iversen
This is the first patch in a serie, to get the iOS toolchain to actually produce the right code for simulator as well as iPhone (old models) and iPad (all models) Changes: --enable-ios-simulator removed no longer needed --enable-64-bit is no longer needed for iOS builds --host and --build no longer support arm-darwin.... but instead support armv7-darwin and arm64-darwin e.g. --host=armv7-darvin... --build=i386-darwain... builds iOS for the simulator in 32 bit mode. The works, the other modes (64bit simulator, native armv7 and arm64) are still highly experimental dist will be updated when all modes work. Change-Id: I82477d8415a4d62803da0fc80da6890d5db542d5 Reviewed-on: https://gerrit.libreoffice.org/38576 Reviewed-by: jan iversen <jani@libreoffice.org> Tested-by: jan iversen <jani@libreoffice.org>