summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2017-10-06iOS, third party library updatejan Iversen
added arm64 to config.sub removed coinmp from compilation Change-Id: Ib0a4d8fc7cae399183116e928485869a08e7b1af
2017-10-05iOS, do not cross-compile for simulatorjan Iversen
When compiling for the simulator, we should not cross compile, since it is only using another sdk. setting cross-compile when the architecture is the same causes problems with several third party libs. The unsolved problem is how to build cmdline tools. Change-Id: Ida0b31bb12f6eadca413eb6e1874553adb8be6cd
2017-10-04iOS, simulator compiles as nactive mac OSX hostjan Iversen
Make simulator (and especially third party libraries) compile as OSX host, but with iPhonesimulator SDK. Change-Id: I2b282d1e84c5c6544dcb98413fec5c6e811efda6
2017-10-03iOS, bump SDK version to 10.3jan Iversen
10.3 is needed (anyhow 11.0 is on the street) Change-Id: Ic9afed3ecbb76e71eb0ee0fc74f4b64dc38af716
2017-10-03Update OSX SDK checkingNoel Grandin
We require a min of 10.12 to build these days. Also reverse the order of the list in configure.ac so that we pick up newer SDK before older SDK. Change-Id: Iae25f1971123479801a82c9d30172668a4cfa52a Reviewed-on: https://gerrit.libreoffice.org/42450 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-09-30iOS, cleanup unused config variablesjan Iversen
Removed no longer used variables. These variables are constant across platform, and therefore defined in the project.pbxproj file instead. Change-Id: I8fcfe414de498ebd4e5bd3a133a8c7e39faa9edb
2017-09-30Support loplugin in clang-clStephan Bergmann
This works at least with a recent Clang trunk (towards Clang 6.0). In order for the plugin.dll to find the LLVM/Clang symbols, it needs to be loaded into clang.exe not clang-cl.exe, so set CC/CXX to 'clang.exe --driver-mode=cl ...'. Buidling the plugin requires some linker flags that must go at the very end of the COMPILER_PLUGINS_CXX command line, after a /link switch, so introduce another COMPILER_PLUGINS_CXX_LINKFLAGS variable for that. Also, clang.lib is not installed as part of LLVM's 'cmake --build ... --target install' step, so is not available under CLANGDIR and needs to be taken from the build tree instead, so introduce another CLANGLIBDIR variable for that. autogen.input settings that work for me on Windows 8.1 with Microsoft Visual Studio 14.0 are: > CLANGDIR=C:/llvm/inst > CLANGLIBDIR=C:/llvm/build/lib > COMPILER_PLUGINS_CXX=C:/PROGRA~2/MICROS~3.0/VC/bin/amd64/cl.exe /IC:\PROGRA~2\MICROS~3.0\VC\INCLUDE /IC:\PROGRA~2\MICROS~3.0\VC\ATLMFC\INCLUDE /IC:\PROGRA~2\WI3CF2~1\10\include\100102~1.0\ucrt /IC:\PROGRA~2\WI3CF2~1\NETFXSDK\46D346~1.1\include\um /IC:\PROGRA~2\WI3CF2~1\8.1\include\shared /IC:\PROGRA~2\WI3CF2~1\8.1\include\um /IC:\PROGRA~2\WI3CF2~1\8.1\include\winrt > COMPILER_PLUGINS_CXX_LINKFLAGS=/LIBPATH:C:/PROGRA~2/MICROS~3.0/VC/LIB/amd64 /LIBPATH:C:/PROGRA~2/MICROS~3.0/VC/ATLMFC/LIB/amd64 /LIBPATH:C:/PROGRA~2/WI3CF2~1/10/lib/100102~1.0/ucrt/x64 /LIBPATH:C:/PROGRA~2/WI3CF2~1/NETFXSDK/46D346~1.1/lib/um/x64 /LIBPATH:C:/PROGRA~2/WI3CF2~1/8.1/lib/winv6.3/um/x64 (The last two are "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/ amd64/cl.exe" and translations of %INCLUDE% and %LIB% as set in the "VS2015 x64 Native Tools Command Prompt" shell. AC_CHECK_HEADER(clang/AST/RecursiveASTVisitor.h, ...) in configure.ac wouldn't like CXX to start with INCLUDE=... LIB=... environment variable settings, so it wouldn't work to instead pass %INCLUDE% and %LIB% to cl.exe that way. See <https://wiki.documentfoundation.org/Development/clang-cl> for general information about building with clang-cl on Windows.) There's still some room for improvement marked "TODO". (And some of the unused* plugins, which are not run by default anyway, use Unix-style functionality, so have been disabled for now.) Change-Id: I6c28bdeb801af39ce2bae03111f455e2338d66c9 Reviewed-on: https://gerrit.libreoffice.org/42931 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-09-30iOS, configure XCODE_* => IOS_*jan Iversen
Exporting variables XCODE_* makes xcodebuild read them, independent of command line settings. Therefore renamed these variables to IOS_ (they are only used to build iOS). Change-Id: I2c44d2e8a1348270e2f2a6768e0552c39e7f7d72
2017-09-27iOS, remove xcconfig generation from configure.acjan Iversen
Moved generation of the xcconfig files out of configure.ac and into the regular ios make. Change-Id: If675eac9e86c4c4a0ff98f84815b0a83555d90a8
2017-09-26iOS, wrong app path.jan Iversen
changed tar backup path Change-Id: I4a1701d856bcdf6f20d3d869f1ba84a18c67b278
2017-09-26iOS, build instructions.jan Iversen
Added README with instruction on how to build for the different platforms, updated iOS files corresponding Change-Id: I8a85f808841d682bc09f1e3b039192e342ecc484
2017-09-25Fix typosAndrea Gelmini
Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2 Reviewed-on: https://gerrit.libreoffice.org/42726 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-09-23iOS, dummy avmedia to satisty sdi filesjan Iversen
if disable_avmedia is defined, change avmedia to a dummy module. libreOfficeLight links ! Change-Id: Ibb41ed3ba48cc3143f17000f1c6073611c798e53
2017-09-23iOS, simplified build demandsjan Iversen
moved iOS build demand to same location as other os. Change-Id: If235aff2af7b58b26b94cb6818404100fa50d2d8
2017-09-20Pass --with-macosx-version-min-required into external/curlStephan Bergmann
...which wants to take it from CFLAGS, otherwise defaults to 10.8 Change-Id: I1b086ee8abba1e4b46c67b6b4fe6a05c4ef7a3d8
2017-09-19Accept macOS 10.13Tor Lillqvist
Change-Id: I52fb11c8830a5a78c7a9181708f1727b473069e3
2017-09-19iOS, remove support for 32bit (arm).jan Iversen
Supporting 32bit iOS, means a.o. adding several libraries to the dependency list because macOSX does not install them by default (e.g. zlib). 32bit is only used in old iPhones. updated configure.ac removed from solenv/gbuild/platform bridges corrected Change-Id: I415e744a9cb4acb3b5fbfca33c22940a1d56e390
2017-09-18use pkg-config --modversion to check for ICU versionRene Engelhard
... since icu-config is removed at least in Debians icu 59.1 packages. icu-i18n exists since exactly 4.6 (which we require anyway) so we can remove that check, too Change-Id: I28bd1509dcc2c52e22f91fb26421fcd585323b24
2017-09-15al.exe not found on Windows 10 with VS 2017Samuel Mehrbrodt
Change-Id: I091c0cb9a33d5b52dfb34e54515d6c283d6efb96 Reviewed-on: https://gerrit.libreoffice.org/42323 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: mysqlcppconn -> mysql-connector-cppMichael Stahl
Change-Id: Ibfb3aa69895eef6023c38e2ff3b7ae98a05f5820 Reviewed-on: https://gerrit.libreoffice.org/42300 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: xml2 -> libxml2Michael Stahl
Change-Id: Ia1164c70d02dce70cb346c1fd4033f12d91c6e5d Reviewed-on: https://gerrit.libreoffice.org/42297 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: png -> libpngMichael Stahl
Change-Id: I82d95e74318600b390d5add716773c658817e504 Reviewed-on: https://gerrit.libreoffice.org/42296 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: libmariadb -> mariadb-connector-cMichael Stahl
The used version is actually named mariadb_client but since 2.1.0 upstream calls it MariaDB Connector/C. Change-Id: I51b12a9be55151919585dec91a5fc802ff4fc86b Reviewed-on: https://gerrit.libreoffice.org/42295 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: langtag -> liblangtagMichael Stahl
Change-Id: Iba391f4f0e3c496442b8acaff443319fcb8fb3d7 Reviewed-on: https://gerrit.libreoffice.org/42294 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: cmis -> libcmisMichael Stahl
Change-Id: If710b416111dd26a67693d9f6d7d194ea607069b Reviewed-on: https://gerrit.libreoffice.org/42292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-15consistent naming of externals: jpeg-turbo->libjpeg-turboMichael Stahl
Change-Id: I63fcebc36559c2698bbedd3501285a388ce8c257 Reviewed-on: https://gerrit.libreoffice.org/42291 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-09-13simplify configure for android that started to bitrot a littleChristian Lohmaier
aarch64 (and mips) for that matter were not updated to adjust for clang As clang now is default and only toolchain, also got rid of some now unnecessary conditionals/variables. additionally group the target-dependent vars in one block instead of spreading them around in the file Change-Id: Ie7fa19d14bf9fc7c05a9bea5345309f42f414db7 Reviewed-on: https://gerrit.libreoffice.org/42252 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
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