summaryrefslogtreecommitdiffstats
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* add -latomic configure check...Rene Engelhard2019-09-031-0/+41
| | | | | | | | | | | | | | | ...in preparation for <https://gerrit.libreoffice.org/#/c/78380/> "Add -latomic to the end of Linux C++ linker command lines" (copied from https://github.com/zelcash/zelcash/blob/master/build-aux/m4/l_atomic.m4) Change-Id: I8879a72d730cc08a72c2d8b132ff9f5d2efe7b9f Reviewed-on: https://gerrit.libreoffice.org/78336 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> (cherry picked from commit 098bf3b243bdbb3257fda97a54caa6c403f63df6) Reviewed-on: https://gerrit.libreoffice.org/78412 Tested-by: Rene Engelhard <rene@debian.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
* Fix typosAndrea Gelmini2017-12-141-1/+1
| | | | | | | Change-Id: I09e511f35d32b25683811f3a39c833779f3b61fe Reviewed-on: https://gerrit.libreoffice.org/46370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
* Fix typosAndrea Gelmini2017-08-181-2/+2
| | | | | | | Change-Id: I795059109e23800987cda6f04c58ab18c488ad07 Reviewed-on: https://gerrit.libreoffice.org/41242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* build boost::locale libraryCaolán McNamara2017-04-281-0/+119
| | | | | | | | Change-Id: I40b89a0df483645fc743fb092d3d39ea682c510c Reviewed-on: https://gerrit.libreoffice.org/37060 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Remove MinGW supportStephan Bergmann2017-02-101-90/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | In OOo times, there'd originally been efforts to allow building on Windows with MinGW. Later, in LO times, this has been shifted to an attempt of cross- compiling for Windows on Linux. That attempt can be considered abandoned, and the relevant code rotting. Due to this heritage, there are now three kinds of MinGW-specific code in LO: * Code from the original OOo native Windows effort that is no longer relevant for the LO cross-compilation effort, but has never been removed properly. * Code from the original OOo native Windows effort that is re-purposed for the LO cross-compilation effort. * Code that has been added specifially for the LO cross-compilation effort. All three kinds of code are removed. (An unrelated, remaining use of MinGW is for --enable-build-unowinreg, utilizing --with-mingw-cross-compiler, MINGWCXX, and MINGWSTRIP.) Change-Id: I49daad8669b4cbe49fa923050c4a4a6ff7dda568 Reviewed-on: https://gerrit.libreoffice.org/34127 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Display a summary of fuzzing in command-line form at the end of configureTor Lillqvist2016-12-081-2/+11
| | | | | | Makes it easier to reproduce a fuzzed configuration manually. Change-Id: Ief4df847f1f17c64607e6e5eaf402737bd50704b
* Introduce configure option fuzzingTor Lillqvist2016-12-081-0/+42
| | | | | | | | | | | | | | | | | | | | | | | 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
* m4: make explicit what boost library we are not findingRiccardo Magliocchetti2016-08-244-4/+4
| | | | | | | Change-Id: Icd4e926a6e73ea1147419a9190d7888b6ac3e4c7 Reviewed-on: https://gerrit.libreoffice.org/28312 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
* detect Boost.FilesystemDavid Tardon2016-03-081-0/+118
| | | | Change-Id: I86c268f49f44bd1e208a9de781a16bf19450c64c
* Pull newer m4/ax_boost_system.m4 from upstream.coypu2016-02-041-4/+5
| | | | | | | | | Does not require tac, which is not available on *BSD/OS X. Change-Id: I54c90e249fb99ce03cc2ff134f200de283159052 Reviewed-on: https://gerrit.libreoffice.org/22083 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* add support for version detection of libsDavid Tardon2015-12-171-0/+48
| | | | Change-Id: Id5f84306926b6c28bef0d213aba151d8834b7b2d
* configure: filter -L/usr/lib etc. out of *_LIBSMichael Stahl2015-11-041-0/+2
| | | | | | | | | | | | | | | The goal is to avoid build breakage by pkg-config or whatever helpfully putting default paths like -L/usr/lib64 into *_LIBS, which is entirely useless since ld searches there anyway but may override other -L that occur later on the command line for LO bundled externals. On a Fedora 22 system, at least these variales were affected: CLUCENE_LIBS FIREBIRD_LIBS KDE4_LIBS POSTGRESQL_LIB BOOST_LDFLAGS Change-Id: Ie55f65c3ae29a125f16871d95ad8b716abf5c982 Reviewed-on: https://gerrit.libreoffice.org/19784 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-10-011-1/+1
| | | | | | | Change-Id: I04d1bc3a9f38ff7871d3192563cd1f649fdc6cea Reviewed-on: https://gerrit.libreoffice.org/18960 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
* create_tree.sh: Generate g-i filesPranav Kant2015-09-141-0/+94
| | | | | | | Change-Id: I1749b5b02018cfe6f85a13aed8de4b31a09788e3 Reviewed-on: https://gerrit.libreoffice.org/18494 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
* need to accept ppc64le as a lib64 using platform in ax_boost_base.m4Caolán McNamara2014-08-211-1/+1
| | | | Change-Id: I86ef068661082addbd165629d3d6905695090a6b
* add autoconf macro for Boost.IostreamsDavid Tardon2014-03-041-0/+116
| | | | | | ... fixing build with system boost Change-Id: I50eee3e349e99f751439893c577d66ebb46107c2
* normalize values of WITH_EXTRA_EXTENSIONSMichael Stahl2014-02-271-1/+1
| | | | Change-Id: I9f084a363bdeab800f0039f9be19d03225a1a8ce
* fdo#74825: fix missing lcms2/libxslt/curl in installation setsMichael Stahl2014-02-121-2/+2
| | | | | | | | | | The assumption that all configure variables had been normalized to TRUE/<empty> turned out not to hold; convert a bit more in that direction. (regression from 4af38b099c741c3676aefeb20c515913aaeed666) Change-Id: I2127c515e8a833a07c9b26ed9d693ce5a1853fe4
* 'ist' -> 'is' here and there.Jan Holesovsky2013-10-041-1/+1
| | | | Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
* More systematic *_CFLAGS s/-I/-isystem/Stephan Bergmann2013-06-101-0/+1
| | | | | | ...to avoid compiler warnings in external headers. Change-Id: Ibd7fcb0400bfd8ffa49cc8db77956e443551ebb3
* Revert "Rename Boost libraries when built internally to match conventions"Fridrich Štrba2013-05-242-152/+1
| | | | This reverts commit 3aeecc525c76797801e9e2b24c2ebff6ac81adac.
* Rename Boost libraries when built internally to match conventionsTor Lillqvist2013-05-242-1/+152
| | | | | | | | | | | | | The standard Boost convention is for them to be called libboost_date_time and libboost_system (with apropriate suffix then depending on type). Did not touch the libboostthread library we build for Windows. Add the ax_boost_thread.m4 file for completeness and possible use. Document where the ax_boost*.m4 files come from. Change-Id: Ib49bee71398d62c9760a1f8fd5c46be9f3400430
* aarch64 will be a 64bit multilib platform tooCaolán McNamara2013-05-231-1/+1
| | | | Change-Id: I6b0932ecd304e661e3331b22e6993b856b686982
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-221-22/+4
|
* neon: honor --disable-openssl and use GNUTLSAndres Gomez2013-04-131-0/+123
| | | | | | | | | | | On --disable-openssl, the bundled neon library will link against GNUTLS + gcrypt instead of OpenSSL. Change-Id: I5b3f09cd1003aefde0478aaab026536c962212c4 Reviewed-on: https://gerrit.libreoffice.org/3330 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* one variable to rule them allDavid Tardon2013-04-101-24/+25
| | | | | | | | one variable to find them, one variable to deliver them all and into filelist put them, in $INSTDIR where the installer searches. Change-Id: I989f578f0ed6f9ef9167522249b36d95c15bfd1b
* also move --enable swiches to m4/ for extensionsBjoern Michaelsen2013-02-271-2/+6
| | | | Change-Id: I72df67fae5fd78cd9d3f69d4be218c866b4b881d
* m4: improve help message of libo_CHECK_SYSTEM_MODULEMichael Stahl2013-02-251-1/+1
| | | | Change-Id: I784823b27108671e6bb549f60725f21abd47451e
* some more external check work on configure.acBjoern Michaelsen2013-02-241-9/+7
| | | | | | | | | | | - all in libo_PUBLISH_MODULE is affecting global state, so no need to separate - add in AC_ARG_WITH Change-Id: I609cd03c9208448e6883f5347da3019e0d3aea51 Reviewed-on: https://gerrit.libreoffice.org/2366 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
* m4: replace silly makefile modelinesMichael Stahl2013-02-202-4/+6
| | | | Change-Id: I148941dfbf3c9c75cd07148b08646e85887846e1
* configure: fix WPD/WPS/WPG when no explicit option given:Michael Stahl2013-02-201-0/+2
| | | | | | | Consistently set WPD_CFLAGS/WPD_LIBS etc. in that case, with luck not breaking anything else in the process due to newly set FOO_CFLAGS/LIBS. Change-Id: I56bc6b86821b77c0c376d06b629646ada1ea0339
* Re-Revert "simplify external module check with macro" modulo expat/cluceneBjoern Michaelsen2013-02-191-0/+30
| | | | | | This reverts commit 324d2f94749dfd94c7f09d1923310e145bb64deb. Change-Id: I0c1c3412554de2093c9c94de89ff74a89869fa6d
* Revert "simplify external module check with macro"Fridrich Štrba2013-02-191-30/+0
| | | | | | Reverting this because it breaks a lot of stuff This reverts commit a2dbcf1e723e082a76ad1a7ef275f693dab34c98.
* simplify external module check with macroBjoern Michaelsen2013-02-191-0/+30
| | | | | | | | | - a >12.000 LOC configure.ac is more than enough for everybody - removing some 100 lines cant hurt - the SYSTEM_LIBCDR=$SYSTEM_CDR stuff should be removed in a later step, by renaming them in the build Change-Id: I5c065c5c341561258800a124b0fc1f40b3d59211
* simplify extension logic in configureBjoern Michaelsen2013-02-181-0/+23
| | | | Change-Id: I1b255f9da925501449d7a41ce5914595da582e40
* use MINGW_SYSROOT consistentlyLuboš Luňák2013-01-021-1/+1
| | | | Restore all cases to expect /mingw/ included in the path.
* configure only looks in $MINGW_SYSROOTDavid Tardon2012-12-311-2/+1
| | | | Change-Id: I8882525ae6ae24957d9e34fc1ab8d5525251889c
* fdo#55435 orcus needs Boost.System with recent BoostDavid Tardon2012-11-231-0/+120
| | | | Change-Id: I2df230e0ca6293131ceaf9211fb301165981ab86
* cleanup README files.Michael Meeks2012-11-051-1/+2
| | | | | Convert DOS -> unix newlines. Cleanup and clarify several files.
* add a README filesAlia Almusaireae2012-11-051-0/+2
| | | | | | | Change-Id: I4bd9a7d00df220e2a3deae3cc1b7b0f4a1098e24 Reviewed-on: https://gerrit.libreoffice.org/989 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* better test for system boost date_time libDavid Tardon2012-06-132-0/+379
| | | | | | This reverts commit 4c2e9fc655b6480ffc7f0feb5d07b8106b6b8e22. Change-Id: Iea84991ee689240fe6e6ddbc47f44b444f582dde
* Revert "add configure check for date_time lib"Jan Holesovsky2012-06-062-371/+0
| | | | | | | This commit breaks MinGW builds; the m4 macros probably need some improvements there. This reverts commit 5ed17233908c7f87b08b0964b55e4504d964ed71.
* add configure check for date_time libDavid Tardon2012-06-052-0/+371
| | | | Change-Id: Ie04e4860363dd3db7c363408c6c8c9e80d9315c0
* fdo#47584 add yet another MinGW dll filename patternAndras Timar2012-05-011-0/+4
|
* mingw: avoid hardcoded dll versions and depsDavid Tardon2012-03-181-74/+96
| | | | | | | | | | | | | | | | | | | The idea is to use libo_MINGW_CHECK_DLL for libs that must be available (typically that would be the "main" library, e.g., libxml2 or libcurl) and libo_MINGW_TRY_DLL for possible dependencies (that may not be the same on different systems). All further references to the dlls are exclusively through the configured variables or defines set from these variables (e.g., instead of hardcoding libxml2-2.dll, use $(MINGW_LIBXML2_DLL)). The macros are documented in m4/mingw.m4 . Files that must be changed when adding a new dll: * configure.in * config_host.mk.in * external/mingw-dlls/makefile.mk * scp2/source/ooo/makefile.mk * scp2/source/ooo/mingw_dlls.scp
* allow to pass default dll listDavid Tardon2012-02-211-34/+56
|
* expect sed has already been detectedDavid Tardon2012-02-201-4/+3
| | | | Reportedly AC_PROG_SED does not exist on XCode 2.5 .
* add macro for extracting mingw dll names from libtool filesDavid Tardon2012-02-171-0/+61
| | | | | | | Hardcoding dll names from SuSE Linux in configure.in is not good, because they might be slightly different on other systems (notably Fedora :-), or the libraries might be compiled with different dependencies.
* building rawbuild on mac should not depend on pkg-config being installedNorbert Thiebaud2010-11-301-0/+154